Updated Branches: refs/heads/master a76209f09 -> f89d025cb
Remove public keyword from interface methods. Project: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/commit/f89d025c Tree: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/tree/f89d025c Diff: http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/diff/f89d025c Branch: refs/heads/master Commit: f89d025cb1388ac87ee9ce58e588de3d8534d715 Parents: a76209f Author: Noorul Islam K M <[email protected]> Authored: Wed Oct 30 17:44:14 2013 +0530 Committer: Andrew Gaul <[email protected]> Committed: Wed Oct 30 08:31:34 2013 -0700 ---------------------------------------------------------------------- .../chef/strategy/CleanupStaleNodesAndClients.java | 2 +- .../CreateNodeAndPopulateAutomaticAttributes.java | 4 ++-- .../jclouds/chef/strategy/DeleteAllClientsInList.java | 4 ++-- .../jclouds/chef/strategy/DeleteAllNodesInList.java | 4 ++-- .../java/org/jclouds/chef/strategy/ListClients.java | 12 ++++++------ .../jclouds/chef/strategy/ListCookbookVersions.java | 13 ++++++------- .../org/jclouds/chef/strategy/ListEnvironments.java | 13 ++++++------- .../main/java/org/jclouds/chef/strategy/ListNodes.java | 12 ++++++------ .../jclouds/chef/strategy/ListNodesInEnvironment.java | 12 ++++++------ .../chef/strategy/UpdateAutomaticAttributesOnNode.java | 2 +- 10 files changed, 38 insertions(+), 40 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/blob/f89d025c/core/src/main/java/org/jclouds/chef/strategy/CleanupStaleNodesAndClients.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/jclouds/chef/strategy/CleanupStaleNodesAndClients.java b/core/src/main/java/org/jclouds/chef/strategy/CleanupStaleNodesAndClients.java index 3d32f83..077da30 100644 --- a/core/src/main/java/org/jclouds/chef/strategy/CleanupStaleNodesAndClients.java +++ b/core/src/main/java/org/jclouds/chef/strategy/CleanupStaleNodesAndClients.java @@ -29,6 +29,6 @@ import com.google.inject.ImplementedBy; @ImplementedBy(CleanupStaleNodesAndClientsImpl.class) public interface CleanupStaleNodesAndClients { - public void execute(String prefix, int secondsStale); + void execute(String prefix, int secondsStale); } http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/blob/f89d025c/core/src/main/java/org/jclouds/chef/strategy/CreateNodeAndPopulateAutomaticAttributes.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/jclouds/chef/strategy/CreateNodeAndPopulateAutomaticAttributes.java b/core/src/main/java/org/jclouds/chef/strategy/CreateNodeAndPopulateAutomaticAttributes.java index 9d48ae9..070aaa3 100644 --- a/core/src/main/java/org/jclouds/chef/strategy/CreateNodeAndPopulateAutomaticAttributes.java +++ b/core/src/main/java/org/jclouds/chef/strategy/CreateNodeAndPopulateAutomaticAttributes.java @@ -29,7 +29,7 @@ import com.google.inject.ImplementedBy; */ @ImplementedBy(CreateNodeAndPopulateAutomaticAttributesImpl.class) public interface CreateNodeAndPopulateAutomaticAttributes { - public Node execute(Node node); + Node execute(Node node); - public Node execute(String nodeName, Iterable<String> runList); + Node execute(String nodeName, Iterable<String> runList); } http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/blob/f89d025c/core/src/main/java/org/jclouds/chef/strategy/DeleteAllClientsInList.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/jclouds/chef/strategy/DeleteAllClientsInList.java b/core/src/main/java/org/jclouds/chef/strategy/DeleteAllClientsInList.java index 3db24f8..0fa54c0 100644 --- a/core/src/main/java/org/jclouds/chef/strategy/DeleteAllClientsInList.java +++ b/core/src/main/java/org/jclouds/chef/strategy/DeleteAllClientsInList.java @@ -30,8 +30,8 @@ import com.google.inject.ImplementedBy; @ImplementedBy(DeleteAllClientsInListImpl.class) public interface DeleteAllClientsInList { - public void execute(Iterable<String> names); + void execute(Iterable<String> names); - public void execute(ListeningExecutorService executor, Iterable<String> names); + void execute(ListeningExecutorService executor, Iterable<String> names); } http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/blob/f89d025c/core/src/main/java/org/jclouds/chef/strategy/DeleteAllNodesInList.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/jclouds/chef/strategy/DeleteAllNodesInList.java b/core/src/main/java/org/jclouds/chef/strategy/DeleteAllNodesInList.java index d1fc8cf..16a196e 100644 --- a/core/src/main/java/org/jclouds/chef/strategy/DeleteAllNodesInList.java +++ b/core/src/main/java/org/jclouds/chef/strategy/DeleteAllNodesInList.java @@ -29,8 +29,8 @@ import com.google.inject.ImplementedBy; @ImplementedBy(DeleteAllNodesInListImpl.class) public interface DeleteAllNodesInList { - public void execute(Iterable<String> names); + void execute(Iterable<String> names); - public void execute(ListeningExecutorService executor, Iterable<String> names); + void execute(ListeningExecutorService executor, Iterable<String> names); } http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/blob/f89d025c/core/src/main/java/org/jclouds/chef/strategy/ListClients.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/jclouds/chef/strategy/ListClients.java b/core/src/main/java/org/jclouds/chef/strategy/ListClients.java index 0985f69..18b7c13 100644 --- a/core/src/main/java/org/jclouds/chef/strategy/ListClients.java +++ b/core/src/main/java/org/jclouds/chef/strategy/ListClients.java @@ -31,15 +31,15 @@ import com.google.inject.ImplementedBy; @ImplementedBy(ListClientsImpl.class) public interface ListClients { - public Iterable<? extends Client> execute(); + Iterable<? extends Client> execute(); - public Iterable<? extends Client> execute(Predicate<String> clientNameSelector); + Iterable<? extends Client> execute(Predicate<String> clientNameSelector); - public Iterable<? extends Client> execute(Iterable<String> toGet); + Iterable<? extends Client> execute(Iterable<String> toGet); - public Iterable<? extends Client> execute(ListeningExecutorService executor); + Iterable<? extends Client> execute(ListeningExecutorService executor); - public Iterable<? extends Client> execute(ListeningExecutorService executor, Predicate<String> clientNameSelector); + Iterable<? extends Client> execute(ListeningExecutorService executor, Predicate<String> clientNameSelector); - public Iterable<? extends Client> execute(ListeningExecutorService executor, Iterable<String> toGet); + Iterable<? extends Client> execute(ListeningExecutorService executor, Iterable<String> toGet); } http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/blob/f89d025c/core/src/main/java/org/jclouds/chef/strategy/ListCookbookVersions.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/jclouds/chef/strategy/ListCookbookVersions.java b/core/src/main/java/org/jclouds/chef/strategy/ListCookbookVersions.java index f30e199..5987de0 100644 --- a/core/src/main/java/org/jclouds/chef/strategy/ListCookbookVersions.java +++ b/core/src/main/java/org/jclouds/chef/strategy/ListCookbookVersions.java @@ -31,16 +31,15 @@ import com.google.inject.ImplementedBy; @ImplementedBy(ListCookbookVersionsImpl.class) public interface ListCookbookVersions { - public Iterable<? extends CookbookVersion> execute(); + Iterable<? extends CookbookVersion> execute(); - public Iterable<? extends CookbookVersion> execute(Predicate<String> cookbookNameSelector); + Iterable<? extends CookbookVersion> execute(Predicate<String> cookbookNameSelector); - public Iterable<? extends CookbookVersion> execute(Iterable<String> cookbookNames); + Iterable<? extends CookbookVersion> execute(Iterable<String> cookbookNames); - public Iterable<? extends CookbookVersion> execute(ListeningExecutorService executor); + Iterable<? extends CookbookVersion> execute(ListeningExecutorService executor); - public Iterable<? extends CookbookVersion> execute(ListeningExecutorService executor, - Predicate<String> cookbookNameSelector); + Iterable<? extends CookbookVersion> execute(ListeningExecutorService executor, Predicate<String> cookbookNameSelector); - public Iterable<? extends CookbookVersion> execute(ListeningExecutorService executor, Iterable<String> cookbookNames); + Iterable<? extends CookbookVersion> execute(ListeningExecutorService executor, Iterable<String> cookbookNames); } http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/blob/f89d025c/core/src/main/java/org/jclouds/chef/strategy/ListEnvironments.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/jclouds/chef/strategy/ListEnvironments.java b/core/src/main/java/org/jclouds/chef/strategy/ListEnvironments.java index a3c9764..6dc4aa3 100644 --- a/core/src/main/java/org/jclouds/chef/strategy/ListEnvironments.java +++ b/core/src/main/java/org/jclouds/chef/strategy/ListEnvironments.java @@ -26,16 +26,15 @@ import com.google.inject.ImplementedBy; @ImplementedBy(ListEnvironmentsImpl.class) public interface ListEnvironments { - public Iterable<? extends Environment> execute(); + Iterable<? extends Environment> execute(); - public Iterable<? extends Environment> execute(Predicate<String> environmentNameSelector); + Iterable<? extends Environment> execute(Predicate<String> environmentNameSelector); - public Iterable<? extends Environment> execute(Iterable<String> toGet); + Iterable<? extends Environment> execute(Iterable<String> toGet); - public Iterable<? extends Environment> execute(ListeningExecutorService executor); + Iterable<? extends Environment> execute(ListeningExecutorService executor); - public Iterable<? extends Environment> execute(ListeningExecutorService executor, - Predicate<String> environmentNameSelector); + Iterable<? extends Environment> execute(ListeningExecutorService executor, Predicate<String> environmentNameSelector); - public Iterable<? extends Environment> execute(ListeningExecutorService executor, Iterable<String> toGet); + Iterable<? extends Environment> execute(ListeningExecutorService executor, Iterable<String> toGet); } http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/blob/f89d025c/core/src/main/java/org/jclouds/chef/strategy/ListNodes.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/jclouds/chef/strategy/ListNodes.java b/core/src/main/java/org/jclouds/chef/strategy/ListNodes.java index 15fda81..8790456 100644 --- a/core/src/main/java/org/jclouds/chef/strategy/ListNodes.java +++ b/core/src/main/java/org/jclouds/chef/strategy/ListNodes.java @@ -31,15 +31,15 @@ import com.google.inject.ImplementedBy; @ImplementedBy(ListNodesImpl.class) public interface ListNodes { - public Iterable<? extends Node> execute(); + Iterable<? extends Node> execute(); - public Iterable<? extends Node> execute(Predicate<String> nodeNameSelector); + Iterable<? extends Node> execute(Predicate<String> nodeNameSelector); - public Iterable<? extends Node> execute(Iterable<String> toGet); + Iterable<? extends Node> execute(Iterable<String> toGet); - public Iterable<? extends Node> execute(ListeningExecutorService executor); + Iterable<? extends Node> execute(ListeningExecutorService executor); - public Iterable<? extends Node> execute(ListeningExecutorService executor, Predicate<String> nodeNameSelector); + Iterable<? extends Node> execute(ListeningExecutorService executor, Predicate<String> nodeNameSelector); - public Iterable<? extends Node> execute(ListeningExecutorService executor, Iterable<String> toGet); + Iterable<? extends Node> execute(ListeningExecutorService executor, Iterable<String> toGet); } http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/blob/f89d025c/core/src/main/java/org/jclouds/chef/strategy/ListNodesInEnvironment.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/jclouds/chef/strategy/ListNodesInEnvironment.java b/core/src/main/java/org/jclouds/chef/strategy/ListNodesInEnvironment.java index c007d0e..9f6b324 100644 --- a/core/src/main/java/org/jclouds/chef/strategy/ListNodesInEnvironment.java +++ b/core/src/main/java/org/jclouds/chef/strategy/ListNodesInEnvironment.java @@ -31,15 +31,15 @@ import com.google.inject.ImplementedBy; @ImplementedBy(ListNodesInEnvironmentImpl.class) public interface ListNodesInEnvironment { - public Iterable<? extends Node> execute(String environmentName); + Iterable<? extends Node> execute(String environmentName); - public Iterable<? extends Node> execute(String environmentName, Predicate<String> nodeNameSelector); + Iterable<? extends Node> execute(String environmentName, Predicate<String> nodeNameSelector); - public Iterable<? extends Node> execute(String environmentName, Iterable<String> toGet); + Iterable<? extends Node> execute(String environmentName, Iterable<String> toGet); - public Iterable<? extends Node> execute(ListeningExecutorService executor, String environmentName); + Iterable<? extends Node> execute(ListeningExecutorService executor, String environmentName); - public Iterable<? extends Node> execute(ListeningExecutorService executor, String environmentName, Predicate<String> nodeNameSelector); + Iterable<? extends Node> execute(ListeningExecutorService executor, String environmentName, Predicate<String> nodeNameSelector); - public Iterable<? extends Node> execute(ListeningExecutorService executor, String environmentName, Iterable<String> toGet); + Iterable<? extends Node> execute(ListeningExecutorService executor, String environmentName, Iterable<String> toGet); } http://git-wip-us.apache.org/repos/asf/incubator-jclouds-chef/blob/f89d025c/core/src/main/java/org/jclouds/chef/strategy/UpdateAutomaticAttributesOnNode.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/jclouds/chef/strategy/UpdateAutomaticAttributesOnNode.java b/core/src/main/java/org/jclouds/chef/strategy/UpdateAutomaticAttributesOnNode.java index 90f8197..c4b6220 100644 --- a/core/src/main/java/org/jclouds/chef/strategy/UpdateAutomaticAttributesOnNode.java +++ b/core/src/main/java/org/jclouds/chef/strategy/UpdateAutomaticAttributesOnNode.java @@ -29,5 +29,5 @@ import com.google.inject.ImplementedBy; @ImplementedBy(UpdateAutomaticAttributesOnNodeImpl.class) public interface UpdateAutomaticAttributesOnNode { - public void execute(String nodeName); + void execute(String nodeName); }
