Correct Checkstyle violations
diff --git a/core/src/main/java/org/jclouds/chef/config/ChefProperties.java b/core/src/main/java/org/jclouds/chef/config/ChefProperties.java
index 211b5d6..affc9a3 100644
--- a/core/src/main/java/org/jclouds/chef/config/ChefProperties.java
+++ b/core/src/main/java/org/jclouds/chef/config/ChefProperties.java
@@ -20,7 +20,7 @@
/**
* Configuration properties and constants used in Chef connections.
*/
-public interface ChefProperties {
+public final class ChefProperties {
/**
* The name of the Chef logger.
@@ -107,4 +107,7 @@
*/
public static final String CHEF_USE_OMNIBUS = "chef.use-omnibus";
+ private ChefProperties() {
+ throw new AssertionError("intentionally unimplemented");
+ }
}
diff --git a/core/src/main/java/org/jclouds/chef/internal/BaseChefService.java b/core/src/main/java/org/jclouds/chef/internal/BaseChefService.java
index 1a3b153..3e5769b 100644
--- a/core/src/main/java/org/jclouds/chef/internal/BaseChefService.java
+++ b/core/src/main/java/org/jclouds/chef/internal/BaseChefService.java
@@ -128,7 +128,7 @@
this.runListForGroup = checkNotNull(runListForGroup, "runListForGroup");
this.listEnvironments = checkNotNull(listEnvironments, "listEnvironments");
this.listNodesInEnvironment = checkNotNull(listNodesInEnvironment, "listNodesInEnvironment");
- this.listCookbookVersionsInEnvironment = checkNotNull(listCookbookVersionsInEnvironment,"listCookbookVersionsInEnvironment");
+ this.listCookbookVersionsInEnvironment = checkNotNull(listCookbookVersionsInEnvironment, "listCookbookVersionsInEnvironment");
this.json = checkNotNull(json, "json");
this.crypto = checkNotNull(crypto, "crypto");
}