diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2024-04-28 22:41:46 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2024-04-29 15:05:23 +0200 |
commit | 964498e0a5059fc62417f4d09074b56b42b148be (patch) | |
tree | b5e7be9f32c3dd5700f95e79de7ac30f5709e4c8 /org.eclipse.jgit.http.server | |
parent | d8cb554f25925f3ea2d66815fdaa59efa1867ae3 (diff) | |
download | jgit-964498e0a5059fc62417f4d09074b56b42b148be.tar.gz jgit-964498e0a5059fc62417f4d09074b56b42b148be.zip |
[errorprone] Fix error pattern JdkObsolete
See https://errorprone.info/bugpattern/JdkObsolete
Change-Id: Id105e2695eb64523bd217f507bf95f909bc6b348
Diffstat (limited to 'org.eclipse.jgit.http.server')
-rw-r--r-- | org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitFilter.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitFilter.java b/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitFilter.java index 2f3eee41d6..703c0be8d9 100644 --- a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitFilter.java +++ b/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/GitFilter.java @@ -12,7 +12,7 @@ package org.eclipse.jgit.http.server; import java.io.File; import java.text.MessageFormat; -import java.util.LinkedList; +import java.util.ArrayList; import java.util.List; import javax.servlet.Filter; @@ -65,9 +65,9 @@ public class GitFilter extends MetaFilter { private ReceivePackErrorHandler receivePackErrorHandler; - private final List<Filter> uploadPackFilters = new LinkedList<>(); + private final List<Filter> uploadPackFilters = new ArrayList<>(); - private final List<Filter> receivePackFilters = new LinkedList<>(); + private final List<Filter> receivePackFilters = new ArrayList<>(); /** * New servlet that will load its base directory from {@code web.xml}. |