Skip to content

Commit

Permalink
Inspections
Browse files Browse the repository at this point in the history
  • Loading branch information
joniles committed Sep 16, 2024
1 parent 99c20ed commit 7761d1b
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/sf/mpxj/ActivityCode.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public void addValue(ActivityCodeValue value)
/**
* Retrieve a value belonging to this activity code using its unique ID.
*
* @param id actuvity code value unique ID
* @param id activity code value unique ID
* @return ActivityCodeValue instance or null
*/
public ActivityCodeValue getValueByUniqueID(Integer id)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/sf/mpxj/NotesTopic.java
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public Builder availableForWBS(boolean value)
}

/**
* Add the availabale for project flag.
* Add the available for project flag.
*
* @param value available for project flag
* @return builder
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/sf/mpxj/asta/AstaReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ private void populateTask(Row row, Task task)
//BEEN_SPLIT
//INTERRUPTIBLE
//HOLDING_PIN
///ACTUAL_DURATIONTYPF
//ACTUAL_DURATIONTYPF
//ACTUAL_DURATIONELA_MONTHS
task.setActualDuration(row.getDuration("ACTUAL_DURATIONHOURS"));
task.setEarlyStart(row.getDate("EARLY_START_DATE"));
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/sf/mpxj/common/LocalDateHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static LocalDateTime getLocalDateTime(LocalDate date)
}

/**
* Convert a LocalDateTime instance to a Localdate instance, handling null values.
* Convert a LocalDateTime instance to a LocalDate instance, handling null values.
*
* @param date LocalDateTimeInstance
* @return LocalDate instance or null
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/sf/mpxj/openplan/Code.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public Code(String id, String promptText, String description, List<CodeValue> va
}

/**
* Rerieve the code ID.
* Retrieve the code ID.
*
* @return code ID
*/
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/sf/mpxj/openplan/DirectoryReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
abstract class DirectoryReader
{
/**
* Retriueve a named directory entry.
* Retrieve a named directory entry.
*
* @param root parent directory
* @param name directory name
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/sf/mpxj/openplan/RelationReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class RelationReader
* Constructor.
*
* @param root parent directory
* @param file projcet file
* @param file project file
*/
public RelationReader(DirectoryEntry root, ProjectFile file)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ private void writeShifts()
List<ShiftType> shifts = m_apibo.getShift();
for (Shift shift : m_projectFile.getShifts())
{
ShiftType st = m_factory.createShiftType();;
ShiftType st = m_factory.createShiftType();
st.setObjectId(shift.getUniqueID());
st.setName(shift.getName());

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/sf/mpxj/primavera/WorkHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
class WorkHelper
{
/**
* Summ a number of work values, ignoring null values.
* Sum a number of work values, ignoring null values.
*
* @param values values to sum
* @return result
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

/**
* This a test for reading timephased work of manual scheduled tasks from an MPP file.
* It validates the data against JSON withint the Note field for each assignment.
* It validates the data against JSON within the Note field for each assignment.
* The JSON is created by a VBA inside the MPP file.
*/
public class TimephasedWorkSegmentManualOffsetTest
Expand Down

0 comments on commit 7761d1b

Please sign in to comment.