continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject svn commit: r699960 - /continuum/branches/continuum-1.2.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ProfileAction.java
Date Mon, 29 Sep 2008 02:18:56 GMT
Author: ctan
Date: Sun Sep 28 19:18:55 2008
New Revision: 699960

URL: http://svn.apache.org/viewvc?rev=699960&view=rev
Log:
[CONTINUUM-1881] do not accept build environment name with spaces only
Submitted By: Gwen Harold Autencio

Modified:
    continuum/branches/continuum-1.2.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ProfileAction.java

Modified: continuum/branches/continuum-1.2.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ProfileAction.java
URL: http://svn.apache.org/viewvc/continuum/branches/continuum-1.2.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ProfileAction.java?rev=699960&r1=699959&r2=699960&view=diff
==============================================================================
--- continuum/branches/continuum-1.2.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ProfileAction.java
(original)
+++ continuum/branches/continuum-1.2.x/continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/admin/ProfileAction.java
Sun Sep 28 19:18:55 2008
@@ -116,7 +116,7 @@
         {
             Profile stored = profileService.getProfile( profile.getId() );
 
-            if ( StringUtils.isEmpty( profile.getName() ) )
+            if ( StringUtils.isBlank( profile.getName() ) )
             {
                 if ( stored != null )
                 {



Mime
View raw message