public static void updateContentHash ( final Topic topic ) { if ( topic . getTopicXML ( ) != null ) { topic . setTopicContentHash ( HashUtilities . generateSHA256 ( topic . getTopicXML ( ) ) . toCharArray ( ) ) ; } }
Set the content hash on the topic .