Github user DaanHoogland commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1021#discussion_r44210903
  
    --- Diff: server/src/com/cloud/api/ApiResponseGsonHelper.java ---
    @@ -71,4 +83,19 @@ public boolean shouldSkipField(FieldAttributes f) {
                 return false;
             }
         }
    +
    +    private static class LogExclusionStrategy extends 
ApiResponseExclusionStrategy implements ExclusionStrategy {
    +        public boolean shouldSkipClass(Class<?> arg0) {
    +            return false;
    +        }
    +
    +        public boolean shouldSkipField(FieldAttributes f) {
    +            boolean skip = super.shouldSkipField(f);
    --- End diff --
    
    maybe peformance can be improved by handling thsi first and super 
afterwards (it is more code)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to