Skip to content

Commit afdb3ff

Browse files
committed
more typos; version 6.1.5
1 parent 441bcd9 commit afdb3ff

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

em.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
"""Search for \em in exercise (theorem) environments; these will be typeset as
2-
normal font in HTML versions."""
1+
"""Search for \em in exercise (theorem) environments; these should be typeset
2+
with a normal font in HTML versions."""
33

44
def main():
55
num = 0

thinkjava.tex

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
\newcommand{\thetitle}{Think Java}
77
\newcommand{\thesubtitle}{How to Think Like a Computer Scientist}
88
\newcommand{\theauthors}{Allen B. Downey and Chris Mayfield}
9-
\newcommand{\theversion}{6.1.4}
9+
\newcommand{\theversion}{6.1.5}
1010

1111
%%%% Both LATEX and PLASTEX
1212

@@ -383,7 +383,7 @@ \section*{Contributors over the years}
383383
We are especially grateful to our technical reviewers: Blythe Samuels, David Wisneski, and Stephen Rose.
384384
They found errors, made many great suggestions, and helped make the book much better.
385385

386-
Additional contributors who found one or more typos: Stijn Debrouwere, Guy Driesen, Andai Velican, Chris Kuszmaul, Daniel Kurikesu, Josh Donath, Rens Findhammer, Elisa Abedrapo, Yousef BaAfif, Bruce Hill, Matt Underwood, Isaac Sultan, Dan Rice, Robert Beard, Daniel Pierce, Michael Giftthaler, Min Zeng, and Markus Geuss.
386+
Additional contributors who found one or more typos: Stijn Debrouwere, Guy Driesen, Andai Velican, Chris Kuszmaul, Daniel Kurikesu, Josh Donath, Rens Findhammer, Elisa Abedrapo, Yousef BaAfif, Bruce Hill, Matt Underwood, Isaac Sultan, Dan Rice, Robert Beard, Daniel Pierce, Michael Giftthaler, Chris Fox, Min Zeng, and Markus Geuss.
387387

388388
If you have additional comments or ideas about the text, please send them to: \href{mailto:feedback@greenteapress.com}{\tt feedback@greenteapress.com}.
389389

@@ -6878,8 +6878,8 @@ \section{Characters}
68786878
Java uses {\bf Unicode} to represent characters, so strings can store text in other alphabets like Cyrillic and Greek, and non-alphabetic languages like Chinese.
68796879
You can read more about it at \url{http://unicode.org/}.
68806880

6881-
In Unicode, each character is represented by a ``code unit'', which you can think of as an integer.
6882-
The code units for uppercase Greek letters run from 913 to 937, so we can display the Greek alphabet like this:
6881+
In Unicode, each character is represented by a ``code point'', which you can think of as an integer.
6882+
The code points for uppercase Greek letters run from 913 to 937, so we can display the Greek alphabet like this:
68836883

68846884
\begin{code}
68856885
System.out.print("Greek alphabet: ");
@@ -8601,7 +8601,7 @@ \section{Getters and setters}
86018601
return this.minute;
86028602
}
86038603

8604-
public int getSecond() {
8604+
public double getSecond() {
86058605
return this.second;
86068606
}
86078607
\end{code}
@@ -8625,7 +8625,7 @@ \section{Getters and setters}
86258625
this.minute = minute;
86268626
}
86278627

8628-
public void setSecond(int second) {
8628+
public void setSecond(double second) {
86298629
this.second = second;
86308630
}
86318631
\end{code}

0 commit comments

Comments
 (0)