commit | 0655bd5e5cae25136ee4b6d6d688abe51618f7c0 | [log] [tgz] |
---|---|---|
author | nitind <nitind> | Tue Dec 09 18:15:46 2008 +0000 |
committer | nitind <nitind> | Tue Dec 09 18:15:46 2008 +0000 |
tree | ea5b222cb0054a90c37ca0fc1671c46249b5574d | |
parent | 69496185fa5d2fdeca93757a4e2b2c1324f16900 [diff] |
[nobug] use OS strings for filesystem filenames
diff --git a/org.eclipse.wst.common.snippets/src/org/eclipse/wst/common/snippets/internal/palette/ModelFactoryForUser.java b/org.eclipse.wst.common.snippets/src/org/eclipse/wst/common/snippets/internal/palette/ModelFactoryForUser.java index 9e3ed8d..3a91dd0 100644 --- a/org.eclipse.wst.common.snippets/src/org/eclipse/wst/common/snippets/internal/palette/ModelFactoryForUser.java +++ b/org.eclipse.wst.common.snippets/src/org/eclipse/wst/common/snippets/internal/palette/ModelFactoryForUser.java
@@ -169,7 +169,7 @@ String name = null; try { Bundle bundle = Platform.getBundle(SnippetsPlugin.BUNDLE_ID); - name = Platform.getStateLocation(bundle).toString() + "/user.xml"; //$NON-NLS-1$ + name = Platform.getStateLocation(bundle).toOSString() + "/user.xml"; //$NON-NLS-1$ } catch (Exception e) { name = "/user.xml"; //$NON-NLS-1$
diff --git a/org.eclipse.wst.common.snippets/src/org/eclipse/wst/common/snippets/internal/palette/UserModelDumper.java b/org.eclipse.wst.common.snippets/src/org/eclipse/wst/common/snippets/internal/palette/UserModelDumper.java index 66b1fd4..8118529 100644 --- a/org.eclipse.wst.common.snippets/src/org/eclipse/wst/common/snippets/internal/palette/UserModelDumper.java +++ b/org.eclipse.wst.common.snippets/src/org/eclipse/wst/common/snippets/internal/palette/UserModelDumper.java
@@ -220,7 +220,7 @@ String name = null; try { Bundle bundle = Platform.getBundle(SnippetsPlugin.BUNDLE_ID); - name = Platform.getStateLocation(bundle).toString() + "/user.xml"; //$NON-NLS-1$ + name = Platform.getStateLocation(bundle).toOSString() + "/user.xml"; //$NON-NLS-1$ } catch (Exception e) { name = "/user.xml"; //$NON-NLS-1$