continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r582978 - in /maven/continuum/trunk/continuum-webapp/src/main: java/org/apache/maven/continuum/web/action/BuildResultsListAction.java resources/localization/Continuum.properties
Date Mon, 08 Oct 2007 21:21:44 GMT
Author: olamy
Date: Mon Oct  8 14:21:43 2007
New Revision: 582978

URL: http://svn.apache.org/viewvc?rev=582978&view=rev
Log:
[CONTINUUM-1487] fix warning message

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/BuildResultsListAction.java
    maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/BuildResultsListAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/BuildResultsListAction.java?rev=582978&r1=582977&r2=582978&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/BuildResultsListAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/BuildResultsListAction.java
Mon Oct  8 14:21:43 2007
@@ -21,7 +21,6 @@
 
 import java.util.ArrayList;
 import java.util.Collection;
-import java.util.Iterator;
 import java.util.List;
 import java.util.ResourceBundle;
 
@@ -122,12 +121,7 @@
                     }
                     else
                     {
-
-                        ResourceBundle resourceBundle = getResourceBundle();
-                        String message = LocalizedTextUtil.findText( resourceBundle, "buildResult.cannot.delete",
-                                                                     getLocale(), "", new
String[] { Integer
-                                                                         .toString( buildId
) } );
-                        this.addActionMessage( message );
+                        this.addActionMessage( getResourceBundle().getString( "buildResult.cannot.delete"
) );
                     }
                 }
             }

Modified: maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties?rev=582978&r1=582977&r2=582978&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/localization/Continuum.properties
Mon Oct  8 14:21:43 2007
@@ -749,7 +749,7 @@
 buildResult.delete.confirmation.page.title = Continuum - Delete Build Results
 buildResult.delete.confirmation.section.title = Delete Build Results
 buildResult.delete.confirmation.message = Are you sure you want to delete {0} build results
? 
-buildResult.cannot.delete = Cannot delete a build result which is currently building '{0}'
+buildResult.cannot.delete = Cannot delete a build result which is currently building.
 
 # ----------------------------------------------------------------------
 # Legend



Mime
View raw message