Compile project with Java 24 and '-release' Java 17
Closes gh-45472
This commit is contained in:
committed by
Phillip Webb
parent
af220127d0
commit
6e2049eb92
@@ -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.
|
||||
@@ -23,6 +23,7 @@ import org.springframework.boot.configurationsample.Endpoint;
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
*/
|
||||
@SuppressWarnings({ "deprecation", "removal" })
|
||||
@Endpoint(id = "disabled", enableByDefault = false)
|
||||
public class DisabledEndpoint {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2024 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.
|
||||
@@ -25,6 +25,7 @@ import org.springframework.boot.configurationsample.ReadOperation;
|
||||
*
|
||||
* @author Moritz Halbritter
|
||||
*/
|
||||
@SuppressWarnings({ "deprecation", "removal" })
|
||||
@Endpoint(id = "simple", enableByDefault = false)
|
||||
public class SimpleEndpoint3 {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2021 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.
|
||||
@@ -26,6 +26,7 @@ import org.springframework.lang.Nullable;
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
*/
|
||||
@SuppressWarnings({ "deprecation", "removal" })
|
||||
@WebEndpoint(id = "specific", enableByDefault = true)
|
||||
public class SpecificEndpoint {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user