Skip to content

Commit

Permalink
jenkinsci#185 Multiply with longs - satisfy spotbugs
Browse files Browse the repository at this point in the history
  • Loading branch information
tszmytka committed Jul 19, 2020
1 parent 8f7f5e3 commit c96b716
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public void injectShortlogAction(File logFile, int injectionFromEnd, ActionNote
BufferedInputStream inputStream = new BufferedInputStream(new FileInputStream(logFile));
FileOutputStream outputStream = new FileOutputStream(logTmp);
) {
final long injectionPoint = logFile.length() - injectionFromEnd * 1024;
final long injectionPoint = logFile.length() - injectionFromEnd * 1024L;
final byte[] buf = new byte[BUFFER_SIZE];
int read;
int totalRead = 0;
Expand Down

0 comments on commit c96b716

Please sign in to comment.