Permalink
Browse files

JavaDoc and Override annotation.

  • Loading branch information...
1 parent 340574c commit b454a416c1fbc151c756ab8bd6ba073ab78a67fc @buckett buckett committed Mar 20, 2013
@@ -7,10 +7,15 @@
/**
* Sorting for Portal Nodes.
* Effectively sorts the nodes but titles if present and then by the path.
- * @author Matthew Buckett
*
+ * @author Matthew Buckett
*/
public class PortalNodeComparator implements Comparator<PortalNode> {
+
+ /**
+ * {@inheritDoc}
+ */
+ @Override
public int compare(PortalNode node1, PortalNode node2) {
String title1 = node1.getTitle();
String title2 = node2.getTitle();

0 comments on commit b454a41

Please sign in to comment.