Skip to content

Commit

Permalink
Change the method setXmlNamespaceConfig from static to non-static. Th…
Browse files Browse the repository at this point in the history
…is fix an issue that a bean is not writtable after we upgraded spring. It seems the change doesn't cause any issues in the project.
  • Loading branch information
taojing2002 committed Oct 28, 2024
1 parent 3750303 commit 0cb65b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public void setMatchDocuments(List<String> matchDocuments) {
this.matchDocuments = matchDocuments;
}

public static void setXmlNamespaceConfig(XMLNamespaceConfig xmlNamespaceConfig) {
public void setXmlNamespaceConfig(XMLNamespaceConfig xmlNamespaceConfig) {
xpath.setNamespaceContext(xmlNamespaceConfig);
}

Expand Down

0 comments on commit 0cb65b1

Please sign in to comment.