- StringBuilder build = new StringBuilder();
-
-
- build.append("Generated file");
- build.append("\n");
- build.append("\n");
- build.append("Generated from: ");
- //build.append(header.toString());
-
- build.append("yang module name: ");
- build.append(header.getYangModuleName());
- build.append(" yang module local name: ");
- build.append(header.getYangModuleLocalName());
-
- build.append("\n");
- build.append("Generated by: " + GENERATOR_CLASS);
- build.append("\n");
- build.append("Generated at: " + new Date());
- build.append("\n");
- build.append("\n");
- build.append("Do not modify this file unless it is present under src/main directory ");
-
- return build.toString();
+ return "Generated file" + "\n" +
+ "\n" +
+ "Generated from: " +
+ "yang module name: " + header.getYangModuleName() +
+ " yang module local name: " + header.getYangModuleLocalName() + "\n" +
+ "Generated by: " + GENERATOR_CLASS + "\n" +
+ "Generated at: " + new Date() + "\n" +
+ "\n" +
+ "Do not modify this file unless it is present under src/main directory ";