Only propagate on ConvertToString when there's changes.

This commit is contained in:
kenkeiras 2018-01-26 02:14:00 +01:00
parent 67348d9e03
commit 4f2721fb90

View File

@ -233,9 +233,11 @@ public class ConvertToString implements Part {
encoded = value.toString();
}
_lastValue = encoded;
if (!_lastValue.equals(encoded)) {
_lastValue = encoded;
_stringOutputConnector.send(new StringSignal(encoded));
_stringOutputConnector.send(new StringSignal(encoded));
}
}
@Override