Commit 0093a2b6 authored by Georg Vinogradov's avatar Georg Vinogradov

Minor adjustments

parent 9a4fbf49
Pipeline #155387 passed with stages
in 1 minute and 9 seconds
......@@ -28,7 +28,7 @@ public class GeneratorMqtt
model.addPorts(ports);
//Generate files and write to project
String content = MqttTemplates.generateRosAdapter(model);
String content = MqttTemplates.generateMqttAdapter(model);
File file = new File("./target/generated-sources/ports.txt");
files.add(file);
......@@ -40,7 +40,7 @@ public class GeneratorMqtt
} catch (IOException e) {
e.printStackTrace();
}finally{
//close resources
//Close resources
try {
fr.close();
} catch (IOException e) {
......
......@@ -32,7 +32,7 @@ public class MqttTemplates {
}
}
public static String generateRosAdapter(MqttAdapterModel model) {
public static String generateMqttAdapter(MqttAdapterModel model) {
HashMap<String, Object> data = new HashMap<>();
data.put("model", model);
return generate(PrettyPrint, data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment