Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Conversation

@Salmela
Copy link
Contributor

@Salmela Salmela commented Jul 10, 2016

Some small refactoring. ;-)

I will continue this work after about two weeks...

@coveralls
Copy link

Coverage Status

Coverage increased (+0.7%) to 83.028% when pulling 08388c6 on rename-classes-aleksi into 51fc19f on master.

private String getDeadline(Exercise exercise) {
String deadline = exercise.getDeadline();
if (deadline == null) {
return "not available";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I accidentally removed this if block

@coveralls
Copy link

Coverage Status

Coverage increased (+0.7%) to 83.028% when pulling 441c95b on rename-classes-aleksi into 51fc19f on master.

private void printExerciseShort(Exercise exercise) {
io.println("Exercise: " + exercise.getName());
io.println("Deadline: " + getDeadline(exercise));
io.println("Deadline: " + exercise.getDeadlineDate());
Copy link
Contributor Author

@Salmela Salmela Jul 10, 2016

Choose a reason for hiding this comment

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

TODO
Check if DeadlineDate is null and print "none" if it is null.
And create unit test for it.

@Salmela
Copy link
Contributor Author

Salmela commented Jul 10, 2016

I don't mind if this pull request is merged to master. I will then just create new branch after my trip.

@jclc
Copy link
Contributor

jclc commented Jul 10, 2016

There is no rush to merge this massive refactoring yet, since it's not currently actively developed.

@jclc jclc merged commit e4c1698 into master Jul 18, 2016
@jclc jclc removed the in progress label Jul 18, 2016
@jamo jamo deleted the rename-classes-aleksi branch August 13, 2016 11:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants