File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/main/java/de/doubleslash/keeptime/view Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1919import static de .doubleslash .keeptime .view .ReportController .NOTE_DELIMETER ;
2020
2121import java .lang .invoke .MethodHandles ;
22+ import java .util .ArrayList ;
23+ import java .util .List ;
2224
2325import org .slf4j .Logger ;
2426import org .slf4j .LoggerFactory ;
@@ -40,15 +42,13 @@ public ProjectReport(final int size) {
4042 }
4143
4244 public void appendToWorkNotes (final String currentWorkNote ) {
43- this .numberOfNotes ++ ;
44- if (!currentWorkNote .isEmpty ()) {
45- if (this .numberOfNotes > 1 ) {
45+ this .sb . append ( currentWorkNote . trim ()) ;
46+ if (!currentWorkNote .isEmpty ()){
47+ if (this .size > 1 ) {
4648 this .sb .append (NOTE_DELIMETER );
4749 }
48- this .sb .append (currentWorkNote .trim ());
49- } else {
50- LOG .debug ("Skipping empty note." );
5150 }
51+ this .numberOfNotes ++;
5252 }
5353
5454 public int getNumberOfNotes () {
You can’t perform that action at this time.
0 commit comments