Incorrect result of compareTo between empty and non-empty strings

Current implementation of the Strings.compareTo() handles the case when
empty string compares to non-empty string in the wrong way.

This patch adds handler for such cases.

Change-Id: I35cc2cfd5141551d6da65748c44b59e64a3f8117
Signed-off-by: Alexei Zavjalov <alexei.zavjalov@intel.com>
2 files changed