svn commit: r312567 - /jakarta/bcel/trunk/examples/listclass.java

[email protected]
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]>
Author: dbrosius
Date: Sun Oct  9 23:07:03 2005
New Revision: 312567

URL: http://svn.apache.org/viewcvs?rev=312567&view=rev
Log:
silly String ctor call

Modified:
    jakarta/bcel/trunk/examples/listclass.java

Modified: jakarta/bcel/trunk/examples/listclass.java
URL: http://svn.apache.org/viewcvs/jakarta/bcel/trunk/examples/listclass.java?rev=312567&r1=312566&r2=312567&view=diff
==============================================================================
--- jakarta/bcel/trunk/examples/listclass.java (original)
+++ jakarta/bcel/trunk/examples/listclass.java Sun Oct  9 23:07:03 2005
@@ -198,7 +198,7 @@
       if(c != null && c.getTag() == Constants.CONSTANT_Class) {
         ConstantUtf8 c1 = (ConstantUtf8) pool.getConstant(((ConstantClass)c).getNameIndex());
         buf.setLength(0);
-        buf.append(new String(c1.getBytes()));
+        buf.append(c1.getBytes());
         for(int n = 0; n < buf.length(); n++) {
           if(buf.charAt(n) == '/')
             buf.setCharAt(n, '.');
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.