master
陈禹昕 2 years ago
parent 6c3d34e940
commit 592cc7a8ac

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<file url="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/gtask/remote/GTaskSyncService.java" charset="UTF-8" />
</component>
</project>

@ -0,0 +1,37 @@
{
java:S22930"YReplace the type specification in this constructor call with the diamond operator ("<>").(àÉ™âùÿÿÿÿ­ã®‰1
v
java:S2293]"YReplace the type specification in this constructor call with the diamond operator ("<>").(œ€Äѭ㮉1
v
java:S2293m"YReplace the type specification in this constructor call with the diamond operator ("<>").(¾<>Ȫ­ã®‰1
Q
java:S1066U"/Merge this if statement with the enclosing one.(ßÚ§µúÿÿÿÿ­ã®‰1
<EFBFBD>
java:S1319\"mThe return type of this method should be an interface such as "Set" rather than the implementation "HashSet".(“Ÿóßûÿÿÿÿ­ã®‰1
<EFBFBD>
java:S1319l"mThe return type of this method should be an interface such as "Set" rather than the implementation "HashSet".(•Ñòóýÿÿÿÿ­ã®‰1
q
java:S1104*"TMake widgetId a static final constant or non-public and provide accessors if needed.(åÇŽ<C387>­ã®‰1
x
java:S1104+"VMake widgetType a static final constant or non-public and provide accessors if needed.(ö漬þÿÿÿÿ­ã®‰1
J
java:S5411_"(Use a primitive boolean expression here.(ɯÀÐüÿÿÿÿ8׭㮉1
J
java:S5411o"(Use a primitive boolean expression here.(ɯÀÐüÿÿÿÿ8׭㮉1
K
java:S5411"(Use a primitive boolean expression here.( „Œ¢ùÿÿÿÿ8׭㮉1
>
java:S1116,"Remove this empty statement.(ôŸŽìúÿÿÿÿ8ʮ㮉1
Q
java:S2864^"4Iterate over the "entrySet" instead of the "keySet".(਷â8ܮ㮉1
I
java:S1125_"'Remove the unnecessary boolean literal.(ɯÀÐüÿÿÿÿ8ݮ㮉1
Q
java:S2864n"4Iterate over the "entrySet" instead of the "keySet".(਷â8߮㮉1
I
java:S1125o"'Remove the unnecessary boolean literal.(ɯÀÐüÿÿÿÿ8߮㮉1
H
java:S1168|"+Return an empty collection instead of null.(¥¹ï<C2B9>8â®ã®‰1
J
java:S1125"'Remove the unnecessary boolean literal.( „Œ¢ùÿÿÿÿ8ä®ã®‰1

@ -0,0 +1,19 @@
E
java:S16041"(Make this anonymous inner class a lambda(À×µ¾8¥¬ã®‰1
J
java:S1604J"(Make this anonymous inner class a lambda(®žÄ¸ÿÿÿÿÿ8¥¬ã®‰1
\
java:S1854E":Remove this useless assignment to local variable "orders".(–ÊÆ¾ýÿÿÿÿ8߬㮉1
b
java:S1854H"@Remove this useless assignment to local variable "checkedOrder".(áÎþ»üÿÿÿÿ8߬㮉1
\
java:S1161":Add the "@Override" annotation above this method signature(à“æ…øÿÿÿÿ8à¬ã®‰1
> java:S131#""Add a default case to this switch.(嘧¯8é¬ã®‰1
> java:S1314""Add a default case to this switch.(粆µ8ð¬ã®‰1
M
java:S1481E"+Remove this unused "orders" local variable.(–ÊÆ¾ýÿÿÿÿ8ó¬ã®‰1
S
java:S1481F"1Remove this unused "checkedOrder" local variable.(±•ÿÙøÿÿÿÿ8ô¬ã®‰1
S
java:S1128"1Remove this unused import 'android.widget.Toast'.(©›ïÍúÿÿÿÿ8ü¬ã®‰1

@ -0,0 +1,11 @@
p
java:S1192<18>"MDefine a constant instead of duplicating this literal "Unknown URI " 4 times.(¶ª¦þüÿÿÿÿ8Я㮉1
T
java:S1153Ÿ"1Directly append the argument of String.valueOf().(œËߦýÿÿÿÿ8ԯ㮉1

java:S3008M"eRename this field "NOTES_SNIPPET_SEARCH_QUERY" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Èò<C388>ƒùÿÿÿÿ8<>±ã®‰1
f
java:S1659š"CDeclare "noteId" and all following declarations on a separate line.(Ÿàؘøÿÿÿÿ8£±ã®‰1
[
java:S2130Ê"8Use "Long.parseLong" for this string-to-long conversion.(•ãÿ¬ÿÿÿÿÿ8«±ã®‰1

@ -0,0 +1,67 @@
w
java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥ð8·¤ã®‰1
m java:S117à"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(½¿l8¤㮉1
s java:S117á"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(¡‡÷ýúÿÿÿÿ8¤㮉1
E
java:S1604"(Make this anonymous inner class a lambda(—̺V8Ǥ㮉1
F
java:S1604Ð"(Make this anonymous inner class a lambda(ά¯”8Ǥ㮉1
F
java:S1604Æ"(Make this anonymous inner class a lambda(¿Ü´ã8Ǥ㮉1
K
java:S1604ß"(Make this anonymous inner class a lambda(ˆÐï<C390>øÿÿÿÿ8ʤ㮉1
F
java:S1604ç"(Make this anonymous inner class a lambda(øÄì‡8ʤ㮉1
F
java:S1604Ì"(Make this anonymous inner class a lambda(Û±¼ 8ʤ㮉1
F
java:S1604ï"(Make this anonymous inner class a lambda(ά¯”8ˤ㮉1
F
java:S1604Ç"(Make this anonymous inner class a lambda(¹ŠÛ´8ˤ㮉1
n
java:S1301·"KReplace this "switch" statement by "if" statements to increase readability.(ד¾ñùÿÿÿÿ8̤㮉1
a
java:S2583­"CChange this condition so that it does not always evaluate to "true"(¢õ§˜8ù¨ã®‰1
>
java:S1116f"Remove this empty statement.(ôŸŽìúÿÿÿÿ8¸©ã®‰1
h
java:S1124<18>"EReorder the modifiers to comply with the Java Language Specification.(¹úæµûÿÿÿÿ8»©ã®‰1
b
java:S1124Ž"EReorder the modifiers to comply with the Java Language Specification.(ìѾk8¼©ã®‰1
u
java:S3776¦"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(áé–Þÿÿÿÿÿ8ҩ㮉1
9
java:S3626·"Remove this redundant jump.(ûÁÝ…8ө㮉1
9
java:S3626»"Remove this redundant jump.(ûÁÝ…8ө㮉1
9
java:S3626Ï"Remove this redundant jump.(ûÁÝ…8ө㮉1
M
java:S2093«"*Change this "try" to a try-with-resources.(¡»¢üùÿÿÿÿ8î©ã®‰1
v
java:S1450ó"XRemove the "mMoveMenu" field and declare it as a local variable in the relevant methods.(ž¢—ò8„ªã®‰1
u
java:S3252ð"RUse static access with "android.widget.AbsListView" for "MultiChoiceModeListener".(¦Ûî„úÿÿÿÿ8…ªã®‰1
?
java:S1116Ÿ"Remove this empty statement.(ôŸŽìúÿÿÿÿ8ªªã®‰1
p
java:S3776Þ"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(ãìîí8ɪ㮉1
F java:S108å")Either remove or fill this block of code.(žûÊ¥8ͪ㮉1
o
java:S3776Ì"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(ÅôÉ#8æªã®‰1
e
java:S1126"BReplace this if-then-else statement by a single method invocation.(玒¦ýÿÿÿÿ8õªã®‰1
p java:S100¿"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(üȆ¹øÿÿÿÿ8<>«ã®‰1
]
java:S1117":Rename "cursor" which hides the field declared at line 98.(ßó•˜øÿÿÿÿ8«ã®‰1
o
java:S3776è"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(ôŒùb8¾«ã®‰1
H
java:S3398<18>"%Move this method into "ModeCallback".(“ðÉçýÿÿÿÿ8ϫ㮉1
C
java:S3398Þ"%Move this method into "ModeCallback".(ãìîí8ϫ㮉1
R
java:S3398Â"/Move this method into "BackgroundQueryHandler".(—÷õŽüÿÿÿÿ8ϫ㮉1
N
java:S3398ž"0Move this method into "OnListItemClickListener".(‘ðð¡8ϫ㮉1

@ -0,0 +1,10 @@
/**
* Automatically generated file. DO NOT MODIFY
*/
package net.micode.notes.test;
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "net.micode.notes.test";
public static final String BUILD_TYPE = "debug";
}

@ -0,0 +1 @@
[{"type":"MAIN","splits":[],"versionCode":1,"versionName":"0.1","enabled":true,"outputFile":"app-debug.apk","fullName":"debug","baseName":"debug"}]

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="androidTest$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Users\1\StudioProjects\Notes-master\app\src\androidTest\res"/><source path="C:\Users\1\StudioProjects\Notes-master\app\build\generated\res\rs\androidTest\debug"/><source path="C:\Users\1\StudioProjects\Notes-master\app\build\generated\res\resValues\androidTest\debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="androidTest" generated-set="androidTest$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Users\1\StudioProjects\Notes-master\app\src\androidTest\res"/><source path="C:\Users\1\StudioProjects\Notes-master\app\build\generated\res\rs\androidTest\debug"/><source path="C:\Users\1\StudioProjects\Notes-master\app\build\generated\res\resValues\androidTest\debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="androidTestDebug$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Users\1\StudioProjects\Notes-master\app\src\androidTestDebug\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="androidTestDebug" generated-set="androidTestDebug$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="C:\Users\1\StudioProjects\Notes-master\app\src\androidTestDebug\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"/><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated" generated-set="generated$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"/><mergedItems/></merger>

@ -0,0 +1,32 @@
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 package="net.micode.notes.test" >
4
5 <uses-sdk
5-->C:\Users\1\StudioProjects\Notes-master\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest3079318687008751143.xml:5:5-74
6 android:minSdkVersion="14"
6-->C:\Users\1\StudioProjects\Notes-master\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest3079318687008751143.xml:5:15-41
7 android:targetSdkVersion="33" />
7-->C:\Users\1\StudioProjects\Notes-master\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest3079318687008751143.xml:5:42-71
8
9 <instrumentation
9-->C:\Users\1\StudioProjects\Notes-master\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest3079318687008751143.xml:11:5-15:66
10 android:name="android.test.InstrumentationTestRunner"
10-->C:\Users\1\StudioProjects\Notes-master\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest3079318687008751143.xml:11:22-75
11 android:functionalTest="false"
11-->C:\Users\1\StudioProjects\Notes-master\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest3079318687008751143.xml:14:22-52
12 android:handleProfiling="false"
12-->C:\Users\1\StudioProjects\Notes-master\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest3079318687008751143.xml:13:22-53
13 android:label="Tests for net.micode.notes"
13-->C:\Users\1\StudioProjects\Notes-master\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest3079318687008751143.xml:15:22-64
14 android:targetPackage="net.micode.notes" />
14-->C:\Users\1\StudioProjects\Notes-master\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest3079318687008751143.xml:12:22-62
15
16 <application android:debuggable="true" >
16-->C:\Users\1\StudioProjects\Notes-master\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest3079318687008751143.xml:7:5-9:19
17 <uses-library android:name="android.test.runner" />
17-->C:\Users\1\StudioProjects\Notes-master\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest3079318687008751143.xml:8:9-60
17-->C:\Users\1\StudioProjects\Notes-master\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest3079318687008751143.xml:8:23-57
18 </application>
19
20</manifest>

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.micode.notes.test" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="33" />
<instrumentation
android:name="android.test.InstrumentationTestRunner"
android:functionalTest="false"
android:handleProfiling="false"
android:label="Tests for net.micode.notes"
android:targetPackage="net.micode.notes" />
<application android:debuggable="true" >
<uses-library android:name="android.test.runner" />
</application>
</manifest>

@ -0,0 +1,18 @@
{
"version": 3,
"artifactType": {
"type": "PACKAGED_MANIFESTS",
"kind": "Directory"
},
"applicationId": "net.micode.notes.test",
"variantName": "debugAndroidTest",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"outputFile": "AndroidManifest.xml"
}
],
"elementType": "File"
}

@ -0,0 +1,20 @@
{
"version": 3,
"artifactType": {
"type": "PROCESSED_RES",
"kind": "Directory"
},
"applicationId": "net.micode.notes.test",
"variantName": "debugAndroidTest",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 0,
"versionName": "",
"outputFile": "resources-debugAndroidTest.ap_"
}
],
"elementType": "File"
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save