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
This commit is contained in:
Rüdiger Herrmann 2016-09-26 15:47:48 +02:00 committed by Matthias Sohn
parent 8ed16fa100
commit 1bafc304c8
1 changed files with 0 additions and 9 deletions

View File

@ -1183,15 +1183,6 @@ public void onIndexChanged(IndexChangedEvent event) {
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
*/