@SuppressWarnings({"unchecked"}) private void markProcssed(FacesContext ctx,ResourceDependency dep){
  Set<ResourceDependency> dependencies=(Set<ResourceDependency>)RequestStateManager.get(ctx,RequestStateManager.PROCESSED_RESOURCE_DEPENDENCIES);
  if (dependencies == null) {
    dependencies=new HashSet<>(6);
    RequestStateManager.set(ctx,RequestStateManager.PROCESSED_RESOURCE_DEPENDENCIES,dependencies);
  }
  dependencies.add(dep);
}

@ SuppressWarnings ( { "unchecked" } ) private void markProcssed ( FacesContext ctx , ResourceDependency dep ) { Set < ResourceDependency > dependencies = ( Set < ResourceDependency > ) RequestStateManager . get ( ctx , RequestStateManager . PROCESSED_RESOURCE_DEPENDENCIES ) ; if ( dependencies == null ) { dependencies = new HashSet < > ( 6 ) ; RequestStateManager . set ( ctx , RequestStateManager . PROCESSED_RESOURCE_DEPENDENCIES , dependencies ) ; } dependencies . add ( dep ) ; }
indicates that the specified resourcedependency has been processed .
