Make TimeZoneProperty compatible with JCasc
@@ -20,7 +20,7 @@ import org.kohsuke.accmod.restrictions.NoExternalUse;
* A UserProperty that allows a user to specify a time zone for displaying time.
*/
@Restricted(NoExternalUse.class)
-public class TimeZoneProperty extends UserProperty implements Saveable {
+public class TimeZoneProperty extends UserProperty {
/**
* Time Zone ID defined by the user.
* {@code null} means that the time zone is not defined.
@@ -39,11 +39,6 @@ public class TimeZoneProperty extends UserProperty implements Saveable {
this(null);
}
- @Override
- public void save() throws IOException {
- user.save();
- }
-
public void setTimeZoneName(@CheckForNull String timeZoneName) {
this.timeZoneName = timeZoneName;
}
