Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
joniles committed Aug 22, 2024
1 parent 192427f commit 07ac4b8
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 9 deletions.
7 changes: 3 additions & 4 deletions src/main/java/net/sf/mpxj/ManuallyScheduledTaskCalendar.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public ManuallyScheduledTaskCalendar(ProjectCalendar calendar, ResourceAssignmen
}
}
}

if (date.equals(m_assignmentEndDate))
{
LocalTime assignmentEndTime = m_assignment.getFinish().toLocalTime();
Expand Down Expand Up @@ -140,14 +140,13 @@ public ManuallyScheduledTaskCalendar(ProjectCalendar calendar, ResourceAssignmen
private final ResourceAssignment m_assignment;
private final LocalDate m_assignmentStartDate;
private final LocalDate m_assignmentEndDate;

private static final List<DayOfWeek> WEEK_DAYS = Arrays.asList(
DayOfWeek.TUESDAY,
DayOfWeek.WEDNESDAY,
DayOfWeek.THURSDAY,
DayOfWeek.FRIDAY,
DayOfWeek.SATURDAY,
DayOfWeek.SUNDAY,
DayOfWeek.MONDAY
);
DayOfWeek.MONDAY);
}
2 changes: 1 addition & 1 deletion src/main/java/net/sf/mpxj/UserDefinedField.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public class UserDefinedField implements FieldType
private UserDefinedField(Builder builder)
{
m_uniqueID = builder.m_sequenceProvider.getUniqueIdObjectSequence(UserDefinedField.class).syncOrGetNext(builder.m_uniqueID);
m_internalName = builder.m_internalName == null || builder.m_internalName.isEmpty() ? builder.m_internalName = "user_field_" + m_uniqueID : builder.m_internalName;
m_internalName = builder.m_internalName == null || builder.m_internalName.isEmpty() ? builder.m_internalName = "user_field_" + m_uniqueID : builder.m_internalName;
m_externalName = builder.m_externalName;
m_fieldTypeClass = builder.m_fieldTypeClass;
m_summaryTaskOnly = builder.m_summaryTaskOnly;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/sf/mpxj/mpp/CustomFieldReader12.java
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public void process()
offset += blockSize;
}

aliasMap.forEach((k,v) -> m_fields.getOrCreate(FieldTypeHelper.getInstance(m_file, k.intValue())).setAlias(v));
aliasMap.forEach((k, v) -> m_fields.getOrCreate(FieldTypeHelper.getInstance(m_file, k.intValue())).setAlias(v));
}

private final ProjectFile m_file;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/sf/mpxj/mpp/CustomFieldReader14.java
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public void process()
offset += 88;
}

aliasMap.forEach((k,v) -> m_fields.getOrCreate(FieldTypeHelper.getInstance(m_file, k.intValue())).setAlias(v));
aliasMap.forEach((k, v) -> m_fields.getOrCreate(FieldTypeHelper.getInstance(m_file, k.intValue())).setAlias(v));
}

private final ProjectFile m_file;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,6 @@ private ProjectFile read(APIBusinessObjects apibo, Object projectObject)
activityExpenseType = project.getActivityExpense();
}


Map<Integer, Notes> wbsNotes = getWbsNotes(projectNotes);
m_projectFile.getProjectProperties().setNotesObject(wbsNotes.get(Integer.valueOf(0)));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private void testSegments(ProjectFile file)
* Common method used to test timephased assignment segments against expected data.
*
* @param assignment parent resource assignment
* @param assignmentIndex index number of current assignment
* @param assignmentIndex index number of current assignment
* @param startDate start date for segments
* @param segmentCount number of segments to create
* @param units units of duration for each segment
Expand Down

0 comments on commit 07ac4b8

Please sign in to comment.