mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-03-06 11:29:30 +00:00
fix typo in Params::readInteger()
This commit is contained in:
parent
3c8e26f078
commit
49bc184877
@ -427,11 +427,11 @@ public class Params {
|
||||
return cliContext;
|
||||
}
|
||||
|
||||
private static int readInteger(String n, String v) {
|
||||
if (!Utilities.isInteger(v)) {
|
||||
throw new Error("Unable to read "+v+" provided for '"+n+"' - must be an integer");
|
||||
private static int readInteger(String name, String value) {
|
||||
if (!Utilities.isInteger(value)) {
|
||||
throw new Error("Unable to read "+value+" provided for '"+name+"' - must be an integer");
|
||||
}
|
||||
return Integer.parseInt(n);
|
||||
return Integer.parseInt(value);
|
||||
}
|
||||
|
||||
private static ValidatorWatchMode readWatchMode(String s) {
|
||||
@ -485,4 +485,4 @@ public class Params {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user