@ Override public String getMaxChangeDate ( ) { Collector col = featureCollectorRepository . findByName ( FeatureCollectorConstants . VERSIONONE ) ; if ( col == null ) return "" ; if ( StringUtils . isEmpty ( getFeatureSettings ( ) . getDeltaCollectorItemStartDate ( ) ) ) return "" ; List < Team > response = teamRepo . findTopByChangeDateDesc ( col . getId ( ) , getFeatureSettings ( ) . getDeltaCollectorItemStartDate ( ) ) ; if ( ! CollectionUtils . isEmpty ( response ) ) return response . get ( 0 ) . getChangeDate ( ) ; return "" ; }
Retrieves the maximum change date for a given query .