|
|
e5cca7 |
diff -up antlr-2.7.7/examples/java/unicode.IDENTs/ShowString.java.licensefix antlr-2.7.7/examples/java/unicode.IDENTs/ShowString.java
|
|
|
e5cca7 |
--- antlr-2.7.7/examples/java/unicode.IDENTs/ShowString.java.licensefix 2012-08-16 10:16:12.157567962 -0400
|
|
|
e5cca7 |
+++ antlr-2.7.7/examples/java/unicode.IDENTs/ShowString.java 2012-08-16 10:17:46.425574161 -0400
|
|
|
e5cca7 |
@@ -1,19 +1,33 @@
|
|
|
e5cca7 |
|
|
|
e5cca7 |
/*
|
|
|
e5cca7 |
- * Copyright (c) 1995-1998 Sun Microsystems, Inc. All Rights Reserved.
|
|
|
e5cca7 |
+ * Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved.
|
|
|
e5cca7 |
*
|
|
|
e5cca7 |
- * Permission to use, copy, modify, and distribute this software
|
|
|
e5cca7 |
- * and its documentation for NON-COMMERCIAL purposes and without
|
|
|
e5cca7 |
- * fee is hereby granted provided that this copyright notice
|
|
|
e5cca7 |
- * appears in all copies. Please refer to the file "copyright.html"
|
|
|
e5cca7 |
- * for further important copyright and licensing information.
|
|
|
e5cca7 |
+ * Redistribution and use in source and binary forms, with or without
|
|
|
e5cca7 |
+ * modification, are permitted provided that the following conditions
|
|
|
e5cca7 |
+ * are met:
|
|
|
e5cca7 |
*
|
|
|
e5cca7 |
- * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF
|
|
|
e5cca7 |
- * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
|
e5cca7 |
- * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
|
e5cca7 |
- * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR
|
|
|
e5cca7 |
- * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
|
|
|
e5cca7 |
- * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
|
|
|
e5cca7 |
+ * - Redistributions of source code must retain the above copyright
|
|
|
e5cca7 |
+ * notice, this list of conditions and the following disclaimer.
|
|
|
e5cca7 |
+ *
|
|
|
e5cca7 |
+ * - Redistributions in binary form must reproduce the above copyright
|
|
|
e5cca7 |
+ * notice, this list of conditions and the following disclaimer in the
|
|
|
e5cca7 |
+ * documentation and/or other materials provided with the distribution.
|
|
|
e5cca7 |
+ *
|
|
|
e5cca7 |
+ * - Neither the name of Oracle or the names of its
|
|
|
e5cca7 |
+ * contributors may be used to endorse or promote products derived
|
|
|
e5cca7 |
+ * from this software without specific prior written permission.
|
|
|
e5cca7 |
+ *
|
|
|
e5cca7 |
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
|
e5cca7 |
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
|
e5cca7 |
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
|
e5cca7 |
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
|
e5cca7 |
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
|
e5cca7 |
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
|
e5cca7 |
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
|
e5cca7 |
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
|
e5cca7 |
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
|
e5cca7 |
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
|
e5cca7 |
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
e5cca7 |
*/
|
|
|
e5cca7 |
|
|
|
e5cca7 |
import java.awt.*;
|
|
|
e5cca7 |
diff -up antlr-2.7.7/examples/java/unicode.IDENTs/StreamConverter.java.licensefix antlr-2.7.7/examples/java/unicode.IDENTs/StreamConverter.java
|
|
|
e5cca7 |
--- antlr-2.7.7/examples/java/unicode.IDENTs/StreamConverter.java.licensefix 2012-08-16 10:18:24.649576674 -0400
|
|
|
e5cca7 |
+++ antlr-2.7.7/examples/java/unicode.IDENTs/StreamConverter.java 2012-08-16 10:18:49.002578275 -0400
|
|
|
e5cca7 |
@@ -1,19 +1,33 @@
|
|
|
e5cca7 |
|
|
|
e5cca7 |
/*
|
|
|
e5cca7 |
- * Copyright (c) 1995-1998 Sun Microsystems, Inc. All Rights Reserved.
|
|
|
e5cca7 |
+ * Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved.
|
|
|
e5cca7 |
*
|
|
|
e5cca7 |
- * Permission to use, copy, modify, and distribute this software
|
|
|
e5cca7 |
- * and its documentation for NON-COMMERCIAL purposes and without
|
|
|
e5cca7 |
- * fee is hereby granted provided that this copyright notice
|
|
|
e5cca7 |
- * appears in all copies. Please refer to the file "copyright.html"
|
|
|
e5cca7 |
- * for further important copyright and licensing information.
|
|
|
e5cca7 |
+ * Redistribution and use in source and binary forms, with or without
|
|
|
e5cca7 |
+ * modification, are permitted provided that the following conditions
|
|
|
e5cca7 |
+ * are met:
|
|
|
e5cca7 |
*
|
|
|
e5cca7 |
- * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF
|
|
|
e5cca7 |
- * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
|
|
|
e5cca7 |
- * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
|
e5cca7 |
- * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR
|
|
|
e5cca7 |
- * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
|
|
|
e5cca7 |
- * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
|
|
|
e5cca7 |
+ * - Redistributions of source code must retain the above copyright
|
|
|
e5cca7 |
+ * notice, this list of conditions and the following disclaimer.
|
|
|
e5cca7 |
+ *
|
|
|
e5cca7 |
+ * - Redistributions in binary form must reproduce the above copyright
|
|
|
e5cca7 |
+ * notice, this list of conditions and the following disclaimer in the
|
|
|
e5cca7 |
+ * documentation and/or other materials provided with the distribution.
|
|
|
e5cca7 |
+ *
|
|
|
e5cca7 |
+ * - Neither the name of Oracle or the names of its
|
|
|
e5cca7 |
+ * contributors may be used to endorse or promote products derived
|
|
|
e5cca7 |
+ * from this software without specific prior written permission.
|
|
|
e5cca7 |
+ *
|
|
|
e5cca7 |
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
|
e5cca7 |
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
|
e5cca7 |
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
|
e5cca7 |
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
|
e5cca7 |
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
|
e5cca7 |
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
|
e5cca7 |
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
|
e5cca7 |
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
|
e5cca7 |
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
|
e5cca7 |
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
|
e5cca7 |
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
e5cca7 |
*/
|
|
|
e5cca7 |
|
|
|
e5cca7 |
import java.io.*;
|