You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/05/04 23:52:06 UTC

[jira] [Commented] (JENA-931) Shift org.apache.jena.atlas in jena-base onto Java 8 types

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

ASF GitHub Bot commented on JENA-931:
-------------------------------------

GitHub user ajs6f opened a pull request:

    https://github.com/apache/jena/pull/56

    Jena base to java8

    Work for https://issues.apache.org/jira/browse/JENA-931
    
    Using Java 8 types and removing code that duplicates functionality found inside the current footprint.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ajs6f/jena JenaBaseToJava8

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/jena/pull/56.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #56
    
----
commit 6b4753453a3be174aecc07ce9caf659e916c04f7
Author: ajs6f <aj...@virginia.edu>
Date:   2015-05-04T16:30:38Z

    Using Java 8 types in o.a.j.atlas

commit e8047bed18b2e42e7b37f2f0311727bf5175e99c
Author: ajs6f <aj...@virginia.edu>
Date:   2015-05-04T19:15:23Z

    Further simplification in jena-base

----


> Shift org.apache.jena.atlas in jena-base onto Java 8 types
> ----------------------------------------------------------
>
>                 Key: JENA-931
>                 URL: https://issues.apache.org/jira/browse/JENA-931
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: Jena
>    Affects Versions: Jena 3.0.0
>            Reporter: A. Soroka
>              Labels: Java8, typesystem
>
> Several types in org.apache.jena.atlas in module jena-base duplicate the semantics of types introduced in Java 8, e.g. Jena's Transform is substantially the same as Java 8's Function, Jena's Filter is substantially the same as Java 8's Predicate, etc.
> When this ticket is done, all such types will subtype the appropriate Java 8 types, will be deprecated, and will no longer be used inside the Jena code base. A further ticket may lead to actual removal of those deprecated types, at a convenient  future moment and in a non-disruptive fashion.
> Where possible, declarations and uses of similar types throughout the Jena code base should be converted to use the types in o.a.j.atlas, for clarity and concision. Some such migration of this kind can occur as part of this ticket, although a wholesale shift onto o.a.j.atlas may take some time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)