protected static INaviRawModule findRawModule(final int rawModuleId,final List<INaviRawModule> rawModules){
  Preconditions.checkArgument(rawModuleId > 0,"Raw module id %s must be positive integer",rawModuleId);
  Preconditions.checkNotNull(rawModules,"IE02263: raw modules argument can not be null");
  for (  final INaviRawModule rawModule : rawModules) {
    if (rawModule.getId() == rawModuleId) {
      return rawModule;
    }
  }
  throw new IllegalStateException("IE00160: Could not find raw module");
}

protected static INaviRawModule findRawModule ( final int rawModuleId , final List < INaviRawModule > rawModules ) { Preconditions . checkArgument ( rawModuleId > 0 , "Raw module id %s must be positive integer" , rawModuleId ) ; Preconditions . checkNotNull ( rawModules , "IE02263: raw modules argument can not be null" ) ; for ( final INaviRawModule rawModule : rawModules ) { if ( rawModule . getId ( ) == rawModuleId ) { return rawModule ; } } throw new IllegalStateException ( "IE00160: Could not find raw module" ) ; }
returns the raw module with the given id .
