incubator-nuvem-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lrese...@apache.org
Subject svn commit: r1299529 - /incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/xmpp/message/Message.java
Date Mon, 12 Mar 2012 02:34:47 GMT
Author: lresende
Date: Mon Mar 12 02:34:46 2012
New Revision: 1299529

URL: http://svn.apache.org/viewvc?rev=1299529&view=rev
Log:
Minor formatting

Modified:
    incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/xmpp/message/Message.java

Modified: incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/xmpp/message/Message.java
URL: http://svn.apache.org/viewvc/incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/xmpp/message/Message.java?rev=1299529&r1=1299528&r2=1299529&view=diff
==============================================================================
--- incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/xmpp/message/Message.java
(original)
+++ incubator/nuvem/trunk/nuvem-api/src/main/java/org/apache/nuvem/cloud/xmpp/message/Message.java
Mon Mar 12 02:34:46 2012
@@ -36,11 +36,11 @@ import org.apache.nuvem.cloud.xmpp.JID;
 public final class Message implements Serializable {
 
     /**
-	 * serial id.
-	 */
-	private static final long serialVersionUID = -4166419962507943317L;
+     * serial id.
+     */
+    private static final long serialVersionUID = -4166419962507943317L;
 
-	/**
+    /**
      * to be used instead of null.
      */
     public static final Message EMPTY_MESSAGE = new Message(PayLoad.EMPTY, JID.UNKNOWN, JID.UNKNOWN);
@@ -140,10 +140,12 @@ public final class Message implements Se
      * equals.
      */
     public boolean equals(Object o) {
-        if (this == o)
+        if (this == o) {
             return true;
-        if (!(o instanceof Message))
+        }
+        if (!(o instanceof Message)) {
             return false;
+        }
 
         final Message message = (Message)o;
 



Mime
View raw message