package hudson.plugins.git;

import org.eclipse.jgit.lib.ObjectId;
import org.eclipse.jgit.lib.Ref;

public class Branch extends GitObject {
    private static final long serialVersionUID = 1L;
    
    public Branch(String name, ObjectId sha1) {
        super(name, sha1);
        // TODO Auto-generated constructor stub
    }
    
    public Branch(Ref candidate) {
        super(strip(candidate.getName()), candidate.getObjectId());
    }
    
    private static String strip(String name) {
        return name.substring(name.indexOf('/', 5) + 1);
    }
    
    public @Override String toString() {
        return "Branch " + name + "(" + sha1 + ")";
    }
    
}

@@ -271,56 +271,8 @@
 1);%0A
-        // TODO Auto-generated constructor stub%0A
     

Remove unneeded TODO comment