src/main/java/de/blau/android/osm/StorageDelegator.java
/**
     * Generate a log message and throw an IllegalStateException if rm or the type is null
     * 
     * @param id the relation OSM id
     * @param rm the member
     */
Generate a log message and throw an IllegalStateException if rm or the type is null

@param id the relation OSM id
@param rm the member
Generate a log message and throw an IllegalStateException if rm or the type is null @param id the relation OSM id @param rm the member
private void checkMember(long id, @Nullable RelationMember rm) {
        if (rm == null) {
            Log.e(DEBUG_TAG, "Null member of relation " + id);
            throw new IllegalStateException("Null member of relation " + id);
        } else if (rm.type == null) {
            Log.e(DEBUG_TAG, "Relation member with null type in " + id);
            throw new IllegalStateException("Relation member with null type in " + id);
        }
    }
private void checkMember ( long id , @ Nullable RelationMember rm ) { if ( rm == null ) { Log . e ( DEBUG_TAG , "Null member of relation " + id ) ; throw new IllegalStateException ( "Null member of relation " + id ) ; } else if ( rm . type == null ) { Log . e ( DEBUG_TAG , "Relation member with null type in " + id ) ; throw new IllegalStateException ( "Relation member with null type in " + id ) ; } }
Generate a log message and throw an IllegalStateException if rm or the type is null
Generate a log message and throw an IllegalStateException if rm or the type is null