any23-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject [2/2] any23 git commit: Deprecate classes and RDFa11ParserException.
Date Mon, 02 Jul 2018 21:03:39 GMT
Deprecate classes and RDFa11ParserException.

Signed-off-by: Julio Caguano


Project: http://git-wip-us.apache.org/repos/asf/any23/repo
Commit: http://git-wip-us.apache.org/repos/asf/any23/commit/99f3f0ad
Tree: http://git-wip-us.apache.org/repos/asf/any23/tree/99f3f0ad
Diff: http://git-wip-us.apache.org/repos/asf/any23/diff/99f3f0ad

Branch: refs/heads/master
Commit: 99f3f0ad9c645d156c55f2144ade4c740c9e4444
Parents: 66be7fb
Author: Julio Caguano <julio.caguanob@gmail.com>
Authored: Mon Jul 2 10:00:21 2018 -0500
Committer: Julio Caguano <julio.caguanob@gmail.com>
Committed: Mon Jul 2 10:00:21 2018 -0500

----------------------------------------------------------------------
 .../main/java/org/apache/any23/extractor/rdfa/RDFa11Parser.java  | 2 ++
 .../org/apache/any23/extractor/rdfa/RDFa11ParserException.java   | 4 ++++
 2 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/any23/blob/99f3f0ad/core/src/main/java/org/apache/any23/extractor/rdfa/RDFa11Parser.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/any23/extractor/rdfa/RDFa11Parser.java b/core/src/main/java/org/apache/any23/extractor/rdfa/RDFa11Parser.java
index 4bc931e..8053e39 100644
--- a/core/src/main/java/org/apache/any23/extractor/rdfa/RDFa11Parser.java
+++ b/core/src/main/java/org/apache/any23/extractor/rdfa/RDFa11Parser.java
@@ -49,8 +49,10 @@ import org.w3c.dom.NodeList;
  * @deprecated since 2.3 the {@link org.eclipse.rdf4j.rio.Rio} implementations 
  * are used to parse RDFa. Look at {@link org.apache.any23.extractor.rdf.RDFParserFactory#getRDFa10Parser}
  * and {@link org.apache.any23.extractor.rdf.RDFParserFactory#getRDFa11Parser}.
+ * 
  * @author Michele Mostarda (mostarda@fbk.eu)
  */
+@Deprecated
 public class RDFa11Parser {
 
     private static final Logger logger = LoggerFactory.getLogger(RDFa11Parser.class);

http://git-wip-us.apache.org/repos/asf/any23/blob/99f3f0ad/core/src/main/java/org/apache/any23/extractor/rdfa/RDFa11ParserException.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/any23/extractor/rdfa/RDFa11ParserException.java
b/core/src/main/java/org/apache/any23/extractor/rdfa/RDFa11ParserException.java
index b35ecea..caa8e6f 100644
--- a/core/src/main/java/org/apache/any23/extractor/rdfa/RDFa11ParserException.java
+++ b/core/src/main/java/org/apache/any23/extractor/rdfa/RDFa11ParserException.java
@@ -20,8 +20,12 @@ package org.apache.any23.extractor.rdfa;
 /**
  * Exception class raised by {@link RDFa11Parser}.
  *
+ * @deprecated since 2.3 the {@link org.eclipse.rdf4j.rio.Rio} implementations 
+ * are used to parse RDFa.
+ * 
  * @author Michele Mostarda (mostarda@fbk.eu)
  */
+@Deprecated
 public class RDFa11ParserException extends Exception {
 
     public RDFa11ParserException(String message) {


Mime
View raw message