You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by ag...@apache.org on 2006/10/10 02:55:30 UTC

svn commit: r454577 - /incubator/roller/trunk/src/org/apache/roller/ui/core/tasks/TurnoverReferersTask.java

Author: agilliland
Date: Mon Oct  9 17:55:29 2006
New Revision: 454577

URL: http://svn.apache.org/viewvc?view=rev&rev=454577
Log:
code reformatting.


Modified:
    incubator/roller/trunk/src/org/apache/roller/ui/core/tasks/TurnoverReferersTask.java

Modified: incubator/roller/trunk/src/org/apache/roller/ui/core/tasks/TurnoverReferersTask.java
URL: http://svn.apache.org/viewvc/incubator/roller/trunk/src/org/apache/roller/ui/core/tasks/TurnoverReferersTask.java?view=diff&rev=454577&r1=454576&r2=454577
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/ui/core/tasks/TurnoverReferersTask.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/ui/core/tasks/TurnoverReferersTask.java Mon Oct  9 17:55:29 2006
@@ -1,23 +1,21 @@
 /*
-* Licensed to the Apache Software Foundation (ASF) under one or more
-*  contributor license agreements.  The ASF licenses this file to You
-* under the Apache License, Version 2.0 (the "License"); you may not
-* use this file except in compliance with the License.
-* You may obtain a copy of the License at
-*
-*     http://www.apache.org/licenses/LICENSE-2.0
-*
-* Unless required by applicable law or agreed to in writing, software
-* distributed under the License is distributed on an "AS IS" BASIS,
-* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-* See the License for the specific language governing permissions and
-* limitations under the License.  For additional information regarding
-* copyright in this work, please see the NOTICE file in the top level
-* directory of this distribution.
-*/
-/*
- * Created on Aug 16, 2003
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ *  contributor license agreements.  The ASF licenses this file to You
+ * under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.  For additional information regarding
+ * copyright in this work, please see the NOTICE file in the top level
+ * directory of this distribution.
  */
+
 package org.apache.roller.ui.core.tasks;
 
 import java.util.TimerTask;
@@ -32,8 +30,6 @@
 
 /**
  * Reset referer counts.
- *
- * @author Allen Gilliland
  */
 public class TurnoverReferersTask extends TimerTask implements ScheduledTask {
     
@@ -60,15 +56,15 @@
             roller.getRefererManager().clearReferrers();
             roller.flush();
             roller.release();
-            mLogger.info("task completed");   
+            mLogger.info("task completed");
             
         } catch (RollerException e) {
             mLogger.error("Error while checking for referer turnover", e);
         } catch (Exception ee) {
             mLogger.error("unexpected exception", ee);
         }
-
-
+        
+        
     }
     
     
@@ -76,7 +72,7 @@
      * Main method so that this task may be run from outside the webapp.
      */
     public static void main(String[] args) throws Exception {
-        try {            
+        try {
             TurnoverReferersTask task = new TurnoverReferersTask();
             task.init(null, null);
             task.run();