ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1697771 - in /webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax: FOMCategories.java FOMEntry.java FOMFeed.java FOMService.java
Date Tue, 25 Aug 2015 21:19:08 GMT
Author: veithen
Date: Tue Aug 25 21:19:08 2015
New Revision: 1697771

URL: http://svn.apache.org/r1697771
Log:
Remove public default constructors for FOMElement subclasses. They will no longer be supported.

Modified:
    webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMCategories.java
    webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMEntry.java
    webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMFeed.java
    webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMService.java

Modified: webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMCategories.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMCategories.java?rev=1697771&r1=1697770&r2=1697771&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMCategories.java
(original)
+++ webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMCategories.java
Tue Aug 25 21:19:08 2015
@@ -35,11 +35,6 @@ import org.apache.axiom.om.OMNamespace;
 import org.apache.axiom.om.OMXMLParserWrapper;
 
 public class FOMCategories extends FOMExtensibleElement implements AbderaCategories {
-    public FOMCategories() {
-        super(CATEGORIES, new FOMDocument<Categories>(), new FOMFactory());
-        init();
-    }
-
     protected FOMCategories(String name, OMNamespace namespace, OMContainer parent, OMFactory
factory)
         throws OMException {
         super(name, namespace, parent, factory);

Modified: webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMEntry.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMEntry.java?rev=1697771&r1=1697770&r2=1697771&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMEntry.java
(original)
+++ webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMEntry.java
Tue Aug 25 21:19:08 2015
@@ -45,7 +45,6 @@ import org.apache.abdera.model.Source;
 import org.apache.abdera.model.Text;
 import org.apache.abdera.model.Content.Type;
 import org.apache.abdera.parser.stax.util.FOMHelper;
-import org.apache.abdera.util.Constants;
 import org.apache.abdera.util.MimeTypeHelper;
 import org.apache.abdera.i18n.text.io.InputStreamDataSource;
 import org.apache.abdera.i18n.iri.IRI;
@@ -59,10 +58,6 @@ import org.apache.axiom.om.OMXMLParserWr
 
 @SuppressWarnings( {"unchecked", "deprecation"})
 public class FOMEntry extends FOMExtensibleElement implements AbderaEntry {
-    public FOMEntry() {
-        super(Constants.ENTRY, new FOMDocument<Entry>(), new FOMFactory());
-    }
-
     protected FOMEntry(String name, OMNamespace namespace, OMContainer parent, OMFactory
factory) throws OMException {
         super(name, namespace, parent, factory);
     }

Modified: webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMFeed.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMFeed.java?rev=1697771&r1=1697770&r2=1697771&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMFeed.java
(original)
+++ webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMFeed.java
Tue Aug 25 21:19:08 2015
@@ -29,7 +29,6 @@ import org.apache.abdera.i18n.iri.IRI;
 import org.apache.abdera.model.Entry;
 import org.apache.abdera.model.Feed;
 import org.apache.abdera.model.Source;
-import org.apache.abdera.util.Constants;
 import org.apache.axiom.fom.AbderaFeed;
 import org.apache.axiom.om.OMContainer;
 import org.apache.axiom.om.OMElement;
@@ -40,10 +39,6 @@ import org.apache.axiom.om.OMNode;
 import org.apache.axiom.om.OMXMLParserWrapper;
 
 public class FOMFeed extends FOMSource implements AbderaFeed {
-    public FOMFeed() {
-        super(Constants.FEED, new FOMDocument<Feed>(), new FOMFactory());
-    }
-
     protected FOMFeed(String name, OMNamespace namespace, OMContainer parent, OMFactory factory)
throws OMException {
         super(name, namespace, parent, factory);
     }

Modified: webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMService.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMService.java?rev=1697771&r1=1697770&r2=1697771&view=diff
==============================================================================
--- webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMService.java
(original)
+++ webservices/axiom/trunk/implementations/fom-impl/src/main/java/org/apache/abdera/parser/stax/FOMService.java
Tue Aug 25 21:19:08 2015
@@ -26,7 +26,6 @@ import javax.xml.namespace.QName;
 import org.apache.abdera.model.Collection;
 import org.apache.abdera.model.Service;
 import org.apache.abdera.model.Workspace;
-import org.apache.abdera.util.Constants;
 import org.apache.axiom.fom.AbderaService;
 import org.apache.axiom.om.OMContainer;
 import org.apache.axiom.om.OMElement;
@@ -37,11 +36,6 @@ import org.apache.axiom.om.OMXMLParserWr
 
 @SuppressWarnings("deprecation")
 public class FOMService extends FOMExtensibleElement implements AbderaService {
-    public FOMService() {
-        super(Constants.SERVICE, new FOMDocument<Service>(), new FOMFactory());
-        declareAtomNs();
-    }
-
     protected FOMService(String name, OMNamespace namespace, OMContainer parent, OMFactory
factory) throws OMException {
         super(name, namespace, parent, factory);
         declareAtomNs();



Mime
View raw message