diff options
author | Gabor Liptak <gliptak@gmail.com> | 2015-06-17 13:45:37 -0400 |
---|---|---|
committer | Gabor Liptak <gliptak@gmail.com> | 2015-06-17 13:45:37 -0400 |
commit | 6f7dcf0f6ad046940c37a14041e2ddd02c457776 (patch) | |
tree | 9022c22c58ff90949dc098b5866590ee56fbbdcb /sonar-plugin-api/src/test | |
parent | 8714a329c98b2610cf54632400e33447b7bf7448 (diff) | |
download | sonarqube-6f7dcf0f6ad046940c37a14041e2ddd02c457776.tar.gz sonarqube-6f7dcf0f6ad046940c37a14041e2ddd02c457776.zip |
Cleanup warnings
Diffstat (limited to 'sonar-plugin-api/src/test')
-rw-r--r-- | sonar-plugin-api/src/test/java/org/sonar/api/server/ws/WebServiceTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/server/ws/WebServiceTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/server/ws/WebServiceTest.java index 006aae7c064..6e1b4fc01a6 100644 --- a/sonar-plugin-api/src/test/java/org/sonar/api/server/ws/WebServiceTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/server/ws/WebServiceTest.java @@ -328,10 +328,10 @@ public class WebServiceTest { NewAction create = newController.createAction("create").setHandler(mock(RequestHandler.class)); create.createParam("status") .setDefaultValue(null) - .setPossibleValues((Collection) null) + .setPossibleValues(Collections.emptyList()) .setExampleValue(null); create.createParam("max") - .setPossibleValues((String[]) null); + .setPossibleValues((Object[]) null); newController.done(); } }.define(context); |