We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1ce7aa commit 580e318Copy full SHA for 580e318
ice/src/main/java/com/altinity/ice/cli/internal/retry/RetryLog.java
@@ -28,8 +28,10 @@ public RetryLog(String f) throws IOException {
28
this.w = new BufferedWriter(new FileWriter(f + "~"));
29
}
30
31
+ // This method is expected to be thread-safe.
32
public void add(String fileToRetry) throws IOException {
- w.append(fileToRetry).write("\n");
33
+ //noinspection StringConcatenationInsideStringBufferAppend
34
+ w.append(fileToRetry + "\n");
35
36
37
public void commit() throws IOException {
0 commit comments