cziegeler 2003/04/27 08:04:48
Modified:
src/blocks/portal-fw/java/org/apache/cocoon/webapps/portal/components
PortalManager.java
Log:
Removing FIXME
Revision Changes Path
1.3 +1 -28
cocoon-2.1/src/blocks/portal-fw/java/org/apache/cocoon/webapps/portal/components/PortalManager.java
Index: PortalManager.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/portal-fw/java/org/apache/cocoon/webapps/portal/components/PortalManager.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- PortalManager.java 24 Mar 2003 14:33:57 -0000 1.2
+++ PortalManager.java 27 Apr 2003 15:04:48 -0000 1.3
@@ -1696,33 +1696,6 @@
}
/**
- * Check if the profile is already cached
- *
- * FIXME: This method is not used. Should be removed?
- *
- private boolean isProfileCached(String profileID, Map configuration)
- throws ProcessingException {
- // synchronized
- if (this.getLogger().isDebugEnabled() == true) {
- this.getLogger().debug("BEGIN isProfileCached id="+profileID+",
configuration="+configuration);
- }
- boolean result = false;
-
- if (configuration != null && this.getIsAdminProfile(profileID) ==
false) {
- String storePrefix =
(String)configuration.get(PortalConstants.CONF_PROFILE_CACHE);
- if (storePrefix != null) {
- String key = profileID.substring(1);
- result = this.getProfileStore().containsKey(key);
- }
- }
-
- if (this.getLogger().isDebugEnabled() == true) {
- this.getLogger().debug("END isProfileCached result="+result);
- }
- return result;
- } */
-
- /**
* Cache the profile (if cache is turned on)
*/
private void cacheProfile(String profileID,