commit | 4e6cc07f6b22c0e6caa1d6074bc6fbbd2c9fec28 | [log] [tgz] |
---|---|---|
author | Andrey Loskutov <loskutov@gmx.de> | Thu Jul 14 09:52:19 2016 +0200 |
committer | Andrey Loskutov <loskutov@gmx.de> | Fri Jul 15 12:51:51 2016 -0400 |
tree | de0490fea42d6d5be616f54a19218ca9ddadb862 | |
parent | 9e97100daf89d25b6b25e2077a81a1a0ed94fffb [diff] |
Bug 495567 - fixed "Unnecessary @SuppressWarnings("hiding")" in tests Change-Id: I42dc0662d8544285abe3e6f55b5c0dbfb630cd84 Signed-off-by: Andrey Loskutov <loskutov@gmx.de> (cherry picked from commit 4890aabdea8f36d586ad0532de39b21ee63842db)
diff --git a/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/propertysheet/AdaptingSaveableView.java b/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/propertysheet/AdaptingSaveableView.java index 52ac97f..193c131 100644 --- a/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/propertysheet/AdaptingSaveableView.java +++ b/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/propertysheet/AdaptingSaveableView.java
@@ -26,8 +26,7 @@ */ public class AdaptingSaveableView extends MockViewPart implements ISaveablePart { - @SuppressWarnings("hiding") - public static final String ID = AdaptingSaveableView.class.getName(); + public static final String ID_ADAPTING_SAVEABLE = AdaptingSaveableView.class.getName(); private Map<Object, Object> adaptersMap;
diff --git a/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/propertysheet/DirtyStatePropertySheetTest.java b/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/propertysheet/DirtyStatePropertySheetTest.java index 608aab3..b309482 100644 --- a/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/propertysheet/DirtyStatePropertySheetTest.java +++ b/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/propertysheet/DirtyStatePropertySheetTest.java
@@ -76,7 +76,7 @@ }; adapterFactory = new MockAdapterFactory(); propertySheet = (PropertySheet) activePage.showView(IPageLayout.ID_PROP_SHEET); - saveableView = (AdaptingSaveableView) activePage.showView(AdaptingSaveableView.ID); + saveableView = (AdaptingSaveableView) activePage.showView(AdaptingSaveableView.ID_ADAPTING_SAVEABLE); // some basic checks assertEquals(activePage.getActivePart(), saveableView);