mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	Style fixes.
This commit is contained in:
		| @@ -49,11 +49,13 @@ public abstract class FileGuacamoleProperty implements GuacamoleProperty<File> { | ||||
|  | ||||
|     @Override | ||||
|     public File parseValue(String value) throws GuacamoleException { | ||||
|         // having a null value is acceptable. If value is null, no error thrown. | ||||
|         if(value != null) | ||||
|             return new File(value); | ||||
|         else | ||||
|          | ||||
|         // If no property provided, return null. | ||||
|         if (value == null) | ||||
|             return null; | ||||
|  | ||||
|         return new File(value); | ||||
|  | ||||
|     } | ||||
|  | ||||
| } | ||||
|   | ||||
| @@ -108,6 +108,7 @@ public class GuacamoleProperties { | ||||
|      *                            guacamole.properties. | ||||
|      */ | ||||
|     public static <Type> Type getProperty(GuacamoleProperty<Type> property) throws GuacamoleException { | ||||
|  | ||||
|         if (exception != null) | ||||
|             throw exception; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user