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 |
|---|---|---|---|---|---|---|---|---|
1712c0d59183ff5768b467c033d75f7fb589c09f | Update KtLint to 0.38.1 (#3013) | arturbosch/detekt,arturbosch/detekt,arturbosch/detekt | detekt-bom/build.gradle.kts | detekt-bom/build.gradle.kts | plugins {
`java-platform`
}
dependencies {
val version = object {
val spek = "2.0.12"
val ktlint = "0.38.1"
}
constraints {
api("org.assertj:assertj-core:3.16.1")
api("org.spekframework.spek2:spek-dsl-jvm:${version.spek}")
api("org.spekframework.spek2:spek-runne... | plugins {
`java-platform`
}
dependencies {
val version = object {
val spek = "2.0.12"
val ktlint = "0.38.0"
}
constraints {
api("org.assertj:assertj-core:3.16.1")
api("org.spekframework.spek2:spek-dsl-jvm:${version.spek}")
api("org.spekframework.spek2:spek-runne... | apache-2.0 | Kotlin |
aaea56f3c9c898bb6323bf6cf1dad4a93e20d5c9 | Remove unneeded braces | ids1024/whitakers-words-android,ids1024/whitakers-words-android | src/main/kotlin/com/ids1024/whitakerswords/WhitakersWords.kt | src/main/kotlin/com/ids1024/whitakerswords/WhitakersWords.kt | package com.ids1024.whitakerswords
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import kotlinx.android.synthetic.main.main.drawer_layout
import kotlinx.android.synthetic.main.main.nav_view
class WhitakersWords : AppCompatActivity() {
public override fun onCreate(savedInstanceState: Bu... | package com.ids1024.whitakerswords
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import kotlinx.android.synthetic.main.main.drawer_layout
import kotlinx.android.synthetic.main.main.nav_view
class WhitakersWords : AppCompatActivity() {
public override fun onCreate(savedInstanceState: Bu... | mit | Kotlin |
f80424763716294ecd97c3b7da5380b81578dd27 | Remove useless null elvis operator check. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | app/src/main/java/org/mozilla/focus/whatsnew/WhatsNewVersion.kt | app/src/main/java/org/mozilla/focus/whatsnew/WhatsNewVersion.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/. */
package org.mozilla.focus.whatsnew
import android.content.Context
import mozilla.components.support.ktx.android.c... | /* 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/. */
package org.mozilla.focus.whatsnew
import android.content.Context
import mozilla.components.support.ktx.android.c... | mpl-2.0 | Kotlin |
d9f4f80c749cd55894c7f06129fbe53db4ea1963 | Remove debug code | RanolP/Kubo | Kubo-Discord/src/main/kotlin/io/github/ranolp/kubo/discord/DiscordAdapter.kt | Kubo-Discord/src/main/kotlin/io/github/ranolp/kubo/discord/DiscordAdapter.kt | package io.github.ranolp.kubo.discord
import io.github.ranolp.kubo.KuboAdapter
import io.github.ranolp.kubo.discord.objects.DiscordUser
import io.github.ranolp.kubo.general.User
import io.github.ranolp.kubo.general.command.CommandData
import io.github.ranolp.kubo.general.command.CommandParser
import net.dv8tion.jda.co... | package io.github.ranolp.kubo.discord
import io.github.ranolp.kubo.KuboAdapter
import io.github.ranolp.kubo.discord.objects.DiscordUser
import io.github.ranolp.kubo.general.User
import io.github.ranolp.kubo.general.command.CommandData
import io.github.ranolp.kubo.general.command.CommandParser
import net.dv8tion.jda.co... | mit | Kotlin |
c39effe104d101dd4ecd8a6f027fce7746fe4f4a | Fix CancellableContinuationJvmTest (1.3.20 specific) | Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines | core/kotlinx-coroutines-core/test/CancellableContinuationJvmTest.kt | core/kotlinx-coroutines-core/test/CancellableContinuationJvmTest.kt | /*
* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.coroutines
import kotlin.coroutines.*
import kotlin.test.*
class CancellableContinuationJvmTest : TestBase() {
@Test
fun testToString() = runTest {
checkToString()
}
... | /*
* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.coroutines
import kotlin.coroutines.*
import kotlin.test.*
class CancellableContinuationJvmTest : TestBase() {
@Test
fun testToString() = runTest {
checkToString()
}
... | apache-2.0 | Kotlin |
b6ddc48552c58864f78102f42b195ce482e42278 | Disable `r#` folding by default | intellij-rust/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust | src/test/kotlin/org/rust/ide/folding/RsFoldingBuilderTest.kt | src/test/kotlin/org/rust/ide/folding/RsFoldingBuilderTest.kt | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.ide.folding
import org.rust.RsTestBase
class RsFoldingBuilderTest : RsTestBase() {
override val dataPath = "org/rust/ide/folding/fixtures"
fun `test fn`() = doTest()
fun `test raw ... | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.ide.folding
import org.rust.RsTestBase
class RsFoldingBuilderTest : RsTestBase() {
override val dataPath = "org/rust/ide/folding/fixtures"
init {
RsCodeFoldingSettings.instance... | mit | Kotlin |
3702faf519c11e6041adb846841968123e5a3065 | Add HANEncodersPool | KotlinNLP/SimpleDNN | src/main/kotlin/com/kotlinnlp/simplednn/deeplearning/attentionnetwork/han/HANEncodersPool.kt | src/main/kotlin/com/kotlinnlp/simplednn/deeplearning/attentionnetwork/han/HANEncodersPool.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/.
* ------------------------------------------... | mpl-2.0 | Kotlin | |
641bd133eb97b90bbcef8acac8bb75f8d6d79051 | Fix observation create mapview update | ngageoint/mage-android,ngageoint/mage-android | mage/src/main/java/mil/nga/giat/mage/form/FormState.kt | mage/src/main/java/mil/nga/giat/mage/form/FormState.kt | package mil.nga.giat.mage.form
import androidx.compose.runtime.mutableStateOf
import mil.nga.giat.mage.form.field.FieldState
import mil.nga.giat.mage.form.field.FieldValue
class FormState(
val id: Long? = null,
val remoteId: String? = null,
val eventId: String,
val definition: Form,
val fields: List<FieldSt... | package mil.nga.giat.mage.form
import androidx.compose.runtime.mutableStateOf
import mil.nga.giat.mage.form.field.FieldState
import mil.nga.giat.mage.form.field.FieldValue
class FormState(
val id: Long? = null,
val remoteId: String? = null,
val eventId: String,
val definition: Form,
val fields: List<FieldSt... | apache-2.0 | Kotlin |
d2633a900cee144102fa9dd74c9d7ae1ecf23516 | rename switchMap to flatMap to match the common flatMap term | GlobalTechnology/android-gto-support,CruGlobal/android-gto-support,CruGlobal/android-gto-support | gto-support-lifecycle/src/main/java/org/ccci/gto/android/common/lifecycle/Transformations2.kt | gto-support-lifecycle/src/main/java/org/ccci/gto/android/common/lifecycle/Transformations2.kt | @file:JvmName("Transformations2")
package org.ccci.gto.android.common.lifecycle
import androidx.lifecycle.LiveData
import androidx.lifecycle.MediatorLiveData
import androidx.lifecycle.Observer
import androidx.lifecycle.Transformations
/**
* This method will combine 2 LiveData objects into a new LiveData object by r... | @file:JvmName("Transformations2")
package org.ccci.gto.android.common.lifecycle
import androidx.lifecycle.LiveData
import androidx.lifecycle.MediatorLiveData
import androidx.lifecycle.Observer
import androidx.lifecycle.Transformations
/**
* This method will combine 2 LiveData objects into a new LiveData object by r... | mit | Kotlin |
6f4e0e096b0ae1e92023fbe1d7efdb8d42102f7a | refactor #523 Re-order fields. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/menu/MenuViewModel.kt | app/src/main/java/jp/toastkid/yobidashi/menu/MenuViewModel.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 |
29697779fd8a73b68f3d2d259b1f68d37f3a9a90 | add Loader class | clappr/clappr-android,clappr/clappr-android | player/src/main/kotlin/com/globo/clappr/base/Loader.kt | player/src/main/kotlin/com/globo/clappr/base/Loader.kt | package com.globo.clappr.base
import com.globo.clappr.plugin.Plugin
import kotlin.reflect.KClass
class Loader {
val corePlugins : MutableSet<KClass<Plugin>> = mutableSetOf(Plugin::class)
} | bsd-3-clause | Kotlin | |
93f6e43477643dbdf243d748bc23f39a8c9f8698 | Update dependency org.apache.logging.log4j:log4j-slf4j-impl to v2.16.0 | rahulsom/grooves,rahulsom/grooves,rahulsom/grooves | grooves-core/build.gradle.kts | grooves-core/build.gradle.kts | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.jetbrains.kotlin.jvm")
id("org.jlleitschuh.gradle.ktlint")
id("dev.jacomet.logging-capabilities") version "0.+"
id("io.freefair.aspectj.post-compile-weaving") version "6.3.0"
id("com.github.rahulsom.waena.published")
`java... | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.jetbrains.kotlin.jvm")
id("org.jlleitschuh.gradle.ktlint")
id("dev.jacomet.logging-capabilities") version "0.+"
id("io.freefair.aspectj.post-compile-weaving") version "6.3.0"
id("com.github.rahulsom.waena.published")
`java... | apache-2.0 | Kotlin |
311925ffb610a30ff402ef2dd58e471d1907dd22 | add test parser | nryotaro/edgar-crawler,nryotaro/edgar-crawler,nryotaro/edgar-crawler,nryotaro/edgar-crawler | src/test/kotlin/org/nryotaro/edgar/text/FilingDetailparserTest.kt | src/test/kotlin/org/nryotaro/edgar/text/FilingDetailparserTest.kt | package org.nryotaro.edgar.text
import org.hamcrest.core.Is.`is`
import org.junit.Assert.assertThat
import org.junit.Test
import org.nryotaro.edgar.EdgarTest
import org.nryotaro.edgar.plain.filingdetail.Document
import org.nryotaro.edgar.plain.filingdetail.FilingDetail
import org.springframework.beans.factory.annotati... | package org.nryotaro.edgar.text
import org.junit.Test
import org.nryotaro.edgar.EdgarTest
import org.springframework.beans.factory.annotation.Autowired
class FilingDetailParserTest: EdgarTest() {
@Autowired
lateinit var parser: FilingDetailParser
@Test
fun parse() {
val c = parser.parse(rea... | mit | Kotlin |
b1119adfc7767767f11c7085b2d6185c9d1921e5 | Use "Context#withStyledAttributes" extension function. | k9mail/k-9,cketti/k-9,k9mail/k-9,cketti/k-9,cketti/k-9,cketti/k-9,k9mail/k-9 | app/ui/legacy/src/main/java/com/fsck/k9/ui/settings/account/AutocryptPreferEncryptPreference.kt | app/ui/legacy/src/main/java/com/fsck/k9/ui/settings/account/AutocryptPreferEncryptPreference.kt | package com.fsck.k9.ui.settings.account
import android.annotation.SuppressLint
import android.content.Context
import android.util.AttributeSet
import androidx.core.content.res.TypedArrayUtils
import androidx.core.content.withStyledAttributes
import androidx.preference.PreferenceViewHolder
import androidx.preference.Tw... | package com.fsck.k9.ui.settings.account
import android.annotation.SuppressLint
import android.content.Context
import android.util.AttributeSet
import androidx.core.content.res.TypedArrayUtils
import androidx.preference.PreferenceViewHolder
import androidx.preference.TwoStatePreference
import com.fsck.k9.ui.R
import co... | apache-2.0 | Kotlin |
1c4b8c7cc6efd50a6ad46b03d51b0f6aa06a5352 | Remove workaround for Kotlin bug KT-9140 | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-core/src/org/jetbrains/ktor/http/RequestCookies.kt | ktor-core/src/org/jetbrains/ktor/http/RequestCookies.kt | package org.jetbrains.ktor.http
import org.jetbrains.ktor.application.*
import java.util.*
import java.util.concurrent.*
public open class RequestCookies(private val request: ApplicationRequest) {
private val map = ConcurrentHashMap<Pair<CookieEncoding, String>, String>()
public operator fun get(name: String... | package org.jetbrains.ktor.http
import org.jetbrains.ktor.application.*
import java.util.*
import java.util.concurrent.*
public open class RequestCookies(private val request: ApplicationRequest) {
private val map = ConcurrentHashMap<Pair<CookieEncoding, String>, String>()
// TODO: Remove in favor of default ... | apache-2.0 | Kotlin |
019fa792c873d3a80d483cfce28672b6c0140bd1 | add TimeOfDay.toLocalTime | camsteffen/polite,camsteffen/polite | src/main/java/me/camsteffen/polite/util/TimeOfDay.kt | src/main/java/me/camsteffen/polite/util/TimeOfDay.kt | package me.camsteffen.polite.util
import android.content.Context
import android.text.format.DateFormat
import org.threeten.bp.LocalTime
import java.text.SimpleDateFormat
import java.util.Calendar
import java.util.GregorianCalendar
import java.util.Locale
class TimeOfDay : Comparable<TimeOfDay> {
private var minu... | package me.camsteffen.polite.util
import android.content.Context
import android.text.format.DateFormat
import java.text.SimpleDateFormat
import java.util.Calendar
import java.util.GregorianCalendar
import java.util.Locale
class TimeOfDay : Comparable<TimeOfDay> {
private var minutes: Int
val hour: Int
... | mpl-2.0 | Kotlin |
bfadd0ac53f2865a72054b38b5d9eca405a03275 | update aac 1.1.1 | satoshun/RxLifecycleOwner | buildSrc/src/main/java/Dependencies.kt | buildSrc/src/main/java/Dependencies.kt | object Vers {
val agp = "3.1.2"
val compile_sdk = 27
val min_sdk = 14
val target_sdk = 27
val kotlin = "1.2.41"
val support_lib = "27.1.1"
}
object Libs {
val android_plugin = "com.android.tools.build:gradle:${Vers.agp}"
val kotlin_plugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Vers.kotlin}"
... | object Vers {
val agp = "3.1.2"
val compile_sdk = 27
val min_sdk = 14
val target_sdk = 27
val kotlin = "1.2.41"
val support_lib = "27.1.1"
}
object Libs {
val android_plugin = "com.android.tools.build:gradle:${Vers.agp}"
val kotlin_plugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Vers.kotlin}"
... | apache-2.0 | Kotlin |
5b4955664c4dbbe7ffab43d5c6d6eab1e7463bff | Fix up StringPref for the new property setup. | jguerinet/android-utils,jguerinet/Suitcase,jguerinet/android-utils,jguerinet/Suitcase | prefs/src/main/java/com/guerinet/suitcase/prefs/StringPref.kt | prefs/src/main/java/com/guerinet/suitcase/prefs/StringPref.kt | /*
* Copyright 2016-2018 Julien Guerinet
*
* 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 2016-2018 Julien Guerinet
*
* 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 |
b6bb3aafaafefba5822bc3c57e8e8f12e7416d31 | Correct test method names in OnTest | michaelbull/kotlin-result | src/test/kotlin/com/github/michaelbull/result/OnTest.kt | src/test/kotlin/com/github/michaelbull/result/OnTest.kt | package com.github.michaelbull.result
import kotlin.test.Test
import kotlin.test.assertEquals
internal class OnTest {
object CounterError
class Counter(var count: Int)
internal class `onSuccess` {
@Test
internal fun invokesActionIfOk() {
val counter = Counter(50)
... | package com.github.michaelbull.result
import kotlin.test.Test
import kotlin.test.assertEquals
internal class OnTest {
object CounterError
class Counter(var count: Int)
internal class `onSuccess` {
@Test
internal fun invokesCallbackIfOk() {
val counter = Counter(50)
... | isc | Kotlin |
d211a1b5e81e08abd48e3e15ece3601fddc1be71 | Add Quintet | operando/Guild,operando/Guild | guild-kotlin/src/main/kotlin/com/os/operando/guild/Quintet.kt | guild-kotlin/src/main/kotlin/com/os/operando/guild/Quintet.kt | package com.os.operando.guild
/**
* A tuple of five elements.
*
* @param F first element type
* @param S second element type
* @param T third element type
* @param FO fourth element type
* @param FI five element type
* @property first First value
* @property second Second value
* @property third Third val... | apache-2.0 | Kotlin | |
58a1e46480649163579608caa3e38bdddd7b1d45 | Make the classes table use auto-incrementing | FarbodSalamat-Zadeh/TimetableApp,FarbodSalamat-Zadeh/TimetableApp | app/src/main/java/co/timetableapp/data/schema/ClassesSchema.kt | app/src/main/java/co/timetableapp/data/schema/ClassesSchema.kt | package co.timetableapp.data.schema
import android.provider.BaseColumns
/**
* The schema for the 'classes' table, containing constants for the column names and an SQLite
* create statement.
*
* @see co.timetableapp.model.Class
*/
object ClassesSchema : BaseColumns {
const val TABLE_NAME = "classes"
cons... | package co.timetableapp.data.schema
import android.provider.BaseColumns
/**
* The schema for the 'classes' table, containing constants for the column names and an SQLite
* create statement.
*
* @see co.timetableapp.model.Class
*/
object ClassesSchema : BaseColumns {
const val TABLE_NAME = "classes"
cons... | apache-2.0 | Kotlin |
f4643292bb03f87e88cfd84799cb7b6e80b5ee03 | Allow specifying a string name without val | lnr0626/cfn-templates,lnr0626/cfn-templates | base-models/src/main/kotlin/com/lloydramey/cfn/model/Output.kt | base-models/src/main/kotlin/com/lloydramey/cfn/model/Output.kt | package com.lloydramey.cfn.model
import com.fasterxml.jackson.annotation.JsonIgnore
import com.lloydramey.cfn.model.functions.AwsTemplateValue
import com.lloydramey.cfn.model.functions.Val
data class Export(val name: AwsTemplateValue) {
constructor(name: String) : this(Val(name))
}
class Output(@JsonIgnore val n... | package com.lloydramey.cfn.model
import com.fasterxml.jackson.annotation.JsonIgnore
import com.lloydramey.cfn.model.functions.AwsTemplateValue
data class Export(val name: AwsTemplateValue)
class Output(@JsonIgnore val name: String, val value: AwsTemplateValue, val description: String? = null, val export: Export? = n... | apache-2.0 | Kotlin |
f2ba9d121356742f604aa1e89bbea6684bd52e8a | Create MyTable.kt | elifarley/kotlin-misc-lib,elifarley/kotlin-examples,elifarley/kotlin-misc-lib,elifarley/kotlin-examples | src/com/github/elifarley/kotlin/MyTable.kt | src/com/github/elifarley/kotlin/MyTable.kt | package com.orgecc.myproj.model
import javax.persistence.*
import java.math.BigDecimal
import java.util.Date
// Insert rows via stored procedure
/*
MS-SQL:
CREATE TABLE dbo.MY_TABLE (
CREATED datetime NOT NULL CONSTRAINT DF_CREATED DEFAULT CURRENT_TIMESTAMP,
UPDATED datetime NOT NULL CONSTRAINT DF_UPDATED DEFAULT... | mit | Kotlin | |
eece08feb959722f0bfeeac1ce5e3ba62e6ff9dd | Add PlaybackReportersTest | Doctoror/PainlessMusicPlayer,Doctoror/PainlessMusicPlayer,Doctoror/PainlessMusicPlayer,Doctoror/FuckOffMusicPlayer,Doctoror/FuckOffMusicPlayer | data/src/test/java/com/doctoror/fuckoffmusicplayer/data/playback/usecase/PlaybackReportersTest.kt | data/src/test/java/com/doctoror/fuckoffmusicplayer/data/playback/usecase/PlaybackReportersTest.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 | |
48d2564ab12aecd92ba49cd6c1dbbded4267cb46 | refactor #382 Add private. | toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/browser/archive/Archive.kt | app/src/main/java/jp/toastkid/yobidashi/browser/archive/Archive.kt | package jp.toastkid.yobidashi.browser.archive
import android.content.Context
import android.net.Uri
import android.os.Build
import android.webkit.WebView
import jp.toastkid.yobidashi.libs.storage.FilesDir
import java.io.File
import java.io.IOException
/**
* Archive dir.
*
* @author toastkidjp
*/
internal object A... | package jp.toastkid.yobidashi.browser.archive
import android.content.Context
import android.net.Uri
import android.os.Build
import android.webkit.WebView
import jp.toastkid.yobidashi.libs.storage.FilesDir
import java.io.File
import java.io.IOException
/**
* Archive dir.
*
* @author toastkidjp
*/
internal object A... | epl-1.0 | Kotlin |
de3aed0d673782875aa97c6531f9eb4e5f46a019 | use memory info | nonylene/MackerelAgentAndroid,nonylene/MackerelAgentAndroid,nonylene/MackerelAgentAndroid | app/src/main/java/net/nonylene/mackerelagent/host/metric/Memory.kt | app/src/main/java/net/nonylene/mackerelagent/host/metric/Memory.kt | package net.nonylene.mackerelagent.host.metric
import net.nonylene.mackerelagent.host.spec.getMemoryInfo
import java.util.*
fun getMemoryMetrics(): MemoryMetrics {
val info = getMemoryInfo()
val used = info.total!! - info.free!! - info.cached!! - info.buffers!!
return MemoryMetrics(info.free, info.buffer... | package net.nonylene.mackerelagent.host.metric
import java.io.File
import java.util.*
fun getMemoryInfo(): MemoryInfo {
val regex = Regex("(.*):\\s*(\\d+)\\s+kB")
val map = HashMap<String, Long>()
File("/proc/meminfo").forEachLine {
regex.find(it)?.let { result ->
val values = result.g... | mit | Kotlin |
f1ee7eff2cc053f9675cdc7dd015b0bb5493fcb1 | Use timezone when formatting non-session event times | squanchy-dev/squanchy-android,squanchy-dev/squanchy-android,squanchy-dev/squanchy-android | app/src/main/java/net/squanchy/schedule/view/OtherEventItemView.kt | app/src/main/java/net/squanchy/schedule/view/OtherEventItemView.kt | package net.squanchy.schedule.view
import android.content.Context
import android.support.annotation.DrawableRes
import android.util.AttributeSet
import kotlinx.android.synthetic.main.item_schedule_event_other.view.*
import net.squanchy.R
import net.squanchy.schedule.domain.view.Event
import org.joda.time.format.DateTi... | package net.squanchy.schedule.view
import android.content.Context
import android.support.annotation.DrawableRes
import android.util.AttributeSet
import kotlinx.android.synthetic.main.item_schedule_event_other.view.*
import net.squanchy.R
import net.squanchy.schedule.domain.view.Event
import org.joda.time.format.DateTi... | apache-2.0 | Kotlin |
9eb0ff47fd8eaee723c745d6da41fd6c4f08c275 | Add const val for api key header. | ramonrabello/Kiphy | app/src/main/kotlin/com/github/ramonrabello/kiphy/data/GiphyApi.kt | app/src/main/kotlin/com/github/ramonrabello/kiphy/data/GiphyApi.kt | package com.github.ramonrabello.kiphy.data
import com.github.ramonrabello.kiphy.BuildConfig
import com.github.ramonrabello.kiphy.trends.TrendingEndpoint
import com.google.gson.GsonBuilder
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.converter.gson... | package com.github.ramonrabello.kiphy.data
import com.github.ramonrabello.kiphy.BuildConfig
import com.github.ramonrabello.kiphy.trends.TrendingEndpoint
import com.google.gson.GsonBuilder
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.converter.gson... | apache-2.0 | Kotlin |
79d9a6638c14fe65d34adecc292b69bbd194dacb | Fix test warning | mix-it/mixit,sdeleuze/mixit,mixitconf/mixit,sdeleuze/mixit,mix-it/mixit,mixitconf/mixit,sdeleuze/mixit,mix-it/mixit,sdeleuze/mixit,mixitconf/mixit,mix-it/mixit,mix-it/mixit,mixitconf/mixit | src/test/kotlin/mixit/integration/AbstractIntegrationTests.kt | src/test/kotlin/mixit/integration/AbstractIntegrationTests.kt | package mixit.integration
import org.junit.Before
import org.junit.runner.RunWith
import org.springframework.boot.context.embedded.LocalServerPort
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment
import org.springframework.test.conte... | package mixit.integration
import org.junit.Before
import org.junit.runner.RunWith
import org.springframework.boot.context.embedded.LocalServerPort
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment
import org.springframework.test.conte... | apache-2.0 | Kotlin |
591c77ab1eaf237c68f78dd79fd6801b5967da85 | Add ClassificationBinaryOutputExampleExtractor | KotlinNLP/SimpleDNN | examples/utils/exampleextractor/ClassificationBinaryOutputExampleExtractor.kt | examples/utils/exampleextractor/ClassificationBinaryOutputExampleExtractor.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/.
* ------------------------------------------... | mpl-2.0 | Kotlin | |
2a10316d395153db3949a8bde40de3ff7f454ad8 | Add Gateway route for Auth service | sandjelkovic/dispatchd,sandjelkovic/dispatchd | gateway-service/src/main/kotlin/com/sandjelkovic/dispatchd/gateway/Gateway.kt | gateway-service/src/main/kotlin/com/sandjelkovic/dispatchd/gateway/Gateway.kt | package com.sandjelkovic.dispatchd.gateway
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.cloud.gateway.route.RouteLocator
import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder
import org.springframework... | package com.sandjelkovic.dispatchd.gateway
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.cloud.gateway.route.RouteLocator
import org.springframework.cloud.gateway.route.builder.RouteLocatorBuilder
import org.springframework... | apache-2.0 | Kotlin |
4a4dfaacaf23a6050d185fdb4d4a34581fdb736d | Add SceneObject debug plugin | RuneSuite/client,RuneSuite/client | plugins-standard/src/main/java/com/runesuite/client/plugins/std/debug/SceneObjectDebug.kt | plugins-standard/src/main/java/com/runesuite/client/plugins/std/debug/SceneObjectDebug.kt | package com.runesuite.client.plugins.std.debug
import com.runesuite.client.game.api.live.Game
import com.runesuite.client.game.api.live.LiveCanvas
import com.runesuite.client.game.api.live.SceneObjects
import com.runesuite.client.plugins.PluginSettings
import com.runesuite.client.plugins.utils.DisposablePlugin
... | mit | Kotlin | |
cae3cb39f4de8c5ec109a9f463558ee9578e63ba | Add Material3 component tokens for navigation rail. | 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... | compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/tokens/NavigationRail.kt | compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/tokens/NavigationRail.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... | apache-2.0 | Kotlin | |
8e9c8b55cea95aa6442d0c8203b02ee5cb2cb57d | replace deprecated api | YiiGuxing/TranslationPlugin,YiiGuxing/TranslationPlugin | src/main/kotlin/cn/yiiguxing/plugin/translate/action/FixedIconToggleAction.kt | src/main/kotlin/cn/yiiguxing/plugin/translate/action/FixedIconToggleAction.kt | package cn.yiiguxing.plugin.translate.action
import com.intellij.openapi.actionSystem.*
import com.intellij.openapi.util.NlsActions
import com.intellij.openapi.util.NlsActions.ActionText
import java.util.function.Supplier
import javax.swing.Icon
abstract class FixedIconToggleAction(
private val icon: Icon,
te... | package cn.yiiguxing.plugin.translate.action
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.actionSystem.Presentation
import com.intellij.openapi.actionSystem.ToggleAction
import com.intellij.openapi.actionSystem.Toggleable
import com.intellij.openapi.util.NlsActions
import com.inte... | mit | Kotlin |
a5a8618eb114e2727210303aa2dc20383db0f9f8 | Rework RunnableQueryProcessHandler#startNotify to use executeOnPooledThread/invokeLater directly. | rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin | src/plugin-api/main/uk/co/reecedunn/intellij/plugin/intellij/execution/process/RunnableQueryProcessHandler.kt | src/plugin-api/main/uk/co/reecedunn/intellij/plugin/intellij/execution/process/RunnableQueryProcessHandler.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 |
e6d2236da2dcd135375b38da74d73c82e27787d6 | Use defined constant for CtrlClick | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | rider/src/main/kotlin/com/jetbrains/rider/plugins/unity/ideaInterop/fileTypes/asmdef/AsmDefActionCallPolicy.kt | rider/src/main/kotlin/com/jetbrains/rider/plugins/unity/ideaInterop/fileTypes/asmdef/AsmDefActionCallPolicy.kt | package com.jetbrains.rider.plugins.unity.ideaInterop.fileTypes.asmdef
import com.intellij.openapi.actionSystem.IdeActions
import com.intellij.psi.PsiElement
import com.jetbrains.rider.actions.RiderActionCallStrategy
import com.jetbrains.rider.actions.RiderActionSupportPolicy
import com.jetbrains.rider.actions.RiderAc... | package com.jetbrains.rider.plugins.unity.ideaInterop.fileTypes.asmdef
import com.intellij.openapi.actionSystem.IdeActions
import com.intellij.psi.PsiElement
import com.jetbrains.rider.actions.RiderActionCallStrategy
import com.jetbrains.rider.actions.RiderActionSupportPolicy
import com.jetbrains.rider.actions.RiderAc... | apache-2.0 | Kotlin |
38a33f422d9789a118707440a80eb483e245ddec | update neo4j and junit statements | mfalcier/neo4j-kotlin-procedure-example | src/test/kotlin/example/ExampleTest.kt | src/test/kotlin/example/ExampleTest.kt | package example
import org.junit.Assert
import org.junit.Rule
import org.junit.Test
import org.neo4j.driver.v1.Config
import org.neo4j.driver.v1.GraphDatabase
import org.neo4j.harness.junit.Neo4jRule
class ExampleTest {
// This rule starts a Neo4j instance
@Rule
@JvmField
var neo4j = Neo4jRule()
... | package example
import org.hamcrest.core.IsEqual
import org.junit.Assert
import org.junit.Rule
import org.junit.Test
import org.neo4j.driver.v1.Config
import org.neo4j.driver.v1.GraphDatabase
import org.neo4j.harness.junit.Neo4jRule
class ExampleTest {
// This rule starts a Neo4j instance
@Rule
@JvmField
... | apache-2.0 | Kotlin |
a88bd7f8df754b407c72ce7795001a92ffa39e0a | Add MainActivityTest | AdamLuisSean/Picasa-Gallery-Android,AdamLuisSean/Picasa-Gallery-Android | app/src/androidTest/java/io/shtanko/picasagallery/MainActivityTest.kt | app/src/androidTest/java/io/shtanko/picasagallery/MainActivityTest.kt | package io.shtanko.picasagallery
import android.support.test.InstrumentationRegistry
import android.support.test.rule.ActivityTestRule
import android.support.test.runner.AndroidJUnit4
import io.shtanko.picasagallery.ui.activities.MainActivity
import org.junit.Assert
import org.junit.Before
import org.junit.Rule
import... | apache-2.0 | Kotlin | |
676ee3205b61bcc0ea0dabe9c733974f33d6acc8 | refactor #442 Add null check. | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/browser/bookmark/Bookmarks.kt | app/src/main/java/jp/toastkid/yobidashi/browser/bookmark/Bookmarks.kt | package jp.toastkid.yobidashi.browser.bookmark
import android.content.Context
import androidx.core.net.toUri
import jp.toastkid.yobidashi.libs.storage.FilesDir
/**
* @author toastkidjp
*/
object Bookmarks {
const val ROOT_FOLDER_NAME: String = "root"
fun makeFaviconUrl(context: Context, url: String): Stri... | package jp.toastkid.yobidashi.browser.bookmark
import android.content.Context
import android.net.Uri
import jp.toastkid.yobidashi.libs.storage.FilesDir
/**
* @author toastkidjp
*/
object Bookmarks {
const val ROOT_FOLDER_NAME: String = "root"
fun makeFaviconUrl(context: Context, url: String): String {
... | epl-1.0 | Kotlin |
4eaaf103695e72605ff372a562654edc6e383a0f | Bump dependency versions | PEXPlugins/PermissionsEx,PEXPlugins/PermissionsEx,PEXPlugins/PermissionsEx | buildSrc/src/main/kotlin/ca/stellardrift/permissionsex/gradle/util.kt | buildSrc/src/main/kotlin/ca/stellardrift/permissionsex/gradle/util.kt | /*
* PermissionsEx
* Copyright (C) zml and PermissionsEx contributors
*
* 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 re... | /*
* PermissionsEx
* Copyright (C) zml and PermissionsEx contributors
*
* 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 re... | apache-2.0 | Kotlin |
352f62d41c93b3387a4e6a334384b19b0848c78c | Fix numbers formatting in commit legend (IDEA-232087) | 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/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/CommitLegendPanel.kt | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/ui/CommitLegendPanel.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.openapi.vcs.changes.ui
import com.intellij.openapi.vcs.FileStatus
import com.intellij.openapi.vcs.VcsBundle.message
import com.intellij.ui.JBColor
import co... | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.vcs.changes.ui
import com.intellij.openapi.vcs.FileStatus
import com.intellij.openapi.vcs.VcsBundle.message
import com.intellij.ui.JBColor
import co... | apache-2.0 | Kotlin |
4903f94e85624b03cbccc6ca0621292a97e12c69 | Change UseTheSource.io to use HTTPS | metaborg/spoofax,metaborg/spoofax,metaborg/spoofax,metaborg/spoofax | build.gradle.kts | build.gradle.kts | plugins {
id("org.metaborg.gradle.config.root-project") version "0.3.8"
id("org.metaborg.gitonium") version "0.1.2"
}
subprojects {
metaborg {
configureSubProject()
}
}
allprojects {
version = "2.6.0-SNAPSHOT" // Override version from Git, as Spoofax Core uses a different versioning scheme.
repositor... | plugins {
id("org.metaborg.gradle.config.root-project") version "0.3.8"
id("org.metaborg.gitonium") version "0.1.2"
}
subprojects {
metaborg {
configureSubProject()
}
}
allprojects {
version = "2.6.0-SNAPSHOT" // Override version from Git, as Spoofax Core uses a different versioning scheme.
reposit... | apache-2.0 | Kotlin |
f085e0533287338d5c9637a7e6d6ada9cd85638c | Add test for non-matching environment inspection | Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA | test/nl/hannahsten/texifyidea/inspections/latex/LatexNonMatchingEnvironmentInspectionTest.kt | test/nl/hannahsten/texifyidea/inspections/latex/LatexNonMatchingEnvironmentInspectionTest.kt | package nl.hannahsten.texifyidea.inspections.latex
import nl.hannahsten.texifyidea.inspections.TexifyInspectionTestBase
class LatexNonMatchingEnvironmentInspectionTest : TexifyInspectionTestBase(LatexNonMatchingEnvironmentInspection()) {
fun `test no warning`() = testHighlighting("""
\begin{center}
... | mit | Kotlin | |
d124f9ea514e8af87cb25ce14de0739387cd3ede | Fix warning | mbarberot/mtg-grimoire,mbarberot/mtg-grimoire | src/test/kotlin/org/github/mbarberot/mtg/grimoire/view/ViewTest.kt | src/test/kotlin/org/github/mbarberot/mtg/grimoire/view/ViewTest.kt | package org.github.mbarberot.mtg.grimoire.view
import org.github.mbarberot.mtg.grimoire.business.searches.SearchMetadata
import org.github.mbarberot.mtg.grimoire.business.searches.SearchResult
import org.github.mbarberot.mtg.grimoire.components.cards.Card
import org.github.mbarberot.mtg.grimoire.components.cards.CardV... | package org.github.mbarberot.mtg.grimoire.view
import de.neuland.jade4j.JadeConfiguration
import org.github.mbarberot.mtg.grimoire.business.searches.SearchMetadata
import org.github.mbarberot.mtg.grimoire.business.searches.SearchResult
import org.github.mbarberot.mtg.grimoire.components.cards.Card
import org.github.mb... | mit | Kotlin |
509323bb4c84a1615f813428a5eab91ea0b82963 | add a 3 LD variant of switchCombineWith | GlobalTechnology/android-gto-support,CruGlobal/android-gto-support,CruGlobal/android-gto-support | gto-support-lifecycle/src/main/java/org/ccci/gto/android/common/lifecycle/Transformations2.kt | gto-support-lifecycle/src/main/java/org/ccci/gto/android/common/lifecycle/Transformations2.kt | @file:JvmName("Transformations2")
package org.ccci.gto.android.common.lifecycle
import androidx.lifecycle.LiveData
import androidx.lifecycle.MediatorLiveData
import androidx.lifecycle.Observer
import androidx.lifecycle.Transformations
/**
* This method will combine 2 LiveData objects into a new LiveData object by r... | @file:JvmName("Transformations2")
package org.ccci.gto.android.common.lifecycle
import androidx.lifecycle.LiveData
import androidx.lifecycle.MediatorLiveData
import androidx.lifecycle.Observer
import androidx.lifecycle.Transformations
/**
* This method will combine 2 LiveData objects into a new LiveData object by r... | mit | Kotlin |
cd1373cf929c0eb47c5e0d78d0840a00e4208f98 | add util method | bastienvalentin/myeurocollector,bastienvalentin/myeurocollector | app/src/main/java/fr/vbastien/mycoincollector/util/ViewUtil.kt | app/src/main/java/fr/vbastien/mycoincollector/util/ViewUtil.kt | package fr.vbastien.mycoincollector.util
import android.content.Context
/**
* Created by vbastien on 16/09/2017.
*/
class ViewUtil {
companion object {
public fun dpToPx(context: Context, dp : Int) : Int {
return (context.resources.displayMetrics.density * dp + 0.5f).toInt()
}
}
... | apache-2.0 | Kotlin | |
378fc4e47037c3025c6820eafb463240a80ff61e | add bridge | DuckDeck/AndroidDemo,DuckDeck/AndroidDemo,DuckDeck/AndroidDemo,DuckDeck/AndroidDemo,DuckDeck/AndroidDemo,DuckDeck/AndroidDemo,DuckDeck/AndroidDemo | app/src/main/java/stan/androiddemo/tool/ffmpeg/FFmpegBridge.kt | app/src/main/java/stan/androiddemo/tool/ffmpeg/FFmpegBridge.kt | package stan.androiddemo.tool.ffmpeg
import java.lang.System
class FFmpegBridge{
init {
System.loadLibrary("avutil");
System.loadLibrary("fdk-aac");
System.loadLibrary("avcodec");
System.loadLibrary("avformat");
System.loadLibrary("swscale");
System.loadLibrary("swre... | mit | Kotlin | |
a58aa452846a9be63b6e9cab478cd0593203bf66 | Whitelist SlimRoms backend app | iskandar1023/template,Citrus-CAF/packages_apps_Margarita,Citrus-CAF/packages_apps_Margarita,xdevs23/BluEmerald,substratum/template,xdevs23/BluEmerald,Citrus-CAF/packages_apps_Margarita | app/src/main/java/substratum/theme/template/ThemerConstants.kt | app/src/main/java/substratum/theme/template/ThemerConstants.kt | package substratum.theme.template
object ThemerConstants {
// Simple AntiPiracy Configuration
val PIRACY_CHECK = false
// Play Store AntiPiracy LVL configurations (Relies on PIRACY_CHECK)
internal val BASE_64_LICENSE_KEY = ""
internal val APK_SIGNATURE_PRODUCTION = ""
// AntiPiracy Library Conf... | package substratum.theme.template
object ThemerConstants {
// Simple AntiPiracy Configuration
val PIRACY_CHECK = false
// Play Store AntiPiracy LVL configurations (Relies on PIRACY_CHECK)
internal val BASE_64_LICENSE_KEY = ""
internal val APK_SIGNATURE_PRODUCTION = ""
// AntiPiracy Library Conf... | apache-2.0 | Kotlin |
2747443f7a70a307501ccb2d80b9ebfd81d3eeef | Allow token to be moved left and right in landscape mode | helloworld1/FreeOTPPlus,helloworld1/FreeOTPPlus,helloworld1/FreeOTPPlus | app/src/main/java/org/fedorahosted/freeotp/ui/TokenTouchCallback.kt | app/src/main/java/org/fedorahosted/freeotp/ui/TokenTouchCallback.kt | package org.fedorahosted.freeotp.ui
import android.os.Handler
import android.os.Looper
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.lifecycleScope
import androidx.recyclerview.widget.ItemTouchHelper
import androidx.recyclerview.widget.RecyclerView
import kotlinx.coroutines.launch
import org.fedor... | package org.fedorahosted.freeotp.ui
import android.os.Handler
import android.os.Looper
import androidx.lifecycle.LifecycleOwner
import androidx.lifecycle.lifecycleScope
import androidx.recyclerview.widget.ItemTouchHelper
import androidx.recyclerview.widget.RecyclerView
import kotlinx.coroutines.launch
import org.fedor... | apache-2.0 | Kotlin |
e6c1efc6ece4762bf986c888b7f7afdb57263e7d | Add type aliases | KotlinNLP/SimpleDNN | src/kotlin/com/kotlinnlp/simplednn/simplemath/ndarray/Utils.kt | src/kotlin/com/kotlinnlp/simplednn/simplemath/ndarray/Utils.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 |
242fe0ae3571f07903de0904c1670f94e8b566d9 | Fix log level | encircled/jPut | jput-core/src/main/java/cz/encircled/jput/trend/TrendAnalyzer.kt | jput-core/src/main/java/cz/encircled/jput/trend/TrendAnalyzer.kt | package cz.encircled.jput.trend
import cz.encircled.jput.deviation
import cz.encircled.jput.model.PerfConstraintViolation
import cz.encircled.jput.model.PerfTestExecution
import cz.encircled.jput.percentile
import org.slf4j.LoggerFactory
/**
* @author Vlad on 21-May-17.
*/
interface TrendAnalyzer {
/**
* ... | package cz.encircled.jput.trend
import cz.encircled.jput.deviation
import cz.encircled.jput.model.PerfConstraintViolation
import cz.encircled.jput.model.PerfTestExecution
import cz.encircled.jput.percentile
import org.slf4j.LoggerFactory
/**
* @author Vlad on 21-May-17.
*/
interface TrendAnalyzer {
/**
* ... | apache-2.0 | Kotlin |
a01ad0f2a7648bab8e998d335bf06d9bc785fe11 | simplify - do not read changelists from ChangesListManager multiple times | 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/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/ChangeListRemoveConfirmation.kt | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/ChangeListRemoveConfirmation.kt | /*
* Copyright 2000-2016 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-2016 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 |
c2d6954e20a2aca2e8ddd0a5bc344bf2776056cf | Update win icon path | marius-m/wt4,marius-m/wt4,marius-m/wt4,marius-m/wt4 | buildSrc/src/main/java/lt/markmerkk/export/tasks/JBundleResource.kt | buildSrc/src/main/java/lt/markmerkk/export/tasks/JBundleResource.kt | package lt.markmerkk.export.tasks
import org.gradle.api.Project
import java.io.File
/**
* Provide all necessary data for bundling app
*/
data class JBundleResource(
val project: Project,
val appName: String,
val versionName: String,
val mainJarFilePath: String,
val mainClassN... | package lt.markmerkk.export.tasks
import org.gradle.api.Project
import java.io.File
/**
* Provide all necessary data for bundling app
*/
data class JBundleResource(
val project: Project,
val appName: String,
val versionName: String,
val mainJarFilePath: String,
val mainClassN... | apache-2.0 | Kotlin |
b013f3841a4d1a500cfd06efe481437c508a233a | Improve checkedLazy doc again | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | checkedlazy/src/main/java/splitties/checkedlazy/CheckedLazy.kt | checkedlazy/src/main/java/splitties/checkedlazy/CheckedLazy.kt | /*
* Copyright (c) 2017. 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) 2017. 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 |
32f5b217cc6b7c885fe5dfd3de7dee2ff4412337 | refactor #511 Add test case. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/test/java/jp/toastkid/yobidashi/editor/usecase/ThousandSeparatorInsertionUseCaseTest.kt | app/src/test/java/jp/toastkid/yobidashi/editor/usecase/ThousandSeparatorInsertionUseCaseTest.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... | /*
* 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 |
1a246c0a679d72b871878234999a4ef2e42190cb | Fix ListableBeanFactory Kotlin extensions return types | spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework | spring-beans/src/main/kotlin/org/springframework/beans/factory/ListableBeanFactoryExtensions.kt | spring-beans/src/main/kotlin/org/springframework/beans/factory/ListableBeanFactoryExtensions.kt | /*
* Copyright 2002-2017 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 ap... | /*
* Copyright 2002-2017 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 ap... | apache-2.0 | Kotlin |
788835d94231a2b2a0d5b6f669e1f37e11916654 | Set class as open | KotlinNLP/SimpleDNN | src/main/kotlin/com/kotlinnlp/simplednn/deeplearning/mergelayers/affine/AffineLayerParameters.kt | src/main/kotlin/com/kotlinnlp/simplednn/deeplearning/mergelayers/affine/AffineLayerParameters.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 |
fd728a24578390cb3a2a827bd6b499fd83e191d6 | refactor #299 Add comments in ClippingUrlOpener. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/libs/clip/ClippingUrlOpener.kt | app/src/main/java/jp/toastkid/yobidashi/libs/clip/ClippingUrlOpener.kt | package jp.toastkid.yobidashi.libs.clip
import android.net.Uri
import android.view.View
import androidx.core.net.toUri
import jp.toastkid.yobidashi.R
import jp.toastkid.yobidashi.libs.Toaster
import jp.toastkid.yobidashi.libs.Urls
import jp.toastkid.yobidashi.libs.preference.PreferenceApplier
/**
* Clipping URL open... | package jp.toastkid.yobidashi.libs.clip
import android.net.Uri
import android.view.View
import androidx.core.net.toUri
import jp.toastkid.yobidashi.R
import jp.toastkid.yobidashi.libs.Toaster
import jp.toastkid.yobidashi.libs.Urls
import jp.toastkid.yobidashi.libs.preference.PreferenceApplier
/**
* @author toastkidj... | epl-1.0 | Kotlin |
cd35964b8ec8bbc7efc659b3f782334c04a2be85 | test structrued concurrency | hypercube1024/firefly,hypercube1024/firefly,hypercube1024/firefly,hypercube1024/firefly,hypercube1024/firefly | firefly-example/src/test/kotlin/com/firefly/example/kotlin/test/coroutine/StructuredConcurrency.kt | firefly-example/src/test/kotlin/com/firefly/example/kotlin/test/coroutine/StructuredConcurrency.kt | package com.firefly.example.kotlin.test.coroutine
import kotlinx.coroutines.experimental.coroutineScope
import kotlinx.coroutines.experimental.delay
import kotlinx.coroutines.experimental.launch
import kotlinx.coroutines.experimental.runBlocking
/**
* @author Pengtao Qiu
*/
fun main(args: Array<String>) = runBlocki... | package com.firefly.example.kotlin.test.coroutine
import kotlinx.coroutines.experimental.*
/**
* @author Pengtao Qiu
*/
fun main(args: Array<String>) = runBlocking {
launchDoWorld()
println("Hello,")
}
// this is your first suspending function
suspend fun launchDoWorld() = withContext(Dispatchers.Default) ... | apache-2.0 | Kotlin |
7e998fdd63672c4030e71c1540097b366ea14757 | disable leakCanary until casty-leak is fixed | NiciDieNase/chaosflix,NiciDieNase/chaosflix,NiciDieNase/chaosflix,NiciDieNase/chaosflix | common/src/debug/java/de/nicidienase/chaosflix/ChaosflixApplication.kt | common/src/debug/java/de/nicidienase/chaosflix/ChaosflixApplication.kt | package de.nicidienase.chaosflix
import android.app.Application
import com.facebook.stetho.Stetho
import com.squareup.leakcanary.LeakCanary
class ChaosflixApplication : Application() {
override fun onCreate() {
super.onCreate()
Stetho.initializeWithDefaults(this)
if (LeakCanary.isInAnalyz... | package de.nicidienase.chaosflix
import android.app.Application
import com.facebook.stetho.Stetho
import com.squareup.leakcanary.LeakCanary
class ChaosflixApplication : Application() {
override fun onCreate() {
super.onCreate()
if (LeakCanary.isInAnalyzerProcess(this)) {
// This process is ... | mit | Kotlin |
a4eb1abc192d0f8b329eafa8a136b46739c66aa8 | Remove the invalid argument for JsonDefaultValue | ansman/kotshi | api/src/main/kotlin/se/ansman/kotshi/JsonDefaultValue.kt | api/src/main/kotlin/se/ansman/kotshi/JsonDefaultValue.kt | package se.ansman.kotshi
/**
* Annotation to be placed on enum an enum value to indicate that specifies it as the default value
* if the enum value is invalid.
*
* Only one value can be annotated.
*
* If no entry is annotated the adapter will throw an exception if an unknown constant is encountered.
*
* Exampl... | package se.ansman.kotshi
/**
* Annotation to be placed on enum an enum value to indicate that specifies it as the default value
* if the enum value is invalid.
*
* Only one value can be annotated.
*
* If no entry is annotated the adapter will throw an exception if an unknown constant is encountered.
*
* The an... | apache-2.0 | Kotlin |
d7798772c5bf639d5229f9f6034cb2f7f096ae1c | fix style issue | jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge | src/main/kotlin/org/jitsi/rtp/rtcp/rtcpfb/payload_specific_fb/RtcpFbPliPacket.kt | src/main/kotlin/org/jitsi/rtp/rtcp/rtcpfb/payload_specific_fb/RtcpFbPliPacket.kt | /*
* Copyright @ 2018 - present 8x8, 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 ... | /*
* Copyright @ 2018 - present 8x8, 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 ... | apache-2.0 | Kotlin |
5ae4264b079e214d495ee4c70ca6734f56bde11f | Simplify RxDialogWrapper utilizing PublishSubject | elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin | src/main/kotlin/com/elpassion/intelijidea/common/RxDialogWrapper.kt | src/main/kotlin/com/elpassion/intelijidea/common/RxDialogWrapper.kt | package com.elpassion.intelijidea.common
import com.intellij.openapi.project.Project
import com.intellij.openapi.ui.DialogWrapper
import io.reactivex.Observable
import io.reactivex.functions.Cancellable
import io.reactivex.subjects.PublishSubject
abstract class RxDialogWrapper<T>(project: Project) : DialogWrapper(pro... | package com.elpassion.intelijidea.common
import com.intellij.openapi.project.Project
import com.intellij.openapi.ui.DialogWrapper
import io.reactivex.Emitter
import io.reactivex.Observable
import io.reactivex.functions.Cancellable
abstract class RxDialogWrapper<T>(project: Project) : DialogWrapper(project, false), Ca... | apache-2.0 | Kotlin |
e9bb5fc0298e34defe83330f396e196086476d2d | Fix the cursor position for the Page special comment | wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android | wordpress-comments/src/main/java/org/wordpress/aztec/plugins/wpcomments/toolbar/PageToolbarButton.kt | wordpress-comments/src/main/java/org/wordpress/aztec/plugins/wpcomments/toolbar/PageToolbarButton.kt | package org.wordpress.aztec.plugins.wpcomments.toolbar
import android.support.v4.content.ContextCompat
import android.text.SpannableStringBuilder
import android.text.Spanned
import android.view.KeyEvent
import android.view.LayoutInflater
import android.view.ViewGroup
import org.wordpress.aztec.AztecText
import org.wor... | package org.wordpress.aztec.plugins.wpcomments.toolbar
import android.support.v4.content.ContextCompat
import android.text.SpannableStringBuilder
import android.text.Spanned
import android.view.KeyEvent
import android.view.LayoutInflater
import android.view.ViewGroup
import org.wordpress.aztec.AztecText
import org.wor... | mpl-2.0 | Kotlin |
c466f79120be23965c439c8d31056eea6a3b89e5 | refactor #511 Delete useless comment. | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/editor/usecase/PasteAsQuotationUseCase.kt | app/src/main/java/jp/toastkid/yobidashi/editor/usecase/PasteAsQuotationUseCase.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 |
22377c74598be0c9587c07d4c83fb2332fccc917 | replace suspendCoroutine with suspendCancellableCoroutine | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | plugins/space/src/main/kotlin/circlet/auth/IdeaAuthenticator.kt | plugins/space/src/main/kotlin/circlet/auth/IdeaAuthenticator.kt | package circlet.auth
import circlet.platform.api.oauth.*
import circlet.platform.workspaces.*
import io.ktor.application.*
import io.ktor.request.*
import io.ktor.response.*
import io.ktor.routing.*
import io.ktor.server.engine.*
import io.ktor.server.jetty.*
import libraries.coroutines.extra.*
import libraries.kloggi... | package circlet.auth
import circlet.platform.api.oauth.*
import circlet.platform.workspaces.*
import io.ktor.application.*
import io.ktor.request.*
import io.ktor.response.*
import io.ktor.routing.*
import io.ktor.server.engine.*
import io.ktor.server.jetty.*
import libraries.coroutines.extra.*
import libraries.kloggi... | apache-2.0 | Kotlin |
257941bd58e7105bb467090eba8a8299fb33b533 | add todo: remove workaround when upstream fixed | F43nd1r/acra-backend,F43nd1r/acra-backend,F43nd1r/acra-backend,F43nd1r/acra-backend | acrarium/src/main/kotlin/com/faendir/acra/ui/view/error/ErrorView.kt | acrarium/src/main/kotlin/com/faendir/acra/ui/view/error/ErrorView.kt | package com.faendir.acra.ui.view.error
import com.faendir.acra.i18n.Messages
import com.faendir.acra.ui.component.Translatable
import com.faendir.acra.ui.ext.Unit
import com.faendir.acra.ui.ext.setMargin
import com.faendir.acra.ui.view.Overview
import com.vaadin.flow.component.html.Paragraph
import com.vaadin.flow.com... | package com.faendir.acra.ui.view.error
import com.faendir.acra.i18n.Messages
import com.faendir.acra.ui.component.Translatable
import com.faendir.acra.ui.ext.Unit
import com.faendir.acra.ui.ext.setMargin
import com.faendir.acra.ui.view.Overview
import com.vaadin.flow.component.html.Paragraph
import com.vaadin.flow.com... | apache-2.0 | Kotlin |
72a5c1b48049ca02967e9ebd6d95c45dd1b0e213 | refactor #754 Delete useless field. | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/browser/bookmark/AddingFolderDialogFragment.kt | app/src/main/java/jp/toastkid/yobidashi/browser/bookmark/AddingFolderDialogFragment.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 |
064c6ea224a459233ecfa95a1b858b4c43569b8d | refactor #442 Use new constructor. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/settings/PagerAdapter.kt | app/src/main/java/jp/toastkid/yobidashi/settings/PagerAdapter.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 |
b1f5a5e31b4b55ba0a82930f3580835bf57b3c3d | Fix text | fcostaa/kotlin-microservice,fcostaa/kotlin-microservice,fcostaa/kotlin-microservice | app/src/test/kotlin/com/felipecosta/microservice/app/movies/frontcontroller/GetMovieFrontCommandTest.kt | app/src/test/kotlin/com/felipecosta/microservice/app/movies/frontcontroller/GetMovieFrontCommandTest.kt | package com.felipecosta.microservice.app.movies.frontcontroller
import com.felipecosta.microservice.app.core.domain.MoviesRepository
import com.felipecosta.microservice.app.core.domain.entity.Movie
import com.felipecosta.microservice.server.Request
import com.nhaarman.mockito_kotlin.mock
import com.nhaarman.mockito_ko... | package com.felipecosta.microservice.app.movies.frontcontroller
import com.felipecosta.microservice.app.core.domain.MoviesRepository
import com.felipecosta.microservice.app.core.domain.entity.Movie
import com.felipecosta.microservice.server.Request
import com.nhaarman.mockito_kotlin.mock
import com.nhaarman.mockito_ko... | mit | Kotlin |
91e64f02e03d6b2c18b8c41599d6018de9f4a5be | Implement RequestDecorator using RequestSigner | mr-archano/Playground,mr-archano/Playground | features/letterboxd/api/src/main/kotlin/com/letterboxd/authentication/SignatureHeaderRequestDecorator.kt | features/letterboxd/api/src/main/kotlin/com/letterboxd/authentication/SignatureHeaderRequestDecorator.kt | package com.letterboxd.authentication
import okhttp3.Request
internal class SignatureHeaderRequestDecorator (private val signer: RequestSigner) : RequestDecorator {
override fun decorate(request: Request): Request {
val signature = signer.sign(request)
return request.newBuilder()
... | apache-2.0 | Kotlin | |
ca4842fe6a7512670acd30a1a9477810add5f630 | Fix tick event | RuneSuite/client,RuneSuite/client | game-api/src/main/java/org/runestar/client/game/api/live/Game.kt | game-api/src/main/java/org/runestar/client/game/api/live/Game.kt | package org.runestar.client.game.api.live
import hu.akarnokd.rxjava2.swing.SwingObservable
import io.reactivex.Observable
import org.kxtra.swing.component.windowAncestor
import org.runestar.client.game.api.*
import org.runestar.client.game.raw.Client
import org.runestar.client.game.raw.Client.accessor
import org.runes... | package org.runestar.client.game.api.live
import hu.akarnokd.rxjava2.swing.SwingObservable
import io.reactivex.Observable
import org.kxtra.swing.component.windowAncestor
import org.runestar.client.game.api.*
import org.runestar.client.game.raw.Client
import org.runestar.client.game.raw.Client.accessor
import org.runes... | mit | Kotlin |
53c6d327136f929cac1e2c408f3a21a342b7db35 | set cache time to 10 min | inv3rse/ProxerTv,inv3rse/ProxerTv,inv3rse/ProxerTv | app/src/main/java/com/example/dennis/proxertv/base/ProxerCacheRewriteInterceptor.kt | app/src/main/java/com/example/dennis/proxertv/base/ProxerCacheRewriteInterceptor.kt | package com.example.dennis.proxertv.base
import okhttp3.Interceptor
import okhttp3.Response
/**
* An interceptor that overrides the cache header
*/
class ProxerCacheRewriteInterceptor : Interceptor {
override fun intercept(chain: Interceptor.Chain): Response? {
val request = chain.request()
val... | package com.example.dennis.proxertv.base
import android.util.Log
import okhttp3.Interceptor
import okhttp3.Response
/**
* An interceptor that overrides the cache header
*/
class ProxerCacheRewriteInterceptor : Interceptor {
override fun intercept(chain: Interceptor.Chain): Response? {
val request = cha... | mit | Kotlin |
fe21a569b297cd8fb5b51c0a47d42a1cf914d836 | refactor #605 Add empty title case. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/test/java/jp/toastkid/yobidashi/browser/history/ViewHistoryInsertionTest.kt | app/src/test/java/jp/toastkid/yobidashi/browser/history/ViewHistoryInsertionTest.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 |
253e0aa2d99f06a4fff6f01f224353e2d036cc0c | Add feature flag to remote config | StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android | app/src/main/java/org/stepic/droid/configuration/RemoteConfig.kt | app/src/main/java/org/stepic/droid/configuration/RemoteConfig.kt | package org.stepic.droid.configuration
object RemoteConfig {
const val PREFIX = "remote_config_"
const val MIN_DELAY_RATE_DIALOG_SEC = "min_delay_rate_dialog_sec"
const val SHOW_STREAK_DIALOG_AFTER_LOGIN = "show_streak_dialog_after_login"
const val SHOW_NOTIFICATIONS_BADGES = "show_notifications_badge... | package org.stepic.droid.configuration
object RemoteConfig {
const val PREFIX = "remote_config_"
const val MIN_DELAY_RATE_DIALOG_SEC = "min_delay_rate_dialog_sec"
const val SHOW_STREAK_DIALOG_AFTER_LOGIN = "show_streak_dialog_after_login"
const val SHOW_NOTIFICATIONS_BADGES = "show_notifications_badge... | apache-2.0 | Kotlin |
2bc3eaf03ea1095b209d69a61ea3a6d569ba88cc | Allow Gradle Enterprise to read the keys file | gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,grad... | subprojects/configuration-cache/src/main/kotlin/org/gradle/configurationcache/serialization/Workarounds.kt | subprojects/configuration-cache/src/main/kotlin/org/gradle/configurationcache/serialization/Workarounds.kt | /*
* Copyright 2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin |
c69004fa245ea2a22805bb5861e46c6bac98ad7e | Add test case for invalid input locales to the API AppCompatDelegate.setApplicationLocales() | 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... | appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/LocalesConfigChangedUsingInvalidTopLocale.kt | appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/LocalesConfigChangedUsingInvalidTopLocale.kt | /*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin | |
ee53071e791fc76834d109c6ee8b09826df2b9f2 | upgrade webdriver to v4 | http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k | src/docs/guide/reference/webdriver/example.kt | src/docs/guide/reference/webdriver/example.kt | package guide.reference.webdriver
import org.http4k.core.Method.GET
import org.http4k.core.Response
import org.http4k.core.Status.Companion.OK
import org.http4k.routing.bind
import org.http4k.routing.routes
import org.http4k.webdriver.Http4kWebDriver
import org.openqa.selenium.By
fun main() {
val app = routes(
... | package guide.reference.webdriver
import org.http4k.core.Method.GET
import org.http4k.core.Response
import org.http4k.core.Status.Companion.OK
import org.http4k.routing.bind
import org.http4k.routing.routes
import org.http4k.webdriver.By
import org.http4k.webdriver.Http4kWebDriver
fun main() {
val app = routes(
... | apache-2.0 | Kotlin |
95b786f35b4132002e31faa7ae9cadffadff89bc | Introduce a file registry that is aware of all class files passed to the processor | MichaelRocks/lightsaber,MichaelRocks/lightsaber | processor/src/main/kotlin/io/michaelrocks/lightsaber/processor/files/FileRegistry.kt | processor/src/main/kotlin/io/michaelrocks/lightsaber/processor/files/FileRegistry.kt | /*
* Copyright 2015 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 | |
b57b70a0afdf5c8e200268a46acdae588bb048e0 | Add disabled state to chevron | StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android | app/src/main/java/org/stepik/android/view/step_quiz_table/ui/adapter/delegate/TableSelectionItemAdapterDelegate.kt | app/src/main/java/org/stepik/android/view/step_quiz_table/ui/adapter/delegate/TableSelectionItemAdapterDelegate.kt | package org.stepik.android.view.step_quiz_table.ui.adapter.delegate
import android.view.View
import android.view.ViewGroup
import androidx.core.view.isVisible
import kotlinx.android.synthetic.main.item_table_selection.view.*
import org.stepic.droid.R
import org.stepik.android.model.Cell
import org.stepik.android.view.... | package org.stepik.android.view.step_quiz_table.ui.adapter.delegate
import android.view.View
import android.view.ViewGroup
import androidx.core.view.isVisible
import kotlinx.android.synthetic.main.item_table_selection.view.*
import org.stepic.droid.R
import org.stepik.android.model.Cell
import org.stepik.android.view.... | apache-2.0 | Kotlin |
cb3de35f0803d55cfe9b34f1a2730dca3ac0515e | Add BackgroundColorPreferencePresenterTest | Doctoror/ParticleConstellationsLiveWallpaper,Doctoror/ParticleConstellationsLiveWallpaper | app/src/test/java/com/doctoror/particleswallpaper/presentation/presenter/BackgroundColorPreferencePresenterTest.kt | app/src/test/java/com/doctoror/particleswallpaper/presentation/presenter/BackgroundColorPreferencePresenterTest.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 | |
f2872e0d2d96b8b01e0e0bacd36737f65d0424c6 | Fix changelog not displaying bug | pyamsoft/pydroid | ui/src/main/java/com/pyamsoft/pydroid/ui/rating/dialog/RatingChangelogUiComponent.kt | ui/src/main/java/com/pyamsoft/pydroid/ui/rating/dialog/RatingChangelogUiComponent.kt | /*
* Copyright 2019 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 2019 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 |
bcbd5ae1d7e87b936a2781b1680a933887339a32 | Add sepBy method in parsers | intellij-purescript/intellij-purescript,intellij-purescript/intellij-purescript | src/main/java/org/purescript/parser/Parsec.kt | src/main/java/org/purescript/parser/Parsec.kt | package org.purescript.parser
import com.intellij.psi.tree.IElementType
abstract class Parsec {
var name: String? = null
get() {
if (field == null) {
field = calcName()
}
return field
}
private set
var expectedName: HashSet<String?>? ... | package org.purescript.parser
import com.intellij.psi.tree.IElementType
abstract class Parsec {
var name: String? = null
get() {
if (field == null) {
field = calcName()
}
return field
}
private set
var expectedName: HashSet<String?>? ... | bsd-3-clause | Kotlin |
9c1d3fd5cd082fa6e203bad65c32b1eb2fe0047a | Add more comments. | Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines | core/kotlinx-coroutines-test/src/TestCoroutineExceptionHandler.kt | core/kotlinx-coroutines-test/src/TestCoroutineExceptionHandler.kt | package kotlinx.coroutines.test
import kotlinx.coroutines.CoroutineExceptionHandler
import java.util.*
import kotlin.coroutines.CoroutineContext
/**
* Access uncaught coroutines exceptions captured during test execution.
*
* Note, tests executed via [runBlockingTest] or [TestCoroutineScope.runBlocking] will not tr... | package kotlinx.coroutines.test
import kotlinx.coroutines.CoroutineExceptionHandler
import java.util.*
import kotlin.coroutines.CoroutineContext
/**
* Access uncaught coroutines exceptions captured during test execution.
*
* Note, tests executed via [runBlockingTest] or [TestCoroutineScope.runBlocking] will not tr... | apache-2.0 | Kotlin |
4ffec3272128d4bcb7ad118a31052e84aaea6c11 | Read local.properties from the root project | madisp/lite-android,madisp/lite-android,madisp/lite-android | lite-android/src/main/kotlin/pink/madis/gradle/liteandroid/sdk.kt | lite-android/src/main/kotlin/pink/madis/gradle/liteandroid/sdk.kt | package pink.madis.gradle.liteandroid
import org.gradle.api.Project
import java.io.File
import java.io.FileNotFoundException
import java.nio.charset.StandardCharsets
import java.util.Properties
fun ensureSdk(project: Project): Sdk {
val location = findSdk(project)
// we're looking for the readme and platforms, if... | package pink.madis.gradle.liteandroid
import org.gradle.api.Project
import java.io.File
import java.io.FileNotFoundException
import java.nio.charset.StandardCharsets
import java.util.Properties
fun ensureSdk(project: Project): Sdk {
val location = findSdk(project)
// we're looking for the readme and platforms, if... | mit | Kotlin |
4d40cba350b798e9e5c87446808824b1bbac1397 | refactor #523 Convert to expression body. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/browser/webview/usecase/SelectedTextUseCase.kt | app/src/main/java/jp/toastkid/yobidashi/browser/webview/usecase/SelectedTextUseCase.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 |
60aaf69a7c3dcb68a9856c18d5005850a1bdb99f | Update docs properties in StreamEmitter | DanielMartinus/Konfetti | konfetti/src/main/java/nl/dionsegijn/konfetti/emitters/StreamEmitter.kt | konfetti/src/main/java/nl/dionsegijn/konfetti/emitters/StreamEmitter.kt | package nl.dionsegijn.konfetti.emitters
import nl.dionsegijn.konfetti.models.ConfettiConfig
import nl.dionsegijn.konfetti.models.LocationModule
import nl.dionsegijn.konfetti.models.Shape
import nl.dionsegijn.konfetti.models.Size
import nl.dionsegijn.konfetti.modules.VelocityModule
/**
* Created by dionsegijn on 4/2/... | package nl.dionsegijn.konfetti.emitters
import nl.dionsegijn.konfetti.models.ConfettiConfig
import nl.dionsegijn.konfetti.models.LocationModule
import nl.dionsegijn.konfetti.models.Shape
import nl.dionsegijn.konfetti.models.Size
import nl.dionsegijn.konfetti.modules.VelocityModule
/**
* Created by dionsegijn on 4/2/... | isc | Kotlin |
bfdde58beae59c125be31a4342c63a939e1e2137 | Implement XdmModuleLoader on JarModuleLoader. | rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin | src/lang-xdm/main/uk/co/reecedunn/intellij/plugin/xdm/module/loader/JarModuleLoader.kt | src/lang-xdm/main/uk/co/reecedunn/intellij/plugin/xdm/module/loader/JarModuleLoader.kt | /*
* Copyright (C) 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 agreed t... | /*
* Copyright (C) 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 agreed t... | apache-2.0 | Kotlin |
ef5913cff48a032f669655b0fec78b4a624d2e1d | Update Coroutines to 1.3.0. (#65) | coil-kt/coil,coil-kt/coil | buildSrc/src/main/kotlin/Library.kt | buildSrc/src/main/kotlin/Library.kt | @file:Suppress("unused")
package coil
object Library {
// CORE
private const val COROUTINES_VERSION = "1.3.0"
const val KOTLINX_COROUTINES_ANDROID = "org.jetbrains.kotlinx:kotlinx-coroutines-android:$COROUTINES_VERSION"
const val ANDROIDX_ANNOTATION = "androidx.annotation:annotation:1.1.0"
cons... | @file:Suppress("unused")
package coil
object Library {
// CORE
private const val COROUTINES_VERSION = "1.2.2"
const val KOTLINX_COROUTINES_ANDROID = "org.jetbrains.kotlinx:kotlinx-coroutines-android:$COROUTINES_VERSION"
const val ANDROIDX_ANNOTATION = "androidx.annotation:annotation:1.1.0"
cons... | apache-2.0 | Kotlin |
8e6553a1b32724cc24a3b20eb4cd2fce168ea7f9 | Remove Bintray version | BjoernPetersen/JMusicBot | buildSrc/src/main/kotlin/Version.kt | buildSrc/src/main/kotlin/Version.kt | object Version {
const val KOTLIN = "1.3.0"
const val DOKKA = "0.9.17"
const val KOTLIN_LOGGING = "1.6.10"
const val SPOTBUGS = "1.6.3"
const val GUAVA = "23.0"
const val GUICE = "4.2.1"
const val SQLITE = "3.21.0.1"
const val JBCRYPT = "0.4"
const val JJWT = "0.9.1"
const val ... | object Version {
const val KOTLIN = "1.3.0"
const val DOKKA = "0.9.17"
const val KOTLIN_LOGGING = "1.6.10"
const val SPOTBUGS = "1.6.3"
const val BINTRAY = "1.8.4"
const val GUAVA = "23.0"
const val GUICE = "4.2.1"
const val SQLITE = "3.21.0.1"
const val JBCRYPT = "0.4"
const v... | mit | Kotlin |
844b9741e6c9286d9ed8a078291c56e89b13c53a | refactor #412 Modify incorrect test. | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/test/java/jp/toastkid/yobidashi/appwidget/search/ProviderTest.kt | app/src/test/java/jp/toastkid/yobidashi/appwidget/search/ProviderTest.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 |
da8f8d6afece051803e30970a1cb93d994bc5005 | Add products list dto | vimeo/vimeo-networking-java,vimeo/vimeo-networking-java,vimeo/vimeo-networking-java | models/src/main/java/com/vimeo/networking2/ProductList.kt | models/src/main/java/com/vimeo/networking2/ProductList.kt | package com.vimeo.networking2
/**
* List of products that could be paged.
*/
data class ProductList(
/**
* Total number of products.
*/
override val total: Int? = null,
/**
* The current page number of paging list.
*/
override val page: Int? = null,
/**
* The number of... | mit | Kotlin | |
5580036cab13b477c3ac33e97bbd569bd9a2e061 | Update phone number example for compatibility | exercism/xkotlin,exercism/xkotlin | exercises/phone-number/src/example/kotlin/PhoneNumber.kt | exercises/phone-number/src/example/kotlin/PhoneNumber.kt | data class PhoneNumber(private val rawNumber: String) {
companion object {
private val validationRegex = Regex("^1?([2-9]\\d{2}[2-9]\\d{6})$")
}
private val cleanedNumber = rawNumber.replace(Regex("[^\\d]"), "")
val number = validationRegex.matchEntire(cleanedNumber)?.groupValues?.last() ?: thr... | data class PhoneNumber(private val rawNumber: String) {
companion object {
private val validationRegex = Regex("^1?(\\d{10})$")
}
private val cleanedNumber = rawNumber.replace(Regex("[^\\d]"), "")
val number = validationRegex.matchEntire(cleanedNumber)?.groupValues?.last() ?: throw IllegalArgum... | mit | Kotlin |
4196d2818ccd5cdbafbd412f414c642b64ddc5fd | Upgrade kotlinx.html | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-features/ktor-html-builder/src/io/ktor/html/RespondHtml.kt | ktor-features/ktor-html-builder/src/io/ktor/html/RespondHtml.kt | package io.ktor.html
import io.ktor.application.*
import io.ktor.cio.*
import io.ktor.content.*
import io.ktor.http.*
import io.ktor.response.*
import kotlinx.coroutines.experimental.io.*
import kotlinx.html.*
import kotlinx.html.stream.*
/**
* Responds to a client with a HTML response, using specified [block] to bu... | package io.ktor.html
import io.ktor.application.*
import io.ktor.cio.*
import io.ktor.content.*
import io.ktor.http.*
import io.ktor.response.*
import kotlinx.coroutines.experimental.io.*
import kotlinx.html.*
import kotlinx.html.stream.*
/**
* Responds to a client with a HTML response, using specified [block] to bu... | apache-2.0 | Kotlin |
1e81260e6a9ae7e7db23587ff617cbd15df9232d | Optimize Row & Column Kotlin builders to not call method on `null` values | facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho | litho-core-kotlin/src/main/kotlin/com/facebook/litho/Container.kt | litho-core-kotlin/src/main/kotlin/com/facebook/litho/Container.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 |
5567e245d1a3ebf49f6f6cc65f772ffe4add12d1 | fix doIfAlive Api - do not check if lt is alive, it can potentially block us on the spinlock, but makes no sense | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/platform-api/src/com/intellij/openapi/rd/DisposableEx.kt | platform/platform-api/src/com/intellij/openapi/rd/DisposableEx.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.rdclient.util.idea
import com.intellij.openapi.Disposable
import com.intellij.openapi.util.Disposer
import com.jetbrains.rd.util.lifetime.Lifetime
import co... | // 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.rdclient.util.idea
import com.intellij.openapi.Disposable
import com.intellij.openapi.util.Disposer
import com.jetbrains.rd.util.lifetime.Lifetime
import co... | apache-2.0 | Kotlin |
e440fa751c3ad62e3649c332f3b844a4d9ac527e | Remove unneeded static initializer | digammas/damas,digammas/damas,digammas/damas,digammas/damas | solutions.digamma.damas.jcr/src/test/kotlin/solutions/digamma/damas/jcr/cnd/CompactNodeTypeDefinitionReaderDisabledTest.kt | solutions.digamma.damas.jcr/src/test/kotlin/solutions/digamma/damas/jcr/cnd/CompactNodeTypeDefinitionReaderDisabledTest.kt | package solutions.digamma.damas.jcr.cnd
import org.junit.Before
import org.junit.Test
import solutions.digamma.damas.jcr.repo.cnd.CompactNodeTypeDefinitionReader
import solutions.digamma.damas.logging.Logbook
class CompactNodeTypeDefinitionReaderDisabledTest {
private var importer = CompactNodeTypeDefinitionRead... | package solutions.digamma.damas.jcr.cnd
import org.junit.Before
import org.junit.Test
import solutions.digamma.damas.jcr.repo.cnd.CompactNodeTypeDefinitionReader
import solutions.digamma.damas.logging.Logbook
class CompactNodeTypeDefinitionReaderDisabledTest {
companion object {
init {
System... | mit | Kotlin |
06f1010c271b37cdd1ff36eec308e1ca74401de3 | add next autoplayed song to nowplaying command | noud02/Akatsuki | src/main/kotlin/me/noud02/akatsuki/commands/NowPlaying.kt | src/main/kotlin/me/noud02/akatsuki/commands/NowPlaying.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 |
d4363fc73fd400c97ff0286e2783fcdb732c6a11 | Update to Android-Components 104.0.20220629143121. | 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.20220629143121"
}
| /* 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.20220628190126"
}
| mpl-2.0 | Kotlin |
5003a021ec124e126f6f90bd0b2a77abefcd4e9b | Update to Android-Components 100.0.20220324143159. | 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 = "100.0.20220324143159"
}
| /* 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 = "100.0.20220323190349"
}
| mpl-2.0 | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.