unitsofmeasurement / indriya

JSR 385 - Reference Implementation
Other
118 stars 40 forks source link

EBNFUnitFormat doesn't always include the prefix #278

Closed keilw closed 3 years ago

keilw commented 4 years ago

EBNFUnitFormat does not always include the Prefix when formatting. Given a lot of common ground it also affects most of LocalUnitFormat.

keilw commented 4 years ago

There's still a problem with KIBI(METRE), see EBNFPrefixTest.testKibi() otherwise it looks pretty good now. Even other KIBI formats likeKIBI(LITRE) or KIBI(GRAM) work fine, have to investigate why METRE is affected?