cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r124625 - /cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/transformation/ProxyTransformer.java
Date Sat, 08 Jan 2005 05:14:34 GMT
Author: antonio
Date: Fri Jan  7 21:14:32 2005
New Revision: 124625

URL: http://svn.apache.org/viewcvs?view=rev&rev=124625
Log:
Here newURI is always not null
Modified:
   cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/transformation/ProxyTransformer.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/transformation/ProxyTransformer.java
Url: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/transformation/ProxyTransformer.java?view=diff&rev=124625&p1=cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/transformation/ProxyTransformer.java&r1=124624&p2=cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/transformation/ProxyTransformer.java&r2=124625
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/transformation/ProxyTransformer.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/portal/java/org/apache/cocoon/portal/transformation/ProxyTransformer.java
Fri Jan  7 21:14:32 2005
@@ -344,10 +344,7 @@
                     SESSIONTOKEN,
                     sessionToken);
             }
-
-            if (newURI != null) {
-                newURI = resolveURI(newURI, documentBase);
-            }
+            newURI = resolveURI(newURI, documentBase);
             return newURI;
         }
         return null;
@@ -411,10 +408,7 @@
                             SESSIONTOKEN,
                             sessionToken);
                     }
-
-                    if (newURI != null) {
-                        newURI = resolveURI(newURI, documentBase);
-                    }
+                    newURI = resolveURI(newURI, documentBase);
                     return newURI;
                 }
             }

Mime
View raw message