diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e3adcb2d83c7f3d134b37b9cf31d8b0fe94dafe..a3d48486c228cd0d0d600c3823af954518d5276b 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 e9627acf52fa1aa9f5664d381a0e690099615157..e3de80ab68540167554cb4d297c3a7b41140a366 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 c5678c9cbc5973d309913dcec707620e0ba36a12..df11bbd1010315ba66b9183987fd8def28370389 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));