Commit 86358e29 authored by ishmakov's avatar ishmakov

use Long.MAX_VALUE

parent 9869d13c
...@@ -49,7 +49,7 @@ public class XmppResultSet ...@@ -49,7 +49,7 @@ public class XmppResultSet
catch (NumberFormatException e) catch (NumberFormatException e)
{ {
if (setElement.elementText("before").isEmpty()) { if (setElement.elementText("before").isEmpty()) {
this.before = Long.valueOf(9223372036854775807L); this.before = Long.MAX_VALUE;
} }
} }
catch (Exception e) catch (Exception e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment