summaryrefslogtreecommitdiffstats
path: root/infra
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-08-13 07:36:22 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-08-13 07:36:24 +0200
commit3278424a38c8dbb2c78efd172d89d44b4e74f283 (patch)
treec79a37b6a47835a8fdf49b9b7c6ad08724de531a /infra
parent3f83dcd99493cb796b1d341737cea23ce9d2c093 (diff)
Hide ResourceLoader.ResourceLoaderIml's constructor
Fixes issue reported by Sonar. Change-Id: Ibf9bc89ee09f151a56766213714829abdb7012bb Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'infra')
-rw-r--r--infra/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/ResourceLoader.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/infra/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/ResourceLoader.java b/infra/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/ResourceLoader.java
index 88428e8..99aa451 100644
--- a/infra/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/ResourceLoader.java
+++ b/infra/minimal-distribution-core/src/main/java/io/fd/honeycomb/infra/distro/schema/ResourceLoader.java
@@ -58,6 +58,10 @@ public interface ResourceLoader {
final class ResourceLoaderIml {
+ private ResourceLoaderIml() {
+ throw new UnsupportedOperationException();
+ }
+
private static Set<String> readFromFolder(final URL folderUrl) {
final File folder = new File(folderUrl.getPath());
final File[] files = checkNotNull(folder.listFiles(), "No files present on path %s", folderUrl);