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
164718bb1d4995b4fec685d9f7bb6e9cd2ba18af
Fix module type of kotlin-compiler-embeddable subproject
robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,r...
subprojects/kotlin-compiler-embeddable/kotlin-compiler-embeddable.gradle.kts
subprojects/kotlin-compiler-embeddable/kotlin-compiler-embeddable.gradle.kts
import build.CheckKotlinCompilerEmbeddableDependencies import build.PatchKotlinCompilerEmbeddable import build.futureKotlin import build.kotlinVersion import org.gradle.gradlebuild.unittestandcompile.ModuleType plugins { `kotlin-library` } description = "Kotlin Compiler Embeddable - patched for Gradle" base.arch...
import build.CheckKotlinCompilerEmbeddableDependencies import build.PatchKotlinCompilerEmbeddable import build.futureKotlin import build.kotlinVersion import org.gradle.gradlebuild.unittestandcompile.ModuleType plugins { `kotlin-library` } description = "Kotlin Compiler Embeddable - patched for Gradle" base.arch...
apache-2.0
Kotlin
f9d94aa165686e09847aa851497f4053d7a152cf
refactor #232 Remove redundant SAM-constructor.
toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/rss/suggestion/RssAddingSuggestion.kt
app/src/main/java/jp/toastkid/yobidashi/rss/suggestion/RssAddingSuggestion.kt
/* * Copyright (c) 2019 toastkidjp. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompany this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html. */ package jp....
/* * Copyright (c) 2019 toastkidjp. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompany this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html. */ package jp....
epl-1.0
Kotlin
a084d97057a80764b8f442c332f531ae889ca11b
Fix Gradle test not using Java 8
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
integration-tests/gradle/src/test/resources/multi-module-with-empty-module/build.gradle.kts
integration-tests/gradle/src/test/resources/multi-module-with-empty-module/build.gradle.kts
plugins { id("io.quarkus").apply(false) } allprojects { group = "org.acme" version = "1.0.0-SNAPSHOT" repositories { if (System.getProperties().containsKey("maven.repo.local")) { maven(url = System.getProperties().get("maven.repo.local")!!) } else { mavenLocal() } mavenCentral() ...
plugins { id("io.quarkus").apply(false) } allprojects { group = "org.acme" version = "1.0.0-SNAPSHOT" repositories { if (System.getProperties().containsKey("maven.repo.local")) { maven(url = System.getProperties().get("maven.repo.local")!!) } else { mavenLocal() } mavenCentral() ...
apache-2.0
Kotlin
af324e1a4de7514128edc650ed7e84b2385f6515
Fix problem 2020adventofcode16a
stoman/competitive-programming,stoman/CompetitiveProgramming,stoman/CompetitiveProgramming,stoman/competitive-programming,stoman/CompetitiveProgramming,stoman/CompetitiveProgramming,stoman/competitive-programming,stoman/CompetitiveProgramming,stoman/competitive-programming,stoman/CompetitiveProgramming,stoman/competiti...
problems/2020adventofcode16a/submissions/accepted/Stefan.kt
problems/2020adventofcode16a/submissions/accepted/Stefan.kt
import java.util.* fun main() { val s = Scanner(System.`in`).useDelimiter("""\s\syour ticket:\s|\s\snearby tickets:\s""") // Read ranges. val sRanges = Scanner(s.next()).useDelimiter(""":\s|\sor\s|-|\n""") val ranges = mutableMapOf<String, Set<IntRange>>() while (sRanges.hasNext()) { val name = sRanges....
import java.util.* fun main() { val s = Scanner(System.`in`).useDelimiter("""\s\syour ticket:\s|\s\snearby tickets:\s""") // Read ranges. val sRanges = Scanner(s.next()).useDelimiter(""":\s|\sor\s|-|\n""") val ranges = mutableMapOf<String, Set<IntRange>>() while (sRanges.hasNext()) { val name = sRanges....
mit
Kotlin
340e37207523a00ecc9ef65e264ba452abd4011f
Fix agent requirement
adammurdoch/native-platform,adammurdoch/native-platform,adammurdoch/native-platform,adammurdoch/native-platform
.teamcity/Agent.kt
.teamcity/Agent.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
17b3d30f8fb26bd3b075687707612d8bb383764a
Fix ScopeDefinition release
InsertKoinIO/koin,InsertKoinIO/koin,InsertKoinIO/koin,Ekito/koin,Ekito/koin
koin-projects/koin-core/src/main/kotlin/org/koin/core/scope/ScopeDefinition.kt
koin-projects/koin-core/src/main/kotlin/org/koin/core/scope/ScopeDefinition.kt
/* * Copyright 2017-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright 2017-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
apache-2.0
Kotlin
d49facf0025572e3a66987c48af4ed8914aeeb88
Fix copy sample to work against latest Gradle API
blindpirate/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle-script-kotlin,robinverduijn/gradle,gradle/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gra...
samples/copy/build.gradle.kts
samples/copy/build.gradle.kts
import org.gradle.api.file.* import org.gradle.api.tasks.* import org.apache.tools.ant.filters.* //for including in the copy task val dataContent = copySpec { it.from("src/data") it.include("*.data") } task<Copy>("initConfig") { from("src/main/config").let { it as CopySpec }.apply { include("**/*...
import org.gradle.api.tasks.* import org.apache.tools.ant.filters.* //for including in the copy task val dataContent = copySpec { it.from("src/data") it.include("*.data") } task<Copy>("initConfig") { from("src/main/config") { it.include("**/*.properties") it.include("**/*.xml") it...
apache-2.0
Kotlin
045509e7c8e455e5343d7867f6811946ab60fe59
Add ADD tests
kvakil/venus,kvakil/venus,kvakil/venus
src/test/kotlin/simulator/impl/ADDTest.kt
src/test/kotlin/simulator/impl/ADDTest.kt
package venus.simulator.impl import org.junit.Test import kotlin.test.assertEquals import venus.riscv.Instruction import venus.riscv.InstructionField import venus.simulator.SimulatorState import venus.simulator.DispatchTest import venus.simulator.FieldTest import venus.simulator.InstructionImplementation class ADDTes...
mit
Kotlin
25810d4d18e506cd400b667d80449c602b7123cd
update Lookup
RyotaMurohoshi/KotLinq
project/src/main/kotlin/com/muhron/kotlinq/classes.kt
project/src/main/kotlin/com/muhron/kotlinq/classes.kt
package com.muhron.kotlinq import java.util.* import kotlin.comparisons.* internal class Grouping<K, E> internal constructor(private val entry: Map.Entry<K, List<E>>) : IGrouping<K, E> { override val key: K get() = entry.key override fun iterator(): Iterator<E> = entry.value.iterator() } class Looku...
package com.muhron.kotlinq import java.util.* import kotlin.comparisons.* internal class Grouping<K, E> internal constructor(private val entry: Map.Entry<K, List<E>>) : IGrouping<K, E> { override val key: K get() = entry.key override fun iterator(): Iterator<E> = entry.value.iterator() } class Looku...
mit
Kotlin
9b7b7102aa6596b4c378a27f758dd0a8f5d56916
Enable the out directory on all systems, on by default
Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA
src/nl/rubensten/texifyidea/run/BibtexCommandLineState.kt
src/nl/rubensten/texifyidea/run/BibtexCommandLineState.kt
package nl.rubensten.texifyidea.run import com.intellij.execution.ExecutionException import com.intellij.execution.configurations.CommandLineState import com.intellij.execution.configurations.GeneralCommandLine import com.intellij.execution.process.KillableProcessHandler import com.intellij.execution.process.ProcessHa...
package nl.rubensten.texifyidea.run import com.intellij.execution.ExecutionException import com.intellij.execution.configurations.CommandLineState import com.intellij.execution.configurations.GeneralCommandLine import com.intellij.execution.process.KillableProcessHandler import com.intellij.execution.process.ProcessHa...
mit
Kotlin
9944ed40bbc01d6d779b599186688b5e63976762
Remove dep on gson lib which is not needed without JSON output formatter.
gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpira...
subprojects/diagnostics/build.gradle.kts
subprojects/diagnostics/build.gradle.kts
plugins { id("gradlebuild.distribution.api-java") } description = "Contains project diagnostics or report tasks, e.g. help, project report, dependency report and similar" dependencies { implementation(project(":base-services")) implementation(project(":functional")) implementation(project(":logging"))...
plugins { id("gradlebuild.distribution.api-java") } description = "Contains project diagnostics or report tasks, e.g. help, project report, dependency report and similar" dependencies { implementation(project(":base-services")) implementation(project(":functional")) implementation(project(":logging"))...
apache-2.0
Kotlin
f62868f5b5356863c6ba3dc8c735e0d3ba41a8fa
Create Utils
Homes-MinecraftServerMod/Homes,Homes-MinecraftServerMod/Homes
src/test/java/com/masahirosaito/spigot/homes/tests/utils/Utils.kt
src/test/java/com/masahirosaito/spigot/homes/tests/utils/Utils.kt
package com.masahirosaito.spigot.homes.tests.utils import com.masahirosaito.spigot.homes.tests.commands.Permission import org.bukkit.entity.Player fun Player.set(permission: Permission) { MockPlayerFactory.permissions[uniqueId]?.add(permission.permission) }
apache-2.0
Kotlin
82f85dcf956c721e39bcb84b35e48fd0f0d12b40
Upgrade Kotlin DSL `0.19.{4 => 5}`
lsmaira/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,lsmaira/gradle,blindpirate/gradle,lsmaira/grad...
buildSrc/subprojects/configuration/src/main/kotlin/org/gradle/gradlebuild/build-environment.kt
buildSrc/subprojects/configuration/src/main/kotlin/org/gradle/gradlebuild/build-environment.kt
package org.gradle.gradlebuild import org.gradle.api.JavaVersion import org.gradle.internal.os.OperatingSystem object BuildEnvironment { val isCiServer = "CI" in System.getenv() val gradleKotlinDslVersion = "0.19.5" val jvm = org.gradle.internal.jvm.Jvm.current() val javaVersion = JavaVersion.current...
package org.gradle.gradlebuild import org.gradle.api.JavaVersion import org.gradle.internal.os.OperatingSystem object BuildEnvironment { val isCiServer = "CI" in System.getenv() val gradleKotlinDslVersion = "0.19.4" val jvm = org.gradle.internal.jvm.Jvm.current() val javaVersion = JavaVersion.current...
apache-2.0
Kotlin
459208a18d6c978c6f5ef4f77784f4ad98302802
Add visibilityDisposeBag to ControllerBase.
KotlinKit/Reactant
Core/src/main/kotlin/org/brightify/reactant/core/ControllerBase.kt
Core/src/main/kotlin/org/brightify/reactant/core/ControllerBase.kt
package org.brightify.reactant.core import android.view.View import io.reactivex.Observable import io.reactivex.disposables.CompositeDisposable import io.reactivex.rxkotlin.addTo import org.brightify.reactant.controller.ViewController import org.brightify.reactant.core.component.Component import org.brightify.reactant...
package org.brightify.reactant.core import android.view.View import io.reactivex.Observable import io.reactivex.disposables.CompositeDisposable import io.reactivex.rxkotlin.addTo import org.brightify.reactant.controller.ViewController import org.brightify.reactant.core.component.Component import org.brightify.reactant...
mit
Kotlin
5e936f6f3169fe73abd7e18f3cdfdd5a218f50ef
Add item labels max count (#33)
Doist/TodoistPojos,Doist/TodoistModels
src/main/java/com/todoist/pojo/Item.kt
src/main/java/com/todoist/pojo/Item.kt
package com.todoist.pojo open class Item<D : Due> @JvmOverloads constructor( id: Long, open var content: String, open var projectId: Long, priority: Int, due: D?, open var sectionId: Long?, open var parentId: Long?, open var childOrder: Int = 0, o...
package com.todoist.pojo open class Item<D : Due> @JvmOverloads constructor( id: Long, open var content: String, open var projectId: Long, priority: Int, due: D?, open var sectionId: Long?, open var parentId: Long?, open var childOrder: Int = 0, o...
mit
Kotlin
9434d33ca667a1510f693ce997a281666563e3b3
Update Spek to v2.0.15 (#3287)
arturbosch/detekt,arturbosch/detekt,arturbosch/detekt
detekt-bom/build.gradle.kts
detekt-bom/build.gradle.kts
plugins { `java-platform` } dependencies { val version = object { val spek = "2.0.15" val ktlint = "0.39.0" } constraints { api("org.assertj:assertj-core:3.17.2") api("org.spekframework.spek2:spek-dsl-jvm:${version.spek}") api("org.spekframework.spek2:spek-runne...
plugins { `java-platform` } dependencies { val version = object { val spek = "2.0.14" val ktlint = "0.39.0" } constraints { api("org.assertj:assertj-core:3.17.2") api("org.spekframework.spek2:spek-dsl-jvm:${version.spek}") api("org.spekframework.spek2:spek-runne...
apache-2.0
Kotlin
38eecfbb1bd369b13f38d7f45f40c35c13284f47
Update documentation
KotlinNLP/SimpleDNN
src/main/kotlin/com/kotlinnlp/simplednn/core/mergelayers/sum/SumForwardHelper.kt
src/main/kotlin/com/kotlinnlp/simplednn/core/mergelayers/sum/SumForwardHelper.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
7f9f822f023177eb59f382f2d48e3726d88275d7
Fix outstanding Detekt issue
squanchy-dev/squanchy-android,squanchy-dev/squanchy-android,squanchy-dev/squanchy-android
app/src/main/java/net/squanchy/settings/WifiConfigErrorActivity.kt
app/src/main/java/net/squanchy/settings/WifiConfigErrorActivity.kt
package net.squanchy.settings import android.content.ClipData import android.content.ClipboardManager import android.content.Context import android.content.Intent import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.widget.Toast import kotlinx.android.synthetic.main.activity_wifi_con...
package net.squanchy.settings import android.content.ClipData import android.content.ClipboardManager import android.content.Context import android.content.Intent import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.widget.Toast import kotlinx.android.synthetic.main.activity_wifi_con...
apache-2.0
Kotlin
c7750b0bb93fd4a43efa19a432ec3dff8f3fb1a4
Rename method in ChecksumModule
squanchy-dev/squanchy-android,squanchy-dev/squanchy-android,squanchy-dev/squanchy-android
app/src/main/java/net/squanchy/support/injection/ChecksumModule.kt
app/src/main/java/net/squanchy/support/injection/ChecksumModule.kt
package net.squanchy.support.injection import dagger.Module import dagger.Provides import net.squanchy.support.lang.Checksum @Module class ChecksumModule { @Provides internal fun checksum() = Checksum() }
package net.squanchy.support.injection import net.squanchy.support.lang.Checksum import dagger.Module import dagger.Provides @Module class ChecksumModule { @Provides internal fun provideChecksum() = Checksum() }
apache-2.0
Kotlin
585a5c6e1c7da5cd19f4bf587b65eb0f6e663a01
Remove koin properties from test assertion
InsertKoinIO/koin,Ekito/koin,InsertKoinIO/koin,Ekito/koin,InsertKoinIO/koin
koin-test/src/main/kotlin/org/koin/test/ext/junit/Asserts.kt
koin-test/src/main/kotlin/org/koin/test/ext/junit/Asserts.kt
package org.koin.test.ext.junit import org.junit.Assert import org.koin.KoinContext import org.koin.standalone.StandAloneContext import org.koin.test.KoinTest import org.koin.test.ext.koin.* import kotlin.reflect.KClass internal fun context() = (StandAloneContext.koinContext as KoinContext) /** * Assert context def...
package org.koin.test.ext.junit import org.junit.Assert import org.koin.KoinContext import org.koin.standalone.StandAloneContext import org.koin.test.KoinTest import org.koin.test.ext.koin.* import kotlin.reflect.KClass internal fun context() = (StandAloneContext.koinContext as KoinContext) /** * Assert context def...
apache-2.0
Kotlin
4a1aa30d891581f27e34fa0d5b1fcbea043eb001
Split optimizeErrors() method in optimizeSparseErrors() and optimizeDenseErrors()
KotlinNLP/SimpleDNN
src/kotlin/com/kotlinnlp/simplednn/core/functionalities/updatemethods/adagrad/AdaGradMethod.kt
src/kotlin/com/kotlinnlp/simplednn/core/functionalities/updatemethods/adagrad/AdaGradMethod.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
50df818f6bdb5a94a5a5c5bb940a17d942392a4b
Add an XpmForBinding interface.
rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin
src/lang-xpm/main/uk/co/reecedunn/intellij/plugin/xpm/optree/expression/flwor/XpmForBinding.kt
src/lang-xpm/main/uk/co/reecedunn/intellij/plugin/xpm/optree/expression/flwor/XpmForBinding.kt
/* * Copyright (C) 2021 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
5181a724d7430de22280ff55bab7d01735698f3f
Add FeedforwardLayersPool
KotlinNLP/SimpleDNN
src/main/kotlin/com/kotlinnlp/simplednn/deeplearning/attentionnetwork/FeedforwardLayersPool.kt
src/main/kotlin/com/kotlinnlp/simplednn/deeplearning/attentionnetwork/FeedforwardLayersPool.kt
/* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, you can obtain one at http://mozilla.org/MPL/2.0/. * ------------------------------------------...
mpl-2.0
Kotlin
d95b279d39ea60c3edef15c9c01f4c5318b904d8
Fix item visibility
StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepik-android
app/src/main/java/org/stepik/android/view/catalog/ui/adapter/delegate/StoriesAdapterDelegate.kt
app/src/main/java/org/stepik/android/view/catalog/ui/adapter/delegate/StoriesAdapterDelegate.kt
package org.stepik.android.view.catalog.ui.adapter.delegate import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.LinearLayoutManager import kotlinx.android.synthetic.main.view_stories_container.view.* import org.stepic.droid.R import org.stepic.droid.features.stories.ui.adapter.St...
package org.stepik.android.view.catalog.ui.adapter.delegate import android.view.View import android.view.ViewGroup import androidx.recyclerview.widget.LinearLayoutManager import kotlinx.android.synthetic.main.view_stories_container.view.* import org.stepic.droid.R import org.stepic.droid.features.stories.ui.adapter.St...
apache-2.0
Kotlin
bbf10f13d66cd114381a12072486e9391c61df14
Use the Unicode MODIFIER LETTER PRIME (ʹ) character in function signatures
npryce/result4k,npryce/result4k
src/main/kotlin/com/natpryce/result.kt
src/main/kotlin/com/natpryce/result.kt
package com.natpryce /** * A result of a computation that can succeed or fail. */ sealed class Result<out T, out E> data class Success<out T>(val value: T) : Result<T, Nothing>() data class Failure<out E>(val reason: E) : Result<Nothing, E>() /** * Call a function and wrap the result in a Result, catching any Exc...
package com.natpryce /** * A result of a computation that can succeed or fail. */ sealed class Result<out T, out E> data class Success<out T>(val value: T) : Result<T, Nothing>() data class Failure<out E>(val reason: E) : Result<Nothing, E>() /** * Call a function and wrap the result in a Result, catching any Exce...
apache-2.0
Kotlin
c0a2c225c0fe98e593dd8e84b5d6450fb7db2233
Add flatMapError
npryce/result4k,npryce/result4k
src/main/kotlin/com/natpryce/result.kt
src/main/kotlin/com/natpryce/result.kt
package com.natpryce /** * A result of a computation that can succeed or fail. */ sealed class Result<out T, out E> data class Ok<out T>(val value: T) : Result<T, Nothing>() data class Err<out E>(val reason: E) : Result<Nothing, E>() /** * Call a function and wrap the result in a Result, catching any Exception and...
package com.natpryce /** * A result of a computation that can succeed or fail. */ sealed class Result<out T, out E> data class Ok<out T>(val value: T) : Result<T, Nothing>() data class Err<out E>(val reason: E) : Result<Nothing, E>() /** * Call a function and wrap the result in a Result, catching any Exception and...
apache-2.0
Kotlin
64b5816ec3672b1e67a796303c60fcd9ca808db2
Set base url to https://www.reddit.com
reid112/Reidit
app/src/main/java/ca/rjreid/reidit/di/module/DataModule.kt
app/src/main/java/ca/rjreid/reidit/di/module/DataModule.kt
package ca.rjreid.reidit.di.module import android.content.Context import ca.rjreid.reidit.BuildConfig import ca.rjreid.reidit.data.DataManager import ca.rjreid.reidit.data.DataManagerWrapper import ca.rjreid.reidit.data.remote.RedditService import ca.rjreid.reidit.di.qualifier.ApplicationContext import dagger.Module i...
package ca.rjreid.reidit.di.module import android.content.Context import ca.rjreid.reidit.BuildConfig import ca.rjreid.reidit.data.DataManager import ca.rjreid.reidit.data.DataManagerWrapper import ca.rjreid.reidit.data.remote.RedditService import ca.rjreid.reidit.di.qualifier.ApplicationContext import dagger.Module i...
apache-2.0
Kotlin
f1b54ae04953884f0b333561d7712a47822fd32b
refactor #442 Extract to constant.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
app/src/main/java/jp/toastkid/yobidashi/libs/ImageCache.kt
app/src/main/java/jp/toastkid/yobidashi/libs/ImageCache.kt
package jp.toastkid.yobidashi.libs import android.content.Context import android.graphics.Bitmap import java.io.File /** * Image cache utilities. * * @author toastkidjp */ class ImageCache { /** * Save bitmap file to cache file. * * @param context * @param bitmap * * @return ...
package jp.toastkid.yobidashi.libs import android.content.Context import android.graphics.Bitmap import java.io.File /** * Image cache utilities. * @author toastkidjp */ class ImageCache { /** * Save bitmap file to cache file. * @param context * * @param bitmap * * @return ...
epl-1.0
Kotlin
32cbbdb9ef41a0ef2d7c87f508e6661d4118c899
Fix UI tests execution
vase4kin/TeamCityApp,vase4kin/TeamCityApp,vase4kin/TeamCityApp
app/src/mock/java/com/github/vase4kin/teamcityapp/dagger/modules/RestApiModule.kt
app/src/mock/java/com/github/vase4kin/teamcityapp/dagger/modules/RestApiModule.kt
/* * Copyright 2019 Andrey Tolpeev * * 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 2019 Andrey Tolpeev * * 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
a9968d874ea44e4e85190317b64026fed6baeb18
Update documentation
KotlinNLP/SimpleDNN
src/main/kotlin/com/kotlinnlp/simplednn/helpers/Evaluator.kt
src/main/kotlin/com/kotlinnlp/simplednn/helpers/Evaluator.kt
/* Copyright 2019-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 2019-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
4c906a7b97cfac6b3e351bdd3416e1090130cfcf
Add permission of list command
Homes-MinecraftServerMod/Homes,Homes-MinecraftServerMod/Homes
src/main/kotlin/com/masahirosaito/spigot/homes/Permission.kt
src/main/kotlin/com/masahirosaito/spigot/homes/Permission.kt
package com.masahirosaito.spigot.homes object Permission { val home_command = "homes.command" val home_command_name = home_command + ".name" val home_command_player = home_command + ".player" val home_command_player_name = home_command_player + ".name" val home_command_set = home_command + ".set" ...
package com.masahirosaito.spigot.homes object Permission { val home_command = "homes.command" val home_command_name = home_command + ".name" val home_command_player = home_command + ".player" val home_command_player_name = home_command_player + ".name" val home_command_set = home_command + ".set" ...
apache-2.0
Kotlin
4401106f30f41579170c4a8d00a2169b070cad04
revert to adding cause to Failure (mistakenly pushed)
http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k
http4k-core/src/main/kotlin/org/http4k/lens/lensFailure.kt
http4k-core/src/main/kotlin/org/http4k/lens/lensFailure.kt
package org.http4k.lens class LensFailure(val failures: List<Failure>, override val cause: Exception? = null, val target: Any? = null) : Exception(failures.joinToString { it.toString() }, cause) { constructor(vararg failures: Failure, cause: Exception? = null, target: Any? = null) : this(failures.asList(), cause,...
package org.http4k.lens data class LensFailure(val failures: List<Failure>, override val cause: Exception? = null, val target: Any? = null) : Exception(failures.joinToString { it.toString() }, cause) { constructor(vararg failures: Failure, cause: Exception? = null, target: Any? = null) : this(failures.asList(), c...
apache-2.0
Kotlin
1727fcb845c99d7d4bf665176bd76cb363debec6
fix test to expect diagnostic
github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql
java/ql/test/kotlin/library-tests/call-int-to-char/test.kt
java/ql/test/kotlin/library-tests/call-int-to-char/test.kt
fun f(x: Int) = x.toChar() // Diagnostic Matches: % Couldn't find a Java equivalent function to kotlin.Int.toChar in java.lang.Integer%
fun f(x: Int) = x.toChar()
mit
Kotlin
c350decba9d018fd9fcee69d3c45b511ab99bd9a
disable colors
christophpickl/gadsu,christophpickl/gadsu,christophpickl/gadsu
src/main/kotlin/at/cpickl/gadsu/development/development.kt
src/main/kotlin/at/cpickl/gadsu/development/development.kt
package at.cpickl.gadsu.development import at.cpickl.gadsu.global.GadsuSystemProperty import at.cpickl.gadsu.global.UserEvent import at.cpickl.gadsu.view.GadsuMenuBar import com.google.common.eventbus.EventBus import javax.swing.JMenu import javax.swing.JMenuItem @Suppress("SimplifyBooleanWithConstants") object Deve...
package at.cpickl.gadsu.development import at.cpickl.gadsu.global.GadsuSystemProperty import at.cpickl.gadsu.global.UserEvent import at.cpickl.gadsu.view.GadsuMenuBar import com.google.common.eventbus.EventBus import javax.swing.JMenu import javax.swing.JMenuItem @Suppress("SimplifyBooleanWithConstants") object Deve...
apache-2.0
Kotlin
65cfe2b2ba547a7d1b5c6ac2a818ade2bd554fac
Add alias for leave command
duncte123/SkyBot,duncte123/SkyBot,duncte123/SkyBot,duncte123/SkyBot
src/main/kotlin/ml/duncte123/skybot/commands/music/LeaveCommand.kt
src/main/kotlin/ml/duncte123/skybot/commands/music/LeaveCommand.kt
/* * Skybot, a multipurpose discord bot * Copyright (C) 2017 - 2020 Duncan "duncte123" Sterken & Ramid "ramidzkh" Khan & Maurice R S "Sanduhr32" * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free S...
/* * Skybot, a multipurpose discord bot * Copyright (C) 2017 - 2020 Duncan "duncte123" Sterken & Ramid "ramidzkh" Khan & Maurice R S "Sanduhr32" * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by the Free S...
agpl-3.0
Kotlin
551eab1dfa5ebed104860cf8742d3f64d000ea02
Fix todo
BreakOutEvent/breakout-backend,BreakOutEvent/breakout-backend,BreakOutEvent/breakout-backend
src/test/java/backend/model/payment/TeamEntryFeeServiceImplTest.kt
src/test/java/backend/model/payment/TeamEntryFeeServiceImplTest.kt
package backend.model.payment import backend.Integration.IntegrationTest import backend.model.event.Event import backend.model.event.Team import backend.model.misc.Coord import backend.model.misc.EmailAddress import backend.model.user.Admin import backend.model.user.Participant import backend.model.user.User import ba...
package backend.model.payment import backend.Integration.IntegrationTest import backend.model.event.Event import backend.model.event.Team import backend.model.misc.Coord import backend.model.user.Admin import backend.model.user.Participant import backend.model.user.User import backend.util.euroOf import org.junit.Befo...
agpl-3.0
Kotlin
9404442baf68c0fc8b7a9fb554b72e81c458e8ac
Add unit tests for Alignment
AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/andro...
ui/ui-core/src/test/java/androidx/ui/core/AlignmentTest.kt
ui/ui-core/src/test/java/androidx/ui/core/AlignmentTest.kt
/* * Copyright 2020 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
933939eca471ab3041ad05a7470cc1a65db56839
Update tested AGP version to latest (#2535)
Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka
integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/TestedVersions.kt
integration-tests/gradle/src/integrationTest/kotlin/org/jetbrains/dokka/it/gradle/TestedVersions.kt
package org.jetbrains.dokka.it.gradle internal object TestedVersions { val BASE = BuildVersions.permutations( gradleVersions = listOf("7.4.2", "6.9"), kotlinVersions = listOf("1.7.0", "1.6.21", "1.5.31", "1.4.32"), ) + BuildVersions.permutations( gradleVersions ...
package org.jetbrains.dokka.it.gradle internal object TestedVersions { val BASE = BuildVersions.permutations( gradleVersions = listOf("7.4.2", "6.9"), kotlinVersions = listOf("1.7.0", "1.6.21", "1.5.31", "1.4.32"), ) + BuildVersions.permutations( gradleVersions ...
apache-2.0
Kotlin
9be58bd2936145fddc5c0feeb1cf292e77f4c657
Update problem 1824
fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode
src/main/kotlin/leetcode/Problem1824.kt
src/main/kotlin/leetcode/Problem1824.kt
package leetcode /** * https://leetcode.com/problems/minimum-sideway-jumps/ */ class Problem1824 { fun minSideJumps(obstacles: IntArray): Int { TODO() } } fun main() { val prob = Problem1824() println(prob.minSideJumps(intArrayOf(0,1,2,3,0))) // 2 println(prob.minSideJumps(intArrayOf(0,0...
package leetcode /** * https://leetcode.com/problems/minimum-sideway-jumps/ */ class Problem1824 { fun minSideJumps(obstacles: IntArray): Int { TODO() } } fun main() { val prob = Problem1824() println(prob.minSideJumps(intArrayOf(0,1,2,3,0))) // 2 println(prob.minSideJumps(intArrayOf(0,1...
mit
Kotlin
d687b1529c320b41e3dfa755d9bf82136a396e6d
Solve problem 2196
fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode
src/main/kotlin/leetcode/Problem2196.kt
src/main/kotlin/leetcode/Problem2196.kt
package leetcode /** * https://leetcode.com/problems/create-binary-tree-from-descriptions/ */ class Problem2196 { class TreeNode(var `val`: Int) { var left: TreeNode? = null var right: TreeNode? = null } fun createBinaryTree(descriptions: Array<IntArray>): TreeNode? { val map = m...
package leetcode /** * https://leetcode.com/problems/create-binary-tree-from-descriptions/ */ class Problem2196 { class TreeNode(var `val`: Int) { var left: TreeNode? = null var right: TreeNode? = null } fun createBinaryTree(descriptions: Array<IntArray>): TreeNode? { TODO() ...
mit
Kotlin
e5c1d04a62df20e43a6386bceaaf3509c1b2852c
Fix resolution of package links
google/dokka,google/dokka
core/src/main/kotlin/Kotlin/KotlinElementSignatureProvider.kt
core/src/main/kotlin/Kotlin/KotlinElementSignatureProvider.kt
package org.jetbrains.dokka import com.intellij.psi.PsiElement import com.intellij.psi.PsiMember import com.intellij.psi.PsiNameIdentifierOwner import com.intellij.psi.PsiPackage import org.jetbrains.kotlin.asJava.elements.KtLightElement import org.jetbrains.kotlin.descriptors.DeclarationDescriptor import org.jetbrain...
package org.jetbrains.dokka import com.intellij.psi.PsiElement import com.intellij.psi.PsiMember import com.intellij.psi.PsiNameIdentifierOwner import org.jetbrains.kotlin.asJava.elements.KtLightElement import org.jetbrains.kotlin.descriptors.DeclarationDescriptor import org.jetbrains.kotlin.resolve.BindingContext imp...
apache-2.0
Kotlin
8c227b9082226b5721cd54e91ece8ef301e52099
add base class to reuse solution and unity editor in tests
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
rider/src/test/kotlin/base/integrationTests/IntegrationTestWithReuseSolutionBase.kt
rider/src/test/kotlin/base/integrationTests/IntegrationTestWithReuseSolutionBase.kt
package base.integrationTests import com.intellij.execution.RunManager import com.intellij.openapi.project.Project import com.jetbrains.rdclient.util.idea.waitAndPump import com.jetbrains.rider.model.RdUnityModel import com.jetbrains.rider.model.rdUnityModel import com.jetbrains.rider.projectView.solution import com.j...
apache-2.0
Kotlin
8c619d3d79c8dafb1d875c26c354f5b4b454fed9
Add mapping.
notion/kotlinz
lib/src/main/kotlin/com/michaelpardo/monads/control/Either.kt
lib/src/main/kotlin/com/michaelpardo/monads/control/Either.kt
package com.michaelpardo.monads.control import com.michaelpardo.monads.algebra.Monad sealed class Either<A : Any, B : Any> : Monad<B> { abstract val isLeft: Boolean abstract val isRight: Boolean abstract fun <C : Any> mapLeft(f: (A) -> C): Either<C, B> abstract fun <C : Any> mapRight(f: (B) -> C): Either<A, C>...
package com.michaelpardo.monads.control import com.michaelpardo.monads.algebra.Monad sealed class Either<A : Any, B : Any> : Monad<B> { class Left<A : Any, B : Any>(val value: A) : Either<A, B>() { override fun <T : Any> fmap(f: (B) -> T) = Left<A, T>(value) override fun <T : Any> bind(f: (B) -> Monad<T>) = L...
apache-2.0
Kotlin
ffd9dd315370e2a084a902f050dfa9061a43ded9
Update the correct reset password servlet
esofthead/mycollab,esofthead/mycollab,aglne/mycollab,MyCollab/mycollab,esofthead/mycollab,aglne/mycollab,MyCollab/mycollab,MyCollab/mycollab,aglne/mycollab,MyCollab/mycollab,esofthead/mycollab,MyCollab/mycollab,aglne/mycollab
mycollab-servlet/src/main/java/com/mycollab/module/billing/servlet/BillingSpringServletRegistrator.kt
mycollab-servlet/src/main/java/com/mycollab/module/billing/servlet/BillingSpringServletRegistrator.kt
/** * Copyright © MyCollab * * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * * This program is di...
/** * Copyright © MyCollab * * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * * This program is di...
agpl-3.0
Kotlin
b72e5012698b01590faff152348655756f614bf2
Fix update times not changing after request
fanart-tv/fanarttv-discord-update-bot
src/main/kotlin/tv/fanart/bot/FanartBot.kt
src/main/kotlin/tv/fanart/bot/FanartBot.kt
package tv.fanart.bot import kotlinx.coroutines.* import org.koin.core.KoinComponent import org.koin.core.inject import tv.fanart.api.FanartApi import tv.fanart.config.ConfigRepo import java.lang.Runnable import java.util.concurrent.TimeUnit class FanartBot : KoinComponent { private val configurationClient by i...
package tv.fanart.bot import kotlinx.coroutines.* import org.koin.core.KoinComponent import org.koin.core.inject import tv.fanart.api.FanartApi import tv.fanart.config.ConfigRepo import java.lang.Runnable import java.util.concurrent.TimeUnit class FanartBot : KoinComponent { private val configurationClient by i...
mit
Kotlin
e9b43a6572a65646b445fd877ba33da3607b7b18
refactor #412 Add test case.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
app/src/test/java/jp/toastkid/yobidashi/search/usecase/ContentSwitcherUseCaseTest.kt
app/src/test/java/jp/toastkid/yobidashi/search/usecase/ContentSwitcherUseCaseTest.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
d8431605e24748b84d513cae59115928120bc12c
Bump junit from 4.12 to 4.13.2
nallar/JavaTransformer
build.gradle.kts
build.gradle.kts
plugins { id("java") id("java-library") id("maven-publish") id("dev.minco.gradle.defaults-plugin") version "0.2.4" } apply(from = "properties.gradle") repositories { exclusiveContent { forRepository { maven { url = uri("https://maven.minco.dev/") } } filter { includeGroupByRegex("dev\\.minco.*") i...
plugins { id("java") id("java-library") id("maven-publish") id("dev.minco.gradle.defaults-plugin") version "0.2.4" } apply(from = "properties.gradle") repositories { exclusiveContent { forRepository { maven { url = uri("https://maven.minco.dev/") } } filter { includeGroupByRegex("dev\\.minco.*") i...
mit
Kotlin
bc42d25ec3f6a394179eec75d0db56e0e9d02fc8
Upgrade Kotlin to the latest
kamatama41/embulk-test-helpers,kamatama41/embulk-test-helpers
build.gradle.kts
build.gradle.kts
import com.github.kamatama41.gradle.gitrelease.GitReleaseExtension buildscript { repositories { jcenter() maven { setUrl("http://kamatama41.github.com/maven-repository/repository") } } dependencies { classpath("com.github.kamatama41:gradle-git-release-plugin:0.2.0") } } plugins...
import com.github.kamatama41.gradle.gitrelease.GitReleaseExtension buildscript { repositories { jcenter() maven { setUrl("http://kamatama41.github.com/maven-repository/repository") } } dependencies { classpath("com.github.kamatama41:gradle-git-release-plugin:0.2.0") } } plugins...
mit
Kotlin
0a1533fb73cfca0f5aa8c8d4feade5e2e20658ec
Change version to 2.6.3
libgdx/packr,libgdx/packr,libgdx/packr,libgdx/packr
build.gradle.kts
build.gradle.kts
/* * Copyright 2020 See AUTHORS file * * 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 agree...
/* * Copyright 2020 See AUTHORS file * * 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 agree...
apache-2.0
Kotlin
3f9e4c060ccc3532150fd457d1df9bd0cf967c3c
Bump com.gradle.plugin-publish from 0.20.0 to 0.21.0
gesellix/gradle-docker-plugin,gesellix/gradle-docker-plugin
build.gradle.kts
build.gradle.kts
plugins { id("maven-publish") id("com.github.ben-manes.versions") version "0.42.0" id("net.ossindex.audit") version "0.4.11" id("com.gradle.plugin-publish") version "0.21.0" apply false id("io.freefair.maven-central.validate-poms") version "6.4.1" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" ...
plugins { id("maven-publish") id("com.github.ben-manes.versions") version "0.42.0" id("net.ossindex.audit") version "0.4.11" id("com.gradle.plugin-publish") version "0.20.0" apply false id("io.freefair.maven-central.validate-poms") version "6.4.1" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" ...
mit
Kotlin
cbbcb956bac9d97eb72d169d592ab7ef7abf355c
Set default density when loading network bitmap
wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android
picasso-loader/src/main/java/org/wordpress/aztec/picassoloader/PicassoImageLoader.kt
picasso-loader/src/main/java/org/wordpress/aztec/picassoloader/PicassoImageLoader.kt
package org.wordpress.aztec.picassoloader import android.content.Context import android.graphics.Bitmap import android.graphics.drawable.BitmapDrawable import android.graphics.drawable.Drawable import android.support.v4.util.ArrayMap import android.util.DisplayMetrics import com.squareup.picasso.Picasso import com.sq...
package org.wordpress.aztec.picassoloader import android.content.Context import android.graphics.Bitmap import android.graphics.drawable.BitmapDrawable import android.graphics.drawable.Drawable import android.support.v4.util.ArrayMap import com.squareup.picasso.Picasso import com.squareup.picasso.Target import org.w...
mpl-2.0
Kotlin
054921bc231c3d6214b855ec8e4e9cf390b99f4d
Add comment for PAT
psygate/Citadel,psygate/Citadel
build.gradle.kts
build.gradle.kts
plugins { `java-library` `maven-publish` id("io.papermc.paperweight.userdev") version "1.3.1" } group = "net.civmc" version = "5.0.0-SNAPSHOT" description = "Citadel" repositories { fun civRepo(name: String) { maven { url = uri("https://maven.pkg.github.com/CivMC/${name}") credentials { // Th...
plugins { `java-library` `maven-publish` id("io.papermc.paperweight.userdev") version "1.3.1" } group = "net.civmc" version = "5.0.0-SNAPSHOT" description = "Citadel" repositories { fun civRepo(name: String) { maven { url = uri("https://maven.pkg.github.com/CivMC/${name}") credentials { usern...
bsd-3-clause
Kotlin
de324695bd55d71ea1bb38ac3270d2b0c410342b
update dependencies
docker-client/docker-engine,docker-client/docker-engine,docker-client/docker-engine
build.gradle.kts
build.gradle.kts
import java.text.SimpleDateFormat import java.util.* rootProject.extra.set("artifactVersion", SimpleDateFormat("yyyy-MM-dd\'T\'HH-mm-ss").format(Date())) buildscript { repositories { gradlePluginPortal() mavenCentral() } } plugins { id("maven-publish") id("com.github.ben-manes.versions") version "0.3...
import java.text.SimpleDateFormat import java.util.* rootProject.extra.set("artifactVersion", SimpleDateFormat("yyyy-MM-dd\'T\'HH-mm-ss").format(Date())) buildscript { repositories { gradlePluginPortal() mavenCentral() } } plugins { id("maven-publish") id("com.github.ben-manes.versions") version "0.3...
mit
Kotlin
4c8216ad25c2f4d29cdcc412c322ab415eb71780
Bump io.freefair.maven-central.validate-poms from 6.3.0 to 6.4.0
gesellix/docker-client,gesellix/docker-client,gesellix/docker-client
build.gradle.kts
build.gradle.kts
plugins { id("maven-publish") id("com.github.ben-manes.versions") version "0.42.0" id("net.ossindex.audit") version "0.4.11" id("io.freefair.maven-central.validate-poms") version "6.4.0" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" } val dependencyVersions = listOf( "net.bytebuddy:byte-buddy...
plugins { id("maven-publish") id("com.github.ben-manes.versions") version "0.42.0" id("net.ossindex.audit") version "0.4.11" id("io.freefair.maven-central.validate-poms") version "6.3.0" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" } val dependencyVersions = listOf( "net.bytebuddy:byte-buddy...
mit
Kotlin
d783ff5513551fb32e290592d6b0f77ac0160f8d
refactor #511 Fix incorrect unit test.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/editor/usecase/LinkTitleFetcherUseCaseTest.kt
app/src/test/java/jp/toastkid/yobidashi/editor/usecase/LinkTitleFetcherUseCaseTest.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
8bf741f1dcc2879d20dd9734f7a903310aa91236
refactor #606 Safe delete 'applyArticle'.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
article/src/main/java/jp/toastkid/article_viewer/article/list/ArticleSearchUseCase.kt
article/src/main/java/jp/toastkid/article_viewer/article/list/ArticleSearchUseCase.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
e1addeae7fe0213dd3e6aa4fbc6546ae325415db
Check if running with 1 subscriber works
EnMasseProject/enmasse,EnMasseProject/enmasse,jenmalloy/enmasse,jenmalloy/enmasse,EnMasseProject/enmasse,jenmalloy/enmasse,EnMasseProject/enmasse,EnMasseProject/enmasse,EnMasseProject/enmasse,jenmalloy/enmasse,EnMasseProject/enmasse,jenmalloy/enmasse,jenmalloy/enmasse,jenmalloy/enmasse
src/test/kotlin/enmasse/smoketest/StoreAndForwardTopicTest.kt
src/test/kotlin/enmasse/smoketest/StoreAndForwardTopicTest.kt
package enmasse.smoketest import io.kotlintest.specs.StringSpec import java.util.concurrent.CountDownLatch import java.util.concurrent.Executors import java.util.concurrent.TimeUnit /** * @author Ulf Lilleengen */ class StoreAndForwardTopicTest: StringSpec() { init { val dest = "mytopic" val cli...
package enmasse.smoketest import io.kotlintest.specs.StringSpec import java.util.concurrent.CountDownLatch import java.util.concurrent.Executors import java.util.concurrent.TimeUnit /** * @author Ulf Lilleengen */ class StoreAndForwardTopicTest: StringSpec() { init { val dest = "mytopic" val cli...
apache-2.0
Kotlin
662048e221dade43d1693d6eba927e8ea5f52c19
Bump junit from 4.13 to 4.13.2
docker-client/docker-engine,docker-client/docker-engine,docker-client/docker-engine
build.gradle.kts
build.gradle.kts
import java.text.SimpleDateFormat import java.util.* rootProject.extra.set("artifactVersion", SimpleDateFormat("yyyy-MM-dd\'T\'HH-mm-ss").format(Date())) buildscript { repositories { gradlePluginPortal() mavenCentral() } } plugins { id("maven-publish") id("com.github.ben-manes.versions") version "0.3...
import java.text.SimpleDateFormat import java.util.* rootProject.extra.set("artifactVersion", SimpleDateFormat("yyyy-MM-dd\'T\'HH-mm-ss").format(Date())) buildscript { repositories { gradlePluginPortal() mavenCentral() } } plugins { id("maven-publish") id("com.github.ben-manes.versions") version "0.3...
mit
Kotlin
770b33e4375b2aeee02b715ec5b1a14ff5ca0fb8
Use fewer parallel forks on macOS
blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,robinverdu...
.teamcity/Gradle_Check/configurations/FunctionalTest.kt
.teamcity/Gradle_Check/configurations/FunctionalTest.kt
package configurations import common.Os import jetbrains.buildServer.configs.kotlin.v2018_2.AbsoluteId import model.CIBuildModel import model.Stage import model.TestCoverage import model.TestType class FunctionalTest(model: CIBuildModel, testCoverage: TestCoverage, subProjects: List<String> = listOf(), stage: Stage, ...
package configurations import common.Os import jetbrains.buildServer.configs.kotlin.v2018_2.AbsoluteId import model.CIBuildModel import model.Stage import model.TestCoverage import model.TestType class FunctionalTest(model: CIBuildModel, testCoverage: TestCoverage, subProjects: List<String> = listOf(), stage: Stage, ...
apache-2.0
Kotlin
f626f0e2bb97064b2452d8408c1884d423e72a99
Provision once by default
Cognifide/gradle-aem-plugin,Cognifide/gradle-aem-plugin
src/main/kotlin/com/cognifide/gradle/aem/instance/provision/Step.kt
src/main/kotlin/com/cognifide/gradle/aem/instance/provision/Step.kt
package com.cognifide.gradle.aem.instance.provision import com.cognifide.gradle.aem.common.instance.Instance class Step(val provisioner: Provisioner, val id: String) { private val aem = provisioner.aem internal lateinit var actionCallback: Instance.() -> Unit var conditionCallback: Condition.() -> Bool...
package com.cognifide.gradle.aem.instance.provision import com.cognifide.gradle.aem.common.instance.Instance class Step(val provisioner: Provisioner, val id: String) { private val aem = provisioner.aem internal lateinit var actionCallback: Instance.() -> Unit internal lateinit var conditionCallback: Co...
apache-2.0
Kotlin
a260d87d659ba1178ad78396b3dc1912c764e891
Add a bunch of Esc Sequences
equal-l2/sokoban-kt,equal-l2/sokoban-kt
MyConsole.kt
MyConsole.kt
object MyConsole { val ES = "\u001b["; val CLEAR = ES + "2J"; val RESET = ES + "0m"; val BOLD = ES + "1m"; val UNDERLINE = ES + "4m"; val REVERSE = ES + "7m"; val NO_BOLD = ES + "22m"; val NO_UNDERLINE = ES + "24m"; val NO_REVERSE = ES + "27m"; val FG_B...
object MyConsole { val ES = "\u001b["; val CLEAR = ES + "2J"; val RESET = ES + "m"; val TEXT_BLACK = ES + "30m"; val TEXT_RED = ES + "31m"; val TEXT_GREEN = ES + "32m"; val TEXT_YELLOW = ES + "33m"; val TEXT_BLUE = ES + "34m"; val TEXT_MAGENDA = ES + "35m"; val TE...
mit
Kotlin
0edbe781a59ef70c14aa71f15a33ef9e161f8731
Make the caption span a block span and styled as italic
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.style.StyleSpan import org.wordpress.aztec.AztecAttributes import org.wordpress.aztec.spans.* class CaptionShortcodeSpan(override var attributes: AztecAttributes, override val TAG: Stri...
package org.wordpress.aztec.plugins.shortcodes.spans import android.text.TextPaint import android.text.style.CharacterStyle import android.text.style.ParagraphStyle import org.wordpress.aztec.AztecAttributes import org.wordpress.aztec.spans.* import org.xml.sax.Attributes class CaptionShortcodeSpan(override var attri...
mpl-2.0
Kotlin
c84e7ec326b18de8bdff4f870206e1ccc114896e
fix tests
Heiner1/AndroidAPS,Heiner1/AndroidAPS,jotomo/AndroidAPS,jotomo/AndroidAPS,Heiner1/AndroidAPS,Heiner1/AndroidAPS,jotomo/AndroidAPS
app/src/main/java/info/nightscout/androidaps/utils/extensions/HexByteArrayConversion.kt
app/src/main/java/info/nightscout/androidaps/utils/extensions/HexByteArrayConversion.kt
package info.nightscout.androidaps.utils.extensions import java.util.* private val HEX_CHARS = "0123456789abcdef".toCharArray() fun ByteArray.toHex() : String{ val result = StringBuffer() forEach { val octet = it.toInt() val firstIndex = (octet and 0xF0).ushr(4) val secondIndex = oct...
package info.nightscout.androidaps.utils.extensions private val HEX_CHARS = "0123456789ABCDEF".toCharArray() fun ByteArray.toHex() : String{ val result = StringBuffer() forEach { val octet = it.toInt() val firstIndex = (octet and 0xF0).ushr(4) val secondIndex = octet and 0x0F ...
agpl-3.0
Kotlin
eb2867516e65650c6db7ae704083c70e92988d9d
disable email item
StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android
app/src/main/java/org/stepik/android/view/profile_edit/ui/adapter/ProfileEditAdapter.kt
app/src/main/java/org/stepik/android/view/profile_edit/ui/adapter/ProfileEditAdapter.kt
package org.stepik.android.view.profile_edit.ui.adapter import org.stepic.droid.ui.custom.adapter_delegates.DelegateAdapter import org.stepic.droid.ui.custom.adapter_delegates.DelegateViewHolder import org.stepik.android.view.profile_edit.model.ProfileEditItem import org.stepik.android.view.profile_edit.ui.adapter.del...
package org.stepik.android.view.profile_edit.ui.adapter import org.stepic.droid.ui.custom.adapter_delegates.DelegateAdapter import org.stepic.droid.ui.custom.adapter_delegates.DelegateViewHolder import org.stepik.android.view.profile_edit.model.ProfileEditItem import org.stepik.android.view.profile_edit.ui.adapter.del...
apache-2.0
Kotlin
b43baeea817366e8c2d53af96a0b70ecf3ab6178
Bump modb-anilist from 4.0.5 to 4.0.6
manami-project/manami,manami-project/manami
manami-app/build.gradle.kts
manami-app/build.gradle.kts
dependencies { api("io.github.manamiproject:modb-core:7.0.2") api("io.github.manamiproject:modb-db-parser:3.1.2") api("org.slf4j:slf4j-api:1.7.32") implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2-native-mt") implementation("io.github.manamiproject:modb-anidb:3.0.7") implemen...
dependencies { api("io.github.manamiproject:modb-core:7.0.2") api("io.github.manamiproject:modb-db-parser:3.1.2") api("org.slf4j:slf4j-api:1.7.32") implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2-native-mt") implementation("io.github.manamiproject:modb-anidb:3.0.7") implemen...
agpl-3.0
Kotlin
4770d35ef5924f38c269f7421342345aef744b61
Format ConfigDb, and stop exporting the schema
jguerinet/MyMartlet,jguerinet/MyMartlet,jguerinet/MyMartlet-Android,jguerinet/MyMartlet,jguerinet/MyMartlet
app/src/main/java/util/room/ConfigDb.kt
app/src/main/java/util/room/ConfigDb.kt
/* * Copyright 2014-2018 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/* * Copyright 2014-2018 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
apache-2.0
Kotlin
a3fc8f788201178359d78d69b77f2b59f174a367
Fix inspection gradle plugin failures on module-info.class
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...
inspection/inspection-gradle-plugin/src/main/kotlin/androidx/inspection/gradle/JarJarDependenciesTask.kt
inspection/inspection-gradle-plugin/src/main/kotlin/androidx/inspection/gradle/JarJarDependenciesTask.kt
/* * Copyright 2020 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 2020 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
d92aab854404a2766d55e2536b5694371428b32b
Fix the bug that if the Bitmap of the transformation result is not new, the current Bitmap is incorrectly reclaimed, causing a crash
panpf/sketch,panpf/sketch
sketch/src/main/java/com/github/panpf/sketch/transform/internal/BitmapTransformationDecodeInterceptor.kt
sketch/src/main/java/com/github/panpf/sketch/transform/internal/BitmapTransformationDecodeInterceptor.kt
package com.github.panpf.sketch.transform.internal import android.graphics.Bitmap import androidx.annotation.WorkerThread import com.github.panpf.sketch.decode.BitmapDecodeInterceptor import com.github.panpf.sketch.decode.BitmapDecodeResult import com.github.panpf.sketch.decode.Transformed import java.util.LinkedList ...
package com.github.panpf.sketch.transform.internal import android.graphics.Bitmap import androidx.annotation.WorkerThread import com.github.panpf.sketch.decode.BitmapDecodeInterceptor import com.github.panpf.sketch.decode.BitmapDecodeResult import com.github.panpf.sketch.decode.Transformed import java.util.LinkedList ...
apache-2.0
Kotlin
2523d81216ae715e73aaec3af02f56aaf9096e93
Fix access to a class val
KotlinNLP/SimpleDNN
src/kotlin/com/kotlinnlp/simplednn/core/functionalities/updatemethods/learningrate/LearningRateMethod.kt
src/kotlin/com/kotlinnlp/simplednn/core/functionalities/updatemethods/learningrate/LearningRateMethod.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
b7269f82d83053fedf152a7189c4524c344259fc
refactor #450 Delete unused comment.
toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/main/HeaderViewModel.kt
app/src/main/java/jp/toastkid/yobidashi/main/HeaderViewModel.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
89d3cdbad589cefc7b2e555598e4888b4935dc93
Add listener mechanism to BackendManager
k9mail/k-9,cketti/k-9,cketti/k-9,cketti/k-9,k9mail/k-9,k9mail/k-9,cketti/k-9
app/core/src/main/java/com/fsck/k9/backend/BackendManager.kt
app/core/src/main/java/com/fsck/k9/backend/BackendManager.kt
package com.fsck.k9.backend import com.fsck.k9.Account import com.fsck.k9.backend.api.Backend import com.fsck.k9.mail.ServerSettings import java.util.concurrent.CopyOnWriteArraySet class BackendManager(private val backendFactories: Map<String, BackendFactory>) { private val backendCache = mutableMapOf<String, Bac...
package com.fsck.k9.backend import com.fsck.k9.Account import com.fsck.k9.backend.api.Backend import com.fsck.k9.mail.ServerSettings class BackendManager(private val backendFactories: Map<String, BackendFactory>) { private val backendCache = mutableMapOf<String, BackendContainer>() fun getBackend(account: Ac...
apache-2.0
Kotlin
9aa3e75569be66dc111efddc9730c7fb50e7c4fb
Rename functions to represent their functionality
anthonycr/Lightning-Browser,anthonycr/Lightning-Browser,anthonycr/Lightning-Browser,anthonycr/Lightning-Browser
app/src/main/java/acr/browser/lightning/di/AppBindsModule.kt
app/src/main/java/acr/browser/lightning/di/AppBindsModule.kt
package acr.browser.lightning.di import acr.browser.lightning.adblock.allowlist.AllowListModel import acr.browser.lightning.adblock.allowlist.SessionAllowListModel import acr.browser.lightning.adblock.source.AssetsHostsDataSource import acr.browser.lightning.adblock.source.HostsDataSource import acr.browser.lightning....
package acr.browser.lightning.di import acr.browser.lightning.adblock.allowlist.AllowListModel import acr.browser.lightning.adblock.allowlist.SessionAllowListModel import acr.browser.lightning.adblock.source.AssetsHostsDataSource import acr.browser.lightning.adblock.source.HostsDataSource import acr.browser.lightning....
mpl-2.0
Kotlin
51cd013f0ac3301d8eb42c3399306dad413ffd09
Update ListRecipes.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/personalize/src/main/kotlin/com/kotlin/personalize/ListRecipes.kt
.kotlin_alpha/services/personalize/src/main/kotlin/com/kotlin/personalize/ListRecipes.kt
//snippet-sourcedescription:[ListRecipes.kt demonstrates how to list Amazon Personalize recipes.] //snippet-keyword:[AWS SDK for Kotlin] //snippet-keyword:[Code Sample] //snippet-service:[Amazon Personalize] //snippet-sourcetype:[full-example] //snippet-sourcedate:[11/05/2021] //snippet-sourceauthor:[scmacdon - A...
//snippet-sourcedescription:[ListRecipes.kt demonstrates how to list Amazon Personalize recipes.] //snippet-keyword:[AWS SDK for Kotlin] //snippet-keyword:[Code Sample] //snippet-service:[Amazon Personalize] //snippet-sourcetype:[full-example] //snippet-sourcedate:[11/05/2021] //snippet-sourceauthor:[scmacdon - A...
apache-2.0
Kotlin
591d5cb74692fb9a75a0826f75824ec6a1f73342
bump org.jetbrains.kotlin.jvm in /code_samples/kotlin_demo (#807)
JetBrains/intellij-sdk-docs,JetBrains/intellij-sdk-docs,JetBrains/intellij-sdk-docs
code_samples/kotlin_demo/build.gradle.kts
code_samples/kotlin_demo/build.gradle.kts
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. plugins { id("java") id("org.jetbrains.intellij") version "1.7.0" id("org.jetbrains.kotlin.jvm") version "1.7.10" } group = "org.intellij.sdk" version = "2.0.0" repositories { mavenCentral...
// Copyright 2000-2022 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. plugins { id("java") id("org.jetbrains.intellij") version "1.7.0" id("org.jetbrains.kotlin.jvm") version "1.7.0" } group = "org.intellij.sdk" version = "2.0.0" repositories { mavenCentral(...
apache-2.0
Kotlin
8bede1eb6cd218e05960fe435a0f5cc630b2818b
add documentation for fus logger
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/internal/statistic/eventLog/FeatureUsageLogger.kt
platform/platform-api/src/com/intellij/internal/statistic/eventLog/FeatureUsageLogger.kt
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.internal.statistic.eventLog import com.intellij.openapi.application.ApplicationManager import java.io.File /** * An entrypoint class to record in event log...
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.internal.statistic.eventLog import com.intellij.openapi.application.ApplicationManager import java.io.File object FeatureUsageLogger { private val ourLogg...
apache-2.0
Kotlin
e8c028776a5b9c91109a13881c983c08a35a75f5
support variables in eval requests
rhdunn/marklogic-intellij-plugin
src/main/java/uk/co/reecedunn/intellij/plugin/marklogic/api/xcc/XCCEvalRequestBuilder.kt
src/main/java/uk/co/reecedunn/intellij/plugin/marklogic/api/xcc/XCCEvalRequestBuilder.kt
/* * Copyright (C) 2017 Reece H. Dunn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/* * Copyright (C) 2017 Reece H. Dunn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
apache-2.0
Kotlin
95667360cd1abf098b939ea41c509a3641d3ae9b
Bump kotlin to 1.5.10 (#765)
coil-kt/coil,coil-kt/coil
buildSrc/plugins.gradle.kts
buildSrc/plugins.gradle.kts
rootProject.extra.apply { set("androidPlugin", "com.android.tools.build:gradle:4.2.1") set("kotlinPlugin", "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.10") set("mavenPublishPlugin", "com.vanniktech:gradle-maven-publish-plugin:0.15.1") set("dokkaPlugin", "org.jetbrains.dokka:dokka-gradle-plugin:1.4.32...
rootProject.extra.apply { set("androidPlugin", "com.android.tools.build:gradle:4.2.1") set("kotlinPlugin", "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.0") set("mavenPublishPlugin", "com.vanniktech:gradle-maven-publish-plugin:0.15.1") set("dokkaPlugin", "org.jetbrains.dokka:dokka-gradle-plugin:1.4.32"...
apache-2.0
Kotlin
007986c7abf75c285c588c768a658d7258c87ff8
Add converters from spring shell's converter package - #42
arturbosch/TiNBo,arturbosch/TiNBo,arturbosch/TiNBo
src/main/java/com/gitlab/artismarti/tinbo/ShellConfiguration.kt
src/main/java/com/gitlab/artismarti/tinbo/ShellConfiguration.kt
package com.gitlab.artismarti.tinbo import jline.console.ConsoleReader import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import org.springframework.shell.CommandLine import org.springframework.shell.converters.ArrayConverter import org.springframework.shell....
package com.gitlab.artismarti.tinbo import jline.console.ConsoleReader import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration import org.springframework.shell.CommandLine import org.springframework.shell.converters.ArrayConverter import org.springframework.shell....
apache-2.0
Kotlin
9c1f0c46463f76e5046dcd93e4a7b541d210eec5
Fix ListingContentDataModel unit test
fcostaa/kotlin-rxjava-android,fcostaa/kotlin-rxjava-android
app/src/test/kotlin/com/felipecosta/kotlinrxjavasample/modules/listing/datamodel/ListingContentDataModelTest.kt
app/src/test/kotlin/com/felipecosta/kotlinrxjavasample/modules/listing/datamodel/ListingContentDataModelTest.kt
package com.felipecosta.kotlinrxjavasample.modules.listing.datamodel import com.felipecosta.kotlinrxjavasample.data.DataRepository import com.felipecosta.kotlinrxjavasample.data.pojo.Character import com.felipecosta.kotlinrxjavasample.utils.mock import com.felipecosta.kotlinrxjavasample.utils.whenever import io.reacti...
package com.felipecosta.kotlinrxjavasample.modules.listing.datamodel import com.felipecosta.kotlinrxjavasample.data.DataRepository import com.felipecosta.kotlinrxjavasample.data.pojo.Character import com.felipecosta.kotlinrxjavasample.utils.mock import com.felipecosta.kotlinrxjavasample.utils.whenever import io.reacti...
mit
Kotlin
cf32c101565df7333bf12e4a8d555fbfc0867f0e
Update to Android-Components 101.0.20220502190148.
mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android
buildSrc/src/main/java/AndroidComponents.kt
buildSrc/src/main/java/AndroidComponents.kt
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION = "101.0.20220502190148" }
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION = "101.0.20220502143106" }
mpl-2.0
Kotlin
f7dbc927b049d14e41084b7c004f5aa911001d8d
Update to Android-Components 101.0.20220501190145.
mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android
buildSrc/src/main/java/AndroidComponents.kt
buildSrc/src/main/java/AndroidComponents.kt
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION = "101.0.20220501190145" }
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION = "101.0.20220501143106" }
mpl-2.0
Kotlin
8a4d7ba655ecf68cc031d95d6e3dc7c757254c1a
Update to Android-Components 105.0.20220802143107.
mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android
buildSrc/src/main/java/AndroidComponents.kt
buildSrc/src/main/java/AndroidComponents.kt
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION = "105.0.20220802143107" }
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION = "105.0.20220801222259" }
mpl-2.0
Kotlin
34086b1780d4469822b20fc9e3965e07c906f221
Update to Android-Components 97.0.20211208143435.
mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android
buildSrc/src/main/java/AndroidComponents.kt
buildSrc/src/main/java/AndroidComponents.kt
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION = "97.0.20211208143435" }
/* 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.20211207192653" }
mpl-2.0
Kotlin
4dc0573b68a19d67dfee4204bf6c716f91b601fa
Update to Android-Components 98.0.20220205170353.
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 = "98.0.20220205170353" }
/* 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 = "98.0.20220205143941" }
mpl-2.0
Kotlin
a7b080ef31d92fbd9e2424320d918b62ab298a9e
upgrade gradle build tools - 7.1.1
mvmike/min-cal-widget
build.gradle.kts
build.gradle.kts
buildscript { //https://kotlinlang.org/releases.html val kotlinVersion by extra { "1.6.10" } dependencies { //https://developer.android.com/studio/releases/gradle-plugin classpath("com.android.tools.build:gradle:7.1.1") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVe...
buildscript { //https://kotlinlang.org/releases.html val kotlinVersion by extra { "1.6.10" } dependencies { //https://developer.android.com/studio/releases/gradle-plugin classpath("com.android.tools.build:gradle:7.1.0") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVe...
bsd-3-clause
Kotlin
898e45c9d4db292207d7f83fff8fb3411f81bc4b
Remove unused source sets
LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties
build.gradle.kts
build.gradle.kts
/* * Copyright 2019-2020 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. */ @file:Suppress("SpellCheckingInspection") import org.jetbrains.kotlin.gradle.dsl.KotlinJvmCompile import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension buildscript { repositorie...
/* * Copyright 2019-2020 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. */ @file:Suppress("SpellCheckingInspection") import org.jetbrains.kotlin.gradle.dsl.KotlinJvmCompile buildscript { repositories { setupForProject() } dependencies { classpath("org.j...
apache-2.0
Kotlin
d0e7acf45b1aa7718f0745d902d5a76acf31fd2a
Rework hello-world as a directed introduction to the track.
nithia/xkotlin,nithia/xkotlin,exercism/xkotlin,exercism/xkotlin
exercises/hello-world/src/test/kotlin/HelloWorldTest.kt
exercises/hello-world/src/test/kotlin/HelloWorldTest.kt
import org.junit.Ignore import org.junit.Test import org.junit.Assert.assertEquals class HelloWorldTest { @Test fun helloNoName() { assertEquals("Hello, World!", hello()) } @Test @Ignore fun helloSampleName() { assertEquals("Hello, Alice!", hello("Alice")) } @Test ...
import org.junit.Ignore import org.junit.Test import org.junit.Assert.assertEquals; class HelloWorldTest { @Test fun helloNoName() { assertEquals("Hello, World!", hello()) } @Test @Ignore fun helloSampleName() { assertEquals("Hello, Alice!", hello("Alice")) } @Test ...
mit
Kotlin
9edf30fcd124ee32d7e3d4bd0ae5ebfac2ddddf8
Fix deprecated method usage in ContextExt.
jguerinet/MyMartlet,jguerinet/MyMartlet-Android,jguerinet/MyMartlet,jguerinet/MyMartlet,jguerinet/MyMartlet
app/src/main/java/com/guerinet/mymartlet/util/extensions/ContextExt.kt
app/src/main/java/com/guerinet/mymartlet/util/extensions/ContextExt.kt
/* * Copyright 2014-2018 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/* * Copyright 2014-2018 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
apache-2.0
Kotlin
b8c328f1d1be379d85f40c58eefbb5b620324c75
Remove versioning from gradle files
Cognifide/AET,Cognifide/AET,Cognifide/AET,Cognifide/AET
buildSrc/src/main/kotlin/com.cognifide.aet.java-conventions.gradle.kts
buildSrc/src/main/kotlin/com.cognifide.aet.java-conventions.gradle.kts
plugins { `java-library` `maven-publish` } repositories { maven { url = uri("https://repository.jboss.org/nexus/content/groups/public") } mavenCentral() jcenter() } group = "com.cognifide.aet" java.sourceCompatibility = JavaVersion.VERSION_1_8 publishing { publications.create<Mave...
plugins { `java-library` `maven-publish` } repositories { maven { url = uri("https://repository.jboss.org/nexus/content/groups/public") } mavenCentral() jcenter() } group = "com.cognifide.aet" version = "3.4.1-SNAPSHOT" java.sourceCompatibility = JavaVersion.VERSION_1_8 publishing { ...
apache-2.0
Kotlin
2ad149b4c8bf66bfd812b2df730f7ea6054246fc
Fix Fat JAR
LorittaBot/Loritta,LorittaBot/Loritta,LorittaBot/Loritta,LorittaBot/Loritta
loritta-plugins/lori-broker/build.gradle.kts
loritta-plugins/lori-broker/build.gradle.kts
dependencies { api(project(":platforms:discord:legacy")) api("org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.0") implementation("io.ktor:ktor-client-websockets:${Versions.KTOR}") } plugins { java kotlin("jvm") } tasks { val fatJar = task("fatJar", type = Jar::class) { doFirst { ...
dependencies { api(project(":platforms:discord:legacy")) api("org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.0") implementation("io.ktor:ktor-client-websockets:${Versions.KTOR}") } plugins { java kotlin("jvm") } tasks { val fatJar = task("fatJar", type = Jar::class) { doFirst { ...
agpl-3.0
Kotlin
88d55cc660157ae1e0651fc4f3fd7ab7d2d96674
Add benchmark for cold, warm & hot start
android/performance-samples,android/performance-samples,android/performance-samples
MacrobenchmarkSample/macrobenchmark/src/main/java/com/example/macrobenchmark/startup/StartupCompilationModeBenchmark.kt
MacrobenchmarkSample/macrobenchmark/src/main/java/com/example/macrobenchmark/startup/StartupCompilationModeBenchmark.kt
package com.example.macrobenchmark.startup import androidx.benchmark.macro.BaselineProfileMode import androidx.benchmark.macro.CompilationMode import androidx.benchmark.macro.StartupMode import androidx.benchmark.macro.StartupTimingMetric import androidx.benchmark.macro.junit4.MacrobenchmarkRule import androidx.test.i...
apache-2.0
Kotlin
272e92ad79e5e6b8ca2fd6874b90a93e8c6da8e4
Update dependency org.apache.logging.log4j:log4j-core to v2.17.1
rahulsom/grooves,rahulsom/grooves,rahulsom/grooves
grooves-core/build.gradle.kts
grooves-core/build.gradle.kts
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { id("org.jetbrains.kotlin.jvm") id("org.jlleitschuh.gradle.ktlint") id("dev.jacomet.logging-capabilities") version "0.+" id("io.freefair.aspectj.post-compile-weaving") version "6.3.0" id("com.github.rahulsom.waena.published") `java...
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { id("org.jetbrains.kotlin.jvm") id("org.jlleitschuh.gradle.ktlint") id("dev.jacomet.logging-capabilities") version "0.+" id("io.freefair.aspectj.post-compile-weaving") version "6.3.0" id("com.github.rahulsom.waena.published") `java...
apache-2.0
Kotlin
4c40b104195ecf0c7b1bbf44adac1c35f0e3b88d
Bump metrics-core from 4.2.1 to 4.2.2 (#2529)
ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor
ktor-features/ktor-metrics/build.gradle.kts
ktor-features/ktor-metrics/build.gradle.kts
description = "" kotlin { sourceSets { val jvmMain by getting { dependencies { api("io.dropwizard.metrics:metrics-core:4.2.2") api("io.dropwizard.metrics:metrics-jvm:4.2.2") } } } }
description = "" kotlin { sourceSets { val jvmMain by getting { dependencies { api("io.dropwizard.metrics:metrics-core:4.2.1") api("io.dropwizard.metrics:metrics-jvm:4.2.2") } } } }
apache-2.0
Kotlin
88747993139224a4bb6dbe985adf652d557de621
Fix typo visbility -> visibility
android/architecture-components-samples,android/architecture-components-samples,android/architecture-components-samples
PagingWithNetworkSample/app/src/main/java/com/android/example/paging/pagingwithnetwork/reddit/ui/NetworkStateItemViewHolder.kt
PagingWithNetworkSample/app/src/main/java/com/android/example/paging/pagingwithnetwork/reddit/ui/NetworkStateItemViewHolder.kt
/* * Copyright (C) 2017 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 app...
/* * Copyright (C) 2017 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 app...
apache-2.0
Kotlin
e7fddb224d1af08972327606b07bd9401fca6582
Add toString for MachineCode
kvakil/venus,kvakil/venus,kvakil/venus
src/main/kotlin/venus/riscv/MachineCode.kt
src/main/kotlin/venus/riscv/MachineCode.kt
package venus.riscv /** * Represents the machine code of an instruction. * * For now this only supports RV32. * * @param encoding the underlying machine code of the instruction */ class MachineCode(private var encoding: Int) { val length = 4 /** * Returns the value of the given instruction field fo...
package venus.riscv /** * Represents the machine code of an instruction. * * For now this only supports RV32. * * @param encoding the underlying machine code of the instruction */ class MachineCode(private var encoding: Int) { val length = 4 /** * Returns the value of the given instruction field fo...
mit
Kotlin
295c3d1f15cc9a3af63aca0860f42ba87891bd1e
Make fs ls reproducible by ordering by filename
gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpira...
subprojects/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/ConfigurePrecompiledScriptDependenciesResolver.kt
subprojects/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/ConfigurePrecompiledScriptDependenciesResolver.kt
/* * Copyright 2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
Kotlin
6e0d7d92785d9461305eea82498e5622fb43fefa
Fix runtime branch test
ligee/kotlin-jupyter
src/test/kotlin/org/jetbrains/kotlin/jupyter/test/configTests.kt
src/test/kotlin/org/jetbrains/kotlin/jupyter/test/configTests.kt
package org.jetbrains.kotlin.jupyter.test import org.jetbrains.kotlin.jupyter.* import org.junit.Test import java.io.File import kotlin.test.assertEquals import kotlin.test.assertTrue class ConfigTest { @Test fun testBranch() { val branch = runtimeProperties.currentBranch log.debug("Runtime gi...
package org.jetbrains.kotlin.jupyter.test import org.jetbrains.kotlin.jupyter.* import org.junit.Test import java.io.File import kotlin.test.assertEquals import kotlin.test.assertTrue class ConfigTest { @Test fun testBranch() { val branch = runtimeProperties.currentBranch log.debug("Runtime gi...
apache-2.0
Kotlin
05566454376cd9444fba7dadf986219b666112fd
refactor #451 Add test case.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte
app/src/test/java/jp/toastkid/yobidashi/browser/usecase/HtmlSourceExtractionUseCaseTest.kt
app/src/test/java/jp/toastkid/yobidashi/browser/usecase/HtmlSourceExtractionUseCaseTest.kt
/* * Copyright (c) 2021 toastkidjp. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompany this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html. */ package jp...
epl-1.0
Kotlin
8941ef4d426372a0931e6473b97159b86e8cb2d3
Add registration-terms Firestore db name to the Constants
jguerinet/MyMartlet,jguerinet/MyMartlet,jguerinet/MyMartlet-Android,jguerinet/MyMartlet,jguerinet/MyMartlet
app/src/main/java/util/Constants.kt
app/src/main/java/util/Constants.kt
/* * Copyright 2014-2019 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/* * Copyright 2014-2019 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
apache-2.0
Kotlin
6a58430516878dbd1c5f146bb7eef740d2bb5f42
Create Duchy servers for workers and work management.
world-federation-of-advertisers/common-jvm,world-federation-of-advertisers/common-jvm
src/main/kotlin/org/wfanet/measurement/common/CommonServer.kt
src/main/kotlin/org/wfanet/measurement/common/CommonServer.kt
package org.wfanet.measurement.common import io.grpc.BindableService import io.grpc.Server import io.grpc.ServerBuilder import java.io.IOException import java.util.logging.Level import java.util.logging.Logger class CommonServer( private val nameForLogging: String, private val port: Int, vararg services: Bindab...
package org.wfanet.measurement.common import io.grpc.BindableService import io.grpc.Server import io.grpc.ServerBuilder import java.io.IOException import java.util.logging.Level import java.util.logging.Logger class CommonServer(private val serversEnum: CommonServerType, vararg services: BindableSe...
apache-2.0
Kotlin