You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by rd...@apache.org on 2013/12/05 21:50:50 UTC

svn commit: r1548300 - /creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/MockLocation.java

Author: rdonkin
Date: Thu Dec  5 20:50:50 2013
New Revision: 1548300

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

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/MockLocation.java

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/MockLocation.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/MockLocation.java?rev=1548300&r1=1548299&r2=1548300&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/MockLocation.java (original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/test/java/org/apache/rat/document/MockLocation.java Thu Dec  5 20:50:50 2013
@@ -24,47 +24,89 @@ import java.io.Reader;
 
 import org.apache.rat.api.Document;
 import org.apache.rat.api.MetaData;
-
+/**
+ * 
+ * @author Manuel
+ *
+ */
 public class MockLocation implements Document {
 
 	public String name;
 	public String url;
 	private final MetaData metaData = new MetaData();
 
+	/**
+	 * 
+	 */
 	public MockLocation() {
 		this("name", "url");
 	}
 
+	/**
+	 * 
+	 * @param name
+	 */
 	public MockLocation(String name) {
 		this(name, "url");
 	}
 
+	/**
+	 * 
+	 * @param name
+	 * @param url
+	 */
 	public MockLocation(String name, String url) {
 		super();
 		this.name = name;
 		this.url = url;
 	}
 
+	/**
+	 * 
+	 * @return
+	 */
 	public String getName() {
 		return name;
 	}
 
+	/**
+	 * 
+	 * @return
+	 */
 	public String getURL() {
 		return url;
 	}
 
+	/**
+	 * 
+	 * @return
+	 */
 	public boolean isComposite() {
 		return false;
 	}
 
+	/**
+	 * 
+	 * @return
+	 * @throws IOException
+	 */
 	public Reader reader() throws IOException {
 		throw new UnsupportedOperationException();
 	}
 
+	/**
+	 * 
+	 * @return
+	 */
 	public MetaData getMetaData() {
 		return metaData;
 	}
 
+	/**
+	 * 
+	 * @return
+	 * @throws IOException
+	 */
 	public InputStream inputStream() throws IOException {
 		throw new UnsupportedOperationException();
 	}