You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by al...@apache.org on 2019/01/16 16:40:20 UTC
[brooklyn-server] 08/31: [common] fix typo in test
This is an automated email from the ASF dual-hosted git repository.
aledsage pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git
commit c4234deb76d718fa2a39725cefd76e7e6764d5ad
Author: Paul Campbell <pa...@cloudsoft.io>
AuthorDate: Tue Oct 9 17:13:20 2018 +0100
[common] fix typo in test
---
.../java/org/apache/brooklyn/util/javalang/ReflectionsTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/utils/common/src/test/java/org/apache/brooklyn/util/javalang/ReflectionsTest.java b/utils/common/src/test/java/org/apache/brooklyn/util/javalang/ReflectionsTest.java
index c95d439..06c5f47 100644
--- a/utils/common/src/test/java/org/apache/brooklyn/util/javalang/ReflectionsTest.java
+++ b/utils/common/src/test/java/org/apache/brooklyn/util/javalang/ReflectionsTest.java
@@ -346,16 +346,16 @@ public class ReflectionsTest implements WithAssertions {
@Test
public void allClassesInOneBundleAreNowInOtherBundle() {
//given
- final Map<String, String> rename = new HashMap<>();
+ final Map<String, String> renames = new HashMap<>();
final String wildcard = "*";
final String originalBundle = "wrap_blah_aws-java-sdk-bundle-1.11.245.jar:";
final String updatedBundle = "wrap_blah_aws-java-sdk-bundle-1.11.411.jar:";
- rename.put(originalBundle + wildcard, updatedBundle + wildcard);
+ renames.put(originalBundle + wildcard, updatedBundle + wildcard);
final String className = createAName();
final String originalName = originalBundle + className;
final String updatedName = updatedBundle + className;
//when
- final String result = Reflections.findMappedNameAndLog(rename, originalName);
+ final String result = Reflections.findMappedNameAndLog(renames, originalName);
//then
assertThat(result).isSameAs(updatedName);
}