代码修改
This commit is contained in:
parent
da27092d28
commit
6fd462a76e
|
@ -37,11 +37,12 @@ public class AutoExtract implements ActionListener {
|
||||||
String licenseText = "";
|
String licenseText = "";
|
||||||
|
|
||||||
InputStream is;
|
InputStream is;
|
||||||
JarFile extractJar;
|
|
||||||
try {
|
try {
|
||||||
// extractJar = new JarFile("extract.jar");
|
JarFile extractJar = new JarFile("extract.jar");
|
||||||
|
|
||||||
is = extractJar.getInputStream(extractJar.getJarEntry("license/cpl-v10.html"));
|
is = extractJar.getInputStream(extractJar.getJarEntry("license/cpl-v10.html"));
|
||||||
|
extractJar.close();
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue