commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
ccb3474748b6b2bd5cc4323d62c778d40a45eeae | Add Invalid and Unknown to ViewOption.Type | Doist/TodoistPojos,Doist/TodoistModels | src/main/java/com/todoist/pojo/ViewOption.kt | src/main/java/com/todoist/pojo/ViewOption.kt | package com.todoist.pojo
open class ViewOption(
id: Long,
open var viewType: Type,
open var objectId: Long?,
open var sortedBy: Sort?,
open var sortOrder: SortOrder?,
open var groupedBy: Group?,
open var filteredBy: String?,
isDeleted: Boolean
) : TodoistObject(id, isDeleted) {
seal... | package com.todoist.pojo
open class ViewOption(
id: Long,
open var viewType: Type?,
open var objectId: Long?,
open var sortedBy: Sort?,
open var sortOrder: SortOrder?,
open var groupedBy: Group?,
open var filteredBy: String?,
isDeleted: Boolean
) : TodoistObject(id, isDeleted) {
enu... | mit | Kotlin |
c79b35da52ff284e5cb45ff92b89a255e1d2b06b | add Unit Tests for CursorUtils.getString methods | GlobalTechnology/android-gto-support,CruGlobal/android-gto-support,CruGlobal/android-gto-support | gto-support-util/src/test/java/org/ccci/gto/android/common/util/database/CursorUtilsTest.kt | gto-support-util/src/test/java/org/ccci/gto/android/common/util/database/CursorUtilsTest.kt | package org.ccci.gto.android.common.util.database
import android.database.Cursor
import com.nhaarman.mockitokotlin2.mock
import com.nhaarman.mockitokotlin2.never
import com.nhaarman.mockitokotlin2.verify
import com.nhaarman.mockitokotlin2.whenever
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNull... | mit | Kotlin | |
7fd8b4dedf5bbfbd4bbe1fa14c65acad3ca220d7 | Copy data before checking for throttle | AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/andro... | benchmark/src/main/java/androidx/benchmark/ThrottleDetector.kt | benchmark/src/main/java/androidx/benchmark/ThrottleDetector.kt | /*
* Copyright 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2019 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin |
b6f01fcea01ca18839355db4fadca681d196354c | Update test names | opentok/accelerator-core-android,opentok/accelerator-core-android,opentok/accelerator-core-android | accelerator-core/src/androidTest/java/com/tokbox/accelerator/textchat/MessagesAdapterTest.kt | accelerator-core/src/androidTest/java/com/tokbox/accelerator/textchat/MessagesAdapterTest.kt | package com.tokbox.accelerator.textchat
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.tokbox.accelerator.textchat.ChatMessage.MessageStatus
import org.amshove.kluent.shouldBeEqualTo
import org.amshove.kluent.shouldNotBe
import org.amshove.kluent.shouldThrow
import org.junit.Test
import org.junit.runn... | package com.tokbox.accelerator.textchat
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.tokbox.accelerator.textchat.ChatMessage.MessageStatus
import org.amshove.kluent.shouldBeEqualTo
import org.amshove.kluent.shouldNotBe
import org.amshove.kluent.shouldThrow
import org.junit.Test
import org.junit.runn... | apache-2.0 | Kotlin |
5e04d1254861c0c59bd1cbc7ebce82c169ebbd30 | add missed $ROOT_CONFIG$ | semonte/intellij-community,MichaelNedzelsky/intellij-community,ThiagoGarciaAlves/intellij-community,xfournet/intellij-community,xfournet/intellij-community,ahb0327/intellij-community,MichaelNedzelsky/intellij-community,supersven/intellij-community,fitermay/intellij-community,ibinti/intellij-community,fengbaicanhe/intel... | platform/configuration-store-impl/src/SchemeManagerFactoryImpl.kt | platform/configuration-store-impl/src/SchemeManagerFactoryImpl.kt | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 | Kotlin |
c081c9d9f94d8f807752ee82124a171ed50e3bd3 | make the sample application use no specific thread | auth0/Auth0.Android,auth0/Auth0.Android | sample/src/main/java/com/auth0/sample/DatabaseLoginFragment.kt | sample/src/main/java/com/auth0/sample/DatabaseLoginFragment.kt | package com.auth0.sample
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.auth0.android.Auth0
import com.auth0.android.authentication.AuthenticationAPIClient
import com.auth0.android.authentication.Authen... | package com.auth0.sample
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.auth0.android.Auth0
import com.auth0.android.authentication.AuthenticationAPIClient
import com.auth0.android.authentication.Authen... | mit | Kotlin |
5fa45aa18b5837f7933f45226facfae9de352785 | Bring in plaid's HtmlUtils and kotlinify | hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp | app/src/main/kotlin/io/sweers/catchup/util/HtmlAndMarkdownUtils.kt | app/src/main/kotlin/io/sweers/catchup/util/HtmlAndMarkdownUtils.kt | /*
* Copyright 2015 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | apache-2.0 | Kotlin | |
82c0999f50d35d8f1f0924c9ab4944ca6a8b1f65 | Add missing parentheses | dirk/hummingbird2,dirk/hummingbird2,dirk/hummingbird2 | src/main/kotlin/org/hummingbirdlang/Main.kt | src/main/kotlin/org/hummingbirdlang/Main.kt | @file:JvmName("Main")
package org.hummingbirdlang
import java.io.File
import com.oracle.truffle.api.Truffle
import com.oracle.truffle.api.source.Source
import com.oracle.truffle.api.vm.PolyglotEngine
fun main(args : Array<String>) {
println("(running on ${Truffle.getRuntime().getName()})")
val engine = PolyglotE... | @file:JvmName("Main")
package org.hummingbirdlang
import java.io.File
import com.oracle.truffle.api.Truffle
import com.oracle.truffle.api.source.Source
import com.oracle.truffle.api.vm.PolyglotEngine
fun main(args : Array<String>) {
println("(running on ${Truffle.getRuntime().getName()}")
val engine = PolyglotEn... | bsd-3-clause | Kotlin |
ba30143b914e6dd03a45d2b5ed62458bce41b533 | make Property#bind() return the Binding | thomasnield/RxKotlinFX | src/main/kotlin/rx/javafx/kt/Subscribers.kt | src/main/kotlin/rx/javafx/kt/Subscribers.kt | package rx.javafx.kt
import javafx.beans.binding.Binding
import javafx.beans.property.Property
import rx.Observable
/**
* Binds the `Property` to an RxJava `Observable`,
* meaning it will be bounded to show the latest emissions of that `Observable`.
* The `Binding` is also returned so caller can be dispose it lat... | package rx.javafx.kt
import javafx.beans.property.Property
import rx.Observable
/**
* Binds the `Property` to an RxJava `Observable`,
* meaning it will be bounded to show the latest emissions of that `Observable`
*/
fun <T> Property<T>.bind(observable: Observable<T>) = bind(observable.toBinding()) | apache-2.0 | Kotlin |
92d4d323db3df04feb62367fe05969072c6266f9 | Fix SwipeRefresh status when group value is blank | dya-tel/TSU-Schedule | app/src/main/kotlin/ru/dyatel/tsuschedule/data/LessonFetcher.kt | app/src/main/kotlin/ru/dyatel/tsuschedule/data/LessonFetcher.kt | package ru.dyatel.tsuschedule.data
import android.content.Context
import android.util.Log
import org.acra.ACRA
import org.jetbrains.anko.doAsync
import org.jetbrains.anko.longToast
import org.jetbrains.anko.uiThread
import ru.dyatel.tsuschedule.BuildConfig
import ru.dyatel.tsuschedule.R
import ru.dyatel.tsuschedule.ev... | package ru.dyatel.tsuschedule.data
import android.content.Context
import android.util.Log
import org.acra.ACRA
import org.jetbrains.anko.doAsync
import org.jetbrains.anko.longToast
import org.jetbrains.anko.uiThread
import ru.dyatel.tsuschedule.BuildConfig
import ru.dyatel.tsuschedule.R
import ru.dyatel.tsuschedule.ev... | mit | Kotlin |
f70f381e0c6be0be50024ffbf96ad1be1c30d9bf | 添加 transform 开关 | REBOOTERS/AndroidAnimationExercise,REBOOTERS/AndroidAnimationExercise,REBOOTERS/AndroidAnimationExercise,REBOOTERS/AndroidAnimationExercise,REBOOTERS/AndroidAnimationExercise,REBOOTERS/AndroidAnimationExercise,REBOOTERS/AndroidAnimationExercise | buildSrc/src/main/kotlin/com/engineer/plugin/utils/BeautyLog.kt | buildSrc/src/main/kotlin/com/engineer/plugin/utils/BeautyLog.kt | package com.engineer.plugin.utils
import org.gradle.api.logging.Logger
/**
* @author rookie
* @since 11-19-2019
*/
object BeautyLog {
fun log(
tag: String,
isStart: Boolean,
logger: Logger
) {
if (isStart) {
val msg =
"\n==========================... | package com.engineer.plugin.utils
import org.gradle.api.logging.Logger
/**
* @author rookie
* @since 11-19-2019
*/
object BeautyLog {
fun log(
tag: String,
isStart: Boolean,
logger: Logger
) {
if (isStart) {
val msg =
"\n==========================... | apache-2.0 | Kotlin |
0a65ed24251f567adfee7cb1cd1b816848385ab5 | Remove unused assignSum() and assignDiv() methods | KotlinNLP/SimpleDNN | src/main/kotlin/com/kotlinnlp/simplednn/core/optimizer/IterableParams.kt | src/main/kotlin/com/kotlinnlp/simplednn/core/optimizer/IterableParams.kt | /* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/.
* ------------------------------------------... | /* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/.
* ------------------------------------------... | mpl-2.0 | Kotlin |
df31bac5b2edbb178a03c131c850d1751285d462 | Add simple navigation presenter test | djkovrik/YapTalker,djkovrik/YapTalker | app/src/test/java/com/sedsoftware/yaptalker/features/navigation/NavigationViewPresenterTest.kt | app/src/test/java/com/sedsoftware/yaptalker/features/navigation/NavigationViewPresenterTest.kt | package com.sedsoftware.yaptalker.features.navigation
import android.os.Bundle
import com.nhaarman.mockito_kotlin.verify
import org.junit.Before
import org.junit.Test
import org.mockito.Mock
import org.mockito.MockitoAnnotations
class NavigationViewPresenterTest {
@Mock
lateinit var navigationView: NavigationVie... | apache-2.0 | Kotlin | |
e381b26a686506b0d6a57a1c8ad524f6430a97f2 | handle empty menu in control bar | StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepik-android | app/src/main/java/org/stepic/droid/ui/custom/control_bar/ControlBarView.kt | app/src/main/java/org/stepic/droid/ui/custom/control_bar/ControlBarView.kt | package org.stepic.droid.ui.custom.control_bar
import android.content.Context
import android.support.annotation.AttrRes
import android.support.annotation.LayoutRes
import android.support.annotation.MenuRes
import android.util.AttributeSet
import android.view.Menu
import android.view.MenuInflater
import android.widget.... | package org.stepic.droid.ui.custom.control_bar
import android.content.Context
import android.support.annotation.AttrRes
import android.support.annotation.LayoutRes
import android.support.annotation.MenuRes
import android.util.AttributeSet
import android.view.Menu
import android.view.MenuInflater
import android.widget.... | apache-2.0 | Kotlin |
ca9cc9a96ad0bba8e240ad766bc7aa5012f14686 | fix KDoc | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/lang-impl/src/com/intellij/refactoring/rename/api/RenameTarget.kt | platform/lang-impl/src/com/intellij/refactoring/rename/api/RenameTarget.kt | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.refactoring.rename.api
import com.intellij.model.Pointer
import com.intellij.navigation.TargetPopupPresentation
import com.intellij.psi.search.SearchScope
/... | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.refactoring.rename.api
import com.intellij.model.Pointer
import com.intellij.navigation.TargetPopupPresentation
import com.intellij.psi.search.SearchScope
/... | apache-2.0 | Kotlin |
18df8607be4ec9c3ba98d2e3b4c3c6c3696f7828 | Convert AuditInfoEntity.java to kotlin | google/ground-android,google/ground-android,google/ground-android | ground/src/main/java/com/google/android/ground/persistence/local/room/entity/AuditInfoEntity.kt | ground/src/main/java/com/google/android/ground/persistence/local/room/entity/AuditInfoEntity.kt | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | apache-2.0 | Kotlin |
e9af8f85f2d39e08b3a068f07ecdb22962680c74 | Add test setup output to compile classpath | bmuschko/gradle-docker-plugin,bmuschko/gradle-docker-plugin,bmuschko/gradle-docker-plugin | buildSrc/src/main/kotlin/com/bmuschko/gradle/docker/FunctionalTestPlugin.kt | buildSrc/src/main/kotlin/com/bmuschko/gradle/docker/FunctionalTestPlugin.kt | package com.bmuschko.gradle.docker
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.plugins.JavaPluginConvention
import org.gradle.api.tasks.GroovySourceSet
import org.gradle.api.tasks.testing.Test
import org.gradle.kotlin.dsl.*
class FunctionalTestPlugin : Plugin<Project> {
overri... | package com.bmuschko.gradle.docker
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.plugins.JavaPluginConvention
import org.gradle.api.tasks.GroovySourceSet
import org.gradle.api.tasks.testing.Test
import org.gradle.kotlin.dsl.*
class FunctionalTestPlugin : Plugin<Project> {
overri... | apache-2.0 | Kotlin |
8bc3a4f0ae120bd444f00367888ac361b20b682a | Fix cookie expiry handling | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-server/ktor-server-core/src/io/ktor/sessions/SessionTransportCookie.kt | ktor-server/ktor-server-core/src/io/ktor/sessions/SessionTransportCookie.kt | package io.ktor.sessions
import io.ktor.application.*
import io.ktor.http.*
import io.ktor.util.date.*
import java.time.*
import java.time.temporal.*
import java.util.concurrent.*
/**
* SessionTransport that adds a Set-Cookie header and reads Cookie header
* for the specified cookie [name], and a specific cookie [c... | package io.ktor.sessions
import io.ktor.application.*
import io.ktor.http.*
import io.ktor.util.date.*
import java.time.*
import java.time.temporal.*
import java.util.concurrent.*
/**
* SessionTransport that adds a Set-Cookie header and reads Cookie header
* for the specified cookie [name], and a specific cookie [c... | apache-2.0 | Kotlin |
aba4b5deaa9ccdaa41bd078b24e209507cc67f85 | Update problem 2273 | fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode | src/main/kotlin/leetcode/Problem2273.kt | src/main/kotlin/leetcode/Problem2273.kt | package leetcode
/**
* https://leetcode.com/problems/find-resultant-array-after-removing-anagrams/
*/
class Problem2273 {
fun removeAnagrams(words: Array<String>): List<String> {
var answer = mutableListOf<String>()
answer.add(words[0])
var i = 0
while (i < words.size - 1) {
... | package leetcode
/**
* https://leetcode.com/problems/find-resultant-array-after-removing-anagrams/
*/
class Problem2273 {
fun removeAnagrams(words: Array<String>): List<String> {
var answer = mutableListOf<String>()
answer.add(words[0])
var i = 0
while (i < words.size - 1) {
... | mit | Kotlin |
a7a15bd32b79551e5721521f7bbb3d0b62036368 | Make obtainStyledAttr thread safe | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | resources/src/main/java/splitties/resources/StyledAttributes.kt | resources/src/main/java/splitties/resources/StyledAttributes.kt | /*
* Copyright (c) 2018. Louis Cognault Ayeva Derman
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | /*
* Copyright (c) 2018. Louis Cognault Ayeva Derman
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | apache-2.0 | Kotlin |
350728e799cf4801dde041caca80a0deb85fbc4e | Bump modb-anidb from 3.0.3 to 3.0.4 | manami-project/manami,manami-project/manami | manami-app/build.gradle.kts | manami-app/build.gradle.kts | dependencies {
api("io.github.manamiproject:modb-core:6.0.0")
api("io.github.manamiproject:modb-db-parser:3.0.2")
api("org.slf4j:slf4j-api:1.7.32")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1-native-mt")
implementation("io.github.manamiproject:modb-anidb:3.0.4")
implemen... | dependencies {
api("io.github.manamiproject:modb-core:6.0.0")
api("io.github.manamiproject:modb-db-parser:3.0.2")
api("org.slf4j:slf4j-api:1.7.32")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.1-native-mt")
implementation("io.github.manamiproject:modb-anidb:3.0.3")
implemen... | agpl-3.0 | Kotlin |
fb7572efb9dc93ef759ba86e02706bbd5b030af8 | Add a test for Find Usages | klazuka/intellij-elm,klazuka/intellij-elm | src/test/kotlin/org/elm/ide/search/ElmFindUsagesProviderTest.kt | src/test/kotlin/org/elm/ide/search/ElmFindUsagesProviderTest.kt | package org.elm.ide.search
import com.intellij.psi.PsiElement
import org.elm.lang.ElmTestBase
import org.elm.lang.core.psi.ElmNamedElement
import org.intellij.lang.annotations.Language
class ElmFindUsagesProviderTest: ElmTestBase() {
fun `test function parameter usage`() = doTestByText(
"""
foo x =
--^
l... | mit | Kotlin | |
268eea090e79ea956c35fb954846431fd1d05588 | Update to Android-Components 99.0.20220210181319. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "99.0.20220210181319"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "99.0.20220210143122"
}
| mpl-2.0 | Kotlin |
a8bfe272c5f2809762ba6d3b8ab9141811bccb25 | Update to Android-Components 108.0.20221109144837. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "108.0.20221109144837"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "108.0.20221108190330"
}
| mpl-2.0 | Kotlin |
298d3e65c3659e7b0539a9c580f85cb82e35aa28 | Update to Android-Components 108.0.20221025010754. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "108.0.20221025010754"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "108.0.20221024190111"
}
| mpl-2.0 | Kotlin |
5592a040c3c0f9a86e7a63d3511a745ce9c09775 | decrease the mininum tile dpi to 100 at fullscreen images | anthologist/Simple-Gallery | app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt | app/src/main/kotlin/com/simplemobiletools/gallery/fragments/PhotoFragment.kt | package com.simplemobiletools.gallery.fragments
import android.net.Uri
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.bumptech.glide.Glide
import com.bumptech.glide.load.engine.DiskCacheStrategy
import com.davemorrissey.labs.subscaleview.Im... | package com.simplemobiletools.gallery.fragments
import android.net.Uri
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.bumptech.glide.Glide
import com.bumptech.glide.load.engine.DiskCacheStrategy
import com.davemorrissey.labs.subscaleview.Im... | apache-2.0 | Kotlin |
7348b39bb5782b68ed01f64924f8a5e10792f737 | refactor #412 Add throws annotation. | toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/search/trend/TrendApi.kt | app/src/main/java/jp/toastkid/yobidashi/search/trend/TrendApi.kt | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | epl-1.0 | Kotlin |
eb302e6e7a5cef346d16e786c480063fa92dbbc6 | use API for ilikethat command | noud02/Akatsuki | src/main/kotlin/me/noud02/akatsuki/commands/ILikeThat.kt | src/main/kotlin/me/noud02/akatsuki/commands/ILikeThat.kt | /*
* Copyright (c) 2017 Noud Kerver
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge... | /*
* Copyright (c) 2017 Noud Kerver
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge... | mit | Kotlin |
cf11572f9e027eea1006811ccf94ac256dd59275 | Make sure AutoParcelable classes are direct subclasses of Object | nsk-mironov/smuggler | smuggler-compiler/src/main/java/io/mironov/smuggler/compiler/model/AutoParcelableClassSpecFactory.kt | smuggler-compiler/src/main/java/io/mironov/smuggler/compiler/model/AutoParcelableClassSpecFactory.kt | package io.mironov.smuggler.compiler.model
import io.michaelrocks.grip.mirrors.ClassMirror
import io.michaelrocks.grip.mirrors.isStatic
import io.mironov.smuggler.compiler.InvalidAutoParcelableException
import io.mironov.smuggler.compiler.annotations.Metadata
import io.mironov.smuggler.compiler.annotations.data
import... | package io.mironov.smuggler.compiler.model
import io.michaelrocks.grip.mirrors.ClassMirror
import io.michaelrocks.grip.mirrors.isStatic
import io.mironov.smuggler.compiler.InvalidAutoParcelableException
import io.mironov.smuggler.compiler.annotations.Metadata
import io.mironov.smuggler.compiler.annotations.data
import... | mit | Kotlin |
f436aa0b1e29cc88d336828493c9eb3920f94041 | Fix Kotlin 1.3 compatibility. | rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin | src/plugin-marklogic/main/uk/co/reecedunn/intellij/plugin/marklogic/xray/format/html/XRayHtmlTest.kt | src/plugin-marklogic/main/uk/co/reecedunn/intellij/plugin/marklogic/xray/format/html/XRayHtmlTest.kt | /*
* Copyright (C) 2021 Reece H. Dunn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | /*
* Copyright (C) 2021 Reece H. Dunn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 | Kotlin |
bb5618b762a1515188f9e340ccc9f485530d7243 | adjust generic types for SharedPreference LiveData | CruGlobal/android-gto-support,GlobalTechnology/android-gto-support,CruGlobal/android-gto-support | gto-support-lifecycle/src/main/java/org/ccci/gto/android/common/lifecycle/SharedPreferenceLiveData.kt | gto-support-lifecycle/src/main/java/org/ccci/gto/android/common/lifecycle/SharedPreferenceLiveData.kt | package org.ccci.gto.android.common.lifecycle
import android.content.SharedPreferences
import androidx.lifecycle.LiveData
private sealed class SharedPreferenceLiveData<T>(
protected val prefs: SharedPreferences,
protected val key: String,
protected val defValue: T
) : LiveData<T>() {
private val liste... | package org.ccci.gto.android.common.lifecycle
import android.content.SharedPreferences
import androidx.lifecycle.LiveData
private sealed class SharedPreferenceLiveData<T>(
protected val prefs: SharedPreferences,
protected val key: String,
protected val defValue: T?
) : LiveData<T>() {
private val list... | mit | Kotlin |
95f5344041a377bf4fda4f7181b50ee06e33a4a4 | Use vararg comparator factory | JakeWharton/dex-method-list,JakeWharton/dex-method-list,JakeWharton/dex-method-list | dex-members-list/src/main/kotlin/com/jakewharton/diffuse/Arsc.kt | dex-members-list/src/main/kotlin/com/jakewharton/diffuse/Arsc.kt | package com.jakewharton.diffuse
import com.google.devrel.gmscore.tools.apk.arsc.ArscBlamer
import com.google.devrel.gmscore.tools.apk.arsc.ArscBlamer.ResourceEntry
import com.google.devrel.gmscore.tools.apk.arsc.BinaryResourceFile
import com.google.devrel.gmscore.tools.apk.arsc.ResourceTableChunk
class Arsc private c... | package com.jakewharton.diffuse
import com.google.devrel.gmscore.tools.apk.arsc.ArscBlamer
import com.google.devrel.gmscore.tools.apk.arsc.ArscBlamer.ResourceEntry
import com.google.devrel.gmscore.tools.apk.arsc.BinaryResourceFile
import com.google.devrel.gmscore.tools.apk.arsc.ResourceTableChunk
class Arsc private c... | apache-2.0 | Kotlin |
7eca50914683bfbe107b34a182319d63cecf48a1 | Replace some function bodies with expressions | shaeberling/euler,shaeberling/euler,shaeberling/euler,shaeberling/euler | kotlin/src/com/s13g/aoc/PuzzleRunner.kt | kotlin/src/com/s13g/aoc/PuzzleRunner.kt | /*
* Copyright 2019 Sascha Häberling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | /*
* Copyright 2019 Sascha Häberling
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | apache-2.0 | Kotlin |
93e56f6c571d2f8616899db5e0f8206bf2f1c111 | Add unchecked extensions for `Jdbi` functions (#858) | john9x/jdbi,jdbi/jdbi,hgschmie/jdbi,hgschmie/jdbi,jdbi/jdbi,john9x/jdbi,hgschmie/jdbi,jdbi/jdbi | kotlin/src/main/kotlin/org/jdbi/v3/core/kotlin/Jdbi858Extensions.kt | kotlin/src/main/kotlin/org/jdbi/v3/core/kotlin/Jdbi858Extensions.kt | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... | apache-2.0 | Kotlin | |
d15a71bc0763ed29c48e97c06560ffcb3ccf51a5 | fix adding block quotes to empty list items add dist 1.6.3.86 eap | vsch/SmartData,vsch/SmartData | src/com/vladsch/smart/EMPTY_SEQUENCE.kt | src/com/vladsch/smart/EMPTY_SEQUENCE.kt | /*
* Copyright (c) 2015-2016 Vladimir Schneider <vladimir.schneider@gmail.com>
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses th... | /*
* Copyright (c) 2015-2016 Vladimir Schneider <vladimir.schneider@gmail.com>
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses th... | apache-2.0 | Kotlin |
38e8df3b125283e8865d9f1a91f7629e86942bd1 | test fix | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | plugins/gradle/testSources/org/jetbrains/plugins/gradle/importing/GradleBuildIssuesMiscImportingTest.kt | plugins/gradle/testSources/org/jetbrains/plugins/gradle/importing/GradleBuildIssuesMiscImportingTest.kt | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.gradle.importing
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test
class GradleBuildIssuesMiscImportingTest : BuildViewMessag... | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.plugins.gradle.importing
import org.junit.Test
class GradleBuildIssuesMiscImportingTest : BuildViewMessagesImportingTestCase() {
var lastImportErrorMess... | apache-2.0 | Kotlin |
097fc4a9046eb3d39cf7d1ddb839ff030956f684 | Change data class to normal class as data class inheritance has been removed. | doomspork/kotlin-dropwizard | src/main/kotlin/com/doomspork/helloworld/HelloWorldConfiguration.kt | src/main/kotlin/com/doomspork/helloworld/HelloWorldConfiguration.kt | package com.doomspork.helloworld
import com.fasterxml.jackson.annotation.JsonProperty
import io.dropwizard.Configuration
public class HelloWorldConfiguration() : Configuration() {
@JsonProperty("template")
public var template: String=""
@JsonProperty("defaultName")
public var defaultName: String="Str... | package com.doomspork.helloworld
import io.dropwizard.Configuration
import org.hibernate.validator.constraints.NotEmpty
import com.fasterxml.jackson.annotation.JsonProperty
import com.fasterxml.jackson.annotation.JsonCreator
data class HelloWorldConfiguration [JsonCreator] (JsonProperty("template") NotEmpty var templ... | mit | Kotlin |
96c5348f0ce3ac74ec54051e3ba9fdbfdecc90ae | Use deleteIfExists in test case | arturbosch/TiNBo,arturbosch/TiNBo,arturbosch/TiNBo | src/test/java/com/gitlab/artismarti/tinbo/config/TinboConfigTest.kt | src/test/java/com/gitlab/artismarti/tinbo/config/TinboConfigTest.kt | package com.gitlab.artismarti.tinbo.config
import com.google.common.io.Resources
import org.junit.After
import org.junit.Test
import java.nio.file.Files
import java.nio.file.Paths
/**
* @author artur
*/
class TinboConfigTest {
private val path = Paths.get("test")
private val config: TinboConfig
get() {
val... | package com.gitlab.artismarti.tinbo.config
import com.google.common.io.Resources
import org.junit.After
import org.junit.Test
import java.nio.file.Files
import java.nio.file.Paths
/**
* @author artur
*/
class TinboConfigTest {
private val path = Paths.get("test")
private val config: TinboConfig
get() {
val... | apache-2.0 | Kotlin |
5e1397ba623c7a0c78090eb468b6b9d3aec1894a | Update problem 2023 | fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode | src/main/kotlin/leetcode/Problem2023.kt | src/main/kotlin/leetcode/Problem2023.kt | package leetcode
/**
* https://leetcode.com/problems/number-of-pairs-of-strings-with-concatenation-equal-to-target/
*/
class Problem2023 {
fun numOfPairs(nums: Array<String>, target: String): Int {
var answer = 0
val map = mutableMapOf<String, Int>()
for (num in nums) {
map[nu... | package leetcode
/**
* https://leetcode.com/problems/number-of-pairs-of-strings-with-concatenation-equal-to-target/
*/
class Problem2023 {
fun numOfPairs(nums: Array<String>, target: String): Int {
var answer = 0
for ((index1, num1) in nums.withIndex()) {
for ((index2, num2) in nums.w... | mit | Kotlin |
3ba0aabe84968fd7f1699b1e65b86848915a0955 | Solve problem 2124 | fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode | src/main/kotlin/leetcode/Problem2124.kt | src/main/kotlin/leetcode/Problem2124.kt | package leetcode
/**
* https://leetcode.com/problems/check-if-all-as-appears-before-all-bs/
*/
class Problem2124 {
fun checkString(s: String): Boolean {
return s.matches("a*b*".toRegex())
}
}
| package leetcode
/**
* https://leetcode.com/problems/check-if-all-as-appears-before-all-bs/
*/
class Problem2124 {
fun checkString(s: String): Boolean {
TODO()
}
}
fun main() {
val prob = Problem2124()
println(prob.checkString("aaabbb")) // true
println(prob.checkString("abab")) // false... | mit | Kotlin |
cc13155db9aaa004862b3e9e9a01cdb25be31ce0 | convert to Kotlin | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/diff-impl/src/com/intellij/diff/actions/ShowBlankDiffWindowAction.kt | platform/diff-impl/src/com/intellij/diff/actions/ShowBlankDiffWindowAction.kt | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.diff.actions
import com.intellij.diff.DiffContentFactory
import com.intellij.diff.DiffDialogHints
import com.intellij.diff.DiffManager
import com.intellij.di... | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.diff.actions;
import com.intellij.diff.DiffContentFactory;
import com.intellij.diff.DiffDialogHints;
import com.intellij.diff.DiffManager;
import com.intelli... | apache-2.0 | Kotlin |
67ebec5cdadcb833ec215a423989377642256d78 | Remove redundant repository info update before Log actions | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | plugins/git4idea/src/git4idea/rebase/log/GitMultipleCommitEditingOperation.kt | plugins/git4idea/src/git4idea/rebase/log/GitMultipleCommitEditingOperation.kt | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package git4idea.rebase.log
import com.intellij.openapi.progress.EmptyProgressIndicator
import com.intellij.openapi.progress.ProgressManager
import com.intellij.vcs.log.VcsCommit... | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package git4idea.rebase.log
import com.intellij.openapi.progress.EmptyProgressIndicator
import com.intellij.openapi.progress.ProgressManager
import com.intellij.vcs.log.VcsCommit... | apache-2.0 | Kotlin |
7c2d996d14064107be4cce3b183ac677cccd0b81 | Fix `ImplicitImportsTest` after distro upgrade | gradle/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle-script-kotlin,gradle/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,gradle/g... | provider/src/test/kotlin/org/gradle/kotlin/dsl/support/ImplicitImportsTest.kt | provider/src/test/kotlin/org/gradle/kotlin/dsl/support/ImplicitImportsTest.kt | package org.gradle.kotlin.dsl.support
import org.gradle.kotlin.dsl.fixtures.AbstractIntegrationTest
import org.hamcrest.CoreMatchers.containsString
import org.junit.Assert.assertThat
import org.junit.Test
class ImplicitImportsTest : AbstractIntegrationTest() {
@Test
fun `implicit imports are fully qualified ... | package org.gradle.kotlin.dsl.support
import org.gradle.kotlin.dsl.fixtures.AbstractIntegrationTest
import org.hamcrest.CoreMatchers.containsString
import org.junit.Assert.assertThat
import org.junit.Test
class ImplicitImportsTest : AbstractIntegrationTest() {
@Test
fun `implicit imports are fully qualified ... | apache-2.0 | Kotlin |
ec8c275c01414e1b6fb757525132a104e22d2bf3 | Fix bluetooth closing automatically. (#311) | google/horologist,google/horologist | media3-backend/src/main/java/com/google/android/horologist/media3/audio/BluetoothSettingsOutputSelector.kt | media3-backend/src/main/java/com/google/android/horologist/media3/audio/BluetoothSettingsOutputSelector.kt | /*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | /*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | apache-2.0 | Kotlin |
4a72cd0cd34ec80306be6480c1a71d4f6a25b6ba | Revert "뷰에 포커스를 주고 동시에 키보드를 띄우는 확장 매서드 추가" | ridibooks/rbhelper-android,ridibooks/rbhelper-android | src/main/kotlin/com/ridi/books/helper/view/SoftKeyboardHelper.kt | src/main/kotlin/com/ridi/books/helper/view/SoftKeyboardHelper.kt | package com.ridi.books.helper.view
import android.content.Context
import android.view.View
import android.view.inputmethod.InputMethodManager
private val Context.inputMethodManager: InputMethodManager
get() = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
@JvmOverloads
fun View.showSoftKeyb... | package com.ridi.books.helper.view
import android.content.Context
import android.view.View
import android.view.inputmethod.InputMethodManager
private val Context.inputMethodManager: InputMethodManager
get() = getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager
@JvmOverloads
fun View.showSoftKeyb... | mit | Kotlin |
6c052090669a87e71a0682ea91087905a90f8e44 | Add support for changing volume by an amount | mrkirby153/KirBot | src/main/kotlin/me/mrkirby153/KirBot/command/executors/music/CommandVolume.kt | src/main/kotlin/me/mrkirby153/KirBot/command/executors/music/CommandVolume.kt | package me.mrkirby153.KirBot.command.executors.music
import me.mrkirby153.KirBot.command.Command
import me.mrkirby153.KirBot.user.Clearance
import net.dv8tion.jda.core.entities.Message
@Command(name = "volume", description = "Change the volume of the robot", clearance = Clearance.BOT_MANAGER)
class CommandVolume : Mu... | package me.mrkirby153.KirBot.command.executors.music
import me.mrkirby153.KirBot.command.Command
import me.mrkirby153.KirBot.user.Clearance
import net.dv8tion.jda.core.entities.Message
@Command(name = "volume", description = "Change the volume of the robot", clearance = Clearance.BOT_MANAGER)
class CommandVolume : Mu... | mit | Kotlin |
8d3a69405df9e85a9ed54bee75f9ebebe5099be3 | increment recorder version to indicate changes in toolwindow collector | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/platform-impl/src/com/intellij/internal/statistic/eventLog/fus/FeatureUsageEventLoggerProvider.kt | platform/platform-impl/src/com/intellij/internal/statistic/eventLog/fus/FeatureUsageEventLoggerProvider.kt | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.internal.statistic.eventLog.fus
import com.intellij.internal.statistic.eventLog.StatisticsEventLoggerProvider
import com.intellij.internal.statistic.utils.St... | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.internal.statistic.eventLog.fus
import com.intellij.internal.statistic.eventLog.StatisticsEventLoggerProvider
import com.intellij.internal.statistic.utils.St... | apache-2.0 | Kotlin |
33388f3270ede165478592b709d51305002e2853 | refactor #511 Add test case. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/test/java/jp/toastkid/yobidashi/editor/StringSurroundingUseCaseTest.kt | app/src/test/java/jp/toastkid/yobidashi/editor/StringSurroundingUseCaseTest.kt | package jp.toastkid.yobidashi.editor
import android.text.Editable
import android.widget.EditText
import io.mockk.every
import io.mockk.mockk
import io.mockk.verify
import org.junit.Test
/**
* @author toastkidjp
*/
class StringSurroundingUseCaseTest {
@Test
fun testInvoke() {
val useCase = StringSur... | package jp.toastkid.yobidashi.editor
import android.text.Editable
import android.widget.EditText
import io.mockk.every
import io.mockk.mockk
import io.mockk.verify
import org.junit.Test
/**
* @author toastkidjp
*/
class StringSurroundingUseCaseTest {
@Test
fun testInvoke() {
val useCase = StringSur... | epl-1.0 | Kotlin |
fe25545dd23d070dfc43524e345a5699a562d4d5 | Make LessonFetchTask#onPostExecute prettier | dya-tel/TSU-Schedule | app/src/main/kotlin/ru/dyatel/tsuschedule/data/LessonFetchTask.kt | app/src/main/kotlin/ru/dyatel/tsuschedule/data/LessonFetchTask.kt | package ru.dyatel.tsuschedule.data
import android.content.Context
import android.os.AsyncTask
import org.acra.ACRA
import org.jetbrains.anko.longToast
import ru.dyatel.tsuschedule.BuildConfig
import ru.dyatel.tsuschedule.R
import ru.dyatel.tsuschedule.events.Event
import ru.dyatel.tsuschedule.events.EventBus
import ru... | package ru.dyatel.tsuschedule.data
import android.content.Context
import android.os.AsyncTask
import android.widget.Toast
import org.acra.ACRA
import ru.dyatel.tsuschedule.BuildConfig
import ru.dyatel.tsuschedule.R
import ru.dyatel.tsuschedule.events.Event
import ru.dyatel.tsuschedule.events.EventBus
import ru.dyatel.... | mit | Kotlin |
64b4b76696c9e8b10891397c518db9f1be53e02b | add unit tests for the drawableEnd target | CruGlobal/android-gto-support,CruGlobal/android-gto-support,GlobalTechnology/android-gto-support | gto-support-picasso/src/test/java/org/ccci/gto/android/common/picasso/widget/TextViewDrawableEndTargetTest.kt | gto-support-picasso/src/test/java/org/ccci/gto/android/common/picasso/widget/TextViewDrawableEndTargetTest.kt | package org.ccci.gto.android.common.picasso.widget
import android.graphics.drawable.Drawable
import android.widget.TextView
import com.nhaarman.mockitokotlin2.any
import com.nhaarman.mockitokotlin2.argumentCaptor
import com.nhaarman.mockitokotlin2.clearInvocations
import com.nhaarman.mockitokotlin2.doReturn
import com... | mit | Kotlin | |
27d4f53e2e3d78583d522030c58784c0f719723c | Fix debug toaster to use a queue and UIThread #56 | ScreamingHawk/phone-saver | app/src/main/java/link/standen/michael/phonesaver/util/DebugLogger.kt | app/src/main/java/link/standen/michael/phonesaver/util/DebugLogger.kt | package link.standen.michael.phonesaver.util
import android.app.Activity
import android.preference.PreferenceManager
import android.util.Log
import android.widget.Toast
import link.standen.michael.phonesaver.R
import java.util.*
import java.util.concurrent.ConcurrentLinkedQueue
import java.util.concurrent.Executors
im... | package link.standen.michael.phonesaver.util
import android.content.Context
import android.preference.PreferenceManager
import android.util.Log
import android.widget.Toast
import link.standen.michael.phonesaver.R
/**
* A log wrapper that also logs to the user.
* logLevel: 0 = None, 1 = Error, 2 = Warn, 3 = Info, 4 ... | mit | Kotlin |
005c8e274f46b240446754ccc29b24520274a366 | Move annotation before modifier | lsmaira/gradle,robinverduijn/gradle,lsmaira/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,lsmaira/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,lsmaira/gradle,blindpirate/gr... | buildSrc/src/main/kotlin/org/gradle/kotlin/dsl/kotlin-dsl-upstream.kt | buildSrc/src/main/kotlin/org/gradle/kotlin/dsl/kotlin-dsl-upstream.kt | package org.gradle.kotlin.dsl
import org.gradle.api.Incubating
import org.gradle.api.UnknownDomainObjectException
import org.gradle.api.model.ObjectFactory
import org.gradle.api.provider.ListProperty
import org.gradle.api.specs.Spec
import org.gradle.api.tasks.TaskContainer
// This file contains members intended to ... | package org.gradle.kotlin.dsl
import org.gradle.api.Incubating
import org.gradle.api.UnknownDomainObjectException
import org.gradle.api.model.ObjectFactory
import org.gradle.api.provider.ListProperty
import org.gradle.api.specs.Spec
import org.gradle.api.tasks.TaskContainer
// This file contains members intended to ... | apache-2.0 | Kotlin |
7740590b42d04233a6159299afcd2e0d3b74b68f | Update simple test case | wendigo/chrome-reactive-kotlin,wendigo/chrome-reactive-kotlin,wendigo/chrome-reactive-kotlin,wendigo/chrome-reactive-kotlin | src/main/kotlin/pl/wendigo/chrome/Test.kt | src/main/kotlin/pl/wendigo/chrome/Test.kt | package pl.wendigo.chrome
import io.reactivex.Flowable
import pl.wendigo.chrome.domain.page.NavigateRequest
class Test {
companion object {
@JvmStatic
fun main(args: Array<String>) {
val api = RemoteChrome.connect("127.0.0.1", 9292)
Flowable.merge(api.DOM.enable(), api.Pa... | package pl.wendigo.chrome
import pl.wendigo.chrome.domain.page.NavigateRequest
class Test {
companion object {
@JvmStatic
fun main(args: Array<String>) {
val api = RemoteChrome.connect("127.0.0.1", 9292)
api.DOM.enable().concatWith { api.Page.enable() }.concatWith { api.C... | apache-2.0 | Kotlin |
6464817dfa098840aead8712e4741dbbd0b38da2 | refactor #787 Implement common confirm dialog fragment. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | lib/src/main/java/jp/toastkid/lib/dialog/ConfirmDialogFragment.kt | lib/src/main/java/jp/toastkid/lib/dialog/ConfirmDialogFragment.kt | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | epl-1.0 | Kotlin | |
08ecf65756ef456c4712466ae84c35e65f5f9a39 | Add support for call expression references | noemus/kotlin-eclipse,noemus/kotlin-eclipse | kotlin-eclipse-core/src/org/jetbrains/kotlin/core/references/KotlinReference.kt | kotlin-eclipse-core/src/org/jetbrains/kotlin/core/references/KotlinReference.kt | /*******************************************************************************
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.a... | /*******************************************************************************
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.a... | apache-2.0 | Kotlin |
c8dbf16ef9f9472120a6fa6cf5a26d88e9d74c73 | Use enqueue. | sys1yagi/garage-android,sys1yagi/garage-android | library/src/main/java/com/sys1yagi/android/garage/api/GarageClient.kt | library/src/main/java/com/sys1yagi/android/garage/api/GarageClient.kt | package com.sys1yagi.android.garage.api
import android.os.Handler
import okhttp3.Call
import okhttp3.Callback
import okhttp3.Request
import okhttp3.Response
import rx.Observable
import java.io.IOException
open class GarageClient(val configuration: GarageConfiguration) {
class CallbackDelegator(val handler: Handl... | package com.sys1yagi.android.garage.api
import android.os.Handler
import okhttp3.Call
import okhttp3.Callback
import okhttp3.Request
import okhttp3.Response
import java.io.IOException
open class GarageClient(val configuration: GarageConfiguration) {
class CallbackDelegator(val handler: Handler?, val success: (Ca... | mit | Kotlin |
13a5662a846395c422e69edaf61d55e4fc9f4531 | Update Android Gradle plugin for Android Studio 4.0.1 | CarlosEsco/tachiyomi,inorichi/mangafeed,inorichi/mangafeed,inorichi/tachiyomi,inorichi/tachiyomi | buildSrc/src/main/kotlin/Dependencies.kt | buildSrc/src/main/kotlin/Dependencies.kt | object Versions {
const val KTLINT = "0.36.0"
}
object BuildPluginsVersion {
const val AGP = "4.0.1"
const val KOTLIN = "1.3.72"
const val KTLINT = "9.2.1"
const val VERSIONS_PLUGIN = "0.28.0"
}
| object Versions {
const val KTLINT = "0.36.0"
}
object BuildPluginsVersion {
const val AGP = "4.0.0"
const val KOTLIN = "1.3.72"
const val KTLINT = "9.2.1"
const val VERSIONS_PLUGIN = "0.28.0"
}
| apache-2.0 | Kotlin |
57001a66a88042acaeed8577084c7ecc31b2190e | Fix test case. | rock3r/detekt,arturbosch/detekt,Mauin/detekt,arturbosch/detekt,arturbosch/detekt,rock3r/detekt,Mauin/detekt,Mauin/detekt,Mauin/detekt,rock3r/detekt | detekt-api/src/main/kotlin/io/gitlab/arturbosch/detekt/api/AnnotationExcluder.kt | detekt-api/src/main/kotlin/io/gitlab/arturbosch/detekt/api/AnnotationExcluder.kt | package io.gitlab.arturbosch.detekt.api
import org.jetbrains.kotlin.preprocessor.typeReferenceName
import org.jetbrains.kotlin.psi.KtAnnotationEntry
import org.jetbrains.kotlin.psi.KtFile
class AnnotationExcluder(
root: KtFile,
private val excludes: Excludes
) {
private var resolvedAnnotations = root.importList
... | package io.gitlab.arturbosch.detekt.api
import org.jetbrains.kotlin.preprocessor.typeReferenceName
import org.jetbrains.kotlin.psi.KtAnnotationEntry
import org.jetbrains.kotlin.psi.KtFile
class AnnotationExcluder(
root: KtFile,
private val excludes: Excludes
) {
private var resolvedAnnotations = root.importList
... | apache-2.0 | Kotlin |
66e5e73e206c8788924093992b8fbd6c0e26a939 | add ConversionException | jayrave/falkon | falkon-core/src/main/kotlin/com/jayrave/falkon/exceptions/ConversionException.kt | falkon-core/src/main/kotlin/com/jayrave/falkon/exceptions/ConversionException.kt | package com.jayrave.falkon.exceptions
/**
* Thrown whenever a [Converter] finds something wrong with the data it has to work with
*/
class ConversionException : RuntimeException {
constructor() : super()
constructor(message: String?) : super(message)
constructor(message: String?, cause: Throwable?) : ... | apache-2.0 | Kotlin | |
cb20bbae93ab3fd734a15f36850cbd94ec5d37de | Bump the version. | SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java | version.gradle.kts | version.gradle.kts | /*
* Copyright 2021, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | /*
* Copyright 2021, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | apache-2.0 | Kotlin |
016b4a5490c0471077906421f2689f27ef66bf8f | Improve ktor-client-mock engine to be thread safe #1505 | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-client/ktor-client-mock/common/src/io/ktor/client/engine/mock/MockEngine.kt | ktor-client/ktor-client-mock/common/src/io/ktor/client/engine/mock/MockEngine.kt | /*
* Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.client.engine.mock
import io.ktor.client.engine.*
import io.ktor.client.request.*
import io.ktor.util.*
import kotlinx.atomicfu.locks.*
import kotlinx.coroutines.*
/**
* [Ht... | /*
* Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.client.engine.mock
import io.ktor.client.engine.*
import io.ktor.client.request.*
import kotlinx.coroutines.*
/**
* [HttpClientEngine] for writing tests without network.
*/... | apache-2.0 | Kotlin |
a2b5fc65885903f90ce1a75b6ee1ad5502ccc091 | Fix room to office transition code | DroidsOnRoids/DroidsMap,DroidsOnRoids/DroidsMap | app/src/main/java/pl/droidsonroids/droidsmap/feature/room/ui/RoomUiFeatureView.kt | app/src/main/java/pl/droidsonroids/droidsmap/feature/room/ui/RoomUiFeatureView.kt | package pl.droidsonroids.droidsmap.feature.room.ui
import android.transition.Scene
import android.transition.TransitionInflater
import android.transition.TransitionManager
import kotlinx.android.synthetic.main.activity_map.*
import kotlinx.android.synthetic.main.scene_office_map.*
import pl.droidsonroids.droidsmap.R
i... | package pl.droidsonroids.droidsmap.feature.room.ui
import android.transition.Scene
import android.transition.TransitionInflater
import android.transition.TransitionManager
import android.widget.ImageView
import kotlinx.android.synthetic.main.scene_office_map.*
import kotlinx.android.synthetic.main.scene_room.*
import ... | mit | Kotlin |
75a59bc3e98220ecac476cf5be715870fdc2b828 | Fix setting Intent.EXTRA_EMAIL for MatMsg contents | markusfisch/BinaryEye,markusfisch/BinaryEye | app/src/main/kotlin/de/markusfisch/android/binaryeye/actions/mail/MatMsgAction.kt | app/src/main/kotlin/de/markusfisch/android/binaryeye/actions/mail/MatMsgAction.kt | package de.markusfisch.android.binaryeye.actions.mail
import android.content.Context
import android.content.Intent
import android.net.Uri
import de.markusfisch.android.binaryeye.R
import de.markusfisch.android.binaryeye.actions.IntentAction
object MatMsgAction : IntentAction() {
override val iconResId: Int = R.drawa... | package de.markusfisch.android.binaryeye.actions.mail
import android.content.Context
import android.content.Intent
import android.net.Uri
import de.markusfisch.android.binaryeye.R
import de.markusfisch.android.binaryeye.actions.IntentAction
object MatMsgAction : IntentAction() {
override val iconResId: Int = R.drawa... | mit | Kotlin |
d7f7e18c3a418ecb8ff37bc02e272128792fb40f | add a null check to myappcompatspinner | canou/Simple-Commons | commons/src/main/kotlin/com/simplemobiletools/commons/views/MyAppCompatSpinner.kt | commons/src/main/kotlin/com/simplemobiletools/commons/views/MyAppCompatSpinner.kt | package com.simplemobiletools.commons.views
import android.content.Context
import android.graphics.PorterDuff
import android.support.v7.widget.AppCompatSpinner
import android.util.AttributeSet
import android.view.View
import android.widget.AdapterView
import android.widget.TextView
import com.simplemobiletools.commons... | package com.simplemobiletools.commons.views
import android.content.Context
import android.graphics.PorterDuff
import android.support.v7.widget.AppCompatSpinner
import android.util.AttributeSet
import android.view.View
import android.widget.AdapterView
import android.widget.TextView
import com.simplemobiletools.commons... | apache-2.0 | Kotlin |
7b4e7ea0edc5450404e1a225dcd1dd9bd864b444 | Bump to log4j safe shadow plugin 7.1.2 | square/duktape-android,square/duktape-android,square/duktape-android,square/duktape-android,square/duktape-android | buildSrc/src/main/kotlin/Dependencies.kt | buildSrc/src/main/kotlin/Dependencies.kt | object Dependencies {
val baseKotlin = "1.5.30"
val androidGradlePlugin = "com.android.tools.build:gradle:7.0.2"
val androidMaterial = "com.google.android.material:material:1.4.0"
val androidxActivityCompose = "androidx.activity:activity-compose:1.4.0-alpha01"
val androidxAnnotation = "androidx.annotation:ann... | object Dependencies {
val baseKotlin = "1.5.30"
val androidGradlePlugin = "com.android.tools.build:gradle:7.0.2"
val androidMaterial = "com.google.android.material:material:1.4.0"
val androidxActivityCompose = "androidx.activity:activity-compose:1.4.0-alpha01"
val androidxAnnotation = "androidx.annotation:ann... | apache-2.0 | Kotlin |
4ecf2dd8c7048d1125e87fbd158a0f8c71885d65 | Update `org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.3` to `1.4.0`. | google/evergreen-checker,google/evergreen-checker | config/build.gradle.kts | config/build.gradle.kts | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | apache-2.0 | Kotlin |
4abddf84577869a451511b0dd9bc3903d1e6a81b | Patch module for javadoc generation | sormuras/bach,sormuras/bach | doc/comparison/minimal/gradle/build.gradle.kts | doc/comparison/minimal/gradle/build.gradle.kts | plugins {
`java-library`
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
version = "0"
tasks {
javadoc {
(options as StandardJavadocDocletOptions).addStringOption("-module", "de.sormuras.bach.doc.minimal")
(options as StandardJavad... | plugins {
`java-library`
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
version = "0"
tasks {
javadoc {
isFailOnError = false
(options as StandardJavadocDocletOptions).addStringOption("-module-source-path", "src/main/java")
... | mit | Kotlin |
b36938c7c30213341d31b31b513f229344bb8bf9 | Add more methods to Persistence to make debug them easier | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | plugins/space/src/main/kotlin/circlet/utils/Persistence.kt | plugins/space/src/main/kotlin/circlet/utils/Persistence.kt | package circlet.utils
import com.intellij.credentialStore.*
import com.intellij.ide.passwordSafe.*
import runtime.*
object IdeaPersistence : Persistence {
override suspend fun put(key: String, value: String) {
PasswordSafe.getInstance().setPassword(createCredentialAttributes(key), value)
}
overri... | package circlet.utils
import com.intellij.credentialStore.*
import com.intellij.ide.passwordSafe.*
import runtime.*
object IdeaPersistence : Persistence {
override suspend fun put(key: String, value: String) {
PasswordSafe.getInstance().setPassword(createCredentialAttributes(key), value)
}
overri... | apache-2.0 | Kotlin |
3b70e2a2fae2f8f66f18768c5a87af9b821b6d40 | create a Release model | canou/Simple-Commons | library/src/main/kotlin/com/simplemobiletools/commons/models/Release.kt | library/src/main/kotlin/com/simplemobiletools/commons/models/Release.kt | package com.simplemobiletools.commons.models
data class Release(val id: Int, val text: String)
| apache-2.0 | Kotlin | |
85ab67ec116418f1c7a35716ac026132f1065fdc | Indent SQL statements | domaframework/kotlin-sample | src/main/kotlin/sample/PersonDao.kt | src/main/kotlin/sample/PersonDao.kt | package sample
import org.seasar.doma.*
import org.seasar.doma.experimental.Sql
import org.seasar.doma.jdbc.Result
@Dao(config = AppConfig::class)
interface PersonDao {
@Sql("""
create table department(
id int not null identity primary key,
name varchar(20),
version int not null
)... | package sample
import org.seasar.doma.*
import org.seasar.doma.experimental.Sql
import org.seasar.doma.jdbc.Result
@Dao(config = AppConfig::class)
interface PersonDao {
@Sql("""
create table department(
id int not null identity primary key,
name varchar(20),
version int not null
);
create table pers... | apache-2.0 | Kotlin |
87899b2803a8b9826f7667c5751877e9fa0bfab4 | Bump modb-kitsu from 3.0.4 to 3.0.5 | manami-project/manami,manami-project/manami | manami-app/build.gradle.kts | manami-app/build.gradle.kts | dependencies {
api("io.github.manamiproject:modb-core:7.0.1")
api("io.github.manamiproject:modb-db-parser:3.1.1")
api("org.slf4j:slf4j-api:1.7.32")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2-native-mt")
implementation("io.github.manamiproject:modb-anidb:3.0.6")
implemen... | dependencies {
api("io.github.manamiproject:modb-core:7.0.1")
api("io.github.manamiproject:modb-db-parser:3.1.1")
api("org.slf4j:slf4j-api:1.7.32")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2-native-mt")
implementation("io.github.manamiproject:modb-anidb:3.0.6")
implemen... | agpl-3.0 | Kotlin |
d88f38cf2afe19775dea96ec897af953d274eea8 | Update release version to 1.8.1 | JetBrains/ideavim,JetBrains/ideavim | .teamcity/_Self/Constants.kt | .teamcity/_Self/Constants.kt | package _Self
object Constants {
const val DEFAULT_CHANNEL = "default"
const val EAP_CHANNEL = "eap"
const val DEV_CHANNEL = "Dev"
const val VERSION = "1.8.1"
const val DEV_VERSION = "1.9.0"
const val GITHUB_TESTS = "LATEST-EAP-SNAPSHOT"
const val LINTING_TESTS = "LATEST-EAP-SNAPSHOT"
const val NVIM_... | package _Self
object Constants {
const val DEFAULT_CHANNEL = "default"
const val EAP_CHANNEL = "eap"
const val DEV_CHANNEL = "Dev"
const val VERSION = "1.8.0"
const val DEV_VERSION = "1.9.0"
const val GITHUB_TESTS = "LATEST-EAP-SNAPSHOT"
const val LINTING_TESTS = "LATEST-EAP-SNAPSHOT"
const val NVIM_... | mit | Kotlin |
0c0e75cc5d0a413e96dcc6019eea254ef6dc2c6a | Add `createBaseline` flag to gradle plugin | arturbosch/detekt,arturbosch/detekt,rock3r/detekt,arturbosch/detekt,rock3r/detekt,Mauin/detekt,rock3r/detekt,MyDogTom/detekt,Mauin/detekt,Mauin/detekt,Mauin/detekt | detekt-gradle-plugin/src/main/kotlin/io/gitlab/arturbosch/detekt/DetektExtension.kt | detekt-gradle-plugin/src/main/kotlin/io/gitlab/arturbosch/detekt/DetektExtension.kt | package io.gitlab.arturbosch.detekt
import org.gradle.api.Action
/**
* @author Artur Bosch
*/
@Suppress("LongParameterList")
open class DetektExtension(open var version: String = "1.0.0.M11",
open var input: String? = null,
open var config: String? = null,
open var configResource: String?... | package io.gitlab.arturbosch.detekt
import org.gradle.api.Action
/**
* @author Artur Bosch
*/
@Suppress("LongParameterList")
open class DetektExtension(open var version: String = "1.0.0.M11",
open var input: String? = null,
open var config: String? = null,
open var configResource: String?... | apache-2.0 | Kotlin |
3a3915018be024df300ea5b03d122b0c324ef79c | refactor #412 Rename test function. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | app/src/test/java/jp/toastkid/yobidashi/search/usecase/ContentSwitcherUseCaseTest.kt | app/src/test/java/jp/toastkid/yobidashi/search/usecase/ContentSwitcherUseCaseTest.kt | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | epl-1.0 | Kotlin |
d3a8151893a8857cac22f6aed4627d142183cf20 | refactor #523 Add new value object. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/browser/model/LoadInformation.kt | app/src/main/java/jp/toastkid/yobidashi/browser/model/LoadInformation.kt | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | epl-1.0 | Kotlin | |
80b33e48abd6dd61fbfe3350d290d6a33b04d70f | fix NPE bugs | emoji-gen/Emoji-Android | app/src/main/java/moe/pine/emoji/fragment/webview/WebViewLazyFragment.kt | app/src/main/java/moe/pine/emoji/fragment/webview/WebViewLazyFragment.kt | package moe.pine.emoji.fragment.webview
import android.animation.ObjectAnimator
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import kotlinx.android.synthetic.main.fragment_webview_lazy.*
import moe.pine.emoji.R... | package moe.pine.emoji.fragment.webview
import android.animation.ObjectAnimator
import android.os.Bundle
import android.support.v4.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import kotlinx.android.synthetic.main.fragment_webview_lazy.*
import moe.pine.emoji.R... | mit | Kotlin |
2e432776c238d22a5215b8df36ae83dcb7a47f2d | add FLAG_ACTIVITY_NEW_TASK to MainActivity intent | yshrsmz/monotweety | app/src/main/java/net/yslibrary/monotweety/activity/main/MainActivity.kt | app/src/main/java/net/yslibrary/monotweety/activity/main/MainActivity.kt | package net.yslibrary.monotweety.activity.main
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.widget.Toolbar
import com.bluelinelabs.conductor.ChangeHandlerFrameLayout
import com.bluelinelabs.conductor.Controller
import net.yslibrary.monotweety.App
impor... | package net.yslibrary.monotweety.activity.main
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.appcompat.widget.Toolbar
import com.bluelinelabs.conductor.ChangeHandlerFrameLayout
import com.bluelinelabs.conductor.Controller
import net.yslibrary.monotweety.App
impor... | apache-2.0 | Kotlin |
c0738108b2e4c1fe371917c03ac00a5317219f32 | Add CoroutineName | rozyhead/haru | haru-worker/src/main/kotlin/haru/worker/application/impl/TaskProcessingServiceImpl.kt | haru-worker/src/main/kotlin/haru/worker/application/impl/TaskProcessingServiceImpl.kt | package haru.worker.application.impl
import com.google.common.util.concurrent.AbstractIdleService
import haru.worker.application.TaskProcessingService
import haru.worker.domain.model.plugin.TaskProcessorPluginRegistry
import haru.worker.domain.model.task.Task
import haru.worker.domain.model.task.TaskId
import kotlinx.... | package haru.worker.application.impl
import com.google.common.util.concurrent.AbstractIdleService
import haru.worker.application.TaskProcessingService
import haru.worker.domain.model.plugin.TaskProcessorPluginRegistry
import haru.worker.domain.model.task.Task
import haru.worker.domain.model.task.TaskId
import kotlinx.... | apache-2.0 | Kotlin |
5ee688a27d09549c6328bcc4a7db9fb55f9a00aa | refactor #559 Add care of nullable variables. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/search/favorite/AddingFavoriteSearchService.kt | app/src/main/java/jp/toastkid/yobidashi/search/favorite/AddingFavoriteSearchService.kt | package jp.toastkid.yobidashi.search.favorite
import android.app.SearchManager
import android.app.Service
import android.content.Intent
import android.os.IBinder
import jp.toastkid.yobidashi.search.SearchCategory
/**
* @author toastkidjp
*/
class AddingFavoriteSearchService : Service() {
override fun onStartC... | package jp.toastkid.yobidashi.search.favorite
import android.app.SearchManager
import android.app.Service
import android.content.Intent
import android.os.IBinder
/**
* @author toastkidjp
*/
class AddingFavoriteSearchService : Service() {
override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): ... | epl-1.0 | Kotlin |
72846ccabe2ca613e2ec4711172f4699e64d3c4f | Fix jdk vendor for experimental jdk16 pipeline | gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpira... | .teamcity/common/JvmCategory.kt | .teamcity/common/JvmCategory.kt | /*
* Copyright 2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin |
0f59aeb9fa862a3dce7f420431bc9ba0aacc0ec9 | fix from previous commit | sargunster/PokeKotlin,pokesource/pokekotlin,PokeAPI/pokekotlin,PokeAPI/pokekotlin,pokesource/pokekotlin,sargunster/PokeKotlin | src/main/kotlin/me/sargunvohra/lib/pokekotlin/api/PokeApiClient.kt | src/main/kotlin/me/sargunvohra/lib/pokekotlin/api/PokeApiClient.kt | package me.sargunvohra.lib.pokekotlin.api
import okhttp3.OkHttpClient
import retrofit2.Retrofit
import retrofit2.converter.moshi.MoshiConverterFactory
import java.util.concurrent.TimeUnit
open class PokeApiClient(
val rootUrl: String = "http://pokeapi.co/api/v2/",
// val rootUrl: String = "http://local... | package me.sargunvohra.lib.pokekotlin.api
import okhttp3.OkHttpClient
import retrofit2.Retrofit
import retrofit2.converter.moshi.MoshiConverterFactory
import java.util.concurrent.TimeUnit
open class PokeApiClient(
// val rootUrl: String = "http://pokeapi.co/api/v2/",
val rootUrl: String = "http://local... | apache-2.0 | Kotlin |
6dd0f37d4441c66f7f3e1e9f94c0b35326fe9c4d | Add change_volume permission | BjoernPetersen/JMusicBot | src/main/kotlin/net/bjoernpetersen/musicbot/api/auth/Permission.kt | src/main/kotlin/net/bjoernpetersen/musicbot/api/auth/Permission.kt | package net.bjoernpetersen.musicbot.api.auth
import com.google.common.annotations.Beta
import net.bjoernpetersen.musicbot.spi.plugin.Suggester
/**
* User permissions to perform certain actions.
* @param label A unique, human-readable label for this permission.
*/
enum class Permission(val label: String) {
/**... | package net.bjoernpetersen.musicbot.api.auth
import com.google.common.annotations.Beta
import net.bjoernpetersen.musicbot.spi.plugin.Suggester
/**
* User permissions to perform certain actions.
* @param label A unique, human-readable label for this permission.
*/
enum class Permission(val label: String) {
/**... | mit | Kotlin |
f35e57b0dc30607bdde790107163810136209c3d | Revert "Breaking master change to demonstrate CI metrics (#755)" (#756) | jraska/github-client | feature/about/src/main/java/com/jraska/github/client/about/AboutModule.kt | feature/about/src/main/java/com/jraska/github/client/about/AboutModule.kt | package com.jraska.github.client.about
import androidx.lifecycle.ViewModel
import com.jraska.github.client.core.android.LinkLauncher
import dagger.Binds
import dagger.Module
import dagger.multibindings.ClassKey
import dagger.multibindings.IntoMap
import dagger.multibindings.IntoSet
@Module
abstract class AboutModule ... | package com.jraska.github.client.about
import androidx.lifecycle.ViewModel
import com.jraska.github.client.core.android.LinkLauncher
import dagger.Binds
import dagger.Module
import dagger.multibindings.ClassKey
import dagger.multibindings.IntoMap
import dagger.multibindings.IntoSet
@Module
abstract class AboutBreakin... | apache-2.0 | Kotlin |
f749de1c69f4aa6c1a105ddc06e1ec790e67ff36 | Add auto update logging for more debug data | marius-m/wt4,marius-m/wt4,marius-m/wt4,marius-m/wt4 | remote/src/main/java/lt/markmerkk/interactors/AutoupdateInteractorImpl.kt | remote/src/main/java/lt/markmerkk/interactors/AutoupdateInteractorImpl.kt | package lt.markmerkk.interactors
import lt.markmerkk.UserSettings
import org.slf4j.LoggerFactory
/**
* @author mariusmerkevicius
* @since 2016-08-13
*/
class AutoUpdateInteractorImpl(
private val userSettings: UserSettings
) : AutoUpdateInteractor {
override fun notifyUpdateComplete(lastUpdateMillis: ... | package lt.markmerkk.interactors
import lt.markmerkk.UserSettings
/**
* @author mariusmerkevicius
* @since 2016-08-13
*/
class AutoUpdateInteractorImpl(
private val userSettings: UserSettings
) : AutoUpdateInteractor {
override fun notifyUpdateComplete(lastUpdateMillis: Long) {
userSettings.la... | apache-2.0 | Kotlin |
cebcd26131a3a142f01e1758e00d82f144cbb590 | Add eqref test | Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA | test/nl/hannahsten/texifyidea/inspections/latex/LatexEquationReferenceInspectionTest.kt | test/nl/hannahsten/texifyidea/inspections/latex/LatexEquationReferenceInspectionTest.kt | package nl.hannahsten.texifyidea.inspections.latex
import nl.hannahsten.texifyidea.file.LatexFileType
import nl.hannahsten.texifyidea.inspections.TexifyInspectionTestBase
import nl.hannahsten.texifyidea.testutils.writeCommand
class LatexEquationReferenceInspectionTest : TexifyInspectionTestBase(LatexEquationReference... | mit | Kotlin | |
248a4a0883b81178dc595207409dc940eb4418d3 | refactor #433 Implement UrlDecider's test. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/test/java/jp/toastkid/yobidashi/wikipedia/UrlDeciderTest.kt | app/src/test/java/jp/toastkid/yobidashi/wikipedia/UrlDeciderTest.kt | package jp.toastkid.yobidashi.wikipedia
import org.junit.Assert.assertTrue
import org.junit.Test
import java.util.*
/**
* @author toastkidjp
*/
class UrlDeciderTest {
@Test
fun test() {
assertTrue(UrlDecider().invoke().startsWith("https://${Locale.getDefault().language}."))
}
} | epl-1.0 | Kotlin | |
b5d8c5fa2091866fcb3f9fc969905766dff9f966 | Document purpose of buildSrc subprojects | gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpira... | buildSrc/settings.gradle.kts | buildSrc/settings.gradle.kts | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin |
aca81056fb979e2ac4901c78a1e9acf0acc892e1 | select pane looks better now. | Seancheey/Ark-Sonah | src/com/seancheey/gui/BotSelectCirclePane.kt | src/com/seancheey/gui/BotSelectCirclePane.kt | package com.seancheey.gui
import com.seancheey.game.RobotModel
import javafx.geometry.Point2D
import javafx.scene.layout.AnchorPane
import javafx.scene.shape.Arc
import javafx.scene.shape.ArcType
import javafx.scene.shape.Circle
import javafx.scene.shape.Shape
/**
* Created by Seancheey on 21/06/2017.
* GitHub: htt... | package com.seancheey.gui
import com.seancheey.game.RobotModel
import javafx.collections.ObservableList
import javafx.geometry.Point2D
import javafx.scene.Node
import javafx.scene.layout.Pane
import javafx.scene.shape.Circle
import javafx.scene.shape.Shape
/**
* Created by Seancheey on 21/06/2017.
* GitHub: https:/... | mit | Kotlin |
47b0f38b6ce769c3629ef512038e063c6983d959 | Remove redundant overriding method | PKRoma/github-android,pockethub/PocketHub,pockethub/PocketHub,pockethub/PocketHub,PKRoma/github-android,Meisolsson/PocketHub,PKRoma/PocketHub,pockethub/PocketHub,forkhubs/android,Meisolsson/PocketHub,forkhubs/android,PKRoma/PocketHub,PKRoma/PocketHub,Meisolsson/PocketHub,Meisolsson/PocketHub,PKRoma/PocketHub,PKRoma/git... | app/src/main/java/com/github/pockethub/android/ui/user/HomePagerAdapter.kt | app/src/main/java/com/github/pockethub/android/ui/user/HomePagerAdapter.kt | /*
* Copyright (c) 2015 PocketHub
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | /*
* Copyright (c) 2015 PocketHub
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 | Kotlin |
a2c522023d318fd80e8493e92caa17548f95bbd6 | refactor #605 Implement CookieCleanerCompat's test. | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/test/java/jp/toastkid/yobidashi/browser/CookieCleanerCompatTest.kt | app/src/test/java/jp/toastkid/yobidashi/browser/CookieCleanerCompatTest.kt | package jp.toastkid.yobidashi.browser
import android.webkit.CookieManager
import io.mockk.MockKAnnotations
import io.mockk.every
import io.mockk.impl.annotations.MockK
import io.mockk.mockk
import io.mockk.mockkStatic
import io.mockk.verify
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
... | epl-1.0 | Kotlin | |
15e33b0ec1846a6b270bd71341bf23a741b549ab | introduce legacyjourney for better 1x and 2x interop | wealthfront/magellan,wealthfront/magellan | magellan-legacy/src/main/java/com/wealthfront/magellan/LegacyExpedition.kt | magellan-legacy/src/main/java/com/wealthfront/magellan/LegacyExpedition.kt | package com.wealthfront.magellan
import android.view.LayoutInflater
import androidx.viewbinding.ViewBinding
import com.wealthfront.magellan.init.Magellan
import com.wealthfront.magellan.navigation.CurrentNavigableProvider
import com.wealthfront.magellan.navigation.NavigationOverrideProvider
import com.wealthfront.mage... | package com.wealthfront.magellan
import android.view.LayoutInflater
import androidx.viewbinding.ViewBinding
import com.wealthfront.magellan.core.Step
import com.wealthfront.magellan.init.Magellan
import com.wealthfront.magellan.lifecycle.attachFieldToLifecycle
import com.wealthfront.magellan.navigation.CurrentNavigabl... | apache-2.0 | Kotlin |
44798bc113bae57368aaa73ca026cf886bb14785 | refactor #485 Enable to inject Dispatcher for fixing unit test. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/wikipedia/random/RandomWikipedia.kt | app/src/main/java/jp/toastkid/yobidashi/wikipedia/random/RandomWikipedia.kt | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | epl-1.0 | Kotlin |
7e089c7e006956927602396689ae857561db81c6 | fix user's page etag | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-samples/kweet/src/kweet/UserPage.kt | ktor-samples/kweet/src/kweet/UserPage.kt | package kweet
import kweet.dao.*
import org.jetbrains.ktor.application.*
import org.jetbrains.ktor.freemarker.*
import org.jetbrains.ktor.http.*
import org.jetbrains.ktor.locations.*
import org.jetbrains.ktor.routing.*
import org.jetbrains.ktor.sessions.*
fun Route.userPage(dao: DAOFacade) {
get<UserPage> {
... | package kweet
import kweet.dao.*
import org.jetbrains.ktor.application.*
import org.jetbrains.ktor.freemarker.*
import org.jetbrains.ktor.http.*
import org.jetbrains.ktor.locations.*
import org.jetbrains.ktor.routing.*
import org.jetbrains.ktor.sessions.*
fun Route.userPage(dao: DAOFacade) {
get<UserPage> {
... | apache-2.0 | Kotlin |
504210c395ddda79d5a25e4254d0b9ee4b17181e | refactor #620 Rename argument to 'task'. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | todo/src/main/java/jp/toastkid/todo/view/board/TaskAddingUseCase.kt | todo/src/main/java/jp/toastkid/todo/view/board/TaskAddingUseCase.kt | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | epl-1.0 | Kotlin |
4335f891b7bbbfc2880ce1661a7ff80926b93412 | Add minor improvement to kotlin String literals in generated sources | JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-... | Interop/StubGenerator/src/main/kotlin/org/jetbrains/kotlin/native/interop/gen/CodeUtils.kt | Interop/StubGenerator/src/main/kotlin/org/jetbrains/kotlin/native/interop/gen/CodeUtils.kt | /*
* Copyright 2010-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | /*
* Copyright 2010-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 | Kotlin |
f2db559a790083a697634c716004e68927b68b45 | Remove unused import | RocketChat/Rocket.Chat.Android,RocketChat/Rocket.Chat.Android,RocketChat/Rocket.Chat.Android.Lily,RocketChat/Rocket.Chat.Android.Lily | app/src/main/java/chat/rocket/android/chatroom/ui/bottomsheet/adapter/ActionListAdapter.kt | app/src/main/java/chat/rocket/android/chatroom/ui/bottomsheet/adapter/ActionListAdapter.kt | package chat.rocket.android.chatroom.ui.bottomsheet.adapter
import android.view.MenuItem
import chat.rocket.android.R
import chat.rocket.android.util.setVisible
/**
* An adapter for bottomsheet menu that lists all the actions that could be taken over a chat message.
*/
class ActionListAdapter(menuItems: List<MenuIt... | package chat.rocket.android.chatroom.ui.bottomsheet.adapter
import android.view.MenuItem
import android.view.View
import chat.rocket.android.R
import chat.rocket.android.util.setVisible
/**
* An adapter for bottomsheet menu that lists all the actions that could be taken over a chat message.
*/
class ActionListAdapt... | mit | Kotlin |
ede8f789cdfe6cfc1a7232c68f7be5c02b80e7c2 | fix to show api key error dialog properly. | ramonrabello/Kiphy | app/src/main/kotlin/com/github/ramonrabello/kiphy/presentation/trends/TrendingPresenter.kt | app/src/main/kotlin/com/github/ramonrabello/kiphy/presentation/trends/TrendingPresenter.kt | package com.github.ramonrabello.kiphy.presentation.trends
import com.github.ramonrabello.kiphy.BuildConfig
import com.github.ramonrabello.kiphy.data.GiphyApi
import com.github.ramonrabello.kiphy.data.Trending
import retrofit2.Call
import retrofit2.Callback
import retrofit2.Response
/**
* Presenter implementation for... | package com.github.ramonrabello.kiphy.presentation.trends
import com.github.ramonrabello.kiphy.BuildConfig
import com.github.ramonrabello.kiphy.data.GiphyApi
import com.github.ramonrabello.kiphy.data.Trending
import retrofit2.Call
import retrofit2.Callback
import retrofit2.Response
/**
* Presenter implementation for... | apache-2.0 | Kotlin |
880aaddae42136f7a356fc7aead09148c1e9cb58 | Make acceptance test compile | phillbarber/kotlin-maze-demo | src/test/kotlin/demo/MazeAcceptanceTest.kt | src/test/kotlin/demo/MazeAcceptanceTest.kt | package demo
import org.hamcrest.CoreMatchers.`is`
import org.hamcrest.MatcherAssert.assertThat
import org.junit.Ignore
import kotlin.test.assertEquals
import org.junit.Test
class MazeAcceptanceTest {
@Test @Ignore fun simpleSolvableMaze() {
val solvedMaze: SolvedMaze = Maze("simple-solvable-maze.txt").s... | package demo
import org.hamcrest.CoreMatchers.`is`
import org.hamcrest.MatcherAssert.assertThat
import kotlin.test.assertEquals
import org.junit.Test
class MazeAcceptanceTest {
@Test fun simpleSolvableMaze() {
val solvedMaze: SolvedMaze = Maze("simple-solvable-maze.txt").solve()
val route: List<... | mit | Kotlin |
39e4fb9963cbce7597a0ed205b02b46e14814f24 | Update to Android-Components 96.0.20211202171215. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "96.0.20211202171215"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "96.0.20211202143140"
}
| mpl-2.0 | Kotlin |
fd16240f310381b71408054357b6180835e2a2c3 | Update to Android-Components 97.0.20211213190046. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "97.0.20211213190046"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "97.0.20211213151530"
}
| mpl-2.0 | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.