abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r557496 - /incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/license/LicenseHelper.java
Date Thu, 19 Jul 2007 06:09:43 GMT
Author: jmsnell
Date: Wed Jul 18 23:09:41 2007
New Revision: 557496

URL: http://svn.apache.org/viewvc?view=rev&rev=557496
Log:
Change the default so that inherited licenses are returned

Modified:
    incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/license/LicenseHelper.java

Modified: incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/license/LicenseHelper.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/license/LicenseHelper.java?view=diff&rev=557496&r1=557495&r2=557496
==============================================================================
--- incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/license/LicenseHelper.java
(original)
+++ incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/license/LicenseHelper.java
Wed Jul 18 23:09:41 2007
@@ -28,7 +28,7 @@
 import org.apache.abdera.model.Source;
 
 /**
- * Implementation of the Atom License Extension I-D
+ * Implementation of the Atom License Extension, RFC 4946
  */
 public final class LicenseHelper {
 
@@ -59,7 +59,7 @@
   
   public static List<Link> getLicense(
     Base base) {
-      return getLicense(base, false);
+      return getLicense(base, true);
   }
   
   public static boolean hasUnspecifiedLicense(
@@ -70,7 +70,7 @@
   
   public static boolean hasUnspecifiedLicense(
     Base base) {
-      return hasUnspecifiedLicense(base, false);
+      return hasUnspecifiedLicense(base, true);
   }
   
   public static boolean hasLicense(
@@ -94,7 +94,7 @@
   public static boolean hasLicense(
     Base base, 
     String iri) {
-    return hasLicense(base, iri, false);
+    return hasLicense(base, iri, true);
   }
   
   public static boolean hasLicense(
@@ -106,7 +106,7 @@
   
   public static boolean hasLicense(
     Base base) {
-      return hasLicense(base, false);
+      return hasLicense(base, true);
   }
   
   public static Link addUnspecifiedLicense(



Mime
View raw message