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 |
|---|---|---|---|---|---|---|---|---|
de3b70c83299b05e74dfaa7c8a4f36fbf3de7726 | fix spinner size | rustamgaifullin/TranslateIt,rustamgaifullin/TranslateIt | app/src/main/kotlin/com/rm/translateit/ui/adapters/LanguageSpinnerAdapter.kt | app/src/main/kotlin/com/rm/translateit/ui/adapters/LanguageSpinnerAdapter.kt | package com.rm.translateit.ui.adapters
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.BaseAdapter
import android.widget.TextView
import com.rm.translateit.api.models.Language
class LanguageSpinnerAdapter(private val contex... | package com.rm.translateit.ui.adapters
import android.content.Context
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.BaseAdapter
import android.widget.TextView
import com.rm.translateit.api.models.Language
class LanguageSpinnerAdapter(private val contex... | mit | Kotlin |
c65540c98fb29680edce9f213a2e74d9bafadb3c | refactor #818 Extract calculator to field. | toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | loan/src/test/java/jp/toastkid/loan/CalculatorTest.kt | loan/src/test/java/jp/toastkid/loan/CalculatorTest.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 |
a41063f7124fc7b409abf69aa1ea4b5fa7903082 | Fix test | encircled/jPut | jput-core/src/test/java/cz/encircled/jput/test/FileSystemRecorderTest.kt | jput-core/src/test/java/cz/encircled/jput/test/FileSystemRecorderTest.kt | package cz.encircled.jput.test
import cz.encircled.jput.JPutJUnitRunner
import cz.encircled.jput.context.JPutContext
import cz.encircled.jput.model.TrendTestConfiguration
import cz.encircled.jput.recorder.FileSystemResultRecorder
import cz.encircled.jput.trend.SelectionStrategy
import org.junit.runner.RunWith
import j... | package cz.encircled.jput.test
import cz.encircled.jput.JPutJUnitRunner
import cz.encircled.jput.context.JPutContext
import cz.encircled.jput.model.TrendTestConfiguration
import cz.encircled.jput.recorder.FileSystemResultRecorder
import cz.encircled.jput.trend.SelectionStrategy
import org.junit.runner.RunWith
import j... | apache-2.0 | Kotlin |
67ba59832f4ec389a28a39cf4cfaeca6a51c0bed | add and search word | dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas | kotlin/src/katas/kotlin/leetcode/add_and_search_word/AddAndSearchWord.kt | kotlin/src/katas/kotlin/leetcode/add_and_search_word/AddAndSearchWord.kt | package katas.kotlin.leetcode.add_and_search_word
import kotlincommon.test.shouldEqual
import org.junit.Test
/**
* https://leetcode.com/problems/add-and-search-word-data-structure-design/
*/
class AddAndSearchWordTests {
@Test fun `add and search words`() {
val dictionary = WordDictionary()
dict... | package katas.kotlin.leetcode.add_and_search_word
import kotlincommon.test.shouldEqual
import org.junit.Test
/**
* https://leetcode.com/problems/add-and-search-word-data-structure-design/
*/
class AddAndSearchWordTests {
@Test fun `add and search words`() {
val dictionary = WordDictionary()
dict... | unlicense | Kotlin |
041000d575f4659cbac18f594f55d0b6125ac430 | Fix missing query values in requestLine for Servlet host. | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-servlet/src/org/jetbrains/ktor/servlet/ServletApplicationRequest.kt | ktor-servlet/src/org/jetbrains/ktor/servlet/ServletApplicationRequest.kt | package org.jetbrains.ktor.servlet
import org.jetbrains.ktor.application.*
import org.jetbrains.ktor.http.*
import org.jetbrains.ktor.interception.*
import java.io.*
import java.nio.charset.*
import java.util.*
import javax.servlet.*
import javax.servlet.http.*
public class ServletApplicationRequest(private val servl... | package org.jetbrains.ktor.servlet
import org.jetbrains.ktor.application.*
import org.jetbrains.ktor.http.*
import org.jetbrains.ktor.interception.*
import java.io.*
import java.nio.charset.*
import java.util.*
import javax.servlet.*
import javax.servlet.http.*
public class ServletApplicationRequest(private val servl... | apache-2.0 | Kotlin |
d2dd516c9a0917a494c1f20c7ef4703994fd6ba8 | Use File instead of URI to validate paths | rock3r/detekt,Mauin/detekt,Mauin/detekt,rock3r/detekt,MyDogTom/detekt,Mauin/detekt,arturbosch/detekt,Mauin/detekt,rock3r/detekt,arturbosch/detekt,arturbosch/detekt | detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/PathConverters.kt | detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/PathConverters.kt | package io.gitlab.arturbosch.detekt.cli
import com.beust.jcommander.IStringConverter
import com.beust.jcommander.ParameterException
import java.io.File
import java.net.URL
import java.nio.file.Files
import java.nio.file.Path
import java.nio.file.Paths
/**
* @author Artur Bosch
*/
class ExistingPathConverter : IStri... | package io.gitlab.arturbosch.detekt.cli
import com.beust.jcommander.IStringConverter
import com.beust.jcommander.ParameterException
import java.net.URI
import java.net.URL
import java.nio.file.Files
import java.nio.file.Path
import java.nio.file.Paths
/**
* @author Artur Bosch
*/
class ExistingPathConverter : IStri... | apache-2.0 | Kotlin |
74b5c5ae09f96c74a84c056e19dbd56b9d7c53d0 | Add explicit return types for BitFlags extensions | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | bitflags/src/main/java/splitties/bitflags/BitFlags.kt | bitflags/src/main/java/splitties/bitflags/BitFlags.kt | /*
* Copyright (c) 2018. Louis Cognault Ayeva Derman
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | /*
* Copyright (c) 2018. Louis Cognault Ayeva Derman
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | apache-2.0 | Kotlin |
c2fc72d0cbc4ba62585bf2eff064fde010dceb6f | Add zip functions | michaelbull/kotlin-result | src/main/kotlin/com/github/michaelbull/result/Zip.kt | src/main/kotlin/com/github/michaelbull/result/Zip.kt | package com.github.michaelbull.result
private typealias Producer<T, E> = () -> Result<T, E>
/**
* Apply a [transformation][transform] to two [Results][Result], if both [Results][Result] are [Ok].
* If not, the first argument which is an [Err] will propagate through.
*
* - Elm: http://package.elm-lang.org/packages... | isc | Kotlin | |
0ac28633ae32e10c245d75573ea7937033585625 | Update default transition to match the material guidelines | wealthfront/magellan,wealthfront/magellan | magellan-library/src/main/java/com/wealthfront/magellan/transitions/DefaultTransition.kt | magellan-library/src/main/java/com/wealthfront/magellan/transitions/DefaultTransition.kt | package com.wealthfront.magellan.transitions
import android.animation.Animator
import android.animation.AnimatorListenerAdapter
import android.animation.AnimatorSet
import android.animation.ObjectAnimator
import android.util.Property
import android.view.View
import androidx.interpolator.view.animation.FastOutSlowInInt... | package com.wealthfront.magellan.transitions
import android.animation.Animator
import android.animation.AnimatorListenerAdapter
import android.animation.AnimatorSet
import android.animation.ObjectAnimator
import android.util.Property
import android.view.View
import com.wealthfront.magellan.Direction
public class Defa... | apache-2.0 | Kotlin |
c53ceef9a2b8ec08ae57e457e08ad54fa2c3786a | Create DemoApplication.kt | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | .kotlin_alpha/usecases/serverless_rds/src/main/kotlin/com/example/demo/DemoApplication.kt | .kotlin_alpha/usecases/serverless_rds/src/main/kotlin/com/example/demo/DemoApplication.kt | /*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package com.example.demo
import kotlinx.coroutines.runBlocking
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.autoconfigure.SpringBootApplication
import or... | apache-2.0 | Kotlin | |
b90b0629c2aad439a97d62fd76bf51ca87432fba | Update Ktlint-gradle to latest release version. | JLLeitschuh/ktlint-gradle,JLLeitschuh/ktlint-gradle | plugin/buildSrc/src/main/kotlin/PluginDependencies.kt | plugin/buildSrc/src/main/kotlin/PluginDependencies.kt | object PluginVersions {
val kotlin = "1.2.71"
val ktlintPlugin = "6.0.0"
val gradlePublishPlugin = "0.9.10"
val androidPlugin = "3.1.4"
val kotlinNativePlugin = "0.8.2"
val semver = "1.0.0"
val gradleWrapper = "4.9"
val junit = "4.12"
}
| object PluginVersions {
val kotlin = "1.2.71"
val ktlintPlugin = "5.1.0"
val gradlePublishPlugin = "0.9.10"
val androidPlugin = "3.1.4"
val kotlinNativePlugin = "0.8.2"
val semver = "1.0.0"
val gradleWrapper = "4.9"
val junit = "4.12"
}
| mit | Kotlin |
00a123962780865fcbbfef67e3d37bcba55e4cca | migrate to new dismisslistener | StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android | app/src/main/java/org/stepic/droid/features/stories/ui/activity/StoriesActivity.kt | app/src/main/java/org/stepic/droid/features/stories/ui/activity/StoriesActivity.kt | package org.stepic.droid.features.stories.ui.activity
import android.os.Bundle
import org.stepic.droid.R
import org.stepic.droid.analytic.AmplitudeAnalytic
import org.stepic.droid.base.FragmentActivityBase
import org.stepic.droid.features.stories.ui.delegate.StoriesActivityDelegate
import ru.nobird.android.stories.ui.... | package org.stepic.droid.features.stories.ui.activity
import android.os.Bundle
import org.stepic.droid.R
import org.stepic.droid.analytic.AmplitudeAnalytic
import org.stepic.droid.base.FragmentActivityBase
import org.stepic.droid.features.stories.ui.delegate.StoriesActivityDelegate
class StoriesActivity : FragmentAct... | apache-2.0 | Kotlin |
c3f7859bee4d222df4ae0caa667763f93210f482 | fix npe in vcs features calculation | 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/codeInsight/completion/ml/VcsFeatureProvider.kt | platform/vcs-impl/src/com/intellij/codeInsight/completion/ml/VcsFeatureProvider.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.codeInsight.completion.ml
import com.intellij.codeInsight.actions.FormatChangedTextUtil
import com.intellij.codeInsight.completion.CompletionLocation
import ... | // 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.codeInsight.completion.ml
import com.intellij.codeInsight.actions.FormatChangedTextUtil
import com.intellij.codeInsight.completion.CompletionLocation
import ... | apache-2.0 | Kotlin |
57759963da9d501dbb39877280c05a43926e6708 | Solve problem 2138 | fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode | src/main/kotlin/leetcode/Problem2138.kt | src/main/kotlin/leetcode/Problem2138.kt | package leetcode
/**
* https://leetcode.com/problems/divide-a-string-into-groups-of-size-k/
*/
class Problem2138 {
fun divideString(s: String, k: Int, fill: Char): Array<String> {
val answer = mutableListOf<String>()
var i = 0
while (i < s.length) {
answer += if (i + k > s.len... | mit | Kotlin | |
a2e013361a55b1d6fc08ba376d5f7544400778f3 | Change CompileAll build configuration UUID | gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpira... | .teamcity/Gradle_Check/configurations/CompileAll.kt | .teamcity/Gradle_Check/configurations/CompileAll.kt | package configurations
import common.Os.LINUX
import jetbrains.buildServer.configs.kotlin.v2019_2.AbsoluteId
import model.CIBuildModel
import model.Stage
class CompileAll(model: CIBuildModel, stage: Stage) : BaseGradleBuildType(model, stage = stage, usesParentBuildCache = true, init = {
uuid = buildTypeId(model)
... | package configurations
import common.Os.LINUX
import jetbrains.buildServer.configs.kotlin.v2019_2.AbsoluteId
import model.CIBuildModel
import model.Stage
class CompileAll(model: CIBuildModel, stage: Stage) : BaseGradleBuildType(model, stage = stage, usesParentBuildCache = true, init = {
uuid = buildTypeId(model)
... | apache-2.0 | Kotlin |
394479e192ffcf9008e8df2527abc16435a31618 | remove commented function | sugarmanz/Pandroid | app/src/main/java/com/jeremiahzucker/pandroid/request/model/ExpandedStationModel.kt | app/src/main/java/com/jeremiahzucker/pandroid/request/model/ExpandedStationModel.kt | package com.jeremiahzucker.pandroid.request.model
import io.realm.RealmObject
import io.realm.annotations.Ignore
import io.realm.annotations.PrimaryKey
/**
* Created by Jeremiah Zucker on 8/25/2017.
*/
open class ExpandedStationModel(
var suppressVideoAds: Boolean? = null,
var isQuickMix: Boolean? =... | package com.jeremiahzucker.pandroid.request.model
import io.realm.RealmObject
import io.realm.annotations.Ignore
import io.realm.annotations.PrimaryKey
/**
* Created by Jeremiah Zucker on 8/25/2017.
*/
open class ExpandedStationModel(
var suppressVideoAds: Boolean? = null,
var isQuickMix: Boolean? =... | mit | Kotlin |
fdbb31edab2979157a90160961b28025b44bed12 | simplify list chain call | thetric/ilias-downloader | src/main/kotlin/com/github/thetric/iliasdownloader/cli/SyncController.kt | src/main/kotlin/com/github/thetric/iliasdownloader/cli/SyncController.kt | package com.github.thetric.iliasdownloader.cli
import com.github.thetric.iliasdownloader.cli.sync.sanitizeFileName
import com.github.thetric.iliasdownloader.connector.api.ContextAwareIliasItemVisitor
import com.github.thetric.iliasdownloader.connector.api.IliasService
import com.github.thetric.iliasdownloader.connecto... | package com.github.thetric.iliasdownloader.cli
import com.github.thetric.iliasdownloader.cli.sync.sanitizeFileName
import com.github.thetric.iliasdownloader.connector.api.ContextAwareIliasItemVisitor
import com.github.thetric.iliasdownloader.connector.api.IliasService
import com.github.thetric.iliasdownloader.connecto... | mit | Kotlin |
e37898d2fde3bbf52a985bbb871a1d7a8c99573c | Simplify reading of start.md file for /start command. | fare1990/telegram-bot-bumblebee,fare1990/telegram-bot-bumblebee,denzelby/telegram-bot-bumblebee,fare1990/telegram-bot-bumblebee | telegram-bot-bumblebee-core/src/main/java/com/github/bumblebee/command/start/StartCommand.kt | telegram-bot-bumblebee-core/src/main/java/com/github/bumblebee/command/start/StartCommand.kt | package com.github.bumblebee.command.start
import org.apache.commons.io.FileUtils
import org.springframework.core.io.ClassPathResource
import org.springframework.stereotype.Component
import telegram.api.BotApi
import telegram.domain.Update
import telegram.domain.request.ParseMode
import telegram.polling.UpdateHandler
... | package com.github.bumblebee.command.start
import org.apache.commons.io.IOUtils
import org.springframework.stereotype.Component
import telegram.api.BotApi
import telegram.domain.Update
import telegram.domain.request.ParseMode
import telegram.polling.UpdateHandler
import java.io.IOException
import java.io.StringWriter
... | mit | Kotlin |
a608ac32a14213b0d103991298e50b3692d3c316 | refactor #433 Convert to expression body. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/libs/network/HttpClientFactory.kt | app/src/main/java/jp/toastkid/yobidashi/libs/network/HttpClientFactory.kt | package jp.toastkid.yobidashi.libs.network
import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit
/**
* Common HTTP client factory.
*
* @author toastkidjp
*/
object HttpClientFactory {
fun make(): OkHttpClient = withTimeout(5L)
fun withTimeout(seconds: Long): OkHttpClient =
OkHttpC... | package jp.toastkid.yobidashi.libs.network
import okhttp3.OkHttpClient
import java.util.concurrent.TimeUnit
/**
* Common HTTP client factory.
*
* @author toastkidjp
*/
object HttpClientFactory {
fun make(): OkHttpClient {
return withTimeout(5L)
}
fun withTimeout(seconds: Long): OkHttpClient =... | epl-1.0 | Kotlin |
d407dfb86aa0dcb5af8eb3537d2b7c5d74f1a90c | Add DrawableHelper.kt | RocketChat/Rocket.Chat.Android,RocketChat/Rocket.Chat.Android,RocketChat/Rocket.Chat.Android.Lily,RocketChat/Rocket.Chat.Android.Lily | rocket-chat-android-widgets/src/main/java/chat/rocket/android/widget/helper/DrawableHelper.kt | rocket-chat-android-widgets/src/main/java/chat/rocket/android/widget/helper/DrawableHelper.kt | package chat.rocket.android.widget.helper
import android.content.Context
import android.graphics.drawable.Drawable
import android.support.v4.content.ContextCompat
import android.support.v4.graphics.drawable.DrawableCompat
object DrawableHelper {
/**
* Wraps a drawable to be used for example for tinting.
... | mit | Kotlin | |
8f09c40f8895eb5693c67ec1d70ace28f6f07e89 | test rename | mockk/mockk,mockk/mockk,mockk/mockk,mockk/mockk,mockk/mockk,mockk/mockk | mockk/common/src/test/kotlin/io/mockk/gh/Issue614Test.kt | mockk/common/src/test/kotlin/io/mockk/gh/Issue614Test.kt | package io.mockk.gh
import io.mockk.mockk
import io.mockk.verifyOrder
import kotlin.test.Test
import kotlin.test.assertFailsWith
class Issue614Test {
@Test
fun verifyOrderThrowAssertionErrorIfNoCallHasBeenMade() {
val mock: Something = mockk(relaxed = true, relaxUnitFun = true)
assertFailsWi... | package io.mockk.gh
import io.mockk.mockk
import io.mockk.verifyOrder
import kotlin.test.Test
import kotlin.test.assertFailsWith
class Issue614Test {
@Test
fun `verifyOrder should throw AssertionError if no matching is found`() {
val mock: Something = mockk(relaxed = true, relaxUnitFun = true)
... | apache-2.0 | Kotlin |
0761f20dfb619d75eaa49ad48207e303651fb7c6 | Add activity extensions for Toasty toasts | djkovrik/YapTalker,djkovrik/YapTalker | app/src/main/java/com/sedsoftware/yaptalker/commons/extensions/AppCompatActivityExt.kt | app/src/main/java/com/sedsoftware/yaptalker/commons/extensions/AppCompatActivityExt.kt | package com.sedsoftware.yaptalker.commons.extensions
import android.support.v7.app.AppCompatActivity
import android.widget.Toast
import es.dmoral.toasty.Toasty
fun AppCompatActivity.toastError(message: String) {
Toasty.error(this, message, Toast.LENGTH_SHORT, true).show()
}
fun AppCompatActivity.toastSuccess(messa... | apache-2.0 | Kotlin | |
532815fdc8029c142f9bb03217e9661b6ca8ac89 | refactor #232 Modify constructor for writeable test. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/rss/suggestion/RssAddingSuggestion.kt | app/src/main/java/jp/toastkid/yobidashi/rss/suggestion/RssAddingSuggestion.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 |
e0dc00dc4f2a9cfbdd36fd3bb7c6e7e958d58745 | Add error callback and defaults for JQuery ajax | jean79/yested_fw,jean79/yested_fw | src/jsMain/kotlin/net/yested/ext/jquery/ajax.kt | src/jsMain/kotlin/net/yested/ext/jquery/ajax.kt | package net.yested.ext.jquery
import org.w3c.xhr.XMLHttpRequest
data class AjaxRequest<RESULT>(val url: String,
val type: String = "POST",
val data: String = "",
val contentType: String = "application/json; charset=utf-8",
... | package net.yested.ext.jquery
data class AjaxRequest<RESULT>(val url:String, val type:String = "POST", val data:String,
val contentType:String = "application/json; charset=utf-8",
val dataType:String = "json", val success: ((RESULT) -> Unit))
fun <T> ajaxGet(url:String, l... | mit | Kotlin |
8937b1e8fbe270ee8b8165b7f749a0ac9bb9ac21 | Update documentation | KotlinNLP/SimpleDNN | src/kotlin/com/kotlinnlp/simplednn/utils/ItemsPool.kt | src/kotlin/com/kotlinnlp/simplednn/utils/ItemsPool.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 |
b143bd076e071498ab39c6d0384f76fd960ca137 | Rename wrongly spelled value | elsiff/MoreFish | src/main/kotlin/me/elsiff/morefish/util/ColorUtils.kt | src/main/kotlin/me/elsiff/morefish/util/ColorUtils.kt | package me.elsiff.morefish.util
import org.bukkit.ChatColor
/**
* Created by elsiff on 2018-12-28.
*/
object ColorUtils {
private const val alternateColorCode = '&'
fun translate(string: String): String {
return ChatColor.translateAlternateColorCodes(alternateColorCode, string)
}
} | package me.elsiff.morefish.util
import org.bukkit.ChatColor
/**
* Created by elsiff on 2018-12-28.
*/
object ColorUtils {
private const val alternateColorCodes = '&'
fun translate(string: String): String {
return ChatColor.translateAlternateColorCodes(alternateColorCodes, string)
}
} | mit | Kotlin |
9fa95dd9bac4292636c40999d4ff0aec5ff79aae | check cookies are written | http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k | http4k-testing-webdriver/src/test/kotlin/org/http4k/webdriver/RedirectTest.kt | http4k-testing-webdriver/src/test/kotlin/org/http4k/webdriver/RedirectTest.kt | package org.http4k.webdriver
import com.natpryce.hamkrest.assertion.assertThat
import com.natpryce.hamkrest.equalTo
import org.http4k.core.Method
import org.http4k.core.Request
import org.http4k.core.Response
import org.http4k.core.Status.Companion.OK
import org.http4k.core.Status.Companion.SEE_OTHER
import org.http4k... | package org.http4k.webdriver
import com.natpryce.hamkrest.assertion.assertThat
import com.natpryce.hamkrest.equalTo
import org.http4k.core.Method
import org.http4k.core.Request
import org.http4k.core.Response
import org.http4k.core.Status.Companion.OK
import org.http4k.core.Status.Companion.SEE_OTHER
import org.http4k... | apache-2.0 | Kotlin |
f2fa322e9dc7be68c6fb62a253e81d332cdc1fb4 | Remove default value because that's not how it works | LorittaBot/Loritta,LorittaBot/Loritta,LorittaBot/Loritta,LorittaBot/Loritta | loritta-discord/src/main/java/net/perfectdreams/loritta/tables/Backgrounds.kt | loritta-discord/src/main/java/net/perfectdreams/loritta/tables/Backgrounds.kt | package net.perfectdreams.loritta.tables
import com.google.gson.Gson
import com.google.gson.JsonParser
import com.mrpowergamerbr.loritta.utils.exposed.array
import com.mrpowergamerbr.loritta.utils.exposed.rawJsonb
import net.perfectdreams.loritta.api.utils.Rarity
import org.jetbrains.exposed.dao.id.EntityID
import org... | package net.perfectdreams.loritta.tables
import com.google.gson.Gson
import com.google.gson.JsonParser
import com.mrpowergamerbr.loritta.utils.exposed.array
import com.mrpowergamerbr.loritta.utils.exposed.rawJsonb
import net.perfectdreams.loritta.api.utils.Rarity
import org.jetbrains.exposed.dao.id.EntityID
import org... | agpl-3.0 | Kotlin |
1710beedde197155e30440e688eeb5c6236b9d3f | clean code | tangzx/IntelliJ-EmmyLua,EmmyLua/IntelliJ-EmmyLua,EmmyLua/IntelliJ-EmmyLua,tangzx/IntelliJ-EmmyLua,tangzx/IntelliJ-EmmyLua,EmmyLua/IntelliJ-EmmyLua,EmmyLua/IntelliJ-EmmyLua,tangzx/IntelliJ-EmmyLua | src/main/java/com/tang/intellij/lua/editor/formatter/blocks/LuaIndentBlock.kt | src/main/java/com/tang/intellij/lua/editor/formatter/blocks/LuaIndentBlock.kt | /*
* Copyright (c) 2017. tangzx(love.tangzx@qq.com)
*
* 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 l... | /*
* Copyright (c) 2017. tangzx(love.tangzx@qq.com)
*
* 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 l... | apache-2.0 | Kotlin |
242ac2a3267798c6404318aeae9e4df5e84cf835 | Add `@ServiceScope` to AsyncIOScopeFactory | blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,grad... | subprojects/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/IO.kt | subprojects/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/concurrent/IO.kt | /*
* Copyright 2018 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 2018 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 |
96b0435aee67aa4b3c394d867208d99d788b8875 | refactor #727 Implement test case. | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/test/java/jp/toastkid/yobidashi/about/license/LicenseHtmlLoaderUseCaseTest.kt | app/src/test/java/jp/toastkid/yobidashi/about/license/LicenseHtmlLoaderUseCaseTest.kt | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | epl-1.0 | Kotlin | |
582b86e254bb55eba3932d8485eb47ecde08722c | Use TrampolineSchedulers instead of ComputationSchedulers | Doctoror/ParticleConstellationsLiveWallpaper,Doctoror/ParticleConstellationsLiveWallpaper | app/src/test/java/com/doctoror/particleswallpaper/data/config/SceneConfiguratorImplTest.kt | app/src/test/java/com/doctoror/particleswallpaper/data/config/SceneConfiguratorImplTest.kt | /*
* Copyright (C) 2017 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... | /*
* Copyright (C) 2017 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 |
43ce49630e6eb674c1ec123e30d5cc7952158735 | correct description, check is open,abstract,inherit something | rock3r/detekt,arturbosch/detekt,Mauin/detekt,rock3r/detekt,Mauin/detekt,Mauin/detekt,arturbosch/detekt,rock3r/detekt,arturbosch/detekt,Mauin/detekt,MyDogTom/detekt | detekt-rules/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/UseDataClassRule.kt | detekt-rules/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/UseDataClassRule.kt | package io.gitlab.arturbosch.detekt.rules.style
import io.gitlab.arturbosch.detekt.api.CodeSmell
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.Entity
import io.gitlab.arturbosch.detekt.api.Issue
import io.gitlab.arturbosch.detekt.api.Rule
import io.gitlab.arturbosch.detekt.api.Se... | package io.gitlab.arturbosch.detekt.rules.style
import io.gitlab.arturbosch.detekt.api.CodeSmell
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.Entity
import io.gitlab.arturbosch.detekt.api.Issue
import io.gitlab.arturbosch.detekt.api.Rule
import io.gitlab.arturbosch.detekt.api.Se... | apache-2.0 | Kotlin |
bd53727d6cdeb0b780a120da3b9cc0c61df8ba26 | Change user agent to match previous wallet | nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official | src/frontend/android/unity_wallet/app/src/main/java/com/gulden/unity_wallet/Config.kt | src/frontend/android/unity_wallet/app/src/main/java/com/gulden/unity_wallet/Config.kt | package com.gulden.unity_wallet
import android.net.Uri
class Config {
companion object {
const val COIN = 100000000
const val PRECISION_SHORT = 2
const val PRECISION_FULL = 8
val DEFAULT_CURRENCY_CODE get() = getDefaultCurrencyCode()
const val USER_AGENT = "/Gulden android:... | package com.gulden.unity_wallet
import android.net.Uri
class Config {
companion object {
const val COIN = 100000000
const val PRECISION_SHORT = 2
const val PRECISION_FULL = 8
val DEFAULT_CURRENCY_CODE get() = getDefaultCurrencyCode()
const val USER_AGENT = "/${BuildConfig.A... | mit | Kotlin |
1f7a9c05b7c4fc3aa5dbbe618eb3f679c5f4998a | refactor #415 Delete incorrect comments. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/settings/fragment/DisplayingSettingFragment.kt | app/src/main/java/jp/toastkid/yobidashi/settings/fragment/DisplayingSettingFragment.kt | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | epl-1.0 | Kotlin |
111f37aced6c396f5560716855223fdd2c253258 | Make TestCase.setUp optional to implement | androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,AndroidX/andro... | benchmark/benchmark-darwin/src/commonMain/kotlin/androidx/benchmark/darwin/TestCase.kt | benchmark/benchmark-darwin/src/commonMain/kotlin/androidx/benchmark/darwin/TestCase.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... | /*
* 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 |
3e97588293c9034d850edecd233b7b4d98bdadff | Replace isAtLeast by greater than or equals | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | lifecycle-coroutines/src/main/kotlin/splitties/lifecycle/coroutines/LifecycleAwaitState.kt | lifecycle-coroutines/src/main/kotlin/splitties/lifecycle/coroutines/LifecycleAwaitState.kt | /*
* Copyright (c) 2018. Louis Cognault Ayeva Derman
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | /*
* Copyright (c) 2018. Louis Cognault Ayeva Derman
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | apache-2.0 | Kotlin |
83c37f29069e16fb221584dc1b8e066410031c8d | refactor #511 Rename test case. | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | 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 |
e92a7b43cc9573eb90c2fd2a001a432713452203 | Create a ObservableTransformer that trace all the stream lifecycle | fcostaa/kotlin-rxjava-android,fcostaa/kotlin-rxjava-android | app/src/main/kotlin/com.felipecosta.kotlinrxjavasample/rx/TraceComposer.kt | app/src/main/kotlin/com.felipecosta.kotlinrxjavasample/rx/TraceComposer.kt | package com.felipecosta.kotlinrxjavasample.rx
import io.reactivex.Observable
import io.reactivex.ObservableSource
import io.reactivex.ObservableTransformer
class TraceComposer<T> constructor(private val prefix: String) : ObservableTransformer<T, T> {
override fun apply(upstream: Observable<T>?): ObservableSource... | mit | Kotlin | |
4d7e7995d8771063436316a559d46b058ef1dd78 | refactor #523 Add line breaks. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/browser/user_agent/UserAgentDropdown.kt | app/src/main/java/jp/toastkid/yobidashi/browser/user_agent/UserAgentDropdown.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 |
96255f92b2697015dae9fc1c38b4159354b53397 | Fix SectionUI (#4993) | stripe/stripe-android,stripe/stripe-android,stripe/stripe-android,stripe/stripe-android,stripe/stripe-android | payments-ui-core/src/main/java/com/stripe/android/ui/core/elements/SectionUI.kt | payments-ui-core/src/main/java/com/stripe/android/ui/core/elements/SectionUI.kt | package com.stripe.android.ui.core.elements
import androidx.annotation.RestrictTo
import androidx.annotation.StringRes
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.material.Card
import androidx.compose.material.Text
import androidx.compose.r... | package com.stripe.android.ui.core.elements
import androidx.annotation.RestrictTo
import androidx.annotation.StringRes
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.padding
import androidx.compose.material.Card
import androidx.compose.material.Text
import androidx.compose.r... | mit | Kotlin |
8696cf1ec47132b1f77b5ad21a1d724e75bd5c5d | remove duplicates from sorted array | dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas | kotlin/src/katas/kotlin/remove_duplicates_from_array/RemoveDuplicatesFromSortedArray.kt | kotlin/src/katas/kotlin/remove_duplicates_from_array/RemoveDuplicatesFromSortedArray.kt | package katas.kotlin.remove_duplicates_from_array
import kotlincommon.test.shouldEqual
import org.junit.Test
class RemoveDuplicatesFromSortedArrayTests {
@Test fun `remove the duplicates in-place such that each element appear only once`() {
intArrayOf().removeDuplicatesToList() shouldEqual emptyList()
... | package katas.kotlin.remove_duplicates_from_array
import kotlincommon.test.shouldEqual
import org.junit.Test
class RemoveDuplicatesFromSortedArrayTests {
@Test fun `remove the duplicates in-place such that each element appear only once`() {
intArrayOf().let {
it.removeDuplicates() shouldEqual ... | unlicense | Kotlin |
3b1ad9a2b0873284341e12aa3f88232f22d7faa2 | Remove unnecessary repositories from Android sample | blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,blindpirat... | samples/hello-android/build.gradle.kts | samples/hello-android/build.gradle.kts | import com.android.builder.core.DefaultApiVersion
import com.android.builder.core.DefaultProductFlavor
import com.android.builder.model.ApiVersion
buildscript {
repositories {
jcenter()
}
dependencies {
classpath("com.android.tools.build:gradle:2.3.1")
classpath(kotlinModule("gradle... | import com.android.builder.core.DefaultApiVersion
import com.android.builder.core.DefaultProductFlavor
import com.android.builder.model.ApiVersion
buildscript {
repositories {
jcenter()
gradleScriptKotlin()
}
dependencies {
classpath("com.android.tools.build:gradle:2.3.1")
c... | apache-2.0 | Kotlin |
7a9de91afe14d83d12a430750673732f2cf8395c | Handle getting ip addresses in plugin | RimmerM/Yttrium,Le-Chiffre/Yttrium | Router/src/com/rimmer/yttrium/router/plugin/Address.kt | Router/src/com/rimmer/yttrium/router/plugin/Address.kt | package com.rimmer.yttrium.router.plugin
import com.rimmer.yttrium.router.RouteContext
import com.rimmer.yttrium.router.RouteModifier
import com.rimmer.yttrium.router.RouteProperty
import java.net.InetSocketAddress
/** Functions that have a parameter of this type will receive the id-address of the caller. */
class IP... | package com.rimmer.yttrium.router.plugin
import com.rimmer.yttrium.router.RouteContext
import com.rimmer.yttrium.router.RouteModifier
import com.rimmer.yttrium.router.RouteProperty
import java.lang.reflect.Type
import java.net.InetSocketAddress
import java.net.SocketAddress
import kotlin.reflect.KParameter
/** Functi... | mit | Kotlin |
8e5a2378017b87821f82c244d74679bbd4728e07 | refactor #580 Remove useless annotation. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | article/src/test/java/jp/toastkid/article_viewer/calendar/DateSelectedActionUseCaseTest.kt | article/src/test/java/jp/toastkid/article_viewer/calendar/DateSelectedActionUseCaseTest.kt | package jp.toastkid.article_viewer.calendar
import io.mockk.MockKAnnotations
import io.mockk.coVerify
import io.mockk.every
import io.mockk.impl.annotations.InjectMockKs
import io.mockk.impl.annotations.MockK
import io.mockk.mockkConstructor
import io.mockk.unmockkAll
import jp.toastkid.article_viewer.article.Article
... | package jp.toastkid.article_viewer.calendar
import io.mockk.MockKAnnotations
import io.mockk.coVerify
import io.mockk.every
import io.mockk.impl.annotations.InjectMockKs
import io.mockk.impl.annotations.MockK
import io.mockk.mockkConstructor
import io.mockk.unmockkAll
import jp.toastkid.article_viewer.article.Article
... | epl-1.0 | Kotlin |
b8763aa8a579609a38ca0379cf4df905dcc83927 | Convert JobEntity.java to kotlin | google/ground-android,google/ground-android,google/ground-android | ground/src/main/java/com/google/android/ground/persistence/local/room/entity/JobEntity.kt | ground/src/main/java/com/google/android/ground/persistence/local/room/entity/JobEntity.kt | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | apache-2.0 | Kotlin |
23704c1ef3cb4dbd60fe7766ca8cc5c3f88b13d2 | Remove deprecated method | Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2 | common/design-compose/src/main/kotlin/app/ss/design/compose/widget/list/SnappingLazyRow.kt | common/design-compose/src/main/kotlin/app/ss/design/compose/widget/list/SnappingLazyRow.kt | /*
* Copyright (c) 2022. Adventech <info@adventech.io>
*
* 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, mod... | /*
* Copyright (c) 2022. Adventech <info@adventech.io>
*
* 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, mod... | mit | Kotlin |
75bb1b07bf94e48848bae73386387dcc31a55fdd | refactor #506 Safe delete 'items'. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | image/src/main/java/jp/toastkid/image/setting/Adapter.kt | image/src/main/java/jp/toastkid/image/setting/Adapter.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 |
c5e7dc4a3311e5d4a8068732eae1ccdfc3ad2346 | Resolve #1573, fixes dialog callbacks (show/cancel/dismiss) not working due to a simple logical error. | MaTriXy/material-dialogs,afollestad/material-dialogs | core/src/main/java/com/afollestad/materialdialogs/callbacks/DialogCallbackExt.kt | core/src/main/java/com/afollestad/materialdialogs/callbacks/DialogCallbackExt.kt | package com.afollestad.materialdialogs.callbacks
import com.afollestad.materialdialogs.DialogCallback
import com.afollestad.materialdialogs.MaterialDialog
/**
* Adds a listener that's invoked right before the dialog is [show]'n. If this is called
* multiple times, it appends additional callbacks, rather than overwr... | package com.afollestad.materialdialogs.callbacks
import com.afollestad.materialdialogs.DialogCallback
import com.afollestad.materialdialogs.MaterialDialog
/**
* Adds a listener that's invoked right before the dialog is [show]'n. If this is called
* multiple times, it appends additional callbacks, rather than overwr... | apache-2.0 | Kotlin |
0f614d8dad8f19870ed2717df8b90ef52127d012 | Fix race condition in unit tests | jankotek/MapDB,jankotek/mapdb,jankotek/mapdb,jankotek/MapDB | src/test/java/org/mapdb/DBAwareTest.kt | src/test/java/org/mapdb/DBAwareTest.kt | package org.mapdb
import org.junit.Assert.assertEquals
import org.junit.Assert.assertSame
import org.junit.Test
import org.mapdb.serializer.GroupSerializerObjectArray
class DBAwareTest{
class Aware: GroupSerializerObjectArray<Any>(), DB.DBAware, DB.NamedRecordAware{
override fun deserialize(input: Data... | package org.mapdb
import org.junit.Assert.assertEquals
import org.junit.Assert.assertSame
import org.junit.Test
import org.mapdb.serializer.GroupSerializerObjectArray
class DBAwareTest{
object aware: GroupSerializerObjectArray<Any>(), DB.DBAware, DB.NamedRecordAware{
override fun deserialize(input: Dat... | apache-2.0 | Kotlin |
44cdb5e18e6df0e1b7360714554fef042d7bc111 | Remove java list from import | auricgoldfinger/Memento-Namedays,alexstyl/Memento-Calendar,alexstyl/Memento-Calendar,alexstyl/Memento-Namedays,auricgoldfinger/Memento-Namedays,alexstyl/Memento-Namedays,alexstyl/Memento-Calendar | memento/src/main/java/com/alexstyl/specialdates/events/peopleevents/ContactEventsOnADate.kt | memento/src/main/java/com/alexstyl/specialdates/events/peopleevents/ContactEventsOnADate.kt | package com.alexstyl.specialdates.events.peopleevents
import com.alexstyl.specialdates.contact.Contact
import com.alexstyl.specialdates.date.ContactEvent
import com.alexstyl.specialdates.date.Date
data class ContactEventsOnADate(val date: Date, val events: List<ContactEvent>, val contacts: List<Contact>) {
compa... | package com.alexstyl.specialdates.events.peopleevents
import com.alexstyl.specialdates.contact.Contact
import com.alexstyl.specialdates.date.ContactEvent
import com.alexstyl.specialdates.date.Date
import java.util.*
data class ContactEventsOnADate(val date: Date, val events: List<ContactEvent>, val contacts: List<Con... | mit | Kotlin |
7dc08236e0164e02b937bb99cda38b51925aac58 | Fix lint | Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2 | common/lessons-data/src/main/java/app/ss/lessons/data/repository/quarterly/LanguagesDataSource.kt | common/lessons-data/src/main/java/app/ss/lessons/data/repository/quarterly/LanguagesDataSource.kt | /*
* Copyright (c) 2022. Adventech <info@adventech.io>
*
* 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, mod... | /*
* Copyright (c) 2022. Adventech <info@adventech.io>
*
* 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, mod... | mit | Kotlin |
712332b9d7e9bf71467b5687ad460a771f18af8c | Fix the problem for converting AndroidManifest.xml file | shiraji/databinding-support,shiraji/databinding-support,shiraji/databinding-support | src/main/kotlin/com/github/shiraji/databindinglayout/ConvertToDatabindingLayoutIntention.kt | src/main/kotlin/com/github/shiraji/databindinglayout/ConvertToDatabindingLayoutIntention.kt | package com.github.shiraji.databindinglayout
import com.intellij.codeInsight.intention.IntentionAction
import com.intellij.lang.xml.XMLLanguage
import com.intellij.openapi.editor.Editor
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiFile
import com.intellij.psi.XmlElementFactory
import com.inte... | package com.github.shiraji.databindinglayout
import com.intellij.codeInsight.intention.IntentionAction
import com.intellij.lang.xml.XMLLanguage
import com.intellij.openapi.editor.Editor
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiFile
import com.intellij.psi.XmlElementFactory
import com.inte... | apache-2.0 | Kotlin |
8372c26a4e2b0f888d53b1d651d450fd6453a2c8 | Use the plugin invokeLater helper for IntelliJ 2019.1 compatibility. | rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin | src/plugin-api/main/uk/co/reecedunn/intellij/plugin/intellij/xdebugger/QueryDebugProcess.kt | src/plugin-api/main/uk/co/reecedunn/intellij/plugin/intellij/xdebugger/QueryDebugProcess.kt | /*
* Copyright (C) 2020 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) 2020 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 |
333f029e322d4d1415cd598456ce19ede9044f83 | Implement room use case getting notified it`s now active app perspective | DroidsOnRoids/DroidsMap,DroidsOnRoids/DroidsMap | app/src/main/java/pl/droidsonroids/droidsmap/feature/office/business_logic/OfficeFeatureUseCase.kt | app/src/main/java/pl/droidsonroids/droidsmap/feature/office/business_logic/OfficeFeatureUseCase.kt | package pl.droidsonroids.droidsmap.feature.office.business_logic
import io.reactivex.Observable
import io.reactivex.android.schedulers.AndroidSchedulers
import io.reactivex.schedulers.Schedulers
import pl.droidsonroids.droidsmap.base.DataObserverAdapter
import pl.droidsonroids.droidsmap.base.DisposableHandler
import p... | package pl.droidsonroids.droidsmap.feature.office.business_logic
import io.reactivex.Observable
import io.reactivex.android.schedulers.AndroidSchedulers
import io.reactivex.schedulers.Schedulers
import pl.droidsonroids.droidsmap.base.DataObserverAdapter
import pl.droidsonroids.droidsmap.base.DisposableHandler
import p... | mit | Kotlin |
d9b1c2088d8fcdedc8d070d988b3b81e5bf40f2a | Add UUID to partial triggers | blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,grad... | .teamcity/src/main/kotlin/configurations/PartialTrigger.kt | .teamcity/src/main/kotlin/configurations/PartialTrigger.kt | /*
* Copyright 2021 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 2021 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 |
5097557f5f1afda6415ae6ae3175501b15b3f68a | Use correct port for demo server (#2344) | openhab/openhab.android | mobile/src/main/java/org/openhab/habdroid/core/connection/DemoConnection.kt | mobile/src/main/java/org/openhab/habdroid/core/connection/DemoConnection.kt | /*
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.o... | /*
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.o... | epl-1.0 | Kotlin |
05e2f63c83e3a23b6c2db86283d6f8b1a4424a51 | Add intention to convert code from fixed form to free form | satamas/fortran-plugin,satamas/fortran-plugin,satamas/fortran-plugin | src/main/kotlin/org/jetbrains/fortran/ide/intentions/FortranFixedFormConverter.kt | src/main/kotlin/org/jetbrains/fortran/ide/intentions/FortranFixedFormConverter.kt | package org.jetbrains.fortran.ide.intentions
import com.intellij.analysis.AnalysisScope
import com.intellij.codeInsight.FileModificationService
import com.intellij.codeInsight.intention.IntentionAction
import com.intellij.codeInsight.intention.LowPriorityAction
import com.intellij.openapi.application.runWriteAction
im... | package org.jetbrains.fortran.ide.intentions
import com.intellij.analysis.AnalysisScope
import com.intellij.codeInsight.FileModificationService
import com.intellij.codeInsight.intention.IntentionAction
import com.intellij.codeInsight.intention.LowPriorityAction
import com.intellij.openapi.application.runWriteAction
im... | apache-2.0 | Kotlin |
d4899d36513c6bec4cd6011733e243dc1ba570c5 | Clean up the test code a bit more. | AlexLandau/semlang,AlexLandau/semlang,AlexLandau/semlang,AlexLandau/semlang | kotlin-parser/src/test/kotlin/manualTests.kt | kotlin-parser/src/test/kotlin/manualTests.kt | package semlang.parser.test
import org.junit.Assert.assertEquals
import org.junit.Test
import semlang.api.Function
import semlang.api.FunctionId
import semlang.api.Package
import semlang.interpreter.SemObject
import semlang.interpreter.SemlangForwardInterpreter
import semlang.parser.tokenize
import java.math.BigIntege... | package semlang.parser.test
import org.junit.Assert.assertEquals
import org.junit.Test
import semlang.api.Function
import semlang.api.FunctionId
import semlang.api.Package
import semlang.interpreter.SemObject
import semlang.interpreter.SemlangForwardInterpreter
import semlang.parser.tokenize
import java.math.BigIntege... | apache-2.0 | Kotlin |
a8d59e6c3743baa7b8aa3d03e148d3cfeb4d17a2 | Remove extra configuration from Jetty command line config | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-jetty/src/org/jetbrains/ktor/jetty/CommandLine.kt | ktor-jetty/src/org/jetbrains/ktor/jetty/CommandLine.kt | package org.jetbrains.ktor.jetty
import com.typesafe.config.*
import org.jetbrains.ktor.application.*
import java.io.*
import java.net.*
import java.util.*
import javax.naming.*
fun main(args: Array<String>) {
val map = HashMap<String, String>()
for (arg in args) {
val data = arg.split('=')
if... | package org.jetbrains.ktor.jetty
import com.typesafe.config.*
import org.jetbrains.ktor.application.*
import java.io.*
import java.net.*
import java.util.*
import javax.naming.*
fun main(args: Array<String>) {
val map = HashMap<String, String>()
for (arg in args) {
val data = arg.split('=')
if... | apache-2.0 | Kotlin |
2b8726bfc4bec2f6f7b2b6257d6684e777b0c455 | Remove -alpha suffix from version info, no more changing to the development version is likely going to happen. | alekratz/markov-bot | src/main/kotlin/edu/appstate/cs/markovbot/VersionInfo.kt | src/main/kotlin/edu/appstate/cs/markovbot/VersionInfo.kt | package edu.appstate.cs.markovbot
/**
* @author Alek Ratzloff <alekratz@gmail.com>
*/
object VersionInfo {
const val MAJOR = 0
const val MINOR = 1
const val REV = 0
const val SUFFIX = ""
const val STR = "$MAJOR.$MINOR.$REV$SUFFIX"
} | package edu.appstate.cs.markovbot
/**
* @author Alek Ratzloff <alekratz@gmail.com>
*/
object VersionInfo {
const val MAJOR = 0
const val MINOR = 1
const val REV = 0
const val SUFFIX = "-alpha"
const val STR = "$MAJOR.$MINOR.$REV$SUFFIX"
} | bsd-2-clause | Kotlin |
64c8f2a13477781ad994fcb12c4a64450f176b6c | Remove attributes. | RocketChat/Rocket.Chat.Android,RocketChat/Rocket.Chat.Android.Lily,RocketChat/Rocket.Chat.Android.Lily,RocketChat/Rocket.Chat.Android | app/src/main/java/chat/rocket/android/app/chatlist/Chat.kt | app/src/main/java/chat/rocket/android/app/chatlist/Chat.kt | package chat.rocket.android.app.chatlist
import chat.rocket.android.app.User
import org.threeten.bp.LocalDateTime
data class Chat(val user: User,
val name: String,
val type: String,
val lastMessage: String,
val lastMessageDateTime: LocalDateTime,
... | package chat.rocket.android.app.chatlist
import org.threeten.bp.LocalDateTime
data class Chat(val userAvatarUri: String,
data class Chat(val user: User,
val name: String,
val type: String,
val userStatus: String?,
val lastMessage: String,
... | mit | Kotlin |
0cbf9197e98b0351505cc4c74fbfaccfa25f67e1 | Clean up. | cbeust/kobalt,ethauvin/kobalt,ethauvin/kobalt,cbeust/kobalt,cbeust/kobalt,ethauvin/kobalt,ethauvin/kobalt | src/test/kotlin/com/beust/kobalt/internal/InstallTest.kt | src/test/kotlin/com/beust/kobalt/internal/InstallTest.kt | package com.beust.kobalt.internal
import com.beust.kobalt.BaseTest
import com.beust.kobalt.BuildFile
import com.beust.kobalt.ProjectFile
import com.beust.kobalt.ProjectInfo
import com.beust.kobalt.app.BuildFileCompiler
import com.google.inject.Inject
import org.assertj.core.api.Assertions.assertThat
import org.testng.... | package com.beust.kobalt.internal
import com.beust.kobalt.*
import com.beust.kobalt.app.BuildFileCompiler
import com.google.inject.Inject
import org.assertj.core.api.Assertions.assertThat
import org.testng.IModuleFactory
import org.testng.ITestContext
import org.testng.annotations.Test
import java.io.File
class Modul... | apache-2.0 | Kotlin |
cfd8de26085d14eb808de6cfe05cba54a1a10cef | Create a mock CaretModel implementation. | rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin | src/intellij-mock/main/uk/co/reecedunn/intellij/plugin/core/tests/editor/MockCaretModel.kt | src/intellij-mock/main/uk/co/reecedunn/intellij/plugin/core/tests/editor/MockCaretModel.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... | apache-2.0 | Kotlin | |
7fc3bcac4177e051d65e0190ed28c6a15c18df0e | Add success message when generation config | Mauin/detekt,arturbosch/detekt,arturbosch/detekt,Mauin/detekt,rock3r/detekt,arturbosch/detekt,Mauin/detekt,MyDogTom/detekt,rock3r/detekt,rock3r/detekt,Mauin/detekt | detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/Configurations.kt | detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/Configurations.kt | package io.gitlab.arturbosch.detekt.cli
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.YamlConfig
import io.gitlab.arturbosch.detekt.core.PathFilter
import java.io.File
import java.nio.file.Path
import java.nio.file.Paths
/**
* @author Artur Bosch
*/
fun Main.createPathFilters... | package io.gitlab.arturbosch.detekt.cli
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.YamlConfig
import io.gitlab.arturbosch.detekt.core.PathFilter
import java.io.File
import java.nio.file.Path
import java.nio.file.Paths
/**
* @author Artur Bosch
*/
fun Main.createPathFilters... | apache-2.0 | Kotlin |
9d7573cf750b09c8ff9fa0f793782a931bdcaacc | Simplify cleanupDirectory code | android/architecture-components-samples,android/architecture-components-samples,android/architecture-components-samples | WorkManagerSample/lib/src/main/java/com/example/background/workers/CleanupWorker.kt | WorkManagerSample/lib/src/main/java/com/example/background/workers/CleanupWorker.kt | /*
* Copyright 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2018 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 |
c246229b53e27dfe714c9fe146481e9677ff2e4c | Add DataFactory object for generating fixtures | izumin5210/Sunazuri | app/src/test/kotlin/info/izumin/android/sunazuri/infrastructure/mock/DataFactory.kt | app/src/test/kotlin/info/izumin/android/sunazuri/infrastructure/mock/DataFactory.kt | package info.izumin.android.sunazuri.infrastructure.mock
import info.izumin.android.sunazuri.infrastructure.entity.AccessTokenEntity
import info.izumin.android.sunazuri.infrastructure.entity.AuthorizedUserEntity
import info.izumin.android.sunazuri.infrastructure.entity.TeamEntity
import info.izumin.android.sunazuri.in... | apache-2.0 | Kotlin | |
ecdc639bd6fcb9d811b526acde19cfaaf5a0dde7 | fix compile warnings | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | rider/src/main/kotlin/com/jetbrains/rider/plugins/unity/explorer/UnityProjectModelViewExtensions.kt | rider/src/main/kotlin/com/jetbrains/rider/plugins/unity/explorer/UnityProjectModelViewExtensions.kt | package com.jetbrains.rider.plugins.unity.explorer
import com.intellij.openapi.project.Project
import com.intellij.openapi.vfs.VirtualFile
import com.jetbrains.rider.isUnityGeneratedProject
import com.jetbrains.rider.projectView.ProjectModelViewExtensions
import com.jetbrains.rider.projectView.ProjectModelViewHost
imp... | package com.jetbrains.rider.plugins.unity.explorer
import com.intellij.openapi.project.Project
import com.intellij.openapi.vfs.VirtualFile
import com.jetbrains.rider.isUnityGeneratedProject
import com.jetbrains.rider.projectView.ProjectModelViewExtensions
import com.jetbrains.rider.projectView.ProjectModelViewHost
imp... | apache-2.0 | Kotlin |
18ee68a7eee008e5339869d10af5c76f1817a0fe | refactor #451 Add test case. | toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/test/java/jp/toastkid/yobidashi/search/usecase/SearchFragmentFactoryUseCaseTest.kt | app/src/test/java/jp/toastkid/yobidashi/search/usecase/SearchFragmentFactoryUseCaseTest.kt | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | epl-1.0 | Kotlin | |
4b3be0d13cd543e3d79a329ff8d9017c592a2306 | Add promise await | AcornUI/Acorn,AcornUI/Acorn,AcornUI/Acorn | AcornUiJsBackend/src/com/acornui/js/async/PromiseUtils.kt | AcornUiJsBackend/src/com/acornui/js/async/PromiseUtils.kt | /*
* Copyright 2018 Poly Forest
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | apache-2.0 | Kotlin | |
ee4283b5e23a6621d660b13653e2f1ee44f604c2 | Exclude null module loaders from XdmModuleLoaderSettings. | rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin | src/lang-xdm/main/uk/co/reecedunn/intellij/plugin/xdm/module/loader/XdmModuleLoaderSettings.kt | src/lang-xdm/main/uk/co/reecedunn/intellij/plugin/xdm/module/loader/XdmModuleLoaderSettings.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 |
0383a41f00f76d874f3195eff379ea4ed5c88b69 | Add ActivityExt.kt | Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2 | common/core/src/main/java/com/cryart/sabbathschool/core/extensions/activity/ActivityExt.kt | common/core/src/main/java/com/cryart/sabbathschool/core/extensions/activity/ActivityExt.kt | /*
* Copyright (c) 2021. Adventech <info@adventech.io>
*
* 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, mod... | mit | Kotlin | |
c7af0c475fd6b6ab08f5ec28b26f248037532194 | Create an AnnotationBuilder#problemGroup compatibility API. | rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin | src/intellij-compat/src/201/compat/com/intellij/compat/lang/annotation/AnnotationBuilder.kt | src/intellij-compat/src/201/compat/com/intellij/compat/lang/annotation/AnnotationBuilder.kt | /*
* Copyright (C) 2020 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) 2020 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 |
b08dda85ffac62149b65c34e2b52f19d33b788aa | Fix the plain wrong dist calc between Point | nkming2/libutils-android,nkming2/libutils-android | src/main/kotlin/com/nkming/utils/type/ext/Extension.kt | src/main/kotlin/com/nkming/utils/type/ext/Extension.kt | /*
* Extension.kt
* Extensions for various common classes in Android
*
* Copyright (c) 2016 Ming Tsang
* Refer to LICENSE for details
*/
package com.nkming.utils.type.ext
import android.graphics.Point
import android.graphics.PointF
import android.graphics.Rect
import android.graphics.RectF
// Point
operator fu... | /*
* Extension.kt
* Extensions for various common classes in Android
*
* Copyright (c) 2016 Ming Tsang
* Refer to LICENSE for details
*/
package com.nkming.utils.type.ext
import android.graphics.Point
import android.graphics.PointF
import android.graphics.Rect
import android.graphics.RectF
// Point
operator fu... | mit | Kotlin |
b8df19ff90b813413f2d679233efb3e612085323 | Use SupportFragmentTestUtil to resolve Fragment base View | snice/anko,Ribesg/anko,Ribesg/anko,colriot/anko,DanielGrech/anko,Ribesg/anko,deva666/anko,is00hcw/anko,Kotlin/anko,deva666/anko,Kotlin/anko,colriot/anko,DanielGrech/anko,Kotlin/anko,fboldog/anko,colriot/anko,fboldog/anko,leasual/anko,fboldog/anko,is00hcw/anko,snice/anko,leasual/anko,deva666/anko,JetBrains/anko,is00hcw/... | preview/robowrapper/src/org/jetbrains/kotlin/android/robowrapper/BaseViewResolver.kt | preview/robowrapper/src/org/jetbrains/kotlin/android/robowrapper/BaseViewResolver.kt | /*
* Copyright 2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | /*
* Copyright 2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | apache-2.0 | Kotlin |
ee33209de3613fada72d7fca85cbb166b17ba57a | Bump kotlin-stdlib-jdk8 from 1.5.31 to 1.6.20 | gesellix/gradle-docker-plugin,gesellix/gradle-docker-plugin | build.gradle.kts | build.gradle.kts | plugins {
id("maven-publish")
id("com.github.ben-manes.versions") version "0.42.0"
id("net.ossindex.audit") version "0.4.11"
id("com.gradle.plugin-publish") version "0.21.0" apply false
id("io.freefair.maven-central.validate-poms") version "6.4.2"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
... | plugins {
id("maven-publish")
id("com.github.ben-manes.versions") version "0.42.0"
id("net.ossindex.audit") version "0.4.11"
id("com.gradle.plugin-publish") version "0.21.0" apply false
id("io.freefair.maven-central.validate-poms") version "6.4.2"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
... | mit | Kotlin |
00db69b9ed178bf711e6297d901766b2c16f3c68 | Prepare project for asciidoctor site publication | britter/bean-validators,britter/bean-validators | build.gradle.kts | build.gradle.kts | /*
* Copyright 2019 Benedikt Ritter
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | /*
* Copyright 2019 Benedikt Ritter
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | apache-2.0 | Kotlin |
cba328376f28f3ed353031099cc6a61ff9a42654 | Update documentation | KotlinNLP/SimpleDNN | src/main/kotlin/com/kotlinnlp/simplednn/deeplearning/competitivelearning/CLNetworkModel.kt | src/main/kotlin/com/kotlinnlp/simplednn/deeplearning/competitivelearning/CLNetworkModel.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 |
de5b23c0b762734e25eba0aeaea9058be0206d81 | Update variable name to match conventions | jonalmeida/focus-android,mozilla-mobile/focus-android,ekager/focus-android,mozilla-mobile/focus-android,ekager/focus-android,jonalmeida/focus-android,mozilla-mobile/focus-android,jonalmeida/focus-android,ekager/focus-android,ekager/focus-android,mozilla-mobile/focus-android,jonalmeida/focus-android,jonalmeida/focus-and... | app/src/main/java/org/mozilla/focus/autocomplete/AutocompleteQuickAddPopup.kt | app/src/main/java/org/mozilla/focus/autocomplete/AutocompleteQuickAddPopup.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.autocomplete
import android.content.Context
import android.graphics.Color
import androi... | /* 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.autocomplete
import android.content.Context
import android.graphics.Color
import androi... | mpl-2.0 | Kotlin |
58d5cd3d0bb8a51a60747d6b52e589e879c6e4bb | Split read function into two functions, allowing dataFolder to become private | serebit/autotitan | src/main/java/com/serebit/autotitan/data/DataManager.kt | src/main/java/com/serebit/autotitan/data/DataManager.kt | package com.serebit.autotitan.data
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import java.io.File
val serializer: Gson = GsonBuilder().apply {
serializeNulls()
}.create()
class DataManager(type: Class<*>) {
private val parentFolder = File(DataManager::class.java.protectionDomain.codeSourc... | package com.serebit.autotitan.data
import com.google.gson.Gson
import com.google.gson.GsonBuilder
import java.io.File
val serializer: Gson = GsonBuilder().apply {
serializeNulls()
}.create()
class DataManager(type: Class<*>) {
private val parentFolder = File(DataManager::class.java.protectionDomain.codeSourc... | apache-2.0 | Kotlin |
1984b9f7f8f303a8b8fb05b4343bc2d67bc6fd01 | Move interface to the end of class | 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/vcs/editor/ComplexPathVirtualFileSystem.kt | platform/vcs-impl/src/com/intellij/vcs/editor/ComplexPathVirtualFileSystem.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.vcs.editor
import com.google.gson.Gson
import com.intellij.openapi.diagnostic.logger
import com.intellij.openapi.project.Project
import com.intellij.openapi.... | // 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.vcs.editor
import com.google.gson.Gson
import com.intellij.openapi.diagnostic.logger
import com.intellij.openapi.project.Project
import com.intellij.openapi.... | apache-2.0 | Kotlin |
c7463f9022db6b4343e8455b4de4d2b2c122cd22 | refactor #485 Fix coroutines unit test with injecting test dispatcher. | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/test/java/jp/toastkid/yobidashi/browser/page_information/BarcodePreparationUseCaseTest.kt | app/src/test/java/jp/toastkid/yobidashi/browser/page_information/BarcodePreparationUseCaseTest.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 |
584799511ced616e8c8b6f9689b656f78b021bc8 | refactor #580 Rename test function. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | article/src/test/java/jp/toastkid/article_viewer/article/detail/markdown/CoilPluginFactoryTest.kt | article/src/test/java/jp/toastkid/article_viewer/article/detail/markdown/CoilPluginFactoryTest.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 |
3884fac7231d4a245db15445f5045dd218403a44 | Initialize plugin registry keys before all other extensions, unload after all other extensions (IDEA-244319, IDEA-242860) | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/platform-impl/src/com/intellij/openapi/util/registry/RegistryExtensionCollector.kt | platform/platform-impl/src/com/intellij/openapi/util/registry/RegistryExtensionCollector.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.util.registry
import com.intellij.ide.plugins.DynamicPluginListener
import com.intellij.ide.plugins.DynamicPlugins
import com.intellij.ide.plugins.Id... | // 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.util.registry
import com.intellij.openapi.extensions.*
import com.intellij.openapi.util.text.StringUtil
import com.intellij.util.xmlb.annotations.Att... | apache-2.0 | Kotlin |
89812d22f97ebf3af3fbed8fb42e66fb57e063ad | Add helper function for injection graph construction | MichaelRocks/lightsaber,MichaelRocks/lightsaber | processor/src/main/kotlin/io/michaelrocks/lightsaber/processor/validation/InjectionGraph.kt | processor/src/main/kotlin/io/michaelrocks/lightsaber/processor/validation/InjectionGraph.kt | /*
* Copyright 2016 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 | |
6a8cf12b46520f672dd3cc53e1b08e776dc7e57e | Add Apache async test client. (#6426) | cmzy/okhttp,tiarebalbi/okhttp,cmzy/okhttp,tiarebalbi/okhttp,square/okhttp,tiarebalbi/okhttp,square/okhttp,yschimke/okhttp,yschimke/okhttp,square/okhttp,yschimke/okhttp,ansman/okhttp,ansman/okhttp,ansman/okhttp,ze-pequeno/okhttp,ze-pequeno/okhttp,ze-pequeno/okhttp | regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt | regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt | /*
* ====================================================================
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
... | apache-2.0 | Kotlin | |
bca7e7b04186e5bdd5aeebed5db63aa591f5025b | fix review session caching | StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android | app/src/main/java/org/stepik/android/cache/review_session/ReviewSessionCacheDataSourceImpl.kt | app/src/main/java/org/stepik/android/cache/review_session/ReviewSessionCacheDataSourceImpl.kt | package org.stepik.android.cache.review_session
import org.stepik.android.cache.review_session.dao.ReviewSessionDao
import org.stepik.android.data.review_session.source.ReviewSessionCacheDataSource
import io.reactivex.Completable
import io.reactivex.Single
import org.stepic.droid.storage.dao.IDao
import org.stepik.and... | package org.stepik.android.cache.review_session
import org.stepik.android.cache.review_session.dao.ReviewSessionDao
import org.stepik.android.data.review_session.source.ReviewSessionCacheDataSource
import io.reactivex.Completable
import io.reactivex.Single
import org.stepic.droid.storage.dao.IDao
import org.stepik.and... | apache-2.0 | Kotlin |
ab78a47181f0351a85569267142e2bf6a51491a0 | Add websocket state logging | Kiskae/DiscordKt,Kiskae/DiscordKt | implementation/src/main/kotlin/net/serverpeon/discord/internal/ws/client/DiscordEndpoint.kt | implementation/src/main/kotlin/net/serverpeon/discord/internal/ws/client/DiscordEndpoint.kt | package net.serverpeon.discord.internal.ws.client
import net.serverpeon.discord.internal.createLogger
import net.serverpeon.discord.internal.kTrace
import rx.Subscriber
import rx.subscriptions.Subscriptions
import java.io.InputStream
import java.io.InputStreamReader
import java.io.Reader
import java.util.zip.InflaterI... | package net.serverpeon.discord.internal.ws.client
import rx.Subscriber
import rx.subscriptions.Subscriptions
import java.io.InputStream
import java.io.InputStreamReader
import java.io.Reader
import java.util.zip.InflaterInputStream
import javax.websocket.*
internal class DiscordEndpoint(val translator: MessageTransla... | mit | Kotlin |
05cc2f7a644e0652c49a835a367909fb649fa0bb | add LinkedHashMapBackedIterable | jayrave/falkon | falkon-core/src/main/kotlin/com/jayrave/falkon/dao/lib/LinkedHashMapBackedIterable.kt | falkon-core/src/main/kotlin/com/jayrave/falkon/dao/lib/LinkedHashMapBackedIterable.kt | package com.jayrave.falkon.dao.lib
import java.util.*
/**
* Since this [Iterable] is backed by [LinkedHashMap], the iteration order is deterministic
* and follows that of the map
*/
internal class LinkedHashMapBackedIterable<K, V, T>(
private val linkedHashMap: LinkedHashMap<K, V>,
private val extr... | apache-2.0 | Kotlin | |
94e1a1dd14daa8a4a3bc03b8f01e0ba31af90d3c | change default page size to 50 | bkmioa/NexusRss,bkmioa/NexusRss | app/src/main/java/io/github/bkmioa/nexusrss/Settings.kt | app/src/main/java/io/github/bkmioa/nexusrss/Settings.kt | package io.github.bkmioa.nexusrss
import com.chibatching.kotpref.KotprefModel
class Settings {
companion object : KotprefModel() {
override val kotprefName = BuildConfig.APPLICATION_ID + "_preferences"
const val BASE_URL = "https://pt.m-team.cc"
var PAGE_SIZE by intPref(50, "pageSize")
... | package io.github.bkmioa.nexusrss
import com.chibatching.kotpref.KotprefModel
class Settings {
companion object : KotprefModel() {
override val kotprefName = BuildConfig.APPLICATION_ID + "_preferences"
const val BASE_URL = "https://pt.m-team.cc"
var PAGE_SIZE by intPref(20, "pageSize")
... | apache-2.0 | Kotlin |
d02ed55c4192431cbacabc8110868d50106bd9c4 | Update SQLite to 3.28.0 | BjoernPetersen/JMusicBot | buildSrc/src/main/kotlin/Lib.kt | buildSrc/src/main/kotlin/Lib.kt | object Lib {
const val KOTLIN = Plugin.KOTLIN
const val SLF4J = "1.8.0-beta4"
const val KOTLIN_LOGGING = "1.6.26"
const val KOTLIN_COROUTINES = "1.2.2"
const val GUAVA = "27.1-android"
const val GUICE = "4.2.2"
const val SQLITE = "3.28.0"
const val JBCRYPT = "0.4"
const val JJWT = ... | object Lib {
const val KOTLIN = Plugin.KOTLIN
const val SLF4J = "1.8.0-beta4"
const val KOTLIN_LOGGING = "1.6.26"
const val KOTLIN_COROUTINES = "1.2.2"
const val GUAVA = "27.1-android"
const val GUICE = "4.2.2"
const val SQLITE = "3.27.2.1"
const val JBCRYPT = "0.4"
const val JJWT ... | mit | Kotlin |
e1d1a6dcbb3e1f293138b3eebfde44eb56ccb99c | Drop root log level precedence | vyo/twig | src/main/kotlin/io/github/vyo/twig/Logger.kt | src/main/kotlin/io/github/vyo/twig/Logger.kt | package io.github.vyo.twig
import nl.komponents.kovenant.async
import kotlin.concurrent.currentThread
/**
* Created by Manuel Weidmann on 24.11.2015.
*/
class Logger(val caller: Any) {
var threshold: Level
init {
threshold = root.threshold
}
companion object root {
var threshold: ... | package io.github.vyo.twig
import nl.komponents.kovenant.async
import kotlin.concurrent.currentThread
/**
* Created by Manuel Weidmann on 24.11.2015.
*/
class Logger(val caller: Any) {
var threshold: Level
init {
threshold = root.threshold
}
companion object root {
var threshold: ... | isc | Kotlin |
1700781c55c83cc8961dd357fa1fb7dca2648089 | Simplify the buildComponentGraph() function | MichaelRocks/lightsaber,MichaelRocks/lightsaber | processor/src/main/kotlin/io/michaelrocks/lightsaber/processor/validation/ComponentGraph.kt | processor/src/main/kotlin/io/michaelrocks/lightsaber/processor/validation/ComponentGraph.kt | /*
* Copyright 2016 Michael Rozumyanskiy
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | /*
* Copyright 2016 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 |
64947a471db565cb3a241f22663b4b7c81341033 | Add BiRNNParamsErrorsAccumulator | KotlinNLP/SimpleDNN | src/kotlin/com/kotlinnlp/simplednn/deeplearning/birnn/BiRNNParamsErrorsAccumulator.kt | src/kotlin/com/kotlinnlp/simplednn/deeplearning/birnn/BiRNNParamsErrorsAccumulator.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 | |
838f9f7dbcaf253ef14e9a57c0265f65b42e3546 | Stop audit logging gratuitous user data (#5936) | all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench,all-of-us/workbench | api/src/main/java/org/pmiops/workbench/actionaudit/targetproperties/ProfileTargetProperty.kt | api/src/main/java/org/pmiops/workbench/actionaudit/targetproperties/ProfileTargetProperty.kt | package org.pmiops.workbench.actionaudit.targetproperties
import org.pmiops.workbench.model.Profile
// N.B. entries will rarely be referred to by name, but are accessed via values(). I.e. they are
// not safe to remove, even if an IDE indicates otherwise.
enum class ProfileTargetProperty
constructor(override val prop... | package org.pmiops.workbench.actionaudit.targetproperties
import org.pmiops.workbench.model.Profile
// N.B. entries will rarely be referred to by name, but are accessed via values(). I.e. they are
// not safe to remove, even if an IDE indicates otherwise.
enum class ProfileTargetProperty
constructor(override val prop... | bsd-3-clause | Kotlin |
f0c5e73d0f088279f657ed575067320cafe9da46 | Fix data binding library imports | kirtan403/K4Kotlin,kirtan403/K4Kotlin | k4kotlin-databinding/src/main/java/com/livinglifetechway/k4kotlin/databinding/DataBinding.kt | k4kotlin-databinding/src/main/java/com/livinglifetechway/k4kotlin/databinding/DataBinding.kt | package com.livinglifetechway.k4kotlin.databinding
import android.app.Activity
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.annotation.LayoutRes
import androidx.databinding.DataBindingComponent
import androidx.databinding.DataBindingUtil
import androidx.data... | package com.livinglifetechway.k4kotlin.databinding
import android.app.Activity
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
/**
* Sets the activity's content view with the data binding
* @param layoutRes Layout resource to use as the activity's content
* @param bindingC... | apache-2.0 | Kotlin |
38014161d4ce8da853c36f0d139d565b78193029 | Refactor local analytics filler | dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk | core/src/androidTest/java/org/hisp/dhis/android/localanalytics/LocalAnalyticsDatabaseFiller.kt | core/src/androidTest/java/org/hisp/dhis/android/localanalytics/LocalAnalyticsDatabaseFiller.kt | /*
* Copyright (c) 2004-2019, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of cond... | /*
* Copyright (c) 2004-2019, University of Oslo
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
* list of cond... | bsd-3-clause | Kotlin |
056c908fc541cdf4b6ec17e4afd6076d94795fad | Fix DefaultPlayerModule | BjoernPetersen/JMusicBot | src/main/kotlin/com/github/bjoernpetersen/musicbot/api/module/DefaultModule.kt | src/main/kotlin/com/github/bjoernpetersen/musicbot/api/module/DefaultModule.kt | package com.github.bjoernpetersen.musicbot.api.module
import com.github.bjoernpetersen.musicbot.internal.auth.DefaultDatabase
import com.github.bjoernpetersen.musicbot.internal.loader.DefaultSongLoader
import com.github.bjoernpetersen.musicbot.internal.player.DefaultPlayer
import com.github.bjoernpetersen.musicbot.int... | package com.github.bjoernpetersen.musicbot.api.module
import com.github.bjoernpetersen.musicbot.internal.auth.DefaultDatabase
import com.github.bjoernpetersen.musicbot.internal.loader.DefaultSongLoader
import com.github.bjoernpetersen.musicbot.internal.player.DefaultPlayer
import com.github.bjoernpetersen.musicbot.int... | mit | Kotlin |
5e6c957ef93bf333ec36ec69cafe8eca629818f9 | Create basic API | http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k | http4k-serverless-lambda/integration-test/src/test/kotlin/org/http4k/serverless/lambda/DeployApiGateway.kt | http4k-serverless-lambda/integration-test/src/test/kotlin/org/http4k/serverless/lambda/DeployApiGateway.kt | package org.http4k.serverless.lambda
import org.http4k.aws.AwsCredentialScope
import org.http4k.client.JavaHttpClient
import org.http4k.cloudnative.env.Environment
import org.http4k.cloudnative.env.EnvironmentKey
import org.http4k.core.Body
import org.http4k.core.Filter
import org.http4k.core.Method.DELETE
import org.... | apache-2.0 | Kotlin | |
2b7cbce292e2f6dc6149955ee0e148dd8a104eec | Fix "CommittedChangesFilterKey.compareTo()" - use correct priority (IDEA-248635) | 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-api/src/com/intellij/openapi/vcs/changes/committed/CommittedChangesFilterKey.kt | platform/vcs-api/src/com/intellij/openapi/vcs/changes/committed/CommittedChangesFilterKey.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.committed
import org.jetbrains.annotations.NonNls
enum class CommittedChangesFilterPriority(val priority: Int) {
TEXT(0),
STRUCTURE(... | // 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.committed
import org.jetbrains.annotations.NonNls
enum class CommittedChangesFilterPriority(val priority: Int) {
TEXT(0),
STRUCTURE(... | apache-2.0 | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.