Skip to content

Commit 2d444b9

Browse files
committed
Fix Javadoc typos. Shout-out to @sempf for spotting most of these.
1 parent 1da613b commit 2d444b9

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

src/main/java/org/owasp/esapi/Encoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
* to the W3C HTML specications)&em;the various {@code Codec} implemtations can offer
158158
* NO GUARANTEE of safety of the content being encoded or decoded. Therefore,
159159
* it is highly advised to practice a security-in-depth approach for everything you do.
160-
* By following that advise, you will minimize the impact and/or likelihood of any
160+
* By following that advice, you will minimize the impact and/or likelihood of any
161161
* vulnerabilities from bugs in the ESAPI code or accidental misuse of the ESAPI
162162
* library on your part. In particular, whenever there are cases where cients use
163163
* any of these {@link org.owasp.esapi.codecs.Codec} classes drectly, it is highly

src/main/java/org/owasp/esapi/codecs/DB2Codec.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
/**
1717
* Implementation of the Codec interface for IBM Db2 strings.
1818
* This function will only protect you from SQLi in limited situations.
19-
* To improve your changces of success, you made also need to do some
19+
* To improve your chances of success, you made also need to do some
2020
* additional canonicalization and input validation first. Before using this class,
21-
* pleaes be sure to read the "SECURITY WARNING" in
21+
* please be sure to read the "SECURITY WARNING" in
2222
* {@link org.owasp.esapi.Encoder#encodeForSQL}
23-
* before using this particular {@link org.owasp.esapi.codecs.Codec} and raising your hope of find
23+
* before using this particular {@link org.owasp.esapi.codecs.Codec} and raising your hope of finding
2424
* a silver bullet to kill all the SQLi werewolves.
2525
*
2626
* @author Sivasankar Tanakala (stanakal@TRS.NYC.NY.US)

src/main/java/org/owasp/esapi/codecs/MySQLCodec.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
/**
2121
* Codec implementation which can be used to escape string literals in MySQL.
2222
* This function will only protect you from SQLi in limited situations.
23-
* To improve your changces of success, you made also need to do some
23+
* To improve your chances of success, you made also need to do some
2424
* additional canonicalization and input validation first. Before using this class,
25-
* pleaes be sure to read the "SECURITY WARNING" in
25+
* please be sure to read the "SECURITY WARNING" in
2626
* {@link org.owasp.esapi.Encoder#encodeForSQL}
27-
* before using this particular {@link org.owasp.esapi.codecs.Codec} and raising your hope of find
27+
* before using this particular {@link org.owasp.esapi.codecs.Codec} and raising your hope of finding
2828
* a silver bullet to kill all the SQLi werewolves.
2929
* </p><p>
3030
* This implementation accepts 2 {@code org.owasp.esapi.codes.MySQLCodec.Mode}s as identified

src/main/java/org/owasp/esapi/codecs/OracleCodec.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
/**
2121
* Implementation of the {@link org.owasp.esapi.codecs.Codec} interface for Oracle DB strings.
2222
* This function will only protect you from SQLi in limited situations.
23-
* To improve your changces of success, you made also need to do some
23+
* To improve your chances of success, you made also need to do some
2424
* additional canonicalization and input validation first. Before using this class,
25-
* pleaes be sure to read the "SECURITY WARNING" in
25+
* please be sure to read the "SECURITY WARNING" in
2626
* {@link org.owasp.esapi.Encoder#encodeForSQL}
27-
* before using this particular {@link org.owasp.esapi.codecs.Codec} and raising your hope of find
27+
* before using this particular {@link org.owasp.esapi.codecs.Codec} and raising your hope of finding
2828
* a silver bullet to kill all the SQLi werewolves.
2929
*
3030
* @see <a href="http://oraqa.com/2006/03/20/how-to-escape-single-quotes-in-strings/">how-to-escape-single-quotes-in-strings</a>

0 commit comments

Comments
 (0)