436437438439440441442443444445446447
// endpointsCache.put(subscription, ep); // } // subscription = ep.getAddress(); // } ObjectFilter filter = createFilter(subscription); if (filter.accept(endpoint)) { return true; } } return false;
423424425426427428429430431432433434
{ for (int i = 0; i < subscriptions.length; i++) { String subscription = subscriptions[i]; ObjectFilter filter = createFilter(subscription); if (filter.accept(endpoint)) { return true; } } return false;