Compiler log for org.eclipse.equinox.simpleconfigurator_1.5.300.v20240424-1301 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 18, 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/equinox/internal/simpleconfigurator/ConfigApplier.java : 9 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/simpleconfigurator/ConfigApplier.java
 (at line 33)
import org.osgi.service.packageadmin.PackageAdmin;
The type PackageAdmin is deprecated
2. WARNING in /src/org/eclipse/equinox/internal/simpleconfigurator/ConfigApplier.java
 (at line 42)
private final PackageAdmin packageAdminService;
The type PackageAdmin is deprecated
3. WARNING in /src/org/eclipse/equinox/internal/simpleconfigurator/ConfigApplier.java
 (at line 66)
ServiceReference<PackageAdmin> packageAdminRef = manipulatingContext.getServiceReference(PackageAdmin.class);
The type PackageAdmin is deprecated
4. WARNING in /src/org/eclipse/equinox/internal/simpleconfigurator/ConfigApplier.java
 (at line 66)
ServiceReference<PackageAdmin> packageAdminRef = manipulatingContext.getServiceReference(PackageAdmin.class);
The type PackageAdmin is deprecated
5. WARNING in /src/org/eclipse/equinox/internal/simpleconfigurator/ConfigApplier.java
 (at line 373)
Bundle[] matchingBundles = packageAdminService.getBundles(current.getSymbolicName(), getVersionRange(current.getVersion()));
The method getBundles(String, String) from the type PackageAdmin is deprecated
6. WARNING in /src/org/eclipse/equinox/internal/simpleconfigurator/ConfigApplier.java
 (at line 415)
return SimpleConfiguratorUtils.readConfiguration(lastBundlesInfo.toURL(), baseLocation).toArray(new BundleInfo[1]);
The method toURL() from the type File is deprecated
7. WARNING in /src/org/eclipse/equinox/internal/simpleconfigurator/ConfigApplier.java
 (at line 438)
matches = packageAdminService.getBundles(symbolicName, getVersionRange(version));
The method getBundles(String, String) from the type PackageAdmin is deprecated
8. WARNING in /src/org/eclipse/equinox/internal/simpleconfigurator/ConfigApplier.java
 (at line 580)
private Collection<Bundle> uninstallBundles(BundleInfo[] finalList, PackageAdmin packageAdmin) {
The type PackageAdmin is deprecated
9. WARNING in /src/org/eclipse/equinox/internal/simpleconfigurator/ConfigApplier.java
 (at line 597)
Bundle[] toAdd = packageAdmin.getBundles(element.getSymbolicName(), getVersionRange(element.getVersion()));
The method getBundles(String, String) from the type PackageAdmin is deprecated

/src/org/eclipse/equinox/internal/simpleconfigurator/SimpleConfiguratorImpl.java : 6 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/simpleconfigurator/SimpleConfiguratorImpl.java
 (at line 124)
return userConfig.exists() ? userConfig.toURL() : null;
The method toURL() from the type File is deprecated
2. WARNING in /src/org/eclipse/equinox/internal/simpleconfigurator/SimpleConfiguratorImpl.java
 (at line 128)
return sharedConfig.exists() ? sharedConfig.toURL() : null;
The method toURL() from the type File is deprecated
3. WARNING in /src/org/eclipse/equinox/internal/simpleconfigurator/SimpleConfiguratorImpl.java
 (at line 131)
return userConfig.toURL();
The method toURL() from the type File is deprecated
4. WARNING in /src/org/eclipse/equinox/internal/simpleconfigurator/SimpleConfiguratorImpl.java
 (at line 134)
return sharedConfig.toURL();
The method toURL() from the type File is deprecated
5. WARNING in /src/org/eclipse/equinox/internal/simpleconfigurator/SimpleConfiguratorImpl.java
 (at line 140)
return userConfig.toURL();
The method toURL() from the type File is deprecated
6. WARNING in /src/org/eclipse/equinox/internal/simpleconfigurator/SimpleConfiguratorImpl.java
 (at line 143)
return sharedConfig.toURL();
The method toURL() from the type File is deprecated

/src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java
 (at line 86)
List<BundleInfo> list = readConfigurationFromFile(info.toURL(), info.getParentFile().toURI());
The method toURL() from the type File is deprecated
2. WARNING in /src/org/eclipse/equinox/internal/simpleconfigurator/utils/SimpleConfiguratorUtils.java
 (at line 98)
System.out.println("List of bundles to be loaded from " + info.toURL());
The method toURL() from the type File is deprecated

/src/org/eclipse/equinox/internal/simpleconfigurator/utils/Utils.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/simpleconfigurator/utils/Utils.java
 (at line 133)
return file.toURL();
The method toURL() from the type File 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