Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-04-26 11:40:55 +0000
committerUwe Stieber2012-04-26 11:40:55 +0000
commitba5177e09d616c85d7a88035e26a021afa0c62a2 (patch)
tree1c12fccb2e65cbb592afd7bd90054febc9d754e5 /target_explorer/plugins/org.eclipse.tcf.te.core
parenta9e0578c979c36f35cd3e92f7fa315cfb6eacadd (diff)
downloadorg.eclipse.tcf-ba5177e09d616c85d7a88035e26a021afa0c62a2.tar.gz
org.eclipse.tcf-ba5177e09d616c85d7a88035e26a021afa0c62a2.tar.xz
org.eclipse.tcf-ba5177e09d616c85d7a88035e26a021afa0c62a2.zip
Target Explorer: Change default persistence file extension from ".ini" to ".json"
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.core')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/adapters/ModelNodePersistableURIProvider.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/adapters/ModelNodePersistableURIProvider.java b/target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/adapters/ModelNodePersistableURIProvider.java
index b9b9963d7..acab09c2a 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/adapters/ModelNodePersistableURIProvider.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.core/src/org/eclipse/tcf/te/core/adapters/ModelNodePersistableURIProvider.java
@@ -97,8 +97,8 @@ public class ModelNodePersistableURIProvider implements IPersistableURIProvider
}
if (path != null) {
- if (!"ini".equals(path.getFileExtension())) { //$NON-NLS-1$
- path = path.addFileExtension("ini"); //$NON-NLS-1$
+ if (!"json".equals(path.getFileExtension())) { //$NON-NLS-1$
+ path = path.addFileExtension("json"); //$NON-NLS-1$
}
uri = path.toFile().toURI();
}

Back to the top