Skip to content

Commit

Permalink
Fix MessageIndex error in interval workouts
Browse files Browse the repository at this point in the history
  • Loading branch information
jpickup committed Oct 3, 2017
1 parent 0f2e4ef commit ec14934
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ public List<WorkoutStepMesg> generateWorkoutSteps() {
repeatStep.setDurationValue((long)startIntervalIndex);
repeatStep.setTargetType(WktStepTarget.INVALID);
repeatStep.setTargetValue((long)intervalCount);
repeatStep.setMessageIndex(stepCount);
repeatStep.setMessageIndex(generateWorkoutStepIndex());
result.add(repeatStep);
stepCount++;

return result;
}
Expand Down
2 changes: 1 addition & 1 deletion src/com/johnpickup/gui/SwingMessageAppender.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import javax.swing.*;

/**
* Siply log4j appender that appends the message textArea to the Swing textArea area
* Simple log4j appender that appends the message text to the Swing textArea
*/
@RequiredArgsConstructor
public class SwingMessageAppender extends AppenderSkeleton {
Expand Down

0 comments on commit ec14934

Please sign in to comment.