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 2015/09/09 09:44:31 UTC
[20/50] [abbrv] jena git commit: Rename "graphStore" as "dataset"
Rename "graphStore" as "dataset"
Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/a2cc0ee4
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/a2cc0ee4
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/a2cc0ee4
Branch: refs/heads/JENA-507
Commit: a2cc0ee48c466bbcc0d3d021822af1d9bafcf3f2
Parents: 4876989
Author: Andy Seaborne <an...@apache.org>
Authored: Tue Aug 25 12:17:53 2015 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Tue Aug 25 12:17:53 2015 +0100
----------------------------------------------------------------------
jena-arq/src/main/java/arq/cmdline/CmdUpdate.java | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/jena/blob/a2cc0ee4/jena-arq/src/main/java/arq/cmdline/CmdUpdate.java
----------------------------------------------------------------------
diff --git a/jena-arq/src/main/java/arq/cmdline/CmdUpdate.java b/jena-arq/src/main/java/arq/cmdline/CmdUpdate.java
index fd3113b..0baed1b 100644
--- a/jena-arq/src/main/java/arq/cmdline/CmdUpdate.java
+++ b/jena-arq/src/main/java/arq/cmdline/CmdUpdate.java
@@ -24,14 +24,14 @@ import org.apache.jena.sparql.core.DatasetGraph ;
public abstract class CmdUpdate extends CmdARQ
{
- protected ModDataset modGraphStore = null ;
+ protected ModDataset modDataset = null ;
protected Syntax updateSyntax = Syntax.defaultUpdateSyntax ;
protected CmdUpdate(String[] argv)
{
super(argv) ;
- modGraphStore = setModGraphStore() ;
- addModule(modGraphStore) ;
+ modDataset = setModGraphStore() ;
+ addModule(modDataset) ;
}
protected ModDataset setModGraphStore() {
@@ -49,10 +49,10 @@ public abstract class CmdUpdate extends CmdARQ
@Override
protected final void exec() {
- DatasetGraph graphStore = modGraphStore.getDatasetGraph() ;
- if ( graphStore.getDefaultGraph() == null )
- graphStore.setDefaultGraph(ModelFactory.createDefaultModel().getGraph()) ;
- execUpdate(graphStore) ;
+ DatasetGraph dataset = modDataset.getDatasetGraph() ;
+ if ( dataset.getDefaultGraph() == null )
+ dataset.setDefaultGraph(ModelFactory.createDefaultModel().getGraph()) ;
+ execUpdate(dataset) ;
}
protected abstract void execUpdate(DatasetGraph graphStore) ;