summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2010-12-13 22:57:44 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2010-12-13 22:57:44 +0100
commit1fcac94289f887be09b5b1e5ee541efe03f4ca9f (patch)
tree349e688601df1af92f00e1cf3d927e7d16a813a0
parent4f0e3c36c0d5e8334a8184b30df96274379fa1e9 (diff)
[java] tiny code optimization in the export part
-rw-r--r--java/source/org/openoffice/ide/eclipse/java/export/JavaExportPageControl.java7
1 files changed, 1 insertions, 6 deletions
diff --git a/java/source/org/openoffice/ide/eclipse/java/export/JavaExportPageControl.java b/java/source/org/openoffice/ide/eclipse/java/export/JavaExportPageControl.java
index 1bcee19..7b34469 100644
--- a/java/source/org/openoffice/ide/eclipse/java/export/JavaExportPageControl.java
+++ b/java/source/org/openoffice/ide/eclipse/java/export/JavaExportPageControl.java
@@ -34,8 +34,6 @@ public class JavaExportPageControl {
private boolean mSaveAntScript;
private String mSavePath;
- private boolean mSavePathEnabled;
-
/**
* Default constructor.
*/
@@ -49,9 +47,6 @@ public class JavaExportPageControl {
*/
public void setSaveAntScript( boolean pSave ) {
mSaveAntScript = pSave;
-
- // Don't activate the path field unless the save is selected
- mSavePathEnabled = pSave;
}
/**
@@ -79,6 +74,6 @@ public class JavaExportPageControl {
* @return whether the save path field is enabled
*/
public boolean isSavePathEnabled( ) {
- return mSavePathEnabled;
+ return mSaveAntScript;
}
}