You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2017/07/19 08:40:28 UTC

[4/9] tomee git commit: Fix typos in comments

Fix typos in comments


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

Branch: refs/heads/master
Commit: 63794572b059a0131dc32c443d537dde49f03e70
Parents: da488af
Author: Svetlin Zarev <sv...@sap.com>
Authored: Tue Jul 11 11:41:02 2017 +0300
Committer: Svetlin Zarev <sv...@sap.com>
Committed: Tue Jul 11 11:41:02 2017 +0300

----------------------------------------------------------------------
 .../apache/openejb/arquillian/tests/naming/NamingBean.java  | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/63794572/arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/java/org/apache/openejb/arquillian/tests/naming/NamingBean.java
----------------------------------------------------------------------
diff --git a/arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/java/org/apache/openejb/arquillian/tests/naming/NamingBean.java b/arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/java/org/apache/openejb/arquillian/tests/naming/NamingBean.java
index abf2d8d..575a512 100644
--- a/arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/java/org/apache/openejb/arquillian/tests/naming/NamingBean.java
+++ b/arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/java/org/apache/openejb/arquillian/tests/naming/NamingBean.java
@@ -79,8 +79,8 @@ public class NamingBean {
     /*
     * Verifies TOMEE-2087: context.list()/listBindings()
     * returns more entries than it should. The false positives
-    * cannot be looked up, so try to execute the context and look
-    * up every name-class pair. If the lookup fails, then execute()
+    * cannot be looked up, so try to list the context and look
+    * up every name-class pair. If the lookup fails, then list()
     * returns incorrect results.
     */
     private static boolean listContext(Context context, String ctxName, ListOperation listOperation, PrintWriter writer) throws javax.naming.NamingException {
@@ -102,8 +102,8 @@ public class NamingBean {
 
             /*
              *  Skip the SystemComponentReference because they might internally
-             *  throw NameNotFoundException althoug being correctly bound to the
-             *  provided name.
+             *  throw NameNotFoundException although being correctly bound to
+             *  the provided name.
              */
             if (!SystemComponentReference.class.getName().equals(className)) {
                 try {
@@ -133,5 +133,4 @@ public class NamingBean {
 
         return hasErrors;
     }
-
 }