tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jgallim...@apache.org
Subject tomee git commit: Checkstyle and PMD fixes
Date Thu, 03 Aug 2017 11:01:05 GMT
Repository: tomee
Updated Branches:
  refs/heads/tomee-1.7.x 082191438 -> da5fdcc2f


Checkstyle and PMD fixes


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

Branch: refs/heads/tomee-1.7.x
Commit: da5fdcc2f50985880bc43371b232641104179775
Parents: 0821914
Author: Jonathan Gallimore <jon@jrg.me.uk>
Authored: Thu Aug 3 12:00:36 2017 +0100
Committer: Jonathan Gallimore <jon@jrg.me.uk>
Committed: Thu Aug 3 12:00:36 2017 +0100

----------------------------------------------------------------------
 .../org/apache/openejb/assembler/classic/Assembler.java   | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/da5fdcc2/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java
b/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java
index e1e2b7b..f2b7cbf 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/assembler/classic/Assembler.java
@@ -1870,8 +1870,8 @@ public class Assembler extends AssemblerTool implements org.apache.openejb.spi.A
         callPreDestroy(name, object);
         removeResourceInfo(name);
     }
-	
-	private void callPreDestroy(final String name, final Object object) {
+    
+    private void callPreDestroy(final String name, final Object object) {
         if (object == null) {
             return;
         }
@@ -1911,8 +1911,8 @@ public class Assembler extends AssemblerTool implements org.apache.openejb.spi.A
         }
     }
 
-    private ResourceInfo findResourceInfo(String name) {
-        List<ResourceInfo> resourceInfos = config.facilities.resources;
+    private ResourceInfo findResourceInfo(final String name) {
+        final List<ResourceInfo> resourceInfos = config.facilities.resources;
         for (final ResourceInfo resourceInfo : resourceInfos) {
             if (resourceInfo.id.equals(name)) {
                 return resourceInfo;
@@ -1920,7 +1920,7 @@ public class Assembler extends AssemblerTool implements org.apache.openejb.spi.A
         }
 
         return null;
-	}
+    }
 
     public void removeResourceInfo(final String name) {
         try {


Mime
View raw message