diff --git a/framework/codemodder-base/src/main/java/io/codemodder/DependencyGAV.java b/framework/codemodder-base/src/main/java/io/codemodder/DependencyGAV.java index aced13cfd..faf773332 100644 --- a/framework/codemodder-base/src/main/java/io/codemodder/DependencyGAV.java +++ b/framework/codemodder-base/src/main/java/io/codemodder/DependencyGAV.java @@ -160,7 +160,7 @@ static DependencyGAV createDefault( group, artifact, version, justification, license, repositoryUrl, noTransitiveDependencies); } - String JAVA_SECURITY_TOOLKIT_VERSION = "1.2.0"; + String JAVA_SECURITY_TOOLKIT_VERSION = "1.2.1"; String JAVA_SECURITY_TOOLKIT_GAV = "io.github.pixee:java-security-toolkit:" + JAVA_SECURITY_TOOLKIT_VERSION; diff --git a/framework/codemodder-base/src/main/java/io/codemodder/remediation/loginjection/LogStatementFixer.java b/framework/codemodder-base/src/main/java/io/codemodder/remediation/loginjection/LogStatementFixer.java index c4f7f2718..51eae4bb6 100644 --- a/framework/codemodder-base/src/main/java/io/codemodder/remediation/loginjection/LogStatementFixer.java +++ b/framework/codemodder-base/src/main/java/io/codemodder/remediation/loginjection/LogStatementFixer.java @@ -171,6 +171,6 @@ private static Optional findExpressionToWrap(final Expression argume } private static void wrapWithNewlineSanitizer(final Expression expression) { - wrap(expression).withStaticMethod(Newlines.class.getName(), "stripNewLines", true); + wrap(expression).withStaticMethod(Newlines.class.getName(), "stripAll", true); } } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a4ca3f94c..515aca278 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -3,7 +3,7 @@ auto-value = "1.9" jackson = "2.13.1" javaparser-core = "3.26.2" javaparser-symbolsolver = "3.15.15" -java-security-toolkit = "1.2.0" +java-security-toolkit = "1.2.1" java-security-toolkit-xstream = "1.0.2" javax-inject = "1" jtokkit = "1.1.0"