You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by na...@apache.org on 2014/10/10 15:14:10 UTC

[44/50] [abbrv] git commit: Correct Checkstyle violations

Correct Checkstyle violations


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

Branch: refs/heads/master
Commit: 8d9850d8da84744257df8f5d9241885a08ed253c
Parents: cd4ce6b
Author: Andrew Gaul <ga...@apache.org>
Authored: Sun Aug 31 20:03:49 2014 -0700
Committer: Andrew Gaul <ga...@apache.org>
Committed: Sun Aug 31 20:04:03 2014 -0700

----------------------------------------------------------------------
 .../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/blob/8d9850d8/apis/chef/src/main/java/org/jclouds/chef/config/ChefProperties.java
----------------------------------------------------------------------
diff --git a/apis/chef/src/main/java/org/jclouds/chef/config/ChefProperties.java b/apis/chef/src/main/java/org/jclouds/chef/config/ChefProperties.java
index 211b5d6..affc9a3 100644
--- a/apis/chef/src/main/java/org/jclouds/chef/config/ChefProperties.java
+++ b/apis/chef/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/blob/8d9850d8/apis/chef/src/main/java/org/jclouds/chef/internal/BaseChefService.java
----------------------------------------------------------------------
diff --git a/apis/chef/src/main/java/org/jclouds/chef/internal/BaseChefService.java b/apis/chef/src/main/java/org/jclouds/chef/internal/BaseChefService.java
index 1a3b153..3e5769b 100644
--- a/apis/chef/src/main/java/org/jclouds/chef/internal/BaseChefService.java
+++ b/apis/chef/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");
    }