FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fixed XML for ArrayList. · processing/processing-docs@8f0b88b · GitHub

Repository navigation

Commit 8f0b88b

Browse files
committed
Fixed XML for ArrayList.
Typo in tag name rendered it unparseable: <cdescription> => <description> Also moved the -noisy flag in processingrefBuild.sh to the last argument so it can be commented out without breaking other args.
1 parent 7f73e11 commit 8f0b88b

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎content/api_en/include/ArrayList.xml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ void setup() {
2828
void draw() {
2929
background(255);
3030
31-
// With an array, we say balls.length. With an ArrayList,
32-
// we say balls.size(). The length of an ArrayList is dynamic.
31+
// With an array, we say balls.length. With an ArrayList,
32+
// we say balls.size(). The length of an ArrayList is dynamic.
3333
// Notice how we are looping through the ArrayList backwards.
3434
// This is because we are deleting elements from the list.
35-
for (int i = balls.size()-1; i >= 0; i--) {
35+
for (int i = balls.size()-1; i >= 0; i--) {
3636
Ball ball = balls.get(i);
3737
ball.move();
3838
ball.display();
3939
if (ball.finished()) {
4040
// Items can be deleted with remove().
4141
balls.remove(i);
4242
}
43-
}
43+
}
4444
}
4545
4646
void mousePressed() {
@@ -68,7 +68,7 @@ ArrayList&amp;lt;Type&amp;gt;(<c>initialCapacity</c>)
6868

6969
<parameter>
7070
<label>Type</label>
71-
<cdescription>Class Name: the data type for the objects to be placed in the ArrayList.</description>
71+
<description>Class Name: the data type for the objects to be placed in the ArrayList.</description>
7272
</parameter>
7373

7474
<parameter>

‎java_generate/ReferenceGenerator/processingrefBuild.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ javadoc -doclet ProcessingWeblet \
2323
-corepackage processing.event \
2424
-corepackage processing.opengl \
2525
-rootclass PConstants \
26-
-noisy \
2726
../../../processing/java/libraries/net/src/processing/net/*.java \
2827
../../../processing/java/libraries/serial/src/processing/serial/*.java \
2928
../../../processing/java/libraries/video/src/processing/video/*.java \
3029
../../../processing/core/src/processing/core/*.java \
3130
../../../processing/core/src/processing/data/*.java \
3231
../../../processing/core/src/processing/event/*.java \
33-
../../../processing/core/src/processing/opengl/*.java
32+
../../../processing/core/src/processing/opengl/*.java \
33+
-noisy
3434

3535

3636
# COPY IMAGES FROM CONTENT FOLDER TO CORRECT FOLDERS

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL