diff --git a/src/Notes-master1/.gradle/7.2/executionHistory/executionHistory.bin b/src/Notes-master1/.gradle/7.2/executionHistory/executionHistory.bin index f6607863..021cc430 100644 Binary files a/src/Notes-master1/.gradle/7.2/executionHistory/executionHistory.bin and b/src/Notes-master1/.gradle/7.2/executionHistory/executionHistory.bin differ diff --git a/src/Notes-master1/.gradle/7.2/executionHistory/executionHistory.lock b/src/Notes-master1/.gradle/7.2/executionHistory/executionHistory.lock index 5c523e34..fca01f15 100644 Binary files a/src/Notes-master1/.gradle/7.2/executionHistory/executionHistory.lock and b/src/Notes-master1/.gradle/7.2/executionHistory/executionHistory.lock differ diff --git a/src/Notes-master1/.gradle/7.2/fileHashes/fileHashes.bin b/src/Notes-master1/.gradle/7.2/fileHashes/fileHashes.bin index 7d322091..3f5e40a7 100644 Binary files a/src/Notes-master1/.gradle/7.2/fileHashes/fileHashes.bin and b/src/Notes-master1/.gradle/7.2/fileHashes/fileHashes.bin differ diff --git a/src/Notes-master1/.gradle/7.2/fileHashes/fileHashes.lock b/src/Notes-master1/.gradle/7.2/fileHashes/fileHashes.lock index 88151c0f..480ab0b7 100644 Binary files a/src/Notes-master1/.gradle/7.2/fileHashes/fileHashes.lock and b/src/Notes-master1/.gradle/7.2/fileHashes/fileHashes.lock differ diff --git a/src/Notes-master1/.gradle/7.2/fileHashes/resourceHashesCache.bin b/src/Notes-master1/.gradle/7.2/fileHashes/resourceHashesCache.bin index 80eeb738..5af32dd9 100644 Binary files a/src/Notes-master1/.gradle/7.2/fileHashes/resourceHashesCache.bin and b/src/Notes-master1/.gradle/7.2/fileHashes/resourceHashesCache.bin differ diff --git a/src/Notes-master1/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/src/Notes-master1/.gradle/buildOutputCleanup/buildOutputCleanup.lock index 125621fc..3c1fa816 100644 Binary files a/src/Notes-master1/.gradle/buildOutputCleanup/buildOutputCleanup.lock and b/src/Notes-master1/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/src/Notes-master1/.gradle/buildOutputCleanup/outputFiles.bin b/src/Notes-master1/.gradle/buildOutputCleanup/outputFiles.bin index 21bcd76d..14e5c4f0 100644 Binary files a/src/Notes-master1/.gradle/buildOutputCleanup/outputFiles.bin and b/src/Notes-master1/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/src/Notes-master1/.idea/misc.xml b/src/Notes-master1/.idea/misc.xml index d80fb203..26a7d2c7 100644 --- a/src/Notes-master1/.idea/misc.xml +++ b/src/Notes-master1/.idea/misc.xml @@ -27,6 +27,7 @@ + diff --git a/src/Notes-master1/.idea/sonarlint/issuestore/0/e/0e854f4195c0d44c8ada29e4ad9b0cb3970cb0e6 b/src/Notes-master1/.idea/sonarlint/issuestore/0/e/0e854f4195c0d44c8ada29e4ad9b0cb3970cb0e6 index 41edf84d..c58e1462 100644 --- a/src/Notes-master1/.idea/sonarlint/issuestore/0/e/0e854f4195c0d44c8ada29e4ad9b0cb3970cb0e6 +++ b/src/Notes-master1/.idea/sonarlint/issuestore/0/e/0e854f4195c0d44c8ada29e4ad9b0cb3970cb0e6 @@ -1,4 +1,42 @@ +U +java:S1118&":Add a private constructor to hide the implicit public one.( +Z +java:S2147E"DCombine this catch with the one at line 67, which has the same body.(暩 +[ +java:S2147m"ECombine this catch with the one at line 107, 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".( +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:S1192y"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".( +T +java:S1155-">Use isEmpty() to check whether the collection is empty or not.( +S +java:S2589f"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.( Z diff --git a/src/Notes-master1/.idea/sonarlint/issuestore/4/6/4623bd3eb8366c31819ef25a6dc50fee4400c6d6 b/src/Notes-master1/.idea/sonarlint/issuestore/4/6/4623bd3eb8366c31819ef25a6dc50fee4400c6d6 deleted file mode 100644 index 461af098..00000000 --- a/src/Notes-master1/.idea/sonarlint/issuestore/4/6/4623bd3eb8366c31819ef25a6dc50fee4400c6d6 +++ /dev/null @@ -1,12 +0,0 @@ - -m -java:S37768"RRefactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed.( -O -java:S1874D"9Remove this use of "setTextAppearance"; it is deprecated.( -O -java:S1874K"9Remove this use of "setTextAppearance"; it is deprecated.( -O -java:S1874U"9Remove this use of "setTextAppearance"; it is deprecated.( -f java:S117s"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.( -f java:S117x"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(㷔 -f java:S117y"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Õ \ No newline at end of file diff --git a/src/Notes-master1/.idea/sonarlint/issuestore/5/3/53b98e6d0ece8f8c43934ef63db400be3bbe507c b/src/Notes-master1/.idea/sonarlint/issuestore/5/3/53b98e6d0ece8f8c43934ef63db400be3bbe507c index c3923a25..a73f24ee 100644 --- a/src/Notes-master1/.idea/sonarlint/issuestore/5/3/53b98e6d0ece8f8c43934ef63db400be3bbe507c +++ b/src/Notes-master1/.idea/sonarlint/issuestore/5/3/53b98e6d0ece8f8c43934ef63db400be3bbe507c @@ -11,10 +11,10 @@ J java:S2864o"4Iterate over the "entrySet" instead of the "keySet".(਷ B java:S1125p"'Remove the unnecessary boolean literal.(ɯ -H -java:S1168~"+Return an empty collection instead of null.(8ͭ/ -J -java:S1125"'Remove the unnecessary boolean literal.(8ͭ/ +A +java:S1168~"+Return an empty collection instead of null.( +C +java:S1125"'Remove the unnecessary boolean literal.( t java:S22931"YReplace the type specification in this constructor call with the diamond operator ("<>").(ə o @@ -31,11 +31,11 @@ j java:S1104*"TMake widgetId a static final constant or non-public and provide accessors if needed.(ǎ q java:S1104+"VMake widgetType a static final constant or non-public and provide accessors if needed.(漬 -y -java:S1104,"\Make widgetHavePasswd a static final constant or non-public and provide accessors if needed.(8/ +r +java:S1104,"\Make widgetHavePasswd a static final constant or non-public and provide accessors if needed.( E java:S5411`"*Use the primitive boolean expression here.(ɯ E java:S5411p"*Use the primitive boolean expression here.(ɯ -M -java:S5411"*Use the primitive boolean expression here.(8ͭ/ \ No newline at end of file +F +java:S5411"*Use the primitive boolean expression here.( \ No newline at end of file diff --git a/src/Notes-master1/.idea/sonarlint/issuestore/6/c/6c40630893054a28c13c2eb04ceb5fa51173b0b6 b/src/Notes-master1/.idea/sonarlint/issuestore/6/c/6c40630893054a28c13c2eb04ceb5fa51173b0b6 new file mode 100644 index 00000000..9bb3367f --- /dev/null +++ b/src/Notes-master1/.idea/sonarlint/issuestore/6/c/6c40630893054a28c13c2eb04ceb5fa51173b0b6 @@ -0,0 +1,115 @@ + + +java:S1186"Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.(ۛ8/ +n +java:S1450"WRemove the "editText" field and declare it as a local variable in the relevant methods.( +n +java:S1450"WRemove the "mPattern" field and declare it as a local variable in the relevant methods.( +{ +java:S1149"_Replace the synchronized class "StringBuffer" by an unsynchronized one such as "StringBuilder".(᯲ + +java:S1149"_Replace the synchronized class "StringBuffer" by an unsynchronized one such as "StringBuilder".(Ȍ8Ӓ/ +i java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.( +n +java:S3776"RRefactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed.(ݨ +W +java:S1874"@Remove this use of "SOFT_INPUT_ADJUST_RESIZE"; it is deprecated.(ѯ +\ +java:S1874"@Remove this use of "SOFT_INPUT_ADJUST_RESIZE"; it is deprecated.(ң +O +java:S1874"9Remove this use of "setTextAppearance"; it is deprecated.(( +K +java:S2864"4Iterate over the "entrySet" instead of the "keySet".(ԇ +N +java:S1135"2Complete the task associated to this TODO comment.( +8 +java:S1116"Remove this empty statement.( +X +java:S1126"AReplace this if-then-else statement by a single return statement.( +8 +java:S1116"Remove this empty statement.( +P +java:S1874"9Remove this use of "PreferenceManager"; it is deprecated.( +Z +java:S1874"CRemove this use of "getDefaultSharedPreferences"; it is deprecated.( +U +java:S1874"9Remove this use of "setTextAppearance"; it is deprecated.( +G +java:S1874"0Remove this use of "getColor"; it is deprecated.( +d +java:S3252"MUse static access with "android.text.Spanned" for "SPAN_INCLUSIVE_EXCLUSIVE".( +U +java:S1874"9Remove this use of "setTextAppearance"; it is deprecated.( +T +java:S1874"=Remove this use of "EXTRA_SHORTCUT_INTENT"; it is deprecated.(ð +R +java:S1874";Remove this use of "EXTRA_SHORTCUT_NAME"; it is deprecated.( +[ +java:S1874"DRemove this use of "EXTRA_SHORTCUT_ICON_RESOURCE"; it is deprecated.(Ǿ +i java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.( +i java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ְ +M +java:S1197"*Move the array designators [] to the type.(Ŋ8Ӓ/ +H +java:S1197"*Move the array designators [] to the type.(Ԅ8Ӓ/ + +java:S1186"Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.(\8/ + +java:S1149"_Replace the synchronized class "StringBuffer" by an unsynchronized one such as "StringBuilder".(Ȍ8/ +V +java:S1854"8Remove this useless assignment to local variable "edit".(ߛ8/ +V java:S106"9Replace this use of System.out or System.err by a logger.(8Ӓ/ +V java:S106"9Replace this use of System.out or System.err by a logger.(8Ӓ/ +G +java:S1481")Remove this unused "edit" local variable.(ߛ8/ +W +java:S2864"4Iterate over the "entrySet" instead of the "keySet".(8/ + +java:S1186 "Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.(Կ48/ +V java:S106"9Replace this use of System.out or System.err by a logger.(8/ +C +java:S1068",Remove this unused "editText" private field.( +O +java:S1068"1Remove this unused "mRecoListener" private field.(ڕ8/ +t +java:S2293q"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 ("<>").( +p +java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").( +w +java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(8Ւ/ +p +java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥 +w +java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(8śӒ/ +l java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.( +l java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ӏ +? +java:S1604"(Make this anonymous inner class a lambda(ά +? +java:S1604"(Make this anonymous inner class a lambda( +? +java:S1604"(Make this anonymous inner class a lambda(ߒ +? +java:S1604"(Make this anonymous inner class a lambda( +D +java:S1604"(Make this anonymous inner class a lambda( +? +java:S1604"(Make this anonymous inner class a lambda(ά +q +java:S1104d"VMake tvModified a static final constant or non-public and provide accessors if needed.(ԣ +r +java:S1104f"WMake ivAlertIcon a static final constant or non-public and provide accessors if needed.(න +r +java:S1104h"WMake tvAlertDate a static final constant or non-public and provide accessors if needed.( +s +java:S1104j"XMake ibSetBgColor a static final constant or non-public and provide accessors if needed.( +h +java:S1104l"RMake ivLock a static final constant or non-public and provide accessors if needed.(ؕ +u +java:S1104n"SMake ivRadio a static final constant or non-public and provide accessors if needed.(8/ +V +java:S3516"9Refactor this method to not always return the same value.(l8В/ \ No newline at end of file diff --git a/src/Notes-master1/.idea/sonarlint/issuestore/7/2/72971ba5cd5eebd08ece719bc9283211cd06a429 b/src/Notes-master1/.idea/sonarlint/issuestore/7/2/72971ba5cd5eebd08ece719bc9283211cd06a429 new file mode 100644 index 00000000..7c438270 --- /dev/null +++ b/src/Notes-master1/.idea/sonarlint/issuestore/7/2/72971ba5cd5eebd08ece719bc9283211cd06a429 @@ -0,0 +1,9 @@ + +z +java:S1149 "_Replace the synchronized class "StringBuffer" by an unsynchronized one such as "StringBuilder".( +z +java:S1149"_Replace the synchronized class "StringBuffer" by an unsynchronized one such as "StringBuilder".( +z +java:S11498"_Replace the synchronized class "StringBuffer" by an unsynchronized one such as "StringBuilder".( +U +java:S1118":Add a private constructor to hide the implicit public one.( \ No newline at end of file diff --git a/src/Notes-master1/.idea/sonarlint/issuestore/7/b/7bccae5ecd745bba36ddfd464ec07b66de678477 b/src/Notes-master1/.idea/sonarlint/issuestore/7/b/7bccae5ecd745bba36ddfd464ec07b66de678477 index 4952694d..fbc1005c 100644 --- a/src/Notes-master1/.idea/sonarlint/issuestore/7/b/7bccae5ecd745bba36ddfd464ec07b66de678477 +++ b/src/Notes-master1/.idea/sonarlint/issuestore/7/b/7bccae5ecd745bba36ddfd464ec07b66de678477 @@ -40,68 +40,68 @@ java:S1874 java:S1116"Remove this empty statement.( i java:S3776"RRefactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed.( -M -java:S1874"1Remove this use of "AsyncTask"; it is deprecated.(?8/ -F java:S108")Either remove or fill this block of code.(ʥ8/ +F +java:S1874"1Remove this use of "AsyncTask"; it is deprecated.(? +? java:S108")Either remove or fill this block of code.(ʥ +a +java:S1874"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(Ϳ +K +java:S1874"/Remove this use of "execute"; it is deprecated.(嫏 h -java:S1874"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(Ϳ8/ -R -java:S1874"/Remove this use of "execute"; it is deprecated.(嫏8/ -o -java:S3776"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(#8/ -U -java:S1135"2Complete the task associated to this TODO comment.(8/ -e -java:S1126"BReplace this if-then-else statement by a single method invocation.(玒8/ -U -java:S1135"2Complete the task associated to this TODO comment.(8/ -T -java:S2696"6Make the enclosing method "static" or remove this set.(8/ -T -java:S2696"6Make the enclosing method "static" or remove this set.(8/ -T -java:S1874"1Remove this use of "AsyncTask"; it is deprecated.(Ч8/ -m -java:S1874"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(ች8/ -R -java:S1874"/Remove this use of "execute"; it is deprecated.(嫏8/ -o -java:S3776"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(b8/ -n java:S128"LEnd this switch case with an unconditional break, return or throw statement.(δ8¼/ +java:S3776"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(# +N +java:S1135"2Complete the task associated to this TODO comment.( +^ +java:S1126"BReplace this if-then-else statement by a single method invocation.(玒 N -java:S3398"0Move this method into "OnListItemClickListener".(8ȼ/ -H -java:S3398"%Move this method into "ModeCallback".(8ȼ/ +java:S1135"2Complete the task associated to this TODO comment.( +M +java:S2696"6Make the enclosing method "static" or remove this set.( +M +java:S2696"6Make the enclosing method "static" or remove this set.( +M +java:S1874"1Remove this use of "AsyncTask"; it is deprecated.(Ч +f +java:S1874"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(ች +K +java:S1874"/Remove this use of "execute"; it is deprecated.(嫏 +h +java:S3776"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(b +g java:S128"LEnd this switch case with an unconditional break, return or throw statement.(δ +G +java:S3398"0Move this method into "OnListItemClickListener".( +A +java:S3398"%Move this method into "ModeCallback".( < java:S3398"%Move this method into "ModeCallback".( K java:S3398"/Move this method into "BackgroundQueryHandler".( -w -java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥8ʼ/ +p +java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥 b java:S1192"FDefine a constant instead of duplicating this literal " AND " 5 times.( ] java:S1192"FDefine a constant instead of duplicating this literal " DESC" 4 times.( -n java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8Ӽ/ +g java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.( > java:S1604"(Make this anonymous inner class a lambda(̺V ? java:S1604"(Make this anonymous inner class a lambda(ά ? java:S1604"(Make this anonymous inner class a lambda(ܴ -F -java:S1604"(Make this anonymous inner class a lambda(8ּ/ -K -java:S1604"(Make this anonymous inner class a lambda(8ּ/ -K -java:S1604"(Make this anonymous inner class a lambda(8ּ/ -F -java:S1604"(Make this anonymous inner class a lambda(8׼/ -F -java:S1604"(Make this anonymous inner class a lambda(۱8׼/ -F -java:S1604"(Make this anonymous inner class a lambda(ά8׼/ -n -java:S1301"KReplace this "switch" statement by "if" statements to increase readability.(ד8ؼ/ +? +java:S1604"(Make this anonymous inner class a lambda( +D +java:S1604"(Make this anonymous inner class a lambda( +D +java:S1604"(Make this anonymous inner class a lambda( +? +java:S1604"(Make this anonymous inner class a lambda( +? +java:S1604"(Make this anonymous inner class a lambda(۱ +? +java:S1604"(Make this anonymous inner class a lambda(ά +g +java:S1301"KReplace this "switch" statement by "if" statements to increase readability.(ד Z java:S2583"CChange this condition so that it does not always evaluate to "true"( \ No newline at end of file diff --git a/src/Notes-master1/.idea/sonarlint/issuestore/b/6/b65a3167abb9f406cb51bd23d7afef4245bbcbb5 b/src/Notes-master1/.idea/sonarlint/issuestore/b/6/b65a3167abb9f406cb51bd23d7afef4245bbcbb5 new file mode 100644 index 00000000..e69de29b diff --git a/src/Notes-master1/.idea/sonarlint/issuestore/d/9/d92e16000f49ca8e38a8b0a8ef8d26ecfa0c30ff b/src/Notes-master1/.idea/sonarlint/issuestore/d/9/d92e16000f49ca8e38a8b0a8ef8d26ecfa0c30ff deleted file mode 100644 index ffb60b3d..00000000 --- a/src/Notes-master1/.idea/sonarlint/issuestore/d/9/d92e16000f49ca8e38a8b0a8ef8d26ecfa0c30ff +++ /dev/null @@ -1,12 +0,0 @@ - -s -java:S4144"\Update this method so that its implementation is not identical to "getParentId" on line 203.( -> -java:S1125^"(Remove the unnecessary boolean literals.( -m -java:S3776}"RRefactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.( -C -java:S1125~"(Remove the unnecessary boolean literals.( -> -java:S1125"(Remove the unnecessary boolean literals.( -s java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ٮ8/ \ No newline at end of file diff --git a/src/Notes-master1/.idea/sonarlint/issuestore/index.pb b/src/Notes-master1/.idea/sonarlint/issuestore/index.pb index 5fc59a54..0c9d3d7c 100644 --- a/src/Notes-master1/.idea/sonarlint/issuestore/index.pb +++ b/src/Notes-master1/.idea/sonarlint/issuestore/index.pb @@ -87,17 +87,19 @@ l - - + + + + + + + + + + + + + @@ -22,30 +33,22 @@ - - - - + - - - - - - - - + + + @@ -63,293 +66,66 @@ + - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -464,34 +240,48 @@ - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + @@ -500,11 +290,9 @@ - - - - - + + +