oburn 2003/03/10 21:14:57 Modified: src/java/org/apache/log4j/chainsaw Preferences.java Log: Patch to fix Checkstyle errors Revision Changes Path 1.3 +17 -5 jakarta-log4j/src/java/org/apache/log4j/chainsaw/Preferences.java Index: Preferences.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/chainsaw/Preferences.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Preferences.java 11 Mar 2003 03:59:20 -0000 1.2 +++ Preferences.java 11 Mar 2003 05:14:57 -0000 1.3 @@ -361,7 +361,10 @@ return Collections.unmodifiableList(files); } - /* Create the single instance */ + /** + * Create the single instance + * @return Preference the one and only + */ private static Preferences createInstance() { String filename = getPropertyFilename(); File file = new File(filename); @@ -393,7 +396,10 @@ return sInstance; } - /* Determine the property file to use */ + /** + * Determine the property file to use + * @return String property file name to load + */ private static String getPropertyFilename() { String filename = System.getProperty(PROP_FILE); @@ -416,13 +422,17 @@ return filename; } - /** Load the preferences from the file. */ + /** + * Load the preferences from the file. + */ private void load() { mMaxFiles = getInteger(MAX_FILES_PROPERTY, 5); loadFiles(); } - /** Load the recent files list. */ + /** + * Load the recent files list. + */ private void loadFiles() { final char[] ch = getProperty(FILES_PROPERTY, "").toCharArray(); final StringBuffer filename = new StringBuffer(ch.length); @@ -457,7 +467,9 @@ } } - /** Rebuild the recent files list property and menu */ + /** + * Rebuild the recent files list property and menu + */ private void rebuildRecentFilesData() { StringBuffer fileList = new StringBuffer(); boolean first = true;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]