From 1315cff4d6110e563be85bc7f9fbe03e4eaa181c Mon Sep 17 00:00:00 2001 From: Akash Goel Date: Fri, 4 Aug 2023 15:05:51 -0700 Subject: [PATCH] Update ConfigurationMethod.java - remove extra whitespace in log This change removes an extra whitespace character that is part of a warning message that is logged when static methods are used for Test suite configuration. --- .../src/main/java/org/testng/internal/ConfigurationMethod.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testng-core/src/main/java/org/testng/internal/ConfigurationMethod.java b/testng-core/src/main/java/org/testng/internal/ConfigurationMethod.java index 35181a4aa..9b5169b7b 100644 --- a/testng-core/src/main/java/org/testng/internal/ConfigurationMethod.java +++ b/testng-core/src/main/java/org/testng/internal/ConfigurationMethod.java @@ -164,7 +164,7 @@ private static ITestNGMethod[] createMethods( "Detected a static method [" + method.getQualifiedName() + "()]. Static configuration methods can cause " - + " unexpected behavior."; + + "unexpected behavior."; Logger.getLogger(Configuration.class).warn(msg); }