Repository: jena
Updated Branches:
  refs/heads/master dee9df510 -> 6966dd3a7


JENA-777 : Remove GraphAdd

Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/98ef8402
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/98ef8402
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/98ef8402

Branch: refs/heads/master
Commit: 98ef8402b856d758e08b458791eba8739aff54bd
Parents: cb7a6d1
Author: Andy Seaborne <a...@apache.org>
Authored: Thu Oct 23 17:30:37 2014 +0100
Committer: Andy Seaborne <a...@apache.org>
Committed: Thu Oct 23 17:30:37 2014 +0100

----------------------------------------------------------------------
 .../main/java/com/hp/hpl/jena/graph/Graph.java  |  9 ++---
 .../java/com/hp/hpl/jena/graph/GraphAdd.java    | 37 --------------------
 2 files changed, 3 insertions(+), 43 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/98ef8402/jena-core/src/main/java/com/hp/hpl/jena/graph/Graph.java
----------------------------------------------------------------------
diff --git a/jena-core/src/main/java/com/hp/hpl/jena/graph/Graph.java 
b/jena-core/src/main/java/com/hp/hpl/jena/graph/Graph.java
index 4d31b96..cd7f50b 100644
--- a/jena-core/src/main/java/com/hp/hpl/jena/graph/Graph.java
+++ b/jena-core/src/main/java/com/hp/hpl/jena/graph/Graph.java
@@ -28,12 +28,10 @@ import com.hp.hpl.jena.util.iterator.ExtendedIterator ;
     The interface to be satisfied by implementations maintaining collections
     of RDF triples. The core interface is small (add, delete, find, contains) 
and
     is augmented by additional classes to handle more complicated matters
-    such as reification, query handling, bulk update, event management,
-    and transaction handling.
-<p>
-    For <code>add(Triple)</code> see GraphAdd.
+    such as event management.
+    @see GraphBase for an implementation framework.
 */
-public interface Graph  extends GraphAdd
+public interface Graph
     {
     /**
         An immutable empty graph. 
@@ -87,7 +85,6 @@ public interface Graph  extends GraphAdd
         @param t the triple to add to the graph
         @throws AddDeniedException if the triple cannot be added 
      */
-    @Override
     void add( Triple t ) throws AddDeniedException;
 
     /** 

http://git-wip-us.apache.org/repos/asf/jena/blob/98ef8402/jena-core/src/main/java/com/hp/hpl/jena/graph/GraphAdd.java
----------------------------------------------------------------------
diff --git a/jena-core/src/main/java/com/hp/hpl/jena/graph/GraphAdd.java 
b/jena-core/src/main/java/com/hp/hpl/jena/graph/GraphAdd.java
deleted file mode 100644
index 41d37a8..0000000
--- a/jena-core/src/main/java/com/hp/hpl/jena/graph/GraphAdd.java
+++ /dev/null
@@ -1,37 +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.graph;
-
-import com.hp.hpl.jena.shared.*;
-
-/**
-    The Add part of Graph's interface. It proved convenient to factor this
-    out so that it could be used in the reification code.
-    
- */
-public interface GraphAdd
-    {
-    /** 
-        Add the triple t (if possible) to the set belonging to this graph 
-     
-        @param t the triple to add to the graph
-        @throws AddDeniedException if the triple cannot be added 
-    */
-    void add( Triple t ) throws AddDeniedException;
-    }

Reply via email to