private int getCorpusConfigIntValues ( String context ) { int value = Integer . parseInt ( defaultCorpusConfig . getConfig ( ) . getProperty ( context ) ) ; if ( value < 0 ) { throw new IllegalStateException ( "the value must be > 0" ) ; } return value ; }
Extract corpus configurations values with numeric values .