Compiler log for org.eclipse.pde.core_3.18.100.v20240317-0750 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 28, INFOS: 0

errors others warnings infos forbidden warnings discouraged warnings

ERRORS

top others warnings infos forbidden warnings discouraged warnings

OTHER WARNINGS

top errors infos forbidden warnings discouraged warnings

/src/org/eclipse/pde/internal/core/JavadocLocationManager.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/core/JavadocLocationManager.java
 (at line 45)
return doc.toURL().toString();
The method toURL() from the type File is deprecated
2. WARNING in /src/org/eclipse/pde/internal/core/JavadocLocationManager.java
 (at line 48)
return "jar:" + file.toURL() + "!/doc"; //$NON-NLS-1$ //$NON-NLS-2$
The method toURL() from the type File is deprecated

/src/org/eclipse/pde/internal/core/P2Utils.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/core/P2Utils.java
 (at line 211)
dest[start++] = new File(info.getLocation()).toURL();
The method toURL() from the type File is deprecated
2. WARNING in /src/org/eclipse/pde/internal/core/P2Utils.java
 (at line 355)
return bundlesTxt.toURL();
The method toURL() from the type File is deprecated

/src/org/eclipse/pde/internal/core/SourceLocationManager.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/core/SourceLocationManager.java
 (at line 116)
URI encodedUri = URIUtil.toURI(result.toFile().toURL());
The method toURL() from the type File is deprecated
2. WARNING in /src/org/eclipse/pde/internal/core/SourceLocationManager.java
 (at line 127)
return result.toFile().toURL();
The method toURL() from the type File is deprecated

/src/org/eclipse/pde/internal/core/WorkspacePluginModelManager.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/core/WorkspacePluginModelManager.java
 (at line 501)
list.add(path.toFile().toURL());
The method toURL() from the type File is deprecated

/src/org/eclipse/pde/internal/core/content/DefaultDocumentFactory.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/core/content/DefaultDocumentFactory.java
 (at line 17)
import org.eclipse.core.filebuffers.IDocumentFactory;
The type IDocumentFactory is deprecated
2. WARNING in /src/org/eclipse/pde/internal/core/content/DefaultDocumentFactory.java
 (at line 21)
public class DefaultDocumentFactory implements IDocumentFactory {
The type IDocumentFactory is deprecated

/src/org/eclipse/pde/internal/core/exports/FeatureExportOperation.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/core/exports/FeatureExportOperation.java
 (at line 623)
destination = new File(fBuildTempMetadataLocation).toURL().toString();
The method toURL() from the type File is deprecated
2. WARNING in /src/org/eclipse/pde/internal/core/exports/FeatureExportOperation.java
 (at line 627)
destination = new File(fInfo.destinationDirectory).toURL().toString();
The method toURL() from the type File is deprecated

/src/org/eclipse/pde/internal/core/exports/ProductExportOperation.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/core/exports/ProductExportOperation.java
 (at line 418)
map.put(IBuildPropertiesConstants.PROPERTY_P2_BUILD_REPO, new File(fBuildTempMetadataLocation).toURL().toString());
The method toURL() from the type File is deprecated
2. WARNING in /src/org/eclipse/pde/internal/core/exports/ProductExportOperation.java
 (at line 419)
map.put(IBuildPropertiesConstants.PROPERTY_P2_METADATA_REPO, new File(fInfo.destinationDirectory + "/repository").toURL().toString()); //$NON-NLS-1$
The method toURL() from the type File is deprecated
3. WARNING in /src/org/eclipse/pde/internal/core/exports/ProductExportOperation.java
 (at line 420)
map.put(IBuildPropertiesConstants.PROPERTY_P2_ARTIFACT_REPO, new File(fInfo.destinationDirectory + "/repository").toURL().toString()); //$NON-NLS-1$
The method toURL() from the type File is deprecated

/src/org/eclipse/pde/internal/core/exports/SiteBuildOperation.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/core/exports/SiteBuildOperation.java
 (at line 213)
String destination = new File(fBuildTempMetadataLocation).toURL().toString();
The method toURL() from the type File is deprecated

/src/org/eclipse/pde/internal/core/project/BundleProjectDescription.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/core/project/BundleProjectDescription.java
 (at line 227)
elements = parseHeader(headers, Constants.BUNDLE_REQUIREDEXECUTIONENVIRONMENT);
The field Constants.BUNDLE_REQUIREDEXECUTIONENVIRONMENT is deprecated

/src/org/eclipse/pde/internal/core/project/ProjectModifyOperation.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/core/project/ProjectModifyOperation.java
 (at line 585)
bundle.setHeader(Constants.BUNDLE_REQUIREDEXECUTIONENVIRONMENT, null); // remove
The field Constants.BUNDLE_REQUIREDEXECUTIONENVIRONMENT is deprecated
2. WARNING in /src/org/eclipse/pde/internal/core/project/ProjectModifyOperation.java
 (at line 594)
bundle.setHeader(Constants.BUNDLE_REQUIREDEXECUTIONENVIRONMENT, buffer.toString());
The field Constants.BUNDLE_REQUIREDEXECUTIONENVIRONMENT is deprecated

/src/org/eclipse/pde/internal/core/schema/IncludedSchemaDescriptor.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/core/schema/IncludedSchemaDescriptor.java
 (at line 102)
url = schemaFile.toURL();
The method toURL() from the type File is deprecated
2. WARNING in /src/org/eclipse/pde/internal/core/schema/IncludedSchemaDescriptor.java
 (at line 131)
url = schemaFile.toURL();
The method toURL() from the type File is deprecated

/src/org/eclipse/pde/internal/core/schema/SchemaDescriptor.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/core/schema/SchemaDescriptor.java
 (at line 65)
fSchemaURL = file.toURL();
The method toURL() from the type File is deprecated

/src/org/eclipse/pde/internal/core/target/ExportTargetJob.java : 4 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/core/target/ExportTargetJob.java
 (at line 238)
@SuppressWarnings("restriction")
Unnecessary @SuppressWarnings("restriction")
2. WARNING in /src/org/eclipse/pde/internal/core/target/ExportTargetJob.java
 (at line 251)
@SuppressWarnings("restriction")
Unnecessary @SuppressWarnings("restriction")
3. WARNING in /src/org/eclipse/pde/internal/core/target/ExportTargetJob.java
 (at line 253)
@SuppressWarnings("restriction")
Unnecessary @SuppressWarnings("restriction")
4. WARNING in /src/org/eclipse/pde/internal/core/target/ExportTargetJob.java
 (at line 256)
@SuppressWarnings("restriction")
Unnecessary @SuppressWarnings("restriction")

/src/org/eclipse/pde/internal/core/update/configurator/Utils.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/pde/internal/core/update/configurator/Utils.java
 (at line 170)
return absolutePath.toFile().toURL();
The method toURL() from the type File is deprecated
2. WARNING in /src/org/eclipse/pde/internal/core/update/configurator/Utils.java
 (at line 195)
return new File(path).toURL().toExternalForm();
The method toURL() from the type File is deprecated

/text/org/eclipse/pde/internal/core/text/bundle/BundleModelFactory.java : 1 warning :

OTHER WARNINGS
1. WARNING in /text/org/eclipse/pde/internal/core/text/bundle/BundleModelFactory.java
 (at line 55)
} else if (key.equalsIgnoreCase(Constants.BUNDLE_REQUIREDEXECUTIONENVIRONMENT)) {
The field Constants.BUNDLE_REQUIREDEXECUTIONENVIRONMENT is deprecated

INFO WARNINGS

errors others warnings forbidden warnings discouraged warnings

FORBIDDEN ACCESS WARNINGS

top errors infos others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors infos others warnings forbidden warnings