print further into the stack so we can see who's calling the Transaction methods

This commit is contained in:
Alex Huang 2011-07-29 10:51:16 -07:00
parent c00b9bf5aa
commit 1f4d34b9d5
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ public class Transaction {
final StackTraceElement[] stacks = Thread.currentThread().getStackTrace();
final StringBuilder str = new StringBuilder();
int i = 3, j = 3;
while (j < 7 && i < stacks.length) {
while (j < 15 && i < stacks.length) {
StackTraceElement element = stacks[i];
String filename = element.getFileName();
String method = element.getMethodName();