File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/main/java/org/prebid/server/bidder/metax Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 99import com .iab .openrtb .response .BidResponse ;
1010import com .iab .openrtb .response .SeatBid ;
1111import org .apache .commons .collections4 .CollectionUtils ;
12- import org .apache .commons .lang3 .StringUtils ;
1312import org .prebid .server .bidder .Bidder ;
1413import org .prebid .server .bidder .model .BidderBid ;
1514import org .prebid .server .bidder .model .BidderCall ;
@@ -107,10 +106,10 @@ private static Imp modifyImp(Imp imp) {
107106 private String resolveEndpoint (ExtImpMetax extImpMetax ) {
108107 final String publisherIdAsString = Optional .ofNullable (extImpMetax .getPublisherId ())
109108 .map (Object ::toString )
110- .orElse (StringUtils . EMPTY );
109+ .orElse ("0" );
111110 final String adUnitAsString = Optional .ofNullable (extImpMetax .getAdUnit ())
112111 .map (Object ::toString )
113- .orElse (StringUtils . EMPTY );
112+ .orElse ("0" );
114113
115114 return endpointUrl
116115 .replace (PUBLISHER_ID_MACRO , publisherIdAsString )
@@ -143,7 +142,6 @@ private static List<BidderBid> extractBids(BidResponse bidResponse) {
143142 .bidCurrency (bidResponse .getCur ())
144143 .videoInfo (videoInfo (bid ))
145144 .build ())
146-
147145 .toList ();
148146 }
149147
You can’t perform that action at this time.
0 commit comments