Remove unused code from class Repository
The package-private method Repository::gitInternalSlash() is not referenced from anywhere within the package. Last uses were removed with0f8743d4
"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:
parent
8ed16fa100
commit
1bafc304c8
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue