bug 10375: fixed a problem with build name

This commit is contained in:
Alex Huang 2011-06-22 16:43:53 -07:00
parent 05a2fb6957
commit f360576391
1 changed files with 1 additions and 1 deletions

View File

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