Fix NLS to build under Java 5
commit24875de6bd864fa7082e1c96bf8aebe9950c3e54
authorShawn O. Pearce <spearce@spearce.org>
Fri, 12 Mar 2010 18:26:06 +0000 (12 10:26 -0800)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 12 Mar 2010 18:26:06 +0000 (12 10:26 -0800)
tree458533c92b11a2ed96c11109393dd0c4437adb52
parent2ae9a85045915a38af2c300aa1874304fd8ea17b
Fix NLS to build under Java 5

The tests were using a Locale.ROOT constant which was introduced
in Java 6.  However, we need to retain Java 5 support.

Change-Id: I75c5648fcfc728a9aea2e839d2ad0320f5cf742f
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
CC: Sasa Zivkov <sasa.zivkov@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/nls/TestNLS.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/nls/TestTranslationBundle.java
org.eclipse.jgit/src/org/eclipse/jgit/nls/NLS.java