On Wed, 13 Apr 2022 06:07:43 GMT, Xue-Lei Andrew Fan <xue...@openjdk.org> wrote:

>> The log for Finished message looks like the below,
>> 
>> "Finished": {
>>   "verify data": {
>>     0000: ... ...
>>   }'}  // looks weird
>> 
>> because a line feed is missing in the format pattern.
>> 
>> ""Finished": '{'\n" +
>> "  "verify data": '{'\n" +
>> "{0}\n" +
>> "  '}'" +  // a line feed is needed
>> "'}'",
>
> src/java.base/share/classes/sun/security/ssl/Finished.java line 150:
> 
>> 148:                     "{0}\n" +
>> 149:                     "  '}'\n" +
>> 150:                     "'}'",
> 
> As you are already here to touch the code, would you like to use text block 
> instead?

Could I not change this style?
Maybe another PR should be filed for applying text block feature in 
sun.security.ssl package.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8215

Reply via email to