// invoke when isChanged() == true public void commit() throws IOException { LOG.assertTrue(mySource != null); mySource.commit(this); getProfileManager().updateProfile(mySource); mySource = null; }