Bug 312451: Accessible.addRelations should check if target == null

Adding null checks around public api that will throw an error
if given a null object. This should at least tell us why null
objects are created in the first place.

Note, this is a slight api change, the public api now throws an
exception.

Change-Id: I4f526ce1af208cecc2c9f34adb69105d5dcb8503
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=312451
Signed-off-by: Lev Ufimtsev <lufimtse@redhat.com>
Bug 312451: Accessible.addRelations should check if target == null

Change-Id: Ib226bab92c0abfc47fc29fc500aafb028107827c

Bug 312451: Accessible.addRelations should check if target == null 

Adding null check to 'removeRelation' 

Change-Id: Iffcc38e1bb4372dd6fd9b794a2677aff16b7dca2
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=312451
Signed-off-by: Leo Ufimtsev <lufimtse@redhat.com>
4 files changed
tree: cc5d69b39f81b8a3775b2b6da42e162cb8f52989
  1. .gitignore
  2. README.md
  3. bundles/
  4. examples/
  5. features/
  6. local-build/
  7. pom.xml
  8. tests/
README.md

Contributing to SWT

Thanks for your interest in this project.

Developer resources:

Information regarding source code management, builds, coding standards, and more.

Contributor License Agreement:

Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).

Contact:

Contact the project developers via the project's “dev” list.

Search for bugs:

This project uses Bugzilla to track ongoing development and issues.

Create a new bug:

Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!