mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
GUACAMOLE-102: Corrections to comments in ConnectionModel class.
This commit is contained in:
@@ -56,8 +56,8 @@ public class ConnectionModel extends ChildObjectModel {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* The weight of the connection for the purposes of calculating
|
* The weight of the connection for the purposes of calculating
|
||||||
* WRR algorithm. null indicates nothing has been set, -1 indicates
|
* WLC algorithm. null indicates nothing has been set, and anything less
|
||||||
* the system is unavailable.
|
* than 1 eliminates the system from being used for connections.
|
||||||
*/
|
*/
|
||||||
private Integer connectionWeight;
|
private Integer connectionWeight;
|
||||||
|
|
||||||
@@ -187,10 +187,7 @@ public class ConnectionModel extends ChildObjectModel {
|
|||||||
* weighted algorithms.
|
* weighted algorithms.
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
* The connection weight as an int. If the weight is
|
* The connection weight as an Integer.
|
||||||
* null a default weight of 1 is returned. Zero and
|
|
||||||
* negative numbers are used to indicate the system is
|
|
||||||
* unavailable.
|
|
||||||
*/
|
*/
|
||||||
public Integer getConnectionWeight() {
|
public Integer getConnectionWeight() {
|
||||||
return connectionWeight;
|
return connectionWeight;
|
||||||
|
Reference in New Issue
Block a user