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 2015/09/21 20:31:11 UTC

[17/25] jena git commit: javadoc

javadoc

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

Branch: refs/heads/master
Commit: 04b665aba0beb117ff46abb4e0cbb59cb68266b5
Parents: f30b75c
Author: Andy Seaborne <an...@apache.org>
Authored: Sat Sep 19 15:05:07 2015 +0100
Committer: Andy Seaborne <an...@apache.org>
Committed: Sat Sep 19 15:05:07 2015 +0100

----------------------------------------------------------------------
 .../org/apache/jena/system/JenaSubsystemLifecycle.java  |  2 +-
 .../org/apache/jena/system/JenaSubsystemRegistry.java   | 12 +++++-------
 2 files changed, 6 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/04b665ab/jena-core/src/main/java/org/apache/jena/system/JenaSubsystemLifecycle.java
----------------------------------------------------------------------
diff --git a/jena-core/src/main/java/org/apache/jena/system/JenaSubsystemLifecycle.java b/jena-core/src/main/java/org/apache/jena/system/JenaSubsystemLifecycle.java
index a3cd771..3587d79 100644
--- a/jena-core/src/main/java/org/apache/jena/system/JenaSubsystemLifecycle.java
+++ b/jena-core/src/main/java/org/apache/jena/system/JenaSubsystemLifecycle.java
@@ -21,7 +21,7 @@ package org.apache.jena.system;
 /** Lifecycle interface for jena modules and subsystems. */ 
 public interface JenaSubsystemLifecycle {
     
-    /** start - a module should be ready to oeprate when this returns */  
+    /** start - a module should be ready to operate when this returns */  
     public void start() ;
     
     /** stop - a module should have preformed any shutdown operations by the time this returns */   

http://git-wip-us.apache.org/repos/asf/jena/blob/04b665ab/jena-core/src/main/java/org/apache/jena/system/JenaSubsystemRegistry.java
----------------------------------------------------------------------
diff --git a/jena-core/src/main/java/org/apache/jena/system/JenaSubsystemRegistry.java b/jena-core/src/main/java/org/apache/jena/system/JenaSubsystemRegistry.java
index f052ee3..214d55a 100644
--- a/jena-core/src/main/java/org/apache/jena/system/JenaSubsystemRegistry.java
+++ b/jena-core/src/main/java/org/apache/jena/system/JenaSubsystemRegistry.java
@@ -22,24 +22,21 @@ import java.util.List ;
 
 /**
  * A {@code JenaSubsystemRegistry} is a set of objects implementing {@link JenaSubsystemLifecycle}.
- * <p>
- * It is a set - at most one entry.
- * <p>Discovered in some way.
  */
 public interface JenaSubsystemRegistry {
     
     /** Load - peform some kinds of search for {@link JenaSubsystemLifecycle} implementations.
-     * This is called once only.
+     * This is called once in the initialization process.
      */
     public void load();
     
-    /** Add to the colection. */
+    /** Add to the collection. */
     public void add(JenaSubsystemLifecycle module);
 
     /** check whether registered */
     public boolean isRegistered(JenaSubsystemLifecycle module);
 
-    /** Remove from the colection. */
+    /** Remove from the collection. */
     public void remove(JenaSubsystemLifecycle module);
 
     public int size();
@@ -47,9 +44,10 @@ public interface JenaSubsystemRegistry {
     public boolean isEmpty();
 
     /**
-     * Return the registered items a copied list.
+     * Return the registered items in a copied list.
      * The list is detached from the
      * registry and the caller can mutate it.
+     * There is no specific ordering requirement. 
      */
     public List<JenaSubsystemLifecycle> snapshot();