mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
resized buffer size to 0 for each scope
This commit is contained in:
parent
649879f998
commit
4c9578ebe2
@ -403,6 +403,7 @@ public class AnnotationProcessor {
|
|||||||
.getMethod(SWAGGER_ANNOTATIONS_PROPERTIES_KEY), annotatedScopes[i], STRING));
|
.getMethod(SWAGGER_ANNOTATIONS_PROPERTIES_KEY), annotatedScopes[i], STRING));
|
||||||
permissions = (String[])methodHandler.invoke(annotatedScopes[i], scopeClass
|
permissions = (String[])methodHandler.invoke(annotatedScopes[i], scopeClass
|
||||||
.getMethod(SWAGGER_ANNOTATIONS_PROPERTIES_PERMISSIONS, null),null);
|
.getMethod(SWAGGER_ANNOTATIONS_PROPERTIES_PERMISSIONS, null),null);
|
||||||
|
aggregatedPermissions.setLength(0);
|
||||||
for (String permission : permissions) {
|
for (String permission : permissions) {
|
||||||
aggregatedPermissions.append(permission);
|
aggregatedPermissions.append(permission);
|
||||||
aggregatedPermissions.append(" ");
|
aggregatedPermissions.append(" ");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user