incubator-hise-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r.@apache.org
Subject svn commit: r1001323 - in /incubator/hise/trunk: hise-services/src/main/java/org/apache/hise/dao/ hise-services/src/main/java/org/apache/hise/engine/ hise-services/src/main/java/org/apache/hise/engine/jaxws/ hise-services/src/main/java/org/apache/hise/...
Date Sat, 25 Sep 2010 22:09:37 GMT
Author: rr
Date: Sat Sep 25 22:09:36 2010
New Revision: 1001323

URL: http://svn.apache.org/viewvc?rev=1001323&view=rev
Log:
HISE-91: logging to non-static loggers (Thanks to Akhilesh Singh)

Modified:
    incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/dao/HISEDao.java
    incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/dao/Message.java
    incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/HISEEngineImpl.java
    incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/jaxws/TaskOperationsBaseImpl.java
    incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/store/DataBaseInitializer.java
    incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/lang/TaskDefinition.java
    incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/DeadlineController.java
    incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/TaskEvaluator.java
    incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/TaskLifecycle.java
    incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/utils/XQueryEvaluator.java
    incubator/hise/trunk/hise-services/src/test/java/org/apache/hise/TaskXmlUtilsTest.java
    incubator/hise/trunk/hise-test-example-osgi/src/main/java/org/apache/hise/test/TestingManagment.java

Modified: incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/dao/HISEDao.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/dao/HISEDao.java?rev=1001323&r1=1001322&r2=1001323&view=diff
==============================================================================
--- incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/dao/HISEDao.java (original)
+++ incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/dao/HISEDao.java Sat
Sep 25 22:09:36 2010
@@ -44,7 +44,7 @@ import org.springframework.orm.jpa.suppo
  */
 public class HISEDao extends JpaDaoSupport {
 
-    private static final Log log = LogFactory.getLog(HISEDao.class);
+    private final Log log = LogFactory.getLog(HISEDao.class);
 
     public List<TaskHistoryMessage> getHistoryMessages(final String language) {
     	return (List<TaskHistoryMessage>) getJpaTemplate().executeFind(new JpaCallback()
{

Modified: incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/dao/Message.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/dao/Message.java?rev=1001323&r1=1001322&r2=1001323&view=diff
==============================================================================
--- incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/dao/Message.java (original)
+++ incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/dao/Message.java Sat
Sep 25 22:09:36 2010
@@ -41,7 +41,7 @@ import org.apache.commons.logging.LogFac
 @Table(name = "HISE_MESSAGE")
 public class Message extends JpaBase {
     
-    private static final Log log = LogFactory.getLog(Message.class);
+    private final Log log = LogFactory.getLog(Message.class);
     
     @Id
     @GeneratedValue

Modified: incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/HISEEngineImpl.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/HISEEngineImpl.java?rev=1001323&r1=1001322&r2=1001323&view=diff
==============================================================================
--- incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/HISEEngineImpl.java
(original)
+++ incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/HISEEngineImpl.java
Sat Sep 25 22:09:36 2010
@@ -47,8 +47,8 @@ import org.apache.hise.api.PeopleQueryPr
 import org.apache.hise.api.PeopleQueryProvider.QueryRecord;
 
 public class HISEEngineImpl implements HISEEngine {
-
-    private static Log log = LogFactory.getLog(HISEEngineImpl.class);
+   
+    private static final Log log = LogFactory.getLog(HISEEngineImpl.class);
     
     public final Map<String, QName> tasksMap = new HashMap<String, QName>();
     public final Map<QName, TaskInfo> tasks = new HashMap<QName, TaskInfo>();

Modified: incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/jaxws/TaskOperationsBaseImpl.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/jaxws/TaskOperationsBaseImpl.java?rev=1001323&r1=1001322&r2=1001323&view=diff
==============================================================================
--- incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/jaxws/TaskOperationsBaseImpl.java
(original)
+++ incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/jaxws/TaskOperationsBaseImpl.java
Sat Sep 25 22:09:36 2010
@@ -172,7 +172,7 @@ import org.w3c.dom.Node;
 @WebService
 public abstract class TaskOperationsBaseImpl implements TaskOperations {
     
-    private static final Log log = LogFactory.getLog(TaskOperationsBaseImpl.class);
+    private final Log log = LogFactory.getLog(TaskOperationsBaseImpl.class);
 
     private HISEEngineImpl hiseEngine;
 

Modified: incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/store/DataBaseInitializer.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/store/DataBaseInitializer.java?rev=1001323&r1=1001322&r2=1001323&view=diff
==============================================================================
--- incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/store/DataBaseInitializer.java
(original)
+++ incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/engine/store/DataBaseInitializer.java
Sat Sep 25 22:09:36 2010
@@ -32,7 +32,7 @@ import org.springframework.transaction.s
 
 public class DataBaseInitializer {
 	
-	private static Log __log = LogFactory.getLog(DataBaseInitializer.class);
+	private final Log __log = LogFactory.getLog(DataBaseInitializer.class);
 
     private PlatformTransactionManager transactionManager;
     private HISEEngine hiseEngine;

Modified: incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/lang/TaskDefinition.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/lang/TaskDefinition.java?rev=1001323&r1=1001322&r2=1001323&view=diff
==============================================================================
--- incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/lang/TaskDefinition.java
(original)
+++ incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/lang/TaskDefinition.java
Sat Sep 25 22:09:36 2010
@@ -58,7 +58,7 @@ import org.w3c.dom.Node;
  */
 public class TaskDefinition {
 
-    private static final Log log = LogFactory.getLog(TaskDefinition.class);
+    private final Log log = LogFactory.getLog(TaskDefinition.class);
 
     private final TTask tTask;
 

Modified: incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/DeadlineController.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/DeadlineController.java?rev=1001323&r1=1001322&r2=1001323&view=diff
==============================================================================
--- incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/DeadlineController.java
(original)
+++ incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/DeadlineController.java
Sat Sep 25 22:09:36 2010
@@ -42,7 +42,7 @@ import org.w3c.dom.Node;
 
 public class DeadlineController implements TaskStateListener {
 
-    private static Log __log = LogFactory.getLog(DeadlineController.class);
+    private final Log __log = LogFactory.getLog(DeadlineController.class);
     
     private Task task;
 

Modified: incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/TaskEvaluator.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/TaskEvaluator.java?rev=1001323&r1=1001322&r2=1001323&view=diff
==============================================================================
--- incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/TaskEvaluator.java
(original)
+++ incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/TaskEvaluator.java
Sat Sep 25 22:09:36 2010
@@ -41,7 +41,7 @@ import org.apache.xmlbeans.XmlException;
 
 public class TaskEvaluator {
 
-    private Log __log = LogFactory.getLog(TaskEvaluator.class);
+    private final Log __log = LogFactory.getLog(TaskEvaluator.class);
     private Task task;
 
     public TaskEvaluator(Task task) {

Modified: incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/TaskLifecycle.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/TaskLifecycle.java?rev=1001323&r1=1001322&r2=1001323&view=diff
==============================================================================
--- incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/TaskLifecycle.java
(original)
+++ incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/runtime/TaskLifecycle.java
Sat Sep 25 22:09:36 2010
@@ -26,7 +26,7 @@ import org.apache.hise.dao.Task.Status;
 
 public class TaskLifecycle implements TaskStateListener {
     
-    private static Log __log = LogFactory.getLog(TaskLifecycle.class);
+    private final Log __log = LogFactory.getLog(TaskLifecycle.class);
 
     private Task task;
     

Modified: incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/utils/XQueryEvaluator.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/utils/XQueryEvaluator.java?rev=1001323&r1=1001322&r2=1001323&view=diff
==============================================================================
--- incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/utils/XQueryEvaluator.java
(original)
+++ incubator/hise/trunk/hise-services/src/main/java/org/apache/hise/utils/XQueryEvaluator.java
Sat Sep 25 22:09:36 2010
@@ -54,11 +54,11 @@ import org.w3c.dom.Node;
 
 /**
  *
- * @author Rafał Rusin
+ * @author Rafal Rusin
  */
 public class XQueryEvaluator {
 
-    private Log __log = LogFactory.getLog(XQueryEvaluator.class);
+    private final Log __log = LogFactory.getLog(XQueryEvaluator.class);
 
     public static ThreadLocal<Object> contextObjectTL = new ThreadLocal<Object>()
;
 

Modified: incubator/hise/trunk/hise-services/src/test/java/org/apache/hise/TaskXmlUtilsTest.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-services/src/test/java/org/apache/hise/TaskXmlUtilsTest.java?rev=1001323&r1=1001322&r2=1001323&view=diff
==============================================================================
--- incubator/hise/trunk/hise-services/src/test/java/org/apache/hise/TaskXmlUtilsTest.java
(original)
+++ incubator/hise/trunk/hise-services/src/test/java/org/apache/hise/TaskXmlUtilsTest.java
Sat Sep 25 22:09:36 2010
@@ -42,15 +42,15 @@ import org.w3c.dom.Node;
 
 @Ignore
 public class TaskXmlUtilsTest {
-    private static Log __log = LogFactory.getLog(TaskXmlUtilsTest.class);
+    private final Log __log = LogFactory.getLog(TaskXmlUtilsTest.class);
 
 //    @Test
 //    public void testEvaluateXPath() {
 //        
-//        String xmlRequest = "<enterOrder xmlns:sch='http://www.hise/hise/schema' orderNumber='O26195'
caseNumber='C81794' caseType='1' suggestedOwner='1' submitter='1' source='1' issueDate='1'
priority='1' note='Niesłychanie pilne. Proszę się pośpieszyć.'>" +
+//        String xmlRequest = "<enterOrder xmlns:sch='http://www.hise/hise/schema' orderNumber='O26195'
caseNumber='C81794' caseType='1' suggestedOwner='1' submitter='1' source='1' issueDate='1'
priority='1' note='Nies?ychanie pilne. Prosz? si? po?pieszy?.'>" +
 //                            "    <sch:correctiveInvoice customerId='1' customerCode='KLIENT_27959'
correctedInvoiceNumber='1' correctionAmount='353.78' issueReason='1'>" +
-//                            "        <sch:correctiveInvoiceItem name='Usługi telekomunikacyjne.'
newNetValue='424.68' newVat='93.4296' newVatRate='22'/>" +
-//                            "        <sch:correctiveInvoiceItem name='Usługi telekomunikacyjne.'
newNetValue='1' newVat='0.22' newVatRate='22'/>" +
+//                            "        <sch:correctiveInvoiceItem name='Us?ugi telekomunikacyjne.'
newNetValue='424.68' newVat='93.4296' newVatRate='22'/>" +
+//                            "        <sch:correctiveInvoiceItem name='Us?ugi telekomunikacyjne.'
newNetValue='1' newVat='0.22' newVatRate='22'/>" +
 //                            "    </sch:correctiveInvoice>" +
 //                            "</enterOrder>";
 //

Modified: incubator/hise/trunk/hise-test-example-osgi/src/main/java/org/apache/hise/test/TestingManagment.java
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-test-example-osgi/src/main/java/org/apache/hise/test/TestingManagment.java?rev=1001323&r1=1001322&r2=1001323&view=diff
==============================================================================
--- incubator/hise/trunk/hise-test-example-osgi/src/main/java/org/apache/hise/test/TestingManagment.java
(original)
+++ incubator/hise/trunk/hise-test-example-osgi/src/main/java/org/apache/hise/test/TestingManagment.java
Sat Sep 25 22:09:36 2010
@@ -33,7 +33,7 @@ import org.w3c.dom.Node;
 
 public class TestingManagment implements Sender {
 
-	 private Log __log = LogFactory.getLog(TestingManagment.class);
+	 private final Log __log = LogFactory.getLog(TestingManagment.class);
 	
 	Management management;
 	



Mime
View raw message