Skip to content

Commit 92d97dc

Browse files
committed
Update MethodStack.java
1 parent 6fb5a3b commit 92d97dc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

+4-3
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ 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+
//Object [] argM
85+
public static void push(String callname) throws IOException {// added the object array in to pass the parameters to the
8586
// funciton in.
8687
if (threadid == -1)
8788
threadid = Thread.currentThread().getId();
@@ -103,14 +104,14 @@ public static void push(String callname, Object [] argM) throws IOException {//
103104
sb.append(" --- ").append(callname).append("=").append(System.nanoTime()).append("\n");// added in stack peek so it will also print the calling class
104105

105106
sb.append("Formal Param Types: ");
106-
107+
/*
107108
for(Object ob : argM)
108109
{
109110
sb.append(" ").append(ob.getClass().getName()); // GET THE PARAMETERS AND PRINT THE TYPE.
110111
}
111112
112113
sb.append("\n");
113-
114+
*/
114115
fw.write(sb.toString());
115116

116117

0 commit comments

Comments
 (0)