mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
SIOOB
This commit is contained in:
@@ -281,7 +281,7 @@ public class CompositeElement extends TreeElement {
|
||||
}
|
||||
if (endOffset != len) {
|
||||
@NonNls String msg = "len=" + len + ";\n endOffset=" + endOffset;
|
||||
msg += diagnoseTextInconsistency(new String(buffer, 0, endOffset), startStamp);
|
||||
msg += diagnoseTextInconsistency(new String(buffer, 0, Math.min(len, endOffset)), startStamp);
|
||||
throw new AssertionError(msg);
|
||||
}
|
||||
return buffer;
|
||||
|
||||
Reference in New Issue
Block a user