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