Skip to content

Commit

Permalink
resolve PoliCheck issues (#26812)
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu authored Feb 14, 2022
1 parent 36cc765 commit 9daedf0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion eng/guardian-tools/policheck/PolicheckExclusions.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<PoliCheckExclusions>
<!-- All strings must be UPPER CASE -->
<!-- Each of these exclusions is a folder name - if \[name]\ exists in the file path, it will be skipped -->
<!--<Exclusion Type="FolderPathFull">ABC|XYZ</Exclusion>-->
<Exclusion Type="FolderPathFull">GENERATED</Exclusion>
<!-- Each of these exclusions is a folder name - if any folder or file starts with "\[name]", it will be
skipped -->
<!--<Exclusion Type="FolderPathStart">ABC|XYZ</Exclusion>-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public Boolean cleanDeployment() {
* By default {@code type=zip} and {@code type=war&path=webapps/<appname>} performs clean deployment.
* All other types of artifacts will be deployed incrementally.
* The default behavior for any artifact type can be changed by this option.
* A clean deployment nukes the default directory associated with the type of artifact being deployed.
* A clean deployment removes the default directory associated with the type of artifact being deployed.
*
* @param cleanDeployment whether to perform clean deployment
* @return the DeployOptions object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -512,11 +512,7 @@ public final class CountryIsoCode extends ExpandableStringEnum<CountryIsoCode> {
/**
* Country ISO code {@code MO}.
*/
public static final CountryIsoCode MACAO = fromString("MO");
/**
* Country ISO code {@code MK}.
*/
public static final CountryIsoCode MACEDONIA = fromString("MK");
public static final CountryIsoCode MACAO_SAR = fromString("MO");
/**
* Country ISO code {@code MG}.
*/
Expand Down Expand Up @@ -649,6 +645,10 @@ public final class CountryIsoCode extends ExpandableStringEnum<CountryIsoCode> {
* Country ISO code {@code MP}.
*/
public static final CountryIsoCode NORTHERN_MARIANA_ISLANDS = fromString("MP");
/**
* Country ISO code {@code MK}.
*/
public static final CountryIsoCode NORTH_MACEDONIA = fromString("MK");
/**
* Country ISO code {@code NO}.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public interface StorageAccount

/**
* @return true if authenticated application from any network is allowed to access the storage account, false if
* only application from whitelisted network (subnet, ip address, ip address range) can access the storage
* only application from allowlisted network (subnet, ip address, ip address range) can access the storage
* account.
*/
boolean isAccessAllowedFromAllNetworks();
Expand Down

0 comments on commit 9daedf0

Please sign in to comment.