Revert "Suppress "unlikely argument type" warnings for IdString"
Change I9d79b9064 was backported to stable-2.14 and fixes these
warnings, so we no longer need the suppressions.
This reverts commit 89ab8f4587
.
Change-Id: Ie2e38c12e908809df104e7ebe74921ac9902e42d
This commit is contained in:
parent
0b3affa4e2
commit
976934fc14
@ -67,7 +67,6 @@ public class Revisions implements ChildCollection<ChangeResource, RevisionResour
|
||||
throw new ResourceNotFoundException();
|
||||
}
|
||||
|
||||
@SuppressWarnings("unlikely-arg-type")
|
||||
@Override
|
||||
public RevisionResource parse(ChangeResource change, IdString id)
|
||||
throws ResourceNotFoundException, AuthException, OrmException, IOException {
|
||||
|
@ -42,7 +42,6 @@ public class ConfigCollection implements RestCollection<TopLevelResource, Config
|
||||
return views;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unlikely-arg-type")
|
||||
@Override
|
||||
public ConfigResource parse(TopLevelResource root, IdString id) throws ResourceNotFoundException {
|
||||
if (id.get().equals("server")) {
|
||||
|
Loading…
Reference in New Issue
Block a user