On Fri, 15 May 2026 09:10:12 GMT, Daniel Fuchs <[email protected]> wrote:

>> Volkan Yazici has updated the pull request incrementally with two additional 
>> commits since the last revision:
>> 
>>  - `empty path segments` -> `empty segments`
>>  - `{@code "//"} segment` -> `empty segment`
>
> src/java.base/share/classes/java/net/URI.java line 179:
> 
>> 177:  *
>> 178:  * <p> <i>Normalization</i> is the process of removing unnecessary 
>> {@code "."},
>> 179:  * {@code ".."}, and {@code "//"} (empty) segments from the path 
>> component of a
> 
> may I suggest:
> 
> Suggestion:
> 
>  * {@code ".."} segments, and redundant {@code "/"} (empty segments) from the 
> path component of a
> 
> 
> @AlanBateman would you agree?

Yes, my main comment when first looking at this is that it gave the impression 
that all occurrences of "//" would be removed, that has been fixed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31150#discussion_r3247152522

Reply via email to