Compare commits

..

2 Commits

Author SHA1 Message Date
Mend Renovate ac155afd7f
Merge c1b76396d3 into b495352805 2025-07-21 14:07:37 +00:00
Mend Renovate c1b76396d3
fix(deps): update org.jodd 2025-07-21 14:07:34 +00:00
4 changed files with 7 additions and 6 deletions

View File

@ -75,6 +75,7 @@ plugins.withId("java") {
java {
license()
importOrder("static ", "java.", "javax", "org", "net", "com", "")
removeUnusedImports()
indentWithSpaces(4)
}
}

View File

@ -249,7 +249,7 @@ public class SizeAssertion extends AbstractScopedAssertion implements Serializab
if (operator == null) {
return "ERROR - invalid condition";
}
if (operator.evaluate(resultSize, allowedSize)) {
return "";
} else {

View File

@ -86,7 +86,7 @@ public class ChangeCase extends AbstractFunction {
LOGGER.error("Unknown mode {}, returning {} unchanged", mode, originalString);
return originalString;
}
return switch (changeCaseMode) {
case UPPER -> StringUtils.upperCase(originalString);
case LOWER -> StringUtils.lowerCase(originalString);

View File

@ -81,7 +81,7 @@ public class TestHttpRequestHdr extends JMeterTestCase {
Content-type: %s\r
Content-length: %d\r
\r
%s""".formatted(url, HTTPConstants.APPLICATION_X_WWW_FORM_URLENCODED,
%s""".formatted(url, HTTPConstants.APPLICATION_X_WWW_FORM_URLENCODED,
getBodyLength(postBody, contentEncoding), postBody);
s = getSamplerForRequest(url, testPostRequest, contentEncoding);
assertEquals(HTTPConstants.POST, s.getMethod());
@ -597,15 +597,15 @@ public class TestHttpRequestHdr extends JMeterTestCase {
private String createMultipartFormBody(String titleValue, String descriptionValue,
String contentEncoding, boolean includeExtraHeaders,
String boundary, String endOfLine) {
String titleHeaders = includeExtraHeaders ? """
Content-Type: text/plain; charset=%s%s\
Content-Transfer-Encoding: 8bit%s""".formatted(contentEncoding, endOfLine, endOfLine) : "";
String descriptionHeaders = includeExtraHeaders ? """
Content-Type: text/plain; charset=%s%s\
Content-Transfer-Encoding: 8bit%s""".formatted(contentEncoding, endOfLine, endOfLine) : "";
return """
--%s%s\
Content-Disposition: form-data; name="title"%s\