用try-with-resources解决java//tool//BackupUtils中private PrintStream getExportToTextPrintStream()中资源泄露问题,即未关闭new文件的风险+部分代码阅读注解

Signed-off-by: qianji <1535486312@qq.com>
a_branch
qianji 3 years ago
parent a9b2a0ccc5
commit 373cb5e4ed

@ -1,2 +1,2 @@
#Thu Mar 23 20:34:28 CST 2023
gradle.version=7.5
#Sun Apr 30 23:44:47 CST 2023
gradle.version=7.6.1

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

@ -4,8 +4,9 @@
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="delegatedBuild" value="true" />
<option name="testRunner" value="GRADLE" />
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="distributionType" value="LOCAL" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="gradleHome" value="F:/gradle-7.6.1-bin/gradle-7.6.1" />
<option name="gradleJvm" value="#JAVA_HOME" />

@ -0,0 +1,21 @@
?
java:S1604"(Make this anonymous inner class a lambda(Éãî
V java:S125"<This block of commented-out lines of code should be removed.(Í<C38D>¸ýÿÿÿÿ

java:S3008""eRename this field "GTASK_SYNC_NOTIFICATION_ID" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ëíÅÍúÿÿÿÿ
L
java:S1874 "1Remove this use of "AsyncTask"; it is deprecated.(¯ÚÔËúÿÿÿÿ
N
java:S3878="8Remove this array creation and simply pass the elements.(‘Àߎ
M
java:S1874="7Remove this use of "publishProgress"; it is deprecated.(‘Àߎ
V java:S125B"<This block of commented-out lines of code should be removed.(̓‹µûÿÿÿÿ
I
java:S1874`".Remove this use of "<init>"; it is deprecated.(܃÷ýùÿÿÿÿ
M
java:S1874g"7Remove this use of "getNotification"; it is deprecated.(þôõì
e
java:S1874s"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(ë•·ÿÿÿÿÿ
e
java:S1874{"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(÷ችûÿÿÿÿ

@ -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 unnecessary boolean literals.(ú«€É
m
java:S3776p"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(Ñý¨úýÿÿÿÿ
C
java:S1125q"(Remove the unnecessary boolean literals.(¢´—Öÿÿÿÿÿ
>
java:S1125r"(Remove the unnecessary boolean literals.(ãêÛì

@ -0,0 +1,2 @@
a java:S101"MRename this class name to match the regular expression '^[A-Z][a-zA-Z0-9]*$'.(<28>

@ -0,0 +1,39 @@
t
java:S22930"YReplace the type specification in this constructor call with the diamond operator ("<>").(àÉ™âùÿÿÿÿ
o
java:S2293]"YReplace the type specification in this constructor call with the diamond operator ("<>").(œ€ÄÑ
o
java:S2293m"YReplace the type specification in this constructor call with the diamond operator ("<>").(¾<>Ȫ
J
java:S1066U"/Merge this if statement with the enclosing one.(ßÚ§µúÿÿÿÿ
ˆ
java:S1319\"mThe return type of this method should be an interface such as "Set" rather than the implementation "HashSet".(“Ÿóßûÿÿÿÿ
ˆ
java:S1319l"mThe return type of this method should be an interface such as "Set" rather than the implementation "HashSet".(•Ñòóýÿÿÿÿ
j
java:S1104*"TMake widgetId a static final constant or non-public and provide accessors if needed.(åÇŽ<C387>
q
java:S1104+"VMake widgetType a static final constant or non-public and provide accessors if needed.(ö漬þÿÿÿÿ
C
java:S5411_"(Use a primitive boolean expression here.(ɯÀÐüÿÿÿÿ
C
java:S5411o"(Use a primitive boolean expression here.(ɯÀÐüÿÿÿÿ
D
java:S5411"(Use a primitive boolean expression here.( „Œ¢ùÿÿÿÿ
7
java:S1116,"Remove this empty statement.(ôŸŽìúÿÿÿÿ
D
java:S1874/".Remove this use of "<init>"; it is deprecated.(ÌÖçü
J
java:S2864^"4Iterate over the "entrySet" instead of the "keySet".(਷â
B
java:S1125_"'Remove the unnecessary boolean literal.(ɯÀÐüÿÿÿÿ
J
java:S2864n"4Iterate over the "entrySet" instead of the "keySet".(਷â
B
java:S1125o"'Remove the unnecessary boolean literal.(ɯÀÐüÿÿÿÿ
A
java:S1168|"+Return an empty collection instead of null.(¥¹ï<C2B9>
C
java:S1125"'Remove the unnecessary boolean literal.( „Œ¢ùÿÿÿÿ

@ -0,0 +1,2 @@
b java:S101"MRename this class name to match the regular expression '^[A-Z][a-zA-Z0-9]*$'.(–¿ÖÜ

@ -0,0 +1,10 @@
>
java:S1604/"(Make this anonymous inner class a lambda(í˽ý
h java:S100("NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(¦Ÿ¦×ýÿÿÿÿ
x
java:S3923P"]This conditional operation returns the same value whether the condition is "true" or "false".(Ýç®Üÿÿÿÿÿ
P
java:S1874P"5Remove this use of "FORMAT_24HOUR"; it is deprecated.(Ýç®Üÿÿÿÿÿ
P
java:S1874P"5Remove this use of "FORMAT_24HOUR"; it is deprecated.(Ýç®Üÿÿÿÿÿ

@ -0,0 +1,39 @@
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:S1192x"HDefine a constant instead of duplicating this literal "=? AND " 4 times.(„¼¹<C2BC>úÿÿÿÿ
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".(ÛëÈðýÿÿÿÿ
S
java:S2589e"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.(³¡¸<C2A1>ÿÿÿÿÿ
T
java:S1155-">Use isEmpty() to check whether the collection is empty or not.(´¤”Ó
Z
java:S2147E"DCombine this catch with the one at line 67, which has the same body.(æš©›
[
java:S2147l"ECombine this catch with the one at line 106, 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".(±ðŒ“úÿÿÿÿ

@ -0,0 +1,3 @@
O
java:S59932"9Change the visibility of this constructor to "protected".(»Õí©

@ -0,0 +1,19 @@
u
java:S2293Î"YReplace the type specification in this constructor call with the diamond operator ("<>").(æå<C3A6>„þÿÿÿÿ
a
java:S2184s"FCast one of the operands of this multiplication operation to a "long".(⣛Úùÿÿÿÿ
j
java:S2095·"LUse try-with-resources or close this "BufferedReader" in a "finally" clause.(øÆˆ€­ë²ý0
H
java:S1874ç"2Remove this use of "HttpParams"; it is deprecated.(ŸÅE
X
java:S1874è"<Remove this use of "HttpConnectionParams"; it is deprecated.(­Ú¬Ùùÿÿÿÿ
X
java:S1874è"<Remove this use of "setConnectionTimeout"; it is deprecated.(­Ú¬Ùùÿÿÿÿ
X
java:S1874é"<Remove this use of "HttpConnectionParams"; it is deprecated.(åÙµÌûÿÿÿÿ
P
java:S1874é"4Remove this use of "setSoTimeout"; it is deprecated.(åÙµÌûÿÿÿÿ
F
java:S2093µ"*Change this "try" to a try-with-resources.(¡»¢üùÿÿÿÿ

@ -0,0 +1,14 @@
o
java:S22931"YReplace the type specification in this constructor call with the diamond operator ("<>").(§þ¢¾
D
java:S1604Î"(Make this anonymous inner class a lambda(¯<>Àžÿÿÿÿÿ
f
java:S1301h"KReplace this "switch" statement by "if" statements to increase readability.(ãÁð™øÿÿÿÿ
M
java:S1135c"2Complete the task associated to this TODO comment.(ƒŠ® úÿÿÿÿ
< java:S131h""Add a default case to this switch.(ãÁð™øÿÿÿÿ
^
java:S1126­"BReplace this if-then-else statement by a single method invocation.(‚å¿¥ûÿÿÿÿ
P
java:S2864Â"4Iterate over the "entrySet" instead of the "keySet".(ΚŸ<C5A1>ûÿÿÿÿ

@ -0,0 +1,69 @@
t
java:S2293W"YReplace the type specification in this constructor call with the diamond operator ("<>").(ÑÓ<C391>¥üÿÿÿÿ
t
java:S2293`"YReplace the type specification in this constructor call with the diamond operator ("<>").(®ú÷õþÿÿÿÿ
t
java:S2293i"YReplace the type specification in this constructor call with the diamond operator ("<>").(êÝýÂþÿÿÿÿ
o
java:S2293q"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 ("<>").(艥ð
?
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(××ß’
q
java:S1104N"VMake tvModified a static final constant or non-public and provide accessors if needed.(ƒëÔ£ÿÿÿÿÿ
r
java:S1104P"WMake ivAlertIcon a static final constant or non-public and provide accessors if needed.(ªà¶±ûÿÿÿÿ
r
java:S1104R"WMake tvAlertDate a static final constant or non-public and provide accessors if needed.(“²<E2809C>Öúÿÿÿÿ
s
java:S1104T"XMake ibSetBgColor a static final constant or non-public and provide accessors if needed.(ýãä¬üÿÿÿÿ
O
java:S3516ä"9Refactor this method to not always return the same value.(™Æl
n
java:S1450"WRemove the "mPattern" field and declare it as a local variable in the relevant methods.(©´ÖÛ
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.(ѯ”<C2AF>
\
java:S1874þ"@Remove this use of "SOFT_INPUT_ADJUST_RESIZE"; it is deprecated.(Ò£ú¿ÿÿÿÿÿ
O
java:S1874<18>"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.(ÑëÊäüÿÿÿÿ
f
java:S1874È"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(œƒƒ©ùÿÿÿÿ
Q
java:S1874Î"5Remove this use of "onBackPressed"; it is deprecated.(<28>Ñàÿÿÿÿÿ
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.(§éǾ

@ -0,0 +1,5 @@
3
java:S2386$"Make this member "protected".(óð<C3B3>ß
h
java:S3776H"RRefactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed.(ʃëï

@ -0,0 +1,9 @@
m
java:S37763"RRefactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.(üßú–ùÿÿÿÿ
O
java:S1874?"9Remove this use of "setTextAppearance"; it is deprecated.(¤ñÝ×
O
java:S1874F"9Remove this use of "setTextAppearance"; it is deprecated.(Á†<C381>ö
O
java:S1874P"9Remove this use of "setTextAppearance"; it is deprecated.(¤ñÝ×

@ -0,0 +1,11 @@
>
java:S1604C"(Make this anonymous inner class a lambda(ñ×®è
C
java:S1604L"(Make this anonymous inner class a lambda(Ò´Ñ<C2B4>ÿÿÿÿÿ
C
java:S1604v"(Make this anonymous inner class a lambda(×ÉÑ‘úÿÿÿÿ
?
java:S1604"(Make this anonymous inner class a lambda(À¸èž
V
java:S3398ß"?Move this method into the anonymous class declared at line 118.( šåš

@ -0,0 +1,11 @@
F
java:S1066Á"/Merge this if statement with the enclosing one.(â<>®¾
3
java:S2386A"Make this member "protected".(”µåÓ
8
java:S2386K"Make this member "protected".(Ñ㳎ýÿÿÿÿ
X
java:S1126Ü"AReplace this if-then-else statement by a single return statement.(¶ø ˜
?
java:S1125ª"(Remove the unnecessary boolean literals.(ÍÛì•

@ -0,0 +1,2 @@
K xml:S5594:"1Implement permissions on this exported component.(ˆ©…»ùÿÿÿÿ

@ -0,0 +1,5 @@
2
java:S2386+"Make this member "protected".(¤íÂX
n
java:S3776"RRefactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.(®‘‡§øÿÿÿÿ

@ -0,0 +1,3 @@
U
java:S1118":Add a private constructor to hide the implicit public one.(<28>³<EFBFBD>Èùÿÿÿÿ

@ -0,0 +1,11 @@
{
java:S2293)"YReplace the type specification in this constructor call with the diamond operator ("<>").(<28>½ñäÿÿÿÿÿ8»Äë²ý0
W
java:S1118":Add a private constructor to hide the implicit public one.(ãÛÒÛ8ÅÄë²ý0
x
java:S3252!"VUse static access with "android.provider.ContactsContract$DataColumns" for "MIMETYPE".(‡ù¯–ÿÿÿÿÿ8ÆÄë²ý0
y
java:S3252""\Use static access with "android.provider.ContactsContract$DataColumns" for "RAW_CONTACT_ID".(Ðäç÷8ÆÄë²ý0
{
java:S32524"^Use static access with "android.provider.ContactsContract$ContactsColumns" for "DISPLAY_NAME".(Úÿ†Ø8ÈÄë²ý0

@ -0,0 +1,13 @@
m
java:S11929"KDefine a constant instead of duplicating this literal "content://" 4 times.(š¨ú¯üÿÿÿÿ8žÇë²ý0
\
java:S11181":Add a private constructor to hide the implicit public one.(ž’Í“úÿÿÿÿ8£Çë²ý0
e
java:S1214@"CMove constants defined in this interfaces to another class or enum.(É⸫úÿÿÿÿ8£Çë²ý0
a
java:S1214ª"CMove constants defined in this interfaces to another class or enum.(ŠÉôŸ8¤Çë²ý0
]
java:S1118ô":Add a private constructor to hide the implicit public one.(<28>ˆþÿÿÿÿ8¥Çë²ý0
X
java:S1118":Add a private constructor to hide the implicit public one.(߀°•8¦Çë²ý0

@ -0,0 +1,49 @@
o
java:S2293]"YReplace the type specification in this constructor call with the diamond operator ("<>").(²¿›ž
t
java:S2293^"YReplace the type specification in this constructor call with the diamond operator ("<>").(‘´ÂÞþÿÿÿÿ
t
java:S2293_"YReplace the type specification in this constructor call with the diamond operator ("<>").(±€šˆþÿÿÿÿ
o
java:S2293a"YReplace the type specification in this constructor call with the diamond operator ("<>").(ÈüùÌ
t
java:S2293b"YReplace the type specification in this constructor call with the diamond operator ("<>").(ðˆâ³ùÿÿÿÿ
t
java:S2293c"YReplace the type specification in this constructor call with the diamond operator ("<>").(ž’»Ðýÿÿÿÿ
]
java:S1192©"FDefine a constant instead of duplicating this literal " DESC" 3 times.(©ÍÔ±
K
java:S1066ˆ"/Merge this if statement with the enclosing one.(¾¶†–þÿÿÿÿ
K
java:S1066Õ"/Merge this if statement with the enclosing one.(˼֓ùÿÿÿÿ
i
java:S2259×"M"NullPointerException" will be thrown when invoking method "doContentSync()".(ÊÙãþüÿÿÿÿ
i
java:S2259Î"M"NullPointerException" will be thrown when invoking method "doContentSync()".(ÊÙãþüÿÿÿÿ
S
java:S2589"7Remove this expression which always evaluates to "true"(ë<>½ïûÿÿÿÿ
i
java:S3776«"RRefactor this method to reduce its Cognitive Complexity from 29 to the 15 allowed.(«Ã¾á
I
java:S1905Á"-Remove this unnecessary cast to "JSONObject".(ï½€—ýÿÿÿÿ
C
java:S1905ç"-Remove this unnecessary cast to "JSONObject".(Ø›¶
i
java:S3776ú"RRefactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed.(ðúæŠ
n
java:S3776â"RRefactor this method to reduce its Cognitive Complexity from 41 to the 15 allowed.(…˰±ýÿÿÿÿ
n
java:S3776<18>"RRefactor this method to reduce its Cognitive Complexity from 34 to the 15 allowed.(ÿ»É¸ûÿÿÿÿ
5
java:S2129â"Remove this "Long" constructor(Ï­¨Ã
C
java:S1874â",Remove this use of "Long"; it is deprecated.(Ï­¨Ã
n
java:S3776î"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(ƶؠüÿÿÿÿ
G
java:S1172î"+Remove this unused method parameter "node".(ƶؠüÿÿÿÿ
C
java:S1905ƒ"'Remove this unnecessary cast to "Node".(±¼ÇÒûÿÿÿÿ
>
java:S1905©"'Remove this unnecessary cast to "Node".(íé¥Ç

@ -0,0 +1,3 @@
[
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(ð«¦í

@ -0,0 +1,95 @@
P
java:S1118":Add a private constructor to hide the implicit public one.(ªµ<C2AA><C2B5>
`
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(”Úùµþÿÿÿÿ
[
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(Ð㘱
[
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(å¬å³
[
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(¸œÏ<C593>
`
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(¶ÎƉýÿÿÿÿ
[
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(ùùŸÕ
`
java:S1124!"EReorder the modifiers to comply with the Java Language Specification.(íâúÓÿÿÿÿÿ
[
java:S1124#"EReorder the modifiers to comply with the Java Language Specification.(â¹âæ
`
java:S1124%"EReorder the modifiers to comply with the Java Language Specification.(™¹å†þÿÿÿÿ
`
java:S1124'"EReorder the modifiers to comply with the Java Language Specification.(Ëãßìüÿÿÿÿ
`
java:S1124)"EReorder the modifiers to comply with the Java Language Specification.(‚šÛ²üÿÿÿÿ
`
java:S1124+"EReorder the modifiers to comply with the Java Language Specification.(ºãÌýþÿÿÿÿ
[
java:S1124-"EReorder the modifiers to comply with the Java Language Specification.(«è¶ó
[
java:S1124/"EReorder the modifiers to comply with the Java Language Specification.(Ó<>•·
[
java:S11241"EReorder the modifiers to comply with the Java Language Specification.(ùœª”
[
java:S11243"EReorder the modifiers to comply with the Java Language Specification.(ŸÌ¥’
[
java:S11245"EReorder the modifiers to comply with the Java Language Specification.(Юԛ
Z
java:S11247"EReorder the modifiers to comply with the Java Language Specification.(—ùž
`
java:S11249"EReorder the modifiers to comply with the Java Language Specification.(£úÿÿÿÿ
Z
java:S1124;"EReorder the modifiers to comply with the Java Language Specification.(ûÉøK
`
java:S1124="EReorder the modifiers to comply with the Java Language Specification.(´ÙøÜøÿÿÿÿ
[
java:S1124?"EReorder the modifiers to comply with the Java Language Specification.(Ö«¦î
Z
java:S1124A"EReorder the modifiers to comply with the Java Language Specification.(ëí‚$
[
java:S1124C"EReorder the modifiers to comply with the Java Language Specification.(±‚Çð
`
java:S1124E"EReorder the modifiers to comply with the Java Language Specification.(èÁø°ÿÿÿÿÿ
[
java:S1124G"EReorder the modifiers to comply with the Java Language Specification.(¬ôÿ<C3B4>
[
java:S1124I"EReorder the modifiers to comply with the Java Language Specification.(ì૵
`
java:S1124K"EReorder the modifiers to comply with the Java Language Specification.(âÖ<C3A2>îýÿÿÿÿ
[
java:S1124M"EReorder the modifiers to comply with the Java Language Specification.(¡¦¡Æ
`
java:S1124O"EReorder the modifiers to comply with the Java Language Specification.(‘™¾Ðüÿÿÿÿ
`
java:S1124Q"EReorder the modifiers to comply with the Java Language Specification.(­<>—Òøÿÿÿÿ
[
java:S1124S"EReorder the modifiers to comply with the Java Language Specification.(ž×Éô
[
java:S1124U"EReorder the modifiers to comply with the Java Language Specification.(ø°Í´
`
java:S1124W"EReorder the modifiers to comply with the Java Language Specification.(¼Ô£¹øÿÿÿÿ
[
java:S1124Y"EReorder the modifiers to comply with the Java Language Specification.(ŠÉ΢
`
java:S1124["EReorder the modifiers to comply with the Java Language Specification.(äöÅŒýÿÿÿÿ
`
java:S1124]"EReorder the modifiers to comply with the Java Language Specification.(Á¨È¨úÿÿÿÿ
[
java:S1124_"EReorder the modifiers to comply with the Java Language Specification.(—Ú÷Œ
[
java:S1124a"EReorder the modifiers to comply with the Java Language Specification.(¼ÕÍ€
`
java:S1124c"EReorder the modifiers to comply with the Java Language Specification.(íõâûÿÿÿÿ
`
java:S1124e"EReorder the modifiers to comply with the Java Language Specification.(õÑæÞÿÿÿÿÿ
[
java:S1124g"EReorder the modifiers to comply with the Java Language Specification.(´Æ’µ
`
java:S1124i"EReorder the modifiers to comply with the Java Language Specification.(û³˜µÿÿÿÿÿ
`
java:S1124k"EReorder the modifiers to comply with the Java Language Specification.(<28>ìÝÚÿÿÿÿÿ
Z
java:S1124m"EReorder the modifiers to comply with the Java Language Specification.(場-
`
java:S1124o"EReorder the modifiers to comply with the Java Language Specification.(éÙýâûÿÿÿÿ

@ -0,0 +1,35 @@
P
java:S1118":Add a private constructor to hide the implicit public one.(§Ú¦“
P
java:S1118*":Add a private constructor to hide the implicit public one.(¦¬ÿ”
[
java:S1124+"EReorder the modifiers to comply with the Java Language Specification.(‰ßÆ“
`
java:S11243"EReorder the modifiers to comply with the Java Language Specification.(¼Þý·þÿÿÿÿ
O
java:S1874E"9Remove this use of "PreferenceManager"; it is deprecated.(º—‡ê
Y
java:S1874E"CRemove this use of "getDefaultSharedPreferences"; it is deprecated.(º—‡ê
D
java:S2140G")Use "java.util.Random.nextInt()" instead.(Åðêôþÿÿÿÿ
U
java:S1118M":Add a private constructor to hide the implicit public one.(øÕŪþÿÿÿÿ
`
java:S1124N"EReorder the modifiers to comply with the Java Language Specification.(»ÔÌôüÿÿÿÿ
`
java:S1124V"EReorder the modifiers to comply with the Java Language Specification.(ÓþûÐúÿÿÿÿ
`
java:S1124^"EReorder the modifiers to comply with the Java Language Specification.(òÄó²ýÿÿÿÿ
[
java:S1124f"EReorder the modifiers to comply with the Java Language Specification.(ƒϚ
Q
java:S1118ƒ":Add a private constructor to hide the implicit public one.(ÜÖ¹Ø
a
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(®íç±þÿÿÿÿ
a
java:S1124<18>"EReorder the modifiers to comply with the Java Language Specification.(ªª‡›úÿÿÿÿ
V
java:S1118<18>":Add a private constructor to hide the implicit public one.(ŽÞëÿùÿÿÿÿ
\
java:S1124ž"EReorder the modifiers to comply with the Java Language Specification.(<28>Þúí

@ -0,0 +1,5 @@
\
java:S2259¹"@A "NullPointerException" could be thrown; "js" is nullable here.(±ú”§ýÿÿÿÿ
i
java:S3776"RRefactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.(´ÇŽª

@ -0,0 +1,3 @@
>
java:S1604)"(Make this anonymous inner class a lambda(€ÖÊ©

@ -0,0 +1,59 @@
?
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(ά¯”
?
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.(øå´¡ÿÿÿÿÿ
U
java:S18743":Remove this use of "PreferenceActivity"; it is deprecated.(ç½Úàøÿÿÿÿ
P
java:S1874@":Remove this use of "PreferenceCategory"; it is deprecated.(ÜΘÓ
`
java:S1874I"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(ÍΘÇ
K
java:S1874J"0Remove this use of "onCreate"; it is deprecated.(È¢Õ–úÿÿÿÿ
P
java:S1874P":Remove this use of "PreferenceCategory"; it is deprecated.(‰´Òø
L
java:S1874P"6Remove this use of "findPreference"; it is deprecated.(‰´Òø
I
java:S1874X"3Remove this use of "getListView"; it is deprecated.(ôدé
h
java:S3776\"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(Ù«µ§
`
java:S1874x"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(ÍÙ÷¢
G
java:S1874|"1Remove this use of "onDestroy"; it is deprecated.(ÍÊ·´
H
java:S1874"1Remove this use of "removeAll"; it is deprecated.(<28>€ûœ
N
java:S1874"2Remove this use of "Preference"; it is deprecated.(ƒù¬ ýÿÿÿÿ
N
java:S1874"2Remove this use of "Preference"; it is deprecated.(ƒù¬ ýÿÿÿÿ
G
java:S1874"0Remove this use of "setTitle"; it is deprecated.(<28>ÿœ
N
java:S1874"2Remove this use of "setSummary"; it is deprecated.(÷ÒÙÝûÿÿÿÿ
[
java:S1874"DRemove this use of "setOnPreferenceClickListener"; it is deprecated.(ž§¤É
N
java:S1874"2Remove this use of "Preference"; it is deprecated.(¶®è‰øÿÿÿÿ
Q
java:S1874š"5Remove this use of "addPreference"; it is deprecated.(èÙ†Ýüÿÿÿÿ
a
java:S1874ù"JDon't override a deprecated method or explicitly mark it as "@Deprecated".(<28>ñ”Ò
Q
java:S1161ù":Add the "@Override" annotation above this method signature(<28>ñ”Ò

@ -0,0 +1,15 @@
u
java:S2293½"YReplace the type specification in this constructor call with the diamond operator ("<>").(áºÐ»ûÿÿÿÿ
j
java:S1192?"ODefine a constant instead of duplicating this literal "Wrong note id:" 3 times.(€¨ƒ¦úÿÿÿÿ
O
java:S2589ð"8Remove this expression which always evaluates to "false"(…Ùâ±
\
java:S1126}"AReplace this if-then-else statement by a single return statement.(Æ·¾ôúÿÿÿÿ
i
java:S3776µ"RRefactor this method to reduce its Cognitive Complexity from 23 to the 15 allowed.(<28>¤§²
U
java:S1155ì">Use isEmpty() to check whether the collection is empty or not.(”¥ŠÉ
\
java:S2147õ"ECombine this catch with the one at line 242, which has the same body.(æš©›

@ -0,0 +1,9 @@
t
java:S2293*"YReplace the type specification in this constructor call with the diamond operator ("<>").(¡Ê©ëùÿÿÿÿ
Œ
java:S1319Ì"pThe return type of this method should be an interface such as "List" rather than the implementation "ArrayList".(ëï·ºüÿÿÿÿ
\
java:S2259Š"@A "NullPointerException" could be thrown; "js" is nullable here.(Âä¢Ñúÿÿÿÿ
r
java:S3923Ë"[Remove this conditional structure or edit its code blocks so that they're not all the same.(†ÈÔ¡

@ -0,0 +1,27 @@
>
java:S1604/"(Make this anonymous inner class a lambda(«ÑŽð
`
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(Ö<C396>¿ùÿÿÿÿ
`
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(êŲôûÿÿÿÿ
`
java:S1124"EReorder the modifiers to comply with the Java Language Specification.(šØ²Ãùÿÿÿÿ
`
java:S1124!"EReorder the modifiers to comply with the Java Language Specification.(°àº¿øÿÿÿÿ
[
java:S1124#"EReorder the modifiers to comply with the Java Language Specification.(ôÕ³Þ
[
java:S1124%"EReorder the modifiers to comply with the Java Language Specification.(ߪäË
[
java:S1124'"EReorder the modifiers to comply with the Java Language Specification.(¹‹¶È
L
java:S2696/"6Make the enclosing method "static" or remove this set.(«ÑŽð
L
java:S26961"6Make the enclosing method "static" or remove this set.(ÙÊãÚ
E
java:S18747"/Remove this use of "execute"; it is deprecated.(¡íŠþ
L
java:S2696C"6Make the enclosing method "static" or remove this set.(ÙÊãÚ
K
java:S2696e"6Make the enclosing method "static" or remove this set.(„ò<E2809E>

@ -0,0 +1,13 @@
u
java:S2293<18>"YReplace the type specification in this constructor call with the diamond operator ("<>").(Ÿ“<C5B8>…üÿÿÿÿ
u
java:S2293"YReplace the type specification in this constructor call with the diamond operator ("<>").(Ÿ“<C5B8>…üÿÿÿÿ
u
java:S2293¢"YReplace the type specification in this constructor call with the diamond operator ("<>").(Ÿ“<C5B8>…üÿÿÿÿ
2
java:S2386."Make this member "protected".(êÝÐu
n
java:S3776å"RRefactor this method to reduce its Cognitive Complexity from 91 to the 15 allowed.(¸ŸêÉýÿÿÿÿ
h
java:S3776»"RRefactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed.(ë®Æ

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

Loading…
Cancel
Save