oyeraghib
5c753d3e27
Migrate ExtendedFragmentFactoryTest to Kotlin
2022-04-23 21:24:34 -05:00
oyeraghib
c9abd994fa
Rename .java to .kt
2022-04-23 21:24:34 -05:00
oyeraghib
c679a1e29a
Migrate UniqueArrayListTest to Kotlin
2022-04-23 21:17:48 -05:00
oyeraghib
bce758de2f
Rename .java to .kt
2022-04-23 21:17:48 -05:00
oyeraghib
a33ae50658
Migrate ResourceLoader to Kotlin
2022-04-23 21:10:52 -05:00
oyeraghib
ad55227823
Rename .java to .kt
2022-04-23 21:10:52 -05:00
Brayan Oliveira
6e664ce683
Convert ImportUtilsTest.kt to Kotlin
...
com.ichi2.utils.ImportUtilsTest
2022-04-23 21:04:22 -05:00
Brayan Oliveira
207a394dcb
Rename ImportUtilsTest.java to .kt
...
com.ichi2.utils.ImportUtilsTest
2022-04-23 21:04:22 -05:00
Allison Bickford
c23e9d31d8
[Kotlin Cleanup] Statistics.kt ( #10943 )
2022-04-23 20:56:10 -05:00
David Allison
7c4bba2807
refactor: Convert DuplicateCrowdInStrings to Kotlin
...
com.ichi2.anki.lint.rules.DuplicateCrowdInStrings
2022-04-23 20:48:23 -05:00
David Allison
e83e696735
refactor: Rename DuplicateCrowdInStrings.java to .kt
...
com.ichi2.anki.lint.rules.DuplicateCrowdInStrings
2022-04-23 20:48:23 -05:00
Brayan Oliveira
3a554dc9cf
Convert AudioPlayerTest.kt to Kotlin
...
com.ichi2.anki.multimediacard.AudioPlayerTest
2022-04-23 20:41:55 -05:00
Brayan Oliveira
543b46dc04
Rename AudioPlayerTest.java to .kt
...
com.ichi2.anki.multimediacard.AudioPlayerTest
2022-04-23 20:41:55 -05:00
Brayan Oliveira
e8202fbc9a
Convert BeolingusParserTest.kt to Kotlin
...
com.ichi2.anki.multimediacard.beolingus.parsing.BeolingusParserTest
2022-04-23 20:35:20 -05:00
Brayan Oliveira
3b79f705da
Rename BeolingusParserTest.java to .kt
...
com.ichi2.anki.multimediacard.beolingus.parsing.BeolingusParserTest
2022-04-23 20:35:20 -05:00
Prince kushwaha
8204861dc4
Migrate MediaTest.java to Kotlin
2022-04-23 20:27:43 -05:00
Prince kushwaha
35f10a3f86
Rename MediaTest.java to MediaTest.kt
2022-04-23 20:27:43 -05:00
Brayan Oliveira
308e0368da
Convert ReviewerNoParamTest.kt to Kotlin
...
com.ichi2.anki.ReviewerNoParamTest
2022-04-23 20:20:13 -05:00
Brayan Oliveira
655b81c7d9
Rename ReviewerNoParamTest.java to .kt
...
com.ichi2.anki.ReviewerNoParamTest
2022-04-23 20:20:13 -05:00
Brayan Oliveira
8abfdd2388
Convert LanguageUtilsTest.kt to Kotlin
...
com.ichi2.utils.LanguageUtilsTest
2022-04-23 20:10:37 -05:00
Brayan Oliveira
852f03341a
Rename LanguageUtilsTest.java to .kt
...
com.ichi2.utils.LanguageUtilsTest
2022-04-23 20:10:37 -05:00
oyeraghib
21bb0e4dfb
Migrate MaxExecFunctionTest to Kotlin
2022-04-23 16:44:08 -05:00
oyeraghib
5d83eff382
Rename .java to .kt
2022-04-23 16:44:08 -05:00
David Allison
c16aae062a
feat: Allow Kotlin Migration on lint-rules ( #11037 )
...
* lint-rules: include kotlinMigration-lint
changes from `AnkiDroid/kotlinMigration`:
* remove `android { }` wrapper around `ktlint { }`
Due to this change, we use a new file
We use the -lint suffix to imply to reviewers that this is a different
file type
* lint-rules: remove ANDROID_TEST from kotlinMigration
2022-04-23 16:37:36 -05:00
oyeraghib
baab194362
Migrate NamedJSONComparatorTest to Kotlin
2022-04-23 16:27:12 -05:00
oyeraghib
dda860a7a0
Rename .java to .kt
2022-04-23 16:27:12 -05:00
oyeraghib
517611d6e9
Migrate DeckNameComparatorTest to Kotlin
2022-04-23 16:19:53 -05:00
oyeraghib
17a377d80a
Rename .java to .kt
2022-04-23 16:19:53 -05:00
oyeraghib
c1b7382e1f
Migrate ContentResolverUtilTest to Kotlin
2022-04-23 16:10:50 -05:00
oyeraghib
a87a8149aa
Rename .java to .kt
2022-04-23 16:10:50 -05:00
Arthur Milchior
85f63a5c48
Add a tools/migrate.sh file for Kotlin migration ( #10779 )
...
* Add a tools/migrate.sh file for Kotlin migration
Once actual code migration is done, once the code compiles correctly, tests
passes, and before any commit is done, run `tools/migrate.sh`. This will create the
two commits, as we want them in the migration process.
* Fix script for the mac
Signed-off-by: Kshitij Patil <kshitijpatil98@gmail.com>
Co-authored-by: Kshitij Patil <kshitijpatil98@gmail.com>
2022-04-23 16:05:58 -05:00
oyeraghib
e27f080ba1
Migrate CollectionUtilsTest to Kotlin
2022-04-23 16:04:27 -05:00
oyeraghib
ed9710728b
Rename .java to .kt
2022-04-23 16:04:27 -05:00
oyeraghib
b992cd6402
Migrate AssetHelperTest to Kotlin
2022-04-23 14:45:00 -05:00
oyeraghib
16a6e17551
Rename .java to .kt
2022-04-23 14:45:00 -05:00
Mike Hardy
a70c0f6a38
fix: nonPositionalFormatSubstitution rule should use same param name as super
...
quiets a build warning
2022-04-23 14:32:38 -05:00
David Allison
419ca855fa
refactor: prepare CollectionUtils for removal
...
There is a unit test conversion PR in flight right now,
so I didn't delete the class just yet.
2022-04-23 14:29:23 -05:00
David Allison
2637239433
refactor: Convert CollectionTask to Kotlin
...
com.ichi2.async.CollectionTask
Made a lot of lint related changes, a fair number of nullability related changes
2022-04-22 15:01:34 -05:00
David Allison
0627af2586
refactor: Rename CollectionTask.java to .kt
...
com.ichi2.async.CollectionTask
2022-04-22 15:01:34 -05:00
Mike Hardy
06e5b4210f
refactor(ci): use built-in concurrency features
...
these did not exist prior, and cancel-workflow has worked well for us,
but built-in is better when it is available
2022-04-22 11:04:43 -05:00
lukstbit
d13e76b1ae
Move code related to LeakCanary outside of AnkiDroidApp
2022-04-22 10:31:04 -05:00
codingtosh
57958d2632
[Kotlin Migration] Compat
...
Package: com.ichi2.compat
2022-04-22 08:48:41 -05:00
codingtosh
496b7cb902
Rename Compat.java to .kt
...
Package: com.ichi2.compat
2022-04-22 08:48:41 -05:00
lukstbit
24acccfb7a
Migrate BeolingusParser.java to Kotlin
2022-04-22 08:41:21 -05:00
lukstbit
63ba47c832
Rename BeolingusParser.java to .kt
2022-04-22 08:41:21 -05:00
lukstbit
4e48a6fd48
Enable @KotlinCleanup for local variables
2022-04-22 08:40:42 -05:00
Mike Hardy
22c5da6522
fix: forward-port to non-deprecated APIs in DuplicateCrowdInStrings rule
2022-04-21 08:55:01 -05:00
Mike Hardy
5b27ab0b48
fix: forward-port to non-deprecated gradle properties
2022-04-21 18:44:04 +05:30
Mike Hardy
10db92dbb0
chore(lint): fix lint compile warning re: missing Vendor
2022-04-20 15:34:48 +01:00
lukstbit
86ab90a815
Migrate DeckComparator.java to Kotlin
2022-04-20 11:42:39 +01:00