Skip to content

Commit

Permalink
Keep nullable annotation close to return type
Browse files Browse the repository at this point in the history
  • Loading branch information
ljacqu committed Oct 5, 2024
1 parent cd7adc1 commit 7fc77a3
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/main/java/ch/jalu/typeresolver/numbers/ValueRangeImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,26 +50,22 @@ public ValueRangeImpl(@Nullable T min, @Nullable T max,
}

@Override
@Nullable
public BigDecimal getMinValue() {
public @Nullable BigDecimal getMinValue() {
return min;
}

@Override
@Nullable
public BigDecimal getMaxValue() {
public @Nullable BigDecimal getMaxValue() {
return max;
}

@Override
@Nullable
public T getMinInOwnType() {
public @Nullable T getMinInOwnType() {
return minOwnType;
}

@Override
@Nullable
public T getMaxInOwnType() {
public @Nullable T getMaxInOwnType() {
return maxOwnType;
}

Expand Down

0 comments on commit 7fc77a3

Please sign in to comment.