decompiler: fixed incorrect line numbers in dumped mapping

This commit is contained in:
Egor.Ushakov
2014-10-20 16:03:59 +04:00
parent a721490f62
commit 47fad13908
2 changed files with 10 additions and 10 deletions

View File

@@ -97,7 +97,7 @@ public class BytecodeSourceMapper {
buffer.append("Lines mapping:").appendLineSeparator();
Map<Integer, Integer> sorted = new TreeMap<Integer, Integer>(linesMapping);
for (Entry<Integer, Integer> entry : sorted.entrySet()) {
buffer.append(entry.getKey()).append(" <-> ").append(entry.getValue()).appendLineSeparator();
buffer.append(entry.getKey()).append(" <-> ").append(entry.getValue()+ offset_total + 1).appendLineSeparator();
}
}