File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed
src/main/java/io/github/pixee/security Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 4444 git push
4545 fi
4646 - name : " Upload JaCoCo coverage report"
47- uses : actions/upload-artifact@v2
47+ uses : actions/upload-artifact@v4
4848 with :
4949 name : jacoco-report
5050 path : build/reports/jacoco/test/html/
Original file line number Diff line number Diff line change @@ -17,4 +17,14 @@ public static String stripAll(final String value) {
1717 }
1818 return value .replace ("\r " , "" ).replace ("\n " , "" );
1919 }
20+
21+ /**
22+ * Removes newlines from the given string, if any exist.
23+ *
24+ * @param value the given string to sanitize
25+ * @return a {@link String} identical to the one given, without newline characters
26+ */
27+ public static String stripAll (final Object value ) {
28+ return stripAll (String .valueOf (value ));
29+ }
2030}
You can’t perform that action at this time.
0 commit comments