OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 106 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 106 Rev 181
Line 52... Line 52...
52
    public ListMap<String, String> getShowAs() {
52
    public ListMap<String, String> getShowAs() {
53
        return ListMap.singleton(null, getComboFields());
53
        return ListMap.singleton(null, getComboFields());
54
    }
54
    }
55
 
55
 
56
    @Override
56
    @Override
57
    public SQLComponent createComponent() {
57
	public SQLComponent createComponent() {
58
        final String groupId = this.getCode() + ".default";
58
        final String groupId = this.getCode() + ".default";
59
        final Group group = GlobalMapper.getInstance().getGroup(groupId);
59
        final Group group = GlobalMapper.getInstance().getGroup(groupId);
60
        if (group == null) {
60
        if (group == null) {
61
            throw new IllegalStateException("No group found for id " + groupId);
61
            throw new IllegalStateException("No group found for id " + groupId);
62
        }
62
        }