Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 001B8200BAE for ; Fri, 28 Oct 2016 15:10:16 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F2FB0160B09; Fri, 28 Oct 2016 13:10:15 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4EE7C160AE3 for ; Fri, 28 Oct 2016 15:10:15 +0200 (CEST) Received: (qmail 86638 invoked by uid 500); 28 Oct 2016 13:10:14 -0000 Mailing-List: contact commits-help@commonsrdf.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commonsrdf.incubator.apache.org Delivered-To: mailing list commits@commonsrdf.incubator.apache.org Received: (qmail 86625 invoked by uid 99); 28 Oct 2016 13:10:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2016 13:10:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 22679C013E for ; Fri, 28 Oct 2016 13:10:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.219 X-Spam-Level: X-Spam-Status: No, score=-6.219 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 31XOI_mSlaGU for ; Fri, 28 Oct 2016 13:10:13 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id E90505FC95 for ; Fri, 28 Oct 2016 13:10:11 +0000 (UTC) Received: (qmail 72473 invoked by uid 99); 28 Oct 2016 13:07:40 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Oct 2016 13:07:40 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 00053E38B7; Fri, 28 Oct 2016 13:07:39 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: stain@apache.org To: commits@commonsrdf.incubator.apache.org Date: Fri, 28 Oct 2016 13:08:05 -0000 Message-Id: <824fac354e9a40e2be757a0a5f6fee3f@git.apache.org> In-Reply-To: <4505c4437411440ca5403fc436518277@git.apache.org> References: <4505c4437411440ca5403fc436518277@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [27/50] [abbrv] incubator-commonsrdf git commit: avoid infinite loop! :) archived-at: Fri, 28 Oct 2016 13:10:16 -0000 avoid infinite loop! :) Project: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/commit/49cba1f9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/tree/49cba1f9 Diff: http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/diff/49cba1f9 Branch: refs/heads/COMMONSRDF-7 Commit: 49cba1f99fc67538c4f24e4e06c7f3a51126a309 Parents: 98d56f8 Author: Stian Soiland-Reyes Authored: Thu Oct 27 16:48:52 2016 +0100 Committer: Stian Soiland-Reyes Committed: Thu Oct 27 16:48:52 2016 +0100 ---------------------------------------------------------------------- .../org/apache/commons/rdf/rdf4j/experimental/RDF4JParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-commonsrdf/blob/49cba1f9/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/experimental/RDF4JParser.java ---------------------------------------------------------------------- diff --git a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/experimental/RDF4JParser.java b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/experimental/RDF4JParser.java index f9a1e74..be37449 100644 --- a/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/experimental/RDF4JParser.java +++ b/rdf4j/src/main/java/org/apache/commons/rdf/rdf4j/experimental/RDF4JParser.java @@ -111,7 +111,7 @@ public class RDF4JParser extends AbstractRDFParser implements RDFPa @Override protected RDF4JParser prepareForParsing() throws IOException, IllegalStateException { - RDF4JParser c = prepareForParsing(); + RDF4JParser c = super.prepareForParsing(); // Ensure we have an RDF4JFactory for conversion. // We'll make a new one if user has provided a non-RDF4J factory c.rdf4jTermFactory = (RDF4JFactory) getRdfTermFactory().filter(RDF4JFactory.class::isInstance)