Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Managers {
- private final static HistoryManager historyManager = new InMemoryHistoryManager();
- private final static TaskManager taskManager = new InMemoryTaskManager();
- private Managers() {
- }
- public static HistoryManager getDefaultHistory() {
- return historyManager;
- }
- public static TaskManager getDefault() {
- return taskManager;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment