Skip to content

Commit

Permalink
FIX amitshekhariitbhu#95 Add Check for null
Browse files Browse the repository at this point in the history
  • Loading branch information
amitshekhariitbhu committed Mar 19, 2017
1 parent e748a85 commit 006d901
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ public T addPathParameter(String key, String value) {

@Override
public T addPathParameter(Map<String, String> pathParameterMap) {
if (mPathParameterMap != null) {
if (pathParameterMap != null) {
mPathParameterMap.putAll(pathParameterMap);
}
return (T) this;
Expand Down Expand Up @@ -1156,7 +1156,7 @@ public T addPathParameter(String key, String value) {

@Override
public T addPathParameter(Map<String, String> pathParameterMap) {
if (mPathParameterMap != null) {
if (pathParameterMap != null) {
mPathParameterMap.putAll(pathParameterMap);
}
return (T) this;
Expand Down Expand Up @@ -1424,7 +1424,7 @@ public T addPathParameter(String key, String value) {

@Override
public T addPathParameter(Map<String, String> pathParameterMap) {
if (mPathParameterMap != null) {
if (pathParameterMap != null) {
mPathParameterMap.putAll(pathParameterMap);
}
return (T) this;
Expand Down Expand Up @@ -1563,7 +1563,7 @@ public T addPathParameter(String key, String value) {

@Override
public T addPathParameter(Map<String, String> pathParameterMap) {
if (mPathParameterMap != null) {
if (pathParameterMap != null) {
mPathParameterMap.putAll(pathParameterMap);
}
return (T) this;
Expand Down

0 comments on commit 006d901

Please sign in to comment.