equal
deleted
inserted
replaced
89 cookieJar.add(cookie); |
89 cookieJar.add(cookie); |
90 // and add it to domain index |
90 // and add it to domain index |
91 if (cookie.getDomain() != null) { |
91 if (cookie.getDomain() != null) { |
92 addIndex(domainIndex, cookie.getDomain(), cookie); |
92 addIndex(domainIndex, cookie.getDomain(), cookie); |
93 } |
93 } |
94 // add it to uri index, too |
94 if (uri != null) { |
95 addIndex(uriIndex, getEffectiveURI(uri), cookie); |
95 // add it to uri index, too |
|
96 addIndex(uriIndex, getEffectiveURI(uri), cookie); |
|
97 } |
96 } |
98 } |
97 } finally { |
99 } finally { |
98 lock.unlock(); |
100 lock.unlock(); |
99 } |
101 } |
100 } |
102 } |