This fixes the tests failed in JDK8. FS uses java.nio API to get file attributes. The timestamps obtained from that API are more precise than the ones from java.io.File#lastModified() since Java8. This difference accidentally makes JGit detect newly added files as smudged. Use the precised timestamp to avoid this false positive. Bug: 500058 Change-Id: I9e587583c85cb6efa7562ad6c5f26577869a2e7c Signed-off-by: Masaya Suzuki <masayasuzuki@google.com> Signed-off-by: Andrey Loskutov <loskutov@gmx.de> |
7 years ago | |
---|---|---|
.. | ||
ketch | daemon: Add --ketch=LEADER flag | 8 years ago |
storage | Use FS#lastModified instead of File#lastModified | 7 years ago |
JGitText.java | Shallow fetch/clone: Make --depth mean the total history depth | 7 years ago |
package-info.java | Add Javadoc description for packages | 11 years ago |