Code Review
/
aaf
/
authz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Collection syntax change because of Sonar
[aaf/authz.git]
/
cadi
/
core
/
src
/
main
/
java
/
org
/
onap
/
aaf
/
cadi
/
CadiWrap.java
diff --git
a/cadi/core/src/main/java/org/onap/aaf/cadi/CadiWrap.java
b/cadi/core/src/main/java/org/onap/aaf/cadi/CadiWrap.java
index
49572f4
..
a2dfba3
100644
(file)
--- a/
cadi/core/src/main/java/org/onap/aaf/cadi/CadiWrap.java
+++ b/
cadi/core/src/main/java/org/onap/aaf/cadi/CadiWrap.java
@@
-140,7
+140,7
@@
public class CadiWrap extends HttpServletRequestWrapper implements HttpServletRe
* To utilize, the Request must be a "CadiWrap" object, then call.
*/
public List<Permission> getPermissions(Principal p) {
* To utilize, the Request must be a "CadiWrap" object, then call.
*/
public List<Permission> getPermissions(Principal p) {
- List<Permission> perms = new ArrayList<
Permission
>();
+ List<Permission> perms = new ArrayList<>();
lur.fishAll(p, perms);
return perms;
}
lur.fishAll(p, perms);
return perms;
}