portals-portalapps-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From woon...@apache.org
Subject svn commit: r820046 - /portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultHttpReverseProxyServlet.java
Date Tue, 29 Sep 2009 17:55:52 GMT
Author: woonsan
Date: Tue Sep 29 17:55:52 2009
New Revision: 820046

URL: http://svn.apache.org/viewvc?rev=820046&view=rev
Log:
APA-17: Not to throw exception in the constructor of MappingRewriterController when there's
no rewriter/parseAdaptor class set.

Modified:
    portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultHttpReverseProxyServlet.java

Modified: portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultHttpReverseProxyServlet.java
URL: http://svn.apache.org/viewvc/portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultHttpReverseProxyServlet.java?rev=820046&r1=820045&r2=820046&view=diff
==============================================================================
--- portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultHttpReverseProxyServlet.java
(original)
+++ portals/applications/webcontent/trunk/webcontent-jar/src/main/java/org/apache/portals/applications/webcontent/proxy/impl/DefaultHttpReverseProxyServlet.java
Tue Sep 29 17:55:52 2009
@@ -449,10 +449,10 @@
     
     private List<Class> buildClassList(String [] classNames)
     {
+        List<Class> classList = new ArrayList<Class>();
+        
         if (!ArrayUtils.isEmpty(classNames))
         {
-            List<Class> classList = new ArrayList();
-            
             for (String className : classNames)
             {
                 try
@@ -471,11 +471,9 @@
                     }
                 }
             }
-            
-            return classList;
         }
         
-        return null;
+        return classList;
     }
     
     private void loadConfiguration() throws ServletException



Mime
View raw message