Skip to content

Commit

Permalink
Fix checkstyle warnings by providing javadoc in BytesFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickfav committed Jan 12, 2019
1 parent 536a5aa commit e2f90c5
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/main/java/at/favre/lib/bytes/BytesFactory.java
Expand Up @@ -31,13 +31,26 @@ public interface BytesFactory {
/**
* Create an instance with given array and order
*
* @param array to directly us
* @param array to directly use
* @param byteOrder the array is in
* @return a new instance
*/
Bytes wrap(byte[] array, ByteOrder byteOrder);

/**
* Create an instance with given other instance and new array
*
* @param other of the copy source
* @param array to directly use
* @return a new instance
*/
Bytes wrap(Bytes other, byte[] array);

/**
* Create an instance with given other instance
*
* @param other of the copy source
* @return a new instance
*/
Bytes wrap(Bytes other);
}

0 comments on commit e2f90c5

Please sign in to comment.