Skip to content

Commit

Permalink
Fix a bunch of typos (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 authored and sduskis committed May 26, 2019
1 parent 1954575 commit c4f29bc
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public boolean stopAfterEndTag(String namespace, String localName) {
/**
* Parses an XML element using the given XML pull parser into the given destination object.
*
* <p>Requires the the current event be {@link XmlPullParser#START_TAG} (skipping any initial
* <p>Requires the current event be {@link XmlPullParser#START_TAG} (skipping any initial
* {@link XmlPullParser#START_DOCUMENT}) of the element being parsed. At normal parsing
* completion, the current event will either be {@link XmlPullParser#END_TAG} of the element being
* parsed, or the {@link XmlPullParser#START_TAG} of the requested {@code atom:entry}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ private void computeAliases(Object element, SortedSet<String> aliases) {
* @return namespace URI, using a predictable made-up namespace URI if the namespace alias is not
* recognized
* @throws IllegalArgumentException if the namespace alias is not recognized and {@code
* errorOnUnkown} is {@code true}
* errorOnUnknown} is {@code true}
*/
String getNamespaceUriForAliasHandlingUnknown(boolean errorOnUnknown, String alias) {
String result = getUriForAlias(alias);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ public interface HttpEncoding {
* Encodes the streaming content into the output stream.
*
* <p>Implementations must not close the output stream, and instead should flush the output
* stream. Some callers may assume that the the output stream has not been closed, and will fail
* to work if it has been closed.
* stream. Some callers may assume that the output stream has not been closed, and will fail to
* work if it has been closed.
*
* @param content streaming content
* @param out output stream
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ LowLevelHttpResponse execute(final OutputWriter outputWriter) throws IOException
} catch (IOException e) {
// If we've gotten a response back, continue on and try to parse the response. Otherwise,
// re-throw the IOException
if (!hasReponse(connection)) {
if (!hasResponse(connection)) {
throw e;
}
} finally {
Expand Down Expand Up @@ -151,7 +151,7 @@ LowLevelHttpResponse execute(final OutputWriter outputWriter) throws IOException
}
}

private boolean hasReponse(HttpURLConnection connection) {
private boolean hasResponse(HttpURLConnection connection) {
try {
return connection.getResponseCode() > 0;
} catch (IOException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
*
* // uses data key name of "some_other_name"
* &#64;Key("some_other_name")
* private String dataKeyNameIsOverriden;
* private String dataKeyNameIsOverridden;
*
* // not a data key
* private String notADataKey;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public interface StreamingContent {
* Writes the byte content to the given output stream.
*
* <p>Implementations must not close the output stream, and instead should flush the output
* stream. Some callers may assume that the the output stream has not been closed, and will fail
* to work if it has been closed.
* stream. Some callers may assume that the output stream has not been closed, and will fail to
* work if it has been closed.
*
* @param out output stream
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class StringUtils {
* @param string the String to encode, may be <code>null</code>
* @return encoded bytes, or <code>null</code> if the input string was <code>null</code>
* @throws IllegalStateException Thrown when the charset is missing, which should be never
* according the the Java specification.
* according the Java specification.
* @see <a href="http://download.oracle.com/javase/7/docs/api/java/nio/charset/Charset.html"
* >Standard charsets</a>
* @since 1.8
Expand Down

0 comments on commit c4f29bc

Please sign in to comment.