project/com.nokia.carbide.cpp.epoc.engine/src/com/nokia/carbide/internal/cpp/epoc/engine/model/ViewDataCache.java
equal
deleted
inserted
replaced
297 |
297 |
298 if (statefulData != null) { |
298 if (statefulData != null) { |
299 if (DEBUG_VERBOSE) { |
299 if (DEBUG_VERBOSE) { |
300 System.out.println("Found entry for " + key); //$NON-NLS-1$ |
300 System.out.println("Found entry for " + key); //$NON-NLS-1$ |
301 } |
301 } |
302 cacheHits.put(key, cacheHits.get(key) + 1); |
302 if ((cacheHits.get(key) != null)){ |
|
303 cacheHits.put(key, cacheHits.get(key) + 1); |
|
304 } |
|
305 |
303 data = statefulData.second; |
306 data = statefulData.second; |
304 } |
307 } |
305 return data; |
308 return data; |
306 } |
309 } |
307 |
310 |