yanrongzhen commented on code in PR #4507:
URL: https://github.com/apache/eventmesh/pull/4507#discussion_r1370529110


##########
eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/util/EventMeshUtil.java:
##########
@@ -295,20 +288,20 @@ public static void printState(final ThreadPoolExecutor 
scheduledExecutorService)
     @SuppressWarnings("unchecked")
     public static <T> T cloneObject(final T object) throws IOException, 
ClassNotFoundException {
         try (ByteArrayOutputStream byOut = new ByteArrayOutputStream();
-            ObjectOutputStream outputStream = new ObjectOutputStream(byOut)) {
+             ObjectOutputStream outputStream = new ObjectOutputStream(byOut)) {
 
             outputStream.writeObject(object);
 
             try (ByteArrayInputStream byIn = new 
ByteArrayInputStream(byOut.toByteArray());
-                ObjectInputStream inputStream = new ObjectInputStream(byIn)) {
+                 ObjectInputStream inputStream = new ObjectInputStream(byIn)) {
                 return (T) inputStream.readObject();

Review Comment:
   I think it's not a side effect of Spotless, I tried to perform 
`checkStyleMain`, but failed to reproduce.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to