@@ -51,8 +51,8 @@ public class Test {
5151 <K , V > K getMapKey (Map <K , V > container ) { return container .keySet ().iterator ().next (); }
5252 <K , V > V getMapValue (Map <K , V > container ) { return container .get (null ); }
5353 Object [] newWithArrayElement (Object element ) { return new Object [] {element }; }
54- Properties newPropertiesWithMapKey (Object element ) { Properties p = new Properties (); p .put (element , null ); return p ; }
55- Properties newPropertiesWithMapValue (Object element ) { Properties p = new Properties (); p .put (null , element ); return p ; }
54+ Properties newPropertiesWithMapKey (Object element ) { Properties p = new Properties (); p .put (element , null ); return p ; }
55+ Properties newPropertiesWithMapValue (Object element ) { Properties p = new Properties (); p .put (null , element ); return p ; }
5656 static Object source () { return null ; }
5757 static void sink (Object o ) { }
5858
@@ -68,14 +68,14 @@ public void test() throws Exception {
6868 sink (out .get ("someKey" )); // $hasTaintFlow
6969 }
7070 {
71- // "org.springframework.util;AntPathMatcher;false;tokenizePath;;;Argument[0];ArrayValue of ReturnValue;taint",
71+ // "org.springframework.util;AntPathMatcher;false;tokenizePath;;;Argument[0];ArrayValue of ReturnValue;taint",
7272 String [] out = null ;
7373 String in = (String )source ();
7474 out = this .tokenizePath (in );
7575 sink (out [0 ]); // $hasTaintFlow
7676 }
7777 {
78- // "org.springframework.util;AntPathMatcher;false;tokenizePattern;;;Argument[0];ArrayValue of ReturnValue;taint",
78+ // "org.springframework.util;AntPathMatcher;false;tokenizePattern;;;Argument[0];ArrayValue of ReturnValue;taint",
7979 String [] out = null ;
8080 String in = (String )source ();
8181 out = this .tokenizePattern (in );
@@ -298,7 +298,7 @@ public void test() throws Exception {
298298 // "org.springframework.util;CollectionUtils;false;unmodifiableMultiValueMap;;;MapValue of Argument[0];MapValue of ReturnValue;value"
299299 MultiValueMap <Object , Object > out = null ;
300300 MultiValueMap in = new LinkedMultiValueMap ();
301- in .put (null , source ());
301+ in .put (null , source ());
302302 out = CollectionUtils .unmodifiableMultiValueMap (in );
303303 sink (getMapValue (out )); // $hasValueFlow
304304 }
@@ -313,7 +313,7 @@ public void test() throws Exception {
313313 // "org.springframework.util;CompositeIterator;false;next;;;Element of Argument[-1];ReturnValue;value"
314314 Object out = null ;
315315 CompositeIterator in = new CompositeIterator ();
316- in .add (List .of (source ()).iterator ());
316+ in .add (List .of (source ()).iterator ());
317317 out = in .next ();
318318 sink (out ); // $hasValueFlow
319319 }
@@ -1061,7 +1061,7 @@ public void test() throws Exception {
10611061 sink (out ); // $hasTaintFlow
10621062 }
10631063 {
1064- // "org.springframework.util;StringUtils;false;arrayToCommaDelimitedString;;;ArrayElement of Argument[0];ReturnValue;taint",
1064+ // "org.springframework.util;StringUtils;false;arrayToCommaDelimitedString;;;ArrayElement of Argument[0];ReturnValue;taint",
10651065 String out = null ;
10661066 Object [] in = { source () };
10671067 out = StringUtils .arrayToCommaDelimitedString (in );
@@ -1075,7 +1075,7 @@ public void test() throws Exception {
10751075 sink (out ); // $hasTaintFlow
10761076 }
10771077 {
1078- // "org.springframework.util;StringUtils;false;arrayToDelimitedString;;;ArrayElement of Argument[0];ReturnValue;taint",
1078+ // "org.springframework.util;StringUtils;false;arrayToDelimitedString;;;ArrayElement of Argument[0];ReturnValue;taint",
10791079 String out = null ;
10801080 Object [] in = { source () };
10811081 out = StringUtils .arrayToDelimitedString (in , null );
@@ -1278,14 +1278,14 @@ public void test() throws Exception {
12781278 sink (getArrayElement (out )); // $hasTaintFlow
12791279 }
12801280 {
1281- // "org.springframework.util;StringUtils;false;splitArrayElementsIntoProperties;;;ArrayElement of Argument[0];MapKey of ReturnValue;taint",
1281+ // "org.springframework.util;StringUtils;false;splitArrayElementsIntoProperties;;;ArrayElement of Argument[0];MapKey of ReturnValue;taint",
12821282 Properties out = null ;
12831283 String [] in = { (String )source () };
12841284 out = StringUtils .splitArrayElementsIntoProperties (in , null , null );
12851285 sink (getMapKey (out )); // $hasTaintFlow
12861286 }
12871287 {
1288- // "org.springframework.util;StringUtils;false;splitArrayElementsIntoProperties;;;ArrayElement of Argument[0];MapValue of ReturnValue;taint",
1288+ // "org.springframework.util;StringUtils;false;splitArrayElementsIntoProperties;;;ArrayElement of Argument[0];MapValue of ReturnValue;taint",
12891289 Properties out = null ;
12901290 String [] in = { (String )source () };
12911291 out = StringUtils .splitArrayElementsIntoProperties (in , null , null );
@@ -1306,14 +1306,14 @@ public void test() throws Exception {
13061306 sink (out ); // $hasTaintFlow
13071307 }
13081308 {
1309- // "org.springframework.util;StringUtils;false;toStringArray;;;Element of Argument[0];ArrayElement of ReturnValue;value",
1309+ // "org.springframework.util;StringUtils;false;toStringArray;;;Element of Argument[0];ArrayElement of ReturnValue;value",
13101310 String [] out = null ;
13111311 Enumeration in = Collections .enumeration (List .of (source ()));;
13121312 out = StringUtils .toStringArray (in );
13131313 sink (getArrayElement (out )); // $hasValueFlow
13141314 }
13151315 {
1316- // "org.springframework.util;StringUtils;false;toStringArray;;;Element of Argument[0];ArrayElement of ReturnValue;value",
1316+ // "org.springframework.util;StringUtils;false;toStringArray;;;Element of Argument[0];ArrayElement of ReturnValue;value",
13171317 String [] out = null ;
13181318 Collection in = List .of (source ());
13191319 out = StringUtils .toStringArray (in );
0 commit comments