summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColby Ranger <cranger@google.com>2013-03-04 17:30:27 -0500
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>2013-03-04 17:30:27 -0500
commit8d4f227c138bf3ccf13cf83ab63fde2fc49d3756 (patch)
treef442395b0c2629a1143715e67ee6d58465268eff
parent178d55c24d784bc07adbb0d78de8ba1919843e86 (diff)
parent1512d0ab4e420980cb1155e0e2cf98fd90144664 (diff)
downloadjgit-8d4f227c138bf3ccf13cf83ab63fde2fc49d3756.tar.gz
jgit-8d4f227c138bf3ccf13cf83ab63fde2fc49d3756.zip
Merge "Remove the unused method PackFile.hasExt()."
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/storage/file/PackFile.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/PackFile.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/PackFile.java
index 6c24a3fef1..17dfa1f1ad 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/PackFile.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/PackFile.java
@@ -97,8 +97,6 @@ public class PackFile implements Iterable<PackIndex.MutableEntry> {
private final File packFile;
- private final int extensions;
-
private File keepFile;
private volatile String packName;
@@ -146,7 +144,6 @@ public class PackFile implements Iterable<PackIndex.MutableEntry> {
public PackFile(final File packFile, int extensions) {
this.packFile = packFile;
this.packLastModified = (int) (packFile.lastModified() >> 10);
- this.extensions = extensions;
// Multiply by 31 here so we can more directly combine with another
// value in WindowCache.hash(), without doing the multiply there.
@@ -1090,8 +1087,4 @@ public class PackFile implements Iterable<PackIndex.MutableEntry> {
String b = (dot < 0) ? p : p.substring(0, dot);
return new File(packFile.getParentFile(), b + '.' + ext.getExtension());
}
-
- private boolean hasExt(PackExt ext) {
- return (extensions & ext.getBit()) != 0;
- }
}