Skip to content

Commit

Permalink
Make the default min value of ranges 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor159 committed Jan 6, 2019
1 parent a7946a3 commit e2e6ab5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
@Documented
public @interface Range
{
int min() default Integer.MIN_VALUE;
int min() default 0;

int max() default Integer.MAX_VALUE;
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
public interface GpuPluginConfig extends Config
{
@Range(
min = 0,
max = MAX_DISTANCE
)
@ConfigItem(
Expand Down

0 comments on commit e2e6ab5

Please sign in to comment.