* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
package org.opendaylight.ovsdb.lib.message;
import java.util.HashMap;
import java.util.Map;
import org.opendaylight.ovsdb.lib.schema.TableSchema;
-
public class TableUpdates extends Response {
-
private final Map<String, TableUpdate> map = new HashMap<>();
- public TableUpdates() {}
+ public TableUpdates() {
+
+ }
public TableUpdates(Map<String, TableUpdate> map) {
this.map.putAll(map);
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
package org.opendaylight.ovsdb.lib.notation;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
@JsonDeserialize(converter = Converter.MapConverter.class)
@JsonSerialize(using = OvsdbMapSerializer.class)
public class OvsdbMap<K, V> extends ForwardingMap<K, V> {
-
private final Map<K, V> target = new HashMap<>();
- public OvsdbMap() {}
+ public OvsdbMap() {
+
+ }
public OvsdbMap(Map<K, V> value) {
this.target.putAll(value);
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
package org.opendaylight.ovsdb.lib.notation;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
Set<T> target = new HashSet<>();
- public OvsdbSet() {}
+ public OvsdbSet() {
+
+ }
public OvsdbSet(Set<T> backing) {
this.target = backing;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
package org.opendaylight.ovsdb.lib.notation;
import com.fasterxml.jackson.annotation.JsonIgnore;
private TableSchema<E> tableSchema;
protected Map<String, Column<E, ?>> columns = new HashMap<>();
- public Row() {}
+ public Row() {
+
+ }
public Row(TableSchema<E> tableSchema) {
this.tableSchema = tableSchema;
import org.slf4j.LoggerFactory;
public final class SouthboundMapper {
-
- private SouthboundMapper() { }
-
private static final Logger LOG = LoggerFactory.getLogger(SouthboundMapper.class);
private static final String N_CONNECTIONS_STR = "n_connections";
+ private SouthboundMapper() {
+
+ }
+
public static IpAddress createIpAddress(InetAddress address) {
IpAddress ip = null;
if (address instanceof Inet4Address) {
// This class needs to be mocked
@SuppressWarnings("checkstyle:FinalClass")
public class TransactUtils {
+ private TransactUtils() {
- private TransactUtils() { }
+ }
private static <T extends DataObject> Predicate<DataObjectModification<T>> hasDataBefore() {
return input -> input != null && input.getDataBefore() != null;