-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Code cleanups for java 17 * Code cleanups for java 17 * Code cleanups for java 17 * Code cleanups for java 17 * Code cleanups for java 17 * Code cleanups for java 17 * Code cleanups for java 17 * Code cleanups for java 17 * Code cleanups for java 17
- Loading branch information
Showing
71 changed files
with
536 additions
and
733 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 1 addition & 16 deletions
17
app/src/main/java/com/github/frimtec/android/pikettassist/domain/Calendar.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,5 @@ | ||
package com.github.frimtec.android.pikettassist.domain; | ||
|
||
public class Calendar { | ||
public record Calendar(int id, String name) { | ||
|
||
private final int id; | ||
private final String name; | ||
|
||
public Calendar(int id, String name) { | ||
this.id = id; | ||
this.name = name; | ||
} | ||
|
||
public int getId() { | ||
return id; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
} |
24 changes: 1 addition & 23 deletions
24
app/src/main/java/com/github/frimtec/android/pikettassist/domain/Contact.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,5 @@ | ||
package com.github.frimtec.android.pikettassist.domain; | ||
|
||
public class Contact { | ||
|
||
private final ContactReference reference; | ||
private final boolean valid; | ||
private final String name; | ||
|
||
public Contact(ContactReference reference, boolean valid, String name) { | ||
this.reference = reference; | ||
this.valid = valid; | ||
this.name = name; | ||
} | ||
|
||
public ContactReference getReference() { | ||
return this.reference; | ||
} | ||
|
||
public boolean isValid() { | ||
return valid; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
public record Contact(ContactReference reference, boolean valid, String name) { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.