From d5f93118618acb5439dcbeea7c20e044ccbf0e28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Koz=C5=82owski?= Date: Sun, 4 Nov 2018 17:02:02 +0100 Subject: [PATCH] Remove whitespace --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6c340120..ea89fd62 100644 --- a/README.md +++ b/README.md @@ -764,7 +764,7 @@ If you have trouble with your configuration, some useful tips. and you're sure that key is defined in your config file, they might appear e.g. when you're loading configuration from a thread that's not the JVM's main thread. Try passing the `ClassLoader` in manually - e.g. with `ConfigFactory.load(getClass().getClassLoader())` - or setting the context class loader. + or setting the context class loader. If you don't pass one, Lightbend Config uses the calling thread's `contextClassLoader`, and in some cases, it may not have your configuration files in its classpath, so loading the config on that thread can yield unexpected, erroneous results.