Code example for Splitter

Methods: split

0
                                     final ResourceDataDao resourceDataDao,
                                     final DailySchedulerDao dailySchedulerDao, DateTimeProvider dateTimeProvider) {
        this.resourceDataDao = resourceDataDao;
        this.dailySchedulerDao = dailySchedulerDao;
        this.dateTimeProvider = dateTimeProvider;
        this.sourceNames = Sets.newHashSet(Iterables.transform(PROPERTY_LIST_SPLITTER.split(grsSourceNames), new Function<String, String>() {
            @Override 
            public String apply(final String input) {
                return input.toLowerCase().replace("-grs", "");
            } 
        })); 
    } 
 
    @PostConstruct 
    void init() { 
        refreshAuthoritativeResourceCache(); 
    } 
 
    @Scheduled(fixedDelay = REFRESH_DELAY)
    synchronized public void refreshAuthoritativeResourceCache() { 
        final LocalDate date = dateTimeProvider.getCurrentDate();