We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 767de83 commit b5ef0c7Copy full SHA for b5ef0c7
src/main/java/net/sf/jabref/net/Cookie.java
@@ -28,8 +28,11 @@ class Cookie {
28
private Date expires;
29
private String path;
30
31
+ /**
32
+ * DateFormats should not be reused among instances (or rather among threads), because they are not thread-safe.
33
+ * If they are shared, their usage should be synchronized.
34
+ */
35
private final DateFormat expiresFormat1 = new SimpleDateFormat("E, dd MMM yyyy k:m:s 'GMT'", Locale.US);
-
36
private final DateFormat expiresFormat2 = new SimpleDateFormat("E, dd-MMM-yyyy k:m:s 'GMT'", Locale.US);
37
38
0 commit comments