Skip to content

Commit f93b15d

Browse files
committed
Fixed Javadoc warnings.
1 parent cab7f05 commit f93b15d

File tree

1 file changed

+17
-8
lines changed
  • src/main/java/org/gitlab4j/api/models

1 file changed

+17
-8
lines changed

src/main/java/org/gitlab4j/api/models/User.java

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
@XmlRootElement
66
public class User extends AbstractUser<User> {
7+
78
private String externUid;
89

910
public void setExternUid(String externUid) {
@@ -14,23 +15,31 @@ public String getExternUid() {
1415
return this.externUid;
1516
}
1617

18+
public User withExternUid(String externUid) {
19+
setExternUid(externUid);
20+
return this;
21+
}
22+
1723
/**
24+
* Fluent method to set the projects_limit setting.
25+
*
26+
* @param projectsLimit the value for the projects_limit setting
1827
* @deprecated Replaced by {@link #withProjectsLimit(Integer)}
19-
* @see #withProjectsLimit(Integer)
28+
* @see #withProjectsLimit(Integer)
29+
* @return the value of this instance
2030
*/
2131
@Deprecated
2232
public User withProjectLimit(Integer projectsLimit) {
2333
return withProjectsLimit(projectsLimit);
2434
}
25-
26-
public User withExternUid(String externUid) {
27-
setExternUid(externUid);
28-
return this;
29-
}
30-
35+
3136
/**
37+
* Fluent method to set the shared_projects_minutes_limit setting.
38+
*
39+
* @param sharedRunnersMinuteLimit the value for the shared_projects_minutes_limit setting
3240
* @deprecated Replaced by {@link #withSharedRunnersMinutesLimit(Integer)}
33-
* @see #withSharedRunnersMinutesLimit(Integer)
41+
* @see #withSharedRunnersMinutesLimit(Integer)
42+
* @return the value of this instance
3443
*/
3544
@Deprecated
3645
public User withSharedRunnersMinuteLimit(Integer sharedRunnersMinuteLimit) {

0 commit comments

Comments
 (0)