classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: Grammar fixes in javax.management.Attribute


From: Meskauskas Audrius
Subject: [cp-patches] FYI: Grammar fixes in javax.management.Attribute
Date: Mon, 09 Jan 2006 22:10:45 +0100
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

2006-01-09  Audrius Meskauskas  <address@hidden>

* javax.management.Attribute.java: Grammar and formatting fixes.
Index: javax/management/Attribute.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/management/Attribute.java,v
retrieving revision 1.1
diff -u -r1.1 Attribute.java
--- javax/management/Attribute.java     9 Jan 2006 17:33:56 -0000       1.1
+++ javax/management/Attribute.java     9 Jan 2006 21:09:52 -0000
@@ -40,7 +40,7 @@
 import java.io.Serializable;
 
 /**
- * Represents an MBean attribute, having the name and the assined value. The
+ * Represents an MBean attribute, having the name and the assigned value. The
  * MBean objects use this class to get and set attributes values.
  * 
  * @since 1.5
@@ -129,8 +129,8 @@
    */
   public int hashCode()
   {
-    int n = m_name==null?0:m_name.hashCode();
-    int v = m_value==null?0:m_value.hashCode();
+    int n = m_name == null ? 0 : m_name.hashCode();
+    int v = m_value == null ? 0 : m_value.hashCode();
     
     return n ^ v;
   }

reply via email to

[Prev in Thread] Current Thread [Next in Thread]