You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jo...@apache.org on 2023/01/09 17:50:16 UTC

[flex-blazeds] 02/04: ConfigurationParserTest: fix tests that call processDirectory()

This is an automated email from the ASF dual-hosted git repository.

joshtynjala pushed a commit to branch security-updates
in repository https://gitbox.apache.org/repos/asf/flex-blazeds.git

commit c748a131e99c0d06b80e44e60b26fbb7984dd592
Author: Josh Tynjala <jo...@bowlerhat.dev>
AuthorDate: Mon Jan 9 09:40:39 2023 -0800

    ConfigurationParserTest: fix tests that call processDirectory()
---
 core/src/test/java/flex/messaging/config/ConfigurationParserTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/src/test/java/flex/messaging/config/ConfigurationParserTest.java b/core/src/test/java/flex/messaging/config/ConfigurationParserTest.java
index 26e6bbb..2b6d17c 100644
--- a/core/src/test/java/flex/messaging/config/ConfigurationParserTest.java
+++ b/core/src/test/java/flex/messaging/config/ConfigurationParserTest.java
@@ -65,8 +65,8 @@ public class ConfigurationParserTest {
         if (files != null) {
             for (File f : files) {
                 if (f.isDirectory()) {
-                    resourcePath = getResourcePath(f.getAbsolutePath());
-                    processDirectory(f, resourcePath);
+                    String dirResourcePath = getResourcePath(f.getAbsolutePath());
+                    processDirectory(f, dirResourcePath);
                 } else {
                     String testName = getTestName(f.getName());
                     System.out.println("Running test: " + testName);