You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The constants for occurrence constraints are all missing a second r. As these constants are already part of public API and cannot be changed without breaking backwards compatibility, it's probably best to deprecate the misspelled ones and add new ones with proper spelling and the same values:
+ public final short OCCURRENCE_ZERO_OR_MORE = 0;++ @Deprecated
public final short OCCURENCE_ZERO_OR_MORE = 0;
++ public final short OCCURRENCE_ONE_OR_MORE = 1;++ @Deprecated
public final short OCCURENCE_ONE_OR_MORE = 1;
++ public final short OCCURRENCE_ZERO_OR_ONE = 2;++ @Deprecated
public final short OCCURENCE_ZERO_OR_ONE = 2;
++ public final short OCCURRENCE_ONCE = 3;++ @Deprecated
public final short OCCURENCE_ONCE = 3;
The text was updated successfully, but these errors were encountered:
lukasj
added a commit
to lukasj/jaxb-dtd-parser
that referenced
this issue
Oct 19, 2023
The constants for occurrence constraints are all missing a second r. As these constants are already part of public API and cannot be changed without breaking backwards compatibility, it's probably best to deprecate the misspelled ones and add new ones with proper spelling and the same values:
The text was updated successfully, but these errors were encountered: