goxr3plus / XR3Player

🎧 🎼 The MOST ADVANCED JavaFX Media Player
https://xr3player.netlify.com/
GNU Lesser General Public License v3.0
725 stars 176 forks source link

Update DropboxService.java #63

Closed HelgeStenstrom closed 4 years ago

HelgeStenstrom commented 4 years ago

In the call of listAllFiles on line 400, the value "recursive" is always true. The code is more clear if the constant true is used instead of the value.

Not tested.

goxr3plus commented 4 years ago

Hm yes i see your logic there , as far as it enters it's always true :)

HelgeStenstrom commented 4 years ago

All my recent pull requests are based on an IntelliJ inspection: Constant conditions & exceptions.