From 54b824e070dcb9b851c9845de6b3dce1e9c7cc59 Mon Sep 17 00:00:00 2001 From: qiuguojun Date: Thu, 8 Jul 2021 16:00:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 2 ++ README.md | 2 +- .../andserver/slice/MainAbilitySlice.java | 17 ++++++++++++++++- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e3adcb..a3d4848 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ ## 0.0.1-SNAPSHOT ohos 实现文件传输功能 +## 0.0.2-SNAPSHOT +ohos 修改findbugs问题,优化代码规范 diff --git a/README.md b/README.md index e9627ac..e3de80a 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ CloudTest代码测试无异常 #### 版本迭代 -- v1.0.0 +- v2.0.0 #### 版权和许可信息 diff --git a/entry/src/main/java/com/yanzhenjie/andserver/slice/MainAbilitySlice.java b/entry/src/main/java/com/yanzhenjie/andserver/slice/MainAbilitySlice.java index c5678c9..df11bbd 100644 --- a/entry/src/main/java/com/yanzhenjie/andserver/slice/MainAbilitySlice.java +++ b/entry/src/main/java/com/yanzhenjie/andserver/slice/MainAbilitySlice.java @@ -1,3 +1,18 @@ +/* + * Copyright (C) 2021 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + package com.yanzhenjie.andserver.slice; import cn.bingoogolapple.refreshlayout.BgaStickinessRefreshViewHolder; @@ -234,7 +249,7 @@ public class MainAbilitySlice extends AbilitySlice implements Component.ClickedL pathlist = (ArrayList) parms.getParam(key); } - System.out.println("判断为空==="+ pathlist); + System.out.println("判断为空===" + pathlist); } for (int i = 0; i < pathlist.size(); i++) { String path = String.valueOf(pathlist.get(i)); -- Gitee