Bug 495567 - fixed "Unnecessary @SuppressWarnings("hiding")" in tests

Change-Id: I42dc0662d8544285abe3e6f55b5c0dbfb630cd84
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
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);