SharedProcessingContext: cleanup

GitOrigin-RevId: b825063e1c63a9897c8951ebdbc23fafde6be9b5
This commit is contained in:
Yann Cébron
2019-07-02 06:52:16 +03:00
committed by intellij-monorepo-bot
parent e7342a1467
commit dc6299e317
@@ -1,3 +1,4 @@
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util;
import com.intellij.openapi.util.Key;
@@ -11,6 +12,7 @@ import java.util.Map;
/**
* @author peter
* @see ProcessingContext
*/
public class SharedProcessingContext {
private final Map<Object, Object> myMap = ContainerUtil.newConcurrentMap();
@@ -38,7 +40,7 @@ public class SharedProcessingContext {
return null;
}
else {
return (T) map.get(element);
return (T)map.get(element);
}
}