metamodel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kaspersorensen <...@git.apache.org>
Subject [GitHub] metamodel pull request #181: Don't use Object.finalize()
Date Tue, 05 Jun 2018 03:43:41 GMT
GitHub user kaspersorensen opened a pull request:

    https://github.com/apache/metamodel/pull/181

    Don't use Object.finalize()

    Since JDK9 the `Object.finalize()` method has been marked as `@Deprecated`. In this PR
I removed references to `Objects`s `finalize` method, and tried to get rid of our own `finalize`
method where possible without introducing potential issues.
    
    Oh and there was a small junit dependency inconsistency.
    
    I guess I just decided to weed out a couple of warnings really :-)

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

    $ git pull https://github.com/kaspersorensen/metamodel dont-use-object-finalize

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

    https://github.com/apache/metamodel/pull/181.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 #181
    
----
commit 092c95d24905a29926fff84696e1eebb13b1af9f
Author: Kasper Sørensen <i.am.kasper.sorensen@...>
Date:   2018-06-05T03:39:28Z

    Removed referenced to Object.finalize() (deprecated since JDK 9)

commit 3d3750eeff001d81ad49b8edc5e542511a01b64d
Author: Kasper Sørensen <i.am.kasper.sorensen@...>
Date:   2018-06-05T03:41:07Z

    Removed duplicate and standardized reference to junit.

----


---

Mime
View raw message