LPS-46230 source formatting

Trim is unnecessary for all `merge()` methods that accept numbers array, like `merge(int[])`, since string value of numbers has no extra spaces. The trim was left only for `merge(Object[],` method, that accepts array of objects. This way I haven't change the original functionality.