You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2017/06/28 16:57:25 UTC
[16/18] jena git commit: delete text-query.mdtext; update .gitignore;
add license and JenaSystem.init()
delete text-query.mdtext; update .gitignore; add license and
JenaSystem.init()
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/76c3ae3e
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/76c3ae3e
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/76c3ae3e
Branch: refs/heads/master
Commit: 76c3ae3e9f2f35303914258d92eba47eae8e8a75
Parents: 1d687f0
Author: Chris Tomlinson <ct...@moonvine.org>
Authored: Wed Jun 28 08:22:52 2017 -0500
Committer: Chris Tomlinson <ct...@moonvine.org>
Committed: Wed Jun 28 08:22:52 2017 -0500
----------------------------------------------------------------------
jena-text/.gitignore | 2 +-
.../assembler/TestGenericAnalyzerAssembler.java | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/76c3ae3e/jena-text/.gitignore
----------------------------------------------------------------------
diff --git a/jena-text/.gitignore b/jena-text/.gitignore
index f7b49ee..6c7b69a 100644
--- a/jena-text/.gitignore
+++ b/jena-text/.gitignore
@@ -1 +1 @@
-/text-query.mdtext
+.gitignore
http://git-wip-us.apache.org/repos/asf/jena/blob/76c3ae3e/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestGenericAnalyzerAssembler.java
----------------------------------------------------------------------
diff --git a/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestGenericAnalyzerAssembler.java b/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestGenericAnalyzerAssembler.java
index 3effc39..bcd5a12 100644
--- a/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestGenericAnalyzerAssembler.java
+++ b/jena-text/src/test/java/org/apache/jena/query/text/assembler/TestGenericAnalyzerAssembler.java
@@ -1,3 +1,21 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
package org.apache.jena.query.text.assembler;
import static org.junit.Assert.assertEquals;
@@ -6,6 +24,7 @@ import org.apache.jena.rdf.model.Model;
import org.apache.jena.rdf.model.ModelFactory;
import org.apache.jena.rdf.model.RDFNode;
import org.apache.jena.rdf.model.Resource;
+import org.apache.jena.system.JenaSystem;
import org.apache.jena.vocabulary.RDF;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.core.SimpleAnalyzer;
@@ -68,6 +87,7 @@ public class TestGenericAnalyzerAssembler {
private static final String FILE_STOPS = "testing/some-stop-words.txt";
static {
+ JenaSystem.init();
TextAssembler.init();
Model model = ModelFactory.createDefaultModel();