Skip to content

Commit df6216e

Browse files
Remove unnecessary IOException
Signed-off-by: Tran Ngoc Nhan <[email protected]>
1 parent a89e895 commit df6216e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

configuration-metadata/spring-boot-configuration-metadata/src/main/java/org/springframework/boot/configurationmetadata/ConfigurationMetadataRepositoryJsonBuilder.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,8 @@ public ConfigurationMetadataRepositoryJsonBuilder withJsonResource(InputStream i
6767
* @param inputStream the source input stream
6868
* @param charset the charset of the input
6969
* @return this builder
70-
* @throws IOException in case of I/O errors
7170
*/
72-
public ConfigurationMetadataRepositoryJsonBuilder withJsonResource(InputStream inputStream, Charset charset)
73-
throws IOException {
71+
public ConfigurationMetadataRepositoryJsonBuilder withJsonResource(InputStream inputStream, Charset charset) {
7472
if (inputStream == null) {
7573
throw new IllegalArgumentException("InputStream must not be null.");
7674
}

0 commit comments

Comments
 (0)