Skip to content

Commit c87340e

Browse files
committed
Remove unnecessary throws
1 parent f49b16c commit c87340e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/InheritanceMetadataGenerationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
class InheritanceMetadataGenerationTests extends AbstractMetadataGenerationTests {
3131

3232
@Test
33-
void childProperties() throws Exception {
33+
void childProperties() {
3434
ConfigurationMetadata metadata = compile(ChildPropertiesConfig.class);
3535
assertThat(metadata).has(Metadata.withGroup("inheritance").fromSource(ChildPropertiesConfig.class));
3636
assertThat(metadata).has(Metadata.withGroup("inheritance.nest").fromSource(ChildProperties.class));
@@ -45,7 +45,7 @@ void childProperties() throws Exception {
4545
}
4646

4747
@Test
48-
void overrideChildProperties() throws Exception {
48+
void overrideChildProperties() {
4949
ConfigurationMetadata metadata = compile(OverrideChildPropertiesConfig.class);
5050
assertThat(metadata).has(Metadata.withGroup("inheritance").fromSource(OverrideChildPropertiesConfig.class));
5151
assertThat(metadata).has(Metadata.withGroup("inheritance.nest").fromSource(OverrideChildProperties.class));

0 commit comments

Comments
 (0)