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
2e21d0f69b01b76700516eb98664d12d73c6a46b
aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecVideoSpan.kt
aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecVideoSpan.kt
package org.wordpress.aztec.spans import android.content.Context import android.graphics.drawable.Drawable import android.support.v4.content.ContextCompat import android.view.Gravity import org.wordpress.aztec.AztecAttributes import org.wordpress.aztec.AztecText class AztecVideoSpan(context: Context, drawable: Drawab...
package org.wordpress.aztec.spans import android.content.Context import android.graphics.drawable.Drawable import android.support.v4.content.ContextCompat import android.view.Gravity import org.wordpress.aztec.AztecAttributes import org.wordpress.aztec.AztecText class AztecVideoSpan(context: Context, drawable: Drawab...
Use the default video WordPress shortcode when creating HTML
Use the default video WordPress shortcode when creating HTML
Kotlin
mpl-2.0
wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android
43c0f4bcf214c3c5f8394e545d56301289b8b7a6
python/src/com/jetbrains/python/sdk/flavors/MayaSdkFlavor.kt
python/src/com/jetbrains/python/sdk/flavors/MayaSdkFlavor.kt
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.python.sdk.flavors import com.intellij.openapi.util.io.FileUtil import com.intellij.openapi.vfs.VirtualFile import icons.PythonIcons import java.io.File imp...
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.jetbrains.python.sdk.flavors import com.intellij.openapi.util.io.FileUtil import com.intellij.openapi.vfs.VirtualFile import java.io.File class MayaSdkFlavor private...
Make maya flavor more closer to cpython one as it is just renamed/recompiled cpython (PY-39469)
Make maya flavor more closer to cpython one as it is just renamed/recompiled cpython (PY-39469) GitOrigin-RevId: 399caef6c3574a9bf40154854bd6860bab8198a1
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...
7d794da6e9a559ab807324d632bf335253c987cc
extensions/smallrye-reactive-messaging/kotlin/src/main/kotlin/io/quarkus/smallrye/reactivemessaging/runtime/kotlin/AbstractSubscribingCoroutineInvoker.kt
extensions/smallrye-reactive-messaging/kotlin/src/main/kotlin/io/quarkus/smallrye/reactivemessaging/runtime/kotlin/AbstractSubscribingCoroutineInvoker.kt
package io.quarkus.smallrye.reactivemessaging.runtime.kotlin import io.quarkus.arc.Arc import io.smallrye.reactive.messaging.Invoker import io.vertx.core.Vertx import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.async import kotlinx.coroutines.future.asCompletableFuture import java.util.concurrent....
package io.quarkus.smallrye.reactivemessaging.runtime.kotlin import io.quarkus.arc.Arc import io.smallrye.reactive.messaging.Invoker import io.vertx.core.Vertx import kotlinx.coroutines.CoroutineDispatcher import kotlinx.coroutines.async import kotlinx.coroutines.future.asCompletableFuture import java.util.concurrent....
Improve error message for Reactive Messaging coroutine support
Improve error message for Reactive Messaging coroutine support Relates to: #25502
Kotlin
apache-2.0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
a5bdef9311cc2fd1f457e151f275e7ff93c29d86
networks/src/main/kotlin/org/walleth/data/networks/all/NetworkDefinition5.kt
networks/src/main/kotlin/org/walleth/data/networks/all/NetworkDefinition5.kt
package org.walleth.data.networks.all import org.kethereum.model.ChainDefinition import org.walleth.data.networks.NetworkDefinition class NetworkDefinition5 : NetworkDefinition { override val chain = ChainDefinition(5L, "GOR") override fun getNetworkName() = "goerli" override val infoUrl = "https://go...
package org.walleth.data.networks.all import org.kethereum.model.ChainDefinition import org.walleth.data.networks.NetworkDefinition class NetworkDefinition5 : NetworkDefinition { override val chain = ChainDefinition(5L, "GOR") override fun getNetworkName() = "goerli" override val infoUrl = "https://go...
Use the new faucet where we can pass the address
Use the new faucet where we can pass the address Also the other one is not working anymore. Context: https://github.com/poanetwork/poa-faucet/pull/19
Kotlin
mit
walleth/kethereum
cbf68e3f973fc5e12e019f00c02a6326c83df448
src/main/kotlin/cli/Cli.kt
src/main/kotlin/cli/Cli.kt
package com.serebit.autotitan.cli import com.github.ajalt.clikt.core.CliktCommand import com.github.ajalt.clikt.parameters.options.flag import com.github.ajalt.clikt.parameters.options.option import com.github.ajalt.clikt.parameters.options.versionOption import com.serebit.autotitan.VERSION import com.serebit.autotita...
package com.serebit.autotitan.cli import com.github.ajalt.clikt.core.CliktCommand import com.github.ajalt.clikt.parameters.options.flag import com.github.ajalt.clikt.parameters.options.option import com.github.ajalt.clikt.parameters.options.versionOption import com.serebit.autotitan.VERSION import com.serebit.autotita...
Rename CLI interface to autotitan
Rename CLI interface to autotitan
Kotlin
apache-2.0
serebit/autotitan
2b661e103c33bfc0d23148ba38bab5e47c1b5202
reptar-kotlin/src/main/java/com/commit451/reptar/kotlin/reptar.kt
reptar-kotlin/src/main/java/com/commit451/reptar/kotlin/reptar.kt
package com.commit451.reptar.kotlin import io.reactivex.Single import io.reactivex.android.schedulers.AndroidSchedulers import io.reactivex.schedulers.Schedulers fun <T> Single<T>.fromIoToMainThread(): Single<T> { return this.subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) }
package com.commit451.reptar.kotlin import io.reactivex.Observable import io.reactivex.Single import io.reactivex.android.schedulers.AndroidSchedulers import io.reactivex.schedulers.Schedulers fun <T> Single<T>.fromIoToMainThread(): Single<T> { return this.subscribeOn(Schedulers.io()) .observeOn(Andro...
Add support for fromIoToMainThread for Observable
Add support for fromIoToMainThread for Observable
Kotlin
apache-2.0
Commit451/Reptar,Commit451/Reptar
c2fe84972f6e3e52acadfb138464cfe9dfcbfea5
plugin-dotnet-agent/src/main/kotlin/jetbrains/buildServer/agent/AntPathMatcher.kt
plugin-dotnet-agent/src/main/kotlin/jetbrains/buildServer/agent/AntPathMatcher.kt
package jetbrains.buildServer.agent import jetbrains.buildServer.util.pathMatcher.AntPatternFileCollector import java.io.File class AntPathMatcher : PathMatcher { override fun match(path: File, includeRules: List<String>): List<File> = AntPatternFileCollector.scanDir(path, includeRules.toTypedArray(),...
package jetbrains.buildServer.agent import jetbrains.buildServer.util.pathMatcher.AntPatternFileCollector import java.io.File class AntPathMatcher : PathMatcher { override fun match(path: File, includeRules: List<String>): List<File> = AntPatternFileCollector.scanDir(path, includeRules.toTypedArray(),...
Revert "Fix compilation error after common library method change"
Revert "Fix compilation error after common library method change" This reverts commit 499cc67d04acfe4bf6ab052575b0001d550f44c3.
Kotlin
apache-2.0
JetBrains/teamcity-dnx-plugin
499cc67d04acfe4bf6ab052575b0001d550f44c3
plugin-dotnet-agent/src/main/kotlin/jetbrains/buildServer/agent/AntPathMatcher.kt
plugin-dotnet-agent/src/main/kotlin/jetbrains/buildServer/agent/AntPathMatcher.kt
package jetbrains.buildServer.agent import jetbrains.buildServer.util.pathMatcher.AntPatternFileCollector import java.io.File class AntPathMatcher : PathMatcher { override fun match(path: File, includeRules: List<String>): List<File> = AntPatternFileCollector.scanDir(path, includeRules.toTypedArray(),...
package jetbrains.buildServer.agent import jetbrains.buildServer.util.pathMatcher.AntPatternFileCollector import java.io.File class AntPathMatcher : PathMatcher { override fun match(path: File, includeRules: List<String>): List<File> = AntPatternFileCollector.scanDir(path, includeRules.toTypedArray(),...
Fix compilation error after common library method change
Fix compilation error after common library method change
Kotlin
apache-2.0
JetBrains/teamcity-dnx-plugin
08780ea3efc14bba7b55b96320a3674bf8cbb6e0
.teamcity/Gradle_Check/configurations/ColonyCompatibility.kt
.teamcity/Gradle_Check/configurations/ColonyCompatibility.kt
package configurations import jetbrains.buildServer.configs.kotlin.v10.BuildStep import jetbrains.buildServer.configs.kotlin.v10.BuildType import jetbrains.buildServer.configs.kotlin.v10.FailureAction import jetbrains.buildServer.configs.kotlin.v10.buildSteps.gradle import jetbrains.buildServer.configs.kotlin.v10.buil...
package configurations import jetbrains.buildServer.configs.kotlin.v10.BuildStep import jetbrains.buildServer.configs.kotlin.v10.BuildType import jetbrains.buildServer.configs.kotlin.v10.buildSteps.gradle import jetbrains.buildServer.configs.kotlin.v10.buildSteps.script import model.CIBuildModel class ColonyCompatibi...
Revert "Colony Compatibility does not need to depend on distribution"
Revert "Colony Compatibility does not need to depend on distribution" This reverts commit 48f3e648ddaa18c5855638747c1bfd036f4fbeca.
Kotlin
apache-2.0
robinverduijn/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gra...
0ac6f84b55f533947a0befcd97d0ea132b923f07
app/src/main/java/cz/inventi/inventiskeleton/data/common/remote/RemotePlaceholderService.kt
app/src/main/java/cz/inventi/inventiskeleton/data/common/remote/RemotePlaceholderService.kt
package cz.inventi.inventiskeleton.data.common.remote import cz.inventi.inventiskeleton.data.post.Post import io.reactivex.Observable import retrofit2.http.GET /** * Created by tomas.valenta on 5/16/2017. */ interface RemotePlaceholderService { @GET("posts") fun postList(): Observable<List<Post>> @GET...
package cz.inventi.inventiskeleton.data.common.remote import cz.inventi.inventiskeleton.data.post.Post import io.reactivex.Observable import retrofit2.http.GET import retrofit2.http.Path /** * Created by tomas.valenta on 5/16/2017. */ interface RemotePlaceholderService { @GET("posts") fun postList(): Obser...
Fix route for single post
Fix route for single post
Kotlin
apache-2.0
InventiDevelopment/AndroidSkeleton,InventiDevelopment/AndroidSkeleton
a79455cbb16837879e1c72b5d3b97b34c0f81bb1
src/lang-xslt/main/uk/co/reecedunn/intellij/plugin/xslt/dom/Dom.kt
src/lang-xslt/main/uk/co/reecedunn/intellij/plugin/xslt/dom/Dom.kt
/* * Copyright (C) 2019 Reece H. Dunn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/* * Copyright (C) 2019 Reece H. Dunn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Create an XmlTag.xsltFile() helper function.
Create an XmlTag.xsltFile() helper function.
Kotlin
apache-2.0
rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin
3ac0faca384ec0212194b47ebed76652eb46c40c
plugin/src/main/java/io/michaelrocks/databindingcompat/PluginVersion.kt
plugin/src/main/java/io/michaelrocks/databindingcompat/PluginVersion.kt
package io.michaelrocks.databindingcompat import com.android.build.gradle.internal.Version object PluginVersion { val major: Int val minor: Int val patch: Int val suffix: String init { val version = Version.ANDROID_GRADLE_PLUGIN_VERSION suffix = version.substringAfter('-', "") val prefix = vers...
package io.michaelrocks.databindingcompat import com.android.builder.model.Version object PluginVersion { val major: Int val minor: Int val patch: Int val suffix: String init { val version = Version.ANDROID_GRADLE_PLUGIN_VERSION suffix = version.substringAfter('-', "") val prefix = version.subs...
Use a proper Version class from Android Gradle plugin
Use a proper Version class from Android Gradle plugin Fixes #1
Kotlin
apache-2.0
MichaelRocks/DataBindingCompat
6eda117e43e54104e5304bcbf7fbbb230642f4ad
espresso/src/androidTest/java/com/elpassion/android/commons/espresso/ActivityTestRuleUtilsTest.kt
espresso/src/androidTest/java/com/elpassion/android/commons/espresso/ActivityTestRuleUtilsTest.kt
package com.elpassion.android.commons.espresso import android.app.Instrumentation import android.content.Intent import android.os.Bundle import android.support.test.InstrumentationRegistry import android.support.test.rule.ActivityTestRule import android.widget.TextView import org.junit.Rule import org.junit.Test clas...
package com.elpassion.android.commons.espresso import android.app.Instrumentation import android.content.Intent import android.os.Bundle import android.support.test.InstrumentationRegistry import android.support.test.rule.ActivityTestRule import android.widget.TextView import org.junit.Assert.assertNull import org.jun...
Change test to improve test performance
Change test to improve test performance
Kotlin
apache-2.0
elpassion/android-commons,elpassion/android-commons,elpassion/android-commons
e498cda2a8b45c5955778f765d9358e2ae4c7c61
memento/src/main/kotlin/com/alexstyl/specialdates/people/PeoplePresenter.kt
memento/src/main/kotlin/com/alexstyl/specialdates/people/PeoplePresenter.kt
package com.alexstyl.specialdates.people import com.alexstyl.specialdates.contact.ContactsProvider import io.reactivex.Observable import io.reactivex.Scheduler import io.reactivex.disposables.Disposable import io.reactivex.subjects.PublishSubject class PeoplePresenter( private val contactProvider: ContactsPro...
package com.alexstyl.specialdates.people import com.alexstyl.specialdates.contact.ContactsProvider import io.reactivex.Observable import io.reactivex.Scheduler import io.reactivex.disposables.Disposable class PeoplePresenter( private val contactProvider: ContactsProvider, private val workScheduler: Sc...
Sort contacts according to their names
Sort contacts according to their names
Kotlin
mit
alexstyl/Memento-Calendar,alexstyl/Memento-Namedays,alexstyl/Memento-Namedays,alexstyl/Memento-Calendar,alexstyl/Memento-Calendar,auricgoldfinger/Memento-Namedays,auricgoldfinger/Memento-Namedays
95512f9bfe0607bd331fb6b57f2b88ab6109e377
app/src/main/java/com/battlelancer/seriesguide/ui/shows/FabRecyclerViewScrollDetector.kt
app/src/main/java/com/battlelancer/seriesguide/ui/shows/FabRecyclerViewScrollDetector.kt
package com.battlelancer.seriesguide.ui.shows import androidx.recyclerview.widget.RecyclerView import com.battlelancer.seriesguide.R import com.google.android.material.floatingactionbutton.FloatingActionButton /** * Hides the floating action button when scrolling down, shows it when scrolling up. If the view can * ...
package com.battlelancer.seriesguide.ui.shows import androidx.recyclerview.widget.RecyclerView import com.battlelancer.seriesguide.R import com.google.android.material.floatingactionbutton.FloatingActionButton import kotlin.math.abs /** * Hides the floating action button when scrolling down, shows it when scrolling ...
Fix floating add show button not hiding on scroll.
Fix floating add show button not hiding on scroll.
Kotlin
apache-2.0
UweTrottmann/SeriesGuide,UweTrottmann/SeriesGuide
964d85e3d07c8f21f660bce00943d5ac4ecd13de
build.gradle.kts
build.gradle.kts
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm").version("1.6.20") id("com.vanniktech.maven.publish") version ("0.19.0") } repositories { mavenCentral() } buildscript { extra["kotlinVersion"] = "1.6.20" repositories { mavenCentral() } dependencies { classpath(kotli...
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm").version("1.6.20") id("com.vanniktech.maven.publish") version ("0.19.0") id("com.github.ben-manes.versions") version "0.42.0" } repositories { mavenCentral() } buildscript { extra["kotlinVersion"] = "1.6.20" repositories { ...
Add plugin `com.github.ben-manes.versions` to keep dependencies updated.
Add plugin `com.github.ben-manes.versions` to keep dependencies updated.
Kotlin
apache-2.0
chimbori/crux,chimbori/crux
2be33e0e58d22865a83e15cd1117a44878836b81
app/src/test/kotlin/com/github/ramonrabello/kiphy/trends/data/RemoteTrendingDataSourceTest.kt
app/src/test/kotlin/com/github/ramonrabello/kiphy/trends/data/RemoteTrendingDataSourceTest.kt
package com.github.ramonrabello.kiphy.trends.data import com.github.ramonrabello.kiphy.trends.TrendingApi import org.junit.Before import org.junit.Test import org.mockito.Mockito.mock import org.mockito.Mockito.verify class RemoteTrendingDataSourceTest { private lateinit var api: TrendingApi private lateini...
package com.github.ramonrabello.kiphy.trends.data import com.github.ramonrabello.kiphy.trends.TrendingApi import com.github.ramonrabello.kiphy.trends.data.source.TrendingDataSource import com.github.ramonrabello.kiphy.trends.data.source.remote.RemoteTrendingDataSource import org.junit.Before import org.junit.Test impo...
Update unit test with new packages.
Update unit test with new packages.
Kotlin
apache-2.0
ramonrabello/Kiphy
8c1da33165c6852164f60ffe0a8a823167c18ba2
livedata-support/src/main/kotlin/com/chibatching/kotpref/livedata/KotprefLiveDataExtensions.kt
livedata-support/src/main/kotlin/com/chibatching/kotpref/livedata/KotprefLiveDataExtensions.kt
package com.chibatching.kotpref.livedata import android.content.SharedPreferences import androidx.lifecycle.LiveData import com.chibatching.kotpref.KotprefModel import kotlin.reflect.KProperty0 fun <T> KotprefModel.asLiveData(property: KProperty0<T>): LiveData<T> { return object : LiveData<T>(), SharedPreferences...
package com.chibatching.kotpref.livedata import android.content.SharedPreferences import androidx.lifecycle.LiveData import com.chibatching.kotpref.KotprefModel import kotlin.reflect.KProperty0 fun <T> KotprefModel.asLiveData(property: KProperty0<T>): LiveData<T> { return object : LiveData<T>(), SharedPreferences...
Fix that LiveData initial value fires twice
Fix that LiveData initial value fires twice
Kotlin
apache-2.0
chibatching/Kotpref
90dabc2ae9fb1db822106ec9e7d17bdb9ddb0b70
checkedlazy/src/main/java/splitties/checkedlazy/CommonAccessCheckers.kt
checkedlazy/src/main/java/splitties/checkedlazy/CommonAccessCheckers.kt
/* * Copyright (c) 2017. Louis Cognault Ayeva Derman * * 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 ...
/* * Copyright (c) 2017. Louis Cognault Ayeva Derman * * 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 ...
Remove currentThread property from checkedlazy
Remove currentThread property from checkedlazy
Kotlin
apache-2.0
LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties
a4522b9055bf5ecf89a00b2509d18734b62bf4e4
src/commonTest/kotlin/app/cash/turbine/testUtil.kt
src/commonTest/kotlin/app/cash/turbine/testUtil.kt
/* * Copyright (C) 2020 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright (C) 2020 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Remove now-unused test helper function
Remove now-unused test helper function
Kotlin
apache-2.0
cashapp/turbine
ca1ecf4ffd8df93ede673896c82e0b160bd7ef16
worker/build.gradle.kts
worker/build.gradle.kts
plugins { id("java") id("application") } application { mainClassName = "com.github.k0kubun.gitstar_ranking.Main" } repositories { mavenCentral() } dependencies { compile("ch.qos.logback:logback-classic:1.3.0-alpha4") compile("com.google.guava:guava:21.0") compile("com.google.http-client:g...
plugins { id("java") id("application") } application { mainClass.set("com.github.k0kubun.gitstar_ranking.Main") } repositories { mavenCentral() } dependencies { implementation("ch.qos.logback:logback-classic:1.3.0-alpha4") implementation("com.google.guava:guava:21.0") implementation("com....
Fix deprecation warnings in the Gradle config
Fix deprecation warnings in the Gradle config
Kotlin
mit
k0kubun/github-ranking,k0kubun/githubranking,k0kubun/github-ranking,k0kubun/githubranking,k0kubun/github-ranking,k0kubun/githubranking,k0kubun/github-ranking,k0kubun/githubranking,k0kubun/githubranking,k0kubun/github-ranking
a2940d4b51b95ce51667bbafe2205ed1bcd15d2f
app/src/main/java/org/stepik/android/data/course/repository/CoursePurchaseDataRepositoryImpl.kt
app/src/main/java/org/stepik/android/data/course/repository/CoursePurchaseDataRepositoryImpl.kt
package org.stepik.android.data.course.repository import org.stepik.android.domain.course.repository.CoursePurchaseDataRepository import org.stepik.android.domain.course_payments.model.DeeplinkPromoCode import org.stepik.android.presentation.course_purchase.model.CoursePurchaseDataResult import javax.inject.Inject cl...
package org.stepik.android.data.course.repository import org.stepik.android.domain.course.repository.CoursePurchaseDataRepository import org.stepik.android.domain.course_payments.model.DeeplinkPromoCode import org.stepik.android.presentation.course_purchase.model.CoursePurchaseDataResult import javax.inject.Inject cl...
Add synchronized to save operation
Add synchronized to save operation
Kotlin
apache-2.0
StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepik-android
5184e2b97f6d948a7ca56225b202cb51e9e81a89
HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/response/ResponseWebView.kt
HTTPShortcuts/app/src/main/kotlin/ch/rmy/android/http_shortcuts/activities/response/ResponseWebView.kt
package ch.rmy.android.http_shortcuts.activities.response import android.content.Context import android.util.AttributeSet import android.webkit.WebSettings import android.webkit.WebView import android.webkit.WebViewClient import ch.rmy.android.http_shortcuts.extensions.consume import ch.rmy.android.http_shortcuts.exte...
package ch.rmy.android.http_shortcuts.activities.response import android.content.Context import android.util.AttributeSet import android.webkit.WebSettings import android.webkit.WebView import android.webkit.WebViewClient import ch.rmy.android.http_shortcuts.extensions.consume import ch.rmy.android.http_shortcuts.exte...
Use same user agent for webviews as for HTTP requests
Use same user agent for webviews as for HTTP requests
Kotlin
mit
Waboodoo/HTTP-Shortcuts,Waboodoo/HTTP-Shortcuts,Waboodoo/HTTP-Shortcuts
d9e7a79a692dd7e4a01a65d740c40d765e7f21ce
applications/billing/src/main/kotlin/com/example/billing/reocurringPayments/Controller.kt
applications/billing/src/main/kotlin/com/example/billing/reocurringPayments/Controller.kt
package com.example.billing.reocurringPayments import com.example.payments.Gateway import org.springframework.boot.actuate.metrics.CounterService import org.springframework.http.HttpHeaders import org.springframework.http.HttpStatus import org.springframework.http.MediaType import org.springframework.http.ResponseEnti...
package com.example.billing.reocurringPayments import com.example.payments.Gateway import org.springframework.boot.actuate.metrics.CounterService import org.springframework.http.HttpHeaders import org.springframework.http.HttpStatus import org.springframework.http.MediaType import org.springframework.http.ResponseEnti...
Add note about using delegation
Add note about using delegation
Kotlin
mit
mikegehard/user-management-evolution-kotlin,mikegehard/user-management-evolution-kotlin,mikegehard/user-management-evolution-kotlin
fe95b4e4dabca469944620c2fc4662e9ac47ab16
reactiveandroid-support-v4/src/main/kotlin/com/github/kittinunf/reactiveandroid/support/v4/widget/SwipeRefreshLayoutAction.kt
reactiveandroid-support-v4/src/main/kotlin/com/github/kittinunf/reactiveandroid/support/v4/widget/SwipeRefreshLayoutAction.kt
package com.github.kittinunf.reactiveandroid.support.v4.widget import android.support.v4.widget.SwipeRefreshLayout import com.github.kittinunf.reactiveandroid.Action import com.github.kittinunf.reactiveandroid.rx.addTo import com.github.kittinunf.reactiveandroid.rx.bindTo import rx.Subscription import rx.subscriptions...
package com.github.kittinunf.reactiveandroid.support.v4.widget import android.support.v4.widget.SwipeRefreshLayout import com.github.kittinunf.reactiveandroid.Action import com.github.kittinunf.reactiveandroid.rx.addTo import com.github.kittinunf.reactiveandroid.rx.bindTo import rx.Subscription import rx.subscriptions...
Fix bugs in refresh layout
Fix bugs in refresh layout
Kotlin
mit
kittinunf/ReactiveAndroid,kittinunf/ReactiveAndroid,kittinunf/ReactiveAndroid
6bde0c25f4f1b2e03b78dad6edb05048cca1902c
src/main/kotlin/com/reduks/reduks/Action.kt
src/main/kotlin/com/reduks/reduks/Action.kt
package com.reduks.reduks interface Action<in State> { fun action(state: State) }
package com.reduks.reduks interface Action<State> { fun action(state: State) : State }
Make action creator return a state
Make action creator return a state
Kotlin
mit
Reduks/Reduks
4d8045f70e878e8b1cd5004be0f838e434e3ceaf
server/src/main/kotlin/com/sebastiansokolowski/auctionhunter/entity/Target.kt
server/src/main/kotlin/com/sebastiansokolowski/auctionhunter/entity/Target.kt
package com.sebastiansokolowski.auctionhunter.entity import javax.persistence.* @Entity @Table(name = "target") data class Target( @Id @GeneratedValue(strategy = GenerationType.IDENTITY) var id: Long = 0, var name: String = "", var categoryId: String = "", var phrase: S...
package com.sebastiansokolowski.auctionhunter.entity import javax.persistence.* @Entity @Table(name = "target") data class Target( @Id @GeneratedValue(strategy = GenerationType.IDENTITY) var id: Long = 0, var name: String = "", var categoryId: String = "", var phrase: S...
Remove property and offer entries without relationship.
Remove property and offer entries without relationship.
Kotlin
apache-2.0
sebastiansokolowski/AuctionHunter---Allegro
7e117aaecfa40bfb955a8e302c2c1dacafc2eb89
BluetoothLeChat/app/src/main/java/com/example/bluetoothlechat/bluetooth/Message.kt
BluetoothLeChat/app/src/main/java/com/example/bluetoothlechat/bluetooth/Message.kt
/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2020 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Add comment explaining remote and local messages
Add comment explaining remote and local messages
Kotlin
apache-2.0
android/connectivity-samples,android/connectivity-samples,android/connectivity-samples,android/connectivity-samples
23acd0ae9d2f2cc61722359b648580ebd984d108
mobile/src/main/java/com/ianhanniballake/contractiontimer/appwidget/AppWidgetUpdateHandler.kt
mobile/src/main/java/com/ianhanniballake/contractiontimer/appwidget/AppWidgetUpdateHandler.kt
package com.ianhanniballake.contractiontimer.appwidget import android.content.Context import android.os.Build /** * Handles updating all App Widgets */ abstract class AppWidgetUpdateHandler { companion object { /** * Creates a version appropriate AppWidgetUpdateHandler instance * ...
package com.ianhanniballake.contractiontimer.appwidget import android.content.Context import android.os.Build /** * Handles updating all App Widgets */ abstract class AppWidgetUpdateHandler { companion object { /** * Creates a version appropriate AppWidgetUpdateHandler instance * ...
Remove no longer needed @JvmStatic
Remove no longer needed @JvmStatic
Kotlin
bsd-3-clause
ianhanniballake/ContractionTimer,ianhanniballake/ContractionTimer
c0e8bff1a4f1920ee7a9cb2692125cf5b0fe5a89
src/main/kotlin/configuration/mitsumameconfiguration.kt
src/main/kotlin/configuration/mitsumameconfiguration.kt
package com.st8vrt.mitsumame.configuration import com.st8vrt.mitsumame.storage.providers.InMemoryStorageProvider import com.st8vrt.mitsumame.storage.interfaces.SessionStorageProvider import com.st8vrt.mitsumame.storage.interfaces.DeviceStorageProvider import com.st8vrt.mitsumame.storage.interfaces.UserStorageProvider ...
package com.st8vrt.mitsumame.configuration import com.st8vrt.mitsumame.storage.providers.InMemoryStorageProvider import com.st8vrt.mitsumame.storage.interfaces.SessionStorageProvider import com.st8vrt.mitsumame.storage.interfaces.DeviceStorageProvider import com.st8vrt.mitsumame.storage.interfaces.UserStorageProvider ...
Add key iterations to the current config
Add key iterations to the current config
Kotlin
apache-2.0
swishy/Mitsumame
cfaf093e60d0db11098139a5861944f59e800094
.teamcity/src/main/kotlin/vcsroots/VcsRoots.kt
.teamcity/src/main/kotlin/vcsroots/VcsRoots.kt
package vcsroots import jetbrains.buildServer.configs.kotlin.v2019_2.AbsoluteId import jetbrains.buildServer.configs.kotlin.v2019_2.CheckoutMode import jetbrains.buildServer.configs.kotlin.v2019_2.VcsSettings import jetbrains.buildServer.configs.kotlin.v2019_2.vcs.GitVcsRoot object GradleAllBranches : GitVcsRoot({ ...
package vcsroots import jetbrains.buildServer.configs.kotlin.v2019_2.AbsoluteId import jetbrains.buildServer.configs.kotlin.v2019_2.CheckoutMode import jetbrains.buildServer.configs.kotlin.v2019_2.VcsSettings import jetbrains.buildServer.configs.kotlin.v2019_2.vcs.GitVcsRoot object GradleAllBranches : GitVcsRoot({ ...
Use same default branch and branch spec as before
Use same default branch and branch spec as before
Kotlin
apache-2.0
blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,grad...
09ec72a77cbcdaec7650de7db6c495c1734e3dbc
buildSrc/src/main/kotlin/config/ProjectVersions.kt
buildSrc/src/main/kotlin/config/ProjectVersions.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.gradle.api.Project import org.gradle.kotlin.dsl.extra import java.util.Properties object ProjectVersions { const val androidBuildTools = "29.0...
/* * Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license. */ @file:Suppress("PackageDirectoryMismatch") import org.gradle.api.Project import org.gradle.kotlin.dsl.extra import java.util.Properties object ProjectVersions { const val androidBuildTools = "29.0...
Use getOrPut instead of getOrElse + put
Use getOrPut instead of getOrElse + put
Kotlin
apache-2.0
LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties
d672640d35c373a8c26a9f1b437a2d1bf48b5697
rider/src/main/kotlin/com/jetbrains/rider/plugins/unity/actions/AttachToUnityProcessAction.kt
rider/src/main/kotlin/com/jetbrains/rider/plugins/unity/actions/AttachToUnityProcessAction.kt
package com.jetbrains.rider.plugins.unity.actions import com.intellij.openapi.actionSystem.AnAction import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.project.DumbAware import com.jetbrains.rider.plugins.unity.run.UnityProcessPickerDialog class AttachToUnityProcessAction : AnAction(), ...
package com.jetbrains.rider.plugins.unity.actions import com.intellij.openapi.actionSystem.AnAction import com.intellij.openapi.actionSystem.AnActionEvent import com.jetbrains.rider.plugins.unity.run.UnityProcessPickerDialog class AttachToUnityProcessAction : AnAction() { override fun actionPerformed(e: AnActionE...
Attach to Unity process no longer DumbAware
Attach to Unity process no longer DumbAware It needs to wait for the protocol to be ready
Kotlin
apache-2.0
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
d059fc900de91906e351c7e086c6c5af46a8d981
ktlint-core/src/main/kotlin/com/pinterest/ktlint/core/api/OptInFeatures.kt
ktlint-core/src/main/kotlin/com/pinterest/ktlint/core/api/OptInFeatures.kt
package com.pinterest.ktlint.core.api @RequiresOptIn( message = "This Ktlint feature is highly experimental, and most probably will change in the future releases.", level = RequiresOptIn.Level.ERROR ) @Retention(AnnotationRetention.BINARY) @Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION) public annot...
package com.pinterest.ktlint.core.api @RequiresOptIn( message = "This Ktlint feature is highly experimental, and most probably will change in the future releases.", level = RequiresOptIn.Level.ERROR ) @Retention(AnnotationRetention.BINARY) @Target( AnnotationTarget.CLASS, AnnotationTarget.FUNCTION, ...
Allow to annotate type aliases as well.
Allow to annotate type aliases as well.
Kotlin
mit
shyiko/ktlint,shyiko/ktlint,shyiko/ktlint,shyiko/ktlint
08266a39bac90f9093fdbd4277654da779154a38
kotlin/src/com/s13g/aoc/aoc2021/Day1.kt
kotlin/src/com/s13g/aoc/aoc2021/Day1.kt
package com.s13g.aoc.aoc2021 import com.s13g.aoc.Result import com.s13g.aoc.Solver /** * --- Day 1: Sonar Sweep --- * https://adventofcode.com/2021/day/1 */ class Day1 : Solver { override fun solve(lines: List<String>): Result { val measurements = lines.map { it.toLong() }.toList() val measurements2 = mu...
package com.s13g.aoc.aoc2021 import com.s13g.aoc.Result import com.s13g.aoc.Solver import com.s13g.aoc.resultFrom /** * --- Day 1: Sonar Sweep --- * https://adventofcode.com/2021/day/1 */ class Day1 : Solver { override fun solve(lines: List<String>): Result { val m1 = lines.map { it.toLong() }.toList() v...
Make the code shorter for Day 1
Make the code shorter for Day 1
Kotlin
apache-2.0
shaeberling/euler,shaeberling/euler,shaeberling/euler,shaeberling/euler
fd821ca3b929ff205844b1ba60e40acc51bf3c5e
src/nl/hannahsten/texifyidea/completion/BibtexTypeTokenProvider.kt
src/nl/hannahsten/texifyidea/completion/BibtexTypeTokenProvider.kt
package nl.hannahsten.texifyidea.completion import com.intellij.codeInsight.completion.CompletionParameters import com.intellij.codeInsight.completion.CompletionProvider import com.intellij.codeInsight.completion.CompletionResultSet import com.intellij.codeInsight.lookup.LookupElementBuilder import com.intellij.util.P...
package nl.hannahsten.texifyidea.completion import com.intellij.codeInsight.completion.CompletionParameters import com.intellij.codeInsight.completion.CompletionProvider import com.intellij.codeInsight.completion.CompletionResultSet import com.intellij.codeInsight.lookup.LookupElementBuilder import com.intellij.util.P...
Fix autocomplete text on bibtex type
Fix autocomplete text on bibtex type
Kotlin
mit
Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA
2713c59813cea9dd5d5787e4a21aa05471bfdb44
aztec/src/main/kotlin/org/wordpress/aztec/plugins/IToolbarButton.kt
aztec/src/main/kotlin/org/wordpress/aztec/plugins/IToolbarButton.kt
package org.wordpress.aztec.plugins import android.content.Context import android.graphics.drawable.Drawable import android.view.KeyEvent import android.view.View import android.view.ViewGroup import org.wordpress.aztec.ITextFormat import org.wordpress.aztec.toolbar.AztecToolbar import org.wordpress.aztec.toolbar.IToo...
package org.wordpress.aztec.plugins import android.content.Context import android.graphics.drawable.Drawable import android.view.KeyEvent import android.view.View import android.view.ViewGroup import org.wordpress.aztec.ITextFormat import org.wordpress.aztec.toolbar.AztecToolbar import org.wordpress.aztec.toolbar.IToo...
Add documentation to the toolbar plugin interface
Add documentation to the toolbar plugin interface
Kotlin
mpl-2.0
wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android
7b05154275ee8eda30763a66dc6bfbbf5de678da
.teamcity/src/main/kotlin/vcsroots/VcsRoots.kt
.teamcity/src/main/kotlin/vcsroots/VcsRoots.kt
package vcsroots import jetbrains.buildServer.configs.kotlin.v2019_2.AbsoluteId import jetbrains.buildServer.configs.kotlin.v2019_2.CheckoutMode import jetbrains.buildServer.configs.kotlin.v2019_2.VcsSettings import jetbrains.buildServer.configs.kotlin.v2019_2.vcs.GitVcsRoot object GradleAllBranches : GitVcsRoot({ ...
package vcsroots import jetbrains.buildServer.configs.kotlin.v2019_2.AbsoluteId import jetbrains.buildServer.configs.kotlin.v2019_2.CheckoutMode import jetbrains.buildServer.configs.kotlin.v2019_2.VcsSettings import jetbrains.buildServer.configs.kotlin.v2019_2.vcs.GitVcsRoot object GradleAllBranches : GitVcsRoot({ ...
Use same default branch and branch spec as before
Use same default branch and branch spec as before
Kotlin
apache-2.0
gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,grad...
20ceeede4401750a9e76b8ad102644433e74814e
src/main/kotlin/venus/assembler/pseudos/Store.kt
src/main/kotlin/venus/assembler/pseudos/Store.kt
package venus.assembler.pseudos import venus.assembler.AssemblerPassOne import venus.assembler.LineTokens import venus.assembler.PseudoWriter import venus.riscv.insts.dsl.relocators.PCRelHiRelocator import venus.riscv.insts.dsl.relocators.PCRelLoRelocator /** * Writes a store pseudoinstruction. (Those applied to a l...
package venus.assembler.pseudos import venus.assembler.AssemblerPassOne import venus.assembler.LineTokens import venus.assembler.PseudoWriter import venus.riscv.insts.dsl.relocators.PCRelHiRelocator import venus.riscv.insts.dsl.relocators.PCRelLoRelocator import venus.riscv.userStringToInt /** * Writes a store pseud...
Fix bug where store immediate was treated as label
Fix bug where store immediate was treated as label
Kotlin
mit
kvakil/venus,kvakil/venus,kvakil/venus
7b2ed227c276bcb2194a6224dbb604ebbbabd736
gradle/testing.gradle.kts
gradle/testing.gradle.kts
import org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL import org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED tasks.named<Test>("test").configure { useJUnitPlatform { includeEngines("junit-jupiter") } include("**/*Test.class", "**/*Tests.class") testLogging { events = setOf(FAILED) exc...
import org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL import org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED tasks.named<Test>("test").configure { useJUnitPlatform { includeEngines("junit-jupiter") } include("**/*Test.class", "**/*Tests.class") testLogging { events = setOf(FAILED) exc...
Enable experimental byte-buddy features to run on JDK 14
Enable experimental byte-buddy features to run on JDK 14 Issue: #1936
Kotlin
epl-1.0
sbrannen/junit-lambda,junit-team/junit-lambda
7131f30b5d80b0afcd942c0ab2869d08f439addd
room/src/main/java/dao/BaseInsertDao.kt
room/src/main/java/dao/BaseInsertDao.kt
/* * Copyright 2016-2018 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/* * Copyright 2016-2018 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
Switch the OnConflictStrategy to replace.
Switch the OnConflictStrategy to replace.
Kotlin
apache-2.0
jguerinet/Suitcase,jguerinet/Suitcase,jguerinet/android-utils,jguerinet/android-utils
556af90b39af08372756459220c5005f150d30ac
src/main/kotlin/by/dev/madhead/doktor/pipeline/DoktorStepExecution.kt
src/main/kotlin/by/dev/madhead/doktor/pipeline/DoktorStepExecution.kt
package by.dev.madhead.doktor.pipeline import by.dev.madhead.doktor.Messages import by.dev.madhead.doktor.model.DoktorConfig import by.dev.madhead.doktor.util.diagnose import hudson.AbortException import hudson.FilePath import hudson.model.TaskListener import org.jenkinsci.plugins.workflow.steps.StepContext import org...
package by.dev.madhead.doktor.pipeline import by.dev.madhead.doktor.Messages import by.dev.madhead.doktor.model.DoktorConfig import by.dev.madhead.doktor.util.diagnose import hudson.AbortException import hudson.FilePath import hudson.model.TaskListener import org.jenkinsci.plugins.workflow.steps.StepContext import org...
Switch to synchronous pipeline steps
Switch to synchronous pipeline steps
Kotlin
apache-2.0
madhead/doktor,madhead/doktor,madhead/doktor
f392baca8bf1982c612f090ec5b7694a1e499ccc
app/src/main/kotlin/de/markusfisch/android/binaryeye/app/BinaryEyeApp.kt
app/src/main/kotlin/de/markusfisch/android/binaryeye/app/BinaryEyeApp.kt
package de.markusfisch.android.binaryeye.app import android.app.Application import android.support.v8.renderscript.RenderScript import de.markusfisch.android.binaryeye.data.Database import de.markusfisch.android.binaryeye.preference.Preferences val db = Database() val prefs = Preferences() class BinaryEyeApp : Appli...
package de.markusfisch.android.binaryeye.app import android.app.Application import android.support.v8.renderscript.RenderScript import de.markusfisch.android.binaryeye.data.Database import de.markusfisch.android.binaryeye.preference.Preferences val db = Database() val prefs = Preferences() class BinaryEyeApp : Appli...
Remove special RenderScript handling for LineageOS
Remove special RenderScript handling for LineageOS Always running `RenderScript.forceCompat()` interferes with the `forceCompat` flag that is set/unset if there is a RSRuntimeException. Now that the app is restarting automatically for a RSRuntimeException this special handling is no longer required anyway.
Kotlin
mit
markusfisch/BinaryEye,markusfisch/BinaryEye
bf766f5e4bc6bd85a1a229b22f8224473419debe
detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/console/ProjectStatisticsReport.kt
detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/console/ProjectStatisticsReport.kt
package io.gitlab.arturbosch.detekt.cli.console import io.gitlab.arturbosch.detekt.api.ConsoleReport import io.gitlab.arturbosch.detekt.api.Detektion import io.gitlab.arturbosch.detekt.api.PREFIX import io.gitlab.arturbosch.detekt.api.format /** * @author Artur Bosch */ class ProjectStatisticsReport : ConsoleReport...
package io.gitlab.arturbosch.detekt.cli.console import io.gitlab.arturbosch.detekt.api.ConsoleReport import io.gitlab.arturbosch.detekt.api.Detektion import io.gitlab.arturbosch.detekt.api.PREFIX import io.gitlab.arturbosch.detekt.api.format /** * @author Artur Bosch */ class ProjectStatisticsReport : ConsoleReport...
Sort project metrics by priority
Sort project metrics by priority
Kotlin
apache-2.0
MyDogTom/detekt,arturbosch/detekt,Mauin/detekt,rock3r/detekt,Mauin/detekt,arturbosch/detekt,rock3r/detekt,Mauin/detekt,Mauin/detekt,rock3r/detekt,arturbosch/detekt
31d6374cc7101d7dea24defcd1c03e909420ccb6
plugins/base/src/test/kotlin/locationProvider/DefaultLocationProviderTest.kt
plugins/base/src/test/kotlin/locationProvider/DefaultLocationProviderTest.kt
package locationProvider import org.jetbrains.dokka.plugability.DokkaContext import org.jetbrains.dokka.base.resolvers.local.DefaultLocationProvider import org.jetbrains.dokka.testApi.testRunner.AbstractCoreTest import org.junit.Assert.assertNotEquals import org.junit.Test class DefaultLocationProviderTest: AbstractC...
package locationProvider import org.jetbrains.dokka.plugability.DokkaContext import org.jetbrains.dokka.base.resolvers.local.DefaultLocationProvider import org.jetbrains.dokka.testApi.testRunner.AbstractCoreTest import org.junit.jupiter.api.Assertions.assertNotEquals import org.junit.jupiter.api.Test class DefaultLoc...
Fix junit imports in tests
Fix junit imports in tests
Kotlin
apache-2.0
Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka
cee365c1a1de402d45ea79360f0c7f6f9a0d99af
smuggler-sample/src/androidTest/kotlin/io/mironov/smuggler/sample/SmugglerGenerator.kt
smuggler-sample/src/androidTest/kotlin/io/mironov/smuggler/sample/SmugglerGenerator.kt
package io.mironov.smuggler.sample import java.util.Random class SmugglerGenerator(private val seed: Long) { private val random = Random(seed) fun nextBoolean(): Boolean { return random.nextBoolean() } fun nextInt(): Int { return random.nextInt() } fun nextLong(): Long { return random.nextL...
package io.mironov.smuggler.sample import java.util.Random class SmugglerGenerator(private val seed: Long) { private val random = Random(seed) fun nextBoolean(): Boolean { return random.nextBoolean() } fun nextInt(): Int { return random.nextInt() } fun nextLong(): Long { return random.nextL...
Introduce generator methods for arrays
Introduce generator methods for arrays
Kotlin
mit
nsk-mironov/smuggler
e77118ccf3ada7623a16cc4a1634215ae5a18a85
plugins/filePrediction/src/com/intellij/filePrediction/history/FilePredictionHistory.kt
plugins/filePrediction/src/com/intellij/filePrediction/history/FilePredictionHistory.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.filePrediction.history import com.intellij.openapi.application.ApplicationManager import com.intellij.openapi.components.ServiceManager import com.intellij.o...
// 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.filePrediction.history import com.intellij.openapi.Disposable import com.intellij.openapi.application.ApplicationManager import com.intellij.openapi.componen...
Use correct disposable for message bus subscription (fixes NextFilePrediction case of IDEA-232470)
Use correct disposable for message bus subscription (fixes NextFilePrediction case of IDEA-232470) GitOrigin-RevId: 361e874fefac47bc9f213036f7743e6515bc30a1
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...
0a7f94f1b693f87585e3d9977961528314f4d71c
app/src/main/java/util/prefs/RegisterTermsPref.kt
app/src/main/java/util/prefs/RegisterTermsPref.kt
/* * Copyright 2014-2018 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/* * Copyright 2014-2018 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
Fix parsing of empty register terms
Fix parsing of empty register terms
Kotlin
apache-2.0
jguerinet/MyMartlet,jguerinet/MyMartlet-Android,jguerinet/MyMartlet,jguerinet/MyMartlet,jguerinet/MyMartlet
e4ba4d0be4ff9322fffaf3fb66407b8236e721a7
src/main/kotlin/com/github/shiraji/permissionsdispatcherplugin/data/AndroidGradleVersion.kt
src/main/kotlin/com/github/shiraji/permissionsdispatcherplugin/data/AndroidGradleVersion.kt
package com.github.shiraji.permissionsdispatcherplugin.data class AndroidGradleVersion(versionText: String) { private var major: Int private var minor: Int init { try { major = versionText.substringBefore(".").toInt() minor = versionText.substring(versionText.indexOf(".") +...
package com.github.shiraji.permissionsdispatcherplugin.data class AndroidGradleVersion(versionText: String) { private var major: Int private var minor: Int init { try { major = versionText.substringBefore(".").toInt() minor = versionText.substring(versionText.indexOf(".") +...
Fix the problem with version check logic
Fix the problem with version check logic
Kotlin
apache-2.0
shiraji/permissions-dispatcher-plugin,shiraji/permissions-dispatcher-plugin,shiraji/permissions-dispatcher-plugin
71e97918c471b1cb88ed57148d21881222a4964f
rider/src/main/kotlin/com/jetbrains/rider/plugins/unity/asmdef/AsmDefJsonSchemeProviderFactory.kt
rider/src/main/kotlin/com/jetbrains/rider/plugins/unity/asmdef/AsmDefJsonSchemeProviderFactory.kt
package com.jetbrains.rider.plugins.unity.asmdef import com.intellij.openapi.project.Project import com.intellij.openapi.vfs.VirtualFile import com.jetbrains.jsonSchema.extension.JsonSchemaFileProvider import com.jetbrains.jsonSchema.extension.JsonSchemaProviderFactory import com.jetbrains.jsonSchema.extension.SchemaT...
package com.jetbrains.rider.plugins.unity.asmdef import com.intellij.openapi.project.Project import com.intellij.openapi.vfs.VirtualFile import com.jetbrains.jsonSchema.extension.JsonSchemaFileProvider import com.jetbrains.jsonSchema.extension.JsonSchemaProviderFactory import com.jetbrains.jsonSchema.extension.SchemaT...
Add link to asmdef schema on schemastore
Add link to asmdef schema on schemastore
Kotlin
apache-2.0
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
9f7fa5539073d46c0a1ff64057936fb51e06fcfe
app/src/main/java/com/doctoror/particleswallpaper/userprefs/multisampling/MultisamplingPreferenceView.kt
app/src/main/java/com/doctoror/particleswallpaper/userprefs/multisampling/MultisamplingPreferenceView.kt
/* * Copyright (C) 2018 Yaroslav Mytkalyk * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright (C) 2018 Yaroslav Mytkalyk * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
Adjust entries values to match platform signature
Adjust entries values to match platform signature
Kotlin
apache-2.0
Doctoror/ParticleConstellationsLiveWallpaper,Doctoror/ParticleConstellationsLiveWallpaper
dee4c07a60f22bad9e04994350e61d142c73c4a5
detekt-rules/src/test/resources/cases/NamingConventions.kt
detekt-rules/src/test/resources/cases/NamingConventions.kt
package cases // both valid val variable = 5 val _variable = 5 // invalid start with _ is optional, but then lowercase! val V_riable = 5 val _Variable = 5 //valid fun fileMethod() { } //invalid fun FileMethod() { } fun _fileMethod() { } @Suppress("unused") class NamingConventions { //invalid val C_lassVariable = ...
@file:Suppress("unused") package cases // both valid val variable = 5 val _variable = 5 // invalid start with _ is optional, but then lowercase! val V_riable = 5 val _Variable = 5 //valid fun fileMethod() { } //invalid fun FileMethod() { } fun _fileMethod() { } class NamingConventions { //invalid val C_lassVaria...
Use file suppress in naming convention test case
Use file suppress in naming convention test case
Kotlin
apache-2.0
rock3r/detekt,arturbosch/detekt,Mauin/detekt,Mauin/detekt,Mauin/detekt,Mauin/detekt,rock3r/detekt,arturbosch/detekt,arturbosch/detekt,rock3r/detekt,MyDogTom/detekt
062601d2dbfb05ea25271638fa8006778e7da6c9
ktlint-ruleset-standard/src/test/kotlin/com/github/shyiko/ktlint/ruleset/standard/NoConsecutiveBlankLinesRuleTest.kt
ktlint-ruleset-standard/src/test/kotlin/com/github/shyiko/ktlint/ruleset/standard/NoConsecutiveBlankLinesRuleTest.kt
package com.github.shyiko.ktlint.ruleset.standard import com.github.shyiko.ktlint.core.LintError import com.github.shyiko.ktlint.test.format import com.github.shyiko.ktlint.test.lint import org.assertj.core.api.Assertions.assertThat import org.testng.annotations.Test class NoConsecutiveBlankLinesRuleTest { @Test...
package com.github.shyiko.ktlint.ruleset.standard import com.github.shyiko.ktlint.core.LintError import com.github.shyiko.ktlint.test.format import com.github.shyiko.ktlint.test.lint import org.assertj.core.api.Assertions.assertThat import org.testng.annotations.Test class NoConsecutiveBlankLinesRuleTest { @Test ...
Add more unit test for NoConsecutiveBlankLinesRule
Add more unit test for NoConsecutiveBlankLinesRule
Kotlin
mit
shyiko/ktlint,shyiko/ktlint,shyiko/ktlint,shyiko/ktlint
ad0b1f391978e39920ca4550a3dd2ac826aa3779
app/src/main/java/com/aerodeko/pfm/model/EventManager.kt
app/src/main/java/com/aerodeko/pfm/model/EventManager.kt
package com.aerodeko.pfm.model import android.content.ContentValues import android.content.Context import android.database.sqlite.SQLiteDatabase import java.util.* /** * Created by rm on 10/12/2016. */ class EventManager(context: Context) { private val database: SQLiteDatabase init { val databaseH...
package com.aerodeko.pfm.model import android.content.ContentValues import android.content.Context import android.database.sqlite.SQLiteDatabase import com.aerodeko.pfm.extensions.timeInDays import java.util.* /** * Created by rm on 10/12/2016. */ class EventManager(context: Context) { private val database: SQ...
Store event dates as days, not milliseconds.
Store event dates as days, not milliseconds.
Kotlin
mit
superjohan/pfm,superjohan/pfm,superjohan/pfm
a6dd2ee479b67329f89ca5c699d69541fa221e7c
gradle/packaging.gradle.kts
gradle/packaging.gradle.kts
val gitProps: Map<String, String> by extra tasks { val collectFiles by creating(Copy::class) { dependsOn("jar", "generateGitProperties") from("$rootDir/etc/eb/.ebextensions") { into(".ebextensions") } from("$rootDir/etc/eb/Procfile") val jar = tasks.getByName<Jar>("jar") from(jar.output...
val gitProps: Map<String, String> by extra tasks { val collectFiles by creating(Copy::class) { dependsOn("jar", "generateGitProperties") from("$rootDir/etc/eb/.ebextensions") { into(".ebextensions") } from("$rootDir/etc/eb/.ebextensions/nginx") { into(".platform/nginx") } from("$r...
Copy nginx config to .platform folder as well for amazon linux 2
Copy nginx config to .platform folder as well for amazon linux 2
Kotlin
mit
TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service
402b619aaf327932705fe8476d01af6d693a0ac9
src/main/kotlin/de/axelrindle/broadcaster/model/Message.kt
src/main/kotlin/de/axelrindle/broadcaster/model/Message.kt
package de.axelrindle.broadcaster.model import net.md_5.bungee.api.chat.BaseComponent import net.md_5.bungee.chat.ComponentSerializer /** * A `Message` describes a piece of information that will be broadcasted around the server. */ abstract class Message /** * @param input The input text used for configuration. *...
package de.axelrindle.broadcaster.model import net.md_5.bungee.api.chat.BaseComponent import net.md_5.bungee.chat.ComponentSerializer /** * A `Message` describes a piece of information that will be broadcasted around the server. */ abstract class Message /** * @param input The input text used for configuration. *...
Test whether required class exists
Test whether required class exists
Kotlin
mit
axelrindle/Broadcaster-Plugin
a329c5ee68c08b4f650a7193d90ab41346e5a657
src/nl/rubensten/texifyidea/ui/PreviewForm.kt
src/nl/rubensten/texifyidea/ui/PreviewForm.kt
package nl.rubensten.texifyidea.ui import java.awt.image.BufferedImage import javax.swing.* /** * @author Sergei Izmailov */ class PreviewForm { var panel: JPanel? = null private var equationArea: JTextArea? = null private var outputArea: JTextArea? = null private var equationPanel: ImagePanel? = n...
package nl.rubensten.texifyidea.ui import java.awt.image.BufferedImage import javax.swing.* /** * @author Sergei Izmailov */ class PreviewForm { var panel: JPanel? = null private var equationArea: JTextArea? = null private var outputArea: JTextArea? = null private var equationPanel: ImagePanel? = n...
Switch Preview Window to Equation tab on success and to Output on error
Switch Preview Window to Equation tab on success and to Output on error
Kotlin
mit
Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA
33545a75c8f6fbf36ec34a8130b0af87d88b72af
src/nl/hannahsten/texifyidea/util/Log.kt
src/nl/hannahsten/texifyidea/util/Log.kt
package nl.hannahsten.texifyidea.util import com.intellij.openapi.diagnostic.Logger /** * Log messages to idea.log. During plugin development, it logs to build/idea-sandbox/system/log/idea.log. * @author Hannah Schellekens */ object Log { val logger: Logger by lazy { Logger.getInstance(Log::class.java) } ...
package nl.hannahsten.texifyidea.util import com.intellij.openapi.diagnostic.Logger /** * Log messages to idea.log. During plugin development, it logs to build/idea-sandbox/system/log/idea.log. * @author Hannah Schellekens */ object Log { private val logger: Logger by lazy { Logger.getInstance(Log::class.java...
Fix formatting of log string
Fix formatting of log string
Kotlin
mit
Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA
2615effe9d37c75792dd0721f6d583c3c9a586f6
app/src/main/java/me/devsaki/hentoid/database/domains/DuplicateEntry.kt
app/src/main/java/me/devsaki/hentoid/database/domains/DuplicateEntry.kt
package me.devsaki.hentoid.database.domains import io.objectbox.annotation.Entity import io.objectbox.annotation.Id import me.devsaki.hentoid.util.Helper @Entity data class DuplicateEntry( val referenceId: Long, val referenceSize: Long, var duplicateId: Long = -1, val titleScore: Float...
package me.devsaki.hentoid.database.domains import io.objectbox.annotation.Entity import io.objectbox.annotation.Id import me.devsaki.hentoid.util.Helper @Entity data class DuplicateEntry( val referenceId: Long, val referenceSize: Long, var duplicateId: Long = -1, val titleScore: Float = 0f, val c...
Change role of artist score in the global scoring
Change role of artist score in the global scoring
Kotlin
apache-2.0
AVnetWS/Hentoid,AVnetWS/Hentoid,AVnetWS/Hentoid
c3a69983f2ad9b945e6fe2bbf9185d72fb003a78
activity/activity/src/androidTest/java/androidx/activity/LeakCanaryApp.kt
activity/activity/src/androidTest/java/androidx/activity/LeakCanaryApp.kt
/* * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Use MultiDexApplication for activity androidTest
Use MultiDexApplication for activity androidTest We've enabled multidex for activity's androidTest apk, but did not swap to use MultiDexApplication, causing flaky tests on lower API levels. Test: ran activity tests on an API 17 device Change-Id: I8cb51100b31f4672c393a0f2a486f523a8cc20c6
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...
8d186ec2abb3940cb8c98826e0453807e8d0913d
src/main/kotlin/com/demonwav/mcdev/update/PluginUpdateStatus.kt
src/main/kotlin/com/demonwav/mcdev/update/PluginUpdateStatus.kt
/* * Minecraft Dev for IntelliJ * * https://minecraftdev.org * * Copyright (c) 2019 minecraft-dev * * MIT License */ package com.demonwav.mcdev.update import com.intellij.ide.plugins.IdeaPluginDescriptor import com.intellij.util.text.VersionComparatorUtil sealed class PluginUpdateStatus : Comparable<PluginUp...
/* * Minecraft Dev for IntelliJ * * https://minecraftdev.org * * Copyright (c) 2019 minecraft-dev * * MIT License */ package com.demonwav.mcdev.update import com.intellij.ide.plugins.IdeaPluginDescriptor import com.intellij.util.text.VersionComparatorUtil sealed class PluginUpdateStatus : Comparable<PluginUp...
Fix typo in version comparison which only compared a single version
Fix typo in version comparison which only compared a single version
Kotlin
mit
minecraft-dev/MinecraftDev,minecraft-dev/MinecraftDev,DemonWav/IntelliJBukkitSupport,DemonWav/MinecraftDevIntelliJ,DemonWav/MinecraftDevIntelliJ,minecraft-dev/MinecraftDev,DemonWav/MinecraftDevIntelliJ
05fe1bd28984e80dfdfe04f2ecc5e531ad6cd481
pydroid/src/main/java/com/pyamsoft/pydroid/presenter/SchedulerPresenter.kt
pydroid/src/main/java/com/pyamsoft/pydroid/presenter/SchedulerPresenter.kt
/* * Copyright (C) 2018 Peter Kenji Yamanaka * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
/* * Copyright (C) 2018 Peter Kenji Yamanaka * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
Enforce scheduler at creation time
Enforce scheduler at creation time
Kotlin
apache-2.0
pyamsoft/pydroid
a9e41de1f8c765d44d6f38eed561a591e6a00cc9
app/src/main/java/chat/rocket/android/util/extensions/Animation.kt
app/src/main/java/chat/rocket/android/util/extensions/Animation.kt
package chat.rocket.android.util.extensions import android.view.View import android.view.ViewAnimationUtils import android.view.animation.AccelerateInterpolator import android.view.animation.DecelerateInterpolator fun View.rotateBy(value: Float, duration: Long = 200) { animate() .rotationBy(value) ...
package chat.rocket.android.util.extensions import android.view.View import android.view.ViewAnimationUtils import android.view.animation.AccelerateInterpolator import android.view.animation.DecelerateInterpolator fun View.rotateBy(value: Float, duration: Long = 200) { animate() .rotationBy(value) ...
Add function fadeIn and fadeOut (instead of having fadeInOrOut(...))
Add function fadeIn and fadeOut (instead of having fadeInOrOut(...))
Kotlin
mit
RocketChat/Rocket.Chat.Android.Lily,RocketChat/Rocket.Chat.Android,RocketChat/Rocket.Chat.Android.Lily,RocketChat/Rocket.Chat.Android
597aa268386eb4adb5f82d11046b11a2a13693b8
composer-c1x/src/main/java/io/piano/android/composer/c1x/ShowRecommendationsController.kt
composer-c1x/src/main/java/io/piano/android/composer/c1x/ShowRecommendationsController.kt
package io.piano.android.composer.c1x import android.annotation.SuppressLint import android.webkit.WebView import io.piano.android.composer.model.Event import io.piano.android.composer.model.events.ShowRecommendations import io.piano.android.showhelper.BaseShowController class ShowRecommendationsController(event: Eve...
package io.piano.android.composer.c1x import android.annotation.SuppressLint import android.webkit.WebView import io.piano.android.composer.model.Event import io.piano.android.composer.model.events.ShowRecommendations import io.piano.android.showhelper.BaseShowController class ShowRecommendationsController(event: Eve...
Fix access to local storage for cx.js
Fix access to local storage for cx.js
Kotlin
apache-2.0
tinypass/piano-sdk-for-android
09fb4974118abc11d96ce60f6ccae8741ca9be27
rxproperty-kotlin/src/test/kotlin/com/github/kubode/rxproperty/EmptyVariableKtTest.kt
rxproperty-kotlin/src/test/kotlin/com/github/kubode/rxproperty/EmptyVariableKtTest.kt
package com.github.kubode.rxproperty import org.junit.Test import kotlin.test.assertNull class EmptyVariableKtTest { @Test(expected = NullPointerException::class) fun npeWhenAccessToDefaultValue() { val value = emptyVariable<String>().value value.length } @Test fun defaultValueIsNull() {...
package com.github.kubode.rxproperty import org.junit.Test import kotlin.test.assertEquals class EmptyVariableKtTest { @Test(expected = NullPointerException::class) fun npeWhenAccessToDefaultValue() { val value = emptyVariable<String>().value value.length } @Test fun setAndGet() { ...
Add empty variable test case.
Add empty variable test case.
Kotlin
apache-2.0
kubode/RxProperty,kubode/RxProperty,kubode/RxProperty
edb8fdb73b64012fbd72738b590a516b70f4499c
plugins-standard/src/main/java/org/runestar/client/plugins/std/windowsize/WindowSize.kt
plugins-standard/src/main/java/org/runestar/client/plugins/std/windowsize/WindowSize.kt
package org.runestar.client.plugins.std.windowsize import org.runestar.client.api.Application import org.runestar.client.plugins.Plugin import org.runestar.client.plugins.PluginSettings import java.awt.Dimension class WindowSize : Plugin<WindowSize.Settings>() { override val defaultSettings = Settings()...
package org.runestar.client.plugins.std.windowsize import org.kxtra.slf4j.logger.info import org.kxtra.swing.dimension.minus import org.kxtra.swing.dimension.plus import org.runestar.client.api.Application import org.runestar.client.game.raw.Client import org.runestar.client.plugins.Plugin import org.runestar....
Set window size with or without frame
Set window size with or without frame
Kotlin
mit
RuneSuite/client,RuneSuite/client
e1a09de22ee6e7bf40f5e067d4632fdad56effa6
data/src/main/java/com/edreams/android/workshops/kotlin/data/venues/mapper/VenueMapper.kt
data/src/main/java/com/edreams/android/workshops/kotlin/data/venues/mapper/VenueMapper.kt
package com.edreams.android.workshops.kotlin.data.venues.mapper import com.edreams.android.workshops.kotlin.data.venues.cache.entity.VenueEntity import com.edreams.android.workshops.kotlin.data.venues.remote.response.PhotoResponse import com.edreams.android.workshops.kotlin.data.venues.remote.response.VenueResponse im...
package com.edreams.android.workshops.kotlin.data.venues.mapper import com.edreams.android.workshops.kotlin.data.venues.cache.entity.VenueEntity import com.edreams.android.workshops.kotlin.data.venues.remote.response.PhotoResponse import com.edreams.android.workshops.kotlin.data.venues.remote.response.VenueResponse im...
Fix crash with emptu images lists
Fix crash with emptu images lists
Kotlin
apache-2.0
nico-gonzalez/K-Places,nico-gonzalez/K-Places
29a0e9043e02f2afcf2cbc4d0aa3a96d9efa438c
android_mobile/src/main/java/com/alexstyl/specialdates/upcoming/widget/list/ContactEventBinder.kt
android_mobile/src/main/java/com/alexstyl/specialdates/upcoming/widget/list/ContactEventBinder.kt
package com.alexstyl.specialdates.upcoming.widget.list import android.content.res.Resources import android.support.annotation.Px import android.widget.RemoteViews import com.alexstyl.specialdates.R import com.alexstyl.specialdates.upcoming.UpcomingContactEventViewModel internal class ContactEventBinder(private val r...
package com.alexstyl.specialdates.upcoming.widget.list import android.content.res.Resources import android.graphics.Bitmap import android.support.annotation.Px import android.widget.RemoteViews import com.alexstyl.specialdates.R import com.alexstyl.specialdates.contact.Contact import com.alexstyl.specialdates.upcoming...
Create a circle avatar if a contact has none
Create a circle avatar if a contact has none
Kotlin
mit
alexstyl/Memento-Calendar,auricgoldfinger/Memento-Namedays,alexstyl/Memento-Calendar,alexstyl/Memento-Namedays,alexstyl/Memento-Namedays,auricgoldfinger/Memento-Namedays,alexstyl/Memento-Calendar
6222b747b9615c28dfb4ee8e98da5aa8c57cb703
src/test/kotlin/assembler/LinkerTest.kt
src/test/kotlin/assembler/LinkerTest.kt
package venus.assembler import org.junit.Test import kotlin.test.assertEquals import kotlin.test.assertTrue import venus.simulator.Simulator class LinkerTest { @Test fun linkOneFile() { val prog = Assembler.assemble(""" start: addi x8 x8 1 addi x9 x0 2 beq x8 x9 skip ...
package venus.assembler import org.junit.Test import kotlin.test.assertEquals import kotlin.test.assertTrue import venus.simulator.Simulator class LinkerTest { @Test fun linkOneFile() { val prog = Assembler.assemble(""" start: addi x8 x8 1 addi x9 x0 2 beq x8 x9 skip ...
Add linker test for two files
Add linker test for two files
Kotlin
mit
kvakil/venus,kvakil/venus,kvakil/venus
f4bcb4150849bff8ae922197e2432a566c613eb4
src/main/kotlin/com/elpassion/intelijidea/MFSettingsEditor.kt
src/main/kotlin/com/elpassion/intelijidea/MFSettingsEditor.kt
package com.elpassion.intelijidea import com.intellij.openapi.options.SettingsEditor import com.intellij.openapi.project.Project import javax.swing.JComponent class MFSettingsEditor(project: Project) : SettingsEditor<MFRunnerConfiguration>() { private val mainEditorPanel = MFSettingsEditorPanel(project) ov...
package com.elpassion.intelijidea import com.intellij.openapi.options.SettingsEditor import com.intellij.openapi.project.Project import javax.swing.JComponent class MFSettingsEditor(project: Project) : SettingsEditor<MFRunnerConfiguration>() { private val mainEditorPanel = MFSettingsEditorPanel(project) ov...
Apply mainframer configuration to MFRunConfiguration
Apply mainframer configuration to MFRunConfiguration
Kotlin
apache-2.0
elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin
8a3c12ef9083da8fb118b8c71b000b67263040a2
app/src/main/java/net/squanchy/support/graphics/Color.kt
app/src/main/java/net/squanchy/support/graphics/Color.kt
package net.squanchy.support.graphics import android.graphics.Color import android.support.annotation.ColorInt private const val MAX_COLOR_COMPONENT = 255.0 private const val GAMMA_FACTOR = 2.2 private const val MAX_LIGHTNESS_FOR_LIGHT_TEXT = .18 private const val FACTOR_RED = 0.2126 private const val FACTOR_GREEN = ...
package net.squanchy.support.graphics import android.support.annotation.ColorInt import android.support.v4.graphics.ColorUtils @ColorInt internal fun Int.pickBestTextColorByContrast(@ColorInt firstTextColor: Int, @ColorInt secondTextColor: Int): Int { val firstTextContrast = ColorUtils.calculateContrast(firstText...
Improve contrasting text colour picking algorithm
Improve contrasting text colour picking algorithm
Kotlin
apache-2.0
squanchy-dev/squanchy-android,squanchy-dev/squanchy-android,squanchy-dev/squanchy-android
24d5adbce9175e210586daf7e37f81be987079c3
src/nl/hannahsten/texifyidea/index/file/LatexPackageDataIndexer.kt
src/nl/hannahsten/texifyidea/index/file/LatexPackageDataIndexer.kt
package nl.hannahsten.texifyidea.index.file import com.intellij.util.indexing.DataIndexer import com.intellij.util.indexing.FileContent /** * Get the content we need from LaTeX Package source files. */ class LatexPackageDataIndexer : DataIndexer<String, String, FileContent> { private val macroWithDocsRegex = ""...
package nl.hannahsten.texifyidea.index.file import com.intellij.util.indexing.DataIndexer import com.intellij.util.indexing.FileContent import nl.hannahsten.texifyidea.util.containsAny /** * Get the content we need from LaTeX Package source files. */ class LatexPackageDataIndexer : DataIndexer<String, String, FileC...
Support macro documentation of multiple lines
Support macro documentation of multiple lines
Kotlin
mit
Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA
b65acff0d36bd7b26d73399658cf9bf6a357c41b
app/src/main/java/net/squanchy/notification/UpcomingEventsService.kt
app/src/main/java/net/squanchy/notification/UpcomingEventsService.kt
package net.squanchy.notification import io.reactivex.Single import net.squanchy.schedule.domain.view.Event import net.squanchy.support.system.CurrentTime import org.threeten.bp.Duration import org.threeten.bp.ZonedDateTime class UpcomingEventsService( private val service: NotificationService, private val cur...
package net.squanchy.notification import io.reactivex.Single import net.squanchy.schedule.domain.view.Event import net.squanchy.support.system.CurrentTime import org.threeten.bp.Duration import org.threeten.bp.ZonedDateTime class UpcomingEventsService( private val service: NotificationService, private val cur...
Transform method to extension function
Transform method to extension function
Kotlin
apache-2.0
squanchy-dev/squanchy-android,squanchy-dev/squanchy-android,squanchy-dev/squanchy-android
44f8d969ac075cce3e00ec3c29673652cc84bac0
app/src/main/java/pl/droidsonroids/droidsmap/FlowManager.kt
app/src/main/java/pl/droidsonroids/droidsmap/FlowManager.kt
package pl.droidsonroids.droidsmap import pl.droidsonroids.droidsmap.feature.office.ui.OfficeUiGateway import pl.droidsonroids.droidsmap.feature.room.ui.RoomUiGateway class FlowManager(private val officeFeatureGateway: OfficeUiGateway, private val roomFeatureGateway: RoomUiGateway, terminateListener: Terminatable) { ...
package pl.droidsonroids.droidsmap import pl.droidsonroids.droidsmap.feature.office.ui.OfficeUiGateway import pl.droidsonroids.droidsmap.feature.room.ui.RoomUiGateway class FlowManager(private val officeFeatureGateway: OfficeUiGateway, private val roomFeatureGateway: RoomUiGateway, private val terminateListener: Term...
Implement app gets terminated upon back button press in office perspective
Implement app gets terminated upon back button press in office perspective
Kotlin
mit
DroidsOnRoids/DroidsMap,DroidsOnRoids/DroidsMap
34100c6937cff8720f942e7fdad25772fc5fa7ed
core/src/main/java/io/plaidapp/core/dagger/MarkdownModule.kt
core/src/main/java/io/plaidapp/core/dagger/MarkdownModule.kt
/* * Copyright 2018 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * Copyright 2018 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Clean up unneccessary @Inject and import
Clean up unneccessary @Inject and import
Kotlin
apache-2.0
nickbutcher/plaid,nickbutcher/plaid,nickbutcher/plaid,nickbutcher/plaid
04a2d921dca91d30f1f4a683bb47b23f0421490c
samples/multi-kotlin-project-config-injection/build.gradle.kts
samples/multi-kotlin-project-config-injection/build.gradle.kts
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile buildscript { repositories { gradleScriptKotlin() } dependencies { classpath(kotlinModule("gradle-plugin")) } } allprojects { group = "org.gradle.script.kotlin.samples.multiprojectci" version = "1.0" configure(listOf(repositories, buildscri...
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile buildscript { repositories { gradleScriptKotlin() } dependencies { classpath(kotlinModule("gradle-plugin")) } } allprojects { group = "org.gradle.script.kotlin.samples.multiprojectci" version = "1.0" configure(listOf(repositories, buildscri...
Revert sample to form compatible with dev version
Revert sample to form compatible with dev version Just so we can run at least one successful benchmark on CI. It will be reverted later.
Kotlin
apache-2.0
gradle/gradle-script-kotlin,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle-script-kotlin,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,grad...
f80545a487275ab6a6eecb47dda8b8c06823a0e6
src/main/java/uk/co/reecedunn/intellij/plugin/xdm/model/Items.kt
src/main/java/uk/co/reecedunn/intellij/plugin/xdm/model/Items.kt
/* * Copyright (C) 2017 Reece H. Dunn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/* * Copyright (C) 2017 Reece H. Dunn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Make XdmFunction, XdmNode, and derived types concrete classes.
Make XdmFunction, XdmNode, and derived types concrete classes.
Kotlin
apache-2.0
rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin
54749d51563edb97150c0faaa4ff6988e1d77ad8
app/src/main/java/chat/rocket/android/app/AuthenticationActivity.kt
app/src/main/java/chat/rocket/android/app/AuthenticationActivity.kt
package chat.rocket.android.app import android.os.Bundle import chat.rocket.android.BaseActivity import chat.rocket.android.R class AuthenticationActivity : BaseActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_au...
package chat.rocket.android.app import android.os.Bundle import chat.rocket.android.BaseActivity import chat.rocket.android.R class AuthenticationActivity : BaseActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_au...
Change AuthenticationLoginFragment to AuthenticationSignUpFragment class.
Change AuthenticationLoginFragment to AuthenticationSignUpFragment class.
Kotlin
mit
RocketChat/Rocket.Chat.Android.Lily,RocketChat/Rocket.Chat.Android,RocketChat/Rocket.Chat.Android.Lily,RocketChat/Rocket.Chat.Android
7317493493429f8f8ee893a320766bdcf3ad2217
parser/src/test/kotlin/com/guerinet/mymartlet/parser/GeneralTest.kt
parser/src/test/kotlin/com/guerinet/mymartlet/parser/GeneralTest.kt
/* * Copyright 2014-2019 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/* * Copyright 2014-2019 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
Use NoSuchElementException to capture missing char element
Use NoSuchElementException to capture missing char element
Kotlin
apache-2.0
jguerinet/MyMartlet,jguerinet/MyMartlet,jguerinet/MyMartlet,jguerinet/MyMartlet-Android,jguerinet/MyMartlet
f13ff41f25f053c9c1fa482857926dafd15fb8d8
java/dagger/lint/DaggerIssueRegistry.kt
java/dagger/lint/DaggerIssueRegistry.kt
/* * Copyright (C) 2020 The Dagger 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 applicable law or ag...
/* * Copyright (C) 2020 The Dagger 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 applicable law or ag...
Add minApi and fix current api in Dagger Lint Registry.
Add minApi and fix current api in Dagger Lint Registry. Fixes: https://github.com/google/dagger/issues/2196 RELNOTES=n/a PiperOrigin-RevId: 351432904
Kotlin
apache-2.0
ze-pequeno/dagger,dushmis/dagger,ze-pequeno/dagger,ze-pequeno/dagger,google/dagger,dushmis/dagger,google/dagger,google/dagger,google/dagger,ze-pequeno/dagger
d3b4c2e2d08fd45950ae61b8a2bebbedc6c4d573
models/src/main/java/lt/markmerkk/Const.kt
models/src/main/java/lt/markmerkk/Const.kt
package lt.markmerkk /** * @author mariusmerkevicius * @since 2016-08-09 */ object Const { val DEFAULT_JQL_WORKLOG_TEMPLATE = "key in workedIssues(\"%s\", \"%s\", \"%s\")" val DEFAULT_JQL_USER_ISSUES = "(status not in (closed, resolved)) AND (assignee = currentUser() OR reporter = currentUser())" // var...
package lt.markmerkk /** * @author mariusmerkevicius * @since 2016-08-09 */ object Const { val DEFAULT_JQL_USER_ISSUES = "(status not in (closed, resolved, done))" + " AND " + "(assignee = currentUser() OR reporter = currentUser() OR watcher = currentUser())" }
Correct for default issue search
Correct for default issue search
Kotlin
apache-2.0
marius-m/wt4,marius-m/wt4,marius-m/wt4,marius-m/wt4
9e322751c197c0930ec3fbb17c13cea23fcc3888
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
blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle-script-kotlin,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,g...
1d61a220eff060b419273ebfcff4e500d3a0e146
src/main/java/config/AnalyticsConfig.kt
src/main/java/config/AnalyticsConfig.kt
/* * Copyright 2013-2018 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/* * Copyright 2013-2018 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
Add types list to the Analytics config
Add types list to the Analytics config
Kotlin
apache-2.0
jguerinet/mobile-string-parser,jguerinet/mobile-string-parser
f04eb3ae6770cf4a5fa08b5cf2ce09aa89e802a9
konfetti/src/main/java/nl/dionsegijn/konfetti/emitters/BurstEmitter.kt
konfetti/src/main/java/nl/dionsegijn/konfetti/emitters/BurstEmitter.kt
package nl.dionsegijn.konfetti.emitters import nl.dionsegijn.konfetti.models.ConfettiConfig import nl.dionsegijn.konfetti.models.LocationModule import nl.dionsegijn.konfetti.models.Shape import nl.dionsegijn.konfetti.models.Size import nl.dionsegijn.konfetti.modules.TimerModule import nl.dionsegijn.konfetti.modules.Ve...
package nl.dionsegijn.konfetti.emitters import nl.dionsegijn.konfetti.models.ConfettiConfig import nl.dionsegijn.konfetti.models.LocationModule import nl.dionsegijn.konfetti.models.Shape import nl.dionsegijn.konfetti.models.Size import nl.dionsegijn.konfetti.modules.TimerModule import nl.dionsegijn.konfetti.modules.Ve...
Add max value for burst emitter
Add max value for burst emitter
Kotlin
isc
DanielMartinus/Konfetti
eefc5e3042d58c0f97c738fc5bd34b1a12bbd7e3
app/src/main/java/substratum/theme/template/internal/TBOConstants.kt
app/src/main/java/substratum/theme/template/internal/TBOConstants.kt
package substratum.theme.template.internal object TBOConstants { val THEME_READY_PACKAGES = arrayOf( "com.google.android.gm", "com.google.android.googlequicksearchbox", "com.android.vending", "com.google.android.apps.plus", "com.google.android.talk", ...
package substratum.theme.template.internal object TBOConstants { val THEME_READY_PACKAGES = arrayOf( "com.google.android.gm", "com.google.android.googlequicksearchbox", "com.android.vending", "com.google.android.apps.plus", "com.google.android.talk", ...
Remove EXTRA_PACKAGE_NAMES & Google Photos
Remove EXTRA_PACKAGE_NAMES & Google Photos
Kotlin
apache-2.0
xdevs23/BluEmerald,Citrus-CAF/packages_apps_Margarita,iskandar1023/template,substratum/template,Citrus-CAF/packages_apps_Margarita,xdevs23/BluEmerald,Citrus-CAF/packages_apps_Margarita
cff0b103505245c6d50ffcc2ee9a6a578cae7775
litho-lint-detector/src/main/java/com/github/pavlospt/LithoIssueRegistry.kt
litho-lint-detector/src/main/java/com/github/pavlospt/LithoIssueRegistry.kt
package com.github.pavlospt import com.android.tools.lint.client.api.IssueRegistry import com.android.tools.lint.detector.api.Issue import com.github.pavlospt.misc.IssuesInfo import java.util.Arrays class LithoIssueRegistry : IssueRegistry() { override fun getIssues(): List<Issue> { return listOf(IssuesInfo.LA...
package com.github.pavlospt import com.android.tools.lint.client.api.IssueRegistry import com.android.tools.lint.detector.api.Issue import com.github.pavlospt.misc.IssuesInfo import java.util.Arrays class LithoIssueRegistry : IssueRegistry() { override fun getIssues(): List<Issue> { return listOf(IssuesInfo.LA...
Add missing Issue in registry
Add missing Issue in registry
Kotlin
mit
pavlospt/litho-lint-rules,pavlospt/litho-lint-rules
2446e54f60cbaa60b294dc640f118d9b3c5eebf9
advent2018/src/main/kotlin/com/github/rnelson/adventofcode/days/Day05.kt
advent2018/src/main/kotlin/com/github/rnelson/adventofcode/days/Day05.kt
package com.github.rnelson.adventofcode.days import com.github.rnelson.adventofcode.Day class Day05: Day() { init { super.setup("05") } override fun solveA(): String { var newInput = input[0] var letterFound = true while (letterFound) { letterFound = false ...
package com.github.rnelson.adventofcode.days import com.github.rnelson.adventofcode.Day class Day05: Day() { init { super.setup("05") } override fun solveA(): String { var newInput = input[0] var letterFound = true while (letterFound) { letterFound = false ...
Remove poorly formatted Python solution
Remove poorly formatted Python solution
Kotlin
mit
rnelson/adventofcode,rnelson/adventofcode,rnelson/adventofcode,rnelson/adventofcode
41eca6a452126e5934f542123de96805579b1483
subprojects/pineapple/pineapple.gradle.kts
subprojects/pineapple/pineapple.gradle.kts
/* * Copyright 2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Remove unnecessary dependency on commons-lang
Remove unnecessary dependency on commons-lang
Kotlin
apache-2.0
blindpirate/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/g...
3c1059e8f05f32d2dc583f854c48813e94a724dd
src/main/java/uk/co/reecedunn/intellij/plugin/xdm/model/Expressions.kt
src/main/java/uk/co/reecedunn/intellij/plugin/xdm/model/Expressions.kt
/* * Copyright (C) 2017 Reece H. Dunn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/* * Copyright (C) 2017 Reece H. Dunn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Move XdmAtomicType.staticType to a parent XdmExpression interface.
Move XdmAtomicType.staticType to a parent XdmExpression interface.
Kotlin
apache-2.0
rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin
2040decf95628c5cc2e67a8445e626a83bc33ba8
app/src/main/java/chat/rocket/android/util/ActivityExtensions.kt
app/src/main/java/chat/rocket/android/util/ActivityExtensions.kt
package chat.rocket.android.util import android.support.v4.app.Fragment import android.support.v7.app.AppCompatActivity fun AppCompatActivity.addFragment(tag: String, layoutId: Int, newInstance: () -> Fragment) { val fragment = supportFragmentManager.findFragmentByTag(tag) ?: newInstance() supportFragmentMana...
package chat.rocket.android.util import android.support.v4.app.Fragment import android.support.v7.app.AppCompatActivity import chat.rocket.android.R fun AppCompatActivity.addFragment(tag: String, layoutId: Int, newInstance: () -> Fragment) { val fragment = supportFragmentManager.findFragmentByTag(tag) ?: newInsta...
Add fragment transaction custom animations.
Add fragment transaction custom animations.
Kotlin
mit
RocketChat/Rocket.Chat.Android,RocketChat/Rocket.Chat.Android.Lily,RocketChat/Rocket.Chat.Android.Lily,RocketChat/Rocket.Chat.Android
27d17a5365187ea1921972ca421cf32903c43ba0
buildSrc/build.gradle.kts
buildSrc/build.gradle.kts
plugins { `kotlin-dsl` } repositories { mavenLocal() mavenCentral() gradlePluginPortal() jcenter() } dependencies { implementation("net.minecrell.licenser:net.minecrell.licenser.gradle.plugin:0.4.1") implementation(group = "org.spongepowered", name = "SpongeGradle", version = "0.11.0-SNAPS...
plugins { `kotlin-dsl` } repositories { mavenLocal() mavenCentral() gradlePluginPortal() maven("https://repo.spongepowered.org/maven") jcenter() } dependencies { implementation("net.minecrell.licenser:net.minecrell.licenser.gradle.plugin:0.4.1") implementation(group = "org.spongepowere...
Update buildSrc script since SpongeGradle 0.11 is now available.
Update buildSrc script since SpongeGradle 0.11 is now available. Signed-off-by: Gabriel Harris-Rouquette <f9869a2c93dad38a06e8fb39147155331a1102ab@me.com>
Kotlin
mit
SpongePowered/SpongeAPI,SpongePowered/SpongeAPI,SpongePowered/SpongeAPI
ac7a51ffcff7fad29ef9f45dfe3b09d6ebeba8b5
mesh/src/main/java/io/particle/mesh/setup/connection/Constants.kt
mesh/src/main/java/io/particle/mesh/setup/connection/Constants.kt
package io.particle.mesh.setup.connection import java.util.* val BT_SETUP_SERVICE_ID = UUID.fromString("6FA90001-5C4E-48A8-94F4-8030546F36FC") val BT_PROTOCOL_VERSION_ID = UUID.fromString("6FA90002-5C4E-48A8-94F4-8030546F36FC") val BT_SETUP_TX_CHARACTERISTIC_ID = UUID.fromString("6FA90003-5C4E-48A8-...
package io.particle.mesh.setup.connection import java.util.* val BT_SETUP_SERVICE_ID = UUID.fromString("6FA90001-5C4E-48A8-94F4-8030546F36FC") val BT_PROTOCOL_VERSION_ID = UUID.fromString("6FA90002-5C4E-48A8-94F4-8030546F36FC") // this is "TX" from the Device OS perspective, labelled as such to matc...
Add some documentation to these fields
Add some documentation to these fields
Kotlin
apache-2.0
spark/photon-tinker-android,spark/photon-tinker-android
d61ea160f141e411f3940fcb3d0604490f6bd0a6
sw-server/src/test/kotlin/org/luxons/sevenwonders/test/api/SevenWondersClient.kt
sw-server/src/test/kotlin/org/luxons/sevenwonders/test/api/SevenWondersClient.kt
package org.luxons.sevenwonders.test.api import com.fasterxml.jackson.databind.module.SimpleModule import com.fasterxml.jackson.module.kotlin.KotlinModule import org.hildan.jackstomp.JackstompClient import org.luxons.sevenwonders.config.SEVEN_WONDERS_WS_ENDPOINT import org.luxons.sevenwonders.engine.resources.MutableR...
package org.luxons.sevenwonders.test.api import com.fasterxml.jackson.module.kotlin.KotlinModule import org.hildan.jackstomp.JackstompClient import org.luxons.sevenwonders.config.SEVEN_WONDERS_WS_ENDPOINT import org.springframework.messaging.converter.MappingJackson2MessageConverter import java.util.concurrent.Executi...
Remove unnecessary Resources deserializer in test JacksonMapper
Remove unnecessary Resources deserializer in test JacksonMapper
Kotlin
mit
luxons/seven-wonders,luxons/seven-wonders,luxons/seven-wonders
c65ab0037cedd7db261061f3fba88291ed5ff1b6
plugin-dotnet-agent/src/main/kotlin/jetbrains/buildServer/agent/AntPathMatcher.kt
plugin-dotnet-agent/src/main/kotlin/jetbrains/buildServer/agent/AntPathMatcher.kt
package jetbrains.buildServer.agent import jetbrains.buildServer.util.pathMatcher.AntPatternFileCollector import java.io.File class AntPathMatcher : PathMatcher { override fun match(path: File, includeRules: List<String>): List<File> = AntPatternFileCollector.scanDir(path, includeRules.toTypedArray(),...
package jetbrains.buildServer.agent import jetbrains.buildServer.util.pathMatcher.AntPatternFileCollector import java.io.File class AntPathMatcher : PathMatcher { override fun match(path: File, includeRules: List<String>): List<File> = AntPatternFileCollector.scanDir(path, includeRules.toTypedArray(),...
Fix compilation error after common library method change
Fix compilation error after common library method change
Kotlin
apache-2.0
JetBrains/teamcity-dnx-plugin
2b05f0dd0af44367a077f1d106da9f47921d4392
src/main/java/org/purescript/psi/var/LocalForeignValueReference.kt
src/main/java/org/purescript/psi/var/LocalForeignValueReference.kt
package org.purescript.psi.`var` import com.intellij.openapi.util.TextRange import com.intellij.psi.PsiReferenceBase import org.purescript.psi.PSForeignValueDeclaration class LocalForeignValueReference(element: PSVar) : PsiReferenceBase<PSVar>( element, TextRange.allOf(element.text.trim()), false ) { ...
package org.purescript.psi.`var` import com.intellij.openapi.util.TextRange import com.intellij.psi.PsiReferenceBase import org.purescript.psi.PSForeignValueDeclaration class LocalForeignValueReference(element: PSVar) : PsiReferenceBase<PSVar>( element, TextRange.allOf(element.text.trim()), false ) { ...
Simplify local foreign value reference
Simplify local foreign value reference
Kotlin
bsd-3-clause
intellij-purescript/intellij-purescript,intellij-purescript/intellij-purescript
aa98466853200d6ec19ec0f2fbe17b7468f906f7
tinbo-platform/src/main/java/io/gitlab/arturbosch/tinbo/common/PluginsCommand.kt
tinbo-platform/src/main/java/io/gitlab/arturbosch/tinbo/common/PluginsCommand.kt
package io.gitlab.arturbosch.tinbo.common import io.gitlab.arturbosch.tinbo.api.Command import io.gitlab.arturbosch.tinbo.config.ModeManager import io.gitlab.arturbosch.tinbo.config.TinboMode import io.gitlab.arturbosch.tinbo.plugins.TinboContext import io.gitlab.arturbosch.tinbo.plugins.TinboPlugin import io.gitlab.a...
package io.gitlab.arturbosch.tinbo.common import io.gitlab.arturbosch.tinbo.api.Command import io.gitlab.arturbosch.tinbo.config.ModeManager import io.gitlab.arturbosch.tinbo.config.TinboMode import io.gitlab.arturbosch.tinbo.model.util.CSVTablePrinter import io.gitlab.arturbosch.tinbo.plugins.TinboContext import io.g...
Use a table for plugins output
Use a table for plugins output
Kotlin
apache-2.0
arturbosch/TiNBo,arturbosch/TiNBo,arturbosch/TiNBo
972d2dd739f92d43dd5efbbae682b6b132eb293c
app/src/main/java/org/projectbass/bass/utils/AnalyticsUtils.kt
app/src/main/java/org/projectbass/bass/utils/AnalyticsUtils.kt
package org.projectbass.bass.utils import android.os.Bundle import com.crashlytics.android.answers.Answers import com.crashlytics.android.answers.CustomEvent import com.crashlytics.android.answers.RatingEvent import com.google.firebase.analytics.FirebaseAnalytics import org.projectbass.bass.model.Data /** * @author ...
package org.projectbass.bass.utils import android.net.ConnectivityManager import android.os.Bundle import com.crashlytics.android.answers.Answers import com.crashlytics.android.answers.CustomEvent import com.crashlytics.android.answers.RatingEvent import com.google.firebase.analytics.FirebaseAnalytics import org.proje...
Add connectivity type and operator
Add connectivity type and operator
Kotlin
agpl-3.0
bassph/bassph-app-android
d2e2e811bda3e05e3c205a3d4d43ffa0fae82d7d
base-models/src/test/kotlin/com/lloydramey/cfn/model/resources/ResourceSerializationTest.kt
base-models/src/test/kotlin/com/lloydramey/cfn/model/resources/ResourceSerializationTest.kt
package com.lloydramey.cfn.model.resources import com.lloydramey.cfn.model.Jackson import net.javacrumbs.jsonunit.JsonMatchers.jsonEquals import org.hamcrest.MatcherAssert.assertThat import org.junit.Test class ResourceSerializationTest { @Test fun deletionPolicies() { assertThat(Jackson.mapper.writeV...
package com.lloydramey.cfn.model.resources import com.lloydramey.cfn.model.Jackson import net.javacrumbs.jsonunit.JsonMatchers.jsonEquals import org.hamcrest.MatcherAssert.assertThat import org.junit.Test class ResourceSerializationTest { @Test fun deletionPolicies() { assertThat(Jackson.mapper.writeV...
Add simple serialization test for resource
Add simple serialization test for resource
Kotlin
apache-2.0
lnr0626/cfn-templates,lnr0626/cfn-templates
234de60b643c9cdd37bd650df20f123d32187e86
aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecAudioSpan.kt
aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecAudioSpan.kt
package org.wordpress.aztec.spans import android.content.Context import android.graphics.drawable.Drawable import android.support.v4.content.ContextCompat import android.view.Gravity import org.wordpress.aztec.AztecAttributes import org.wordpress.aztec.AztecText class AztecAudioSpan(context: Context, drawable: Drawab...
package org.wordpress.aztec.spans import android.content.Context import android.graphics.drawable.Drawable import android.support.v4.content.ContextCompat import android.view.Gravity import org.wordpress.aztec.AztecAttributes import org.wordpress.aztec.AztecText class AztecAudioSpan(context: Context, drawable: Drawab...
Use better audio span overlay icon
Use better audio span overlay icon
Kotlin
mpl-2.0
wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android
80029f8c9c2ebdbd187e1078cdfbfcd5010335b9
sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/HandRotationIndicator.kt
sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/components/game/HandRotationIndicator.kt
package org.luxons.sevenwonders.ui.components.game import com.palantir.blueprintjs.bpIcon import kotlinx.css.* import org.luxons.sevenwonders.model.cards.HandRotationDirection import react.RBuilder import styled.css import styled.styledDiv import styled.styledImg fun RBuilder.handRotationIndicator(direction: HandRota...
package org.luxons.sevenwonders.ui.components.game import com.palantir.blueprintjs.bpIcon import kotlinx.css.* import kotlinx.html.title import org.luxons.sevenwonders.model.cards.HandRotationDirection import react.RBuilder import styled.css import styled.styledDiv import styled.styledImg fun RBuilder.handRotationInd...
Add title on hand rotation direction
Add title on hand rotation direction
Kotlin
mit
luxons/seven-wonders,luxons/seven-wonders,luxons/seven-wonders