Permalink
Browse files

remove volatile from invalidator declaration

  • Loading branch information...
1 parent b008115 commit eb6de50f3ef1fa3c7029dbcbe7c129a6b0487d33 @charliesome committed Jun 11, 2013
@@ -31,7 +31,7 @@
private volatile transient Object cachedConstant = null;
private volatile int hash = -1;
private volatile Object generation = -1;
- private volatile Invalidator invalidator;
+ private Invalidator invalidator;
public InheritanceSearchConstInstr(Variable result, Operand currentModule, String constName, boolean noPrivateConsts) {
super(Operation.INHERITANCE_SEARCH_CONST);
@@ -30,7 +30,7 @@
// Constant caching
private volatile transient Object cachedConstant = null;
private Object generation = -1;
- private volatile Invalidator invalidator;
+ private Invalidator invalidator;
public LexicalSearchConstInstr(Variable result, Operand definingScope, String constName) {
super(Operation.LEXICAL_SEARCH_CONST);
@@ -29,7 +29,7 @@
// Constant caching
private volatile transient Object cachedConstant = null;
private Object generation = -1;
- private volatile Invalidator invalidator;
+ private Invalidator invalidator;
public SearchConstInstr(Variable result, String constName, Operand startingScope, boolean noPrivateConsts) {
super(Operation.SEARCH_CONST);

0 comments on commit eb6de50

Please sign in to comment.