diff options
author | Martin Fluegge | 2010-12-22 12:33:45 +0000 |
---|---|---|
committer | Martin Fluegge | 2010-12-22 12:33:45 +0000 |
commit | f5f969ce0b4c158aee51b24db45ef84723faffa5 (patch) | |
tree | 83a3694af63ba2c7bfd6aa1e46059abb41543e92 /plugins/org.eclipse.emf.cdo.dawn.codegen | |
parent | 8e51b83543616ac83a586df027524bdf4b3ac4ed (diff) | |
download | cdo-f5f969ce0b4c158aee51b24db45ef84723faffa5.tar.gz cdo-f5f969ce0b4c158aee51b24db45ef84723faffa5.tar.xz cdo-f5f969ce0b4c158aee51b24db45ef84723faffa5.zip |
removed System.out statements and cleaned up
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn.codegen')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.dawn.codegen/src/org/eclipse/emf/cdo/dawn/codegen/util/ProjectCreationHelper.java | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen/src/org/eclipse/emf/cdo/dawn/codegen/util/ProjectCreationHelper.java b/plugins/org.eclipse.emf.cdo.dawn.codegen/src/org/eclipse/emf/cdo/dawn/codegen/util/ProjectCreationHelper.java index fdc6bb081d..90a78b586f 100644 --- a/plugins/org.eclipse.emf.cdo.dawn.codegen/src/org/eclipse/emf/cdo/dawn/codegen/util/ProjectCreationHelper.java +++ b/plugins/org.eclipse.emf.cdo.dawn.codegen/src/org/eclipse/emf/cdo/dawn/codegen/util/ProjectCreationHelper.java @@ -58,19 +58,7 @@ public class ProjectCreationHelper public IProject createProject() throws CoreException { IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(name); - // List<IClasspathEntry> classpathEntries = new ArrayList<IClasspathEntry>(); - - // if (project.exists()) - // { - // try - // { - // project.delete(true, null); - // } - // catch (Exception e) - // { - // System.out.println("Project could not be deleted!!!"); - // } - // } + if (!project.exists()) { project.create(null); @@ -175,10 +163,7 @@ public class ProjectCreationHelper newEntries.add(classpathEntry); } } - // IClasspathEntry[] newEntries = new IClasspathEntry[oldEntries.length + 1]; - // System.arraycopy(oldEntries, 0, newEntries, 0, oldEntries.length); - // newEntries[oldEntries.length] = newEntry; IClasspathEntry[] newEntriesArray = new IClasspathEntry[newEntries.size()]; javaProject.setRawClasspath(newEntries.toArray(newEntriesArray), null); } |