diff --git a/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/ConfigureProxyConnectorAction.java b/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/ConfigureProxyConnectorAction.java index 7d9a3e78a..e948f314a 100644 --- a/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/ConfigureProxyConnectorAction.java +++ b/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/action/admin/connectors/proxy/ConfigureProxyConnectorAction.java @@ -219,7 +219,7 @@ public class ConfigureProxyConnectorAction if ( StringUtils.isBlank( pattern ) ) { - addActionError( "Cannot add an blank white list pattern." ); + addActionError( "Cannot add a blank white list pattern." ); } if ( !hasActionErrors() ) @@ -237,7 +237,7 @@ public class ConfigureProxyConnectorAction if ( StringUtils.isBlank( pattern ) ) { - addActionError( "Cannot remove an blank white list pattern." ); + addActionError( "Cannot remove a blank white list pattern." ); } if ( !hasActionErrors() ) @@ -255,7 +255,7 @@ public class ConfigureProxyConnectorAction if ( StringUtils.isBlank( pattern ) ) { - addActionError( "Cannot add an blank black list pattern." ); + addActionError( "Cannot add a blank black list pattern." ); } if ( !hasActionErrors() ) @@ -269,11 +269,11 @@ public class ConfigureProxyConnectorAction public String removeBlackListPattern() { - String pattern = getBlackListPattern(); + String pattern = getPattern(); if ( StringUtils.isBlank( pattern ) ) { - addActionError( "Cannot remove an blank black list pattern." ); + addActionError( "Cannot remove a blank black list pattern." ); } if ( !hasActionErrors() ) diff --git a/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editProxyConnector.jsp b/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editProxyConnector.jsp index 28ca95dfa..214736257 100644 --- a/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editProxyConnector.jsp +++ b/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/jsp/admin/editProxyConnector.jsp @@ -36,18 +36,6 @@ Admin : ${addedit} Proxy Connector - @@ -59,7 +47,7 @@ - + @@ -234,7 +222,18 @@