Author: ruschein
Date: 2011-03-11 15:51:05 -0800 (Fri, 11 Mar 2011)
New Revision: 24417

Modified:
   
core3/profiler-mojo/trunk/src/main/java/org/cytoscape/mavenplugins/ProfilerMojo.java
Log:
First possibly functioning version.

Modified: 
core3/profiler-mojo/trunk/src/main/java/org/cytoscape/mavenplugins/ProfilerMojo.java
===================================================================
--- 
core3/profiler-mojo/trunk/src/main/java/org/cytoscape/mavenplugins/ProfilerMojo.java
        2011-03-11 23:46:39 UTC (rev 24416)
+++ 
core3/profiler-mojo/trunk/src/main/java/org/cytoscape/mavenplugins/ProfilerMojo.java
        2011-03-11 23:51:05 UTC (rev 24417)
@@ -724,11 +724,11 @@
                                : (currentNameAndTime.getExecutionTime() - 
baselineNameAndTime.getExecutionTime())
                                  / baselineNameAndTime.getExecutionTime());
                        if (percentageDifference > 
maxPerformanceDecreasePercentage) {
-                               
getLog().error("currentNameAndTime.getClassAndMethodName() is " + 
percentageDifference
+                               
getLog().error(currentNameAndTime.getClassAndMethodName() + " is " + 
percentageDifference
                                               + "% slower than the baseline 
version!");
                                failed = true;
                        } else if (percentageDifference > 0.0)
-                               
getLog().info("currentNameAndTime.getClassAndMethodName() is " + 
percentageDifference
+                               
getLog().info(currentNameAndTime.getClassAndMethodName() + " is " + 
percentageDifference
                                               + "% slower than the baseline 
version.");
                }
 
@@ -872,7 +872,6 @@
                } catch (final ArtifactNotFoundException anfe) {
                        throw new MojoExecutionException("Failed to find an 
artifact!", anfe);
                }
-               getLog().info("+++ ProfilerMojo: resolved " + artifact);
        }
 
        protected boolean verifyParameters() throws MojoFailureException {

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to