1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-08 08:45:44 +02:00

Fixed a typo.

This commit is contained in:
Sergey Prigogin 2012-04-17 12:05:31 -07:00
parent 9475940089
commit f3f2671d48

View file

@ -89,7 +89,7 @@ public class CxxModelsCache implements ICodanDisposable {
return cfg; return cfg;
cfg = CxxControlFlowGraph.build(func); cfg = CxxControlFlowGraph.build(func);
// TODO(Alena Laskavaia): Change to LRU. // TODO(Alena Laskavaia): Change to LRU.
if (cfgmap.size() > 20) { // if too many function better drop the cash if (cfgmap.size() > 20) { // if too many function better drop the cache
cfgmap.clear(); cfgmap.clear();
} }
cfgmap.put(func, cfg); cfgmap.put(func, cfg);