Change-Id: I3b54cb9f73cb433c71a441a11ddc74cfecdaa1dctags/v2.0.0.201206130900-r
import org.apache.tools.ant.Task; | import org.apache.tools.ant.Task; | ||||
import org.eclipse.jgit.api.Git; | import org.eclipse.jgit.api.Git; | ||||
import org.eclipse.jgit.api.InitCommand; | import org.eclipse.jgit.api.InitCommand; | ||||
import org.eclipse.jgit.api.errors.JGitInternalException; | |||||
/** | /** | ||||
* Create an empty git repository. | * Create an empty git repository. |
// Ignore (not relevant to test failures) | // Ignore (not relevant to test failures) | ||||
} | } | ||||
@SuppressWarnings("unused") | |||||
public void ignore(Throwable arg0) { | public void ignore(Throwable arg0) { | ||||
// Ignore (not relevant to test failures) | // Ignore (not relevant to test failures) | ||||
} | } |
return fmt; | return fmt; | ||||
} | } | ||||
@SuppressWarnings("unchecked") | |||||
private static void sortObjectList(List<? extends PackedObjectInfo> list) { | private static void sortObjectList(List<? extends PackedObjectInfo> list) { | ||||
Collections.sort(list); | Collections.sort(list); | ||||
} | } |
packOut.write(buf, 0, 12); | packOut.write(buf, 0, 12); | ||||
} | } | ||||
@SuppressWarnings("unchecked") | |||||
private void sortObjectsById() { | private void sortObjectsById() { | ||||
Collections.sort(objectList); | Collections.sort(objectList); | ||||
} | } |