Commit fb32ad23 authored by Varun Patil's avatar Varun Patil

Refactor variable name to generic

parent 92582d88
...@@ -17,8 +17,8 @@ public class UpdatableList<T> extends ArrayList<T> { ...@@ -17,8 +17,8 @@ public class UpdatableList<T> extends ArrayList<T> {
/** Update existing or add */ /** Update existing or add */
public void updateCache(T t) { public void updateCache(T t) {
for (int i = 0; i < cache.size(); i++) { for (int i = 0; i < cache.size(); i++) {
T cachedEvent = cache.get(i); T cachedT = cache.get(i);
if (cachedEvent.equals(t)) { if (cachedT.equals(t)) {
cache.set(i, t); cache.set(i, t);
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment