Remove debug code.

This commit is contained in:
takezoe
2013-06-16 02:11:51 +09:00
parent 8c12e15bc5
commit 5875772c21

View File

@@ -105,13 +105,6 @@ trait WikiService {
val parentPath = if(index < 0) "." else path.substring(0, index)
val fileName = if(index < 0) path else path.substring(index + 1)
println("parentPath: " + parentPath)
println("fileName: " + fileName)
JGitUtil.getFileList(git, "master", parentPath).foreach { file =>
println("*" + file.name)
}
JGitUtil.getFileList(git, "master", parentPath).find(_.name == fileName).map { file =>
git.getRepository.open(file.id).getBytes
}