From: <cg...@us...> - 2009-08-22 07:59:53
|
Revision: 6704 http://jython.svn.sourceforge.net/jython/?rev=6704&view=rev Author: cgroves Date: 2009-08-22 07:59:45 +0000 (Sat, 22 Aug 2009) Log Message: ----------- Cleanup Modified Paths: -------------- branches/customizable-proxymaker/src/org/python/core/ParserFacade.java branches/customizable-proxymaker/src/org/python/core/PyProxy.java branches/customizable-proxymaker/src/org/python/core/util/ByteSwapper.java Modified: branches/customizable-proxymaker/src/org/python/core/ParserFacade.java =================================================================== --- branches/customizable-proxymaker/src/org/python/core/ParserFacade.java 2009-08-22 07:53:18 UTC (rev 6703) +++ branches/customizable-proxymaker/src/org/python/core/ParserFacade.java 2009-08-22 07:59:45 UTC (rev 6704) @@ -4,14 +4,11 @@ import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.ByteArrayInputStream; -import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; -import java.io.OutputStreamWriter; import java.io.Reader; import java.io.StringReader; -import java.io.Writer; import java.nio.charset.CharacterCodingException; import java.nio.charset.Charset; import java.nio.charset.CharsetDecoder; @@ -25,7 +22,6 @@ import org.python.antlr.BaseParser; import org.python.antlr.NoCloseReaderStream; import org.python.antlr.ParseException; -import org.python.antlr.PythonLexer; import org.python.antlr.PythonPartialLexer; import org.python.antlr.PythonPartialParser; import org.python.antlr.PythonTokenSource; @@ -173,7 +169,7 @@ close(bufReader); } } - + public static mod parse(InputStream stream, CompileMode kind, String filename, @@ -272,7 +268,7 @@ throws IOException { cflags.source_is_utf8 = true; cflags.encoding = "utf-8"; - + BufferedReader bufferedReader = new BufferedReader(reader); bufferedReader.mark(MARK_LIMIT); if (findEncoding(bufferedReader) != null) Modified: branches/customizable-proxymaker/src/org/python/core/PyProxy.java =================================================================== --- branches/customizable-proxymaker/src/org/python/core/PyProxy.java 2009-08-22 07:53:18 UTC (rev 6703) +++ branches/customizable-proxymaker/src/org/python/core/PyProxy.java 2009-08-22 07:59:45 UTC (rev 6704) @@ -34,7 +34,7 @@ * Associate an system state with this proxy instance. This is done during construction and * initialization of the proxy instance. */ - abstract public void _setPySystemState(PySystemState ss); + void _setPySystemState(PySystemState ss); /** * Return the associated system state. Modified: branches/customizable-proxymaker/src/org/python/core/util/ByteSwapper.java =================================================================== --- branches/customizable-proxymaker/src/org/python/core/util/ByteSwapper.java 2009-08-22 07:53:18 UTC (rev 6703) +++ branches/customizable-proxymaker/src/org/python/core/util/ByteSwapper.java 2009-08-22 07:59:45 UTC (rev 6704) @@ -4,9 +4,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -30,7 +30,7 @@ * </ul> * <p /> * Note this functionality is provided in the base types since 1.5. - * + * * @author Andrew Howard */ public class ByteSwapper { @@ -38,7 +38,7 @@ /** * Reverses the byte order of all elements in the supplied array, converting * between little and big endian byte order. - * + * * @param array the input array for type sensitive byte swapping. */ public static void swap(Object array) { @@ -68,7 +68,7 @@ /** * Byte order reverses an <code>Array</code> of <code>doubles</code> - * + * * @param array input array */ private static void swapDoubleArray(Object array) { @@ -99,7 +99,7 @@ /** * Byte order reverses an <code>Array</code> of <code>floats</code> - * + * * @param array input array */ private static void swapFloatArray(Object array) { @@ -125,7 +125,7 @@ /** * Byte order reverses an <code>Array</code> of <code>ints</code> - * + * * @param array input array */ private static void swapIntegerArray(Object array) { @@ -148,7 +148,7 @@ /** * Byte order reverses an <code>Array</code> of <code>longs</code> - * + * * @param array input array */ private static void swapLongArray(Object array) { @@ -176,7 +176,7 @@ /** * Byte order reverses an <code>Array</code> of <code>shorts</code> - * + * * @param array input array */ private static void swapShortArray(Object array) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |