diff --git a/check.bat b/check.bat index 25446ee4..c250560b 100644 --- a/check.bat +++ b/check.bat @@ -1,2 +1,2 @@ cp ..\..\OnJava-Tools\verify_output.py . -py -3 verify_output.py +python verify_output.py diff --git a/objects/Documentation1.java b/javadoc/Documentation1.java similarity index 90% rename from objects/Documentation1.java rename to javadoc/Documentation1.java index 42d7bfb9..906df8dd 100644 --- a/objects/Documentation1.java +++ b/javadoc/Documentation1.java @@ -1,4 +1,4 @@ -// objects/Documentation1.java +// javadoc/Documentation1.java // (c)2017 MindView LLC: see Copyright.txt // We make no guarantees that this code is fit for any purpose. // Visit http://OnJava8.com for more book information. diff --git a/objects/Documentation2.java b/javadoc/Documentation2.java similarity index 89% rename from objects/Documentation2.java rename to javadoc/Documentation2.java index db857a29..a1959472 100644 --- a/objects/Documentation2.java +++ b/javadoc/Documentation2.java @@ -1,4 +1,4 @@ -// objects/Documentation2.java +// javadoc/Documentation2.java // (c)2017 MindView LLC: see Copyright.txt // We make no guarantees that this code is fit for any purpose. // Visit http://OnJava8.com for more book information. diff --git a/objects/Documentation3.java b/javadoc/Documentation3.java similarity index 90% rename from objects/Documentation3.java rename to javadoc/Documentation3.java index 582b8346..34f62ac3 100644 --- a/objects/Documentation3.java +++ b/javadoc/Documentation3.java @@ -1,4 +1,4 @@ -// objects/Documentation3.java +// javadoc/Documentation3.java // (c)2017 MindView LLC: see Copyright.txt // We make no guarantees that this code is fit for any purpose. // Visit http://OnJava8.com for more book information. diff --git a/objects/HelloDateDoc.java b/javadoc/HelloDateDoc.java similarity index 95% rename from objects/HelloDateDoc.java rename to javadoc/HelloDateDoc.java index 93f326dd..8aef609b 100644 --- a/objects/HelloDateDoc.java +++ b/javadoc/HelloDateDoc.java @@ -1,4 +1,4 @@ -// objects/HelloDateDoc.java +// javadoc/HelloDateDoc.java // (c)2017 MindView LLC: see Copyright.txt // We make no guarantees that this code is fit for any purpose. // Visit http://OnJava8.com for more book information. diff --git a/onjava/HTMLColors.java b/onjava/HTMLColors.java index c595e8b4..f960d23a 100644 --- a/onjava/HTMLColors.java +++ b/onjava/HTMLColors.java @@ -189,7 +189,7 @@ public class HTMLColors { public static void show(Map.Entry e) { System.out.format( - "0x%06X: %s\n", e.getKey(), e.getValue()); + "0x%06X: %s%n", e.getKey(), e.getValue()); } public static void show(Map m, int count) {