private boolean detectSpecialInitializationCase(FacesContext facesContext){
  boolean result=false;
  if (null == facesContext) {
    logNullFacesContext.compareAndSet(false,true);
  }
 else {
    logNonNullFacesContext.compareAndSet(false,true);
  }
  result=logNullFacesContext.get() && logNonNullFacesContext.get();
  return result;
}

private boolean detectSpecialInitializationCase ( FacesContext facesContext ) { boolean result = false ; if ( null == facesContext ) { logNullFacesContext . compareAndSet ( false , true ) ; } else { logNonNullFacesContext . compareAndSet ( false , true ) ; } result = logNullFacesContext . get ( ) && logNonNullFacesContext . get ( ) ; return result ; }
this method is used to detect the following special initialization case . if no factoryfinderinstance can be found for key , and this call to getapplicationfactoryfinderinstance ( ) * does * have a currentkeyrent facescontext but a previous call to getapplicationfactoryfinderinstance * did not * have a currentkeyrent facescontext
