Skip to content

Commit 2d5a190

Browse files
javier-godoypaodb
authored andcommitted
docs: fix javadoc
1 parent 13e6d2d commit 2d5a190

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/flowingcode/vaadin/addons/simpletimer/SimpleTimer.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public void reset() {
127127
/**
128128
* Returns the status of the timer
129129
*
130-
* @return
130+
* @return {@code true} if the timer is running, {@code false} otherwise.
131131
*/
132132
@Synchronize(property = "isRunning", value = "is-running-changed")
133133
public boolean isRunning() {
@@ -190,7 +190,7 @@ public TimerEndedEvent(final SimpleTimer source, final boolean fromClient) {
190190
* Adds a timer ended listener that will be triggered when the timer reaches 0
191191
*
192192
* @param listener
193-
* @return
193+
* @return a handle that can be used for removing the listener
194194
*/
195195
public Registration addTimerEndEvent(final ComponentEventListener<TimerEndedEvent> listener) {
196196
return addListener(TimerEndedEvent.class, listener);

0 commit comments

Comments
 (0)