Skip to content

Commit 4633593

Browse files
author
Scott Murray
committed
Fixes processing#185, adds missing parens to ArrayList example
1 parent 6fa034e commit 4633593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/api_en/include/ArrayList.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
1818
// Declaring the ArrayList, note the use of the syntax "<Particle>" to indicate
1919
// our intention to fill this ArrayList with Particle objects
20-
ArrayList<Particle> particles = new ArrayList<Particle>;
20+
ArrayList<Particle> particles = new ArrayList<Particle>();
2121
2222
// Objects can be added to an ArrayList with add()
2323
particles.add(new Particle());

0 commit comments

Comments
 (0)