This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
NB6.5 daily from 20081010 refuses to convert the following code snippet from a J2SE project into a separate method: final File[] directoryEntries = entry.listFiles( new FileFilter() { public boolean accept( File pathname ) { // Keep directories. if (pathname.isDirectory()) { return true; } final int position = pathname.getName().lastIndexOf( File.separator ); String fileName = pathname.getName(); if (position >=0) { fileName = pathname.getName().substring( position + 1 ); } getLog().debug( "Checking file name " + fileName ); return fileName.matches( pattern ); } }); Regards, Georg
Created attachment 71625 [details] Screenshot
Will resolve later
NetBeans.org Migration: changing resolution from LATER to WONTFIX