@@ -409,6 +409,7 @@ public org.springframework.ui.context.Theme getTheme() {
409409 * Determine the fallback theme for this context.
410410 * <p>The default implementation returns the default theme (with name "theme").
411411 * @return the fallback theme (never {@code null})
412+ * @deprecated as of 6.0, with no direct replacement
412413 */
413414 @ Deprecated
414415 protected org .springframework .ui .context .Theme getFallbackTheme () {
@@ -447,6 +448,7 @@ public void changeTheme(@Nullable org.springframework.ui.context.Theme theme) {
447448 * {@link org.springframework.web.servlet.ThemeResolver ThemeResolver}.
448449 * @param themeName the name of the new theme
449450 * @see org.springframework.web.servlet.ThemeResolver#setThemeName
451+ * @deprecated as of 6.0, with no direct replacement
450452 */
451453 @ Deprecated
452454 public void changeTheme (String themeName ) {
@@ -740,6 +742,7 @@ public String getMessage(MessageSourceResolvable resolvable, boolean htmlEscape)
740742 * @param code the code of the message
741743 * @param defaultMessage the String to return if the lookup fails
742744 * @return the message
745+ * @deprecated as of 6.0, with no direct replacement
743746 */
744747 @ Deprecated
745748 public String getThemeMessage (String code , String defaultMessage ) {
@@ -755,6 +758,7 @@ public String getThemeMessage(String code, String defaultMessage) {
755758 * @param args arguments for the message, or {@code null} if none
756759 * @param defaultMessage the String to return if the lookup fails
757760 * @return the message
761+ * @deprecated as of 6.0, with no direct replacement
758762 */
759763 @ Deprecated
760764 public String getThemeMessage (String code , @ Nullable Object [] args , String defaultMessage ) {
@@ -770,6 +774,7 @@ public String getThemeMessage(String code, @Nullable Object[] args, String defau
770774 * @param args arguments for the message as a List, or {@code null} if none
771775 * @param defaultMessage the String to return if the lookup fails
772776 * @return the message
777+ * @deprecated as of 6.0, with no direct replacement
773778 */
774779 @ Deprecated
775780 public String getThemeMessage (String code , @ Nullable List <?> args , String defaultMessage ) {
@@ -785,6 +790,7 @@ public String getThemeMessage(String code, @Nullable List<?> args, String defaul
785790 * @param code the code of the message
786791 * @return the message
787792 * @throws org.springframework.context.NoSuchMessageException if not found
793+ * @deprecated as of 6.0, with no direct replacement
788794 */
789795 @ Deprecated
790796 public String getThemeMessage (String code ) throws NoSuchMessageException {
@@ -799,6 +805,7 @@ public String getThemeMessage(String code) throws NoSuchMessageException {
799805 * @param args arguments for the message, or {@code null} if none
800806 * @return the message
801807 * @throws org.springframework.context.NoSuchMessageException if not found
808+ * @deprecated as of 6.0, with no direct replacement
802809 */
803810 @ Deprecated
804811 public String getThemeMessage (String code , @ Nullable Object [] args ) throws NoSuchMessageException {
@@ -813,6 +820,7 @@ public String getThemeMessage(String code, @Nullable Object[] args) throws NoSuc
813820 * @param args arguments for the message as a List, or {@code null} if none
814821 * @return the message
815822 * @throws org.springframework.context.NoSuchMessageException if not found
823+ * @deprecated as of 6.0, with no direct replacement
816824 */
817825 @ Deprecated
818826 public String getThemeMessage (String code , @ Nullable List <?> args ) throws NoSuchMessageException {
@@ -826,6 +834,7 @@ public String getThemeMessage(String code, @Nullable List<?> args) throws NoSuch
826834 * @param resolvable the MessageSourceResolvable
827835 * @return the message
828836 * @throws org.springframework.context.NoSuchMessageException if not found
837+ * @deprecated as of 6.0, with no direct replacement
829838 */
830839 @ Deprecated
831840 public String getThemeMessage (MessageSourceResolvable resolvable ) throws NoSuchMessageException {
0 commit comments