diff --git a/Copyright.txt b/Copyright.txt index 2b0c56fe..8f25e3a2 100644 --- a/Copyright.txt +++ b/Copyright.txt @@ -1,5 +1,5 @@ // Copyright.txt -This computer source code is Copyright ©2016 MindView LLC +This computer source code is Copyright ©2016 MindView LLC All Rights Reserved. Permission to use, copy, modify, and distribute this diff --git a/assertions/Assert1.java b/assertions/Assert1.java index 303bd172..894bb19b 100644 --- a/assertions/Assert1.java +++ b/assertions/Assert1.java @@ -4,7 +4,7 @@ // Visit http://mindviewinc.com/Books/OnJava/ for more book information. // Non-informative style of assert // Must run with -ea: -// {JVMArgs: -ea} +// {JVMArgs: -ea} // {ThrowsException} public class Assert1 { diff --git a/collectionsindepth/MapPerformance.java b/collectionsindepth/MapPerformance.java index 77d86bce..1e26a728 100644 --- a/collectionsindepth/MapPerformance.java +++ b/collectionsindepth/MapPerformance.java @@ -4,7 +4,7 @@ // Visit http://mindviewinc.com/Books/OnJava/ for more book information. // Demonstrates performance differences in Maps // Small to keep build testing short: -// {Args: 100 5000} +// {Args: 100 5000} import java.util.*; public class MapPerformance { diff --git a/serialization/APerson.java b/serialization/APerson.java index 930b5a4a..0815a9bb 100644 --- a/serialization/APerson.java +++ b/serialization/APerson.java @@ -3,8 +3,7 @@ // We make no guarantees that this code is fit for any purpose. // Visit http://mindviewinc.com/Books/OnJava/ for more book information. // Use the XOM library to write and read XML -// {Requires: nu.xom.Node; You must install -// the XOM library from http://www.xom.nu } +// You must install nu.xom.Node from http://www.xom.nu import nu.xom.*; import java.io.*; import java.util.*; diff --git a/serialization/People.java b/serialization/People.java index 5a7a7fa1..1211603e 100644 --- a/serialization/People.java +++ b/serialization/People.java @@ -2,8 +2,7 @@ // (c)2016 MindView LLC: see Copyright.txt // We make no guarantees that this code is fit for any purpose. // Visit http://mindviewinc.com/Books/OnJava/ for more book information. -// {Requires: nu.xom.Node; You must install -// the XOM library from http://www.xom.nu } +// You must install nu.xom.Node from http://www.xom.nu // {RunFirst: APerson} import nu.xom.*; import java.io.File; diff --git a/strings/TestRegularExpression.java b/strings/TestRegularExpression.java index c1b5e14e..28257b7a 100644 --- a/strings/TestRegularExpression.java +++ b/strings/TestRegularExpression.java @@ -3,7 +3,7 @@ // We make no guarantees that this code is fit for any purpose. // Visit http://mindviewinc.com/Books/OnJava/ for more book information. // Simple regular expression demonstration -// {Args: abcabcabcdefabc "abc+" "(abc)+" "(abc){2,}" } +// {Args: abcabcabcdefabc "abc+" "(abc)+" } import java.util.regex.*; public class TestRegularExpression {