User: user57
Date: 02/02/14 22:15:55
Modified: src/main/org/jboss/test/perf/interfaces EntityPK.java
Log:
o replaced most System.out usage with Log4j. should really introduce
some base classes to make this mess more maintainable...
Revision Changes Path
1.4 +6 -4 jbosstest/src/main/org/jboss/test/perf/interfaces/EntityPK.java
Index: EntityPK.java
===================================================================
RCS file:
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/perf/interfaces/EntityPK.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- EntityPK.java 12 Feb 2002 09:38:00 -0000 1.3
+++ EntityPK.java 15 Feb 2002 06:15:55 -0000 1.4
@@ -6,6 +6,8 @@
public class EntityPK implements java.io.Serializable
{
+ static org.apache.log4j.Category log =
org.apache.log4j.Category.getInstance(EntityPK.class);
+
public int the_key;
public EntityPK()
@@ -33,10 +35,10 @@
URL loc0 = pd0.getCodeSource().getLocation();
ProtectionDomain pd1 = obj.getClass().getProtectionDomain();
URL loc1 = pd1.getCodeSource().getLocation();
- System.out.println("PK0 location="+loc0);
- System.out.println("PK0 loader="+getClass().getClassLoader());
- System.out.println("PK1 location="+loc1);
- System.out.println("PK1 loader="+obj.getClass().getClassLoader());
+ log.debug("PK0 location="+loc0);
+ log.debug("PK0 loader="+getClass().getClassLoader());
+ log.debug("PK1 location="+loc1);
+ log.debug("PK1 loader="+obj.getClass().getClassLoader());
}
return equals;
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development