[
https://issues.apache.org/jira/browse/JCRVLT-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated JCRVLT-770:
-----------------------------------
Description:
The rest of the code already assumes a JCR 2.0 compliant implementation since
quite a while so the
[ServiceProvider|https://github.com/apache/jackrabbit-filevault/blob/931ceef98513167af3218b773d9213e123a2f52d/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/ServiceProvider.java#L32C18-L32C33]
can be refactored that it only takes into account impl specific differences
(but no longer translations from JCR 2.0 to 1.0)
Candidates to remove:
- {{getJcrVersion()}} (always assume JCR 2.0)
- Remove features purely relying on JCR 2.0 API
- Maybe also make [Jackrabbit JCR API
Extensions|https://www.javadoc.io/doc/org.apache.jackrabbit/oak-jackrabbit-api/latest/index.html]
a fix requirement (which version?)
was:
The rest of the code already assumes a JCR 2.0 compliant implementation since
quite a while so the
[ServiceProvider|https://github.com/apache/jackrabbit-filevault/blob/931ceef98513167af3218b773d9213e123a2f52d/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/ServiceProvider.java#L32C18-L32C33]
can be refactored that it only takes into account impl specific differences
(but no longer translations from JCR 2.0 to 1.0)
Candidates to remove:
- {{getJcrVersion()}} (always assume JCR 2.0)
- Remove features purely relying on JCR 2.0 API
> Refactor ServiceProvider to no longer cover JCR 2.0 vs 1.0 differences
> ----------------------------------------------------------------------
>
> Key: JCRVLT-770
> URL: https://issues.apache.org/jira/browse/JCRVLT-770
> Project: Jackrabbit FileVault
> Issue Type: Improvement
> Reporter: Konrad Windszus
> Priority: Major
>
> The rest of the code already assumes a JCR 2.0 compliant implementation since
> quite a while so the
> [ServiceProvider|https://github.com/apache/jackrabbit-filevault/blob/931ceef98513167af3218b773d9213e123a2f52d/vault-core/src/main/java/org/apache/jackrabbit/vault/fs/spi/ServiceProvider.java#L32C18-L32C33]
> can be refactored that it only takes into account impl specific differences
> (but no longer translations from JCR 2.0 to 1.0)
> Candidates to remove:
> - {{getJcrVersion()}} (always assume JCR 2.0)
> - Remove features purely relying on JCR 2.0 API
> - Maybe also make [Jackrabbit JCR API
> Extensions|https://www.javadoc.io/doc/org.apache.jackrabbit/oak-jackrabbit-api/latest/index.html]
> a fix requirement (which version?)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)