/wro4j-core/src/main/java/ro/isdc/wro/http/support/ServletContextAttributeHelper.java
final String name = DEFAULT_NAME != null ? nameFromParam : nameFromParam;
final String name = nameFromParam != null ? nameFromParam : DEFAULT_NAME;
public ServletContextAttributeHelper(final ServletContext servletContext) { this(servletContext, DEFAULT_NAME); } public static ServletContextAttributeHelper create(final FilterConfig filterConfig) { Validate.notNull(filterConfig); final String nameFromParam = filterConfig.getInitParameter(INIT_PARAM_NAME); <extra_id_0> return new ServletContextAttributeHelper(filterConfig.getServletContext(), name); } public ServletContextAttributeHelper(final ServletContext servletContext, final String name) { Validate.notNull(servletContext); Validate.notBlank(name); this.servletContext = servletContext;