Skip to content

Commit

Permalink
fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed Jun 18, 2024
1 parent 00a8d29 commit bd3418d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/apache/xmlbeans/XmlOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public enum XmlOptionsKeys {
SAVE_CDATA_LENGTH_THRESHOLD,
SAVE_CDATA_ENTITY_COUNT_THRESHOLD,
SAVE_SAX_NO_NSDECLS_IN_ATTRIBUTES,
SAVE_EXTRA_ENAMESPACES,
SAVE_EXTRA_NAMESPACES,
LOAD_REPLACE_DOCUMENT_ELEMENT,
LOAD_STRIP_WHITESPACE,
LOAD_STRIP_COMMENTS,
Expand Down Expand Up @@ -458,12 +458,12 @@ public Map<String, String> getSaveSuggestedPrefixes() {
* @see XmlTokenSource#xmlText(XmlOptions)
*/
public XmlOptions setSaveExtraNamespaces(Map<String, String> extraNamespaces) {
return set(XmlOptionsKeys.SAVE_EXTRA_ENAMESPACES, extraNamespaces);
return set(XmlOptionsKeys.SAVE_EXTRA_NAMESPACES, extraNamespaces);
}

@SuppressWarnings("unchecked")
public Map<String, String> getSaveExtraNamespaces() {
return (Map<String, String>) get(XmlOptionsKeys.SAVE_EXTRA_ENAMESPACES);
return (Map<String, String>) get(XmlOptionsKeys.SAVE_EXTRA_NAMESPACES);
}

/**
Expand Down

0 comments on commit bd3418d

Please sign in to comment.