diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/SystemReader.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/SystemReader.java index 595691573..3afd9e567 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/SystemReader.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/SystemReader.java @@ -121,15 +121,6 @@ public abstract class SystemReader { public int getTimezone(long when) { return getTimeZone().getOffset(when) / (60 * 1000); } - - public TimeZone getTimeZone() { - return TimeZone.getDefault(); - } - - @Override - public Locale getLocale() { - return Locale.getDefault(); - } }; /** @return the live instance to read system properties. */ @@ -200,11 +191,17 @@ public abstract class SystemReader { /** * @return system time zone, possibly mocked for testing + * @since 1.2 */ - public abstract TimeZone getTimeZone(); + public TimeZone getTimeZone() { + return TimeZone.getDefault(); + } /** * @return the locale to use + * @since 1.2 */ - public abstract Locale getLocale(); + public Locale getLocale() { + return Locale.getDefault(); + } }