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

See gh-30861
Closes gh-30895
This commit is contained in:
Sam Brannen 2023-07-15 10:15:29 +02:00
parent 6ad647d7ce
commit a28ec3a0a8
1 changed files with 2 additions and 2 deletions

View File

@ -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");