Fix TestRegularExpression

This commit is contained in:
Bruce Eckel 2016-07-14 12:32:20 -06:00
parent b21359ea19
commit 6c93ba2268
6 changed files with 6 additions and 8 deletions

View File

@ -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

View File

@ -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 {

View File

@ -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 {

View File

@ -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.*;

View File

@ -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;

View File

@ -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 {