GUACAMOLE-197: Add JavaDoc comments for the state field class; remove debug code.

This commit is contained in:
Nick Couchman
2017-02-15 12:39:06 -05:00
committed by Nick Couchman
parent 59e8b8a667
commit c02e46e70d

View File

@@ -24,12 +24,13 @@ import org.codehaus.jackson.annotate.JsonProperty;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class RadiusStateField extends Field {
/**
* Logger for this class.
/**
* The invisible field that stores the state of the RADIUS
* connection. The state is simply a placeholder that helps
* the client and server pick back up the conversation
* at the correct spot during challenge/response.
*/
private final Logger logger = LoggerFactory.getLogger(RadiusStateField.class);
public class RadiusStateField extends Field {
/**
* The parameter returned by the RADIUS state.
@@ -51,8 +52,6 @@ public class RadiusStateField extends Field {
*/
public RadiusStateField(String radiusState) {
super(PARAMETER_NAME, RADIUS_FIELD_TYPE);
logger.debug("Initializing the RADIUS state field: {}", radiusState);
this.radiusState = radiusState;
}