From 19f071915ad26408dfe1c5c028f38391553ecf35 Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Sun, 31 Aug 2014 21:39:09 -0700 Subject: [PATCH] Address FindBugs warnings --- .../src/main/java/org/jclouds/docker/domain/Container.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apis/docker/src/main/java/org/jclouds/docker/domain/Container.java b/apis/docker/src/main/java/org/jclouds/docker/domain/Container.java index 0f0c727b18..4e7c059c9d 100644 --- a/apis/docker/src/main/java/org/jclouds/docker/domain/Container.java +++ b/apis/docker/src/main/java/org/jclouds/docker/domain/Container.java @@ -24,6 +24,7 @@ import com.google.gson.annotations.SerializedName; import org.jclouds.javax.annotation.Nullable; import java.beans.ConstructorProperties; +import java.util.Arrays; import java.util.List; import java.util.Map; @@ -186,7 +187,7 @@ public class Container { Objects.equal(this.name, that.name) && Objects.equal(this.created, that.created) && Objects.equal(this.path, that.path) && - Objects.equal(this.args, that.args) && + Arrays.equals(this.args, that.args) && Objects.equal(this.containerConfig, that.containerConfig) && Objects.equal(this.state, that.state) && Objects.equal(this.image, that.image) &&