Browse Source

Make DefaultGenerationContext(<classes>,<files>,<hints>) constructor protected

See gh-30861
Closes gh-30895
pull/30915/head
Sam Brannen 2 years ago
parent
commit
a28ec3a0a8
  1. 4
      spring-core/src/main/java/org/springframework/aot/generate/DefaultGenerationContext.java

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

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2022 the original author or authors. * Copyright 2002-2023 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -78,7 +78,7 @@ public class DefaultGenerationContext implements GenerationContext {
* @param generatedFiles the generated files * @param generatedFiles the generated files
* @param runtimeHints the runtime hints * @param runtimeHints the runtime hints
*/ */
DefaultGenerationContext(GeneratedClasses generatedClasses, protected DefaultGenerationContext(GeneratedClasses generatedClasses,
GeneratedFiles generatedFiles, RuntimeHints runtimeHints) { GeneratedFiles generatedFiles, RuntimeHints runtimeHints) {
Assert.notNull(generatedClasses, "'generatedClasses' must not be null"); Assert.notNull(generatedClasses, "'generatedClasses' must not be null");

Loading…
Cancel
Save