1
0
This commit is contained in:
2022-03-04 15:17:38 +08:00
parent fd6f6604d3
commit 2379ce45af
69 changed files with 589 additions and 175 deletions

View File

@@ -0,0 +1,6 @@
j
java:S1104
"TMake cityName a static final constant or non-public and provide accessors if needed.(<28>Ɵ<EFBFBD>
o
java:S1104"TMake cityCode a static final constant or non-public and provide accessors if needed.(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>

View File

@@ -0,0 +1,9 @@
E
java:S20933"*Change this "try" to a try-with-resources.(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
C
java:S1604&"(Make this anonymous inner class a lambda(<28>̒<EFBFBD><CC92><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
>
java:S1604E"(Make this anonymous inner class a lambda(<28><>Ż
]
java:S22599"HA "NullPointerException" could be thrown; "connection" is nullable here.(<28><><EFBFBD>H

View File

@@ -0,0 +1,6 @@
P
java:S1118
":Add a private constructor to hide the implicit public one.(<28><><EFBFBD><EFBFBD>
J
java:S2864"4Iterate over the "entrySet" instead of the "keySet".(<28><><EFBFBD><EFBFBD>

View File

@@ -0,0 +1,4 @@
C
java:S1185
"(Remove this method to simply inherit it.(<28><>Ί<EFBFBD><CE8A><EFBFBD><EFBFBD><EFBFBD>

View File

@@ -0,0 +1,3 @@
P
java:S1118 ":Add a private constructor to hide the implicit public one.(<28><><EFBFBD><EFBFBD>

View File

@@ -0,0 +1,17 @@
q java:S116"\Rename this field "temperature_1Text" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(<28><><EFBFBD><EFBFBD>
m java:S116"XRename this field "weather_1Text" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(<28><><EFBFBD><EFBFBD>
j java:S116"URename this field "tips_1Text" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(<28><><EFBFBD><EFBFBD>
s java:S116 "YRename this field "weatherImage_1" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
^
java:S1659"HDeclare "weatherText" and all following declarations on a separate line.(<28><><EFBFBD><EFBFBD>
G
java:S1659 ",Declare "weatherImage_1" on a separate line.(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
V java:S125`"<This block of commented-out lines of code should be removed.(<28>ׯ<EFBFBD><D7AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
Q java:S125g"<This block of commented-out lines of code should be removed.(<28><><EFBFBD><EFBFBD>
V java:S125u"<This block of commented-out lines of code should be removed.(<28>ׯ<EFBFBD><D7AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
Q java:S125|"<This block of commented-out lines of code should be removed.(<28><><EFBFBD><EFBFBD>
F
java:S1068"+Remove this unused "mLayout" private field.(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
f
java:S1192_"KDefine a constant instead of duplicating this literal "WeatherApp" 4 times.(<28>ȇ<EFBFBD><C887><EFBFBD><EFBFBD><EFBFBD><EFBFBD>

View File

@@ -0,0 +1,9 @@
Q
java:S1874 ";Remove this use of "RecycleItemProvider"; it is deprecated.(<28><><EFBFBD><EFBFBD>
c java:S100a"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(<28>ĉ<EFBFBD>
<EFBFBD>
java:S1319!"gThe type of "cityMos" should be an interface such as "List" rather than the implementation "ArrayList".(<28>ɯ<EFBFBD><C9AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
k java:S117C"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
C
java:S1604M"(Make this anonymous inner class a lambda(<28>ϓ<EFBFBD><CF93><EFBFBD><EFBFBD><EFBFBD><EFBFBD>

View File

@@ -0,0 +1,7 @@
<EFBFBD>
java:S1319 "gThe type of "cityMos" should be an interface such as "List" rather than the implementation "ArrayList".(ɣ<><C9A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD>
java:S1319"gThe type of "cityMos" should be an interface such as "List" rather than the implementation "ArrayList".(<28>ΰ<EFBFBD><CEB0><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
n
java:S1104 "SMake cityMos a static final constant or non-public and provide accessors if needed.(ɣ<><C9A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>

View File

@@ -0,0 +1,33 @@
\
,.idea/inspectionProfiles/Project_Default.xml,4\9\496a238a6afa168dbaf6efd37bb459331589579c
<
build.gradle,f\0\f07866736216be0ee2aba49e392191aeae700a35
v
Fentry/src/ohosTest/java/com/example/myapplication/ExampleOhosTest.java,6\a\6a6b1c750d19dd7877d9984c3de755233f64900b
j
:entry/src/main/java/com/example/weather/MyApplication.java,7\5\750f76477761fe96654f7734d0ff1b7bb1be5876
f
6entry/src/main/java/com/example/weather/net/HiNet.java,0\9\0967d9173abdcb01da65265c8e154e9a37034a67
j
:entry/src/main/java/com/example/weather/net/HiNetUtil.java,4\2\42a85d72c6c5bb50c094790894e8cef757c01d01
g
7entry/src/main/java/com/example/weather/net/IHiNet.java,2\d\2de47c4a3a933c03f3a50b5cca0f22761d46d3d4
h
8entry/src/main/java/com/example/weather/data/CityMo.java,0\7\0774814162e422c76bce232de8fbe7aa73482fb1
h
8entry/src/main/java/com/example/weather/data/DataMo.java,d\b\dbba308765e22bdac0f7ce0d766cd240fae5658f
r
Bentry/src/main/java/com/example/weather/data/ListItemProvider.java,d\5\d515ec7324135962f492b6cd82deaeda948f45d6
9
Readme.md,0\c\0c1945d7443c2e154bd3e421c0d438bd4086d8c3
B
entry/build.gradle,a\d\ad38b2dea33752cac233aa09d7dfbe582e9dded6
l
<entry/src/main/java/com/example/weather/util/HiExecutor.java,8\f\8f423886990ce6638a830fe4e6a70e23f267f22a
h
8entry/src/main/java/com/example/weather/MainAbility.java,c\4\c4d7c06613adb8c5404d09c42a94f8ad8bcc9664
s
Centry/src/main/java/com/example/weather/slice/MainAbilitySlice.java,a\b\aba7d9f4dd5aeef95a00381e20cef7a825179e38
J
entry/src/main/config.json,1\0\10f965cf51fe14a5ef0ca2ebefb1bd7e4607eeb2