diff options
author | Uwe Stieber | 2012-10-19 07:47:54 +0000 |
---|---|---|
committer | Uwe Stieber | 2012-10-19 07:47:54 +0000 |
commit | acd47895b3b5da7bf4377baee3fd07356bc3b6d5 (patch) | |
tree | ef893080b2e1ef3747706b0f15a9b2641544fe6b /target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence | |
parent | 1876248c700a87ee8e0ab702baac755b7575f099 (diff) | |
download | org.eclipse.tcf-acd47895b3b5da7bf4377baee3fd07356bc3b6d5.tar.gz org.eclipse.tcf-acd47895b3b5da7bf4377baee3fd07356bc3b6d5.tar.xz org.eclipse.tcf-acd47895b3b5da7bf4377baee3fd07356bc3b6d5.zip |
Target Explorer: Fix map persistence delegate fromMap returns null if the input is a map
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence')
-rw-r--r-- | target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/GsonMapPersistenceDelegate.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/GsonMapPersistenceDelegate.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/GsonMapPersistenceDelegate.java index 7772e5f1b..71b4e4409 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/GsonMapPersistenceDelegate.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/GsonMapPersistenceDelegate.java @@ -280,7 +280,7 @@ public class GsonMapPersistenceDelegate extends ExecutableExtension implements I * @throws IOException */ protected Object fromMap(Map<String,Object> map, Object context) throws IOException { - if (context == null || context.equals(map.getClass())) { + if (context == null || Map.class.equals(context)) { return map; } else if (context instanceof Map) { |