Skip to main content

[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)
Voice  : 0716049075
**********************************

Back to the top