incubator-lokahi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tob...@apache.org
Subject svn commit: r412138 - /incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/common/util/TMCVelocityViewTool.java
Date Tue, 06 Jun 2006 15:01:42 GMT
Author: toback
Date: Tue Jun  6 08:01:41 2006
New Revision: 412138

URL: http://svn.apache.org/viewvc?rev=412138&view=rev
Log:
removed unnecessary try/catch

Modified:
    incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/common/util/TMCVelocityViewTool.java

Modified: incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/common/util/TMCVelocityViewTool.java
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/common/util/TMCVelocityViewTool.java?rev=412138&r1=412137&r2=412138&view=diff
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/common/util/TMCVelocityViewTool.java
(original)
+++ incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/common/util/TMCVelocityViewTool.java
Tue Jun  6 08:01:41 2006
@@ -585,16 +585,10 @@
   /** @deprecated  */
   public Collection<State> getStates() {
     Collection<State> c = null;
-    try {
       c = State.getStates();
       if (c instanceof TMCCollectionImpl) {
         c = ((TMCCollectionImpl<State>) c).orderByName().values();
       }
-    } catch (SQLException e) {
-      if (logger.isInfoEnabled()) {
-        logger.info("Exception: " + e.getMessage());
-      }
-    }
     return c;
   }
 



Mime
View raw message