Browse Source

cleanup: Remove unused declarations

Change-Id: I3b54cb9f73cb433c71a441a11ddc74cfecdaa1dc
stable-2.0
Robin Rosenberg 12 years ago
parent
commit
4321f9353f
  1. 1
      org.eclipse.jgit.ant/src/org/eclipse/jgit/ant/tasks/GitInitTask.java
  2. 1
      org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/RecordingLogger.java
  3. 1
      org.eclipse.jgit.storage.dht/src/org/eclipse/jgit/storage/dht/ChunkIndex.java
  4. 1
      org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsInserter.java

1
org.eclipse.jgit.ant/src/org/eclipse/jgit/ant/tasks/GitInitTask.java

@ -48,7 +48,6 @@ import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Task;
import org.eclipse.jgit.api.Git;
import org.eclipse.jgit.api.InitCommand;
import org.eclipse.jgit.api.errors.JGitInternalException;
/**
* Create an empty git repository.

1
org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/RecordingLogger.java

@ -184,7 +184,6 @@ public class RecordingLogger implements Logger {
// Ignore (not relevant to test failures)
}
@SuppressWarnings("unused")
public void ignore(Throwable arg0) {
// Ignore (not relevant to test failures)
}

1
org.eclipse.jgit.storage.dht/src/org/eclipse/jgit/storage/dht/ChunkIndex.java

@ -204,7 +204,6 @@ public abstract class ChunkIndex {
return fmt;
}
@SuppressWarnings("unchecked")
private static void sortObjectList(List<? extends PackedObjectInfo> list) {
Collections.sort(list);
}

1
org.eclipse.jgit/src/org/eclipse/jgit/storage/dfs/DfsInserter.java

@ -231,7 +231,6 @@ public class DfsInserter extends ObjectInserter {
packOut.write(buf, 0, 12);
}
@SuppressWarnings("unchecked")
private void sortObjectsById() {
Collections.sort(objectList);
}

Loading…
Cancel
Save