@@ -409,6 +409,7 @@ public org.springframework.ui.context.Theme getTheme() {
409
409
* Determine the fallback theme for this context.
410
410
* <p>The default implementation returns the default theme (with name "theme").
411
411
* @return the fallback theme (never {@code null})
412
+ * @deprecated as of 6.0, with no direct replacement
412
413
*/
413
414
@ Deprecated
414
415
protected org .springframework .ui .context .Theme getFallbackTheme () {
@@ -447,6 +448,7 @@ public void changeTheme(@Nullable org.springframework.ui.context.Theme theme) {
447
448
* {@link org.springframework.web.servlet.ThemeResolver ThemeResolver}.
448
449
* @param themeName the name of the new theme
449
450
* @see org.springframework.web.servlet.ThemeResolver#setThemeName
451
+ * @deprecated as of 6.0, with no direct replacement
450
452
*/
451
453
@ Deprecated
452
454
public void changeTheme (String themeName ) {
@@ -740,6 +742,7 @@ public String getMessage(MessageSourceResolvable resolvable, boolean htmlEscape)
740
742
* @param code the code of the message
741
743
* @param defaultMessage the String to return if the lookup fails
742
744
* @return the message
745
+ * @deprecated as of 6.0, with no direct replacement
743
746
*/
744
747
@ Deprecated
745
748
public String getThemeMessage (String code , String defaultMessage ) {
@@ -755,6 +758,7 @@ public String getThemeMessage(String code, String defaultMessage) {
755
758
* @param args arguments for the message, or {@code null} if none
756
759
* @param defaultMessage the String to return if the lookup fails
757
760
* @return the message
761
+ * @deprecated as of 6.0, with no direct replacement
758
762
*/
759
763
@ Deprecated
760
764
public String getThemeMessage (String code , @ Nullable Object [] args , String defaultMessage ) {
@@ -770,6 +774,7 @@ public String getThemeMessage(String code, @Nullable Object[] args, String defau
770
774
* @param args arguments for the message as a List, or {@code null} if none
771
775
* @param defaultMessage the String to return if the lookup fails
772
776
* @return the message
777
+ * @deprecated as of 6.0, with no direct replacement
773
778
*/
774
779
@ Deprecated
775
780
public String getThemeMessage (String code , @ Nullable List <?> args , String defaultMessage ) {
@@ -785,6 +790,7 @@ public String getThemeMessage(String code, @Nullable List<?> args, String defaul
785
790
* @param code the code of the message
786
791
* @return the message
787
792
* @throws org.springframework.context.NoSuchMessageException if not found
793
+ * @deprecated as of 6.0, with no direct replacement
788
794
*/
789
795
@ Deprecated
790
796
public String getThemeMessage (String code ) throws NoSuchMessageException {
@@ -799,6 +805,7 @@ public String getThemeMessage(String code) throws NoSuchMessageException {
799
805
* @param args arguments for the message, or {@code null} if none
800
806
* @return the message
801
807
* @throws org.springframework.context.NoSuchMessageException if not found
808
+ * @deprecated as of 6.0, with no direct replacement
802
809
*/
803
810
@ Deprecated
804
811
public String getThemeMessage (String code , @ Nullable Object [] args ) throws NoSuchMessageException {
@@ -813,6 +820,7 @@ public String getThemeMessage(String code, @Nullable Object[] args) throws NoSuc
813
820
* @param args arguments for the message as a List, or {@code null} if none
814
821
* @return the message
815
822
* @throws org.springframework.context.NoSuchMessageException if not found
823
+ * @deprecated as of 6.0, with no direct replacement
816
824
*/
817
825
@ Deprecated
818
826
public String getThemeMessage (String code , @ Nullable List <?> args ) throws NoSuchMessageException {
@@ -826,6 +834,7 @@ public String getThemeMessage(String code, @Nullable List<?> args) throws NoSuch
826
834
* @param resolvable the MessageSourceResolvable
827
835
* @return the message
828
836
* @throws org.springframework.context.NoSuchMessageException if not found
837
+ * @deprecated as of 6.0, with no direct replacement
829
838
*/
830
839
@ Deprecated
831
840
public String getThemeMessage (MessageSourceResolvable resolvable ) throws NoSuchMessageException {
0 commit comments