GUACAMOLE-524: Fixed up code style and comments

Also added Override tag in AbstractAuthenticatedUser on getAttributes
and setAttributes.
This commit is contained in:
Jared Frees
2018-06-12 16:21:52 -04:00
parent 36bbdce7b1
commit 4791adaa46
5 changed files with 8 additions and 20 deletions

View File

@@ -42,10 +42,12 @@ public abstract class AbstractAuthenticatedUser extends AbstractIdentifiable
// Nothing to invalidate
}
@Override
public Map<String, String> getAttributes() {
return Collections.<String, String>emptyMap();
}
@Override
public void setAttributes(Map<String, String> attributes) {
//do nothing
}

View File

@@ -25,6 +25,7 @@ import java.util.Map;
import java.util.Set;
import org.apache.guacamole.net.auth.AuthenticatedUser;
import org.apache.guacamole.net.auth.Credentials;
/**
* Utility class which provides access to standardized token names, as well as
* facilities for generating those tokens from common objects.