Skip to content

Commit

Permalink
3.0.7
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.potix.com/svn/zk1/releases/3.0.7@9000 dd50bd9b-9913-0410-b9ba-e07a3075be86
  • Loading branch information
tomyeh committed Aug 5, 2008
1 parent bad21d5 commit 98b67f4
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 5 deletions.
Binary file modified dist/lib/zcommon.jar
Binary file not shown.
Binary file modified dist/lib/zhtml.jar
Binary file not shown.
Binary file modified dist/lib/zk.jar
Binary file not shown.
Binary file modified dist/lib/zkex.jar
Binary file not shown.
Binary file modified dist/lib/zkmax.jar
Binary file not shown.
Binary file modified dist/lib/zkplus.jar
Binary file not shown.
Binary file modified dist/lib/zml.jar
Binary file not shown.
Binary file modified dist/lib/zul.jar
Binary file not shown.
Binary file modified dist/lib/zweb.jar
Binary file not shown.
12 changes: 7 additions & 5 deletions zcommon/src/org/zkoss/util/resource/ResourceCache.java
Expand Up @@ -71,11 +71,13 @@ public ResourceCache(Loader loader, int initsz) {
private static int getInitCheckPeriod() {
final String ATTR = "org.zkoss.util.resource.checkPeriod";
final String s = Library.getProperty(ATTR);
try {
final int i = Integer.parseInt(s);
if (i >= 0) return i * 1000;
} catch (Throwable t) {
log.warning("Failed to parse "+ATTR+", value="+s);
if (s != null) {
try {
final int i = Integer.parseInt(s);
if (i >= 0) return i * 1000;
} catch (Throwable t) {
log.warning("Failed to parse "+ATTR+", value="+s);
}
}
return 5000; //5 secs
}
Expand Down

0 comments on commit 98b67f4

Please sign in to comment.