mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUACAMOLE-96: Rearrange logic of DecoratingDirectory.get() to make more intuitive sense.
This commit is contained in:
		| @@ -99,10 +99,11 @@ public abstract class DecoratingDirectory<ObjectType extends Identifiable> | |||||||
|  |  | ||||||
|         // Decorate only if object exists |         // Decorate only if object exists | ||||||
|         ObjectType object = super.get(identifier); |         ObjectType object = super.get(identifier); | ||||||
|         if (object == null) |         if (object != null) | ||||||
|             return object; |             return decorate(object); | ||||||
|  |  | ||||||
|  |         return null; | ||||||
|  |  | ||||||
|         return decorate(object); |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user