mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-17 10:21:52 +02:00
Fix boxing/unboxing to parse a primitive
Change-Id: I83f6beac585f8b6b28a95080783e5ca51454fbfe
This commit is contained in:
parent
36f79aa93b
commit
179f3775e3
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user