We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62e6bf7 commit 2961b0aCopy full SHA for 2961b0a
plugins/org.eclipse.dltk.javascript.core/src/org/eclipse/dltk/javascript/core/JSBindings.java
@@ -257,7 +257,7 @@ public void clear() {
257
throw new UnsupportedOperationException();
258
}
259
260
- private static class Views {
+ static class Views {
261
volatile Set<ASTNode> keySet;
262
volatile Collection<IValueReference> values;
263
volatile Set<Map.Entry<ASTNode, IValueReference>> entrySet;
@@ -266,7 +266,7 @@ private static class Views {
266
private transient Views views;
267
268
private synchronized Views getViews() {
269
- if (views != null) {
+ if (views == null) {
270
views = new Views();
271
272
return views;
0 commit comments