continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r581169 - /maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectGroupAction.java
Date Tue, 02 Oct 2007 09:32:49 GMT
Author: evenisse
Date: Tue Oct  2 02:32:49 2007
New Revision: 581169

URL: http://svn.apache.org/viewvc?rev=581169&view=rev
Log:
[CONTINUUM-1502] trim the group name

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectGroupAction.java

Modified: maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectGroupAction.java
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectGroupAction.java?rev=581169&r1=581168&r2=581169&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectGroupAction.java
(original)
+++ maven/continuum/trunk/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectGroupAction.java
Tue Oct  2 02:32:49 2007
@@ -297,6 +297,8 @@
         // todo convert everything like to work off of string keys
         if ( !name.equals( projectGroup.getName() ) )
         {
+            //CONTINUUM-1502
+            name = name.trim();
             try
             {
                 roleManager.updateRole( "project-administrator", projectGroup.getName(),
name );



Mime
View raw message