Fix boxing/unboxing to parse a primitive

Change-Id: I83f6beac585f8b6b28a95080783e5ca51454fbfe
This commit is contained in:
Yuta HIGUCHI 2015-02-18 17:28:39 +09:00
parent 36f79aa93b
commit 179f3775e3

View File

@ -70,7 +70,7 @@ public class IntentsWebResource extends AbstractWebResource {
Intent intent = get(IntentService.class).getIntent(Key.of(key, app));
if (intent == null) {
intent = get(IntentService.class)
.getIntent(Key.of(Long.valueOf(key), app));
.getIntent(Key.of(Long.parseLong(key), app));
}
nullIsNotFound(intent, INTENT_NOT_FOUND);