dcapwell commented on code in PR #2104:
URL: https://github.com/apache/cassandra/pull/2104#discussion_r1134565096


##########
test/distributed/org/apache/cassandra/distributed/test/streaming/BoundExceptionTest.java:
##########
@@ -75,11 +68,9 @@ public void testExceptionCycle()
 
         StringBuilder boundedStackTrace = StreamSession.boundStackTrace(e1, 
LIMIT);
         String expectedStackTrace = "java.lang.Exception: Test exception 1\n" +
-                                     
"\torg.apache.cassandra.distributed.test.streaming.BoundExceptionTest.testExceptionCycle(BoundExceptionTest.java:70)\n"
 +
+                                     
"\torg.apache.cassandra.distributed.test.streaming.BoundExceptionTest.testExceptionCycle(BoundExceptionTest.java:63)\n"
 +
                                      
"\tjava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)\n" +
                                      "java.lang.RuntimeException: Test 
exception 2\n" +
-                                     
"\torg.apache.cassandra.distributed.test.streaming.BoundExceptionTest.testExceptionCycle(BoundExceptionTest.java:71)\n"
 +
-                                     
"\tjava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)\n" +
                                      "[CIRCULAR REFERENCE: 
java.lang.Exception: Test exception 1]";

Review Comment:
   why is there no newline?  to be consistent you should always have a newline 
or never; but do not mix



-- 
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