|
From: David C. <dc...@us...> - 2005-10-16 21:02:26
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/symbols In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23517/src/org/rubypeople/rdt/internal/core/symbols Modified Files: SymbolIndex.java Log Message: Refactored setting debug flags. Index: SymbolIndex.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.core/src/org/rubypeople/rdt/internal/core/symbols/SymbolIndex.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** SymbolIndex.java 16 Oct 2005 19:05:45 -0000 1.4 --- SymbolIndex.java 16 Oct 2005 21:02:16 -0000 1.5 *************** *** 26,29 **** --- 26,30 ---- private Map index = Collections.synchronizedMap(new HashMap()); + private static boolean verbose; public void add(ClassSymbol symbol, Location location) { *************** *** 65,68 **** --- 66,77 ---- } + public static void setVerbose(boolean verbose) { + SymbolIndex.verbose = verbose; + } + + public static boolean isVerbose() { + return verbose; + } + } |