creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1548411 - /creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/api/MetaData.java
Date Fri, 06 Dec 2013 08:28:08 GMT
Author: rdonkin
Date: Fri Dec  6 08:28:07 2013
New Revision: 1548411

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

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

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/api/MetaData.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/api/MetaData.java?rev=1548411&r1=1548410&r2=1548411&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/api/MetaData.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/api/MetaData.java
Fri Dec  6 08:28:07 2013
@@ -179,6 +179,7 @@ public class MetaData {
     public static final Datum RAT_APPROVED_LICENSE_DATIM_FALSE = new Datum(
             RAT_URL_APPROVED_LICENSE, RAT_APPROVED_LICENSE_VALUE_FALSE);
 
+
     private ContentType contentType;
     /**
      * Only likely to be a small quantity of data so trade some performance for
@@ -186,10 +187,17 @@ public class MetaData {
      */
     private final List<Datum> data;
 
-    public MetaData() {
-        this(null);
-    }
+	/**
+	 *
+	 */
+	public MetaData() {
+		this(null);
+	}
 
+	/**
+	 * Constructs meta-data representing the given content.
+	 * @param contentType not null
+	 */
     public MetaData(final ContentType contentType) {
         this.contentType = contentType;
         this.data = new ArrayList<Datum>(16);



Mime
View raw message