From c9b18b965e861d1cdc611e372ddf95f658562cff Mon Sep 17 00:00:00 2001 From: Taras Tsugrii Date: Wed, 17 Oct 2018 17:35:40 -0700 Subject: [PATCH] Remove redundant throws. Summary: `IOException` olready covers Json exceptions. Reviewed By: philipjameson fbshipit-source-id: a09f7a8a92 --- .../cache/json/module/BuildFileManifestObjectConverter.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/com/facebook/buck/parser/cache/json/module/BuildFileManifestObjectConverter.java b/src/com/facebook/buck/parser/cache/json/module/BuildFileManifestObjectConverter.java index f8e6a979b0e..553e0265300 100644 --- a/src/com/facebook/buck/parser/cache/json/module/BuildFileManifestObjectConverter.java +++ b/src/com/facebook/buck/parser/cache/json/module/BuildFileManifestObjectConverter.java @@ -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; @@ -101,8 +100,7 @@ private ImmutableList readGlobManifest( @Override public BuildFileManifest deserialize( - JsonParser jsonParser, DeserializationContext deserializationContext) - throws IOException, JsonProcessingException { + JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException { TreeNode treeNode = jsonParser.readValueAsTree(); ImmutableMap> targets = readTargets(jsonParser, treeNode);