| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="5" by="lint 7.2.0-dev"> |
| |
| <issue |
| id="SimpleDateFormat" |
| message="To get local formatting use `getDateInstance()`, `getDateTimeInstance()`, or `getTimeInstance()`, or use `new SimpleDateFormat(String template, Locale locale)` with for example `Locale.US` for ASCII dates."> |
| <location |
| file="src/com/android/tools/idea/profiling/capture/CaptureService.java" |
| line="112"/> |
| </issue> |
| |
| <issue |
| id="SimpleDateFormat" |
| message="To get local formatting use `getDateInstance()`, `getDateTimeInstance()`, or `getTimeInstance()`, or use `new SimpleDateFormat(String template, Locale locale)` with for example `Locale.US` for ASCII dates."> |
| <location |
| file="src/com/android/tools/idea/run/LaunchTaskRunner.java" |
| line="310"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcemanager/explorer/AssetListView.kt" |
| line="33"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcemanager/widget/ChessBoardPanel.kt" |
| line="67"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcechooser/ColorPicker.java" |
| line="615"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcechooser/ColorPicker.java" |
| line="754"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcechooser/ColorPicker.java" |
| line="919"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcechooser/ColorPicker.java" |
| line="920"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcechooser/ColorPicker.java" |
| line="1384"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcechooser/ColorResourcePicker.kt" |
| line="299"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/avdmanager/DeviceDefinitionPreview.java" |
| line="55"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/avdmanager/DeviceDefinitionPreview.java" |
| line="57"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/avdmanager/DeviceDefinitionPreview.java" |
| line="58"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/avdmanager/DeviceDefinitionPreview.java" |
| line="62"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/DistributionChartComponent.java" |
| line="47"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/DistributionChartComponent.java" |
| line="48"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/DistributionChartComponent.java" |
| line="61"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/DistributionChartComponent.java" |
| line="62"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/DistributionChartComponent.java" |
| line="63"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/DistributionChartComponent.java" |
| line="64"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/DistributionChartComponent.java" |
| line="65"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/DistributionChartComponent.java" |
| line="66"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcechooser/DrawableGrid.kt" |
| line="48"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/rendering/GutterIconCache.java" |
| line="39"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/rendering/GutterIconCache.java" |
| line="40"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/rendering/GutterIconRenderer.java" |
| line="62"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/rendering/GutterIconRenderer.java" |
| line="63"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/fonts/MoreFontsDialog.java" |
| line="77"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/fonts/MoreFontsDialog.java" |
| line="78"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/fonts/MoreFontsDialog.java" |
| line="79"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/fonts/MoreFontsDialog.java" |
| line="80"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/fonts/MoreFontsDialog.java" |
| line="81"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/fonts/MoreFontsDialog.java" |
| line="82"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/fonts/MoreFontsDialog.java" |
| line="83"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcemanager/qualifiers/QualifierConfigurationPanel.kt" |
| line="52"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcemanager/explorer/ResourceExplorerToolbar.kt" |
| line="60"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcemanager/explorer/ResourceExplorerToolbar.kt" |
| line="61"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcemanager/explorer/ResourceExplorerToolbar.kt" |
| line="62"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcemanager/explorer/ResourceExplorerToolbar.kt" |
| line="64"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcemanager/widget/SectionList.kt" |
| line="71"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcemanager/widget/Separator.kt" |
| line="34"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcemanager/sketchImporter/ui/SketchImporterView.kt" |
| line="51"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcemanager/sketchImporter/ui/SketchImporterView.kt" |
| line="52"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/editors/theme/ThemeEditorConstants.java" |
| line="36"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/editors/theme/ThemeEditorConstants.java" |
| line="38"/> |
| </issue> |
| |
| <issue |
| id="JbUiStored" |
| message="Do not store `JBUI.scale` scaled results in fields; this will not work correctly on dynamic theme or font size changes"> |
| <location |
| file="src/com/android/tools/idea/wizard/WizardConstants.java" |
| line="46"/> |
| </issue> |
| |
| <issue |
| id="VisibleForTests" |
| message="This method should only be accessed from tests or within private scope"> |
| <location |
| file="src/com/android/tools/idea/startup/AndroidStudioAnalyticsImpl.java" |
| line="55"/> |
| </issue> |
| |
| <issue |
| id="VisibleForTests" |
| message="This method should only be accessed from tests or within private scope"> |
| <location |
| file="src/com/android/tools/idea/testartifacts/instrumented/AndroidTestConfigurationProducer.kt" |
| line="172"/> |
| </issue> |
| |
| <issue |
| id="VisibleForTests" |
| message="This method should only be accessed from tests or within private scope"> |
| <location |
| file="src/com/android/tools/idea/testartifacts/instrumented/AndroidTestConfigurationProducer.kt" |
| line="173"/> |
| </issue> |
| |
| <issue |
| id="VisibleForTests" |
| message="This method should only be accessed from tests or within private scope"> |
| <location |
| file="src/com/android/tools/idea/gradle/project/build/output/BuildOutputParserWrapper.kt" |
| line="42"/> |
| </issue> |
| |
| <issue |
| id="UseValueOf" |
| message="Use `Double.valueOf(COLUMN_COUNT)` instead"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcechooser/ColorPicker.java" |
| line="987"/> |
| </issue> |
| |
| <issue |
| id="FileComparisons" |
| message="Do not compare java.io.File with `equals` or `==`: will not work correctly on case insensitive file systems! See `go/files-howto`."> |
| <location |
| file="src/com/android/tools/idea/fonts/DownloadableFontCacheServiceImpl.java" |
| line="272"/> |
| </issue> |
| |
| <issue |
| id="FileComparisons" |
| message="Do not compare java.io.File with `equals` or `==`: will not work correctly on case insensitive file systems! See `go/files-howto`."> |
| <location |
| file="src/com/android/tools/idea/gradle/model/java/JarLibraryDependency.java" |
| line="148"/> |
| </issue> |
| |
| <issue |
| id="FileComparisons" |
| message="Do not compare java.io.File with `equals` or `==`: will not work correctly on case insensitive file systems! See `go/files-howto`."> |
| <location |
| file="src/com/android/tools/idea/gradle/model/java/JarLibraryDependency.java" |
| line="149"/> |
| </issue> |
| |
| <issue |
| id="FileComparisons" |
| message="Do not compare java.io.File with `equals` or `==`: will not work correctly on case insensitive file systems! See `go/files-howto`."> |
| <location |
| file="src/com/android/tools/idea/gradle/model/java/JarLibraryDependency.java" |
| line="150"/> |
| </issue> |
| |
| <issue |
| id="FileComparisons" |
| message="Do not compare java.io.File with `equals` or `==`: will not work correctly on case insensitive file systems! See `go/files-howto`."> |
| <location |
| file="src/com/android/tools/idea/gradle/model/java/JavaModuleContentRoot.java" |
| line="183"/> |
| </issue> |
| |
| <issue |
| id="FileComparisons" |
| message="Do not compare java.io.File with `equals` or `==`: will not work correctly on case insensitive file systems! See `go/files-howto`."> |
| <location |
| file="src/com/android/tools/idea/gradle/project/sync/setup/module/dependency/LibraryDependency.java" |
| line="86"/> |
| </issue> |
| |
| <issue |
| id="FileComparisons" |
| message="Do not compare java.io.File with `equals` or `==`: will not work correctly on case insensitive file systems! See `go/files-howto`."> |
| <location |
| file="src/com/android/tools/idea/editors/manifest/ManifestPanel.java" |
| line="903"/> |
| </issue> |
| |
| <issue |
| id="FileComparisons" |
| message="Do not compare java.io.File with `equals` or `==`: will not work correctly on case insensitive file systems! See `go/files-howto`."> |
| <location |
| file="src/com/android/tools/idea/model/MergedManifestInfo.java" |
| line="352"/> |
| </issue> |
| |
| <issue |
| id="CommonForkJoinPool" |
| message="Avoid using common ForkJoinPool, directly or indirectly (for example via CompletableFuture). It has a limited set of threads on some machines which leads to hangs. See `go/do-not-freeze`."> |
| <location |
| file="src/com/android/tools/idea/fonts/MoreFontsDialog.java" |
| line="428"/> |
| </issue> |
| |
| <issue |
| id="ImplicitExecutor" |
| message="Use `runAsync` overload with an explicit Executor instead. See `go/do-not-freeze`."> |
| <location |
| file="src/com/android/tools/idea/diagnostics/hprof/action/AnalysisRunnable.kt" |
| line="93"/> |
| </issue> |
| |
| <issue |
| id="ImplicitExecutor" |
| message="Use `supplyAsync` overload with an explicit Executor instead. See `go/do-not-freeze`."> |
| <location |
| file="src/com/android/tools/idea/ddms/actions/CachedFeatures.java" |
| line="62"/> |
| </issue> |
| |
| <issue |
| id="ImplicitExecutor" |
| message="Use `supplyAsync` overload with an explicit Executor instead. See `go/do-not-freeze`."> |
| <location |
| file="src/com/android/tools/idea/actions/license/LicenseTextCollector.java" |
| line="39"/> |
| </issue> |
| |
| <issue |
| id="ImplicitExecutor" |
| message="Use `supplyAsync` overload with an explicit Executor instead. See `go/do-not-freeze`."> |
| <location |
| file="src/com/android/tools/idea/ui/resourcemanager/plugin/RasterAssetRenderer.kt" |
| line="36"/> |
| </issue> |
| |
| <issue |
| id="ImplicitExecutor" |
| message="Use `whenCompleteAsync` overload with an explicit Executor instead. See `go/do-not-freeze`."> |
| <location |
| file="src/com/android/tools/idea/rendering/RenderTask.java" |
| line="852"/> |
| </issue> |
| |
| <issue |
| id="ImplicitExecutor" |
| message="Use `supplyAsync` overload with an explicit Executor instead. See `go/do-not-freeze`."> |
| <location |
| file="src/com/android/tools/idea/ui/resourcemanager/plugin/SVGAssetRenderer.kt" |
| line="45"/> |
| </issue> |
| |
| </issues> |