Bug 8055: remove redundant array creation 55/53155/5
authorStephen Kitt <skitt@redhat.com>
Fri, 10 Mar 2017 15:58:20 +0000 (16:58 +0100)
committerStephen Kitt <skitt@redhat.com>
Thu, 23 Mar 2017 14:16:13 +0000 (15:16 +0100)
Change-Id: I876410c5ac9fecaab94cecd2fb37f44bd115762b
Signed-off-by: Stephen Kitt <skitt@redhat.com>
hwvtepsouthbound/hwvtepsouthbound-impl/src/main/java/org/opendaylight/ovsdb/hwvtepsouthbound/HwvtepSouthboundConstants.java

index 547b70a32a11eb33edbd1edd68362ec084463134..d23226ffdc72402d758d7aca20ad791ca5e92e19 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
+ * Copyright © 2015, 2017 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -42,7 +42,7 @@ public class HwvtepSouthboundConstants {
 
     public static final ImmutableMap<String,List<String>> SKIP_COLUMN_FROM_HWVTEP_TABLE
             = new ImmutableMap.Builder<String,List<String>>()
-            .put("Manager", Arrays.asList(new String[]{"_version", "status"}))
+            .put("Manager", Arrays.asList("_version", "status"))
             .build();
     public static final int WAITING_QUEUE_CAPACITY = 1000;
     public static final long WAITING_JOB_EXPIRY_TIME_MILLIS = 90000;