Skip to content

Commit 6cd9e9b

Browse files
committed
Use Lombok annotations and add Javadoc for 'took' field
1 parent 4b39b08 commit 6cd9e9b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
package de.muenchen.captchaservice.data;
22

3+
import lombok.Getter;
4+
import lombok.Setter;
35
import org.altcha.altcha.Altcha;
46

7+
@Getter
8+
@Setter
59
public class ExtendedPayload extends Altcha.Payload {
610

11+
/**
12+
* The time taken (in milliseconds) to solve the captcha challenge.
13+
* This field tracks how long it took for the user/client to complete the captcha.
14+
*/
715
private Long took;
816

9-
public Long getTook() {
10-
return took;
11-
}
12-
13-
public void setTook(Long took) {
14-
this.took = took;
15-
}
16-
1717
}

0 commit comments

Comments
 (0)