From 1a4189910ef18be935bd1b1663a6bf12bfaa2b75 Mon Sep 17 00:00:00 2001 From: jay Date: Tue, 13 Nov 2018 14:55:51 +0530 Subject: Fix warnings in official build These were introduced by commit cecd785d6c8bf4a0ee586b3d786515e7a58e0e4f Change-Id: I526840a2446243a28047b4f7372d8c74055f38e2 Signed-off-by: jay --- .../org/eclipse/jdt/compiler/tool/tests/CompilerToolJava9Tests.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'org.eclipse.jdt.compiler.tool.tests') 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 d: errorList) { String msg = d.getMessage(Locale.US).toLowerCase(); -- cgit v1.2.3