mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-10 07:01:21 +00:00
Remove trailing whitespace from lines.
This commit is contained in:
@@ -117,12 +117,12 @@ public class ConfiguredGuacamoleSocket implements GuacamoleSocket {
|
||||
// Wait for server args
|
||||
GuacamoleInstruction instruction;
|
||||
do {
|
||||
|
||||
|
||||
// Read instruction, fail if end-of-stream
|
||||
instruction = reader.readInstruction();
|
||||
if (instruction == null)
|
||||
throw new GuacamoleServerException("End of stream during initial handshake.");
|
||||
|
||||
|
||||
} while (!instruction.getOpcode().equals("args"));
|
||||
|
||||
// Build args list off provided names and config
|
||||
@@ -144,7 +144,7 @@ public class ConfiguredGuacamoleSocket implements GuacamoleSocket {
|
||||
|
||||
}
|
||||
|
||||
// Send size
|
||||
// Send size
|
||||
writer.writeInstruction(
|
||||
new GuacamoleInstruction(
|
||||
"size",
|
||||
|
@@ -58,12 +58,12 @@ public class GuacamoleClientInformation {
|
||||
* The optimal screen height requested by the client, in pixels.
|
||||
*/
|
||||
private int optimalScreenHeight = 768;
|
||||
|
||||
|
||||
/**
|
||||
* The list of audio mimetypes reported by the client to be supported.
|
||||
*/
|
||||
private List<String> audioMimetypes = new ArrayList<String>();
|
||||
|
||||
|
||||
/**
|
||||
* The list of audio mimetypes reported by the client to be supported.
|
||||
*/
|
||||
@@ -105,7 +105,7 @@ public class GuacamoleClientInformation {
|
||||
* Returns the list of audio mimetypes supported by the client. To add or
|
||||
* removed supported mimetypes, the list returned by this function can be
|
||||
* modified.
|
||||
*
|
||||
*
|
||||
* @return The set of audio mimetypes supported by the client.
|
||||
*/
|
||||
public List<String> getAudioMimetypes() {
|
||||
@@ -116,7 +116,7 @@ public class GuacamoleClientInformation {
|
||||
* Returns the list of video mimetypes supported by the client. To add or
|
||||
* removed supported mimetypes, the list returned by this function can be
|
||||
* modified.
|
||||
*
|
||||
*
|
||||
* @return The set of video mimetypes supported by the client.
|
||||
*/
|
||||
public List<String> getVideoMimetypes() {
|
||||
|
@@ -104,18 +104,18 @@ public class GuacamoleConfiguration implements Serializable {
|
||||
|
||||
/**
|
||||
* Removes the value set for the parameter with the given name.
|
||||
*
|
||||
*
|
||||
* @param name The name of the parameter to remove the value of.
|
||||
*/
|
||||
public void unsetParameter(String name) {
|
||||
parameters.remove(name);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns a set of all currently defined parameter names. Each name
|
||||
* corresponds to a parameter that has a value set on this
|
||||
* GuacamoleConfiguration via setParameter().
|
||||
*
|
||||
*
|
||||
* @return A set of all currently defined parameter names.
|
||||
*/
|
||||
public Set<String> getParameterNames() {
|
||||
|
Reference in New Issue
Block a user