Project

General

Profile

« Previous | Next » 

Revision 3272cfb8

Added by Leszek Koltunski about 3 years ago

Actually reset Node's mLastTime back to 0 each time we attach it somewhere.

View differences:

src/main/java/org/distorted/library/main/InternalChildrenList.java
45 45
      }
46 46
    }
47 47

  
48
  private ArrayList<Job> mJobs;
48
  private final ArrayList<Job> mJobs;
49
  private final InternalChildrenList.Parent mParent;
49 50
  private ArrayList<DistortedNode> mChildren;
50
  private InternalChildrenList.Parent mParent;
51 51
  private int mNumChildren;
52 52

  
53 53
  public interface Parent
......
126 126

  
127 127
  void attach(DistortedNode node)
128 128
    {
129
    node.resetLastTime();
129 130
    mJobs.add(new Job(ATTACH,node));
130 131
    InternalMaster.newSlave(this);
131 132
    }

Also available in: Unified diff