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

mytang0 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/eventmesh.git


The following commit(s) were added to refs/heads/master by this push:
     new be10cc420 #3160 fix needlessly boxes a boolean constant
     new d4110919e Merge pull request #3552 from 
shine10076/fix_patch_needlessly_boxes_boolean
be10cc420 is described below

commit be10cc420eef7e1783857b92bbcfb262149633f7
Author: qianyu03 <[email protected]>
AuthorDate: Wed Mar 29 15:36:58 2023 +0800

    #3160 fix needlessly boxes a boolean constant
---
 .../runtime/admin/handler/QueryRecommendEventMeshHandlerTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/eventmesh-runtime/src/test/java/org/apache/eventmesh/runtime/admin/handler/QueryRecommendEventMeshHandlerTest.java
 
b/eventmesh-runtime/src/test/java/org/apache/eventmesh/runtime/admin/handler/QueryRecommendEventMeshHandlerTest.java
index 3d17c1365..1da28ac85 100644
--- 
a/eventmesh-runtime/src/test/java/org/apache/eventmesh/runtime/admin/handler/QueryRecommendEventMeshHandlerTest.java
+++ 
b/eventmesh-runtime/src/test/java/org/apache/eventmesh/runtime/admin/handler/QueryRecommendEventMeshHandlerTest.java
@@ -79,7 +79,7 @@ public class QueryRecommendEventMeshHandlerTest {
         outputStream = new ByteArrayOutputStream();
         when(httpExchange.getResponseBody()).thenReturn(outputStream);
         try (MockedStatic<StringUtils> dummyStatic = 
mockStatic(StringUtils.class)) {
-            dummyStatic.when(() -> 
StringUtils.isBlank(any())).thenReturn(true);
+            dummyStatic.when(() -> 
StringUtils.isBlank(any())).thenReturn(Boolean.TRUE);
             handler.handle(httpExchange);
             String response = outputStream.toString();
             Assert.assertEquals("params illegal!", response);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to