mirror of https://github.com/apache/openjpa.git
Another minor comment update in the ImageValidator sample...
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1084294 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
056e9d8720
commit
8464dc4d1d
|
@ -58,7 +58,7 @@ public class ImageValidator implements ConstraintValidator<ImageConstraint, Imag
|
||||||
String fileName = value.getFileName();
|
String fileName = value.getFileName();
|
||||||
ImageType type = value.getType();
|
ImageType type = value.getType();
|
||||||
|
|
||||||
// Verify the GIF type is correct5, has the correct extension and
|
// Verify the GIF type is correct, has the correct extension and
|
||||||
// the data header is either GIF87 or GIF89
|
// the data header is either GIF87 or GIF89
|
||||||
if (allowedTypes.contains(ImageType.GIF) &&
|
if (allowedTypes.contains(ImageType.GIF) &&
|
||||||
type == ImageType.GIF &&
|
type == ImageType.GIF &&
|
||||||
|
|
Loading…
Reference in New Issue