You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2010/11/05 15:31:39 UTC
svn commit: r1031584 -
/httpcomponents/maven-notice-plugin/trunk/src/main/java/org/apache/httpcomponents/maven/plugin/notice/NoticeMojo.java
Author: olegk
Date: Fri Nov 5 14:31:38 2010
New Revision: 1031584
URL: http://svn.apache.org/viewvc?rev=1031584&view=rev
Log:
TABS -> SPACES
Modified:
httpcomponents/maven-notice-plugin/trunk/src/main/java/org/apache/httpcomponents/maven/plugin/notice/NoticeMojo.java
Modified: httpcomponents/maven-notice-plugin/trunk/src/main/java/org/apache/httpcomponents/maven/plugin/notice/NoticeMojo.java
URL: http://svn.apache.org/viewvc/httpcomponents/maven-notice-plugin/trunk/src/main/java/org/apache/httpcomponents/maven/plugin/notice/NoticeMojo.java?rev=1031584&r1=1031583&r2=1031584&view=diff
==============================================================================
--- httpcomponents/maven-notice-plugin/trunk/src/main/java/org/apache/httpcomponents/maven/plugin/notice/NoticeMojo.java (original)
+++ httpcomponents/maven-notice-plugin/trunk/src/main/java/org/apache/httpcomponents/maven/plugin/notice/NoticeMojo.java Fri Nov 5 14:31:38 2010
@@ -53,7 +53,7 @@ import org.apache.maven.project.MavenPro
public final class NoticeMojo extends AbstractMojo {
private final static String UTF_8 = "UTF-8";
-
+
/**
* The Maven Project Object
*
@@ -107,10 +107,10 @@ public final class NoticeMojo extends Ab
FileUtils.copyURLToFile(uri.toURL(), out);
}
} catch (URISyntaxException ex) {
- throw new MojoFailureException("Invalid URI: " +
+ throw new MojoFailureException("Invalid URI: " +
ex.getMessage(), ex);
} catch (IOException ex) {
- throw new MojoFailureException("I/O error copying LICENSE file: " +
+ throw new MojoFailureException("I/O error copying LICENSE file: " +
ex.getMessage(), ex);
}
}
@@ -120,7 +120,7 @@ public final class NoticeMojo extends Ab
try {
rewriteNotice(file, out);
} catch (IOException ex) {
- throw new MojoFailureException("I/O error copying NOTICE file: " +
+ throw new MojoFailureException("I/O error copying NOTICE file: " +
ex.getMessage(), ex);
}
}
@@ -166,7 +166,7 @@ public final class NoticeMojo extends Ab
String toYear = Integer.toString(cal.get(Calendar.YEAR));
writer.write(toYear);
writer.write(" The Apache Software Foundation\r\n");
-
+
int count = 0;
String line;
while ((line = reader.readLine()) != null) {