Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSarika Sinha2019-06-23 23:11:25 -0400
committerSarika Sinha2019-06-23 23:11:25 -0400
commit7bc5d7334f889b1aaea53377dede6053e6777df8 (patch)
tree3f768bf39361de7951b6cf19f6d5ec177f1119eb
parent4f57a1774a9729e3e16c4fe77238af29dc07f252 (diff)
downloadeclipse.platform.debug-7bc5d7334f889b1aaea53377dede6053e6777df8.tar.gz
eclipse.platform.debug-7bc5d7334f889b1aaea53377dede6053e6777df8.tar.xz
eclipse.platform.debug-7bc5d7334f889b1aaea53377dede6053e6777df8.zip
Bug 548557 - Warnings in I20190621-1800 for debug.uiI20190624-1800
Change-Id: Ifcada89b06f9c8a8ed16f8754a9dc347c476b052 Signed-off-by: Sarika Sinha <sarika.sinha@in.ibm.com>
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/TextGetSetEditingSupport.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/TextGetSetEditingSupport.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/TextGetSetEditingSupport.java
index ed8c04ec4..41139ea7a 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/TextGetSetEditingSupport.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/TextGetSetEditingSupport.java
@@ -10,6 +10,7 @@
*
* Contributors:
* Red Hat - Bug 548344
+ * IBM Corporation - Bug 548557 - Warnings in I20190621-1800 for debug.ui
// *******************************************************************************/
package org.eclipse.debug.internal.ui;
@@ -47,11 +48,13 @@ public class TextGetSetEditingSupport<T> extends EditingSupport {
return true;
}
+ @SuppressWarnings("unchecked")
@Override
protected Object getValue(Object element) {
return getter.apply((T) element);
}
+ @SuppressWarnings("unchecked")
@Override
protected void setValue(Object element, Object value) {
setter.accept((T) element, (String) value);

Back to the top