Skip to content

Conversation

@irfandeen
Copy link

LogJob

LogJob (LJ) is a desktop app for managing job applications, optimized for use via a Command Line Interface (CLI). If you can type fast, LJ can get your job application management tasks done faster than traditional GUI apps.

@nus-se-bot nus-se-bot closed this Feb 21, 2025
@damithc damithc reopened this Feb 21, 2025
rchlai added a commit to rchlai/tp that referenced this pull request Mar 14, 2025
Ashertan256 pushed a commit to Ashertan256/tp that referenced this pull request Mar 18, 2025
Copy link

@sevenseasofbri sevenseasofbri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good job team! I think the code is well structured and follows good code quality practices for the most part. I have briefly gone over and added some comments. Let me know if you have any questions.

Comment on lines 13 to 15
public boolean isRunning() {
return true;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method always returns true, so how does it track state? If this is meant to represent what this command implies (i.e. if the command the current object contains means the application continues running) then i think you should name the function something else like shouldContinue or getNextRunState

Comment on lines 16 to 18
public boolean isRunning() {
return false;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same with this, this method always returns false...

}
}

private static void containsAllFlags(HashMap<Flag, List<String>> argMap, Flag... flags)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function name reads more like a boolean variable name. It does not accurately describe what the code is doing - which is checking for missing flags right. So maybe a better name would be checkMissingFlags

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same applies to containsNoDuplicateFlags

}
}

private void requireNonNullFile() throws StorageException {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not exactly an apt verb for this function name. Something like checkAndCreateNonNullFile or ensureFileExists would be better.


}

public void introMessage() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public void introMessage() {
public void printIntroMessage() {

System.out.println(Constants.LINE_BREAK);
}

public void exitMessage() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public void exitMessage() {
public void printExitMessage() {

zexueteh and others added 24 commits March 26, 2025 16:22
Add JUnit and Assertion for UI package
Fix LogJob logo in Readme.md
Refactor LogJob class into a Singleton to prevent erroneous instantiation
Fix storage bug when program exits unexpectedly
Extend JUnit tests to include more error paths for DeleteCommandTest
irfandeen and others added 30 commits April 8, 2025 13:25
fix Model links and find sequence diagram
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants