Skip to content

Commit

Permalink
Update the internal fork of Commons Codec to r1757174. Code formattin…
Browse files Browse the repository at this point in the history
…g changes only.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc8.5.x/trunk@1757176 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
markt-asf committed Aug 22, 2016
1 parent 313cfec commit 011cf1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions java/org/apache/tomcat/util/codec/binary/BaseNCodec.java
Original file line number Diff line number Diff line change
Expand Up @@ -477,9 +477,9 @@ public byte[] encode(final byte[] pArray, int offset, int length) {
* <code>false</code>, otherwise
*/
public boolean isInAlphabet(final byte[] arrayOctet, final boolean allowWSPad) {
for (int i = 0; i < arrayOctet.length; i++) {
if (!isInAlphabet(arrayOctet[i]) &&
(!allowWSPad || (arrayOctet[i] != pad) && !isWhiteSpace(arrayOctet[i]))) {
for (byte octet : arrayOctet) {
if (!isInAlphabet(octet) &&
(!allowWSPad || (octet != pad) && !isWhiteSpace(octet))) {
return false;
}
}
Expand Down
4 changes: 4 additions & 0 deletions webapps/docs/changelog.xml
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,10 @@
Update the internal fork of Commons DBCP2 to r1757164 to pick up a
couple of bug fixes. (markt)
</update>
<update>
Update the internal fork of Commons Codec to r1757174. Code formatting
changes only. (markt)
</update>
</changelog>
</subsection>
</section>
Expand Down

0 comments on commit 011cf1e

Please sign in to comment.