Correct Checkstyle violations

This commit is contained in:
Andrew Gaul 2014-08-31 20:03:49 -07:00
parent cd4ce6b192
commit 8d9850d8da
2 changed files with 5 additions and 2 deletions

View File

@ -20,7 +20,7 @@ package org.jclouds.chef.config;
/**
* 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 interface ChefProperties {
*/
public static final String CHEF_USE_OMNIBUS = "chef.use-omnibus";
private ChefProperties() {
throw new AssertionError("intentionally unimplemented");
}
}

View File

@ -128,7 +128,7 @@ public class BaseChefService implements ChefService {
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");
}