creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1549497 - /creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/ReportTransformer.java
Date Mon, 09 Dec 2013 06:19:00 GMT
Author: rdonkin
Date: Mon Dec  9 06:19:00 2013
New Revision: 1549497

URL: http://svn.apache.org/r1549497
Log:
Apply PMD change.

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/ReportTransformer.java

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/ReportTransformer.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/ReportTransformer.java?rev=1549497&r1=1549496&r2=1549497&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/ReportTransformer.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/ReportTransformer.java
Mon Dec  9 06:19:00 2013
@@ -41,7 +41,7 @@ class ReportTransformer implements Runna
 	private final Transformer transformer;
 
 	/** The in. */
-	private final Reader in;
+	private final Reader reader;
 
 	/**
 	 * Instantiates a new report transformer.
@@ -56,11 +56,11 @@ class ReportTransformer implements Runna
 	 *             the transformer configuration exception
 	 */
 	public ReportTransformer(final Writer out, final Reader style,
-			final Reader in) throws TransformerConfigurationException {
+			final Reader reader) throws TransformerConfigurationException {
 		this.out = out;
 		transformer = TransformerFactory.newInstance().newTransformer(
 				new StreamSource(style));
-		this.in = in;
+		this.reader = reader;
 	}
 
 	/**
@@ -76,11 +76,11 @@ class ReportTransformer implements Runna
 	 *             the transformer configuration exception
 	 */
 	public ReportTransformer(final Writer out, final InputStream style,
-			final Reader in) throws TransformerConfigurationException {
+			final Reader reader) throws TransformerConfigurationException {
 		this.out = out;
 		transformer = TransformerFactory.newInstance().newTransformer(
 				new StreamSource(style));
-		this.in = in;
+		this.reader = reader;
 	}
 
 	/*
@@ -103,7 +103,7 @@ class ReportTransformer implements Runna
 	 *             the transformer exception
 	 */
 	public void transform() throws TransformerException {
-		transformer.transform(new StreamSource(in), new StreamResult(out));
+		transformer.transform(new StreamSource(reader), new StreamResult(out));
 	}
 
 }



Mime
View raw message