1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-21 16:05:25 +02:00

Made DEFAULT encoding name a public member of CodeReader.

This commit is contained in:
John Camelon 2004-08-16 17:34:01 +00:00
parent ff59fc7493
commit 5a650d1e6e

View file

@ -25,7 +25,7 @@ import org.eclipse.cdt.internal.core.parser.scanner2.CharArrayUtils;
* @author jcamelon * @author jcamelon
*/ */
public class CodeReader { public class CodeReader {
private static final String SYSTEM_DEFAULT_ENCODING = System.getProperty( "file.encoding" ); //$NON-NLS-1$ public static final String SYSTEM_DEFAULT_ENCODING = System.getProperty( "file.encoding" ); //$NON-NLS-1$
//private static final String UTF_8 = "UTF-8"; //$NON-NLS-1$ //private static final String UTF_8 = "UTF-8"; //$NON-NLS-1$
private static final String NF = "<text>"; //$NON-NLS-1$ private static final String NF = "<text>"; //$NON-NLS-1$
private static final char [] NOFILE = NF.toCharArray(); //$NON-NLS-1$ private static final char [] NOFILE = NF.toCharArray(); //$NON-NLS-1$