creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1549323 - /creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/report/xml/XmlReportFactory.java
Date Sun, 08 Dec 2013 21:43:24 GMT
Author: rdonkin
Date: Sun Dec  8 21:43:23 2013
New Revision: 1549323

URL: http://svn.apache.org/r1549323
Log:
Format Code.

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/report/xml/XmlReportFactory.java

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/report/xml/XmlReportFactory.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/report/xml/XmlReportFactory.java?rev=1549323&r1=1549322&r2=1549323&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/report/xml/XmlReportFactory.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/report/xml/XmlReportFactory.java
Sun Dec  8 21:43:23 2013
@@ -37,23 +37,23 @@ import org.apache.rat.report.xml.writer.
  * 
  */
 public class XmlReportFactory {
-    public static final RatReport createStandardReport(final IXmlWriter writer,
-            final ClaimStatistic pStatistic,
-            final ReportConfiguration pConfiguration) {
-        final List<RatReport> reporters = new ArrayList<RatReport>();
-        if (pStatistic != null) {
-            reporters.add(new ClaimAggregator(pStatistic));
-        }
-        if (pConfiguration.isAddingLicenses()) {
-            reporters.add(new LicenseAddingReport(pConfiguration
-                    .getCopyrightMessage(), pConfiguration
-                    .isAddingLicensesForced()));
-        }
-        reporters.add(new SimpleXmlClaimReporter(writer));
-        final DefaultAnalyser analyser =
-                new DefaultAnalyser(pConfiguration.getHeaderMatcher());
-        final DefaultPolicy policy =
-                new DefaultPolicy(pConfiguration.getApprovedLicenseNames());
-        return new Pipeline(analyser, policy, reporters);
-    }
+	public static final RatReport createStandardReport(final IXmlWriter writer,
+			final ClaimStatistic pStatistic,
+			final ReportConfiguration pConfiguration) {
+		final List<RatReport> reporters = new ArrayList<RatReport>();
+		if (pStatistic != null) {
+			reporters.add(new ClaimAggregator(pStatistic));
+		}
+		if (pConfiguration.isAddingLicenses()) {
+			reporters.add(new LicenseAddingReport(pConfiguration
+					.getCopyrightMessage(), pConfiguration
+					.isAddingLicensesForced()));
+		}
+		reporters.add(new SimpleXmlClaimReporter(writer));
+		final DefaultAnalyser analyser = new DefaultAnalyser(
+				pConfiguration.getHeaderMatcher());
+		final DefaultPolicy policy = new DefaultPolicy(
+				pConfiguration.getApprovedLicenseNames());
+		return new Pipeline(analyser, policy, reporters);
+	}
 }



Mime
View raw message