File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
regression/cbmc-java/lambda2 Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 33
44public class StaticMethodRef {
55 public Integer Smr (Integer ctr ) {
6- Function <Integer , Integer > func1 = Integer ::valueOf ;
6+ Function <Integer , Integer > func1 = Integer ::valueOf ;
77
8- // Uses Integer.valueOf(String)
9- Function <String , Integer > func2 = Integer ::valueOf ;
8+ // Uses Integer.valueOf(String)
9+ Function <String , Integer > func2 = Integer ::valueOf ;
1010
11- BiFunction <String , Integer , Integer > func3 = Integer ::valueOf ;
11+ BiFunction <String , Integer , Integer > func3 = Integer ::valueOf ;
1212
13- if (ctr .equals (func1 .apply (9 )))
14- return func1 .apply (9 );
13+ if (ctr .equals (func1 .apply (9 )))
14+ return func1 .apply (9 );
1515
16- if (ctr .equals (func2 .apply ("8" )))
17- return func2 .apply ("8" );
16+ if (ctr .equals (func2 .apply ("8" )))
17+ return func2 .apply ("8" );
1818
19- if (ctr .equals (func3 .apply ("0111" , 2 )))
20- return func3 .apply ("0111" , 2 );
19+ if (ctr .equals (func3 .apply ("0111" , 2 )))
20+ return func3 .apply ("0111" , 2 );
2121
22- return ctr ;
23- }
22+ return ctr ;
23+ }
2424}
You can’t perform that action at this time.
0 commit comments