#7531, Subversion, and $Id$
Hi, one of my clients thinks it's a good idea to put a 'protected static final String REVISION = "$Id$' declaration in each Java class. It wouldn't really bother me if I wouldn't recognize a significant slowdown while building the project in IDEA. I activated compilation in the background, and I can see lots of 'Search for REVISION' messages in the status bar that stick there way too long. It looks like IDEA analyzes each of them individually. I wonder what IDEA is doing here!?!?
Please sign in to leave a comment.
Hello tom,
It searches for classes that depend on the constant. To avoid this, just
change the constant declaration to private.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks, Dmitry. That makes sense.