[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] Using JDT's @Nullable/@NonNull within the Eclipse Platform



On Tue, Jul 14, 2015 at 9:35 PM, Brian de Alwis <briandealwis@xxxxxxxxx> wrote:
I think it would be great to be enable using JDTâs null analysis for the Eclipse Platform and opened bug 472631.

    https://bugs.eclipse.org/bugs/show_bug.cgi?id=472631

Iâve seen far too much code that uses the following broken idiom:

    PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage()â

and it needs to be stopped!
What is the alternative for this (i.e to get the activePage)Â

Brian.
_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/eclipse-dev



--
**********************************
Susinda Perera
B.Sc. (Eng), AMIE(SL)
E-mail : susinda@xxxxxxxxx
Voice Â: 0716049075
**********************************