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

    https://github.com/apache/cloudstack/pull/1263#discussion_r59026830
  
    --- Diff: server/src/com/cloud/api/ApiServer.java ---
    @@ -1340,37 +1340,31 @@ public String getSerializedApiError(final 
ServerApiException ex, final Map<Strin
             return responseText;
         }
     
    -    public List<PluggableService> getPluggableServices() {
    -        return _pluggableServices;
    -    }
    -
         @Inject
         public void setPluggableServices(final List<PluggableService> 
pluggableServices) {
    -        _pluggableServices = pluggableServices;
    -    }
    -
    -    public List<APIChecker> getApiAccessCheckers() {
    -        return _apiAccessCheckers;
    +        this.pluggableServices = pluggableServices;
         }
     
         @Inject
         public void setApiAccessCheckers(final List<APIChecker> 
apiAccessCheckers) {
    -        _apiAccessCheckers = apiAccessCheckers;
    +        this.apiAccessCheckers = apiAccessCheckers;
         }
     
         public static boolean isEncodeApiResponse() {
    -        return encodeApiResponse;
    +        return ApiServer.encodeApiResponse;
         }
     
    -    private static void setEncodeApiResponse(final boolean 
encodeApiResponse) {
    +    private void setEncodeApiResponse(final boolean encodeApiResponse) {
             ApiServer.encodeApiResponse = encodeApiResponse;
    --- End diff --
    
    What is this for? It seems like a strange thing to do


---
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