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
ee995861386592f66c74aa187fa00298ac2657c4
Bump Robolectric
fcostaa/kotlin-rxjava-android,fcostaa/kotlin-rxjava-android
buildSrc/src/main/kotlin/Versions.kt
buildSrc/src/main/kotlin/Versions.kt
internal object Kotlin { const val version = "1.3.30" } object Versions { const val androidGradlePlugin = "3.4.0" const val dependencyGraphGeneratorPlugin = "0.2.0" const val androidJunitJacocoPlugin = "0.13.0" const val detektGradlePlugin = "1.0.0-RC12" const val canidropjetifierPlugin = "0.4"...
internal object Kotlin { const val version = "1.3.30" } object Versions { const val androidGradlePlugin = "3.4.0" const val dependencyGraphGeneratorPlugin = "0.2.0" const val androidJunitJacocoPlugin = "0.13.0" const val detektGradlePlugin = "1.0.0-RC12" const val canidropjetifierPlugin = "0.4"...
mit
Kotlin
89035bf87adf2f7ace86fa9294fe507beb4ffe0e
refactor #587 Embed delimiter to script.
toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/browser/download/image/AllImageDownloaderService.kt
app/src/main/java/jp/toastkid/yobidashi/browser/download/image/AllImageDownloaderService.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
f7f73af1950500db00dfc2702463c7b9959d4102
refactor #523 Use BrowserViewModel instead of BrowserHeaderViewModel.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/browser/webview/factory/WebViewClientFactoryTest.kt
app/src/test/java/jp/toastkid/yobidashi/browser/webview/factory/WebViewClientFactoryTest.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
fe965c2ca11451072824f9c21423c8cdedc5c674
Fix save file
Madzi/owide,Madzi/owide,Madzi/owide
src/main/kotlin/owide/App.kt
src/main/kotlin/owide/App.kt
package owide import monaco.Editor import monaco.editor.IEditor import monaco.editor.IModel import org.w3c.dom.HTMLAnchorElement import owide.files.* import kotlin.browser.document data class Paths(val vs: String) data class RConf(val paths: Paths) external val require: (libs: Array<String>, fn: () -> Unit) -> Unit ...
package owide import monaco.Editor import monaco.editor.IEditor import monaco.editor.IModel import org.w3c.dom.HTMLAnchorElement import owide.files.* import kotlin.browser.document data class Paths(val vs: String) data class RConf(val paths: Paths) external val require: (libs: Array<String>, fn: () -> Unit) -> Unit ...
apache-2.0
Kotlin
d2229b7f0fae6085114f718cb4c23facb897b3fb
Declare constants const
walleth/kethereum
model/src/main/java/org/kethereum/Networks.kt
model/src/main/java/org/kethereum/Networks.kt
package org.kethereum const val ETHEREUM_NETWORK_MAIN = "main" const val ETHEREUM_NETWORK_RINKEBY = "rinkeby" const val ETHEREUM_NETWORK_ROPSTEN = "ropsten" val ETHEREUM_NETWORKS = listOf( ETHEREUM_NETWORK_MAIN, ETHEREUM_NETWORK_RINKEBY, ETHEREUM_NETWORK_ROPSTEN )
package org.kethereum val ETHEREUM_NETWORK_MAIN = "main" val ETHEREUM_NETWORK_RINKEBY = "rinkeby" val ETHEREUM_NETWORK_ROPSTEN = "ropsten" val ETHEREUM_NETWORKS = listOf( ETHEREUM_NETWORK_MAIN, ETHEREUM_NETWORK_RINKEBY, ETHEREUM_NETWORK_ROPSTEN )
mit
Kotlin
f70584269fd6b473f7630db18e98852d7f577485
remove dead code
Undin/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,alygin/intellij-rust,anton-okolelov/intellij-rust,alygin/intellij-rust,anton-okolelov/intellij-rust,Undin/intellij-rust,himikof/intellij-rust,ujpv/intellij-rust,ujpv/intellij-rust,d9n/intellij-rust,ujpv/intellij-rust,d9n/intellij-rust,anton-okolelov/in...
src/test/kotlin/org/rust/lang/core/resolve/RustMultifileResolveTestCaseBase.kt
src/test/kotlin/org/rust/lang/core/resolve/RustMultifileResolveTestCaseBase.kt
package org.rust.lang.core.resolve import org.assertj.core.api.Assertions.assertThat import org.rust.lang.core.psi.RustNamedElement import org.rust.lang.core.resolve.ref.RustReference abstract class RustMultiFileResolveTestCaseBase : RustResolveTestCaseBase() { private fun trimDir(path: String): String { ...
package org.rust.lang.core.resolve import org.assertj.core.api.Assertions.assertThat import org.rust.cargo.project.CargoProjectDescription import org.rust.lang.core.psi.RustNamedElement import org.rust.lang.core.resolve.ref.RustReference abstract class RustMultiFileResolveTestCaseBase : RustResolveTestCaseBase() { ...
mit
Kotlin
a5f50ee3e6ac83465d60ca8b6141f776dff07c2f
Fix wrapper service
JackParisi/DroidBox
droidbox/src/main/java/com/github/jackparisi/droidbox/wrapper/DroidWrapperService.kt
droidbox/src/main/java/com/github/jackparisi/droidbox/wrapper/DroidWrapperService.kt
package com.github.jackparisi.droidbox.wrapper import android.content.Context import android.databinding.ViewDataBinding import android.view.View import com.github.jackparisi.droidbox.architecture.model.DroidViewModel import kotlin.reflect.KClass /** * Created by Giacomo Parisi on 25/07/17. * https://github.com/Jac...
package com.github.jackparisi.droidbox.wrapper import android.content.Context import android.databinding.ViewDataBinding import android.view.View import com.github.jackparisi.droidbox.architecture.model.DroidViewModel import kotlin.reflect.KClass /** * Created by Giacomo Parisi on 25/07/17. * https://github.com/Jac...
apache-2.0
Kotlin
560d411bc1b64823fcae9d5fbac156e2f206c259
refactor #307 Add comments in NotificationSettingFragment.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/settings/fragment/NotificationSettingFragment.kt
app/src/main/java/jp/toastkid/yobidashi/settings/fragment/NotificationSettingFragment.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
809bcfe3ab16d5af9c98e9f06d4c96f292db574d
clean up
yyYank/Kebab,yyYank/Kebab
src/test/kotlin/KebabTest.kt
src/test/kotlin/KebabTest.kt
package kebab.junit4 import kebab.Browser import kebab.Configuration import kebab.configuration import org.junit.After import org.junit.Assert.assertEquals import org.junit.Before import org.junit.Ignore import org.junit.Test import org.openqa.selenium.By import org.openqa.selenium.chrome.ChromeDriver import java.util...
package kebab.junit4 import kebab.Browser import kebab.Configuration import kebab.configuration import org.junit.After import org.junit.Assert.assertEquals import org.junit.Before import org.junit.Ignore import org.junit.Test import org.openqa.selenium.By import org.openqa.selenium.chrome.ChromeDriver import java.util...
apache-2.0
Kotlin
9b1a9945572d724fe66d064765d590199c59f9b3
make sure that ViewModelAutoLifecycle unregisters only when that specific fragment is destroyed
byoutline/SecretSauce,byoutline/SecretSauce,byoutline/SecretSauce,byoutline/SecretSauce
SecretSauce/src/main/java/com/byoutline/secretsauce/di/ViewModelAutoLifecycle.kt
SecretSauce/src/main/java/com/byoutline/secretsauce/di/ViewModelAutoLifecycle.kt
package com.byoutline.secretsauce.di import android.app.Activity import android.app.Application import android.os.Bundle import android.support.v4.app.Fragment import android.support.v4.app.FragmentManager /** * Attaches and detaches [AttachableViewModel] to Fragment. */ class ViewModelAutoLifecycleF<out VIEWMODEL ...
package com.byoutline.secretsauce.di import android.app.Activity import android.app.Application import android.os.Bundle import android.support.v4.app.Fragment import android.support.v4.app.FragmentManager /** * Attaches and detaches [AttachableViewModel] to Fragment. */ class ViewModelAutoLifecycleF<out VIEWMODEL ...
apache-2.0
Kotlin
42cf2c5e30a7fcf6645f101aa9990fbac0865f95
add two numbers
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/addtwonumbers/AddTwoNumbers.kt
kotlin/src/katas/kotlin/leetcode/addtwonumbers/AddTwoNumbers.kt
package katas.kotlin.leetcode.addtwonumbers import kotlincommon.test.shouldEqual import org.junit.Test class AddTwoNumbers { @Test fun `convert integer to linked list`() { 0.toLinkedList() shouldEqual Node(0) 1.toLinkedList() shouldEqual Node(1) 12.toLinkedList() shouldEqual Node(2).linked...
package katas.kotlin.leetcode.addtwonumbers import kotlincommon.test.shouldEqual import org.junit.Test class AddTwoNumbers { @Test fun `convert integer to linked list`() { 0.toLinkedList() shouldEqual Node(0) 1.toLinkedList() shouldEqual Node(1) 12.toLinkedList() shouldEqual Node(2).linked...
unlicense
Kotlin
85dcffbcde5e3d71162c9158ff64f71c975f6703
add two numbers
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/addtwonumbers/AddTwoNumbers.kt
kotlin/src/katas/kotlin/leetcode/addtwonumbers/AddTwoNumbers.kt
package katas.kotlin.leetcode.addtwonumbers import kotlincommon.test.shouldEqual import org.junit.Test class AddTwoNumbers { @Test fun `convert integer to linked list`() { 0.toLinkedList() shouldEqual ListNode(0) 1.toLinkedList() shouldEqual ListNode(1) 12.toLinkedList() shouldEqual ListNo...
package katas.kotlin.leetcode.addtwonumbers import kotlincommon.test.shouldEqual import org.junit.Test class AddTwoNumbers { @Test fun `convert integer to linked list`() { 0.toLinkedList() shouldEqual ListNode(0) 1.toLinkedList() shouldEqual ListNode(1) 12.toLinkedList() shouldEqual ListNo...
unlicense
Kotlin
489f8efc42f5e5a6fece7cc455be5a6ba61b7f1c
Add missing file.
kryptnostic/rhizome,kryptnostic/rhizome
src/main/kotlin/com/geekbeast/rhizome/aws/S3Utils.kt
src/main/kotlin/com/geekbeast/rhizome/aws/S3Utils.kt
package com.geekbeast.rhizome.aws import com.amazonaws.ClientConfiguration import com.amazonaws.auth.AWSStaticCredentialsProvider import com.amazonaws.auth.BasicAWSCredentials import com.amazonaws.auth.profile.ProfileCredentialsProvider import com.amazonaws.retry.PredefinedBackoffStrategies import com.amazonaws.retry....
apache-2.0
Kotlin
f120332bfce78e80386dde999c38cb49352f6796
Fix NPE: event may not contain project
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/changeReminder/src/com/jetbrains/changeReminder/changes/ChangeReminderCheckAction.kt
plugins/changeReminder/src/com/jetbrains/changeReminder/changes/ChangeReminderCheckAction.kt
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.changeReminder.changes import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.actionSystem.ToggleAction import com.intellij.open...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.changeReminder.changes import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.actionSystem.ToggleAction import com.intellij.open...
apache-2.0
Kotlin
24a7c276642d8c0f9329097e43abdcd7edcf669b
Fix compilation under linux due to NTSystem usage
JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support
nuget-agent/src/jetbrains/buildServer/nuget/agent/util/impl/SystemInformationImpl.kt
nuget-agent/src/jetbrains/buildServer/nuget/agent/util/impl/SystemInformationImpl.kt
package jetbrains.buildServer.nuget.agent.util.impl import com.intellij.openapi.util.SystemInfo import jetbrains.buildServer.nuget.agent.util.SystemInformation class SystemInformationImpl : SystemInformation { override val isWindows: Boolean get() = SystemInfo.isWindows override val userName: String ...
package jetbrains.buildServer.nuget.agent.util.impl import com.intellij.openapi.util.SystemInfo import jetbrains.buildServer.nuget.agent.util.SystemInformation class SystemInformationImpl : SystemInformation { override val isWindows: Boolean get() = SystemInfo.isWindows override val userName: String ...
apache-2.0
Kotlin
69a83be0217e7603c2760707a6362cddac240ebb
Add missing newlines to jar diff text report
JakeWharton/dex-method-list,JakeWharton/dex-method-list,JakeWharton/dex-method-list
diffuse/src/main/kotlin/com/jakewharton/diffuse/report/text/JarDiffTextReport.kt
diffuse/src/main/kotlin/com/jakewharton/diffuse/report/text/JarDiffTextReport.kt
package com.jakewharton.diffuse.report.text import com.jakewharton.diffuse.ArchiveFile.Type import com.jakewharton.diffuse.diff.JarDiff import com.jakewharton.diffuse.diff.toDetailReport import com.jakewharton.diffuse.diff.toSummaryTable import com.jakewharton.diffuse.report.DiffReport internal class JarDiffTextRepor...
package com.jakewharton.diffuse.report.text import com.jakewharton.diffuse.ArchiveFile.Type import com.jakewharton.diffuse.diff.JarDiff import com.jakewharton.diffuse.diff.toDetailReport import com.jakewharton.diffuse.diff.toSummaryTable import com.jakewharton.diffuse.report.DiffReport internal class JarDiffTextRepor...
apache-2.0
Kotlin
2154998c3f6473b1b383087e5c70edca80176396
Fix swap command
jmesserli/discord-bernbot
src/main/kotlin/nu/peg/discord/command/handler/internal/SwapChannelCommandHandler.kt
src/main/kotlin/nu/peg/discord/command/handler/internal/SwapChannelCommandHandler.kt
package nu.peg.discord.command.handler.internal import nu.peg.discord.command.Command import nu.peg.discord.command.handler.CommandHandler import org.springframework.stereotype.Component @Component class SwapChannelCommandHandler : CommandHandler { override fun isAdminCommand() = true override fun getNames() ...
package nu.peg.discord.command.handler.internal import nu.peg.discord.command.Command import nu.peg.discord.command.handler.CommandHandler import org.springframework.stereotype.Component @Component class SwapChannelCommandHandler : CommandHandler { override fun isAdminCommand() = true override fun getNames() ...
mit
Kotlin
0ac0df5d89ef77a81450b198be1d4b540b732089
Fix ant import Kotlin DSL samples
robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blind...
subprojects/docs/src/samples/userguide/antMigration/fileDeps/kotlin/build.gradle.kts
subprojects/docs/src/samples/userguide/antMigration/fileDeps/kotlin/build.gradle.kts
plugins { java } // tag::file-deps[] repositories { flatDir { name = "libs dir" dir(file("libs")) // <1> } } dependencies { implementation(files("libs/our-custom.jar")) // <2> implementation(":log4j:1.2.8") // <3> implementation(":commons-io:2.1") // <3> } // end::file-d...
plugins { java } // tag::file-deps[] repositories { flatDir { name = "libs dir" dir(file("libs")) // <1> } } dependencies { implementation(files("libs/our-custom.jar")) // <2> implementation(":log4j:1.2.8") // <3> implementation(":commons-io:2.1") // <3> } // end::file-d...
apache-2.0
Kotlin
3fd7a055d8233f7dc802534ed6d6a499b0bdb5fa
Improve error message, fixes #1557
Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA
src/nl/hannahsten/texifyidea/run/OpenCustomPdfViewerListener.kt
src/nl/hannahsten/texifyidea/run/OpenCustomPdfViewerListener.kt
package nl.hannahsten.texifyidea.run import com.intellij.execution.process.ProcessEvent import com.intellij.execution.process.ProcessListener import com.intellij.notification.Notification import com.intellij.notification.NotificationType import com.intellij.openapi.util.Key import nl.hannahsten.texifyidea.run.latex.La...
package nl.hannahsten.texifyidea.run import com.intellij.execution.process.ProcessEvent import com.intellij.execution.process.ProcessListener import com.intellij.openapi.util.Key import nl.hannahsten.texifyidea.TeXception import nl.hannahsten.texifyidea.run.latex.LatexRunConfiguration import java.io.IOException /** ...
mit
Kotlin
6b803f88fab861b8af9ea52014450ef2fffaf74b
move QueueMetricsPublisherTest from orca (#77)
spinnaker/keiko,spinnaker/keiko
keiko-core/src/test/kotlin/com/netflix/spinnaker/q/QueueMetricsPublisherTest.kt
keiko-core/src/test/kotlin/com/netflix/spinnaker/q/QueueMetricsPublisherTest.kt
/* * Copyright 2019 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
apache-2.0
Kotlin
c97620f6b5bda5efac1f450e5a22dfb79afe3182
Add comments to get collection methods
google/modernstorage,google/modernstorage
mediastore/src/main/java/com/google/modernstorage/mediastore/MediaCollection.kt
mediastore/src/main/java/com/google/modernstorage/mediastore/MediaCollection.kt
/* * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
apache-2.0
Kotlin
0b8320f5876fcca638221e8c9e9c2cc13f051665
refactor #412 Inline variable.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
app/src/main/java/jp/toastkid/yobidashi/search/usecase/SearchFragmentFactoryUseCase.kt
app/src/main/java/jp/toastkid/yobidashi/search/usecase/SearchFragmentFactoryUseCase.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
df4727150560a1ed72f13f8f8f1064b0be2dd7a2
Fix import return value handling
sandjelkovic/dispatchd,sandjelkovic/dispatchd
content-service/src/main/kotlin/com/sandjelkovic/dispatchd/content/daemon/Scheduler.kt
content-service/src/main/kotlin/com/sandjelkovic/dispatchd/content/daemon/Scheduler.kt
package com.sandjelkovic.dispatchd.content.daemon import com.sandjelkovic.dispatchd.content.contentRefreshTaskExecutorBeanName import com.sandjelkovic.dispatchd.content.service.ContentRefreshService import mu.KLogging import org.springframework.scheduling.annotation.Async import org.springframework.scheduling.annotati...
package com.sandjelkovic.dispatchd.content.daemon import com.sandjelkovic.dispatchd.content.contentRefreshTaskExecutorBeanName import com.sandjelkovic.dispatchd.content.service.ContentRefreshService import mu.KLogging import org.springframework.scheduling.annotation.Async import org.springframework.scheduling.annotati...
apache-2.0
Kotlin
961a4d5d5780b336ca0102c852e7340ed1aa9033
Comment derp
Kiskae/DiscordKt,Kiskae/DiscordKt
implementation/src/main/kotlin/net/serverpeon/discord/internal/ws/data/inbound/Misc.kt
implementation/src/main/kotlin/net/serverpeon/discord/internal/ws/data/inbound/Misc.kt
package net.serverpeon.discord.internal.ws.data.inbound import net.serverpeon.discord.internal.rest.data.SelfModel import net.serverpeon.discord.model.* interface Misc { data class UserUpdate(val self: SelfModel) : Misc data class Ready(val data: ReadyEventModel) : Misc data class TypingStart(val user_id:...
package net.serverpeon.discord.internal.ws.data.inbound import net.serverpeon.discord.internal.rest.data.SelfModel import net.serverpeon.discord.model.* interface Misc { data class UserUpdate(val self: SelfModel) : Misc data class Ready(val data: ReadyEventModel) : Misc data class TypingStart(val user_id:...
mit
Kotlin
f0cbeb22794ef8c6127fafd1028a851b4c34e4de
Update documentation
KotlinNLP/SimpleDNN
src/kotlin/com/kotlinnlp/simplednn/core/arrays/AugmentedArray.kt
src/kotlin/com/kotlinnlp/simplednn/core/arrays/AugmentedArray.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
e340c5ca7ed4876b6d028d4e1336b05383079e9e
Add cross version tests
gogradle/gogradle,blindpirate/gogradle,gogradle/gogradle,gogradle/gogradle,blindpirate/gogradle,gogradle/gogradle
src/cross-version-test/kotlin/com/github/blindpirate/gogradle/CrossVersionSmokeTest.kt
src/cross-version-test/kotlin/com/github/blindpirate/gogradle/CrossVersionSmokeTest.kt
package com.github.blindpirate.gogradle import com.github.blindpirate.gogradle.GogradleRunner import com.github.blindpirate.gogradle.support.IntegrationTestSupport import org.junit.Test import org.junit.runner.RunWith import java.io.File import com.github.blindpirate.gogradle.support.WithResource import com.github.bli...
apache-2.0
Kotlin
bfc22b58397d9cfb96c9c5bdad884553a1d32d28
Change expected lifecycle listeners in config fragment test
Doctoror/ParticleConstellationsLiveWallpaper,Doctoror/ParticleConstellationsLiveWallpaper
app/src/test/java/com/doctoror/particleswallpaper/userprefs/OpenGlConfigFragmentTest.kt
app/src/test/java/com/doctoror/particleswallpaper/userprefs/OpenGlConfigFragmentTest.kt
/* * Copyright (C) 2018 Yaroslav Mytkalyk * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright (C) 2018 Yaroslav Mytkalyk * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
apache-2.0
Kotlin
3d7af7cf138beefc69c8e4c777ce8a7eec05efd7
Fix arguments within a LocaleKeyData to be parsed and displayed correctly
LorittaBot/Loritta,LorittaBot/Loritta,LorittaBot/Loritta,LorittaBot/Loritta
loritta-api/src/commonMain/kotlin/com/mrpowergamerbr/loritta/utils/locale/BaseLocale.kt
loritta-api/src/commonMain/kotlin/com/mrpowergamerbr/loritta/utils/locale/BaseLocale.kt
package com.mrpowergamerbr.loritta.utils.locale import kotlinx.serialization.Serializable import mu.KotlinLogging import net.perfectdreams.loritta.api.utils.format @Serializable class BaseLocale(val id: String) { companion object { private val logger = KotlinLogging.logger {} } val localeStringEntries = mutable...
package com.mrpowergamerbr.loritta.utils.locale import kotlinx.serialization.Serializable import mu.KotlinLogging import net.perfectdreams.loritta.api.utils.format @Serializable class BaseLocale(val id: String) { companion object { private val logger = KotlinLogging.logger {} } val localeStringEntries = mutable...
agpl-3.0
Kotlin
2d336cdc822968af6be8d78f081a12b5edea6174
Fix formatting
MichaelRocks/lightsaber,MichaelRocks/lightsaber
processor/src/main/kotlin/io/michaelrocks/lightsaber/processor/graph/DependencyGraph.kt
processor/src/main/kotlin/io/michaelrocks/lightsaber/processor/graph/DependencyGraph.kt
/* * Copyright 2016 Michael Rozumyanskiy * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/* * Copyright 2015 Michael Rozumyanskiy * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
apache-2.0
Kotlin
6935751f2cc3761e4a73ee2d2ae5dffe264440b2
Combine the two tests in OtherUserFlairReferenceTest
Saketme/JRAW,thatJavaNerd/JRAW,thatJavaNerd/JRAW,Saketme/JRAW,Saketme/JRAW,thatJavaNerd/JRAW
lib/src/test/kotlin/net/dean/jraw/test/integration/OtherUserFlairReferenceTest.kt
lib/src/test/kotlin/net/dean/jraw/test/integration/OtherUserFlairReferenceTest.kt
package net.dean.jraw.test.integration import com.winterbe.expekt.should import net.dean.jraw.test.CredentialsUtil.moderationSubreddit import net.dean.jraw.test.TestConfig.reddit import org.jetbrains.spek.api.Spek import org.jetbrains.spek.api.dsl.describe import org.jetbrains.spek.api.dsl.it import java.util.* class...
package net.dean.jraw.test.integration import com.winterbe.expekt.should import net.dean.jraw.test.CredentialsUtil.moderationSubreddit import net.dean.jraw.test.TestConfig.reddit import org.jetbrains.spek.api.Spek import org.jetbrains.spek.api.dsl.describe import org.jetbrains.spek.api.dsl.it import java.util.* class...
mit
Kotlin
50c4f5f456e62c72378d276b0bec23345f56cc57
Fix ClusterOfflineException's exception message
LorittaBot/Loritta,LorittaBot/Loritta,LorittaBot/Loritta,LorittaBot/Loritta
loritta-discord/src/main/java/net/perfectdreams/loritta/utils/ClusterOfflineException.kt
loritta-discord/src/main/java/net/perfectdreams/loritta/utils/ClusterOfflineException.kt
package net.perfectdreams.loritta.utils data class ClusterOfflineException(val id: Long, val name: String) : RuntimeException("Cluster $id ($name) is offline")
package net.perfectdreams.loritta.utils data class ClusterOfflineException(val id: Long, val name: String) : RuntimeException("Shard $id ($name) is offline")
agpl-3.0
Kotlin
6eb3341bc2ac43468219d1c0ae7c2c18cbf72c01
refactor #511 Rename test function.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte
app/src/test/java/jp/toastkid/yobidashi/editor/usecase/ThousandSeparatorInsertionUseCaseTest.kt
app/src/test/java/jp/toastkid/yobidashi/editor/usecase/ThousandSeparatorInsertionUseCaseTest.kt
/* * Copyright (c) 2022 toastkidjp. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompany this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html. */ package jp...
/* * Copyright (c) 2022 toastkidjp. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompany this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html. */ package jp...
epl-1.0
Kotlin
faa3d0ea996932f021ae44ac073612f7541ababb
Fix incompatibility with AGP 3.5
Triple-T/gradle-play-publisher,Triple-T/gradle-play-publisher,MaTriXy/gradle-play-publisher-1,Triple-T/gradle-play-publisher,MaTriXy/gradle-play-publisher-1,MaTriXy/gradle-play-publisher-1
plugin/src/main/kotlin/com/github/triplet/gradle/play/tasks/internal/PublishArtifactTaskBase.kt
plugin/src/main/kotlin/com/github/triplet/gradle/play/tasks/internal/PublishArtifactTaskBase.kt
package com.github.triplet.gradle.play.tasks.internal import com.android.build.gradle.api.ApplicationVariant import com.github.triplet.gradle.play.PlayPublisherExtension import com.github.triplet.gradle.play.internal.RELEASE_NAMES_PATH import com.github.triplet.gradle.play.internal.RELEASE_NOTES_PATH import com.github...
package com.github.triplet.gradle.play.tasks.internal import com.android.build.gradle.api.ApplicationVariant import com.github.triplet.gradle.play.PlayPublisherExtension import com.github.triplet.gradle.play.internal.RELEASE_NAMES_PATH import com.github.triplet.gradle.play.internal.RELEASE_NOTES_PATH import com.github...
mit
Kotlin
e6548672936a90c7a208c0ec8a82976ba43bc3bb
Add Linux & MingW x64 support to bitflags
LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties
modules/bitflags/build.gradle.kts
modules/bitflags/build.gradle.kts
/* * Copyright 2019-2020 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. */ plugins { kotlin("multiplatform") `maven-publish` } kotlin { jvm() js { useCommonJs() } macos() ios(supportArm32 = true) linux(x64 = true) mingw(x64 = true) con...
/* * Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. */ plugins { kotlin("multiplatform") `maven-publish` } kotlin { jvm() js { useCommonJs() } macos() ios(supportArm32 = true) configure(targets) { configureMavenPublication() } ...
apache-2.0
Kotlin
864d112530df7d42c7248370c9156553cccdd18f
Add details in logs about failed tests
RoaringBitmap/RoaringBitmap,RoaringBitmap/RoaringBitmap,RoaringBitmap/RoaringBitmap,RoaringBitmap/RoaringBitmap
RoaringBitmap/build.gradle.kts
RoaringBitmap/build.gradle.kts
val deps: Map<String, String> by extra dependencies { implementation(project(":shims")) testImplementation("org.junit.jupiter:junit-jupiter-api:${deps["jupiter"]}") testImplementation("org.junit.jupiter:junit-jupiter-params:${deps["jupiter"]}") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:$...
val deps: Map<String, String> by extra dependencies { implementation(project(":shims")) testImplementation("org.junit.jupiter:junit-jupiter-api:${deps["jupiter"]}") testImplementation("org.junit.jupiter:junit-jupiter-params:${deps["jupiter"]}") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:$...
apache-2.0
Kotlin
8a53e9abaa8bc41029091bba98005abbbb6a029e
refactor #559 Implement unit test.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/settings/background/load/RotatedImageFixingTest.kt
app/src/test/java/jp/toastkid/yobidashi/settings/background/load/RotatedImageFixingTest.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
7e01af67cc5821b590f91a358a2282910d4ab34c
refactor #605 Implement PageInformationExtractor's test cases.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte
app/src/test/java/jp/toastkid/yobidashi/browser/page_information/PageInformationExtractorTest.kt
app/src/test/java/jp/toastkid/yobidashi/browser/page_information/PageInformationExtractorTest.kt
package jp.toastkid.yobidashi.browser.page_information import android.os.Bundle import android.webkit.CookieManager import android.webkit.WebView import androidx.core.os.bundleOf import io.mockk.MockKAnnotations import io.mockk.every import io.mockk.impl.annotations.MockK import io.mockk.mockk import io.mockk.mockkSta...
epl-1.0
Kotlin
15e3c06d4ea7bf2509f22e7b7b9ab3ff1d79d7db
fix for IDEA-CR-49200
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/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/BreakpointsUsageCollector.kt
platform/xdebugger-impl/src/com/intellij/xdebugger/impl/breakpoints/BreakpointsUsageCollector.kt
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.xdebugger.impl.breakpoints import com.intellij.internal.statistic.eventLog.FeatureUsageData import com.intellij.internal.statistic.service.fus.collectors.FUC...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.xdebugger.impl.breakpoints import com.intellij.internal.statistic.eventLog.FeatureUsageData import com.intellij.internal.statistic.service.fus.collectors.FUC...
apache-2.0
Kotlin
ae0234f9005f818f626ae977263ecfd7cbe155f6
make it closeable
jankotek/MapDB,jankotek/mapdb,jankotek/mapdb,jankotek/MapDB
src/main/java/org/mapdb/DB.kt
src/main/java/org/mapdb/DB.kt
package org.mapdb import org.mapdb.list.LinkedList import org.mapdb.serializer.Serializer import org.mapdb.store.MutableStore import org.mapdb.store.Store import org.mapdb.store.StoreOnHeap import org.mapdb.store.StoreOnHeapSer import org.mapdb.util.getBooleanOrDefault import java.io.Closeable import java.util.* /** ...
package org.mapdb import org.mapdb.list.LinkedList import org.mapdb.serializer.Serializer import org.mapdb.store.MutableStore import org.mapdb.store.Store import org.mapdb.store.StoreOnHeap import org.mapdb.store.StoreOnHeapSer import org.mapdb.util.getBooleanOrDefault import java.util.* /** Main class for accessing ...
apache-2.0
Kotlin
481aea6a49e41c9a44620a995a764c4d0e113acc
Fix typo: MYViewModel => MyViewModel in KDoc
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...
fragment/fragment-ktx/src/main/java/androidx/fragment/app/FragmentViewModelLazy.kt
fragment/fragment-ktx/src/main/java/androidx/fragment/app/FragmentViewModelLazy.kt
/* * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
Kotlin
bc956b8ac2b8542262315bdd37d4ed85151ea4cf
Add more version constraints to build platform
gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,grad...
buildSrc/subprojects/build-platform/build-platform.gradle.kts
buildSrc/subprojects/build-platform/build-platform.gradle.kts
/* * Copyright 2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
Kotlin
8c8b6a34d4bc82990d67a4d3dd60cbdd2a167177
Use the correct version manifest entry based on the present SpongeAPI entry Fixes #180
minecraft-dev/MinecraftDev,DemonWav/IntelliJBukkitSupport,DemonWav/MinecraftDevIntelliJ,DemonWav/MinecraftDevIntelliJ,minecraft-dev/MinecraftDev,minecraft-dev/MinecraftDev,DemonWav/MinecraftDevIntelliJ,DemonWav/MinecraftDev,DemonWav/MinecraftDev,DemonWav/MinecraftDev
src/main/kotlin/com/demonwav/mcdev/platform/sponge/framework/SpongePresentationProvider.kt
src/main/kotlin/com/demonwav/mcdev/platform/sponge/framework/SpongePresentationProvider.kt
/* * Minecraft Dev for IntelliJ * * https://minecraftdev.org * * Copyright (c) 2017 minecraft-dev * * MIT License */ package com.demonwav.mcdev.platform.sponge.framework import com.demonwav.mcdev.asset.PlatformAssets import com.intellij.framework.library.LibraryVersionProperties import com.intellij.openapi.ro...
/* * Minecraft Dev for IntelliJ * * https://minecraftdev.org * * Copyright (c) 2017 minecraft-dev * * MIT License */ package com.demonwav.mcdev.platform.sponge.framework import com.demonwav.mcdev.asset.PlatformAssets import com.intellij.framework.library.LibraryVersionProperties import com.intellij.openapi.ro...
mit
Kotlin
82a1baecac12c34a8546733f6a1bc5bb1daac397
bump com.apollographql.apollo from 2.5.6 to 2.5.7 (#347)
PhilippHeuer/twitch4j
graphql/build.gradle.kts
graphql/build.gradle.kts
// Plugins plugins { id("com.apollographql.apollo") version "2.5.7" } // Dependencies dependencies { // GraphQL api(group = "com.apollographql.apollo", name = "apollo-runtime", version = "2.5.7") api(group = "org.jetbrains", name = "annotations") // Hystrix api(group = "com.netflix.hystrix", name = "hystrix-cor...
// Plugins plugins { id("com.apollographql.apollo") version "2.5.6" } // Dependencies dependencies { // GraphQL api(group = "com.apollographql.apollo", name = "apollo-runtime", version = "2.5.6") api(group = "org.jetbrains", name = "annotations") // Hystrix api(group = "com.netflix.hystrix", name = "hystrix-cor...
mit
Kotlin
aa608b63ce3244a9a99406be23fa21309c4cdfbe
Remove faulty assertion
thatJavaNerd/JRAW,Saketme/JRAW,thatJavaNerd/JRAW,thatJavaNerd/JRAW,Saketme/JRAW,Saketme/JRAW
lib/src/test/kotlin/net/dean/jraw/test/SubmissionReferenceTest.kt
lib/src/test/kotlin/net/dean/jraw/test/SubmissionReferenceTest.kt
package net.dean.jraw.test import com.winterbe.expekt.should import net.dean.jraw.models.SubmissionKind import net.dean.jraw.models.ThingType import net.dean.jraw.models.VoteDirection import net.dean.jraw.references.SubmissionReference import net.dean.jraw.test.util.TestConfig.reddit import net.dean.jraw.test.util.ign...
package net.dean.jraw.test import com.winterbe.expekt.should import net.dean.jraw.models.SubmissionKind import net.dean.jraw.models.ThingType import net.dean.jraw.models.VoteDirection import net.dean.jraw.references.SubmissionReference import net.dean.jraw.test.util.TestConfig import net.dean.jraw.test.util.TestConfig...
mit
Kotlin
c0e81777711de88c721758f79724bf04161e0aca
Fix kotlin dsl squashme
robinverduijn/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,lsmaira/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,robinverd...
subprojects/docs/src/samples/userguide/tutorial/properties/kotlin/build.gradle.kts
subprojects/docs/src/samples/userguide/tutorial/properties/kotlin/build.gradle.kts
// Project properties can be accessed via delegation val commandLineProjectProp: String by project val gradlePropertiesProp: String by project val systemProjectProp: String by project task("printProps") { doLast { println(commandLineProjectProp) println(gradlePropertiesProp) println(systemP...
task("printProps") { doLast { println(commandLineProjectProp) println(gradlePropertiesProp) println(systemProjectProp) println(System.properties["system"]) } }
apache-2.0
Kotlin
f1f2627d3ca8b5c22ae03487ebb90a6987711996
Update DelayTeleporter
Homes-MinecraftServerMod/Homes,Homes-MinecraftServerMod/Homes
src/main/kotlin/com/masahirosaito/spigot/homes/DelayTeleporter.kt
src/main/kotlin/com/masahirosaito/spigot/homes/DelayTeleporter.kt
package com.masahirosaito.spigot.homes import com.masahirosaito.spigot.homes.exceptions.AlreadyExecutTeleportException import com.masahirosaito.spigot.homes.exceptions.CanNotFindOnlinePlayerException import com.masahirosaito.spigot.homes.strings.TeleportStrings import org.bukkit.Location import org.bukkit.entity.Playe...
package com.masahirosaito.spigot.homes import com.masahirosaito.spigot.homes.exceptions.AlreadyExecutTeleportException import com.masahirosaito.spigot.homes.exceptions.CanNotFindOnlinePlayerException import com.masahirosaito.spigot.homes.strings.TeleportStrings import org.bukkit.Location import org.bukkit.entity.Playe...
apache-2.0
Kotlin
be8d247802a09a897dd83704796a3825c0e64cb2
Add counter to periodic overrun warnings to reduce spam
TeamMeanMachine/meanlib,TeamMeanMachine/meanlib
src/main/kotlin/org/team2471/frc/lib/coroutines/CoroutineUtils.kt
src/main/kotlin/org/team2471/frc/lib/coroutines/CoroutineUtils.kt
package org.team2471.frc.lib.coroutines import edu.wpi.first.wpilibj.DriverStation import kotlinx.coroutines.* import org.team2471.frc.lib.util.measureTimeFPGA internal class BreakPeriodic : Throwable() class PeriodicScope @PublishedApi internal constructor(val period: Double) { fun exitPeriodic(): Nothing = thr...
package org.team2471.frc.lib.coroutines import edu.wpi.first.wpilibj.DriverStation import kotlinx.coroutines.* import org.team2471.frc.lib.util.measureTimeFPGA internal class BreakPeriodic : Throwable() class PeriodicScope @PublishedApi internal constructor(val period: Double) { fun exitPeriodic(): Nothing = thr...
unlicense
Kotlin
be4f71f5bb8bf243658275efd3a7d4cdcfb96aeb
Update MaxFrequencyBarrier.kt
elifarley/kotlin-examples,elifarley/kotlin-misc-lib,elifarley/kotlin-misc-lib,elifarley/kotlin-examples
src/com/github/elifarley/kotlin/cuncurrent/MaxFrequencyBarrier.kt
src/com/github/elifarley/kotlin/cuncurrent/MaxFrequencyBarrier.kt
package com.orgecc.concurrent class MaxFrequencyBarrier private constructor (itemsPerSecond: Double) { val millisStep: Int init { millisStep = (1000 / itemsPerSecond).toInt() } fun await(itemCount: Int = 1) = MaxFrequencyBarrier.await(millisStep, itemCount) companion object { f...
package com.orgecc.concurrent class MaxFrequencyBarrier private constructor (itemsPerSecond: Double) { companion object { fun newInstance(itemsPerSecond: Double = 1e0) = MaxFrequencyBarrier(itemsPerSecond) var lastMillis = System.currentTimeMillis() // TODO Return max items that can be ...
mit
Kotlin
6a645d051ddbf451d8f85c9444f0413501890dd9
Bump 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
0efe4f62ca3370426a1869015ff48eea9ca0101d
Bump the version.
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
cf980deceb9e6082a239fd8c2a4db14949e24252
Bump the library version.
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
b4d5567b6bbaac5207b525846c6d68b36b871049
Refactor Redis service more Kotlin like
TerrenceMiao/IPAQ
src/main/kotlin/org/paradise/ipaq/services/redis/RedisService.kt
src/main/kotlin/org/paradise/ipaq/services/redis/RedisService.kt
package org.paradise.ipaq.services.redis import com.fasterxml.jackson.core.JsonParseException import com.fasterxml.jackson.core.JsonProcessingException import com.fasterxml.jackson.databind.JsonMappingException import com.fasterxml.jackson.databind.ObjectMapper import org.apache.commons.lang3.StringUtils import org.sl...
package org.paradise.ipaq.services.redis import com.fasterxml.jackson.core.JsonParseException import com.fasterxml.jackson.core.JsonProcessingException import com.fasterxml.jackson.databind.JsonMappingException import com.fasterxml.jackson.databind.ObjectMapper import org.apache.commons.lang3.StringUtils import org.sl...
apache-2.0
Kotlin
d1700d00186e770a65b2e7c0ed25a9d81e5b475e
Move regex UI to kotlin
zielu/GitToolBox,zielu/GitToolBox,zielu/GitToolBox
src/main/kotlin/zielu/gittoolbox/ui/config/common/GtRegexForm.kt
src/main/kotlin/zielu/gittoolbox/ui/config/common/GtRegexForm.kt
package zielu.gittoolbox.ui.config.common import com.intellij.openapi.ui.DialogPanel import com.intellij.openapi.util.Disposer import com.intellij.ui.layout.panel import zielu.gittoolbox.ResBundle.message import zielu.gittoolbox.ResIcons import zielu.gittoolbox.formatter.RegExpFormatter import zielu.gittoolbox.ui.conf...
package zielu.gittoolbox.ui.config.common import com.intellij.openapi.ui.DialogPanel import com.intellij.openapi.util.Disposer import com.intellij.ui.layout.panel import zielu.gittoolbox.ResBundle import zielu.gittoolbox.ResIcons import zielu.gittoolbox.formatter.RegExpFormatter import zielu.gittoolbox.ui.util.RegExpT...
apache-2.0
Kotlin
c88bab708293395d89fe7aa18db557575e2927f8
Revert "Decorrelate the embedded kotlin and nebula.kotlin versions in samples"
gradle/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle-script-kotlin,gradle/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,robinverdu...
samples/hello-coroutines/build.gradle.kts
samples/hello-coroutines/build.gradle.kts
import org.jetbrains.kotlin.gradle.dsl.Coroutines plugins { application id("nebula.kotlin") version embeddedKotlinVersion } application { mainClassName = "samples.HelloCoroutinesKt" } kotlin { // configure<org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension> experimental.coroutines = Coroutines.EN...
import org.jetbrains.kotlin.gradle.dsl.Coroutines plugins { application id("nebula.kotlin") version "1.1.0" } application { mainClassName = "samples.HelloCoroutinesKt" } kotlin { // configure<org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension> experimental.coroutines = Coroutines.ENABLE } reposi...
apache-2.0
Kotlin
8904915b24d5f9cb0142e2f6947df219bae14ede
use created entity
WeAreFrancis/auth-service,WeAreFrancis/auth-service,WeAreFrancis/auth-service
src/main/kotlin/com/wearefrancis/auth/service/TokenService.kt
src/main/kotlin/com/wearefrancis/auth/service/TokenService.kt
package com.wearefrancis.auth.service import com.wearefrancis.auth.domain.Token import com.wearefrancis.auth.domain.User import com.wearefrancis.auth.repository.TokenRepository import org.slf4j.LoggerFactory import org.springframework.beans.factory.annotation.Value import org.springframework.mail.MailException import ...
package com.wearefrancis.auth.service import com.wearefrancis.auth.domain.Token import com.wearefrancis.auth.domain.User import com.wearefrancis.auth.repository.TokenRepository import org.slf4j.LoggerFactory import org.springframework.beans.factory.annotation.Value import org.springframework.mail.MailException import ...
apache-2.0
Kotlin
e8f8c0e7f03ddc9026227fb992119979a198fed1
check number of PVs in VG, don't offer reduce if there is only one PV
K0zka/kerub,kerubistan/kerub,K0zka/kerub,kerubistan/kerub,kerubistan/kerub,K0zka/kerub
src/main/kotlin/com/github/kerubistan/kerub/planner/steps/vstorage/lvm/vg/RemoveDiskFromVGFactory.kt
src/main/kotlin/com/github/kerubistan/kerub/planner/steps/vstorage/lvm/vg/RemoveDiskFromVGFactory.kt
package com.github.kerubistan.kerub.planner.steps.vstorage.lvm.vg import com.github.kerubistan.kerub.model.Expectation import com.github.kerubistan.kerub.model.LvmStorageCapability import com.github.kerubistan.kerub.planner.OperationalState import com.github.kerubistan.kerub.planner.issues.problems.hosts.hardware.Fail...
package com.github.kerubistan.kerub.planner.steps.vstorage.lvm.vg import com.github.kerubistan.kerub.model.Expectation import com.github.kerubistan.kerub.model.LvmStorageCapability import com.github.kerubistan.kerub.planner.OperationalState import com.github.kerubistan.kerub.planner.issues.problems.hosts.hardware.Fail...
apache-2.0
Kotlin
b53e544bfa3067a907be03b64701c7a70ac3bc2d
Fix for WrapContentViewPager should apply max child height to children to correctly support scrolling. Resolves #1692. (#1710)
afollestad/material-dialogs,MaTriXy/material-dialogs
color/src/main/java/com/afollestad/materialdialogs/color/view/WrapContentViewPager.kt
color/src/main/java/com/afollestad/materialdialogs/color/view/WrapContentViewPager.kt
/** * Designed and developed by Aidan Follestad (@afollestad) * * 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 b...
/** * Designed and developed by Aidan Follestad (@afollestad) * * 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 b...
apache-2.0
Kotlin
252f657a5a8b83c72caeb706257fee0f506d547a
add end-to-end test harness
jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge
src/test/kotlin/org/jitsi/nlj/module_tests/EndToEndHarness.kt
src/test/kotlin/org/jitsi/nlj/module_tests/EndToEndHarness.kt
/* * Copyright @ 2018 - present 8x8, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
apache-2.0
Kotlin
06891a7b34e07bd1e552c6847e18f9e12ea79d86
remove height attribute in ImageStepContentProcessor
StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android
app/src/main/java/org/stepic/droid/persistence/content/processors/ImageStepContentProcessor.kt
app/src/main/java/org/stepic/droid/persistence/content/processors/ImageStepContentProcessor.kt
package org.stepic.droid.persistence.content.processors import org.jsoup.Jsoup import org.stepic.droid.persistence.di.PersistenceScope import org.stepic.droid.persistence.model.DownloadConfiguration import org.stepic.droid.persistence.model.StepPersistentWrapper import org.stepik.android.model.Step import javax.inject...
package org.stepic.droid.persistence.content.processors import org.jsoup.Jsoup import org.stepic.droid.persistence.di.PersistenceScope import org.stepic.droid.persistence.model.DownloadConfiguration import org.stepic.droid.persistence.model.StepPersistentWrapper import org.stepik.android.model.Step import javax.inject...
apache-2.0
Kotlin
03283683b7f43c02793f16c41cacca508b002641
Implement ApiTypes as data classes
EvidentSolutions/apina,EvidentSolutions/apina,EvidentSolutions/apina
apina-core/src/main/kotlin/fi/evident/apina/model/type/ApiType.kt
apina-core/src/main/kotlin/fi/evident/apina/model/type/ApiType.kt
package fi.evident.apina.model.type sealed class ApiType { abstract fun typeRepresentation(): String open fun unwrapNullable(): ApiType = this override fun toString() = typeRepresentation() abstract override fun equals(other: Any?): Boolean abstract override fun hashCode(): Int data class Ar...
package fi.evident.apina.model.type import java.util.* sealed class ApiType { abstract fun typeRepresentation(): String open fun unwrapNullable(): ApiType = this override fun toString() = typeRepresentation() abstract override fun equals(other: Any?): Boolean abstract override fun hashCode(): In...
mit
Kotlin
05f2043cc85f8917d0139867c430215689290ee0
bump `intellij.version` for new EAP (#62)
facebookincubator/ktfmt,facebookincubator/ktfmt,facebookincubator/ktfmt,facebookincubator/ktfmt,facebookincubator/ktfmt
ktfmt_idea_plugin/build.gradle.kts
ktfmt_idea_plugin/build.gradle.kts
/* * 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
4f442c5e86fc0b08473c3675291831c4b93a762d
Add AttentionNetworksPool
KotlinNLP/SimpleDNN
src/kotlin/com/kotlinnlp/simplednn/deeplearning/attentionnetwork/AttentionNetworksPool.kt
src/kotlin/com/kotlinnlp/simplednn/deeplearning/attentionnetwork/AttentionNetworksPool.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
134634ca792cea95a06b30286ed812fa58635418
Add support for dialect icons for migration files
square/sqldelight,cashapp/sqldelight,square/sqldelight,square/sqldelight,cashapp/sqldelight,cashapp/sqldelight,square/sqldelight,cashapp/sqldelight
sqldelight-idea-plugin/src/main/kotlin/com/squareup/sqldelight/intellij/SqlDelightFileIconProvider.kt
sqldelight-idea-plugin/src/main/kotlin/com/squareup/sqldelight/intellij/SqlDelightFileIconProvider.kt
package com.squareup.sqldelight.intellij import com.alecstrong.sql.psi.core.DialectPreset import com.intellij.icons.AllIcons import com.intellij.ide.FileIconProvider import com.intellij.lang.LanguageUtil import com.intellij.openapi.project.Project import com.intellij.openapi.vfs.VirtualFile import com.squareup.sqldeli...
package com.squareup.sqldelight.intellij import com.alecstrong.sql.psi.core.DialectPreset import com.intellij.icons.AllIcons import com.intellij.ide.FileIconProvider import com.intellij.lang.LanguageUtil import com.intellij.openapi.project.Project import com.intellij.openapi.vfs.VirtualFile import com.squareup.sqldeli...
apache-2.0
Kotlin
86eda6b29fd988e7c3fbc4098b7f1250313fdf6f
Add SpeedFactorPreferenceTest
Doctoror/ParticleConstellationsLiveWallpaper,Doctoror/ParticleConstellationsLiveWallpaper
app/src/test/java/com/doctoror/particleswallpaper/presentation/preference/SpeedFactorPreferenceTest.kt
app/src/test/java/com/doctoror/particleswallpaper/presentation/preference/SpeedFactorPreferenceTest.kt
/* * Copyright (C) 2018 Yaroslav Mytkalyk * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
apache-2.0
Kotlin
bed7540000c48b145999970a92a4baaed250c501
Add one more test
charbgr/CliffHanger
cliffhanger/app/src/test/java/com/github/charbgr/cliffhanger/home/mvi/HomePresenterTest.kt
cliffhanger/app/src/test/java/com/github/charbgr/cliffhanger/home/mvi/HomePresenterTest.kt
package com.github.charbgr.cliffhanger.home.mvi import com.github.charbgr.cliffhanger.test_factories.MiniMovieDtoFactory import com.github.charbgr.cliffhanger.tmdb.dao.MovieResults import io.reactivex.Observable import io.reactivex.schedulers.Schedulers import org.amshove.kluent.mock import org.junit.Before import org...
package com.github.charbgr.cliffhanger.home.mvi import com.github.charbgr.cliffhanger.test_factories.MiniMovieDtoFactory import com.github.charbgr.cliffhanger.tmdb.dao.MovieResults import io.reactivex.Observable import io.reactivex.schedulers.Schedulers import org.amshove.kluent.mock import org.junit.Before import org...
mit
Kotlin
90aa495bc36fec9fe581525224b98794bcb25246
remove warning
bastienvalentin/myeurocollector,bastienvalentin/myeurocollector
app/src/main/java/fr/vbastien/mycoincollector/util/ViewUtil.kt
app/src/main/java/fr/vbastien/mycoincollector/util/ViewUtil.kt
package fr.vbastien.mycoincollector.util import android.content.Context /** * Created by vbastien on 16/09/2017. */ class ViewUtil { companion object { fun dpToPx(context: Context, dp : Int) : Int { return (context.resources.displayMetrics.density * dp + 0.5f).toInt() } } }
package fr.vbastien.mycoincollector.util import android.content.Context /** * Created by vbastien on 16/09/2017. */ class ViewUtil { companion object { public fun dpToPx(context: Context, dp : Int) : Int { return (context.resources.displayMetrics.density * dp + 0.5f).toInt() } } ...
apache-2.0
Kotlin
91d0c2c4c2ce031345fbee0ca33ff748df2c7a45
简化 magicPen 方法表达式
neverwoodsS/MagicPen,neverwoodsS/MagicPen
lib/src/main/java/com/lab/zhangll/magicpen/lib/AccessExtension.kt
lib/src/main/java/com/lab/zhangll/magicpen/lib/AccessExtension.kt
package com.lab.zhangll.magicpen.lib import android.content.Context import com.lab.zhangll.magicpen.lib.setting.MagicGesture import com.lab.zhangll.magicpen.lib.setting.MagicSetting import com.lab.zhangll.magicpen.lib.shapes.MagicShape import com.lab.zhangll.magicpen.lib.shapes.circle.MagicCircleSetting import com.lab...
package com.lab.zhangll.magicpen.lib import android.content.Context import com.lab.zhangll.magicpen.lib.setting.MagicGesture import com.lab.zhangll.magicpen.lib.setting.MagicSetting import com.lab.zhangll.magicpen.lib.shapes.MagicShape import com.lab.zhangll.magicpen.lib.shapes.circle.MagicCircleSetting import com.lab...
mit
Kotlin
38e1b1beb09f78112ff12713a4598dae52853d4f
Remove the LanguageExtensions implementation from the ServerSideJavaScript language object.
rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin
src/plugin-marklogic/main/uk/co/reecedunn/intellij/plugin/intellij/lang/ServerSideJavaScript.kt
src/plugin-marklogic/main/uk/co/reecedunn/intellij/plugin/intellij/lang/ServerSideJavaScript.kt
/* * Copyright (C) 2018-2019 Reece H. Dunn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * Copyright (C) 2018-2019 Reece H. Dunn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
apache-2.0
Kotlin
03dd58b9c4a0af7a92b313372c6196d726700f78
Bump lint minApi to 3.3.0 (#334)
uber/AutoDispose,uber/AutoDispose,uber/AutoDispose
static-analysis/autodispose-lint/src/main/kotlin/com/uber/autodispose/lint/AutoDisposeIssueRegistry.kt
static-analysis/autodispose-lint/src/main/kotlin/com/uber/autodispose/lint/AutoDisposeIssueRegistry.kt
/* * Copyright (C) 2018. Uber Technologies * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
/* * Copyright (C) 2018. Uber Technologies * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
apache-2.0
Kotlin
60fb9c21fe18dcc344f8f916e5a8288fb7fea22d
Add some fields to the AnalyticsConfig
jguerinet/mobile-string-parser,jguerinet/mobile-string-parser
src/main/kotlin/config/AnalyticsConfig.kt
src/main/kotlin/config/AnalyticsConfig.kt
/* * Copyright 2013-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 2013-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
827eae1e1fe216ffa90b32f1ac916b4f2cd4f337
Make LightsaberParameters a data class
MichaelRocks/lightsaber,MichaelRocks/lightsaber
processor/src/main/kotlin/io/michaelrocks/lightsaber/processor/LightsaberParameters.kt
processor/src/main/kotlin/io/michaelrocks/lightsaber/processor/LightsaberParameters.kt
/* * Copyright 2016 Michael Rozumyanskiy * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/* * Copyright 2016 Michael Rozumyanskiy * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
apache-2.0
Kotlin
cfddfe9c983614ca55aea0631e3954640b04bdcf
Create a builder for GenericType.TypeVariable
MichaelRocks/grip,MichaelRocks/grip
library/src/main/kotlin/io/michaelrocks/grip/mirrors/signature/TypeVariableBuilder.kt
library/src/main/kotlin/io/michaelrocks/grip/mirrors/signature/TypeVariableBuilder.kt
/* * Copyright 2016 Michael Rozumyanskiy * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
apache-2.0
Kotlin
f251bd2b6107cae28934ed9e04e5402107061041
Add IrLetSequence extension for IrBlockBuilder
wiltonlazary/kotlin-native,jiaminglu/kotlin-native,jiaminglu/kotlin-native,JetBrains/kotlin-native,jiaminglu/kotlin-native,JetBrains/kotlin-native,jiaminglu/kotlin-native,wiltonlazary/kotlin-native,JuliusKunze/kotlin-native,jiaminglu/kotlin-native,JuliusKunze/kotlin-native,JuliusKunze/kotlin-native,JetBrains/kotlin-nat...
backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/ir/IrBuilders.kt
backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/ir/IrBuilders.kt
package org.jetbrains.kotlin.backend.konan.ir import org.jetbrains.kotlin.descriptors.VariableDescriptor import org.jetbrains.kotlin.ir.builders.* import org.jetbrains.kotlin.ir.expressions.IrExpression inline fun IrBlockBuilder.irLetSequence( value: IrExpression, nameHint: String? = null, bod...
apache-2.0
Kotlin
5d26cbcb4e9002db0592b3d712ad342034fe3034
add tests for insert sql builder
jayrave/falkon
falkon-sql-builder-h2/src/test/kotlin/com/jayrave/falkon/sqlBuilders/h2/H2InsertSqlBuilderTest.kt
falkon-sql-builder-h2/src/test/kotlin/com/jayrave/falkon/sqlBuilders/h2/H2InsertSqlBuilderTest.kt
package com.jayrave.falkon.sqlBuilders.h2 import com.jayrave.falkon.sqlBuilders.test.insert.TestInsert import org.junit.Test class H2InsertSqlBuilderTest : BaseClassForTesting() { @Test fun `can insert both null & non null values`() { TestInsert(H2InsertSqlBuilder(), db).`can insert both null & non n...
apache-2.0
Kotlin
b790ede362f6e98c5544b1a5d177ac962ad80448
Add LTMNeuralNetwork
KotlinNLP/SimpleDNN
src/main/kotlin/com/kotlinnlp/simplednn/core/neuralnetwork/preset/LTMNeuralNetwork.kt
src/main/kotlin/com/kotlinnlp/simplednn/core/neuralnetwork/preset/LTMNeuralNetwork.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
0b6a78a9a81af7c9c2b43f6c44a2a6162f4a56c3
add expression body rule
StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android
ktlint_rules/src/main/java/org/stepik/android/ktlint/rules/ExpressionBodyIndentRule.kt
ktlint_rules/src/main/java/org/stepik/android/ktlint/rules/ExpressionBodyIndentRule.kt
package org.stepik.android.ktlint.rules import com.github.shyiko.ktlint.core.Rule import org.jetbrains.kotlin.com.intellij.lang.ASTNode import org.jetbrains.kotlin.com.intellij.psi.PsiWhiteSpace import org.jetbrains.kotlin.psi.KtNamedFunction class ExpressionBodyIndentRule : Rule("expression-body-indent") { compa...
apache-2.0
Kotlin
1e7a103744ad7016e3bfac937f1adf0f009a5df3
refactor #506 Implement ImageRotationUseCase's test cases.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
app/src/test/java/jp/toastkid/yobidashi/media/image/preview/ImageRotationUseCaseTest.kt
app/src/test/java/jp/toastkid/yobidashi/media/image/preview/ImageRotationUseCaseTest.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
e5a4af9b949dfabe28b8211a42f27e88f5a85ccf
put line markers on leaf nodes, fix warning
kropp/intellij-makefile
src/main/kotlin/name/kropp/intellij/makefile/MakefileTargetRunLineMarkerContributor.kt
src/main/kotlin/name/kropp/intellij/makefile/MakefileTargetRunLineMarkerContributor.kt
package name.kropp.intellij.makefile import com.intellij.execution.lineMarker.RunLineMarkerContributor import com.intellij.psi.PsiElement import name.kropp.intellij.makefile.psi.MakefileTarget import name.kropp.intellij.makefile.psi.MakefileTargets import name.kropp.intellij.makefile.psi.MakefileTypes class MakefileT...
package name.kropp.intellij.makefile import com.intellij.execution.lineMarker.RunLineMarkerContributor import com.intellij.psi.PsiElement import name.kropp.intellij.makefile.psi.MakefileRule class MakefileTargetRunLineMarkerContributor : RunLineMarkerContributor() { override fun getInfo(element: PsiElement): Info? ...
mit
Kotlin
4354b894498932aac17d3be0dd1a6ff6601d6fa1
destroy all pooled object when the pool is shutdown.
hypercube1024/firefly,hypercube1024/firefly,hypercube1024/firefly,hypercube1024/firefly,hypercube1024/firefly
firefly-net/src/test/kotlin/com/fireflysource/net/http/client/impl/AsyncHttpClientConnectionManagerDemo.kt
firefly-net/src/test/kotlin/com/fireflysource/net/http/client/impl/AsyncHttpClientConnectionManagerDemo.kt
package com.fireflysource.net.http.client.impl import com.fireflysource.net.http.common.model.HttpHeader import com.fireflysource.net.http.common.model.HttpMethod import com.fireflysource.net.http.common.model.HttpURI import kotlinx.coroutines.future.await import kotlinx.coroutines.runBlocking import java.net.URL fun...
package com.fireflysource.net.http.client.impl import com.fireflysource.net.http.common.model.HttpHeader import com.fireflysource.net.http.common.model.HttpMethod import com.fireflysource.net.http.common.model.HttpURI import kotlinx.coroutines.future.await import kotlinx.coroutines.runBlocking import java.net.URL fun...
apache-2.0
Kotlin
9ec46cae83e6b2ef61e234601a358fb148eb522c
clear buffer at more occasions possibly saving memory
tmarsteel/kotlin-prolog,tmarsteel/kotlin-prolog
parser/src/main/kotlin/com/github/tmarsteel/ktprolog/parser/sequence/IteratorBasedTransactionalSequence.kt
parser/src/main/kotlin/com/github/tmarsteel/ktprolog/parser/sequence/IteratorBasedTransactionalSequence.kt
package com.github.tmarsteel.ktprolog.parser.sequence open class IteratorBasedTransactionalSequence<T>(private val iterator: Iterator<T>) : TransactionalSequence<T> { private val buffer: MutableList<T> = ArrayList(100) /** * Markers as indexes into the buffer */ private val markers: MutableList...
package com.github.tmarsteel.ktprolog.parser.sequence open class IteratorBasedTransactionalSequence<T>(private val iterator: Iterator<T>) : TransactionalSequence<T> { private val buffer: MutableList<T> = ArrayList(100) /** * Markers as indexes into the buffer */ private val markers: MutableList...
mit
Kotlin
2db86dcfa1e174f31df8e84a9f75a9cfdebf861b
Introduce VariablesContext
nsk-mironov/smuggler
smuggler-compiler/src/main/java/io/mironov/smuggler/compiler/generators/VariablesContext.kt
smuggler-compiler/src/main/java/io/mironov/smuggler/compiler/generators/VariablesContext.kt
package io.mironov.smuggler.compiler.generators import java.util.HashMap import java.util.NoSuchElementException internal class VariablesContext() { private val names = HashMap<String, Int>() fun variable(name: String, index: Int) { names[name] = index } fun variable(name: String): Int { return name...
mit
Kotlin
566c8045e2dd092d1638c60c35e807c186d4b883
Correct build file broken plugins file
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
platform/platform-impl/src/com/intellij/ide/plugins/marketplace/BrokenPluginsService.kt
platform/platform-impl/src/com/intellij/ide/plugins/marketplace/BrokenPluginsService.kt
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ide.plugins.marketplace import com.intellij.ide.plugins.PluginManagerCore import com.intellij.openapi.application.ApplicationManager import com.intellij.open...
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ide.plugins.marketplace import com.intellij.ide.plugins.PluginManagerCore import com.intellij.openapi.application.ApplicationManager import com.intellij.open...
apache-2.0
Kotlin
85480d1a74dfb8182e99fa56a1a4a9675e2e34cc
Add db!resume
duncte123/SkyBot,duncte123/SkyBot,duncte123/SkyBot,duncte123/SkyBot
src/main/kotlin/ml/duncte123/skybot/commands/music/PauseCommand.kt
src/main/kotlin/ml/duncte123/skybot/commands/music/PauseCommand.kt
/* * Skybot, a multipurpose discord bot * Copyright (C) 2017 - 2019 Duncan "duncte123" Sterken & Ramid "ramidzkh" Khan * * 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...
/* * Skybot, a multipurpose discord bot * Copyright (C) 2017 - 2019 Duncan "duncte123" Sterken & Ramid "ramidzkh" Khan * * 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...
agpl-3.0
Kotlin
c221ba03165faf4f6a0132cbb4391ef47cb80f3d
Fix the error of requestCode value range. (#1340)
fluttercommunity/plus_plugins,fluttercommunity/plus_plugins,fluttercommunity/plus_plugins,fluttercommunity/plus_plugins,fluttercommunity/plus_plugins,fluttercommunity/plus_plugins,fluttercommunity/plus_plugins,fluttercommunity/plus_plugins,fluttercommunity/plus_plugins,fluttercommunity/plus_plugins,fluttercommunity/plu...
packages/share_plus/share_plus/android/src/main/kotlin/dev/fluttercommunity/plus/share/ShareSuccessManager.kt
packages/share_plus/share_plus/android/src/main/kotlin/dev/fluttercommunity/plus/share/ShareSuccessManager.kt
package dev.fluttercommunity.plus.share import android.content.* import io.flutter.plugin.common.MethodChannel import io.flutter.plugin.common.PluginRegistry.ActivityResultListener import java.util.concurrent.atomic.AtomicBoolean /** * Handles the callback based status information about a successful or dismissed * ...
package dev.fluttercommunity.plus.share import android.content.* import io.flutter.plugin.common.MethodChannel import io.flutter.plugin.common.PluginRegistry.ActivityResultListener import java.util.concurrent.atomic.AtomicBoolean /** * Handles the callback based status information about a successful or dismissed * ...
bsd-3-clause
Kotlin
eec03b04f220dcba7c0868c83c6bac35e91996c5
Remove unnecessary tab
elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin
src/main/kotlin/com/elpassion/intelijidea/action/select/MFSelectConfigurationsAction.kt
src/main/kotlin/com/elpassion/intelijidea/action/select/MFSelectConfigurationsAction.kt
package com.elpassion.intelijidea.action.select import com.elpassion.intelijidea.action.configure.selector.MFSelectorResult import com.elpassion.intelijidea.action.configure.selector.mfSelector import com.elpassion.intelijidea.action.configure.selector.showSelectorDialog import com.elpassion.intelijidea.task.mfBeforeR...
package com.elpassion.intelijidea.action.select import com.elpassion.intelijidea.action.configure.selector.MFSelectorResult import com.elpassion.intelijidea.action.configure.selector.mfSelector import com.elpassion.intelijidea.action.configure.selector.showSelectorDialog import com.elpassion.intelijidea.task.mfBeforeR...
apache-2.0
Kotlin
750b5dc4a7a99197bc1121547bc265d7f1bec9d1
Create CreateSecret.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/secretsmanager/src/main/kotlin/com/kotlin/secrets/CreateSecret.kt
.kotlin_alpha/services/secretsmanager/src/main/kotlin/com/kotlin/secrets/CreateSecret.kt
//snippet-sourcedescription:[CreateSecret.kt demonstrates how to create a secret for AWS Secrets Manager.] //snippet-keyword:[AWS SDK for Kotlin] //snippet-keyword:[Code Sample] //snippet-keyword:[AWS Secrets Manager] //snippet-sourcetype:[full-example] //snippet-sourcedate:[06/02/2021] //snippet-sourceauthor:[scmacdon...
apache-2.0
Kotlin
3b8ee4c4210b29701580b7c3626939f8092e4bdf
refactor #511 Rename test function.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/editor/usecase/CurrentLineDeletionUseCaseTest.kt
app/src/test/java/jp/toastkid/yobidashi/editor/usecase/CurrentLineDeletionUseCaseTest.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
a5cf92b002c596e19f20cfbab2e1569338484a4d
print something from initLogging
remkop/picocli,remkop/picocli,remkop/picocli,remkop/picocli
picocli-examples/src/main/kotlin/picocli/examples/kotlin/globaloptions1105/TopCommand.kt
picocli-examples/src/main/kotlin/picocli/examples/kotlin/globaloptions1105/TopCommand.kt
package picocli.examples.kotlin.globaloptions1105 import picocli.CommandLine import picocli.CommandLine.* import java.util.* import java.util.concurrent.Callable import java.util.logging.Level /** * This class is not an example (yet) * but is work in progress to resolve this issue: * https://github.com/remkop/pico...
package picocli.examples.kotlin.globaloptions1105 import picocli.CommandLine import picocli.CommandLine.* import java.util.* import java.util.concurrent.Callable import java.util.logging.Level /** * This class is not an example (yet) * but is work in progress to resolve this issue: * https://github.com/remkop/pico...
apache-2.0
Kotlin
a53b90ca76674293f1acefb0e7320d52f4f731ca
Refactor and simplify the `StringConverterFactory.kt`.
imknown/ImkGithub
ZMain/ImkGithubApp/src/main/java/net/imknown/imkgithub/web/converter/StringConverterFactory.kt
ZMain/ImkGithubApp/src/main/java/net/imknown/imkgithub/web/converter/StringConverterFactory.kt
/* * Copyright (C) 2015 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright (C) 2015 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
Kotlin
36b6572a40da8c96923f9564a17e1dfad0cceb87
Add setInitHidden() and getInitHiddenErrors() methods
KotlinNLP/SimpleDNN
src/main/kotlin/com/kotlinnlp/simplednn/core/layers/recurrent/RecurrentLayerStructure.kt
src/main/kotlin/com/kotlinnlp/simplednn/core/layers/recurrent/RecurrentLayerStructure.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
2fd7f5c20af7b9dc6a6997b323df3807e3db879b
refactor #412 Rename test function.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/search/url_suggestion/RtsSuggestionUseCaseTest.kt
app/src/test/java/jp/toastkid/yobidashi/search/url_suggestion/RtsSuggestionUseCaseTest.kt
/* * Copyright (c) 2022 toastkidjp. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompany this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html. */ package jp...
/* * Copyright (c) 2022 toastkidjp. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompany this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html. */ package jp...
epl-1.0
Kotlin
1c0e8eac2e752526b9097efb28e4a6e0ce50356d
Fix null value being written to attribute
elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin
src/main/kotlin/com/elpassion/intelijidea/MFRunnerConfiguration.kt
src/main/kotlin/com/elpassion/intelijidea/MFRunnerConfiguration.kt
package com.elpassion.intelijidea import com.elpassion.intelijidea.util.showBalloon import com.intellij.execution.Executor import com.intellij.execution.configurations.ConfigurationFactory import com.intellij.execution.configurations.LocatableConfigurationBase import com.intellij.execution.configurations.RunConfigurat...
package com.elpassion.intelijidea import com.elpassion.intelijidea.util.showBalloon import com.intellij.execution.Executor import com.intellij.execution.configurations.ConfigurationFactory import com.intellij.execution.configurations.LocatableConfigurationBase import com.intellij.execution.configurations.RunConfigurat...
apache-2.0
Kotlin
aa8a15e68ed1a347982b8b0452fd4160861d0003
Fix an issue where the debugger would fail to attach on Android Studio 3.6
pbreault/adb-idea
src/main/kotlin/com/developerphil/adbidea/debugger/Debugger.kt
src/main/kotlin/com/developerphil/adbidea/debugger/Debugger.kt
package com.developerphil.adbidea.debugger import com.android.ddmlib.Client import com.android.ddmlib.IDevice import com.android.tools.idea.run.AndroidProcessHandler import com.android.tools.idea.run.editor.AndroidDebugger import com.developerphil.adbidea.compatibility.BackwardCompatibleGetter import com.developerphil...
package com.developerphil.adbidea.debugger import com.android.ddmlib.Client import com.android.ddmlib.IDevice import com.android.tools.idea.run.AndroidProcessHandler import com.android.tools.idea.run.editor.AndroidDebugger import com.developerphil.adbidea.invokeLater import com.developerphil.adbidea.waitUntil import c...
apache-2.0
Kotlin
b0b5ad5243952878ac09abbbf9fba45a08cb6d56
make `Show the result of macro expansion` intention low priority
intellij-rust/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust
src/main/kotlin/org/rust/ide/intentions/RunCargoExpandIntention.kt
src/main/kotlin/org/rust/ide/intentions/RunCargoExpandIntention.kt
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.ide.intentions import com.intellij.codeInsight.intention.LowPriorityAction import com.intellij.openapi.editor.Editor import com.intellij.openapi.project.Project import com.intellij.psi.PsiElemen...
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.ide.intentions import com.intellij.openapi.editor.Editor import com.intellij.openapi.project.Project import com.intellij.psi.PsiElement import org.rust.cargo.project.model.CargoProject import or...
mit
Kotlin
2b4d4ddee71c14060427748c29c4edf9652c77ca
Create a proxy for the TraceListener interface.
rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin
src/plugin-saxon/main/uk/co/reecedunn/intellij/plugin/saxon/query/s9api/proxy/TraceListener.kt
src/plugin-saxon/main/uk/co/reecedunn/intellij/plugin/saxon/query/s9api/proxy/TraceListener.kt
/* * Copyright (C) 2019 Reece H. Dunn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
apache-2.0
Kotlin
b8c2fe3f2fb58055e4cb742bd9a0dced105a2184
refactor #523 Use version code TIRAMISU.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/browser/permission/DownloadPermissionRequestContract.kt
app/src/main/java/jp/toastkid/yobidashi/browser/permission/DownloadPermissionRequestContract.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
c71d5c86429f6a00fe02290bf40915c03f86ab19
refactor #511 Rename test function.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte
app/src/test/java/jp/toastkid/yobidashi/editor/usecase/ThousandSeparatorInsertionUseCaseTest.kt
app/src/test/java/jp/toastkid/yobidashi/editor/usecase/ThousandSeparatorInsertionUseCaseTest.kt
/* * Copyright (c) 2022 toastkidjp. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompany this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html. */ package jp...
/* * Copyright (c) 2022 toastkidjp. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompany this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html. */ package jp...
epl-1.0
Kotlin
f5701073650018d75a7f79a313a7707658b32c76
Fix typo
iZettle/wrench,iZettle/wrench
wrench-prefs/src/test/java/com/izettle/wrench/preferences/WrenchPreferencesReturnsDefaultWhenMissingProviderTest.kt
wrench-prefs/src/test/java/com/izettle/wrench/preferences/WrenchPreferencesReturnsDefaultWhenMissingProviderTest.kt
package com.izettle.wrench.preferences import android.app.Application import android.os.Build.VERSION_CODES.O import androidx.test.core.app.ApplicationProvider import androidx.test.ext.junit.runners.AndroidJUnit4 import com.izettle.wrench.core.WrenchProviderContract import org.junit.Assert import org.junit.Assert.asse...
package com.izettle.wrench.preferences import android.app.Application import android.os.Build.VERSION_CODES.O import androidx.test.core.app.ApplicationProvider import androidx.test.ext.junit.runners.AndroidJUnit4 import com.izettle.wrench.core.WrenchProviderContract import org.junit.Assert import org.junit.Assert.asse...
mit
Kotlin
5b1b771c5064588e775a483cfa63fc4537c7ee6b
reformat ScheduleDayPageView
squanchy-dev/squanchy-android,squanchy-dev/squanchy-android,squanchy-dev/squanchy-android
app/src/main/java/net/squanchy/schedule/view/ScheduleDayPageView.kt
app/src/main/java/net/squanchy/schedule/view/ScheduleDayPageView.kt
package net.squanchy.schedule.view import android.content.Context import android.support.v7.util.DiffUtil import android.support.v7.widget.LinearLayoutManager import android.support.v7.widget.RecyclerView import android.util.AttributeSet import net.squanchy.R import net.squanchy.schedule.domain.view.Event import net....
package net.squanchy.schedule.view import android.content.Context import android.support.v7.util.DiffUtil import android.support.v7.widget.LinearLayoutManager import android.support.v7.widget.RecyclerView import android.util.AttributeSet import net.squanchy.R import net.squanchy.schedule.domain.view.Event import net....
apache-2.0
Kotlin
d2ff65c1179e0f71c45e9aad7b344301d6965e98
Fix login error using another account after logging out (#412)
fossasia/rp15,fossasia/open-event-android,fossasia/open-event-android,fossasia/open-event-android
app/src/main/java/org/fossasia/openevent/general/auth/AuthHolder.kt
app/src/main/java/org/fossasia/openevent/general/auth/AuthHolder.kt
package org.fossasia.openevent.general.auth import org.fossasia.openevent.general.data.Preference import org.fossasia.openevent.general.utils.JWTUtils private const val TOKEN_KEY = "TOKEN" class AuthHolder(private val preference: Preference) { var token: String? = null get() { return prefere...
package org.fossasia.openevent.general.auth import org.fossasia.openevent.general.data.Preference import org.fossasia.openevent.general.utils.JWTUtils private const val TOKEN_KEY = "TOKEN" class AuthHolder(private val preference: Preference) { var token: String? = null get() { if (field == n...
apache-2.0
Kotlin