conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Set dynamic realm object as param in migration\n"
},
{
"from": "human",
"value": "package br.com.bloder.migration\n\nimport br.com.bloder.migration.internal.InternalMigration\n\n/**\n * Class to abstract realm migration\n */\nclass Migration : InternalMigration {\n\... | kotlin | chosen |
[
{
"from": "system",
"value": "Create build scan only when tagging fails\n"
},
{
"from": "human",
"value": "/*\n * This is an init script for internal usage at Gradle Inc.\n */\nif (!gradle.startParameter.systemPropertiesArgs.containsKey(\"disableScanPlugin\")) {\n rootProject {\n plugi... | kotlin | chosen |
[
{
"from": "human",
"value": "Add first basic test spec\n"
},
{
"from": "gpt",
"value": "package io.github.vyo.twig\n\nimport org.jetbrains.spek.api.Spek\nimport org.jetbrains.spek.api.shouldEqual\n\n/**\n * Created by Manuel Weidmann on 28.11.2015.\n */\nclass LoggerSpec : Spek() {\n init {\n... | kotlin | chosen |
[
{
"from": "human",
"value": "Add example with use case of addPropText\n"
},
{
"from": "gpt",
"value": "package sandbox.view\n\nimport com.almasb.fxgl.app.GameApplication\nimport com.almasb.fxgl.app.GameSettings\nimport com.almasb.fxgl.dsl.FXGL\nimport com.almasb.fxgl.dsl.getGameScene\nimport jav... | kotlin | chosen |
[
{
"from": "human",
"value": "Add classes for forum page parsing\n"
},
{
"from": "gpt",
"value": "package com.sedsoftware.yaptalker.data.model\n\nimport android.os.Parcel\nimport android.os.Parcelable\nimport pl.droidsonroids.jspoon.annotation.Selector\n\nclass ForumPage() : Parcelable {\n @Sele... | kotlin | chosen |
[
{
"from": "system",
"value": "Use Kotlin nullability type system\n"
},
{
"from": "human",
"value": "package com.veyndan.paper.reddit.api.reddit.network.interceptor\n\nimport okhttp3.Interceptor\nimport okhttp3.Request\nimport okhttp3.Response\n\nclass UserAgentInterceptor(userAgentHeaderValue: S... | kotlin | chosen |
[
{
"from": "system",
"value": "Update develop task description to mention performance testing\n"
},
{
"from": "human",
"value": "plugins {\n id(\"com.neva.fork\")\n id(\"com.cognifide.aem.common\")\n}\n\ndescription = \"Example\"\ndefaultTasks(\"develop\")\n\naem {\n tasks {\n seq... | kotlin | chosen |
[
{
"from": "system",
"value": "Fix navigation location for fixity declaration\n"
},
{
"from": "human",
"value": "package org.purescript.psi.declaration\n\nimport com.intellij.lang.ASTNode\nimport com.intellij.psi.PsiElement\nimport com.intellij.psi.PsiNameIdentifierOwner\nimport org.purescript.ps... | kotlin | chosen |
[
{
"from": "system",
"value": "Make Gutenberg comment span a block span to properly handle newlines\n"
},
{
"from": "human",
"value": "package org.wordpress.aztec.plugins.wpcomments.spans\n\nimport android.text.TextPaint\nimport android.text.style.CharacterStyle\n\nclass GutenbergCommentSpan(var ... | kotlin | chosen |
[
{
"from": "human",
"value": "Add extension functions for ClassVisitor\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright 2016 Michael Rozumyanskiy\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You... | kotlin | chosen |
[
{
"from": "system",
"value": "Apply CR: apply consistent naming\n"
},
{
"from": "human",
"value": "package com.elpassion.android.commons.espresso.matchers\n\nimport android.support.design.widget.TextInputEditText\nimport android.support.design.widget.TextInputLayout\nimport android.support.test.... | kotlin | chosen |
[
{
"from": "system",
"value": "Remove wrong out type from store\n"
},
{
"from": "human",
"value": "package com.reduks.reduks\n\nimport com.reduks.reduks.subscription.Subscriber\nimport com.reduks.reduks.subscription.Subscription\n\nclass Store<out State>(initialState: State, initialReducer: (stat... | kotlin | chosen |
[
{
"from": "system",
"value": "Fix broken Lint version check for lifecycle\n\nBug: 189211535\nTest: ApiLintVersionsTest#versionsCheck\nChange-Id: I6b87f10803b615ab6a4e305883b7a5d9f118b77f\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2019 The Android Open Source Project\n *\n * Licensed und... | kotlin | chosen |
[
{
"from": "system",
"value": "Add failing case for assertValueThat\n"
},
{
"from": "human",
"value": "package com.elpassion.android.commons.rxjavatest\n\nimport org.junit.Test\nimport rx.Observable\n\n\nclass TestSubscriberExtensionTest {\n\n @Test\n fun shouldMultipleValuesAssertionSucces... | kotlin | chosen |
[
{
"from": "human",
"value": "Add servlet filter for logging with username.\n"
},
{
"from": "gpt",
"value": "package app.himawari.filter\n\nimport org.slf4j.MDC\nimport org.springframework.core.Ordered\nimport org.springframework.core.annotation.Order\nimport org.springframework.security.core.con... | kotlin | chosen |
[
{
"from": "human",
"value": "Add exception for unsupported operations\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright 2000-2017 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * Yo... | kotlin | chosen |
[
{
"from": "system",
"value": "Add google login method to service\n"
},
{
"from": "human",
"value": "package com.vimeo.networking2.requests\n\nimport com.vimeo.networking2.VimeoAccount\nimport com.vimeo.networking2.adapters.VimeoCall\nimport retrofit2.http.Field\nimport retrofit2.http.FormUrlEnco... | kotlin | chosen |
[
{
"from": "human",
"value": "Add a utility class to save/load rained data from cache. it's going to be used in both the visual and the HTML editor component.\n"
},
{
"from": "gpt",
"value": "package org.wordpress.aztec.util\n\nimport android.content.Context\nimport android.os.Bundle\nimport andr... | kotlin | chosen |
[
{
"from": "system",
"value": "Move work on the traversal of JsonStructs\n"
},
{
"from": "human",
"value": "package edu.csh.chase.sprint.json\n\nabstract class JsonBase : JsonSerializable {\n\n abstract val size: Int\n\n}"
},
{
"from": "gpt",
"value": "package edu.csh.chase.sprint.... | kotlin | chosen |
[
{
"from": "system",
"value": "Remove invalid module access in webview test\nFix line endings in gradlew.bat\n"
},
{
"from": "human",
"value": "package xyz.nulldev.ts.dui\n\nimport com.github.salomonbrys.kodein.conf.KodeinGlobalAware\nimport com.github.salomonbrys.kodein.instance\nimport com.sun.... | kotlin | chosen |
[
{
"from": "system",
"value": "Fix file() helper usage to return null if key was not defined\n"
},
{
"from": "human",
"value": "package pink.madis.gradle.localprops\n\nimport org.gradle.api.Plugin\nimport org.gradle.api.Project\nimport java.nio.charset.StandardCharsets\nimport java.util.Propertie... | kotlin | chosen |
[
{
"from": "human",
"value": "Add tests for graph data trigger on view\n"
},
{
"from": "gpt",
"value": "package lt.markmerkk.mvp\n\nimport com.nhaarman.mockito_kotlin.any\nimport com.nhaarman.mockito_kotlin.mock\nimport com.nhaarman.mockito_kotlin.verify\nimport com.nhaarman.mockito_kotlin.whenev... | kotlin | chosen |
[
{
"from": "system",
"value": "Use the cleanHex for the hash\n"
},
{
"from": "human",
"value": "package org.kethereum.model\n\ndata class Address(private val input: String) {\n\n val cleanHex = input.replace(\"0x\",\"\")\n\n @Transient\n val hex = \"0x$cleanHex\"\n\n override fun toSt... | kotlin | chosen |
[
{
"from": "system",
"value": "Add remove function in better schema\n"
},
{
"from": "human",
"value": "package br.com.bloder.migration.schema\n\nimport io.realm.DynamicRealm\nimport io.realm.RealmObjectSchema\nimport io.realm.RealmSchema\n\n\n/**\n * Created by bloder on 28/09/16.\n */\n\nclass B... | kotlin | chosen |
[
{
"from": "system",
"value": "Print the number of analyzed files at the end\n"
},
{
"from": "human",
"value": "package io.gitlab.arturbosch.detekt.cli\n\nimport io.gitlab.arturbosch.detekt.api.Detektion\nimport io.gitlab.arturbosch.detekt.api.FileProcessListener\nimport org.jetbrains.kotlin.psi.... | kotlin | chosen |
[
{
"from": "system",
"value": "Use TimeUnit to convert from milliseconds to seconds"
},
{
"from": "human",
"value": "package com.gdgnantes.devfest.android.util\n\nimport java.util.*\n\ninline val Date.timeAsSeconds: Long\n get() = time / 1000"
},
{
"from": "gpt",
"value": "package ... | kotlin | chosen |
[
{
"from": "system",
"value": "Update GitHub Pull Requests build\n"
},
{
"from": "human",
"value": "package _Self.vcsRoots\n\nimport jetbrains.buildServer.configs.kotlin.v2019_2.*\nimport jetbrains.buildServer.configs.kotlin.v2019_2.vcs.GitVcsRoot\n\nobject HttpsGithubComJetBrainsIdeavimPullReque... | kotlin | chosen |
[
{
"from": "system",
"value": "Send Transfer-Encoding: chunked only if there is something to send\n"
},
{
"from": "human",
"value": "package org.jetbrains.ktor.netty\n\nimport io.netty.channel.*\nimport io.netty.handler.codec.http.*\nimport org.jetbrains.ktor.application.*\nimport org.jetbrains.k... | kotlin | chosen |
[
{
"from": "system",
"value": "Add `isMainThread` extension to check thread\n"
},
{
"from": "human",
"value": "package leakcanary.internal\n\nimport android.os.Handler\nimport android.os.Looper\n\ninternal val mainHandler by lazy { Handler(Looper.getMainLooper()) }\n\ninternal fun checkMainThread... | kotlin | chosen |
[
{
"from": "system",
"value": "Extend the model to accomodate for descriptions\n"
},
{
"from": "human",
"value": "package org.logout.notifications.telegram.data.events\n\nimport java.util.*\n\ndata class Event(val startDate: Date,\n val eventName: String,\n val per... | kotlin | chosen |
[
{
"from": "system",
"value": "Move the subject back into the filter class\n\nIt fucks up the tests to have it as a global singleton that way\n"
},
{
"from": "human",
"value": "package net.squanchy.schedule.filterschedule\n\nimport io.reactivex.Observable\nimport io.reactivex.subjects.BehaviorSub... | kotlin | chosen |
[
{
"from": "system",
"value": "Add all pseudoinstructions to dispatcher\n"
},
{
"from": "human",
"value": "package venus.assembler\n\nimport venus.assembler.pseudos.* // ktlint-disable no-wildcard-imports\n\n/** Describes each instruction for writing */\nenum class PseudoDispatcher(val pw: Pseudo... | kotlin | chosen |
[
{
"from": "system",
"value": "Use NSOperationQueue.mainQueue if on main thread\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license.\n */\n\npackage splitties.preferences\n\nimport kotlinx.coroutines.E... | kotlin | chosen |
[
{
"from": "system",
"value": "Fix problem with Jackson NPE\n"
},
{
"from": "human",
"value": "package com.elpassion.intelijidea.util\n\nimport com.fasterxml.jackson.databind.ObjectMapper\nimport java.io.Serializable\n\nval objectMapper by lazy { ObjectMapper() }\n\nfun Any.toJson(): String = obj... | kotlin | chosen |
[
{
"from": "human",
"value": "Create an function that reads assets from instrumentation tests\n"
},
{
"from": "gpt",
"value": "package com.felipecosta.kotlinrxjavasample.utils\n\nimport android.support.test.InstrumentationRegistry\n\nfun readAsset(fileName: String) = InstrumentationRegistry.getCo... | kotlin | chosen |
[
{
"from": "system",
"value": "Clear the test configurations before adding new ones.\n"
},
{
"from": "human",
"value": "package com.beust.kobalt\n\nimport com.beust.kobalt.api.Project\nimport com.beust.kobalt.api.annotation.Directive\n\nclass TestConfig(val project: Project) {\n val testArgs =... | kotlin | chosen |
[
{
"from": "system",
"value": "Allow suspendUntil to take a suspending body\n"
},
{
"from": "human",
"value": "package org.team2471.frc.lib.control.experimental\n\nimport edu.wpi.first.wpilibj.DriverStation\nimport edu.wpi.first.wpilibj.Utility\nimport kotlinx.coroutines.experimental.delay\nimpor... | kotlin | chosen |
[
{
"from": "system",
"value": "Use the type-safe accessor in Kotlin doc snippet\n\nSigned-off-by: Björn Kautler <74e2ee7aa8c396759a26a42a85f2923ab73a4ea5@Kautler.net>\n"
},
{
"from": "human",
"value": "// tag::customized-wrapper-task[]\ntasks.named<Wrapper>(\"wrapper\") {\n distributionType = ... | kotlin | chosen |
[
{
"from": "human",
"value": "Add psi elements for all exported items\n"
},
{
"from": "gpt",
"value": "package org.purescript.psi\n\nimport com.intellij.lang.ASTNode\n\nsealed class PSExportedItem(node: ASTNode) : PSPsiElement(node)\n\nclass PSExportedClass(node: ASTNode) : PSExportedItem(node)\n... | kotlin | chosen |
[
{
"from": "system",
"value": "Refactor NetworkError to receive Throwable parameter.\n"
},
{
"from": "human",
"value": "package com.github.ramonrabello.kiphy.common.arch.state\n\n/**\n * Sealed class that represents data state whether if\n * it is success or errors.\n */\nsealed class Result<out ... | kotlin | chosen |
[
{
"from": "system",
"value": "[config] Make context resolvers jvm fields\n"
},
{
"from": "human",
"value": "package io.javalin.http\n\nimport io.javalin.core.util.Header\nimport javax.servlet.http.HttpServletRequest\n\n\nconst val CONTEXT_RESOLVER_KEY = \"contextResolver\"\n\nfun Context.context... | kotlin | chosen |
[
{
"from": "system",
"value": "Move `Disposable.use` convenience method to `intellij.platform.util.ex`\n\nGitOrigin-RevId: 82c3aba9e0511b7277127e1077582571ef0e3d40"
},
{
"from": "human",
"value": "// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licens... | kotlin | chosen |
[
{
"from": "human",
"value": "[backport] Add package list support for JLH\n\nOriginal: 4256adf\n"
},
{
"from": "gpt",
"value": "package org.jetbrains.dokka.Formats\n\nimport org.jetbrains.dokka.DocumentationModule\nimport org.jetbrains.dokka.ExternalDocumentationLinkResolver.Companion.DOKKA_PARAM... | kotlin | chosen |
[
{
"from": "system",
"value": "Migrate TestUtil to use the newer API\n"
},
{
"from": "human",
"value": "package leakcanary\n\nimport leakcanary.InstrumentationLeakDetector.Result.AnalysisPerformed\nimport leakcanary.InstrumentationLeakDetector.Result.NoAnalysis\nimport shark.HeapAnalysisSuccess\n... | kotlin | chosen |
[
{
"from": "system",
"value": "Fix documentation inaccuracy in stop()\n\nFix error in documentation which wrongly claims that the gradePeriod is in millis. In reality both the gradeperiod and the timeout is applied to the timeUnit specified as the third argument.\r\nIf one specifies `stop(1_000, 20, TimeUnit... | kotlin | chosen |
[
{
"from": "system",
"value": "Update with new approach to day 5\n"
},
{
"from": "human",
"value": "package aoc.kt.y2018;\n\n/**\n * Day 5.\n */\n\n/** Part 1 */\nfun processPolymer1(input: String): String {\n val output = input.toCharArray()\n .forEachIndexed { i, c ->\n if (i != 0)... | kotlin | chosen |
[
{
"from": "system",
"value": "Align Kotlin snippet multiproject/customLayout with Groovy\n"
},
{
"from": "human",
"value": "include (\"project-a\", \"project-b\")\n\n// tag::lookup-project[]\nprintln(rootProject.name)\nprintln(project(\":project-a\").name)\n// end::lookup-project[]\n\n// tag::ch... | kotlin | chosen |
[
{
"from": "system",
"value": "Remove parecable from pattern point\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2017 Carl-Philipp Harmant\n *\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * ... | kotlin | chosen |
[
{
"from": "system",
"value": "Add error handling for script template provider extension point\n"
},
{
"from": "human",
"value": "package org.jetbrains.kotlin.core.model\n\nimport org.eclipse.core.runtime.IConfigurationElement\nimport org.eclipse.core.runtime.Platform\nimport org.jetbrains.kotlin... | kotlin | chosen |
[
{
"from": "system",
"value": "Remove from registry when an exception (including timeout) occurs\n"
},
{
"from": "human",
"value": "package actor.proto\n\nimport actor.proto.mailbox.SystemMessage\nimport kotlinx.coroutines.experimental.CompletableDeferred\nimport kotlinx.coroutines.experimental.w... | kotlin | chosen |
[
{
"from": "human",
"value": "Add tests for G command\n"
},
{
"from": "gpt",
"value": "/*\n * IdeaVim - Vim emulator for IDEs based on the IntelliJ platform\n * Copyright (C) 2003-2020 The IdeaVim authors\n *\n * This program is free software: you can redistribute it and/or modify\n * it under th... | kotlin | chosen |
[
{
"from": "system",
"value": "Make fun return type explicit for validator.\n"
},
{
"from": "human",
"value": "package net.yested.core.properties\n\nclass ValidationStatus(\n val success: Boolean,\n val errorMessage: String) {\n override fun toString() = if (success) \"OK\" else ... | kotlin | chosen |
[
{
"from": "system",
"value": "Convert to data class and replace with Result\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You m... | kotlin | chosen |
[
{
"from": "system",
"value": "Update LocalServerPort against latest Boot snapshots\n"
},
{
"from": "human",
"value": "package mixit.integration\n\nimport org.junit.Before\nimport org.junit.runner.RunWith\nimport org.springframework.boot.context.embedded.LocalServerPort\nimport org.springframewor... | kotlin | chosen |
[
{
"from": "human",
"value": "Add method for utility view creation\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright 2022 Peter Kenji Yamanaka\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may... | kotlin | chosen |
[
{
"from": "human",
"value": "Add a test for class hierarchies with injectable fields and methods\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright 2018 Michael Rozumyanskiy\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in complianc... | kotlin | chosen |
[
{
"from": "human",
"value": "Add test for biography fragment\n"
},
{
"from": "gpt",
"value": "package com.antonioleiva.bandhookkotlin.ui.screens.detail\n\nimport android.test.AndroidTestCase\nimport android.text.Html\nimport android.view.LayoutInflater\nimport android.view.View\nimport android.v... | kotlin | chosen |
[
{
"from": "system",
"value": "Sort tweets by descending creation date (most recent first)\n"
},
{
"from": "human",
"value": "package net.squanchy.tweets.service\n\nimport io.reactivex.Observable\nimport io.reactivex.functions.BiFunction\nimport net.squanchy.service.firestore.FirestoreDbService\n... | kotlin | chosen |
[
{
"from": "system",
"value": "Enable build scans for EC2 warmup build\n"
},
{
"from": "human",
"value": "package Gradle_Util.buildTypes\n\nimport common.gradleWrapper\nimport configurations.buildJavaHome\nimport jetbrains.buildServer.configs.kotlin.v2019_2.AbsoluteId\nimport jetbrains.buildServe... | kotlin | chosen |
[
{
"from": "system",
"value": "Make password optional with default parameter\n"
},
{
"from": "human",
"value": "package org.kethereum.keystore.api\n\nimport org.kethereum.model.Address\nimport org.kethereum.model.ECKeyPair\n\ninterface KeyStore {\n fun addKey(key: ECKeyPair, password: String, ... | kotlin | chosen |
[
{
"from": "human",
"value": "Add a possibility to end a caption with a newline using a block handler\n"
},
{
"from": "gpt",
"value": "package org.wordpress.aztec.plugins.shortcodes.handlers\n\nimport org.wordpress.aztec.handlers.GenericBlockHandler\nimport org.wordpress.aztec.plugins.shortcodes.... | kotlin | chosen |
[
{
"from": "system",
"value": "Use PrintlnInfo in back command\n"
},
{
"from": "human",
"value": "package io.gitlab.arturbosch.tinbo.common\n\nimport io.gitlab.arturbosch.tinbo.api.Command\nimport io.gitlab.arturbosch.tinbo.config.ModeAdvisor\nimport io.gitlab.arturbosch.tinbo.providers.PromptPro... | kotlin | chosen |
[
{
"from": "system",
"value": "Add custom equals method to image data class\n"
},
{
"from": "human",
"value": "package models\n\n/**\n * Created by allen on 3/29/17.\n */\n\ndata class Image(val id: String, val versionId: String, val path: String, var thumbnail: Thumbnail?)"
},
{
"from": ... | kotlin | chosen |
[
{
"from": "system",
"value": "Adjust kdoc and add license\n"
},
{
"from": "human",
"value": "package com.doctoror.particleswallpaper.app\n\nimport android.app.Application\nimport android.os.Looper\nimport android.os.StrictMode\nimport com.doctoror.particleswallpaper.BuildConfig\nimport io.reacti... | kotlin | chosen |
[
{
"from": "human",
"value": "Add distance layer forward test\n"
},
{
"from": "gpt",
"value": "/* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved.\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distri... | kotlin | chosen |
[
{
"from": "system",
"value": "Add some more logs for when the plugin enables\n"
},
{
"from": "human",
"value": "package net.moltendorf.Bukkit.IntelliDoors\n\nimport net.moltendorf.Bukkit.IntelliDoors.listener.Interact\nimport net.moltendorf.Bukkit.IntelliDoors.listener.Redstone\nimport org.bukki... | kotlin | chosen |
[
{
"from": "system",
"value": "Change val variable to static.\n"
},
{
"from": "human",
"value": "package app.himawari.filter\n\nimport org.slf4j.MDC\nimport org.springframework.core.Ordered\nimport org.springframework.core.annotation.Order\nimport org.springframework.security.core.context.Securit... | kotlin | chosen |
[
{
"from": "system",
"value": "Update supported build scan plugin to 2.2-rc-1\n"
},
{
"from": "human",
"value": "dependencies {\n implementation(\"me.champeau.gradle:jmh-gradle-plugin:0.4.8\")\n implementation(\"org.jsoup:jsoup:1.11.3\")\n implementation(\"com.gradle:build-scan-plugin:2.... | kotlin | chosen |
[
{
"from": "system",
"value": "Remove java 8 api call to avoid crash on Android\n"
},
{
"from": "human",
"value": "package com.chibatching.kotpref\n\nimport android.annotation.TargetApi\nimport android.content.SharedPreferences\nimport android.os.Build\nimport com.chibatching.kotpref.pref.StringS... | kotlin | chosen |
[
{
"from": "system",
"value": "Revert \"Prepare lottery: remove all tickets from 2019\"\n\nThis reverts commit 74c374ff\n"
},
{
"from": "human",
"value": "package mixit.repository\n\nimport com.fasterxml.jackson.databind.ObjectMapper\nimport com.fasterxml.jackson.module.kotlin.readValue\nimport m... | kotlin | chosen |
[
{
"from": "system",
"value": "Update plugin itself to 4.1.0 version.\n\nSigned-off-by: Yahor Berdnikau <65de286607a8090de37d6bb23a427517fd3c474e@gmail.com>\n"
},
{
"from": "human",
"value": "object PluginVersions {\n val kotlin = \"1.2.50\"\n val ktlintPlugin = \"4.0.0\"\n val gradlePub... | kotlin | chosen |
[
{
"from": "system",
"value": "Use string instead of Language as map key (to support plugin unloading)\n\nGitOrigin-RevId: cd8b3540d7bbd7a6b5eeddf5ba33cc247aa58dc3"
},
{
"from": "human",
"value": "// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 licens... | kotlin | chosen |
[
{
"from": "system",
"value": "Align Kotlin example of `listProperty` sample with Groovy\n\nSigned-off-by: Mike Kobit <6b5be85140a72f835339fc5384eb248e653d0103@gmail.com>\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2018 the original author or authors.\n *\n * Licensed under the Apache Lic... | kotlin | chosen |
[
{
"from": "system",
"value": "Sort by\tmeasurement results from @DaveAppleton\n\nsee https://github.com/DaveAppleton/goerli_test\n"
},
{
"from": "human",
"value": "package org.walleth.data.networks.all\n\nimport org.kethereum.model.ChainDefinition\nimport org.kethereum.model.ChainId\nimport org.... | kotlin | chosen |
[
{
"from": "human",
"value": "Define a model type for a module-less binding\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright 2020 Michael Rozumyanskiy\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n ... | kotlin | chosen |
[
{
"from": "human",
"value": "WIP: Add integration test for Spotify tag - DOES NOT YET PASS.\n"
},
{
"from": "gpt",
"value": "package com.eden.orchid.writersblocks.tags\n \nimport com.eden.orchid.impl.generators.HomepageGenerator\nimport com.eden.orchid.strikt.asHtml\nimport com.eden.orchid.stri... | kotlin | chosen |
[
{
"from": "system",
"value": "Fix filter for ticket status\n"
},
{
"from": "human",
"value": "package lt.markmerkk.tickets\n\nimport lt.markmerkk.Tags\nimport lt.markmerkk.entities.TicketStatus\nimport net.rcarz.jiraclient.JiraClient\nimport net.rcarz.jiraclient.JiraException\nimport net.rcarz.j... | kotlin | chosen |
[
{
"from": "system",
"value": "Reset parser in between tests\n"
},
{
"from": "human",
"value": "package app.cash.sqldelight.core.lang\n\nimport app.cash.sqldelight.core.SqlDelightProjectService\nimport app.cash.sqldelight.core.SqldelightParserUtil\nimport app.cash.sqldelight.core.lang.psi.Functio... | kotlin | chosen |
[
{
"from": "system",
"value": "Add OMR1 and sdk() helper\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2017 Zac Sweers\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy... | kotlin | chosen |
[
{
"from": "system",
"value": "Implement visit leaf psi element methods\n"
},
{
"from": "human",
"value": "package io.gitlab.arturbosch.detekt.api\n\nimport org.jetbrains.kotlin.psi.KtTreeVisitorVoid\n\n/**\n * Base visitor for detekt rules.\n *\n * @author Artur Bosch\n */\nopen class DetektVisi... | kotlin | chosen |
[
{
"from": "system",
"value": "Add hcl language display name\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2000-2015 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may ob... | kotlin | chosen |
[
{
"from": "system",
"value": "Move const to companion object\n"
},
{
"from": "human",
"value": "package com.alexstyl.specialdates.upcoming\n\nimport com.alexstyl.specialdates.date.Date\nimport com.alexstyl.specialdates.date.TimePeriod\nimport com.alexstyl.specialdates.permissions.ContactPermissi... | kotlin | chosen |
[
{
"from": "system",
"value": "Fix showIcons logic on ActionsAdapter\n"
},
{
"from": "human",
"value": "package chat.rocket.android.chatroom.ui.bottomsheet.adapter\n\nimport android.view.MenuItem\nimport android.view.View\nimport chat.rocket.android.R\nimport chat.rocket.android.util.setVisible\n... | kotlin | chosen |
[
{
"from": "human",
"value": "Add simple example for list based input data\n"
},
{
"from": "gpt",
"value": "package com.github.fwilhe.incell.example\n\nimport com.github.fwilhe.incell.buildFunctionOf\nimport com.github.fwilhe.incell.spreadsheet\n\nfun main(args: Array<String>) {\n val expenseL... | kotlin | chosen |
[
{
"from": "human",
"value": "Create method to transform a list of LayerInterface to a list of Layer\n"
},
{
"from": "gpt",
"value": "/* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved.\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2... | kotlin | chosen |
[
{
"from": "system",
"value": "Refactor thumbnail and photo asset urls to use constants\n"
},
{
"from": "human",
"value": "package views\n\nimport models.Image\nimport models.Thumbnail\nimport views.BaseView.baseUrl\nimport views.BaseView.uriEncode\n\n/**\n * Created by allen on 3/30/17.\n */\n\n... | kotlin | chosen |
[
{
"from": "system",
"value": "Exclude `META-INF/*.kotlin_module` from `classycle` checks in `soak`\n"
},
{
"from": "human",
"value": "import org.gradle.gradlebuild.unittestandcompile.ModuleType\n\nplugins {\n gradlebuild.classycle\n `kotlin-library`\n}\n\ndependencies {\n testFixturesAp... | kotlin | chosen |
[
{
"from": "system",
"value": "Make enginering mode enabled only when turned on\n"
},
{
"from": "human",
"value": "package info.nightscout.androidaps.utils.buildHelper\n\nimport info.nightscout.androidaps.BuildConfig\nimport info.nightscout.androidaps.Config\nimport info.nightscout.androidaps.plu... | kotlin | chosen |
[
{
"from": "system",
"value": "Update kotlin to correctly report attributes to JUnit integration\n"
},
{
"from": "human",
"value": "package org.spek.junit.api\n\nimport org.spek.impl.*\nimport org.spek.junit.impl.*\nimport org.junit.runner.RunWith\nimport org.junit.Test as test\n\nRunWith(javaCla... | kotlin | chosen |
[
{
"from": "system",
"value": "Rename one of NotificationAction classes to avoid confusion with another\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2000-2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in ... | kotlin | chosen |
[
{
"from": "human",
"value": "Test multi-repo update to update only roots which need it\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright 2000-2017 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with th... | kotlin | chosen |
[
{
"from": "system",
"value": "Save the project factors storage info workspace file\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2000-2017 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the ... | kotlin | chosen |
[
{
"from": "system",
"value": "Update build version of IJ\n"
},
{
"from": "human",
"value": "package _Self\n\nobject Constants {\n const val DEFAULT_CHANNEL = \"default\"\n const val EAP_CHANNEL = \"eap\"\n const val DEV_CHANNEL = \"Dev\"\n\n const val VERSION = \"1.10.3\"\n const val DEV_VE... | kotlin | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.