From d60452560e37305e62f8cdd6cc08c6b3d3430a10 Mon Sep 17 00:00:00 2001 From: WuPeng <wp@zafu.edu.cn> Date: 星期日, 27 十一月 2022 10:28:42 +0800 Subject: [PATCH] 弃用废弃方法toJavaObject,改用to方法,消除编译警告。 --- src/main/java/com/genersoft/iot/vmp/gb28181/bean/WvpSipDate.java | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/WvpSipDate.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/WvpSipDate.java index 50d1f26..f2a256b 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/WvpSipDate.java +++ b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/WvpSipDate.java @@ -10,6 +10,11 @@ */ public class WvpSipDate extends SIPDate { + /** + * + */ + private static final long serialVersionUID = 1L; + private Calendar javaCal; public WvpSipDate(long timeMillis) { @@ -129,7 +134,7 @@ var6 = "" + this.second; } - int var8 = this.getJavaCal().get(14); + int var8 = this.javaCal.get(14); String var7; if (var8 < 10) { var7 = "00" + var8; -- Gitblit v1.8.0