OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

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

Rev 144 Rev 174
Line 120... Line 120...
120
            throw new IllegalArgumentException("Null collection");
120
            throw new IllegalArgumentException("Null collection");
121
    }
121
    }
122
 
122
 
123
    // ** copy constructors
123
    // ** copy constructors
124
 
124
 
-
 
125
    // ATTN getDelegate() is not in CollectionMap2Itf, so if one copies an unmodifiableMap() this
-
 
126
    // constructor won't be used and the delegate will be the default HashMap (even if the source
-
 
127
    // used a LinkedHashMap).
125
    public CollectionMap2(final CollectionMap2<K, C, ? extends V> m) {
128
    public CollectionMap2(final CollectionMap2<K, C, ? extends V> m) {
126
        this(CopyUtils.copy(m.getDelegate()), m);
129
        this(CopyUtils.copy(m.getDelegate()), m);
127
    }
130
    }
128
 
131
 
129
    public CollectionMap2(final Map<? extends K, ? extends Collection<? extends V>> m) {
132
    public CollectionMap2(final Map<? extends K, ? extends Collection<? extends V>> m) {