From 66ca9fd88273a32da6be47d959cf52be09b37558 Mon Sep 17 00:00:00 2001 From: Kenneth <2448698686@qq.com> Date: Mon, 25 Dec 2023 08:17:18 +0800 Subject: [PATCH] notemaster3 --- .../1eb2363b523dbcae43d3c6e4790c64436af61b13 | 25 +++++ .../32360bf24febc78f20db52498c7576b3d8650d56 | 39 ++++++++ .../876016634c6642b35109680ccac740dc8271b236 | 11 +++ .../a446c87b1013132f8adaf83656b582028e8809af | 15 +++ .../a7641cfac724321d508c2a284223a711011a93f5 | 13 +++ .../c42ad3cd6e664963fa1849c760a57d417d500ee7 | 95 +++++++++++++++++++ .../c65f5dc8218ef1da6f6bfb5d1b14aea855a54d7f | 35 +++++++ .../dd970bd8ce083850fca1d4d159647ccd110e57cb | 15 +++ .../1eb2363b523dbcae43d3c6e4790c64436af61b13 | 0 .../32360bf24febc78f20db52498c7576b3d8650d56 | 0 .../876016634c6642b35109680ccac740dc8271b236 | 0 .../a446c87b1013132f8adaf83656b582028e8809af | 0 .../a7641cfac724321d508c2a284223a711011a93f5 | 0 .../c42ad3cd6e664963fa1849c760a57d417d500ee7 | 0 .../c65f5dc8218ef1da6f6bfb5d1b14aea855a54d7f | 0 .../dd970bd8ce083850fca1d4d159647ccd110e57cb | 0 16 files changed, 248 insertions(+) create mode 100644 src/Notes-master3/.idea/sonarlint/issuestore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13 create mode 100644 src/Notes-master3/.idea/sonarlint/issuestore/3/2/32360bf24febc78f20db52498c7576b3d8650d56 create mode 100644 src/Notes-master3/.idea/sonarlint/issuestore/8/7/876016634c6642b35109680ccac740dc8271b236 create mode 100644 src/Notes-master3/.idea/sonarlint/issuestore/a/4/a446c87b1013132f8adaf83656b582028e8809af create mode 100644 src/Notes-master3/.idea/sonarlint/issuestore/a/7/a7641cfac724321d508c2a284223a711011a93f5 create mode 100644 src/Notes-master3/.idea/sonarlint/issuestore/c/4/c42ad3cd6e664963fa1849c760a57d417d500ee7 create mode 100644 src/Notes-master3/.idea/sonarlint/issuestore/c/6/c65f5dc8218ef1da6f6bfb5d1b14aea855a54d7f create mode 100644 src/Notes-master3/.idea/sonarlint/issuestore/d/d/dd970bd8ce083850fca1d4d159647ccd110e57cb create mode 100644 src/Notes-master3/.idea/sonarlint/securityhotspotstore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13 create mode 100644 src/Notes-master3/.idea/sonarlint/securityhotspotstore/3/2/32360bf24febc78f20db52498c7576b3d8650d56 create mode 100644 src/Notes-master3/.idea/sonarlint/securityhotspotstore/8/7/876016634c6642b35109680ccac740dc8271b236 create mode 100644 src/Notes-master3/.idea/sonarlint/securityhotspotstore/a/4/a446c87b1013132f8adaf83656b582028e8809af create mode 100644 src/Notes-master3/.idea/sonarlint/securityhotspotstore/a/7/a7641cfac724321d508c2a284223a711011a93f5 create mode 100644 src/Notes-master3/.idea/sonarlint/securityhotspotstore/c/4/c42ad3cd6e664963fa1849c760a57d417d500ee7 create mode 100644 src/Notes-master3/.idea/sonarlint/securityhotspotstore/c/6/c65f5dc8218ef1da6f6bfb5d1b14aea855a54d7f create mode 100644 src/Notes-master3/.idea/sonarlint/securityhotspotstore/d/d/dd970bd8ce083850fca1d4d159647ccd110e57cb diff --git a/src/Notes-master3/.idea/sonarlint/issuestore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13 b/src/Notes-master3/.idea/sonarlint/issuestore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13 new file mode 100644 index 0000000..b5a82a1 --- /dev/null +++ b/src/Notes-master3/.idea/sonarlint/issuestore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13 @@ -0,0 +1,25 @@ + +v +java:S11927"[Define a constant instead of duplicating this literal " TEXT NOT NULL DEFAULT ''," 5 times.(޿ +c +java:S1192["HDefine a constant instead of duplicating this literal " BEGIN " 4 times.( +a +java:S1192j"FDefine a constant instead of duplicating this literal "=old." 6 times.( +c +java:S1192"GDefine a constant instead of duplicating this literal " BEGIN" 6 times.( +t +java:S11920"^Define a constant instead of duplicating this literal " INTEGER NOT NULL DEFAULT 0," 11 times.( +_ +java:S1192^"IDefine a constant instead of duplicating this literal " WHERE " 8 times.(랰 +\ +java:S1192^"FDefine a constant instead of duplicating this literal "=new." 6 times.(랰 +g +java:S1192"RDefine a constant instead of duplicating this literal " AFTER DELETE ON " 3 times.(B +c +java:S1192]"HDefine a constant instead of duplicating this literal " SET " 8 times.(˓ +` +java:S1192\"JDefine a constant instead of duplicating this literal " UPDATE " 8 times.( + +java:S11923"yDefine a constant instead of duplicating this literal " INTEGER NOT NULL DEFAULT (strftime('%s','now') * 1000)," 4 times.( +Y +java:S1214#"CMove constants defined in this interfaces to another class or enum.( \ No newline at end of file diff --git a/src/Notes-master3/.idea/sonarlint/issuestore/3/2/32360bf24febc78f20db52498c7576b3d8650d56 b/src/Notes-master3/.idea/sonarlint/issuestore/3/2/32360bf24febc78f20db52498c7576b3d8650d56 new file mode 100644 index 0000000..ac3ea31 --- /dev/null +++ b/src/Notes-master3/.idea/sonarlint/issuestore/3/2/32360bf24febc78f20db52498c7576b3d8650d56 @@ -0,0 +1,39 @@ + +t +java:S22932"YReplace the type specification in this constructor call with the diamond operator ("<>").(л +t +java:S2293Z"YReplace the type specification in this constructor call with the diamond operator ("<>").(л +u +java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(ª +b +java:S1192D"GDefine a constant instead of duplicating this literal "%s: %s" 4 times.( +c +java:S1192x"HDefine a constant instead of duplicating this literal "=? AND " 4 times.( +J +java:S1066~"/Merge this if statement with the enclosing one.(䲜 +v +java:S1319("`The type of "ids" should be an interface such as "Set" rather than the implementation "HashSet".( +{ +java:S1319S"`The type of "ids" should be an interface such as "Set" rather than the implementation "HashSet".(󆱋 + +java:S1319"mThe return type of this method should be an interface such as "Set" rather than the implementation "HashSet".( +S +java:S2589e"8Remove this expression which always evaluates to "false"(Ύ +S +java:S2589>"8Remove this expression which always evaluates to "false"(Ύ +U +java:S1118&":Add a private constructor to hide the implicit public one.( +T +java:S1155-">Use isEmpty() to check whether the collection is empty or not.( +Z +java:S2147E"DCombine this catch with the one at line 67, which has the same body.(暩 +[ +java:S2147l"ECombine this catch with the one at line 106, which has the same body.(暩 +k +java:S3252"OUse static access with "net.micode.notes.data.Notes$DataColumns" for "NOTE_ID".( +m +java:S3252"QUse static access with "net.micode.notes.data.Notes$DataColumns" for "MIME_TYPE".( +f +java:S3252"OUse static access with "net.micode.notes.data.Notes$DataColumns" for "NOTE_ID".(ʹ +m +java:S3252"QUse static access with "net.micode.notes.data.Notes$DataColumns" for "MIME_TYPE".( \ No newline at end of file diff --git a/src/Notes-master3/.idea/sonarlint/issuestore/8/7/876016634c6642b35109680ccac740dc8271b236 b/src/Notes-master3/.idea/sonarlint/issuestore/8/7/876016634c6642b35109680ccac740dc8271b236 new file mode 100644 index 0000000..cc88819 --- /dev/null +++ b/src/Notes-master3/.idea/sonarlint/issuestore/8/7/876016634c6642b35109680ccac740dc8271b236 @@ -0,0 +1,11 @@ + +F +java:S1066"/Merge this if statement with the enclosing one.( +3 +java:S2386A"Make this member "protected".( +8 +java:S2386K"Make this member "protected".(㳎 +X +java:S1126"AReplace this if-then-else statement by a single return statement.( +? +java:S1125"(Remove the unnecessary boolean literals.( \ No newline at end of file diff --git a/src/Notes-master3/.idea/sonarlint/issuestore/a/4/a446c87b1013132f8adaf83656b582028e8809af b/src/Notes-master3/.idea/sonarlint/issuestore/a/4/a446c87b1013132f8adaf83656b582028e8809af new file mode 100644 index 0000000..de82922 --- /dev/null +++ b/src/Notes-master3/.idea/sonarlint/issuestore/a/4/a446c87b1013132f8adaf83656b582028e8809af @@ -0,0 +1,15 @@ + +k java:S116x"VRename this field "TEXT_FORMAT" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ћ +i +java:S3776"RRefactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed.( +h +java:S3776"RRefactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.( +\ +java:S2147"ECombine this catch with the one at line 302, which has the same body.(ߝȴ +\ +java:S2147"ECombine this catch with the one at line 335, which has the same body.(ﭣ +] java:S899"BDo something with the "boolean" value returned by "createNewFile".(А +? +java:S3398"#Move this method into "TextExport".( +9 +java:S3398I"#Move this method into "TextExport".( \ No newline at end of file diff --git a/src/Notes-master3/.idea/sonarlint/issuestore/a/7/a7641cfac724321d508c2a284223a711011a93f5 b/src/Notes-master3/.idea/sonarlint/issuestore/a/7/a7641cfac724321d508c2a284223a711011a93f5 new file mode 100644 index 0000000..146e8d9 --- /dev/null +++ b/src/Notes-master3/.idea/sonarlint/issuestore/a/7/a7641cfac724321d508c2a284223a711011a93f5 @@ -0,0 +1,13 @@ + +f +java:S11929"KDefine a constant instead of duplicating this literal "content://" 4 times.( +U +java:S11181":Add a private constructor to hide the implicit public one.(͓ +^ +java:S1214@"CMove constants defined in this interfaces to another class or enum.( +Z +java:S1214"CMove constants defined in this interfaces to another class or enum.( +V +java:S1118":Add a private constructor to hide the implicit public one.( +Q +java:S1118":Add a private constructor to hide the implicit public one.(߀ \ No newline at end of file diff --git a/src/Notes-master3/.idea/sonarlint/issuestore/c/4/c42ad3cd6e664963fa1849c760a57d417d500ee7 b/src/Notes-master3/.idea/sonarlint/issuestore/c/4/c42ad3cd6e664963fa1849c760a57d417d500ee7 new file mode 100644 index 0000000..e360d7b --- /dev/null +++ b/src/Notes-master3/.idea/sonarlint/issuestore/c/4/c42ad3cd6e664963fa1849c760a57d417d500ee7 @@ -0,0 +1,95 @@ + +P +java:S1118":Add a private constructor to hide the implicit public one.( +` +java:S1124"EReorder the modifiers to comply with the Java Language Specification.( +[ +java:S1124"EReorder the modifiers to comply with the Java Language Specification.(㘱 +[ +java:S1124"EReorder the modifiers to comply with the Java Language Specification.( +[ +java:S1124"EReorder the modifiers to comply with the Java Language Specification.(ρ +` +java:S1124"EReorder the modifiers to comply with the Java Language Specification.(Ɖ +[ +java:S1124 "EReorder the modifiers to comply with the Java Language Specification.( +` +java:S1124""EReorder the modifiers to comply with the Java Language Specification.( +[ +java:S1124$"EReorder the modifiers to comply with the Java Language Specification.( +` +java:S1124&"EReorder the modifiers to comply with the Java Language Specification.( +` +java:S1124("EReorder the modifiers to comply with the Java Language Specification.( +` +java:S1124*"EReorder the modifiers to comply with the Java Language Specification.(۲ +` +java:S1124,"EReorder the modifiers to comply with the Java Language Specification.( +[ +java:S1124."EReorder the modifiers to comply with the Java Language Specification.( +[ +java:S11240"EReorder the modifiers to comply with the Java Language Specification.(Ӎ +[ +java:S11242"EReorder the modifiers to comply with the Java Language Specification.( +[ +java:S11244"EReorder the modifiers to comply with the Java Language Specification.(̥ +[ +java:S11246"EReorder the modifiers to comply with the Java Language Specification.(Ƒ +Z +java:S11248"EReorder the modifiers to comply with the Java Language Specification.( +` +java:S1124:"EReorder the modifiers to comply with the Java Language Specification.( +Z +java:S1124<"EReorder the modifiers to comply with the Java Language Specification.(K +` +java:S1124>"EReorder the modifiers to comply with the Java Language Specification.( +[ +java:S1124@"EReorder the modifiers to comply with the Java Language Specification.(֫ +Z +java:S1124B"EReorder the modifiers to comply with the Java Language Specification.($ +[ +java:S1124D"EReorder the modifiers to comply with the Java Language Specification.( +` +java:S1124F"EReorder the modifiers to comply with the Java Language Specification.( +[ +java:S1124H"EReorder the modifiers to comply with the Java Language Specification.( +[ +java:S1124J"EReorder the modifiers to comply with the Java Language Specification.(૵ +` +java:S1124L"EReorder the modifiers to comply with the Java Language Specification.(֐ +[ +java:S1124N"EReorder the modifiers to comply with the Java Language Specification.( +` +java:S1124P"EReorder the modifiers to comply with the Java Language Specification.( +` +java:S1124R"EReorder the modifiers to comply with the Java Language Specification.( +[ +java:S1124T"EReorder the modifiers to comply with the Java Language Specification.( +[ +java:S1124V"EReorder the modifiers to comply with the Java Language Specification.(ʹ +` +java:S1124X"EReorder the modifiers to comply with the Java Language Specification.(ԣ +[ +java:S1124Z"EReorder the modifiers to comply with the Java Language Specification.(΢ +` +java:S1124\"EReorder the modifiers to comply with the Java Language Specification.(Ō +` +java:S1124^"EReorder the modifiers to comply with the Java Language Specification.(Ȩ +[ +java:S1124`"EReorder the modifiers to comply with the Java Language Specification.( +[ +java:S1124b"EReorder the modifiers to comply with the Java Language Specification.(̀ +` +java:S1124d"EReorder the modifiers to comply with the Java Language Specification.(â +` +java:S1124f"EReorder the modifiers to comply with the Java Language Specification.( +[ +java:S1124h"EReorder the modifiers to comply with the Java Language Specification.(ƒ +` +java:S1124j"EReorder the modifiers to comply with the Java Language Specification.( +` +java:S1124l"EReorder the modifiers to comply with the Java Language Specification.( +Z +java:S1124n"EReorder the modifiers to comply with the Java Language Specification.(†- +` +java:S1124p"EReorder the modifiers to comply with the Java Language Specification.( \ No newline at end of file diff --git a/src/Notes-master3/.idea/sonarlint/issuestore/c/6/c65f5dc8218ef1da6f6bfb5d1b14aea855a54d7f b/src/Notes-master3/.idea/sonarlint/issuestore/c/6/c65f5dc8218ef1da6f6bfb5d1b14aea855a54d7f new file mode 100644 index 0000000..18abd16 --- /dev/null +++ b/src/Notes-master3/.idea/sonarlint/issuestore/c/6/c65f5dc8218ef1da6f6bfb5d1b14aea855a54d7f @@ -0,0 +1,35 @@ + +P +java:S1118(":Add a private constructor to hide the implicit public one.(ڦ +P +java:S11189":Add a private constructor to hide the implicit public one.( +[ +java:S1124:"EReorder the modifiers to comply with the Java Language Specification.(Ɠ +` +java:S1124B"EReorder the modifiers to comply with the Java Language Specification.( +O +java:S1874T"9Remove this use of "PreferenceManager"; it is deprecated.( +Y +java:S1874T"CRemove this use of "getDefaultSharedPreferences"; it is deprecated.( +D +java:S2140V")Use "java.util.Random.nextInt()" instead.( +U +java:S1118\":Add a private constructor to hide the implicit public one.(Ū +` +java:S1124]"EReorder the modifiers to comply with the Java Language Specification.( +` +java:S1124e"EReorder the modifiers to comply with the Java Language Specification.( +` +java:S1124m"EReorder the modifiers to comply with the Java Language Specification.( +[ +java:S1124u"EReorder the modifiers to comply with the Java Language Specification.(ɜ +Q +java:S1118":Add a private constructor to hide the implicit public one.(ֹ +a +java:S1124"EReorder the modifiers to comply with the Java Language Specification.( +a +java:S1124"EReorder the modifiers to comply with the Java Language Specification.( +V +java:S1118":Add a private constructor to hide the implicit public one.( +\ +java:S1124"EReorder the modifiers to comply with the Java Language Specification.( \ No newline at end of file diff --git a/src/Notes-master3/.idea/sonarlint/issuestore/d/d/dd970bd8ce083850fca1d4d159647ccd110e57cb b/src/Notes-master3/.idea/sonarlint/issuestore/d/d/dd970bd8ce083850fca1d4d159647ccd110e57cb new file mode 100644 index 0000000..5405687 --- /dev/null +++ b/src/Notes-master3/.idea/sonarlint/issuestore/d/d/dd970bd8ce083850fca1d4d159647ccd110e57cb @@ -0,0 +1,15 @@ + +u +java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(л +j +java:S1192?"ODefine a constant instead of duplicating this literal "Wrong note id:" 3 times.( +O +java:S2589"8Remove this expression which always evaluates to "false"( +\ +java:S1126}"AReplace this if-then-else statement by a single return statement.(Ʒ +i +java:S3776"RRefactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.( +U +java:S1155">Use isEmpty() to check whether the collection is empty or not.( +\ +java:S2147"ECombine this catch with the one at line 242, which has the same body.(暩 \ No newline at end of file diff --git a/src/Notes-master3/.idea/sonarlint/securityhotspotstore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13 b/src/Notes-master3/.idea/sonarlint/securityhotspotstore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13 new file mode 100644 index 0000000..e69de29 diff --git a/src/Notes-master3/.idea/sonarlint/securityhotspotstore/3/2/32360bf24febc78f20db52498c7576b3d8650d56 b/src/Notes-master3/.idea/sonarlint/securityhotspotstore/3/2/32360bf24febc78f20db52498c7576b3d8650d56 new file mode 100644 index 0000000..e69de29 diff --git a/src/Notes-master3/.idea/sonarlint/securityhotspotstore/8/7/876016634c6642b35109680ccac740dc8271b236 b/src/Notes-master3/.idea/sonarlint/securityhotspotstore/8/7/876016634c6642b35109680ccac740dc8271b236 new file mode 100644 index 0000000..e69de29 diff --git a/src/Notes-master3/.idea/sonarlint/securityhotspotstore/a/4/a446c87b1013132f8adaf83656b582028e8809af b/src/Notes-master3/.idea/sonarlint/securityhotspotstore/a/4/a446c87b1013132f8adaf83656b582028e8809af new file mode 100644 index 0000000..e69de29 diff --git a/src/Notes-master3/.idea/sonarlint/securityhotspotstore/a/7/a7641cfac724321d508c2a284223a711011a93f5 b/src/Notes-master3/.idea/sonarlint/securityhotspotstore/a/7/a7641cfac724321d508c2a284223a711011a93f5 new file mode 100644 index 0000000..e69de29 diff --git a/src/Notes-master3/.idea/sonarlint/securityhotspotstore/c/4/c42ad3cd6e664963fa1849c760a57d417d500ee7 b/src/Notes-master3/.idea/sonarlint/securityhotspotstore/c/4/c42ad3cd6e664963fa1849c760a57d417d500ee7 new file mode 100644 index 0000000..e69de29 diff --git a/src/Notes-master3/.idea/sonarlint/securityhotspotstore/c/6/c65f5dc8218ef1da6f6bfb5d1b14aea855a54d7f b/src/Notes-master3/.idea/sonarlint/securityhotspotstore/c/6/c65f5dc8218ef1da6f6bfb5d1b14aea855a54d7f new file mode 100644 index 0000000..e69de29 diff --git a/src/Notes-master3/.idea/sonarlint/securityhotspotstore/d/d/dd970bd8ce083850fca1d4d159647ccd110e57cb b/src/Notes-master3/.idea/sonarlint/securityhotspotstore/d/d/dd970bd8ce083850fca1d4d159647ccd110e57cb new file mode 100644 index 0000000..e69de29