You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by rv...@apache.org on 2014/12/01 17:03:52 UTC
[08/19] jena git commit: Remove unused (old) classes.
Remove unused (old) classes.
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/a89706e3
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/a89706e3
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/a89706e3
Branch: refs/heads/hadoop-rdf
Commit: a89706e3e42fe9f1ce1ff319f918ab1bd538e2cd
Parents: c5d6e49
Author: Andy Seaborne <an...@apache.org>
Authored: Sat Nov 29 20:22:22 2014 +0000
Committer: Andy Seaborne <an...@apache.org>
Committed: Sat Nov 29 20:22:22 2014 +0000
----------------------------------------------------------------------
.../java/arq/cmdline/ModDatasetGeneral.java | 3 -
.../com/hp/hpl/jena/sparql/core/DataBlock.java | 25 --------
.../com/hp/hpl/jena/sparql/core/DataFormat.java | 65 --------------------
3 files changed, 93 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/a89706e3/jena-arq/src/main/java/arq/cmdline/ModDatasetGeneral.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/arq/cmdline/ModDatasetGeneral.java b/jena-arq/src/main/java/arq/cmdline/ModDatasetGeneral.java
index 14b16c8..c75ed57 100644
--- a/jena-arq/src/main/java/arq/cmdline/ModDatasetGeneral.java
+++ b/jena-arq/src/main/java/arq/cmdline/ModDatasetGeneral.java
@@ -27,7 +27,6 @@ import com.hp.hpl.jena.query.Dataset ;
import com.hp.hpl.jena.query.DatasetFactory ;
import com.hp.hpl.jena.query.LabelExistsException ;
import com.hp.hpl.jena.shared.JenaException ;
-import com.hp.hpl.jena.sparql.core.DataFormat ;
import com.hp.hpl.jena.sparql.core.DatasetGraph ;
import com.hp.hpl.jena.sparql.core.DatasetGraphFactory ;
import com.hp.hpl.jena.sparql.util.DatasetUtils ;
@@ -48,8 +47,6 @@ public class ModDatasetGeneral extends ModDataset
private List<String> dataURLs = null ;
private List<String> graphURLs = null ;
private List<String> namedGraphURLs = null ;
- private DataFormat dataSyntax = null ;
-
protected ModDatasetGeneral() {}
@Override
http://git-wip-us.apache.org/repos/asf/jena/blob/a89706e3/jena-arq/src/main/java/com/hp/hpl/jena/sparql/core/DataBlock.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/com/hp/hpl/jena/sparql/core/DataBlock.java b/jena-arq/src/main/java/com/hp/hpl/jena/sparql/core/DataBlock.java
deleted file mode 100644
index b86779b..0000000
--- a/jena-arq/src/main/java/com/hp/hpl/jena/sparql/core/DataBlock.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
- * 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 com.hp.hpl.jena.sparql.core;
-
-public class DataBlock
-{
-
-}
-
http://git-wip-us.apache.org/repos/asf/jena/blob/a89706e3/jena-arq/src/main/java/com/hp/hpl/jena/sparql/core/DataFormat.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/com/hp/hpl/jena/sparql/core/DataFormat.java b/jena-arq/src/main/java/com/hp/hpl/jena/sparql/core/DataFormat.java
deleted file mode 100644
index ecef3f7..0000000
--- a/jena-arq/src/main/java/com/hp/hpl/jena/sparql/core/DataFormat.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * 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 com.hp.hpl.jena.sparql.core;
-
-import com.hp.hpl.jena.sparql.util.Symbol ;
-import com.hp.hpl.jena.sparql.util.TranslationTable ;
-import com.hp.hpl.jena.util.FileUtils ;
-
-
-public class DataFormat extends Symbol
-{
- public static final DataFormat langNTriples
- = new DataFormat(FileUtils.langNTriple) ;
-
- public static final DataFormat langXML
- = new DataFormat(FileUtils.langXML ) ;
-
- public static final DataFormat langXMLAbbrev
- = new DataFormat(FileUtils.langXMLAbbrev) ;
-
- public static final DataFormat langTurtle
- = new DataFormat(FileUtils.langTurtle ) ;
-
- public static final DataFormat langN3
- = new DataFormat(FileUtils.langN3 ) ;
-
- public static TranslationTable<DataFormat> dataSyntaxNames = new TranslationTable<>(true) ;
- static {
- dataSyntaxNames.put("nt", langNTriples ) ;
- dataSyntaxNames.put("n3", langN3 ) ;
- dataSyntaxNames.put("n-triples", langNTriples ) ;
- dataSyntaxNames.put("n-triple", langNTriples ) ;
- dataSyntaxNames.put("xml", langXML ) ;
- dataSyntaxNames.put("rdf", langXML ) ;
- dataSyntaxNames.put("rdf/xml", langXML ) ;
- dataSyntaxNames.put("turtle", langTurtle ) ;
- }
-
- protected DataFormat(String s) { super(s) ; }
- protected DataFormat(DataFormat s) { super(s) ; }
-
- /** Short name to proper name (symbol)
- *
- */
- public static DataFormat lookup(String s)
- {
- return dataSyntaxNames.lookup(s) ;
- }
-}