@ RequirePOST public HttpResponse doApproveAll ( ) throws IOException { StringBuilder buf = new StringBuilder ( ) ; for ( Class c : rejected . get ( ) ) { buf . append ( c . getName ( ) ) . append ( ' ' ) ; } whitelisted . append ( buf . toString ( ) ) ; return HttpResponses . ok ( ) ; }
Approves all the currently rejected subjects