boolean () { TodoConfiguration todoConfiguration = TodoConfiguration.getInstance(); TodoPattern[] initialPatterns = getTodoPatternsToDisplay(todoConfiguration); if (initialPatterns.length != myPatterns.size()) { return true; } for (TodoPattern initialPattern : initialPatterns) { if (!myPatterns.contains(initialPattern)) { return true; } } return false; }