correct some error by sonarlint

This commit is contained in:
ziji Wu 2019-09-10 17:41:07 +08:00
parent d228b64819
commit e0f4d3a5a5
1 changed files with 89 additions and 11 deletions

View File

@ -6,7 +6,9 @@
</shared>
</component>
<component name="ChangeListManager">
<list default="true" id="c8515555-ebbc-49d5-889b-0c59bd6c3b6d" name="默认更改列表" comment="" />
<list default="true" id="c8515555-ebbc-49d5-889b-0c59bd6c3b6d" name="默认更改列表" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
</list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@ -49,11 +51,32 @@
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<file pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/gtask/remote/GTaskASyncTask.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="177">
<caret line="80" column="17" selection-start-line="80" selection-start-column="17" selection-end-line="80" selection-end-column="17" />
<state relative-caret-position="337">
<caret line="89" column="5" lean-forward="true" selection-start-line="89" selection-start-column="5" selection-end-line="89" selection-end-column="5" />
</state>
</provider>
</entry>
</file>
<file pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/Note.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="207">
<caret line="244" column="17" lean-forward="true" selection-start-line="244" selection-start-column="17" selection-end-line="244" selection-end-column="17" />
<folding>
<element signature="e#2949#2950#0" expanded="true" />
<element signature="e#2998#2999#0" expanded="true" />
<element signature="e#3040#3041#0" expanded="true" />
<element signature="e#3083#3084#0" expanded="true" />
<element signature="e#3118#3119#0" expanded="true" />
<element signature="e#3162#3163#0" expanded="true" />
<element signature="e#3204#3205#0" expanded="true" />
<element signature="e#3247#3248#0" expanded="true" />
<element signature="e#3304#3305#0" expanded="true" />
<element signature="e#3353#3354#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
@ -83,6 +106,14 @@
</file>
</leaf>
</component>
<component name="FindInProjectRecents">
<findStrings>
<find>WrongNoteID</find>
</findStrings>
<replaceStrings>
<replace>WRONGNOTEID</replace>
</replaceStrings>
</component>
<component name="Git.Settings">
<option name="PREVIOUS_COMMIT_AUTHORS">
<list>
@ -98,6 +129,7 @@
<option value="$PROJECT_DIR$/gradle/wrapper/gradle-wrapper.properties" />
<option value="$PROJECT_DIR$/app/build.gradle" />
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/gtask/remote/GTaskASyncTask.java" />
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/Note.java" />
</list>
</option>
</component>
@ -120,7 +152,25 @@
<expand>
<path>
<item name="src" type="1abcf292:AndroidViewProjectNode" />
<item name="Gradle Scripts" type="ae0cef3a:AndroidBuildScriptsGroupNode" />
<item name="app" type="feadf853:AndroidModuleNode" />
</path>
<path>
<item name="src" type="1abcf292:AndroidViewProjectNode" />
<item name="app" type="feadf853:AndroidModuleNode" />
<item name="java" type="edd41e36:AndroidSourceTypeNode" />
</path>
<path>
<item name="src" type="1abcf292:AndroidViewProjectNode" />
<item name="app" type="feadf853:AndroidModuleNode" />
<item name="java" type="edd41e36:AndroidSourceTypeNode" />
<item name="notes" type="cbb59c9e:AndroidPsiDirectoryNode" />
</path>
<path>
<item name="src" type="1abcf292:AndroidViewProjectNode" />
<item name="app" type="feadf853:AndroidModuleNode" />
<item name="java" type="edd41e36:AndroidSourceTypeNode" />
<item name="notes" type="cbb59c9e:AndroidPsiDirectoryNode" />
<item name="model" type="462c0819:PsiDirectoryNode" />
</path>
</expand>
<select />
@ -228,11 +278,19 @@
<option name="project" value="LOCAL" />
<updated>1568107276902</updated>
</task>
<option name="localTasksCounter" value="2" />
<task id="LOCAL-00002" summary="correct some error by sonarlint">
<created>1568108374954</created>
<option name="number" value="00002" />
<option name="presentableId" value="LOCAL-00002" />
<option name="project" value="LOCAL" />
<updated>1568108374954</updated>
</task>
<option name="localTasksCounter" value="3" />
<servers />
</component>
<component name="ToolWindowManager">
<frame x="-7" y="-7" width="1550" height="878" extended-state="6" />
<editor active="true" />
<layout>
<window_info id="Captures" order="0" side_tool="true" weight="0.25" />
<window_info content_ui="combo" id="Project" order="1" visible="true" weight="0.18967828" />
@ -243,9 +301,9 @@
<window_info id="Image Layers" order="6" />
<window_info id="Capture Tool" order="7" />
<window_info id="Favorites" order="8" side_tool="true" />
<window_info active="true" anchor="bottom" id="Messages" visible="true" weight="0.3297587" />
<window_info anchor="bottom" id="Messages" weight="0.3297587" />
<window_info anchor="bottom" id="Run" order="0" />
<window_info anchor="bottom" id="SonarLint" order="1" />
<window_info active="true" anchor="bottom" id="SonarLint" order="1" visible="true" weight="0.3297587" />
<window_info anchor="bottom" id="Logcat" order="2" />
<window_info anchor="bottom" id="TODO" order="3" />
<window_info anchor="bottom" id="Android Profiler" order="4" show_stripe_button="false" />
@ -264,7 +322,8 @@
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="AS run version" />
<option name="LAST_COMMIT_MESSAGE" value="AS run version" />
<MESSAGE value="correct some error by sonarlint" />
<option name="LAST_COMMIT_MESSAGE" value="correct some error by sonarlint" />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/import-summary.txt">
@ -303,8 +362,27 @@
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/gtask/remote/GTaskASyncTask.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="177">
<caret line="80" column="17" selection-start-line="80" selection-start-column="17" selection-end-line="80" selection-end-column="17" />
<state relative-caret-position="337">
<caret line="89" column="5" lean-forward="true" selection-start-line="89" selection-start-column="5" selection-end-line="89" selection-end-column="5" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/Note.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="207">
<caret line="244" column="17" lean-forward="true" selection-start-line="244" selection-start-column="17" selection-end-line="244" selection-end-column="17" />
<folding>
<element signature="e#2949#2950#0" expanded="true" />
<element signature="e#2998#2999#0" expanded="true" />
<element signature="e#3040#3041#0" expanded="true" />
<element signature="e#3083#3084#0" expanded="true" />
<element signature="e#3118#3119#0" expanded="true" />
<element signature="e#3162#3163#0" expanded="true" />
<element signature="e#3204#3205#0" expanded="true" />
<element signature="e#3247#3248#0" expanded="true" />
<element signature="e#3304#3305#0" expanded="true" />
<element signature="e#3353#3354#0" expanded="true" />
</folding>
</state>
</provider>
</entry>