directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r190039 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/util/MutableString.java
Date Fri, 10 Jun 2005 23:53:39 GMT
Author: elecharny
Date: Fri Jun 10 16:53:38 2005
New Revision: 190039

URL: http://svn.apache.org/viewcvs?rev=190039&view=rev
Log:
Added a new constructor that takes a String as argument.

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/util/MutableString.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/util/MutableString.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/util/MutableString.java?rev=190039&r1=190038&r2=190039&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/util/MutableString.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/util/MutableString.java
Fri Jun 10 16:53:38 2005
@@ -46,6 +46,14 @@
     }
     
     /**
+     * Creates a MutableString.
+     */
+    public MutableString(String string)
+    {
+        this(string.getBytes());
+    }
+    
+    /**
      * Creates a MutableString with a specific length.
      */
     public MutableString(int length)



Mime
View raw message