From: Roland Häder <roland@mxchange.org>
Date: Mon, 26 Jun 2017 21:04:19 +0000 (+0200)
Subject: renamed parameter as this is no email-specific queue JNDI name ;-)
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0c3815bd0bfbc86dd8f0c0f9ece6356bef0c385a;p=jcore-utils.git

renamed parameter as this is no email-specific queue JNDI name ;-)

Signed-off-by: Roland Häder <roland@mxchange.org>
---

diff --git a/src/org/mxchange/jcoreee/bean/BaseBean.java b/src/org/mxchange/jcoreee/bean/BaseBean.java
index a28b41e..ef7f11d 100644
--- a/src/org/mxchange/jcoreee/bean/BaseBean.java
+++ b/src/org/mxchange/jcoreee/bean/BaseBean.java
@@ -95,12 +95,12 @@ public abstract class BaseBean implements Serializable {
 	}
 
 	/**
-	 * Constructor with queue factory JNDI and email-queue JNDI names
+	 * Constructor with queue factory JNDI and queue JNDI names
 	 * <p>
 	 * @param factoryJndi    JNDI name for queue factory
-	 * @param emailQueueJndi JNDI name for email queue
+	 * @param queueJndi JNDI name for email queue
 	 */
-	protected BaseBean (final String factoryJndi, final String emailQueueJndi) {
+	protected BaseBean (final String factoryJndi, final String queueJndi) {
 		// Call default constructor
 		this();
 
@@ -113,7 +113,7 @@ public abstract class BaseBean implements Serializable {
 			QueueConnectionFactory connectionFactory = (QueueConnectionFactory) context.lookup(factoryJndi); //NOI18N
 
 			// Lookup queue
-			this.queue = (Queue) context.lookup(emailQueueJndi); //NOI18N
+			this.queue = (Queue) context.lookup(queueJndi); //NOI18N
 
 			// Create connection
 			this.connection = connectionFactory.createConnection();
diff --git a/src/org/mxchange/jcoreee/database/BaseDatabaseBean.java b/src/org/mxchange/jcoreee/database/BaseDatabaseBean.java
index c6dab1a..69d3b9b 100644
--- a/src/org/mxchange/jcoreee/database/BaseDatabaseBean.java
+++ b/src/org/mxchange/jcoreee/database/BaseDatabaseBean.java
@@ -49,14 +49,14 @@ public abstract class BaseDatabaseBean extends BaseBean {
 	}
 
 	/**
-	 * Constructor with queue factory JNDI and email-queue JNDI names
+	 * Constructor with queue factory JNDI and queue JNDI names
 	 * <p>
 	 * @param factoryJndi    JNDI name for queue factory
-	 * @param emailQueueJndi JNDI name for email queue
+	 * @param queueJndi JNDI name for email queue
 	 */
-	protected BaseDatabaseBean (final String factoryJndi, final String emailQueueJndi) {
+	protected BaseDatabaseBean (final String factoryJndi, final String queueJndi) {
 		// Call super constructor
-		super(factoryJndi, emailQueueJndi);
+		super(factoryJndi, queueJndi);
 	}
 
 	/**