Skip to content

Commit

Permalink
Remove two println
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinduks committed May 6, 2013
1 parent 080bdde commit 593b3fb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/scala/com/Main.scala
Expand Up @@ -89,12 +89,10 @@ object Main {
JarUtil.extract(sourcePath, extractionDir)

jarFiles foreach { jarFile =>
println(".class$".r findFirstIn jarFile)
if ((".class$".r findFirstIn jarFile) == None) {
try { Files.createDirectories(targetPath.resolve(Paths.get(jarFile).getParent)) }
Files.copy(extractionDir.resolve(Paths.get(jarFile)), targetPath.resolve(Paths.get(jarFile)))
} else {
println(extractionDir.resolve(jarFile))
val is = Files.newInputStream(extractionDir.resolve(jarFile), StandardOpenOption.READ)
val classReader: ClassReader = new ClassReader(is)
val cw: ClassWriter = Transformer.invokeVirtualToInvokeDynamic(classReader)
Expand Down

0 comments on commit 593b3fb

Please sign in to comment.