Return-Path: X-Original-To: apmail-jena-commits-archive@www.apache.org Delivered-To: apmail-jena-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 729F4108D9 for ; Tue, 25 Nov 2014 16:26:24 +0000 (UTC) Received: (qmail 73166 invoked by uid 500); 25 Nov 2014 16:26:24 -0000 Delivered-To: apmail-jena-commits-archive@jena.apache.org Received: (qmail 73107 invoked by uid 500); 25 Nov 2014 16:26:24 -0000 Mailing-List: contact commits-help@jena.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jena.apache.org Delivered-To: mailing list commits@jena.apache.org Received: (qmail 72450 invoked by uid 99); 25 Nov 2014 16:26:24 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2014 16:26:24 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 9DF47A19AEE; Tue, 25 Nov 2014 16:26:23 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: rvesse@apache.org To: commits@jena.apache.org Date: Tue, 25 Nov 2014 16:26:42 -0000 Message-Id: <459209c3d30b4fdabce2536cfe3fa301@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [20/48] jena git commit: Remove unused. 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 Authored: Fri Nov 21 15:57:20 2014 +0000 Committer: Andy Seaborne 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) ;