maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1067537 - /maven/scm/trunk/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/command/blame/HgBlameConsumer.java
Date Sat, 05 Feb 2011 22:09:15 GMT
Author: olamy
Date: Sat Feb  5 22:09:15 2011
New Revision: 1067537

URL: http://svn.apache.org/viewvc?rev=1067537&view=rev
Log:
fix codestyle

Modified:
    maven/scm/trunk/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/command/blame/HgBlameConsumer.java

Modified: maven/scm/trunk/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/command/blame/HgBlameConsumer.java
URL: http://svn.apache.org/viewvc/maven/scm/trunk/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/command/blame/HgBlameConsumer.java?rev=1067537&r1=1067536&r2=1067537&view=diff
==============================================================================
--- maven/scm/trunk/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/command/blame/HgBlameConsumer.java
(original)
+++ maven/scm/trunk/maven-scm-providers/maven-scm-provider-hg/src/main/java/org/apache/maven/scm/provider/hg/command/blame/HgBlameConsumer.java
Sat Feb  5 22:09:15 2011
@@ -52,11 +52,9 @@ public class HgBlameConsumer
         String annotation;
         if(trimmedLine.indexOf(": ") > -1)
         {
-         annotation = trimmedLine.substring(0, trimmedLine.indexOf(": ")).trim();
-        }
-        else
-        {
-          annotation = trimmedLine.substring(0, trimmedLine.lastIndexOf(":")).trim();
+            annotation = trimmedLine.substring(0, trimmedLine.indexOf(": ")).trim();
+        } else {
+            annotation = trimmedLine.substring(0, trimmedLine.lastIndexOf(":")).trim();
         }
 
         String author = annotation.substring( 0, annotation.indexOf( ' ' ) );



Mime
View raw message