aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse/jgit/util/SystemReader.java
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/util/SystemReader.java')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/util/SystemReader.java9
1 files changed, 3 insertions, 6 deletions
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 7150e471bc..18b0e152c9 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/util/SystemReader.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/SystemReader.java
@@ -178,11 +178,6 @@ public abstract class SystemReader {
public int getTimezone(long when) {
return getTimeZone().getOffset(when) / (60 * 1000);
}
-
- @Override
- public ZoneOffset getTimeZoneAt(Instant when) {
- return getTimeZoneId().getRules().getOffset(when);
- }
}
/**
@@ -569,7 +564,9 @@ public abstract class SystemReader {
* @return the local time zone
* @since 7.1
*/
- public abstract ZoneOffset getTimeZoneAt(Instant when);
+ public ZoneOffset getTimeZoneAt(Instant when) {
+ return getTimeZoneId().getRules().getOffset(when);
+ }
/**
* Get system time zone, possibly mocked for testing