Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Counters are now properly treated as longs #185
So Jackson/vertx/us is doing something fishy with long -> int conversions. It is rather annoying that get_count can return int or long depending on the size. However this patch allows us to treat coutners as long, maybe as a follow on we can come up with a way for them to always return a long. For now the client simply has to be aware that if the counter < Integer.Max_value intravert will return an integer.