portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject svn commit: r354623 - /portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedVelocityViewServlet.java
Date Wed, 07 Dec 2005 00:03:03 GMT
Author: weaver
Date: Tue Dec  6 16:03:00 2005
New Revision: 354623

URL: http://svn.apache.org/viewcvs?rev=354623&view=rev
Log:
fixed logical operation bug

Modified:
    portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedVelocityViewServlet.java

Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedVelocityViewServlet.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedVelocityViewServlet.java?rev=354623&r1=354622&r2=354623&view=diff
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedVelocityViewServlet.java
(original)
+++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/velocity/JetspeedVelocityViewServlet.java
Tue Dec  6 16:03:00 2005
@@ -419,7 +419,7 @@
                     synchronized (this)
                     {
                         // construct and cache default velocity engine
-                        if (defaultVelocityEngine != null)
+                        if (defaultVelocityEngine == null)
                         {
                             defaultVelocityEngine = initVelocity((TemplateDescriptor)null);
                         }
@@ -586,7 +586,7 @@
                 synchronized (this)
                 {
                     // construct and cache default velocity engine
-                    if (defaultVelocityEngine != null)
+                    if (defaultVelocityEngine == null)
                     {
                         defaultVelocityEngine = initVelocity((TemplateDescriptor)null);
                     }



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message