Skip to content

Commit e40e917

Browse files
committed
Mark gitLabApi final to make the class immutable (#139).
1 parent 832cbb5 commit e40e917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/gitlab4j/api/AbstractApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717
public abstract class AbstractApi implements Constants {
1818

19-
private GitLabApi gitLabApi;
19+
private final GitLabApi gitLabApi;
2020

2121
public AbstractApi(GitLabApi gitLabApi) {
2222
this.gitLabApi = gitLabApi;

0 commit comments

Comments
 (0)