Repository: jclouds-chef
Updated Branches:
  refs/heads/master 3a4a229fe -> cbb4e6a75


Correct Checkstyle violations


Project: http://git-wip-us.apache.org/repos/asf/jclouds-chef/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds-chef/commit/cbb4e6a7
Tree: http://git-wip-us.apache.org/repos/asf/jclouds-chef/tree/cbb4e6a7
Diff: http://git-wip-us.apache.org/repos/asf/jclouds-chef/diff/cbb4e6a7

Branch: refs/heads/master
Commit: cbb4e6a75019aa46de295082f2e103089c0e1cda
Parents: 3a4a229
Author: Andrew Gaul <[email protected]>
Authored: Sun Aug 31 20:03:49 2014 -0700
Committer: Andrew Gaul <[email protected]>
Committed: Sun Aug 31 20:04:03 2014 -0700

----------------------------------------------------------------------
 core/src/main/java/org/jclouds/chef/config/ChefProperties.java  | 5 ++++-
 .../main/java/org/jclouds/chef/internal/BaseChefService.java    | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds-chef/blob/cbb4e6a7/core/src/main/java/org/jclouds/chef/config/ChefProperties.java
----------------------------------------------------------------------
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 @@ 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");
+   }
 }

http://git-wip-us.apache.org/repos/asf/jclouds-chef/blob/cbb4e6a7/core/src/main/java/org/jclouds/chef/internal/BaseChefService.java
----------------------------------------------------------------------
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 @@ 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");
    }

Reply via email to