Skip to content

Commit 2b21fca

Browse files
committed
Image: declare inner class after fields.
Reported by PMD. No functional changes.
1 parent 830867f commit 2b21fca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/ru/mystamps/web/entity/Image.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@
3737
@Setter
3838
public class Image {
3939

40-
public enum Type {
41-
JPEG, PNG
42-
}
43-
4440
public static final int MAX_TYPE_LENGTH = 4;
4541

4642
@Id
@@ -55,4 +51,8 @@ public enum Type {
5551
@Basic(optional = false, fetch = FetchType.LAZY)
5652
private byte[] image;
5753

54+
public enum Type {
55+
JPEG, PNG
56+
}
57+
5858
}

0 commit comments

Comments
 (0)