Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcletavernie2012-06-19 15:33:03 +0000
committercletavernie2012-06-19 15:33:03 +0000
commit7edf63a86cba3640496667324cee99d52ede3026 (patch)
tree1d70d2014b5b6b6ae63c245eef35eb8062ab3af5 /sandbox
parent143189e21dd96d1ac2a2c0c2397b2e059bbade14 (diff)
downloadorg.eclipse.papyrus-7edf63a86cba3640496667324cee99d52ede3026.tar.gz
org.eclipse.papyrus-7edf63a86cba3640496667324cee99d52ede3026.tar.xz
org.eclipse.papyrus-7edf63a86cba3640496667324cee99d52ede3026.zip
Save changes for org.eclipse.papyrus.eclipse.project.editors
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/org.eclipse.papyrus.eclipse.project.editors/src/org/eclipse/papyrus/eclipse/project/editors/file/BuildEditor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/org.eclipse.papyrus.eclipse.project.editors/src/org/eclipse/papyrus/eclipse/project/editors/file/BuildEditor.java b/sandbox/org.eclipse.papyrus.eclipse.project.editors/src/org/eclipse/papyrus/eclipse/project/editors/file/BuildEditor.java
index c4334460427..4c07b152058 100644
--- a/sandbox/org.eclipse.papyrus.eclipse.project.editors/src/org/eclipse/papyrus/eclipse/project/editors/file/BuildEditor.java
+++ b/sandbox/org.eclipse.papyrus.eclipse.project.editors/src/org/eclipse/papyrus/eclipse/project/editors/file/BuildEditor.java
@@ -205,7 +205,7 @@ public class BuildEditor extends AbstractFileEditor implements IBuildEditor {
*/
public String[] getSourceFolders() {
if(exists()) {
- String currentValue = this.buildConfig.getProperty(SOURCE_FOLDER_KEY, "").replace("\t|\r|\n", "");
+ String currentValue = this.buildConfig.getProperty(SOURCE_FOLDER_KEY, "").replaceAll("\t|\r|\n", "").trim();
String[] values = currentValue.split(","); //$NON-NLS-1$
return values;
}

Back to the top