Make fields private where possible
This commit is contained in:
@@ -26,7 +26,7 @@ import org.hamcrest.TypeSafeMatcher;
|
||||
*/
|
||||
public class ByteArrayStartsWith extends TypeSafeMatcher<byte[]> {
|
||||
|
||||
private byte[] bytes;
|
||||
private final byte[] bytes;
|
||||
|
||||
public ByteArrayStartsWith(byte[] bytes) {
|
||||
this.bytes = bytes;
|
||||
|
||||
Reference in New Issue
Block a user