Skip to content

Commit

Permalink
Deprecate org.springframework.core.Constants utility
Browse files Browse the repository at this point in the history
Closes gh-30851
  • Loading branch information
sbrannen committed Jul 31, 2023
1 parent 3b8dd0a commit 2f7046f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@
* @author Rod Johnson
* @author Juergen Hoeller
* @since 16.03.2003
* @deprecated since 6.1 with no replacement; use an enum, map, or similar custom
* solution instead
*/
@Deprecated(since = "6.1")
public class Constants {

/** The name of the introspected class. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* @author Rick Evans
* @since 28.04.2003
*/
@SuppressWarnings("deprecation")
class ConstantsTests {

@Test
Expand Down

0 comments on commit 2f7046f

Please sign in to comment.