From f663f754bcb1cb51f58ed2399c3728a40a86ce27 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Fri, 23 Aug 2013 11:25:09 -0700 Subject: [PATCH] Fix whitespace errors. --- extensions/guacamole-auth-noauth/README | 8 ++++---- .../net/auth/noauth/NoAuthConfigContentHandler.java | 10 +++++----- .../net/auth/noauth/NoAuthenticationProvider.java | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/extensions/guacamole-auth-noauth/README b/extensions/guacamole-auth-noauth/README index 066de9346..53eac5780 100644 --- a/extensions/guacamole-auth-noauth/README +++ b/extensions/guacamole-auth-noauth/README @@ -51,7 +51,7 @@ guacamole.properties such that the authentication provider is available. contents of your settings.xml file is correct. 2) Extract the .tar.gz file now present in the target/ directory, and - place the .jar files in the extracted lib/ subdirectory in the library + place the .jar files in the extracted lib/ subdirectory in the library directory specified in guacamole.properties. You will likely need to do this as root. @@ -86,8 +86,8 @@ guacamole.properties such that the authentication provider is available. When completed, this file should be placed in a common location such that it can be referenced from guacamole.properties, like - /etc/guacamole/noauth-config.xml. - + /etc/guacamole/noauth-config.xml. + 4) Configure guacamole.properties An additional property is required by guacamole-auth-noauth which defines @@ -112,6 +112,6 @@ guacamole.properties such that the authentication provider is available. Please report any bugs encountered by opening a new ticket at the Trac system hosted at: - + http://guac-dev.org/trac/ diff --git a/extensions/guacamole-auth-noauth/src/main/java/net/sourceforge/guacamole/net/auth/noauth/NoAuthConfigContentHandler.java b/extensions/guacamole-auth-noauth/src/main/java/net/sourceforge/guacamole/net/auth/noauth/NoAuthConfigContentHandler.java index 3deb676f3..55e5b1883 100644 --- a/extensions/guacamole-auth-noauth/src/main/java/net/sourceforge/guacamole/net/auth/noauth/NoAuthConfigContentHandler.java +++ b/extensions/guacamole-auth-noauth/src/main/java/net/sourceforge/guacamole/net/auth/noauth/NoAuthConfigContentHandler.java @@ -47,7 +47,7 @@ import org.xml.sax.helpers.DefaultHandler; /** * XML parser for the configuration file used by the NoAuth auth provider. - * + * * @author Laurent Meunier */ public class NoAuthConfigContentHandler extends DefaultHandler { @@ -70,7 +70,7 @@ public class NoAuthConfigContentHandler extends DefaultHandler { /** * Returns the a map of all available configurations as parsed from the * XML file. This map is unmodifiable. - * + * * @return A map of all available configurations. */ public Map getConfigs() { @@ -85,13 +85,13 @@ public class NoAuthConfigContentHandler extends DefaultHandler { // Add to map configs.put(current, currentConfig); - + // Reset state for next configuration currentConfig = null; current = null; - + } - + } @Override diff --git a/extensions/guacamole-auth-noauth/src/main/java/net/sourceforge/guacamole/net/auth/noauth/NoAuthenticationProvider.java b/extensions/guacamole-auth-noauth/src/main/java/net/sourceforge/guacamole/net/auth/noauth/NoAuthenticationProvider.java index 166022d17..d96d9b4a9 100644 --- a/extensions/guacamole-auth-noauth/src/main/java/net/sourceforge/guacamole/net/auth/noauth/NoAuthenticationProvider.java +++ b/extensions/guacamole-auth-noauth/src/main/java/net/sourceforge/guacamole/net/auth/noauth/NoAuthenticationProvider.java @@ -116,7 +116,7 @@ public class NoAuthenticationProvider extends SimpleAuthenticationProvider { /** * Retrieves the configuration file, as defined within guacamole.properties. - * + * * @return The configuration file, as defined within guacamole.properties. * @throws GuacamoleException If an error occurs while reading the * property.