Break after messages because it does not make sense to go through other fixes at this time

This commit is contained in:
Simon Pamies
2014-01-31 17:14:00 +01:00
parent 238b34b435
commit 736cde2026
@@ -146,6 +146,7 @@ public class IgtimiWindReceiver implements BulkFixReceiver {
notifyListeners(wind, aws.getSensor().getDeviceSerialNumber());
} else {
logger.info("Not enough information to build a Wind fix out of data provided. AWS received but most probably HDG or HDGM not received (yet) - check your compass.");
break;
}
} catch (ClassNotFoundException | IOException | ParseException e) {
logger.log(Level.INFO, "Exception while trying to construct Wind fix from Igtimi fix " + aws, e);