File tree Expand file tree Collapse file tree 14 files changed +11
-34
lines changed
gitlab4j-models/src/main/java/org/gitlab4j/api Expand file tree Collapse file tree 14 files changed +11
-34
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ public String toValue() {
34
34
return (enumHelper .toString (this ));
35
35
}
36
36
37
+ @ Override
37
38
public String toString () {
38
39
return (enumHelper .toString (this ));
39
40
}
@@ -241,6 +242,7 @@ public String getLinkByName(String name) {
241
242
return (links .get (name ));
242
243
}
243
244
245
+ @ Override
244
246
public String toString () {
245
247
return (JacksonJson .toJsonString (this ));
246
248
}
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ public void setUrl(String url) {
77
77
this .url = url ;
78
78
}
79
79
80
+ @ Override
80
81
public String toString () {
81
82
return (JacksonJson .toJsonString (this ));
82
83
}
Original file line number Diff line number Diff line change 5
5
public class ChildEpic extends AbstractEpic <ChildEpic > {
6
6
private static final long serialVersionUID = 1L ;
7
7
8
+ @ Override
8
9
public String toString () {
9
10
return (JacksonJson .toJsonString (this ));
10
11
}
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ public class CreatedChildEpic extends AbstractMinimalEpic<CreatedChildEpic> {
7
7
8
8
private Boolean hasChildren ;
9
9
private Boolean hasIssues ;
10
- private String url ;
11
10
private String relationUrl ;
12
11
13
12
public Boolean getHasChildren () {
@@ -26,14 +25,6 @@ public void setHasIssues(Boolean hasIssues) {
26
25
this .hasIssues = hasIssues ;
27
26
}
28
27
29
- public String getUrl () {
30
- return url ;
31
- }
32
-
33
- public void setUrl (String url ) {
34
- this .url = url ;
35
- }
36
-
37
28
public String getRelationUrl () {
38
29
return relationUrl ;
39
30
}
@@ -42,6 +33,7 @@ public void setRelationUrl(String relationUrl) {
42
33
this .relationUrl = relationUrl ;
43
34
}
44
35
36
+ @ Override
45
37
public String toString () {
46
38
return (JacksonJson .toJsonString (this ));
47
39
}
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ public void setSubscribed(Boolean subscribed) {
49
49
this .subscribed = subscribed ;
50
50
}
51
51
52
+ @ Override
52
53
public String toString () {
53
54
return (JacksonJson .toJsonString (this ));
54
55
}
Original file line number Diff line number Diff line change 5
5
public class EpicInLink extends AbstractEpic <EpicInLink > {
6
6
private static final long serialVersionUID = 1L ;
7
7
8
+ @ Override
8
9
public String toString () {
9
10
return (JacksonJson .toJsonString (this ));
10
11
}
Original file line number Diff line number Diff line change 5
5
public class IssueEpic extends AbstractMinimalEpic <IssueEpic > {
6
6
private static final long serialVersionUID = 1L ;
7
7
8
+ @ Override
8
9
public String toString () {
9
10
return (JacksonJson .toJsonString (this ));
10
11
}
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ public void setLinkUpdatedAt(Date linkUpdatedAt) {
76
76
this .linkUpdatedAt = linkUpdatedAt ;
77
77
}
78
78
79
+ @ Override
79
80
public String toString () {
80
81
return (JacksonJson .toJsonString (this ));
81
82
}
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ public void setUpdatedAt(Date updatedAt) {
63
63
this .updatedAt = updatedAt ;
64
64
}
65
65
66
+ @ Override
66
67
public String toString () {
67
68
return (JacksonJson .toJsonString (this ));
68
69
}
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ public enum Type {
12
12
BLOB ,
13
13
COMMIT ;
14
14
15
+ @ Override
15
16
public String toString () {
16
17
return (name ().toLowerCase ());
17
18
}
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ public class User extends AbstractUser<User> {
33
33
private String publicEmail ;
34
34
private Integer sharedRunnersMinutesLimit ;
35
35
private String skype ;
36
- private String state ;
37
36
private Integer themeId ;
38
37
private String twitter ;
39
38
private Boolean twoFactorEnabled ;
@@ -232,14 +231,6 @@ public void setSkype(String skype) {
232
231
this .skype = skype ;
233
232
}
234
233
235
- public String getState () {
236
- return state ;
237
- }
238
-
239
- public void setState (String state ) {
240
- this .state = state ;
241
- }
242
-
243
234
public Integer getThemeId () {
244
235
return themeId ;
245
236
}
@@ -398,11 +389,6 @@ public User withSkype(String skype) {
398
389
return this ;
399
390
}
400
391
401
- public User withState (String state ) {
402
- this .state = state ;
403
- return this ;
404
- }
405
-
406
392
public User withThemeId (Integer themeId ) {
407
393
this .themeId = themeId ;
408
394
return this ;
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ public class HipChatService extends NotificationService {
13
13
public static final String ROOM_PROP = "room" ;
14
14
public static final String API_VERSION_PROP = "api_version" ;
15
15
public static final String SERVER_PROP = "server" ;
16
- public static final String NOTIFY_ONLY_BROKEN_PIPELINES_PROP = "notify_only_broken_pipelines" ;
17
16
18
17
/**
19
18
* Get the form data for this service based on it's properties.
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ public class JiraService extends NotificationService {
12
12
public static final String URL_PROP = "url" ;
13
13
public static final String API_URL_PROP = "api_url" ;
14
14
public static final String PROJECT_KEY_PROP = "project_key" ;
15
- public static final String USERNAME_PROP = "username" ;
16
15
public static final String JIRA_ISSUE_TRANSITION_ID_PROP = "jira_issue_transition_id" ;
17
16
public static final String COMMIT_EVENTS_PROP = "commit_events" ;
18
17
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ public class MergeRequestSystemHookEvent extends MergeRequestEvent implements Sy
10
10
public static final String X_GITLAB_EVENT = "System Hook" ;
11
11
public static final String MERGE_REQUEST_EVENT = "merge_request" ;
12
12
13
- private String eventType ;
14
13
private String eventName ;
15
14
16
15
@ Override
@@ -27,14 +26,6 @@ public void setEventName(String eventName) {
27
26
this .eventName = eventName ;
28
27
}
29
28
30
- public String getEventType () {
31
- return eventType ;
32
- }
33
-
34
- public void setEventType (String eventType ) {
35
- this .eventType = eventType ;
36
- }
37
-
38
29
/**
39
30
* @deprecated use {@link #setEventType(String)} instead
40
31
* @param eventType
You can’t perform that action at this time.
0 commit comments