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
f8ac14ec7589c33ee4041e158895b6060c3c0c52
Make parallel run from CoroutineScope
TeamMeanMachine/meanlib,TeamMeanMachine/meanlib
src/main/kotlin/org/team2471/frc/lib/coroutines/CoroutineUtils.kt
src/main/kotlin/org/team2471/frc/lib/coroutines/CoroutineUtils.kt
package org.team2471.frc.lib.coroutines import edu.wpi.first.wpilibj.DriverStation import kotlinx.coroutines.* import org.team2471.frc.lib.util.measureTimeFPGA internal class BreakPeriodic : Throwable() class PeriodicScope @PublishedApi internal constructor(val period: Double) { fun exitPeriodic(): Nothing = thr...
package org.team2471.frc.lib.coroutines import edu.wpi.first.wpilibj.DriverStation import kotlinx.coroutines.* import org.team2471.frc.lib.util.measureTimeFPGA internal class BreakPeriodic : Throwable() class PeriodicScope @PublishedApi internal constructor(val period: Double) { fun exitPeriodic(): Nothing = thr...
unlicense
Kotlin
fdc2d6a7d0ab8cd1041189e01d96afc262f3808b
use delegation to clean up component.
agrosner/KBinding,agrosner/KBinding
kbinding-anko/src/main/java/com/andrewgrosner/kbinding/anko/BindingComponent.kt
kbinding-anko/src/main/java/com/andrewgrosner/kbinding/anko/BindingComponent.kt
package com.andrewgrosner.kbinding.anko import android.view.View import android.widget.CompoundButton import android.widget.DatePicker import android.widget.RatingBar import android.widget.SeekBar import android.widget.TextView import android.widget.TimePicker import com.andrewgrosner.kbinding.BindingHolder import com...
package com.andrewgrosner.kbinding.anko import android.view.View import android.widget.CompoundButton import android.widget.DatePicker import android.widget.RatingBar import android.widget.SeekBar import android.widget.TextView import android.widget.TimePicker import com.andrewgrosner.kbinding.BindingHolder import com...
mit
Kotlin
af1f6e0d07889adb037de47032245e568fa4e6cf
Fix annotations
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/github/src/org/jetbrains/plugins/github/pullrequest/data/GHPRReviewDataProvider.kt
plugins/github/src/org/jetbrains/plugins/github/pullrequest/data/GHPRReviewDataProvider.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 org.jetbrains.plugins.github.pullrequest.data import com.intellij.openapi.Disposable import com.intellij.openapi.progress.ProgressIndicator import org.jetbrains.annotatio...
// 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 org.jetbrains.plugins.github.pullrequest.data import com.intellij.openapi.Disposable import com.intellij.openapi.progress.ProgressIndicator import org.jetbrains.annotatio...
apache-2.0
Kotlin
8a54b5844252352efafd255ea3a3a7506b305879
Update BitUtils from assert to exception
d9n/trypp.support
src/main/code/trypp/support/math/BitUtils.kt
src/main/code/trypp/support/math/BitUtils.kt
package trypp.support.math object BitUtils { fun requireSingleBit(value: Int) { if (!hasSingleBit(value)) { throw IllegalArgumentException( "Passed in value should have a single bit set: $value -> ${Integer.toBinaryString(value)}") } } /** * Quick check to ...
package trypp.support.math object BitUtils { fun requireSingleBit(value: Int) { assert(hasSingleBit(value), { "Passed in value should have a single bit set: $value -> ${Integer.toBinaryString(value)}" }) } /** * Quick check to see if the passed in value only has a single bit set. */ ...
mit
Kotlin
68efdf458c0985c48ff8a1d9f3d38bed007f5632
Use of COROUTINE_SUSPENDED from Kotlin internals
AcapellaSoft/Aconite,AcapellaSoft/Aconite
aconite-core/src/io/aconite/utils/Async.kt
aconite-core/src/io/aconite/utils/Async.kt
package io.aconite.utils import java.lang.reflect.InvocationTargetException import kotlin.coroutines.experimental.suspendCoroutine import kotlin.reflect.KFunction /** * This object can be used as the return value of the async function to indicate * that function was suspended. * TODO: find better way to use suspen...
package io.aconite.utils import java.lang.reflect.InvocationTargetException import kotlin.coroutines.experimental.Continuation import kotlin.coroutines.experimental.CoroutineContext import kotlin.coroutines.experimental.suspendCoroutine import kotlin.reflect.KFunction /** * This object can be used as the return valu...
mit
Kotlin
b7a12cf89e3bf50249f5bbd50a9138b5f3a5222d
Fix hot reload on latest JDKs to work without any special options.
ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor
ktor-server/ktor-server-host-common/jvm/src/io/ktor/server/engine/ClassLoaders.kt
ktor-server/ktor-server-host-common/jvm/src/io/ktor/server/engine/ClassLoaders.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.server.engine import java.lang.reflect.Field import java.net.URL import java.net.URLClassLoader internal fun ClassLoader.allURLs(): Set<URL> { val parentUrls = parent?.a...
/* * 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.server.engine import java.lang.reflect.Field import java.net.URL import java.net.URLClassLoader internal fun ClassLoader.allURLs(): Set<URL> { val parentUrls = parent?.a...
apache-2.0
Kotlin
9a85e9ae4819d8b513b2620d17a096e077c00471
Make appState private
shiraji/butai,shiraji/butai,shiraji/butai
library/src/main/java/com/github/shiraji/butai/ButaiActivityLifecycleCallbacks.kt
library/src/main/java/com/github/shiraji/butai/ButaiActivityLifecycleCallbacks.kt
package com.github.shiraji.butai import android.app.Activity import android.app.Application import android.os.Bundle internal class ButaiActivityLifecycleCallbacks : Application.ActivityLifecycleCallbacks, Butai { enum class AppStatus(val isForeground: Boolean) { BACKGROUND(false), JUST_APPEARED(t...
package com.github.shiraji.butai import android.app.Activity import android.app.Application import android.os.Bundle internal class ButaiActivityLifecycleCallbacks : Application.ActivityLifecycleCallbacks, Butai { enum class AppStatus(val isForeground: Boolean) { BACKGROUND(false), JUST_APPEARED(t...
apache-2.0
Kotlin
6fd7cb83b940ae26d0e66e06a9f9f97de5b19367
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...
plugins/markdown/src/org/intellij/plugins/markdown/ui/preview/jcef/BrowserPipe.kt
plugins/markdown/src/org/intellij/plugins/markdown/ui/preview/jcef/BrowserPipe.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 org.intellij.plugins.markdown.ui.preview.jcef import com.intellij.openapi.Disposable import com.intellij.openapi.util.Disposer import com.intellij.ui.jcef.JBCefBrowser im...
// 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 org.intellij.plugins.markdown.ui.preview.jcef import com.intellij.openapi.Disposable import com.intellij.openapi.util.Disposer import com.intellij.ui.jcef.JBCefBrowser im...
apache-2.0
Kotlin
36fd1a24b9f69876b60d8253a327b671043f2156
Move yarn.lock to the build directory, out of VCS control
blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpira...
build-logic/uber-plugins/src/main/kotlin/gradlebuild.internal.kotlin-js.gradle.kts
build-logic/uber-plugins/src/main/kotlin/gradlebuild.internal.kotlin-js.gradle.kts
/* * Copyright 2020 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 2020 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
187fd3c33f99116ee24fe72a50bc695615668e9f
Fix the case when task property info builder could touch lazy properties even if task should be skipped
cy6erGn0m/kotlin-frontend-plugin,cy6erGn0m/kotlin-frontend-plugin
kotlin-frontend/src/main/kotlin/org/jetbrains/kotlin/gradle/frontend/SourceMaps.kt
kotlin-frontend/src/main/kotlin/org/jetbrains/kotlin/gradle/frontend/SourceMaps.kt
package org.jetbrains.kotlin.gradle.frontend import groovy.json.* import org.gradle.api.* import org.gradle.api.tasks.* import org.jetbrains.kotlin.gradle.dsl.* import java.io.* import java.net.* open class RelativizeSourceMapTask : DefaultTask() { @Internal lateinit var compileTask: KotlinJsCompile @get...
package org.jetbrains.kotlin.gradle.frontend import groovy.json.* import org.gradle.api.* import org.gradle.api.tasks.* import org.jetbrains.kotlin.gradle.dsl.* import java.io.* import java.net.* open class RelativizeSourceMapTask : DefaultTask() { @Internal lateinit var compileTask: KotlinJsCompile @get...
apache-2.0
Kotlin
8c666a44efdb22e4a1891b1c2c2237220296cab9
Fix test.
mg6maciej/fluffy-octo-rotary-phone,mg6maciej/fluffy-octo-rotary-phone,mg6maciej/fluffy-octo-rotary-phone
app/src/main/java/pl/mg6/likeornot/Likable.kt
app/src/main/java/pl/mg6/likeornot/Likable.kt
package pl.mg6.likeornot data class Likable( val uuid: String, val name: String, val image: String)
package pl.mg6.likeornot class Likable( val uuid: String, val name: String, val image: String)
apache-2.0
Kotlin
5e2cc326a8386c709d14f2d0f8a8902535d22a0a
consolidate constructor logic in TheKeySession
GlobalTechnology/android-gto-support,CruGlobal/android-gto-support,CruGlobal/android-gto-support
gto-support-api-base/src/main/java/org/ccci/gto/android/common/api/TheKeySession.kt
gto-support-api-base/src/main/java/org/ccci/gto/android/common/api/TheKeySession.kt
package org.ccci.gto.android.common.api import android.content.SharedPreferences import java.util.Locale class TheKeySession private constructor( prefs: SharedPreferences?, id: String?, guid: String?, baseAttrName: String ) : Session(prefs = prefs, id = id, baseAttrName = guid.sanitizeGuid(".") + base...
package org.ccci.gto.android.common.api import android.content.SharedPreferences import java.util.Locale class TheKeySession : Session { private val guid: String? @JvmOverloads constructor( id: String?, guid: String?, baseAttrName: String = PREF_SESSION_BASE_NAME ) : super(id,...
mit
Kotlin
87946df7223d31893a48b15e0b8202ab47c283a3
Create Kotlin.kt
inpothet/Great-wall-of-Hello-Worlds,inpothet/Great-wall-of-Hello-Worlds,inpothet/Great-wall-of-Hello-Worlds,inpothet/Great-wall-of-Hello-Worlds,inpothet/Great-wall-of-Hello-Worlds,inpothet/Great-wall-of-Hello-Worlds,inpothet/Great-wall-of-Hello-Worlds,inpothet/Great-wall-of-Hello-Worlds,inpothet/Great-wall-of-Hello-Wor...
Kotlin.kt
Kotlin.kt
package com.github.gwohw class App { companion object { @JvmStatic fun main(args: Array<String>) { println("Hello World") } } }
unlicense
Kotlin
1fa7a82cfa915dc10ca29c45573dde06f39c0c34
Convert class to object
KotlinNLP/SimpleDNN
src/kotlin/com/kotlinnlp/simplednn/simplemath/ndarray/SparseBinaryNDArrayFactory.kt
src/kotlin/com/kotlinnlp/simplednn/simplemath/ndarray/SparseBinaryNDArrayFactory.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
ff5f64cfa829f2e6512f21409d046fe035538181
Implement Full Text 1.0 (A.1) [167] FTMatchOption.
rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin
src/main/java/uk/co/reecedunn/intellij/plugin/xquery/ast/full/text/FTMatchOption.kt
src/main/java/uk/co/reecedunn/intellij/plugin/xquery/ast/full/text/FTMatchOption.kt
/* * Copyright (C) 2017 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
862a32e1232af4f9b80867a5e76fa46856f59b35
refactor #620 Implement InitialTaskPreparation's test.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
todo/src/test/java/jp/toastkid/todo/view/list/initial/InitialTaskPreparationTest.kt
todo/src/test/java/jp/toastkid/todo/view/list/initial/InitialTaskPreparationTest.kt
package jp.toastkid.todo.view.list.initial import io.mockk.MockKAnnotations import io.mockk.every import io.mockk.impl.annotations.MockK import io.mockk.unmockkAll import io.mockk.verify import jp.toastkid.todo.data.TodoTaskDataAccessor import org.junit.After import org.junit.Before import org.junit.Test /** * @auth...
epl-1.0
Kotlin
31da299ccd8518e85a5559b171edc4dd534140ea
fix deadlines remote data source mapper
StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android
app/src/main/java/org/stepik/android/remote/personal_deadlines/DeadlinesRemoteDataSourceImpl.kt
app/src/main/java/org/stepik/android/remote/personal_deadlines/DeadlinesRemoteDataSourceImpl.kt
package org.stepik.android.remote.personal_deadlines import io.reactivex.Completable import io.reactivex.Maybe import io.reactivex.Single import org.stepic.droid.features.deadlines.model.DeadlinesWrapper import org.stepic.droid.features.deadlines.util.getKindOfRecord import org.stepic.droid.preferences.SharedPreferenc...
package org.stepik.android.remote.personal_deadlines import io.reactivex.Completable import io.reactivex.Maybe import io.reactivex.Single import org.stepic.droid.features.deadlines.model.DeadlinesWrapper import org.stepic.droid.features.deadlines.util.getKindOfRecord import org.stepic.droid.preferences.SharedPreferenc...
apache-2.0
Kotlin
cd7b0b1c7f9e26b61208252d99242ca9cead06bc
Fix building on IntelliJ >= 192.
rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin
src/intellij-compat/192/uk/co/reecedunn/compat/execution/configurations/RunConfigurationBase.kt
src/intellij-compat/192/uk/co/reecedunn/compat/execution/configurations/RunConfigurationBase.kt
/* * Copyright (C) 2018-2019 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 agr...
/* * Copyright (C) 2018-2019 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 agr...
apache-2.0
Kotlin
7adae01083b171654dbdb91fcd2a4f9df8217849
tidy up strategy
http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k
http4k-contract/src/main/kotlin/org/http4k/contract/openapi/v3/FieldMetadataRetrievalStrategy.kt
http4k-contract/src/main/kotlin/org/http4k/contract/openapi/v3/FieldMetadataRetrievalStrategy.kt
package org.http4k.contract.openapi.v3 import org.http4k.core.Uri import java.time.Instant import java.time.LocalDate import java.util.UUID import kotlin.reflect.full.declaredMembers fun interface FieldMetadataRetrievalStrategy : (Any, String) -> FieldMetadata class NoOpFieldMetadataRetrievalStrategy : FieldMetadata...
package org.http4k.contract.openapi.v3 import org.http4k.core.Uri import java.time.Instant import java.time.LocalDate import java.util.UUID import kotlin.reflect.full.declaredMembers fun interface FieldMetadataRetrievalStrategy : (Any, String) -> FieldMetadata class NoOpFieldMetadataRetrievalStrategy : FieldMetadata...
apache-2.0
Kotlin
b316e39cc62422b11e7e58837502a2c2fe594c5e
refactor #802 Fix incorrect unit test.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte
media/src/test/java/jp/toastkid/media/music/popup/playback/speed/PlayingSpeedTest.kt
media/src/test/java/jp/toastkid/media/music/popup/playback/speed/PlayingSpeedTest.kt
package jp.toastkid.media.music.popup.playback.speed import jp.toastkid.media.R import org.junit.Assert.assertSame import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner /** * @author toastkidjp */ @RunWith(RobolectricTestRunner::class) class PlayingSpeedTest { @Test...
package jp.toastkid.media.music.popup.playback.speed import jp.toastkid.yobidashi.R import org.junit.Assert.* import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner /** * @author toastkidjp */ @RunWith(RobolectricTestRunner::class) class PlayingSpeedTest { @Test ...
epl-1.0
Kotlin
ec477c895aa7e15004165a2e9d4c880d0aaa8bdf
fix compilation error
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-api/src/com/intellij/execution/configurations/ConfigurationTypeBase.kt
platform/lang-api/src/com/intellij/execution/configurations/ConfigurationTypeBase.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.execution.configurations import com.intellij.openapi.util.NotNullLazyValue import com.intellij.util.ArrayUtil import com.intellij.util.LazyUtil import com.i...
// 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.execution.configurations import com.intellij.openapi.util.NotNullLazyValue import com.intellij.util.ArrayUtil import com.intellij.util.LazyUtil import com.i...
apache-2.0
Kotlin
4214179f5d8b9a026643e921120dce35b49c4ada
refactor #580 Remove useless Dispatchers.setMain().
toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
article/src/test/java/jp/toastkid/article_viewer/article/data/ArticleInsertionTest.kt
article/src/test/java/jp/toastkid/article_viewer/article/data/ArticleInsertionTest.kt
package jp.toastkid.article_viewer.article.data import android.content.Context import io.mockk.MockKAnnotations import io.mockk.coEvery import io.mockk.coVerify import io.mockk.every import io.mockk.impl.annotations.MockK import io.mockk.mockk import io.mockk.mockkObject import io.mockk.unmockkAll import jp.toastkid.a...
package jp.toastkid.article_viewer.article.data import android.content.Context import io.mockk.MockKAnnotations import io.mockk.coEvery import io.mockk.coVerify import io.mockk.every import io.mockk.impl.annotations.MockK import io.mockk.mockk import io.mockk.mockkObject import io.mockk.unmockkAll import jp.toastkid.a...
epl-1.0
Kotlin
5b4d59134a8711ad9424b1aab222f1f2b4e30a53
Remove already implemented todo item
VladRassokhin/intellij-hcl,VladRassokhin/intellij-hcl,VladRassokhin/intellij-hcl,VladRassokhin/intellij-hcl,VladRassokhin/intellij-hcl
src/kotlin/org/intellij/plugins/hcl/terraform/config/inspection/TFDuplicatedVariableInspection.kt
src/kotlin/org/intellij/plugins/hcl/terraform/config/inspection/TFDuplicatedVariableInspection.kt
/* * Copyright 2000-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 2000-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
397d86bc17ae41afbc3407ef66ba4aa5ea0b5567
Work on PowerPoint translation
eugeis/ee-email
ee-email_excel/src/main/kotlin/ee/email/ReadForwardingsFromExcel.kt
ee-email_excel/src/main/kotlin/ee/email/ReadForwardingsFromExcel.kt
package ee.email import ee.excel.Excel import ee.excel.get import java.nio.file.Path import java.util.* class ReadForwardingsFromExcel(val filePath: Path, val sheets: List<String>) { fun load(): List<Forwarding> { val ret = ArrayList<Forwarding>() val excel = Excel.open(filePath) sheet...
package ee.email import ee.excel.Excel import ee.excel.get import java.util.* class ReadForwardingsFromExcel(val file: String, val sheets: List<String>) { fun load(): List<Forwarding> { val ret = ArrayList<Forwarding>() val excel = Excel.open(file) sheets.map { excel.getSheet(it) }.for...
apache-2.0
Kotlin
a708e839c2739d43e78d1c65ee49e9dccb0e259a
Make popup-view lambda parameter mandatory
nfrankel/kaadin,nfrankel/kaadin,nfrankel/kaadin
kaadin-core/src/main/kotlin/ch/frankel/kaadin/StructureHierarchy.kt
kaadin-core/src/main/kotlin/ch/frankel/kaadin/StructureHierarchy.kt
/* * Copyright 2016 Nicolas Fränkel * * 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...
/* * Copyright 2016 Nicolas Fränkel * * 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...
apache-2.0
Kotlin
cd0b735fe695cbc9675e2a85946f1e61935947df
Fix typo
thatJavaNerd/JRAW,Saketme/JRAW,Saketme/JRAW,thatJavaNerd/JRAW,thatJavaNerd/JRAW,Saketme/JRAW
lib/src/test/kotlin/net/dean/jraw/test/integration/SubredditTest.kt
lib/src/test/kotlin/net/dean/jraw/test/integration/SubredditTest.kt
package net.dean.jraw.test.integration import com.winterbe.expekt.should import net.dean.jraw.test.TestConfig import org.jetbrains.spek.api.Spek import org.jetbrains.spek.api.dsl.describe import org.jetbrains.spek.api.dsl.it import java.util.* class SubredditTest : Spek({ val sub = TestConfig.reddit.subreddit("pi...
package net.dean.jraw.test.integration import com.winterbe.expekt.should import net.dean.jraw.test.TestConfig import org.jetbrains.spek.api.Spek import org.jetbrains.spek.api.dsl.describe import org.jetbrains.spek.api.dsl.it import java.util.* class SubredditTest : Spek({ val sub = TestConfig.reddit.subreddit("pi...
mit
Kotlin
0cdb3ad8cbaad287550f019b55dd4c565e54b6f2
refactor #451 Re-implement HTML source extraction.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/browser/usecase/HtmlSourceExtractionUseCase.kt
app/src/main/java/jp/toastkid/yobidashi/browser/usecase/HtmlSourceExtractionUseCase.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
a66102bb8e9735f97d4eecd93ea1a115ebc79ad5
refactor #442 Add @StringRes annotation.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
app/src/main/java/jp/toastkid/yobidashi/settings/fragment/DisplayingSettingFragment.kt
app/src/main/java/jp/toastkid/yobidashi/settings/fragment/DisplayingSettingFragment.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
6dcb7dded67fde6df82da6c1555e22b0d12d1dc6
refactor #511 Rename returned value.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte
app/src/test/java/jp/toastkid/yobidashi/editor/usecase/MenuActionInvokerUseCaseTest.kt
app/src/test/java/jp/toastkid/yobidashi/editor/usecase/MenuActionInvokerUseCaseTest.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
3fadac65c5bf4843c7848b75e05e1723b1275eb0
bump selenide from 6.6.6 to 6.7.3 (via #814)
allure-framework/allure-java,allure-framework/allure-java
allure-selenide/build.gradle.kts
allure-selenide/build.gradle.kts
description = "Allure Selenide Integration" val selenideVersion = "6.7.3" dependencies { api(project(":allure-java-commons")) compileOnly("com.codeborne:selenide:$selenideVersion") testImplementation("com.codeborne:selenide:$selenideVersion") testImplementation("org.mockito:mockito-core") testImpl...
description = "Allure Selenide Integration" val selenideVersion = "6.6.6" dependencies { api(project(":allure-java-commons")) compileOnly("com.codeborne:selenide:$selenideVersion") testImplementation("com.codeborne:selenide:$selenideVersion") testImplementation("org.mockito:mockito-core") testImpl...
apache-2.0
Kotlin
6cd2b146f1c03727f344147af5d0a9ab1bbc2db8
Use @OptIn annotation
square/wire,square/wire,square/wire,square/wire,square/wire,square/wire
wire-library/wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/-Platform.kt
wire-library/wire-runtime/src/commonMain/kotlin/com/squareup/wire/internal/-Platform.kt
/* * Copyright 2019 Square 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 in w...
/* * Copyright 2019 Square 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 in w...
apache-2.0
Kotlin
ab93f4cfc205c017db9e06a819df54541dc2c692
remove outdated registry
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/statistics/src/com/intellij/internal/statistic/eventLog/fus/FeatureUsageEventLoggerProvider.kt
platform/statistics/src/com/intellij/internal/statistic/eventLog/fus/FeatureUsageEventLoggerProvider.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.internal.statistic.eventLog.fus import com.intellij.internal.statistic.eventLog.StatisticsEventLoggerProvider import com.intellij.internal.statistic.utils.St...
// 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.internal.statistic.eventLog.fus import com.intellij.internal.statistic.eventLog.StatisticsEventLoggerProvider import com.intellij.internal.statistic.utils.St...
apache-2.0
Kotlin
0bebd671991e7af0a365f67795c9fc352c0a4dd3
Fix NpcDefinition name nullability
RuneSuite/client,RuneSuite/client
game-api/src/main/java/org/runestar/client/game/api/NpcDefinition.kt
game-api/src/main/java/org/runestar/client/game/api/NpcDefinition.kt
package org.runestar.client.game.api import org.runestar.client.game.raw.access.XNpcDefinition class NpcDefinition(val accessor: XNpcDefinition) { val id get() = accessor.id val actions: List<String> get() = accessor.actions.map { it ?: "" } val name: String? get() = accessor.name.takeUnless ...
package org.runestar.client.game.api import org.runestar.client.game.raw.access.XNpcDefinition class NpcDefinition(val accessor: XNpcDefinition) { val id get() = accessor.id val actions: List<String> get() = accessor.actions.map { it ?: "" } val name get() = accessor.name ?: "" val hea...
mit
Kotlin
4b30799796ffb109832e7bbadb0eb9634112e3a7
refactor #354 Use LiveData.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
lib/src/main/java/jp/toastkid/lib/viewmodel/PageSearcherViewModel.kt
lib/src/main/java/jp/toastkid/lib/viewmodel/PageSearcherViewModel.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
b858214767e5ae9e3a9eaaa42524f7f50fc9030a
Add kdocs for MeasureScope
facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho
litho-core-kotlin/src/main/kotlin/com/facebook/litho/MeasureScope.kt
litho-core-kotlin/src/main/kotlin/com/facebook/litho/MeasureScope.kt
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * 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 appl...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * 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 appl...
apache-2.0
Kotlin
76a6f9a240eae229489c1b7a6865eb7c5c8af20c
Move await* to upper class ExecutableQuery (#3524)
cashapp/sqldelight,cashapp/sqldelight,cashapp/sqldelight,cashapp/sqldelight
extensions/async-extensions/src/commonMain/kotlin/app/cash/sqldelight/async/coroutines/QueryExtensions.kt
extensions/async-extensions/src/commonMain/kotlin/app/cash/sqldelight/async/coroutines/QueryExtensions.kt
package app.cash.sqldelight.async.coroutines import app.cash.sqldelight.ExecutableQuery suspend fun <T : Any> ExecutableQuery<T>.awaitAsList(): List<T> = execute { cursor -> val result = mutableListOf<T>() while (cursor.next()) result.add(mapper(cursor)) result }.await() suspend fun <T : Any> ExecutableQuery<T...
package app.cash.sqldelight.async.coroutines import app.cash.sqldelight.Query suspend fun <T : Any> Query<T>.awaitAsList(): List<T> = execute { cursor -> val result = mutableListOf<T>() while (cursor.next()) result.add(mapper(cursor)) result }.await() suspend fun <T : Any> Query<T>.awaitAsOne(): T { return a...
apache-2.0
Kotlin
eb3d35bf9322c00509b3ad76724fec43ca8b0423
Add awaitResumed, awaitStarted and awaitCreated
LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties
modules/lifecycle-coroutines/src/androidMain/kotlin/splitties/lifecycle/coroutines/LifecycleAwaitState.kt
modules/lifecycle-coroutines/src/androidMain/kotlin/splitties/lifecycle/coroutines/LifecycleAwaitState.kt
/* * Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. */ package splitties.lifecycle.coroutines import androidx.lifecycle.GenericLifecycleObserver import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleOwner import kotlinx.coroutines.* import ...
/* * Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. */ package splitties.lifecycle.coroutines import androidx.lifecycle.GenericLifecycleObserver import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleOwner import kotlinx.coroutines.* import ...
apache-2.0
Kotlin
d89228e534112caaab6076555ec7744ec83214e0
Add ImageMatrix.kt
erokhins/KotlinCV
Common/src/org/hanuna/kotlincv/ImageMatrix.kt
Common/src/org/hanuna/kotlincv/ImageMatrix.kt
package org.hanuna.kotlincv import org.hanuna.math.* import org.hanuna.kotlincv.Coordinates import org.hanuna.kotlincv.Matrix /** * Created by smevok on 5/11/14. */ public trait ImageMatrix<N> : Matrix<N> { public fun toCorrectRow(row: Int): Int = row.toCorrectImageNumber(rows) public fun toCorrectCol(co...
apache-2.0
Kotlin
98b0b9650fb197448f946f6c9062ae148270c68c
refactor #754 Safe delete 'onClick'.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/browser/bookmark/DefaultBookmarkDialogFragment.kt
app/src/main/java/jp/toastkid/yobidashi/browser/bookmark/DefaultBookmarkDialogFragment.kt
/* * Copyright (c) 2018 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) 2018 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
eca9619cc9e53eaf04158933342ae3955d553853
use ENV if running on heroku
noud02/Akatsuki
src/main/kotlin/me/noud02/akatsuki/Main.kt
src/main/kotlin/me/noud02/akatsuki/Main.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
98dd14b90e063f23488523148885db972442b073
Revert "TW-77411 Switch bundled plugins to use a persistent cache of settings"
JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support
nuget-agent/src/jetbrains/buildServer/nuget/agent/runner/credentials/CredentialProviderPropertiesExtension.kt
nuget-agent/src/jetbrains/buildServer/nuget/agent/runner/credentials/CredentialProviderPropertiesExtension.kt
package jetbrains.buildServer.nuget.agent.runner.credentials import jetbrains.buildServer.agent.AgentLifeCycleAdapter import jetbrains.buildServer.agent.AgentLifeCycleListener import jetbrains.buildServer.agent.BuildAgent import jetbrains.buildServer.agent.ToolProvider import jetbrains.buildServer.nuget.common.Package...
package jetbrains.buildServer.nuget.agent.runner.credentials import jetbrains.buildServer.ExtensionHolder import jetbrains.buildServer.agent.config.AgentConfigurationAdapter import jetbrains.buildServer.agent.config.AgentConfigurationSnapshot import jetbrains.buildServer.nuget.common.exec.NuGetTeamCityProvider import ...
apache-2.0
Kotlin
f233fd3696d32e607a0acb3448682c7033291fa8
Update TimeSheetTest.kt
thuytrinh/KotlinPlayground,thuytrinh/KotlinPlayground
src/test/kotlin/timesheet/TimeSheetTest.kt
src/test/kotlin/timesheet/TimeSheetTest.kt
package timesheet import kotlinx.datetime.* import kotlinx.serialization.Serializable import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json import org.junit.Test import java.io.File import java.time.DayOfWeek import java.time.YearMonth import java.time.format.DateTimeFormatter import java....
package timesheet import kotlinx.datetime.* import kotlinx.serialization.Serializable import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json import org.junit.Test import java.io.File import java.time.DayOfWeek import java.time.YearMonth import java.time.format.DateTimeFormatter import java....
mit
Kotlin
bb17d9a304d07e5c572a0dcdabb9369b923ae90b
return if in edit mode
emoji-gen/Emoji-Android
app/src/main/java/moe/pine/emoji/view/generator/RegisterDialogView.kt
app/src/main/java/moe/pine/emoji/view/generator/RegisterDialogView.kt
package moe.pine.emoji.view.generator import android.content.Context import android.util.AttributeSet import android.widget.LinearLayout import com.squareup.otto.Subscribe import io.realm.Realm import io.realm.Sort import kotlinx.android.synthetic.main.dialog_register.view.* import moe.pine.emoji.adapter.generator.Gen...
package moe.pine.emoji.view.generator import android.content.Context import android.util.AttributeSet import android.widget.LinearLayout import com.squareup.otto.Subscribe import io.realm.Realm import io.realm.Sort import kotlinx.android.synthetic.main.dialog_register.view.* import moe.pine.emoji.adapter.generator.Gen...
mit
Kotlin
af045ea0329169e3499c424ec08967e237744fad
adjust splash screen duration 2 sec -> 1.5 sec
yshrsmz/monotweety
app/src/main/java/net/yslibrary/monotweety/splash/SplashController.kt
app/src/main/java/net/yslibrary/monotweety/splash/SplashController.kt
package net.yslibrary.monotweety.splash import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.bluelinelabs.conductor.Controller import com.bluelinelabs.conductor.RouterTransaction import com.bluelinelabs.conductor.changehandler.SimpleSwapChangeHandler import net.yslibrary...
package net.yslibrary.monotweety.splash import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import com.bluelinelabs.conductor.Controller import com.bluelinelabs.conductor.RouterTransaction import com.bluelinelabs.conductor.changehandler.SimpleSwapChangeHandler import net.yslibrary...
apache-2.0
Kotlin
464ee8c3bbd2bf96833c20493cac52f55c43936d
set unexpected exception as a cause of assertion error
JetBrains/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-nat...
runtime/src/main/kotlin/kotlin/test/Assertions.kt
runtime/src/main/kotlin/kotlin/test/Assertions.kt
/* * Copyright 2010-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. */ /** * A number of common helper methods for writing unit tests. */ @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") package kotlin.test import kotlin.refle...
/* * Copyright 2010-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. */ /** * A number of common helper methods for writing unit tests. */ @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE") package kotlin.test import kotlin.refle...
apache-2.0
Kotlin
af985162557479ce042e06947ff5616a5418d7ba
Fix linter error
kvakil/venus,kvakil/venus,kvakil/venus
src/test/kotlin/assembler/AssemblerTest.kt
src/test/kotlin/assembler/AssemblerTest.kt
package venus.assembler import org.junit.Test import kotlin.test.assertEquals import kotlin.test.assertTrue import venus.simulator.Simulator class AssemblerTest { @Test fun assembleLexerTest() { val prog = Assembler.assemble(""" addi x1 x0 5 addi x2 x1 5 add x3 x1 x2 an...
package venus.assembler import org.junit.Test import kotlin.test.assertEquals import kotlin.test.assertTrue import venus.simulator.Simulator import venus.riscv.Program class AssemblerTest { @Test fun assembleLexerTest() { val prog = Assembler.assemble(""" addi x1 x0 5 addi x2 x1 5 ...
mit
Kotlin
5f9789cd4df78ef124fa82386f4fb7d3d64dea4d
Build manual when running 'check'
EvidentSolutions/apina,EvidentSolutions/apina,EvidentSolutions/apina
manual/build.gradle.kts
manual/build.gradle.kts
plugins { id("org.asciidoctor.jvm.convert") id("org.ajoberstar.github-pages") } tasks.asciidoctor { sourceDirProperty.set(file("src/asciidoc")) baseDirFollowsSourceDir() attributes = mapOf("revnumber" to project.version.toString()) } tasks.prepareGhPages { dependsOn(tasks.asciidoctor) } tasks...
plugins { id("org.asciidoctor.jvm.convert") id("org.ajoberstar.github-pages") } tasks.asciidoctor { sourceDirProperty.set(file("src/asciidoc")) baseDirFollowsSourceDir() attributes = mapOf("revnumber" to project.version.toString()) } tasks.prepareGhPages { dependsOn(tasks.asciidoctor) } githu...
mit
Kotlin
cead60cc8e643a151c3b61906fecb0a35f724970
Refactor acornui-texture-packer to use 'basic' plugin
AcornUI/Acorn,AcornUI/Acorn,AcornUI/Acorn
tools/acornui-texture-packer/build.gradle.kts
tools/acornui-texture-packer/build.gradle.kts
/* * Copyright 2019 PolyForest * * 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 i...
/* * Copyright 2019 PolyForest * * 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 i...
apache-2.0
Kotlin
f3ab132e1710c1493054f7d6ca0487276b09a053
Create DeleteBot.kt
awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a...
.kotlin_alpha/services/lex/src/main/kotlin/com/kotlin/lex/DeleteBot.kt
.kotlin_alpha/services/lex/src/main/kotlin/com/kotlin/lex/DeleteBot.kt
//snippet-sourcedescription:[DeleteBot.kt demonstrates how to delete an Amazon Lex conversational bot.] //snippet-keyword:[AWS SDK for Kotlin] //snippet-keyword:[Code Sample] //snippet-service:[Amazon Lex] //snippet-sourcetype:[full-example] //snippet-sourcedate:[06/25/2021] //snippet-sourceauthor:[scmacdon - aws] /* ...
apache-2.0
Kotlin
bb12f61dc8b16a7b86e678f6de6db348dae3ff07
Update junit5 monorepo to v5.9.0 (#47)
SpongePowered/SpongeGradle,SpongePowered/SpongeGradle
plugin-development/build.gradle.kts
plugin-development/build.gradle.kts
dependencies { implementation("org.spongepowered:plugin-meta:0.8.0") // implementation("org.spongepowered:vanillagradle:0.2-SNAPSHOT") // implementation("gradle.plugin.org.jetbrains.gradle.plugin.idea-ext:gradle-idea-ext:0.10") } val functionalTest by sourceSets.creating configurations.named(functionalTes...
dependencies { implementation("org.spongepowered:plugin-meta:0.8.0") // implementation("org.spongepowered:vanillagradle:0.2-SNAPSHOT") // implementation("gradle.plugin.org.jetbrains.gradle.plugin.idea-ext:gradle-idea-ext:0.10") } val functionalTest by sourceSets.creating configurations.named(functionalTes...
mit
Kotlin
0bf0526df3d7106cd71566ed16dd47e79043171e
Fix whitespace formatting
vyo/twig
src/main/kotlin/io/github/vyo/twig/Logger.kt
src/main/kotlin/io/github/vyo/twig/Logger.kt
package io.github.vyo.twig import nl.komponents.kovenant.async import kotlin.concurrent.currentThread /** * Created by Manuel Weidmann on 24.11.2015. */ class Logger(val caller: Any) { var threshold: Level init { threshold = root.threshold } companion object root { var threshold: ...
package io.github.vyo.twig import nl.komponents.kovenant.async import kotlin.concurrent.currentThread /** * Created by Manuel Weidmann on 24.11.2015. */ class Logger(val caller: Any) { var threshold: Level init { threshold = root.threshold } companion object root { var threshold: ...
isc
Kotlin
16c367c0c017f468079718fa87e5d2680a0d38f5
Fix missing newline
kvakil/venus,kvakil/venus,kvakil/venus
src/main/kotlin/venus/assembler/pseudos/JR.kt
src/main/kotlin/venus/assembler/pseudos/JR.kt
package venus.assembler.pseudos import venus.assembler.AssemblerPassOne import venus.assembler.LineTokens import venus.assembler.PseudoWriter /** Writes pseudoinstruction `jr register` */ object JR : PseudoWriter() { override operator fun invoke(args: LineTokens, state: AssemblerPassOne): List<LineTokens> { ...
package venus.assembler.pseudos import venus.assembler.AssemblerPassOne import venus.assembler.LineTokens import venus.assembler.PseudoWriter /** Writes pseudoinstruction `jr register` */ object JR : PseudoWriter() { override operator fun invoke(args: LineTokens, state: AssemblerPassOne): List<LineTokens> { ...
mit
Kotlin
dcea241817c400c57cc71198cfe140882a725094
Remove extra empty line
SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base
tools/mc-java-checks/build.gradle.kts
tools/mc-java-checks/build.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
a3a0c000059c896ffa07aa3af2177a4770f74f73
Add ByteBufferChannel
emanuelpalm/palm-compute,emanuelpalm/palm-compute,emanuelpalm/palm-compute,emanuelpalm/palm-compute
core/src/main/java/se/ltu/emapal/compute/util/nio/ByteBufferChannel.kt
core/src/main/java/se/ltu/emapal/compute/util/nio/ByteBufferChannel.kt
package se.ltu.emapal.compute.util.nio import java.nio.ByteBuffer import java.nio.channels.ByteChannel import java.nio.channels.ClosedChannelException import java.util.concurrent.atomic.AtomicBoolean /** * A [ByteChannel] backed by a [ByteBuffer]. */ class ByteBufferChannel(val buffer: ByteBuffer) : ByteChannel { ...
mit
Kotlin
826880d0b4da97d8f8258b91f8e8fe9ba95cf665
Update to Android-Components 105.0.20220801222259.
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 = "105.0.20220801222259" }
/* 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 = "105.0.20220801143302" }
mpl-2.0
Kotlin
e167bb5e7a6e151f7534148b9483425e9c58e1d1
Update to Android-Components 99.0.20220226190102.
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.20220226190102" }
/* 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.20220226143354" }
mpl-2.0
Kotlin
4e88e9ecebd5080433cdfddb5647689a7ed4d433
Update to Android-Components 102.0.20220521143130.
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 = "102.0.20220521143130" }
/* 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 = "102.0.20220520190302" }
mpl-2.0
Kotlin
8060e22e14ab5fc6d20d67a68aee2866856056c9
Update to Android-Components 96.0.20211201143350.
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.20211201143350" }
/* 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.20211130190241" }
mpl-2.0
Kotlin
0c7d855e57d6e12ec740c3a53b066386f531d368
Prepare next development version.
LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties
buildSrc/src/main/kotlin/ProjectVersions.kt
buildSrc/src/main/kotlin/ProjectVersions.kt
/* * Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. */ object ProjectVersions { const val androidBuildTools = "28.0.3" const val androidSdk = 28 const val thisLibrary = "3.0.0-dev-010-dev-001" } val isDevVersion = ProjectVersions.thisLibrary.co...
/* * Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. */ object ProjectVersions { const val androidBuildTools = "28.0.3" const val androidSdk = 28 const val thisLibrary = "3.0.0-alpha06" } val isDevVersion = ProjectVersions.thisLibrary.contains("...
apache-2.0
Kotlin
77428678410024c5bc49e7b0c58f9406e0346965
refactor #559 Implement RuntimePermissions' test cases.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
lib/src/test/java/jp/toastkid/lib/permission/RuntimePermissionsTest.kt
lib/src/test/java/jp/toastkid/lib/permission/RuntimePermissionsTest.kt
package jp.toastkid.lib.permission import io.mockk.MockKAnnotations import io.mockk.every import io.mockk.impl.annotations.MockK import io.mockk.mockk import io.mockk.mockkObject import io.mockk.verify import org.junit.Before import org.junit.Test /** * @author toastkidjp */ class RuntimePermissionsTest { @Moc...
epl-1.0
Kotlin
4fdb05fd7a02b70329600d564a72f4d63045c563
Update to Android-Components 101.0.20220409143109.
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 = "101.0.20220409143109" }
/* 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 = "101.0.20220408143342" }
mpl-2.0
Kotlin
2320720f67e9607d401c72d87ef66a669d11756e
Update to Android-Components 102.0.20220519143042.
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 = "102.0.20220519143042" }
/* 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 = "102.0.20220518143120" }
mpl-2.0
Kotlin
8faa900b803706455b8588ae1394efd5a8f52fd0
Update to Android-Components 97.0.20220101143102.
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.20220101143102" }
/* 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.20211231190310" }
mpl-2.0
Kotlin
4aaa6746240bed9a58adb253d70f95cba1cebe4b
Update to Android-Components 108.0.20221111143147.
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.20221111143147" }
/* 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.20221110143111" }
mpl-2.0
Kotlin
63790ae2859473a4cb117114b3c729f394a0490e
Create BaseCommand
Homes-MinecraftServerMod/Homes,Homes-MinecraftServerMod/Homes
src/main/kotlin/com/masahirosaito/spigot/homes/commands/BaseCommand.kt
src/main/kotlin/com/masahirosaito/spigot/homes/commands/BaseCommand.kt
package com.masahirosaito.spigot.homes.commands import com.masahirosaito.spigot.homes.Homes import com.masahirosaito.spigot.homes.exceptions.InValidCommandSenderException import org.bukkit.command.CommandSender import org.bukkit.command.ConsoleCommandSender import org.bukkit.entity.Player interface BaseCommand { ...
apache-2.0
Kotlin
ee21cbbf4fff89c5a8d6de1227ecbc9c0c9b2cb2
Remove unused feedModule dependency injection in MainApplication
MoonCheesez/sstannouncer
sstannouncer/app/src/main/java/sst/com/anouncements/MainApplication.kt
sstannouncer/app/src/main/java/sst/com/anouncements/MainApplication.kt
package sst.com.anouncements import android.app.Application import org.koin.android.ext.koin.androidContext import org.koin.android.ext.koin.androidFileProperties import org.koin.android.ext.koin.androidLogger import org.koin.core.context.startKoin class MainApplication : Application() { override fun onCreate() {...
package sst.com.anouncements import android.app.Application import org.koin.android.ext.koin.androidContext import org.koin.android.ext.koin.androidFileProperties import org.koin.android.ext.koin.androidLogger import org.koin.core.context.startKoin import sst.com.anouncements.feed.feedModule class MainApplication : A...
mit
Kotlin
170bc7a747f74cf6af588f5908ed095632329971
Update to Android-Components 105.0.20220729143111.
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 = "105.0.20220729143111" }
/* 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 = "105.0.20220728143105" }
mpl-2.0
Kotlin
2bcd304a675722054b3b20747fe673f02e79c0d9
Normalize units for duration math
mbStavola/Duration
src/main/kotlin/xyz/stavola/duration/Duration.kt
src/main/kotlin/xyz/stavola/duration/Duration.kt
package xyz.stavola.duration import java.util.concurrent.TimeUnit data class Duration( val value: Long, val unit: TimeUnit ) : Comparable<Duration> { operator fun inc() = copy(value = value + 1) operator fun dec() = copy(value = value - 1) operator fun plus(value: Int) = copy(value = thi...
package xyz.stavola.duration import java.util.concurrent.TimeUnit data class Duration( val value: Long, val unit: TimeUnit ) : Comparable<Duration> { operator fun inc() = copy(value = value + 1) operator fun dec() = copy(value = value - 1) operator fun plus(value: Int) = copy(value = thi...
apache-2.0
Kotlin
4b9265662af38e1820d600bb842907edd1e03ffe
make GroovyResolver @Internal
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/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/resolve/GroovyResolver.kt
plugins/groovy/groovy-psi/src/org/jetbrains/plugins/groovy/lang/resolve/GroovyResolver.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.groovy.lang.resolve import com.intellij.psi.impl.source.resolve.ResolveCache.AbstractResolver import org.jetbrains.annotations.ApiStatus import org....
// 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 org.jetbrains.plugins.groovy.lang.resolve import com.intellij.psi.impl.source.resolve.ResolveCache.AbstractResolver import org.jetbrains.annotations.ApiStatus.Experimenta...
apache-2.0
Kotlin
bdeae0ce912aecb0968093bb167986d01f3456ac
refactor #605 Implement CardFragmentAttachingUseCase' unit test.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/planning_poker/CardFragmentAttachingUseCaseTest.kt
app/src/test/java/jp/toastkid/yobidashi/planning_poker/CardFragmentAttachingUseCaseTest.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
d8aabe99a8accc1d3b9436ba994432894f9656bb
Fix package imports
elifarley/kotlin-examples,elifarley/kotlin-misc-lib,elifarley/kotlin-misc-lib,elifarley/kotlin-examples
src/com/github/elifarley/kotlin/io/BeanIOKit.kt
src/com/github/elifarley/kotlin/io/BeanIOKit.kt
package com.orgecc.util.textfile import com.orgecc.util.io.IOWithDigest import com.orgecc.util.io.digestInputStream import com.orgecc.util.io.digestOutputStream import org.beanio.BeanReader import org.beanio.BeanWriter import org.beanio.StreamFactory import java.io.Reader import java.io.Writer import java.nio.file.Pat...
package com.orgecc.util.io import org.beanio.BeanReader import org.beanio.BeanWriter import org.beanio.StreamFactory import java.io.Reader import java.io.Writer import java.nio.file.Path import java.security.MessageDigest /** * Created by elifarley on 24/08/16. */ fun useNewBeanIOReaderPreKotlin1dot1(streamName: S...
mit
Kotlin
c434d9c75858e796ddaed48d6fa80bdf6049efc7
Make view route params optional
FireZenk/Kartographer
library/src/main/java/org/firezenk/kartographer/library/dsl/RouteDsl.kt
library/src/main/java/org/firezenk/kartographer/library/dsl/RouteDsl.kt
package org.firezenk.kartographer.library.dsl import org.firezenk.kartographer.annotations.RouteAnimation import org.firezenk.kartographer.library.core.Core.Companion.ROOT_NODE import org.firezenk.kartographer.library.types.ContextRoute import org.firezenk.kartographer.library.types.ExternalRoute import org.firezenk.k...
package org.firezenk.kartographer.library.dsl import org.firezenk.kartographer.annotations.RouteAnimation import org.firezenk.kartographer.library.core.Core.Companion.ROOT_NODE import org.firezenk.kartographer.library.types.ContextRoute import org.firezenk.kartographer.library.types.ExternalRoute import org.firezenk.k...
mit
Kotlin
82b02fa0f86aac1dea7b91971af341f7a5111bbf
Refactor acornui-spine to use 'basic' plugin
AcornUI/Acorn,AcornUI/Acorn,AcornUI/Acorn
acornui-spine/build.gradle.kts
acornui-spine/build.gradle.kts
/* * Copyright 2019 PolyForest * * 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 i...
/* * Copyright 2019 PolyForest * * 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 i...
apache-2.0
Kotlin
8065183c37550e86660f0fe0f9ac9c329699f9d2
Upgrade to releases-hub-gradle-plugin v2.0.2
maxirosson/jdroid-gradle-plugin,maxirosson/jdroid-gradle-plugin,maxirosson/jdroid-gradle-plugin
buildSrc/src/main/kotlin/Libs.kt
buildSrc/src/main/kotlin/Libs.kt
object Libs { // https://github.com/maxirosson/jdroid-java-github/releases const val JDROID_JAVA_GITHUB = "com.jdroidtools:jdroid-java-github:1.1.0" // https://github.com/maxirosson/jdroid-java/blob/master/CHANGELOG.md const val JDROID_JAVA_CORE = "com.jdroidtools:jdroid-java-core:3.1.0" // https...
object Libs { // https://github.com/maxirosson/jdroid-java-github/releases const val JDROID_JAVA_GITHUB = "com.jdroidtools:jdroid-java-github:1.1.0" // https://github.com/maxirosson/jdroid-java/blob/master/CHANGELOG.md const val JDROID_JAVA_CORE = "com.jdroidtools:jdroid-java-core:3.1.0" // https...
apache-2.0
Kotlin
0661da9c1c0df62b9f19544dc245caaadaf56ca2
add `CREATE TABLE` statements to SampleSqliteOpenHelper
jayrave/falkon
sample-android/src/main/kotlin/com/jayrave/falkon/sample_android/SampleSqliteOpenHelper.kt
sample-android/src/main/kotlin/com/jayrave/falkon/sample_android/SampleSqliteOpenHelper.kt
package com.jayrave.falkon.sample_android import android.content.Context import android.database.sqlite.SQLiteDatabase import android.database.sqlite.SQLiteOpenHelper import com.jayrave.falkon.sample_android.tables.MessagesTable import com.jayrave.falkon.sample_android.tables.UsersTable /** * A great way to manage t...
package com.jayrave.falkon.sample_android import android.content.Context import android.database.sqlite.SQLiteDatabase import android.database.sqlite.SQLiteOpenHelper /** * TODO - how to break the vicious circular dependency between this, AndroidSqliteEngine & Tables? */ class SampleSqliteOpenHelper(context: Contex...
apache-2.0
Kotlin
d43181b87951bcfff3851b2f321d4a4e75bb3bf0
Add page support.
jean79/yested_fw,jean79/yested_fw
src/main/kotlin/net/yested/ext/bootstrap3/layout.kt
src/main/kotlin/net/yested/ext/bootstrap3/layout.kt
package net.yested.ext.bootstrap3 import net.yested.core.html.div import net.yested.core.html.hr import net.yested.core.utils.with import org.w3c.dom.HTMLDivElement import org.w3c.dom.HTMLElement import kotlin.browser.document enum class ContainerWidth(val code: String) { Fixed("container"), Fluid("container-...
package net.yested.ext.bootstrap3 import net.yested.core.html.div import net.yested.core.html.hr import net.yested.core.utils.with import org.w3c.dom.HTMLDivElement import org.w3c.dom.HTMLElement import kotlin.browser.document enum class ContainerWidth(val code: String) { Fixed("container"), Fluid("container-...
mit
Kotlin
b7ab5d4ea0a6ff72b942019f32ca72d4ff58a599
Comment some print
mencattini/eMuLATe,mencattini/eMuLATe,mencattini/eMuLATe,mencattini/eMuLATe
arl/src/main/kotlin/Main.kt
arl/src/main/kotlin/Main.kt
import machine.learning.ARL import java.io.File import java.util.* import koma.* fun main(args : Array<String>) { // we open the .dat file located in data val myFile = File("data/EURUSD.dat").inputStream() val array2: ArrayList<Double> = arrayListOf() myFile.bufferedReader().useLines { lines -> ...
import machine.learning.ARL import java.io.File import java.util.* import koma.* fun main(args : Array<String>) { // we open the .dat file located in data val myFile = File("data/EURUSD.dat").inputStream() val array2: ArrayList<Double> = arrayListOf() myFile.bufferedReader().useLines { lines -> ...
mit
Kotlin
5f2aaeac575548a1984bb256c0150b7fcb0e2f2d
Remove reflection to get TextView color field (closes #2469)
inorichi/tachiyomi,CarlosEsco/tachiyomi,inorichi/mangafeed,inorichi/tachiyomi,inorichi/mangafeed
app/src/main/java/eu/kanade/tachiyomi/ui/reader/PageIndicatorTextView.kt
app/src/main/java/eu/kanade/tachiyomi/ui/reader/PageIndicatorTextView.kt
package eu.kanade.tachiyomi.ui.reader import android.annotation.SuppressLint import android.content.Context import android.graphics.Canvas import android.graphics.Color import android.graphics.Paint import androidx.appcompat.widget.AppCompatTextView import android.text.Spannable import android.text.SpannableString imp...
package eu.kanade.tachiyomi.ui.reader import android.annotation.SuppressLint import android.content.Context import android.graphics.Canvas import android.graphics.Color import android.graphics.Paint import androidx.appcompat.widget.AppCompatTextView import android.text.Spannable import android.text.SpannableString imp...
apache-2.0
Kotlin
296521cb8b64614c60b29ac64786c501a544a460
refactor #523 Divide to other class.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/browser/block/SiteNameChecker.kt
app/src/main/java/jp/toastkid/yobidashi/browser/block/SiteNameChecker.kt
/* * Copyright (c) 2022 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
d9016fe79fc8a657f29b9e106b433faafe779f14
Change typealias visibility to internal.
JLLeitschuh/ktlint-gradle,JLLeitschuh/ktlint-gradle
plugin/src/main/kotlin/org/jlleitschuh/gradle/ktlint/KtlintBasePlugin.kt
plugin/src/main/kotlin/org/jlleitschuh/gradle/ktlint/KtlintBasePlugin.kt
package org.jlleitschuh.gradle.ktlint import org.gradle.api.Action import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.tasks.util.PatternFilterable import org.gradle.util.GradleVersion internal typealias FilterApplier = (Action<PatternFilterable>) -> Unit /** * The base Ktlint plugin th...
package org.jlleitschuh.gradle.ktlint import org.gradle.api.Action import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.tasks.util.PatternFilterable import org.gradle.util.GradleVersion typealias FilterApplier = (Action<PatternFilterable>) -> Unit /** * The base Ktlint plugin that all ot...
mit
Kotlin
81c4b08c16fdc9326ad565dc475d47581d49ed36
Update build.gradle.kts
awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a...
kotlin/services/cloudwatch/build.gradle.kts
kotlin/services/cloudwatch/build.gradle.kts
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.5.31" application } group = "me.scmacdon" version = "1.0-SNAPSHOT" repositories { mavenCentral() mavenLocal() } dependencies { implementation("aws.sdk.kotlin:cloudwatch:0.9.4-beta") implementation("aws....
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.5.31" application } group = "me.scmacdon" version = "1.0-SNAPSHOT" repositories { mavenCentral() mavenLocal() } dependencies { implementation("aws.sdk.kotlin:cloudwatch:0.9.0-alpha") implementation("aws...
apache-2.0
Kotlin
6f2ed06ee628b962858c24aeed7f3176dd664b1d
fix example
jonnyzzz/kotlin.xml.bind
jdom.examples/src/main/kotlin/XBind.Example.kt
jdom.examples/src/main/kotlin/XBind.Example.kt
import org.jonnyzzz.kotlin.xml.bind.* import org.jonnyzzz.kotlin.xml.bind.jdom.JDOM import org.jonnyzzz.kotlin.xml.bind.jdom.JXML import org.jonnyzzz.kotlin.xml.bind.jdom.XUnknown class Example { var content by JXML / "aaa" / "ggg" / XText var attribute by JXML.saveOrder(5) / "aaa" / XAttribute("yohoho") var s...
import org.jonnyzzz.kotlin.xml.bind.* import org.jonnyzzz.kotlin.xml.bind.jdom.JDOM import org.jonnyzzz.kotlin.xml.bind.jdom.XUnknown class Example { var content by JDOM / "aaa" / "ggg" / XText var attribute by JDOM.saveOrder(5) / "aaa" / XAttribute("yohoho") var sub by JDOM / "sub" / XSub(Sub::class.java) v...
apache-2.0
Kotlin
436342980610f009077bd5d01221f88b75e767c6
Introduce runtime dependency from Jupiter API to its Engine
junit-team/junit-lambda,sbrannen/junit-lambda
junit-jupiter-api/junit-jupiter-api.gradle.kts
junit-jupiter-api/junit-jupiter-api.gradle.kts
description = "JUnit Jupiter API" dependencies { api("org.opentest4j:opentest4j:${Versions.ota4j}") api(project(":junit-platform-commons")) compileOnly("org.jetbrains.kotlin:kotlin-stdlib") runtimeOnly(project(":junit-jupiter-engine")) } tasks.jar { manifest { attributes( "Automatic-Module-Name" to "org.jun...
description = "JUnit Jupiter API" dependencies { api("org.opentest4j:opentest4j:${Versions.ota4j}") api(project(":junit-platform-commons")) compileOnly("org.jetbrains.kotlin:kotlin-stdlib") } tasks.jar { manifest { attributes( "Automatic-Module-Name" to "org.junit.jupiter.api" ) } }
epl-1.0
Kotlin
13ba370ff8ac30edaf53cb3442e03f70dbc51f91
Use isActivityOrFragment
shiraji/permissions-dispatcher-plugin,shiraji/permissions-dispatcher-plugin,shiraji/permissions-dispatcher-plugin
src/main/kotlin/com/github/shiraji/permissionsdispatcherplugin/actions/GeneratePMCodeAction.kt
src/main/kotlin/com/github/shiraji/permissionsdispatcherplugin/actions/GeneratePMCodeAction.kt
package com.github.shiraji.permissionsdispatcherplugin.actions import com.github.shiraji.permissionsdispatcherplugin.models.GeneratePMCodeModel import com.intellij.codeInsight.CodeInsightActionHandler import com.intellij.codeInsight.actions.CodeInsightAction import com.intellij.openapi.actionSystem.AnActionEvent impor...
package com.github.shiraji.permissionsdispatcherplugin.actions import com.github.shiraji.permissionsdispatcherplugin.models.GeneratePMCodeModel import com.intellij.codeInsight.CodeInsightActionHandler import com.intellij.codeInsight.actions.CodeInsightAction import com.intellij.openapi.actionSystem.AnActionEvent impor...
apache-2.0
Kotlin
8079ef89b47ac09b611a6bd34130df79f4372ad0
Reset folder server IDs in Account
k9mail/k-9,cketti/k-9,k9mail/k-9,cketti/k-9,k9mail/k-9,cketti/k-9,cketti/k-9
app/storage/src/main/java/com/fsck/k9/storage/migrations/MigrationTo75.kt
app/storage/src/main/java/com/fsck/k9/storage/migrations/MigrationTo75.kt
package com.fsck.k9.storage.migrations import android.database.sqlite.SQLiteDatabase import com.fsck.k9.mailstore.MigrationsHelper internal class MigrationTo75(private val db: SQLiteDatabase, private val migrationsHelper: MigrationsHelper) { fun updateAccountWithSpecialFolderIds() { val account = migratio...
package com.fsck.k9.storage.migrations import android.database.sqlite.SQLiteDatabase import com.fsck.k9.mailstore.MigrationsHelper internal class MigrationTo75(private val db: SQLiteDatabase, private val migrationsHelper: MigrationsHelper) { fun updateAccountWithSpecialFolderIds() { val account = migratio...
apache-2.0
Kotlin
fbf627c5e0e204274bf97b5a4367f6a0d8ea721b
Update version for v1.0 release
rodm/teamcity-gradle-init-scripts-plugin,rodm/teamcity-gradle-init-scripts-plugin,rodm/teamcity-gradle-init-scripts-plugin
build.gradle.kts
build.gradle.kts
import com.github.rodm.teamcity.TeamCityPluginExtension import com.jfrog.bintray.gradle.BintrayExtension import com.jfrog.bintray.gradle.RecordingCopyTask import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.2.0" apply false id ("com.github.rodm.teamcity-server") version "...
import com.github.rodm.teamcity.TeamCityPluginExtension import com.jfrog.bintray.gradle.BintrayExtension import com.jfrog.bintray.gradle.RecordingCopyTask import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.2.0" apply false id ("com.github.rodm.teamcity-server") version "...
apache-2.0
Kotlin
6a6c7dac7a7ca03b508bd82a3643a1ad85d2e426
Upgrade logback and javax.mail
joffrey-bion/rol-automizer,joffrey-bion/rol-automizer
build.gradle.kts
build.gradle.kts
plugins { application kotlin("jvm") version "1.5.10" } description = "An action sequencer to do the boring tasks on the game http://www.riseoflords.com." application { mainClass.set("org.hildan.bots.riseoflords.RolAutomizerKt") } repositories { mavenCentral() } tasks.withType<org.jetbrains.kotlin.gr...
plugins { application kotlin("jvm") version "1.5.10" } description = "An action sequencer to do the boring tasks on the game http://www.riseoflords.com." application { mainClass.set("org.hildan.bots.riseoflords.RolAutomizerKt") } repositories { mavenCentral() } tasks.withType<org.jetbrains.kotlin.gr...
mit
Kotlin
7cecfc0266a5ca6465adb4dedc3e8612d51d9a55
Bump io.freefair.maven-central.validate-poms from 6.2.0 to 6.3.0
docker-client/docker-engine,docker-client/docker-engine,docker-client/docker-engine
build.gradle.kts
build.gradle.kts
import java.text.SimpleDateFormat import java.util.* rootProject.extra.set("artifactVersion", SimpleDateFormat("yyyy-MM-dd\'T\'HH-mm-ss").format(Date())) plugins { id("maven-publish") id("com.github.ben-manes.versions") version "0.39.0" id("net.ossindex.audit") version "0.4.11" id("io.freefair.maven-central.v...
import java.text.SimpleDateFormat import java.util.* rootProject.extra.set("artifactVersion", SimpleDateFormat("yyyy-MM-dd\'T\'HH-mm-ss").format(Date())) plugins { id("maven-publish") id("com.github.ben-manes.versions") version "0.39.0" id("net.ossindex.audit") version "0.4.11" id("io.freefair.maven-central.v...
mit
Kotlin
4cf043c0114bc34cb0d7ca8c02763c1257ecc3ba
Add Maven central to build repo list after JCenter.
adarro/ddo-calc,adarro/ddo-calc,adarro/ddo-calc,adarro/ddo-calc
build.gradle.kts
build.gradle.kts
// import org.gradle.api.internal.java.JavaLibrary // import org.gradle.kotlin.dsl.* import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask buildscript { repositories { jcenter() } } plugins { // scala apply(false) // `java-library` // application // id("scala") appl...
apache-2.0
Kotlin
157d5956e28b2f6cef7f876c31dc6ce40e2e0137
Fix builds without NDK path env set
pandiaraj44/react-native,javache/react-native,janicduplessis/react-native,facebook/react-native,javache/react-native,javache/react-native,javache/react-native,pandiaraj44/react-native,janicduplessis/react-native,janicduplessis/react-native,pandiaraj44/react-native,facebook/react-native,janicduplessis/react-native,faceb...
build.gradle.kts
build.gradle.kts
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ buildscript { repositories { mavenLocal() google() mavenCentral() } dependencies { val ...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ buildscript { repositories { mavenLocal() google() mavenCentral() } dependencies { val ...
mit
Kotlin
287670092e181672579c885cdef35043e3957c79
Bump io.freefair.maven-central.validate-poms from 6.5.0.3 to 6.5.1
docker-client/docker-engine,docker-client/docker-engine,docker-client/docker-engine
build.gradle.kts
build.gradle.kts
import java.text.SimpleDateFormat import java.util.* rootProject.extra.set("artifactVersion", SimpleDateFormat("yyyy-MM-dd\'T\'HH-mm-ss").format(Date())) plugins { id("maven-publish") id("com.github.ben-manes.versions") version "0.42.0" id("net.ossindex.audit") version "0.4.11" id("io.freefair.maven-central.v...
import java.text.SimpleDateFormat import java.util.* rootProject.extra.set("artifactVersion", SimpleDateFormat("yyyy-MM-dd\'T\'HH-mm-ss").format(Date())) plugins { id("maven-publish") id("com.github.ben-manes.versions") version "0.42.0" id("net.ossindex.audit") version "0.4.11" id("io.freefair.maven-central.v...
mit
Kotlin
4848e0d11855a5e56e4987f7b4ac5e2fe5e37798
rename fun compare in fun enoughCapacity
SteffenKonrad/Term_Project_Simulation
src/main/kotlin/traffic_simulation/Network.kt
src/main/kotlin/traffic_simulation/Network.kt
package traffic_simulation class Network(var capacity: Int) { // function to tally the cars on the road fun neededCapacity(cars: List<Car>): Int { var requiredcapacity: Int = 0 for (car in cars) { if (car.driving) requiredcapacity = requiredcapacity + 1 } ...
package traffic_simulation class Network(var capacity: Int) { // function to tally the cars on the road fun neededCapacity(cars: List<Car>): Int { var requiredcapacity: Int = 0 for (car in cars) { if (car.driving) requiredcapacity = requiredcapacity + 1 } ...
apache-2.0
Kotlin
220176cb8d69e7fdb1a8a4b955ba674ec2d1799a
Update build.gradle.kts
Cognifide/gradle-aem-example,Cognifide/gradle-aem-example,Cognifide/gradle-aem-example,Cognifide/gradle-aem-example,Cognifide/gradle-aem-example
buildSrc/build.gradle.kts
buildSrc/build.gradle.kts
plugins { `kotlin-dsl` } kotlinDslPluginOptions { experimentalWarning.set(false) } repositories { mavenLocal() jcenter() maven { url = uri("https://plugins.gradle.org/m2") } maven { url = uri("http://dl.bintray.com/cognifide/maven-public") } maven { url = uri("https://dl.bintray.com/neva-d...
plugins { `kotlin-dsl` } kotlinDslPluginOptions { experimentalWarning.set(false) } repositories { mavenLocal() jcenter() maven { url = uri("https://plugins.gradle.org/m2") } maven { url = uri("http://dl.bintray.com/cognifide/maven-public") } maven { url = uri("https://dl.bintray.com/neva-d...
apache-2.0
Kotlin
38b9393db7b391eee7b0398a4d5dc38575041c07
Change name of vstest/msbuild versions
JetBrains/teamcity-dnx-plugin
plugin-dotnet-common/src/main/kotlin/jetbrains/buildServer/dotnet/Tool.kt
plugin-dotnet-common/src/main/kotlin/jetbrains/buildServer/dotnet/Tool.kt
package jetbrains.buildServer.dotnet enum class Tool(val version: Int, val type: ToolType, val platform: ToolPlatform, val bitness: ToolBitness, val description: String) { // MSBuild MSBuild15CrossPlatform(15, ToolType.MSBuild, ToolPlatform.Any, ToolBitness.Any, "Cross-platform"), MSBuild15Windows(15, Tool...
package jetbrains.buildServer.dotnet enum class Tool(val version: Int, val type: ToolType, val platform: ToolPlatform, val bitness: ToolBitness, val description: String) { // MSBuild MSBuild15CrossPlatform(15, ToolType.MSBuild, ToolPlatform.Any, ToolBitness.Any, "Cross-platform MSBuild"), MSBuild15Windows(...
apache-2.0
Kotlin
62cbb25b85d915ac3f4e389208ed197c9666f340
Add HomePresenterTest
Doctoror/FuckOffMusicPlayer,Doctoror/PainlessMusicPlayer,Doctoror/PainlessMusicPlayer,Doctoror/PainlessMusicPlayer,Doctoror/FuckOffMusicPlayer
presentation/src/test/java/com/doctoror/fuckoffmusicplayer/presentation/home/HomePresenterTest.kt
presentation/src/test/java/com/doctoror/fuckoffmusicplayer/presentation/home/HomePresenterTest.kt
/* * Copyright (C) 2018 Yaroslav Mytkalyk * * 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...
apache-2.0
Kotlin
bf85f69c1d8c3005a7e6c7a4aab9f3b05c852e90
Update build.gradle.kts
awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a...
kotlin/services/autoscale/build.gradle.kts
kotlin/services/autoscale/build.gradle.kts
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.5.31" } group = "me.scmacdon" version = "1.0-SNAPSHOT" buildscript { repositories { maven("https://plugins.gradle.org/m2/") } dependencies { classpath("org.jlleitschuh.gradle:ktlint-gradle:10.2.1"...
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.5.31" } group = "me.scmacdon" version = "1.0-SNAPSHOT" buildscript { repositories { maven("https://plugins.gradle.org/m2/") } dependencies { classpath("org.jlleitschuh.gradle:ktlint-gradle:10.2.1"...
apache-2.0
Kotlin
990ee864df0442ba831d1e47cbda92cb9dcc694c
handle if ApiException is cause.
UweTrottmann/SeriesGuide,UweTrottmann/SeriesGuide
app/src/main/java/com/battlelancer/seriesguide/backend/HexagonAuthError.kt
app/src/main/java/com/battlelancer/seriesguide/backend/HexagonAuthError.kt
package com.battlelancer.seriesguide.backend import com.google.android.gms.auth.api.signin.GoogleSignInStatusCodes import com.google.android.gms.common.api.ApiException /** * Error for tracking Google Sign-In failures. */ class HexagonAuthError(action: String, failure: String, cause: Throwable?) : Throwable("$a...
package com.battlelancer.seriesguide.backend import com.google.android.gms.auth.api.signin.GoogleSignInStatusCodes import com.google.android.gms.common.api.ApiException /** * Error for tracking Google Sign-In failures. */ class HexagonAuthError(action: String, failure: String, cause: Throwable?) : Throwable("$a...
apache-2.0
Kotlin
0fd23403e4a3a8d6020799396a6e257a4112a3de
Add try-catch back to unwrapRepeatedAnnotationsFromContainer
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...
room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/InternalXAnnotation.kt
room/room-compiler-processing/src/main/java/androidx/room/compiler/processing/InternalXAnnotation.kt
/* * Copyright 2021 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 2021 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
d21dcad862737369fa3597051b9192caf8ce3bf1
Update AbsListViewAdapterAssertions.kt
agoda-com/Kakao
kakao/src/main/kotlin/com/agoda/kakao/list/AbsListViewAdapterAssertions.kt
kakao/src/main/kotlin/com/agoda/kakao/list/AbsListViewAdapterAssertions.kt
@file:Suppress("unused") package com.agoda.kakao.list import androidx.test.espresso.assertion.ViewAssertions import com.agoda.kakao.common.assertions.AdapterAssertions import com.agoda.kakao.common.matchers.KAbsListViewAdapterSizeMatcher /** * Provides assertions for AbsListView adapter */ interface AbsListViewAda...
@file:Suppress("unused") package com.agoda.kakao.list import androidx.test.espresso.assertion.ViewAssertions import com.agoda.kakao.common.assertions.AdapterAssertions import com.agoda.kakao.common.matchers.KAbsListViewAdapterSizeMatcher /** * Provides assertions for AbsListView adapter */ interface AbsListViewAda...
apache-2.0
Kotlin
ed2b2f902af187d8ddd25c75ac4ad0ba1cad48ee
Fix missing usestate in usebinding
facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho
litho-core-kotlin/src/main/kotlin/com/facebook/litho/animated/KBindings.kt
litho-core-kotlin/src/main/kotlin/com/facebook/litho/animated/KBindings.kt
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
apache-2.0
Kotlin