Update config/src/main/java/com/typesafe/config/impl/SimpleConfig.java

Co-Authored-By: Havoc Pennington <hp@pobox.com>
This commit is contained in:
Mike 2020-01-17 23:29:29 +03:00 committed by GitHub
parent b29fdd4a8b
commit 89afa77574
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -285,7 +285,7 @@ final class SimpleConfig implements Config, MergeableValue, Serializable {
public Long getBytes(String path) {
BigInteger bytes = getBytesBigInteger(path);
ConfigValue v = find(path, ConfigValueType.STRING);
return toLong(bytes,v.origin(), path);
return toLong(bytes, v.origin(), path);
}
private BigInteger getBytesBigInteger(String path) {