diff options
Diffstat (limited to 'scripting/java/org/openoffice/netbeans/modules/office/options/OfficeSettings.java')
-rw-r--r-- | scripting/java/org/openoffice/netbeans/modules/office/options/OfficeSettings.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripting/java/org/openoffice/netbeans/modules/office/options/OfficeSettings.java b/scripting/java/org/openoffice/netbeans/modules/office/options/OfficeSettings.java index 1b0283e96678..a56cdfa97779 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/options/OfficeSettings.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/options/OfficeSettings.java @@ -91,7 +91,7 @@ public class OfficeSettings extends SystemOption { } public void setWarnBeforeDocDeploy(boolean value) { - putProperty(WARN_BEFORE_DOC_DEPLOY, new Boolean(value), true); + putProperty(WARN_BEFORE_DOC_DEPLOY, Boolean.valueOf(value), true); } public boolean getWarnBeforeParcelDelete() { @@ -99,7 +99,7 @@ public class OfficeSettings extends SystemOption { } public void setWarnBeforeParcelDelete(boolean value) { - putProperty(WARN_BEFORE_PARCEL_DELETE, new Boolean(value), true); + putProperty(WARN_BEFORE_PARCEL_DELETE, Boolean.valueOf(value), true); } public boolean getWarnAfterDirDeploy() { @@ -107,7 +107,7 @@ public class OfficeSettings extends SystemOption { } public void setWarnAfterDirDeploy(boolean value) { - putProperty(WARN_AFTER_DIR_DEPLOY, new Boolean(value), true); + putProperty(WARN_AFTER_DIR_DEPLOY, Boolean.valueOf(value), true); } public boolean getWarnBeforeMount() { @@ -115,6 +115,6 @@ public class OfficeSettings extends SystemOption { } public void setWarnBeforeMount(boolean value) { - putProperty(WARN_BEFORE_MOUNT, new Boolean(value), true); + putProperty(WARN_BEFORE_MOUNT, Boolean.valueOf(value), true); } } |