Re: tasklist/checkstyle version dep
Petr Kuzel <[email protected]> Thu, 12 Feb 2004 11:56:51 +0100
| Newsgroups | gmane.comp.java.netbeans.modules.tasklist.devel |
|---|---|
| Organization | Sun Microsystems |
| Message-ID | <[email protected]> |
John Richardson wrote: >>>> Is Jesse's suggestion of File.createTempFile() that much of a headache? >>> >>> In development time few lines of code. In runtime probably >>> several hundreds milliseconds. It's probably OK for user's action >>> but unsuitable for background scanning. > > OK, but several hundreds of milliseconds is probably small compared to the > time it takes to actually run the checks. Well, it needs to be measured and compared to PMD (there is big functionality overlap). Performance might be critical acceptance criterion. >> Another approach could be that checkstyle accepts CharSequence. >> In standalone mode it can get FileChannel then ByteBuffer and then >> CharBuffer. > > I think they're still supporting JDK 1.3, so NIO might be out of the > question. I'll test the temp file based solution. Cc. -- <address> <a href="mailto:[email protected]">Petr Kuzel</a> at Sun Microsystems : <a href="http://www.netbeans.org/">NetBeans Java IDE</a></address>