- public void filter(String content)
- {
- list2 = new ArrayList<>();
- Notification pom= null;
- for (Notification notification : list1)
- {
- if(content.equals(notification.getContent()))
- {
- pom = notification;
- list2.add(pom);
- }
- }
Severity: Notice
Message: Trying to access array offset on value of type bool
Filename: view/view.php
Line Number: 33
Severity: Notice
Message: Trying to access array offset on value of type bool
Filename: view/view.php
Line Number: 33
Severity: Notice
Message: Trying to access array offset on value of type bool
Filename: view/view.php
Line Number: 33
public void filter(String content) { list2 = new ArrayList<>(); Notification pom= null; for (Notification notification : list1) { if(content.equals(notification.getContent())) { pom = notification; list2.add(pom); } }