creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1548432 - in /creadur/rat/branches/gsoc/apache-rat-core/src: main/java/org/apache/rat/analysis/generation/ test/java/org/apache/rat/analysis/generation/ test/java/org/apache/rat/test/utils/
Date Fri, 06 Dec 2013 08:43:01 GMT
Author: rdonkin
Date: Fri Dec  6 08:43:01 2013
New Revision: 1548432

URL: http://svn.apache.org/r1548432
Log:
Change Format Code.

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequired.java
    creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/generation/JavaDocLicenseNotRequiredTest.java
    creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/test/utils/Resources.java

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequired.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequired.java?rev=1548432&r1=1548431&r2=1548432&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequired.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/analysis/generation/GeneratedLicenseNotRequired.java
Fri Dec  6 08:43:01 2013
@@ -24,9 +24,10 @@ import org.apache.rat.analysis.IHeaderMa
 import org.apache.rat.analysis.RatHeaderAnalysisException;
 import org.apache.rat.api.Document;
 import org.apache.rat.api.MetaData;
+
 /**
- * License are generated and so no license is required.
- * It is useful to note these separately.
+ * License are generated and so no license is required. It is useful to note
+ * these separately.
  */
 public class GeneratedLicenseNotRequired implements IHeaderMatcher {
 

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/generation/JavaDocLicenseNotRequiredTest.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/generation/JavaDocLicenseNotRequiredTest.java?rev=1548432&r1=1548431&r2=1548432&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/generation/JavaDocLicenseNotRequiredTest.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/analysis/generation/JavaDocLicenseNotRequiredTest.java
Fri Dec  6 08:43:01 2013
@@ -47,13 +47,15 @@ public class JavaDocLicenseNotRequiredTe
 	}
 
 	@Test
-	public void testMatchIndexDocLicense() throws RatHeaderAnalysisException, IOException {
+	public void testMatchIndexDocLicense() throws RatHeaderAnalysisException,
+			IOException {
 		boolean result = readAndMatch("index.html");
 		assertTrue("Is a javadoc", result);
 	}
 
 	@Test
-	public void testMatchClassDocLicense() throws RatHeaderAnalysisException, IOException {
+	public void testMatchClassDocLicense() throws RatHeaderAnalysisException,
+			IOException {
 		boolean result = readAndMatch("ArchiveElement.html");
 		assertTrue("Is a javadoc", result);
 	}
@@ -71,8 +73,8 @@ public class JavaDocLicenseNotRequiredTe
 	 * @return
 	 * @throws IOException
 	 */
-	private boolean readAndMatch(final String name) throws RatHeaderAnalysisException,
-			IOException {
+	private boolean readAndMatch(final String name)
+			throws RatHeaderAnalysisException, IOException {
 		File file = Resources.getResourceFile("javadocs/" + name);
 		boolean result = false;
 		BufferedReader bufferedReader = new BufferedReader(new FileReader(file));

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/test/utils/Resources.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/test/utils/Resources.java?rev=1548432&r1=1548431&r2=1548432&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/test/utils/Resources.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/test/utils/Resources.java
Fri Dec  6 08:43:01 2013
@@ -114,8 +114,8 @@ public final class Resources {
 	 * @return
 	 * @throws IOException
 	 */
-	public static BufferedReader getBufferedResourceReader(final String pResource)
-			throws IOException {
+	public static BufferedReader getBufferedResourceReader(
+			final String pResource) throws IOException {
 		return new BufferedReader(getResourceReader(pResource));
 	}
 



Mime
View raw message