Commit e40e9171 authored by Greg Messner's avatar Greg Messner
Browse files

Mark gitLabApi final to make the class immutable (#139).

parent 832cbb57
...@@ -16,7 +16,7 @@ import org.gitlab4j.api.GitLabApi.ApiVersion; ...@@ -16,7 +16,7 @@ import org.gitlab4j.api.GitLabApi.ApiVersion;
*/ */
public abstract class AbstractApi implements Constants { public abstract class AbstractApi implements Constants {
private GitLabApi gitLabApi; private final GitLabApi gitLabApi;
public AbstractApi(GitLabApi gitLabApi) { public AbstractApi(GitLabApi gitLabApi) {
this.gitLabApi = gitLabApi; this.gitLabApi = gitLabApi;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment