mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-220: Use JavaDoc "{@link Map}" to point to Map interface.
This commit is contained in:
@@ -43,7 +43,7 @@ import org.slf4j.LoggerFactory;
|
|||||||
* Guacamole-related objects. Referrals are automatically handled. Convenience
|
* Guacamole-related objects. Referrals are automatically handled. Convenience
|
||||||
* functions are provided for generating the LDAP queries typically required
|
* functions are provided for generating the LDAP queries typically required
|
||||||
* for retrieving Guacamole objects, as well as for converting the results of a
|
* for retrieving Guacamole objects, as well as for converting the results of a
|
||||||
* query into a Map of Guacamole objects.
|
* query into a {@link Map} of Guacamole objects.
|
||||||
*/
|
*/
|
||||||
public class ObjectQueryService {
|
public class ObjectQueryService {
|
||||||
|
|
||||||
@@ -277,11 +277,11 @@ public class ObjectQueryService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Converts a given list of LDAP entries to a map of Guacamole objects
|
* Converts a given list of LDAP entries to a {@link Map} of Guacamole
|
||||||
* stored by their identifiers.
|
* objects stored by their identifiers.
|
||||||
*
|
*
|
||||||
* @param <ObjectType>
|
* @param <ObjectType>
|
||||||
* The type of object to store within the map.
|
* The type of object to store within the {@link Map}.
|
||||||
*
|
*
|
||||||
* @param entries
|
* @param entries
|
||||||
* A list of LDAP entries to convert to Guacamole objects.
|
* A list of LDAP entries to convert to Guacamole objects.
|
||||||
@@ -292,9 +292,9 @@ public class ObjectQueryService {
|
|||||||
* converted, null should be returned.
|
* converted, null should be returned.
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* A new map containing Guacamole object versions of each of the given
|
* A new {@link Map} containing Guacamole object versions of each of
|
||||||
* LDAP entries, where each object is stored within the map under its
|
* the given LDAP entries, where each object is stored within the
|
||||||
* corresponding identifier.
|
* {@link Map} under its corresponding identifier.
|
||||||
*/
|
*/
|
||||||
public <ObjectType extends Identifiable> Map<String, ObjectType>
|
public <ObjectType extends Identifiable> Map<String, ObjectType>
|
||||||
asMap(List<LDAPEntry> entries, Function<LDAPEntry, ObjectType> mapper) {
|
asMap(List<LDAPEntry> entries, Function<LDAPEntry, ObjectType> mapper) {
|
||||||
|
Reference in New Issue
Block a user