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
f8ac5205
Commit
f8ac5205
authored
May 16, 2019
by
Greg Messner
Browse files
Deprecated minAccessLevel().
parent
84367504
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/ProjectFilter.java
View file @
f8ac5205
...
...
@@ -212,12 +212,24 @@ public class ProjectFilter {
*
* @param minAccessLevel limit by current user minimal access level
* @return the reference to this ProjectFilter instance
* @deprecated Replaced by {@link #withMinAccessLevel(AccessLevel) getComponentAt}
*/
public
ProjectFilter
minAccessLevel
(
AccessLevel
minAccessLevel
)
{
this
.
minAccessLevel
=
minAccessLevel
;
return
(
this
);
}
/**
* Limit by current user minimal access level
*
* @param minAccessLevel limit by current user minimal access level
* @return the reference to this ProjectFilter instance
*/
public
ProjectFilter
withMinAccessLevel
(
AccessLevel
minAccessLevel
)
{
this
.
minAccessLevel
=
minAccessLevel
;
return
(
this
);
}
/**
* Get the query params specified by this filter.
*
...
...
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