Permalink
Browse files

documentation typo (#818)

* documentation typo

* changed encode to decode
  • Loading branch information...
alexanderkjall authored and davecramer committed May 1, 2017
1 parent 480b0cf commit 90f5556fd3de2395971496fc4b0b4cacd5d5d562
Showing with 2 additions and 2 deletions.
  1. +2 −2 pgjdbc/src/main/java/org/postgresql/core/Encoding.java
@@ -193,7 +193,7 @@ public String name() {
/**
* Decode an array of bytes into a string.
*
* @param encodedString a bytearray containing the encoded string the string to encod
* @param encodedString a byte array containing the string to decode
* @param offset the offset in <code>encodedString</code> of the first byte of the encoded
* representation
* @param length the length, in bytes, of the encoded representation
@@ -207,7 +207,7 @@ public String decode(byte[] encodedString, int offset, int length) throws IOExce
/**
* Decode an array of bytes into a string.
*
* @param encodedString a bytearray containing the encoded string the string to encod
* @param encodedString a byte array containing the string to decode
* @return the decoded string
* @throws IOException if something goes wrong
*/

0 comments on commit 90f5556

Please sign in to comment.