app/src/main/java/org/andstatus/app/origin/PersistentOrigins.java
/**
     * @return Origin of this type or empty Origin of UNKNOWN type if not found
     */
@return Origin of this type or empty Origin of UNKNOWN type if not found
@return Origin of this type or empty Origin of UNKNOWN type if not found
public Origin firstOfType(OriginType originType) {
        for (Origin origin : mOrigins.values()) {
            if (origin.getOriginType() == originType) {
                return origin;
            }
        }
        return Origin.EMPTY;
    }
public Origin firstOfType ( OriginType originType ) { for ( Origin origin : mOrigins . values ( ) ) { if ( origin . getOriginType ( ) == originType ) { return origin ; } } return Origin . EMPTY ; }
@return Origin of this type or empty Origin of UNKNOWN type if not found
@return Origin of this type or empty Origin of UNKNOWN type if not found