ode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sean...@apache.org
Subject svn commit: r780756 - /ode/branches/APACHE_ODE_1.X/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelServerImpl.java
Date Mon, 01 Jun 2009 17:52:20 GMT
Author: seanahn
Date: Mon Jun  1 17:52:20 2009
New Revision: 780756

URL: http://svn.apache.org/viewvc?rev=780756&view=rev
Log:
Removed tabs

Modified:
    ode/branches/APACHE_ODE_1.X/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelServerImpl.java

Modified: ode/branches/APACHE_ODE_1.X/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelServerImpl.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelServerImpl.java?rev=780756&r1=780755&r2=780756&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelServerImpl.java
(original)
+++ ode/branches/APACHE_ODE_1.X/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelServerImpl.java
Mon Jun  1 17:52:20 2009
@@ -160,10 +160,10 @@
             _state = State.RUNNING;
             __log.info(__msgs.msgServerStarted());
             if (_dehydrationPolicy != null) {
-            	Thread thread = new Thread(new ProcessDefReaper(), "Dehydrator");
-            	thread.setDaemon(true);
-            	thread.start();
-            	
+                Thread thread = new Thread(new ProcessDefReaper(), "Dehydrator");
+                thread.setDaemon(true);
+                thread.start();
+                
             }
         } finally {
             _mngmtLock.writeLock().unlock();
@@ -399,15 +399,15 @@
 
     protected boolean deleteProcessDAO(final QName pid, boolean isInMemory) {
         try {
-        	if (isInMemory) {
-            	return deleteProcessDAO(_contexts.inMemDao.getConnection(), pid);
-        	} else {
-	            return _db.exec(new BpelDatabase.Callable<Boolean>() {
-	                public Boolean run(BpelDAOConnection conn) throws Exception {
-	                	return deleteProcessDAO(conn, pid);
-	                }
-	            });
-        	}
+            if (isInMemory) {
+                return deleteProcessDAO(_contexts.inMemDao.getConnection(), pid);
+            } else {
+                return _db.exec(new BpelDatabase.Callable<Boolean>() {
+                    public Boolean run(BpelDAOConnection conn) throws Exception {
+                        return deleteProcessDAO(conn, pid);
+                    }
+                });
+            }
         } catch (RuntimeException re) {
             throw re;
         } catch (Exception e) {
@@ -434,7 +434,7 @@
             return true;
         }
         return false;
-    	
+        
     }
 
     public void onScheduledJob(JobInfo jobInfo) throws JobProcessorException {



Mime
View raw message