User: neales  
  Date: 02/03/07 09:03:54

  Added:       src/main/org/jboss/test/proxycompiler Util.java
  Log:
  o Replace org.jboss.proxy.compiler with a BCEL implementation
  o Add a test for this.
  
  Revision  Changes    Path
  1.1                  jbosstest/src/main/org/jboss/test/proxycompiler/Util.java
  
  Index: Util.java
  ===================================================================
  package org.jboss.test.proxycompiler;
  
  public class Util {
  
     private Util() { }
  
     public final static String getStringRepresentation(int i,
                                                        Object ref,
                                                        int[] ints,
                                                        Object[] objectRefs) {
  
         StringBuffer b = new StringBuffer();
         b.append("i = " + i + ",");
         b.append("ref = " + ref + ",");
         b.append("ints = {");
         for(int j = 0; j < ints.length; j++) {
            b.append("[" + j + "]=" + ints[j]);
         }
         b.append("},");
         b.append("objectRefs = {");
         for(int j = 0; j < objectRefs.length; j++) {
            b.append("[" + j + "]=" + objectRefs[j]);
         }
         b.append("}");
   
         return b.toString();
  
     }
  }
  
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to