continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1542932 - /continuum/branches/CONTINUUM-2713/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/BuildAgentAction.java
Date Mon, 18 Nov 2013 07:40:50 GMT
Author: brett
Date: Mon Nov 18 07:40:50 2013
New Revision: 1542932

URL: http://svn.apache.org/r1542932
Log:
[CONTINUUM-2713] no longer needs escaping

The s:property does this, and doing so here double escapes.

Modified:
    continuum/branches/CONTINUUM-2713/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/BuildAgentAction.java

Modified: continuum/branches/CONTINUUM-2713/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/BuildAgentAction.java
URL: http://svn.apache.org/viewvc/continuum/branches/CONTINUUM-2713/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/BuildAgentAction.java?rev=1542932&r1=1542931&r2=1542932&view=diff
==============================================================================
--- continuum/branches/CONTINUUM-2713/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/BuildAgentAction.java
(original)
+++ continuum/branches/CONTINUUM-2713/continuum-webapp/src/main/java/org/apache/continuum/web/action/admin/BuildAgentAction.java
Mon Nov 18 07:40:50 2013
@@ -134,19 +134,16 @@ public class BuildAgentAction
 
         if ( buildAgent != null )
         {
-            String escapedBuildAgentUrl = StringEscapeUtils.escapeXml( buildAgent.getUrl()
);
-            buildAgent.setUrl( escapedBuildAgentUrl );
-
             for ( BuildAgentConfiguration agent : configuration.getBuildAgents() )
             {
-                if ( agent.getUrl().equals( escapedBuildAgentUrl ) )
+                if ( agent.getUrl().equals( buildAgent.getUrl() ) )
                 {
                     buildAgent = agent;
 
                     try
                     {
                         installations = getContinuum().getDistributedBuildManager().getAvailableInstallations(
-                            escapedBuildAgentUrl );
+                            buildAgent.getUrl() );
                     }
                     catch ( ContinuumException e )
                     {



Mime
View raw message