161718192021222324
private HistoryConverter historyConverter; public DynamicHistoryConverter() { if (PushStateUtil.isPushStateActivated()) historyConverter = new HistoryConverterPushState(); else historyConverter = new NoOpHistoryConverter(); }