Skip to content

Commit 57f0706

Browse files
committed
ImageFileValidator: suppress warning from CheckStyle.
Should be in dafbc45 commit. No functional changes.
1 parent 737878f commit 57f0706

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/ru/mystamps/web/validation/jsr303/ImageFileValidator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public class ImageFileValidator implements ConstraintValidator<ImageFile, Multip
3434
private static final Logger LOG = LoggerFactory.getLogger(ImageFileValidator.class);
3535

3636
// see https://en.wikipedia.org/wiki/JPEG#Syntax_and_structure
37+
// CheckStyle: ignore NoWhitespaceAfterCheck for next 3 lines
3738
private static final byte[][] JPEG_SIGNATURES = {
3839
{ (byte)0xFF, (byte)0xD8, (byte)0xFF, (byte)0xE0 },
3940
{ (byte)0xFF, (byte)0xD8, (byte)0xFF, (byte)0xE1 }

0 commit comments

Comments
 (0)