Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gvozdev2011-03-11 18:37:05 -0500
committerAndrew Gvozdev2011-03-11 18:37:05 -0500
commit3cebf36b79b6fe20fc31a6be4b967a66f02ed27d (patch)
treee089839c8e8b2525e6db699ebf7cd67e1daee7b8
parent0699858e87bbf403c7a745f63356eb74fa8619d4 (diff)
downloadorg.eclipse.cdt-3cebf36b79b6fe20fc31a6be4b967a66f02ed27d.tar.gz
org.eclipse.cdt-3cebf36b79b6fe20fc31a6be4b967a66f02ed27d.tar.xz
org.eclipse.cdt-3cebf36b79b6fe20fc31a6be4b967a66f02ed27d.zip
compilation warnings
-rw-r--r--build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuilder/core/tests/MultiVersionSupportTests.java13
1 files changed, 6 insertions, 7 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuilder/core/tests/MultiVersionSupportTests.java b/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuilder/core/tests/MultiVersionSupportTests.java
index 2d5f12ef14..da385680af 100644
--- a/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuilder/core/tests/MultiVersionSupportTests.java
+++ b/build/org.eclipse.cdt.managedbuilder.core.tests/tests/org/eclipse/cdt/managedbuilder/core/tests/MultiVersionSupportTests.java
@@ -46,7 +46,7 @@ import org.eclipse.core.resources.IWorkspaceDescription;
import org.eclipse.core.resources.IWorkspaceRoot;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.ui.dialogs.IOverwriteQuery;
@@ -58,7 +58,6 @@ public class MultiVersionSupportTests extends TestCase {
IConfiguration[] cfgs = null;
private IWorkspace worksp;
- private boolean windows;
public MultiVersionSupportTests() { super(); }
public MultiVersionSupportTests(String name) { super(name); }
@@ -107,7 +106,7 @@ public class MultiVersionSupportTests extends TestCase {
assertEquals(hasConverters, true);
// Get the list of available converters for ths tool chain using generic convenience routine
- Map converters = ManagedBuildManager.getConversionElements(toolChain);
+ Map<String, IConfigurationElement> converters = ManagedBuildManager.getConversionElements(toolChain);
// Expected value for the number of converters available is '1'
assertEquals(converters.size(), 1);
@@ -336,7 +335,7 @@ public class MultiVersionSupportTests extends TestCase {
fail("Cannot create project: " + e.getLocalizedMessage()); //$NON-NLS-1$
}
// Call this function just to avoid init problems in getProjectType();
- IProjectType[] projTypes = ManagedBuildManager.getDefinedProjectTypes();
+ ManagedBuildManager.getDefinedProjectTypes();
IProjectType projType = ManagedBuildManager.getProjectType(projectTypeId);
assertNotNull(projType);
try {
@@ -492,7 +491,7 @@ public class MultiVersionSupportTests extends TestCase {
}
});
- ArrayList projectList = new ArrayList(projectZips.length);
+ ArrayList<IProject> projectList = new ArrayList<IProject>(projectZips.length);
assertEquals(projectZips.length, 1);
try {
@@ -508,9 +507,9 @@ public class MultiVersionSupportTests extends TestCase {
fail("No projects found in test 'toolChainConversionProjects' project directory " //$NON-NLS-1$
+ file.getName()
+ ". The .zip file may be missing or corrupt."); //$NON-NLS-1$
- IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
+ // IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
// Path path = (Path) root.getLocation();
- IPath location = new Path( root.getLocation().toString() );
+ // IPath location = new Path( root.getLocation().toString() );
project = ManagedBuildTestHelper.createProject(
projectName, projectZips[0], null, null);
if (project != null)

Back to the top