Skip to content

Commit c9838c0

Browse files
committed
Fixes for Validate.py
1 parent 4b7adc6 commit c9838c0

18 files changed

Lines changed: 48 additions & 47 deletions

File tree

annotations/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<jrun cls="annotations.Multiplier" dirpath="../annotations" />
1818
<jrun cls="annotations.StackLStringTest" dirpath="../annotations" />
1919
<jrun cls="UseCaseTracker" />
20-
<jrun cls="annotations.database.TableCreator" dirpath="../annotations/database" arguments='annotations.database.Member' />
20+
<jrun cls="annotations.database.TableCreator" dirpath="../annotations/database" arguments="annotations.database.Member" />
2121
</target>
2222

2323
</project>

concurrency/ExceptionThread.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//: concurrency/ExceptionThread.java
2+
// {RunByHand}
23
// {ThrowsException}
34
import java.util.concurrent.*;
45

concurrency/NaiveExceptionHandling.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
//: concurrency/NaiveExceptionHandling.java
2+
// {RunByHand}
23
// {ThrowsException}
34
import java.util.concurrent.*;
45

concurrency/build.xml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<jrun cls="AtomicIntegerTest" />
1212
<jrun cls="AtomicityTest" />
1313
<jrun cls="AttemptLocking" />
14-
<jrun cls="BankTellerSimulation" arguments='5' />
14+
<jrun cls="BankTellerSimulation" arguments="5" />
1515
<jrun cls="BasicThreads" />
1616
<jrun cls="CachedThreadPool" />
1717
<jrun cls="CallableDemo" />
@@ -23,28 +23,26 @@
2323
<jrun cls="DaemonFromFactory" />
2424
<jrun cls="Daemons" />
2525
<jrun cls="DaemonsDontRunFinally" />
26-
<jrun cls="DeadlockingDiningPhilosophers" arguments='0 5 timeout' />
26+
<jrun cls="DeadlockingDiningPhilosophers" arguments="0 5 timeout" />
2727
<jrun cls="DelayQueueDemo" />
2828
<jrun cls="EvenGenerator" />
29-
<jrun cls="ExceptionThread" failOnError='false' msg='* Exception was Expected *' />
3029
<jrun cls="ExchangerDemo" />
3130
<jrun cls="concurrency.ExplicitCriticalSection" dirpath="../concurrency" failOnError='false' msg='* Exception was Expected *' />
3231
<jrun cls="FastSimulation" />
33-
<jrun cls="FixedDiningPhilosophers" arguments='5 5 timeout' />
32+
<jrun cls="FixedDiningPhilosophers" arguments="5 5 timeout" />
3433
<jrun cls="FixedThreadPool" />
35-
<jrun cls="GreenhouseScheduler" arguments='5000' />
34+
<jrun cls="GreenhouseScheduler" arguments="5000" />
3635
<jrun cls="HorseRace" />
3736
<jrun cls="Interrupting" />
3837
<jrun cls="Interrupting2" />
39-
<jrun cls="InterruptingIdiom" arguments='1100' />
38+
<jrun cls="InterruptingIdiom" arguments="1100" />
4039
<jrun cls="Joining" />
41-
<jrun cls="ListComparisons" arguments='1 10 10' />
40+
<jrun cls="ListComparisons" arguments="1 10 10" />
4241
<jrun cls="MainThread" />
43-
<jrun cls="MapComparisons" arguments='1 10 10' />
42+
<jrun cls="MapComparisons" arguments="1 10 10" />
4443
<jrun cls="MoreBasicThreads" />
4544
<jrun cls="MultiLock" />
4645
<jrun cls="MutexEvenGenerator" failOnError='false' timeOut='4000' msg='* Timeout for Testing *' />
47-
<jrun cls="NaiveExceptionHandling" failOnError='false' msg='* Exception was Expected *' />
4846
<jrun cls="NIOInterruption" />
4947
<jrun cls="NotifyVsNotifyAll" />
5048
<jrun cls="OrnamentalGarden" />
@@ -55,7 +53,7 @@
5553
<jrun cls="Restaurant" />
5654
<jrun cls="SelfManaged" />
5755
<jrun cls="SemaphoreDemo" />
58-
<jrun cls="SerialNumberChecker" arguments='4' />
56+
<jrun cls="SerialNumberChecker" arguments="4" />
5957
<jrun cls="SettingDefaultHandler" failOnError='false' timeOut='4000' msg='* Timeout for Testing *' />
6058
<jrun cls="SimpleDaemons" />
6159
<jrun cls="SimpleMicroBenchmark" />
@@ -70,7 +68,7 @@
7068
<jrun cls="ThreadLocalVariableHolder" />
7169
<jrun cls="ThreadVariations" />
7270
<jrun cls="ToastOMatic" />
73-
<jrun cls="concurrency.restaurant2.RestaurantWithQueues" dirpath="../concurrency/restaurant2" arguments='5' />
71+
<jrun cls="concurrency.restaurant2.RestaurantWithQueues" dirpath="../concurrency/restaurant2" arguments="5" />
7472
<jrun cls="concurrency.waxomatic.WaxOMatic" dirpath="../concurrency/waxomatic" />
7573
<jrun cls="concurrency.waxomatic2.WaxOMatic2" dirpath="../concurrency/waxomatic2" />
7674
</target>

containers/build.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@
1919
<jrun cls="FillingLists" />
2020
<jrun cls="IndividualTest" />
2121
<jrun cls="LinkedHashMapDemo" />
22-
<jrun cls="ListPerformance" arguments='100 500' />
22+
<jrun cls="ListPerformance" arguments="100 500" />
2323
<jrun cls="Lists" />
2424
<jrun cls="ListSortSearch" />
2525
<jrun cls="MapDataTest" />
26-
<jrun cls="MapPerformance" arguments='100 5000' />
26+
<jrun cls="MapPerformance" arguments="100 5000" />
2727
<jrun cls="Maps" />
2828
<jrun cls="QueueBehavior" />
29-
<jrun cls="RandomBounds" arguments='lower' failOnError='false' timeOut='4000' msg='* Timeout for Testing *' />
29+
<jrun cls="RandomBounds" arguments="lower" failOnError='false' timeOut='4000' msg='* Timeout for Testing *' />
3030
<jrun cls="ReadOnly" />
3131
<jrun cls="References" />
32-
<jrun cls="SetPerformance" arguments='100 5000' />
32+
<jrun cls="SetPerformance" arguments="100 5000" />
3333
<jrun cls="SimpleHashMap" />
3434
<jrun cls="SlowMap" />
3535
<jrun cls="SortedMapDemo" />

gui/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<jrun cls="InterruptableLongRunningTask" failOnError='false' timeOut='4000' msg='* Timeout for Testing *' />
2929
<jrun cls="List" failOnError='false' timeOut='4000' msg='* Timeout for Testing *' />
3030
<jrun cls="LongRunningTask" failOnError='false' timeOut='4000' msg='* Timeout for Testing *' />
31-
<jrun cls="LookAndFeel" arguments='motif' failOnError='false' timeOut='4000' msg='* Timeout for Testing *' />
31+
<jrun cls="LookAndFeel" arguments="motif" failOnError='false' timeOut='4000' msg='* Timeout for Testing *' />
3232
<jrun cls="Menus" failOnError='false' timeOut='4000' msg='* Timeout for Testing *' />
3333
<jrun cls="MessageBoxes" failOnError='false' timeOut='4000' msg='* Timeout for Testing *' />
3434
<jrun cls="MonitoredLongRunningCallable" failOnError='false' timeOut='4000' msg='* Timeout for Testing *' />

innerclasses/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<jrun cls="DotThis" />
1616
<jrun cls="Factories" />
1717
<jrun cls="Games" />
18-
<jrun cls="GreenhouseController" arguments='5000' />
18+
<jrun cls="GreenhouseController" arguments="5000" />
1919
<jrun cls="InheritInner" />
2020
<jrun cls="LambdaExpressions" />
2121
<jrun cls="LocalInnerClass" />

io/DirList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//: io/DirList.java
22
// Display a directory listing using regular expressions.
3-
// {Args: "D.*\.java"}
3+
// {Args: 'D.*\.java'}
44
import java.util.regex.*;
55
import java.io.*;
66
import java.util.*;

io/DirList2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//: io/DirList2.java
22
// Uses anonymous inner classes.
3-
// {Args: "D.*\.java"}
3+
// {Args: 'D.*\.java'}
44
import java.util.regex.*;
55
import java.io.*;
66
import java.util.*;

io/DirList3.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//: io/DirList3.java
22
// Building the anonymous inner class "in-place."
3-
// {Args: "D.*\.java"}
3+
// {Args: 'D.*\.java'}
44
import java.util.regex.*;
55
import java.io.*;
66
import java.util.*;

0 commit comments

Comments
 (0)