directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r1083566 - /directory/shared/trunk/asn1/ber/src/main/java/org/apache/directory/shared/asn1/ber/tlv/Value.java
Date Sun, 20 Mar 2011 20:56:23 GMT
Author: felixk
Date: Sun Mar 20 20:56:23 2011
New Revision: 1083566

URL: http://svn.apache.org/viewvc?rev=1083566&view=rev
Log:
May expose internal representation (http://findbugs.sourceforge.net/bugDescriptions.html#EI_EXPOSE_REP)

Modified:
    directory/shared/trunk/asn1/ber/src/main/java/org/apache/directory/shared/asn1/ber/tlv/Value.java

Modified: directory/shared/trunk/asn1/ber/src/main/java/org/apache/directory/shared/asn1/ber/tlv/Value.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/asn1/ber/src/main/java/org/apache/directory/shared/asn1/ber/tlv/Value.java?rev=1083566&r1=1083565&r2=1083566&view=diff
==============================================================================
--- directory/shared/trunk/asn1/ber/src/main/java/org/apache/directory/shared/asn1/ber/tlv/Value.java
(original)
+++ directory/shared/trunk/asn1/ber/src/main/java/org/apache/directory/shared/asn1/ber/tlv/Value.java
Sun Mar 20 20:56:23 2011
@@ -153,7 +153,7 @@ public class Value
      */
     public byte[] getData()
     {
-        return data;
+        return data.clone();
     }
 
 



Mime
View raw message