addressed minor PR comments

This commit is contained in:
Mark Fisher
2015-07-23 09:23:58 -04:00
parent 69fda684f8
commit c8e0d76997
2 changed files with 8 additions and 1 deletions

View File

@@ -21,6 +21,12 @@ import java.util.List;
import org.springframework.boot.loader.archive.Archive;
import org.springframework.boot.loader.util.AsciiBytes;
/**
* A (possibly temporary) alternative to {@link JarLauncher} that provides a
* public {@link #launch(String[])} method.
*
* @author Mark Fisher
*/
public class ModuleJarLauncher extends ExecutableArchiveLauncher {
private static final AsciiBytes LIB = new AsciiBytes("lib/");

View File

@@ -17,6 +17,7 @@
package org.springframework.cloud.stream.module.launcher;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.Executor;
@@ -103,7 +104,7 @@ public class ModuleLauncher {
ModuleJarLauncher jarLauncher = new ModuleJarLauncher(jarFileArchive);
jarLauncher.launch(args);
}
catch (Exception e) {
catch (IOException e) {
e.printStackTrace();
}
}