You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by lu...@apache.org on 2004/11/08 10:33:03 UTC

cvs commit: jakarta-slide/src/share/org/apache/slide/content NodeProperty.java

luetzkendorf    2004/11/08 01:33:03

  Modified:    src/share/org/apache/slide/content NodeProperty.java
  Log:
  replaced new String() with ""
  
  Revision  Changes    Path
  1.27      +8 -8      jakarta-slide/src/share/org/apache/slide/content/NodeProperty.java
  
  Index: NodeProperty.java
  ===================================================================
  RCS file: /home/cvs/jakarta-slide/src/share/org/apache/slide/content/NodeProperty.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- NodeProperty.java	18 Oct 2004 15:01:54 -0000	1.26
  +++ NodeProperty.java	8 Nov 2004 09:33:03 -0000	1.27
  @@ -105,7 +105,7 @@
           setName(name);
           setValue(value);
           this.namespace = DEFAULT_NAMESPACE;
  -        this.type = new String();
  +        this.type = "";
           this.kind = determineKind( namespace, name );
       }
       
  @@ -294,7 +294,7 @@
        */
       void setName(String name) {
           if (name == null) {
  -            this.name = new String();
  +            this.name = "";
           } else {
               this.name = name;
           }
  @@ -342,7 +342,7 @@
        */
       void setValue(Object value) {
           if (value == null) {
  -            this.value = new String();
  +            this.value = "";
           } else {
               this.value = value;
           }
  @@ -366,7 +366,7 @@
        */
       void setType(String type) {
           if (type == null) {
  -            this.type = new String();
  +            this.type = "";
           } else {
               this.type = type;
           }
  
  
  

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