Author: fbricon
Date: 2011-11-21 06:25:33 -0500 (Mon, 21 Nov 2011)
New Revision: 36475
Modified:
trunk/maven/plugins/org.jboss.tools.maven.project.examples/src/org/jboss/tools/maven/project/examples/wizard/ArchetypeExamplesWizardPage.java
Log:
Remove debug traces
Modified:
trunk/maven/plugins/org.jboss.tools.maven.project.examples/src/org/jboss/tools/maven/project/examples/wizard/ArchetypeExamplesWizardPage.java
===================================================================
---
trunk/maven/plugins/org.jboss.tools.maven.project.examples/src/org/jboss/tools/maven/project/examples/wizard/ArchetypeExamplesWizardPage.java 2011-11-21
11:20:58 UTC (rev 36474)
+++
trunk/maven/plugins/org.jboss.tools.maven.project.examples/src/org/jboss/tools/maven/project/examples/wizard/ArchetypeExamplesWizardPage.java 2011-11-21
11:25:33 UTC (rev 36475)
@@ -196,7 +196,7 @@
private Artifact downloadArchetype(String groupId, String artifactId,
String version, ArtifactRepository archetypeRepository,
List<ArtifactRepository> repositories) throws CoreException {
- long start = System.currentTimeMillis();
+ //long start = System.currentTimeMillis();
IMaven maven = MavenPlugin.getMaven();
ArrayList<ArtifactRepository> repos = new
ArrayList<ArtifactRepository>();
if (archetypeRepository != null) {
@@ -206,8 +206,8 @@
IProgressMonitor nullProgressMonitor = new NullProgressMonitor();
maven.resolve(groupId, artifactId, version, "pom", null, repos,
nullProgressMonitor); //$NON-NLS-1$
Artifact a = maven.resolve(groupId, artifactId, version, "jar", null,
repos, nullProgressMonitor); //$NON-NLS-1$
- long stop = System.currentTimeMillis();
- System.err.println("download took " + (stop-start) + " ms");
+ //long stop = System.currentTimeMillis();
+ //System.err.println("download took " + (stop-start) + " ms");
return a;
}
Show replies by date