lenya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andr...@apache.org
Subject cvs commit: cocoon-lenya/src/java/org/apache/lenya/cms/scheduler/xml TriggerHelper.java
Date Fri, 30 May 2003 21:01:48 GMT
andreas     2003/05/30 14:01:48

  Modified:    src/java/org/apache/lenya/cms/scheduler
                        ServletJobFactory.java SchedulerWrapper.java
                        RSSFetchJob.java HelloWorldJob.java TaskJob.java
                        LoadQuartzServlet.java
               src/java/org/apache/lenya/cms/scheduler/xml
                        TriggerHelper.java
  Log:
  corrected some coding style issues
  
  Revision  Changes    Path
  1.7       +7 -3      cocoon-lenya/src/java/org/apache/lenya/cms/scheduler/ServletJobFactory.java
  
  Index: ServletJobFactory.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/scheduler/ServletJobFactory.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ServletJobFactory.java	24 Apr 2003 13:52:59 -0000	1.6
  +++ ServletJobFactory.java	30 May 2003 21:01:47 -0000	1.7
  @@ -56,8 +56,12 @@
    *
    * @author ah
    */
  -public class ServletJobFactory {
  -    static Category log = Category.getInstance(ServletJobFactory.class);
  +public final class ServletJobFactory {
  +	
  +	private ServletJobFactory() {
  +	}
  +	
  +    private static Category log = Category.getInstance(ServletJobFactory.class);
   
       /**
        * DOCUMENT ME!
  
  
  
  1.14      +2 -2      cocoon-lenya/src/java/org/apache/lenya/cms/scheduler/SchedulerWrapper.java
  
  Index: SchedulerWrapper.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/scheduler/SchedulerWrapper.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- SchedulerWrapper.java	24 Apr 2003 13:52:59 -0000	1.13
  +++ SchedulerWrapper.java	30 May 2003 21:01:47 -0000	1.14
  @@ -83,7 +83,7 @@
    * @author ah
    */
   public class SchedulerWrapper {
  -    static Category log = Category.getInstance(SchedulerWrapper.class);
  +    private static Category log = Category.getInstance(SchedulerWrapper.class);
       public static final String JOB_PREFIX = "job";
       public static final String DOCUMENT_URI = "documentUri";
       public static final String JOB_ID = "id";
  
  
  
  1.8       +2 -2      cocoon-lenya/src/java/org/apache/lenya/cms/scheduler/RSSFetchJob.java
  
  Index: RSSFetchJob.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/scheduler/RSSFetchJob.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- RSSFetchJob.java	24 Apr 2003 13:52:59 -0000	1.7
  +++ RSSFetchJob.java	30 May 2003 21:01:47 -0000	1.8
  @@ -67,7 +67,7 @@
    * @author Michael Wechner
    */
   public class RSSFetchJob implements Job {
  -    static Category log = Category.getInstance(RSSFetchJob.class);
  +    private static Category log = Category.getInstance(RSSFetchJob.class);
   
       /**
        * DOCUMENT ME!
  
  
  
  1.8       +2 -2      cocoon-lenya/src/java/org/apache/lenya/cms/scheduler/HelloWorldJob.java
  
  Index: HelloWorldJob.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/scheduler/HelloWorldJob.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- HelloWorldJob.java	24 Apr 2003 13:52:59 -0000	1.7
  +++ HelloWorldJob.java	30 May 2003 21:01:47 -0000	1.8
  @@ -59,7 +59,7 @@
    * @version 2002.10.8
    */
   public class HelloWorldJob implements Job {
  -    static Category log = Category.getInstance(HelloWorldJob.class);
  +    private static Category log = Category.getInstance(HelloWorldJob.class);
   
       /**
        * DOCUMENT ME!
  
  
  
  1.20      +2 -2      cocoon-lenya/src/java/org/apache/lenya/cms/scheduler/TaskJob.java
  
  Index: TaskJob.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/scheduler/TaskJob.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- TaskJob.java	27 May 2003 15:28:41 -0000	1.19
  +++ TaskJob.java	30 May 2003 21:01:47 -0000	1.20
  @@ -81,7 +81,7 @@
           extends ServletJob {
       public static final String TASK_ID = "id";
       public static final String TASK_PREFIX = "task";
  -    static Category log = Category.getInstance(TaskJob.class);
  +    private static Category log = Category.getInstance(TaskJob.class);
   
       protected Parameters getParameters(String servletContextPath, HttpServletRequest request)
{
           String taskId = request.getParameter(JobDataMapWrapper.getFullName(TASK_PREFIX,
TASK_ID));
  
  
  
  1.25      +3 -3      cocoon-lenya/src/java/org/apache/lenya/cms/scheduler/LoadQuartzServlet.java
  
  Index: LoadQuartzServlet.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/scheduler/LoadQuartzServlet.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- LoadQuartzServlet.java	16 May 2003 18:34:29 -0000	1.24
  +++ LoadQuartzServlet.java	30 May 2003 21:01:48 -0000	1.25
  @@ -72,7 +72,7 @@
    * @version CVS $Id$
    */
   public class LoadQuartzServlet extends HttpServlet {
  -    static Category log = Category.getInstance(LoadQuartzServlet.class);
  +    private static Category log = Category.getInstance(LoadQuartzServlet.class);
       private static SchedulerWrapper scheduler = null;
       private ServletContext servletContext;
       private String servletContextPath;
  
  
  
  1.12      +7 -3      cocoon-lenya/src/java/org/apache/lenya/cms/scheduler/xml/TriggerHelper.java
  
  Index: TriggerHelper.java
  ===================================================================
  RCS file: /home/cvs/cocoon-lenya/src/java/org/apache/lenya/cms/scheduler/xml/TriggerHelper.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- TriggerHelper.java	24 Apr 2003 13:52:59 -0000	1.11
  +++ TriggerHelper.java	30 May 2003 21:01:48 -0000	1.12
  @@ -64,8 +64,12 @@
    *
    * @author ah
    */
  -public class TriggerHelper {
  -    static Category log = Category.getInstance(TriggerHelper.class);
  +public final class TriggerHelper {
  +	
  +	private TriggerHelper() {
  +	}
  +	
  +    private static Category log = Category.getInstance(TriggerHelper.class);
       public static final String YEAR = "year";
       public static final String MONTH = "month";
       public static final String DAY = "day";
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-cvs-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-cvs-help@cocoon.apache.org


Mime
View raw message