Skip to content

Commit 6a1f48e

Browse files
committed
Make points transient
1 parent 547dfc9 commit 6a1f48e

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

src/com/jacamars/dsp/rtb/common/Node.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public class Node {
142142
/** Not in the REGEX */
143143
public static final int NOT_REGEX = 21;
144144
/** If this node contains geo information, it will be found here */
145-
public List<Point> points = new ArrayList<Point>();
145+
transient List<Point> points = new ArrayList<Point>();
146146
/**
147147
* A convenient map to turn string operator references to their int conterparts
148148
*/

zipcodetest.json

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
[{
2+
"isAdx": false,
3+
"adId": "zipcode-test",
4+
"adomain": "originator.com",
5+
"attributes": [{
6+
"name": "LATLON",
7+
"value": "ZIPCODES, 90505,90506,90507,10000",
8+
"op": "INRANGE",
9+
"notPresentOk": false,
10+
"bidRequestValues": ["device", "geo"]
11+
}],
12+
"creatives": [{
13+
"forwardurl": "http://localhost:8080/contact.html?{site_id}&adid={ad_id}&crid={creative_id}",
14+
"imageurl": "http://localhost:8080/images/320x50.jpg?adid={ad_id}&bidid={bid_id}",
15+
"impid": "blocker",
16+
"w": 320,
17+
"h": 50,
18+
"attributes": [],
19+
"currency": "",
20+
"cur": "USD",
21+
"price": 1.0,
22+
"adm_override": false,
23+
"status": "active"
24+
}],
25+
"date": [20130205, 20200101],
26+
"category": ["IAB1", "IAB2"],
27+
"forensiq": true,
28+
"assignedSpendRate": 16667,
29+
"frequencyCap": {
30+
"capSpecification": ["device.ip"],
31+
"capFrequency": 3,
32+
"capTimeout": 300
33+
}
34+
}
35+
]

0 commit comments

Comments
 (0)