OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 156 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 156 Rev 180
Line 671... Line 671...
671
    }
671
    }
672
 
672
 
673
    /**
673
    /**
674
     * Get the default clause.
674
     * Get the default clause.
675
     * 
675
     * 
676
     * @param def the default, e.g. "0".
676
     * @param def the default, e.g. "0" or <code>null</code>.
677
     * @return the default clause, e.g. "DEFAULT 0".
677
     * @return the default clause, e.g. " DEFAULT 0" or " ".
678
     */
678
     */
679
    public final String getDefaultClause(final String def) {
679
    public final String getDefaultClause(final String def) {
680
        if (def == null)
680
        if (def == null)
681
            return " ";
681
            return " ";
682
        else
682
        else