From ad9f5e6a19ae5e1210d0fbca9a725e16ca0da56f Mon Sep 17 00:00:00 2001 From: Hugh Lee Date: Wed, 19 Aug 2015 18:59:31 +0900 Subject: [PATCH] fixed comment ClassLoader.getResourceAsStream() and Class.getResourceAsStream() are different. Refer to http://stackoverflow.com/a/1464366/524588 --- src/main/java/com/zaxxer/hikari/HikariConfig.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/zaxxer/hikari/HikariConfig.java b/src/main/java/com/zaxxer/hikari/HikariConfig.java index a32e4be7..94f79c11 100644 --- a/src/main/java/com/zaxxer/hikari/HikariConfig.java +++ b/src/main/java/com/zaxxer/hikari/HikariConfig.java @@ -129,8 +129,8 @@ public class HikariConfig implements HikariConfigMXBean /** * Construct a HikariConfig from the specified property file name. propertyFileName - * will first be treated as a path in the file-system, and if that fails the - * ClassLoader.getResourceAsStream(propertyFileName) will be tried. + * will first be treated as a path in the file-system, and if that fails the + * Class.getResourceAsStream(propertyFileName) will be tried. * * @param propertyFileName the name of the property file */