Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
noursaidi committed May 26, 2022
1 parent 333c8fe commit 585a862
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pubber/src/main/java/daq/pubber/Configuration.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package daq.pubber;

import java.util.HashMap;

/**
* General bucket of pubber configuration information.
*/
Expand Down
4 changes: 2 additions & 2 deletions pubber/src/main/java/daq/pubber/Pubber.java
Original file line number Diff line number Diff line change
Expand Up @@ -361,12 +361,12 @@ private void initializeDevice() {
// Pubber runtime options
devicePoints.extraField = configuration.options.get("extra_field");

if (configuration.options.get("extra_point") != null ) {
if (configuration.options.get("extra_point") != null) {
addPoint(makePoint(configuration.options.get("extra_point"),
makePointPointsetModel(true, 50, 50, "Celsius")));
}

if (configuration.options.get("no_hardware") != null ) {
if (configuration.options.get("no_hardware") != null) {
deviceState.system.hardware = null;
}

Expand Down

0 comments on commit 585a862

Please sign in to comment.