protected void unbindPostResponseCreator()

in src/main/java/org/apache/sling/jackrabbit/usermanager/impl/post/AbstractPostServlet.java [445:456]


    protected void unbindPostResponseCreator(final PostResponseCreator creator, final Map<String, Object> properties) {  //NOSONAR
        synchronized ( this.postResponseCreators ) {
            final Iterator<PostResponseCreatorHolder> i = this.postResponseCreators.iterator();
            while ( i.hasNext() ) {
                final PostResponseCreatorHolder current = i.next();
                if ( current.getCreator() == creator ) {
                    i.remove();
                }
            }
            this.updatePostResponseCreatorCache();
        }
    }