Author: sebb
Date: Sat Nov 12 17:41:55 2005
New Revision: 332873
URL: http://svn.apache.org/viewcvs?rev=332873&view=rev
Log:
log.equals -> log.error
Modified:
jakarta/jmeter/branches/rel-2-1/src/protocol/jms/org/apache/jmeter/protocol/jms/client/Publisher.java
Modified:
jakarta/jmeter/branches/rel-2-1/src/protocol/jms/org/apache/jmeter/protocol/jms/client/Publisher.java
URL:
http://svn.apache.org/viewcvs/jakarta/jmeter/branches/rel-2-1/src/protocol/jms/org/apache/jmeter/protocol/jms/client/Publisher.java?rev=332873&r1=332872&r2=332873&view=diff
==============================================================================
---
jakarta/jmeter/branches/rel-2-1/src/protocol/jms/org/apache/jmeter/protocol/jms/client/Publisher.java
(original)
+++
jakarta/jmeter/branches/rel-2-1/src/protocol/jms/org/apache/jmeter/protocol/jms/client/Publisher.java
Sat Nov 12 17:41:55 2005
@@ -1,5 +1,5 @@
/*
- * Copyright 2001-2004 The Apache Software Foundation.
+ * Copyright 2001-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -36,12 +36,10 @@
/**
* @author pete
*
- * To change the template for this generated type comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
*/
public class Publisher {
- static Logger log = LoggingManager.getLoggerForClass();
+ private static final Logger log = LoggingManager.getLoggerForClass();
private TopicConnection CONN = null;
@@ -51,9 +49,9 @@
private TopicPublisher PUBLISHER = null;
- private byte[] RESULT = null;
+ //private byte[] RESULT = null;
- private Object OBJ_RESULT = null;
+ //private Object OBJ_RESULT = null;
/**
*
@@ -65,7 +63,7 @@
if (ctx != null) {
initConnection(ctx, connfactory, topic);
} else {
- log.equals("Could not initialize JNDI Initial Context
Factory");
+ log.error("Could not initialize JNDI Initial Context
Factory");
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]