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

Commit c9b18b9

Browse files
ttsugriyfacebook-github-bot
authored andcommitted
Remove redundant throws.
Summary: `IOException` olready covers Json exceptions. Reviewed By: philipjameson fbshipit-source-id: a09f7a8a92
1 parent 90bfee0 commit c9b18b9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/com/facebook/buck/parser/cache/json/module/BuildFileManifestObjectConverter.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import com.facebook.buck.skylark.io.GlobSpec;
2121
import com.facebook.buck.skylark.io.GlobSpecWithResult;
2222
import com.fasterxml.jackson.core.JsonParser;
23-
import com.fasterxml.jackson.core.JsonProcessingException;
2423
import com.fasterxml.jackson.core.TreeNode;
2524
import com.fasterxml.jackson.databind.DeserializationContext;
2625
import com.fasterxml.jackson.databind.JsonDeserializer;
@@ -101,8 +100,7 @@ private ImmutableList<GlobSpecWithResult> readGlobManifest(
101100

102101
@Override
103102
public BuildFileManifest deserialize(
104-
JsonParser jsonParser, DeserializationContext deserializationContext)
105-
throws IOException, JsonProcessingException {
103+
JsonParser jsonParser, DeserializationContext deserializationContext) throws IOException {
106104
TreeNode treeNode = jsonParser.readValueAsTree();
107105

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

0 commit comments

Comments
 (0)