Suppress "unlikely argument type" warnings for IdString
These are fixed on master, but will not be fixed on the stable branch. Suppress them just to get rid of them in Eclipse. This commit should be omitted when merging the branch up to master. Change-Id: Iae6e69e14c1fd346a9ea29779875bb00e43fdc8c
This commit is contained in:
parent
9d36da079b
commit
89ab8f4587
@ -67,6 +67,7 @@ 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,6 +42,7 @@ 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.equals("server")) {
|
||||
|
Loading…
Reference in New Issue
Block a user