Skip to content
Snippets Groups Projects
Commit fdf1d1ea authored by gmantele's avatar gmantele
Browse files

[UWS] Fix bug with the configuration of the destruction controller.

The configuration of the DestructionTimeController was never effective
in the UWSServlet with a configuration file: the wrong instance was set.
parent f7071abb
Branches
No related tags found
No related merge requests found
...@@ -1067,7 +1067,7 @@ public abstract class UWSServlet extends HttpServlet implements UWS, UWSFactory ...@@ -1067,7 +1067,7 @@ public abstract class UWSServlet extends HttpServlet implements UWS, UWSFactory
DestructionTimeController destructionController; DestructionTimeController destructionController;
if (controller == null || !(controller instanceof DestructionTimeController)){ if (controller == null || !(controller instanceof DestructionTimeController)){
destructionController = new DestructionTimeController(); destructionController = new DestructionTimeController();
inputParamControllers.put(UWSJob.PARAM_DESTRUCTION_TIME, controller); inputParamControllers.put(UWSJob.PARAM_DESTRUCTION_TIME, destructionController);
}else }else
destructionController = (DestructionTimeController)controller; destructionController = (DestructionTimeController)controller;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment