Skip to content

Commit

Permalink
Modifying the order of elements in new unit dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianromero committed Aug 2, 2019
1 parent abeb067 commit 45d86dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/adr/helloiot/TopicInfoBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ public class TopicInfoBuilder {
private Map<String, TopicInfoFactory> factories = new LinkedHashMap<>();

public static final TopicInfoBuilder INSTANCE = new TopicInfoBuilder();

private TopicInfoBuilder() {
put(new TopicInfoFactoryView());
put(new TopicInfoFactoryEdit());
put(new TopicInfoFactorySend());
put(new TopicInfoFactoryGauge());
put(new TopicInfoFactorySwitch());
put(new TopicInfoFactoryMessagesPublish());
put(new TopicInfoFactoryMessagesSubscribe());
put(new TopicInfoFactoryCode());
put(new TopicInfoFactoryGauge());
}

private void put(TopicInfoFactory factory) {
factories.put(factory.getType(), factory);
}
Expand Down

0 comments on commit 45d86dc

Please sign in to comment.