Polish "Allow @DefaultValue to be used on record components"

See gh-29010
This commit is contained in:
Andy Wilkinson
2022-03-04 12:16:27 +00:00
parent 976ed90cd7
commit 5ee3fdab77
4 changed files with 4 additions and 7 deletions

View File

@@ -447,7 +447,6 @@ class ConfigurationMetadataAnnotationProcessorTests extends AbstractMetadataGene
}
@Test
@EnabledForJreRange(min = JRE.JAVA_16)
void recordPropertiesWithDefaultValues(@TempDir File temp) throws IOException {
File exampleRecord = new File(temp, "ExampleRecord.java");
try (PrintWriter writer = new PrintWriter(new FileWriter(exampleRecord))) {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.