@Test public void testClearDirty() { Assert.assertFalse(stateManager.isDirty(persistent)); stateManager.setDirty(persistent, 0); stateManager.clearDirty(persistent); Assert.assertFalse(this.stateManager.isDirty(persistent)); }
@Override public void clearDirty(Persistent persistent, int fieldIndex) { dirtyBits.clear(fieldIndex); }
StateManagerImpl implements StateManager { @Override public void clearDirty(Persistent persistent, int fieldIndex) { dirtyBits.clear(fieldIndex); } }
StateManagerImpl implements StateManager { @Override public void clearDirty(Persistent persistent, int fieldIndex) { dirtyBits.clear(fieldIndex); } StateManagerImpl(); }
StateManagerImpl implements StateManager { @Override public void clearDirty(Persistent persistent, int fieldIndex) { dirtyBits.clear(fieldIndex); } StateManagerImpl(); void setManagedPersistent(Persistent persistent); @Override boolean isNew(Persistent persistent); @Override void setNew(Persistent persistent); @Override void clearNew(Persistent persistent); void setDirty(Persistent persistent, int fieldIndex); boolean isDirty(Persistent persistent, int fieldIndex); boolean isDirty(Persistent persistent); @Override void setDirty(Persistent persistent); @Override void clearDirty(Persistent persistent, int fieldIndex); void clearDirty(Persistent persistent); void setReadable(Persistent persistent, int fieldIndex); boolean isReadable(Persistent persistent, int fieldIndex); @Override void clearReadable(Persistent persistent, int fieldIndex); void clearReadable(Persistent persistent); }
StateManagerImpl implements StateManager { @Override public void clearDirty(Persistent persistent, int fieldIndex) { dirtyBits.clear(fieldIndex); } StateManagerImpl(); void setManagedPersistent(Persistent persistent); @Override boolean isNew(Persistent persistent); @Override void setNew(Persistent persistent); @Override void clearNew(Persistent persistent); void setDirty(Persistent persistent, int fieldIndex); boolean isDirty(Persistent persistent, int fieldIndex); boolean isDirty(Persistent persistent); @Override void setDirty(Persistent persistent); @Override void clearDirty(Persistent persistent, int fieldIndex); void clearDirty(Persistent persistent); void setReadable(Persistent persistent, int fieldIndex); boolean isReadable(Persistent persistent, int fieldIndex); @Override void clearReadable(Persistent persistent, int fieldIndex); void clearReadable(Persistent persistent);  }