You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ta...@apache.org on 2014/09/26 22:39:28 UTC

[1/3] git commit: Couple little code format cleanups.

Repository: qpid-jms
Updated Branches:
  refs/heads/master ae9f689a2 -> fd7b3b20c


Couple little code format cleanups.

Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/9f1e75bb
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/9f1e75bb
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/9f1e75bb

Branch: refs/heads/master
Commit: 9f1e75bb8746dda75994e65181a751df30c6fc09
Parents: ae9f689
Author: Timothy Bish <ta...@gmail.com>
Authored: Fri Sep 26 16:33:13 2014 -0400
Committer: Timothy Bish <ta...@gmail.com>
Committed: Fri Sep 26 16:33:13 2014 -0400

----------------------------------------------------------------------
 .../org/apache/qpid/jms/message/JmsInboundMessageDispatch.java  | 5 ++---
 .../java/org/apache/qpid/jms/provider/amqp/AmqpConsumer.java    | 1 -
 2 files changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/9f1e75bb/qpid-jms-client/src/main/java/org/apache/qpid/jms/message/JmsInboundMessageDispatch.java
----------------------------------------------------------------------
diff --git a/qpid-jms-client/src/main/java/org/apache/qpid/jms/message/JmsInboundMessageDispatch.java b/qpid-jms-client/src/main/java/org/apache/qpid/jms/message/JmsInboundMessageDispatch.java
index 94a99b2..c8129ca 100644
--- a/qpid-jms-client/src/main/java/org/apache/qpid/jms/message/JmsInboundMessageDispatch.java
+++ b/qpid-jms-client/src/main/java/org/apache/qpid/jms/message/JmsInboundMessageDispatch.java
@@ -26,11 +26,10 @@ public class JmsInboundMessageDispatch extends JmsAbstractResourceId {
 
     private JmsConsumerId consumerId;
     private Object messageId;
-    private long sequence;
+    private final long sequence;
     private JmsMessage message;
 
-    public JmsInboundMessageDispatch(long sequence)
-    {
+    public JmsInboundMessageDispatch(long sequence) {
         this.sequence = sequence;
     }
 

http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/9f1e75bb/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpConsumer.java
----------------------------------------------------------------------
diff --git a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpConsumer.java b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpConsumer.java
index 6906e14..790a924 100644
--- a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpConsumer.java
+++ b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/AmqpConsumer.java
@@ -359,7 +359,6 @@ public class AmqpConsumer extends AbstractAmqpResource<JmsConsumerInfo, Receiver
     protected void doClose() {
     }
 
-
     public AmqpConnection getConnection() {
         return this.session.getConnection();
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


[2/3] git commit: Correct method comments.

Posted by ta...@apache.org.
Correct method comments.

Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/e30ab41f
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/e30ab41f
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/e30ab41f

Branch: refs/heads/master
Commit: e30ab41f60da57735f7830158eeea9f6c384feb7
Parents: 9f1e75b
Author: Timothy Bish <ta...@gmail.com>
Authored: Fri Sep 26 16:34:23 2014 -0400
Committer: Timothy Bish <ta...@gmail.com>
Committed: Fri Sep 26 16:34:23 2014 -0400

----------------------------------------------------------------------
 .../qpid/jms/provider/amqp/message/AmqpObjectTypeDelegate.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/e30ab41f/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/message/AmqpObjectTypeDelegate.java
----------------------------------------------------------------------
diff --git a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/message/AmqpObjectTypeDelegate.java b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/message/AmqpObjectTypeDelegate.java
index ce95700..cec37f0 100644
--- a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/message/AmqpObjectTypeDelegate.java
+++ b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/message/AmqpObjectTypeDelegate.java
@@ -48,8 +48,8 @@ public interface AmqpObjectTypeDelegate {
     Serializable getObject() throws IOException, ClassNotFoundException;
 
     /**
-     * Signals that the message is about to be sent or dispatched to a consumer, ensure
-     * proper state of the marshaled object and message annotations prior to that.
+     * Signals that the message is about to be sent so we should ensure proper state of
+     * the marshaled object and message annotations prior to that.
      */
     void onSend();
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


[3/3] git commit: Fix spelling error in comment.

Posted by ta...@apache.org.
Fix spelling error in comment.

Project: http://git-wip-us.apache.org/repos/asf/qpid-jms/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-jms/commit/fd7b3b20
Tree: http://git-wip-us.apache.org/repos/asf/qpid-jms/tree/fd7b3b20
Diff: http://git-wip-us.apache.org/repos/asf/qpid-jms/diff/fd7b3b20

Branch: refs/heads/master
Commit: fd7b3b20cfccd65df139b392d44c791aaf6e1a3c
Parents: e30ab41
Author: Timothy Bish <ta...@gmail.com>
Authored: Fri Sep 26 16:38:45 2014 -0400
Committer: Timothy Bish <ta...@gmail.com>
Committed: Fri Sep 26 16:38:45 2014 -0400

----------------------------------------------------------------------
 .../apache/qpid/jms/provider/amqp/message/AmqpMessageSupport.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-jms/blob/fd7b3b20/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/message/AmqpMessageSupport.java
----------------------------------------------------------------------
diff --git a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/message/AmqpMessageSupport.java b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/message/AmqpMessageSupport.java
index 744eeef..70b1c57 100644
--- a/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/message/AmqpMessageSupport.java
+++ b/qpid-jms-client/src/main/java/org/apache/qpid/jms/provider/amqp/message/AmqpMessageSupport.java
@@ -209,7 +209,7 @@ public final class AmqpMessageSupport {
     /**
      * Check whether the content-type field of the properties section (if present) in
      * the given message matches the provided string (where null matches if there is
-     * no content type rpeesnt.
+     * no content type present.
      *
      * @param contentType
      *        content type string to compare against, or null if none


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org