Skip to content


Browse files Browse the repository at this point in the history
[Truffle] Make them local variables, not fields.
  • Loading branch information
eregon committed Feb 20, 2015
1 parent 39a810d commit 33d537b
Showing 1 changed file with 2 additions and 5 deletions.
Expand Up @@ -145,16 +145,13 @@ public static interface ObjectGraphVisitor {


private Map<Long, RubyBasicObject> liveObjects;
private ObjectGraphVisitor visitor;

public Map<Long, RubyBasicObject> collectLiveObjects() {

liveObjects = new HashMap<>();
final Map<Long, RubyBasicObject> liveObjects = new HashMap<>();

visitor = new ObjectGraphVisitor() {
final ObjectGraphVisitor visitor = new ObjectGraphVisitor() {

public boolean visit(RubyBasicObject object) {
Expand Down

0 comments on commit 33d537b

Please sign in to comment.