Atmosphere/atmosphere — Issue #113: getInitParameterNames should return also the local param
Author: survivant
Created: 2011-12-08 16:26:56+00:00
State: open

In AtmosphereConfig, we check for local InitParam, but the method getInitParamNames doesn't

public String getInitParameter(String name) {
// First looks locally
String s = initParams.get(name);
if (s != null) {
return s;
}

return AtmosphereServlet.this.getInitParameter(name);
}

public Enumeration getInitParameterNames() {
return AtmosphereServlet.this.getInitParameterNames();
}

should return local InitParam first and the super.getInitParameterNames() that are not already included in the local.