Loading src/uws/job/UWSJob.java +10 −8 Original line number Original line Diff line number Diff line Loading @@ -130,7 +130,7 @@ import uws.service.request.UploadFile; * </ul> * </ul> * * * @author Grégory Mantelet (CDS;ARI) * @author Grégory Mantelet (CDS;ARI) * @version 4.3 (03/2018) * @version 4.4 (09/2018) */ */ public class UWSJob extends SerializableUWSObject { public class UWSJob extends SerializableUWSObject { private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L; Loading Loading @@ -302,7 +302,7 @@ public class UWSJob extends SerializableUWSObject { protected ErrorSummary errorSummary = null; protected ErrorSummary errorSummary = null; /** This is a list of all results of this job. */ /** This is a list of all results of this job. */ protected Map<String,Result> results; protected Map<String, Result> results; /** List of all input parameters (UWS standard and non-standard parameters). */ /** List of all input parameters (UWS standard and non-standard parameters). */ protected final UWSParameters inputParams; protected final UWSParameters inputParams; Loading Loading @@ -370,7 +370,7 @@ public class UWSJob extends SerializableUWSObject { phase = new JobPhase(this); phase = new JobPhase(this); results = new HashMap<String,Result>(); results = new HashMap<String, Result>(); inputParams = (params == null ? new UWSParameters() : params); inputParams = (params == null ? new UWSParameters() : params); inputParams.init(); inputParams.init(); Loading @@ -383,7 +383,8 @@ public class UWSJob extends SerializableUWSObject { while(files.hasNext()){ while(files.hasNext()){ try{ try{ files.next().move(this); files.next().move(this); }catch(IOException ioe){} }catch(IOException ioe){ } } } } } Loading Loading @@ -417,7 +418,7 @@ public class UWSJob extends SerializableUWSObject { phase = new JobPhase(this); phase = new JobPhase(this); results = new HashMap<String,Result>(); results = new HashMap<String, Result>(); inputParams = (params == null ? new UWSParameters() : params); inputParams = (params == null ? new UWSParameters() : params); inputParams.init(); inputParams.init(); Loading @@ -438,7 +439,8 @@ public class UWSJob extends SerializableUWSObject { while(files.hasNext()){ while(files.hasNext()){ try{ try{ files.next().move(this); files.next().move(this); }catch(IOException ioe){} }catch(IOException ioe){ } } } } } Loading Loading @@ -491,7 +493,7 @@ public class UWSJob extends SerializableUWSObject { if (endTime > 0) if (endTime > 0) this.endTime = new Date(endTime); this.endTime = new Date(endTime); this.results = new HashMap<String,Result>(); this.results = new HashMap<String, Result>(); if (results != null){ if (results != null){ for(Result r : results){ for(Result r : results){ if (r != null) if (r != null) Loading Loading @@ -1964,7 +1966,7 @@ public class UWSJob extends SerializableUWSObject { } } } } if (!fullClean){ if (fullClean){ // Clear the error file: // Clear the error file: if (errorSummary != null && errorSummary.hasDetail()){ if (errorSummary != null && errorSummary.hasDetail()){ try{ try{ Loading Loading
src/uws/job/UWSJob.java +10 −8 Original line number Original line Diff line number Diff line Loading @@ -130,7 +130,7 @@ import uws.service.request.UploadFile; * </ul> * </ul> * * * @author Grégory Mantelet (CDS;ARI) * @author Grégory Mantelet (CDS;ARI) * @version 4.3 (03/2018) * @version 4.4 (09/2018) */ */ public class UWSJob extends SerializableUWSObject { public class UWSJob extends SerializableUWSObject { private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L; Loading Loading @@ -302,7 +302,7 @@ public class UWSJob extends SerializableUWSObject { protected ErrorSummary errorSummary = null; protected ErrorSummary errorSummary = null; /** This is a list of all results of this job. */ /** This is a list of all results of this job. */ protected Map<String,Result> results; protected Map<String, Result> results; /** List of all input parameters (UWS standard and non-standard parameters). */ /** List of all input parameters (UWS standard and non-standard parameters). */ protected final UWSParameters inputParams; protected final UWSParameters inputParams; Loading Loading @@ -370,7 +370,7 @@ public class UWSJob extends SerializableUWSObject { phase = new JobPhase(this); phase = new JobPhase(this); results = new HashMap<String,Result>(); results = new HashMap<String, Result>(); inputParams = (params == null ? new UWSParameters() : params); inputParams = (params == null ? new UWSParameters() : params); inputParams.init(); inputParams.init(); Loading @@ -383,7 +383,8 @@ public class UWSJob extends SerializableUWSObject { while(files.hasNext()){ while(files.hasNext()){ try{ try{ files.next().move(this); files.next().move(this); }catch(IOException ioe){} }catch(IOException ioe){ } } } } } Loading Loading @@ -417,7 +418,7 @@ public class UWSJob extends SerializableUWSObject { phase = new JobPhase(this); phase = new JobPhase(this); results = new HashMap<String,Result>(); results = new HashMap<String, Result>(); inputParams = (params == null ? new UWSParameters() : params); inputParams = (params == null ? new UWSParameters() : params); inputParams.init(); inputParams.init(); Loading @@ -438,7 +439,8 @@ public class UWSJob extends SerializableUWSObject { while(files.hasNext()){ while(files.hasNext()){ try{ try{ files.next().move(this); files.next().move(this); }catch(IOException ioe){} }catch(IOException ioe){ } } } } } Loading Loading @@ -491,7 +493,7 @@ public class UWSJob extends SerializableUWSObject { if (endTime > 0) if (endTime > 0) this.endTime = new Date(endTime); this.endTime = new Date(endTime); this.results = new HashMap<String,Result>(); this.results = new HashMap<String, Result>(); if (results != null){ if (results != null){ for(Result r : results){ for(Result r : results){ if (r != null) if (r != null) Loading Loading @@ -1964,7 +1966,7 @@ public class UWSJob extends SerializableUWSObject { } } } } if (!fullClean){ if (fullClean){ // Clear the error file: // Clear the error file: if (errorSummary != null && errorSummary.hasDetail()){ if (errorSummary != null && errorSummary.hasDetail()){ try{ try{ Loading