portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwat...@apache.org
Subject svn commit: r942172 - /portals/jetspeed-2/portal/trunk/components/jetspeed-serializer/src/main/java/org/apache/jetspeed/serializer/objects/JSNVPElement.java
Date Fri, 07 May 2010 18:39:49 GMT
Author: rwatler
Date: Fri May  7 18:39:49 2010
New Revision: 942172

URL: http://svn.apache.org/viewvc?rev=942172&view=rev
Log:
allow import of blank security attributes

Modified:
    portals/jetspeed-2/portal/trunk/components/jetspeed-serializer/src/main/java/org/apache/jetspeed/serializer/objects/JSNVPElement.java

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-serializer/src/main/java/org/apache/jetspeed/serializer/objects/JSNVPElement.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-serializer/src/main/java/org/apache/jetspeed/serializer/objects/JSNVPElement.java?rev=942172&r1=942171&r2=942172&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-serializer/src/main/java/org/apache/jetspeed/serializer/objects/JSNVPElement.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-serializer/src/main/java/org/apache/jetspeed/serializer/objects/JSNVPElement.java
Fri May  7 18:39:49 2010
@@ -248,7 +248,7 @@ public class JSNVPElement
     
     public void setAttribute(String key, String value)
     {
-        if (key != null && value != null && key.trim().length() > 0 &&
value.trim().length() > 0)
+        if (key != null && value != null && key.trim().length() > 0)
         {
             if (READONLY.equals(key))
             {



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message