From 3d88881f670c4404bf8c7c984a8f484a8f69f60f Mon Sep 17 00:00:00 2001 From: lawrencehj <1934378145@qq.com> Date: 星期二, 22 六月 2021 11:33:37 +0800 Subject: [PATCH] SSE推送请求应为GET --- src/main/java/com/genersoft/iot/vmp/media/zlm/dto/StreamPushItem.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/StreamPushItem.java b/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/StreamPushItem.java index f745b2a..7a1c49b 100644 --- a/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/StreamPushItem.java +++ b/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/StreamPushItem.java @@ -87,7 +87,7 @@ @Override public int compareTo(@NotNull StreamPushItem streamPushItem) { - return new Long(this.createStamp - streamPushItem.getCreateStamp().intValue()).intValue(); + return Long.valueOf(this.createStamp - streamPushItem.getCreateStamp().intValue()).intValue(); } public static class MediaSchema { -- Gitblit v1.8.0