| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="5" by="lint 26.5.0-alpha13"> |
| |
| <issue |
| id="DefaultLocale" |
| message="Implicitly using the default locale is a common source of bugs: Use `toUpperCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`."> |
| <location |
| file="src/org/jetbrains/android/dom/AndroidDomElementDescriptorProvider.java" |
| line="170"/> |
| </issue> |
| |
| <issue |
| id="DefaultLocale" |
| message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`."> |
| <location |
| file="src/org/jetbrains/android/maven/AndroidFacetImporterBase.java" |
| line="1279"/> |
| </issue> |
| |
| <issue |
| id="DefaultLocale" |
| message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`."> |
| <location |
| file="src/org/jetbrains/android/maven/AndroidFacetImporterBase.java" |
| line="1279"/> |
| </issue> |
| |
| <issue |
| id="DefaultLocale" |
| message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`."> |
| <location |
| file="src/org/jetbrains/android/compiler/tools/AndroidMavenExecutor.java" |
| line="91"/> |
| </issue> |
| |
| <issue |
| id="DefaultLocale" |
| message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`."> |
| <location |
| file="src/org/jetbrains/android/actions/AndroidProcessChooserDialog.java" |
| line="388"/> |
| </issue> |
| |
| <issue |
| id="DefaultLocale" |
| message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`."> |
| <location |
| file="src/org/jetbrains/android/actions/AndroidProcessChooserDialog.java" |
| line="407"/> |
| </issue> |
| |
| <issue |
| id="DefaultLocale" |
| message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`."> |
| <location |
| file="src/org/jetbrains/android/actions/AndroidProcessChooserDialog.java" |
| line="435"/> |
| </issue> |
| |
| <issue |
| id="DefaultLocale" |
| message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`."> |
| <location |
| file="src/com/android/tools/idea/npw/importing/ArchiveToGradleModuleStep.java" |
| line="86"/> |
| </issue> |
| |
| <issue |
| id="DefaultLocale" |
| message="Implicitly using the default locale is a common source of bugs: Use `toUpperCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`."> |
| <location |
| file="src/com/android/tools/idea/npw/assetstudio/wizard/ConfirmGenerateImagesStep.java" |
| line="213"/> |
| </issue> |
| |
| <issue |
| id="DefaultLocale" |
| message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`."> |
| <location |
| file="src/com/android/tools/idea/run/DeviceChooser.java" |
| line="411"/> |
| </issue> |
| |
| <issue |
| id="DefaultLocale" |
| message="Implicitly using the default locale is a common source of bugs: Use `toUpperCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`."> |
| <location |
| file="src/org/jetbrains/android/exportSignedPackage/ExportSignedPackageWizard.java" |
| line="260"/> |
| </issue> |
| |
| <issue |
| id="DefaultLocale" |
| message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`."> |
| <location |
| file="src/org/jetbrains/android/exportSignedPackage/NewKeyForm.java" |
| line="101"/> |
| </issue> |
| |
| <issue |
| id="DefaultLocale" |
| message="Implicitly using the default locale is a common source of bugs: Use `toLowerCase(Locale)` instead. For strings meant to be internal use `Locale.ROOT`, otherwise `Locale.getDefault()`."> |
| <location |
| file="src/com/android/tools/idea/run/tasks/RunInstantAppTask.java" |
| line="180"/> |
| </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/profiling/capture/CaptureService.java" |
| line="113"/> |
| </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="112"/> |
| </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/sync/setup/module/dependency/DependenciesExtractor.java" |
| line="111"/> |
| </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/invoker/GradleTasksExecutorImpl.java" |
| line="353"/> |
| </issue> |
| |
| <issue |
| id="VisibleForTests" |
| message="This method should only be accessed from tests or within private scope"> |
| <location |
| file="src/com/android/tools/idea/res/ModuleResourceRepository.java" |
| line="275"/> |
| </issue> |
| |
| <issue |
| id="VisibleForTests" |
| message="This method should only be accessed from tests or within private scope"> |
| <location |
| file="src/com/android/tools/idea/run/deployment/SelectDeviceAndSnapshotAction.java" |
| line="88"/> |
| </issue> |
| |
| <issue |
| id="VisibleForTests" |
| message="This method should only be accessed from tests or within private scope"> |
| <location |
| file="src/com/android/tools/idea/stats/StatisticsViewer.java" |
| line="68"/> |
| </issue> |
| |
| <issue |
| id="VisibleForTests" |
| message="This method should only be accessed from tests or within private scope"> |
| <location |
| file="src/com/android/tools/idea/stats/StatisticsViewer.java" |
| line="68"/> |
| </issue> |
| |
| <issue |
| id="VisibleForTests" |
| message="This method should only be accessed from tests or within private scope"> |
| <location |
| file="src/com/android/tools/idea/stats/StatisticsViewer.java" |
| line="70"/> |
| </issue> |
| |
| <issue |
| id="VisibleForTests" |
| message="This method should only be accessed from tests or within private scope"> |
| <location |
| file="src/com/android/tools/idea/stats/StatisticsViewer.java" |
| line="70"/> |
| </issue> |
| |
| <issue |
| id="VisibleForTests" |
| message="This method should only be accessed from tests or within private scope"> |
| <location |
| file="src/com/android/tools/idea/stats/StatisticsViewer.java" |
| line="171"/> |
| </issue> |
| |
| <issue |
| id="VisibleForTests" |
| message="This method should only be accessed from tests or within private scope"> |
| <location |
| file="src/com/android/tools/idea/sdk/StudioDownloader.java" |
| line="115"/> |
| </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/sync/compatibility/VersionCompatibilityChecker.java" |
| line="92"/> |
| </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/sync/compatibility/VersionCompatibilityChecker.java" |
| line="92"/> |
| </issue> |
| |
| <issue |
| id="UseValueOf" |
| message="Use `Double.valueOf(COLUMN_COUNT)` instead"> |
| <location |
| file="src/com/android/tools/idea/ui/resourcechooser/ColorPicker.java" |
| line="985"/> |
| </issue> |
| |
| <issue |
| id="UseValueOf" |
| message="Use `Integer.valueOf(0)` instead"> |
| <location |
| file="src/com/android/tools/idea/flags/ExperimentalSettingsConfigurable.java" |
| line="69"/> |
| </issue> |
| |
| <issue |
| id="UseValueOf" |
| message="Use `Integer.valueOf(100)` instead"> |
| <location |
| file="src/com/android/tools/idea/flags/ExperimentalSettingsConfigurable.java" |
| line="70"/> |
| </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/eclipse/EclipseProject.java" |
| line="540"/> |
| </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/eclipse/ImportSummary.java" |
| line="206"/> |
| </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/structure/model/helpers/InputParsers.kt" |
| line="141"/> |
| </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="905"/> |
| </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="383"/> |
| </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/npw/assetstudio/ui/ProposedFileTreeModel.kt" |
| line="103"/> |
| </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/swing/layoutlib/AndroidPreviewPanel.java" |
| line="228"/> |
| </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="423"/> |
| </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/rendering/RenderTask.java" |
| line="667"/> |
| </issue> |
| |
| <issue |
| id="SwingWorker" |
| message="Do not use `javax.swing.SwingWorker`, use `com.intellij.util.concurrency.SwingWorker` instead. See `go/do-not-freeze`."> |
| <location |
| file="src/com/android/tools/swing/layoutlib/AndroidPreviewPanel.java" |
| line="142"/> |
| </issue> |
| |
| <issue |
| id="SwingWorker" |
| message="Do not use `javax.swing.SwingWorker`, use `com.intellij.util.concurrency.SwingWorker` instead. See `go/do-not-freeze`."> |
| <location |
| file="src/com/android/tools/idea/run/deployment/ConnectedDevicesWorkerDelegate.java" |
| line="39"/> |
| </issue> |
| |
| <issue |
| id="SwingWorker" |
| message="Do not use `javax.swing.SwingWorker`, use `com.intellij.util.concurrency.SwingWorker` instead. See `go/do-not-freeze`."> |
| <location |
| file="src/com/android/tools/idea/run/deployment/VirtualDevicesWorkerDelegate.java" |
| line="43"/> |
| </issue> |
| |
| <issue |
| id="WrongInvokeLater" |
| message="Do not use `SwingUtilities.invokeLater`; use `Application.invokeLater` instead. See `go/do-not-freeze`."> |
| <location |
| file="src/com/android/tools/idea/gradle/structure/editors/MavenDependencyLookupDialog.java" |
| line="451"/> |
| </issue> |
| |
| <issue |
| id="WrongInvokeLater" |
| message="Do not use `SwingUtilities.invokeLater`; use `Application.invokeLater` instead. See `go/do-not-freeze`."> |
| <location |
| file="src/com/android/tools/idea/gradle/structure/configurables/variables/VariablesTable.kt" |
| line="336"/> |
| </issue> |
| |
| <issue |
| id="WrongInvokeLater" |
| message="Do not use `SwingUtilities.invokeLater`; use `Application.invokeLater` instead. See `go/do-not-freeze`."> |
| <location |
| file="src/com/android/tools/idea/gradle/structure/configurables/variables/VariablesTable.kt" |
| line="363"/> |
| </issue> |
| |
| <issue |
| id="WrongInvokeLater" |
| message="Do not use `SwingUtilities.invokeLater`; use `Application.invokeLater` instead. See `go/do-not-freeze`."> |
| <location |
| file="src/com/android/tools/idea/gradle/structure/configurables/variables/VariablesTable.kt" |
| line="447"/> |
| </issue> |
| |
| <issue |
| id="WrongInvokeLater" |
| message="Do not use `SwingUtilities.invokeLater`; use `Application.invokeLater` instead. See `go/do-not-freeze`."> |
| <location |
| file="src/com/android/tools/idea/gradle/structure/configurables/variables/VariablesTable.kt" |
| line="485"/> |
| </issue> |
| |
| <issue |
| id="WrongInvokeLater" |
| message="Do not use `SwingUtilities.invokeLater`; use `Application.invokeLater` instead. See `go/do-not-freeze`."> |
| <location |
| file="src/com/android/tools/idea/gradle/structure/configurables/variables/VariablesTable.kt" |
| line="514"/> |
| </issue> |
| |
| </issues> |