Skip to content

Commit 7dbdb16

Browse files
committed
ensure no NullPointerException
1 parent 0d67f5c commit 7dbdb16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/main/java/com/dynatrace/file/util/PollBasedFilePoller.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ private synchronized void poll() {
7373
// | !null | null | update (no file before) |
7474
// | !null | !null | update if changed |
7575
if (latestChecksumValue != null) {
76-
if (!prevChecksumValue.equals(latestChecksumValue)) {
76+
if (!latestChecksumValue.equals(prevChecksumValue)) {
7777
changedSinceLastInquiry.set(true);
7878
}
7979
prevChecksumValue = latestChecksumValue;

0 commit comments

Comments
 (0)