Fix a few issues detected by static analysis

This commit is contained in:
HairyFotr
2014-12-26 15:26:45 +01:00
parent 427b6ce846
commit a01b5a4a59
9 changed files with 13 additions and 13 deletions

View File

@@ -217,7 +217,7 @@ object JGitUtil {
list.append((treeWalk.getObjectId(0), treeWalk.getFileMode(0), treeWalk.getPathString, treeWalk.getNameString, linkUrl))
}
list = list.map(tuple =>
list.transform(tuple =>
if (tuple._2 != FileMode.TREE)
tuple
else