|
|
@ -237,16 +237,15 @@ final class JarURLConnection extends java.net.JarURLConnection {
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public long getLastModified() {
|
|
|
|
public long getLastModified() {
|
|
|
|
int defaultTime = 0;
|
|
|
|
|
|
|
|
if (this.jarFile == null || this.jarEntryName.isEmpty()) {
|
|
|
|
if (this.jarFile == null || this.jarEntryName.isEmpty()) {
|
|
|
|
return defaultTime;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
JarEntry entry = getJarEntry();
|
|
|
|
JarEntry entry = getJarEntry();
|
|
|
|
return (entry == null ? defaultTime : entry.getTime());
|
|
|
|
return (entry == null ? 0 : entry.getTime());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch (IOException ex) {
|
|
|
|
catch (IOException ex) {
|
|
|
|
return defaultTime;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|