From 83ceb90a895107b1f261e2a9af319d4c1cf4194c Mon Sep 17 00:00:00 2001 From: KAWACHI Takashi Date: Tue, 3 Feb 2015 13:50:34 +0900 Subject: [PATCH] Suggest h when failed to parse duration --- config/src/main/java/com/typesafe/config/impl/SimpleConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/src/main/java/com/typesafe/config/impl/SimpleConfig.java b/config/src/main/java/com/typesafe/config/impl/SimpleConfig.java index 17e1e6a4..fb6c7053 100644 --- a/config/src/main/java/com/typesafe/config/impl/SimpleConfig.java +++ b/config/src/main/java/com/typesafe/config/impl/SimpleConfig.java @@ -533,7 +533,7 @@ final class SimpleConfig implements Config, MergeableValue, Serializable { throw new ConfigException.BadValue(originForException, pathForException, "Could not parse time unit '" + originalUnitString - + "' (try ns, us, ms, s, m, d)"); + + "' (try ns, us, ms, s, m, h, d)"); } try {