public static void fixDisplayedText ( final RESTTextContentSpecV1 source ) { if ( source . getFailedContentSpec ( ) != null ) { source . setText ( source . getFailedContentSpec ( ) ) ; } }
If the last save of the content spec was not valid the text field will display the last valid state the errors field will be populated and the failedContentSpec will have the invalid spec text .