Skip to content
Permalink
Browse files

static constants

  • Loading branch information...
bobjacobsen committed Mar 19, 2019
1 parent cdf00dc commit e095fe4afca6c5db59b877d9606dab2762b44ea0
Showing with 2 additions and 2 deletions.
  1. +2 −2 java/src/jmri/jmrix/mqtt/MqttTurnout.java
@@ -22,8 +22,8 @@ public void setParser(MqttContentParser<Turnout> parser) {
}

MqttContentParser<Turnout> parser = new MqttContentParser<Turnout>() {
private final String closedText = "CLOSED";
private final String thrownText = "THROWN";
private final static String closedText = "CLOSED";
private final static String thrownText = "THROWN";
@Override
public void beanFromPayload(@Nonnull Turnout bean, @Nonnull String payload, @Nonnull String topic) {
switch (payload) {

0 comments on commit e095fe4

Please sign in to comment.
You can’t perform that action at this time.