Skip to content

Commit

Permalink
Bug 1292468 - Incorrect string comparison r=sebastian
Browse files Browse the repository at this point in the history
MozReview-Commit-ID: G69dq8EFM5U
  • Loading branch information
sylvestre committed Aug 5, 2016
1 parent 777fad0 commit 91e2964
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public synchronized boolean isDirEmpty() {

/* Pass filename returned from dataToSend() */
public synchronized boolean delete(String filename) {
if (filename == MEMORY_BUFFER_NAME) {
if (filename.equals(MEMORY_BUFFER_NAME)) {
mCurrentReportsSendBuffer = null;
return true;
}
Expand Down

0 comments on commit 91e2964

Please sign in to comment.