You are viewing a plain text version of this content. The canonical link for it is here.
Posted to lokahi-commits@incubator.apache.org by to...@apache.org on 2006/06/06 15:01:42 UTC

svn commit: r412138 - /incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/common/util/TMCVelocityViewTool.java

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;
   }