On Thu, 15 Jul 2021 17:22:31 GMT, Serguei Spitsyn <sspit...@openjdk.org> wrote:

>> Lin Zang has updated the pull request with a new target base due to a merge 
>> or a rebase. The incremental webrev excludes the unrelated changes brought 
>> in by the merge/rebase. The pull request contains five additional commits 
>> since the last revision:
>> 
>>  - fix indentation issue
>>  - Merge branch 'master' into try
>>  - revise code to handle the closing of embeded streams
>>  - Merge branch 'master' into try
>>  - 8269909: getStack method in hprof.parser.Reader should use 
>> try-with-resource
>
> Hi Lin,
> These local names with extra numbers look strange.
> You introduced these numbers in order to fix naming conflicts.
> You also can avoid these conflicts by refactoring the code.
> Some of these fragments can be refactored to become a separate methods.
> I do not want to push hard on you with this but it is just something to 
> consider to simplify the code and avoid such naming problems.
> Thanks,
> Serguei

Dear @sspitsyn,
Good suggestion! I agree to aviod using number suffix in variable names. I will 
make the patch ASAP.
Thanks!
Lin

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

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

Reply via email to