more future proof serializers initialization

This commit is contained in:
Maxim.Mossienko
2017-07-03 16:47:28 +02:00
parent df2bd3aeb6
commit ce1432abc6
@@ -120,7 +120,7 @@ public class StubUpdatingIndex extends CustomImplementationFileBasedIndexExtensi
@Override
public DataExternalizer<Collection<Integer>> createExternalizer() {
return new DataExternalizer<Collection<Integer>>() {
private boolean myEnsuredStubElementTypesLoaded;
private volatile boolean myEnsuredStubElementTypesLoaded;
@Override
public void save(@NotNull DataOutput out, Collection<Integer> value) throws IOException {