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.
2 parents 84a26b4 + 05fe403 commit 0c915f7Copy full SHA for 0c915f7
src/main/java/com/github/vertical_blank/sqlformatter/core/Params.java
@@ -1,8 +1,8 @@
1
package com.github.vertical_blank.sqlformatter.core;
2
3
+import java.util.ArrayDeque;
4
import java.util.List;
5
import java.util.Map;
-import java.util.PriorityQueue;
6
import java.util.Queue;
7
8
/** Handles placeholder replacement with given params. */
@@ -74,7 +74,7 @@ public static class IndexedParams implements Params {
74
private final Queue<?> params;
75
76
IndexedParams(List<?> params) {
77
- this.params = new PriorityQueue<>(params);
+ this.params = new ArrayDeque<>(params);
78
}
79
80
public boolean isEmpty() {
0 commit comments