commit
stringlengths
40
40
old_file
stringlengths
4
236
new_file
stringlengths
4
236
old_contents
stringlengths
1
3.26k
new_contents
stringlengths
16
4.43k
subject
stringlengths
16
624
message
stringlengths
17
3.29k
lang
stringclasses
5 values
license
stringclasses
13 values
repos
stringlengths
5
91.5k
0098fe919dc797c7dcf742b20f102d0ce854f2ce
wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/spans/CaptionShortcodeSpan.kt
wordpress-shortcodes/src/main/java/org/wordpress/aztec/plugins/shortcodes/spans/CaptionShortcodeSpan.kt
package org.wordpress.aztec.plugins.shortcodes.spans class CaptionShortcodeSpan(val attrs: Map<String, String>) { var caption: String = "" }
package org.wordpress.aztec.plugins.shortcodes.spans import android.text.TextPaint import android.text.style.CharacterStyle class CaptionShortcodeSpan(val attrs: Map<String, String>) : CharacterStyle() { var caption: String = "" override fun updateDrawState(tp: TextPaint?) { } }
Make caption span a CharacterStyle
Make caption span a CharacterStyle
Kotlin
mpl-2.0
wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android
271ec56d2147fd36179eb1ed19381e95da149a38
droidbox/src/main/java/com/github/jackparisi/droidbox/architecture/model/ui/DroidNavigationController.kt
droidbox/src/main/java/com/github/jackparisi/droidbox/architecture/model/ui/DroidNavigationController.kt
package com.github.jackparisi.droidbox.architecture.model.ui import android.content.Intent import android.support.v4.app.FragmentActivity /** * Created by Giacomo Parisi on 18/07/17. * https://github.com/JackParisi */ class DroidNavigationController { fun openActivity(currentActivity: FragmentActivity, nextA...
package com.github.jackparisi.droidbox.architecture.model.ui import android.content.Intent import android.os.Bundle import android.support.v4.app.FragmentActivity /** * Created by Giacomo Parisi on 18/07/17. * https://github.com/JackParisi */ class DroidNavigationController { fun openActivity(currentActivity...
Add bundle to droid navigation (open Activity)
Add bundle to droid navigation (open Activity)
Kotlin
apache-2.0
JackParisi/DroidBox
f994562b47dada4f4537e3de4c17b1f4c1e80e59
app/core/src/main/java/com/fsck/k9/EmailAddressValidator.kt
app/core/src/main/java/com/fsck/k9/EmailAddressValidator.kt
package com.fsck.k9 import android.text.util.Rfc822Tokenizer import android.widget.AutoCompleteTextView.Validator import java.util.regex.Pattern class EmailAddressValidator : Validator { override fun fixText(invalidText: CharSequence): CharSequence = "" override fun isValid(text: CharSequence): Boolean = R...
package com.fsck.k9 import android.text.util.Rfc822Tokenizer import android.widget.AutoCompleteTextView.Validator import java.util.regex.Pattern class EmailAddressValidator : Validator { override fun fixText(invalidText: CharSequence): CharSequence = "" override fun isValid(text: CharSequence): Boolean = R...
Validate hostname part of email address according to rfc2396
Validate hostname part of email address according to rfc2396
Kotlin
apache-2.0
cketti/k-9,cketti/k-9,cketti/k-9,k9mail/k-9,k9mail/k-9,k9mail/k-9,cketti/k-9
82defd111a0b5fe51ed35def82132c570956d20a
plugins/github/src/org/jetbrains/plugins/github/pullrequest/search/GithubPullRequestSearchQueryHolderImpl.kt
plugins/github/src/org/jetbrains/plugins/github/pullrequest/search/GithubPullRequestSearchQueryHolderImpl.kt
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.plugins.github.pullrequest.search import com.intellij.openapi.Disposable import com.intellij.util.EventDispatcher import org.jetbrains.plugins.github.pullre...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package org.jetbrains.plugins.github.pullrequest.search import com.intellij.openapi.Disposable import org.jetbrains.plugins.github.ui.util.SingleValueModel internal class Github...
Use single value model for search holder
[github] Use single value model for search holder Code reuse FTW GitOrigin-RevId: bf0e7d0b1e3db3e07000273c12899687dcfbc6a3
Kotlin
apache-2.0
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...
750cf2f419301e4ed24f531ad0153a809027fb62
tools/kotlin-native-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/plugin/experimental/plugins/KotlinPlatformNativePlugin.kt
tools/kotlin-native-gradle-plugin/src/main/kotlin/org/jetbrains/kotlin/gradle/plugin/experimental/plugins/KotlinPlatformNativePlugin.kt
package org.jetbrains.kotlin.gradle.plugin.experimental.plugins import org.gradle.api.Project import org.gradle.api.tasks.SourceSet import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformImplementationPluginBase class KotlinPlatformNativePlugin : KotlinPlatformImplementationPluginBase("native") { override fun a...
package org.jetbrains.kotlin.gradle.plugin.experimental.plugins import org.gradle.api.Project import org.gradle.api.tasks.SourceSet import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformImplementationPluginBase class KotlinPlatformNativePlugin : KotlinPlatformImplementationPluginBase("native") { override fun a...
Fix MPP in the new plugin after switching to 1.2.50
[gradle-plugin] Fix MPP in the new plugin after switching to 1.2.50
Kotlin
apache-2.0
JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-nat...
a07fe214c3b6072aa9cb17acad6e44932feb7f32
detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/KtFiles.kt
detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/KtFiles.kt
package io.gitlab.arturbosch.detekt.core import org.jetbrains.kotlin.fileClasses.javaFileFacadeFqName import org.jetbrains.kotlin.psi.KtFile /** * @author Artur Bosch */ fun KtFile.unnormalizedContent(): String { val lineSeparator = this.getUserData(KtCompiler.LINE_SEPARATOR) require(lineSeparator != null) { "No...
package io.gitlab.arturbosch.detekt.core import org.jetbrains.kotlin.com.intellij.openapi.util.text.StringUtilRt import org.jetbrains.kotlin.fileClasses.javaFileFacadeFqName import org.jetbrains.kotlin.psi.KtFile /** * @author Artur Bosch */ fun KtFile.unnormalizedContent(): String { val lineSeparator = this.getU...
Use idea intern line separator replacement
Use idea intern line separator replacement
Kotlin
apache-2.0
Mauin/detekt,arturbosch/detekt,rock3r/detekt,Mauin/detekt,Mauin/detekt,arturbosch/detekt,Mauin/detekt,rock3r/detekt,MyDogTom/detekt,arturbosch/detekt,rock3r/detekt
6360319d53721ae9eab0213878a9612671888348
modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/Constants.kt
modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/Constants.kt
package com.beust.kobalt object Constants { val BUILD_FILE_NAME = "Build.kt" val BUILD_FILE_DIRECTORY = "kobalt/src" internal val DEFAULT_REPOS = listOf( "http://repo1.maven.org/maven2/", "https://maven-central.storage.googleapis.com/", "https://repository.jboss.org/nex...
package com.beust.kobalt object Constants { val BUILD_FILE_NAME = "Build.kt" val BUILD_FILE_DIRECTORY = "kobalt/src" internal val DEFAULT_REPOS = listOf( "http://repo1.maven.org/maven2/", "https://maven-central.storage.googleapis.com/", "https://repository.jboss.org/nex...
Add jitpack to the default repos.
Add jitpack to the default repos.
Kotlin
apache-2.0
cbeust/kobalt,evanchooly/kobalt,ethauvin/kobalt,cbeust/kobalt,ethauvin/kobalt,evanchooly/kobalt,ethauvin/kobalt,evanchooly/kobalt,ethauvin/kobalt,cbeust/kobalt,evanchooly/kobalt
fe7119398a20aa9a960d4cea7bb6ce2e652bcd02
src/main/kotlin/com/kotlinnlp/simplednn/helpers/Evaluator.kt
src/main/kotlin/com/kotlinnlp/simplednn/helpers/Evaluator.kt
/* Copyright 2019-present The KotlinNLP Authors. All Rights Reserved. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, you can obtain one at http://mozilla.org/MPL/2.0/. * ------------------------------------------...
/* Copyright 2019-present The KotlinNLP Authors. All Rights Reserved. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, you can obtain one at http://mozilla.org/MPL/2.0/. * ------------------------------------------...
Replace the examples list with an iterable
Replace the examples list with an iterable
Kotlin
mpl-2.0
KotlinNLP/SimpleDNN
69dcbd34abbee2d0751ae74dd3eff175e380526e
subprojects/docs/src/snippets/testing/testReport/kotlin/build.gradle.kts
subprojects/docs/src/snippets/testing/testReport/kotlin/build.gradle.kts
// tag::test-report[] val testReportData by configurations.creating { isCanBeResolved = true isCanBeConsumed = false attributes { attribute(Category.CATEGORY_ATTRIBUTE, objects.named<Category>(Category.DOCUMENTATION)) attribute(DocsType.DOCS_TYPE_ATTRIBUTE, objects.named<DocsType>("test-repo...
plugins { // because this snippet is used in TestReportIntegrationTest which rewrites build files for different JUnit flavors java } // tag::test-report[] val testReportData by configurations.creating { isCanBeResolved = true isCanBeConsumed = false attributes { attribute(Category.CATEGORY_...
Fix inconsistency between groovy and kotlin snippet
Fix inconsistency between groovy and kotlin snippet
Kotlin
apache-2.0
gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,grad...
ed59491c0c3217586cbfde84957b22443bf6e60e
vok-framework-v10-vokdb/build.gradle.kts
vok-framework-v10-vokdb/build.gradle.kts
dependencies { compile(project(":vok-framework")) compile(project(":vok-db")) compile(project(":vok-util-vaadin10")) testCompile("com.github.mvysny.dynatest:dynatest-engine:${properties["dynatest_version"]}") testCompile("org.slf4j:slf4j-simple:${properties["slf4j_version"]}") testCompile("com...
dependencies { compile(project(":vok-framework")) compile(project(":vok-db")) compile(project(":vok-util-vaadin10")) testCompile("com.github.mvysny.dynatest:dynatest-engine:${properties["dynatest_version"]}") testCompile("org.slf4j:slf4j-simple:${properties["slf4j_version"]}") testCompile("com...
Remove unnecessary test deps from vok-framework-v10-vokdb
Remove unnecessary test deps from vok-framework-v10-vokdb
Kotlin
mit
mvysny/vaadin-on-kotlin,mvysny/vaadin-on-kotlin,mvysny/vaadin-on-kotlin,mvysny/vaadin-on-kotlin
124bd44e90718e4b80767fc26880fb0885650866
src/main/java/org/purescript/psi/imports/ImportedValueReference.kt
src/main/java/org/purescript/psi/imports/ImportedValueReference.kt
package org.purescript.psi.imports import com.intellij.psi.PsiElementResolveResult.createResults import com.intellij.psi.PsiNamedElement import com.intellij.psi.PsiReferenceBase import com.intellij.psi.ResolveResult class ImportedValueReference(element: PSImportedValue) : PsiReferenceBase.Poly<PSImportedValue>( e...
package org.purescript.psi.imports import com.intellij.psi.PsiElementResolveResult.createResults import com.intellij.psi.PsiNamedElement import com.intellij.psi.PsiReferenceBase import com.intellij.psi.ResolveResult class ImportedValueReference(element: PSImportedValue) : PsiReferenceBase.Poly<PSImportedValue>( e...
Implement navigation between class members and imported values
Implement navigation between class members and imported values
Kotlin
bsd-3-clause
intellij-purescript/intellij-purescript,intellij-purescript/intellij-purescript
15cc64da72110d5000026b1712320d81c6d0037d
ee-schkola_des/src/main/kotlin/ee/schkola/SchkolaGenerator.kt
ee-schkola_des/src/main/kotlin/ee/schkola/SchkolaGenerator.kt
package ee.schkola import ee.design.gen.go.DesignGoGenerator import ee.lang.integ.dPath fun main(args: Array<String>) { //val kotlinGenerator = DesignKotlinGenerator(Schkola) val goGenerator = DesignGoGenerator(Schkola) goGenerator.generate(dPath) //val typeScriptGenerator = DesignTypeScriptGenerator(...
package ee.schkola import ee.design.gen.go.DesignGoGenerator import ee.design.gen.kt.DesignKotlinGenerator import ee.lang.integ.dPath fun main(args: Array<String>) { //val generator = DesignKotlinGenerator(Schkola) val generator = DesignGoGenerator(Schkola) generator.generate(dPath) //val typeScriptGe...
Work on Swagger To Model converter
Work on Swagger To Model converter
Kotlin
apache-2.0
eugeis/ee-schkola,eugeis/ee-schkola,eugeis/ee-schkola,eugeis/ee-schkola
575b545bdec85b9d5bd360d737c88333bd5c7001
src/main/java/com/gitlab/artismarti/tinbo/notes/NoteEntry.kt
src/main/java/com/gitlab/artismarti/tinbo/notes/NoteEntry.kt
package com.gitlab.artismarti.tinbo.notes import com.gitlab.artismarti.tinbo.common.Entry /** * @author artur */ class NoteEntry(val message: String = "") : Entry() { override fun compareTo(other: Entry): Int { if (other !is NoteEntry) return 1 return message.compareTo(other.message) } override fun toStrin...
package com.gitlab.artismarti.tinbo.notes import com.gitlab.artismarti.tinbo.common.Entry /** * @author artur */ class NoteEntry(val message: String = "") : Entry() { override fun compareTo(other: Entry): Int { return 1 } override fun toString(): String { return "$message" } }
Remove sorting of notes in list command
Remove sorting of notes in list command
Kotlin
apache-2.0
arturbosch/TiNBo,arturbosch/TiNBo,arturbosch/TiNBo
b8f190b617bcf2cdfdc81f268627615eb8728fa9
app/src/main/java/org/mozilla/focus/activity/EraseAndOpenShortcutActivity.kt
app/src/main/java/org/mozilla/focus/activity/EraseAndOpenShortcutActivity.kt
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.mozilla.focus.activity import android.app.Activity import android.content.Intent import android.os.Bu...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.mozilla.focus.activity import android.app.Activity import android.content.Intent import android.os.Bu...
Fix leaving blank Activity on back stack.
Fix leaving blank Activity on back stack. When you use the "Erase and Open" shortcut to open the app, the blank EraseAndOpenShortcutActivity should not remain on the back stack.
Kotlin
mpl-2.0
mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android
c82dee5e7aa8ced12906875b7f44ff7b7671eacb
telegram-bot-api/src/main/kotlin/com/github/telegram/domain/Update.kt
telegram-bot-api/src/main/kotlin/com/github/telegram/domain/Update.kt
package com.github.telegram.domain import com.google.gson.annotations.SerializedName as Name /** * This object represents an incoming update. * Only *one* of the optional parameters can be present in any given update. * * @property updateId The update‘s unique identifier. * Update identifiers start from ...
package com.github.telegram.domain import com.google.gson.annotations.SerializedName as Name /** * This object represents an incoming update. * Only *one* of the optional parameters can be present in any given update. * * @property updateId The update‘s unique identifier. * Update identifiers start from ...
Add more detailed exception message.
Add more detailed exception message.
Kotlin
mit
denzelby/telegram-bot-bumblebee,fare1990/telegram-bot-bumblebee,fare1990/telegram-bot-bumblebee,fare1990/telegram-bot-bumblebee
ba00043836754b981edc79ae42859493938dc92e
droidbox/src/main/java/com/github/jackparisi/droidbox/utility/ScreenUtils.kt
droidbox/src/main/java/com/github/jackparisi/droidbox/utility/ScreenUtils.kt
package com.github.jackparisi.droidbox.utility import android.content.Context import android.util.TypedValue /** * Created by Giacomo Parisi on 21/08/17. * https://github.com/JackParisi */ fun dpToPx(dp: Float, context: Context): Float = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dp, context.resource...
package com.github.jackparisi.droidbox.utility import android.content.Context import android.util.TypedValue /** * Created by Giacomo Parisi on 21/08/17. * https://github.com/JackParisi */ /** * * Convert the float value for dp to pixel * * @param dp The value in dp * @param context The context object for ac...
Add docs for screen utils
Add docs for screen utils
Kotlin
apache-2.0
JackParisi/DroidBox
d60c96d639a8bf90fc2ebd07bcbfbd145afe083a
subprojects/docs/src/samples/userguide/tasks/addRules/kotlin/build.gradle.kts
subprojects/docs/src/samples/userguide/tasks/addRules/kotlin/build.gradle.kts
// tag::all[] // tag::task-rule[] tasks.addRule("Pattern: ping<ID>") { val taskName = this if (startsWith("ping")) { tasks.register(taskName) { doLast { println("Pinging: " + (taskName.replace("ping", ""))) } } } } // end::task-rule[] tasks.register("...
// tag::all[] // tag::task-rule[] tasks.addRule("Pattern: ping<ID>") { val taskName = this if (startsWith("ping")) { task(taskName) { doLast { println("Pinging: " + (taskName.replace("ping", ""))) } } } } // end::task-rule[] task("groupPing") { de...
Revert addRule sample to eager API
Revert addRule sample to eager API
Kotlin
apache-2.0
gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,...
d724f53ab2c612518e795e85a033303acc985aab
example/kotlin/build.gradle.kts
example/kotlin/build.gradle.kts
import nu.studer.gradle.rocker.RockerConfig plugins { id("nu.studer.rocker") version "2.1" id("java") } repositories { jcenter() } val rockerVersion by extra("1.3.0") rocker { create("main") { templateDir = file("src/rocker") outputDir = file("src/generated/rocker") isOptimiz...
plugins { id("nu.studer.rocker") version "2.1.1" id("java") } repositories { jcenter() } val rockerVersion by extra("1.3.0") rocker { create("main") { optimize.set(true) // optional templateDir.set(file("src/rocker")) outputDir.set(file("src/generated/rocker")) } }
Clean up Kotlin DSL example
Clean up Kotlin DSL example
Kotlin
apache-2.0
etiennestuder/gradle-rocker-plugin,etiennestuder/gradle-rocker-plugin,etiennestuder/gradle-rocker-plugin
6058e6c4d6a0c7b4cab4429514a73e74ffc20a6d
app/src/main/java/com/sebastian/sokolowski/auctionhunter/rest/AllegroService.kt
app/src/main/java/com/sebastian/sokolowski/auctionhunter/rest/AllegroService.kt
package com.sebastian.sokolowski.auctionhunter.rest import com.sebastian.sokolowski.auctionhunter.rest.response.Categories import com.sebastian.sokolowski.auctionhunter.rest.response.CategoryDto import com.sebastian.sokolowski.auctionhunter.rest.response.CategoryParameters import com.sebastian.sokolowski.auctionhunter...
package com.sebastian.sokolowski.auctionhunter.rest import com.sebastian.sokolowski.auctionhunter.rest.response.Categories import com.sebastian.sokolowski.auctionhunter.rest.response.CategoryDto import com.sebastian.sokolowski.auctionhunter.rest.response.CategoryParameters import com.sebastian.sokolowski.auctionhunter...
Improve searching a new offers by get only list of items.
Improve searching a new offers by get only list of items.
Kotlin
apache-2.0
sebastiansokolowski/AuctionHunter---Allegro
2a20daceda69dc12ea4d2dbd106968b0ce99fe62
ktor-server/ktor-server-netty/test/io/ktor/tests/server/netty/NettyEngineTest.kt
ktor-server/ktor-server-netty/test/io/ktor/tests/server/netty/NettyEngineTest.kt
package io.ktor.tests.server.netty import io.ktor.server.netty.* import io.ktor.server.testing.* class NettyEngineTest : EngineTestSuite<NettyApplicationEngine, NettyApplicationEngine.Configuration>(Netty) { override fun configure(configuration: NettyApplicationEngine.Configuration) { configuration.shareW...
package io.ktor.tests.server.netty import io.ktor.server.netty.* import io.ktor.server.testing.* class NettyEngineTest : EngineTestSuite<NettyApplicationEngine, NettyApplicationEngine.Configuration>(Netty) { init { enableSsl = false } override fun configure(configuration: NettyApplicationEngine.Co...
Revert "Enable Netty TLS tests"
Revert "Enable Netty TLS tests" This reverts commit 9a717845
Kotlin
apache-2.0
ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor
60c12a0e6818d42558f2c7ace177795f5157f180
app/src/main/java/org/wikipedia/commons/ImageTagsProvider.kt
app/src/main/java/org/wikipedia/commons/ImageTagsProvider.kt
package org.wikipedia.commons import io.reactivex.Observable import io.reactivex.schedulers.Schedulers import org.wikipedia.dataclient.Service import org.wikipedia.dataclient.ServiceFactory import org.wikipedia.dataclient.WikiSite import java.util.* object ImageTagsProvider { fun getImageTagsObservable(pageId: St...
package org.wikipedia.commons import io.reactivex.Observable import io.reactivex.schedulers.Schedulers import org.wikipedia.dataclient.Service import org.wikipedia.dataclient.ServiceFactory import org.wikipedia.dataclient.WikiSite import java.util.* object ImageTagsProvider { fun getImageTagsObservable(pageId: St...
Add all tags from the API calls
Add all tags from the API calls
Kotlin
apache-2.0
dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia
0f928c6c6fd405a089c82beb1aecfb0f0afb9a89
library/src/main/java/com/github/shiraji/butai/ButaiActivityLifecycleCallbacks.kt
library/src/main/java/com/github/shiraji/butai/ButaiActivityLifecycleCallbacks.kt
package com.github.shiraji.butai import android.app.Activity import android.app.Application import android.os.Bundle internal class ButaiActivityLifecycleCallbacks : Application.ActivityLifecycleCallbacks, Butai { enum class AppStatus(val isForeground: Boolean) { BACKGROUND(false), JUST_APPEARED(t...
package com.github.shiraji.butai import android.app.Activity import android.app.Application import android.os.Bundle internal class ButaiActivityLifecycleCallbacks : Application.ActivityLifecycleCallbacks, Butai { enum class AppStatus(val isForeground: Boolean) { BACKGROUND(false), JUST_APPEARED(t...
Make runningActivities 0 if it is negative number
Make runningActivities 0 if it is negative number
Kotlin
apache-2.0
shiraji/butai,shiraji/butai,shiraji/butai
b1f4406c49740863f6d4a9fb26343830f0ee4eb7
integration-test/src/jvmTest/kotlin/sample/SampleTestsJVM.kt
integration-test/src/jvmTest/kotlin/sample/SampleTestsJVM.kt
/* * Copyright 2017-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package sample import kotlinx.serialization.internal.IntSerializer import kotlin.test.Test import kotlin.test.assertEquals import kotlin.test.assertTrue class SampleTestsJVM { @Test fun testHello() {...
/* * Copyright 2017-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package sample import kotlinx.serialization.internal.IntSerializer import kotlinx.serialization.json.Json import kotlinx.serialization.* import kotlin.test.Test import kotlin.test.assertEquals import kotlin.t...
Check that kotlin-reflect.jar is not required
Check that kotlin-reflect.jar is not required
Kotlin
apache-2.0
Kotlin/kotlinx.serialization,Kotlin/kotlinx.serialization
2e7c1d856ca6296a6e785ae469db912a5acb8485
droidbox/src/main/java/com/github/jackparisi/droidbox/wrapper/DroidWrapperSettings.kt
droidbox/src/main/java/com/github/jackparisi/droidbox/wrapper/DroidWrapperSettings.kt
package com.github.jackparisi.droidbox.wrapper import android.content.Context import android.view.View import android.view.ViewGroup import com.github.jackparisi.droidbox.architecture.model.DroidViewModel /** * Created by Giacomo Parisi on 20/10/17. * https://github.com/JackParisi */ /** * * Data for the wrappe...
package com.github.jackparisi.droidbox.wrapper import android.content.Context import android.view.View import android.view.ViewGroup import com.github.jackparisi.droidbox.architecture.model.DroidViewModel /** * Created by Giacomo Parisi on 20/10/17. * https://github.com/JackParisi */ /** * * Class of date used ...
Update droid wrapper settings docs
Update droid wrapper settings docs
Kotlin
apache-2.0
JackParisi/DroidBox
9bb0a9327d99311b5fff80a4d2c9d288e7c861e9
src/main/kotlin/io/sensefly/dynamodbtos3/commandline/CommandLineParser.kt
src/main/kotlin/io/sensefly/dynamodbtos3/commandline/CommandLineParser.kt
package io.sensefly.dynamodbtos3.commandline import com.beust.jcommander.JCommander import io.sensefly.dynamodbtos3.BackupRunner import io.sensefly.dynamodbtos3.RestoreTable import org.springframework.boot.CommandLineRunner import org.springframework.context.annotation.Profile import org.springframework.stereotype.Com...
package io.sensefly.dynamodbtos3.commandline import com.beust.jcommander.JCommander import io.sensefly.dynamodbtos3.BackupRunner import io.sensefly.dynamodbtos3.RestoreTable import org.slf4j.LoggerFactory import org.springframework.boot.CommandLineRunner import org.springframework.context.annotation.Profile import org...
Add log for command line params
Add log for command line params
Kotlin
bsd-3-clause
sensefly-sa/dynamodb-to-s3,sensefly-sa/dynamodb-to-s3
c1235897df069b73bcbcd41dd2b6b0fc20490b3d
app/src/main/java/eu/kanade/tachiyomi/data/updater/github/GithubService.kt
app/src/main/java/eu/kanade/tachiyomi/data/updater/github/GithubService.kt
package eu.kanade.tachiyomi.data.updater.github import eu.kanade.tachiyomi.network.NetworkHelper import retrofit2.Retrofit import retrofit2.adapter.rxjava.RxJavaCallAdapterFactory import retrofit2.converter.gson.GsonConverterFactory import retrofit2.http.GET import uy.kohesive.injekt.Injekt import uy.kohesive.injekt.a...
package eu.kanade.tachiyomi.data.updater.github import eu.kanade.tachiyomi.network.NetworkHelper import retrofit2.Retrofit import retrofit2.converter.gson.GsonConverterFactory import retrofit2.http.GET import uy.kohesive.injekt.Injekt import uy.kohesive.injekt.api.get /** * Used to connect with the GitHub API. */ i...
Remove unused RxJavaCallAdapterFactory for app updater
Remove unused RxJavaCallAdapterFactory for app updater
Kotlin
apache-2.0
inorichi/mangafeed,inorichi/tachiyomi,inorichi/tachiyomi,inorichi/mangafeed,CarlosEsco/tachiyomi
331e31bdf2680dd2f195b8fa06bb592a2fbdceea
memento/src/main/java/com/alexstyl/specialdates/events/peopleevents/PeopleEventsUpdater.kt
memento/src/main/java/com/alexstyl/specialdates/events/peopleevents/PeopleEventsUpdater.kt
package com.alexstyl.specialdates.events.peopleevents import com.alexstyl.specialdates.events.namedays.NamedayDatabaseRefresher import io.reactivex.Observable import io.reactivex.Scheduler open class PeopleEventsUpdater(private val peopleEventsStaticEventsRefresher: PeopleEventsStaticEventsRefresher, ...
package com.alexstyl.specialdates.events.peopleevents import com.alexstyl.specialdates.events.namedays.NamedayDatabaseRefresher import io.reactivex.Observable import io.reactivex.Scheduler open class PeopleEventsUpdater(private val peopleEventsStaticEventsRefresher: PeopleEventsStaticEventsRefresher, ...
Mark events as initialised after done
Mark events as initialised after done
Kotlin
mit
alexstyl/Memento-Namedays,alexstyl/Memento-Calendar,auricgoldfinger/Memento-Namedays,alexstyl/Memento-Namedays,alexstyl/Memento-Calendar,auricgoldfinger/Memento-Namedays,alexstyl/Memento-Calendar
66417036dad015161e1e5f71e09cbf12dfc6cc02
src/io/github/sirlantis/rubymine/rubocop/RubocopBundle.kt
src/io/github/sirlantis/rubymine/rubocop/RubocopBundle.kt
package io.github.sirlantis.rubymine.rubocop import com.intellij.CommonBundle import kotlin.properties.Delegates import java.lang.ref.Reference import java.util.ResourceBundle import java.lang.ref.SoftReference class RubocopBundle { class object { val BUNDLE: String = "io.github.sirlantis.rubymine.Rubocop...
package io.github.sirlantis.rubymine.rubocop import com.intellij.CommonBundle import kotlin.properties.Delegates import java.lang.ref.Reference import java.util.ResourceBundle import java.lang.ref.SoftReference class RubocopBundle { class object { val BUNDLE: String = "io.github.sirlantis.rubymine.rubocop...
Fix BUNDLE identifier and LOG identifier
Fix BUNDLE identifier and LOG identifier
Kotlin
mit
sirlantis/rubocop-for-rubymine,sirlantis/rubocop-for-rubymine,ushastikin/rubocop-for-rubymine
f062aa66880c53f99bf1e938ef7e261964a75cf6
app/src/main/java/com/tasomaniac/openwith/settings/GeneralSettings.kt
app/src/main/java/com/tasomaniac/openwith/settings/GeneralSettings.kt
package com.tasomaniac.openwith.settings import android.content.Intent import android.support.v7.preference.Preference import com.tasomaniac.openwith.R import com.tasomaniac.openwith.data.Analytics import com.tasomaniac.openwith.intro.IntroActivity import com.tasomaniac.openwith.preferred.PreferredAppsActivity import ...
package com.tasomaniac.openwith.settings import android.content.Intent import android.support.v7.preference.Preference import com.tasomaniac.openwith.R import com.tasomaniac.openwith.browser.PreferredBrowserActivity import com.tasomaniac.openwith.data.Analytics import com.tasomaniac.openwith.intro.IntroActivity import...
Add click handling back for Browser settings
Add click handling back for Browser settings
Kotlin
apache-2.0
tasomaniac/OpenLinkWith,tasomaniac/OpenLinkWith,tasomaniac/OpenLinkWith
d486426ec33d7e738d42410fad0d38f2b5dfe234
app/src/main/kotlin/tm/alashow/datmusic/util/AppHeadersInterceptor.kt
app/src/main/kotlin/tm/alashow/datmusic/util/AppHeadersInterceptor.kt
/* * Copyright (C) 2020, Alashov Berkeli * All rights reserved. */ package tm.alashow.datmusic.util import android.annotation.SuppressLint import android.content.Context import android.provider.Settings import java.util.Locale import okhttp3.Interceptor import okhttp3.Response import tm.alashow.Config as BaseConfig...
/* * Copyright (C) 2020, Alashov Berkeli * All rights reserved. */ package tm.alashow.datmusic.util import android.content.Context import java.util.Locale import okhttp3.Interceptor import okhttp3.Response import tm.alashow.Config as BaseConfig import tm.alashow.base.ui.utils.extensions.androidId import tm.alashow....
Fix appheaders to use androidId function
Fix appheaders to use androidId function
Kotlin
apache-2.0
alashow/music-android
96e0a44b95ada2a7fadc2a7866b18ee7eb029f31
subprojects/execution/execution.gradle.kts
subprojects/execution/execution.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...
Enable strict compile for the execution project
Enable strict compile for the execution project
Kotlin
apache-2.0
gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn...
e1d0793fbfae851393c982cdbe66cfa3bdd920db
rider/src/main/kotlin/com/jetbrains/rider/UnityConfigurationImpl.kt
rider/src/main/kotlin/com/jetbrains/rider/UnityConfigurationImpl.kt
package com.jetbrains.rider import com.intellij.openapi.project.Project import com.jetbrains.rider.projectView.indexing.contentModel.ContentModelExcludes import java.io.File class UnityConfigurationImpl(private val project: Project, unityProjectDiscoverer: UnityProjectDiscoverer, excludes: ContentModelExcludes) { ...
package com.jetbrains.rider import com.intellij.openapi.project.Project import com.jetbrains.rider.projectView.indexing.contentModel.ContentModelExcludes import com.jetbrains.rider.projectView.indexing.contentModel.ContentModelUserStore import com.jetbrains.rider.projectView.indexing.contentModel.tryInclude import jav...
Include Packages folder in index
Include Packages folder in index
Kotlin
apache-2.0
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
d88368e678004313f6ba825ee890f953a76c636f
build.gradle.kts
build.gradle.kts
plugins { id("adventure.parent-build-logic") } group = "net.kyori" version = "4.9.0" description = "A user-interface library for Minecraft: Java Edition."
plugins { id("adventure.parent-build-logic") } group = "net.kyori" version = "4.9.1-SNAPSHOT" description = "A user-interface library for Minecraft: Java Edition."
Prepare for development on 4.9.1
release: Prepare for development on 4.9.1
Kotlin
mit
KyoriPowered/text,KyoriPowered/text
cae33d3c1c5c59ac0f651cc10dfabd8e0d98416a
src/main/kotlin/org/wfanet/measurement/service/testing/storage/Main.kt
src/main/kotlin/org/wfanet/measurement/service/testing/storage/Main.kt
package org.wfanet.measurement.service.testing.storage import kotlin.properties.Delegates import org.wfanet.measurement.common.commandLineMain import org.wfanet.measurement.service.common.CommonServer import picocli.CommandLine private class FakeStorageServiceFlags { @set:CommandLine.Option( names = ["--port", ...
package org.wfanet.measurement.service.testing.storage import org.wfanet.measurement.common.commandLineMain import org.wfanet.measurement.service.common.CommonServer import picocli.CommandLine @CommandLine.Command( name = "fake_storage_server", mixinStandardHelpOptions = true, showDefaultValues = true ) private...
Fix storage fake to support verbose logging.
Fix storage fake to support verbose logging. Bug: 162265237 Change-Id: I7e2ab61872bb781e2a915ddcfb87c758b080cde7
Kotlin
apache-2.0
world-federation-of-advertisers/cross-media-measurement,world-federation-of-advertisers/cross-media-measurement,world-federation-of-advertisers/cross-media-measurement
0410a575ef80c1a043e351294c6c53c1b66f005e
app/src/main/java/jp/toastkid/yobidashi/browser/PageInformationDialog.kt
app/src/main/java/jp/toastkid/yobidashi/browser/PageInformationDialog.kt
package jp.toastkid.yobidashi.browser import android.content.Context import android.graphics.drawable.BitmapDrawable import android.support.v7.app.AlertDialog import android.webkit.WebView import jp.toastkid.yobidashi.R /** * Method object of displaying page information dialog. * @author toastkidjp */ internal c...
package jp.toastkid.yobidashi.browser import android.content.Context import android.content.DialogInterface import android.graphics.drawable.BitmapDrawable import android.support.v7.app.AlertDialog import android.webkit.WebView import jp.toastkid.yobidashi.R import jp.toastkid.yobidashi.libs.Toaster import jp.toastki...
Implement copy URL to page information dialog.
Implement copy URL to page information dialog.
Kotlin
epl-1.0
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
2ca7bff437f0bf9b90d871689346d774df1a78e0
espresso/src/androidTest/java/com/elpassion/android/commons/espresso/HasChildWithTextAssertionsTest.kt
espresso/src/androidTest/java/com/elpassion/android/commons/espresso/HasChildWithTextAssertionsTest.kt
package com.elpassion.android.commons.espresso import android.os.Bundle import android.support.test.rule.ActivityTestRule import android.widget.Button import android.widget.FrameLayout import org.junit.Rule import org.junit.Test class HasChildWithTextAssertionsTest { @JvmField @Rule val activityRule = Activi...
package com.elpassion.android.commons.espresso import android.os.Bundle import android.support.test.rule.ActivityTestRule import android.widget.Button import android.widget.FrameLayout import org.junit.Rule import org.junit.Test class HasChildWithTextAssertionsTest { @JvmField @Rule val activityRule = Activi...
Add does not have ChildWithTextAssertionsTests
Add does not have ChildWithTextAssertionsTests
Kotlin
apache-2.0
elpassion/android-commons,elpassion/android-commons,elpassion/android-commons
9f82c34a8de400430fb738cdef8e1894a8677480
src/main/kotlin/org/rust/ide/inspections/RsTryMacroInspection.kt
src/main/kotlin/org/rust/ide/inspections/RsTryMacroInspection.kt
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.ide.inspections import com.intellij.codeInspection.LocalQuickFix import com.intellij.codeInspection.ProblemDescriptor import com.intellij.codeInspection.ProblemsHolder import com.intellij.openap...
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.ide.inspections import com.intellij.codeInspection.LocalQuickFix import com.intellij.codeInspection.ProblemDescriptor import com.intellij.codeInspection.ProblemsHolder import com.intellij.openap...
Fix exceptions after running the "Change try! to ?" inspection
Fix exceptions after running the "Change try! to ?" inspection A try!() invocation looks like this in PSI: RsMacroExpr -RsMacroCall --identifier --! --RsTryMacroArgument RsTryMacroInspection registers the problem and the fix on the RsMacroCall. When the fix is applied, it replaces the RsMacroCall node with a RsTryExp...
Kotlin
mit
Undin/intellij-rust,alygin/intellij-rust,Undin/intellij-rust,alygin/intellij-rust,anton-okolelov/intellij-rust,Undin/intellij-rust,alygin/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,alygin/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,anton-okolelov/intellij...
eb6113f120c84e2be1043b4ea6099df6031dd1b3
subprojects/smoke-test/src/smokeTest/resources/org/gradle/smoketests/gmm-example/producer/build.gradle.kts
subprojects/smoke-test/src/smokeTest/resources/org/gradle/smoketests/gmm-example/producer/build.gradle.kts
plugins { id("com.android.library") version "$androidPluginVersion" apply false kotlin("jvm") version "$kotlinVersion" apply false kotlin("android") version "$kotlinVersion" apply false kotlin("multiplatform") version "$kotlinVersion" apply false } subprojects { apply(plugin = "maven-publish") ...
plugins { id("com.android.library") version "$androidPluginVersion" apply false kotlin("jvm") version "$kotlinVersion" apply false kotlin("android") version "$kotlinVersion" apply false kotlin("multiplatform") version "$kotlinVersion" apply false } subprojects { apply(plugin = "maven-publish") ...
Revert smoke test to using jcenter with explainer comment
Revert smoke test to using jcenter with explainer comment
Kotlin
apache-2.0
gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpira...
f39bcbfa0c496fce2f9795a923b23eddcf952ffa
ktor-core/src/org/jetbrains/ktor/config/HoconApplicationConfig.kt
ktor-core/src/org/jetbrains/ktor/config/HoconApplicationConfig.kt
package org.jetbrains.ktor.config import com.typesafe.config.* /** * Implements [ApplicationEnvironment] by loading configuration from HOCON data structures */ open class HoconApplicationConfig(private val config: Config) : ApplicationConfig { override fun property(path: String): ApplicationConfigValue { ...
package org.jetbrains.ktor.config import com.typesafe.config.* /** * Implements [ApplicationEnvironment] by loading configuration from HOCON data structures */ open class HoconApplicationConfig(private val config: Config) : ApplicationConfig { override fun property(path: String): ApplicationConfigValue { ...
Implement missing operation in Hocon Config
Implement missing operation in Hocon Config
Kotlin
apache-2.0
ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor
1d5ae789bc4634639997096261b78e007cf66d99
platform/lang-impl/src/com/intellij/util/indexing/diagnostic/IndexingJobStatistics.kt
platform/lang-impl/src/com/intellij/util/indexing/diagnostic/IndexingJobStatistics.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.util.indexing.diagnostic import com.intellij.openapi.fileTypes.FileType import java.util.concurrent.ConcurrentHashMap import java.util.concurrent.ConcurrentM...
// 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.util.indexing.diagnostic import com.intellij.openapi.fileTypes.FileType import java.util.concurrent.ConcurrentHashMap import java.util.concurrent.ConcurrentM...
Index diagnostic: fix calculation of per-indexer spent time.
Index diagnostic: fix calculation of per-indexer spent time. GitOrigin-RevId: 335d1bfcbb431762cb3aa5ef5cdf5163d3acee6a
Kotlin
apache-2.0
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...
9f6970dd04f660c635d6cad1bd245b15ea57cdc5
src/test/kotlin/com/elpassion/intelijidea/action/configure/selector/MFSelectorTest.kt
src/test/kotlin/com/elpassion/intelijidea/action/configure/selector/MFSelectorTest.kt
package com.elpassion.intelijidea.action.configure.selector import com.elpassion.android.commons.rxjavatest.thenJust import com.intellij.testFramework.fixtures.LightPlatformCodeInsightFixtureTestCase import com.nhaarman.mockito_kotlin.any import com.nhaarman.mockito_kotlin.mock import com.nhaarman.mockito_kotlin.whene...
package com.elpassion.intelijidea.action.configure.selector import com.elpassion.android.commons.rxjavatest.thenJust import com.intellij.testFramework.fixtures.LightPlatformCodeInsightFixtureTestCase import com.nhaarman.mockito_kotlin.any import com.nhaarman.mockito_kotlin.mock import com.nhaarman.mockito_kotlin.whene...
Return selected configuration on change in ui
[89] Return selected configuration on change in ui
Kotlin
apache-2.0
elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin
5060ef938f4f0cb880f288235391dc0c08be56c6
src/main/kotlin/com/github/shiraji/findpullrequest/FindPullRequestAction.kt
src/main/kotlin/com/github/shiraji/findpullrequest/FindPullRequestAction.kt
package com.github.shiraji.findpullrequest import com.intellij.notification.Notification import com.intellij.notification.NotificationType import com.intellij.notification.Notifications import com.intellij.openapi.actionSystem.AnAction import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi....
package com.github.shiraji.findpullrequest import com.intellij.notification.Notification import com.intellij.notification.NotificationType import com.intellij.notification.Notifications import com.intellij.openapi.actionSystem.AnAction import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi....
Add debug info. It may not work since there is no runtime dependancy
Add debug info. It may not work since there is no runtime dependancy
Kotlin
apache-2.0
shiraji/find-pull-request
71e91ec58e3a3684428298e75c7c7f361efac360
src/main/kotlin/com/kotlinnlp/simplednn/deeplearning/mergelayers/MergeLayerParameters.kt
src/main/kotlin/com/kotlinnlp/simplednn/deeplearning/mergelayers/MergeLayerParameters.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/. * ------------------------------------------...
Set sparseInput property as public
Set sparseInput property as public
Kotlin
mpl-2.0
KotlinNLP/SimpleDNN
6664dfb04809904f400b130bd365a0f1ecce5f62
app/src/main/java/eu/kanade/tachiyomi/extension/api/ExtensionGithubService.kt
app/src/main/java/eu/kanade/tachiyomi/extension/api/ExtensionGithubService.kt
package eu.kanade.tachiyomi.extension.api import com.jakewharton.retrofit2.converter.kotlinx.serialization.asConverterFactory import eu.kanade.tachiyomi.network.NetworkHelper import kotlinx.serialization.json.Json import kotlinx.serialization.json.JsonArray import okhttp3.MediaType.Companion.toMediaType import retrofi...
package eu.kanade.tachiyomi.extension.api import com.jakewharton.retrofit2.converter.kotlinx.serialization.asConverterFactory import eu.kanade.tachiyomi.network.NetworkHelper import kotlinx.serialization.json.Json import kotlinx.serialization.json.JsonArray import okhttp3.MediaType.Companion.toMediaType import retrofi...
Use regular minified extensions JSON instead of explicitly handling gzip encoding
Use regular minified extensions JSON instead of explicitly handling gzip encoding Turns out GitHub *does* do gzip encoding by default, it just doesn't show up in the header logs for some reason...
Kotlin
apache-2.0
inorichi/tachiyomi,inorichi/tachiyomi,CarlosEsco/tachiyomi,inorichi/mangafeed,inorichi/mangafeed
628ffebf8da03e9ae23c0ba451f0975a656042e1
src/main/kotlin/nl/orangeflamingo/voornameninliedjesbackendadmin/domain/Song.kt
src/main/kotlin/nl/orangeflamingo/voornameninliedjesbackendadmin/domain/Song.kt
package nl.orangeflamingo.voornameninliedjesbackend.domain import org.springframework.data.annotation.Id import org.springframework.data.mongodb.core.mapping.Document import java.time.Instant @Document(collection = "Songs") data class Song( @Id val id: String, val artist: String, val t...
package nl.orangeflamingo.voornameninliedjesbackend.domain import com.fasterxml.jackson.annotation.JsonFormat import org.springframework.data.annotation.Id import org.springframework.data.mongodb.core.mapping.Document import java.time.Instant @Document(collection = "Songs") data class Song( @Id val id...
Add JsonFormat for parsing dates directly
Add JsonFormat for parsing dates directly
Kotlin
mit
rweekers/voornameninliedjes-backend-spring
1c612cab15567c7a28b7c36116aae75f2692faf3
migration/src/main/java/br/com/bloder/migration/internal/InternalMigration.kt
migration/src/main/java/br/com/bloder/migration/internal/InternalMigration.kt
package br.com.bloder.migration.internal /** * Created by bloder on 24/09/16. */ interface InternalMigration { fun up() fun down() fun change() }
package br.com.bloder.migration.internal /** * Better Migrations actions */ interface InternalMigration { fun up() fun down() }
Remove change function from internal migration
Remove change function from internal migration
Kotlin
mit
ingresso-rapido-mobile/better-migrations,ingresso-rapido-mobile/better-migrations
8d0f5ff8405090e320a1e814a597867090ba2e8b
src/test/kotlin/com/anvigudach/ConfigserverApplicationTests.kt
src/test/kotlin/com/anvigudach/ConfigserverApplicationTests.kt
package com.anvigudach import org.junit.Test import org.junit.runner.RunWith import org.springframework.boot.test.context.SpringBootTest import org.springframework.test.context.junit4.SpringRunner @RunWith(SpringRunner::class) @SpringBootTest class ConfigserverApplicationTests { @Test fun contextLoads() { } }
package com.anvigudach import org.junit.Test import org.junit.runner.RunWith import org.springframework.boot.test.context.SpringBootTest import org.springframework.test.context.junit4.SpringRunner @RunWith(SpringRunner::class) @SpringBootTest class ConfigserverApplicationTests { @Test fun contextLoads() { ...
Change Tab indentation to spaces
Change Tab indentation to spaces
Kotlin
unlicense
anvigudach/configserver
3c91491c7369660a7b2139996bafb766da8f3d86
cloudsdk/src/main/java/io/particle/android/sdk/utils/Toaster.kt
cloudsdk/src/main/java/io/particle/android/sdk/utils/Toaster.kt
package io.particle.android.sdk.utils import android.app.Activity import android.widget.Toast import javax.annotation.ParametersAreNonnullByDefault @Deprecated( "Deprecated; will be removed in a future release", replaceWith = ReplaceWith("io.particle.mesh.setup.utils.safeToast()") ) @ParametersAreNonnullByD...
package io.particle.android.sdk.utils import android.app.Activity import android.widget.Toast import javax.annotation.ParametersAreNonnullByDefault @Deprecated( "Deprecated; will be removed in a future release", replaceWith = ReplaceWith("io.particle.mesh.setup.utils.safeToast()") ) @ParametersAreNonnullByD...
Make these calls accessible from Java again
Make these calls accessible from Java again
Kotlin
apache-2.0
spark/photon-tinker-android,spark/photon-tinker-android
e5360a5b26aaaf779e796c16b6ac1bd625d2d02a
plugins/base/src/main/kotlin/resolvers/external/ExternalLocationProviderFactory.kt
plugins/base/src/main/kotlin/resolvers/external/ExternalLocationProviderFactory.kt
package org.jetbrains.dokka.base.resolvers.external import org.jetbrains.dokka.links.DRI interface ExternalLocationProvider { val param: String fun DRI.toLocation(): String } interface ExternalLocationProviderFactory { fun getExternalLocationProvider(param: String): ExternalLocationProvider? } class ...
package org.jetbrains.dokka.base.resolvers.external import org.jetbrains.dokka.links.DRI import java.util.concurrent.ConcurrentHashMap interface ExternalLocationProvider { val param: String fun DRI.toLocation(): String } interface ExternalLocationProviderFactory { fun getExternalLocationProvider(param...
Fix racecondition on caching of external providers
Fix racecondition on caching of external providers
Kotlin
apache-2.0
Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka
3c0c79087bf36cc11900a39625ab93ec48ea678b
buildSrc/src/main/kotlin/publishing/KotlinTargetsMavenPublications.kt
buildSrc/src/main/kotlin/publishing/KotlinTargetsMavenPublications.kt
/* * Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. */ @file:Suppress("PackageDirectoryMismatch") import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType.androidJvm import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType.common import org.jetbrai...
/* * Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. */ @file:Suppress("PackageDirectoryMismatch") import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType.androidJvm import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType.common import org.jetbrai...
Make mavenPublication use lowerCase target name
Make mavenPublication use lowerCase target name
Kotlin
apache-2.0
LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties
2c9a35eab88d5377c8f0d338e194146799188438
code-sample-kotlin/code-sample-kotlin-basics/src/main/kotlin/codesample/kotlin/sandbox/algorithms/Sorts.kt
code-sample-kotlin/code-sample-kotlin-basics/src/main/kotlin/codesample/kotlin/sandbox/algorithms/Sorts.kt
package codesample.kotlin.sandbox.algorithms class Sorts { fun recursiveMerge(list: List<Int>): List<Int> { if (list.size <= 1) return list val middle = list.size / 2 val left = list.subList(0, middle) val right = list.subList(middle, list.size) return merge(r...
package codesample.kotlin.sandbox.algorithms class Sorts { fun recursiveMerge(list: List<Int>): List<Int> { if (list.size <= 1) return list val middle = list.size / 2 val left = list.subList(0, middle) val right = list.subList(middle, list.size) return merge(r...
Add merge sort example in kotlin
Add merge sort example in kotlin
Kotlin
mit
aquatir/remember_java_api,aquatir/remember_java_api,aquatir/remember_java_api,aquatir/remember_java_api
9b79e546c5c46008e78d954e3747c039cc0550bb
subprojects/docs/src/snippets/buildlifecycle/projectEvaluateEvents/kotlin/build.gradle.kts
subprojects/docs/src/snippets/buildlifecycle/projectEvaluateEvents/kotlin/build.gradle.kts
// tag::after-evaluate[] gradle.beforeProject { project -> // Set a default value project.ext.set("hasTests", false) } gradle.afterProject { project -> if (project.ext.has("hasTests") && project.ext.get("hasTests")) { val projectString = project.toString() println("Adding test task to $proj...
// tag::after-evaluate[] gradle.beforeProject { // Set a default value project.ext.set("hasTests", false) } gradle.afterProject { if (project.ext.has("hasTests") && project.ext.get("hasTests")) { val projectString = project.toString() println("Adding test task to $projectString") ta...
Remove explicit project arg from kotlin
Remove explicit project arg from kotlin
Kotlin
apache-2.0
gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle
25b40a2998677f001e634e1cf86193e7d1d4181e
app/src/main/java/net/ericschrag/takotlin/view/RecipeView.kt
app/src/main/java/net/ericschrag/takotlin/view/RecipeView.kt
package net.ericschrag.takotlin.view import android.app.Activity import android.view.View import android.widget.TextView import fr.castorflex.android.smoothprogressbar.SmoothProgressBar import net.ericschrag.takotlin.R import org.jetbrains.anko.* import org.jetbrains.anko.appcompat.v7.toolbar class RecipeView : AnkoC...
package net.ericschrag.takotlin.view import android.app.Activity import android.view.View import android.widget.TextView import fr.castorflex.android.smoothprogressbar.SmoothProgressBar import net.ericschrag.takotlin.R import org.jetbrains.anko.* import org.jetbrains.anko.appcompat.v7.toolbar class RecipeView : AnkoC...
Make random loading indicator respect multiple clicks
Make random loading indicator respect multiple clicks
Kotlin
mit
Kusand/TaKotlin,Kusand/TaKotlin
1749fe077f151e6d2923f56a0797e1ba5c7efe68
app/src/test/java/io/github/droidkaigi/confsched2017/util/AssetsUtilTest.kt
app/src/test/java/io/github/droidkaigi/confsched2017/util/AssetsUtilTest.kt
package io.github.droidkaigi.confsched2017.util import org.junit.Assert.fail import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner import java.lang.reflect.InvocationTargetException @RunWith(RobolectricTestRunner::class) class AssetsUtilTest { @Test @Throws(Excepti...
package io.github.droidkaigi.confsched2017.util import com.google.firebase.FirebaseApp import com.taroid.knit.should import org.junit.Assert.fail import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner import org.robolectric.RuntimeEnvironment import java.lang.reflect.Invocat...
Add succeed and fail tests
Add succeed and fail tests
Kotlin
apache-2.0
futabooo/conference-app-2017,ogapants/conference-app-2017,hironytic/conference-app-2017,kaelaela/conference-app-2017,wakwak3125/conference-app-2017,kgmyshin/conference-app-2017,futabooo/conference-app-2017,k-kagurazaka/conference-app-2017,chibatching/conference-app-2017,u-nation/conference-app-2017,kikuchy/conference-a...
b23aaed8abc160909b9247070fffdfdbe32d38c1
ground/src/main/java/com/google/android/ground/persistence/remote/firestore/schema/UserConverter.kt
ground/src/main/java/com/google/android/ground/persistence/remote/firestore/schema/UserConverter.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 ...
/* * 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 ...
Use orEmpty() instead of setting as null
Use orEmpty() instead of setting as null
Kotlin
apache-2.0
google/ground-android,google/ground-android,google/ground-android
9727ec2992d0b2b1a3fb8444425dadfd1b1a2bee
src/main/java/com/gitlab/artismarti/tinbo/config/Defaults.kt
src/main/java/com/gitlab/artismarti/tinbo/config/Defaults.kt
package com.gitlab.artismarti.tinbo.config import com.gitlab.artismarti.tinbo.TiNBo import java.io.IOException /** * @author artur */ object Defaults { const val TIME_NAME = "Data" const val TASKS_NAME = "Tasks" const val NOTES_NAME = "Notes" const val FINANCE_NAME = "Finance" const val MAIN_CATEGORY_NAME = "...
package com.gitlab.artismarti.tinbo.config import com.gitlab.artismarti.tinbo.TiNBo import java.nio.file.NoSuchFileException /** * @author artur */ object Defaults { const val TIME_NAME = "Data" const val TASKS_NAME = "Tasks" const val NOTES_NAME = "Notes" const val FINANCE_NAME = "Finance" const val MAIN_CAT...
Test no such file exception on jenkins - 1
Test no such file exception on jenkins - 1
Kotlin
apache-2.0
arturbosch/TiNBo,arturbosch/TiNBo,arturbosch/TiNBo
b9d206b592d03589dd9e500d0258561baae582f1
build.gradle.kts
build.gradle.kts
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.5.10" } group = "com.simonorono" version = "1.0" repositories { mavenCentral() } dependencies { testImplementation(kotlin("test")) } tasks.test { useJUnitPlatform() } tasks.withType<KotlinCompile> { kotli...
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.5.10" `maven-publish` } group = "com.simonorono" version = "1.0" repositories { mavenCentral() } dependencies { testImplementation(kotlin("test")) } tasks.test { useJUnitPlatform() } tasks.withType<Kotlin...
Add code for publishing to Maven
Add code for publishing to Maven
Kotlin
apache-2.0
simonorono/bitc,simonorono/bitc
3816b5f3848ff9d53f80f1b64c7fb65b4bf2a98d
diffuse/src/main/kotlin/com/jakewharton/diffuse/diff/SignaturesDiff.kt
diffuse/src/main/kotlin/com/jakewharton/diffuse/diff/SignaturesDiff.kt
package com.jakewharton.diffuse.diff import com.jakewharton.diffuse.Signatures import com.jakewharton.diffuse.diffuseTable import okio.ByteString internal class SignaturesDiff( val oldSignatures: Signatures, val newSignatures: Signatures ) { val changed = oldSignatures != newSignatures } internal fun Signature...
package com.jakewharton.diffuse.diff import com.jakewharton.diffuse.Signatures import com.jakewharton.diffuse.diffuseTable import com.jakewharton.picnic.TextAlignment.TopRight import okio.ByteString internal class SignaturesDiff( val oldSignatures: Signatures, val newSignatures: Signatures ) { val changed = old...
Add label to signature table
Add label to signature table
Kotlin
apache-2.0
JakeWharton/dex-method-list,JakeWharton/dex-method-list,JakeWharton/dex-method-list
f03661f7ee257370d0166907c0cdccef3e465fde
aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecStyleItalicSpan.kt
aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecStyleItalicSpan.kt
package org.wordpress.aztec.spans import android.graphics.Typeface import org.wordpress.aztec.AztecAttributes class AztecStyleItalicSpan(attributes: AztecAttributes = AztecAttributes()) : AztecStyleSpan(Typeface.ITALIC, attributes)
package org.wordpress.aztec.spans import android.graphics.Typeface import org.wordpress.aztec.AztecAttributes class AztecStyleItalicSpan(attributes: AztecAttributes = AztecAttributes()) : AztecStyleSpan(Typeface.ITALIC, attributes) { override val TAG by lazy { when (style) { Typeface.ITAL...
Make em the default italic tag
Make em the default italic tag
Kotlin
mpl-2.0
wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android
9399d4bf41c0e2edc67952086dc9848573685a5e
loritta-plugins/html-provider/src/main/kotlin/net/perfectdreams/loritta/sweetmorenitta/views/Error404View.kt
loritta-plugins/html-provider/src/main/kotlin/net/perfectdreams/loritta/sweetmorenitta/views/Error404View.kt
package net.perfectdreams.loritta.sweetmorenitta.views import net.perfectdreams.loritta.common.locale.BaseLocale import kotlinx.html.DIV import kotlinx.html.div import kotlinx.html.h1 import kotlinx.html.img import kotlinx.html.p import kotlinx.html.style class Error404View( locale: BaseLocale, path: String )...
package net.perfectdreams.loritta.sweetmorenitta.views import net.perfectdreams.loritta.common.locale.BaseLocale import kotlinx.html.DIV import kotlinx.html.div import kotlinx.html.h1 import kotlinx.html.img import kotlinx.html.p import kotlinx.html.style class Error404View( locale: BaseLocale, path: String )...
Fix error 404 page title
Fix error 404 page title
Kotlin
agpl-3.0
LorittaBot/Loritta,LorittaBot/Loritta,LorittaBot/Loritta,LorittaBot/Loritta
b15fc788a9c6ffdc61c67a86b55ee4295cb32c40
src/main/kotlin/venus/assembler/pseudos/LI.kt
src/main/kotlin/venus/assembler/pseudos/LI.kt
package venus.assembler.pseudos import venus.assembler.AssemblerPassOne import venus.assembler.AssemblerError import venus.assembler.LineTokens import venus.assembler.PseudoWriter /** * Writes pseudoinstruction `li rd, imm`. * * This either expands to an `addi` if `imm` is small or a `lui` / `addi` pair if `imm` i...
package venus.assembler.pseudos import venus.assembler.AssemblerPassOne import venus.assembler.AssemblerError import venus.assembler.LineTokens import venus.assembler.PseudoWriter import venus.riscv.userStringToInt /** * Writes pseudoinstruction `li rd, imm`. * * This either expands to an `addi` if `imm` is small ...
Update li to allow different immediates
Update li to allow different immediates
Kotlin
mit
kvakil/venus,kvakil/venus,kvakil/venus
aeb258ac2ed7e7748a5e2260790ac9c44a9b5664
middleware/src/main/java/com/facebook/fresco/middleware/UriModifierInterface.kt
middleware/src/main/java/com/facebook/fresco/middleware/UriModifierInterface.kt
/* * Copyright (c) Meta Platforms, Inc. and 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.middleware import android.net.Uri import com.facebook.drawee.drawable.ScalingUtils.ScaleType data c...
/* * Copyright (c) Meta Platforms, Inc. and 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.middleware import android.net.Uri import com.facebook.drawee.drawable.ScalingUtils.ScaleType data c...
Set up MC in ImagePipelineModule
Set up MC in ImagePipelineModule Reviewed By: oprisnik Differential Revision: D37347127 fbshipit-source-id: 101f78ea00105a542e88e0c15f41b6137decf9f1
Kotlin
mit
facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco
67b1f6b071d78b51403a23f8b787ffc7b43a8a0c
src/main/java/org/purescript/features/PurescriptDocumentationProvider.kt
src/main/java/org/purescript/features/PurescriptDocumentationProvider.kt
package org.purescript.features import com.intellij.lang.documentation.AbstractDocumentationProvider import com.intellij.psi.PsiElement import org.purescript.psi.PSModule class PurescriptDocumentationProvider: AbstractDocumentationProvider() { override fun generateDoc(element: PsiElement?, originalElement: PsiEle...
package org.purescript.features import com.intellij.lang.documentation.AbstractDocumentationProvider import com.intellij.psi.PsiElement import org.purescript.psi.PSModule import org.purescript.psi.PSValueDeclaration class PurescriptDocumentationProvider: AbstractDocumentationProvider() { override fun generateDoc(...
Make value declarations comments usable
Make value declarations comments usable
Kotlin
bsd-3-clause
intellij-purescript/intellij-purescript,intellij-purescript/intellij-purescript
d4b321fa23bc81954515c5ef41c9804e515ec904
fragment/fragment-lint/src/main/java/androidx/fragment/lint/FragmentIssueRegistry.kt
fragment/fragment-lint/src/main/java/androidx/fragment/lint/FragmentIssueRegistry.kt
/* * Copyright 2019 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 2019 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...
Revert "Add Fragment LiveData check to IssueRegistry"
Revert "Add Fragment LiveData check to IssueRegistry" This reverts commit f9076c5479861ff94c8f4ba7d9fe8082d021f26d. Reason for revert: Build fails due to Stack Overflow errors on sample projects. Need to add limit to call graph depth. Change-Id: If1e677070781cf9eacb023f2edf992e2a7e30620
Kotlin
apache-2.0
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...
72aab08cd7c0fd3bd68986e49532d0593ebeaa76
app/src/main/kotlin/com/github/ramonrabello/kiphy/trends/data/TrendingRepository.kt
app/src/main/kotlin/com/github/ramonrabello/kiphy/trends/data/TrendingRepository.kt
package com.github.ramonrabello.kiphy.trends.data class TrendingRepository(private val remoteDataSource: TrendingDataSource) { fun loadTrending() = remoteDataSource.loadTrending() }
package com.github.ramonrabello.kiphy.trends.data import io.reactivex.Single class TrendingRepository( private val localDataSource: TrendingDataSource, private val remoteDataSource: TrendingDataSource) { fun loadTrending() = Single.merge( remoteDataSource.loadTrending(), l...
Update class to use both remote and local data sources.
Update class to use both remote and local data sources.
Kotlin
apache-2.0
ramonrabello/Kiphy
55e2fe3b56c7485b5ee3cd246f246da6cd416018
src/frontend/android/unity_wallet/app/src/main/java/com/gulden/unity_wallet/Constants.kt
src/frontend/android/unity_wallet/app/src/main/java/com/gulden/unity_wallet/Constants.kt
// Copyright (c) 2018 The Gulden developers // Authored by: Malcolm MacLeod (mmacleod@webmail.co.za) // Distributed under the GULDEN software license, see the accompanying // file COPYING package com.gulden.unity_wallet object Constants { const val TEST = BuildConfig.TESTNET const val RECOMMENDED_CONFIRMATION...
// Copyright (c) 2018 The Gulden developers // Authored by: Malcolm MacLeod (mmacleod@webmail.co.za) // Distributed under the GULDEN software license, see the accompanying // file COPYING package com.gulden.unity_wallet object Constants { const val TEST = BuildConfig.TESTNET const val RECOMMENDED_CONFIRMATION...
Remove hardcoded testing password that is no longer used and bump password length to 6
ANDROID: Remove hardcoded testing password that is no longer used and bump password length to 6
Kotlin
mit
nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official,nlgcoin/guldencoin-official
2692ff2c9c64d07804ea26aba35b1e4f7fcd7c35
convention/build.gradle.kts
convention/build.gradle.kts
plugins { groovy } tasks.withType(GroovyCompile::class).configureEach { sourceCompatibility = "1.8" targetCompatibility = "1.8" options.release.set(indra.javaVersions.target) } dependencies { api(project(":spongegradle-plugin-development")) implementation(localGroovy()) api("net.kyori:indr...
plugins { groovy } tasks.withType(GroovyCompile::class).configureEach { sourceCompatibility = "1.8" targetCompatibility = "1.8" options.release.set(indra.javaVersions.target) } dependencies { api(project(":spongegradle-plugin-development")) implementation(localGroovy()) api("net.kyori:indr...
Change plugin IDs to match what's already published
convention: Change plugin IDs to match what's already published
Kotlin
mit
SpongePowered/SpongeGradle,SpongePowered/SpongeGradle
96b592b00b9a353127ef9ee4c676d873e77edbfd
buildSrc/src/main/kotlin/Versions.kt
buildSrc/src/main/kotlin/Versions.kt
object Versions { const val LORITTA = "2021-SNAPSHOT" const val PUDDING = "0.0.2-20220412.131908-317" const val KOTLIN = "1.6.20-M1" const val KTOR = "1.6.7" const val JDA = "4.3.0_324" const val KOTLIN_SERIALIZATION = "1.3.2" const val KOTLIN_COROUTINES = "1.6.0" const val EXPOSED = "0....
object Versions { const val LORITTA = "2021-SNAPSHOT" const val PUDDING = "0.0.2-last-version-using-kt-1621" const val KOTLIN = "1.6.20-M1" const val KTOR = "1.6.7" const val JDA = "4.3.0_324" const val KOTLIN_SERIALIZATION = "1.3.2" const val KOTLIN_COROUTINES = "1.6.0" const val EXPOSE...
Change Pudding version to the last version before we updated it to Kotlin 1.7.0
Change Pudding version to the last version before we updated it to Kotlin 1.7.0
Kotlin
agpl-3.0
LorittaBot/Loritta,LorittaBot/Loritta,LorittaBot/Loritta,LorittaBot/Loritta
463297d0ac13250f73283ba2a9a62fabdab661a8
app/src/main/java/com/google/vr/youtube/gast/app/MainActivity.kt
app/src/main/java/com/google/vr/youtube/gast/app/MainActivity.kt
package com.google.vr.youtube.gast.app import android.graphics.SurfaceTexture import android.media.MediaPlayer import android.util.Log import android.view.Surface import com.google.vr.youtube.gast.GastActivity import org.godotengine.godot.gast.GastManager class MainActivity : GastActivity() { private val mediaPl...
package com.google.vr.youtube.gast.app import android.graphics.SurfaceTexture import android.media.MediaPlayer import android.util.Log import android.view.Surface import com.google.vr.youtube.gast.GastActivity import org.godotengine.godot.gast.GastManager class MainActivity : GastActivity() { private val mediaPl...
Add logic to update the texture image.
Add logic to update the texture image.
Kotlin
mit
m4gr3d/GAST,m4gr3d/GAST,m4gr3d/GAST
2f4b9e13b0d9ed6b8349693425bbeab4ee443e63
asciidoctor-gradle-base/src/gradleTest/apply-the-base-plugin/build.gradle.kts
asciidoctor-gradle-base/src/gradleTest/apply-the-base-plugin/build.gradle.kts
plugins { id ("org.asciidoctor.base") } tasks.register<DefaultTask>("runGradleTest") { }
plugins { id ("org.asciidoctor.base") } tasks.register<DefaultTask>("runGradleTest") { doLast { println("hello") } }
Add an action to the Kotlin DSL
Add an action to the Kotlin DSL
Kotlin
apache-2.0
ysb33r/asciidoctor-gradle-plugin,ysb33r/asciidoctor-gradle-plugin,asciidoctor/asciidoctor-gradle-plugin,asciidoctor/asciidoctor-gradle-plugin,asciidoctor/asciidoctor-gradle-plugin,ysb33r/asciidoctor-gradle-plugin,ysb33r/asciidoctor-gradle-plugin,ysb33r/asciidoctor-gradle-plugin,asciidoctor/asciidoctor-gradle-plugin,asc...
16a303d968abdbc2b3fc7fb9916d2caadd181478
provider/src/test/kotlin/org/gradle/kotlin/dsl/support/ImplicitImportsTest.kt
provider/src/test/kotlin/org/gradle/kotlin/dsl/support/ImplicitImportsTest.kt
package org.gradle.kotlin.dsl.support import org.gradle.kotlin.dsl.fixtures.AbstractIntegrationTest import org.hamcrest.CoreMatchers.containsString import org.junit.Assert.assertThat import org.junit.Test class ImplicitImportsTest : AbstractIntegrationTest() { @Test fun `implicit imports are fully qualified ...
package org.gradle.kotlin.dsl.support import org.gradle.kotlin.dsl.fixtures.AbstractIntegrationTest import org.hamcrest.CoreMatchers.containsString import org.junit.Assert.assertThat import org.junit.Test class ImplicitImportsTest : AbstractIntegrationTest() { @Test fun `implicit imports are fully qualified ...
Fix implicit imports tests after upstream default imports unification
Fix implicit imports tests after upstream default imports unification See https://github.com/gradle/gradle/pull/3140
Kotlin
apache-2.0
gradle/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle-script-kotlin,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,robinverdu...
6df67c2884916536d08f274359c348f6f7283254
rocket-chat-android-widgets/src/test/kotlin/chat/rocket/android/widget/helper/UserAvatarHelperTest.kt
rocket-chat-android-widgets/src/test/kotlin/chat/rocket/android/widget/helper/UserAvatarHelperTest.kt
import chat.rocket.android.widget.helper.UserAvatarHelper import org.junit.Test class UserAvatarHelperTest { @Test fun getUsernameInitialsTest() { assert(UserAvatarHelper.getUsernameInitials("") == "?") assert(UserAvatarHelper.getUsernameInitials("?") == "?") assert(UserAvatarHelper.ge...
import chat.rocket.android.widget.helper.UserAvatarHelper import org.junit.Test class UserAvatarHelperTest { @Test fun getUsernameInitialsTest() { assert(UserAvatarHelper.getUsernameInitials("") == "?") assert(UserAvatarHelper.getUsernameInitials("?") == "?") assert(UserAvatarHelper.ge...
Add tests for those new cases
Add tests for those new cases
Kotlin
mit
RocketChat/Rocket.Chat.Android,RocketChat/Rocket.Chat.Android.Lily,RocketChat/Rocket.Chat.Android.Lily,RocketChat/Rocket.Chat.Android
79e36a31cf1999432f91a3401fe38667e8cd58e3
backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/Reporting.kt
backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/Reporting.kt
/* * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the LICENSE file. */ package org.jetbrains.kotlin.backend.konan import org.jetbrains.kotlin.backend.common.CommonBackendContext import org.jetbrains.kotlin.ir.IrElement import org.jetbrain...
/* * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the LICENSE file. */ package org.jetbrains.kotlin.backend.konan import org.jetbrains.kotlin.backend.common.CommonBackendContext import org.jetbrains.kotlin.ir.IrElement import org.jetbrain...
Add improved compiler error reporting util
Add improved compiler error reporting util
Kotlin
apache-2.0
JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-...
72663aa16ecd125728e781921c80f9b631628652
datacapture/src/main/java/com/google/android/fhir/datacapture/QuestionnaireItemViewHolderType.kt
datacapture/src/main/java/com/google/android/fhir/datacapture/QuestionnaireItemViewHolderType.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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Update the view holder type to 0-based to simplify the logic to get the enum from integer
Update the view holder type to 0-based to simplify the logic to get the enum from integer
Kotlin
apache-2.0
google/android-fhir,google/android-fhir
b459f6bd73813f9f436f625f2ca368cc98d64140
espresso/src/main/java/com/elpassion/android/commons/espresso/ViewInteractions.kt
espresso/src/main/java/com/elpassion/android/commons/espresso/ViewInteractions.kt
package com.elpassion.android.commons.espresso import android.support.annotation.IdRes import android.support.annotation.StringRes import android.support.test.espresso.Espresso import android.support.test.espresso.Espresso.onView import android.support.test.espresso.ViewInteraction import android.support.test.espresso...
package com.elpassion.android.commons.espresso import android.support.annotation.IdRes import android.support.annotation.StringRes import android.support.test.espresso.Espresso.onView import android.support.test.espresso.ViewInteraction import android.support.test.espresso.matcher.ViewMatchers.* import android.support...
Use better way for finding toolbar back arrow
[refactor] Use better way for finding toolbar back arrow
Kotlin
apache-2.0
elpassion/android-commons,elpassion/android-commons,elpassion/android-commons
2986a821162504bf0ef38eff95985a734b2dffde
ktor-client/ktor-client-core/common/src/io/ktor/client/features/HttpClientFeature.kt
ktor-client/ktor-client-core/common/src/io/ktor/client/features/HttpClientFeature.kt
/* * Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ package io.ktor.client.features import io.ktor.client.* import io.ktor.util.* internal val FEATURE_INSTALLED_LIST = AttributeKey<Attributes>("ApplicationFeatureRegistry") /** * Base inter...
/* * Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ package io.ktor.client.features import io.ktor.client.* import io.ktor.util.* import kotlin.native.concurrent.* @SharedImmutable internal val FEATURE_INSTALLED_LIST = AttributeKey<Attributes...
Make attribute key available on native
Make attribute key available on native
Kotlin
apache-2.0
ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor
2d9070f9ba245a5b1c26db7dbae252e7981e7408
compiler-plugin/build.gradle.kts
compiler-plugin/build.gradle.kts
import build.* plugins { base } base { archivesBaseName = "gradle-script-kotlin-compiler-plugin" } dependencies { compile(kotlinModule("compiler-embeddable")) testCompile(project(":test-fixtures")) } // -- Testing ---------------------------------------------------------- val customInstallation by r...
import build.* plugins { base } base { archivesBaseName = "gradle-script-kotlin-compiler-plugin" } dependencies { compile("org.jetbrains.kotlin:kotlin-compiler-embeddable:$kotlinVersion") testCompile(project(":test-fixtures")) } // -- Testing ---------------------------------------------------------...
Add dependency on the right Kotlin compiler version
Add dependency on the right Kotlin compiler version
Kotlin
apache-2.0
gradle/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,gradle/gradle-script-kotlin,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/grad...
2a3182984909118cd16af3414d4c8039e1a8c38a
flowbinding-lifecycle/src/main/java/reactivecircus/flowbinding/lifecycle/LifecycleEventFlow.kt
flowbinding-lifecycle/src/main/java/reactivecircus/flowbinding/lifecycle/LifecycleEventFlow.kt
package reactivecircus.flowbinding.lifecycle import androidx.annotation.CheckResult import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleObserver import androidx.lifecycle.LifecycleOwner import androidx.lifecycle.OnLifecycleEvent import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coro...
package reactivecircus.flowbinding.lifecycle import androidx.annotation.CheckResult import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleEventObserver import kotlinx.coroutines.ExperimentalCoroutinesApi import kotlinx.coroutines.channels.awaitClose import kotlinx.coroutines.flow.Flow import kotlinx.c...
Replace deprecated @OnLifecycleEvent annotation with LifecycleEventObserver for LifecycleEvent bindings.
Replace deprecated @OnLifecycleEvent annotation with LifecycleEventObserver for LifecycleEvent bindings.
Kotlin
apache-2.0
ReactiveCircus/FlowBinding,ReactiveCircus/FlowBinding
76dd762dea5e82bf3a46338d42b9b77ce95fde79
app/src/main/java/com/aerodeko/pfm/MainActivity.kt
app/src/main/java/com/aerodeko/pfm/MainActivity.kt
package com.aerodeko.pfm import android.os.Bundle import android.support.design.widget.FloatingActionButton import android.support.design.widget.Snackbar import android.support.v7.app.AppCompatActivity import android.support.v7.widget.Toolbar import android.view.Menu import android.view.MenuItem class MainActivity : ...
package com.aerodeko.pfm import android.os.Bundle import android.support.design.widget.FloatingActionButton import android.support.design.widget.Snackbar import android.support.v7.app.AppCompatActivity import android.support.v7.widget.Toolbar import android.view.Menu import android.view.MenuItem import com.aerodeko.pf...
Initialize the event manager when creating the activity.
Initialize the event manager when creating the activity. This is maybe only temporary; the event manager hits the disk (i.e. creates/gets the database) in init, so it could be good to do in a background thread. On the other hand, a synchronous API would be way better, and this only happens in launch. All other event d...
Kotlin
mit
superjohan/pfm,superjohan/pfm,superjohan/pfm
5ff8d9927ce6777f1631f9f174f7cb91e28ee650
src/main/kotlin/money/Money.kt
src/main/kotlin/money/Money.kt
package money sealed class Money(private val amount: Int, val currency: String) { fun times(mul: Int): Money { return when(this) { is Dollar -> dollar(amount * mul) is Franc -> franc(amount * mul) } } companion object { fun dollar(amount: Int): Money = Mone...
package money sealed class Money(private val amount: Int, val currency: String) { fun times(mul: Int): Money = when (this) { is Dollar -> dollar(amount * mul) is Franc -> franc(amount * mul) } companion object { fun dollar(amount: Int): Money = Money.Dollar(amount, "USD") ...
Change the method body of times() to expression
Change the method body of times() to expression
Kotlin
mit
s-nagahori/TDD_book
f5f5dd5fc2982f670e7e9824d66338c92e2bfa75
app/src/main/kotlin/com/gdgnantes/devfest/android/http/JsonConverters.kt
app/src/main/kotlin/com/gdgnantes/devfest/android/http/JsonConverters.kt
package com.gdgnantes.devfest.android.http import com.gdgnantes.devfest.android.model.SocialNetwork import com.google.gson.FieldNamingPolicy import com.google.gson.Gson import com.google.gson.GsonBuilder import com.google.gson.TypeAdapter import com.google.gson.stream.JsonReader import com.google.gson.stream.JsonWrite...
package com.gdgnantes.devfest.android.http import com.gdgnantes.devfest.android.model.SocialNetwork import com.google.gson.FieldNamingPolicy import com.google.gson.Gson import com.google.gson.GsonBuilder import com.google.gson.TypeAdapter import com.google.gson.stream.JsonReader import com.google.gson.stream.JsonWrite...
Rename SocialNetworkAdapter and make it private
Rename SocialNetworkAdapter and make it private
Kotlin
apache-2.0
GDG-Nantes/devfest-android,GDG-Nantes/devfest-android,GDG-Nantes/devfest-android,GDG-Nantes/devfest-android
abc911edec296f9975f65d98692e30e9f59344ef
analysis/import/CodeMaatImporter/src/main/kotlin/de/maibornwolff/codecharta/importer/codemaat/CSVRow.kt
analysis/import/CodeMaatImporter/src/main/kotlin/de/maibornwolff/codecharta/importer/codemaat/CSVRow.kt
package de.maibornwolff.codecharta.importer.codemaat import de.maibornwolff.codecharta.model.* import java.util.* import java.util.regex.Pattern class CSVRow(private val row: Array<String?>, private val header: CSVHeader, private val pathSeparator: Char) { init { if (row.size <= header.pathColumn.size) {...
package de.maibornwolff.codecharta.importer.codemaat import de.maibornwolff.codecharta.model.* import java.util.* class CSVRow(private val row: Array<String?>, private val header: CSVHeader, private val pathSeparator: Char) { init { if (row.size <= header.pathColumn.size) { throw IllegalArgum...
Fix type cast for edge-attributes
Fix type cast for edge-attributes
Kotlin
bsd-3-clause
MaibornWolff/codecharta,MaibornWolff/codecharta,MaibornWolff/codecharta,MaibornWolff/codecharta,MaibornWolff/codecharta,MaibornWolff/codecharta,MaibornWolff/codecharta,MaibornWolff/codecharta
be6b09a72c0f83e8208f30eff5c6a57f7296269e
asciidoctor-gradle-jvm/src/gradleTest/complex-jvm-setup/build.gradle.kts
asciidoctor-gradle-jvm/src/gradleTest/complex-jvm-setup/build.gradle.kts
import org.asciidoctor.gradle.jvm.AsciidoctorPdfTask import org.asciidoctor.gradle.jvm.AsciidoctorTask import org.asciidoctor.gradle.jvm.OutputOptions import org.asciidoctor.gradle.jvm.ProcessMode // tag::using-two-plugins-three-backends[] plugins { id("org.asciidoctor.jvm.convert") id("org.asciidoctor.jvm.pdf...
import org.asciidoctor.gradle.jvm.AsciidoctorPdfTask import org.asciidoctor.gradle.jvm.AsciidoctorTask import org.asciidoctor.gradle.jvm.OutputOptions import org.asciidoctor.gradle.jvm.ProcessMode // tag::using-two-plugins-three-backends[] plugins { id("org.asciidoctor.jvm.convert") id("org.asciidoctor.jvm.pdf...
Use Asciidoctorj 2.0.0-RC.2 & EPUB 1.5.0-alpha.9
Use Asciidoctorj 2.0.0-RC.2 & EPUB 1.5.0-alpha.9 - Use AsciidoctorJRuby.Factory - Use org.asciidoctor.jruby.extension.spi.ExtensionRegistry
Kotlin
apache-2.0
ysb33r/asciidoctor-gradle-plugin,asciidoctor/asciidoctor-gradle-plugin,ysb33r/asciidoctor-gradle-plugin,asciidoctor/asciidoctor-gradle-plugin,ysb33r/asciidoctor-gradle-plugin,ysb33r/asciidoctor-gradle-plugin,asciidoctor/asciidoctor-gradle-plugin,ysb33r/asciidoctor-gradle-plugin,asciidoctor/asciidoctor-gradle-plugin,asc...
c395f95f678080cd78c56c27fadc8b37d6766eaa
k4kotlin-core/src/main/java/com/livinglifetechway/k4kotlin/core/Keyboard.kt
k4kotlin-core/src/main/java/com/livinglifetechway/k4kotlin/core/Keyboard.kt
package com.livinglifetechway.k4kotlin.core import android.app.Activity import android.content.Context import android.view.View import android.view.inputmethod.InputMethodManager /** * Hides the soft keyboard * @receiver Activity * @return a boolean value if the action was performed or not */ fun Activity.hideKey...
package com.livinglifetechway.k4kotlin.core import android.app.Activity import android.content.Context import android.view.View import android.view.inputmethod.InputMethodManager /** * Hides the soft keyboard * @receiver Activity * @return a boolean value if the action was performed or not */ fun Activity.hideKey...
Fix show keyboard method for the view to requestFocus first
Fix show keyboard method for the view to requestFocus first
Kotlin
apache-2.0
kirtan403/K4Kotlin,kirtan403/K4Kotlin
715e9af5b7b80ed934025106ac9a14c43e3f145a
runtime/src/main/kotlin/kotlin/system/Timing.kt
runtime/src/main/kotlin/kotlin/system/Timing.kt
/* * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the LICENSE file. */ package kotlin.system /** * Gets current system time in milliseconds since epoch */ @SymbolName("Kotlin_system_getTimeMillis") public external fun getTimeMillis() : ...
/* * Copyright 2010-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license * that can be found in the LICENSE file. */ package kotlin.system /** * Gets current system time in milliseconds since certain moment in the past, * only delta between two subsequent calls makes sense. */ @Sy...
Fix doc for system time getters
Fix doc for system time getters
Kotlin
apache-2.0
JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-...
e0585a45945c9a5bedcb108170fe3b0b715569cb
gcpbuildcache/src/main/kotlin/androidx/build/gradle/gcpbuildcache/GcpBuildCache.kt
gcpbuildcache/src/main/kotlin/androidx/build/gradle/gcpbuildcache/GcpBuildCache.kt
package androidx.build.gradle.gcpbuildcache import org.gradle.caching.configuration.AbstractBuildCache /** * Gradle Build Cache that uses GCP buckets as a backing for load and store * Gradle results. * * @param projectId The Google Cloud Platform project id, that can be used for billing. * @param bucketName The ...
package androidx.build.gradle.gcpbuildcache import org.gradle.caching.configuration.AbstractBuildCache /** * Gradle Build Cache that uses GCP buckets as a backing for load and store * Gradle results. */ open class GcpBuildCache( ) : AbstractBuildCache() { /** * The Google Cloud Platform project id, that can b...
Move the docs to the right place
Move the docs to the right place
Kotlin
apache-2.0
androidx/gcp-gradle-build-cache
36f7620557ccb039f0f21199f036898f10522b74
modules/bitflags/build.gradle.kts
modules/bitflags/build.gradle.kts
/* * Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. */ plugins { kotlin("multiplatform") `maven-publish` id("com.jfrog.bintray") } kotlin { jvm() js() configure(targets) { configureMavenPublication() } sourceSets { getBy...
/* * Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. */ plugins { kotlin("multiplatform") `maven-publish` id("com.jfrog.bintray") } kotlin { jvm() js() macos() ios() configure(targets) { configureMavenPublication() } setu...
Add iOS and macOS support for bitflags split
Add iOS and macOS support for bitflags split
Kotlin
apache-2.0
LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties
877f11dc3267ac450416095aae88348540d27fe6
src/main/kotlin/com/github/bjoernpetersen/musicbot/api/Song.kt
src/main/kotlin/com/github/bjoernpetersen/musicbot/api/Song.kt
package com.github.bjoernpetersen.musicbot.api import com.github.bjoernpetersen.musicbot.spi.plugin.Provider data class Song( val id: String, val provider: NamedPlugin<Provider>, val title: String, val description: String, val duration: Int?, val albumArtUrl: String?)
package com.github.bjoernpetersen.musicbot.api import com.github.bjoernpetersen.musicbot.spi.plugin.Provider data class Song @JvmOverloads constructor( val id: String, val provider: NamedPlugin<Provider>, val title: String, val description: String, val duration: Int? = null, val albumArtUrl: ...
Add defaults to nullable song props
Add defaults to nullable song props
Kotlin
mit
BjoernPetersen/JMusicBot
dddd7465bb387108a9103dbf3fde434fb822fb2c
modules/lifecycle-coroutines/src/androidMain/kotlin/splitties/lifecycle/coroutines/LifecycleAwaitState.kt
modules/lifecycle-coroutines/src/androidMain/kotlin/splitties/lifecycle/coroutines/LifecycleAwaitState.kt
/* * Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. */ package splitties.lifecycle.coroutines import androidx.lifecycle.GenericLifecycleObserver import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleOwner import kotlinx.coroutines.* import ...
/* * Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. */ package splitties.lifecycle.coroutines import androidx.lifecycle.GenericLifecycleObserver import androidx.lifecycle.Lifecycle import androidx.lifecycle.LifecycleOwner import kotlinx.coroutines.* import ...
Remove no longer needed experimental annotation
Remove no longer needed experimental annotation
Kotlin
apache-2.0
LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties
ee1b16b7fa98b0724b123292cc04b9e4ff1b8aaf
src/main/java/uk/co/reecedunn/intellij/plugin/xquery/resolve/reference/XQueryEQNamePrefixReference.kt
src/main/java/uk/co/reecedunn/intellij/plugin/xquery/resolve/reference/XQueryEQNamePrefixReference.kt
/* * Copyright (C) 2016-2017 Reece H. Dunn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
/* * Copyright (C) 2016-2018 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...
Use XsQNameValue.expand to implement EQName prefix resolution.
Use XsQNameValue.expand to implement EQName prefix resolution.
Kotlin
apache-2.0
rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin
0ba7979dc223c7e99e4cd65b282642c6e24b243c
build.gradle.kts
build.gradle.kts
plugins { id("java-gradle-plugin") kotlin("jvm") version "1.2.50" } repositories { jcenter() google() } dependencies { implementation(kotlin("stdlib-jdk8")) implementation("com.android.tools.build:gradle:3.1.3") implementation("org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.17") } gr...
plugins { id("java-gradle-plugin") kotlin("jvm") version "1.2.50" id("maven-publish") } repositories { jcenter() google() } dependencies { implementation(kotlin("stdlib-jdk8")) implementation("com.android.tools.build:gradle:3.1.3") implementation("org.jetbrains.dokka:dokka-android-grad...
Add maven-publish to publish the plugin to mavenLocal
Add maven-publish to publish the plugin to mavenLocal
Kotlin
apache-2.0
StefMa/AndroidArtifacts,StefMa/AndroidArtifacts
bf7b6a8e6cabc9e66a08e795c7fa977626df5f1a
px-checkout/src/main/java/com/mercadopago/android/px/internal/features/payment_result/remedies/RemediesBodyMapper.kt
px-checkout/src/main/java/com/mercadopago/android/px/internal/features/payment_result/remedies/RemediesBodyMapper.kt
package com.mercadopago.android.px.internal.features.payment_result.remedies import com.mercadopago.android.px.internal.repository.UserSelectionRepository import com.mercadopago.android.px.internal.viewmodel.mappers.Mapper import com.mercadopago.android.px.model.PaymentData import com.mercadopago.android.px.model.inte...
package com.mercadopago.android.px.internal.features.payment_result.remedies import com.mercadopago.android.px.internal.repository.UserSelectionRepository import com.mercadopago.android.px.internal.viewmodel.mappers.Mapper import com.mercadopago.android.px.model.PaymentData import com.mercadopago.android.px.model.inte...
Fix sec code length null after invalid esc
Fix sec code length null after invalid esc
Kotlin
mit
mercadopago/px-android,mercadopago/px-android,mercadopago/px-android
64f79483566fcd127a1bb649263d9222b03d98de
src/Formats/JekyllFormatService.kt
src/Formats/JekyllFormatService.kt
package org.jetbrains.dokka public class JekyllFormatService(locationService: LocationService, signatureGenerator: SignatureGenerator) : MarkdownFormatService(locationService, signatureGenerator) { override fun format(nodes: Iterable<DocumentationNode>, to: StringBuilder) { to.appendln("---") to.a...
package org.jetbrains.dokka public class JekyllFormatService(locationService: LocationService, signatureGenerator: SignatureGenerator) : MarkdownFormatService(locationService, signatureGenerator) { override val extension: String = "html" override fun format(nodes: Iterable<DocumentationNode>, to: StringBuilder...
Use html extension for jekyll so that links work
Use html extension for jekyll so that links work
Kotlin
apache-2.0
Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,google/dokka,Kotlin/dokka,google/dokka,Kotlin/dokka,Kotlin/dokka
efa7f27d6c6ae795abb99a0aca1de0a6d30733ea
src/test/java/org/mapdb/issues/Issue769_Map_putOnly.kt
src/test/java/org/mapdb/issues/Issue769_Map_putOnly.kt
package org.mapdb.issues import org.junit.Test import org.mapdb.* class Issue769_Map_putOnly{ object valueSer: Serializer<String> { val ser = ArrayList<String>() val deser = ArrayList<String>() override fun serialize(out: DataOutput2, value: String) { ser += value ...
package org.mapdb.issues import org.junit.Test import org.mapdb.* class Issue769_Map_putOnly : Serializer<String>{ val ser = ArrayList<String>() val deser = ArrayList<String>() override fun serialize(out: DataOutput2, value: String) { ser += value out.writeUTF(value) } override ...
Fix race condition in unit test
Fix race condition in unit test
Kotlin
apache-2.0
jankotek/mapdb,jankotek/MapDB,jankotek/mapdb,jankotek/MapDB
5864cd9b123074a802ddd81c821afa036884bb81
.teamcity/src/main/kotlin/configurations/VcsTriggers.kt
.teamcity/src/main/kotlin/configurations/VcsTriggers.kt
/* * Copyright 2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Fix branch name case in triggers
Fix branch name case in triggers
Kotlin
apache-2.0
gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,grad...
9b061d1bef24f46a1897736d9df3a5791e26736e
core/build.gradle.kts
core/build.gradle.kts
import org.jetbrains.registerDokkaArtifactPublication plugins { `maven-publish` id("com.jfrog.bintray") } dependencies { api("org.jetbrains:markdown:0.1.45") implementation(kotlin("reflect")) implementation("org.jsoup:jsoup:1.12.1") implementation("com.fasterxml.jackson.module:jackson-module-k...
import org.jetbrains.dokkaVersion import org.jetbrains.registerDokkaArtifactPublication plugins { `maven-publish` id("com.jfrog.bintray") } dependencies { api("org.jetbrains:markdown:0.1.45") implementation(kotlin("reflect")) implementation("org.jsoup:jsoup:1.12.1") implementation("com.fasterx...
Declare `dokkaVersion` as input `processResources` task in :core
Declare `dokkaVersion` as input `processResources` task in :core
Kotlin
apache-2.0
Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka
93d52aac49745c0ddfc64c973ddd9ffd0e7dafba
app/src/mock/java/se/barsk/park/carcollection/MockCarCollection.kt
app/src/mock/java/se/barsk/park/carcollection/MockCarCollection.kt
package se.barsk.park.datatypes /** * A mock implementation of the CarCollection with a hard coded list of cars to * get well defined data and stable data. It does not persist any changes to storage. */ class MockCarCollection : CarCollection() { override fun readCarsFromStorage(): MutableList<OwnCar> { ...
package se.barsk.park.datatypes /** * A mock implementation of the CarCollection with a hard coded list of cars to * get well defined data and stable data. It does not persist any changes to storage. */ class MockCarCollection(var numCars: Int = 2) : CarCollection() { override fun readCarsFromStorage(): Mutable...
Make number of cars configurable in the mock car collection
Make number of cars configurable in the mock car collection Makes it more testable with unit tests.
Kotlin
mit
nibarius/opera-park-android
e08e0072166bec2fa84c507dd6bcb111c1fbbf24
src/main/kotlin/tv/fanart/bot/FanartBot.kt
src/main/kotlin/tv/fanart/bot/FanartBot.kt
package tv.fanart.bot import kotlinx.coroutines.* import org.koin.core.KoinComponent import org.koin.core.inject import tv.fanart.config.ConfigRepo import java.lang.Runnable import java.util.* class FanartBot : KoinComponent { private val configurationClient by inject<ConfigRepo>() private val mainJob = Su...
package tv.fanart.bot import kotlinx.coroutines.* import org.koin.core.KoinComponent import org.koin.core.inject import tv.fanart.config.ConfigRepo import java.lang.Runnable import java.util.* class FanartBot : KoinComponent { private val configurationClient by inject<ConfigRepo>() private val mainJob = Su...
Add translation config launch strategy
NOGH: Add translation config launch strategy
Kotlin
mit
fanart-tv/fanarttv-discord-update-bot
56f15da64edcc1e9b6ef8e5c2b0dbc55a3e9c3a9
settings.gradle.kts
settings.gradle.kts
rootProject.name = "SpongeAPI" pluginManagement { repositories { mavenLocal() mavenCentral() gradlePluginPortal() maven("https://repo-new.spongepowered.org/repository/maven-public") maven("https://repo.spongepowered.org/maven") } resolutionStrategy { eachPlug...
rootProject.name = "SpongeAPI" pluginManagement { repositories { mavenLocal() mavenCentral() gradlePluginPortal() maven("https://repo-new.spongepowered.org/repository/maven-public") maven("https://repo.spongepowered.org/maven") } resolutionStrategy { eachPlug...
Fix resolving the licenser plugin.
Fix resolving the licenser plugin.
Kotlin
mit
SpongePowered/SpongeAPI,SpongePowered/SpongeAPI,SpongePowered/SpongeAPI
939319378a0b715447023d26b9a441adcf2126fd
ee-schkola_des_fx/src/main/kotlin/ee/schkola/fx/SchkolaDesignApp.kt
ee-schkola_des_fx/src/main/kotlin/ee/schkola/fx/SchkolaDesignApp.kt
package ee.schkola.fx import ee.lang.TypedComposite import ee.lang.fx.ModelApp import ee.lang.fx.view.ExplorerModel import ee.lang.initObjectTrees import ee.schkola.Schkola import ee.system.dev.BuildToolFactory import ee.system.dev.Gradle import ee.system.dev.Maven import ee.system.task.SystemTaskRegistry import ee.ta...
package ee.schkola.fx import ee.lang.MultiHolder import ee.lang.fx.ModelApp import ee.lang.fx.view.ExplorerModel import ee.lang.initObjectTrees import ee.schkola.Schkola import ee.system.dev.BuildToolFactory import ee.system.dev.Gradle import ee.system.dev.Maven import ee.system.task.SystemTaskRegistry import ee.task....
Rework to use Map for child object, in order to simplify derive/copy of DSL objects
Rework to use Map for child object, in order to simplify derive/copy of DSL objects
Kotlin
apache-2.0
eugeis/ee-schkola,eugeis/ee-schkola,eugeis/ee-schkola,eugeis/ee-schkola