You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by Andrew Gaul <no...@github.com> on 2016/03/01 06:25:59 UTC
Re: [jclouds] Swift container JSON requests and null checks (#923)
> @@ -116,8 +116,8 @@ public void testContainerExists() throws Exception {
>
> Container container = api.getContainerApi("DFW").get("myContainer");
> assertEquals(container.getName(), "myContainer");
> - assertEquals(container.getObjectCount(), 42l);
> - assertEquals(container.getBytesUsed(), 323479l);
> + assertEquals(container.getObjectCount(), Long.valueOf(42l));
> + assertEquals(container.getBytesUsed(), Long.valueOf(323479l));
Please use upper-case L to avoid confusion between lower-case l and number 1.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/923/files#r54524447