JAL-4199 Fix method name typo
[jalview.git] / src / jalview / ws2 / actions / BaseJob.java
index 906b625..c856322 100644 (file)
@@ -31,7 +31,7 @@ public abstract class BaseJob implements JobI
 
   protected final List<SequenceI> inputSeqs;
 
-  protected JobStatus status = null;
+  protected JobStatus status = JobStatus.CREATED;
 
   protected String log = "";
 
@@ -117,7 +117,7 @@ public abstract class BaseJob implements JobI
    * @param log
    *          new log
    */
-  final void setLog(String log)
+  public final void setLog(String log)
   {
     String oldLog = this.log;
     this.log = log;
@@ -136,7 +136,7 @@ public abstract class BaseJob implements JobI
    * 
    * @param errorLog
    */
-  final void setErrorLog(String errorLog)
+  public final void setErrorLog(String errorLog)
   {
     String oldLog = this.errorLog;
     this.errorLog = errorLog;
@@ -161,7 +161,7 @@ public abstract class BaseJob implements JobI
    * 
    * @param job
    */
-  final void setServerJob(WebServiceJobHandle job)
+  public final void setServerJob(WebServiceJobHandle job)
   {
     this.serverJob = job;
   }
@@ -175,7 +175,7 @@ public abstract class BaseJob implements JobI
    * @param listener
    *          property change listener
    */
-  public final void addPropertyChagneListener(PropertyChangeListener listener)
+  public final void addPropertyChangeListener(PropertyChangeListener listener)
   {
     pcs.addPropertyChangeListener(listener);
   }