Author: doogie
Date: Fri Mar 27 17:02:51 2009 New Revision: 759266 URL: http://svn.apache.org/viewvc?rev=759266&view=rev Log: Fix lines that *only* have whitespace. Modified: ofbiz/trunk/specialpurpose/shark/src/org/enhydra/shark/ThreadedToolAgentManager.java ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/auth/GenericAuthenticationMgr.java ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/auth/OfbizAuthenticationMgr.java ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/container/SharkContainer.java ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/expression/BaseEntityCondExprBldr.java ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/instance/EntityPersistentMgr.java ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/repository/EntityRepositoryMgr.java ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/requester/LoggingRequester.java Modified: ofbiz/trunk/specialpurpose/shark/src/org/enhydra/shark/ThreadedToolAgentManager.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/shark/src/org/enhydra/shark/ThreadedToolAgentManager.java?rev=759266&r1=759265&r2=759266&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/shark/src/org/enhydra/shark/ThreadedToolAgentManager.java (original) +++ ofbiz/trunk/specialpurpose/shark/src/org/enhydra/shark/ThreadedToolAgentManager.java Fri Mar 27 17:02:51 2009 @@ -116,7 +116,7 @@ e.printStackTrace(); throw new BaseException(e); } - + while (tools.hasNext()) { Tool tool = (Tool)tools.next(); cus.info("Activity"+activity.toString()+" - Executing tool [id="+tool.getId()+"]"); Modified: ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/auth/GenericAuthenticationMgr.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/auth/GenericAuthenticationMgr.java?rev=759266&r1=759265&r2=759266&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/auth/GenericAuthenticationMgr.java (original) +++ ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/auth/GenericAuthenticationMgr.java Fri Mar 27 17:02:51 2009 @@ -49,7 +49,7 @@ } catch (GenericEntityException e) { throw new RootException(e); } - + if (sharkUser != null) { String registeredPwd = sharkUser.getString(org.ofbiz.shark.SharkConstants.passwd); if (password.equals(registeredPwd)) { @@ -62,7 +62,7 @@ return false; } } - + return false; } } Modified: ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/auth/OfbizAuthenticationMgr.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/auth/OfbizAuthenticationMgr.java?rev=759266&r1=759265&r2=759266&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/auth/OfbizAuthenticationMgr.java (original) +++ ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/auth/OfbizAuthenticationMgr.java Fri Mar 27 17:02:51 2009 @@ -68,7 +68,7 @@ } else { return false; } - + } return false; } Modified: ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/container/SharkContainer.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/container/SharkContainer.java?rev=759266&r1=759265&r2=759266&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/container/SharkContainer.java (original) +++ ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/container/SharkContainer.java Fri Mar 27 17:02:51 2009 @@ -65,7 +65,7 @@ protected String configFile = null; private SharkCORBAServer corbaServer = null; private Thread orbThread = null; - + /** * @see org.ofbiz.base.container.Container#init(java.lang.String[], java.lang.String) */ @@ -132,7 +132,7 @@ // set the Shark configuration Properties props = UtilProperties.getProperties("shark.properties"); Shark.configure(props); - + String java_home = System.getenv("JAVA_HOME"); if ((java_home == null) && (java_home.length() > 0)) { @@ -157,7 +157,7 @@ } else Debug.logError("OUT : Error in iiop host property", module); - + SharkContainer.shark = Shark.getInstance(); Debug.logInfo("Started Shark workflow service", module); Modified: ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/expression/BaseEntityCondExprBldr.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/expression/BaseEntityCondExprBldr.java?rev=759266&r1=759265&r2=759266&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/expression/BaseEntityCondExprBldr.java (original) +++ ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/expression/BaseEntityCondExprBldr.java Fri Mar 27 17:02:51 2009 @@ -144,7 +144,7 @@ protected synchronized void addLink(String entityAlias, String relEntityAlias, boolean opt, List keyMap) { this.viewLinks.add(new ViewLink(entityAlias, relEntityAlias, opt, keyMap)); } - + protected GenericDelegator getDelegator() { return SharkContainer.getDelegator(); } Modified: ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/instance/EntityPersistentMgr.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/instance/EntityPersistentMgr.java?rev=759266&r1=759265&r2=759266&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/instance/EntityPersistentMgr.java (original) +++ ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/instance/EntityPersistentMgr.java Fri Mar 27 17:02:51 2009 @@ -70,7 +70,7 @@ public static final String module = EntityPersistentMgr.class.getName(); protected CallbackUtilities callBackUtil = null; - + public void configure(CallbackUtilities callbackutilities) throws RootException { this.callBackUtil = callbackutilities; } @@ -121,7 +121,7 @@ public void persist(AssignmentPersistenceInterface assignmentpersistenceinterface, String s, SharkTransaction sharktransaction) throws PersistenceException { persist(assignmentpersistenceinterface, true ,sharktransaction); - + } public void persist(ProcessVariablePersistenceInterface processvariablepersistenceinterface, boolean flag, SharkTransaction sharktransaction) throws PersistenceException { @@ -233,7 +233,7 @@ } try { delegator.removeByAnd(org.ofbiz.shark.SharkConstants.WfActivity, UtilMisc.toMap(org.ofbiz.shark.SharkConstants.subFlowId, processId)); - + process.remove(); } catch (Exception e) { throw new PersistenceException(e); @@ -319,7 +319,7 @@ Debug.logInfo("Call : delete(ActivityVariablePersistenceInterface activityVariable, SharkTransaction trans)",module); } - + public List getProcessMgrsWhere(SharkTransaction trans, String sqlWhere) throws PersistenceException { StringTokenizer st = null; StringTokenizer strtoc = null; @@ -494,7 +494,7 @@ } protected List findFinishedProcesses(SharkTransaction trans, String packageId, String processDefId, String packageVer, Date finishedBefore) throws PersistenceException { - + GenericDelegator delegator = SharkContainer.getDelegator(); List finsihedStates = UtilMisc.toList("closed.completed", "closed.terminated", "closed.aborted"); List order = UtilMisc.toList(org.ofbiz.shark.SharkConstants.lastStateTime); @@ -647,7 +647,7 @@ if (at.getState().startsWith("closed")) { return new ArrayList(); } else { - + List createdList = getAllAssignmentsForActivity(activityId, trans); return createdList; } @@ -1019,7 +1019,7 @@ createdList.add(Process.getInstance(this, v)); } } - + return createdList; } public List getActivitiesWhere(SharkTransaction trans, String sqlWhere) throws PersistenceException { @@ -1062,7 +1062,7 @@ continue; } act_list = getAllActivitiesForProcess(ProcessId, trans); - + for(int i = 0; i < act_list.size(); i ++) { if ((state == null) && (defId != null)) { @@ -1159,7 +1159,7 @@ } return createdList; } - + public List getProcessVariables(String processId,List varList, SharkTransaction trans) throws PersistenceException { List createdList = new ArrayList(); List tmpList = null; Modified: ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/repository/EntityRepositoryMgr.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/repository/EntityRepositoryMgr.java?rev=759266&r1=759265&r2=759266&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/repository/EntityRepositoryMgr.java (original) +++ ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/repository/EntityRepositoryMgr.java Fri Mar 27 17:02:51 2009 @@ -212,7 +212,7 @@ List refs = null; try { refs = delegator.findByAnd(org.ofbiz.shark.SharkConstants.WfRepositoryRef, UtilMisc.toMap(org.ofbiz.shark.SharkConstants.refXpdlId, referredXPDLId)); - + } catch (GenericEntityException e) { throw new RepositoryException(e); } Modified: ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/requester/LoggingRequester.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/requester/LoggingRequester.java?rev=759266&r1=759265&r2=759266&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/requester/LoggingRequester.java (original) +++ ofbiz/trunk/specialpurpose/shark/src/org/ofbiz/shark/requester/LoggingRequester.java Fri Mar 27 17:02:51 2009 @@ -38,12 +38,12 @@ public static final String module = LoggingRequester.class.getName(); static GenericValue gv = null; - - + + public LoggingRequester() { super(gv); } - + // new requester public LoggingRequester(GenericValue userLogin) { super(userLogin); |
Free forum by Nabble | Edit this page |