Cleaned up javadoc

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

Branch: refs/heads/master
Commit: d26c634f62fa792deecc37c545c9c1bf14ff3050
Parents: d3a9fee
Author: Claude Warren <cla...@apache.org>
Authored: Sat Oct 15 14:26:31 2016 +0100
Committer: Claude Warren <cla...@apache.org>
Committed: Sat Oct 15 14:26:31 2016 +0100

----------------------------------------------------------------------
 .../querybuilder/handlers/SolutionModifierHandler.java | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/d26c634f/jena-extras/jena-querybuilder/src/main/java/org/apache/jena/arq/querybuilder/handlers/SolutionModifierHandler.java
----------------------------------------------------------------------
diff --git 
a/jena-extras/jena-querybuilder/src/main/java/org/apache/jena/arq/querybuilder/handlers/SolutionModifierHandler.java
 
b/jena-extras/jena-querybuilder/src/main/java/org/apache/jena/arq/querybuilder/handlers/SolutionModifierHandler.java
index f99c7e7..7544825 100644
--- 
a/jena-extras/jena-querybuilder/src/main/java/org/apache/jena/arq/querybuilder/handlers/SolutionModifierHandler.java
+++ 
b/jena-extras/jena-querybuilder/src/main/java/org/apache/jena/arq/querybuilder/handlers/SolutionModifierHandler.java
@@ -74,15 +74,21 @@ public class SolutionModifierHandler implements Handler {
        public void addOrderBy(SortCondition condition) {
                query.addOrderBy(condition);
        }
-
+       
        /**
         * Add an expression to the order by clause.
+        * Sorts in Default order.
         * @param expr The expression to add.
         */
        public void addOrderBy(Expr expr) {
                query.addOrderBy(expr, Query.ORDER_DEFAULT);
        }
 
+       /**
+        * Add an expression to the order by clause.
+        * @param expr The expression to add.
+        * @param order The direction of the ordering. 
+        */
        public void addOrderBy(Expr expr, Order order) {
                query.addOrderBy(expr, order == Order.ASCENDING ? 
Query.ORDER_ASCENDING
                                : Query.ORDER_DESCENDING);
@@ -90,7 +96,8 @@ public class SolutionModifierHandler implements Handler {
 
        /**
         * Add a var to the order by clause.
-        * @param var
+        * Sorts in default order
+        * @param var The var to use for sorting
         */
        public void addOrderBy(Var var) {
                query.addOrderBy(var, Query.ORDER_DEFAULT);
@@ -98,7 +105,7 @@ public class SolutionModifierHandler implements Handler {
 
        /**
         * Add a var to the order by clause.
-        * @param var The var to add
+        * @param var The var to sort by.
         * @param order The direction of the ordering. 
         */
        public void addOrderBy(Var var, Order order) {

Reply via email to