]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.core/src/main/java/org/argeo/slc/msg/ObjectList.java
Add license headers
[gpl/argeo-slc.git] / runtime / org.argeo.slc.core / src / main / java / org / argeo / slc / msg / ObjectList.java
index 720729ac08c06a1fb79b7b3d7ca8a8294febad3c..1bc57ba53d88e5d81bb7a84c2a7bdcbfa9870f84 100644 (file)
@@ -1,7 +1,24 @@
+/*
+ * Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *         http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
 package org.argeo.slc.msg;
 
 import java.io.Serializable;
 import java.util.ArrayList;
+import java.util.Collection;
 import java.util.List;
 
 public class ObjectList {
@@ -10,7 +27,7 @@ public class ObjectList {
        public ObjectList() {
        }
 
-       public ObjectList(List<? extends Serializable> objects) {
+       public ObjectList(Collection<? extends Serializable> objects) {
                this.objects.addAll(objects);
        }