From 1c1e4feae9c73efb1a74fe6cc0e9c01be55926f2 Mon Sep 17 00:00:00 2001 From: XinqiQin <1307804005@qq.com> Date: Sun, 12 Jan 2025 16:37:28 +0800 Subject: [PATCH] 11 --- .../0f0f0549145d0e2bfb972ba1ed2e2c38bfd6d1b1 | 0 .../3e688be40dc69cfd1062f41d0fc27fe261a26710 | 36 ++-- .../503adcf2a0be1ecdb94a15efba4433b6589877b9 | 62 ++++++ .../577f30d26378ec8a2bd2e4a43f3c79b3f04c402c | 203 +++++++++--------- .../5836a695995df8fadacfa6409fe8d21d88946842 | 0 .../5f6162ca79fcea353b280c5dc84973a9c37d2c74 | 3 + .../ad72331a1bed265bb9c0fe838faa74dbf69fce32 | 8 +- .../e094aec5c3e1b6f44539adff3114f5a1ad603ddc | 6 +- .../.idea/sonarlint/issuestore/index.pb | 8 +- .../0f0f0549145d0e2bfb972ba1ed2e2c38bfd6d1b1 | 0 .../5836a695995df8fadacfa6409fe8d21d88946842 | 0 .../5f6162ca79fcea353b280c5dc84973a9c37d2c74 | 0 .../sonarlint/securityhotspotstore/index.pb | 8 +- 13 files changed, 205 insertions(+), 129 deletions(-) create mode 100644 xiaomi-src/.idea/sonarlint/issuestore/0/f/0f0f0549145d0e2bfb972ba1ed2e2c38bfd6d1b1 create mode 100644 xiaomi-src/.idea/sonarlint/issuestore/5/8/5836a695995df8fadacfa6409fe8d21d88946842 create mode 100644 xiaomi-src/.idea/sonarlint/issuestore/5/f/5f6162ca79fcea353b280c5dc84973a9c37d2c74 create mode 100644 xiaomi-src/.idea/sonarlint/securityhotspotstore/0/f/0f0f0549145d0e2bfb972ba1ed2e2c38bfd6d1b1 create mode 100644 xiaomi-src/.idea/sonarlint/securityhotspotstore/5/8/5836a695995df8fadacfa6409fe8d21d88946842 create mode 100644 xiaomi-src/.idea/sonarlint/securityhotspotstore/5/f/5f6162ca79fcea353b280c5dc84973a9c37d2c74 diff --git a/xiaomi-src/.idea/sonarlint/issuestore/0/f/0f0f0549145d0e2bfb972ba1ed2e2c38bfd6d1b1 b/xiaomi-src/.idea/sonarlint/issuestore/0/f/0f0f0549145d0e2bfb972ba1ed2e2c38bfd6d1b1 new file mode 100644 index 0000000..e69de29 diff --git a/xiaomi-src/.idea/sonarlint/issuestore/3/e/3e688be40dc69cfd1062f41d0fc27fe261a26710 b/xiaomi-src/.idea/sonarlint/issuestore/3/e/3e688be40dc69cfd1062f41d0fc27fe261a26710 index 8e6e3ea..19f031e 100644 --- a/xiaomi-src/.idea/sonarlint/issuestore/3/e/3e688be40dc69cfd1062f41d0fc27fe261a26710 +++ b/xiaomi-src/.idea/sonarlint/issuestore/3/e/3e688be40dc69cfd1062f41d0fc27fe261a26710 @@ -1,21 +1,21 @@ -g -java:S1301"KReplace this "switch" statement by "if" statements to increase readability.(۫ +n +java:S1301"KReplace this "switch" statement by "if" statements to increase readability.(۫8К2 +_ +java:S1874d"=Remove this use of "FLAG_SHOW_WHEN_LOCKED"; it is deprecated.(8К2 X -java:S1874E"=Remove this use of "FLAG_SHOW_WHEN_LOCKED"; it is deprecated.( -Q -java:S1874H";Remove this use of "FLAG_TURN_SCREEN_ON"; it is deprecated.( -Z -java:S1874J"?Remove this use of "FLAG_LAYOUT_INSET_DECOR"; it is deprecated.( -H -java:S1874k"2Remove this use of "isScreenOn"; it is deprecated.( -O -java:S1874z":Remove this use of "setAudioStreamType"; it is deprecated.(0 -U -java:S1874|":Remove this use of "setAudioStreamType"; it is deprecated.(Ũ +java:S1874g";Remove this use of "FLAG_TURN_SCREEN_ON"; it is deprecated.(8К2 a -java:S2147"ECombine this catch with the one at line 131, which has the same body.( -\ -java:S2147"ECombine this catch with the one at line 133, which has the same body.( -\ -java:S2147"ECombine this catch with the one at line 135, which has the same body.(ﭣ \ No newline at end of file +java:S1874i"?Remove this use of "FLAG_LAYOUT_INSET_DECOR"; it is deprecated.(8К2 +P +java:S1874"2Remove this use of "isScreenOn"; it is deprecated.(8К2 +W +java:S1874":Remove this use of "setAudioStreamType"; it is deprecated.(08К2 +] +java:S1874":Remove this use of "setAudioStreamType"; it is deprecated.(Ũ8К2 +h +java:S2147"ECombine this catch with the one at line 168, which has the same body.(8К2 +c +java:S2147"ECombine this catch with the one at line 170, which has the same body.(8К2 +c +java:S2147"ECombine this catch with the one at line 172, which has the same body.(ﭣ8К2 \ No newline at end of file diff --git a/xiaomi-src/.idea/sonarlint/issuestore/5/0/503adcf2a0be1ecdb94a15efba4433b6589877b9 b/xiaomi-src/.idea/sonarlint/issuestore/5/0/503adcf2a0be1ecdb94a15efba4433b6589877b9 index e69de29..3633fa5 100644 --- a/xiaomi-src/.idea/sonarlint/issuestore/5/0/503adcf2a0be1ecdb94a15efba4433b6589877b9 +++ b/xiaomi-src/.idea/sonarlint/issuestore/5/0/503adcf2a0be1ecdb94a15efba4433b6589877b9 @@ -0,0 +1,62 @@ + +v +java:S2293^"YReplace the type specification in this constructor call with the diamond operator ("<>").(82 +K +java:S1604"(Make this anonymous inner class a lambda(߈82 +K +java:S1604"(Make this anonymous inner class a lambda(82 +K +java:S1604"(Make this anonymous inner class a lambda(82 +K +java:S1604"(Make this anonymous inner class a lambda(ײ82 +K +java:S1604"(Make this anonymous inner class a lambda(ё82 +K +java:S1604"(Make this anonymous inner class a lambda(ΐ82 +K +java:S1604"(Make this anonymous inner class a lambda(82 +K +java:S1604"(Make this anonymous inner class a lambda(82 +K +java:S1604"(Make this anonymous inner class a lambda(82 +E +java:S1604"(Make this anonymous inner class a lambda(Z82 +X java:S125*"").(ӏ8Dzۂ2 +java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(ӏ8Dzۂ2 | -java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(8Ȳۂ2 +java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(8Ȳۂ2 | -java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(8Ȳۂ2 +java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(8Ȳۂ2 w -java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(8Ȳۂ2 +java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(8Ȳۂ2 w -java:S2293 -"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥8ɲۂ2 +java:S2293 "YReplace the type specification in this constructor call with the diamond operator ("<>").(艥8ɲۂ2 w -java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(׼8ɲۂ2 +java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(׼8ɲۂ2 k -java:S1192"HDefine a constant instead of duplicating this literal "[local]" 6 times.(̭8ʲۂ2 +java:S1192"HDefine a constant instead of duplicating this literal "[local]" 6 times.(̭8ʲۂ2  -java:S1192"cDefine a constant instead of duplicating this literal "获取上次的位置-经纬度:" 3 times.(̕8ʲۂ2 +java:S1192"cDefine a constant instead of duplicating this literal "获取上次的位置-经纬度:" 3 times.(̕8ʲۂ2 l -java:S1192"IDefine a constant instead of duplicating this literal "[/local]" 6 times.(8ʲۂ2 +java:S1192"IDefine a constant instead of duplicating this literal "[/local]" 6 times.(8ʲۂ2 R -java:S1066"/Merge this if statement with the enclosing one.(8˲ۂ2 -n java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8̲ۂ2 -s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8̲ۂ2 -s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8̲ۂ2 -s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8Ͳۂ2 -n java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8Ͳۂ2 -n java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8Ͳۂ2 -n java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8Ͳۂ2 -s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8Ͳۂ2 -s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(޽8Ͳۂ2 -n java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ݢ8Ͳۂ2 +java:S1066"/Merge this if statement with the enclosing one.(8˲ۂ2 +n java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8̲ۂ2 +s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8̲ۂ2 +s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8̲ۂ2 +s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8Ͳۂ2 +n java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8Ͳۂ2 +n java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8Ͳۂ2 +n java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8Ͳۂ2 +s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8Ͳۂ2 +s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(޽8Ͳۂ2 +n java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ݢ8Ͳۂ2 K -java:S1604"(Make this anonymous inner class a lambda(8Ͳۂ2 +java:S1604"(Make this anonymous inner class a lambda(8Ͳۂ2 F -java:S1604"(Make this anonymous inner class a lambda(8Ͳۂ2 +java:S1604"(Make this anonymous inner class a lambda(8Ͳۂ2 F -java:S1604"(Make this anonymous inner class a lambda(8Ͳۂ2 +java:S1604"(Make this anonymous inner class a lambda(8Ͳۂ2 K -java:S1604"(Make this anonymous inner class a lambda(ϖ8Ͳۂ2 +java:S1604"(Make this anonymous inner class a lambda(ϖ8Ͳۂ2 F -java:S1604"(Make this anonymous inner class a lambda(8Ͳۂ2 +java:S1604"(Make this anonymous inner class a lambda(8Ͳۂ2 F -java:S1604"(Make this anonymous inner class a lambda(8Ͳۂ2 +java:S1604"(Make this anonymous inner class a lambda(8Ͳۂ2 F -java:S1604"(Make this anonymous inner class a lambda(8Ͳۂ2 +java:S1604"(Make this anonymous inner class a lambda(8Ͳۂ2 K -java:S1604"(Make this anonymous inner class a lambda(8Ͳۂ2 +java:S1604"(Make this anonymous inner class a lambda(8Ͳۂ2 F -java:S1604"(Make this anonymous inner class a lambda(ђ8Ͳۂ2 +java:S1604"(Make this anonymous inner class a lambda(ђ8Ͳۂ2 F -java:S1604"(Make this anonymous inner class a lambda(8βۂ2 +java:S1604"(Make this anonymous inner class a lambda(8βۂ2 F -java:S1604 +java:S1604 "(Make this anonymous inner class a lambda(ά8βۂ2 F -java:S1604 +java:S1604 "(Make this anonymous inner class a lambda(8βۂ2 F -java:S1604 "(Make this anonymous inner class a lambda(ߒ8βۂ2 +java:S1604 "(Make this anonymous inner class a lambda(ߒ8βۂ2 K -java:S1604"(Make this anonymous inner class a lambda(8βۂ2 +java:S1604"(Make this anonymous inner class a lambda(8βۂ2 F -java:S1604"(Make this anonymous inner class a lambda(8βۂ2 +java:S1604"(Make this anonymous inner class a lambda(8βۂ2 K -java:S1604"(Make this anonymous inner class a lambda(8βۂ2 +java:S1604"(Make this anonymous inner class a lambda(8βۂ2 F -java:S1604"(Make this anonymous inner class a lambda(ђ8βۂ2 +java:S1604"(Make this anonymous inner class a lambda(ђ8βۂ2 F -java:S1604"(Make this anonymous inner class a lambda(ȼ8βۂ2 +java:S1604"(Make this anonymous inner class a lambda(ȼ8βۂ2 n -java:S1301"KReplace this "switch" statement by "if" statements to increase readability.(8βۂ2 +java:S1301"KReplace this "switch" statement by "if" statements to increase readability.(8βۂ2 y -java:S1104"VMake tvModified a static final constant or non-public and provide accessors if needed.(݂8вۂ2 +java:S1104"VMake tvModified a static final constant or non-public and provide accessors if needed.(݂8вۂ2 t -java:S1104"WMake ivAlertIcon a static final constant or non-public and provide accessors if needed.(C8вۂ2 +java:S1104"WMake ivAlertIcon a static final constant or non-public and provide accessors if needed.(C8вۂ2 u -java:S1104"WMake tvAlertDate a static final constant or non-public and provide accessors if needed.(ĭܯ8вۂ2 +java:S1104"WMake tvAlertDate a static final constant or non-public and provide accessors if needed.(ĭܯ8вۂ2 { -java:S1104"XMake ibSetBgColor a static final constant or non-public and provide accessors if needed.(8вۂ2 +java:S1104"XMake ibSetBgColor a static final constant or non-public and provide accessors if needed.(8вۂ2  -java:S1104"\Make locationListener a static final constant or non-public and provide accessors if needed.(އ8вۂ2 -z java:S116"XRename this field "PHOTO_REQUEST" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ي8ִۂ2 -y java:S116"\Rename this field "restore_translate" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8ִۂ2 -y java:S116"\Rename this field "MAX_OF_RVOKE_TIME" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8ִۂ2 +java:S1104"\Make locationListener a static final constant or non-public and provide accessors if needed.(އ8вۂ2 +z java:S116"XRename this field "PHOTO_REQUEST" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ي8ִۂ2 +y java:S116"\Rename this field "restore_translate" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8ִۂ2 +y java:S116"\Rename this field "MAX_OF_RVOKE_TIME" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8ִۂ2 D -java:S1170"!Make this final field static too.(ي8״ۂ2 +java:S1170"!Make this final field static too.(ي8״ۂ2 u -java:S1450"WRemove the "mPattern" field and declare it as a local variable in the relevant methods.(8޴ۂ2 +java:S1450"WRemove the "mPattern" field and declare it as a local variable in the relevant methods.(8޴ۂ2 ~ -java:S1450"aRemove the "mSharedPreferences" field and declare it as a local variable in the relevant methods.(U8ߴۂ2 +java:S1450"aRemove the "mSharedPreferences" field and declare it as a local variable in the relevant methods.(U8ߴۂ2  -java:S1149"eReplace the synchronized class "Vector" by an unsynchronized one such as "ArrayList" or "LinkedList".(׼8ۂ2 +java:S1149"eReplace the synchronized class "Vector" by an unsynchronized one such as "ArrayList" or "LinkedList".(׼8ۂ2 u -java:S3776"RRefactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed.(ۛ8ۂ2 +java:S3776"RRefactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed.(ۛ8ۂ2 X -java:S2209"5Change this instance-reference to a static reference.(8ۂ2 +java:S2209"5Change this instance-reference to a static reference.(8ۂ2 g -java:S3252"DUse static access with "android.content.Context" for "MODE_PRIVATE".(8ۂ2 -^ java:S125"").(ʩ +java:S22939"YReplace the type specification in this constructor call with the diamond operator ("<>").(ʩ  -java:S1319"pThe return type of this method should be an interface such as "List" rather than the implementation "ArrayList".(ﷺ +java:S1319"pThe return type of this method should be an interface such as "List" rather than the implementation "ArrayList".(ﷺ r -java:S3923"[Remove this conditional structure or edit its code blocks so that they're not all the same.(ԡ \ No newline at end of file +java:S3923"[Remove this conditional structure or edit its code blocks so that they're not all the same.(ԡ \ No newline at end of file diff --git a/xiaomi-src/.idea/sonarlint/issuestore/index.pb b/xiaomi-src/.idea/sonarlint/issuestore/index.pb index 6cb8b36..042f43d 100644 --- a/xiaomi-src/.idea/sonarlint/issuestore/index.pb +++ b/xiaomi-src/.idea/sonarlint/issuestore/index.pb @@ -114,4 +114,10 @@ Japp/src/main/java/net/micode/notes/SparkChain/ImageGenerationActivity.java,0\3 L app/libs/arm64-v8a/libmsc.so,a\8\a81417d919004caacc24efc8497d72015eabb6e9 r -Bapp/src/main/java/net/micode/notes/SparkChain/IflytexActivity.java,7\4\7433c44cd6892db21f3ddd72945af0a8cd2f4fbe \ No newline at end of file +Bapp/src/main/java/net/micode/notes/SparkChain/IflytexActivity.java,7\4\7433c44cd6892db21f3ddd72945af0a8cd2f4fbe +~ +Napp/src/main/java/net/micode/notes/gtask/exception/ActionFailureException.java,5\f\5f6162ca79fcea353b280c5dc84973a9c37d2c74 + +Oapp/src/main/java/net/micode/notes/gtask/exception/NetworkFailureException.java,0\f\0f0f0549145d0e2bfb972ba1ed2e2c38bfd6d1b1 +h +8app/src/main/java/net/micode/notes/ui/AlarmReceiver.java,5\8\5836a695995df8fadacfa6409fe8d21d88946842 \ No newline at end of file diff --git a/xiaomi-src/.idea/sonarlint/securityhotspotstore/0/f/0f0f0549145d0e2bfb972ba1ed2e2c38bfd6d1b1 b/xiaomi-src/.idea/sonarlint/securityhotspotstore/0/f/0f0f0549145d0e2bfb972ba1ed2e2c38bfd6d1b1 new file mode 100644 index 0000000..e69de29 diff --git a/xiaomi-src/.idea/sonarlint/securityhotspotstore/5/8/5836a695995df8fadacfa6409fe8d21d88946842 b/xiaomi-src/.idea/sonarlint/securityhotspotstore/5/8/5836a695995df8fadacfa6409fe8d21d88946842 new file mode 100644 index 0000000..e69de29 diff --git a/xiaomi-src/.idea/sonarlint/securityhotspotstore/5/f/5f6162ca79fcea353b280c5dc84973a9c37d2c74 b/xiaomi-src/.idea/sonarlint/securityhotspotstore/5/f/5f6162ca79fcea353b280c5dc84973a9c37d2c74 new file mode 100644 index 0000000..e69de29 diff --git a/xiaomi-src/.idea/sonarlint/securityhotspotstore/index.pb b/xiaomi-src/.idea/sonarlint/securityhotspotstore/index.pb index 6cb8b36..042f43d 100644 --- a/xiaomi-src/.idea/sonarlint/securityhotspotstore/index.pb +++ b/xiaomi-src/.idea/sonarlint/securityhotspotstore/index.pb @@ -114,4 +114,10 @@ Japp/src/main/java/net/micode/notes/SparkChain/ImageGenerationActivity.java,0\3 L app/libs/arm64-v8a/libmsc.so,a\8\a81417d919004caacc24efc8497d72015eabb6e9 r -Bapp/src/main/java/net/micode/notes/SparkChain/IflytexActivity.java,7\4\7433c44cd6892db21f3ddd72945af0a8cd2f4fbe \ No newline at end of file +Bapp/src/main/java/net/micode/notes/SparkChain/IflytexActivity.java,7\4\7433c44cd6892db21f3ddd72945af0a8cd2f4fbe +~ +Napp/src/main/java/net/micode/notes/gtask/exception/ActionFailureException.java,5\f\5f6162ca79fcea353b280c5dc84973a9c37d2c74 + +Oapp/src/main/java/net/micode/notes/gtask/exception/NetworkFailureException.java,0\f\0f0f0549145d0e2bfb972ba1ed2e2c38bfd6d1b1 +h +8app/src/main/java/net/micode/notes/ui/AlarmReceiver.java,5\8\5836a695995df8fadacfa6409fe8d21d88946842 \ No newline at end of file