From f1c344fa9b23d0a53351df6a668f88b80cd9f68d Mon Sep 17 00:00:00 2001 From: ziji Wu <2193177243@qq.com> Date: Fri, 11 Oct 2019 09:05:56 +0800 Subject: [PATCH] m --- .../1eb2363b523dbcae43d3c6e4790c64436af61b13 | 13 +++++++ .../2b687ab930681e3885683578d43df600a0a20982 | 2 ++ .../3e688be40dc69cfd1062f41d0fc27fe261a26710 | 14 ++++++++ .../577f30d26378ec8a2bd2e4a43f3c79b3f04c402c | 17 +++++++++ .../6a65e747031f27aef20597b4181148a9fbf963d5 | 8 +++++ .../a7641cfac724321d508c2a284223a711011a93f5 | 8 +++++ .../ad72331a1bed265bb9c0fe838faa74dbf69fce32 | 36 +++++++++++++++++++ .../dd970bd8ce083850fca1d4d159647ccd110e57cb | 3 ++ 8 files changed, 101 insertions(+) create mode 100644 src/.idea/sonarlint/issuestore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13 create mode 100644 src/.idea/sonarlint/issuestore/2/b/2b687ab930681e3885683578d43df600a0a20982 create mode 100644 src/.idea/sonarlint/issuestore/3/e/3e688be40dc69cfd1062f41d0fc27fe261a26710 create mode 100644 src/.idea/sonarlint/issuestore/5/7/577f30d26378ec8a2bd2e4a43f3c79b3f04c402c create mode 100644 src/.idea/sonarlint/issuestore/6/a/6a65e747031f27aef20597b4181148a9fbf963d5 create mode 100644 src/.idea/sonarlint/issuestore/a/7/a7641cfac724321d508c2a284223a711011a93f5 create mode 100644 src/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32 create mode 100644 src/.idea/sonarlint/issuestore/d/d/dd970bd8ce083850fca1d4d159647ccd110e57cb diff --git a/src/.idea/sonarlint/issuestore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13 b/src/.idea/sonarlint/issuestore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13 new file mode 100644 index 0000000..c69800b --- /dev/null +++ b/src/.idea/sonarlint/issuestore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13 @@ -0,0 +1,13 @@ + +f squid:S1192"RDefine a constant instead of duplicating this literal " AFTER DELETE ON " 3 times.(B +u squid:S1192"[Define a constant instead of duplicating this literal " TEXT NOT NULL DEFAULT ''," 5 times.(޿ +7 squid:S1214""Move constants to a class or enum.( +_ squid:S1192"JDefine a constant instead of duplicating this literal " UPDATE " 8 times.( +b squid:S1192"HDefine a constant instead of duplicating this literal " SET " 8 times.(˓ +[ squid:S1192"FDefine a constant instead of duplicating this literal "=new." 6 times.(랰 +^ squid:S1192"IDefine a constant instead of duplicating this literal " WHERE " 8 times.(랰 +a squid:S1192"GDefine a constant instead of duplicating this literal " BEGIN" 6 times.( +s squid:S1192"^Define a constant instead of duplicating this literal " INTEGER NOT NULL DEFAULT 0," 11 times.( +` squid:S1192"FDefine a constant instead of duplicating this literal "=old." 6 times.( + squid:S1192"yDefine a constant instead of duplicating this literal " INTEGER NOT NULL DEFAULT (strftime('%s','now') * 1000)," 4 times.( +b squid:S1192"HDefine a constant instead of duplicating this literal " BEGIN " 4 times.( \ No newline at end of file diff --git a/src/.idea/sonarlint/issuestore/2/b/2b687ab930681e3885683578d43df600a0a20982 b/src/.idea/sonarlint/issuestore/2/b/2b687ab930681e3885683578d43df600a0a20982 new file mode 100644 index 0000000..92daee5 --- /dev/null +++ b/src/.idea/sonarlint/issuestore/2/b/2b687ab930681e3885683578d43df600a0a20982 @@ -0,0 +1,2 @@ + +e squid:S00101"MRename this class name to match the regular expression '^[A-Z][a-zA-Z0-9]*$'.( \ No newline at end of file diff --git a/src/.idea/sonarlint/issuestore/3/e/3e688be40dc69cfd1062f41d0fc27fe261a26710 b/src/.idea/sonarlint/issuestore/3/e/3e688be40dc69cfd1062f41d0fc27fe261a26710 new file mode 100644 index 0000000..0b9f7f7 --- /dev/null +++ b/src/.idea/sonarlint/issuestore/3/e/3e688be40dc69cfd1062f41d0fc27fe261a26710 @@ -0,0 +1,14 @@ + +L squid:S1135"2Complete the task associated to this TODO comment.(̐ += squid:S1148"#Use a logger to log this exception.(ԅ +_ squid:S2147"ECombine this catch with the one at line 117, which has the same body.( += squid:S1148"#Use a logger to log this exception.(ԅ += squid:S1148"#Use a logger to log this exception.(ԅ +L squid:S1135"2Complete the task associated to this TODO comment.(̐ +L squid:S1135"2Complete the task associated to this TODO comment.(̐ += squid:S1148"#Use a logger to log this exception.(ԅ +e squid:S1301"KReplace this "switch" statement by "if" statements to increase readability.(۫ +Z squid:S2147"ECombine this catch with the one at line 117, which has the same body.(ﭣ +Z squid:S2147"ECombine this catch with the one at line 117, which has the same body.( +L squid:S1135"2Complete the task associated to this TODO comment.(̐ += squid:S1148"#Use a logger to log this exception.(ԅ \ No newline at end of file diff --git a/src/.idea/sonarlint/issuestore/5/7/577f30d26378ec8a2bd2e4a43f3c79b3f04c402c b/src/.idea/sonarlint/issuestore/5/7/577f30d26378ec8a2bd2e4a43f3c79b3f04c402c new file mode 100644 index 0000000..72685eb --- /dev/null +++ b/src/.idea/sonarlint/issuestore/5/7/577f30d26378ec8a2bd2e4a43f3c79b3f04c402c @@ -0,0 +1,17 @@ + +V squid:S1126"AReplace this if-then-else statement by a single return statement.( +n squid:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").( +"squid:ClassVariableVisibilityCheck"WMake tvAlertDate a static final constant or non-public and provide accessors if needed.( +Isquid:EmptyStatementUsageCheck"Remove this empty statement.( +"squid:ClassVariableVisibilityCheck"WMake ivAlertIcon a static final constant or non-public and provide accessors if needed.(න +"squid:ClassVariableVisibilityCheck"XMake ibSetBgColor a static final constant or non-public and provide accessors if needed.( +l squid:S1450"WRemove the "mPattern" field and declare it as a local variable in the relevant methods.( +l squid:S3776"RRefactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed.(ݨ +s squid:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").( +s squid:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").( +I squid:S2864"4Iterate over the "entrySet" instead of the "keySet".(ԇ +s squid:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(ӏ +Isquid:EmptyStatementUsageCheck"Remove this empty statement.( +q squid:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥 +L squid:S1135"2Complete the task associated to this TODO comment.( +"squid:ClassVariableVisibilityCheck"VMake tvModified a static final constant or non-public and provide accessors if needed.(ԣ \ No newline at end of file diff --git a/src/.idea/sonarlint/issuestore/6/a/6a65e747031f27aef20597b4181148a9fbf963d5 b/src/.idea/sonarlint/issuestore/6/a/6a65e747031f27aef20597b4181148a9fbf963d5 new file mode 100644 index 0000000..973143b --- /dev/null +++ b/src/.idea/sonarlint/issuestore/6/a/6a65e747031f27aef20597b4181148a9fbf963d5 @@ -0,0 +1,8 @@ + +V squid:S1135"2Complete the task associated to this TODO comment.(8- +n squid:S1192"MDefine a constant instead of duplicating this literal "Unknown URI " 4 times.(8- +Y squid:S2130"8Use "Long.parseLong" for this string-to-long conversion.(8- +E squid:S1659"$Declare "noteId" on a separate line.(ؘ8- +I squid:S1659"(Declare "insertedId" on a separate line.(ؘ8- +U squid:S1153"1Directly append the argument of String.valueOf().(ߦ8- + squid:S3008"eRename this field "NOTES_SNIPPET_SEARCH_QUERY" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8ϵ- \ No newline at end of file diff --git a/src/.idea/sonarlint/issuestore/a/7/a7641cfac724321d508c2a284223a711011a93f5 b/src/.idea/sonarlint/issuestore/a/7/a7641cfac724321d508c2a284223a711011a93f5 new file mode 100644 index 0000000..5daa792 --- /dev/null +++ b/src/.idea/sonarlint/issuestore/a/7/a7641cfac724321d508c2a284223a711011a93f5 @@ -0,0 +1,8 @@ + +e squid:S1192"KDefine a constant instead of duplicating this literal "content://" 4 times.( +: squid:S1214""Move constants to a class or enum.( +W squid:S1118":Add a private constructor to hide the implicit public one.( +Q squid:S1135"2Complete the task associated to this TODO comment.(8- +T squid:S1118":Add a private constructor to hide the implicit public one.(͓ +> squid:S1214E""Move constants to a class or enum.(⸫ +R squid:S1118":Add a private constructor to hide the implicit public one.(߀ \ No newline at end of file diff --git a/src/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32 b/src/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32 new file mode 100644 index 0000000..93c7167 --- /dev/null +++ b/src/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32 @@ -0,0 +1,36 @@ + +N squid:S1199"-Extract this nested code block into a method.(̀8ٮ- +F squid:S3398"%Move this method into "ModeCallback".(8ٮ- +c squid:S1126"BReplace this if-then-else statement by a single method invocation.(玒8Ą- +L squid:S3398"0Move this method into "OnListItemClickListener".(8ѣ- +nsquid:ModifiersOrderCheck"EReorder the modifiers to comply with the Java Language Specification.(Ѿk8- +u squid:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥8ѣ- +S squid:S1135"2Complete the task associated to this TODO comment.(8- +F squid:S00108")Either remove or fill this block of code.(ʥ8ѣ- +S squid:S1135"2Complete the task associated to this TODO comment.(8Ą- +tsquid:ModifiersOrderCheck"EReorder the modifiers to comply with the Java Language Specification.(8- +N squid:S1199"-Extract this nested code block into a method.(ڿ8Ą- +7 squid:S3626"Remove this redundant jump.(݅8- +7 squid:S3626"Remove this redundant jump.(݅8- +S squid:S1135"2Complete the task associated to this TODO comment.(8- +m squid:S3776"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(b8ٮ- +S squid:S1135"2Complete the task associated to this TODO comment.(̐8- +7 squid:S3626"Remove this redundant jump.(݅8- +S squid:S1135"2Complete the task associated to this TODO comment.(8Ą- +N squid:S1199"-Extract this nested code block into a method.(8- +t squid:S1450"XRemove the "mMoveMenu" field and declare it as a local variable in the relevant methods.(8- +l squid:S1301"KReplace this "switch" statement by "if" statements to increase readability.(ד8ѣ- +N squid:S1199"-Extract this nested code block into a method.(8ٮ- +D squid:S1148"#Use a logger to log this exception.(ԅ8- +N squid:S1199"-Extract this nested code block into a method.(8- +D squid:S1148"#Use a logger to log this exception.(ԅ8- +n squid:S3776"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(8ѣ- +Psquid:EmptyStatementUsageCheck"Remove this empty statement.(8- +K squid:S2093"*Change this "try" to a try-with-resources.(8- +A squid:S3398"%Move this method into "ModeCallback".(8ѣ- +I squid:S1199"-Extract this nested code block into a method.(8ٮ- +m squid:S3776"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(#8Ą- +N squid:S1199"-Extract this nested code block into a method.(Η8- +s squid:S3776"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(8- +I squid:S1199"-Extract this nested code block into a method.(ȓ8Ą- +Isquid:EmptyStatementUsageCheck"Remove this empty statement.( \ No newline at end of file diff --git a/src/.idea/sonarlint/issuestore/d/d/dd970bd8ce083850fca1d4d159647ccd110e57cb b/src/.idea/sonarlint/issuestore/d/d/dd970bd8ce083850fca1d4d159647ccd110e57cb new file mode 100644 index 0000000..a07a689 --- /dev/null +++ b/src/.idea/sonarlint/issuestore/d/d/dd970bd8ce083850fca1d4d159647ccd110e57cb @@ -0,0 +1,3 @@ + +q squid:S3776"RRefactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed.(8- +b squid:S1126"AReplace this if-then-else statement by a single return statement.(8- \ No newline at end of file