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
9ec3674dccbc6cdb0790f74f56a178ca01d86a71
Update TestBase to be Kotlin/Native 1.4 compatible. (#5956)
PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs,PolymerLabs/arcs
javatests/arcs/sdk/wasm/TestBase.kt
javatests/arcs/sdk/wasm/TestBase.kt
/* * Copyright 2019 Google LLC. * * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * * Code distributed by Google as part of this project is also subject to an additional IP rights * grant found at * http://polymer.github.io/PATENTS.txt */ package arcs.s...
/* * Copyright 2019 Google LLC. * * This code may only be used under the BSD style license found at * http://polymer.github.io/LICENSE.txt * * Code distributed by Google as part of this project is also subject to an additional IP rights * grant found at * http://polymer.github.io/PATENTS.txt */ package arcs.s...
bsd-3-clause
Kotlin
0312240770c46ae48a5ffae88b99f8dcfc4e5936
Add getters
pyamsoft/pydroid
core/src/main/java/com/pyamsoft/pydroid/core/ResultWrapper.kt
core/src/main/java/com/pyamsoft/pydroid/core/ResultWrapper.kt
/* * Copyright 2021 Peter Kenji Yamanaka * * 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 2021 Peter Kenji Yamanaka * * 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
5800029802a06ffed5912fd506e8ce25e408a355
Fix warnings
MichaelRocks/paranoid,MichaelRocks/paranoid
processor/src/main/kotlin/io/michaelrocks/paranoid/processor/StringRegistry.kt
processor/src/main/kotlin/io/michaelrocks/paranoid/processor/StringRegistry.kt
/* * Copyright 2021 Michael Rozumyanskiy * * 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 2020 Michael Rozumyanskiy * * 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
0ae634a1437771690ce878f3253c2b20b4214ca8
Refactor SunHttp to allow reuse of handler
http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k
http4k-core/src/main/kotlin/org/http4k/server/SunHttp.kt
http4k-core/src/main/kotlin/org/http4k/server/SunHttp.kt
package org.http4k.server import com.sun.net.httpserver.HttpExchange import com.sun.net.httpserver.HttpHandler as SunHttpHandler import com.sun.net.httpserver.HttpServer import org.http4k.core.HttpHandler import org.http4k.core.Method import org.http4k.core.Request import org.http4k.core.RequestSource import org.http4...
package org.http4k.server import com.sun.net.httpserver.HttpExchange import com.sun.net.httpserver.HttpServer import org.http4k.core.HttpHandler import org.http4k.core.Method import org.http4k.core.Request import org.http4k.core.RequestSource import org.http4k.core.Response import org.http4k.core.Uri import org.http4k...
apache-2.0
Kotlin
cf51151eec43cddad829a25cc16f4e82e9ee6785
Fix check if mainframer script is available
elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin
src/main/kotlin/com/elpassion/intelijidea/MFRunnerConfiguration.kt
src/main/kotlin/com/elpassion/intelijidea/MFRunnerConfiguration.kt
package com.elpassion.intelijidea import com.elpassion.intelijidea.util.showBalloon import com.intellij.execution.Executor import com.intellij.execution.configurations.ConfigurationFactory import com.intellij.execution.configurations.LocatableConfigurationBase import com.intellij.execution.configurations.RunConfigurat...
package com.elpassion.intelijidea import com.elpassion.intelijidea.util.showBalloon import com.intellij.execution.Executor import com.intellij.execution.configurations.ConfigurationFactory import com.intellij.execution.configurations.LocatableConfigurationBase import com.intellij.execution.configurations.RunConfigurat...
apache-2.0
Kotlin
c6b51909292716db9bdf1dd2565bde877565b99a
Migrate Config.java to kotlin
google/ground-android,google/ground-android,google/ground-android
gnd/src/main/java/com/google/android/gnd/Config.kt
gnd/src/main/java/com/google/android/gnd/Config.kt
/* * Copyright 2019 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 2019 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
3d0f745eb371c4447c9efb400d3de64587f90a7f
Set default resendsSameMatrix parameter value to true
getsenic/nuimo-android
nuimo/src/main/kotlin/com/senic/nuimo/NuimoController.kt
nuimo/src/main/kotlin/com/senic/nuimo/NuimoController.kt
/* * Copyright (c) 2015 Senic. All rights reserved. * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ package com.senic.nuimo import java.util.* abstract class NuimoController(address: String) { val address: String = address var...
/* * Copyright (c) 2015 Senic. All rights reserved. * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ package com.senic.nuimo import java.util.* abstract class NuimoController(address: String) { val address: String = address var...
mit
Kotlin
afc83bc814eb90c66966a185b7922db82ab15435
remove UIBaseObject delegation
clappr/clappr-android,clappr/clappr-android
player/src/main/kotlin/com/globo/clappr/base/UIObject.kt
player/src/main/kotlin/com/globo/clappr/base/UIObject.kt
package com.globo.clappr.base import android.content.Context import android.view.View import android.view.ViewManager open class UIObject(): BaseObject() { var view : View? = null init { ensureView() } fun viewClass() : Class<*> = View::class.java open fun render() : UIObject { ...
package com.globo.clappr.base import android.content.Context import android.view.View import android.view.ViewGroup import android.view.ViewManager open class UIObject(private val base: BaseObject = BaseObject()): EventInterface by base { var view : View? = null init { ensureView() } fun vie...
bsd-3-clause
Kotlin
f901883c7b33b70bbc4889c4ae33f5e6f9d8eac4
make sure Join.create() methods are available the same as before
CruGlobal/android-gto-support,GlobalTechnology/android-gto-support,CruGlobal/android-gto-support
gto-support-db/src/main/java/org/ccci/gto/android/common/db/Join.kt
gto-support-db/src/main/java/org/ccci/gto/android/common/db/Join.kt
package org.ccci.gto.android.common.db import android.os.Parcelable import androidx.annotation.RestrictTo import kotlinx.android.parcel.IgnoredOnParcel import kotlinx.android.parcel.Parcelize import org.ccci.gto.android.common.db.Table.Companion.forClass @Parcelize class Join<S, T> private constructor( @RestrictT...
package org.ccci.gto.android.common.db import android.os.Parcelable import androidx.annotation.RestrictTo import kotlinx.android.parcel.IgnoredOnParcel import kotlinx.android.parcel.Parcelize import org.ccci.gto.android.common.db.Table.Companion.forClass @Parcelize class Join<S, T> private constructor( @RestrictT...
mit
Kotlin
2625b33cba7a135e92d3fdfde8717afc91d1c6b8
hide field to prevent confusion
wealthfront/magellan,wealthfront/magellan
magellan-library/src/main/java/com/wealthfront/magellan/view/DialogComponent.kt
magellan-library/src/main/java/com/wealthfront/magellan/view/DialogComponent.kt
package com.wealthfront.magellan.view import android.app.Activity import android.app.Dialog import android.content.Context import androidx.annotation.VisibleForTesting import com.wealthfront.magellan.DialogCreator import com.wealthfront.magellan.lifecycle.LifecycleAware import javax.inject.Inject public class DialogC...
package com.wealthfront.magellan.view import android.app.Activity import android.app.Dialog import android.content.Context import com.wealthfront.magellan.DialogCreator import com.wealthfront.magellan.lifecycle.LifecycleAware import javax.inject.Inject public class DialogComponent @Inject constructor() : LifecycleAwa...
apache-2.0
Kotlin
10d8e6c6c01b3442cb4b08017b1d884b4b632414
update buildSrc kotlinVersion
mockk/mockk,mockk/mockk,mockk/mockk,mockk/mockk,mockk/mockk,mockk/mockk
buildSrc/build.gradle.kts
buildSrc/build.gradle.kts
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { `kotlin-dsl` kotlin("jvm") version embeddedKotlinVersion // Gradle uses an embedded Kotlin. This doesn't affect the version of Kotlin used to build MockK. // https://docs.gradle.org/current/userguide/compatibility.html#kotlin idea } ...
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { `kotlin-dsl` kotlin("jvm") version "1.6.21" // Gradle uses an embedded Kotlin with version 1.4 // https://docs.gradle.org/current/userguide/compatibility.html#kotlin // but it's safe to use 1.6.21, as long as the language level is set...
apache-2.0
Kotlin
f004af9a14e37ab8ccdb44a579b7abd2c479e639
Bump auto-value-annotations from 1.10 to 1.10.1 (#4969)
open-telemetry/opentelemetry-java,open-telemetry/opentelemetry-java,open-telemetry/opentelemetry-java
buildSrc/build.gradle.kts
buildSrc/build.gradle.kts
plugins { `kotlin-dsl` // When updating, update below in dependencies too id("com.diffplug.spotless") version "6.11.0" } repositories { mavenCentral() gradlePluginPortal() mavenLocal() } dependencies { implementation("com.google.auto.value:auto-value-annotations:1.10.1") // When updating, update abov...
plugins { `kotlin-dsl` // When updating, update below in dependencies too id("com.diffplug.spotless") version "6.11.0" } repositories { mavenCentral() gradlePluginPortal() mavenLocal() } dependencies { implementation("com.google.auto.value:auto-value-annotations:1.10") // When updating, update above ...
apache-2.0
Kotlin
7ef297629b9ca1cf3638abb40e118bd4002dc3c8
compress SingleTypeUnsortedEntityIdArrayCachedInstanceIterable.idSet if possible
JetBrains/xodus,JetBrains/xodus,JetBrains/xodus
entity-store/src/main/kotlin/jetbrains/exodus/entitystore/iterate/util/LongArrayIterator.kt
entity-store/src/main/kotlin/jetbrains/exodus/entitystore/iterate/util/LongArrayIterator.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 a...
package jetbrains.exodus.entitystore.iterate.util import jetbrains.exodus.core.dataStructures.hash.LongIterator class LongArrayIterator @JvmOverloads constructor(val array: LongArray, val size: Int = array.size) : LongIterator { private var index = 0 override fun hasNext() = index < size override fun next...
apache-2.0
Kotlin
53121c97e5910bb24fa260d85077f2559d52ed01
add licenses
yshrsmz/monotweety
app/src/main/java/net/yslibrary/monotweety/data/license/LicenseRepositoryImpl.kt
app/src/main/java/net/yslibrary/monotweety/data/license/LicenseRepositoryImpl.kt
package net.yslibrary.monotweety.data.license import net.yslibrary.licenseadapter.LicenseEntry import net.yslibrary.licenseadapter.Licenses import net.yslibrary.monotweety.base.di.UserScope import rx.Single import javax.inject.Inject /** * Created by yshrsmz on 2016/10/10. */ @UserScope class LicenseRepositoryImpl ...
package net.yslibrary.monotweety.data.license import net.yslibrary.licenseadapter.LicenseEntry import net.yslibrary.licenseadapter.Licenses import net.yslibrary.monotweety.base.di.UserScope import rx.Single import javax.inject.Inject /** * Created by yshrsmz on 2016/10/10. */ @UserScope class LicenseRepositoryImpl ...
apache-2.0
Kotlin
d7e32de832a475b5db5b6efbcafbdbfa00efa5a8
Fix DaemonThreadFactory void return
TimePath/commons,TimePath/commons
src/main/kotlin/com/timepath/util/concurrent/DaemonThreadFactory.kt
src/main/kotlin/com/timepath/util/concurrent/DaemonThreadFactory.kt
package com.timepath.util.concurrent import java.util.concurrent.Executors import java.util.concurrent.ThreadFactory /** * @author TimePath */ public class DaemonThreadFactory : ThreadFactory { private val threadFactory = Executors.defaultThreadFactory() override fun newThread(r: Runnable) = threadFactor...
package com.timepath.util.concurrent import java.util.concurrent.Executors import java.util.concurrent.ThreadFactory /** * @author TimePath */ public class DaemonThreadFactory : ThreadFactory { private val threadFactory = Executors.defaultThreadFactory() override fun newThread(r: Runnable) = threadFactor...
artistic-2.0
Kotlin
6a1c876d6450d3615960a36fdedb8b45b8879054
remove specific method on commandRepository
benjamingarcia/mifuchi
src/main/kotlin/org/benji/mifuchi/query/FindAllGamesQueryHandler.kt
src/main/kotlin/org/benji/mifuchi/query/FindAllGamesQueryHandler.kt
package org.benji.mifuchi.query import org.benji.mifuchi.common.Query import org.benji.mifuchi.common.QueryHandler import org.benji.mifuchi.domain.Game import javax.inject.Singleton @Singleton class FindAllGamesQueryHandler: QueryHandler<List<Game>>{ override fun handle(query: Query): List<Game> { return ...
package org.benji.mifuchi.query import org.benji.mifuchi.common.Query import org.benji.mifuchi.common.QueryHandler import org.benji.mifuchi.domain.Game import org.benji.mifuchi.domain.GameRepository import javax.inject.Singleton @Singleton class FindAllGamesQueryHandler(private val gameRepository: GameRepository): Qu...
mit
Kotlin
68c3e0bc4ce1c260206e370123c33d1692bc1694
Update to Android-Components 104.0.20220709143115.
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 = "104.0.20220709143115" }
/* 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 = "104.0.20220708143231" }
mpl-2.0
Kotlin
b0f1acd58a37ce819a347918b8f22d99acf1f7a9
Update to Android-Components 107.0.20220920143100.
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 = "107.0.20220920143100" }
/* 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 = "107.0.20220919190141" }
mpl-2.0
Kotlin
ff8753321df2e9e325d01a72c9c0529e8d0156ce
Add compiler contracts to binding function
michaelbull/kotlin-result
src/main/kotlin/com/github/michaelbull/result/Binding.kt
src/main/kotlin/com/github/michaelbull/result/Binding.kt
package com.github.michaelbull.result import kotlin.contracts.InvocationKind import kotlin.contracts.contract /** * Calls the specified function [block] with [ResultBinding] as its receiver and returns its [Result]. * * When inside a [binding] block, the [bind][ResultBinding.bind] function is accessible on any [Re...
package com.github.michaelbull.result /** * Calls the specified function [block] with [ResultBinding] as its receiver and returns its [Result]. * * When inside a [binding] block, the [bind][ResultBinding.bind] function is accessible on any [Result]. Calling the * [bind][ResultBinding.bind] function will attempt to...
isc
Kotlin
6c18dc2c68458ac5c8ec2bd2b86f5f07afe618f0
Rename attach as bindHost()
Commit451/Addendum
addendum/src/main/java/com/commit451/addendum/Fragment.kt
addendum/src/main/java/com/commit451/addendum/Fragment.kt
package com.commit451.addendum import android.support.annotation.IdRes import android.support.v4.app.Fragment import android.view.View inline fun <T: View> Fragment.bindView(@IdRes id: Int): Lazy<T> { @Suppress("UNCHECKED_CAST") return lazy(LazyThreadSafetyMode.NONE) { view!!.findViewById<T>(id) } } inline ...
package com.commit451.addendum import android.support.annotation.IdRes import android.support.v4.app.Fragment import android.view.View inline fun <T: View> Fragment.bindView(@IdRes id: Int): Lazy<T> { @Suppress("UNCHECKED_CAST") return lazy(LazyThreadSafetyMode.NONE) { view!!.findViewById<T>(id) } } inline ...
apache-2.0
Kotlin
c5f648eaeeb36b5e171b95cb744b770a94497d77
Fix syntax
ronocod/bus,ronocod/bus,ronocod/bus
app/src/main/java/com/conorodonnell/bus/api/RealTimeBusInfo.kt
app/src/main/java/com/conorodonnell/bus/api/RealTimeBusInfo.kt
package com.conorodonnell.bus.api import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class RealTimeBusInfo( val duetime: String, val destination: String, val origin: String, val operator: String, val route: String )
package com.conorodonnell.bus.api import com.squareup.moshi.JsonClass @JsonClass(generateAdapter = true) data class RealTimeBusInfo( val duetime: String, val destination: String, val origin: String, val operator: String, val route: String, )
mit
Kotlin
4ee51a573e9b267252d91b61541b8cec0647e2f7
change Playback to derive from UIObject
clappr/clappr-android,clappr/clappr-android
clappr/src/main/kotlin/io/clappr/player/components/Playback.kt
clappr/src/main/kotlin/io/clappr/player/components/Playback.kt
package io.clappr.player.components import com.globo.clappr.base.BaseObject import com.globo.clappr.base.NamedType import com.globo.clappr.base.Options import com.globo.clappr.base.UIObject import kotlin.reflect.companionObjectInstance interface PlaybackSupportInterface: NamedType { fun supportsSource(source: Str...
package io.clappr.player.components import io.clappr.player.base.UIObject import io.clappr.player.base.NamedType import io.clappr.player.base.Options import kotlin.reflect.companionObjectInstance interface PlaybackSupportInterface: NamedType { fun supportsSource(source: String, mimeType: String? = null): Boolean ...
bsd-3-clause
Kotlin
7f54a2eb9deee7e14af7a11191f5a899c02afa94
Add comment
KotlinNLP/SimpleDNN
src/main/kotlin/com/kotlinnlp/simplednn/core/layers/feedforward/FeedforwardBackwardHelper.kt
src/main/kotlin/com/kotlinnlp/simplednn/core/layers/feedforward/FeedforwardBackwardHelper.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
840c9a2de37f543cfbe89e1fd6fe474ae7ba6c78
Fix regression: DateRange#contains will overflow stack if you use a range check; must keep as boolean expression
sleberknight/kotlin-koans,sleberknight/kotlin-koans
src/iii_conventions/MyDate.kt
src/iii_conventions/MyDate.kt
package iii_conventions data class MyDate(val year: Int, val month: Int, val dayOfMonth: Int) : Comparable<MyDate> { override fun compareTo(other: MyDate): Int { return when { year != other.year -> year - other.year month != other.month -> month - other.month else -> day...
package iii_conventions data class MyDate(val year: Int, val month: Int, val dayOfMonth: Int) : Comparable<MyDate> { override fun compareTo(other: MyDate): Int { return when { year != other.year -> year - other.year month != other.month -> month - other.month else -> day...
mit
Kotlin
7ecc79680289d016c8837dab6f041f34a05494a5
Replace Permission.matchByLabel implementation by Stdlib operation
BjoernPetersen/JMusicBot
src/main/java/com/github/bjoernpetersen/jmusicbot/user/Permission.kt
src/main/java/com/github/bjoernpetersen/jmusicbot/user/Permission.kt
package com.github.bjoernpetersen.jmusicbot.user enum class Permission(val label: String) { SKIP("skip"), DISLIKE("dislike"); companion object { @JvmStatic fun matchByLabel(label: String): Permission { Permission.values() .filter { it.label == label } ...
package com.github.bjoernpetersen.jmusicbot.user enum class Permission(val label: String) { SKIP("skip"), DISLIKE("dislike"); companion object { @JvmStatic fun matchByLabel(label: String): Permission { for (permission in enumValues<Permission>()) { if (permission.l...
mit
Kotlin
ce8f2d4d1b4aed90f033f2cdf91cf8a5519cb6c6
order reviews by id in cache source
StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android
app/src/main/java/org/stepik/android/cache/course_reviews/CourseReviewsCacheDataSourceImpl.kt
app/src/main/java/org/stepik/android/cache/course_reviews/CourseReviewsCacheDataSourceImpl.kt
package org.stepik.android.cache.course_reviews import io.reactivex.Completable import io.reactivex.Single import org.stepic.droid.storage.dao.IDao import org.stepic.droid.util.PagedList import org.stepik.android.cache.course_reviews.structure.DbStructureCourseReview import org.stepik.android.data.course_reviews.sourc...
package org.stepik.android.cache.course_reviews import io.reactivex.Completable import io.reactivex.Single import org.stepic.droid.storage.dao.IDao import org.stepic.droid.util.PagedList import org.stepik.android.cache.course_reviews.structure.DbStructureCourseReview import org.stepik.android.data.course_reviews.sourc...
apache-2.0
Kotlin
66c5eeacb1cae408ad8e5b6878a44b95a8c98f8a
simplify ProcessIntentUseCase
mvmike/min-cal-widget
app/src/main/kotlin/cat/mvmike/minimalcalendarwidget/application/user/ProcessIntentUseCase.kt
app/src/main/kotlin/cat/mvmike/minimalcalendarwidget/application/user/ProcessIntentUseCase.kt
// Copyright (c) 2016, Miquel Martí <miquelmarti111@gmail.com> // See LICENSE for licensing information package cat.mvmike.minimalcalendarwidget.application.user import android.content.Context import cat.mvmike.minimalcalendarwidget.application.RedrawWidgetUseCase import cat.mvmike.minimalcalendarwidget.domain.intent....
// Copyright (c) 2016, Miquel Martí <miquelmarti111@gmail.com> // See LICENSE for licensing information package cat.mvmike.minimalcalendarwidget.application.user import android.content.Context import cat.mvmike.minimalcalendarwidget.application.RedrawWidgetUseCase import cat.mvmike.minimalcalendarwidget.domain.intent....
bsd-3-clause
Kotlin
104086778ada6a64f751b7498c2c7357cfbadf64
Reformat code
squanchy-dev/squanchy-android,squanchy-dev/squanchy-android,squanchy-dev/squanchy-android
app/src/main/java/net/squanchy/notification/UpcomingEventsService.kt
app/src/main/java/net/squanchy/notification/UpcomingEventsService.kt
package net.squanchy.notification import io.reactivex.Single import net.squanchy.schedule.domain.view.Event import net.squanchy.support.system.CurrentTime import org.threeten.bp.Duration import org.threeten.bp.ZonedDateTime class UpcomingEventsService( private val service: NotificationService, private val cur...
package net.squanchy.notification import io.reactivex.Single import net.squanchy.schedule.domain.view.Event import net.squanchy.support.system.CurrentTime import org.threeten.bp.Duration import org.threeten.bp.ZonedDateTime class UpcomingEventsService( private val service: NotificationService, private val cur...
apache-2.0
Kotlin
4a83cc4c41a587583c7cfe19b22ea07d01a58ff9
Bump version.
SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base
version.gradle.kts
version.gradle.kts
/* * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
/* * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
apache-2.0
Kotlin
0c75206a7a0ed0c24bf00b39a9e76ee4d6894ac6
Upgrade Picocli to 3.7.0
junit-team/junit-lambda,sbrannen/junit-lambda
buildSrc/src/main/kotlin/Versions.kt
buildSrc/src/main/kotlin/Versions.kt
object Versions { // Languages val jvmTarget = "8" val kotlin = "1.3.0" // Dependencies val apiGuardian = "1.0.0" val junit4 = "4.12" val ota4j = "1.1.1" val picocli = "3.7.0" val univocity = "2.7.6" // Test Dependencies val archunit = "0.9.2" val assertJ = "3.11.1" ...
object Versions { // Languages val jvmTarget = "8" val kotlin = "1.3.0" // Dependencies val apiGuardian = "1.0.0" val junit4 = "4.12" val ota4j = "1.1.1" val picocli = "3.6.0" val univocity = "2.7.6" // Test Dependencies val archunit = "0.9.2" val assertJ = "3.11.1" ...
epl-1.0
Kotlin
3b38db3d9509baa47a7a16a71b3b5e3626ef18ff
Fix UI tests for API 21
android/compose-samples,android/compose-samples
JetNews/app/src/androidTest/java/com/example/jetnews/JetnewsUiTest.kt
JetNews/app/src/androidTest/java/com/example/jetnews/JetnewsUiTest.kt
/* * Copyright 2019 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...
/* * Copyright 2019 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
bf896e2da5309eb90860c2a9c409ca395aadf89f
use module file path instead of content roots to retrieve module directory
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...
python/python-sdk/src/com/jetbrains/python/sdk/BasePySdkExt.kt
python/python-sdk/src/com/jetbrains/python/sdk/BasePySdkExt.kt
package com.jetbrains.python.sdk import com.intellij.openapi.module.Module import com.intellij.openapi.roots.ModuleRootManager import com.intellij.openapi.vfs.VfsUtil import com.intellij.openapi.vfs.VirtualFile import java.io.File val Module.rootManager: ModuleRootManager get() = ModuleRootManager.getInstance(this)...
package com.jetbrains.python.sdk import com.intellij.openapi.module.Module import com.intellij.openapi.roots.ModuleRootManager import com.intellij.openapi.vfs.VfsUtil import com.intellij.openapi.vfs.VirtualFile val Module.rootManager: ModuleRootManager get() = ModuleRootManager.getInstance(this) val Module.baseDir...
apache-2.0
Kotlin
b586b99831e249ca13955ab17f2622a54836b4bd
Add password generator
komu/scratch
src/main/kotlin/crypto/PasswordGenerator.kt
src/main/kotlin/crypto/PasswordGenerator.kt
package crypto import java.security.SecureRandom fun main(args: Array<String>) { val random = SecureRandom() val alphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" println(buildString { repeat (22) { append(alphabet[random.nextInt(alphabet.length)]) } ...
mit
Kotlin
9e2918ab342d19cc507fed5f89b204c2716dde81
Handle filter updates
StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android
app/src/main/java/org/stepik/android/presentation/filter/dispatcher/FiltersActionDispatcher.kt
app/src/main/java/org/stepik/android/presentation/filter/dispatcher/FiltersActionDispatcher.kt
package org.stepik.android.presentation.filter.dispatcher import io.reactivex.Completable import io.reactivex.Observable import io.reactivex.Scheduler import io.reactivex.Single import io.reactivex.rxkotlin.plusAssign import io.reactivex.rxkotlin.subscribeBy import org.stepic.droid.di.qualifiers.BackgroundScheduler im...
package org.stepik.android.presentation.filter.dispatcher import io.reactivex.Completable import io.reactivex.Scheduler import io.reactivex.Single import io.reactivex.rxkotlin.plusAssign import io.reactivex.rxkotlin.subscribeBy import org.stepic.droid.di.qualifiers.BackgroundScheduler import org.stepic.droid.di.qualif...
apache-2.0
Kotlin
20e50851f8f6f12ec6e5dad2187a6aa86098905d
Fix kdocs links in PerformanceClass
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...
core/core-performance/src/main/java/androidx/core/performance/DevicePerformance.kt
core/core-performance/src/main/java/androidx/core/performance/DevicePerformance.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
d39e0939954681687b11dbe254c9b4f96b7052d6
Clean up Month's code.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/calendar/Month.kt
app/src/main/java/jp/toastkid/yobidashi/calendar/Month.kt
package jp.toastkid.yobidashi.calendar import java.util.* /** * For using convert [java.util.Calendar]'s month to String. * * @author toastkidjp */ internal object Month { /** * Return month string form. * @param month 1-11 * * @return string form */ operator fun get(month: Int):...
package jp.toastkid.yobidashi.calendar import java.util.Calendar /** * For using convert [java.util.Calendar]'s month to String. * @author toastkidjp */ internal object Month { /** * Return month string form. * @param month 1-11 * * @return string form */ operator fun get(month: ...
epl-1.0
Kotlin
13d3d621b94226ab4ad1cfedba4c05946d147acb
Create migration detail class
ingresso-rapido-mobile/better-migrations,ingresso-rapido-mobile/better-migrations
migration/src/main/java/br/com/bloder/migration/internal/detail/MigrationDetail.kt
migration/src/main/java/br/com/bloder/migration/internal/detail/MigrationDetail.kt
package br.com.bloder.migration.internal.detail import br.com.bloder.migration.Migration /** * Created by bloder on 24/09/16. */ class MigrationDetail { var migration : Migration? = null var version : Int = 0 }
mit
Kotlin
1b30be10a1823bde0236231392b58e895a1c86f1
Add "Lint warnings" config, fix uuid
storybooks/storybook,storybooks/react-storybook,kadirahq/react-storybook,storybooks/react-storybook,storybooks/storybook,storybooks/storybook,storybooks/storybook,kadirahq/react-storybook,storybooks/react-storybook,storybooks/storybook,storybooks/react-storybook,storybooks/storybook,storybooks/storybook
.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Lint_Warnings.kt
.teamcity/OpenSourceProjects_Storybook/buildTypes/OpenSourceProjects_Storybook_Lint_Warnings.kt
package OpenSourceProjects_Storybook.buildTypes import jetbrains.buildServer.configs.kotlin.v2017_2.* import jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.commitStatusPublisher import jetbrains.buildServer.configs.kotlin.v2017_2.buildSteps.script import jetbrains.buildServer.configs.kotlin.v2017_2.trigger...
package OpenSourceProjects_Storybook.buildTypes import jetbrains.buildServer.configs.kotlin.v2017_2.* import jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.commitStatusPublisher import jetbrains.buildServer.configs.kotlin.v2017_2.buildSteps.script import jetbrains.buildServer.configs.kotlin.v2017_2.trigger...
mit
Kotlin
23ae7a6966e108db1f275d681b8c2a4bbd2f519a
Add displayName property to IdBase
BjoernPetersen/JMusicBot
src/main/kotlin/net/bjoernpetersen/musicbot/api/plugin/Base.kt
src/main/kotlin/net/bjoernpetersen/musicbot/api/plugin/Base.kt
package net.bjoernpetersen.musicbot.api.plugin /** * Marks a base class or interface of a plugin which may be used to depend on the plugin. * * Annotated classes or interfaces must extend/implement a plugin interface. */ @Target(AnnotationTarget.CLASS) @Retention(AnnotationRetention.RUNTIME) @MustBeDocumented anno...
package net.bjoernpetersen.musicbot.api.plugin /** * Marks a base class or interface of a plugin which may be used to depend on the plugin. * * Annotated classes or interfaces must extend/implement a plugin interface. */ @Target(AnnotationTarget.CLASS) @Retention(AnnotationRetention.RUNTIME) @MustBeDocumented anno...
mit
Kotlin
bb7ba756e3e1935013a4ea8def01537881629024
Add comments.
toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/editor/PasteAsConfirmationDialogFragment.kt
app/src/main/java/jp/toastkid/yobidashi/editor/PasteAsConfirmationDialogFragment.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
ebe475c997171f64e9d978986038e3d902c37acb
Fix test-output.
ethauvin/kobalt,cbeust/kobalt,ethauvin/kobalt,ethauvin/kobalt,ethauvin/kobalt,cbeust/kobalt,cbeust/kobalt
modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/internal/TestNgRunner.kt
modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/internal/TestNgRunner.kt
package com.beust.kobalt.internal import com.beust.kobalt.TestConfig import com.beust.kobalt.api.IClasspathDependency import com.beust.kobalt.api.KobaltContext import com.beust.kobalt.api.Project import com.beust.kobalt.misc.KFiles import com.beust.kobalt.misc.warn import java.io.File class TestNgRunner : GenericTest...
package com.beust.kobalt.internal import com.beust.kobalt.TestConfig import com.beust.kobalt.api.IClasspathDependency import com.beust.kobalt.api.KobaltContext import com.beust.kobalt.api.Project import com.beust.kobalt.misc.KFiles import com.beust.kobalt.misc.warn import java.io.File class TestNgRunner : GenericTest...
apache-2.0
Kotlin
acafee163aa7e798d8543e00456ea4386891e14b
Add SpotlightRepository.kt
RocketChat/Rocket.Chat.Android.Lily,RocketChat/Rocket.Chat.Android.Lily,RocketChat/Rocket.Chat.Android,RocketChat/Rocket.Chat.Android
rocket-chat-core/src/main/java/chat/rocket/core/repositories/SpotlightRepository.kt
rocket-chat-core/src/main/java/chat/rocket/core/repositories/SpotlightRepository.kt
package chat.rocket.core.repositories import chat.rocket.core.SortDirection import chat.rocket.core.models.Spotlight import io.reactivex.Flowable interface SpotlightRepository { fun getSuggestionsFor(term: String, direction: SortDirection, limit: Int): Flowable<List<Spotlight>> }
mit
Kotlin
caef07a22ad187b81dc61d5a2179b1447bf7366e
Change Spek JVM runtime to create path one time only on discovery. (#299)
JetBrains/spek
spek-runtimes/jvm/src/main/kotlin/org/spekframework/spek2/runtime/SpekJvmRuntime.kt
spek-runtimes/jvm/src/main/kotlin/org/spekframework/spek2/runtime/SpekJvmRuntime.kt
package org.spekframework.spek2.runtime import org.reflections.Reflections import org.reflections.scanners.SubTypesScanner import org.reflections.util.ClasspathHelper import org.reflections.util.ConfigurationBuilder import org.spekframework.spek2.CreateWith import org.spekframework.spek2.Ignore import org.spekframewor...
package org.spekframework.spek2.runtime import org.reflections.Reflections import org.reflections.scanners.SubTypesScanner import org.reflections.util.ClasspathHelper import org.reflections.util.ConfigurationBuilder import org.spekframework.spek2.CreateWith import org.spekframework.spek2.Ignore import org.spekframewor...
bsd-3-clause
Kotlin
57760e1add089838005b4fa9f4979bcd3b579045
Add methods to CORS
RimmerM/Yttrium,Le-Chiffre/Yttrium
Server/src/com/rimmer/yttrium/server/http/Server.kt
Server/src/com/rimmer/yttrium/server/http/Server.kt
package com.rimmer.yttrium.server.http import com.rimmer.yttrium.server.ServerContext import com.rimmer.yttrium.server.listen import io.netty.channel.ChannelFutureListener import io.netty.channel.ChannelHandlerContext import io.netty.channel.ChannelInboundHandlerAdapter import io.netty.channel.ChannelPipeline import i...
package com.rimmer.yttrium.server.http import com.rimmer.yttrium.server.ServerContext import com.rimmer.yttrium.server.listen import io.netty.channel.ChannelFutureListener import io.netty.channel.ChannelHandlerContext import io.netty.channel.ChannelInboundHandlerAdapter import io.netty.channel.ChannelPipeline import i...
mit
Kotlin
1b624ac88f59833852d12f325e6fc5de4798056a
fix building against latest kotlin-compiler.jar
JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,jiaminglu/kotlin-native,JetBrains/kotlin-native,JuliusKunze/kotlin-native,JetBrains/kotlin-native,JuliusKunze/kotlin-native,wiltonlazary/kotlin-native,jiaminglu/kotlin-native,JetBrains/kotlin-native,jiaminglu/kotlin-native,jiaminglu/kotlin-nativ...
backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/native/ModuleIndex.kt
backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/native/ModuleIndex.kt
package org.jetbrains.kotlin.backend.native import org.jetbrains.kotlin.ir.IrElement import org.jetbrains.kotlin.ir.declarations.IrClass import org.jetbrains.kotlin.ir.declarations.IrModuleFragment import org.jetbrains.kotlin.ir.visitors.IrElementVisitorVoid import org.jetbrains.kotlin.ir.visitors.acceptChildrenVoid i...
package org.jetbrains.kotlin.backend.native import org.jetbrains.kotlin.ir.IrElement import org.jetbrains.kotlin.ir.declarations.IrClass import org.jetbrains.kotlin.ir.declarations.IrModuleFragment import org.jetbrains.kotlin.ir.visitors.IrElementVisitorVoid import org.jetbrains.kotlin.ir.visitors.acceptChildrenVoid i...
apache-2.0
Kotlin
f4c816ea7fd5ee9eb67171cdb931e9119294da21
fix unit test
studyplus/Studyplus-Android-SDK,studyplus/Studyplus-Android-SDK,studyplus/Studyplus-Android-SDK
studyplus-android-sdk/src/test/java/jp/studyplus/android/sdk/StudyRecordUnitTest.kt
studyplus-android-sdk/src/test/java/jp/studyplus/android/sdk/StudyRecordUnitTest.kt
package jp.studyplus.android.sdk import android.os.Build import jp.studyplus.android.sdk.record.StudyRecord import jp.studyplus.android.sdk.record.StudyRecordAmountRange import jp.studyplus.android.sdk.record.StudyRecordAmountTotal import org.junit.Assert.assertEquals import org.junit.Test import org.junit.runner.RunW...
package jp.studyplus.android.sdk import android.os.Build import jp.studyplus.android.sdk.record.StudyRecord import jp.studyplus.android.sdk.record.StudyRecordAmountRange import jp.studyplus.android.sdk.record.StudyRecordAmountTotal import org.junit.Assert.assertEquals import org.junit.Test import org.junit.runner.RunW...
mit
Kotlin
75f717381eae74436a973a00bca00bfbdb08d1c9
add Lut3dRenderer
lydia-schiff/hella-renderscript
coolalgebralydiathanks/src/main/java/cat/the/lydia/coolalgebralydiathanks/lut3d/Lut3dRenderer.kt
coolalgebralydiathanks/src/main/java/cat/the/lydia/coolalgebralydiathanks/lut3d/Lut3dRenderer.kt
package cat.the.lydia.coolalgebralydiathanks.lut3d import android.renderscript.Allocation import android.renderscript.Element import android.renderscript.RenderScript import android.renderscript.ScriptIntrinsic3DLUT import cat.the.lydia.coolalgebralydiathanks.ColorCube import cat.the.lydia.coolalgebralydiathanks.utils...
mit
Kotlin
d04bfddec149f16fde82d65e98b4183617ff7606
Fix for assets changing between versions
Cognifide/gradle-aem-plugin,Cognifide/gradle-aem-plugin
src/main/kotlin/com/cognifide/gradle/aem/common/asset/AssetManager.kt
src/main/kotlin/com/cognifide/gradle/aem/common/asset/AssetManager.kt
package com.cognifide.gradle.aem.common.asset import com.cognifide.gradle.aem.AemExtension import com.cognifide.gradle.aem.AemPlugin import com.cognifide.gradle.aem.common.file.ZipFile import com.cognifide.gradle.aem.common.instance.service.pkg.Package import java.io.File class AssetManager(private val aem: AemExtens...
package com.cognifide.gradle.aem.common.asset import com.cognifide.gradle.aem.AemExtension import com.cognifide.gradle.aem.common.file.ZipFile import com.cognifide.gradle.aem.common.instance.service.pkg.Package import java.io.File class AssetManager(private val aem: AemExtension) { val rootDir = aem.obj.dir { co...
apache-2.0
Kotlin
c50bc7549d606a0017b9a9abebb0be43e605ce05
fix a/b experiment config test if it's not in eap
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/completion-ml-ranking/test/com/intellij/completion/ml/experiment/ExperimentConfigTest.kt
plugins/completion-ml-ranking/test/com/intellij/completion/ml/experiment/ExperimentConfigTest.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.completion.ml.experiment import com.intellij.openapi.application.ApplicationManager import com.intellij.testFramework.LightIdeaTestCase import org.assertj.co...
// 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.completion.ml.experiment import com.intellij.testFramework.LightIdeaTestCase import org.assertj.core.api.Assertions class ExperimentConfigTest : LightIdeaTe...
apache-2.0
Kotlin
5d5963133c9673577aaa8b80fdf3e73e6a75e6c9
Improve release acquired book method
fobo66/BookcrossingMobile,fobo66/BookcrossingMobile
app/src/main/java/com/bookcrossing/mobile/presenters/ReleaseAcquiredBookPresenter.kt
app/src/main/java/com/bookcrossing/mobile/presenters/ReleaseAcquiredBookPresenter.kt
/* * Copyright 2019 Andrey Mukamolov * * 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 appli...
/* * Copyright 2019 Andrey Mukamolov * * 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 appli...
apache-2.0
Kotlin
22c2d2ce0daa4623e8a85706bae712a9e57fc590
Fix setDecorFitsSystemWindowsCompat in sample.
coil-kt/coil,coil-kt/coil
coil-sample/src/main/java/coil/sample/Extensions.kt
coil-sample/src/main/java/coil/sample/Extensions.kt
@file:Suppress("NOTHING_TO_INLINE") package coil.sample import android.content.Context import android.graphics.Color import android.os.Build.VERSION.SDK_INT import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.view.Window import android.view.WindowInsets import andr...
@file:Suppress("NOTHING_TO_INLINE") package coil.sample import android.content.Context import android.graphics.Color import android.os.Build.VERSION.SDK_INT import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.view.Window import android.view.WindowInsets import andr...
apache-2.0
Kotlin
7275a5d30d5d3c7c52dff3d216c2f7d79058dbb4
refactor #307 Move lambda argument out of parentheses.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/planning_poker/CardFragment.kt
app/src/main/java/jp/toastkid/yobidashi/planning_poker/CardFragment.kt
package jp.toastkid.yobidashi.planning_poker import android.databinding.DataBindingUtil import android.os.Bundle import android.support.v4.app.Fragment import android.util.TypedValue import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import jp.toastkid.yobidashi.R import jp.toast...
package jp.toastkid.yobidashi.planning_poker import android.databinding.DataBindingUtil import android.os.Bundle import android.support.v4.app.Fragment import android.util.TypedValue import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import jp.toastkid.yobidashi.R import jp.toast...
epl-1.0
Kotlin
e627ce1e87fe81c87ceab0ab6806b13e131d1df1
make sure there isn't a race condition when starting findAsFlow()
CruGlobal/android-gto-support,CruGlobal/android-gto-support
gto-support-db-coroutines/src/test/kotlin/org/ccci/gto/android/common/db/CoroutinesFlowDaoTest.kt
gto-support-db-coroutines/src/test/kotlin/org/ccci/gto/android/common/db/CoroutinesFlowDaoTest.kt
package org.ccci.gto.android.common.db import io.mockk.every import io.mockk.slot import io.mockk.spyk import io.mockk.verify import io.mockk.verifyOrder import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.flow.launchIn import kotlinx.coroutines.t...
package org.ccci.gto.android.common.db import io.mockk.every import io.mockk.slot import io.mockk.spyk import io.mockk.verify import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.flow.launchIn import kotlinx.coroutines.test.UnconfinedTestDispatcher...
mit
Kotlin
6f345ca402245927e824c6a89e22b969bbe1869a
Make the Fragments split depend on Fragments KTX
LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties
modules/fragments/build.gradle.kts
modules/fragments/build.gradle.kts
/* * Copyright 2019-2020 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. */ plugins { id("com.android.library") kotlin("multiplatform") `maven-publish` } android { setDefaults() } kotlin { android() configure(targets) { configureMavenPublication(...
/* * Copyright 2019-2020 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. */ plugins { id("com.android.library") kotlin("multiplatform") `maven-publish` } android { setDefaults() } kotlin { android() configure(targets) { configureMavenPublication(...
apache-2.0
Kotlin
618b3f801bb33241fa5eb6cf4094b77c2ee14870
update benchmark
hypercube1024/firefly,hypercube1024/firefly,hypercube1024/firefly,hypercube1024/firefly,hypercube1024/firefly
firefly-net/src/test/kotlin/com/fireflysource/net/http/server/impl/HttpServerDemo.kt
firefly-net/src/test/kotlin/com/fireflysource/net/http/server/impl/HttpServerDemo.kt
package com.fireflysource.net.http.server.impl import com.fireflysource.net.http.server.HttpServerFactory import com.fireflysource.net.http.server.impl.router.handler.CorsConfig import com.fireflysource.net.http.server.impl.router.handler.CorsHandler import com.fireflysource.net.http.server.impl.router.handler.FileCon...
package com.fireflysource.net.http.server.impl import com.fireflysource.net.http.server.HttpServerFactory import com.fireflysource.net.http.server.impl.router.handler.CorsConfig import com.fireflysource.net.http.server.impl.router.handler.CorsHandler import com.fireflysource.net.http.server.impl.router.handler.FileCon...
apache-2.0
Kotlin
7112d417cea1a081ffd4d9a990a749d7ee84fb8b
Create model of coupon toggle result
yuzumone/bergamio
app/src/main/kotlin/net/yuzumone/bergamio/model/ToggleResult.kt
app/src/main/kotlin/net/yuzumone/bergamio/model/ToggleResult.kt
package net.yuzumone.bergamio.model data class ToggleResult(val returnCode: String)
apache-2.0
Kotlin
94a80ea137778c6218b622500e7f7ad5045b80b3
Mark unused variable
cdcalc/cdcalc,cdcalc/cdcalc
core/src/main/kotlin/com/github/cdcalc/strategy/TaggedCommit.kt
core/src/main/kotlin/com/github/cdcalc/strategy/TaggedCommit.kt
package com.github.cdcalc.strategy import com.github.cdcalc.CalculateConfiguration import com.github.cdcalc.Tag import com.github.cdcalc.data.SemVer import org.eclipse.jgit.api.Git import org.eclipse.jgit.lib.Constants /** * Limitations * - Tag and commit must match * - If not tag exists, we're doomed */ fun tagg...
package com.github.cdcalc.strategy import com.github.cdcalc.CalculateConfiguration import com.github.cdcalc.Tag import com.github.cdcalc.data.SemVer import org.eclipse.jgit.api.Git import org.eclipse.jgit.lib.Constants /** * Limitations * - Tag and commit must match * - If not tag exists, we're doomed */ fun tagg...
mit
Kotlin
fa4c7b2e1049256c76708a0dd11d6fc507d8f07b
Add TODO
shiraji/find-pull-request
src/com/github/shiraji/findpullrequest/action/FindPullRequestAction.kt
src/com/github/shiraji/findpullrequest/action/FindPullRequestAction.kt
package com.github.shiraji.findpullrequest.action import com.intellij.notification.Notification import com.intellij.notification.NotificationType import com.intellij.notification.Notifications import com.intellij.openapi.actionSystem.AnAction import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.o...
package com.github.shiraji.findpullrequest.action import com.intellij.notification.Notification import com.intellij.notification.NotificationType import com.intellij.notification.Notifications import com.intellij.openapi.actionSystem.AnAction import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.o...
apache-2.0
Kotlin
bf20fd773bfe9fcd1afbe711781841e082a22dd7
Add FlakyTest annotation
75py/Aplin
app/src/androidTest/kotlin/com/nagopy/android/aplin/MainActivityTest.kt
app/src/androidTest/kotlin/com/nagopy/android/aplin/MainActivityTest.kt
package com.nagopy.android.aplin import android.app.Application import android.content.SharedPreferences import android.preference.PreferenceManager import android.support.test.InstrumentationRegistry import android.support.test.filters.FlakyTest import android.support.test.rule.ActivityTestRule import android.support...
package com.nagopy.android.aplin import android.app.Application import android.content.SharedPreferences import android.preference.PreferenceManager import android.support.test.InstrumentationRegistry import android.support.test.rule.ActivityTestRule import android.support.test.runner.AndroidJUnit4 import android.supp...
apache-2.0
Kotlin
e58d5ce41d7a29a72566c7237966fd2f54a1b978
Fix naming of imageBitmap extension property
LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties
views/src/main/java/splitties/views/ImageView.kt
views/src/main/java/splitties/views/ImageView.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
76e279b1809b5fa1c8ab37fa54f61f33b8400122
mark compatibility constructor as deprecated
StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android
model/src/main/java/org/stepik/android/model/Submission.kt
model/src/main/java/org/stepik/android/model/Submission.kt
package org.stepik.android.model import com.google.gson.annotations.SerializedName class Submission( val id: Long = 0, val status: Status? = null, val score: String? = null, val hint: String? = null, val time: String? = null, reply: Reply? = null, val attempt: L...
package org.stepik.android.model import com.google.gson.annotations.SerializedName class Submission( val id: Long = 0, val status: Status? = null, val score: String? = null, val hint: String? = null, val time: String? = null, reply: Reply? = null, val attempt: L...
apache-2.0
Kotlin
63bf1b28ed4130364994f8abbd609bd0a35712f3
Add test for addCoins()
axelrindle/SimpleCoins
src/test/kotlin/CoinManagerTest.kt
src/test/kotlin/CoinManagerTest.kt
import de.axelrindle.simplecoins.CoinManager import io.kotest.core.spec.style.StringSpec import io.kotest.matchers.shouldBe class CoinManagerTest : StringSpec({ val uuid = "2dcd2efe-e0ef-40e9-81c5-345de1b8ff65" "getCurrentName() should return the default value (Coins)" { CoinManager.getCurrentName() ...
import de.axelrindle.simplecoins.CoinManager import io.kotest.core.spec.style.StringSpec import io.kotest.matchers.shouldBe class CoinManagerTest : StringSpec({ val uuid = "2dcd2efe-e0ef-40e9-81c5-345de1b8ff65" "getCurrentName() should return the default value (Coins)" { CoinManager.getCurrentName() ...
mit
Kotlin
17d75575a18bd87135f93c759259890f8f2766b3
Speed up build time by running tests in parallel
bmuschko/gradle-docker-plugin,bmuschko/gradle-docker-plugin,bmuschko/gradle-docker-plugin
buildSrc/src/main/kotlin/com/bmuschko/gradle/docker/TestSetupPlugin.kt
buildSrc/src/main/kotlin/com/bmuschko/gradle/docker/TestSetupPlugin.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 TestSetupPlugin : Plugin<Project> { override fu...
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 TestSetupPlugin : Plugin<Project> { override fu...
apache-2.0
Kotlin
8be05e4bced9cfd53ad8a15cbb5447aa8675f318
Bump ksp (#7477)
square/okhttp,square/okhttp,ze-pequeno/okhttp,ze-pequeno/okhttp,square/okhttp,ze-pequeno/okhttp
samples/tlssurvey/build.gradle.kts
samples/tlssurvey/build.gradle.kts
plugins { kotlin("jvm") application id("com.google.devtools.ksp").version("1.7.10-1.0.6") } application { mainClass.set("okhttp3.survey.RunSurveyKt") } dependencies { implementation("com.squareup.okhttp3:okhttp:5.0.0-alpha.10") implementation("com.squareup.okhttp3:okhttp-coroutines:5.0.0-alpha.10") impl...
plugins { kotlin("jvm") application id("com.google.devtools.ksp").version("1.6.21-1.0.6") } application { mainClass.set("okhttp3.survey.RunSurveyKt") } dependencies { implementation("com.squareup.okhttp3:okhttp:5.0.0-alpha.10") implementation("com.squareup.okhttp3:okhttp-coroutines:5.0.0-alpha.10") impl...
apache-2.0
Kotlin
e026de9a96efcbb384e8c4d0788b2cb91dd6cb23
create disk factory: extend LVM pool included
K0zka/kerub,kerubistan/kerub,kerubistan/kerub,K0zka/kerub,K0zka/kerub,kerubistan/kerub
src/main/kotlin/com/github/kerubistan/kerub/planner/steps/storage/CreateDiskFactory.kt
src/main/kotlin/com/github/kerubistan/kerub/planner/steps/storage/CreateDiskFactory.kt
package com.github.kerubistan.kerub.planner.steps.storage import com.github.kerubistan.kerub.model.expectations.StorageAvailabilityExpectation import com.github.kerubistan.kerub.model.expectations.VirtualMachineAvailabilityExpectation import com.github.kerubistan.kerub.planner.steps.StepFactoryCollection import com.gi...
package com.github.kerubistan.kerub.planner.steps.storage import com.github.kerubistan.kerub.model.expectations.StorageAvailabilityExpectation import com.github.kerubistan.kerub.model.expectations.VirtualMachineAvailabilityExpectation import com.github.kerubistan.kerub.planner.steps.StepFactoryCollection import com.gi...
apache-2.0
Kotlin
6095c9b5f372ab0e80413dddb5a2e69e1e66ee00
Fix newline shifting if between image and caption
wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android
wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/handlers/CaptionHandler.kt
wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/handlers/CaptionHandler.kt
package org.wordpress.aztec.plugins.shortcodes.handlers import android.text.SpannableStringBuilder import org.wordpress.aztec.AztecText import org.wordpress.aztec.Constants import org.wordpress.aztec.handlers.BlockHandler import org.wordpress.aztec.plugins.shortcodes.spans.CaptionShortcodeSpan import org.wordpress.azt...
package org.wordpress.aztec.plugins.shortcodes.handlers import android.text.SpannableStringBuilder import org.wordpress.aztec.AztecText import org.wordpress.aztec.Constants import org.wordpress.aztec.handlers.BlockHandler import org.wordpress.aztec.plugins.shortcodes.spans.CaptionShortcodeSpan import org.wordpress.azt...
mpl-2.0
Kotlin
c179e92055eb517764dc21abff3f89377d77b797
Add benchmarks for RadioGroup.
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...
ui/integration-tests/benchmark/src/androidTest/java/androidx/ui/benchmark/test/RadioGroupBenchmark.kt
ui/integration-tests/benchmark/src/androidTest/java/androidx/ui/benchmark/test/RadioGroupBenchmark.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...
apache-2.0
Kotlin
0ef211a776944b93a0c4bbb34f04da68935b7737
use visitor instead of visitNamedFunction
Mauin/detekt,Mauin/detekt,arturbosch/detekt,Mauin/detekt,arturbosch/detekt,MyDogTom/detekt,Mauin/detekt,rock3r/detekt,rock3r/detekt,rock3r/detekt,arturbosch/detekt
detekt-rules/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/DataClassContainsFunctionsRule.kt
detekt-rules/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/DataClassContainsFunctionsRule.kt
package io.gitlab.arturbosch.detekt.rules.style import io.gitlab.arturbosch.detekt.api.CodeSmell import io.gitlab.arturbosch.detekt.api.Config import io.gitlab.arturbosch.detekt.api.DetektVisitor import io.gitlab.arturbosch.detekt.api.Entity import io.gitlab.arturbosch.detekt.api.Issue import io.gitlab.arturbosch.dete...
package io.gitlab.arturbosch.detekt.rules.style import io.gitlab.arturbosch.detekt.api.CodeSmell import io.gitlab.arturbosch.detekt.api.Config import io.gitlab.arturbosch.detekt.api.Entity import io.gitlab.arturbosch.detekt.api.Issue import io.gitlab.arturbosch.detekt.api.Rule import io.gitlab.arturbosch.detekt.api.Se...
apache-2.0
Kotlin
b522755bf99932b7a218d84103c77052956611af
Update recorder version: 7
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/stats-collector/log-events/src/com/intellij/stats/completion/events/LogEvent.kt
plugins/stats-collector/log-events/src/com/intellij/stats/completion/events/LogEvent.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
a3dea5bbb69b8d3bb86616d3cd7168fac6531db2
Add missed tests for Python and PHP
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/completion-ml-ranking-models/test/com/jetbrains/completion/ml/ranker/MetadataConsistencyTest.kt
plugins/completion-ml-ranking-models/test/com/jetbrains/completion/ml/ranker/MetadataConsistencyTest.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.jetbrains.completion.ml.ranker import org.junit.Test class MetadataConsistencyTest { @Test fun testKotlinMetadata() = ExperimentKotlinMLRankingProvider().assertM...
// 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.jetbrains.completion.ml.ranker import com.jetbrains.completion.ml.ranker.ExperimentKotlinMLRankingProvider import com.jetbrains.completion.ml.ranker.ExperimentScalaML...
apache-2.0
Kotlin
94e11e95ad82d7bf6619efe60dc5f71095f816ea
Fix using a quick channel command with no text making the player talk in the channel rather than switching channel, fixes #148
seventhroot/elysium,RP-Kit/RPKit,seventhroot/elysium,RP-Kit/RPKit
bukkit/rpk-chat-bukkit/src/main/kotlin/com/rpkit/chat/bukkit/listener/PlayerCommandPreprocessListener.kt
bukkit/rpk-chat-bukkit/src/main/kotlin/com/rpkit/chat/bukkit/listener/PlayerCommandPreprocessListener.kt
/* * Copyright 2016 Ross Binden * * 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 ...
/* * Copyright 2016 Ross Binden * * 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
cbd6b8c02889bd05c2436b5660123a0291ab6aba
Fix #208 - Don't let `org.json.XML` try to convert types automatically
http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k
http4k-format-xml/src/main/kotlin/org/http4k/format/Xml.kt
http4k-format-xml/src/main/kotlin/org/http4k/format/Xml.kt
package org.http4k.format import com.google.gson.JsonElement import org.http4k.asByteBuffer import org.http4k.asString import org.http4k.core.Body import org.http4k.core.ContentType import org.http4k.lens.BiDiBodyLensSpec import org.http4k.lens.BiDiLensSpec import org.http4k.lens.BodyLensSpec import org.http4k.lens.Co...
package org.http4k.format import com.google.gson.JsonElement import org.http4k.asByteBuffer import org.http4k.asString import org.http4k.core.Body import org.http4k.core.ContentType import org.http4k.lens.BiDiBodyLensSpec import org.http4k.lens.BiDiLensSpec import org.http4k.lens.BodyLensSpec import org.http4k.lens.Co...
apache-2.0
Kotlin
e99ed388a4de083c35790e5da797bd7691335252
replace deprecated gradle feature
http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k
http4k-serverless/lambda/integration-test/build.gradle.kts
http4k-serverless/lambda/integration-test/build.gradle.kts
dependencies { api(project(":http4k-core")) api(project(":http4k-cloudnative")) api(project(":http4k-serverless-lambda")) api(project(":http4k-aws")) api(project(":http4k-format-jackson")) api(project(":http4k-client-okhttp")) api("com.amazonaws:aws-lambda-java-events:_") api("dev.forkh...
dependencies { api(project(":http4k-core")) api(project(":http4k-cloudnative")) api(project(":http4k-serverless-lambda")) api(project(":http4k-aws")) api(project(":http4k-format-jackson")) api(project(":http4k-client-okhttp")) api("com.amazonaws:aws-lambda-java-events:_") api("dev.forkh...
apache-2.0
Kotlin
56f26ff9fa8e0410fabf66e4c3f34acb688cb730
refactor #506 Fix query to use for Android 10 and over.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
image/src/main/java/jp/toastkid/image/list/BucketLoader.kt
image/src/main/java/jp/toastkid/image/list/BucketLoader.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
7ef81aff18b7f08a7a39eaf8b5cf9707564ada48
Fix address pre-populate on line 1 (#4183)
stripe/stripe-android,stripe/stripe-android,stripe/stripe-android,stripe/stripe-android,stripe/stripe-android
paymentsheet/src/main/java/com/stripe/android/paymentsheet/paymentdatacollection/FormFragmentArguments.kt
paymentsheet/src/main/java/com/stripe/android/paymentsheet/paymentdatacollection/FormFragmentArguments.kt
package com.stripe.android.paymentsheet.paymentdatacollection import android.os.Parcelable import com.stripe.android.paymentsheet.model.Amount import com.stripe.android.paymentsheet.PaymentSheet import com.stripe.android.paymentsheet.elements.IdentifierSpec import kotlinx.parcelize.Parcelize @Parcelize internal data ...
package com.stripe.android.paymentsheet.paymentdatacollection import android.os.Parcelable import com.stripe.android.paymentsheet.model.Amount import com.stripe.android.paymentsheet.PaymentSheet import com.stripe.android.paymentsheet.elements.IdentifierSpec import kotlinx.parcelize.Parcelize @Parcelize internal data ...
mit
Kotlin
34efc0e6e974771e0a9be751d90cc8d79c878c75
Remove Image DSL builder for resId
facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho
litho-widget-kotlin/src/main/kotlin/com/facebook/litho/widget/Image.kt
litho-widget-kotlin/src/main/kotlin/com/facebook/litho/widget/Image.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
422592b7eccabc1a1d3bd7d18cd368a336004033
Correct json property name
vimeo/vimeo-networking-java,vimeo/vimeo-networking-java,vimeo/vimeo-networking-java
models/src/main/java/com/vimeo/networking2/SearchResult.kt
models/src/main/java/com/vimeo/networking2/SearchResult.kt
@file:JvmName("SearchResultUtils") package com.vimeo.networking2 import com.squareup.moshi.Json import com.squareup.moshi.JsonClass import com.vimeo.networking2.enums.SearchType import com.vimeo.networking2.enums.asEnum import java.io.Serializable /** * Search Result DTO. */ @JsonClass(generateAdapter = true) data...
@file:JvmName("SearchResultUtils") package com.vimeo.networking2 import com.squareup.moshi.Json import com.squareup.moshi.JsonClass import com.vimeo.networking2.enums.SearchType import com.vimeo.networking2.enums.asEnum import java.io.Serializable /** * Search Result DTO. */ @JsonClass(generateAdapter = true) data...
mit
Kotlin
467e068374a057844400bc5c7222772d378cad8c
use vararg instead of Array for Arguments annotation
noud02/Akatsuki
src/main/kotlin/me/noud02/akatsuki/annotations/Argument.kt
src/main/kotlin/me/noud02/akatsuki/annotations/Argument.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
019027313ebd35b4585fbf7e9fac9c9771803067
Add NumDotsPreferencePresenterTest
Doctoror/ParticleConstellationsLiveWallpaper,Doctoror/ParticleConstellationsLiveWallpaper
app/src/test/java/com/doctoror/particleswallpaper/presentation/presenter/NumDotsPreferencePresenterTest.kt
app/src/test/java/com/doctoror/particleswallpaper/presentation/presenter/NumDotsPreferencePresenterTest.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
91ff8974eb61062fae5bfa34d47943f7aadeb2fb
Refactor UndocumentPublicFunction rule
arturbosch/detekt,rock3r/detekt,Mauin/detekt,Mauin/detekt,arturbosch/detekt,arturbosch/detekt,Mauin/detekt,Mauin/detekt,rock3r/detekt,rock3r/detekt
detekt-rules/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/documentation/UndocumentedPublicFunction.kt
detekt-rules/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/documentation/UndocumentedPublicFunction.kt
package io.gitlab.arturbosch.detekt.rules.documentation import io.gitlab.arturbosch.detekt.api.CodeSmell import io.gitlab.arturbosch.detekt.api.Config import io.gitlab.arturbosch.detekt.api.Debt import io.gitlab.arturbosch.detekt.api.Entity import io.gitlab.arturbosch.detekt.api.Issue import io.gitlab.arturbosch.detek...
package io.gitlab.arturbosch.detekt.rules.documentation import io.gitlab.arturbosch.detekt.api.CodeSmell import io.gitlab.arturbosch.detekt.api.Config import io.gitlab.arturbosch.detekt.api.Debt import io.gitlab.arturbosch.detekt.api.Entity import io.gitlab.arturbosch.detekt.api.Issue import io.gitlab.arturbosch.detek...
apache-2.0
Kotlin
8e7b1d3612168f04eafc854b7e33e7dbec820a42
use fold in AlertUtil.encodeAlerts
Heiner1/AndroidAPS,Heiner1/AndroidAPS,Heiner1/AndroidAPS,Heiner1/AndroidAPS
omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/pod/util/AlertUtil.kt
omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/pod/util/AlertUtil.kt
package info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.pod.util import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.pod.definition.AlertType import java.util.* object AlertUtil { fun decodeAlertSet(encoded: Byte): EnumSet<AlertType> { val encodedInt = encoded.toInt() and 0xff ...
package info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.pod.util import info.nightscout.androidaps.plugins.pump.omnipod.dash.driver.pod.definition.AlertType import java.util.* object AlertUtil { fun decodeAlertSet(encoded: Byte): EnumSet<AlertType> { val encodedInt = encoded.toInt() and 0xff ...
agpl-3.0
Kotlin
39f63d3391a09f2696b4f8ffdb74aa0c8cabd3e4
Bump com.diffplug.spotless from 6.9.0 to 6.11.0 (#546)
open-telemetry/opentelemetry-java-contrib,open-telemetry/opentelemetry-java-contrib,open-telemetry/opentelemetry-java-contrib
buildSrc/build.gradle.kts
buildSrc/build.gradle.kts
plugins { `kotlin-dsl` // When updating, update below in dependencies too id("com.diffplug.spotless") version "6.11.0" } repositories { mavenCentral() gradlePluginPortal() mavenLocal() } dependencies { // When updating, update above in plugins too implementation("com.diffplug.spotless:spotless-plugin-...
plugins { `kotlin-dsl` // When updating, update below in dependencies too id("com.diffplug.spotless") version "6.9.0" } repositories { mavenCentral() gradlePluginPortal() mavenLocal() } dependencies { // When updating, update above in plugins too implementation("com.diffplug.spotless:spotless-plugin-g...
apache-2.0
Kotlin
88bacfd1261793085c8639e0512c889a2d4c531f
refactor #506 Delete unused function.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
app/src/main/java/jp/toastkid/yobidashi/media/image/preview/ViewHolder.kt
app/src/main/java/jp/toastkid/yobidashi/media/image/preview/ViewHolder.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
f3cb255686ca0c04da9ba8f6b6437486229f9221
Remove the FIXME.
pokk/mvp-magazine,pokk/mvp-magazine
app/src/main/kotlin/taiwan/no1/accounting/mvp/presenters/MainPresenter.kt
app/src/main/kotlin/taiwan/no1/accounting/mvp/presenters/MainPresenter.kt
package taiwan.no1.accounting.mvp.presenters import dagger.internal.Preconditions import rx.lang.kotlin.subscriber import taiwan.no1.accounting.domain.CreateFakeUseCase import taiwan.no1.accounting.internal.di.annotations.PerActivity import taiwan.no1.accounting.mvp.contracts.MainContract import taiwan.no1.accounting....
package taiwan.no1.accounting.mvp.presenters import dagger.internal.Preconditions import rx.lang.kotlin.subscriber import taiwan.no1.accounting.domain.CreateFakeUseCase import taiwan.no1.accounting.internal.di.annotations.PerActivity import taiwan.no1.accounting.mvp.contracts.MainContract import taiwan.no1.accounting....
apache-2.0
Kotlin
94557aace8aed9c156994b207c2d3371b53d2f6a
Add information for a workaround.
android/user-interface-samples,android/user-interface-samples
WindowManager/app/src/main/java/com/example/windowmanagersample/WindowMetricsActivity.kt
WindowManager/app/src/main/java/com/example/windowmanagersample/WindowMetricsActivity.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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
/* * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
apache-2.0
Kotlin
f20bb5828f6d195cc2d1da3a418c6c2446a3240b
Use kotlin expression builder
bibaev/stream-debugger-plugin,bibaev/stream-debugger-plugin
src/main/java/com/intellij/debugger/streams/lib/impl/KotlinLanguage.kt
src/main/java/com/intellij/debugger/streams/lib/impl/KotlinLanguage.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
2b42485f6b40913152f7cea86c6916f9596b7f22
Edit thumbnail links to escape % signs in file path
allen-garvey/photog-spark,allen-garvey/photog-spark,allen-garvey/photog-spark
src/main/kotlin/views/ImageView.kt
src/main/kotlin/views/ImageView.kt
package views import models.Image import models.Thumbnail /** * Created by allen on 3/30/17. */ class ImageView{ fun urlForImage(image: Image?): String{ if(image != null){ return "http://photog.alaska.dev/media/images/" + image.path } return "" } fun urlForThumbnail...
package views import models.Image import models.Thumbnail /** * Created by allen on 3/30/17. */ class ImageView{ fun urlForImage(image: Image?): String{ if(image != null){ return "http://photog.alaska.dev/media/images/" + image.path } return "" } fun urlForThumbnail...
mit
Kotlin
e958dfa153337dcc8c47d2675203180e2c0242c2
use proper names for functions
droidcon-italy-hackathon-2016/memory-leaks-android
app/src/main/java/com/elpassion/memoryleaks/register/visitor/RegisterVisitorController.kt
app/src/main/java/com/elpassion/memoryleaks/register/visitor/RegisterVisitorController.kt
package com.elpassion.memoryleaks.register.visitor import com.elpassion.memoryleaks.register.visitor.view.RegisterVisitorView import rx.Observable class RegisterVisitorController( private val registerVisitor: (name: String) -> Observable<Unit>, private val view: RegisterVisitorView) { fun onRegis...
package com.elpassion.memoryleaks.register.visitor import com.elpassion.memoryleaks.register.visitor.view.RegisterVisitorView import rx.Observable class RegisterVisitorController( private val apiCall: (name: String) -> Observable<Unit>, private val view: RegisterVisitorView) { fun onRegisterClick...
apache-2.0
Kotlin
73472e1345bb6841c1fbb30c40fcb029511ef5d2
Add longer timeout for GitHub actions
yongce/AndroidLib,yongce/AndroidLib
baseLib/src/androidTest/java/me/ycdev/android/lib/common/async/HandlerTaskExecutorTest.kt
baseLib/src/androidTest/java/me/ycdev/android/lib/common/async/HandlerTaskExecutorTest.kt
package me.ycdev.android.lib.common.async import android.os.Looper import android.os.SystemClock import androidx.test.filters.LargeTest import com.google.common.truth.Truth.assertThat import org.junit.Test import java.util.ArrayList import java.util.concurrent.CountDownLatch import java.util.concurrent.TimeUnit @Larg...
package me.ycdev.android.lib.common.async import android.os.Looper import android.os.SystemClock import androidx.test.filters.LargeTest import com.google.common.truth.Truth.assertThat import org.junit.Test import java.util.ArrayList import java.util.concurrent.CountDownLatch import java.util.concurrent.TimeUnit @Larg...
apache-2.0
Kotlin
aeba09e69903fc2783f771fc1d924fbfd6e715c1
Fix input path sensitivity for R2Generator task
ze-pequeno/butterknife,hzsweers/butterknife,ze-pequeno/butterknife,JakeWharton/butterknife,hzsweers/butterknife,ze-pequeno/butterknife,JakeWharton/butterknife,ze-pequeno/butterknife,hzsweers/butterknife,JakeWharton/butterknife,JakeWharton/butterknife
butterknife-gradle-plugin/src/main/java/butterknife/plugin/R2Generator.kt
butterknife-gradle-plugin/src/main/java/butterknife/plugin/R2Generator.kt
package butterknife.plugin import org.gradle.api.DefaultTask import org.gradle.api.file.FileCollection import org.gradle.api.tasks.Input import org.gradle.api.tasks.InputFiles import org.gradle.api.tasks.OutputDirectory import org.gradle.api.tasks.PathSensitive import org.gradle.api.tasks.PathSensitivity import org.gr...
package butterknife.plugin import org.gradle.api.DefaultTask import org.gradle.api.file.FileCollection import org.gradle.api.tasks.Input import org.gradle.api.tasks.InputFiles import org.gradle.api.tasks.OutputDirectory import org.gradle.api.tasks.TaskAction import java.io.File open class R2Generator : DefaultTask() ...
apache-2.0
Kotlin
cc3efc4a0daba630bf64f1f51508e50d40fa2eac
Verify the false positive.
Mauin/detekt,arturbosch/detekt,arturbosch/detekt,rock3r/detekt,rock3r/detekt,rock3r/detekt,Mauin/detekt,Mauin/detekt,arturbosch/detekt,Mauin/detekt
detekt-rules/src/test/resources/cases/ExceptionRaisedInMethodsNegative.kt
detekt-rules/src/test/resources/cases/ExceptionRaisedInMethodsNegative.kt
@file:Suppress("unused", "ConstantConditionIf", "RedundantOverride") package cases open class NoExceptionRaisedInMethods { init { throw IllegalStateException() } override fun toString(): String { return super.toString() } override fun hashCode(): Int { return super.hashCode() } override fun equals(ot...
@file:Suppress("unused", "ConstantConditionIf", "RedundantOverride") package cases open class NoExceptionRaisedInMethods { init { throw IllegalStateException() } override fun toString(): String { return super.toString() } override fun hashCode(): Int { return super.hashCode() } override fun equals(ot...
apache-2.0
Kotlin
458efb1a9732d81315e5d3bf7580c329687b4ed3
Bump auto-common from 0.10 to 1.0 (#851)
ACRA/acra,ACRA/acra,ACRA/acra,ACRA/acra
annotationprocessor/build.gradle.kts
annotationprocessor/build.gradle.kts
/* * Copyright (c) 2020 * * 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 writi...
/* * Copyright (c) 2020 * * 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 writi...
apache-2.0
Kotlin
eeb169d7c5407c8c15177b00fb2ec5fc0eb31b1d
Fix typo
InsertKoinIO/koin,Ekito/koin,InsertKoinIO/koin,Ekito/koin,InsertKoinIO/koin
koin-core/src/main/kotlin/org/koin/Koin.kt
koin-core/src/main/kotlin/org/koin/Koin.kt
package org.koin import org.koin.core.bean.BeanRegistry import org.koin.core.instance.InstanceFactory import org.koin.core.property.PropertyRegistry import org.koin.dsl.context.Context import org.koin.dsl.module.Module import org.koin.log.EmptyLogger import org.koin.log.Logger import java.util.* /** * Koin Context B...
package org.koin import org.koin.core.bean.BeanRegistry import org.koin.core.instance.InstanceFactory import org.koin.core.property.PropertyRegistry import org.koin.dsl.context.Context import org.koin.dsl.module.Module import org.koin.log.EmptyLogger import org.koin.log.Logger import java.util.* /** * Koin Context B...
apache-2.0
Kotlin
721515b7518dcfe4c81e10a37ccec9bf0bffd38d
support Makefile.* fixes #11
kropp/intellij-makefile
src/main/kotlin/name/kropp/intellij/makefile/MakefileFileType.kt
src/main/kotlin/name/kropp/intellij/makefile/MakefileFileType.kt
package name.kropp.intellij.makefile import com.intellij.icons.AllIcons import com.intellij.openapi.fileTypes.* import com.intellij.openapi.util.IconLoader import org.jetbrains.jps.model.fileTypes.FileNameMatcherFactory val MakefileIcon = IconLoader.getIcon("/name/kropp/intellij/makefile/makefile.png") val MakefileTa...
package name.kropp.intellij.makefile import com.intellij.icons.AllIcons import com.intellij.openapi.fileTypes.* import com.intellij.openapi.util.IconLoader val MakefileIcon = IconLoader.getIcon("/name/kropp/intellij/makefile/makefile.png") val MakefileTargetIcon = AllIcons.General.Run!! object MakefileFileType : Lan...
mit
Kotlin
12499506dcf965b04470977224e738492c85f1fe
Remove dead code
cdcalc/cdcalc,cdcalc/cdcalc
core/src/main/kotlin/com/github/cdcalc/strategy/FindMatchingStrategy.kt
core/src/main/kotlin/com/github/cdcalc/strategy/FindMatchingStrategy.kt
package com.github.cdcalc.strategy import com.github.cdcalc.data.SemVer fun match(name: String): (String) -> Boolean { return { branch -> branch == name } } fun matches(searchString: String): (String) -> Boolean { return { branch -> searchString .toRegex() .containsMat...
package com.github.cdcalc.strategy import com.github.cdcalc.data.SemVer fun match(name: String): (String) -> Boolean { return { branch -> branch == name } } fun matches(searchString: String): (String) -> Boolean { return { branch -> searchString .toRegex() .containsMat...
mit
Kotlin
a85fc96ad9b1265b0e6f0d4e8b97ab5aec847f1a
Update tests
KotlinNLP/SimpleDNN
src/test/kotlin/core/layers/feedforward/normalization/NormalizationLayerParametersSpec.kt
src/test/kotlin/core/layers/feedforward/normalization/NormalizationLayerParametersSpec.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
ac35b9fab2c441859717257909646e1b66303985
fix build
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
rider/src/main/kotlin/com/jetbrains/rider/plugins/unity/SaveAllTracker.kt
rider/src/main/kotlin/com/jetbrains/rider/plugins/unity/SaveAllTracker.kt
package com.jetbrains.rider.plugins.unity import com.intellij.application.subscribe import com.intellij.ide.actions.SaveAllAction import com.intellij.ide.actions.SaveDocumentAction import com.intellij.openapi.Disposable import com.intellij.openapi.actionSystem.AnAction import com.intellij.openapi.actionSystem.AnAction...
package com.jetbrains.rider.plugins.unity import com.intellij.application.subscribe import com.intellij.ide.actions.SaveAllAction import com.intellij.ide.actions.SaveDocumentAction import com.intellij.openapi.Disposable import com.intellij.openapi.actionSystem.AnAction import com.intellij.openapi.actionSystem.AnAction...
apache-2.0
Kotlin
1d43ecb74de66248a6fcf9f6823a3957738fd1b3
refactor #605 Add test case.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
lib/src/test/java/jp/toastkid/lib/intent/GetContentIntentFactoryTest.kt
lib/src/test/java/jp/toastkid/lib/intent/GetContentIntentFactoryTest.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
098356dcbc52f8719d9ec9bd4bde72b0d7f5daa6
refactor #580 Implement use case' test case.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
article/src/test/java/jp/toastkid/article_viewer/article/list/usecase/UpdateUseCaseTest.kt
article/src/test/java/jp/toastkid/article_viewer/article/list/usecase/UpdateUseCaseTest.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
b95e8cbca5787b9abb10f780fd46dfef53135008
refactor TransactionManagerImpl in `falkon-engine-jdbc`
jayrave/falkon
falkon-engine-jdbc/src/main/kotlin/com/jayrave/falkon/engine/jdbc/TransactionManagerImpl.kt
falkon-engine-jdbc/src/main/kotlin/com/jayrave/falkon/engine/jdbc/TransactionManagerImpl.kt
package com.jayrave.falkon.engine.jdbc import java.sql.Connection import java.sql.SQLException import javax.sql.DataSource /** * A class to manage database transactions (nested transactions are not supported). * Exception is thrown when trying to nest transactions */ internal class TransactionManagerImpl(private v...
package com.jayrave.falkon.engine.jdbc import java.sql.Connection import java.sql.SQLException import java.util.* import javax.sql.DataSource /** * A class to manage database transactions (nested transactions are not supported). * Exception is thrown when trying to nest transactions */ internal class TransactionMa...
apache-2.0
Kotlin