Compiler Report

Compiler: Eclipse Compiler for Java(TM) Version: 0.C58, 3.8.0

Number of source files: 53 Number of classfiles: 68

Problems: 7 (Errors: 0 Warnings: 7 )

Source File: org/eclipse/jst/validation/test/internal/registry/MessageUtility.java
1. WARNING: MethodVarargsArgumentNeedCast

The argument of type String[] should explicitly be cast to Object[] for the invocation of the varargs method format(String, Object...) from type MessageFormat. It could alternatively be cast to Object for a varargs invocation

MessageUtility.java :

45 : return MessageFormat.format(template, new String[]{mssgPrefix, resource, location, text});

Source File: org/eclipse/jst/validation/test/internal/util/BVTRunner.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable executionMap is not used

BVTRunner.java :

336 : int executionMap = 0x0;

2. WARNING: DeadCode

Dead code

BVTRunner.java :

615 : if((severity == null) && (prefixSeverity == null)) { severityEqual = true; }

3. WARNING: DeadCode

Dead code

BVTRunner.java :

621 : else if(prefixSeverity == null) { severityEqual = false; }

Source File: org/eclipse/jst/validation/test/setup/AImportOperation.java
1. WARNING: LocalVariableIsNeverUsed

The value of the local variable executionMap is not used

AImportOperation.java :

44 : int executionMap = 0x0;

Source File: org/eclipse/jst/validation/test/setup/TestCaseGeneratorOperation.java
1. WARNING: MethodVarargsArgumentNeedCast

The argument of type String[] should explicitly be cast to Object[] for the invocation of the varargs method format(String, Object...) from type MessageFormat. It could alternatively be cast to Object for a varargs invocation

TestCaseGeneratorOperation.java :

108 : messageBuffer.append(MessageFormat.format(_TESTCASE_MESSAGE_TEMPLATE_, new String[]{messageId, resource, location, text}));

2. WARNING: MethodVarargsArgumentNeedCast

The argument of type String[] should explicitly be cast to Object[] for the invocation of the varargs method format(String, Object...) from type MessageFormat. It could alternatively be cast to Object for a varargs invocation

TestCaseGeneratorOperation.java :

116 : String testcaseTemplate = MessageFormat.format(_TESTCASE_TEMPLATE_, new String[]{project.getName(), vmd.getValidatorUniqueName(), buffer.toString()});