summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRĂ¼diger Herrmann <ruediger.herrmann@gmx.de>2016-09-26 15:47:48 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2016-09-30 15:27:42 +0200
commit1bafc304c80f442ead757e6869de689778c15d3d (patch)
tree19ca20d772a4662ff4faf571124f4c1ee8c62cd7
parent8ed16fa1005405837cbb6f515333f89dbda876f5 (diff)
downloadjgit-1bafc304c80f442ead757e6869de689778c15d3d.tar.gz
jgit-1bafc304c80f442ead757e6869de689778c15d3d.zip
Remove unused code from class Repository
The package-private method Repository::gitInternalSlash() is not referenced from anywhere within the package. Last uses were removed with 0f8743d4 "Remove deprecated Tree, TreeEntry, FileTreeEntry and friends" 6e9fdce9 "Kill GitIndex" Signed-off-by: RĂ¼diger Herrmann <ruediger.herrmann@gmx.de> Change-Id: I514bf684ad0da808f6523e9e46db9674a25e1fb5
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java
index aba5242b14..e9ff504a42 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java
@@ -1183,15 +1183,6 @@ public abstract class Repository implements AutoCloseable {
return DirCache.lock(this, l);
}
- static byte[] gitInternalSlash(byte[] bytes) {
- if (File.separatorChar == '/')
- return bytes;
- for (int i=0; i<bytes.length; ++i)
- if (bytes[i] == File.separatorChar)
- bytes[i] = '/';
- return bytes;
- }
-
/**
* @return an important state
*/