]> source.dussan.org Git - jgit.git/commit
[spotbugs] parse time using thread-safe DateTimeFormatter 85/172985/4
authorMatthias Sohn <matthias.sohn@sap.com>
Sun, 29 Nov 2020 20:43:51 +0000 (21:43 +0100)
committerChristian Halstrick <christian.halstrick@sap.com>
Thu, 17 Dec 2020 16:18:11 +0000 (17:18 +0100)
commitf29668f7a089443a0b35adb98b432e24e86d48b1
tree60147700902a50c4e1db9c34573f1e671b27be4d
parent5b16f32de06aa59dbfdc6b0a49b0423ab408f99d
[spotbugs]  parse time using thread-safe DateTimeFormatter

LfsConnectionFactory used a static SimpleDateFormat which isn't
thread-safe. Use DateTimeFormatter instead to fix this.

Change-Id: Id580251c999e1e412c269f37b29860d310124c89
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/internal/LfsConnectionFactory.java