Skip to content

Commit 4b9f53d

Browse files
committed
Update MethodStack.java
1 parent db15f74 commit 4b9f53d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/gr/gousiosg/javacg/dyn/MethodStack.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public int compare(Object o1, Object o2) {
8181
sb = new StringBuffer();
8282
}
8383

84-
public static void push(String callname,Object [] argM) throws IOException {// added the object array in to pass the parameters to the
84+
public static void push(String callname, Object [] argM) throws IOException {// added the object array in to pass the parameters to the
8585
// funciton in.
8686
if (threadid == -1)
8787
threadid = Thread.currentThread().getId();
@@ -102,11 +102,11 @@ public static void push(String callname,Object [] argM) throws IOException {// a
102102
if (!stack.isEmpty()) { sb.append(stack.peek()); }
103103
sb.append(" --- ").append(callname).append("=").append(System.nanoTime()).append("\n");// added in stack peek so it will also print the calling class
104104

105-
/* for(Object ob : argM)
105+
for(Object ob : argM)
106106
{
107-
sb.append(" ").append(ob.getClass()); // GET THE PARAMETERS AND PRINT THE TYPE.
107+
sb.append(" ").append(ob.getClass().getName()); // GET THE PARAMETERS AND PRINT THE TYPE.
108108
}
109-
*/
109+
110110
fw.write(sb.toString());
111111

112112

0 commit comments

Comments
 (0)