Skip to content

Commit 9daedf0

Browse files
resolve PoliCheck issues (Azure#26812)
1 parent 36cc765 commit 9daedf0

File tree

4 files changed

+8
-8
lines changed
  • eng/guardian-tools/policheck
  • sdk/resourcemanagerhybrid
    • azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models
    • azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/fluentcore/arm
    • azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models

4 files changed

+8
-8
lines changed

eng/guardian-tools/policheck/PolicheckExclusions.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<PoliCheckExclusions>
22
<!-- All strings must be UPPER CASE -->
33
<!-- Each of these exclusions is a folder name - if \[name]\ exists in the file path, it will be skipped -->
4-
<!--<Exclusion Type="FolderPathFull">ABC|XYZ</Exclusion>-->
4+
<Exclusion Type="FolderPathFull">GENERATED</Exclusion>
55
<!-- Each of these exclusions is a folder name - if any folder or file starts with "\[name]", it will be
66
skipped -->
77
<!--<Exclusion Type="FolderPathStart">ABC|XYZ</Exclusion>-->

sdk/resourcemanagerhybrid/azure-resourcemanager-appservice/src/main/java/com/azure/resourcemanager/appservice/models/DeployOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public Boolean cleanDeployment() {
6363
* By default {@code type=zip} and {@code type=war&path=webapps/<appname>} performs clean deployment.
6464
* All other types of artifacts will be deployed incrementally.
6565
* The default behavior for any artifact type can be changed by this option.
66-
* A clean deployment nukes the default directory associated with the type of artifact being deployed.
66+
* A clean deployment removes the default directory associated with the type of artifact being deployed.
6767
*
6868
* @param cleanDeployment whether to perform clean deployment
6969
* @return the DeployOptions object

sdk/resourcemanagerhybrid/azure-resourcemanager-resources/src/main/java/com/azure/resourcemanager/resources/fluentcore/arm/CountryIsoCode.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -512,11 +512,7 @@ public final class CountryIsoCode extends ExpandableStringEnum<CountryIsoCode> {
512512
/**
513513
* Country ISO code {@code MO}.
514514
*/
515-
public static final CountryIsoCode MACAO = fromString("MO");
516-
/**
517-
* Country ISO code {@code MK}.
518-
*/
519-
public static final CountryIsoCode MACEDONIA = fromString("MK");
515+
public static final CountryIsoCode MACAO_SAR = fromString("MO");
520516
/**
521517
* Country ISO code {@code MG}.
522518
*/
@@ -649,6 +645,10 @@ public final class CountryIsoCode extends ExpandableStringEnum<CountryIsoCode> {
649645
* Country ISO code {@code MP}.
650646
*/
651647
public static final CountryIsoCode NORTHERN_MARIANA_ISLANDS = fromString("MP");
648+
/**
649+
* Country ISO code {@code MK}.
650+
*/
651+
public static final CountryIsoCode NORTH_MACEDONIA = fromString("MK");
652652
/**
653653
* Country ISO code {@code NO}.
654654
*/

sdk/resourcemanagerhybrid/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/StorageAccount.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public interface StorageAccount
9494

9595
/**
9696
* @return true if authenticated application from any network is allowed to access the storage account, false if
97-
* only application from whitelisted network (subnet, ip address, ip address range) can access the storage
97+
* only application from allowlisted network (subnet, ip address, ip address range) can access the storage
9898
* account.
9999
*/
100100
boolean isAccessAllowedFromAllNetworks();

0 commit comments

Comments
 (0)