protected void cleanSpecTopicWhenCreatedOrUpdated ( final ITopicNode topicNode ) { topicNode . setDescription ( null ) ; topicNode . setTags ( new ArrayList < String > ( ) ) ; topicNode . setRemoveTags ( new ArrayList < String > ( ) ) ; topicNode . setAssignedWriter ( null ) ; if ( topicNode instanceof SpecTopic ) { final SpecTopic specTopic = ( SpecTopic ) topicNode ; specTopic . setSourceUrls ( new ArrayList < String > ( ) ) ; specTopic . setType ( null ) ; } }
Cleans a SpecTopic to reset any content that should be removed in a post processed content spec .