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
dcb2300699875640824529dd476ddf0e5a3c58d4
Add test for removing indent in PyCharm
JetBrains/ideavim,JetBrains/ideavim
test/org/jetbrains/plugins/ideavim/group/visual/NonVimVisualChangeTest.kt
test/org/jetbrains/plugins/ideavim/group/visual/NonVimVisualChangeTest.kt
/* * IdeaVim - Vim emulator for IDEs based on the IntelliJ platform * Copyright (C) 2003-2019 The IdeaVim authors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the ...
mit
Kotlin
c93d818b3eaa81fe1f8225b78d115532f3fbdc80
Update some dependencies
miketrewartha/positional
buildSrc/src/main/kotlin/Versions.kt
buildSrc/src/main/kotlin/Versions.kt
import org.gradle.api.JavaVersion object Versions { const val kotlin = "1.4.0" object Android { const val compileSdk = 29 const val minSdk = 21 const val targetSdk = 29 } object Application { val code by lazy { val format = "%02d" val minSdk = ...
import org.gradle.api.JavaVersion object Versions { const val kotlin = "1.4.0" object Android { const val compileSdk = 29 const val minSdk = 21 const val targetSdk = 29 } object Application { val code by lazy { val format = "%02d" val minSdk = ...
mit
Kotlin
a0d914ba36d8cf2e8bb1782997e15084cf22003e
Fix #402
YiiGuxing/TranslationPlugin,YiiGuxing/TranslationPlugin
src/main/kotlin/cn/yiiguxing/plugin/translate/trans/BaiduTranslation.kt
src/main/kotlin/cn/yiiguxing/plugin/translate/trans/BaiduTranslation.kt
package cn.yiiguxing.plugin.translate.trans import com.google.gson.annotations.SerializedName @Suppress("MemberVisibilityCanBePrivate", "SpellCheckingInspection") data class BaiduTranslation( @SerializedName("error_code") val code: Int = 0, @SerializedName("from") val srcLanguage: String? = null, ...
package cn.yiiguxing.plugin.translate.trans import com.google.gson.annotations.SerializedName @Suppress("MemberVisibilityCanBePrivate", "SpellCheckingInspection") data class BaiduTranslation( @SerializedName("error_code") val code: Int = 0, @SerializedName("from") val srcLanguage: String? = null, ...
mit
Kotlin
a4989c575aa213dbd5fc6c0a7dbf5c1fe964f3b4
refactor #704 Add test case.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/libs/network/NetworkCheckerTest.kt
app/src/test/java/jp/toastkid/yobidashi/libs/network/NetworkCheckerTest.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
7eeb879d7ace2d1d5a0c3f2782db29304664072e
Add @file:JvmName annotation to DeviceInteractionExt
android/android-test,android/android-test,android/android-test,android/android-test,android/android-test
espresso/device/java/androidx/test/espresso/device/DeviceInteractionExt.kt
espresso/device/java/androidx/test/espresso/device/DeviceInteractionExt.kt
/* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
/* * Copyright (C) 2021 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
apache-2.0
Kotlin
9ddae630aa16ae46666fd4ee34d88123f22b18cb
Add classpath from jar benchmark
ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor
ktor-jmh/src/org/jetbrains/ktor/tests/full/FullBenchmark.kt
ktor-jmh/src/org/jetbrains/ktor/tests/full/FullBenchmark.kt
package org.jetbrains.ktor.tests.full import org.jetbrains.ktor.application.* import org.jetbrains.ktor.content.* import org.jetbrains.ktor.http.* import org.jetbrains.ktor.routing.* import org.jetbrains.ktor.testing.* import org.jetbrains.ktor.tests.* import org.openjdk.jmh.annotations.* import org.openjdk.jmh.runner...
apache-2.0
Kotlin
1e031398df4ca23783a620d46d0b8bc7f248b2b9
Add MemoizedTest under integration-test (#487)
JetBrains/spek
integration-test/common/src/test/kotlin/org/spekframework/spek2/integration/MemoizedTests.kt
integration-test/common/src/test/kotlin/org/spekframework/spek2/integration/MemoizedTests.kt
package org.spekframework.spek2.integration import org.spekframework.spek2.Spek import org.spekframework.spek2.lifecycle.CachingMode import kotlin.test.assertTrue object MemoizedTests: Spek({ group("by default each tests will have a unique instance") { lateinit var previousValue: Set<String> val v...
bsd-3-clause
Kotlin
096b2e15ab4601462bd253626ffd8983cee38b09
Upgrade to Kotlin DSL 1.0-rc-11
robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,lsmaira/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,lsmaira/gradle,lsmaira/gradle,lsmaira/gradle,gradle/...
buildSrc/subprojects/configuration/src/main/kotlin/org/gradle/gradlebuild/build-environment.kt
buildSrc/subprojects/configuration/src/main/kotlin/org/gradle/gradlebuild/build-environment.kt
package org.gradle.gradlebuild import org.gradle.api.JavaVersion import org.gradle.internal.os.OperatingSystem object BuildEnvironment { val isCiServer = "CI" in System.getenv() val gradleKotlinDslVersion = "1.0-rc-11" val jvm = org.gradle.internal.jvm.Jvm.current() val javaVersion = JavaVersion.curr...
package org.gradle.gradlebuild import org.gradle.api.JavaVersion import org.gradle.internal.os.OperatingSystem object BuildEnvironment { val isCiServer = "CI" in System.getenv() val gradleKotlinDslVersion = "1.0-rc-10" val jvm = org.gradle.internal.jvm.Jvm.current() val javaVersion = JavaVersion.curr...
apache-2.0
Kotlin
114ea53e38488b9f3d81beb2de96d53232520139
Optimize calculations
KotlinNLP/SimpleDNN
src/kotlin/com/kotlinnlp/simplednn/core/functionalities/updatemethods/rmsprop/RMSPropMethod.kt
src/kotlin/com/kotlinnlp/simplednn/core/functionalities/updatemethods/rmsprop/RMSPropMethod.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
db2e23cf80ba33be94888fac8b61251ffc525404
Make function parameter rename a lot faster (#237)
klazuka/intellij-elm,klazuka/intellij-elm
src/main/kotlin/org/elm/lang/core/psi/elements/ElmLowerPattern.kt
src/main/kotlin/org/elm/lang/core/psi/elements/ElmLowerPattern.kt
package org.elm.lang.core.psi.elements import com.intellij.lang.ASTNode import com.intellij.psi.PsiElement import com.intellij.psi.search.LocalSearchScope import com.intellij.psi.search.SearchScope import com.intellij.psi.util.PsiTreeUtil import org.elm.lang.core.psi.* /** * A lower-case identifier within a pattern...
package org.elm.lang.core.psi.elements import com.intellij.lang.ASTNode import com.intellij.psi.PsiElement import org.elm.lang.core.psi.* /** * A lower-case identifier within a pattern * * e.g. `a` and `b` in the declaration `(a, b) = (0, 0)` */ class ElmLowerPattern(node: ASTNode) : ElmNamedElementImpl(node, Id...
mit
Kotlin
4f52ac9cf5f2351e85356415af933aea6246a280
Clean up
pyamsoft/pydroid
util/src/main/java/com/pyamsoft/pydroid/util/Preferences.kt
util/src/main/java/com/pyamsoft/pydroid/util/Preferences.kt
/* * Copyright 2020 Peter Kenji Yamanaka * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/* * Copyright 2020 Peter Kenji Yamanaka * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
apache-2.0
Kotlin
751dadc1cdff79a7880fc48c53f55af9c5fe6148
Change to bus
pyamsoft/padlock,pyamsoft/padlock
padlock/src/main/java/com/pyamsoft/padlock/pin/CreatePinPresenterImpl.kt
padlock/src/main/java/com/pyamsoft/padlock/pin/CreatePinPresenterImpl.kt
/* * Copyright 2019 Peter Kenji Yamanaka * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/* * Copyright 2019 Peter Kenji Yamanaka * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
apache-2.0
Kotlin
433ac0cfbc0aaa4fa035a3a2c4a090820295c4d6
refactor #605 Rename test function.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/libs/clip/ClipboardTest.kt
app/src/test/java/jp/toastkid/yobidashi/libs/clip/ClipboardTest.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
c05cbedcc98a96219903bc92e8992894a44d3abc
Fix after review
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...
python/src/com/jetbrains/python/sdk/flavors/WinAppxTools.kt
python/src/com/jetbrains/python/sdk/flavors/WinAppxTools.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.jetbrains.python.sdk.flavors import com.intellij.openapi.application.PathManager import com.intellij.openapi.util.SystemInfo import java.io.File import java.io.Filena...
// 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.jetbrains.python.sdk.flavors import com.intellij.openapi.application.PathManager import com.intellij.openapi.util.SystemInfo import java.io.File import java.io.Filena...
apache-2.0
Kotlin
acdac44d56a77882e73159d46e44dd10a5becfe3
Change wrong misspelled text for not find script in path
elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin
src/main/kotlin/com/elpassion/intelijidea/task/edit/TaskEditValidator.kt
src/main/kotlin/com/elpassion/intelijidea/task/edit/TaskEditValidator.kt
package com.elpassion.intelijidea.task.edit import com.elpassion.intelijidea.util.mfFilename import com.intellij.openapi.ui.TextFieldWithBrowseButton import com.intellij.openapi.ui.ValidationInfo import java.io.File import javax.swing.JTextField class TaskEditValidator(val form: TaskEditForm) { fun doValidate() ...
package com.elpassion.intelijidea.task.edit import com.elpassion.intelijidea.util.mfFilename import com.intellij.openapi.ui.TextFieldWithBrowseButton import com.intellij.openapi.ui.ValidationInfo import java.io.File import javax.swing.JTextField class TaskEditValidator(val form: TaskEditForm) { fun doValidate() ...
apache-2.0
Kotlin
9d9d221c110e3f10d8a8f67047c626981fe2210d
Annotate identifiers as reserved (Edition 2018) keywords only if they are name identifiers
Undin/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust
src/main/kotlin/org/rust/ide/annotator/RsEdition2018KeywordsAnnotator.kt
src/main/kotlin/org/rust/ide/annotator/RsEdition2018KeywordsAnnotator.kt
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.ide.annotator import com.intellij.lang.annotation.AnnotationHolder import com.intellij.psi.PsiElement import org.rust.ide.colors.RsColor import org.rust.lang.core.psi.RS_EDITION_2018_KEYWORDS im...
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.ide.annotator import com.intellij.lang.annotation.AnnotationHolder import com.intellij.psi.PsiElement import com.intellij.psi.util.PsiTreeUtil import org.rust.ide.colors.RsColor import org.rust....
mit
Kotlin
0bbf3a15770716f899dab2ae982b98a482e4dd50
Fix the build file for the examples.
cbeust/kobalt,ethauvin/kobalt,cbeust/kobalt,evanchooly/kobalt,ethauvin/kobalt,ethauvin/kobalt,cbeust/kobalt,evanchooly/kobalt,evanchooly/kobalt,evanchooly/kobalt,ethauvin/kobalt
examples/intro_android_demo/Build.kt
examples/intro_android_demo/Build.kt
import com.beust.kobalt.* import com.beust.kobalt.plugin.android.* import com.beust.kobalt.plugin.java.* val r = repos(file("d:\\android\\adt-bundle-windows-x86_64-20140321\\sdk\\extras\\android\\m2repository")) val p = javaProject { name = "intro_android_demo" group = "com.example" artifactId = name ...
import com.beust.kobalt.* import com.beust.kobalt.plugin.android.* import com.beust.kobalt.plugin.java.* val r = repos(file("d:\\android\\adt-bundle-windows-x86_64-20140321\\sdk\\extras\\android\\m2repository")) val p = javaProject { name = "intro_android_demo" group = "com.example" artifactId = name ...
apache-2.0
Kotlin
a16cde2db2e8cba0e09b0969f9303dc81e17cf23
Add Kotlin version
delight-im/ShortURL,delight-im/ShortURL,delight-im/ShortURL,delight-im/ShortURL,delight-im/ShortURL,delight-im/ShortURL,delight-im/ShortURL,delight-im/ShortURL,delight-im/ShortURL,delight-im/ShortURL,delight-im/ShortURL
Kotlin/ShortURL.kt
Kotlin/ShortURL.kt
/* * ShortURL (https://github.com/delight-im/ShortURL) * Copyright (c) delight.im (https://www.delight.im/) * Licensed under the MIT License (https://opensource.org/licenses/MIT) */ /** * ShortURL: Bijective conversion between natural numbers (IDs) and short strings * * ShortURL.encode() takes an ID and turns i...
mit
Kotlin
589b6865ba0e935017541b69e674d1b43f4dab0b
Disable warnings
MarkusAmshove/Kluent,MarkusAmshove/Kluent
jvm/src/main/kotlin/org/amshove/kluent/BigDecimal.kt
jvm/src/main/kotlin/org/amshove/kluent/BigDecimal.kt
// The Java API of operators prefers calls to `compareTo` @file:Suppress("ReplaceCallWithBinaryOperator") package org.amshove.kluent import org.amshove.kluent.internal.assertTrue import java.math.BigDecimal infix fun BigDecimal.shouldEqualTo(expected: BigDecimal) = this.apply { assertTrue("Expected $this to be e...
package org.amshove.kluent import org.amshove.kluent.internal.assertTrue import java.math.BigDecimal infix fun BigDecimal.shouldEqualTo(expected: BigDecimal) = this.apply { assertTrue("Expected $this to be equal to $expected", this.compareTo(expected) == 0) } infix fun BigDecimal.shouldNotEqualTo(expected: BigDe...
mit
Kotlin
0d26d6c389ab29661383591f6e3c3f21caceb402
Add references to available implementations in TestDispatcher docs (#3200)
Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines
kotlinx-coroutines-test/common/src/TestDispatcher.kt
kotlinx-coroutines-test/common/src/TestDispatcher.kt
/* * Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package kotlinx.coroutines.test import kotlinx.coroutines.* import kotlin.coroutines.* import kotlin.jvm.* /** * A test dispatcher that can interface with a [TestCoroutineScheduler]. * * The available im...
/* * Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package kotlinx.coroutines.test import kotlinx.coroutines.* import kotlin.coroutines.* import kotlin.jvm.* /** * A test dispatcher that can interface with a [TestCoroutineScheduler]. */ @ExperimentalCorout...
apache-2.0
Kotlin
6d136d82f6d8ac5b5108cf045505e829f9088a93
fix extra device check #Apps-464
StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android
app/src/main/java/org/stepic/droid/notifications/StepicInstanceIdService.kt
app/src/main/java/org/stepic/droid/notifications/StepicInstanceIdService.kt
package org.stepic.droid.notifications import com.google.firebase.iid.FirebaseInstanceId import com.google.firebase.iid.FirebaseInstanceIdService import org.stepic.droid.analytic.Analytic import org.stepic.droid.base.MainApplication import org.stepic.droid.model.Profile import org.stepic.droid.preferences.SharedPrefer...
package org.stepic.droid.notifications import com.google.firebase.iid.FirebaseInstanceId import com.google.firebase.iid.FirebaseInstanceIdService import org.stepic.droid.analytic.Analytic import org.stepic.droid.base.MainApplication import org.stepic.droid.model.Profile import org.stepic.droid.preferences.SharedPrefer...
apache-2.0
Kotlin
535a4c33ae44d03963275aa07d2a01fdc2b46538
Address deprecation
SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java
buildSrc/src/main/kotlin/io/spine/internal/gradle/javascript/plugin/Idea.kt
buildSrc/src/main/kotlin/io/spine/internal/gradle/javascript/plugin/Idea.kt
/* * 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
cacc3578410d675fee32ec6c7d96ac47ec2f80e7
resolve code errors
jonnyzzz/kotlin.xml.bind
jdom/src/test/kotlin/org/jonnyzzz/kotlin/xml/bind/jdom/XPropertiesTest.kt
jdom/src/test/kotlin/org/jonnyzzz/kotlin/xml/bind/jdom/XPropertiesTest.kt
@file:Suppress("unused") package org.jonnyzzz.kotlin.xml.bind.jdom import org.jonnyzzz.kotlin.xml.bind.jdom.impl.declaredPropertyNames import org.jonnyzzz.kotlin.xml.bind.jdom.impl.delegatedProperties import org.junit.Assert import org.junit.Test import java.util.* import kotlin.properties.Delegates import kotlin.ref...
package org.jonnyzzz.kotlin.xml.bind.jdom import org.jonnyzzz.kotlin.xml.bind.jdom.impl.declaredPropertyNames import org.jonnyzzz.kotlin.xml.bind.jdom.impl.delegatedProperties import org.junit.Assert import org.junit.Test import java.util.* import kotlin.properties.Delegates import kotlin.reflect.KProperty public...
apache-2.0
Kotlin
bc80a9b7305e37549c241a938c79865406b7f3bf
Implement Kamils fix for `MultimoduleLocationProvider`
Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka
plugins/base/src/main/kotlin/resolvers/local/MultimoduleLocationProvider.kt
plugins/base/src/main/kotlin/resolvers/local/MultimoduleLocationProvider.kt
package org.jetbrains.dokka.base.resolvers.local import org.jetbrains.dokka.links.DRI import org.jetbrains.dokka.DokkaConfiguration.DokkaSourceSet import org.jetbrains.dokka.pages.PageNode import org.jetbrains.dokka.pages.RootPageNode import org.jetbrains.dokka.plugability.DokkaContext class MultimoduleLocationProvid...
package org.jetbrains.dokka.base.resolvers.local import org.jetbrains.dokka.links.DRI import org.jetbrains.dokka.DokkaConfiguration.DokkaSourceSet import org.jetbrains.dokka.pages.PageNode import org.jetbrains.dokka.pages.RootPageNode import org.jetbrains.dokka.plugability.DokkaContext class MultimoduleLocationProvid...
apache-2.0
Kotlin
e05047cc26624c491047132d618f7f30f32dd482
enable EvaluateVariables stage to run in dryRun (#2745)
ttomsu/orca,duftler/orca,spinnaker/orca,robfletcher/orca,ajordens/orca,spinnaker/orca,ajordens/orca,duftler/orca,ajordens/orca,spinnaker/orca,ttomsu/orca,ttomsu/orca,duftler/orca,duftler/orca,ttomsu/orca,robfletcher/orca,ajordens/orca,robfletcher/orca,robfletcher/orca
orca-dry-run/src/main/kotlin/com/netflix/spinnaker/orca/dryrun/DryRunStageDefinitionBuilderFactory.kt
orca-dry-run/src/main/kotlin/com/netflix/spinnaker/orca/dryrun/DryRunStageDefinitionBuilderFactory.kt
/* * Copyright 2017 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...
/* * Copyright 2017 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
07995952b738e86554ad16e1a9e1edf367146489
Fix typo in task description
ncruz8991/kotlin-koans,goodwinnk/workshop-jb,chickenbane/workshop-jb,thatadamedwards/kotlin-koans,jensim/kotlin-koans,sunghwanJo/workshop-jb,hughandrewarch/kotlin-koans,enchf/kotlin-koans,mvaldez/kotlin-examples,TheCoinTosser/Kotlin-Koans---Solutions,nakih/kotlin-koans,sleberknight/kotlin-koans,chrisdoc/kotlin-koans,Ca...
src/ii_collections/_24_ExtensionsOnCollections.kt
src/ii_collections/_24_ExtensionsOnCollections.kt
package ii_collections import util.TODO fun todoTask24(): Nothing = TODO( """ Task 24. The function should behave the same as '_24_JavaCode.doSomethingStrangeWithCollection' Replace all invocations of 'todoTask24()' with the appropriate code. """, references = { c: Collection<S...
package ii_collections import util.TODO fun todoTask24(): Nothing = TODO( """ Task 24. The function should behave the same as '_24_JavaCode.doSomethingStrangeWithCollection' Replace all invocations of 'todoTask9()' with the appropriate code. """, references = { c: Collection<St...
mit
Kotlin
14c88194d67dc600fec3645b0b1e8d52cf0eacf6
Fix possible crash if cannot find any reading list
dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia
app/src/main/java/org/wikipedia/page/PageAvailableOfflineHandler.kt
app/src/main/java/org/wikipedia/page/PageAvailableOfflineHandler.kt
package org.wikipedia.page import android.annotation.SuppressLint import kotlinx.coroutines.* import org.wikipedia.WikipediaApp import org.wikipedia.readinglist.database.ReadingListDbHelper import org.wikipedia.readinglist.database.ReadingListPage import org.wikipedia.util.log.L object PageAvailableOfflineHandler { ...
package org.wikipedia.page import android.annotation.SuppressLint import kotlinx.coroutines.* import org.wikipedia.WikipediaApp import org.wikipedia.readinglist.database.ReadingListDbHelper import org.wikipedia.readinglist.database.ReadingListPage import org.wikipedia.util.log.L object PageAvailableOfflineHandler { ...
apache-2.0
Kotlin
a54737092ee386b82012d43bb824f64794e05afe
Fix uninitialized lateinit property
dya-tel/TSU-Schedule
app/src/main/kotlin/ru/dyatel/tsuschedule/fragments/MainFragment.kt
app/src/main/kotlin/ru/dyatel/tsuschedule/fragments/MainFragment.kt
package ru.dyatel.tsuschedule.fragments import android.os.Bundle import android.support.design.widget.TabLayout import android.support.v4.app.Fragment import android.support.v4.view.ViewPager import android.support.v4.widget.SwipeRefreshLayout import android.view.LayoutInflater import android.view.View import android....
package ru.dyatel.tsuschedule.fragments import android.os.Bundle import android.support.design.widget.TabLayout import android.support.v4.app.Fragment import android.support.v4.view.ViewPager import android.support.v4.widget.SwipeRefreshLayout import android.view.LayoutInflater import android.view.View import android....
mit
Kotlin
bd87ebfed053147056f57feb04a2a795e2dddcd3
Increase test coverage for Conference class.
EventFahrplan/EventFahrplan,EventFahrplan/EventFahrplan
app/src/test/java/nerd/tuxmobil/fahrplan/congress/schedule/ConferenceTest.kt
app/src/test/java/nerd/tuxmobil/fahrplan/congress/schedule/ConferenceTest.kt
package nerd.tuxmobil.fahrplan.congress.schedule import com.google.common.truth.Truth.assertThat import info.metadude.android.eventfahrplan.commons.temporal.Moment import info.metadude.android.eventfahrplan.commons.temporal.Moment.Companion.MINUTES_OF_ONE_DAY import nerd.tuxmobil.fahrplan.congress.models.Session impor...
package nerd.tuxmobil.fahrplan.congress.schedule import com.google.common.truth.Truth.assertThat import info.metadude.android.eventfahrplan.commons.temporal.Moment import info.metadude.android.eventfahrplan.commons.temporal.Moment.Companion.MINUTES_OF_ONE_DAY import nerd.tuxmobil.fahrplan.congress.models.Session impor...
apache-2.0
Kotlin
43b8efeb6d1bf568359212afb3f862532cff3976
Switch default algorithm to SHA-256 from SHA-1 for signed cookies
ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor
ktor-server/ktor-server-core/jvm/src/io/ktor/sessions/SessionTransportTransformerMessageAuthentication.kt
ktor-server/ktor-server-core/jvm/src/io/ktor/sessions/SessionTransportTransformerMessageAuthentication.kt
package io.ktor.sessions import io.ktor.util.* import java.security.* import javax.crypto.* import javax.crypto.spec.* /** * Session transformer that appends an [algorithm] MAC (Message Authentication Code) hash of the input. * Where the input is either a session contents or a previous transformation. * It uses a ...
package io.ktor.sessions import io.ktor.util.* import java.security.* import javax.crypto.* import javax.crypto.spec.* /** * Session transformer that appends an [algorithm] MAC (Message Authentication Code) hash of the input. * Where the input is either a session contents or a previous transformation. * It uses a ...
apache-2.0
Kotlin
ccae46bf7c18e55cc05ed14c5ba0e4057658ae51
refactor OAuthCallback
http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k
http4k-security-oauth/src/main/kotlin/org/http4k/security/OAuthCallback.kt
http4k-security-oauth/src/main/kotlin/org/http4k/security/OAuthCallback.kt
package org.http4k.security import org.http4k.core.HttpHandler import org.http4k.core.Request import org.http4k.core.Response import org.http4k.core.Status.Companion.TEMPORARY_REDIRECT import org.http4k.core.toParameters import org.http4k.security.openid.IdTokenConsumer import org.http4k.security.openid.IdTokenContain...
package org.http4k.security import org.http4k.core.HttpHandler import org.http4k.core.Request import org.http4k.core.Response import org.http4k.core.Status.Companion.TEMPORARY_REDIRECT import org.http4k.core.toParameters import org.http4k.security.openid.IdTokenConsumer import org.http4k.security.openid.IdTokenContain...
apache-2.0
Kotlin
5cde3996004b7809219433605ca5e26a9731c547
Support String factory functions
wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-...
runtime/src/main/kotlin/kotlin/text/Strings.kt
runtime/src/main/kotlin/kotlin/text/Strings.kt
/* * Copyright 2010-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright 2010-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
Kotlin
ffc7d992a14e80419a0545b78940bd88ea4e7db6
validate bst
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/validate_bst/ValidateBST.kt
kotlin/src/katas/kotlin/leetcode/validate_bst/ValidateBST.kt
package katas.kotlin.leetcode.validate_bst import katas.kotlin.leetcode.TreeNode import kotlincommon.test.shouldEqual import org.junit.Test class ValidateBSTTests { @Test fun `determine if binary search tree is valid`() { TreeNode(1).isValid() shouldEqual true TreeNode(1, TreeNode(0)).isValid() sh...
package katas.kotlin.leetcode.validate_bst import katas.kotlin.leetcode.TreeNode import kotlincommon.test.shouldEqual import org.junit.Test class ValidateBSTTests { @Test fun `determine if binary search tree is valid`() { TreeNode(1).isValid() shouldEqual true TreeNode(1, TreeNode(0)).isValid() sh...
unlicense
Kotlin
29fc107a6cc73e513f1949e13ad479f0444f882a
Add failing Spek test
FWDekker/intellij-randomness,FWDekker/intellij-randomness
src/test/kotlin/com/fwdekker/randomness/CacheTest.kt
src/test/kotlin/com/fwdekker/randomness/CacheTest.kt
package com.fwdekker.randomness import org.assertj.core.api.Assertions.assertThat import org.spekframework.spek2.Spek import org.spekframework.spek2.style.specification.describe /** * Unit tests for [Cache]. */ object CacheTest : Spek({ lateinit var cache: Cache<String, Any> beforeEachTest { cach...
package com.fwdekker.randomness import org.assertj.core.api.Assertions.assertThat import org.spekframework.spek2.Spek import org.spekframework.spek2.style.specification.describe /** * Unit tests for [Cache]. */ object CacheTest : Spek({ lateinit var cache: Cache<String, Any> beforeEachTest { cach...
mit
Kotlin
c3a3841bb5c96782187f59d11c08eee964b35a88
Remove lateinit warnings
ClouDesire/capri,ClouDesire/capri
server/src/main/kotlin/com/cloudesire/capri/UrbanDataServiceImpl.kt
server/src/main/kotlin/com/cloudesire/capri/UrbanDataServiceImpl.kt
package com.cloudesire.capri import com.cloudesire.capri.client.ProvinceData import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.module.kotlin.readValue import org.springframework.beans.factory.annotation.Autowired import org.springframework.beans.factory.annotation.Qualifier import org.spr...
package com.cloudesire.capri import com.cloudesire.capri.client.ProvinceData import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.module.kotlin.readValue import org.springframework.beans.factory.annotation.Autowired import org.springframework.beans.factory.annotation.Qualifier import org.spr...
agpl-3.0
Kotlin
be1347b8051ae9905b8bff830ec20fadd6f720c4
Upgrade dependencies
traintracker/traintracker,traintracker/traintracker,traintracker/traintracker
buildSrc/src/main/kotlin/Versions.kt
buildSrc/src/main/kotlin/Versions.kt
/* * Copyright 2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
/* * Copyright 2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
apache-2.0
Kotlin
550890ca35d28199b490a61a352e106c6da14e35
Bump Dagger
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
54722d92dedec924ef85d142940daf6d4867b557
Fix crash due to missing Saver for TextFieldValue
chrisbanes/tivi,chrisbanes/tivi
common-ui-compose/src/main/java/app/tivi/common/compose/ui/FilterSortPanel.kt
common-ui-compose/src/main/java/app/tivi/common/compose/ui/FilterSortPanel.kt
/* * Copyright 2022 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright 2022 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
apache-2.0
Kotlin
4c8191228d8fa8a8c868331a7cdaea3473fcf469
Simplify `containsCaseInsensitive`
android/uamp,android/uamp,bright-sparks/android-UniversalMusicPlayer
common/src/main/java/com/example/android/uamp/media/extensions/JavaLangExt.kt
common/src/main/java/com/example/android/uamp/media/extensions/JavaLangExt.kt
/* * Copyright 2018 Google Inc. 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 * * Unless required by applica...
/* * Copyright 2018 Google Inc. 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 * * Unless required by applica...
apache-2.0
Kotlin
03df983ac9df6f36b966786c4550a88fe2c31265
refactor #818 Add @Suppress annotation.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
loan/src/test/java/jp/toastkid/loan/usecase/DebouncedCalculatorUseCaseTest.kt
loan/src/test/java/jp/toastkid/loan/usecase/DebouncedCalculatorUseCaseTest.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
baf5403d1e2dca06898bb9446b78922cceee4b9c
add equals and hash code to DelegatedIntList
kryptnostic/rhizome,kryptnostic/rhizome
src/main/kotlin/com/geekbeast/rhizome/hazelcast/DelegatedIntList.kt
src/main/kotlin/com/geekbeast/rhizome/hazelcast/DelegatedIntList.kt
package com.geekbeast.rhizome.hazelcast /** * A quick and dirty delegation wrapper for hazelast serialization of int lists. * @author Matthew Tamayo-Rios &lt;matthew@openlattice.com&gt; */ class DelegatedIntList(list: List<Int>) : List<Int> by list { override fun equals(other: Any?): Boolean { if (this ...
package com.geekbeast.rhizome.hazelcast /** * A quick and dirty delegation wrapper for hazelast serialization of int lists. * @author Matthew Tamayo-Rios &lt;matthew@openlattice.com&gt; */ class DelegatedIntList(list: List<Int>) : List<Int> by list
apache-2.0
Kotlin
edc3f10388f60287d2e63c4533873caeca2eac04
fix migration
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/storage/migration/MigrationFrom59To60.kt
app/src/main/java/org/stepic/droid/storage/migration/MigrationFrom59To60.kt
package org.stepic.droid.storage.migration import androidx.room.migration.Migration import androidx.sqlite.db.SupportSQLiteDatabase import org.stepik.android.cache.step.structure.DbStructureStep object MigrationFrom59To60 : Migration(59, 60) { override fun migrate(db: SupportSQLiteDatabase) { db.execSQL("...
package org.stepic.droid.storage.migration import androidx.room.migration.Migration import androidx.sqlite.db.SupportSQLiteDatabase import org.stepik.android.cache.step.structure.DbStructureStep object MigrationFrom59To60 : Migration(59, 60) { override fun migrate(db: SupportSQLiteDatabase) { db.execSQL("...
apache-2.0
Kotlin
221588222579c52af34be3d6e918890819788329
Update license in RewriteExtension.kt
spring-gradle-plugins/rewrite-gradle,spring-gradle-plugins/rewrite-gradle
src/main/kotlin/io/spring/rewrite/gradle/RewriteExtension.kt
src/main/kotlin/io/spring/rewrite/gradle/RewriteExtension.kt
/** * Copyright 2017 Pivotal Software, 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 o...
package io.spring.rewrite.gradle open class RewriteExtension { var failOnLint = false }
apache-2.0
Kotlin
477043a9b42ca9ea16de3d323f1324d79febf965
Remove debug log
squanchy-dev/squanchy-android,squanchy-dev/squanchy-android,squanchy-dev/squanchy-android
app/src/main/java/net/squanchy/schedule/tracksfilter/TracksFilter.kt
app/src/main/java/net/squanchy/schedule/tracksfilter/TracksFilter.kt
package net.squanchy.schedule.tracksfilter import io.reactivex.Observable import io.reactivex.subjects.BehaviorSubject import net.squanchy.schedule.domain.view.Track import net.squanchy.service.repository.TracksRepository interface TracksFilter { fun updateSelectedTracks(newSelectedTracks: Set<Track>) val s...
package net.squanchy.schedule.tracksfilter import io.reactivex.Observable import io.reactivex.subjects.BehaviorSubject import net.squanchy.schedule.domain.view.Track import net.squanchy.service.repository.TracksRepository interface TracksFilter { fun updateSelectedTracks(newSelectedTracks: Set<Track>) val s...
apache-2.0
Kotlin
e9e6a4a19fe61a40135d30e739f4e0e7c06e7eb5
Fix onTick dispose not removing
AcornUI/Acorn,AcornUI/Acorn,AcornUI/Acorn
acornui-core/src/commonMain/kotlin/com/acornui/time/OnTick.kt
acornui-core/src/commonMain/kotlin/com/acornui/time/OnTick.kt
/* * Copyright 2019 Poly Forest, 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright 2019 Poly Forest, 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
apache-2.0
Kotlin
88b3eee5669e979ec9e9f99b434e9d57d09184e5
Use Kotlin URL extension in HttpClient
carlphilipp/chicago-commutes,carlphilipp/chicago-commutes,carlphilipp/chicago-commutes
android-app/src/main/java/fr/cph/chicago/client/HttpClient.kt
android-app/src/main/java/fr/cph/chicago/client/HttpClient.kt
/** * Copyright 2017 Carl-Philipp Harmant * * * 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 la...
/** * Copyright 2017 Carl-Philipp Harmant * * * 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 la...
apache-2.0
Kotlin
77e0341092dc5054a01269d6348d685163608b79
Fix dependencies.
jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics
jenetics/build.gradle.kts
jenetics/build.gradle.kts
/* * Java Genetic Algorithm Library (@__identifier__@). * Copyright (c) @__year__@ Franz Wilhelmstötter * * 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/...
/* * Java Genetic Algorithm Library (@__identifier__@). * Copyright (c) @__year__@ Franz Wilhelmstötter * * 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/...
apache-2.0
Kotlin
95d256da99e2102e83ded0dd45ea1b2ffd353662
refactor #349 Add comments in BitmapScaling.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
app/src/main/java/jp/toastkid/yobidashi/libs/BitmapScaling.kt
app/src/main/java/jp/toastkid/yobidashi/libs/BitmapScaling.kt
package jp.toastkid.yobidashi.libs import android.graphics.Bitmap /** * Scaling [Bitmap] with specified sampling size. * * @author toastkidjp */ object BitmapScaling { /** * Invoke scaling. * * @param bitmap [Bitmap] * @param samplingWidth specify new bitmap width * @param samplingHe...
package jp.toastkid.yobidashi.libs import android.graphics.Bitmap /** * @author toastkidjp */ object BitmapScaling { operator fun invoke(bitmap: Bitmap, samplingWidth: Double, samplingHeight: Double): Bitmap { if (samplingWidth > bitmap.width && samplingHeight > bitmap.height) { return bitm...
epl-1.0
Kotlin
5e070fb72a4b82c00281007360ce2b23e1cde8cb
Use https by default instead of http
xwiki-contrib/android-authenticator,xwiki-contrib/android-authenticator
app/src/main/java/org/xwiki/android/sync/utils/IntentUtils.kt
app/src/main/java/org/xwiki/android/sync/utils/IntentUtils.kt
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
lgpl-2.1
Kotlin
938bbb8f75c59293e524114b8198d593580af4de
Replace usage of deprecated `createIsolatedClassLoader`
robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle-script-kotlin,robinverdui...
subprojects/tooling-builders/src/test/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinBuildScriptTemplateModelIntegrationTest.kt
subprojects/tooling-builders/src/test/kotlin/org/gradle/kotlin/dsl/tooling/builders/KotlinBuildScriptTemplateModelIntegrationTest.kt
package org.gradle.kotlin.dsl.tooling.builders import org.gradle.internal.classloader.DefaultClassLoaderFactory import org.gradle.internal.classpath.DefaultClassPath import org.gradle.internal.concurrent.CompositeStoppable import org.gradle.kotlin.dsl.KotlinBuildScript import org.gradle.kotlin.dsl.fixtures.AbstractIn...
package org.gradle.kotlin.dsl.tooling.builders import org.gradle.internal.classloader.DefaultClassLoaderFactory import org.gradle.internal.classpath.DefaultClassPath import org.gradle.internal.concurrent.CompositeStoppable import org.gradle.kotlin.dsl.KotlinBuildScript import org.gradle.kotlin.dsl.fixtures.AbstractIn...
apache-2.0
Kotlin
40fd5e7400f41074f83ded96ac01f61677623e23
Set screenshot optional
applivery/applivery-android-sdk,applivery/applivery-android-sdk
applvsdklib/src/main/java/com/applivery/applvsdklib/domain/model/Feedback.kt
applvsdklib/src/main/java/com/applivery/applvsdklib/domain/model/Feedback.kt
package com.applivery.applvsdklib.domain.model data class Feedback( val deviceInfo: DeviceInfo, val message: String?, val packageInfo: PackageInfo, val screenshot: String?, val type: String ) data class DeviceInfo( val device: Device, val os: Os ) data class Device( val battery: String, val battery...
package com.applivery.applvsdklib.domain.model data class Feedback( val deviceInfo: DeviceInfo, val message: String?, val packageInfo: PackageInfo, val screenshot: String, val type: String ) data class DeviceInfo( val device: Device, val os: Os ) data class Device( val battery: String, val batteryS...
apache-2.0
Kotlin
d5b4a9805ad984688aa7a3bf93022d1446fe48fc
Optimize imports
wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android
aztec/src/main/kotlin/org/wordpress/aztec/watchers/DeleteMediaElementWatcher.kt
aztec/src/main/kotlin/org/wordpress/aztec/watchers/DeleteMediaElementWatcher.kt
package org.wordpress.aztec.watchers import android.text.Editable import android.text.TextWatcher import org.wordpress.aztec.AztecText import org.wordpress.aztec.spans.AztecMediaSpan import java.lang.ref.WeakReference class DeleteMediaElementWatcher(aztecText: AztecText) : TextWatcher { private val aztecTextRef:...
package org.wordpress.aztec.watchers import android.text.Editable import android.text.TextWatcher import org.wordpress.aztec.AztecText import org.wordpress.aztec.Constants import org.wordpress.aztec.spans.AztecMediaSpan import java.lang.ref.WeakReference class DeleteMediaElementWatcher(aztecText: AztecText) : TextWat...
mpl-2.0
Kotlin
75b19fdc9bb146fad68cb15ec07848a4b5a073cc
test to verify that the problem still exists - unfortunately
kerubistan/kerub,K0zka/kerub,kerubistan/kerub,K0zka/kerub,K0zka/kerub,kerubistan/kerub
src/test/kotlin/com/github/kerubistan/kerub/jackson/JacksonFuckIT.kt
src/test/kotlin/com/github/kerubistan/kerub/jackson/JacksonFuckIT.kt
package com.github.kerubistan.kerub.jackson import com.fasterxml.jackson.databind.ObjectMapper import com.fasterxml.jackson.module.kotlin.KotlinModule import org.junit.Test import kotlin.test.assertEquals import kotlin.test.assertNotNull import kotlin.test.assertTrue class JacksonFuckIT { data class Something(val l...
apache-2.0
Kotlin
8e85f10e9590233fad1e6ebd3f1b6ec1a39bea4d
add tests on JwtUserService
WeAreFrancis/auth-service,WeAreFrancis/auth-service,WeAreFrancis/auth-service
src/test/kotlin/com/wearefrancis/auth/security/JwtUserServiceTest.kt
src/test/kotlin/com/wearefrancis/auth/security/JwtUserServiceTest.kt
package com.wearefrancis.auth.security import com.nhaarman.mockito_kotlin.verify import com.nhaarman.mockito_kotlin.whenever import com.wearefrancis.auth.domain.User import com.wearefrancis.auth.repository.UserRepository import org.assertj.core.api.Assertions.assertThat import org.junit.Assert.fail import org.junit.Be...
apache-2.0
Kotlin
9174f5d44feca7ac44c654e3bed2fe138a4c77e4
refactor #732 Add empty line.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
app/src/main/java/jp/toastkid/yobidashi/pdf/PdfImageFactory.kt
app/src/main/java/jp/toastkid/yobidashi/pdf/PdfImageFactory.kt
package jp.toastkid.yobidashi.pdf import android.graphics.Bitmap import android.graphics.pdf.PdfRenderer /** * PDF content image factory. This class can use only Android L and upper L. * * @author toastkidjp */ class PdfImageFactory { /** * Invoke action. * * @param currentPage current PDF pag...
package jp.toastkid.yobidashi.pdf import android.graphics.Bitmap import android.graphics.pdf.PdfRenderer /** * PDF content image factory. This class can use only Android L and upper L. * * @author toastkidjp */ class PdfImageFactory { /** * Invoke action. * * @param currentPage current PDF pag...
epl-1.0
Kotlin
da1e3b31ce0fe1075d47f83cb992ff4dd721685a
Add contributes into the state and update documentation
KotlinNLP/SimpleDNN
src/kotlin/com/kotlinnlp/simplednn/core/neuralprocessor/recurrent/NNSequence.kt
src/kotlin/com/kotlinnlp/simplednn/core/neuralprocessor/recurrent/NNSequence.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
0950097a9a9402d53fb48d33a2fb61b27e3c05e2
Fix Kotlin HOME path
fwcd/kotlin-language-server,fwcd/kotlin-language-server,fwcd/kotlin-language-server
shared/src/main/kotlin/org/javacs/kt/classpath/KotlinCliClassPathResolver.kt
shared/src/main/kotlin/org/javacs/kt/classpath/KotlinCliClassPathResolver.kt
package org.javacs.kt.classpath import java.nio.file.Path import java.nio.file.Files import java.util.stream.Collectors import org.javacs.kt.util.findCommandOnPath /** Tries to find the Kotlin command line compiler's libraries. */ internal class KotlinCliClassPathResolver(private val libDir: Path) : ClassPathResolver...
package org.javacs.kt.classpath import java.nio.file.Path import java.nio.file.Files import java.util.stream.Collectors import org.javacs.kt.util.findCommandOnPath /** Tries to find the Kotlin command line compiler's libraries. */ internal class KotlinCliClassPathResolver(private val libDir: Path) : ClassPathResolver...
mit
Kotlin
0a9596cbb6f223dafc34f28b1e250b2bf7265473
Test disposables handler
DroidsOnRoids/DroidsMap,DroidsOnRoids/DroidsMap
app/src/test/java/pl/droidsonroids/droidsmap/DisposableHandlerTest.kt
app/src/test/java/pl/droidsonroids/droidsmap/DisposableHandlerTest.kt
package pl.droidsonroids.droidsmap import io.reactivex.disposables.Disposables import org.junit.Before import org.junit.Test import pl.droidsonroids.droidsmap.base.DisposableHandler class DisposableHandlerTest { lateinit var handler: DisposableHandler @Before fun setUp() { handler = DisposableHa...
mit
Kotlin
0fa5995a47825b1325225ba5d06abdee683cbea7
Update to Android-Components 98.0.20220121190111.
mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android
buildSrc/src/main/java/AndroidComponents.kt
buildSrc/src/main/java/AndroidComponents.kt
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION = "98.0.20220121190111" }
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION = "98.0.20220121045448" }
mpl-2.0
Kotlin
e5196139db6e657cff9814807f1ccb82698bfd1f
Update to Android-Components 96.0.20211111190349.
mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android
buildSrc/src/main/java/AndroidComponents.kt
buildSrc/src/main/java/AndroidComponents.kt
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION = "96.0.20211111190349" }
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION = "96.0.20211111143126" }
mpl-2.0
Kotlin
36bbe74dc653fb94c2ef31a3ba12e06d3b58e225
Update to Android-Components 107.0.20220929190135.
mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android
buildSrc/src/main/java/AndroidComponents.kt
buildSrc/src/main/java/AndroidComponents.kt
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION = "107.0.20220929190135" }
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION = "107.0.20220929143100" }
mpl-2.0
Kotlin
a9e1ad21571ee9c13f118ce2f39cb6e88b9005c2
Fix compile error
sirixdb/sirix,sirixdb/sirix,sirixdb/sirix,sirixdb/sirix
bundles/sirix-kotlin-cli/src/main/kotlin/org/sirix/cli/commands/JsonCreate.kt
bundles/sirix-kotlin-cli/src/main/kotlin/org/sirix/cli/commands/JsonCreate.kt
package org.sirix.cli.commands import com.google.gson.stream.JsonReader import org.sirix.access.DatabaseConfiguration import org.sirix.access.Databases import org.sirix.api.json.JsonNodeTrx import org.sirix.cli.CliOptions import org.sirix.service.json.shredder.JsonShredder import java.nio.file.Paths class JsonCreate(...
package org.sirix.cli.commands import com.google.gson.stream.JsonReader import org.sirix.access.DatabaseConfiguration import org.sirix.access.Databases import org.sirix.cli.CliOptions import org.sirix.service.json.shredder.JsonShredder import java.nio.file.Paths class JsonCreate(options: CliOptions, private val dataO...
bsd-3-clause
Kotlin
1a7d22042fe1856bcb06de8f9eb15237c27d5969
Make the top-level properties JvmStatic
grpc/grpc-kotlin,grpc/grpc-kotlin,grpc/grpc-kotlin
compiler/src/main/java/io/grpc/kotlin/generator/TopLevelConstantsGenerator.kt
compiler/src/main/java/io/grpc/kotlin/generator/TopLevelConstantsGenerator.kt
package io.grpc.kotlin.generator import com.google.protobuf.Descriptors import com.squareup.kotlinpoet.FunSpec import com.squareup.kotlinpoet.ParameterizedTypeName.Companion.parameterizedBy import com.squareup.kotlinpoet.PropertySpec import com.squareup.kotlinpoet.asTypeName import io.grpc.MethodDescriptor import io.g...
package io.grpc.kotlin.generator import com.google.protobuf.Descriptors import com.squareup.kotlinpoet.FunSpec import com.squareup.kotlinpoet.ParameterizedTypeName.Companion.parameterizedBy import com.squareup.kotlinpoet.PropertySpec import com.squareup.kotlinpoet.asTypeName import io.grpc.MethodDescriptor import io.g...
apache-2.0
Kotlin
9bacaedfe19038e93bab0ada08f08d523497a0fc
fix reading files in js; introduce idea-friendly assertEquals to show diff in UI
valich/intellij-markdown,valich/intellij-markdown,valich/intellij-markdown,valich/intellij-markdown
src/jsTest/kotlin/org/intellij/markdown/MarkdownTestUtilJs.kt
src/jsTest/kotlin/org/intellij/markdown/MarkdownTestUtilJs.kt
package org.intellij.markdown import kotlin.test.assertTrue private val intellijMarkdownHome: Lazy<String> = lazy { var dir = (js("process.cwd()") as String) while (!js("require('fs').existsSync")("$dir/README.md") as Boolean) { dir = dir.substringBeforeLast('/', "") if (dir.isEmpty()) { ...
package org.intellij.markdown import kotlin.test.assertEquals private val intellijMarkdownHome: Lazy<String> = lazy { var dir = (js("process.cwd()") as String) while (!js("require('fs').existsSync")("$dir/README.md") as Boolean) { dir = dir.substringBeforeLast('/', "") if (dir.isEmpty()) { ...
apache-2.0
Kotlin
721b6dbb9ebd28dc594f1e8d1ba8d6a6a7cd7187
Add IMG_format_pvrtc Vulkan extension
LWJGL/lwjgl3,code-disaster/lwjgl3,LWJGL/lwjgl3,code-disaster/lwjgl3,TheMrMilchmann/lwjgl3,bsmr-java/lwjgl3,TheMrMilchmann/lwjgl3,LWJGL-CI/lwjgl3,bsmr-java/lwjgl3,code-disaster/lwjgl3,LWJGL/lwjgl3,bsmr-java/lwjgl3,LWJGL/lwjgl3,LWJGL-CI/lwjgl3,LWJGL-CI/lwjgl3,TheMrMilchmann/lwjgl3,TheMrMilchmann/lwjgl3,code-disaster/lwjg...
modules/templates/src/main/kotlin/org/lwjgl/vulkan/templates/IMG_format_pvrtc.kt
modules/templates/src/main/kotlin/org/lwjgl/vulkan/templates/IMG_format_pvrtc.kt
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license */ package org.lwjgl.vulkan.templates import org.lwjgl.generator.* import org.lwjgl.vulkan.* val IMG_format_pvrtc = "IMGFormatPVRTC".nativeClassVK("IMG_format_pvrtc", postfix = IMG) { documentation = "The $templateName ext...
bsd-3-clause
Kotlin
3e8846b00b649d716d7d4556b69beaf8a20355d2
Fix InventoryGrid delay
RuneSuite/client,RuneSuite/client
plugins/src/main/java/org/runestar/client/plugins/inventorygrid/InventoryGrid.kt
plugins/src/main/java/org/runestar/client/plugins/inventorygrid/InventoryGrid.kt
package org.runestar.client.plugins.inventorygrid import org.runestar.client.api.forms.RgbaForm import org.runestar.client.api.util.DisposablePlugin import org.runestar.client.game.api.live.LiveCanvas import org.runestar.client.game.api.live.Components import org.runestar.client.game.raw.CLIENT import org.runestar.cli...
package org.runestar.client.plugins.inventorygrid import org.runestar.client.api.forms.RgbaForm import org.runestar.client.api.util.DisposablePlugin import org.runestar.client.game.api.live.LiveCanvas import org.runestar.client.game.api.live.Components import org.runestar.client.plugins.spi.PluginSettings class Inven...
mit
Kotlin
2faa496c2cb68c66966c1c4f22641aef3763b1a2
Fix indenting issues reported by ktlint
ids1024/whitakers-words-android,ids1024/whitakers-words-android
src/main/kotlin/WhitakersWords.kt
src/main/kotlin/WhitakersWords.kt
package com.ids1024.whitakerswords import android.os.Bundle import android.support.v7.app.AppCompatActivity import kotlinx.android.synthetic.main.main.drawer_layout import kotlinx.android.synthetic.main.main.nav_view class WhitakersWords : AppCompatActivity() { public override fun onCreate(savedInstanceState: Bu...
package com.ids1024.whitakerswords import android.os.Bundle import android.support.v7.app.AppCompatActivity import kotlinx.android.synthetic.main.main.drawer_layout import kotlinx.android.synthetic.main.main.nav_view class WhitakersWords : AppCompatActivity() { public override fun onCreate(savedInstanceState: Bu...
mit
Kotlin
5844de988064112f2ff23a425b4d1b8da5e08087
Clean up delimiter
kvakil/venus,kvakil/venus,kvakil/venus
src/main/kotlin/assembler/Lexer.kt
src/main/kotlin/assembler/Lexer.kt
package venus.assembler object Lexer { private val DELIMITERS = listOf('(', ')', ',') private fun stripComment(line: String) = line.replaceAfter('#', "").replace("#", "") private fun cleanForLabel(line: String) = stripComment(line).trim() private fun getLabel(line: String) = cleanForLabel(line).substr...
package venus.assembler object Lexer { private fun stripComment(line: String) = line.replaceAfter('#', "").replace("#", "") private fun cleanForLabel(line: String) = stripComment(line).trim() private fun getLabel(line: String) = cleanForLabel(line).substringBefore(':', "") private fun stripLabel(line: ...
mit
Kotlin
a17c7fa484acfafbf9cf6c9be13db90c707b2747
align argument names with impl
thetric/ilias-downloader
src/main/kotlin/com/github/thetric/iliasdownloader/cli/console/ConsoleService.kt
src/main/kotlin/com/github/thetric/iliasdownloader/cli/console/ConsoleService.kt
package com.github.thetric.iliasdownloader.cli.console /** * Simpler interface to the console. */ interface ConsoleService { fun readLine(envVar: String, prompt: String): String fun readPassword(envVar: String, prompt: String): String }
package com.github.thetric.iliasdownloader.cli.console /** * Simpler interface to the console. */ interface ConsoleService { fun readLine(systemProp: String, prompt: String): String fun readPassword(systemProp: String, prompt: String): String }
mit
Kotlin
1ac2d2a561ab2833278ccd19ff1b47c0472d75d2
Update InviteCommandData
Homes-MinecraftServerMod/Homes,Homes-MinecraftServerMod/Homes
src/test/java/com/masahirosaito/spigot/homes/tests/commands/InviteCommandData.kt
src/test/java/com/masahirosaito/spigot/homes/tests/commands/InviteCommandData.kt
package com.masahirosaito.spigot.homes.tests.commands import com.masahirosaito.spigot.homes.Homes import org.bukkit.OfflinePlayer object InviteCommandData : CommandData { override fun name(): String = "invite" override fun usages(): List<Pair<String, String>> = listOf( "/home invite" to "Accept ...
package com.masahirosaito.spigot.homes.tests.commands import com.masahirosaito.spigot.homes.Homes import org.bukkit.OfflinePlayer object InviteCommandData : CommandData { override fun name(): String = "invite" override fun usages(): List<Pair<String, String>> = listOf( "/home invite" to "Accept ...
apache-2.0
Kotlin
e4ad1e73426fcc77c65d6d7f5204ff55f6fb6ddc
refactor #442 Move to constant.
toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/search/favorite/FavoriteSearchActivity.kt
app/src/main/java/jp/toastkid/yobidashi/search/favorite/FavoriteSearchActivity.kt
package jp.toastkid.yobidashi.search.favorite import android.content.Context import android.content.Intent import android.os.Bundle import android.view.MenuItem import androidx.annotation.LayoutRes import androidx.annotation.StringRes import androidx.appcompat.app.AppCompatActivity import androidx.databinding.DataBind...
package jp.toastkid.yobidashi.search.favorite import android.content.Context import android.content.Intent import android.os.Bundle import android.view.MenuItem import androidx.annotation.LayoutRes import androidx.annotation.StringRes import androidx.appcompat.app.AppCompatActivity import androidx.databinding.DataBind...
epl-1.0
Kotlin
5437d0e81a760cc810037225ca1be5fbaffeaa94
Remove temp values in factory
tipsy/javalin,tipsy/javalin,tipsy/javalin,tipsy/javalin
src/main/java/io/javalin/embeddedserver/jetty/EmbeddedJettyFactory.kt
src/main/java/io/javalin/embeddedserver/jetty/EmbeddedJettyFactory.kt
/* * Javalin - https://javalin.io * Copyright 2017 David Åse * Licensed under Apache 2.0: https://github.com/tipsy/javalin/blob/master/LICENSE */ package io.javalin.embeddedserver.jetty import io.javalin.core.ErrorMapper import io.javalin.core.ExceptionMapper import io.javalin.core.JavalinServlet import io.javali...
/* * Javalin - https://javalin.io * Copyright 2017 David Åse * Licensed under Apache 2.0: https://github.com/tipsy/javalin/blob/master/LICENSE */ package io.javalin.embeddedserver.jetty import io.javalin.core.ErrorMapper import io.javalin.core.ExceptionMapper import io.javalin.core.JavalinServlet import io.javali...
apache-2.0
Kotlin
57348d7e46450a1b3347775215ee1aa2a6bd1c4b
修复有道APP Key提示问题
YiiGuxing/TranslationPlugin,YiiGuxing/TranslationPlugin
src/main/kotlin/cn/yiiguxing/plugin/translate/TranslationComponent.kt
src/main/kotlin/cn/yiiguxing/plugin/translate/TranslationComponent.kt
package cn.yiiguxing.plugin.translate import cn.yiiguxing.plugin.translate.trans.TKK import cn.yiiguxing.plugin.translate.trans.YoudaoTranslator import cn.yiiguxing.plugin.translate.util.show import com.intellij.notification.* import com.intellij.openapi.components.AbstractProjectComponent import com.intellij.openapi....
package cn.yiiguxing.plugin.translate import cn.yiiguxing.plugin.translate.trans.TKK import cn.yiiguxing.plugin.translate.trans.YoudaoTranslator import cn.yiiguxing.plugin.translate.util.show import com.intellij.notification.* import com.intellij.openapi.components.AbstractProjectComponent import com.intellij.openapi....
mit
Kotlin
1e38a3641b413b918ae1313d7331ec60610bcdd9
Update plugin com.diffplug.spotless to v6.7.1 (#848)
domaframework/doma,domaframework/doma
settings.gradle.kts
settings.gradle.kts
pluginManagement { repositories { gradlePluginPortal() } plugins { id("com.diffplug.eclipse.apt") version "3.36.2" id("com.diffplug.spotless") version "6.7.1" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" id("net.researchgate.release") version "2.8.1" ...
pluginManagement { repositories { gradlePluginPortal() } plugins { id("com.diffplug.eclipse.apt") version "3.36.2" id("com.diffplug.spotless") version "6.7.0" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" id("net.researchgate.release") version "2.8.1" ...
apache-2.0
Kotlin
6b2f3408135b75aeb1216a139af437509335c6a6
Use decodeFromString
thuytrinh/KotlinPlayground,thuytrinh/KotlinPlayground
src/main/kotlin/JsonPlayground.kt
src/main/kotlin/JsonPlayground.kt
import kotlinx.serialization.Serializable import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json @Serializable data class Event( val title: String, val beginDateTime: String, val endDateTime: String ) fun main() { val expected = Event( title = "Team retro", beginDateTime = ...
import kotlinx.serialization.Serializable import kotlinx.serialization.encodeToString import kotlinx.serialization.json.Json @Serializable data class Event( val title: String, val beginDateTime: String, val endDateTime: String ) fun main() { val json = Json.encodeToString( Event( title = "Team retro...
mit
Kotlin
ad958d4bcb1f60bdbb7ef83865d0367cd81c19db
refactor #506 Remove unused field.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/media/image/preview/Adapter.kt
app/src/main/java/jp/toastkid/yobidashi/media/image/preview/Adapter.kt
/* * Copyright (c) 2019 toastkidjp. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompany this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html. */ package jp....
/* * Copyright (c) 2019 toastkidjp. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompany this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html. */ package jp....
epl-1.0
Kotlin
3cfecb9b80fe05f76103c0b8ae9bb0829d2481e9
update todos
bibaev/stream-debugger-plugin,bibaev/stream-debugger-plugin
src/main/java/com/intellij/debugger/streams/psi/impl/KotlinChainTransformerImpl.kt
src/main/java/com/intellij/debugger/streams/psi/impl/KotlinChainTransformerImpl.kt
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
Kotlin
ec9bd2fada9b149f69b758bd1eb474e7ef3a6e01
Bump webjars-locator-core from 0.46 to 0.47 (#2495)
ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor
ktor-features/ktor-webjars/build.gradle.kts
ktor-features/ktor-webjars/build.gradle.kts
description = "" kotlin { sourceSets { val jvmMain by getting { dependencies { api("org.webjars:webjars-locator-core:0.47") } } val jvmTest by getting { dependencies { api("org.webjars:jquery:3.3.1") } }...
description = "" kotlin { sourceSets { val jvmMain by getting { dependencies { api("org.webjars:webjars-locator-core:0.46") } } val jvmTest by getting { dependencies { api("org.webjars:jquery:3.3.1") } }...
apache-2.0
Kotlin
b4f62c214aedf10983b1252a1b840f9c8fe1fcb6
Add notification helper
shiraji/find-pull-request
src/com/github/shiraji/findpullrequest/helper/FindPullRequestHelper.kt
src/com/github/shiraji/findpullrequest/helper/FindPullRequestHelper.kt
package com.github.shiraji.findpullrequest.helper import com.intellij.notification.Notification import com.intellij.notification.NotificationType import com.intellij.notification.Notifications class FindPullRequestHelper { companion object { fun showInfoNotification(message: String) = Noti...
apache-2.0
Kotlin
27f29a58ac9908d99ded3c122184b78fb31c4a26
fix npe
yschimke/oksocial,yschimke/oksocial
src/main/kotlin/com/baulsupp/oksocial/services/facebook/model/model.kt
src/main/kotlin/com/baulsupp/oksocial/services/facebook/model/model.kt
package com.baulsupp.oksocial.services.facebook.model data class Field(val name: String, val description: String?, val type: String?) data class Metadata(val type: String, val fields: List<Field>, val connections: Map<String, String>) open class Result(open val metadata: Metadata? = null) data class Paging(val curs...
package com.baulsupp.oksocial.services.facebook.model data class Field(val name: String, val description: String, val type: String) data class Metadata(val type: String, val fields: List<Field>, val connections: Map<String, String>) open class Result(open val metadata: Metadata? = null) data class Paging(val cursor...
apache-2.0
Kotlin
7f5d3ecc1d36b09edfd151bac4917dd322be8e13
Fix up BooleanPref for the new property setup.
jguerinet/android-utils,jguerinet/Suitcase,jguerinet/android-utils,jguerinet/Suitcase
prefs/src/main/java/com/guerinet/suitcase/prefs/BooleanPref.kt
prefs/src/main/java/com/guerinet/suitcase/prefs/BooleanPref.kt
/* * Copyright 2016-2018 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/* * Copyright 2016-2018 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
apache-2.0
Kotlin
163bd8d4fb70f2a262aefeb61f8660f9d676e8f5
remove outdated exception
emufog/emufog
src/main/kotlin/emufog/backbone/BackboneClassifier.kt
src/main/kotlin/emufog/backbone/BackboneClassifier.kt
/* * MIT License * * Copyright (c) 2018 emufog contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, co...
/* * MIT License * * Copyright (c) 2018 emufog contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, co...
mit
Kotlin
2b12f36b489d846d7ad48c0f4ab19fd0e72fcbcb
Apply body font to checkbox prompt, part of #1761
MaTriXy/material-dialogs,afollestad/material-dialogs
core/src/main/java/com/afollestad/materialdialogs/checkbox/DialogCheckboxExt.kt
core/src/main/java/com/afollestad/materialdialogs/checkbox/DialogCheckboxExt.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
45a9c11571e523966b58ebb5806fb21b656f4cb7
Add DatePicker ability to set maxDate (#1774)
afollestad/material-dialogs,MaTriXy/material-dialogs
datetime/src/main/java/com/afollestad/materialdialogs/datetime/DatePickerExt.kt
datetime/src/main/java/com/afollestad/materialdialogs/datetime/DatePickerExt.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
6a499cc687e9c0e5d730489d7cd55405d81473c6
remove unnecessary `@JvmDefault` annotation
GlobalTechnology/android-gto-support,CruGlobal/android-gto-support,CruGlobal/android-gto-support
gto-support-db-stream/src/main/java/org/ccci/gto/android/common/db/StreamDao.kt
gto-support-db-stream/src/main/java/org/ccci/gto/android/common/db/StreamDao.kt
package org.ccci.gto.android.common.db import com.annimon.stream.Stream /** * Stream DAO interface relying on backwards compatible Lightweight Stream API. */ interface StreamDao : Dao { fun <T : Any> streamCompat(query: Query<T>): Stream<T> = Stream.of(get(query)) object StreamHelper { @JvmStatic ...
package org.ccci.gto.android.common.db import com.annimon.stream.Stream /** * Stream DAO interface relying on backwards compatible Lightweight Stream API. */ interface StreamDao : Dao { @JvmDefault fun <T : Any> streamCompat(query: Query<T>): Stream<T> = Stream.of(get(query)) object StreamHelper { ...
mit
Kotlin
47909ec782159bbf6f6619e44bdb57285af0e638
Fix SimpleBodySerializer: now it can handle empty types
AcapellaSoft/Aconite,AcapellaSoft/Aconite
aconite-core/src/io/aconite/serializers/SimpleBodySerializer.kt
aconite-core/src/io/aconite/serializers/SimpleBodySerializer.kt
package io.aconite.serializers import io.aconite.BodyBuffer import io.aconite.BodySerializer import io.aconite.Buffer import kotlin.reflect.KAnnotatedElement import kotlin.reflect.KType class SimpleBodySerializer : BodySerializer { object EmptySerializer : BodySerializer { override fun serialize(obj: Any?...
package io.aconite.serializers import io.aconite.BodyBuffer import io.aconite.BodySerializer import io.aconite.Buffer import kotlin.reflect.KAnnotatedElement import kotlin.reflect.KType class SimpleBodySerializer: BodySerializer { object Factory: BodySerializer.Factory { override fun create(annotations: K...
mit
Kotlin
18b34c629976f7b90780c338c886ca13aadf0887
refactor #412 Delete useless function.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/search/trend/Adapter.kt
app/src/main/java/jp/toastkid/yobidashi/search/trend/Adapter.kt
/* * Copyright (c) 2019 toastkidjp. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompany this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html. */ package jp....
/* * Copyright (c) 2019 toastkidjp. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompany this distribution. * The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html. */ package jp....
epl-1.0
Kotlin
169b7c0ec1dfbb74bb085b5704efee88ac700238
remove obsolete SDK check for Context.localize
CruGlobal/android-gto-support,CruGlobal/android-gto-support,GlobalTechnology/android-gto-support
gto-support-util/src/main/kotlin/org/ccci/gto/android/common/util/content/Context.kt
gto-support-util/src/main/kotlin/org/ccci/gto/android/common/util/content/Context.kt
package org.ccci.gto.android.common.util.content import android.content.Context import android.content.res.Configuration import android.os.Build import android.os.LocaleList import androidx.annotation.StringRes import java.util.Locale import org.ccci.gto.android.common.util.os.locales fun Context.localize(vararg loca...
package org.ccci.gto.android.common.util.content import android.content.Context import android.content.res.Configuration import android.os.Build import android.os.LocaleList import androidx.annotation.StringRes import java.util.Locale import org.ccci.gto.android.common.util.os.locales fun Context.localize(vararg loca...
mit
Kotlin
e8ac9faf799d120539a60a933105d5bd3cbfdf0a
Upgrade Robolectric from 4.3.1 -> 4.4
facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco
buildSrc/src/main/java/com/facebook/fresco/buildsrc/TestDeps.kt
buildSrc/src/main/java/com/facebook/fresco/buildsrc/TestDeps.kt
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.fresco.buildsrc object TestDeps { const val assertjCore = "org.assertj:assertj-core:2.9.0" const val...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.fresco.buildsrc object TestDeps { const val assertjCore = "org.assertj:assertj-core:2.9.0" const val...
mit
Kotlin
6d4e15152d5dcdd14a796bba265840e2e1c7c691
make streaming api return a list of streaming-conferences
NiciDieNase/chaosflix,NiciDieNase/chaosflix,NiciDieNase/chaosflix,NiciDieNase/chaosflix
common/src/main/java/de/nicidienase/chaosflix/common/network/StreamingService.kt
common/src/main/java/de/nicidienase/chaosflix/common/network/StreamingService.kt
package de.nicidienase.chaosflix.common.network import de.nicidienase.chaosflix.common.entities.streaming.LiveConference import io.reactivex.Flowable import io.reactivex.Single import retrofit2.http.GET interface StreamingService { @GET("streams/v2.json") fun getStreamingConferences(): Flowable<List<LiveConf...
package de.nicidienase.chaosflix.common.network import de.nicidienase.chaosflix.common.entities.streaming.LiveConference import io.reactivex.Flowable import io.reactivex.Single import retrofit2.http.GET interface StreamingService { @GET("streams/v2.json") fun getStreamingConferences(): Flowable<LiveConferenc...
mit
Kotlin
3ab1b54e222fd82d4cb2b3c19132cad83f6997a0
Update to new version of Kotlin plugin
uqbar-project/wiki,uqbar-project/wiki,uqbar-project/wiki,uqbar-project/wiki,uqbar-project/wiki
wiki/articles/algo2.build.gradle.kts
wiki/articles/algo2.build.gradle.kts
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.6.10" jacoco } group = "ar.edu.unsam.algo2" version = "1.0-SNAPSHOT" repositories { mavenCentral() } val kotestVersion = "5.1.0" dependencies { implementation(kotlin("stdlib")) testImplementation("io.mockk...
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.5.31" jacoco } group = "ar.edu.unsam.algo2" version = "1.0-SNAPSHOT" repositories { mavenCentral() } val kotestVersion = "5.1.0" dependencies { implementation(kotlin("stdlib")) testImplementation("io.mockk...
lgpl-2.1
Kotlin
9a28a66d33401e8ca335170bb54b777f19309f69
Change error message in PortBindAlert
sph-u/failchat,sph-u/failchat,sph-u/failchat
src/main/kotlin/failchat/gui/PortBindAlert.kt
src/main/kotlin/failchat/gui/PortBindAlert.kt
package failchat.gui import failchat.FcServerInfo import javafx.application.Application import javafx.scene.control.Alert import javafx.scene.control.Alert.AlertType import javafx.stage.Stage class PortBindAlert : Application() { override fun start(primaryStage: Stage) { val alert = Alert(AlertType.ERROR...
package failchat.gui import failchat.FcServerInfo import javafx.application.Application import javafx.scene.control.Alert import javafx.scene.control.Alert.AlertType import javafx.stage.Stage class PortBindAlert : Application() { override fun start(primaryStage: Stage) { val alert = Alert(AlertType.ERROR...
mit
Kotlin
3d6041c77b8b354a3434cf9e09c860d36a0a41aa
Upgrade build-scan plugin for gradle build to 1.16-rc-1
robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,lsmaira/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,gradle...
buildSrc/subprojects/profiling/profiling.gradle.kts
buildSrc/subprojects/profiling/profiling.gradle.kts
import org.gradle.kotlin.dsl.plugins.precompiled.PrecompiledScriptPlugins plugins { `java-gradle-plugin` } apply(plugin = "org.gradle.kotlin.kotlin-dsl") apply<PrecompiledScriptPlugins>() dependencies { implementation("me.champeau.gradle:jmh-gradle-plugin:0.4.7") implementation("org.jsoup:jsoup:1.11.2") ...
import org.gradle.kotlin.dsl.plugins.precompiled.PrecompiledScriptPlugins plugins { `java-gradle-plugin` } apply(plugin = "org.gradle.kotlin.kotlin-dsl") apply<PrecompiledScriptPlugins>() dependencies { implementation("me.champeau.gradle:jmh-gradle-plugin:0.4.7") implementation("org.jsoup:jsoup:1.11.2") ...
apache-2.0
Kotlin
1e3a852c88f0a9cdd9e36d6b2e9cd8ee6b9a5137
Add CLI command classes
google/ide-perf,google/ide-perf
src/main/java/com/google/idea/perf/TracerCommand.kt
src/main/java/com/google/idea/perf/TracerCommand.kt
/* * Copyright 2020 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
5feea1e797379d50dd8bf0ad1ba5af3bec3aec86
fix action call
burntcookie90/RxBindingTest,burntcookie90/RxBindingTest
app/src/main/kotlin/io/dwak/boiler/retrorxbinding/Extensions.kt
app/src/main/kotlin/io/dwak/boiler/retrorxbinding/Extensions.kt
package io.dwak.boiler.retrorxbinding import android.app.Activity import android.support.v4.app.Fragment import rx.Observable import rx.functions.Action1 public fun Activity.bind<T>(from: Observable<T>, to: Action1<in T>) { from.subscribe(to) } public fun Fragment.bind<T>(from: Observable<T>, to: Action1<in T>) ...
package io.dwak.boiler.retrorxbinding import android.app.Activity import android.support.v4.app.Fragment import rx.Observable import rx.functions.Action1 public fun Activity.bind<T>(from: Observable<T>, to: Action1<in T>) { from.subscribe(Action1 { to.call(it) }) } public fun Fragment.bind<T>(from: Observable<T>...
mit
Kotlin
c8a4bfda232752e50a254ad182881dbd94246772
Remove logs
StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepik-android
app/src/main/java/org/stepik/android/view/base/receiver/DismissedNotificationReceiver.kt
app/src/main/java/org/stepik/android/view/base/receiver/DismissedNotificationReceiver.kt
package org.stepik.android.view.base.receiver import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import org.stepic.droid.analytic.Analytic import org.stepic.droid.base.App import org.stepic.droid.preferences.SharedPreferenceHelper import org.stepik.android.domain.base...
package org.stepik.android.view.base.receiver import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import org.stepic.droid.analytic.Analytic import org.stepic.droid.base.App import org.stepic.droid.preferences.SharedPreferenceHelper import org.stepik.android.domain.base...
apache-2.0
Kotlin
b92c3a918d863022d0157f8dc556b4b2ffc1a1b5
fix null callback.
anastr/SpeedView,anastr/SpeedView
speedviewlib/src/main/java/com/github/anastr/speedviewlib/util/Utils.kt
speedviewlib/src/main/java/com/github/anastr/speedviewlib/util/Utils.kt
package com.github.anastr.speedviewlib.util import com.github.anastr.speedviewlib.Gauge import com.github.anastr.speedviewlib.components.Section /** * * this Library build By **Anas Altair** * see it on [GitHub](https://github.com/anastr/SpeedView) */ /** * A callback that notifies clients when the speed has be...
package com.github.anastr.speedviewlib.util import com.github.anastr.speedviewlib.Gauge import com.github.anastr.speedviewlib.components.Section /** * * this Library build By **Anas Altair** * see it on [GitHub](https://github.com/anastr/SpeedView) */ /** * A callback that notifies clients when the speed has be...
apache-2.0
Kotlin
eac9a38cbfd2c49b06de1c81e909f3ab00bbe2e8
Improve PlaybackFeedbackChannel injection
BjoernPetersen/JMusicBot
src/main/kotlin/net/bjoernpetersen/musicbot/api/module/DefaultModule.kt
src/main/kotlin/net/bjoernpetersen/musicbot/api/module/DefaultModule.kt
package net.bjoernpetersen.musicbot.api.module import com.google.inject.AbstractModule import com.google.inject.Injector import com.google.inject.Provides import com.google.inject.Scopes import net.bjoernpetersen.musicbot.internal.auth.DefaultDatabase import net.bjoernpetersen.musicbot.internal.loader.DefaultResourceC...
package net.bjoernpetersen.musicbot.api.module import com.google.inject.AbstractModule import com.google.inject.Provides import com.google.inject.Scopes import net.bjoernpetersen.musicbot.internal.auth.DefaultDatabase import net.bjoernpetersen.musicbot.internal.loader.DefaultResourceCache import net.bjoernpetersen.mus...
mit
Kotlin
c4ad151a8ee26548914411ff0e55045f3f467fbc
Decrease the ratio of collected completion sessions for typescript, C/C++ and C#
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
plugins/stats-collector/src/com/intellij/stats/completion/CompletionLoggerInitializer.kt
plugins/stats-collector/src/com/intellij/stats/completion/CompletionLoggerInitializer.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.stats.completion import com.intellij.codeInsight.lookup.impl.LookupImpl import com.intellij.completion.settings.CompletionMLRankingSettings import com.intell...
// 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.stats.completion import com.intellij.codeInsight.lookup.impl.LookupImpl import com.intellij.completion.settings.CompletionMLRankingSettings import com.intell...
apache-2.0
Kotlin
9398a7b99fbedea615ab122375038c3dea331c73
refactor #511 Reduce redundant local variable.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte
app/src/main/java/jp/toastkid/yobidashi/editor/usecase/LinkTitleFetcherUseCase.kt
app/src/main/java/jp/toastkid/yobidashi/editor/usecase/LinkTitleFetcherUseCase.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