Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2014-07-08 06:55:23 -0400
committerUwe Stieber2014-07-08 06:55:23 -0400
commite29b92ea344912e1c26865e950a2e90e133dd6cb (patch)
treeba809d370caf9328b99aebce0ccb267a2c7afbb4 /target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence
parenta9a1e47ae6d7f003232450c82cf413c2e2b6deca (diff)
downloadorg.eclipse.tcf-e29b92ea344912e1c26865e950a2e90e133dd6cb.tar.gz
org.eclipse.tcf-e29b92ea344912e1c26865e950a2e90e133dd6cb.tar.xz
org.eclipse.tcf-e29b92ea344912e1c26865e950a2e90e133dd6cb.zip
Reworked: Target Explorer: add steps for channel manager rework
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/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/delegates/GsonMapPersistenceDelegate.java3
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/history/HistoryManager.java3
2 files changed, 4 insertions, 2 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/delegates/GsonMapPersistenceDelegate.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/delegates/GsonMapPersistenceDelegate.java
index 05e8acd71..b40acb181 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/delegates/GsonMapPersistenceDelegate.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/delegates/GsonMapPersistenceDelegate.java
@@ -216,7 +216,8 @@ public class GsonMapPersistenceDelegate extends ExecutableExtension implements I
return read(context, container, false);
}
- private Object read(Object context, Object container, boolean isList) throws IOException {
+ @SuppressWarnings("unchecked")
+ private Object read(Object context, Object container, boolean isList) throws IOException {
Assert.isNotNull(container);
// Gson gson = new GsonBuilder().enableComplexMapKeySerialization().create();
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/history/HistoryManager.java b/target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/history/HistoryManager.java
index 3e29fe54c..fd5a1eaaf 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/history/HistoryManager.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.runtime.persistence/src/org/eclipse/tcf/te/runtime/persistence/history/HistoryManager.java
@@ -60,7 +60,8 @@ public class HistoryManager {
/**
* Initialize the history manager.
*/
- private void initialize() {
+ @SuppressWarnings("unchecked")
+ private void initialize() {
history.clear();
try {
// Get the persistence service

Back to the top