incubator-lokahi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tob...@apache.org
Subject svn commit: r472624 - /incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/api/job/Job.java
Date Wed, 08 Nov 2006 20:25:56 GMT
Author: toback
Date: Wed Nov  8 12:25:56 2006
New Revision: 472624

URL: http://svn.apache.org/viewvc?view=rev&rev=472624
Log:
Fix such that Job.getInstance() doesn't always return null.

Modified:
    incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/api/job/Job.java

Modified: incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/api/job/Job.java
URL: http://svn.apache.org/viewvc/incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/api/job/Job.java?view=diff&rev=472624&r1=472623&r2=472624
==============================================================================
--- incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/api/job/Job.java (original)
+++ incubator/lokahi/lokahi/trunk/src/java/org/apache/lokahi/core/api/job/Job.java Wed Nov
 8 12:25:56 2006
@@ -341,7 +341,7 @@
   public Instance getInstance() {
     Instance i = null;
     try {
-      Instance.getInstance(this.getInstanceId(), true);
+      i = Instance.getInstance(this.getInstanceId(), true);
     } catch (SQLException e) {
       if (logger.isInfoEnabled()) {
         logger.info("Exception: " + e.getMessage());



Mime
View raw message