Ah! Good one Jody, +1

On 06/06/2018 11:41 PM, Jody Garnett wrote:
You could swap this around, rename the dispose implementations to close, and provide a deprecated default implementation of dispose that calls close.

This way you can manage eventually remove dispose() from the API.
On Wed, Jun 6, 2018 at 3:09 PM Nuno Oliveira <nuno.olive...@geo-solutions.it <mailto:nuno.olive...@geo-solutions.it>> wrote:

    Hi Ben,

    I also used the support of the find command:

    find . | grep -E "\.java$" | xargs -i grep -l -E
    "((public)|(^))\s*interface" {}
    | xargs -i grep -l -E "void\s+dispose" {}

    +1 for the proposal.

    On 06/06/2018 02:11 AM, Ben Caradoc-Davies wrote:
    > Thanks, Nuno. How did you make the list? I have been using things like:
    > find . -name "*.java" -exec grep -l 'void dispose()' {} \; | sort
    >
    > Instead of editing your list, I would like to make a change proposal on
    the wiki.
    >
    > Kind regards,
    > Ben.
    >
    > On 05/06/18 22:17, Nuno Oliveira wrote:
    >> You can count on me, I can dedicate some spare during WE to this.
    >>
    >> I guess before deciding on an attack plan, it would be good to have a
    list of
    >> the concerned interfaces, I have started to put a list together here:
    >>
    >>
    
https://docs.google.com/spreadsheets/d/1u3488JvSs34IMZ1TLjJ5FYQBAFHhQ4QHqfHfULH_k1s/edit?usp=sharing

    >>
    >>
    >> Feel free to ask me edition permissions ...
    >>
    >> On 06/05/2018 09:17 AM, Andrea Aime wrote:
    >>> On Tue, Jun 5, 2018 at 10:05 AM, Ian Turton <ijtur...@gmail.com
    <mailto:ijtur...@gmail.com>
    >>> <mailto:ijtur...@gmail.com <mailto:ijtur...@gmail.com>>> wrote:
    >>>
    >>>
    >>>         - Who is interested in participating in this work?
    >>>
    >>>
    >>>     I'd be up to do some of it.
    >>>
    >>>
    >>> Same here. As spare time contribution, if we are a group, we do the
    >>> deprecation, and attack one interface at a time.
    >>> As a code sprint if we want to do all toghether (though, in a week
    long code
    >>> sprint, we might want to look into more
    >>> "urgent yet too big" stuff, like running the whole project stack on Java
    >>> 10-11).
    >>>
    >>> Cheers
    >>> Andrea
    >>>
    >>> == GeoServer Professional Services from the experts! Visit
    >>> http://goo.gl/it488V for more information. == Ing. Andrea
    
<https://maps.google.com/?q=for+more+information.+%3D%3D+Ing.+Andrea&entry=gmail&source=g>
    Aime @geowolf
    >>> Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
    >>> (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
    >>> http://www.geo-solutions.it http://twitter.com/geosolutions_it
    >>> ------------------------------------------------------- /Con riferimento
    >>> alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
    >>> Regolamento generale sulla protezione dei dati “GDPR”), si precisa che
    ogni
    >>> circostanza inerente alla presente email (il suo contenuto, gli 
eventuali
    >>> allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
    >>> destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
    >>> errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
    sarei
    >>> comunque grato se potesse darmene notizia. This email is intended only
    for
    >>> the person or entity to which it is addressed and may contain 
information
    >>> that is privileged, confidential or otherwise protected from
    disclosure. We
    >>> remind that - as provided by European Regulation 2016/679 “GDPR” -
    copying,
    >>> dissemination or use of this e-mail or the information herein by anyone
    >>> other than the intended recipient is prohibited. If you have received
    this
    >>> email by mistake, please notify us immediately by telephone or e-mail./
    >>>
    >>>
    >>>
    >>>
    
------------------------------------------------------------------------------
    >>> Check out the vibrant tech community on one of the world's most
    >>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
    >>>
    >>>
    >>> _______________________________________________
    >>> GeoTools-Devel mailing list
    >>> GeoTools-Devel@lists.sourceforge.net
    <mailto:GeoTools-Devel@lists.sourceforge.net>
    >>> https://lists.sourceforge.net/lists/listinfo/geotools-devel
    >>
    >>
    >>
    >>
    
------------------------------------------------------------------------------
    >> Check out the vibrant tech community on one of the world's most
    >> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
    >>
    >>
    >>
    >> _______________________________________________
    >> GeoTools-Devel mailing list
    >> GeoTools-Devel@lists.sourceforge.net
    <mailto:GeoTools-Devel@lists.sourceforge.net>
    >> https://lists.sourceforge.net/lists/listinfo/geotools-devel
    >>
    >

-- Regards,
    Nuno Oliveira
    ==
    GeoServer Professional Services from the experts!
    Visit http://goo.gl/it488V for more information.
    ==

    Nuno Miguel Carvalho Oliveira
    @nmcoliveira
    Software Engineer

    GeoSolutions S.A.S.
    Via di Montramito 3/A
    55054  Massarosa (LU)
    Italy
    phone: +39 0584 962313
    fax:      +39 0584 1660272

    http://www.geo-solutions.it
    http://twitter.com/geosolutions_it

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

    Con riferimento alla normativa sul trattamento dei dati
    personali (Reg. UE 2016/679 - Regolamento generale sulla
    protezione dei dati “GDPR”), si precisa che ogni
    circostanza inerente alla presente email (il suo contenuto,
    gli eventuali allegati, etc.) è un dato la cui conoscenza
    è riservata al/i solo/i destinatario/i indicati dallo
    scrivente. Se il messaggio Le è giunto per errore, è
    tenuta/o a cancellarlo, ogni altra operazione è illecita.
    Le sarei comunque grato se potesse darmene notizia.

    This email is intended only for the person or entity to
    which it is addressed and may contain information that
    is privileged, confidential or otherwise protected from
    disclosure. We remind that - as provided by European
    Regulation 2016/679 “GDPR” - copying, dissemination or
    use of this e-mail or the information herein by anyone
    other than the intended recipient is prohibited. If you
    have received this email by mistake, please notify
    us immediately by telephone or e-mail.


    
------------------------------------------------------------------------------
    Check out the vibrant tech community on one of the world's most
    engaging tech sites, Slashdot.org! http://sdm.link/slashdot
    _______________________________________________
    GeoTools-Devel mailing list
    GeoTools-Devel@lists.sourceforge.net
    <mailto:GeoTools-Devel@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/geotools-devel

--
--
Jody Garnett

--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:      +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

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

Con riferimento alla normativa sul trattamento dei dati
personali (Reg. UE 2016/679 - Regolamento generale sulla
protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto,
gli eventuali allegati, etc.) è un dato la cui conoscenza
è riservata al/i solo/i destinatario/i indicati dallo
scrivente. Se il messaggio Le è giunto per errore, è
tenuta/o a cancellarlo, ogni altra operazione è illecita.
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to
which it is addressed and may contain information that
is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European
Regulation 2016/679 “GDPR” - copying, dissemination or
use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you
have received this email by mistake, please notify
us immediately by telephone or e-mail.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to