Skip to content

Commit b0ddbd1

Browse files
committed
Bump actions/setup-java from 5.0.0 to 5.1.0
1 parent 1c2d382 commit b0ddbd1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/maven.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
with:
3939
persist-credentials: false
4040
- name: Set up JDK ${{ matrix.java }}
41-
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
41+
uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1.0
4242
with:
4343
distribution: 'temurin'
4444
java-version: ${{ matrix.java }}

src/main/java/org/apache/commons/text/lookup/XmlStringLookup.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,14 +138,14 @@ public String lookup(final String key) {
138138
for (final Entry<String, Boolean> p : xmlFactoryFeatures.entrySet()) {
139139
dbFactory.setFeature(p.getKey(), p.getValue());
140140
}
141-
dbFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, secure);
141+
//dbFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, secure);
142142
try (InputStream inputStream = Files.newInputStream(getPath(documentPath))) {
143143
final Document doc = dbFactory.newDocumentBuilder().parse(inputStream);
144144
final XPathFactory xpFactory = XPathFactory.newInstance();
145145
for (final Entry<String, Boolean> p : xPathFactoryFeatures.entrySet()) {
146146
xpFactory.setFeature(p.getKey(), p.getValue());
147147
}
148-
xpFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, secure);
148+
//xpFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, secure);
149149
return xpFactory.newXPath().evaluate(xpath, doc);
150150
}
151151
} catch (final Exception e) {

0 commit comments

Comments
 (0)