Yuta HIGUCHI

Fix boxing/unboxing to parse a primitive

Change-Id: I83f6beac585f8b6b28a95080783e5ca51454fbfe
...@@ -70,7 +70,7 @@ public class IntentsWebResource extends AbstractWebResource { ...@@ -70,7 +70,7 @@ public class IntentsWebResource extends AbstractWebResource {
70 Intent intent = get(IntentService.class).getIntent(Key.of(key, app)); 70 Intent intent = get(IntentService.class).getIntent(Key.of(key, app));
71 if (intent == null) { 71 if (intent == null) {
72 intent = get(IntentService.class) 72 intent = get(IntentService.class)
73 - .getIntent(Key.of(Long.valueOf(key), app)); 73 + .getIntent(Key.of(Long.parseLong(key), app));
74 } 74 }
75 nullIsNotFound(intent, INTENT_NOT_FOUND); 75 nullIsNotFound(intent, INTENT_NOT_FOUND);
76 76
......