Skip to content

Commit

Permalink
Upgrade alles
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperancinha committed Mar 19, 2024
1 parent ebfe037 commit f9c9817
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class GoldenGirlsLauncher {

GoldenGirlsJavaRunner.main(emptyArray())
GoldenGirlsLombokRunner.main(emptyArray())
GoldenGirlsRecordRunner.main(emptyArray())
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package org.jesperancinha.ktd.crums3.goldengirls.javaversion;

import lombok.val;

public class GoldenGirlsRecordRunner {
public static void main(String[] args) {
var goldenGirlsRecord = new GoldenGirlsRecord(
"Dorothy Zbornak",
"Rose Nylund",
"Blanche Devereaux",
"Sophia Petrillo"
);
System.out.println(goldenGirlsRecord);
alternative();
}

public static void alternative(){
val goldenGirlsRecord = new GoldenGirlsRecord(
"Dorothy Zbornak",
"Rose Nylund",
"Blanche Devereaux",
"Sophia Petrillo"
);
val goldenGirlsRecordSimple = new GoldenGirlsRecord();
System.out.println(goldenGirlsRecord);
System.out.println(goldenGirlsRecord);
System.out.println(goldenGirlsRecordSimple);
}
}

0 comments on commit f9c9817

Please sign in to comment.