Fix checkstyle whitespace issues - WHITESPACE ONLY
Change-Id: Ic205c1afd639c6008d61d9de95cb764eeb6238ca
diff --git a/src/main/java/net/onrc/onos/core/datastore/topology/KVDevice.java b/src/main/java/net/onrc/onos/core/datastore/topology/KVDevice.java
index 14268b5..8b1d8af 100644
--- a/src/main/java/net/onrc/onos/core/datastore/topology/KVDevice.java
+++ b/src/main/java/net/onrc/onos/core/datastore/topology/KVDevice.java
@@ -25,7 +25,7 @@
/**
* Device object.
- *
+ * <p/>
* TODO switch to ProtoBuf, etc.
*/
public class KVDevice extends KVObject {
@@ -55,7 +55,7 @@
private final byte[] mac;
private TreeSet<byte[]> portIds;
private transient boolean isPortIdsModified;
-
+
// Assume there is only one ip on a device now.
private int ip;
private long lastSeenTime;
@@ -86,9 +86,9 @@
/**
* Get an instance from Key.
*
- * @note You need to call `read()` to get the DB content.
* @param key
* @return
+ * @note You need to call `read()` to get the DB content.
*/
public static KVDevice createFromKey(final byte[] key) {
return new KVDevice(getMacFromKey(key));
@@ -150,7 +150,6 @@
}
/**
- *
* @return Unmodifiable Set view of all the PortIds;
*/
public Set<byte[]> getAllPortIds() {
@@ -203,20 +202,20 @@
return "[" + this.getClass().getSimpleName()
+ " " + ByteArrayUtil.toHexStringBuffer(mac, ":") + "]";
}
-
- public int getIp() {
- return ip;
- }
- public void setIp(int ip) {
- this.ip = ip;
- }
+ public int getIp() {
+ return ip;
+ }
- public long getLastSeenTime() {
- return lastSeenTime;
- }
+ public void setIp(int ip) {
+ this.ip = ip;
+ }
- public void setLastSeenTime(long lastSeenTime) {
- this.lastSeenTime = lastSeenTime;
- }
+ public long getLastSeenTime() {
+ return lastSeenTime;
+ }
+
+ public void setLastSeenTime(long lastSeenTime) {
+ this.lastSeenTime = lastSeenTime;
+ }
}