Skip to content

Commit

Permalink
Pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
BeksOmega committed Aug 31, 2020
1 parent 8493615 commit 59609dd
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
Expand Up @@ -46,7 +46,7 @@ public Integer toInt() {
private static final Map<Integer, NxtMailbox> lookup = new HashMap<>();

static {
for(NxtMailbox box : NxtMailbox.values()) {
for (NxtMailbox box : NxtMailbox.values()) {
lookup.put(box.toUnderlyingValue(), box);
}
}
Expand Down
Expand Up @@ -37,7 +37,7 @@ public Integer toUnderlyingValue() {
private static final Map<Integer, NxtMotorMode> lookup = new HashMap<>();

static {
for(NxtMotorMode mode : NxtMotorMode.values()) {
for (NxtMotorMode mode : NxtMotorMode.values()) {
lookup.put(mode.toUnderlyingValue(), mode);
}
}
Expand Down
Expand Up @@ -38,7 +38,7 @@ public Integer toUnderlyingValue() {
private static final Map<Integer, NxtRegulationMode> lookup = new HashMap<>();

static {
for(NxtRegulationMode mode : NxtRegulationMode.values()) {
for (NxtRegulationMode mode : NxtRegulationMode.values()) {
lookup.put(mode.toUnderlyingValue(), mode);
}
}
Expand Down
Expand Up @@ -37,7 +37,7 @@ public Integer toUnderlyingValue() {
private static final Map<Integer, NxtRunState> lookup = new HashMap<>();

static {
for(NxtRunState state : NxtRunState.values()) {
for (NxtRunState state : NxtRunState.values()) {
lookup.put(state.toUnderlyingValue(), state);
}
}
Expand Down
Expand Up @@ -40,7 +40,7 @@ public Integer toUnderlyingValue() {
private static final Map<Integer, NxtSensorMode> lookup = new HashMap<>();

static {
for(NxtSensorMode mode : NxtSensorMode.values()) {
for (NxtSensorMode mode : NxtSensorMode.values()) {
lookup.put(mode.toUnderlyingValue(), mode);
}
}
Expand Down
Expand Up @@ -49,7 +49,7 @@ public Integer toUnderlyingValue() {
private static final Map<Integer, NxtSensorType> lookup = new HashMap<>();

static {
for(NxtSensorType type : NxtSensorType.values()) {
for (NxtSensorType type : NxtSensorType.values()) {
lookup.put(type.toUnderlyingValue(), type);
}
}
Expand Down
Expand Up @@ -390,13 +390,13 @@ public final class ErrorMessages {
errorMessages.put(ERROR_NXT_INVALID_GENERATE_COLOR,
"The GenerateColor property is limited to None, Red, Green, or Blue.");
errorMessages.put(ERROR_NXT_INVALID_MOTOR_MODE,
"%s is an invalid NXT motor mode.");
"%d is an invalid NXT motor mode.");
errorMessages.put(ERROR_NXT_INVALID_REGULATION_MODE,
"%s is an invalid NXT motor regulation mode.");
"%d is an invalid NXT motor regulation mode.");
errorMessages.put(ERROR_NXT_INVALID_SENSOR_TYPE,
"%s is an invalid NXT sensor type.");
"%d is an invalid NXT sensor type.");
errorMessages.put(ERROR_NXT_INVALID_SENSOR_MODE,
"%s is an invalid NXT sensor mode.");
"%d is an invalid NXT sensor mode.");
// LegoMindstormsEv3 errors
errorMessages.put(ERROR_EV3_BLUETOOTH_NOT_SET,
"The Bluetooth property has not been set.");
Expand Down

0 comments on commit 59609dd

Please sign in to comment.