mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
fix shared index tests (restore forward stub index while comparing stubs)
GitOrigin-RevId: c5bb784fc6c5a98ab008411e17c56325d49167bf
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fc3660ec27
commit
f496120db1
@@ -65,5 +65,10 @@ final class CharSequenceHashInlineKeyDescriptor extends InlineKeyDescriptor<Char
|
||||
public @NotNull IntStream codePoints() {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "hash[" + hashCode + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -181,6 +181,12 @@ public final class SerializedStubTree {
|
||||
}
|
||||
|
||||
public @NotNull SerializedStubTree withoutStub() {
|
||||
try {
|
||||
restoreIndexedStubs();
|
||||
}
|
||||
catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
return new SerializedStubTree(ArrayUtil.EMPTY_BYTE_ARRAY,
|
||||
0,
|
||||
myIndexedStubBytes,
|
||||
|
||||
Reference in New Issue
Block a user