Skip to content

Commit

Permalink
Part of fix for eclipse-paho#43
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilfb committed Mar 24, 2018
1 parent f222f44 commit c108bdd
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ public boolean removeFormatter(final FormatterDetails formatter)
{
for (final ConfiguredMqttConnectionDetails connectionDetails : getConnections())
{
// To avoid NPE below
if (connectionDetails.getFormatter() == null)
{
continue;
Expand Down

0 comments on commit c108bdd

Please sign in to comment.