diff options
author | Alexander Kurtakov | 2018-04-13 12:09:55 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2018-04-14 07:40:04 +0000 |
commit | 699653c8ebc3b0cb93e4b006698a1faed364dfdb (patch) | |
tree | 95afdb45cb6edfebdd628cd82bb15b0434834408 | |
parent | 624fe0d237e0e92c9ffdc3054ab74ad1325da881 (diff) | |
download | eclipse.platform.swt-699653c8ebc3b0cb93e4b006698a1faed364dfdb.tar.gz eclipse.platform.swt-699653c8ebc3b0cb93e4b006698a1faed364dfdb.tar.xz eclipse.platform.swt-699653c8ebc3b0cb93e4b006698a1faed364dfdb.zip |
Suppress deprecation warning.
In test of deprecated method.
Change-Id: I07be2e39a69b3e926cf496f7955104d30880bc38
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r-- | tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_FontMetrics.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_FontMetrics.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_FontMetrics.java index bce66fa980..375d181eb3 100644 --- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_FontMetrics.java +++ b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_FontMetrics.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2015 IBM Corporation and others. + * Copyright (c) 2000, 2018 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 @@ -62,6 +62,7 @@ public void test_getAverageCharacterWidth() { fm.getAverageCharacterWidth(); } +@SuppressWarnings("deprecation") @Test public void test_getAverageCharWidth() { FontMetrics fm = gc.getFontMetrics(); |