From ba4435040fb72b31d982344834884453a9bbd98c Mon Sep 17 00:00:00 2001 From: Zack Shoylev Date: Mon, 9 Feb 2015 18:24:02 -0600 Subject: [PATCH] Fixes a NPE in swift when maxResults is set to 0 --- .../swift/functions/ParseObjectInfoListFromJsonResponse.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apis/swift/src/main/java/org/jclouds/openstack/swift/functions/ParseObjectInfoListFromJsonResponse.java b/apis/swift/src/main/java/org/jclouds/openstack/swift/functions/ParseObjectInfoListFromJsonResponse.java index e0632ca753..b2e65a3fe3 100644 --- a/apis/swift/src/main/java/org/jclouds/openstack/swift/functions/ParseObjectInfoListFromJsonResponse.java +++ b/apis/swift/src/main/java/org/jclouds/openstack/swift/functions/ParseObjectInfoListFromJsonResponse.java @@ -78,7 +78,10 @@ public class ParseObjectInfoListFromJsonResponse extends ParseJson(returnVal, marker); } catch (IOException e) { throw new RuntimeException("problem reading response from request: " + request, e);