Cosmetic changes
diff --git a/core/api/src/main/java/org/onlab/onos/net/resource/BandwidthResourceAllocation.java b/core/api/src/main/java/org/onlab/onos/net/resource/BandwidthResourceAllocation.java
index 37b56fe..5995d5f 100644
--- a/core/api/src/main/java/org/onlab/onos/net/resource/BandwidthResourceAllocation.java
+++ b/core/api/src/main/java/org/onlab/onos/net/resource/BandwidthResourceAllocation.java
@@ -5,6 +5,12 @@
  */
 public class BandwidthResourceAllocation extends BandwidthResourceRequest
         implements ResourceAllocation {
+
+    @Override
+    public ResourceType type() {
+        return ResourceType.BANDWIDTH;
+    }
+
     /**
      * Creates a new {@link BandwidthResourceAllocation} with {@link Bandwidth}
      * object.
@@ -14,9 +20,4 @@
     public BandwidthResourceAllocation(Bandwidth bandwidth) {
         super(bandwidth);
     }
-
-    @Override
-    public ResourceType type() {
-        return ResourceType.BANDWIDTH;
-    }
 }
diff --git a/core/api/src/main/java/org/onlab/onos/net/resource/ResourceAllocation.java b/core/api/src/main/java/org/onlab/onos/net/resource/ResourceAllocation.java
index 93e6ea5..3ddadbc 100644
--- a/core/api/src/main/java/org/onlab/onos/net/resource/ResourceAllocation.java
+++ b/core/api/src/main/java/org/onlab/onos/net/resource/ResourceAllocation.java
@@ -4,5 +4,11 @@
  * Abstraction of allocated resource.
  */
 public interface ResourceAllocation extends ResourceRequest {
+
+    /**
+     * Returns the type of the allocated resource.
+     *
+     * @return the type of the allocated resource
+     */
     ResourceType type();
 }