Remove trailing whitespace from lines.

This commit is contained in:
Michael Jumper
2013-02-21 11:30:50 -08:00
parent 586c9b4f83
commit 3ea725ae3a
4 changed files with 13 additions and 13 deletions

View File

@@ -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",

View File

@@ -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() {

View File

@@ -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() {

View File

@@ -164,7 +164,7 @@ public abstract class GuacamoleHTTPTunnelServlet extends HttpServlet {
try {
// Ensure buggy browsers do not cache response
response.setHeader("Cache-Control", "no-cache");
// Send UUID to client
response.getWriter().print(tunnel.getUUID().toString());
}
@@ -403,12 +403,12 @@ public abstract class GuacamoleHTTPTunnelServlet extends HttpServlet {
// Buffer
int length;
char[] buffer = new char[8192];
// Transfer data using buffer
while (tunnel.isOpen() &&
(length = input.read(buffer, 0, buffer.length)) != -1)
writer.write(buffer, 0, length);
}
// Close input stream in all cases