File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
plugins/src/main/java/opengrok/auth/plugin/entity Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 18
18
*/
19
19
20
20
/*
21
- * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
21
+ * Copyright (c) 2017, 2022, Oracle and/or its affiliates. All rights reserved.
22
22
*/
23
23
package opengrok .auth .plugin .entity ;
24
24
@@ -44,8 +44,8 @@ public User(String username) {
44
44
* @param id user ID
45
45
*/
46
46
public User (String username , String id ) {
47
- this .id = id ;
48
47
this .username = username ;
48
+ this .id = id ;
49
49
}
50
50
51
51
/**
@@ -56,8 +56,7 @@ public User(String username, String id) {
56
56
* @param timeouted is the user timed out
57
57
*/
58
58
public User (String username , String id , Date cookieTimestamp , boolean timeouted ) {
59
- this .id = id ;
60
- this .username = username ;
59
+ this (username , id );
61
60
this .cookieTimestamp = cookieTimestamp ;
62
61
this .timeouted = timeouted ;
63
62
}
You can’t perform that action at this time.
0 commit comments