Allow VersionedMetaData.onSave to skip committing

Change-Id: I65349b2fde9fd22381fa5e4a35f6265924c626f0
This commit is contained in:
Dave Borowitz
2014-01-16 10:10:17 -08:00
parent 906efd9d07
commit da93b83721
6 changed files with 23 additions and 10 deletions

View File

@@ -307,7 +307,7 @@ public class ChangeNotes extends VersionedMetaData {
}
@Override
protected void onSave(CommitBuilder commit) {
protected boolean onSave(CommitBuilder commit) {
throw new UnsupportedOperationException(
getClass().getSimpleName() + " is read-only");
}