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