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