Author: doogie
Date: Fri Mar 27 17:02:44 2009
New Revision: 759265
URL:
http://svn.apache.org/viewvc?rev=759265&view=revLog:
Fix lines that *only* have whitespace.
Modified:
ofbiz/trunk/specialpurpose/projectmgr/src/org/ofbiz/project/Various.java
Modified: ofbiz/trunk/specialpurpose/projectmgr/src/org/ofbiz/project/Various.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/src/org/ofbiz/project/Various.java?rev=759265&r1=759264&r2=759265&view=diff==============================================================================
--- ofbiz/trunk/specialpurpose/projectmgr/src/org/ofbiz/project/Various.java (original)
+++ ofbiz/trunk/specialpurpose/projectmgr/src/org/ofbiz/project/Various.java Fri Mar 27 17:02:44 2009
@@ -39,7 +39,7 @@
public static void setDatesFollowingTasks(GenericValue task) {
-
+
try {
List assocs = task.getRelated("FromWorkEffortAssoc");
if (UtilValidate.isNotEmpty(assocs)) {
@@ -61,7 +61,7 @@
Debug.logError("Could not updte task: " + e.getMessage(), module);
}
}
-
+
public static Timestamp calculateCompletionDate(GenericValue task, Timestamp startDate) {
Double plannedHours = 0.00;
try {
@@ -84,7 +84,7 @@
if (plannedHours == 0.00) {
plannedHours = new Double("24.00"); // default length of task is 3 days.
}
-
+
// only add days which are not saturday(7) or sunday(1)
int days = plannedHours.intValue() / 8;
while (days > 0) {
@@ -96,7 +96,7 @@
}
return startDate;
}
-
+
public static double calculateActualHours(GenericDelegator delegator, String timesheetId) {
List actuals = FastList.newInstance();
double actualHours = 0.00;