/** * Checks if the coverage contains the <code>envelope</code>. * * @param envelope * The envelope to check for. */ protected void checkBounds( Envelope envelope ) { // rb: following checks are unnecessary because the creation of envelopes should check it. // assert ( envelope.getMin().x < envelope.getMax().x ); // assert ( envelope.getMin().y < envelope.getMax().y ); // assert ( getEnvelope().getMin().x < getEnvelope().getMax().x ); // assert ( getEnvelope().getMin().y < getEnvelope().getMax().y ); if ( !getEnvelope().contains( envelope ) ) { throw new IndexOutOfBoundsException(); } }
result = validDomain.contains( inSource ); } catch ( UnsupportedOperationException e ) { LOG.info( "Could not determine valid domain because it is not supported: " + e.getMessage(), e );