]> source.dussan.org Git - archiva.git/commitdiff
missed to fix add
authorOlivier Lamy <olamy@apache.org>
Tue, 4 Oct 2011 14:58:08 +0000 (14:58 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 4 Oct 2011 14:58:08 +0000 (14:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178822 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/archiva/web/action/admin/connectors/proxy/AddProxyConnectorAction.java

index 382edce1c376c9d9c13fd5fbc461110f6d5e10aa..e8baacfcf9ea360b3d58a620d92c30c68d9e498b 100644 (file)
@@ -46,13 +46,6 @@ public class AddProxyConnectorAction
     @Override
     public String input()
     {
-        if ( connector != null )
-        {
-            // MRM-1135
-            connector.setBlackListPatterns( escapePatterns( connector.getBlackListPatterns() ) );
-            connector.setWhiteListPatterns( escapePatterns( connector.getWhiteListPatterns() ) );
-        }
-
         return INPUT;
     }
 
@@ -88,10 +81,6 @@ public class AddProxyConnectorAction
             connector.setProxyId( null );
         }
 
-        // MRM-1135
-        connector.setBlackListPatterns( unescapePatterns( connector.getBlackListPatterns() ) );
-        connector.setWhiteListPatterns( unescapePatterns( connector.getWhiteListPatterns() ) );
-
         addProxyConnector( connector );
         return SUCCESS;
     }