diff options
author | Alexander Kurtakov | 2017-09-10 07:45:18 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2017-09-10 07:45:18 +0000 |
commit | 7e9b9c916ed778b044e9b4dde20e5dc94db37956 (patch) | |
tree | 836de86cad27622a803ac563c9dec9848a30311e /org.eclipse.ua.tests | |
parent | ce8888e5faa2bd53fc1219b76e178bd436bd1b65 (diff) | |
download | eclipse.platform.ua-7e9b9c916ed778b044e9b4dde20e5dc94db37956.tar.gz eclipse.platform.ua-7e9b9c916ed778b044e9b4dde20e5dc94db37956.tar.xz eclipse.platform.ua-7e9b9c916ed778b044e9b4dde20e5dc94db37956.zip |
Bug 522095 - Fix info warnings in platform.uaI20170910-2000I20170910-1055I20170910-0800
* Use Class.cast instead of cast operator.
* Silence unlikely-arg-type warning in tests.
Change-Id: Icf3798bc9534a2bd376d91891a00cb5848c4017f
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'org.eclipse.ua.tests')
-rw-r--r-- | org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/other/UAElementTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/other/UAElementTest.java b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/other/UAElementTest.java index c4e798adc..82d507cd5 100644 --- a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/other/UAElementTest.java +++ b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/other/UAElementTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2016 IBM Corporation and others. + * Copyright (c) 2007, 2017 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -31,6 +31,7 @@ public class UAElementTest { private UAElement child4; private UAElement grandchild1; + @SuppressWarnings("unlikely-arg-type") @Test public void testSimpleUAElement() { UAElement element = new UAElement("name1"); |