db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1359155 - /db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueInstance.java
Date Mon, 09 Jul 2012 13:20:04 GMT
Author: tfischer
Date: Mon Jul  9 13:20:04 2012
New Revision: 1359155

URL: http://svn.apache.org/viewvc?rev=1359155&view=rev
Log:
Fix checkstyle errors

Modified:
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueInstance.java

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueInstance.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueInstance.java?rev=1359155&r1=1359154&r2=1359155&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueInstance.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/TorqueInstance.java
Mon Jul  9 13:20:04 2012
@@ -770,7 +770,7 @@ public class TorqueInstance
     public <T extends AbstractBaseManager<? extends Persistent>> T getManager(String
name)
     {
         @SuppressWarnings("unchecked")
-        T m = (T)managers.get(name);
+        T m = (T) managers.get(name);
         if (m == null)
         {
             log.error("No configured manager for key " + name + ".");
@@ -791,7 +791,7 @@ public class TorqueInstance
     public <T extends AbstractBaseManager<? extends Persistent>> T getManager(String
name,
             String defaultClassName)
     {
-        T m = (T)managers.get(name);
+        T m = (T) managers.get(name);
         if (m == null)
         {
             log.debug("Added late Manager mapping for Class: "
@@ -807,7 +807,7 @@ public class TorqueInstance
             }
 
             // Try again now that the default manager should be in the map
-            m = (T)managers.get(name);
+            m = (T) managers.get(name);
         }
 
         return m;



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message