From 023ca1c6968b7165405028215847dfe6af06064a Mon Sep 17 00:00:00 2001 From: Noorul Islam K M Date: Mon, 9 Sep 2013 09:52:36 +0530 Subject: [PATCH] Fix typo. --- .../internal/CleanupStaleNodesAndClientsImplLiveTest.java | 6 +++--- .../internal/DeleteAllApisAndNodesInListImplLiveTest.java | 8 ++++---- .../chef/strategy/internal/GetNodesImplLiveTest.java | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/apis/chef/src/test/java/org/jclouds/chef/strategy/internal/CleanupStaleNodesAndClientsImplLiveTest.java b/apis/chef/src/test/java/org/jclouds/chef/strategy/internal/CleanupStaleNodesAndClientsImplLiveTest.java index 9a21b0f29c..30363c3dfe 100644 --- a/apis/chef/src/test/java/org/jclouds/chef/strategy/internal/CleanupStaleNodesAndClientsImplLiveTest.java +++ b/apis/chef/src/test/java/org/jclouds/chef/strategy/internal/CleanupStaleNodesAndClientsImplLiveTest.java @@ -33,20 +33,20 @@ import com.google.common.collect.ImmutableSet; @Test(groups = "live", testName = "CleanupStaleNodesAndClientsImplLiveTest") public class CleanupStaleNodesAndClientsImplLiveTest extends BaseChefLiveTest { - private CreateNodeAndPopulateAutomaticAttributesImpl creater; + private CreateNodeAndPopulateAutomaticAttributesImpl creator; private CleanupStaleNodesAndClientsImpl strategy; @Override protected void initialize() { super.initialize(); - this.creater = injector.getInstance(CreateNodeAndPopulateAutomaticAttributesImpl.class); + this.creator = injector.getInstance(CreateNodeAndPopulateAutomaticAttributesImpl.class); this.strategy = injector.getInstance(CleanupStaleNodesAndClientsImpl.class); } @Test public void testExecute() throws InterruptedException { try { - creater.execute(prefix, ImmutableSet. of()); + creator.execute(prefix, ImmutableSet. of()); // http://tickets.corp.opscode.com/browse/PL-522 // assert chef.nodeExists(prefix); assertNotNull(api.getNode(prefix)); diff --git a/apis/chef/src/test/java/org/jclouds/chef/strategy/internal/DeleteAllApisAndNodesInListImplLiveTest.java b/apis/chef/src/test/java/org/jclouds/chef/strategy/internal/DeleteAllApisAndNodesInListImplLiveTest.java index 5f9d90ae04..79cef870d2 100644 --- a/apis/chef/src/test/java/org/jclouds/chef/strategy/internal/DeleteAllApisAndNodesInListImplLiveTest.java +++ b/apis/chef/src/test/java/org/jclouds/chef/strategy/internal/DeleteAllApisAndNodesInListImplLiveTest.java @@ -34,20 +34,20 @@ import com.google.common.collect.ImmutableSet; public class DeleteAllApisAndNodesInListImplLiveTest extends BaseChefLiveTest { private DeleteAllNodesInListImpl strategy; - private CreateNodeAndPopulateAutomaticAttributesImpl creater; + private CreateNodeAndPopulateAutomaticAttributesImpl creator; @Override protected void initialize() { super.initialize(); - this.creater = injector.getInstance(CreateNodeAndPopulateAutomaticAttributesImpl.class); + this.creator = injector.getInstance(CreateNodeAndPopulateAutomaticAttributesImpl.class); this.strategy = injector.getInstance(DeleteAllNodesInListImpl.class); } @Test public void testExecute() throws InterruptedException { try { - creater.execute(prefix, ImmutableSet. of()); - creater.execute(prefix + 1, ImmutableSet. of()); + creator.execute(prefix, ImmutableSet. of()); + creator.execute(prefix + 1, ImmutableSet. of()); // http://tickets.corp.opscode.com/browse/PL-522 // assert api.nodeExists(prefix); diff --git a/apis/chef/src/test/java/org/jclouds/chef/strategy/internal/GetNodesImplLiveTest.java b/apis/chef/src/test/java/org/jclouds/chef/strategy/internal/GetNodesImplLiveTest.java index 1c2cec1339..f4c0698f56 100644 --- a/apis/chef/src/test/java/org/jclouds/chef/strategy/internal/GetNodesImplLiveTest.java +++ b/apis/chef/src/test/java/org/jclouds/chef/strategy/internal/GetNodesImplLiveTest.java @@ -36,15 +36,15 @@ import com.google.common.collect.ImmutableSet; public class GetNodesImplLiveTest extends BaseChefLiveTest { private ListNodesImpl strategy; - private CreateNodeAndPopulateAutomaticAttributesImpl creater; + private CreateNodeAndPopulateAutomaticAttributesImpl creator; @Override protected void initialize() { super.initialize(); - this.creater = injector.getInstance(CreateNodeAndPopulateAutomaticAttributesImpl.class); + this.creator = injector.getInstance(CreateNodeAndPopulateAutomaticAttributesImpl.class); this.strategy = injector.getInstance(ListNodesImpl.class); - creater.execute(prefix, ImmutableSet. of()); - creater.execute(prefix + 1, ImmutableSet. of()); + creator.execute(prefix, ImmutableSet. of()); + creator.execute(prefix + 1, ImmutableSet. of()); } @AfterClass(groups = { "integration", "live" })