]> source.dussan.org Git - sonarqube.git/commitdiff
Fix NPE: register ReviewUnmarshaller
authorEvgeny Mandrikov <mandrikov@gmail.com>
Wed, 11 May 2011 08:50:38 +0000 (12:50 +0400)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Wed, 11 May 2011 08:50:38 +0000 (12:50 +0400)
sonar-ws-client/src/main/java/org/sonar/wsclient/unmarshallers/Unmarshallers.java

index 629d30184bd3006dc9a82e812b32209e2931bcef..578491d2c13f1a93b3a7caf4b57d83ca108b2b71 100644 (file)
@@ -46,6 +46,7 @@ public final class Unmarshallers {
     unmarshallers.put(Rule.class, new RuleUnmarshaller());
     unmarshallers.put(TimeMachine.class, new TimeMachineUnmarshaller());
     unmarshallers.put(Profile.class, new ProfileUnmarshaller());
+    unmarshallers.put(Review.class, new ReviewUnmarshaller());
   }
 
   public static <MODEL extends Model> Unmarshaller<MODEL> forModel(Class<MODEL> modelClass) {