Skip to content

Commit

Permalink
Fixed ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rickle-msft committed Feb 11, 2022
1 parent 0c5a9d0 commit 051e0a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public String computeHmac256(final String stringToSign) {
private String buildStringToSign(URL requestURL, String httpMethod, HttpHeaders headers,
boolean logStringToSign) {
String contentLength = headers.getValue("Content-Length");
contentLength = contentLength.equals("0") ? "" : contentLength;
contentLength = "0".equals(contentLength) ? "" : contentLength;

// If the x-ms-header exists ignore the Date header
String dateHeader = (headers.getValue("x-ms-date") != null) ? ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ public boolean getSetsDevVersion() {
}

public boolean releasesToMavenCentral() {
return definitionName.equals("java - storage")
&& buildReason.equalsIgnoreCase("manual")
return "java - storage".equals(definitionName)
&& "manual".equalsIgnoreCase(buildReason)
&& !setsDevVersion;
}
}

0 comments on commit 051e0a0

Please sign in to comment.