diff --git a/src/main/java/tech/units/indriya/format/EBNFUnitFormat.java b/src/main/java/tech/units/indriya/format/EBNFUnitFormat.java index 6bb8f7df..01d5259e 100644 --- a/src/main/java/tech/units/indriya/format/EBNFUnitFormat.java +++ b/src/main/java/tech/units/indriya/format/EBNFUnitFormat.java @@ -143,7 +143,7 @@ * * @author Eric Russell * @author Werner Keil - * @version 2.1, October 4, 2024 + * @version 2.2, October 12, 2024 * @since 1.0 */ public class EBNFUnitFormat extends AbstractUnitFormat { @@ -249,8 +249,6 @@ public String toString() { * the unit being aliased. * @param alias * the alias attached to this unit. - * @throws IllegalArgumentException - * if the label is not a {@link SimpleUnitFormat#isValidIdentifier(String)} valid identifier. */ public void alias(Unit unit, String alias) { symbolMap.alias(unit, alias);