oburn 2003/03/10 21:15:58 Modified: src/java/org/apache/log4j/chainsaw RecentFilesMenu.java Log: Patch to fix Checkstyle errors Revision Changes Path 1.4 +10 -1 jakarta-log4j/src/java/org/apache/log4j/chainsaw/RecentFilesMenu.java Index: RecentFilesMenu.java =================================================================== RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/chainsaw/RecentFilesMenu.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- RecentFilesMenu.java 11 Mar 2003 03:59:20 -0000 1.3 +++ RecentFilesMenu.java 11 Mar 2003 05:15:58 -0000 1.4 @@ -121,12 +121,21 @@ /** File to load */ private final String mFilename; + /** + * Constructor that uses the filename and the order as descriptors + * for use within the GUI + * @param filename the file name to load + * @param order a sorting number + */ public LoadRecentFileAction(String filename, int order) { mFilename = filename; putValue(NAME, order + " - " + filename); } - /* Load the file */ + /** + * Loads the File + * @param ae the ActionEvent from the pressing of the button + */ public void actionPerformed(ActionEvent ae) { try { final File f = new File(mFilename);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]