Use auto unboxing

Change-Id: Ia810b0a003cce6b36731bc059836f67ddfe087f7
diff --git a/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/grouphandler/PolicyGroupHandler.java b/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/grouphandler/PolicyGroupHandler.java
index c313d39..52242b8 100644
--- a/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/grouphandler/PolicyGroupHandler.java
+++ b/apps/segmentrouting/src/main/java/org/onosproject/segmentrouting/grouphandler/PolicyGroupHandler.java
@@ -82,7 +82,7 @@
                     PolicyGroupIdentifier previousGroupkey = null;
                     DeviceId neighbor = portDeviceMap.get(sp);
                     for (int idx = 0; idx < param.getLabelStack().size(); idx++) {
-                        int label = param.getLabelStack().get(idx).intValue();
+                        int label = param.getLabelStack().get(idx);
                         if (idx == (labelStackSize - 1)) {
                             // Innermost Group
                             GroupBucketIdentifier bucketId =
@@ -134,7 +134,7 @@
             } else {
                 int label = -1;
                 if (labelStackSize == 1) {
-                    label = param.getLabelStack().get(0).intValue();
+                    label = param.getLabelStack().get(0);
                 }
                 for (PortNumber sp : ports) {
                     GroupBucketIdentifier bucketId =
@@ -271,7 +271,7 @@
                 for (PortNumber sp : ports) {
                     PolicyGroupIdentifier previousGroupkey = null;
                     for (int idx = 0; idx < param.getLabelStack().size(); idx++) {
-                        int label = param.getLabelStack().get(idx).intValue();
+                        int label = param.getLabelStack().get(idx);
                         if (idx == (labelStackSize - 1)) {
                             // Innermost Group
                             GroupBucketIdentifier bucketId =
@@ -303,7 +303,7 @@
             } else {
                 int label = -1;
                 if (labelStackSize == 1) {
-                    label = param.getLabelStack().get(0).intValue();
+                    label = param.getLabelStack().get(0);
                 }
                 for (PortNumber sp : ports) {
                     GroupBucketIdentifier bucketId =