Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
e40e9171
Commit
e40e9171
authored
Feb 09, 2018
by
Greg Messner
Browse files
Mark gitLabApi final to make the class immutable (#139).
parent
832cbb57
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/AbstractApi.java
View file @
e40e9171
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment