Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eceec4a

Browse files
committed
javadocs
1 parent 75828fd commit eceec4a

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

xmlunit-core/src/main/java/org/xmlunit/diff/ElementSelectors.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ public boolean test(Attr a) {
106106
* true} are considered.
107107
*
108108
* @since XMLUnit 2.10.0
109+
* @return an ElementSelector
109110
*/
110111
public static final ElementSelector byNameAndAllAttributes(final Predicate<Attr> attributeFilter) {
111112
return new ElementSelector() {

xmlunit-core/src/main/java/org/xmlunit/util/XPathFactoryConfigurer.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public static Builder builder() {
9292
* The default instance which disables extension functions.
9393
*
9494
* <p>In order to disable extension functions XPathFactory#setProperty needs to exists which requires Java18 or
95-
* newer. {@link #SecureProcessing} should be available on any JDK.</p></p>
95+
* newer. {@link #SecureProcessing} should be available on any JDK.</p>
9696
*/
9797
public static final XPathFactoryConfigurer Default = builder()
9898
.withExtensionFunctionsDisabled()
@@ -186,10 +186,6 @@ public Builder withSafeFeature(String key, boolean value) {
186186

187187
/**
188188
* Configures the factory to not enable extension functions.
189-
*
190-
* <p>This method will not do anything if {@link XPathFactory} doesn't support the setPropery method which has
191-
* been added with Java 18.</p>
192-
*
193189
* @return this
194190
*/
195191
public Builder withExtensionFunctionsDisabled() {

0 commit comments

Comments
 (0)