8162353: javadoc should provide a way to disable use of frames

Reviewed-by: bpatel, ksrini
This commit is contained in:
Jonathan Gibbons 2016-08-15 18:00:36 -07:00
parent 66ff418a4b
commit 9208c82732
14 changed files with 667 additions and 55 deletions

View file

@ -165,7 +165,7 @@ public class ModuleBuilder {
if (!comment.isEmpty()) {
sb.append("/**\n").append(comment.replace("\n", " *")).append(" */\n");
}
sb.append("module ").append(name).append(" {");
sb.append("module ").append(name).append(" {\n");
requires.forEach(r -> sb.append(" " + r + "\n"));
exports.forEach(e -> sb.append(" " + e + "\n"));
uses.forEach(u -> sb.append(" " + u + "\n"));