Skip to content

Commit 2768c5c

Browse files
authored
Merge pull request #992 from AdoptOpenJDK/fix_property_warning
fix warning for a config property validation
2 parents 78d2d49 + 0eae765 commit 2768c5c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/src/main/java/net/sourceforge/jnlp/config/Defaults.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,12 @@ public class Defaults {
597597
ConfigurationConstants.KEY_HTTPCONNECTION_READ_TIMEOUT,
598598
String.valueOf(10000),
599599
ValidatorFactory.createRangedIntegerValidator(0, Integer.MAX_VALUE)
600+
),
601+
602+
Setting.createDefault(
603+
ConfigurationConstants.KEY_HTTPCONNECTION_REQUEST_INTERVAL,
604+
String.valueOf(0),
605+
ValidatorFactory.createRangedIntegerValidator(0, Integer.MAX_VALUE)
600606
)
601607
);
602608

0 commit comments

Comments
 (0)