archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marti...@apache.org
Subject [archiva-redback-components-spring-quartz] 37/46: formatting
Date Mon, 09 Apr 2018 20:09:59 GMT
This is an automated email from the ASF dual-hosted git repository.

martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-redback-components-spring-quartz.git

commit 5e3d52b587f74d7bf0609f9276494d5f8e4bdac4
Author: Olivier Lamy <olamy@apache.org>
AuthorDate: Mon Dec 16 04:53:35 2013 +0000

    formatting
    
    git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk@1551116
13f79535-47bb-0310-9956-ffa450edef68
---
 .../redback/components/scheduler/AbstractJob.java  | 58 ++++++++++++++--------
 1 file changed, 37 insertions(+), 21 deletions(-)

diff --git a/src/main/java/org/apache/archiva/redback/components/scheduler/AbstractJob.java
b/src/main/java/org/apache/archiva/redback/components/scheduler/AbstractJob.java
index f5eef6a..c89e795 100644
--- a/src/main/java/org/apache/archiva/redback/components/scheduler/AbstractJob.java
+++ b/src/main/java/org/apache/archiva/redback/components/scheduler/AbstractJob.java
@@ -34,53 +34,69 @@ import org.slf4j.LoggerFactory;
  * ServiceBroker.
  *
  * @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
- *
  */
 public abstract class AbstractJob
     implements InterruptableJob
 {
 
-    private  Logger log = LoggerFactory.getLogger( getClass() );
+    private Logger log = LoggerFactory.getLogger( getClass() );
 
-    /** JobDataMap tag for the job's logger. */
+    /**
+     * JobDataMap tag for the job's logger.
+     */
     public static final String LOGGER = "JOB_LOGGER";
-    
-    /** JobDataMap tag for the job's context. */
+
+    /**
+     * JobDataMap tag for the job's context.
+     */
     public static final String CONTEXT = "JOB_CONTEXT";
 
-    /** JobDataMap tag for the job's service broker. */
+    /**
+     * JobDataMap tag for the job's service broker.
+     */
     public static final String SERVICE_MANAGER = "JOB_SERVICE_MANAGER";
-    
-    /** JobDataMap tag for the job's configuration. */
+
+    /**
+     * JobDataMap tag for the job's configuration.
+     */
     public static final String EXECUTION_CONFIGURATION = "JOB_EXECUTION_CONFIGURATION";
 
-    /** Job Data Map */
+    /**
+     * Job Data Map
+     */
     private JobDataMap jobDataMap;
 
     private boolean interrupted;
 
-    /** Set Job Data Map */
-    public void setJobDataMap(JobDataMap jobDataMap)
+    /**
+     * Set Job Data Map
+     */
+    public void setJobDataMap( JobDataMap jobDataMap )
     {
         this.jobDataMap = jobDataMap;
     }
-    
-    /** Get Job Data Map */
+
+    /**
+     * Get Job Data Map
+     */
     public JobDataMap getJobDataMap()
     {
         return jobDataMap;
-    }        
-    
-    /** Get the Logger. */
+    }
+
+    /**
+     * Get the Logger.
+     */
     public Logger getLogger()
     {
-        return (Logger) getJobDataMap().get(LOGGER);
-    }        
-
+        return (Logger) getJobDataMap().get( LOGGER );
+    }
 
 
-    /** Execute the Job. */
-    public abstract void execute(JobExecutionContext context)
+    /**
+     * Execute the Job.
+     */
+    public abstract void execute( JobExecutionContext context )
         throws JobExecutionException;
 
     public boolean isInterrupted()

-- 
To stop receiving notification emails like this one, please contact
martin_s@apache.org.

Mime
View raw message