Compiler Report

Compiler: Eclipse Compiler for Java(TM) Version: 0.A76_R36x, 3.6.2

Number of source files: 53 Number of classfiles: 68

Problems: 5 (Errors: 0 Warnings: 5 )

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: DeadCode

Dead code

BVTRunner.java :

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

2. WARNING: DeadCode

Dead code

BVTRunner.java :

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

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()});