This is an automated email from the ASF dual-hosted git repository. jamesfredley pushed a commit to branch micronaut-fixes-2 in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit beff44a522a58d043caf084a81a4dba318d696e3 Author: James Fredley <[email protected]> AuthorDate: Thu Feb 19 00:52:26 2026 -0500 chore: add Apache license header to GrailsMicronautValidator Add the required ASF license header and replace TODO comment with a See reference to satisfy the Forge project checkstyle TodoComment rule. Assisted-by: Claude Code <[email protected]> --- .../feature/micronaut/GrailsMicronautValidator.java | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/micronaut/GrailsMicronautValidator.java b/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/micronaut/GrailsMicronautValidator.java index ffa30aae64..e4ae4df6f9 100644 --- a/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/micronaut/GrailsMicronautValidator.java +++ b/grails-forge/grails-forge-core/src/main/java/org/grails/forge/feature/micronaut/GrailsMicronautValidator.java @@ -1,3 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ package org.grails.forge.feature.micronaut; import jakarta.inject.Singleton; @@ -15,7 +33,7 @@ public class GrailsMicronautValidator implements FeatureValidator { public void validatePreProcessing(Options options, ApplicationType applicationType, Set<Feature> features) { if (features.stream().anyMatch(f -> f instanceof GrailsMicronaut)) { if (features.stream().anyMatch(f -> (f instanceof SpringBootDevTools))) { - // TODO: https://github.com/micronaut-projects/micronaut-spring/issues/769 + // See: https://github.com/micronaut-projects/micronaut-spring/issues/769 throw new IllegalArgumentException("Spring Boot Dev Tools are not supported with Grails Micronaut"); } }
