Fix checkstyle whitespace issues - WHITESPACE ONLY
Change-Id: Ic205c1afd639c6008d61d9de95cb764eeb6238ca
diff --git a/src/main/java/net/onrc/onos/core/intent/PathIntent.java b/src/main/java/net/onrc/onos/core/intent/PathIntent.java
index b06fb81..e541454 100644
--- a/src/main/java/net/onrc/onos/core/intent/PathIntent.java
+++ b/src/main/java/net/onrc/onos/core/intent/PathIntent.java
@@ -6,55 +6,54 @@
* @author Toshio Koide (t-koide@onlab.us)
*/
public class PathIntent extends Intent {
- protected Path path;
- protected double bandwidth;
- protected Intent parentIntent;
+ protected Path path;
+ protected double bandwidth;
+ protected Intent parentIntent;
- public static String createFirstId(String parentId) {
- return String.format("%s___0", parentId);
- }
+ public static String createFirstId(String parentId) {
+ return String.format("%s___0", parentId);
+ }
- public static String createNextId(String currentId) {
- String parts[] = currentId.split("___");
- return String.format("%s___%d", parts[0], Long.valueOf(parts[1])+1);
- }
+ public static String createNextId(String currentId) {
+ String parts[] = currentId.split("___");
+ return String.format("%s___%d", parts[0], Long.valueOf(parts[1]) + 1);
+ }
- /**
- * Default constructor for Kryo deserialization
- */
- protected PathIntent() {
- }
+ /**
+ * Default constructor for Kryo deserialization
+ */
+ protected PathIntent() {
+ }
- /**
- *
- * @param graph
- * @param path
- * @param bandwidth bandwidth which should be allocated for the path.
- * If 0, no intent for bandwidth allocation (best effort).
- * @param parentIntent parent intent. If null, this is root intent.
- * @param id
- */
- public PathIntent(String id, Path path, double bandwidth, Intent parentIntent) {
- super(id);
- this.path = path;
- this.bandwidth = bandwidth;
- this.parentIntent = parentIntent;
- }
+ /**
+ * @param graph
+ * @param path
+ * @param bandwidth bandwidth which should be allocated for the path.
+ * If 0, no intent for bandwidth allocation (best effort).
+ * @param parentIntent parent intent. If null, this is root intent.
+ * @param id
+ */
+ public PathIntent(String id, Path path, double bandwidth, Intent parentIntent) {
+ super(id);
+ this.path = path;
+ this.bandwidth = bandwidth;
+ this.parentIntent = parentIntent;
+ }
- public double getBandwidth() {
- return bandwidth;
- }
+ public double getBandwidth() {
+ return bandwidth;
+ }
- public Path getPath() {
- return path;
- }
+ public Path getPath() {
+ return path;
+ }
- public Intent getParentIntent() {
- return parentIntent;
- }
+ public Intent getParentIntent() {
+ return parentIntent;
+ }
- @Override
- public String toString() {
- return String.format("%s, %s, %s", getId(), getState(), getPath());
- }
+ @Override
+ public String toString() {
+ return String.format("%s, %s, %s", getId(), getState(), getPath());
+ }
}