Skip to content

Commit

Permalink
Fix: Resolved Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
BLasan committed Feb 2, 2024
1 parent 5f7683a commit 9d3d35a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023, WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
* Copyright (c) 2024, WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023, WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
* Copyright (c) 2024, WSO2 LLC. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,6 @@ private Permissions() {

public static final String API_ANALYTICS = "Analytics.";
public static final String API_USAGE_ENABLED = API_ANALYTICS + "Enabled";
public static final String API_ANALYTICS_POLICY_ENABLED = API_ANALYTICS + "PolicyEnabled";
public static final String API_ANALYTICS_REPORTER_CLASS = API_ANALYTICS + "ReporterClass";
public static final String API_ANALYTICS_PROPERTIES = API_ANALYTICS + "Properties";
public static final String API_ANALYTICS_RESPONSE_SCHEMA_NAME = API_ANALYTICS + "ResponseSchemaName";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,7 @@ private void attachURlMappingDetailsOfApiProduct(Connection connection, API api,
}
}

if(configs.containsKey(POLICY_ENABLED_FOR_ANALYTICS)) {
if (configs.containsKey(POLICY_ENABLED_FOR_ANALYTICS)) {
boolean isPolicyEnabled = Boolean.parseBoolean(configs.get(POLICY_ENABLED_FOR_ANALYTICS));
if (isPolicyEnabled) {
attachPolicies(connection, revisionId, api);
Expand Down Expand Up @@ -1286,7 +1286,7 @@ private void attachURLMappingDetails(Connection connection, String revisionId, A
}
}

if(configs.containsKey(POLICY_ENABLED_FOR_ANALYTICS)) {
if (configs.containsKey(POLICY_ENABLED_FOR_ANALYTICS)) {
boolean isPolicyEnabled = Boolean.parseBoolean(configs.get(POLICY_ENABLED_FOR_ANALYTICS));
if (isPolicyEnabled) {
attachPolicies(connection, revisionId, api);
Expand Down

0 comments on commit 9d3d35a

Please sign in to comment.