Skip to content

Commit

Permalink
Remove unnecessary throws
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinsona committed Jun 24, 2022
1 parent f49b16c commit c87340e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
class InheritanceMetadataGenerationTests extends AbstractMetadataGenerationTests {

@Test
void childProperties() throws Exception {
void childProperties() {
ConfigurationMetadata metadata = compile(ChildPropertiesConfig.class);
assertThat(metadata).has(Metadata.withGroup("inheritance").fromSource(ChildPropertiesConfig.class));
assertThat(metadata).has(Metadata.withGroup("inheritance.nest").fromSource(ChildProperties.class));
Expand All @@ -45,7 +45,7 @@ void childProperties() throws Exception {
}

@Test
void overrideChildProperties() throws Exception {
void overrideChildProperties() {
ConfigurationMetadata metadata = compile(OverrideChildPropertiesConfig.class);
assertThat(metadata).has(Metadata.withGroup("inheritance").fromSource(OverrideChildPropertiesConfig.class));
assertThat(metadata).has(Metadata.withGroup("inheritance.nest").fromSource(OverrideChildProperties.class));
Expand Down

0 comments on commit c87340e

Please sign in to comment.