You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by mb...@apache.org on 2013/01/30 22:45:09 UTC

[2/2] git commit: some small typos; make stored passivatingScope member final

Updated Branches:
  refs/heads/master 820924d0f -> 8f040adec


some small typos; make stored passivatingScope member final


Project: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/commit/8f040ade
Tree: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/tree/8f040ade
Diff: http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/diff/8f040ade

Branch: refs/heads/master
Commit: 8f040adecdf109b4c416dbecf4609943776f630a
Parents: 74ca2a5
Author: mbenson <gu...@gmail.com>
Authored: Wed Jan 30 15:44:48 2013 -0600
Committer: mbenson <gu...@gmail.com>
Committed: Wed Jan 30 15:44:48 2013 -0600

----------------------------------------------------------------------
 .../core/util/context/AbstractContext.java         |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-deltaspike/blob/8f040ade/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/context/AbstractContext.java
----------------------------------------------------------------------
diff --git a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/context/AbstractContext.java b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/context/AbstractContext.java
index abeb041..79b66d3 100644
--- a/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/context/AbstractContext.java
+++ b/deltaspike/core/api/src/main/java/org/apache/deltaspike/core/util/context/AbstractContext.java
@@ -28,7 +28,7 @@ import javax.enterprise.inject.spi.PassivationCapable;
 import java.util.Map;
 
 /**
- * A skeleton containing the most important parts of a custom CDI Contexts.
+ * A skeleton containing the most important parts of a custom CDI Context.
  * An implementing Context needs to implement the missing methods from the
  * {@link Context} interface and {@link #getContextualStorage(boolean)}.
  */
@@ -37,7 +37,7 @@ public abstract class AbstractContext implements Context
     /**
      * Whether the Context is for a passivating scope.
      */
-    private boolean passivatingScope;
+    private final boolean passivatingScope;
 
     protected AbstractContext(BeanManager beanManager)
     {
@@ -47,7 +47,7 @@ public abstract class AbstractContext implements Context
     /**
      * An implementation has to return the underlying storage which
      * contains the items held in the Context.
-     * @parm createIfNotExist whether a ContextualStorage shall get created if it doesn't yet exist.
+     * @param createIfNotExist whether a ContextualStorage shall get created if it doesn't yet exist.
      * @return the underlying storage
      */
     protected abstract ContextualStorage getContextualStorage(boolean createIfNotExist);