mirror of
https://github.com/moparisthebest/fernflower
synced 2024-11-26 11:12:21 -05:00
fixed test
This commit is contained in:
parent
4ee8ad716d
commit
41fc5493e2
@ -307,7 +307,12 @@ public class TextBuffer {
|
|||||||
if (lineMapping.length > 0) {
|
if (lineMapping.length > 0) {
|
||||||
myLineMapping = new HashMap<Integer, Integer>();
|
myLineMapping = new HashMap<Integer, Integer>();
|
||||||
for (int i = 0; i < lineMapping.length; i+=2) {
|
for (int i = 0; i < lineMapping.length; i+=2) {
|
||||||
myLineMapping.put(lineMapping[i+1], lineMapping[i]);
|
int key = lineMapping[i + 1];
|
||||||
|
int value = lineMapping[i];
|
||||||
|
Integer existing = myLineMapping.get(key);
|
||||||
|
if (existing == null || value < existing) {
|
||||||
|
myLineMapping.put(key, value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -27,7 +27,7 @@ public class TestClassVar {
|
|||||||
|
|
||||||
while(var1 < 10) {// 47
|
while(var1 < 10) {// 47
|
||||||
int var2;
|
int var2;
|
||||||
for(var2 = var1; var1 < 10 && var1 == 0; ++var1) {// 51
|
for(var2 = var1; var1 < 10 && var1 == 0; ++var1) {// 49
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user