[Demonstration 1]

[Buggy Method]
public Display getDisplay() throws SWTException {
    if (isDisposed()) {
        throw new SWTException(SWT.ERROR_DEVICE_DISPOSED);
    }
    return (this.parent.getDisplay());
}

[Buggy Hunk]
throw new SWTException(SWT.ERROR_DEVICE_DISPOSED);

[Patch]
throw new SWTException(SWT.ERROR_WIDGET_DISPOSED);

[Demonstration 2]

[Buggy Method]
protected void sendBroadCast(int action) {
    Intent intent = new Intent();
    intent.setAction(action + "");
    getActivity().sendBroadcast(intent);
}

[Buggy Hunk]
getActivity().sendBroadcast(intent);

[Patch]
LocalBroadcastManager.getInstance(getContext()).sendBroadcast(intent);

[Demonstration 3]

[Buggy Method]
@Nonnull
private GeneReport getGeneReport(@Nonnull String geneSymbol) {
    return m_geneReports.get(geneSymbol);
}

[Buggy Hunk]
private GeneReport getGeneReport(@Nonnull String geneSymbol) {

[Patch]
public GeneReport getGeneReport(@Nonnull String geneSymbol) {