Skip to content

Commit db0c598

Browse files
committed
reorder the fields
1 parent b0f6924 commit db0c598

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/ru/mystamps/web/controller/interceptor/DownloadImageInterceptor.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,17 @@
4343
@RequiredArgsConstructor
4444
public class DownloadImageInterceptor extends HandlerInterceptorAdapter {
4545

46+
private static final Logger LOG = LoggerFactory.getLogger(DownloadImageInterceptor.class);
47+
4648
/**
4749
* Field name that contains image URL.
4850
*/
49-
public static final String URL_PARAMETER_NAME = "imageUrl";
51+
public static final String URL_PARAMETER_NAME = "imageUrl";
5052

5153
/**
5254
* Field name to which downloaded image will be bound.
5355
*/
54-
public static final String IMAGE_FIELD_NAME = "downloadedImage";
56+
public static final String IMAGE_FIELD_NAME = "downloadedImage";
5557

5658
/**
5759
* Name of request attribute, that will be used for storing an error code.
@@ -62,8 +64,6 @@ public class DownloadImageInterceptor extends HandlerInterceptorAdapter {
6264
*/
6365
public static final String ERROR_CODE_ATTR_NAME = "DownloadedImage.ErrorCode";
6466

65-
private static final Logger LOG = LoggerFactory.getLogger(DownloadImageInterceptor.class);
66-
6767
private final DownloaderService downloaderService;
6868

6969
@Override

0 commit comments

Comments
 (0)