creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1549200 - /creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/ToNameTransformer.java
Date Sun, 08 Dec 2013 20:10:12 GMT
Author: rdonkin
Date: Sun Dec  8 20:10:12 2013
New Revision: 1549200

URL: http://svn.apache.org/r1549200
Log:
Add java doc.

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

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/ToNameTransformer.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/ToNameTransformer.java?rev=1549200&r1=1549199&r2=1549200&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/ToNameTransformer.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/document/ToNameTransformer.java
Sun Dec  8 20:10:12 2013
@@ -21,14 +21,29 @@ package org.apache.rat.document;
 import org.apache.commons.collections.Transformer;
 import org.apache.rat.api.Document;
 
+/**
+ * The Class ToNameTransformer.
+ */
 public class ToNameTransformer implements Transformer {
 
+	/** The Constant TO_NAME_TRANSFORMER. */
 	private static final Transformer TO_NAME_TRANSFORMER = new ToNameTransformer();
 
+	/**
+	 * To name transformer.
+	 * 
+	 * @return the transformer
+	 */
 	public static final Transformer toNameTransformer() {
 		return TO_NAME_TRANSFORMER;
 	}
 
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see
+	 * org.apache.commons.collections.Transformer#transform(java.lang.Object)
+	 */
 	public Object transform(Object subject) {
 		Object result = null;
 		if (subject != null && subject instanceof Document) {



Mime
View raw message