File tree Expand file tree Collapse file tree
riskified-sdk/src/main/java/com/riskified Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,7 +136,9 @@ public RiskIndicators getRiskIndicators() {
136136 }
137137
138138 RiskIndicators ri = new RiskIndicators ();
139- riskIndicatorsMap .forEach ((key , value ) -> ri .set (key , value ));
139+ for (Map .Entry <String , Object > entry : riskIndicatorsMap .entrySet ()) {
140+ ri .set (entry .getKey (), entry .getValue ());
141+ }
140142 return ri ;
141143 }
142144
Original file line number Diff line number Diff line change @@ -131,7 +131,9 @@ public RiskIndicators getRiskIndicators() {
131131 }
132132
133133 RiskIndicators ri = new RiskIndicators ();
134- riskIndicatorsMap .forEach ((key , value ) -> ri .set (key , value ));
134+ for (Map .Entry <String , Object > entry : riskIndicatorsMap .entrySet ()) {
135+ ri .set (entry .getKey (), entry .getValue ());
136+ }
135137 return ri ;
136138 }
137139
You can’t perform that action at this time.
0 commit comments