Compiler Report

Compiler: Eclipse Compiler for Java(TM) Version: 0.A58, 3.6.0

Number of source files: 10 Number of classfiles: 17

Problems: 15 (Errors: 0 Warnings: 15 )

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/patches-R3.2.2-P/eclipse/plugins/org.eclipse.equinox.p2.core_2.0.2.R36x_v20100804.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/patches-R3.2.2-P/eclipse/plugins/org.eclipse.equinox.p2.metadata_2.0.0.v20100601.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/patches-R3.2.2-P/eclipse/plugins/org.eclipse.equinox.p2.metadata_2.0.0.v20100601.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/patches-R3.2.2-P/eclipse/plugins/org.eclipse.equinox.p2.metadata_2.0.0.v20100601.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/patches-R3.2.2-P/eclipse/plugins/org.eclipse.equinox.p2.core_2.0.2.R36x_v20100804.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/patches-R3.2.2-P/eclipse/plugins/org.eclipse.equinox.p2.core_2.0.2.R36x_v20100804.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 :

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

2. WARNING: UnusedPrivateField

The field ComparatorLog.defaultComparatorLogFile is never read locally

ComparatorLog.java :

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

3. WARNING: UnusedPrivateMethod

The method getSummary() from the type ComparatorLog is never used locally

ComparatorLog.java :

232 : private String getSummary() {

4. WARNING: UnusedPrivateMethod

The method setSummary(String) from the type ComparatorLog is never used locally

ComparatorLog.java :

374 : private void setSummary(String summary) {

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/patches-R3.2.2-P/eclipse/plugins/org.eclipse.equinox.p2.core_2.0.2.R36x_v20100804.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/patches-R3.2.2-P/eclipse/plugins/org.eclipse.equinox.p2.core_2.0.2.R36x_v20100804.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/patches-R3.2.2-P/eclipse/plugins/org.eclipse.equinox.p2.core_2.0.2.R36x_v20100804.jar

TestActivator.java :

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