abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r519851 - in /incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext: history/FeedPagingHelper.java media/MediaExtensionFactory.java opensearch/OpenSearchExtensionFactory.java thread/ThreadExtensionFactory.java
Date Mon, 19 Mar 2007 06:29:59 GMT
Author: jmsnell
Date: Sun Mar 18 23:29:58 2007
New Revision: 519851

URL: http://svn.apache.org/viewvc?view=rev&rev=519851
Log:
Marking a few static utility classes final and non-creatable

Modified:
    incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/history/FeedPagingHelper.java
    incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/media/MediaExtensionFactory.java
    incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/opensearch/OpenSearchExtensionFactory.java
    incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/thread/ThreadExtensionFactory.java

Modified: incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/history/FeedPagingHelper.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/history/FeedPagingHelper.java?view=diff&rev=519851&r1=519850&r2=519851
==============================================================================
--- incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/history/FeedPagingHelper.java
(original)
+++ incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/history/FeedPagingHelper.java
Sun Mar 18 23:29:58 2007
@@ -29,12 +29,14 @@
  * Initial support for Mark Nottingham's Feed Paging and Archiving draft 
  * (http://ietfreport.isoc.org/all-ids/draft-nottingham-atompub-feed-history-07.txt)
  */
-public class FeedPagingHelper {
+public final class FeedPagingHelper {
 
   public static final String FH_PREFIX = "fh";
   public static final String FHNS = "http://purl.org/syndication/history/1.0";
   public static final QName COMPLETE = new QName(FHNS, "complete", FH_PREFIX);
   public static final QName ARCHIVE = new QName(FHNS, "archive", FH_PREFIX);
+  
+  FeedPagingHelper() {}
   
   /**
    * Returns true if the feed is "complete". According to the Feed Paging

Modified: incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/media/MediaExtensionFactory.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/media/MediaExtensionFactory.java?view=diff&rev=519851&r1=519850&r2=519851
==============================================================================
--- incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/media/MediaExtensionFactory.java
(original)
+++ incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/media/MediaExtensionFactory.java
Sun Mar 18 23:29:58 2007
@@ -24,7 +24,7 @@
 import org.apache.abdera.factory.ExtensionFactory;
 import org.apache.abdera.model.Element;
 
-public class MediaExtensionFactory implements ExtensionFactory {
+public final class MediaExtensionFactory implements ExtensionFactory {
 
   @SuppressWarnings({ "unchecked", "deprecation" })
   public <T extends Element> T getElementWrapper(Element internal) {

Modified: incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/opensearch/OpenSearchExtensionFactory.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/opensearch/OpenSearchExtensionFactory.java?view=diff&rev=519851&r1=519850&r2=519851
==============================================================================
--- incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/opensearch/OpenSearchExtensionFactory.java
(original)
+++ incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/opensearch/OpenSearchExtensionFactory.java
Sun Mar 18 23:29:58 2007
@@ -24,7 +24,7 @@
 import org.apache.abdera.factory.ExtensionFactory;
 import org.apache.abdera.model.Element;
 
-public class OpenSearchExtensionFactory 
+public final class OpenSearchExtensionFactory 
   implements ExtensionFactory {
 
   @SuppressWarnings("unchecked")

Modified: incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/thread/ThreadExtensionFactory.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/thread/ThreadExtensionFactory.java?view=diff&rev=519851&r1=519850&r2=519851
==============================================================================
--- incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/thread/ThreadExtensionFactory.java
(original)
+++ incubator/abdera/java/trunk/extensions/src/main/java/org/apache/abdera/ext/thread/ThreadExtensionFactory.java
Sun Mar 18 23:29:58 2007
@@ -25,7 +25,7 @@
 import org.apache.abdera.factory.ExtensionFactory;
 import org.apache.abdera.model.Element;
 
-public class ThreadExtensionFactory 
+public final class ThreadExtensionFactory 
   implements ExtensionFactory {
 
   public boolean handlesNamespace(String namespace) {



Mime
View raw message