Skip to content

Fix "Unnecessary cast" warnings

Jenkins - eclipse-pde / Compiler and API Tools succeeded Jun 24, 2024 in 0s

No new issues, 332 total

Total New Outstanding Fixed Trend
332 0 332 2 👍

Reference build: eclipse.pde » master #681

Details

Severity distribution of all issues

Error Warning High Warning Normal Warning Low
0 0 169 163

Annotations

Check warning on line 365 in apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/APIFileGenerator.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Deprecation

NORMAL:
The field Constants.BUNDLE_REQUIREDEXECUTIONENVIRONMENT is deprecated

Check warning on line 51 in apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/BundleVersionRange.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Deprecation

NORMAL:
The method getMaximum() from the type VersionRange is deprecated

Check warning on line 124 in apitools/org.eclipse.pde.api.tools/src/org/eclipse/pde/api/tools/internal/builder/ApiAnalysisBuilder.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Deprecation

NORMAL:
The field Constants.BUNDLE_REQUIREDEXECUTIONENVIRONMENT is deprecated

Check warning on line 192 in build/org.eclipse.pde.build/src_ant/org/eclipse/pde/internal/build/tasks/BuildManifestTask.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Deprecation

NORMAL:
The method toURL() from the type File is deprecated

Check warning on line 256 in build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/AbstractScriptGenerator.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Unnecessary Code

LOW:
At least one of the problems in category 'resource' is not analysed due to a compiler option being ignored

Check warning on line 493 in build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/FetchScriptGenerator.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Deprecation

NORMAL:
The method toURL() from the type File is deprecated

Check warning on line 559 in build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/FetchScriptGenerator.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Deprecation

NORMAL:
The method toURL() from the type File is deprecated

Check warning on line 164 in build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Deprecation

NORMAL:
The method getMaximum() from the type VersionRange is deprecated

Check warning on line 268 in build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/Utils.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Deprecation

NORMAL:
The method toURL() from the type File is deprecated

Check warning on line 81 in build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/site/P2Utils.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Deprecation

NORMAL:
The method toURL() from the type File is deprecated

Check warning on line 443 in build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/site/PDEState.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Deprecation

NORMAL:
The field Constants.FRAMEWORK_EXECUTIONENVIRONMENT is deprecated

Check warning on line 450 in build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/site/PDEState.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Deprecation

NORMAL:
The field Constants.FRAMEWORK_EXECUTIONENVIRONMENT is deprecated

Check warning on line 473 in build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/site/PDEState.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Deprecation

NORMAL:
The field Constants.FRAMEWORK_EXECUTIONENVIRONMENT is deprecated

Check warning on line 58 in build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/site/ReachablePlugin.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Deprecation

NORMAL:
The method getMaximum() from the type VersionRange is deprecated

Check warning on line 58 in build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/site/ReachablePlugin.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Deprecation

NORMAL:
The method getMaximum() from the type VersionRange is deprecated

Check warning on line 67 in build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/site/ReachablePlugin.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Deprecation

NORMAL:
The method getMaximum() from the type VersionRange is deprecated

Check warning on line 113 in build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/site/ReachablePlugin.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Deprecation

NORMAL:
The method getMaximum() from the type VersionRange is deprecated

Check warning on line 113 in build/org.eclipse.pde.build/src/org/eclipse/pde/internal/build/site/ReachablePlugin.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Deprecation

NORMAL:
The method getMaximum() from the type VersionRange is deprecated

Check warning on line 174 in e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/common/Util.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Unnecessary Code

LOW:
At least one of the problems in category 'unchecked' is not analysed due to a compiler option being ignored

Check warning on line 494 in e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/common/component/AbstractComponentEditor.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Unnecessary Code

LOW:
At least one of the problems in category 'unchecked' is not analysed due to a compiler option being ignored

Check warning on line 496 in e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/common/component/AbstractComponentEditor.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Unnecessary Code

LOW:
At least one of the problems in category 'unchecked' is not analysed due to a compiler option being ignored

Check warning on line 87 in e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/E4Properties.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Unnecessary Code

LOW:
At least one of the problems in category 'unchecked' is not analysed due to a compiler option being ignored

Check warning on line 92 in e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/E4Properties.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Unnecessary Code

LOW:
At least one of the problems in category 'unchecked' is not analysed due to a compiler option being ignored

Check warning on line 97 in e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/E4Properties.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Unnecessary Code

LOW:
At least one of the problems in category 'unchecked' is not analysed due to a compiler option being ignored

Check warning on line 102 in e4tools/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/E4Properties.java

See this annotation in the file changed.

@jenkins-eclipse-pde jenkins-eclipse-pde / Compiler and API Tools

Unnecessary Code

LOW:
At least one of the problems in category 'unchecked' is not analysed due to a compiler option being ignored