@SuppressWarnings({"FinalPrivateMethod"}) private final void assertNotReleased(){
  if (!isActive()) {
    if (LOGGER.isLoggable(Level.SEVERE)) {
      LOGGER.log(Level.SEVERE,"Trying to access ViewScope CDI context while it is not active");
    }
    throw new ContextNotActiveException();
  }
}

@ SuppressWarnings ( { "FinalPrivateMethod" } ) private final void assertNotReleased ( ) { if ( ! isActive ( ) ) { if ( LOGGER . isLoggable ( Level . SEVERE ) ) { LOGGER . log ( Level . SEVERE , "Trying to access ViewScope CDI context while it is not active" ) ; } throw new ContextNotActiveException ( ) ; } }
assert the context is active , otherwise throw contextnotactiveexception .
