Bug 480643 Introduced internalGetTaggedResources and added null guard getReadOnlyComponent() might return null, which causes a NPE. To avoid code duplication method internalGetTaggedResources() was introduced to serve getFirstTaggedResource() and getTaggedResources(). Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>