jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-7574) [DirectBinaryAccess][DISCUSS] use URI instead of URL
Date Wed, 11 Jul 2018 09:38:00 GMT

    [ https://issues.apache.org/jira/browse/OAK-7574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16539790#comment-16539790
] 

Julian Reschke commented on OAK-7574:
-------------------------------------

I'm waiting for the PR to be switched to use URIs.

> [DirectBinaryAccess][DISCUSS] use URI instead of URL
> ----------------------------------------------------
>
>                 Key: OAK-7574
>                 URL: https://issues.apache.org/jira/browse/OAK-7574
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: api
>            Reporter: Julian Reschke
>            Assignee: Matt Ryan
>            Priority: Major
>
> Please do not use {{java.net.URL}}:
> 1. It predates java.net.URI and sort of implies concrete client implications
>  2. It has historic baggage such as the incorrect and surprising behavior of {{equals()}}
and {{hashCode()}}
>  -3. It's inconsistent with the JCR API which uses {{java.net.URI}}-



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message