diff options
author | jay | 2018-11-13 09:25:51 +0000 |
---|---|---|
committer | jay | 2018-11-13 09:26:52 +0000 |
commit | 1a4189910ef18be935bd1b1663a6bf12bfaa2b75 (patch) | |
tree | 97c694062865a5bdaab42b37bc6a531a864f92c2 /org.eclipse.jdt.compiler.tool.tests | |
parent | 8e07adc33a188e18e495d33021672ea64fc0668e (diff) | |
download | eclipse.jdt.core-1a4189910ef18be935bd1b1663a6bf12bfaa2b75.tar.gz eclipse.jdt.core-1a4189910ef18be935bd1b1663a6bf12bfaa2b75.tar.xz eclipse.jdt.core-1a4189910ef18be935bd1b1663a6bf12bfaa2b75.zip |
Fix warnings in official build
These were introduced by commit cecd785d6c8bf4a0ee586b3d786515e7a58e0e4f
Change-Id: I526840a2446243a28047b4f7372d8c74055f38e2
Signed-off-by: jay <jarthana@in.ibm.com>
Diffstat (limited to 'org.eclipse.jdt.compiler.tool.tests')
-rw-r--r-- | org.eclipse.jdt.compiler.tool.tests/src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/org.eclipse.jdt.compiler.tool.tests/src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java b/org.eclipse.jdt.compiler.tool.tests/src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java index dcb6b28d55..83133f16e0 100644 --- a/org.eclipse.jdt.compiler.tool.tests/src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java +++ b/org.eclipse.jdt.compiler.tool.tests/src/org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2017 IBM Corporation and others. + * Copyright (c) 2017, 2018 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -725,10 +725,6 @@ public class CompilerToolJava9Tests extends TestCase { super.report(diagnostic); } - public int getErrorCount() { - return errorList.size(); - } - public boolean hasDiagnostic(String match) { for(Diagnostic<? extends JavaFileObject> d: errorList) { String msg = d.getMessage(Locale.US).toLowerCase(); |