cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r396234 - in /cocoon/trunk: blocks/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/tools/ blocks/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/wsrp/logging/ core/cocoon-core/src/main/java/or...
Date Sun, 23 Apr 2006 07:13:10 GMT
Author: antonio
Date: Sun Apr 23 00:13:08 2006
New Revision: 396234

URL: http://svn.apache.org/viewcvs?rev=396234&view=rev
Log:
Don't create new Booleans.

Modified:
    cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/tools/PortalToolBuilder.java
    cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/wsrp/logging/WSRPLogger.java
    cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/pipeline/impl/CachingPointProcessingPipeline.java

Modified: cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/tools/PortalToolBuilder.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/tools/PortalToolBuilder.java?rev=396234&r1=396233&r2=396234&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/tools/PortalToolBuilder.java
(original)
+++ cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/tools/PortalToolBuilder.java
Sun Apr 23 00:13:08 2006
@@ -47,7 +47,7 @@
 			    ptf.setName(funcs[i].getAttribute("name"));
 			    ptf.setFunction(funcs[i].getAttribute("pipeline"));
 			    ptf.setId(funcs[i].getAttribute("id"));
-			    ptf.setInternal(new Boolean(funcs[i].getAttribute("internal", "false")).booleanValue());
+			    ptf.setInternal(funcs[i].getAttributeAsBoolean("internal", false));
 			    functions.put(ptf.getName(), ptf);
 			}
 			Configuration[] i18ns = conf.getChild("i18n").getChildren();

Modified: cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/wsrp/logging/WSRPLogger.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/wsrp/logging/WSRPLogger.java?rev=396234&r1=396233&r2=396234&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/wsrp/logging/WSRPLogger.java
(original)
+++ cocoon/trunk/blocks/cocoon-portal/cocoon-portal-impl/src/main/java/org/apache/cocoon/portal/wsrp/logging/WSRPLogger.java
Sun Apr 23 00:13:08 2006
@@ -117,7 +117,7 @@
      * @see org.apache.wsrp4j.log.Logger#exit(int, java.lang.String, boolean)
      */
     public void exit(int logLevel, String loggingMethod, boolean retValue) {
-        this.exit(logLevel, loggingMethod, new Boolean(retValue));
+        this.exit(logLevel, loggingMethod, Boolean.valueOf(retValue));
     }
 
     /**

Modified: cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/pipeline/impl/CachingPointProcessingPipeline.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/pipeline/impl/CachingPointProcessingPipeline.java?rev=396234&r1=396233&r2=396234&view=diff
==============================================================================
--- cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/pipeline/impl/CachingPointProcessingPipeline.java
(original)
+++ cocoon/trunk/core/cocoon-core/src/main/java/org/apache/cocoon/components/pipeline/impl/CachingPointProcessingPipeline.java
Sun Apr 23 00:13:08 2006
@@ -129,7 +129,7 @@
 
         // add caching point flag
         // default value is false
-        this.isCachePoint.add(new Boolean(this.nextIsCachePoint));
+        this.isCachePoint.add(Boolean.valueOf(this.nextIsCachePoint));
         this.nextIsCachePoint = false;
 
         // if this transformer is manually set to "caching-point" (via pipeline-hint)



Mime
View raw message