Cleanup launcher classes
Cleanup a bunch of the code in launcher classes - Migrate the majority of the reflection to ReflectionUtils - Decrease logic in AbstractLauncher - Add logging to launcher classes at FINE level - make mcParams in AbstractLauncher an immutable list to prevent runtime manipulation - StandardLauncher instead copies the list to modify it Signed-off-by: solonovamax <solonovamax@12oclockpoint.com>
This commit is contained in:
		| @@ -83,7 +83,7 @@ public final class Parameters { | ||||
|         List<String> params = map.get(key); | ||||
|  | ||||
|         if (params == null) | ||||
|             throw new ParameterNotFoundException(key); | ||||
|             throw ParameterNotFoundException.forParameterName(key); | ||||
|  | ||||
|         return params; | ||||
|     } | ||||
| @@ -101,7 +101,7 @@ public final class Parameters { | ||||
|         List<String> list = getList(key); | ||||
|  | ||||
|         if (list.isEmpty()) | ||||
|             throw new ParameterNotFoundException(key); | ||||
|             throw ParameterNotFoundException.forParameterName(key); | ||||
|  | ||||
|         return list.get(0); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 solonovamax
					solonovamax