Commented out some debug log messages.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@432 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: SiteResourceLoader.java,v 1.4 2001/11/06 05:05:28 mdb Exp $
|
// $Id: SiteResourceLoader.java,v 1.5 2001/11/06 05:37:57 mdb Exp $
|
||||||
//
|
//
|
||||||
// samskivert library - useful routines for java programs
|
// samskivert library - useful routines for java programs
|
||||||
// Copyright (C) 2001 Michael Bayne
|
// Copyright (C) 2001 Michael Bayne
|
||||||
@@ -353,8 +353,8 @@ public class SiteResourceLoader
|
|||||||
jarFile.close();
|
jarFile.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
Log.info("Opening site-specific jar file " +
|
// Log.info("Opening site-specific jar file " +
|
||||||
"[path=" + file + "].");
|
// "[path=" + file + "].");
|
||||||
|
|
||||||
// and open a new one
|
// and open a new one
|
||||||
jarFile = new JarFile(file);
|
jarFile = new JarFile(file);
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: SiteResourceManager.java,v 1.2 2001/11/06 05:22:39 mdb Exp $
|
// $Id: SiteResourceManager.java,v 1.3 2001/11/06 05:37:57 mdb Exp $
|
||||||
//
|
//
|
||||||
// samskivert library - useful routines for java programs
|
// samskivert library - useful routines for java programs
|
||||||
// Copyright (C) 2001 Michael Bayne
|
// Copyright (C) 2001 Michael Bayne
|
||||||
@@ -90,8 +90,6 @@ public class SiteResourceManager extends ResourceManagerImpl
|
|||||||
// attempt to load a site-specific version
|
// attempt to load a site-specific version
|
||||||
if (resourceKey instanceof SiteResourceKey) {
|
if (resourceKey instanceof SiteResourceKey) {
|
||||||
SiteResourceKey rkey = (SiteResourceKey)resourceKey;
|
SiteResourceKey rkey = (SiteResourceKey)resourceKey;
|
||||||
Log.info("Looking for site-specific version of " +
|
|
||||||
rkey.description() + ".");
|
|
||||||
|
|
||||||
// make sure the site we're loading for is not the default
|
// make sure the site we're loading for is not the default
|
||||||
// site, in which case we want to skip to the second resource
|
// site, in which case we want to skip to the second resource
|
||||||
@@ -100,7 +98,6 @@ public class SiteResourceManager extends ResourceManagerImpl
|
|||||||
// try loading it via the site-specific resource loader
|
// try loading it via the site-specific resource loader
|
||||||
try {
|
try {
|
||||||
resolveResource(resource, _siteLoader);
|
resolveResource(resource, _siteLoader);
|
||||||
Log.info("Loaded site-specific [key=" + resourceKey + "].");
|
|
||||||
} catch (ResourceNotFoundException rnfe) {
|
} catch (ResourceNotFoundException rnfe) {
|
||||||
// nothing to worry about here
|
// nothing to worry about here
|
||||||
}
|
}
|
||||||
@@ -111,7 +108,6 @@ public class SiteResourceManager extends ResourceManagerImpl
|
|||||||
// site-specific resource
|
// site-specific resource
|
||||||
if (resource.getData() == null) {
|
if (resource.getData() == null) {
|
||||||
resolveResource(resource, _contextLoader);
|
resolveResource(resource, _contextLoader);
|
||||||
Log.info("Loaded default [key=" + resourceKey + "].");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return resource;
|
return resource;
|
||||||
|
|||||||
Reference in New Issue
Block a user