On Wed, 13 May 2026 15:30:03 GMT, Alan Bateman <[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 180:
> 
>> 178:  * <p> <i>Normalization</i> is the process of removing unnecessary 
>> {@code "."},
>> 179:  * {@code ".."}, and {@code "//"} (empty) segments from the path 
>> component of a
>> 180:  * hierarchical URI. Each {@code "."} and {@code "//"} segment is simply
> 
> Should this say empty segments rather than "//" ?

Changed as requested in 178dcbba3ff.

> src/java.base/share/classes/java/net/URI.java line 1033:
> 
>> 1031:      *   <b><i>(Deviation from RFC&nbsp;2396)</i></b> </p></li>
>> 1032:      *
>> 1033:      *   <li><p> All {@code "//"} empty path segments are removed.
> 
> The context is here is path component so you can use "segments" instead of 
> "path segments".

Changed as requested in 69c74741914.

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

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

Reply via email to