[jboss-cvs] JBossCache/src/org/jboss/cache/marshall ...
Manik Surtani
msurtani at jboss.com
Thu Dec 14 06:55:06 EST 2006
User: msurtani
Date: 06/12/14 06:55:06
Modified: src/org/jboss/cache/marshall Tag: Branch_JBossCache_1_4_0
JBCMethodCall.java
Log:
JBCACHE-906
Revision Changes Path
No revision
No revision
1.4.2.1 +58 -35 JBossCache/src/org/jboss/cache/marshall/Attic/JBCMethodCall.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: JBCMethodCall.java
===================================================================
RCS file: /cvsroot/jboss/JBossCache/src/org/jboss/cache/marshall/Attic/JBCMethodCall.java,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -b -r1.4 -r1.4.2.1
--- JBCMethodCall.java 8 Jun 2006 22:00:35 -0000 1.4
+++ JBCMethodCall.java 14 Dec 2006 11:55:06 -0000 1.4.2.1
@@ -56,4 +56,27 @@
{
return super.hashCode() * 10 + methodId;
}
+
+ public String toString()
+ {
+ StringBuffer ret = new StringBuffer();
+ boolean first = true;
+ ret.append(method_name);
+ ret.append("; id:");
+ ret.append(methodId);
+ ret.append('(');
+ if (args != null)
+ {
+ for (int i = 0; i < args.length; i++)
+ {
+ if (first)
+ first = false;
+ else
+ ret.append(", ");
+ ret.append(args[i]);
+ }
+ }
+ ret.append(')');
+ return ret.toString();
+ }
}
More information about the jboss-cvs-commits
mailing list