jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Bayer <notificati...@github.com>
Subject Re: [jclouds] JCLOUDS-450. Adding support for EC2 MaxCount option. (#277)
Date Wed, 05 Feb 2014 18:32:52 GMT
> @@ -82,6 +82,10 @@ public void copyTo(TemplateOptions to) {
>              eTo.noKeyPair();
>           if (getUserData() != null)
>              eTo.userData(getUserData());
> +         if (getMaxCount() != 0)

No - to save an intValue call in a bunch of places, I have getMaxCount() return an int, 0
if maxCount is null.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/277/files#r9471924
Mime
View raw message