-
- Downloads
SystemReader#now: make it a concrete method
Abstract methods break subclasses (e.g. DelegateSystemReader in gerrit). Updating jgit and gerrit is simpler if we do not add them. I am not sure why some methods are abstract and others dont, but now() can be a concrete method. Make now() concrete. Implement it by default based on getCurrentTime(), so subclasses overriding that method get the same value. Change-Id: I697749f8cba698c5388ed13ebdc2b238d6259358
Showing
- org.eclipse.jgit.junit/src/org/eclipse/jgit/junit/MockSystemReader.java 0 additions, 6 deletions...it.junit/src/org/eclipse/jgit/junit/MockSystemReader.java
- org.eclipse.jgit/src/org/eclipse/jgit/util/SystemReader.java 5 additions, 1 deletionorg.eclipse.jgit/src/org/eclipse/jgit/util/SystemReader.java
Loading
Please register or sign in to comment