app/src/main/java/fr/neamar/kiss/DataHandler.java
/**
     * Insert specified ID (probably a pojo.id) into history
     *
     * @param id pojo.id of item to record
     */
Insert specified ID (probably a pojo.id) into history
@param id pojo.id of item to record
Insert specified ID ( probably a pojo . id ) into history @param id pojo . id of item to record
public void addToHistory(String id) {
        if(id.isEmpty()) {
            return;
        }
        boolean frozen = PreferenceManager.getDefaultSharedPreferences(context).
                getBoolean("freeze-history", false);
        Set<String> excludedFromHistory = getExcludedFromHistory();
        if (!frozen && !excludedFromHistory.contains(id)) {
            DBHelper.insertHistory(this.context, currentQuery, id);
        }
    }
public void addToHistory ( String id ) { if ( id . isEmpty ( ) ) { return ; } boolean frozen = PreferenceManager . getDefaultSharedPreferences ( context ) . getBoolean ( "freeze-history" , false ) ; Set < String > excludedFromHistory = getExcludedFromHistory ( ) ; if ( ! frozen && ! excludedFromHistory . contains ( id ) ) { DBHelper . insertHistory ( this . context , currentQuery , id ) ; } }
Insert specified ID (probably a pojo.id) into history
 @param id pojo.id of item to record
Insert specified ID ( probably a pojo . id ) into history @param id pojo . id of item to record