Skip to content

Commit a28ec3a

Browse files
committed
Make DefaultGenerationContext(<classes>,<files>,<hints>) constructor protected
See gh-30861 Closes gh-30895
1 parent 6ad647d commit a28ec3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-core/src/main/java/org/springframework/aot/generate/DefaultGenerationContext.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -78,7 +78,7 @@ public DefaultGenerationContext(ClassNameGenerator classNameGenerator, Generated
7878
* @param generatedFiles the generated files
7979
* @param runtimeHints the runtime hints
8080
*/
81-
DefaultGenerationContext(GeneratedClasses generatedClasses,
81+
protected DefaultGenerationContext(GeneratedClasses generatedClasses,
8282
GeneratedFiles generatedFiles, RuntimeHints runtimeHints) {
8383

8484
Assert.notNull(generatedClasses, "'generatedClasses' must not be null");

0 commit comments

Comments
 (0)