Skip to content

Commit

Permalink
Adjust in MPBase.
Browse files Browse the repository at this point in the history
  • Loading branch information
delias-silva committed Aug 27, 2019
1 parent 3fcbd85 commit 208c988
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>com.mercadopago</groupId>
<artifactId>dx-java</artifactId>
<version>1.0.37</version>
<version>1.1.0</version>
<packaging>jar</packaging>

<name>Mercadopago SDK</name>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/mercadopago/core/MPBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,7 @@ private static <T extends MPBase> String parsePath(String path, HashMap<String,
.append(accessToken);


if (!mapParams.isEmpty()) {
if (mapParams != null && !mapParams.isEmpty()) {
for ( Map.Entry<String, String> entry : mapParams.entrySet()) {
String key = entry.getKey();
String value = entry.getValue();
Expand Down

0 comments on commit 208c988

Please sign in to comment.