finish store of todo item

This commit is contained in:
ziji Wu 2019-11-03 11:37:14 +08:00
parent 4ff6a811f4
commit 3ead165e1e
38 changed files with 612 additions and 569 deletions

View File

@ -1,6 +1,6 @@
? squid:S1125r"(Remove the literal "true" boolean value.(ãêÛì
n squid:S3776p"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(Ñý¨úýÿÿÿÿ
D squid:S1125q"(Remove the literal "true" boolean value.(¢´—Öÿÿÿÿÿ
t squid:S4144Á"\Update this method so that its implementation is not identical to "getParentId" on line 185.(ø¦¯ÿ
? squid:S1125T"(Remove the literal "true" boolean value.(ú«€É
? squid:S1125r"(Remove the literal "true" boolean value.(ãêÛì
D squid:S1125q"(Remove the literal "true" boolean value.(¢´—Öÿÿÿÿÿ

View File

@ -1,13 +1,13 @@
d squid:S1192"GDefine a constant instead of duplicating this literal " BEGIN" 6 times.(ÕêïŠþÿÿÿÿ
b squid:S1192r"FDefine a constant instead of duplicating this literal "=old." 6 times.(”»ÎÔüÿÿÿÿ
d squid:S1192b"HDefine a constant instead of duplicating this literal " BEGIN " 4 times.(ÕêïŠþÿÿÿÿ
] squid:S1192e"FDefine a constant instead of duplicating this literal "=new." 6 times.(Øëž°
u squid:S11927"^Define a constant instead of duplicating this literal " INTEGER NOT NULL DEFAULT 0," 11 times.(çÀœª
d squid:S1192d"HDefine a constant instead of duplicating this literal " SET " 8 times.(Õ÷Ë“üÿÿÿÿ
a squid:S1192c"JDefine a constant instead of duplicating this literal " UPDATE " 8 times.(ìó¥Ä
9 squid:S1214)""Move constants to a class or enum.(áÅÔö
i squid:S1192"RDefine a constant instead of duplicating this literal " AFTER DELETE ON " 3 times.(“áâB
w squid:S1192>"[Define a constant instead of duplicating this literal " TEXT NOT NULL DEFAULT ''," 5 times.(ƒþÞ¿ùÿÿÿÿ
` squid:S1192e"IDefine a constant instead of duplicating this literal " WHERE " 8 times.(Øëž°
 squid:S1192:"yDefine a constant instead of duplicating this literal " INTEGER NOT NULL DEFAULT (strftime('%s','now') * 1000)," 4 times.(ö’¸¸þÿÿÿÿ
` squid:S1192f"IDefine a constant instead of duplicating this literal " WHERE " 8 times.(Øëž°
 squid:S1192;"yDefine a constant instead of duplicating this literal " INTEGER NOT NULL DEFAULT (strftime('%s','now') * 1000)," 4 times.(ö’¸¸þÿÿÿÿ
9 squid:S1214*""Move constants to a class or enum.(áÅÔö
d squid:S1192c"HDefine a constant instead of duplicating this literal " BEGIN " 4 times.(ÕêïŠþÿÿÿÿ
b squid:S1192s"FDefine a constant instead of duplicating this literal "=old." 6 times.(”»ÎÔüÿÿÿÿ
w squid:S1192?"[Define a constant instead of duplicating this literal " TEXT NOT NULL DEFAULT ''," 5 times.(ƒþÞ¿ùÿÿÿÿ
a squid:S1192d"JDefine a constant instead of duplicating this literal " UPDATE " 8 times.(ìó¥Ä
u squid:S11928"^Define a constant instead of duplicating this literal " INTEGER NOT NULL DEFAULT 0," 11 times.(çÀœª
d squid:S1192"GDefine a constant instead of duplicating this literal " BEGIN" 6 times.(ÕêïŠþÿÿÿÿ
d squid:S1192e"HDefine a constant instead of duplicating this literal " SET " 8 times.(Õ÷Ë“üÿÿÿÿ
] squid:S1192f"FDefine a constant instead of duplicating this literal "=new." 6 times.(Øëž°
i squid:S1192ˆ"RDefine a constant instead of duplicating this literal " AFTER DELETE ON " 3 times.(“áâB

View File

@ -1,14 +1,14 @@
O squid:S1135"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
b squid:S2147"ECombine this catch with the one at line 127, which has the same body.(ÿëÛßúÿÿÿÿ
O squid:S1135ƒ"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
O squid:S1135"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
@ squid:S1148"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
] squid:S2147"ECombine this catch with the one at line 127, which has the same body.(‚ùïÄ
@ squid:S1148"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
O squid:S1135"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
@ squid:S1148<18>"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
] squid:S2147"ECombine this catch with the one at line 127, which has the same body.(‚ùïÄ
O squid:S1135"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
O squid:S1135ƒ"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
h squid:S1301š"KReplace this "switch" statement by "if" statements to increase readability.(öÛ«°þÿÿÿÿ
@ squid:S1148"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
b squid:S2147"ECombine this catch with the one at line 127, which has the same body.(ÿëÛßúÿÿÿÿ
] squid:S2147ˆ"ECombine this catch with the one at line 127, which has the same body.(ï­£Ä
? squid:S1148V"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
@ squid:S1148Š"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
O squid:S1135"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
] squid:S2147ˆ"ECombine this catch with the one at line 127, which has the same body.(ï­£Ä
@ squid:S1148<18>"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ

View File

@ -1,7 +1,7 @@
g squid:S1301h"KReplace this "switch" statement by "if" statements to increase readability.(ãÁð™øÿÿÿÿ
U"squid:SwitchLastCaseIsDefaultCheckh""Add a default case to this switch.(ãÁð™øÿÿÿÿ
p squid:S22931"YReplace the type specification in this constructor call with the diamond operator ("<>").(§þ¢¾
_ squid:S1126­"BReplace this if-then-else statement by a single method invocation.(‚å¿¥ûÿÿÿÿ
N squid:S1135c"2Complete the task associated to this TODO comment.(ƒŠ® úÿÿÿÿ
p squid:S22931"YReplace the type specification in this constructor call with the diamond operator ("<>").(§þ¢¾
Q squid:S2864Â"4Iterate over the "entrySet" instead of the "keySet".(ΚŸ<C5A1>ûÿÿÿÿ
U"squid:SwitchLastCaseIsDefaultCheckh""Add a default case to this switch.(ãÁð™øÿÿÿÿ
N squid:S1135c"2Complete the task associated to this TODO comment.(ƒŠ® úÿÿÿÿ
g squid:S1301h"KReplace this "switch" statement by "if" statements to increase readability.(ãÁð™øÿÿÿÿ

View File

@ -1,20 +1,20 @@
  squid:S1186Â"€Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.(<28>±¾ê8µû¬à-
u squid:S2293`"YReplace the type specification in this constructor call with the diamond operator ("<>").(ÑÓ<C391>¥üÿÿÿÿ
p squid:S2293}"YReplace the type specification in this constructor call with the diamond operator ("<>").(À—’¢
Y squid:S1126"AReplace this if-then-else statement by a single return statement.(®ÎÚÉ
Lsquid:EmptyStatementUsageCheckÒ"Remove this empty statement.(ôŸŽìúÿÿÿÿ
"squid:ClassVariableVisibilityCheck\"XMake ibSetBgColor a static final constant or non-public and provide accessors if needed.(ýãä¬üÿÿÿÿ
o squid:S1450µ"WRemove the "mPattern" field and declare it as a local variable in the relevant methods.(©´ÖÛ
u squid:S2293j"YReplace the type specification in this constructor call with the diamond operator ("<>").(®ú÷õþÿÿÿÿ
o squid:S1450"WRemove the "mPattern" field and declare it as a local variable in the relevant methods.(©´ÖÛ
"squid:ClassVariableVisibilityCheckS"VMake tvModified a static final constant or non-public and provide accessors if needed.(ƒëÔ£ÿÿÿÿÿ
 squid:S00115¢"ZRename this constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.(ÈáÐ<C3A1>ûÿÿÿÿ8µû¬à-
o squid:S3776Ü"RRefactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed.(ݨÁ±øÿÿÿÿ
Lsquid:EmptyStatementUsageCheckì"Remove this empty statement.(ôŸŽìúÿÿÿÿ
O squid:S1135Ø"2Complete the task associated to this TODO comment.(Ùü§“ýÿÿÿÿ
q squid:S2293¢"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥ð
L squid:S2864Å"4Iterate over the "entrySet" instead of the "keySet".(­Ô‡ï
  squid:S1186±"€Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.(«û³±8µû¬à-
u squid:S2293`"YReplace the type specification in this constructor call with the diamond operator ("<>").(ÑÓ<C391>¥üÿÿÿÿ
Lsquid:EmptyStatementUsageCheckõ"Remove this empty statement.(ôŸŽìúÿÿÿÿ
Š"squid:ClassVariableVisibilityCheckY"WMake tvAlertDate a static final constant or non-public and provide accessors if needed.(“²<E2809C>Öúÿÿÿÿ
u squid:S2293t"YReplace the type specification in this constructor call with the diamond operator ("<>").(êÝýÂþÿÿÿÿ
x squid:S2293¸"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥ð8ÎÀýâ-
O squid:S1135Ù"2Complete the task associated to this TODO comment.(Ùü§“ýÿÿÿÿ
 squid:S00115¢"ZRename this constant name to match the regular expression '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.(ÈáÐ<C3A1>ûÿÿÿÿ8µû¬à-
o squid:S3776Ý"RRefactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed.(ݨÁ±øÿÿÿÿ
p squid:S2293}"YReplace the type specification in this constructor call with the diamond operator ("<>").(À—’¢
L squid:S2864Æ"4Iterate over the "entrySet" instead of the "keySet".(­Ô‡ï
Y squid:S1126¢"AReplace this if-then-else statement by a single return statement.(®ÎÚÉ
Š"squid:ClassVariableVisibilityCheckV"WMake ivAlertIcon a static final constant or non-public and provide accessors if needed.(ªà¶±ûÿÿÿÿ
u squid:S2293t"YReplace the type specification in this constructor call with the diamond operator ("<>").(êÝýÂþÿÿÿÿ
  squid:S1186º"€Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.(«û³±8µû¬à-
  squid:S1186Ë"€Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.(<28>±¾ê8µû¬à-
u squid:S2293j"YReplace the type specification in this constructor call with the diamond operator ("<>").(®ú÷õþÿÿÿÿ
"squid:ClassVariableVisibilityCheck\"XMake ibSetBgColor a static final constant or non-public and provide accessors if needed.(ýãä¬üÿÿÿÿ
Lsquid:EmptyStatementUsageCheckÛ"Remove this empty statement.(ôŸŽìúÿÿÿÿ

View File

@ -1,8 +1,8 @@
ˆ squid:S3008V"eRename this field "NOTES_SNIPPET_SEARCH_QUERY" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Èò<C388>ƒùÿÿÿÿ8ϵ•âÔ-
U squid:S1153ß"1Directly append the argument of String.valueOf().(œËߦýÿÿÿÿ8´¼ìÁÛ-
q squid:S1192®"MDefine a constant instead of duplicating this literal "Unknown URI " 4 times.(¶ª¦þüÿÿÿÿ8¡­ÁÛ-
H squid:S1659¼"$Declare "noteId" on a separate line.(Ÿàؘøÿÿÿÿ8¡­ÁÛ-
\ squid:S2130õ"8Use "Long.parseLong" for this string-to-long conversion.(•ãÿ¬ÿÿÿÿÿ8¡­ÁÛ-
L squid:S1659¼"(Declare "insertedId" on a separate line.(Ÿàؘøÿÿÿÿ8¡­ÁÛ-
ˆ squid:S3008V"eRename this field "NOTES_SNIPPET_SEARCH_QUERY" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Èò<C388>ƒùÿÿÿÿ8ϵ•âÔ-
V squid:S1135î"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8´¼ìÁÛ-
H squid:S1659¼"$Declare "noteId" on a separate line.(Ÿàؘøÿÿÿÿ8¡­ÁÛ-
L squid:S1659¼"(Declare "insertedId" on a separate line.(Ÿàؘøÿÿÿÿ8¡­ÁÛ-
\ squid:S2130õ"8Use "Long.parseLong" for this string-to-long conversion.(•ãÿ¬ÿÿÿÿÿ8¡­ÁÛ-

View File

@ -1,6 +1,6 @@
Y squid:S1126"AReplace this if-then-else statement by a single return statement.(¶ø ˜
9 squid:S2386T"Make this member "protected".(Ñ㳎ýÿÿÿÿ
4 squid:S2386I"Make this member "protected".(”µåÓ
@ squid:S1125ê"(Remove the literal "true" boolean value.(ÍÛì•
G squid:S1066æ"/Merge this if statement with the enclosing one.(â<>®¾
9 squid:S2386V"Make this member "protected".(Ñ㳎ýÿÿÿÿ
4 squid:S2386K"Make this member "protected".(”µåÓ
Y squid:S1126"AReplace this if-then-else statement by a single return statement.(¶ø ˜
@ squid:S1125î"(Remove the literal "true" boolean value.(ÍÛì•
G squid:S1066è"/Merge this if statement with the enclosing one.(â<>®¾

View File

@ -1,3 +1,3 @@
u squid:S22931"YReplace the type specification in this constructor call with the diamond operator ("<>").(<28>½ñäÿÿÿÿÿ
Q squid:S1118":Add a private constructor to hide the implicit public one.(ãÛÒÛ
u squid:S22932"YReplace the type specification in this constructor call with the diamond operator ("<>").(<28>½ñäÿÿÿÿÿ

View File

@ -1,8 +1,8 @@
> squid:S1214E""Move constants to a class or enum.(É⸫úÿÿÿÿ
R squid:S1118":Add a private constructor to hide the implicit public one.(߀°•
Q squid:S1135À"2Complete the task associated to this TODO comment.(ûš„ÿ8ž¦¨àÔ-
g squid:S1192<"KDefine a constant instead of duplicating this literal "content://" 4 times.(š¨ú¯üÿÿÿÿ
W squid:S1118":Add a private constructor to hide the implicit public one.(<28>ˆþÿÿÿÿ
: squid:S1214µ""Move constants to a class or enum.(ŠÉôŸ
V squid:S11185":Add a private constructor to hide the implicit public one.(ž’Í“úÿÿÿÿ
Q squid:S1135Ã"2Complete the task associated to this TODO comment.(ûš„ÿ8ž¦¨àÔ-
g squid:S1192?"KDefine a constant instead of duplicating this literal "content://" 4 times.(š¨ú¯üÿÿÿÿ
R squid:S1118":Add a private constructor to hide the implicit public one.(߀°•
V squid:S11188":Add a private constructor to hide the implicit public one.(ž’Í“úÿÿÿÿ
> squid:S1214H""Move constants to a class or enum.(É⸫úÿÿÿÿ
: squid:S1214¸""Move constants to a class or enum.(ŠÉôŸ
W squid:S1118":Add a private constructor to hide the implicit public one.(<28>ˆþÿÿÿÿ

View File

@ -1,36 +1,36 @@
Q squid:S1199Î"-Extract this nested code block into a method.(ãÍ€ôÿÿÿÿÿ8˜í÷”â-
V squid:S1135¦"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8˜í÷”â-
f squid:S1126œ"BReplace this if-then-else statement by a single method invocation.(玒¦ýÿÿÿÿ8˜í÷”â-
V squid:S1135ÿ"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ8˜í÷”â-
Q squid:S1199â"-Extract this nested code block into a method.(Á¬å¯ûÿÿÿÿ8˜í÷”â-
G squid:S1148ø"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ8˜í÷”â-
V squid:S1135ö"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8˜í÷”â-
o squid:S1301­"KReplace this "switch" statement by "if" statements to increase readability.(ד¾ñùÿÿÿÿ8˜í÷”â-
p squid:S3776­"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(ôŒùb8˜í÷”â-
V squid:S1135ñ"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8˜í÷”â-
wsquid:ModifiersOrderCheck"EReorder the modifiers to comply with the Java Language Specification.(¹úæµûÿÿÿÿ8¾ûÑá-
qsquid:ModifiersOrderCheckš"EReorder the modifiers to comply with the Java Language Specification.(ìѾk8¾ûÑá-
L squid:S1199Â"-Extract this nested code block into a method.(ŒãÈ“8˜í÷”â-
: squid:S3626<18>"Remove this redundant jump.(ûÁÝ…8˜í÷”â-
V squid:S1135ö"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8˜í÷”â-
x squid:S2293ö"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥ð8˜í÷”â-
V squid:S1135"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8˜í÷”â-
G squid:S1148"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ8˜í÷”â-
L squid:S1199Þ"-Extract this nested code block into a method.(Žÿõó8˜í÷”â-
q squid:S3776Æ"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(ãìîí8˜í÷”â-
p squid:S3776Ì"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(ÅôÉ#8˜í÷”â-
Q squid:S1199â"-Extract this nested code block into a method.(Á¬å¯ûÿÿÿÿ8˜í÷”â-
o squid:S1301­"KReplace this "switch" statement by "if" statements to increase readability.(ד¾ñùÿÿÿÿ8˜í÷”â-
I squid:S3398Ý"%Move this method into "ModeCallback".(“ðÉçýÿÿÿÿ8˜í÷”â-
Q squid:S1199ß"-Extract this nested code block into a method.(ê¶ôÐùÿÿÿÿ8˜í÷”â-
D squid:S3398Æ"%Move this method into "ModeCallback".(ãìîí8˜í÷”â-
Q squid:S1199ç"-Extract this nested code block into a method.(Η­Šþÿÿÿÿ8˜í÷”â-
N squid:S2093ç"*Change this "try" to a try-with-resources.(¡»¢üùÿÿÿÿ8˜í÷”â-
Q squid:S1199º"-Extract this nested code block into a method.(µ˜ÇÃøÿÿÿÿ8˜í÷”â-
G squid:S1148ø"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ8˜í÷”â-
V squid:S1135¦"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8˜í÷”â-
: squid:S3626õ"Remove this redundant jump.(ûÁÝ…8˜í÷”â-
: squid:S3626ù"Remove this redundant jump.(ûÁÝ…8˜í÷”â-
V squid:S1135ÿ"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ8˜í÷”â-
Q squid:S1199Î"-Extract this nested code block into a method.(ãÍ€ôÿÿÿÿÿ8˜í÷”â-
w squid:S1450º"XRemove the "mMoveMenu" field and declare it as a local variable in the relevant methods.(ž¢—ò8˜í÷”â-
Ssquid:EmptyStatementUsageCheckó"Remove this empty statement.(ôŸŽìúÿÿÿÿ8˜í÷”â-
I squid:S00108Í")Either remove or fill this block of code.(žûÊ¥8˜í÷”â-
Q squid:S1199È"-Extract this nested code block into a method.(Ú¿–€úÿÿÿÿ8˜í÷”â-
Rsquid:EmptyStatementUsageChecki"Remove this empty statement.(ôŸŽìúÿÿÿÿ8¾ûÑá-
qsquid:ModifiersOrderCheckš"EReorder the modifiers to comply with the Java Language Specification.(ìѾk8¾ûÑá-
N squid:S2093ç"*Change this "try" to a try-with-resources.(¡»¢üùÿÿÿÿ8˜í÷”â-
p squid:S3776Ì"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(ÅôÉ#8˜í÷”â-
: squid:S3626õ"Remove this redundant jump.(ûÁÝ…8˜í÷”â-
w squid:S1450º"XRemove the "mMoveMenu" field and declare it as a local variable in the relevant methods.(ž¢—ò8˜í÷”â-
Q squid:S1199º"-Extract this nested code block into a method.(µ˜ÇÃøÿÿÿÿ8˜í÷”â-
v squid:S3776â"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(áé–Þÿÿÿÿÿ8˜í÷”â-
Q squid:S1199ß"-Extract this nested code block into a method.(ê¶ôÐùÿÿÿÿ8˜í÷”â-
G squid:S1148"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ8˜í÷”â-
I squid:S3398Ý"%Move this method into "ModeCallback".(“ðÉçýÿÿÿÿ8˜í÷”â-
V squid:S1135ñ"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8˜í÷”â-
p squid:S3776­"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(ôŒùb8˜í÷”â-
D squid:S3398Æ"%Move this method into "ModeCallback".(ãìîí8˜í÷”â-
: squid:S3626<18>"Remove this redundant jump.(ûÁÝ…8˜í÷”â-
L squid:S1199Þ"-Extract this nested code block into a method.(Žÿõó8˜í÷”â-
O squid:S3398"0Move this method into "OnListItemClickListener".(‘ðð¡8£òÊ•â-
wsquid:ModifiersOrderCheck"EReorder the modifiers to comply with the Java Language Specification.(¹úæµûÿÿÿÿ8¾ûÑá-
Q squid:S1199ç"-Extract this nested code block into a method.(Η­Šþÿÿÿÿ8˜í÷”â-
x squid:S2293ö"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥ð8˜í÷”â-
: squid:S3626ù"Remove this redundant jump.(ûÁÝ…8˜í÷”â-
I squid:S00108Í")Either remove or fill this block of code.(žûÊ¥8˜í÷”â-
q squid:S3776Æ"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(ãìîí8˜í÷”â-
Ssquid:EmptyStatementUsageCheckó"Remove this empty statement.(ôŸŽìúÿÿÿÿ8˜í÷”â-
V squid:S1135"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8˜í÷”â-
v squid:S3776â"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(áé–Þÿÿÿÿÿ8˜í÷”â-

View File

@ -1,3 +1,3 @@
q squid:S3776Ù"RRefactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed.(<28>¤§²8­ ŠÔÑ-
e squid:S1126"AReplace this if-then-else statement by a single return statement.(‚èåÎüÿÿÿÿ8¥ÞëÂÛ-
q squid:S3776Ø"RRefactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed.(<28>¤§²8­ ŠÔÑ-

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
#Sat Nov 02 11:40:40 CST 2019
#Sun Nov 03 08:35:24 CST 2019
base.0=C\:\\Project\\minote\\src\\app\\build\\intermediates\\dex\\debug\\mergeDexDebug\\out\\classes.dex
path.0=classes.dex
renamed.0=classes.dex

View File

@ -31,15 +31,17 @@ import net.micode.notes.data.Notes.NoteColumns;
import net.micode.notes.data.Notes.TextNote;
import net.micode.notes.tool.ResourceParser.NoteBgResources;
/*
* 该类实现了对当前便签的建模包括显示当前便签设置提醒等
* */
public class WorkingNote {
// Note for the working note
// 当前便签
private Note mNote;
// Note Id
// 便签Id
private long mNoteId;
// Note content
// 便签内容
private String mContent;
// Note mode
// 便签模式
private int mMode;
//记录闹铃时间
@ -344,6 +346,7 @@ public class WorkingNote {
}
}
//该方法实现了保存当前新增内容的功能
public void setWorkingText(String text) {
if (!TextUtils.equals(mContent, text)) {
mContent = text;
@ -358,10 +361,12 @@ public class WorkingNote {
mNote.setNoteValue(NoteColumns.PARENT_ID, String.valueOf(Notes.ID_CALL_RECORD_FOLDER));
}
//判断是否设置提醒的方法
public boolean hasClockAlert() {
return (mAlertDate > 0 ? true : false);
}
//获取便签内容
public String getContent() {
return mContent;
}

View File

@ -30,7 +30,9 @@ import java.util.HashMap;
import java.util.HashSet;
import java.util.Iterator;
/*
* 该类实现了便签列表项与list View的适配
* */
public class NotesListAdapter extends CursorAdapter {
private static final String TAG = "NotesListAdapter";
private Context mContext;