Compiler Report

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

Number of source files: 11 Number of classfiles: 18

Problems: 13 (Errors: 0 Warnings: 13 )

Source File: org/eclipse/wtp/layout/tests/TestRepo.java
1. WARNING: DiscouragedReference

Discouraged access: The type ServiceHelper is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.equinox.p2.core_2.0.3.R36x_v20110111.jar

TestRepo.java :

33 : import org.eclipse.equinox.internal.p2.core.helpers.ServiceHelper;

2. WARNING: DiscouragedReference

Discouraged access: The type License is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.equinox.p2.metadata_2.0.1.R36x_v20101202.jar

TestRepo.java :

34 : import org.eclipse.equinox.internal.p2.metadata.License;

3. WARNING: DiscouragedReference

Discouraged access: The constructor License(URI, String, String) is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.equinox.p2.metadata_2.0.1.R36x_v20101202.jar

TestRepo.java :

108 : ILicense standardLicense = new License(null, body, null);

4. WARNING: DiscouragedReference

Discouraged access: The type License is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.equinox.p2.metadata_2.0.1.R36x_v20101202.jar

TestRepo.java :

108 : ILicense standardLicense = new License(null, body, null);

5. WARNING: LocalVariableIsNeverUsed

The local variable isFragment is never read

TestRepo.java :

224 : boolean isFragment = "true".equals(iu.getProperty("org.eclipse.equinox.p2.type.fragment"));

6. WARNING: LocalVariableIsNeverUsed

The local variable isFragment is never read

TestRepo.java :

421 : boolean isFragment = "true".equals(iu.getProperty("org.eclipse.equinox.p2.type.fragment"));

7. WARNING: DiscouragedReference

Discouraged access: The type ServiceHelper is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.equinox.p2.core_2.0.3.R36x_v20110111.jar

TestRepo.java :

482 : return (IProvisioningAgent) ServiceHelper.getService(TestActivator.getContext(), IProvisioningAgent.SERVICE_NAME);

8. WARNING: DiscouragedReference

Discouraged access: The method getService(BundleContext, String) from the type ServiceHelper is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.equinox.p2.core_2.0.3.R36x_v20110111.jar

TestRepo.java :

482 : return (IProvisioningAgent) ServiceHelper.getService(TestActivator.getContext(), IProvisioningAgent.SERVICE_NAME);

Source File: org/eclipse/wtp/releng/tests/ComparatorLog.java
1. WARNING: UnusedPrivateField

The field ComparatorLog.PATH_SEPERATOR is never read locally

ComparatorLog.java :

51 : private static String PATH_SEPERATOR = System.getProperty(PATH_SEPARATOR_PROPERTY_NAME);

2. WARNING: UnusedPrivateField

The field ComparatorLog.defaultComparatorLogFile is never read locally

ComparatorLog.java :

67 : private String defaultComparatorLogFile = "D:\\builds\\workspaces\\workspaceWTPHead\\org.eclipse.wtp.releng.tests\\comparator.log";

Source File: org/eclipse/wtp/releng/tests/TestActivator.java
1. WARNING: DiscouragedReference

Discouraged access: The type ServiceHelper is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.equinox.p2.core_2.0.3.R36x_v20110111.jar

TestActivator.java :

17 : import org.eclipse.equinox.internal.p2.core.helpers.ServiceHelper;

2. WARNING: DiscouragedReference

Discouraged access: The type ServiceHelper is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.equinox.p2.core_2.0.3.R36x_v20110111.jar

TestActivator.java :

37 : FrameworkLog log = (FrameworkLog) ServiceHelper.getService(context, FrameworkLog.class.getName());

3. WARNING: DiscouragedReference

Discouraged access: The method getService(BundleContext, String) from the type ServiceHelper is not accessible due to restriction on classpath entry /opt/public/webtools/projects/wtp-R3.2.3-M/eclipse/plugins/org.eclipse.equinox.p2.core_2.0.3.R36x_v20110111.jar

TestActivator.java :

37 : FrameworkLog log = (FrameworkLog) ServiceHelper.getService(context, FrameworkLog.class.getName());