Skip to content

Commit b9b777d

Browse files
TzevaAdomNotifier is no longer Iterable
Conceptually something whose responsibility is to just notify - is not a collection you can iterate on.
1 parent 2898547 commit b9b777d

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/main/java/dte/tzevaadomapi/notifier/TzevaAdomNotifier.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@
2121
* <p>
2222
* A request for the most recent alert is sent every constant duration, and the result is then compared to the previous one.
2323
* If the 2 alerts don't equal - It's <b>Tzeva Adom</b> and the registered listeners are notified.
24-
* <p>
25-
* This class implements <b>Iterable{@literal <Alert>}</b> which returns the history of Tzeva Adom alerts.
2624
*/
27-
public class TzevaAdomNotifier implements Iterable<Alert>
25+
public class TzevaAdomNotifier
2826
{
2927
private final AlertSource alertSource;
3028
private final Duration requestDelay;

0 commit comments

Comments
 (0)