Fix an obvious bug in AbstractLimitHandler
This commit is contained in:
parent
3545de74ea
commit
bb8ceaea1d
|
@ -226,11 +226,11 @@ public abstract class AbstractLimitHandler implements LimitHandler {
|
|||
*
|
||||
* @param selection The row selection options
|
||||
*
|
||||
* @return Whether a first row limit in indicated
|
||||
* @return Whether a first row limit was indicated
|
||||
*/
|
||||
public static boolean hasFirstRow(RowSelection selection) {
|
||||
return selection != null
|
||||
&& selection.getFirstRow() == null
|
||||
&& selection.getFirstRow() != null
|
||||
&& selection.getFirstRow() > 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue