Skip to content

Commit 4029772

Browse files
@W-21933885: [MSDK Android] App Attestation Implementation (Revert Lint Suggestion In Code Unrelated To Branch Feature)
1 parent ab2af33 commit 4029772

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • libs/SalesforceSDK/src/com/salesforce/androidsdk/auth

libs/SalesforceSDK/src/com/salesforce/androidsdk/auth/OAuth2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ public static URI getFrontdoorUrl(URI url,
394394
sb.append(FRONTDOOR);
395395
sb.append(SID).append(EQUAL).append(accessToken);
396396
sb.append(AND).append(RETURL).append(EQUAL).append(Uri.encode(url.toString()));
397-
if (addlParams != null && !addlParams.isEmpty()) {
397+
if (addlParams != null && addlParams.size() > 0) {
398398
for (final Map.Entry<String,String> entry : addlParams.entrySet()) {
399399
final String value = entry.getValue() == null ? EMPTY_STRING : entry.getValue();
400400
sb.append(AND).append(entry.getKey()).append(EQUAL).append(Uri.encode(value));

0 commit comments

Comments
 (0)