> + * Unless required by applicable law or agreed to in writing, software
> + * distributed under the License is distributed on an "AS IS" BASIS,
> + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> + * See the License for the specific language governing permissions and
> + * limitations under the License.
> + */
> +package org.jclouds.compute.util;
> +
> +import com.google.common.base.Splitter;
> +
> +import java.util.Map;
> +
> +public class AutomaticHardwareIdSpec {
> +
> +   private Double cores;
> +   private Integer ram;

If both fields are mandatory and an instance of this class can't be built 
without both being set, change the types to primitives to enforce non-null 
values.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/984/files/24d1c709310ffe7e511e13c203f2d7f0d4709d37#r71836128

Reply via email to