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:
Kevin W. Sutter 2011-03-22 18:46:49 +00:00
parent 056e9d8720
commit 8464dc4d1d
1 changed files with 1 additions and 1 deletions

View File

@ -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 &&