Skip to content

Commit

Permalink
fix sonar complaints; #20
Browse files Browse the repository at this point in the history
  • Loading branch information
bbilger committed Nov 16, 2017
1 parent fbb48cd commit e2ddf81
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import com.google.gson.JsonDeserializationContext;
import com.google.gson.JsonDeserializer;
import com.google.gson.JsonElement;
import com.google.gson.JsonParseException;
import com.google.gson.JsonPrimitive;
import com.google.gson.JsonSerializationContext;
import com.google.gson.JsonSerializer;
Expand All @@ -41,8 +40,7 @@
class WebActionRequestBodyAdapter implements JsonDeserializer<String>, JsonSerializer<String> {

@Override
public String deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context)
throws JsonParseException {
public String deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context) {
if (json.isJsonNull()) {
return null;
} else if (json.isJsonPrimitive()) {
Expand Down

0 comments on commit e2ddf81

Please sign in to comment.