jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rve...@apache.org
Subject [20/48] jena git commit: Remove unused.
Date Tue, 25 Nov 2014 16:26:42 GMT
Remove unused.

Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/82128c27
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/82128c27
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/82128c27

Branch: refs/heads/hadoop-rdf
Commit: 82128c271bbc902eeb14373addea8fa10cf2334d
Parents: 985b99a
Author: Andy Seaborne <andy@apache.org>
Authored: Fri Nov 21 15:57:20 2014 +0000
Committer: Andy Seaborne <andy@apache.org>
Committed: Fri Nov 21 15:57:20 2014 +0000

----------------------------------------------------------------------
 .../jena/graph/impl/LiteralLabelFactory.java    | 22 +-------------------
 1 file changed, 1 insertion(+), 21 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/82128c27/jena-core/src/main/java/com/hp/hpl/jena/graph/impl/LiteralLabelFactory.java
----------------------------------------------------------------------
diff --git a/jena-core/src/main/java/com/hp/hpl/jena/graph/impl/LiteralLabelFactory.java b/jena-core/src/main/java/com/hp/hpl/jena/graph/impl/LiteralLabelFactory.java
index 360514d..69c9ae1 100644
--- a/jena-core/src/main/java/com/hp/hpl/jena/graph/impl/LiteralLabelFactory.java
+++ b/jena-core/src/main/java/com/hp/hpl/jena/graph/impl/LiteralLabelFactory.java
@@ -49,24 +49,6 @@ public class LiteralLabelFactory
         return new LiteralLabelImpl(value, lang, dtype) ; 
     }
 
-
-//    /**
-//     * Build a typed literal label supplying both value and lexical form.
-//     * The caller guarantees that the lexical form is legal, 
-//     * and the value corresponds. 
-//     * 
-//     * @param lex the lexical form of the literal
-//     * @param value the value of the literal
-//     * @param lang the optional language tag, only relevant for plain literals
-//     * @param dtype the type of the literal, null for old style "plain" literals
-//     */
-//    public static LiteralLabel create(String lex,
-//                                      Object value,
-//                                      String lang,
-//                                      RDFDatatype dtype) {
-//        return new LiteralLabelImpl(lex, value, lang, dtype) ; 
-//    }
-
     /**
      * Build a typed literal label from its value form using
      * whatever datatype is currently registered as the the default
@@ -78,10 +60,8 @@ public class LiteralLabelFactory
     }
 
     /**
-     * Old style constructor. Creates either a plain literal or an
-     * XMLLiteral.
+     * Creates either a plain literal or an XMLLiteral.
      *       @param xml If true then s is exclusive canonical XML of type rdf:XMLLiteral,
and no checking will be invoked.
-
      */
     public static LiteralLabel create(String s, String lg, boolean xml) {
         return new LiteralLabelImpl(s, lg, xml) ;


Mime
View raw message