Sometimes the augmentation indicator BBB is invalid in a bulletin heading. Currently BulletinHeadingDecoder throws an exception and returns nothing. Enable getting a result even when BBB is invalid.
Let BulletinHeadingIndicatorInterpreter also return an empty string, in which case the result is interpreted as NORMAL.
Add String getAugmentationIndicator(); in BulletinHeading
Empty String is equal to BulletinHeading.Type.NORMAL
Include javadoc describing contents of the value and its relation to getType() and getBulletinAugmentationNumber().
Make BulletinHeadingDecoder to set the augmentation indicator String in BulletinHeading.
Sometimes the augmentation indicator BBB is invalid in a bulletin heading. Currently
BulletinHeadingDecoder
throws an exception and returns nothing. Enable getting a result even when BBB is invalid.BulletinHeadingIndicatorInterpreter
also return an empty string, in which case the result is interpreted asNORMAL
.String getAugmentationIndicator();
inBulletinHeading
BulletinHeading.Type.NORMAL
getType()
andgetBulletinAugmentationNumber()
.BulletinHeadingDecoder
to set the augmentation indicator String inBulletinHeading
.