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 |
|---|---|---|---|---|---|---|---|---|
14f7170296e5e2adc2fa03e1b8f23f8c1d23cc39 | Update versions | eugeis/ee,eugeis/ee | ee-design_xsd/src/test/kotlin/ee/design/xsd/XsdToDesignMain.kt | ee-design_xsd/src/test/kotlin/ee/design/xsd/XsdToDesignMain.kt | package ee.design.swagger
import ee.design.xsd.DslTypes
import ee.design.xsd.XsdToDesign
import org.slf4j.LoggerFactory
import java.nio.file.Paths
object XsdToDesignMain {
private val log = LoggerFactory.getLogger(javaClass)
@JvmStatic
fun main(args: Array<String>) {
val swagger = XsdToDesign(mut... | apache-2.0 | Kotlin | |
afca54998e8c37a82bb0accb4a7bf1dbee68541e | Add some extension functions | voghDev/HelloKotlin | app/src/main/java/es/voghdev/hellokotlin/Extensions.kt | app/src/main/java/es/voghdev/hellokotlin/Extensions.kt | /*
* Copyright (C) 2017 Olmo Gallegos Hernández.
*
* 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 ... | apache-2.0 | Kotlin | |
dca3561d046eedb7bead9148579688b6faba9671 | Remove unused private property (detekt warning) | Mauin/detekt,Mauin/detekt,arturbosch/detekt,Mauin/detekt,rock3r/detekt,rock3r/detekt,arturbosch/detekt,Mauin/detekt,rock3r/detekt,arturbosch/detekt | detekt-gradle-plugin/src/main/kotlin/io/gitlab/arturbosch/detekt/extensions/IdeaExtension.kt | detekt-gradle-plugin/src/main/kotlin/io/gitlab/arturbosch/detekt/extensions/IdeaExtension.kt | package io.gitlab.arturbosch.detekt.extensions
/**
* @author Artur Bosch
*/
open class IdeaExtension(open var path: String? = null,
open var codeStyleScheme: String? = null,
open var inspectionsProfile: String? = null,
open var report: String? = null,
open var mask: String = "*.kt") {
f... | package io.gitlab.arturbosch.detekt.extensions
/**
* @author Artur Bosch
*/
open class IdeaExtension(open var path: String? = null,
open var codeStyleScheme: String? = null,
open var inspectionsProfile: String? = null,
open var report: String? = null,
open var mask: String = "*.kt") {
f... | apache-2.0 | Kotlin |
2ef0a8dec19bec1ceef3d9574adbe3593ad301ae | Mark response transient in the exception | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-client/ktor-client-core/common/src/io/ktor/client/features/DefaultResponseValidation.kt | ktor-client/ktor-client-core/common/src/io/ktor/client/features/DefaultResponseValidation.kt | /*
* Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.client.features
import io.ktor.client.*
import io.ktor.client.call.*
import io.ktor.client.response.*
import io.ktor.util.*
import kotlinx.io.core.*
import kotlin.jvm.*
priva... | /*
* Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package io.ktor.client.features
import io.ktor.client.*
import io.ktor.client.call.*
import io.ktor.client.response.*
import io.ktor.util.*
import kotlinx.io.core.*
private val ValidateMark ... | apache-2.0 | Kotlin |
1b0d6f6a36ac05e4822e11cc30e8cd17749dddb2 | Add fail case test to HasTextAssertionsTest | elpassion/android-commons,elpassion/android-commons,elpassion/android-commons | espresso/src/androidTest/java/com/elpassion/android/commons/espresso/HasTextAssertionsTest.kt | espresso/src/androidTest/java/com/elpassion/android/commons/espresso/HasTextAssertionsTest.kt | package com.elpassion.android.commons.espresso
import android.os.Bundle
import android.support.test.rule.ActivityTestRule
import android.widget.Button
import android.widget.FrameLayout
import com.elpassion.android.commons.espresso.test.R
import org.junit.Rule
import org.junit.Test
class HasTextAssertionsTest {
@... | package com.elpassion.android.commons.espresso
import android.os.Bundle
import android.support.test.rule.ActivityTestRule
import android.widget.Button
import android.widget.FrameLayout
import org.junit.Rule
import org.junit.Test
class HasTextAssertionsTest {
@JvmField @Rule
val activityRule = ActivityTestRul... | apache-2.0 | Kotlin |
5a6dd674a29de4a32c7ba7aa8fd8145ce4bc2576 | Add 'serialVersionUID' | KotlinNLP/SimpleDNN | src/main/kotlin/com/kotlinnlp/simplednn/core/layers/models/recurrent/RecurrentLinearParams.kt | src/main/kotlin/com/kotlinnlp/simplednn/core/layers/models/recurrent/RecurrentLinearParams.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 |
18692fea11d93885417fd414a61c8e9b6a132b52 | Add postUserNameAndPassword() to RxApps. | sys1yagi/mastodon4j | mastodon4j-rx/src/main/java/com/sys1yagi/mastodon4j/rx/RxApps.kt | mastodon4j-rx/src/main/java/com/sys1yagi/mastodon4j/rx/RxApps.kt | package com.sys1yagi.mastodon4j.rx
import com.sys1yagi.mastodon4j.MastodonClient
import com.sys1yagi.mastodon4j.api.Scope
import com.sys1yagi.mastodon4j.api.entity.Status
import com.sys1yagi.mastodon4j.api.entity.auth.AccessToken
import com.sys1yagi.mastodon4j.api.entity.auth.AppRegistration
import com.sys1yagi.mastod... | package com.sys1yagi.mastodon4j.rx
import com.sys1yagi.mastodon4j.MastodonClient
import com.sys1yagi.mastodon4j.api.Scope
import com.sys1yagi.mastodon4j.api.entity.Status
import com.sys1yagi.mastodon4j.api.entity.auth.AccessToken
import com.sys1yagi.mastodon4j.api.entity.auth.AppRegistration
import com.sys1yagi.mastod... | mit | Kotlin |
8f0a239f57e567eb5f84c89a26907409cd8250ea | Update EnableAlarmActions.kt | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | .kotlin_alpha/services/cloudwatch/src/main/kotlin/com/kotlin/cloudwatch/EnableAlarmActions.kt | .kotlin_alpha/services/cloudwatch/src/main/kotlin/com/kotlin/cloudwatch/EnableAlarmActions.kt | //snippet-sourcedescription:[EnableAlarmActions.kt demonstrates how to enable actions on a CloudWatch alarm.]
//snippet-keyword:[AWS SDK for Kotlin]
//snippet-keyword:[Code Sample]
//snippet-service:[Amazon CloudWatch]
//snippet-sourcetype:[full-example]
//snippet-sourcedate:[06/11/2021]
//snippet-sourceauthor:[s... | //snippet-sourcedescription:[EnableAlarmActions.kt demonstrates how to enable actions on a CloudWatch alarm.]
//snippet-keyword:[AWS SDK for Kotlin]
//snippet-keyword:[Code Sample]
//snippet-service:[Amazon CloudWatch]
//snippet-sourcetype:[full-example]
//snippet-sourcedate:[06/11/2021]
//snippet-sourceauthor:[s... | apache-2.0 | Kotlin |
69fc9e824e5cf07b905aa941a01d7f5156b94413 | fix parameter type | StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android | app/src/main/java/org/stepik/android/domain/course/repository/CourseReviewSummaryRepository.kt | app/src/main/java/org/stepik/android/domain/course/repository/CourseReviewSummaryRepository.kt | package org.stepik.android.domain.course.repository
import io.reactivex.Single
import org.stepik.android.domain.base.DataSourceType
import org.stepik.android.model.CourseReviewSummary
interface CourseReviewSummaryRepository {
fun getCourseReviewSummary(courseReviewSummaryId: Long): Single<CourseReviewSummary>
... | package org.stepik.android.domain.course.repository
import io.reactivex.Single
import org.stepik.android.model.CourseReviewSummary
interface CourseReviewSummaryRepository {
fun getCourseReviewSummary(courseReviewSummaryId: Long): Single<CourseReviewSummary>
fun getCourseReviewSummaries(courseReviewSummaryIds:... | apache-2.0 | Kotlin |
ef1ca2a8b17063a928da472569a7475fd5186460 | Sort subprojects when generating subprojects.json | gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpira... | buildSrc/subprojects/plugins/src/main/kotlin/org/gradle/build/GenerateSubprojectsInfoPlugin.kt | buildSrc/subprojects/plugins/src/main/kotlin/org/gradle/build/GenerateSubprojectsInfoPlugin.kt | /*
* Copyright 2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin |
e8f44466ccb9b96b9def2d85258a7e8afbf9200b | Fix formatting issue | PtrTeixeira/cookbook,PtrTeixeira/cookbook,PtrTeixeira/cookbook,PtrTeixeira/cookbook,PtrTeixeira/cookbook,PtrTeixeira/cookbook-backend,PtrTeixeira/cookbook | core/src/main/kotlin/com/github/ptrteixeira/cookbook/core/Recipe.kt | core/src/main/kotlin/com/github/ptrteixeira/cookbook/core/Recipe.kt | package com.github.ptrteixeira.cookbook.core
/**
* Represents a Recipe in the domain com.github.ptrteixeira.cookbook.model of this project.
*
* @property [id] Identifier in the database for this recipe
* @property [name] Name of this recipe when displayed
* @property [ingredients] What goes into the recipe?
* @p... | package com.github.ptrteixeira.cookbook.core
/**
* Represents a Recipe in the domain com.github.ptrteixeira.cookbook.model of this project.
*
* @property [id] Identifier in the database for this recipe
* @property [name] Name of this recipe when displayed
* @property [ingredients] What goes into the recipe?
* @p... | mit | Kotlin |
ec3f4d780d260f528d65ec55188d8dbbf68d5afe | Update to Android-Components 96.0.20211125190100. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "96.0.20211125190100"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "96.0.20211125162700"
}
| mpl-2.0 | Kotlin |
6c612e9548daebd9e16325a5e9b6848eeccb4528 | bump json-unit from 2.19.0 to 2.25.0 (via #519) | allure-framework/allure-java,allure-framework/allure-java | allure-jsonunit/build.gradle.kts | allure-jsonunit/build.gradle.kts | description = "Allure JsonUnit Integration"
val agent: Configuration by configurations.creating
val jsonUnitVersion = "2.25.0"
dependencies {
agent("org.aspectj:aspectjweaver")
api(project(":allure-attachments"))
implementation("com.fasterxml.jackson.core:jackson-databind")
implementation("net.javacr... | description = "Allure JsonUnit Integration"
val agent: Configuration by configurations.creating
val jsonUnitVersion = "2.19.0"
dependencies {
agent("org.aspectj:aspectjweaver")
api(project(":allure-attachments"))
implementation("com.fasterxml.jackson.core:jackson-databind")
implementation("net.javacr... | apache-2.0 | Kotlin |
b7e516a0a1a9a178de97e8f943c50b26fa38bbfa | bump selenide version (via #451) | allure-framework/allure-java,allure-framework/allure-java | allure-selenide/build.gradle.kts | allure-selenide/build.gradle.kts | description = "Allure Selenide Integration"
val agent: Configuration by configurations.creating
val selenideVersion = "5.12.2"
dependencies {
agent("org.aspectj:aspectjweaver")
api(project(":allure-java-commons"))
implementation("com.codeborne:selenide:$selenideVersion")
testImplementation("org.mocki... | description = "Allure Selenide Integration"
val agent: Configuration by configurations.creating
val selenideVersion = "5.11.0"
dependencies {
agent("org.aspectj:aspectjweaver")
api(project(":allure-java-commons"))
implementation("com.codeborne:selenide:$selenideVersion")
testImplementation("org.mocki... | apache-2.0 | Kotlin |
96a3d2542c8b9fd2243a43ca10a46544bf54d51a | Cut the version code of `com.amazon.webview.chromium` to 9 digits. | ridibooks/rbhelper-android,ridibooks/rbhelper-android | src/main/kotlin/com/ridi/books/helper/system/PackageHelper.kt | src/main/kotlin/com/ridi/books/helper/system/PackageHelper.kt | package com.ridi.books.helper.system
import android.content.Context
import android.content.pm.PackageManager
import android.os.Build
import com.ridi.books.helper.Log
@JvmOverloads
fun Context.getPackageVersionCode(name: String, enabledOnly: Boolean = true): Int {
try {
val info = packageManager.getPackage... | package com.ridi.books.helper.system
import android.content.Context
import android.content.pm.PackageManager
import android.os.Build
import com.ridi.books.helper.Log
@JvmOverloads
fun Context.getPackageVersionCode(name: String, enabledOnly: Boolean = true): Int {
try {
val info = packageManager.getPackage... | mit | Kotlin |
e0836ca101549fa9a94a30029c4375eabaf13c2a | Add annotation for Privacy Sandbox values. | 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... | privacysandbox/tools/tools/src/main/java/androidx/privacysandbox/tools/PrivacySandboxValue.kt | privacysandbox/tools/tools/src/main/java/androidx/privacysandbox/tools/PrivacySandboxValue.kt | /*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin | |
a74120ea406c7900c0ba0dfb9aaf7042d9d50ab8 | Add documentation for SessionStorage | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-server/ktor-server-core/src/io/ktor/sessions/SessionStorage.kt | ktor-server/ktor-server-core/src/io/ktor/sessions/SessionStorage.kt | package io.ktor.sessions
import kotlinx.coroutines.experimental.io.*
/**
* Represents a way to [write], [read] and [invalidate] session bits.
*/
interface SessionStorage {
/**
* Writes a session [id] using a specific [provider].
*
* This method will call the [provider] with a [ByteWriteChannel] w... | package io.ktor.sessions
import kotlinx.coroutines.experimental.io.*
interface SessionStorage {
suspend fun write(id: String, provider: suspend (ByteWriteChannel) -> Unit)
suspend fun invalidate(id: String)
suspend fun <R> read(id: String, consumer: suspend (ByteReadChannel) -> R): R
}
| apache-2.0 | Kotlin |
11460f31181a79d7b089c1774b1949dff270453d | Add audio element span | wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android | aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecAudioSpan.kt | aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecAudioSpan.kt | package org.wordpress.aztec.spans
import android.content.Context
import android.graphics.drawable.Drawable
import android.support.v4.content.ContextCompat
import android.view.Gravity
import org.wordpress.aztec.AztecAttributes
import org.wordpress.aztec.AztecText
class AztecAudioSpan(context: Context, drawable: Drawab... | mpl-2.0 | Kotlin | |
37ee487be8c9ca2515c836c06f87bca15449728c | Use EmberProjectComponent class | Turbo87/intellij-emberjs,Turbo87/intellij-emberjs,Turbo87/intellij-emberjs,Turbo87/intellij-emberjs | src/main/kotlin/com/emberjs/navigation/EmberGotoClassContributor.kt | src/main/kotlin/com/emberjs/navigation/EmberGotoClassContributor.kt | package com.emberjs.navigation
import com.emberjs.icons.EmberIconProvider
import com.emberjs.icons.EmberIcons
import com.emberjs.index.EmberClassIndex
import com.emberjs.project.EmberProjectComponent
import com.emberjs.resolver.EmberName
import com.intellij.navigation.ChooseByNameContributor
import com.intellij.naviga... | package com.emberjs.navigation
import com.emberjs.icons.EmberIconProvider
import com.emberjs.icons.EmberIcons
import com.emberjs.index.EmberClassIndex
import com.emberjs.resolver.EmberName
import com.emberjs.utils.getEmberModule
import com.intellij.navigation.ChooseByNameContributor
import com.intellij.navigation.Dele... | apache-2.0 | Kotlin |
5fd2a77dd21af357567dea42bc5deec5c35b60a2 | Fix extension reference about Friendships | NephyProject/Penicillin | src/main/kotlin/jp/nephy/penicillin/extensions/models/UserAction.kt | src/main/kotlin/jp/nephy/penicillin/extensions/models/UserAction.kt | /*
* The MIT License (MIT)
*
* Copyright (c) 2017-2019 Nephy Project Team
*
* 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 ri... | /*
* The MIT License (MIT)
*
* Copyright (c) 2017-2019 Nephy Project Team
*
* 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 ri... | mit | Kotlin |
8e55a2bf4fa33bb7d7a483e970f612cc89b1fad6 | Simplify ValueReassignmentException | mibac138/ArgParser,mibac138/ArgParser,mibac138/ArgParser | core/src/main/kotlin/com/github/mibac138/argparser/parser/exception/ValueRedefinitionException.kt | core/src/main/kotlin/com/github/mibac138/argparser/parser/exception/ValueRedefinitionException.kt | /*
* Copyright (c) 2017 Michał Bączkowski
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, p... | /*
* Copyright (c) 2017 Michał Bączkowski
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, p... | mit | Kotlin |
8115276d210bed50dde5e2063fd56b5923e309dd | fix some samsung calendar events having invalid/null zoneIds | mvmike/min-cal-widget | app/src/main/kotlin/cat/mvmike/minimalcalendarwidget/infrastructure/resolver/CalendarResolver.kt | app/src/main/kotlin/cat/mvmike/minimalcalendarwidget/infrastructure/resolver/CalendarResolver.kt | // Copyright (c) 2016, Miquel Martí <miquelmarti111@gmail.com>
// See LICENSE for licensing information
package cat.mvmike.minimalcalendarwidget.infrastructure.resolver
import android.Manifest
import android.content.Context
import android.content.pm.PackageManager
import android.provider.CalendarContract
import androi... | // Copyright (c) 2016, Miquel Martí <miquelmarti111@gmail.com>
// See LICENSE for licensing information
package cat.mvmike.minimalcalendarwidget.infrastructure.resolver
import android.Manifest
import android.content.Context
import android.content.pm.PackageManager
import android.provider.CalendarContract
import androi... | bsd-3-clause | Kotlin |
5214554cc89abb23a4e3593f6097fabbd5fb06a9 | Fix warning | jeffcharles/visitor-detector,jeffcharles/visitor-detector,jeffcharles/visitor-detector,jeffcharles/visitor-detector | app/src/main/kotlin/com/beyondtechnicallycorrect/visitordetector/deviceproviders/JsonRpcError.kt | app/src/main/kotlin/com/beyondtechnicallycorrect/visitordetector/deviceproviders/JsonRpcError.kt | package com.beyondtechnicallycorrect.visitordetector.deviceproviders
class JsonRpcError(val code: Int, val message: String, val data: Any?)
| package com.beyondtechnicallycorrect.visitordetector.deviceproviders
class JsonRpcError(val code: Integer, val message: String, val data: Any?)
| mit | Kotlin |
54c796825ce2bdefb6811b1850ae4acc37ec38a8 | add waiter for Loading Templates progress dialog | 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... | community-guitests/testSrc/com/intellij/testGuiFramework/tests/community/CommandLineProjectTest.kt | community-guitests/testSrc/com/intellij/testGuiFramework/tests/community/CommandLineProjectTest.kt | /*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | /*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 | Kotlin |
3213932b98128ba4ea34afc1d34dbe821d03f040 | Fix connecting to postgres with custom search_path | georocket/georocket,georocket/georocket | src/main/kotlin/io/georocket/index/postgresql/PostgreSQLClient.kt | src/main/kotlin/io/georocket/index/postgresql/PostgreSQLClient.kt | package io.georocket.index.postgresql
import io.vertx.core.Vertx
import io.vertx.kotlin.coroutines.await
import io.vertx.pgclient.PgConnectOptions
import io.vertx.pgclient.PgPool
import io.vertx.pgclient.impl.PgConnectionUriParser
import io.vertx.sqlclient.PoolOptions
import io.vertx.sqlclient.SqlConnection
import org... | package io.georocket.index.postgresql
import io.vertx.core.Vertx
import io.vertx.kotlin.coroutines.await
import io.vertx.pgclient.PgConnectOptions
import io.vertx.pgclient.PgPool
import io.vertx.pgclient.impl.PgConnectionUriParser
import io.vertx.sqlclient.PoolOptions
import io.vertx.sqlclient.SqlConnection
import org... | apache-2.0 | Kotlin |
a97486141ff0e5c44bd8a0b0fc4129a7c1f54993 | refactor #580 Remove useless curly braces. | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | article/src/main/java/jp/toastkid/article_viewer/article/list/listener/ArticleLoadStateListener.kt | article/src/main/java/jp/toastkid/article_viewer/article/list/listener/ArticleLoadStateListener.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 |
902b150b567860ff665c3fa79e1cf43fb84e1569 | Implement DailyAggregatedDoubleFactor.aggregateAverage | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | plugins/stats-collector/src/com/intellij/stats/personalization/impl/DailyAggregatedDoubleFactor.kt | plugins/stats-collector/src/com/intellij/stats/personalization/impl/DailyAggregatedDoubleFactor.kt | package com.intellij.stats.personalization.impl
import com.intellij.stats.personalization.DateUtil
/**
* @author Vitaliy.Bibaev
*/
interface DailyAggregatedDoubleFactor {
fun availableDates(): List<String>
fun onDate(date: String): Map<String, Double>?
}
interface MutableDoubleFactor : DailyAggregatedDou... | package com.intellij.stats.personalization.impl
import com.intellij.stats.personalization.DateUtil
/**
* @author Vitaliy.Bibaev
*/
interface DailyAggregatedDoubleFactor {
fun availableDates(): List<String>
fun onDate(date: String): Map<String, Double>?
}
interface MutableDoubleFactor : DailyAggregatedDou... | apache-2.0 | Kotlin |
0a8003018171c95072aa4359a774c609e60ed8a2 | add projections of issues in Result | ftomassetti/kolasu,ftomassetti/kolasu | core/src/main/kotlin/com/strumenta/kolasu/validation/Result.kt | core/src/main/kotlin/com/strumenta/kolasu/validation/Result.kt | package com.strumenta.kolasu.validation
data class Result<C>(val issues: List<Issue>, val root: C?) {
val lexicalIssues
get() = issues.filter { it.type == IssueType.LEXICAL }.toList()
val syntacticIssues
get() = issues.filter { it.type == IssueType.SYNTACTIC }.toList()
val semanticIssues
... | package com.strumenta.kolasu.validation
data class Result<C>(val issues: List<Issue>, val root: C?) {
val lexicalErrors
get() = issues.filter { it.type == IssueType.LEXICAL }.toList()
val correct: Boolean
get() = issues.isEmpty()
companion object {
fun <C> exception(errorType: Issu... | apache-2.0 | Kotlin |
7cc15a29733e6e085b2c9e9aa012d625987ce5b0 | add InvocationLambdaAwsHttpAdapterTest.kt | http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k | http4k-serverless/lambda/src/test/kotlin/org/http4k/serverless/InvocationLambdaAwsHttpAdapterTest.kt | http4k-serverless/lambda/src/test/kotlin/org/http4k/serverless/InvocationLambdaAwsHttpAdapterTest.kt | package org.http4k.serverless
import com.natpryce.hamkrest.assertion.assertThat
import com.natpryce.hamkrest.equalTo
import org.http4k.core.Method.POST
import org.http4k.core.Request
import org.http4k.core.Response
import org.http4k.core.Status
import org.junit.jupiter.api.Test
class InvocationLambdaAwsHttpAdapterTes... | apache-2.0 | Kotlin | |
860f9262d63821ef681f84c21a8238f2f5069d86 | Bump version from 1.6.0-alpha01 to 1.6.0-beta01 | wax911/android-emojify | buildSrc/src/main/java/io/wax911/emoji/buildSrc/common/Versions.kt | buildSrc/src/main/java/io/wax911/emoji/buildSrc/common/Versions.kt | package io.wax911.emoji.buildSrc.common
object Versions {
const val compileSdk = 29
const val targetSdk = 29
const val minSdk = 21
const val versionCode = 160010
const val versionName = "1.6.0-beta01"
const val mockk = "1.10.0"
const val junit = "4.13"
const val timber = "4.7.1"
} | package io.wax911.emoji.buildSrc.common
object Versions {
const val compileSdk = 29
const val targetSdk = 29
const val minSdk = 21
const val versionCode = 16001
const val versionName = "1.6.0-alpha01"
const val mockk = "1.10.0"
const val junit = "4.13"
const val timber = "4.7.1"
} | mit | Kotlin |
17666f8f960376074fd2133b542e44dd79a38ad2 | Update plugin com.diffplug.eclipse.apt to v3.33.2 | domaframework/doma,domaframework/doma | settings.gradle.kts | settings.gradle.kts | pluginManagement {
repositories {
gradlePluginPortal()
}
plugins {
id("com.diffplug.eclipse.apt") version "3.33.2"
id("com.diffplug.spotless") version "5.17.1"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("net.researchgate.release") version "2.8.1"
... | pluginManagement {
repositories {
gradlePluginPortal()
}
plugins {
id("com.diffplug.eclipse.apt") version "3.33.1"
id("com.diffplug.spotless") version "5.17.1"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("net.researchgate.release") version "2.8.1"
... | apache-2.0 | Kotlin |
d889c1ec051de993babb96eb092e183d0950ef6b | Apply CR: Simplify assertions | elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin | src/test/kotlin/com/elpassion/intelijidea/action/configure/releases/service/MFReleasesFetcherTest.kt | src/test/kotlin/com/elpassion/intelijidea/action/configure/releases/service/MFReleasesFetcherTest.kt | package com.elpassion.intelijidea.action.configure.releases.service
import com.elpassion.android.commons.rxjavatest.thenJust
import com.elpassion.intelijidea.action.configure.releases.api.GitHubApi
import com.elpassion.intelijidea.action.configure.releases.api.ReleaseApiModel
import com.nhaarman.mockito_kotlin.mock
im... | package com.elpassion.intelijidea.action.configure.releases.service
import com.elpassion.android.commons.rxjavatest.thenJust
import com.elpassion.intelijidea.action.configure.releases.api.GitHubApi
import com.elpassion.intelijidea.action.configure.releases.api.ReleaseApiModel
import com.nhaarman.mockito_kotlin.mock
im... | apache-2.0 | Kotlin |
c0491290d7fbdd9d2626912ccf61a73249d7990f | Fix RetrofitDiscoveryRepository test | sswierczek/Helix-Movie-Guide-Android | app/src/test/kotlin/com/androidmess/helix/discover/model/repository/RetrofitDiscoverRepositoryTest.kt | app/src/test/kotlin/com/androidmess/helix/discover/model/repository/RetrofitDiscoverRepositoryTest.kt | package com.androidmess.helix.discover.model.repository
import com.androidmess.helix.BaseTest
import com.androidmess.helix.common.network.NetworkConfig
import com.nhaarman.mockito_kotlin.doReturn
import com.nhaarman.mockito_kotlin.mock
import com.nhaarman.mockito_kotlin.verify
import org.junit.Test
import retrofit2.Re... | package com.androidmess.helix.discover.model.repository
import com.androidmess.helix.BaseTest
import com.nhaarman.mockito_kotlin.mock
import com.nhaarman.mockito_kotlin.verify
import com.nhaarman.mockito_kotlin.whenever
import org.junit.Before
import org.junit.Test
import retrofit2.Retrofit
@Suppress("IllegalIdentifi... | apache-2.0 | Kotlin |
c60157ab03d78600d048410b17549340acae9066 | Allow null value for AztecText in caption span | wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android | wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/spans/CaptionShortcodeSpan.kt | wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/spans/CaptionShortcodeSpan.kt | package org.wordpress.aztec.plugins.shortcodes.spans
import android.graphics.Typeface
import android.text.Spanned
import android.text.style.StyleSpan
import org.wordpress.aztec.AztecAttributes
import org.wordpress.aztec.AztecText
import org.wordpress.aztec.Constants
import org.wordpress.aztec.spans.IAztecBlockSpan
imp... | package org.wordpress.aztec.plugins.shortcodes.spans
import android.graphics.Typeface
import android.text.Spanned
import android.text.style.StyleSpan
import org.wordpress.aztec.AztecAttributes
import org.wordpress.aztec.AztecText
import org.wordpress.aztec.Constants
import org.wordpress.aztec.spans.IAztecBlockSpan
imp... | mpl-2.0 | Kotlin |
e9a9eeeb11b7efbe5930e284f9f963e70df80646 | Use official gradle strings instead of hard-coding them. | weisJ/darklaf,weisJ/darklaf,weisJ/darklaf,weisJ/darklaf | buildSrc/src/main/kotlin/JniUtils.kt | buildSrc/src/main/kotlin/JniUtils.kt | import dev.nokee.platform.jni.JniLibraryDependencies
import org.gradle.nativeplatform.MachineArchitecture
import dev.nokee.runtime.nativebase.OperatingSystemFamily
import dev.nokee.runtime.nativebase.TargetMachine
import org.gradle.api.Action
import org.gradle.api.GradleException
import org.gradle.api.Project
import or... | import dev.nokee.platform.jni.JniLibraryDependencies
import dev.nokee.runtime.nativebase.OperatingSystemFamily
import dev.nokee.runtime.nativebase.TargetMachine
import org.gradle.api.Action
import org.gradle.api.GradleException
import org.gradle.api.Project
import org.gradle.api.artifacts.MinimalExternalModuleDependenc... | mit | Kotlin |
1171025f67024966896683997b3e18a3f822738e | Upgrade Gradle plugins | junit-team/junit-lambda,sbrannen/junit-lambda | buildSrc/src/main/kotlin/Versions.kt | buildSrc/src/main/kotlin/Versions.kt | import org.gradle.api.JavaVersion
object Versions {
// Languages
val jvmTarget = JavaVersion.VERSION_1_8
val kotlin = "1.3.10"
// Dependencies
val apiGuardian = "1.0.0"
val junit4 = "4.12"
val ota4j = "1.1.1"
val picocli = "3.8.2"
val univocity = "2.7.6"
// Test Dependencies
... | import org.gradle.api.JavaVersion
object Versions {
// Languages
val jvmTarget = JavaVersion.VERSION_1_8
val kotlin = "1.3.10"
// Dependencies
val apiGuardian = "1.0.0"
val junit4 = "4.12"
val ota4j = "1.1.1"
val picocli = "3.8.2"
val univocity = "2.7.6"
// Test Dependencies
... | epl-1.0 | Kotlin |
30b16291be280ca881d1e9cc17162ea9775f9251 | Add documentation about PendingIntent conflation for actionStartActivity | 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... | glance/glance-appwidget/src/androidMain/kotlin/androidx/glance/appwidget/action/StartActivityIntentAction.kt | glance/glance-appwidget/src/androidMain/kotlin/androidx/glance/appwidget/action/StartActivityIntentAction.kt | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin |
82c4e6a7511875c894c72e6367a38d02e585f00e | Fix leaky DataSource (#1729) | cashapp/sqldelight,square/sqldelight,cashapp/sqldelight,cashapp/sqldelight,cashapp/sqldelight,square/sqldelight,square/sqldelight,square/sqldelight | extensions/android-paging/src/main/java/com/squareup/sqldelight/android/paging/QueryDataSourceFactory.kt | extensions/android-paging/src/main/java/com/squareup/sqldelight/android/paging/QueryDataSourceFactory.kt | package com.squareup.sqldelight.android.paging
import androidx.paging.DataSource
import androidx.paging.PositionalDataSource
import com.squareup.sqldelight.Query
import com.squareup.sqldelight.Transacter
class QueryDataSourceFactory<RowType : Any>(
private val queryProvider: (limit: Long, offset: Long) -> Query<Row... | package com.squareup.sqldelight.android.paging
import androidx.paging.DataSource
import androidx.paging.PositionalDataSource
import com.squareup.sqldelight.Query
import com.squareup.sqldelight.Transacter
class QueryDataSourceFactory<RowType : Any>(
private val queryProvider: (limit: Long, offset: Long) -> Query<Row... | apache-2.0 | Kotlin |
750288c1e812b03142051d6e6f996ef93e8a8c9d | Remove extra space in code | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/platform-api/src/com/intellij/openapi/wm/WindowInfo.kt | platform/platform-api/src/com/intellij/openapi/wm/WindowInfo.kt | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | /*
* Copyright 2000-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 | Kotlin |
e851eac4cea8341d89ab989d477e4c4a9e2a0b72 | Fix broken text | sandjelkovic/dispatchd,sandjelkovic/dispatchd | content-service/src/test/kotlin/com/sandjelkovic/dispatchd/contentservice/trakt/provider/impl/DefaultTraktMediaProviderTest.kt | content-service/src/test/kotlin/com/sandjelkovic/dispatchd/contentservice/trakt/provider/impl/DefaultTraktMediaProviderTest.kt | package com.sandjelkovic.dispatchd.contentservice.trakt.provider.impl
import com.sandjelkovic.dispatchd.contentservice.trakt.dto.ShowTrakt
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.Mockito.*
import org.springframework.test.context.junit4.... | package com.sandjelkovic.dispatchd.contentservice.trakt.provider.impl
import com.sandjelkovic.dispatchd.contentservice.trakt.dto.ShowTrakt
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test
import org.junit.runner.RunWith
import org.mockito.Mockito.*
import org.springframework.test.context.junit4.... | apache-2.0 | Kotlin |
f81e58ace85a47cc8a50b54a59ffc3433ce271d8 | Refactor PreferToOverPairSyntax (#3204) | arturbosch/detekt,arturbosch/detekt,arturbosch/detekt | detekt-rules-style/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/optional/PreferToOverPairSyntax.kt | detekt-rules-style/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/optional/PreferToOverPairSyntax.kt | package io.gitlab.arturbosch.detekt.rules.style.optional
import io.gitlab.arturbosch.detekt.api.CodeSmell
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.Debt
import io.gitlab.arturbosch.detekt.api.Entity
import io.gitlab.arturbosch.detekt.api.Issue
import io.gitlab.arturbosch.dete... | package io.gitlab.arturbosch.detekt.rules.style.optional
import io.gitlab.arturbosch.detekt.api.CodeSmell
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.Debt
import io.gitlab.arturbosch.detekt.api.Entity
import io.gitlab.arturbosch.detekt.api.Issue
import io.gitlab.arturbosch.dete... | apache-2.0 | Kotlin |
fdf976aef142e5baf95c3c2dbf48ef4ca14cc539 | add header to SocketGemCombinerListener | Nunnery/MythicDrops | mythicdrops/src/main/kotlin/com/tealcube/minecraft/bukkit/mythicdrops/socketting/SocketGemCombinerListener.kt | mythicdrops/src/main/kotlin/com/tealcube/minecraft/bukkit/mythicdrops/socketting/SocketGemCombinerListener.kt | /*
* This file is part of MythicDrops, licensed under the MIT License.
*
* Copyright (C) 2019 Richard Harrah
*
* 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, incl... | package com.tealcube.minecraft.bukkit.mythicdrops.socketting
import com.tealcube.minecraft.bukkit.mythicdrops.api.locations.Vec3
import com.tealcube.minecraft.bukkit.mythicdrops.api.socketting.combiners.SocketGemCombinerManager
import com.tealcube.minecraft.bukkit.mythicdrops.logging.JulLoggerFactory
import org.bukkit... | mit | Kotlin |
2d69eedbc87a4928ff3c6ca19de8dc3bc69cfcf4 | Add .NET symbols icons to sync. | 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/build-scripts/icons/src/org/jetbrains/intellij/build/images/sync/dotnet/DotnetIconsTransformation.kt | platform/build-scripts/icons/src/org/jetbrains/intellij/build/images/sync/dotnet/DotnetIconsTransformation.kt | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.intellij.build.images.sync.dotnet
import com.intellij.util.io.isFile
import org.jetbrains.intellij.build.images.isImage
import java.io.File
import java.io.I... | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.jetbrains.intellij.build.images.sync.dotnet
import com.intellij.util.io.isFile
import org.jetbrains.intellij.build.images.isImage
import java.io.File
import java.io.I... | apache-2.0 | Kotlin |
d5768f9e1094e01ddc2db917dca5cb8a10dbb514 | refactor #412 Delete useless function. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/search/voice/VoiceSearch.kt | app/src/main/java/jp/toastkid/yobidashi/search/voice/VoiceSearch.kt | package jp.toastkid.yobidashi.search.voice
import android.content.Intent
import android.speech.RecognizerIntent
import android.view.View
import jp.toastkid.lib.intent.GooglePlayIntentFactory
import jp.toastkid.yobidashi.BuildConfig
/**
* Voice search use case.
*
* @author toastkidjp
*/
class VoiceSearch {
/*... | package jp.toastkid.yobidashi.search.voice
import android.content.Intent
import android.speech.RecognizerIntent
import android.view.View
import androidx.lifecycle.ViewModelProvider
import androidx.lifecycle.ViewModelStoreOwner
import jp.toastkid.lib.ContentViewModel
import jp.toastkid.lib.intent.GooglePlayIntentFactor... | epl-1.0 | Kotlin |
15ba88322bc088eb5fceaf0b1a5a114123ae007c | Change toast position. | furu8ma/WifiToggler,furu8ma/WifiToggler | app/src/main/java/jp/hateblo/furu8ma/wifitoggler/MainActivity.kt | app/src/main/java/jp/hateblo/furu8ma/wifitoggler/MainActivity.kt | package jp.hateblo.furu8ma.wifitoggler
import android.app.Activity
import android.net.wifi.WifiManager
import android.os.Bundle
import android.view.Gravity
import android.widget.Toast
class MainActivity : Activity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)... | package jp.hateblo.furu8ma.wifitoggler
import android.app.Activity
import android.net.wifi.WifiManager
import android.os.Bundle
import android.widget.Toast
class MainActivity : Activity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
toggleWifi()
... | apache-2.0 | Kotlin |
cdeed0291cca502457ad3244a480aa568d88c4bc | refactor #496 Extract Uri. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/media/AlbumArtFinder.kt | app/src/main/java/jp/toastkid/yobidashi/media/AlbumArtFinder.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 |
3aa1cec92a01667814c995642cc0b2d10a9aa8cb | add thread service that just draw all points and drawing in the realm db | beergame/PintIonary | app/src/main/java/tk/beerbomber/pintionary/app/DrawingThread.kt | app/src/main/java/tk/beerbomber/pintionary/app/DrawingThread.kt | package tk.beerbomber.pintionary.app
import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.graphics.Path
import android.util.Log
import io.realm.Realm
import android.view.SurfaceView
import tk.beerbomber.pintionary.app.models.Drawing
class DrawThread(val realm: Real... | mit | Kotlin | |
c04dad87b144cf4091ae42623ea66d33d773b5b9 | Address dup. strategy | SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java | testutil-server/build.gradle.kts | testutil-server/build.gradle.kts | /*
* Copyright 2021, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | /*
* Copyright 2021, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | apache-2.0 | Kotlin |
b578e9b4c5f94cafae341264d7021013a4c554b7 | Bump io.spring.dependency-management (#1907) | sksamuel/ktest | kotest-examples/kotest-examples-spring-webflux/build.gradle.kts | kotest-examples/kotest-examples-spring-webflux/build.gradle.kts | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version "2.3.0.RELEASE"
id("io.spring.dependency-management") version "1.0.10.RELEASE"
kotlin("jvm")
kotlin("plugin.spring") version "1.3.72"
}
group = "com.example"
version = "0.0.1-SNAPSHOT"
java.sourceCompat... | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version "2.3.0.RELEASE"
id("io.spring.dependency-management") version "1.0.9.RELEASE"
kotlin("jvm")
kotlin("plugin.spring") version "1.3.72"
}
group = "com.example"
version = "0.0.1-SNAPSHOT"
java.sourceCompati... | mit | Kotlin |
171126443676ad1be72d67d3a33cc7fbd8ef03d1 | fix test case with enabled default annotation value | google/ksp,google/ksp,google/ksp | plugins/ksp/testData/api/annotationValue.kt | plugins/ksp/testData/api/annotationValue.kt | // WITH_RUNTIME
// TEST PROCESSOR: AnnotationArgumentProcessor
// EXPECTED:
// Str
// 42
// Foo
// File
// Local
// @Foo
// @Suppress
// G
// 31
// END
enum class RGB {
R, G, B
}
annotation class Foo(val s: Int)
annotation class Bar(
val argStr: String,
val argInt: Int,
val argClsUser: kotlin.reflect... | // WITH_RUNTIME
// TEST PROCESSOR: AnnotationArgumentProcessor
// EXPECTED:
// Str
// 42
// Foo
// File
// Local
// @Foo
// @Suppress
// G
// END
enum class RGB {
R, G, B
}
annotation class Foo(val s: Int)
annotation class Bar(
val argStr: String,
val argInt: Int,
val argClsUser: kotlin.reflect.KClas... | apache-2.0 | Kotlin |
07861c2afaa9593eeed7bd25f978b7370095689e | Remove debug code. | mikhalchenko-alexander/nirvana-player,mikhalchenko-alexander/nirvana-player,mikhalchenko-alexander/nirvana-player | src/main/kotlin/com/anahoret/nirvanaplayer/components/NoUiSlider.kt | src/main/kotlin/com/anahoret/nirvanaplayer/components/NoUiSlider.kt | package com.anahoret.nirvanaplayer.components
import kotlin.browser.document
import kotlinx.html.dom.create
import kotlinx.html.*
import kotlinx.html.js.onClickFunction
import org.w3c.dom.get
open class NoUiSlider(options: Options, onValueChange: (Double) -> Unit): AbstractComponent() {
private var dragging = fals... | package com.anahoret.nirvanaplayer.components
import kotlin.browser.document
import kotlinx.html.dom.create
import kotlinx.html.*
import kotlinx.html.js.onClickFunction
import org.w3c.dom.get
open class NoUiSlider(options: Options, onValueChange: (Double) -> Unit): AbstractComponent() {
private var dragging = fals... | apache-2.0 | Kotlin |
6ead4ecca0384d46effa04584cbb2d3a846ce501 | Support match-path/@any-of when calculating dispatch line marker names. | rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin | src/plugin-marklogic/main/uk/co/reecedunn/intellij/plugin/marklogic/rewriter/reference/DispatchLineMarkerCellRenderer.kt | src/plugin-marklogic/main/uk/co/reecedunn/intellij/plugin/marklogic/rewriter/reference/DispatchLineMarkerCellRenderer.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 |
a1856989111a8d4eb0fdc70d6c2c9a221d6085ec | Fix server crashing on initial sync | TachiWeb/TachiWeb-Server,TachiWeb/TachiWeb-Server,TachiWeb/TachiWeb-Server,TachiWeb/TachiWeb-Server,TachiWeb/TachiWeb-Server | TachiServer/src/main/java/xyz/nulldev/ts/api/http/sync/LastSyncDb.kt | TachiServer/src/main/java/xyz/nulldev/ts/api/http/sync/LastSyncDb.kt | package xyz.nulldev.ts.api.http.sync
import xyz.nulldev.ts.config.ConfigManager
import xyz.nulldev.ts.config.ServerConfig
import java.io.File
class LastSyncDb {
private val serverConfig = ConfigManager.module<ServerConfig>()
private val dbFile = File(serverConfig.rootDir, "last_sync.db")
val lastSyncs by... | package xyz.nulldev.ts.api.http.sync
import xyz.nulldev.ts.config.ConfigManager
import xyz.nulldev.ts.config.ServerConfig
import java.io.File
class LastSyncDb {
private val serverConfig = ConfigManager.module<ServerConfig>()
private val dbFile = File(serverConfig.rootDir, "last_sync.db")
val lastSyncs by... | apache-2.0 | Kotlin |
5c2721009a26643ca9a4bddd88e7cffe3ca49824 | disable alarm instead of delete from notification | ruuvi/Android_RuuvitagScanner,io53/Android_RuuvitagScanner,io53/Android_RuuvitagScanner,ruuvi/Android_RuuvitagScanner | app/src/main/java/com/ruuvi/station/receivers/CancelAlarmReceiver.kt | app/src/main/java/com/ruuvi/station/receivers/CancelAlarmReceiver.kt | package com.ruuvi.station.receivers
import android.content.Intent
import android.content.BroadcastReceiver
import android.content.Context
import com.ruuvi.station.model.Alarm
import android.app.NotificationManager
class CancelAlarmReceiver : BroadcastReceiver() {
override fun onReceive(context: Context, intent: ... | package com.ruuvi.station.receivers
import android.content.Intent
import android.content.BroadcastReceiver
import android.content.Context
import com.ruuvi.station.model.Alarm
import android.app.NotificationManager
class CancelAlarmReceiver : BroadcastReceiver() {
override fun onReceive(context: Context, intent: ... | mit | Kotlin |
7b52aca5b25ef9e5e3b55117485e176de82b6cf0 | Add avatar builder for user does not have avatar | carmenlau/chat-SDK-Android,carmenlau/chat-SDK-Android,carmenlau/chat-SDK-Android,carmenlau/chat-SDK-Android | chat/src/main/java/io/skygear/plugins/chat/ui/utils/AvatarBuilder.kt | chat/src/main/java/io/skygear/plugins/chat/ui/utils/AvatarBuilder.kt | package io.skygear.plugins.chat.ui.utils
import android.graphics.*
import android.graphics.Shader.TileMode
import android.text.TextUtils
import java.net.URI
import java.util.*
class AvatarBuilder {
companion object {
private val Scheme = AvatarBuilder::class.java.canonicalName
private val NameQu... | apache-2.0 | Kotlin | |
6100159335f4f26353d29cf0555b2143df625704 | Address API feedback on ActivityEmbedding property | 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... | window/window/src/main/java/androidx/window/WindowProperties.kt | window/window/src/main/java/androidx/window/WindowProperties.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 |
ab4f92850d9347718a6944cfdacb0ae79cdde23c | set the player's display name on disguise, should update sent messages | Eluinhost/anonymous | src/main/kotlin/Disguiser.kt | src/main/kotlin/Disguiser.kt | package gg.uhc.anonymous
import com.comphenix.protocol.PacketType
import com.comphenix.protocol.events.PacketAdapter
import com.comphenix.protocol.events.PacketEvent
import com.comphenix.protocol.wrappers.PlayerInfoData
import com.comphenix.protocol.wrappers.WrappedChatComponent
import com.comphenix.protocol.wrappers.... | package gg.uhc.anonymous
import com.comphenix.protocol.PacketType
import com.comphenix.protocol.events.PacketAdapter
import com.comphenix.protocol.events.PacketEvent
import com.comphenix.protocol.wrappers.PlayerInfoData
import com.comphenix.protocol.wrappers.WrappedChatComponent
import com.comphenix.protocol.wrappers.... | mit | Kotlin |
a804380c44ec8a866cdccbe4276f9ccde22ea07f | add NullableDataProducer | jayrave/falkon | falkon-core/src/main/kotlin/com/jayrave/falkon/NullableDataProducer.kt | falkon-core/src/main/kotlin/com/jayrave/falkon/NullableDataProducer.kt | package com.jayrave.falkon
interface NullableDataProducer {
fun getByte(): Byte?
fun getChar(): Char?
fun getShort(): Short?
fun getInt(): Int?
fun getLong(): Long?
fun getFloat(): Float?
fun getDouble(): Double?
fun getBoolean(): Boolean?
fun getString(): String?
fun getBlob():... | apache-2.0 | Kotlin | |
4671532793b6510c68dd180a718f0204379d00ee | Check realm action in schema details class | ingresso-rapido-mobile/better-migrations,ingresso-rapido-mobile/better-migrations | migration/src/main/java/br/com/bloder/migration/schema/BetterSchema.kt | migration/src/main/java/br/com/bloder/migration/schema/BetterSchema.kt | package br.com.bloder.migration.schema
import io.realm.DynamicRealm
import io.realm.RealmObjectSchema
import io.realm.RealmSchema
/**
* Created by bloder on 28/09/16.
*/
class BetterSchema {
private var schema: RealmSchema? = null
private val add: String = "add"
fun getSchema(dynamicRealm: DynamicRe... | package br.com.bloder.migration.schema
import io.realm.DynamicRealm
import io.realm.RealmObjectSchema
import io.realm.RealmSchema
/**
* Created by bloder on 28/09/16.
*/
class BetterSchema {
private var schema: RealmSchema? = null
fun getSchema(dynamicRealm: DynamicRealm) : RealmSchema {
this.sch... | mit | Kotlin |
fd4891c7b783b72348d57cef61c8a7666ed7a431 | build with module list | InsertKoinIO/koin,Ekito/koin,InsertKoinIO/koin,Ekito/koin,InsertKoinIO/koin | koin-core/src/main/kotlin/org/koin/Koin.kt | koin-core/src/main/kotlin/org/koin/Koin.kt | package org.koin
import org.koin.bean.BeanRegistry
import org.koin.dsl.context.Scope
import org.koin.dsl.module.Module
import org.koin.instance.InstanceResolver
import org.koin.property.PropertyResolver
import java.util.logging.Logger
/**
* Koin Context Builder
* @author - Arnaud GIULIANI
*/
class Koin {
val ... | package org.koin
import org.koin.bean.BeanRegistry
import org.koin.dsl.context.Scope
import org.koin.dsl.module.Module
import org.koin.instance.InstanceResolver
import org.koin.property.PropertyResolver
import java.util.logging.Logger
/**
* Koin Context Builder
* @author - Arnaud GIULIANI
*/
class Koin {
val ... | apache-2.0 | Kotlin |
3e85f67a4a0bc8b39b1e7c6b2be5b4001de8e60f | fix whitespace trimmer | kropp/intellij-makefile | src/main/kotlin/name/kropp/intellij/makefile/MakefileFoldingBuilder.kt | src/main/kotlin/name/kropp/intellij/makefile/MakefileFoldingBuilder.kt | package name.kropp.intellij.makefile
import com.intellij.lang.ASTNode
import com.intellij.lang.folding.FoldingBuilderEx
import com.intellij.lang.folding.FoldingDescriptor
import com.intellij.openapi.editor.Document
import com.intellij.openapi.project.DumbAware
import com.intellij.openapi.util.TextRange
import com.inte... | package name.kropp.intellij.makefile
import com.intellij.lang.ASTNode
import com.intellij.lang.folding.FoldingBuilderEx
import com.intellij.lang.folding.FoldingDescriptor
import com.intellij.openapi.editor.Document
import com.intellij.openapi.project.DumbAware
import com.intellij.openapi.util.TextRange
import com.inte... | mit | Kotlin |
a857728a4457602d747ee5d5d5eded241ee00a73 | Update dev url to pyamsoftapps | pyamsoft/pydroid | ui/src/main/java/com/pyamsoft/pydroid/ui/internal/util/MarketLinker.kt | ui/src/main/java/com/pyamsoft/pydroid/ui/internal/util/MarketLinker.kt | /*
* Copyright 2020 Peter Kenji Yamanaka
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | /*
* Copyright 2020 Peter Kenji Yamanaka
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | apache-2.0 | Kotlin |
b555ff7e22cf5934c694b7fdbf992a2e46e90e85 | refactor #289 Remove useless imports. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/settings/PagerAdapter.kt | app/src/main/java/jp/toastkid/yobidashi/settings/PagerAdapter.kt | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | epl-1.0 | Kotlin |
212321640693c386472d8a69c7f1539b7d1394a2 | Bump versions | SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java | version.gradle.kts | version.gradle.kts | /*
* Copyright 2021, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | /*
* Copyright 2021, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | apache-2.0 | Kotlin |
eec84d8edd73770efc8903a1163efcd20f61a982 | Update own version to `2.0.0-SNAPSHOT.110`. Migrate to the latest Spine libraries. | SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java | version.gradle.kts | version.gradle.kts | /*
* Copyright 2022, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | /*
* Copyright 2022, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | apache-2.0 | Kotlin |
d82b54030bac96f8481c598a31daf73dea6c1ab0 | Bump the version. | SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base | version.gradle.kts | version.gradle.kts | /*
* Copyright 2021, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | /*
* Copyright 2021, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | apache-2.0 | Kotlin |
1be4f4e1b924e4d4b2d17f0be5a3949f796a036b | Bump version to 1.6.13 | SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base | version.gradle.kts | version.gradle.kts | /*
* Copyright 2020, TeamDev. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR... | /*
* Copyright 2020, TeamDev. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR... | apache-2.0 | Kotlin |
f047e44738e24e25e2858b8e9c5be9fd231d1398 | Bump version -> `2.0.0-SNAPSHOT.106` | SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java | version.gradle.kts | version.gradle.kts | /*
* Copyright 2022, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | /*
* Copyright 2022, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | apache-2.0 | Kotlin |
fe0db41d369f2b87729d90e9e40c1f5d4a0059ff | Update build.gradle.kts | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | kotlin/services/sns/build.gradle.kts | kotlin/services/sns/build.gradle.kts | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.5.31"
id("io.gitlab.arturbosch.detekt").version("1.16.0-RC1")
application
}
group = "me.scmacdon"
version = "1.0-SNAPSHOT"
buildscript {
repositories {
jcenter()
}
}
repositories {
mavenCentral(... | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.5.31"
id("io.gitlab.arturbosch.detekt").version("1.16.0-RC1")
application
}
group = "me.scmacdon"
version = "1.0-SNAPSHOT"
buildscript {
repositories {
jcenter()
}
}
repositories {
mavenCentral()... | apache-2.0 | Kotlin |
815fdda614dd847ae6dc7b7e0801a840a62edc87 | set visibility public for notification | StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android | app/src/main/java/org/stepic/droid/services/StepicGcmListenerService.kt | app/src/main/java/org/stepic/droid/services/StepicGcmListenerService.kt | package org.stepic.droid.services
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.media.RingtoneManager
import android.os.Bundle
import android.support.v4.app.NotificationCompat
import com.google.android.gms.gcm.GcmList... | package org.stepic.droid.services
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.media.RingtoneManager
import android.os.Bundle
import android.support.v4.app.NotificationCompat
import com.google.android.gms.gcm.GcmList... | apache-2.0 | Kotlin |
bf60defb5965cedc4980f9f301a38697ba615e2d | Return old API as deprecated with ERROR severity for easier migration | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-core/src/org/jetbrains/ktor/sessions/SessionDeprecations.kt | ktor-core/src/org/jetbrains/ktor/sessions/SessionDeprecations.kt | package org.jetbrains.ktor.sessions
import org.jetbrains.ktor.application.*
import kotlin.reflect.*
@Deprecated("Use sessions.get method", ReplaceWith("sessions.get<S>()"), DeprecationLevel.ERROR)
inline fun <reified S : Any> ApplicationCall.session() = sessions.get<S>()!!
@Deprecated("Use sessions.get method", Repl... | apache-2.0 | Kotlin | |
2455d08ee2ed5686503392bd1914d08a195863a9 | Update Parameter test. | sys1yagi/mastodon4j | mastodon4j/src/test/java/com/sys1yagi/mastodon4j/ParameterTest.kt | mastodon4j/src/test/java/com/sys1yagi/mastodon4j/ParameterTest.kt | package com.sys1yagi.mastodon4j
import org.amshove.kluent.shouldEqualTo
import org.junit.Test
class ParameterTest {
@Test
fun parameterEmpty() {
Parameter().build() shouldEqualTo ""
}
@Test
fun parameterOne() {
Parameter()
.append("test", "value")
.... | package com.sys1yagi.mastodon4j
import org.assertj.core.api.Assertions.assertThat
import org.junit.Test
class ParameterTest {
@Test
fun parameterEmpty() {
assertThat(Parameter().build()).isEmpty()
}
@Test
fun parameterOne() {
assertThat(
Parameter()
... | mit | Kotlin |
053a7174af5a03cae13061bd217787b11de73522 | add Column | jayrave/falkon | falkon-core/src/main/kotlin/com/jayrave/falkon/Column.kt | falkon-core/src/main/kotlin/com/jayrave/falkon/Column.kt | package com.jayrave.falkon
/**
* Column defines how a property of a type corresponds to the column of a SQL table
* [T] => Table type
* [C] => Column type
*/
interface Column<T : Any, C> {
/**
* Name of the SQL column
*/
val name: String
/**
* True if this column is primary k... | apache-2.0 | Kotlin | |
bdf9636ec236af21f9b00139889e06acd681c864 | Make getIcon/getName companion methods | GDG-Nantes/devfest-android,GDG-Nantes/devfest-android,GDG-Nantes/devfest-android,GDG-Nantes/devfest-android | app/src/main/kotlin/com/gdgnantes/devfest/android/model/SocialNetwork.kt | app/src/main/kotlin/com/gdgnantes/devfest/android/model/SocialNetwork.kt | package com.gdgnantes.devfest.android.model
import android.content.Context
import android.graphics.drawable.Drawable
import android.support.v7.content.res.AppCompatResources
import com.gdgnantes.devfest.android.R
enum class SocialNetwork(
val apiValue: String,
private val icon: Int,
private va... | package com.gdgnantes.devfest.android.model
import android.content.Context
import android.graphics.drawable.Drawable
import android.support.v7.content.res.AppCompatResources
import com.gdgnantes.devfest.android.R
enum class SocialNetwork(
val apiValue: String,
private val icon: Int,
private va... | apache-2.0 | Kotlin |
49811b3ba2966bdd6e233f9edbef4d900e7854b1 | Create ComponentSerializer. | BlurEngine/Blur,BlurEngine/Blur | src/main/java/com/blurengine/blur/serializers/ComponentSerializer.kt | src/main/java/com/blurengine/blur/serializers/ComponentSerializer.kt | /*
* Copyright 2017 Ali Moghnieh
*
* 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 | |
80c62e37f33db16e2d3922539a4c9ff2be5628ed | Simplify toString | lnr0626/cfn-templates,lnr0626/cfn-templates | base-models/src/main/kotlin/com/lloydramey/cfn/model/functions/Values.kt | base-models/src/main/kotlin/com/lloydramey/cfn/model/functions/Values.kt | package com.lloydramey.cfn.model.functions
import com.fasterxml.jackson.annotation.JsonAnyGetter
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.databind.annotation.JsonSerialize
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer
import com.lloydramey.cfn.model.Mapping
in... | package com.lloydramey.cfn.model.functions
import com.fasterxml.jackson.annotation.JsonAnyGetter
import com.fasterxml.jackson.annotation.JsonIgnore
import com.fasterxml.jackson.databind.annotation.JsonSerialize
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer
import com.lloydramey.cfn.model.Mapping
in... | apache-2.0 | Kotlin |
a94c4722f7e1f1775b97c6a3c840f4e59d52af33 | Introduce available indicator for week command - #74 | arturbosch/TiNBo,arturbosch/TiNBo,arturbosch/TiNBo | src/main/java/io/gitlab/arturbosch/tinbo/time/TimeSummaryCommands.kt | src/main/java/io/gitlab/arturbosch/tinbo/time/TimeSummaryCommands.kt | package io.gitlab.arturbosch.tinbo.time
import io.gitlab.arturbosch.tinbo.api.Command
import io.gitlab.arturbosch.tinbo.api.Summarizable
import io.gitlab.arturbosch.tinbo.config.ModeAdvisor
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.shell.core.annotation.CliAvailabilityInd... | package io.gitlab.arturbosch.tinbo.time
import io.gitlab.arturbosch.tinbo.api.Command
import io.gitlab.arturbosch.tinbo.api.Summarizable
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.shell.core.annotation.CliCommand
import org.springframework.stereotype.Component
/**
* @aut... | apache-2.0 | Kotlin |
9459da8968e4da39b676743dfb5c76f25c892244 | Fix extension name typo | LWJGL-CI/lwjgl3,LWJGL-CI/lwjgl3,code-disaster/lwjgl3,TheMrMilchmann/lwjgl3,TheMrMilchmann/lwjgl3,bsmr-java/lwjgl3,LWJGL/lwjgl3,LWJGL-CI/lwjgl3,LWJGL/lwjgl3,LWJGL/lwjgl3,TheMrMilchmann/lwjgl3,TheMrMilchmann/lwjgl3,LWJGL/lwjgl3,code-disaster/lwjgl3,LWJGL-CI/lwjgl3,code-disaster/lwjgl3,bsmr-java/lwjgl3,code-disaster/lwjgl... | src/templates/org/lwjgl/openal/templates/AL_SOFT_deferred_updates.kt | src/templates/org/lwjgl/openal/templates/AL_SOFT_deferred_updates.kt | /*
* Copyright LWJGL. All rights reserved.
* License terms: http://lwjgl.org/license.php
*/
package org.lwjgl.openal.templates
import org.lwjgl.generator.*
import org.lwjgl.openal.*
val AL_SOFT_deferred_updates = "SOFTDeferredUpdates".nativeClassAL("SOFT_deferred_updates") {
nativeImport (
"OpenAL.h"
)
docum... | /*
* Copyright LWJGL. All rights reserved.
* License terms: http://lwjgl.org/license.php
*/
package org.lwjgl.openal.templates
import org.lwjgl.generator.*
import org.lwjgl.openal.*
val AL_SOFT_deferred_updates = "SOFTDeferredUupdates".nativeClassAL("SOFT_deferred_updates") {
nativeImport (
"OpenAL.h"
)
docu... | bsd-3-clause | Kotlin |
b48916f083c9dc082cca8f37c78c2a04d09ca671 | Rewrite findRelativeFile to be a little more readable | dmeybohm/chocolate-cakephp,dmeybohm/chocolate-cakephp,dmeybohm/chocolate-cakephp | src/com/daveme/intellij/chocolateCakePHP/util/findRelativeFile.kt | src/com/daveme/intellij/chocolateCakePHP/util/findRelativeFile.kt | package com.daveme.intellij.chocolateCakePHP.util
import com.intellij.openapi.vfs.VfsUtil.findRelativeFile as vfsUtilFindRelativeFile
import com.intellij.openapi.vfs.VirtualFile
import com.intellij.psi.PsiDirectory
fun findRelativeFile(dir: PsiDirectory?, childPath: String): VirtualFile? {
if (dir == null) {
... | package com.daveme.intellij.chocolateCakePHP.util
import com.intellij.openapi.vfs.VirtualFile
import com.intellij.psi.PsiDirectory
fun findRelativeFile(dir: PsiDirectory?, childPath: String): VirtualFile? {
return if (dir == null) {
null
} else com.intellij.openapi.vfs.VfsUtil.findRelativeFile(dir.vir... | mit | Kotlin |
b3760c2eccb3231b7599d9fb409bc5bc7bfc375d | Correct type of Java compiler plugin project | blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpira... | subprojects/java-compiler-plugin/java-compiler-plugin.gradle.kts | subprojects/java-compiler-plugin/java-compiler-plugin.gradle.kts | /*
* Copyright 2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin |
b827949d6c0593495ece610218ef2adbe6b9029e | Add color filter plugin | RuneSuite/client,RuneSuite/client | plugins-dev/src/main/java/org/runestar/client/plugins/dev/ColorFilter.kt | plugins-dev/src/main/java/org/runestar/client/plugins/dev/ColorFilter.kt | package org.runestar.client.plugins.dev
import org.kxtra.lang.intarray.replaceEach
import org.runestar.client.api.util.DisposablePlugin
import org.runestar.client.game.api.GameState
import org.runestar.client.game.api.live.Game
import org.runestar.client.game.raw.access.XRasterProvider
import org.runestar.client.plugi... | mit | Kotlin | |
764b1361b85d60dc7aa49aacabd37400ffefbda3 | Fix CachingOptions ambiguity (#741) | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-http/ktor-http-jvm/src/io/ktor/http/content/CachingOptionsJvm.kt | ktor-http/ktor-http-jvm/src/io/ktor/http/content/CachingOptionsJvm.kt | package io.ktor.http.content
import io.ktor.http.*
import io.ktor.util.date.*
import java.time.*
/**
* Creates [CachingOptions] instance with [ZonedDateTime] expiration time
*/
fun CachingOptions(cacheControl: CacheControl? = null, expires: ZonedDateTime): CachingOptions =
CachingOptions(cacheControl, expir... | package io.ktor.http.content
import io.ktor.http.*
import io.ktor.util.date.*
import java.time.*
/**
* Creates [CachingOptions] instance with [ZonedDateTime] expiration time
*/
fun CachingOptions(cacheControl: CacheControl? = null, expires: ZonedDateTime? = null) =
CachingOptions(cacheControl, expires?.toGM... | apache-2.0 | Kotlin |
d5fd59ebf33446648e7203cb24d256128bc80eec | Add a converter from T? to Optional<T> | pie-flavor/Kludge | src/main/kotlin/flavor/pie/kludge/misc.kt | src/main/kotlin/flavor/pie/kludge/misc.kt | package flavor.pie.kludge
import java.util.Optional
operator fun <T> Optional<T>.not(): T? = this.orElse(null)
val <T: Any?> T.optional: Optional<T> get() = Optional.ofNullable(this) | package flavor.pie.kludge
import java.util.Optional
operator fun <T> Optional<T>.not(): T? = this.orElse(null)
| mit | Kotlin |
7f53b97b4e50fc2fb1b0e722da7908c71188afeb | Remove leftover debugging interceptor | bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin,bugsnag/bugsnag-android-gradle-plugin | src/test/kotlin/com/bugsnag/android/gradle/BugsnagReleasesServiceTest.kt | src/test/kotlin/com/bugsnag/android/gradle/BugsnagReleasesServiceTest.kt | package com.bugsnag.android.gradle
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import okhttp3.logging.HttpLoggingInterceptor.Level.BODY
import okhttp3.mockwebserver.MockResponse
import okhttp3.mockwebserver.MockWebServer
import org.junit.Before
import org.junit.Rule
import org.junit.Test
... | package com.bugsnag.android.gradle
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import okhttp3.logging.HttpLoggingInterceptor.Level.BODY
import okhttp3.mockwebserver.MockResponse
import okhttp3.mockwebserver.MockWebServer
import org.junit.Before
import org.junit.Rule
import org.junit.Test
... | mit | Kotlin |
9cb1760fa8baf275e0199e8f15db06c3772534d8 | add discussion proxy response | 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/web/DiscussionProxyResponse.kt | app/src/main/java/org/stepic/droid/web/DiscussionProxyResponse.kt | package org.stepic.droid.web
import com.google.gson.annotations.SerializedName
import org.stepic.droid.model.Meta
import org.stepic.droid.model.comments.DiscussionProxy
data class DiscussionProxyResponse(
val meta: Meta?,
@SerializedName("discussion-proxies")
val discussionProxies: List<Discus... | apache-2.0 | Kotlin | |
c5a79ea673561c7f8de1f36ff3c9ab3a7ea20ef2 | Return URI's for local Maven repo paths. | cbeust/kobalt,ethauvin/kobalt,cbeust/kobalt,cbeust/kobalt,ethauvin/kobalt,ethauvin/kobalt,ethauvin/kobalt | modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/BuildScript.kt | modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/BuildScript.kt | package com.beust.kobalt
import com.beust.kobalt.api.IClasspathDependency
import com.beust.kobalt.api.Kobalt
import com.beust.kobalt.api.annotation.Directive
import com.beust.kobalt.internal.KobaltSettings
import com.beust.kobalt.internal.PluginInfo
import com.beust.kobalt.maven.DependencyManager
import com.beust.koba... | package com.beust.kobalt
import com.beust.kobalt.api.IClasspathDependency
import com.beust.kobalt.api.Kobalt
import com.beust.kobalt.api.annotation.Directive
import com.beust.kobalt.internal.KobaltSettings
import com.beust.kobalt.internal.PluginInfo
import com.beust.kobalt.maven.DependencyManager
import com.beust.koba... | apache-2.0 | Kotlin |
ca83a75379ef05f19728e180fcfaf67398e16a69 | Remove deprecated cm field (#14) | ClouDesire/capri,ClouDesire/capri | server/src/main/kotlin/com/cloudesire/capri/UrbanData.kt | server/src/main/kotlin/com/cloudesire/capri/UrbanData.kt | package com.cloudesire.capri
import com.fasterxml.jackson.annotation.JsonSetter
data class UrbanData(val nome: String, var codice: String, var zona: CodeName, var regione: CodeName,
var provincia: CodeName, var sigla: String, var codiceCatastale: String) {
var cap: List<String> = listOf()
... | package com.cloudesire.capri
import com.fasterxml.jackson.annotation.JsonSetter
data class UrbanData(val nome: String, var codice: String, var zona: CodeName, var regione: CodeName,
var cm: CodeName, var provincia: CodeName, var sigla: String, var codiceCatastale: String) {
var cap: List<Str... | agpl-3.0 | Kotlin |
8b7738f5701ccac966433d932c98a9837bbe57fe | Use PathMatchers for exclusion patterns | fwcd/kotlin-language-server,fwcd/kotlin-language-server,fwcd/kotlin-language-server | shared/src/main/kotlin/org/javacs/kt/SourceExclusions.kt | shared/src/main/kotlin/org/javacs/kt/SourceExclusions.kt | package org.javacs.kt
import org.javacs.kt.util.filePath
import java.io.File
import java.net.URI
import java.nio.file.FileSystems
import java.nio.file.Path
import java.nio.file.Paths
// TODO: Read exclusions from gitignore/settings.json/... instead of
// hardcoding them
class SourceExclusions(private val workspaceRoo... | package org.javacs.kt
import org.javacs.kt.util.filePath
import java.io.File
import java.net.URI
import java.nio.file.Path
import java.nio.file.Paths
// TODO: Read exclusions from gitignore/settings.json/... instead of
// hardcoding them
class SourceExclusions(private val workspaceRoots: Collection<Path>) {
private ... | mit | Kotlin |
6000adeedd8b274140a71bd7245dec321633a3ad | refactor #307 Add specific parameter name in AdRemover. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/browser/block/AdRemover.kt | app/src/main/java/jp/toastkid/yobidashi/browser/block/AdRemover.kt | /*
* Copyright (c) 2018 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | /*
* Copyright (c) 2018 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | epl-1.0 | Kotlin |
0b68b34d699189a659cbedd2477d3d96557914da | Remove default body from HaltException (#287) | tipsy/javalin,tipsy/javalin,tipsy/javalin,tipsy/javalin | src/main/java/io/javalin/HaltException.kt | src/main/java/io/javalin/HaltException.kt | /*
* Javalin - https://javalin.io
* Copyright 2017 David Åse
* Licensed under Apache 2.0: https://github.com/tipsy/javalin/blob/master/LICENSE
*/
package io.javalin
/**
* Exception which is handled before all other exceptions. Can be used to short-circuit the request cycle.
* @see <a href="https://javalin.io/do... | /*
* Javalin - https://javalin.io
* Copyright 2017 David Åse
* Licensed under Apache 2.0: https://github.com/tipsy/javalin/blob/master/LICENSE
*/
package io.javalin
/**
* Exception which is handled before all other exceptions. Can be used to short-circuit the request cycle.
* @see <a href="https://javalin.io/do... | apache-2.0 | Kotlin |
a46123b0956667e8a26a30b7aa4d90f1b22ec317 | remove nth node | 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/remove_nth_node/RemoveNthNode.kt | kotlin/src/katas/kotlin/leetcode/remove_nth_node/RemoveNthNode.kt | package katas.kotlin.leetcode.remove_nth_node
import kotlincommon.test.shouldEqual
import org.junit.Test
private data class ListNode(val value: Int, var next: ListNode? = null)
class RemoveNthNodeTests {
@Test fun `it mostly works`() {
ListNode(1).removeNthFromEnd(1) shouldEqual null
ListNode(1,... | package katas.kotlin.leetcode.remove_nth_node
import kotlincommon.test.shouldEqual
import org.junit.Test
private data class ListNode(val value: Int, var next: ListNode? = null)
class RemoveNthNodeTests {
@Test fun `it mostly works`() {
ListNode(1).removeNthFromEnd(1) shouldEqual null
ListNode(1,... | unlicense | Kotlin |
8561ec3223f91aaad4f46f02a2b25812d4063ec2 | Extend logging of error, related to android.media.MediaMetadataRetriever.MediaMetadataRetriever (occurs at Travis-ci) | andstatus/andstatus,andstatus/andstatus,andstatus/andstatus | app/src/androidTest/kotlin/org/andstatus/app/graphics/MediaMetadataTest.kt | app/src/androidTest/kotlin/org/andstatus/app/graphics/MediaMetadataTest.kt | /*
* Copyright (c) 2020 yvolk (Yuri Volkov), http://yurivolkov.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 requ... | /*
* Copyright (c) 2020 yvolk (Yuri Volkov), http://yurivolkov.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 requ... | apache-2.0 | Kotlin |
f46d79b2ff26d324b35bac8f766a62179b8a4198 | bump com.apollographql.apollo from 2.5.10 to 2.5.11 (#459) | PhilippHeuer/twitch4j | graphql/build.gradle.kts | graphql/build.gradle.kts | // Plugins
plugins {
id("com.apollographql.apollo") version "2.5.11"
}
// Dependencies
dependencies {
// GraphQL
api(group = "com.apollographql.apollo", name = "apollo-runtime", version = "2.5.11")
api(group = "org.jetbrains", name = "annotations")
// Hystrix
api(group = "com.netflix.hystrix", name = "hystrix-c... | // Plugins
plugins {
id("com.apollographql.apollo") version "2.5.10"
}
// Dependencies
dependencies {
// GraphQL
api(group = "com.apollographql.apollo", name = "apollo-runtime", version = "2.5.11")
api(group = "org.jetbrains", name = "annotations")
// Hystrix
api(group = "com.netflix.hystrix", name = "hystrix-c... | mit | Kotlin |
308b7e21da8c0bd69173be2abadea48bb36d7a2c | Update AvoidUsingActivity.kt | wealthfront/magellan,wealthfront/magellan | magellan-lint/src/main/java/com/wealthfront/magellan/AvoidUsingActivity.kt | magellan-lint/src/main/java/com/wealthfront/magellan/AvoidUsingActivity.kt | package com.wealthfront.magellan
import com.android.tools.lint.client.api.UElementHandler
import com.android.tools.lint.detector.api.Category
import com.android.tools.lint.detector.api.Detector
import com.android.tools.lint.detector.api.Implementation
import com.android.tools.lint.detector.api.Issue
import com.android... | package com.wealthfront.magellan
import com.android.tools.lint.client.api.UElementHandler
import com.android.tools.lint.detector.api.Category
import com.android.tools.lint.detector.api.Detector
import com.android.tools.lint.detector.api.Implementation
import com.android.tools.lint.detector.api.Issue
import com.android... | apache-2.0 | Kotlin |
08a012813463aae0c951716385d06aa83ac8dc5a | Define explicit `render` method for overriding on KComponent | facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho | litho-core-kotlin/src/main/kotlin/com/facebook/litho/KComponent.kt | litho-core-kotlin/src/main/kotlin/com/facebook/litho/KComponent.kt | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | apache-2.0 | Kotlin |
1931535fa42a5b2e5348a242e91df60814eeea65 | refactor #732 Remove useless branching. | toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/browser/CookieCleanerCompat.kt | app/src/main/java/jp/toastkid/yobidashi/browser/CookieCleanerCompat.kt | @file:Suppress("DEPRECATION")
package jp.toastkid.yobidashi.browser
import android.content.Context
import android.webkit.CookieManager
import android.webkit.CookieSyncManager
/**
* Cookie cleaner for backward compatible.
*
* @author toastkidjp
*/
class CookieCleanerCompat {
/**
* Invoke action.
*
... | @file:Suppress("DEPRECATION")
package jp.toastkid.yobidashi.browser
import android.content.Context
import android.os.Build
import android.webkit.CookieManager
import android.webkit.CookieSyncManager
/**
* Cookie cleaner for backward compatible.
*
* @author toastkidjp
*/
class CookieCleanerCompat {
/**
... | epl-1.0 | Kotlin |
0431cc176343500c47b7ceb45493aadc8e024e56 | refactor #489 Use dismiss(). | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/tab/tab_list/TabListService.kt | app/src/main/java/jp/toastkid/yobidashi/tab/tab_list/TabListService.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 |
c287a6c80f9da5e388591ea7602f1ac887c13ea7 | Bump korte-jvm from 2.0.7 to 2.2.0 (#1989) | Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka | plugins/javadoc/build.gradle.kts | plugins/javadoc/build.gradle.kts | import org.jetbrains.registerDokkaArtifactPublication
dependencies {
implementation("com.soywiz.korlibs.korte:korte-jvm:2.2.0")
implementation(project(":plugins:base"))
implementation(project(":plugins:kotlin-as-java"))
testImplementation(project(":plugins:base:base-test-utils"))
val kotlinx_html_... | import org.jetbrains.registerDokkaArtifactPublication
dependencies {
implementation("com.soywiz.korlibs.korte:korte-jvm:2.0.7")
implementation(project(":plugins:base"))
implementation(project(":plugins:kotlin-as-java"))
testImplementation(project(":plugins:base:base-test-utils"))
val kotlinx_html_... | apache-2.0 | Kotlin |
e038e059b87f56de96cfb97f9c1aa2d1f2bbfea3 | Fix NPE on empty principal | traintracker/traintracker,traintracker/traintracker,traintracker/traintracker | src/main/kotlin/io/traintracker/interfaces/WebControllerAdvice.kt | src/main/kotlin/io/traintracker/interfaces/WebControllerAdvice.kt | /*
* Copyright 2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | /*
* Copyright 2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | apache-2.0 | Kotlin |
f9e98e4b1408e15041a6f48ef4f7ca7b8128d55b | make ModuleStateStorageManager internal | allotria/intellij-community,vvv1559/intellij-community,vvv1559/intellij-community,ibinti/intellij-community,asedunov/intellij-community,signed/intellij-community,mglukhikh/intellij-community,xfournet/intellij-community,da1z/intellij-community,signed/intellij-community,vvv1559/intellij-community,da1z/intellij-community,... | platform/configuration-store-impl/src/ModuleStateStorageManager.kt | platform/configuration-store-impl/src/ModuleStateStorageManager.kt | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.