License notices for the borrowed code have been added

This commit is contained in:
Sameer Rahmani 2019-12-28 21:41:15 +00:00
parent 436bc23162
commit 0ad9b22974
2 changed files with 11 additions and 10 deletions

View File

@ -17,6 +17,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*/
/**
* I License notice: I have borrowed the foundations of this namespace
* from Clojure <http://clojure.org> which releases under EPL license.
*/
package serene.simple.builtin;
import java.lang.reflect.Constructor;
@ -28,6 +34,7 @@ import serene.simple.BaseScope;
import serene.simple.SereneException;
import static serene.simple.Utils.getClassOf;
public class NewFn extends AFn {
public String fnName() {
return "new";

View File

@ -17,22 +17,16 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*/
/**
* I have borrowed the foundations of this namespace from Clojure
* Which is published under EPL license.
* I License notice: I have borrowed the foundations of this namespace
* from Clojure <http://clojure.org> which releases under EPL license.
*/
package serene.simple.builtin;
import java.lang.invoke.MethodHandle;
import java.lang.invoke.MethodHandles;
import java.lang.invoke.MethodType;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.util.*;
import java.util.stream.Collectors;
import java.util.Iterator;
import java.util.ArrayList;
import serene.simple.SereneException;