diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2011-10-09 18:43:16 +0200 |
---|---|---|
committer | Robin Rosenberg <robin.rosenberg@dewire.com> | 2011-10-20 23:49:52 +0200 |
commit | 3a4fa527231622c7e0703ea45474fc09343ae93e (patch) | |
tree | 1477d3314a6a67fbab2c765f89bd5145034d50ef /org.eclipse.jgit.junit/src | |
parent | 06b183f9b7f902d3e81bea9aa909a044f76d79fb (diff) | |
download | jgit-3a4fa527231622c7e0703ea45474fc09343ae93e.tar.gz jgit-3a4fa527231622c7e0703ea45474fc09343ae93e.zip |
Add locale to the properties manageable by SystemReader
Change-Id: I5e9af40d38bb671cb9fcdb0fa3b4eb3af5f36f6c
Diffstat (limited to 'org.eclipse.jgit.junit/src')
-rw-r--r-- | org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/MockSystemReader.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/MockSystemReader.java b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/MockSystemReader.java index 3daaea90c5..b9bc25857a 100644 --- a/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/MockSystemReader.java +++ b/org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/MockSystemReader.java @@ -48,6 +48,7 @@ package org.eclipse.jgit.junit; import java.io.File; import java.io.IOException; import java.util.HashMap; +import java.util.Locale; import java.util.Map; import java.util.TimeZone; @@ -144,4 +145,9 @@ public class MockSystemReader extends SystemReader { public TimeZone getTimeZone() { return TimeZone.getTimeZone("GMT-03:30"); } + + @Override + public Locale getLocale() { + return Locale.US; + } } |