boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; TemplatesState state = (TemplatesState)o; return Comparing.strEqual(defaultTemplateName, state.defaultTemplateName) && Objects.equals(templates, state.templates); }