private BasicTimeChecker getBasicTimeChecker ( final Map < String , ConditionChecker > checkers ) { for ( final ConditionChecker checker : checkers . values ( ) ) { if ( checker . getType ( ) . equals ( BasicTimeChecker . type ) ) { return ( BasicTimeChecker ) checker ; } } return null ; }
expirecheckers or triggerCheckers only have BasicTimeChecker today . This should be refactored in future .