class LimitedCookieStoreFacade implements CookieStore {
        private List<Cookie> cookies;

        protected LimitedCookieStoreFacade(List<Cookie> cookies) {
            this.cookies = cookies;
        }

        @Override
        public List<Cookie> getCookies() {
            return cookies;
        }

        @Override
        public boolean clearExpired(Date date) {<FILL_FUNCTION_BODY>}

        @Override
        public void clear() {
            throw new RuntimeException("not implemented");
        }

        @Override
        public void addCookie(Cookie cookie) {
            AbstractCookieStore.this.addCookie(cookie);
        }
    }

            int expiredCount = 0;
            for( Cookie c : cookies) {
                boolean expired = AbstractCookieStore.this.expireCookie(c, date);
                if( expired ) {
                    logger.fine("Expired cookie: " + c + " for date: " + date);
                    expiredCount++;
                }
            }
            if( expiredCount > 0 ) {
                logger.fine("Expired " + expiredCount + " cookies for date: " + date);
                return true;
            } else {
                return false;
            }
        
<no_super_class>