Skip to content

Commit 609f351

Browse files
committed
fix method name and bump toolkit version
1 parent 0480940 commit 609f351

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

framework/codemodder-base/src/main/java/io/codemodder/DependencyGAV.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ static DependencyGAV createDefault(
160160
group, artifact, version, justification, license, repositoryUrl, noTransitiveDependencies);
161161
}
162162

163-
String JAVA_SECURITY_TOOLKIT_VERSION = "1.2.0";
163+
String JAVA_SECURITY_TOOLKIT_VERSION = "1.2.1";
164164
String JAVA_SECURITY_TOOLKIT_GAV =
165165
"io.github.pixee:java-security-toolkit:" + JAVA_SECURITY_TOOLKIT_VERSION;
166166

framework/codemodder-base/src/main/java/io/codemodder/remediation/loginjection/LogStatementFixer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,6 @@ private static Optional<Expression> findExpressionToWrap(final Expression argume
171171
}
172172

173173
private static void wrapWithNewlineSanitizer(final Expression expression) {
174-
wrap(expression).withStaticMethod(Newlines.class.getName(), "stripNewLines", true);
174+
wrap(expression).withStaticMethod(Newlines.class.getName(), "stripAll", true);
175175
}
176176
}

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ auto-value = "1.9"
33
jackson = "2.13.1"
44
javaparser-core = "3.26.2"
55
javaparser-symbolsolver = "3.15.15"
6-
java-security-toolkit = "1.2.0"
6+
java-security-toolkit = "1.2.1"
77
java-security-toolkit-xstream = "1.0.2"
88
javax-inject = "1"
99
jtokkit = "1.1.0"

0 commit comments

Comments
 (0)