Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
Remove redundant throws.
Browse files Browse the repository at this point in the history
Summary: `IOException` olready covers Json exceptions.

Reviewed By: philipjameson

fbshipit-source-id: a09f7a8a92
  • Loading branch information
ttsugriy authored and facebook-github-bot committed Oct 18, 2018
1 parent 90bfee0 commit c9b18b9
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.facebook.buck.skylark.io.GlobSpec;
import com.facebook.buck.skylark.io.GlobSpecWithResult;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.TreeNode;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonDeserializer;
Expand Down Expand Up @@ -101,8 +100,7 @@ private ImmutableList<GlobSpecWithResult> readGlobManifest(

@Override
public BuildFileManifest deserialize(
JsonParser jsonParser, DeserializationContext deserializationContext)
throws IOException, JsonProcessingException {
JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException {
TreeNode treeNode = jsonParser.readValueAsTree();

ImmutableMap<String, ImmutableMap<String, Object>> targets = readTargets(jsonParser, treeNode);
Expand Down

0 comments on commit c9b18b9

Please sign in to comment.