diff --git a/src/.gradle/4.8/fileChanges/last-build.bin b/src/.gradle/4.8/fileChanges/last-build.bin new file mode 100644 index 0000000..f76dd23 Binary files /dev/null and b/src/.gradle/4.8/fileChanges/last-build.bin differ diff --git a/src/.gradle/4.8/fileHashes/fileHashes.bin b/src/.gradle/4.8/fileHashes/fileHashes.bin new file mode 100644 index 0000000..640995e Binary files /dev/null and b/src/.gradle/4.8/fileHashes/fileHashes.bin differ diff --git a/src/.gradle/4.8/fileHashes/fileHashes.lock b/src/.gradle/4.8/fileHashes/fileHashes.lock new file mode 100644 index 0000000..685861b Binary files /dev/null and b/src/.gradle/4.8/fileHashes/fileHashes.lock differ diff --git a/src/.gradle/6.1.1/executionHistory/executionHistory.bin b/src/.gradle/6.1.1/executionHistory/executionHistory.bin new file mode 100644 index 0000000..9732420 Binary files /dev/null and b/src/.gradle/6.1.1/executionHistory/executionHistory.bin differ diff --git a/src/.gradle/6.1.1/executionHistory/executionHistory.lock b/src/.gradle/6.1.1/executionHistory/executionHistory.lock new file mode 100644 index 0000000..81c2fc4 Binary files /dev/null and b/src/.gradle/6.1.1/executionHistory/executionHistory.lock differ diff --git a/src/.gradle/6.1.1/fileChanges/last-build.bin b/src/.gradle/6.1.1/fileChanges/last-build.bin new file mode 100644 index 0000000..f76dd23 Binary files /dev/null and b/src/.gradle/6.1.1/fileChanges/last-build.bin differ diff --git a/src/.gradle/6.1.1/fileContent/fileContent.lock b/src/.gradle/6.1.1/fileContent/fileContent.lock new file mode 100644 index 0000000..ed49f83 Binary files /dev/null and b/src/.gradle/6.1.1/fileContent/fileContent.lock differ diff --git a/src/.gradle/6.1.1/fileHashes/fileHashes.bin b/src/.gradle/6.1.1/fileHashes/fileHashes.bin new file mode 100644 index 0000000..931848c Binary files /dev/null and b/src/.gradle/6.1.1/fileHashes/fileHashes.bin differ diff --git a/src/.gradle/6.1.1/fileHashes/fileHashes.lock b/src/.gradle/6.1.1/fileHashes/fileHashes.lock new file mode 100644 index 0000000..5111cfb Binary files /dev/null and b/src/.gradle/6.1.1/fileHashes/fileHashes.lock differ diff --git a/src/.gradle/6.1.1/fileHashes/resourceHashesCache.bin b/src/.gradle/6.1.1/fileHashes/resourceHashesCache.bin new file mode 100644 index 0000000..1d3f86a Binary files /dev/null and b/src/.gradle/6.1.1/fileHashes/resourceHashesCache.bin differ diff --git a/src/.gradle/6.1.1/gc.properties b/src/.gradle/6.1.1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/src/.gradle/6.1.1/javaCompile/classAnalysis.bin b/src/.gradle/6.1.1/javaCompile/classAnalysis.bin new file mode 100644 index 0000000..3639c15 Binary files /dev/null and b/src/.gradle/6.1.1/javaCompile/classAnalysis.bin differ diff --git a/src/.gradle/6.1.1/javaCompile/jarAnalysis.bin b/src/.gradle/6.1.1/javaCompile/jarAnalysis.bin new file mode 100644 index 0000000..01cdde0 Binary files /dev/null and b/src/.gradle/6.1.1/javaCompile/jarAnalysis.bin differ diff --git a/src/.gradle/6.1.1/javaCompile/javaCompile.lock b/src/.gradle/6.1.1/javaCompile/javaCompile.lock new file mode 100644 index 0000000..49ad2a7 Binary files /dev/null and b/src/.gradle/6.1.1/javaCompile/javaCompile.lock differ diff --git a/src/.gradle/6.1.1/javaCompile/taskHistory.bin b/src/.gradle/6.1.1/javaCompile/taskHistory.bin new file mode 100644 index 0000000..e1d97f6 Binary files /dev/null and b/src/.gradle/6.1.1/javaCompile/taskHistory.bin differ diff --git a/src/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/src/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 0000000..2633de3 Binary files /dev/null and b/src/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/src/.gradle/buildOutputCleanup/cache.properties b/src/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 0000000..fcfa987 --- /dev/null +++ b/src/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Wed Aug 31 10:37:22 CST 2022 +gradle.version=6.1.1 diff --git a/src/.gradle/buildOutputCleanup/outputFiles.bin b/src/.gradle/buildOutputCleanup/outputFiles.bin new file mode 100644 index 0000000..5311545 Binary files /dev/null and b/src/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/src/.gradle/checksums/checksums.lock b/src/.gradle/checksums/checksums.lock new file mode 100644 index 0000000..3ce0321 Binary files /dev/null and b/src/.gradle/checksums/checksums.lock differ diff --git a/src/.gradle/vcs-1/gc.properties b/src/.gradle/vcs-1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/src/.gradle/vcsWorkingDirs/gc.properties b/src/.gradle/vcsWorkingDirs/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/src/.idea/caches/build_file_checksums.ser b/src/.idea/caches/build_file_checksums.ser new file mode 100644 index 0000000..043f263 Binary files /dev/null and b/src/.idea/caches/build_file_checksums.ser differ diff --git a/src/.idea/codeStyles/Project.xml b/src/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..681f41a --- /dev/null +++ b/src/.idea/codeStyles/Project.xml @@ -0,0 +1,116 @@ + + + + + + + +
+ + + + xmlns:android + + ^$ + + + +
+
+ + + + xmlns:.* + + ^$ + + + BY_NAME + +
+
+ + + + .*:id + + http://schemas.android.com/apk/res/android + + + +
+
+ + + + .*:name + + http://schemas.android.com/apk/res/android + + + +
+
+ + + + name + + ^$ + + + +
+
+ + + + style + + ^$ + + + +
+
+ + + + .* + + ^$ + + + BY_NAME + +
+
+ + + + .* + + http://schemas.android.com/apk/res/android + + + ANDROID_ATTRIBUTE_ORDER + +
+
+ + + + .* + + .* + + + BY_NAME + +
+
+
+
+
+
\ No newline at end of file diff --git a/src/.idea/gradle.xml b/src/.idea/gradle.xml new file mode 100644 index 0000000..5cd135a --- /dev/null +++ b/src/.idea/gradle.xml @@ -0,0 +1,20 @@ + + + + + + + \ No newline at end of file diff --git a/src/.idea/jarRepositories.xml b/src/.idea/jarRepositories.xml new file mode 100644 index 0000000..72d08c5 --- /dev/null +++ b/src/.idea/jarRepositories.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/.idea/libraries/Gradle__org_apache_http_legacy_android_29.xml b/src/.idea/libraries/Gradle__org_apache_http_legacy_android_29.xml new file mode 100644 index 0000000..1bde125 --- /dev/null +++ b/src/.idea/libraries/Gradle__org_apache_http_legacy_android_29.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/.idea/misc.xml b/src/.idea/misc.xml new file mode 100644 index 0000000..37a7509 --- /dev/null +++ b/src/.idea/misc.xml @@ -0,0 +1,9 @@ + + + + + + + + \ No newline at end of file diff --git a/src/.idea/modules.xml b/src/.idea/modules.xml new file mode 100644 index 0000000..dc7fc96 --- /dev/null +++ b/src/.idea/modules.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/.idea/modules/app/app.iml b/src/.idea/modules/app/app.iml new file mode 100644 index 0000000..62616c2 --- /dev/null +++ b/src/.idea/modules/app/app.iml @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/.idea/modules/project1.iml b/src/.idea/modules/project1.iml new file mode 100644 index 0000000..dc19be4 --- /dev/null +++ b/src/.idea/modules/project1.iml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/.idea/runConfigurations.xml b/src/.idea/runConfigurations.xml new file mode 100644 index 0000000..7f68460 --- /dev/null +++ b/src/.idea/runConfigurations.xml @@ -0,0 +1,12 @@ + + + + + + \ No newline at end of file diff --git a/src/.idea/sonarlint/issuestore/0/8/08c35f02f11c35ae9ebf8db0a482054dfa1cf493 b/src/.idea/sonarlint/issuestore/0/8/08c35f02f11c35ae9ebf8db0a482054dfa1cf493 new file mode 100644 index 0000000..7a13eab --- /dev/null +++ b/src/.idea/sonarlint/issuestore/0/8/08c35f02f11c35ae9ebf8db0a482054dfa1cf493 @@ -0,0 +1,11 @@ + +s +java:S4144"\Update this method so that its implementation is not identical to "getParentId" on line 185.( +> +java:S1125T"(Remove the literal "true" boolean value.( +m +java:S3776p"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.( +C +java:S1125q"(Remove the literal "true" boolean value.( +> +java:S1125r"(Remove the literal "true" boolean value.( \ No newline at end of file diff --git a/src/.idea/sonarlint/issuestore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13 b/src/.idea/sonarlint/issuestore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13 new file mode 100644 index 0000000..0f741b1 --- /dev/null +++ b/src/.idea/sonarlint/issuestore/1/e/1eb2363b523dbcae43d3c6e4790c64436af61b13 @@ -0,0 +1,25 @@ + +h +java:S1192"RDefine a constant instead of duplicating this literal " AFTER DELETE ON " 3 times.(B +a +java:S1192k"FDefine a constant instead of duplicating this literal "=old." 6 times.( + +java:S11923"yDefine a constant instead of duplicating this literal " INTEGER NOT NULL DEFAULT (strftime('%s','now') * 1000)," 4 times.( +` +java:S1192]"JDefine a constant instead of duplicating this literal " UPDATE " 8 times.( +\ +java:S1192_"FDefine a constant instead of duplicating this literal "=new." 6 times.(랰 +c +java:S1192\"HDefine a constant instead of duplicating this literal " BEGIN " 4 times.( +t +java:S11920"^Define a constant instead of duplicating this literal " INTEGER NOT NULL DEFAULT 0," 11 times.( +v +java:S11927"[Define a constant instead of duplicating this literal " TEXT NOT NULL DEFAULT ''," 5 times.(޿ +c +java:S1192"GDefine a constant instead of duplicating this literal " BEGIN" 6 times.( +c +java:S1192^"HDefine a constant instead of duplicating this literal " SET " 8 times.(˓ +8 +java:S1214#""Move constants to a class or enum.( +_ +java:S1192_"IDefine a constant instead of duplicating this literal " WHERE " 8 times.(랰 \ 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..a863092 --- /dev/null +++ b/src/.idea/sonarlint/issuestore/5/7/577f30d26378ec8a2bd2e4a43f3c79b3f04c402c @@ -0,0 +1,42 @@ + +t +java:S2293i"YReplace the type specification in this constructor call with the diamond operator ("<>").( +D +java:S1172"&Remove these unused method parameters.(80 += +java:S1172"&Remove these unused method parameters.( +q +java:S1104N"VMake tvModified a static final constant or non-public and provide accessors if needed.(ԣ +t +java:S2293`"YReplace the type specification in this constructor call with the diamond operator ("<>").( +N +java:S1135"2Complete the task associated to this TODO comment.( +p +java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥 +8 +java:S1116"Remove this empty statement.( +X +java:S1126"AReplace this if-then-else statement by a single return statement.( +n +java:S3776"RRefactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed.(ݨ +C +java:S1172"-Remove this unused method parameter "dialog".( +r +java:S1104P"WMake ivAlertIcon a static final constant or non-public and provide accessors if needed.(න +t +java:S2293W"YReplace the type specification in this constructor call with the diamond operator ("<>").(ӏ +s +java:S1104T"XMake ibSetBgColor a static final constant or non-public and provide accessors if needed.( +K +java:S2864"4Iterate over the "entrySet" instead of the "keySet".(ԇ +n +java:S1450"WRemove the "mPattern" field and declare it as a local variable in the relevant methods.( +o +java:S2293q"YReplace the type specification in this constructor call with the diamond operator ("<>").( +c java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.( +8 +java:S1116"Remove this empty statement.( +r +java:S1104R"WMake tvAlertDate a static final constant or non-public and provide accessors if needed.( +H +java:S1172"1Remove this unused method parameter "buttonView".(ܛ \ No newline at end of file diff --git a/src/.idea/sonarlint/issuestore/8/7/876016634c6642b35109680ccac740dc8271b236 b/src/.idea/sonarlint/issuestore/8/7/876016634c6642b35109680ccac740dc8271b236 new file mode 100644 index 0000000..6634c4d --- /dev/null +++ b/src/.idea/sonarlint/issuestore/8/7/876016634c6642b35109680ccac740dc8271b236 @@ -0,0 +1,11 @@ + +3 +java:S2386A"Make this member "protected".( +F +java:S1066"/Merge this if statement with the enclosing one.( +X +java:S1126"AReplace this if-then-else statement by a single return statement.( +8 +java:S2386K"Make this member "protected".(㳎 +? +java:S1125"(Remove the literal "true" boolean value.( \ No newline at end of file diff --git a/src/.idea/sonarlint/issuestore/8/c/8c55c3ccc257e5907959013f99656e4c8ec3903e b/src/.idea/sonarlint/issuestore/8/c/8c55c3ccc257e5907959013f99656e4c8ec3903e new file mode 100644 index 0000000..e69de29 diff --git a/src/.idea/sonarlint/issuestore/a/7/a7641cfac724321d508c2a284223a711011a93f5 b/src/.idea/sonarlint/issuestore/a/7/a7641cfac724321d508c2a284223a711011a93f5 new file mode 100644 index 0000000..26bcff9 --- /dev/null +++ b/src/.idea/sonarlint/issuestore/a/7/a7641cfac724321d508c2a284223a711011a93f5 @@ -0,0 +1,13 @@ + +9 +java:S1214""Move constants to a class or enum.( +U +java:S11181":Add a private constructor to hide the implicit public one.(͓ +V +java:S1118":Add a private constructor to hide the implicit public one.( +f +java:S11929"KDefine a constant instead of duplicating this literal "content://" 4 times.( += +java:S1214@""Move constants to a class or enum.(⸫ +Q +java: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..9865b48 --- /dev/null +++ b/src/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32 @@ -0,0 +1,125 @@ + +9 +java:S3626"Remove this redundant jump.(݅80 +D +java:S1172"&Remove these unused method parameters.(80 +I +java:S1172"+Remove this unused method parameter "mode".(80 +s +java:S3008R"VRename this field "secret_mode" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(80 +P +java:S1199"-Extract this nested code block into a method.(80 +J +java:S1172"-Remove this unused method parameter "parent".(b80 +P +java:S1172"-Remove this unused method parameter "parent".(80 +9 +java:S3626"Remove this redundant jump.(݅80 +U +java:S1135"2Complete the task associated to this TODO comment.(80 +C +java:S3398"%Move this method into "ModeCallback".(80 +P +java:S1172"-Remove this unused method parameter "unused".(Ԃ80 +K +java:S1172"-Remove this unused method parameter "dialog".(80 +t +java:S1104R"WMake secret_mode a static final constant or non-public and provide accessors if needed.(80 +I +java:S1172"&Remove these unused method parameters.(80 +P +java:S1199"-Extract this nested code block into a method.(80 +p +java:S3776"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(80 +C +java:S1172"&Remove these unused method parameters.(d80 +U +java:S1135"2Complete the task associated to this TODO comment.(80 +F +java:S1148"#Use a logger to log this exception.(ԅ80 +P +java:S1199"-Extract this nested code block into a method.(80 +K +java:S1172"(Remove this unused method parameter "v".(Ӑ80 +w +java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥80 +D +java:S1172"&Remove these unused method parameters.(80 +K +java:S1199"-Extract this nested code block into a method.(80 +> +java:S1116b"Remove this empty statement.(80 +? +java:S1116"Remove this empty statement.(80 +m java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(#80 + +java:S1186"Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.(8χ0 +I +java:S1172"+Remove this unused method parameter "item".(ι80 +H +java:S3398"%Move this method into "ModeCallback".(80 +h +java:S1124"EReorder the modifiers to comply with the Java Language Specification.(80 +I +java:S1172"&Remove these unused method parameters.(ʥ80 +R +java:S3398"/Move this method into "BackgroundQueryHandler".(80 +F +java:S1148"#Use a logger to log this exception.(ԅ80 + +java:S1186"Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.(80 +T +java:S2696"6Make the enclosing method "static" or remove this set.(8χ0 +U +java:S1135"2Complete the task associated to this TODO comment.(80 +v +java:S1450"XRemove the "mMoveMenu" field and declare it as a local variable in the relevant methods.(80 +o +java:S3776"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(b80 +N +java:S3398"0Move this method into "OnListItemClickListener".(80 +i +java:S1192"FDefine a constant instead of duplicating this literal " DESC" 3 times.(ͨ80 +I +java:S1172"&Remove these unused method parameters.(ɧ80 +P +java:S1199"-Extract this nested code block into a method.(̀80 +n +java:S1301"KReplace this "switch" statement by "if" statements to increase readability.(ד80 +K +java:S1199"-Extract this nested code block into a method.(80 +U +java:S1135"2Complete the task associated to this TODO comment.(80 +b +java:S1124"EReorder the modifiers to comply with the Java Language Specification.(Ѿk80 +K +java:S1199"-Extract this nested code block into a method.(8χ0 +P +java:S1199"-Extract this nested code block into a method.(ڿ80 +F java:S108")Either remove or fill this block of code.(ʥ80 +K +java:S1199"-Extract this nested code block into a method.(ȓ80 +I +java:S1172"&Remove these unused method parameters.(80 +o +java:S3776"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(#80 +I +java:S1172"&Remove these unused method parameters.(ɯ80 +U +java:S1135"2Complete the task associated to this TODO comment.(̐80 +P +java:S1199"-Extract this nested code block into a method.(Η80 +F +java:S1172"(Remove this unused method parameter "v".(醆80 +T +java:S2696"6Make the enclosing method "static" or remove this set.(܁80 +N +java:S1444R"1Make this "public static secret_mode" field final(80 +M +java:S2093"*Change this "try" to a try-with-resources.(80 +9 +java:S3626"Remove this redundant jump.(݅80 +u +java:S3776"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(80 +e +java:S1126"BReplace this if-then-else statement by a single method invocation.(玒80 \ 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..04a8679 --- /dev/null +++ b/src/.idea/sonarlint/issuestore/d/d/dd970bd8ce083850fca1d4d159647ccd110e57cb @@ -0,0 +1,11 @@ + +u +java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(л +\ +java:S1126}"AReplace this if-then-else statement by a single return statement.(Ʒ +j +java:S1192?"ODefine a constant instead of duplicating this literal "Wrong note id:" 3 times.( +\ +java:S2147"ECombine this catch with the one at line 242, which has the same body.(暩 +i +java:S3776"RRefactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.( \ No newline at end of file diff --git a/src/.idea/sonarlint/issuestore/f/4/f4a01d6a4fcb971362ec00a83903fd3902f52164 b/src/.idea/sonarlint/issuestore/f/4/f4a01d6a4fcb971362ec00a83903fd3902f52164 new file mode 100644 index 0000000..e69de29 diff --git a/src/.idea/sonarlint/issuestore/index.pb b/src/.idea/sonarlint/issuestore/index.pb new file mode 100644 index 0000000..83f664c --- /dev/null +++ b/src/.idea/sonarlint/issuestore/index.pb @@ -0,0 +1,19 @@ + +@ +app/build.gradle,f\4\f4a01d6a4fcb971362ec00a83903fd3902f52164 +k +;app/src/main/java/net/micode/notes/ui/NoteEditActivity.java,5\7\577f30d26378ec8a2bd2e4a43f3c79b3f04c402c +P + app/src/main/AndroidManifest.xml,8\c\8c55c3ccc257e5907959013f99656e4c8ec3903e +l + + + + + + \ No newline at end of file diff --git a/src/.idea/workspace.xml b/src/.idea/workspace.xml new file mode 100644 index 0000000..57ff099 --- /dev/null +++ b/src/.idea/workspace.xml @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + + + + + + + +