mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUAC-1170: Use checked versions of empty list/set/map.
This commit is contained in:
		| @@ -122,7 +122,7 @@ public class APIConnectionWrapper implements Connection { | ||||
|  | ||||
|     @Override | ||||
|     public List<? extends ConnectionRecord> getHistory() throws GuacamoleException { | ||||
|         return Collections.EMPTY_LIST; | ||||
|         return Collections.<ConnectionRecord>emptyList(); | ||||
|     } | ||||
|      | ||||
| } | ||||
|   | ||||
| @@ -108,7 +108,7 @@ public class LanguageRESTService { | ||||
|          | ||||
|         // If no translation files found, return an empty map | ||||
|         if (resourcePaths == null) | ||||
|             return Collections.EMPTY_MAP; | ||||
|             return Collections.<String, String>emptyMap(); | ||||
|          | ||||
|         Map<String, String> languageMap = new HashMap<String, String>(); | ||||
|          | ||||
|   | ||||
		Reference in New Issue
	
	Block a user