Skip to content

Commit

Permalink
Change Nullable formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
crykn committed Jan 30, 2021
1 parent dca856e commit b2c1a91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions core/src/main/java/de/damios/guacamole/tuple/Pair.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@
*/
public class Pair<X, Y> {

@Nullable
public final X x;
@Nullable
public final Y y;
public final @Nullable X x;
public final @Nullable Y y;

public Pair(@Nullable X x, @Nullable Y y) {
this.x = x;
Expand Down
3 changes: 1 addition & 2 deletions core/src/main/java/de/damios/guacamole/tuple/Triple.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
*/
public class Triple<X, Y, Z> extends Pair<X, Y> {

@Nullable
public final Z z;
public final @Nullable Z z;

public Triple(@Nullable X x, @Nullable Y y, @Nullable Z z) {
super(x, y);
Expand Down

0 comments on commit b2c1a91

Please sign in to comment.