From 33d3683ae2fcccedb2b34ccb253b6cbe7cf2ac76 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 22 Jan 2021 22:58:09 +0530 Subject: [PATCH] Codestyle churn (#1283) * editorconfig: delete Signed-off-by: Harsh Shandilya * idea: adjust codestyle Signed-off-by: Harsh Shandilya * all: reformat with simplified import ordering rules Signed-off-by: Harsh Shandilya --- .editorconfig | 23 ------------------ .idea/codeStyles/Project.xml | 14 +++-------- .../java/dev/msfjarvis/aps/Application.kt | 6 ++--- .../aps/data/repo/PasswordRepository.kt | 4 ++-- .../ui/autofill/AutofillDecryptActivity.kt | 6 ++--- .../aps/ui/autofill/AutofillFilterActivity.kt | 4 ++-- .../AutofillPublisherChangedActivity.kt | 2 +- .../aps/ui/autofill/AutofillSaveActivity.kt | 4 ++-- .../aps/ui/crypto/BasePgpActivity.kt | 4 ++-- .../aps/ui/crypto/DecryptActivity.kt | 4 ++-- .../aps/ui/crypto/PasswordCreationActivity.kt | 10 ++++---- .../aps/ui/dialogs/BasicBottomSheet.kt | 1 + .../dialogs/FolderCreationDialogFragment.kt | 4 ++-- .../aps/ui/dialogs/ItemCreationBottomSheet.kt | 2 +- .../XkPasswordGeneratorDialogFragment.kt | 2 +- .../ui/folderselect/SelectFolderFragment.kt | 6 ++--- .../aps/ui/git/base/BaseGitActivity.kt | 8 +++---- .../aps/ui/git/config/GitConfigActivity.kt | 6 ++--- .../ui/git/config/GitServerConfigActivity.kt | 10 ++++---- .../msfjarvis/aps/ui/main/LaunchActivity.kt | 2 +- .../ui/onboarding/fragments/CloneFragment.kt | 2 +- .../fragments/KeySelectionFragment.kt | 6 ++--- .../fragments/RepoLocationFragment.kt | 8 +++---- .../aps/ui/passwords/PasswordFragment.kt | 22 ++++++++--------- .../aps/ui/passwords/PasswordStore.kt | 20 ++++++++-------- .../aps/ui/proxy/ProxySelectorActivity.kt | 6 ++--- .../aps/ui/settings/AutofillSettings.kt | 24 +++++++++---------- .../ui/settings/DirectorySelectionActivity.kt | 8 +++---- .../aps/ui/settings/GeneralSettings.kt | 10 ++++---- .../msfjarvis/aps/ui/settings/MiscSettings.kt | 14 +++++------ .../aps/ui/settings/PasswordSettings.kt | 11 ++++----- .../aps/ui/settings/RepositorySettings.kt | 18 +++++++------- .../aps/ui/settings/SettingsActivity.kt | 6 ++--- .../aps/ui/sshkeygen/SshKeyGenActivity.kt | 2 +- .../aps/ui/sshkeygen/SshKeyImportActivity.kt | 4 ++-- .../autofill/Api30AutofillResponseBuilder.kt | 2 +- .../aps/util/autofill/AutofillMatcher.kt | 4 ++-- .../util/autofill/AutofillResponseBuilder.kt | 2 +- .../aps/util/autofill/AutofillViewUtils.kt | 2 +- .../aps/util/git/GitCommandExecutor.kt | 4 ++-- .../util/git/operation/CredentialFinder.kt | 6 ++--- .../aps/util/git/operation/GitOperation.kt | 12 +++++----- .../util/git/sshj/OpenKeychainKeyProvider.kt | 2 +- .../dev/msfjarvis/aps/util/git/sshj/SshKey.kt | 2 +- .../aps/util/git/sshj/SshjSessionFactory.kt | 2 +- .../aps/util/pwgen/PasswordGenerator.kt | 2 +- .../aps/util/pwgenxkpwd/XkpwdDictionary.kt | 2 +- .../aps/util/services/ClipboardService.kt | 2 +- .../aps/util/services/OreoAutofillService.kt | 2 +- .../msfjarvis/aps/util/settings/Migrations.kt | 2 +- .../SearchableRepositoryViewModel.kt | 6 ++--- .../publicsuffixlist/PublicSuffixListData.kt | 2 +- buildSrc/src/main/java/BaseProjectConfig.kt | 2 +- 53 files changed, 155 insertions(+), 186 deletions(-) delete mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 06bd1e00..00000000 --- a/.editorconfig +++ /dev/null @@ -1,23 +0,0 @@ -# https://editorconfig.org -root = true - -[*] -indent_style = space -indent_size = 4 - -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.{java,kt,kts,xml}] -indent_size = 4 -ij_continuation_indent_size = 4 - -[*.{kt,kts}] -kotlin_imports_layout=ascii -ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL -ij_kotlin_field_annotation_wrap = normal - -[*.md] -trim_trailing_whitespace = false diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index f1b342f5..f831e10b 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -20,17 +20,6 @@ @@ -170,6 +159,9 @@