You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2009/04/26 07:14:37 UTC

svn commit: r768649 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/TreePath.java

Author: bommel
Date: Sun Apr 26 05:14:37 2009
New Revision: 768649

URL: http://svn.apache.org/viewvc?rev=768649&view=rev
Log:
checkstyle

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/TreePath.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/TreePath.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/TreePath.java?rev=768649&r1=768648&r2=768649&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/TreePath.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/model/TreePath.java Sun Apr 26 05:14:37 2009
@@ -88,8 +88,12 @@
 
   @Override
   public boolean equals(Object o) {
-    if (this == o) return true;
-    if (o == null || getClass() != o.getClass()) return false;
+    if (this == o) {
+      return true;
+    }
+    if (o == null || getClass() != o.getClass()) {
+      return false;
+    }
     TreePath nodeIndex = (TreePath) o;
     return Arrays.equals(path, nodeIndex.path);