app/src/main/java/org/andstatus/app/origin/PersistentOrigins.java
/**
     * @return EMPTY Origin if not found
     */
@return EMPTY Origin if not found
@return EMPTY Origin if not found
@NonNull
    public Origin fromId(long originId) {
        if (originId == 0) return Origin.EMPTY;
        for (Origin origin : mOrigins.values()) {
            if (origin.id == originId) {
                return origin;
            }
        }
        return Origin.EMPTY;
    }
@ NonNull public Origin fromId ( long originId ) { if ( originId == 0 ) return Origin . EMPTY ; for ( Origin origin : mOrigins . values ( ) ) { if ( origin . id == originId ) { return origin ; } } return Origin . EMPTY ; }
@return EMPTY Origin if not found
@return EMPTY Origin if not found