sPFShared/src/main/java/it/polimi/spf/shared/model/ProfileFieldContainer.java
public void clearModified() {
        for (String field : mStatus.keySet()) {
            switch (getStatus(field)) {
                case DELETED:
                    mStatus.remove(field);
                    break;
                case MODIFIED:
                    setStatus(field, FieldStatus.ORIGINAL);
                    break;
                default:
                    continue;
            }
        }
    }
public void clearModified() {
        for (String field : mStatus.keySet()) {
            switch (getStatus(field)) {
                case DELETED:
                    mStatus.remove(field);
                    break;
                case MODIFIED:
                    setStatus(field, FieldStatus.ORIGINAL);
                    break;
                default:
                    continue;
            }
        }
    }
Clears the modified state of fields. After this call and before any call to {@link
ProfileFieldContainer#setFieldValue(ProfileField, Object)}, {@link
ProfileFieldContainer#isModified()} and {@link ProfileFieldContainer#isModified(ProfileField)}
return false.