FeatureTypeInfoImpl.getAbstract() (WFS v2_0) on empty abstract throws StringIndexOutOfBoundsException

Description

org.geotools.data.wfs.internal.v2_0.FeatureTypeInfoImpl.getAbstract() code:

When eType.getAbstract() returns an empty list, the last line of the method leads to StringIndexOutOfBoundsException.

Environment

None

Status

Assignee

Jody Garnett

Reporter

Jan Venstermans

Triage

None

Fix versions

Priority

Medium
Configure