Long cannot be converted to int code example
Example: java long to integer
// auto-unboxing does not go from Long to int directly, so
Integer i = (int) (long) theLong;
// auto-unboxing does not go from Long to int directly, so
Integer i = (int) (long) theLong;