Provide @ConditionalOn… annotations for all concrete conditions

Closes gh-41044
This commit is contained in:
Andy Wilkinson
2025-01-23 14:28:55 +00:00
parent 437c259d9e
commit 95d5e35ff2
20 changed files with 244 additions and 43 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2019 the original author or authors.
* Copyright 2012-2025 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.
@@ -65,6 +65,7 @@ class OnEnabledDevToolsConditionTests {
static class TestConfiguration {
@Bean
@SuppressWarnings("removal")
@Conditional(OnEnabledDevToolsCondition.class)
String test() {
return "hello";