commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
625f9c4a101902876121a240a4151d67108c0a70 | Call the view method when the event is successfull | Davids89/KotlinChuck,Davids89/KotlinChuck | app/src/main/java/com/example/david/kotlinchuck/findJoke/FindJokePresenterImpl.kt | app/src/main/java/com/example/david/kotlinchuck/findJoke/FindJokePresenterImpl.kt | package com.example.david.kotlinchuck.findJoke
import com.example.david.kotlinchuck.findJoke.event.FindJokeEvent
import com.example.david.kotlinchuck.findJoke.ui.FindJokeView
import com.example.david.kotlinchuck.lib.EventBus
import com.example.david.kotlinchuck.lib.GreenRobotEventBus
import org.greenrobot.eventbus.Sub... | package com.example.david.kotlinchuck.findJoke
import com.example.david.kotlinchuck.findJoke.event.FindJokeEvent
import com.example.david.kotlinchuck.findJoke.ui.FindJokeView
import com.example.david.kotlinchuck.lib.EventBus
import com.example.david.kotlinchuck.lib.GreenRobotEventBus
import org.greenrobot.eventbus.Sub... | apache-2.0 | Kotlin |
421e2908d7695dfc30c5ae593a884b9cfa9eb247 | Fix crash when searching and TMDb isn't reachable | chrisbanes/tivi,chrisbanes/tivi | data/src/main/java/app/tivi/data/repositories/search/TmdbSearchDataSource.kt | data/src/main/java/app/tivi/data/repositories/search/TmdbSearchDataSource.kt | /*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | /*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | apache-2.0 | Kotlin |
6455bb6e71cbb0a00441d8439d98540ed247c271 | Fix orientation issues in AutoFitSurfaceView (#130) | android/camera-samples,android/camera-samples | Common/src/main/java/com/example/android/camera2/common/AutoFitSurfaceView.kt | Common/src/main/java/com/example/android/camera2/common/AutoFitSurfaceView.kt | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | /*
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | apache-2.0 | Kotlin |
37f981f65153125da5f354811499b636b277050a | refactor #605 Replace requireActivity(). | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | article/src/main/java/jp/toastkid/article_viewer/calendar/CalendarFragment.kt | article/src/main/java/jp/toastkid/article_viewer/calendar/CalendarFragment.kt | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | epl-1.0 | Kotlin |
b24677be57e5823f7fd4d7d240285d1088efb1a9 | add a resource extension for coloring icons | canou/Simple-Commons | commons/src/main/kotlin/com/simplemobiletools/commons/extensions/Resources.kt | commons/src/main/kotlin/com/simplemobiletools/commons/extensions/Resources.kt | package com.simplemobiletools.commons.extensions
import android.content.res.Resources
import android.graphics.*
fun Resources.getColoredIcon(newColor: Int, resourceId: Int): Bitmap {
val options = BitmapFactory.Options()
options.inMutable = true
val bmp = BitmapFactory.decodeResource(this, resourceId, opt... | apache-2.0 | Kotlin | |
13dcafe2802dcd5402f49bebab0d06c5fb7df6d0 | Allow custom Javadoc tags on all Mixin injectors | DemonWav/MinecraftDev,minecraft-dev/MinecraftDev,DemonWav/MinecraftDevIntelliJ,minecraft-dev/MinecraftDev,DemonWav/MinecraftDevIntelliJ,minecraft-dev/MinecraftDev,DemonWav/MinecraftDev,DemonWav/MinecraftDev,DemonWav/IntelliJBukkitSupport,DemonWav/MinecraftDevIntelliJ | src/main/kotlin/com/demonwav/mcdev/platform/mixin/MixinCustomJavaDocTagProvider.kt | src/main/kotlin/com/demonwav/mcdev/platform/mixin/MixinCustomJavaDocTagProvider.kt | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2017 minecraft-dev
*
* MIT License
*/
package com.demonwav.mcdev.platform.mixin
import com.demonwav.mcdev.platform.mixin.util.MixinConstants
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiMethod
import com.intellij.... | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2017 minecraft-dev
*
* MIT License
*/
package com.demonwav.mcdev.platform.mixin
import com.demonwav.mcdev.platform.mixin.util.MixinConstants.Annotations.OVERWRITE
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiMetho... | mit | Kotlin |
ce51be53fad4fc40e776d12088f24bc6519377b9 | refactor #787 Delete useless interface. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/settings/color/ClearColorsDialogFragment.kt | app/src/main/java/jp/toastkid/yobidashi/settings/color/ClearColorsDialogFragment.kt | /*
* Copyright (c) 2018 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | /*
* Copyright (c) 2018 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | epl-1.0 | Kotlin |
3e0b1b3c9c63f0e8e0d3c8b599e871f2bdd50c9f | Fix modifier order | fcostaa/kotlin-rxjava-android,fcostaa/kotlin-rxjava-android | app-base/src/main/kotlin/com/felipecosta/kotlinrxjavasample/DemoApplication.kt | app-base/src/main/kotlin/com/felipecosta/kotlinrxjavasample/DemoApplication.kt | package com.felipecosta.kotlinrxjavasample
import android.app.Activity
import android.app.Application
import android.support.v4.app.Fragment
import com.felipecosta.kotlinrxjavasample.di.ApplicationComponent
import com.felipecosta.kotlinrxjavasample.di.DaggerApplicationComponent
import com.felipecosta.kotlinrxjavasampl... | package com.felipecosta.kotlinrxjavasample
import android.app.Activity
import android.app.Application
import android.support.v4.app.Fragment
import com.felipecosta.kotlinrxjavasample.di.ApplicationComponent
import com.felipecosta.kotlinrxjavasample.di.DaggerApplicationComponent
import com.felipecosta.kotlinrxjavasampl... | mit | Kotlin |
7e2459bc5e99b5401331e87599eae7736f75f174 | remove some unused imports | jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge,jitsi/jitsi-videobridge | src/main/kotlin/org/jitsi/nlj/transform/node/outgoing/AbsSendTime.kt | src/main/kotlin/org/jitsi/nlj/transform/node/outgoing/AbsSendTime.kt | /*
* Copyright @ 2018 Atlassian Pty Ltd
*
* 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 @ 2018 Atlassian Pty Ltd
*
* 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... | apache-2.0 | Kotlin |
198f9ee1eaa1461eb0a3b435fe57e1e5381e0b2c | Create SetCommandTest | Homes-MinecraftServerMod/Homes,Homes-MinecraftServerMod/Homes | src/test/java/com/masahirosaito/spigot/homes/tests/SetCommandTest.kt | src/test/java/com/masahirosaito/spigot/homes/tests/SetCommandTest.kt | package com.masahirosaito.spigot.homes.tests
import com.masahirosaito.spigot.homes.Homes
import com.masahirosaito.spigot.homes.commands.HomeCommand
import com.masahirosaito.spigot.homes.commands.SubCommand
import com.masahirosaito.spigot.homes.tests.utils.MockPlayerFactory
import com.masahirosaito.spigot.homes.tests.u... | apache-2.0 | Kotlin | |
2d68ff75b76b1d7584ce5e8efc838c35c75e9eeb | Add RecurrentRelevanceHelper | KotlinNLP/SimpleDNN | src/kotlin/com/kotlinnlp/simplednn/core/layers/recurrent/RecurrentRelevanceHelper.kt | src/kotlin/com/kotlinnlp/simplednn/core/layers/recurrent/RecurrentRelevanceHelper.kt | /* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/.
* ------------------------------------------... | mpl-2.0 | Kotlin | |
60d9c8aeb9a9a00e6e4244ad596822608ecfba5f | Update CreateForecast.kt | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | .kotlin_alpha/services/forecast/src/main/kotlin/com/kotlin/forecast/CreateForecast.kt | .kotlin_alpha/services/forecast/src/main/kotlin/com/kotlin/forecast/CreateForecast.kt | //snippet-sourcedescription:[CreateForecast.kt demonstrates how to create a forecast for the Amazon Forecast service.]
//snippet-keyword:[AWS SDK for Kotlin]
//snippet-keyword:[Code Sample]
//snippet-service:[Amazon Forecast]
//snippet-sourcetype:[full-example]
//snippet-sourcedate:[04/21/2021]
//snippet-sourceau... | //snippet-sourcedescription:[CreateForecast.kt demonstrates how to create a forecast for the Amazon Forecast service.]
//snippet-keyword:[AWS SDK for Kotlin]
//snippet-keyword:[Code Sample]
//snippet-service:[Amazon Forecast]
//snippet-sourcetype:[full-example]
//snippet-sourcedate:[04/21/2021]
//snippet-sourceau... | apache-2.0 | Kotlin |
49d7d666877de99e7f8af79d44c6abdc3ca1fcd4 | refactor #523 Add line separator. | toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/test/java/jp/toastkid/yobidashi/main/usecase/BackgroundTabOpenerUseCaseTest.kt | app/src/test/java/jp/toastkid/yobidashi/main/usecase/BackgroundTabOpenerUseCaseTest.kt | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | epl-1.0 | Kotlin |
f60716144862807521720792857c158a5003cc7c | Update pydroid | pyamsoft/pasterino,pyamsoft/pasterino | app/src/main/java/com/pyamsoft/pasterino/PasterinoViewModelFactory.kt | app/src/main/java/com/pyamsoft/pasterino/PasterinoViewModelFactory.kt | /*
* Copyright 2020 Peter Kenji Yamanaka
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | /*
* Copyright 2020 Peter Kenji Yamanaka
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | apache-2.0 | Kotlin |
e2990a8b963fd691cce0ef2e93b2341ff27d8ac6 | add lenient QueryBuilder interface | jayrave/falkon | falkon-dao/src/main/kotlin/com/jayrave/falkon/dao/query/lenient/QueryBuilder.kt | falkon-dao/src/main/kotlin/com/jayrave/falkon/dao/query/lenient/QueryBuilder.kt | package com.jayrave.falkon.dao.query.lenient
import com.jayrave.falkon.dao.query.Query
import com.jayrave.falkon.dao.where.lenient.WhereBuilder
import com.jayrave.falkon.engine.CompiledQuery
import com.jayrave.falkon.mapper.Column
import com.jayrave.falkon.mapper.Table
interface QueryBuilder {
/**
* The nam... | apache-2.0 | Kotlin | |
a6677927709a99367a2f20893f2da041096f264e | refactor #605 Add constructor parameter's comment. | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | lib/src/main/java/jp/toastkid/lib/view/text/SingleLineTextInputLayoutFactory.kt | lib/src/main/java/jp/toastkid/lib/view/text/SingleLineTextInputLayoutFactory.kt | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | epl-1.0 | Kotlin |
c9837329ee1066e5848c09ae58a9db64cc316cd9 | add projection test | Litote/kmongo,Litote/kmongo,Litote/kmongo | kmongo-core-tests/src/main/kotlin/org/litote/kmongo/ProjectionTest.kt | kmongo-core-tests/src/main/kotlin/org/litote/kmongo/ProjectionTest.kt | /*
* Copyright (C) 2017 Litote
*
* 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 in wr... | apache-2.0 | Kotlin | |
3798b5f4fcebf67def9449f2bfa658cedfa333bf | Convert "ShelveSilentlyAction" to kotlin | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/ShelveSilentlyAction.kt | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/actions/ShelveSilentlyAction.kt | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.vcs.changes.actions
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.fileEditor.FileDocumentManager
import com.inte... | /*
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | apache-2.0 | Kotlin |
b5424db8af924f9c1e6ac88947ba0bf4610535b1 | Use default storage location for project settings | anton-okolelov/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,alygin/intellij-rust,intellij-rust/intellij-rust,alygin/intellij-rust,Undin/intellij-rust,d9n/intellij-rust,anton-okolelov/intellij-rust,d9n/intellij-rust,d9n/intellij-rust,alygin/intellij-rust,d9n/intellij-rust,Undin/intellij-rust,Undin/intel... | src/main/kotlin/org/rust/cargo/project/settings/impl/RustProjectSettingsServiceImpl.kt | src/main/kotlin/org/rust/cargo/project/settings/impl/RustProjectSettingsServiceImpl.kt | package org.rust.cargo.project.settings.impl
import com.intellij.openapi.components.PersistentStateComponent
import com.intellij.openapi.components.State
import com.intellij.openapi.options.ShowSettingsUtil
import com.intellij.openapi.project.Project
import org.rust.cargo.project.configurable.RustProjectConfigurable
i... | package org.rust.cargo.project.settings.impl
import com.intellij.openapi.components.PersistentStateComponent
import com.intellij.openapi.components.State
import com.intellij.openapi.components.Storage
import com.intellij.openapi.components.StoragePathMacros
import com.intellij.openapi.options.ShowSettingsUtil
import c... | mit | Kotlin |
10c5990f184713651e68cfe3dc22f517de5dc79d | Add setter for AbstractWinterExtension session store | beyama/winter,beyama/winter,beyama/winter | winter-junit5/src/main/kotlin/io/jentz/winter/junit5/AbstractWinterExtension.kt | winter-junit5/src/main/kotlin/io/jentz/winter/junit5/AbstractWinterExtension.kt | package io.jentz.winter.junit5
import io.jentz.winter.testing.WinterTestSession
import org.junit.jupiter.api.extension.ExtensionContext
import org.junit.jupiter.api.extension.ParameterContext
import org.junit.jupiter.api.extension.ParameterResolutionException
import org.junit.jupiter.api.extension.ParameterResolver
a... | package io.jentz.winter.junit5
import io.jentz.winter.testing.WinterTestSession
import org.junit.jupiter.api.extension.ExtensionContext
import org.junit.jupiter.api.extension.ParameterContext
import org.junit.jupiter.api.extension.ParameterResolutionException
import org.junit.jupiter.api.extension.ParameterResolver
a... | apache-2.0 | Kotlin |
5181dcab307a04e1cb8322f7294c0b5b18a6cb5b | drop custom Job in favor of Lifecycle CoroutineScope. | UweTrottmann/SeriesGuide,UweTrottmann/SeriesGuide | app/src/main/java/com/battlelancer/seriesguide/ui/shows/MakeAllVisibleDialogFragment.kt | app/src/main/java/com/battlelancer/seriesguide/ui/shows/MakeAllVisibleDialogFragment.kt | package com.battlelancer.seriesguide.ui.shows
import android.app.Dialog
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AlertDialog
import androidx.appcompat.app.AppCompatDialogFragment
import androidx.lifecycle.lifecycleS... | package com.battlelancer.seriesguide.ui.shows
import android.app.Dialog
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AlertDialog
import androidx.appcompat.app.AppCompatDialogFragment
import com.battlelancer.seriesguide.... | apache-2.0 | Kotlin |
d43b0f62bc2be9575b723d73bdbd1be3f4f42d3b | implement trivial lexical mem scopes | JuliusKunze/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JuliusKunze/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JuliusKunze/kotlin-native,JuliusKunze/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,jiaminglu/kotlin-native,jiaminglu/kotlin-n... | Interop/Runtime/src/main/kotlin/kotlin_native/interop/Utils.kt | Interop/Runtime/src/main/kotlin/kotlin_native/interop/Utils.kt | package kotlin_native.interop
fun <T : NativeRef> malloc(type: NativeRef.TypeWithSize<T>) = type.byPtr(bridge.malloc(type.size))
inline fun <T : NativeRef, R> malloc(type: NativeRef.TypeWithSize<T>, action: (T) -> R): R {
val ref = malloc(type)
try {
return action(ref)
} finally {
free(ref... | package kotlin_native.interop
fun <T : NativeRef> malloc(type: NativeRef.TypeWithSize<T>) = type.byPtr(bridge.malloc(type.size))
inline fun <T : NativeRef, R> malloc(type: NativeRef.TypeWithSize<T>, action: (T) -> R): R {
val ref = malloc(type)
try {
return action(ref)
} finally {
free(ref... | apache-2.0 | Kotlin |
507ac3e9b77393645f9ef6eeb7baa7c1d8c70817 | Add docs for spinnerAdapter + methods refactor | JackParisi/DroidBox | droidbox/src/main/java/com/github/jackparisi/droidbox/binding/SpinnerAdapters.kt | droidbox/src/main/java/com/github/jackparisi/droidbox/binding/SpinnerAdapters.kt | package com.github.jackparisi.droidbox.binding
import android.databinding.BindingAdapter
import android.widget.ListPopupWindow
import android.widget.Spinner
import com.github.jackparisi.droidbox.utility.dpToPx
/**
* Created by Giacomo Parisi on 21/08/17.
* https://github.com/JackParisi
*/
/**
*
* Set a fixed he... | package com.github.jackparisi.droidbox.binding
import android.databinding.BindingAdapter
import android.widget.ListPopupWindow
import android.widget.Spinner
import com.github.jackparisi.droidbox.utility.dpToPx
/**
* Created by Giacomo Parisi on 21/08/17.
* https://github.com/JackParisi
*/
@BindingAdapter("popupHe... | apache-2.0 | Kotlin |
a6efe9632d3f15e9e133ca31098c7e61f5f7163e | Improve PluginScope docs | BjoernPetersen/JMusicBot | src/main/kotlin/net/bjoernpetersen/musicbot/api/plugin/PluginScope.kt | src/main/kotlin/net/bjoernpetersen/musicbot/api/plugin/PluginScope.kt | package net.bjoernpetersen.musicbot.api.plugin
import com.google.common.annotations.Beta
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.SupervisorJob
import kotlin.coroutines.CoroutineContext
/**
* Defines a stand... | package net.bjoernpetersen.musicbot.api.plugin
import com.google.common.annotations.Beta
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.SupervisorJob
import kotlin.coroutines.CoroutineContext
/**
* Defines a stand... | mit | Kotlin |
a8850b58b0784a0ddc4310cf90fc7ca7971e0937 | 解决 support 包的问题 | xiaojinzi123/Component,xiaojinzi123/Component,xiaojinzi123/Component | app/src/main/java/com/xiaojinzi/componentdemo/view/ProxyAct.kt | app/src/main/java/com/xiaojinzi/componentdemo/view/ProxyAct.kt | package com.xiaojinzi.componentdemo.view
import android.os.Bundle
import android.widget.TextView
import androidx.appcompat.app.AppCompatActivity
import com.xiaojinzi.componentdemo.R
class ProxyAct : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceSta... | package com.xiaojinzi.componentdemo.view
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.widget.TextView
import com.xiaojinzi.componentdemo.R
import com.xiaojinzi.componentdemo.util.ToastUtil
class ProxyAct : AppCompatActivity() {
override fun onCreate(savedInstanceState: ... | apache-2.0 | Kotlin |
6bb779417c00d65a2a0e17bf616778eb80db669a | Fix the issue where closing a socket that failed to open would fail. | charleskorn/batect,charleskorn/batect,charleskorn/batect,charleskorn/batect,charleskorn/batect | app/src/main/kotlin/batect/os/unixsockets/UnixSocketFactory.kt | app/src/main/kotlin/batect/os/unixsockets/UnixSocketFactory.kt | /*
Copyright 2017-2018 Charles Korn.
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 2017-2018 Charles Korn.
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... | apache-2.0 | Kotlin |
bcab13e00238cb0a5936d082e895ba7a2743cee7 | Enforce 1.4 stdlib in dependencies | Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka | coreDependencies/build.gradle.kts | coreDependencies/build.gradle.kts | import org.jetbrains.configureBintrayPublication
plugins {
id("com.github.johnrengelman.shadow")
`maven-publish`
id("com.jfrog.bintray")
}
val intellijCore: Configuration by configurations.creating
repositories {
maven(url = "https://www.jetbrains.com/intellij-repository/snapshots")
maven(url = "... | import org.jetbrains.configureBintrayPublication
plugins {
id("com.github.johnrengelman.shadow")
`maven-publish`
id("com.jfrog.bintray")
}
val intellijCore: Configuration by configurations.creating
repositories {
maven(url = "https://www.jetbrains.com/intellij-repository/snapshots")
maven(url = "... | apache-2.0 | Kotlin |
4f54450886a9d9c27b9a716e3c4a84b53f6af2ab | Add new link UI tests | wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android | app/src/androidTest/kotlin/org/wordpress/aztec/demo/tests/LinkTests.kt | app/src/androidTest/kotlin/org/wordpress/aztec/demo/tests/LinkTests.kt | package org.wordpress.aztec.demo.tests
import android.support.test.espresso.intent.rule.IntentsTestRule
import org.junit.Rule
import org.junit.Test
import org.wordpress.aztec.demo.BaseTest
import org.wordpress.aztec.demo.MainActivity
import org.wordpress.aztec.demo.pages.EditLinkPage
import org.wordpress.aztec.demo.pa... | mpl-2.0 | Kotlin | |
8888d0029b10f3a972f4fed717da1617428f9c92 | fix numfact command | noud02/Akatsuki | src/main/kotlin/me/noud02/akatsuki/commands/NumFact.kt | src/main/kotlin/me/noud02/akatsuki/commands/NumFact.kt | /*
* Copyright (c) 2017-2018 Noud Kerver
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, mo... | /*
* Copyright (c) 2017-2018 Noud Kerver
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, mo... | mit | Kotlin |
933a962dbfae920a95be8bafad4e1c3330639a14 | Change to destructuring lambda | kvakil/venus,kvakil/venus,kvakil/venus | src/main/kotlin/assembler/InstructionWriter.kt | src/main/kotlin/assembler/InstructionWriter.kt | package venus.assembler
import venus.riscv.Instruction
import venus.riscv.InstructionFormat
abstract class InstructionWriter {
operator fun invoke(prog: Program, iform: InstructionFormat, args: List<String>) {
val inst = Instruction(0)
iform.ifields.forEach({ (ifield, required) -> inst.setField(if... | package venus.assembler
import venus.riscv.Instruction
import venus.riscv.InstructionFormat
abstract class InstructionWriter {
operator fun invoke(prog: Program, iform: InstructionFormat, args: List<String>) {
val inst = Instruction(0)
iform.ifields.forEach({ inst.setField(it.ifield, it.required) ... | mit | Kotlin |
6c652ceb4820a27d3e4db4ba89e71387774d3db6 | replace deprecated gradle feature | http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k | http4k-serverless/lambda/integration-test/build.gradle.kts | http4k-serverless/lambda/integration-test/build.gradle.kts | dependencies {
api(project(":http4k-core"))
api(project(":http4k-cloudnative"))
api(project(":http4k-serverless-lambda"))
api(project(":http4k-aws"))
api(project(":http4k-format-jackson"))
api(project(":http4k-client-okhttp"))
api("com.amazonaws:aws-lambda-java-events:_")
api("dev.forkh... | dependencies {
api(project(":http4k-core"))
api(project(":http4k-cloudnative"))
api(project(":http4k-serverless-lambda"))
api(project(":http4k-aws"))
api(project(":http4k-format-jackson"))
api(project(":http4k-client-okhttp"))
api("com.amazonaws:aws-lambda-java-events:_")
api("dev.forkh... | apache-2.0 | Kotlin |
31dda32c5e6b1bb7f85659feac41dff1eaecc8c9 | Add default parameter to assertion | willowtreeapps/assertk,willowtreeapps/assertk | src/main/kotlin/assertk/assert.kt | src/main/kotlin/assertk/assert.kt | package assertk
import assertk.assertions.support.show
class Assert<out T> internal constructor(val name: String? = null, val actual: T)
sealed class AssertBlock<out T> {
abstract fun throwsError(f: (Assert<Throwable>) -> Unit)
abstract fun returnsValue(f: (Assert<T>) -> Unit)
class Value<out T> interna... | package assertk
import assertk.assertions.support.show
class Assert<out T> internal constructor(val name: String? = null, val actual: T)
sealed class AssertBlock<out T> {
abstract fun throwsError(f: (Assert<Throwable>) -> Unit)
abstract fun returnsValue(f: (Assert<T>) -> Unit)
class Value<out T> interna... | mit | Kotlin |
1225e3f0d8abe789abd51ab045b985dacef5601a | Use "in" instead of "contains()" | Turbo87/intellij-emberjs,Turbo87/intellij-emberjs,Turbo87/intellij-emberjs,Turbo87/intellij-emberjs | src/main/kotlin/com/emberjs/psi/EmberJSLiteralReference.kt | src/main/kotlin/com/emberjs/psi/EmberJSLiteralReference.kt | package com.emberjs.psi
import com.emberjs.index.EmberNameIndex
import com.emberjs.lookup.EmberLookupElementBuilder
import com.intellij.lang.javascript.psi.JSLiteralExpression
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiElementResolveResult.createResults
import com.intellij.psi.PsiManager
import com.... | package com.emberjs.psi
import com.emberjs.index.EmberNameIndex
import com.emberjs.lookup.EmberLookupElementBuilder
import com.intellij.lang.javascript.psi.JSLiteralExpression
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiElementResolveResult.createResults
import com.intellij.psi.PsiManager
import com.... | apache-2.0 | Kotlin |
c6e476dbc0db14833a3346e2d1f559d0e572401b | bump selenide from 5.20.4 to 5.21.0 (via #584) | allure-framework/allure-java,allure-framework/allure-java | allure-selenide/build.gradle.kts | allure-selenide/build.gradle.kts | description = "Allure Selenide Integration"
val agent: Configuration by configurations.creating
val selenideVersion = "5.21.0"
dependencies {
agent("org.aspectj:aspectjweaver")
api(project(":allure-java-commons"))
implementation("com.codeborne:selenide:$selenideVersion")
testImplementation("org.mocki... | description = "Allure Selenide Integration"
val agent: Configuration by configurations.creating
val selenideVersion = "5.20.4"
dependencies {
agent("org.aspectj:aspectjweaver")
api(project(":allure-java-commons"))
implementation("com.codeborne:selenide:$selenideVersion")
testImplementation("org.mocki... | apache-2.0 | Kotlin |
46d8f7f5fc7b5591225d0f6e0a1e3f3b0b735322 | Upgrade jdroid java core dependency | maxirosson/jdroid-gradle-plugin,maxirosson/jdroid-gradle-plugin,maxirosson/jdroid-gradle-plugin | buildSrc/src/main/kotlin/Libs.kt | buildSrc/src/main/kotlin/Libs.kt | object Libs {
// https://github.com/maxirosson/jdroid-java-github/releases
const val jdroid_java_github = "com.jdroidtools:jdroid-java-github:1.0.0"
// https://github.com/maxirosson/jdroid-java/blob/master/CHANGELOG.md
const val jdroid_java_core = "com.jdroidtools:jdroid-java-core:3.0.0"
// https... | object Libs {
// https://github.com/maxirosson/jdroid-java-github/releases
const val jdroid_java_github = "com.jdroidtools:jdroid-java-github:1.0.0"
// https://github.com/maxirosson/jdroid-java/blob/master/CHANGELOG.md
const val jdroid_java_core = "com.jdroidtools:jdroid-java-core:2.1.0-SNAPSHOT"
... | apache-2.0 | Kotlin |
bcdcc178fd27fba070bd8e38812e1fe7adb6bbac | Replace with kotlin min function | ssaqua/ProximityService | app/src/main/kotlin/ss/proximityservice/data/ProximityDetector.kt | app/src/main/kotlin/ss/proximityservice/data/ProximityDetector.kt | package ss.proximityservice.data
import android.hardware.Sensor
import android.hardware.SensorEvent
import android.hardware.SensorEventListener
import kotlin.math.min
class ProximityDetector(private val listener: ProximityListener) : SensorEventListener {
interface ProximityListener {
fun onNear()
... | package ss.proximityservice.data
import android.hardware.Sensor
import android.hardware.SensorEvent
import android.hardware.SensorEventListener
class ProximityDetector(private val listener: ProximityListener) : SensorEventListener {
interface ProximityListener {
fun onNear()
fun onFar()
}
... | apache-2.0 | Kotlin |
3da08aa49195f3e89dac3d0d6c4af70777bc38dc | Add new video span | wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android | 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.support.v4.graphics.drawable.DrawableCompat
import android.view.Gravity
import org.wordpress.aztec.AztecAttributes
import org.wordpress.aztec.AztecTe... | mpl-2.0 | Kotlin | |
a7208844a764ef5907290d51fa3bbbc7b0a8052d | Bump the version. | SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java | version.gradle.kts | version.gradle.kts | /*
* Copyright 2022, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | /*
* Copyright 2022, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | apache-2.0 | Kotlin |
2bb368a7fb643bdfbd65c512d489a6d214524350 | Add list of notifications | vimeo/vimeo-networking-java,vimeo/vimeo-networking-java,vimeo/vimeo-networking-java | models/src/main/java/com/vimeo/networking2/NotificationList.kt | models/src/main/java/com/vimeo/networking2/NotificationList.kt | package com.vimeo.networking2
/**
* List of notifications that could be paged.
*/
data class NotificationList(
/**
* Total number of notifications.
*/
override val total: Int? = null,
/**
* The current page number of paging list.
*/
override val page: Int? = null,
/**
... | mit | Kotlin | |
3eea4e9d0feee8c45676b357290f1281fdd08557 | remove obsolete hack | alygin/intellij-rust,himikof/intellij-rust,ujpv/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,d9n/intellij-rust,Undin/intellij-rust,d9n/intellij-rust,ujpv/intellij-rust,anton-okolelov/intellij-rust,anton-okolelov/intellij-rust,alygin/intellij-rust,alygin/intellij-rust,d9n/intellij-rust,alygi... | src/main/kotlin/org/rust/lang/core/psi/RustCompositeElement.kt | src/main/kotlin/org/rust/lang/core/psi/RustCompositeElement.kt | package org.rust.lang.core.psi
import com.intellij.psi.NavigatablePsiElement
import com.intellij.psi.PsiElement
import org.rust.lang.core.psi.util.parentOfType
import org.rust.lang.core.resolve.ref.RustReference
interface RustCompositeElement : PsiElement
, NavigatablePsiElement {
... | package org.rust.lang.core.psi
import com.intellij.psi.NavigatablePsiElement
import com.intellij.psi.PsiElement
import org.rust.lang.core.psi.util.parentOfType
import org.rust.lang.core.resolve.ref.RustReference
interface RustCompositeElement : PsiElement
, NavigatablePsiElement
... | mit | Kotlin |
60ba2f242cba7e624a67705181c44c29039553fe | remove outer parens | dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas | kotlin/src/katas/kotlin/leetcode/remove_outermost_parens/RemoveOutermostParens.kt | kotlin/src/katas/kotlin/leetcode/remove_outermost_parens/RemoveOutermostParens.kt | package katas.kotlin.leetcode.remove_outermost_parens
import kotlincommon.test.shouldEqual
import org.junit.Test
class RemoveOutermostParensTests {
@Test fun `it mostly works`() {
"()".removeOuterParens() shouldEqual ""
"()()".removeOuterParens() shouldEqual ""
"(())".removeOuterParens() s... | package katas.kotlin.leetcode.remove_outermost_parens
import kotlincommon.test.shouldEqual
import org.junit.Test
class RemoveOutermostParensTests {
@Test fun `it mostly works`() {
"()".removeOuterParens() shouldEqual ""
"()()".removeOuterParens() shouldEqual ""
"(())".removeOuterParens() s... | unlicense | Kotlin |
58be144267696faeea053cfae5d2d90ed81365f6 | Add drawable and tintedDrawable extensions to Context to ease loading (vector) drawables | kingsleyadio/android_commons,kingsleyadio/android_commons | lib_appkommons/src/main/java/ng/kingsley/android/extensions/Context.kt | lib_appkommons/src/main/java/ng/kingsley/android/extensions/Context.kt | package ng.kingsley.android.extensions
import android.content.Context
import android.content.res.Resources
import android.graphics.drawable.Drawable
import android.support.annotation.ColorRes
import android.support.annotation.DrawableRes
import android.support.v4.content.ContextCompat
import android.support.v4.content... | package ng.kingsley.android.extensions
import android.content.Context
import android.content.res.Resources
import android.graphics.drawable.Drawable
import android.support.annotation.ColorRes
import android.support.annotation.DrawableRes
import android.support.v4.content.ContextCompat
import android.support.v4.content... | apache-2.0 | Kotlin |
5e48af1458cef1f599260ad2567b384e821a0436 | Remove unneeded @Suppress annotation | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | sample/src/main/java/xyz/louiscad/splittiessample/main/MainActivity.kt | sample/src/main/java/xyz/louiscad/splittiessample/main/MainActivity.kt | /*
* Copyright (c) 2018. 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) 2018. 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 ... | apache-2.0 | Kotlin |
6db16bd4f7f65767659120949f55381cb0a7e5a4 | Fix "Inline function" dialog when number of occurrences is unknown | Undin/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust | src/main/kotlin/org/rust/ide/refactoring/inlineFunction/RsInlineFunctionDialog.kt | src/main/kotlin/org/rust/ide/refactoring/inlineFunction/RsInlineFunctionDialog.kt | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.ide.refactoring.inlineFunction
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiReference
import com.intellij.refactoring.RefactoringBundle
import org.rust.ide.refactoring.... | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.ide.refactoring.inlineFunction
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiReference
import com.intellij.refactoring.RefactoringBundle
import org.rust.ide.refactoring.... | mit | Kotlin |
bf596abec6a282e51568fdf13489f0f82ce6f448 | bump json-unit from 2.28.0 to 2.35.0 (via #750) | allure-framework/allure-java,allure-framework/allure-java | allure-jsonunit/build.gradle.kts | allure-jsonunit/build.gradle.kts | description = "Allure JsonUnit Integration"
val jsonUnitVersion = "2.35.0"
dependencies {
api(project(":allure-attachments"))
implementation("com.fasterxml.jackson.core:jackson-databind")
implementation("net.javacrumbs.json-unit:json-unit:$jsonUnitVersion")
implementation("org.apache.commons:commons-l... | description = "Allure JsonUnit Integration"
val jsonUnitVersion = "2.28.0"
dependencies {
api(project(":allure-attachments"))
implementation("com.fasterxml.jackson.core:jackson-databind")
implementation("net.javacrumbs.json-unit:json-unit:$jsonUnitVersion")
implementation("org.apache.commons:commons-l... | apache-2.0 | Kotlin |
e70d3b1bef42e2bfc8ecf64a988d6b937dda2f5c | Add normal to text format | wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android | aztec/src/main/kotlin/org/wordpress/aztec/TextFormat.kt | aztec/src/main/kotlin/org/wordpress/aztec/TextFormat.kt | package org.wordpress.aztec
/**
* Describes styles that could be applied to text
*/
enum class TextFormat {
FORMAT_HEADER_1,
FORMAT_HEADER_2,
FORMAT_HEADER_3,
FORMAT_HEADER_4,
FORMAT_HEADER_5,
FORMAT_HEADER_6,
FORMAT_BOLD,
FORMAT_ITALIC,
FORMAT_UNDERLINED,
FORMAT_STRIKETHROUGH... | package org.wordpress.aztec
/**
* Describes styles that could be applied to text
*/
enum class TextFormat {
FORMAT_HEADER_1,
FORMAT_HEADER_2,
FORMAT_HEADER_3,
FORMAT_HEADER_4,
FORMAT_HEADER_5,
FORMAT_HEADER_6,
FORMAT_BOLD,
FORMAT_ITALIC,
FORMAT_UNDERLINED,
FORMAT_STRIKETHROUGH... | mpl-2.0 | Kotlin |
c7dd7b7e2eaf0021031f4441afe6641db47bbd51 | handle cases when column _data does not exist | anthologist/Simple-Gallery | app/src/main/kotlin/com/simplemobiletools/gallery/extensions/context.kt | app/src/main/kotlin/com/simplemobiletools/gallery/extensions/context.kt | package com.simplemobiletools.gallery.extensions
import android.content.Context
import android.content.Intent
import android.database.Cursor
import android.net.Uri
import android.provider.MediaStore
import com.simplemobiletools.commons.extensions.humanizePath
import com.simplemobiletools.gallery.activities.SettingsAct... | package com.simplemobiletools.gallery.extensions
import android.content.Context
import android.content.Intent
import android.database.Cursor
import android.net.Uri
import android.provider.MediaStore
import com.simplemobiletools.commons.extensions.humanizePath
import com.simplemobiletools.gallery.activities.SettingsAct... | apache-2.0 | Kotlin |
9a9e951cfd61db01ddbca0c4409842e4bcf2e63d | Remove final on equals and hashCode methods | raniejade/kspec | kspec-core/src/main/kotlin/io/polymorphicpanda/kspec/tag/Tag.kt | kspec-core/src/main/kotlin/io/polymorphicpanda/kspec/tag/Tag.kt | package io.polymorphicpanda.kspec.tag
open class Tag(val name: String) {
init {
if (name.isEmpty()) {
throw IllegalArgumentException("Tag name can't be empty.")
}
}
override fun equals(other: Any?): Boolean {
if (this === other) return true
if (other?.javaClass ... | package io.polymorphicpanda.kspec.tag
open class Tag(val name: String) {
init {
if (name.isEmpty()) {
throw IllegalArgumentException("Tag name can't be empty.")
}
}
final override fun equals(other: Any?): Boolean {
if (this === other) return true
if (other?.java... | mit | Kotlin |
0b7102d37bf2ae86d30ba37f2a68f7fd291e6797 | Add firebase messaging to stageDebuggable build variant | StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android | app/src/stageDebuggable/java/org/stepik/android/domain/debug/interactor/DebugInteractor.kt | app/src/stageDebuggable/java/org/stepik/android/domain/debug/interactor/DebugInteractor.kt | package org.stepik.android.domain.debug.interactor
import com.facebook.login.LoginManager
import com.google.firebase.messaging.FirebaseMessaging
import com.vk.api.sdk.VK
import io.reactivex.Completable
import io.reactivex.Single
import io.reactivex.rxkotlin.Singles
import org.stepic.droid.core.StepikLogoutManager
impo... | package org.stepik.android.domain.debug.interactor
import com.facebook.login.LoginManager
import com.google.firebase.iid.FirebaseInstanceId
import com.vk.api.sdk.VK
import io.reactivex.Completable
import io.reactivex.Single
import io.reactivex.rxkotlin.Singles
import org.stepic.droid.core.StepikLogoutManager
import or... | apache-2.0 | Kotlin |
c7b1a9b96072834a413b20c28459969f8f5b02d0 | add list components after title | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/vcs-code-review/src/com/intellij/util/ui/codereview/timeline/TimelineComponent.kt | platform/vcs-code-review/src/com/intellij/util/ui/codereview/timeline/TimelineComponent.kt | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util.ui.codereview.timeline
import com.intellij.ide.plugins.newui.VerticalLayout
import com.intellij.util.ui.UI
import java.awt.Component
import javax.swing.... | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util.ui.codereview.timeline
import com.intellij.ide.plugins.newui.VerticalLayout
import com.intellij.util.ui.UI
import java.awt.Component
import javax.swing.... | apache-2.0 | Kotlin |
e14398ba734447bd4c9a4f7f9dbf7c4a2d768b7f | Remove sigHash | walleth/kethereum | model/src/main/java/org/kethereum/model/Transaction.kt | model/src/main/java/org/kethereum/model/Transaction.kt | package org.kethereum.model
import org.kethereum.DEFAULT_GAS_LIMIT
import org.kethereum.DEFAULT_GAS_PRICE
import java.math.BigInteger
data class Transaction(val value: BigInteger,
val from: Address,
val to: Address?,
val creationEpochSecond: Long? =... | package org.kethereum.model
import org.kethereum.DEFAULT_GAS_LIMIT
import org.kethereum.DEFAULT_GAS_PRICE
import java.math.BigInteger
data class Transaction(val value: BigInteger,
val from: Address,
val to: Address?,
val creationEpochSecond: Long? ... | mit | Kotlin |
3a4e8ca8cbc0c6790be1017a7272e9dad59821f6 | Use suspending org.wfanet.measurement.common.CountDownLatch instead of java.util.concurrent.CountDownLatch. | world-federation-of-advertisers/common-jvm,world-federation-of-advertisers/common-jvm | src/main/kotlin/org/wfanet/measurement/common/testing/CountDownLatch.kt | src/main/kotlin/org/wfanet/measurement/common/testing/CountDownLatch.kt | // Copyright 2020 The Measurement System 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 ... | // Copyright 2020 The Measurement System 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 ... | apache-2.0 | Kotlin |
b40700c260a6aeba1462f6cf85f8ce24f73c192f | Add store/load assembler test | kvakil/venus,kvakil/venus,kvakil/venus | src/test/kotlin/assembler/AssemblerTest.kt | src/test/kotlin/assembler/AssemblerTest.kt | package venus.assembler
import org.junit.Test
import kotlin.test.assertEquals
import venus.simulator.Simulator
class AssemblerTest {
@Test
fun assembleLexerTest() {
val prog = Assembler.assemble("""
addi x1 x0 5
addi x2 x1 5
add x3 x1 x2
andi x3 x3 8
""")
... | package venus.assembler
import org.junit.Test
import kotlin.test.assertEquals
import venus.simulator.Simulator
class AssemblerTest {
@Test
fun assembleLexerTest() {
val prog = Assembler.assemble("""
addi x1 x0 5
addi x2 x1 5
add x3 x1 x2
andi x3 x3 8
""")
... | mit | Kotlin |
c2aeec4e044c7abed2c98d01527350fb4490ccbc | Update modifier order. (#1308) | pocmo/focus-android,pocmo/focus-android,jonalmeida/focus-android,mastizada/focus-android,jonalmeida/focus-android,pocmo/focus-android,ekager/focus-android,liuche/focus-android,mastizada/focus-android,liuche/focus-android,mozilla-mobile/focus-android,pocmo/focus-android,mozilla-mobile/focus-android,mastizada/focus-andro... | app/src/main/java/org/mozilla/focus/animation/TransitionDrawableGroup.kt | app/src/main/java/org/mozilla/focus/animation/TransitionDrawableGroup.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.focus.animation
import android.graphics.drawable.TransitionDrawable
/**
* A class to allow ... | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.focus.animation
import android.graphics.drawable.TransitionDrawable
/**
* A class to allow ... | mpl-2.0 | Kotlin |
97303595d06facf8b76aff0cde1d41df77643bc0 | Fix lint failure. | jonalmeida/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,jonalmeida/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,jonalmeida/focus-android,mozilla-mobile/focus-android,jonalmeida/focus-android,mozilla-mobile/focus-android,jonalmeida/focus-android,jonalmeida/focus-andr... | app/src/main/java/org/mozilla/focus/search/CustomSearchEngineProvider.kt | app/src/main/java/org/mozilla/focus/search/CustomSearchEngineProvider.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.focus.search
import android.content.Context
import kotlinx.coroutines.coroutineScope
import m... | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.focus.search
import android.content.Context
import kotlinx.coroutines.coroutineScope
import m... | mpl-2.0 | Kotlin |
dce0b98de5ad1da40f06ec7469b91eb4615a9320 | swap nodes | dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas | kotlin/src/katas/kotlin/leetcode/swap_nodes_in_pairs/SwapNodesInPairs.kt | kotlin/src/katas/kotlin/leetcode/swap_nodes_in_pairs/SwapNodesInPairs.kt | package katas.kotlin.leetcode.swap_nodes_in_pairs
import katas.kotlin.leetcode.ListNode
import katas.kotlin.leetcode.listNodes
import kotlincommon.test.shouldEqual
import org.junit.Test
/**
* https://leetcode.com/problems/swap-nodes-in-pairs
*/
class SwapNodesInPairsTests {
@Test fun `swap every two adjacent no... | package katas.kotlin.leetcode.swap_nodes_in_pairs
import katas.kotlin.leetcode.ListNode
import katas.kotlin.leetcode.listNodes
import kotlincommon.test.shouldEqual
import org.junit.Test
/**
* https://leetcode.com/problems/swap-nodes-in-pairs
*/
class SwapNodesInPairsTests {
@Test fun `swap every two adjacent no... | unlicense | Kotlin |
e3a84ce12211e2941f94c5ae7f1c093a9dcac0c6 | Add Kotlin version of TestLocalFileInputPlugin | kamatama41/embulk-test-helpers,kamatama41/embulk-test-helpers | src/test/kotlin/com/kamatama41/embulk/test/TestLocalFileInputPluginKt.kt | src/test/kotlin/com/kamatama41/embulk/test/TestLocalFileInputPluginKt.kt | package com.kamatama41.embulk.test
import org.embulk.test.EmbulkPluginTest
import org.junit.After
import org.junit.Test
import org.junit.experimental.runners.Enclosed
import org.junit.runner.RunWith
import org.embulk.test.TestOutputPlugin.Matcher.assertRecords
import org.embulk.test.configFromResource
import org.embu... | mit | Kotlin | |
8d52963e79b85da0e25779abb440b678dcb90816 | refactor #496 Rename test function. | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/test/java/jp/toastkid/yobidashi/media/music/AlbumArtFinderTest.kt | app/src/test/java/jp/toastkid/yobidashi/media/music/AlbumArtFinderTest.kt | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | epl-1.0 | Kotlin |
964283a63846c9ac8ed2c564158cd30d1c18b05e | send 401 when the JWT is not valid | WeAreFrancis/auth-service,WeAreFrancis/auth-service,WeAreFrancis/auth-service | src/main/kotlin/com/wearefrancis/auth/security/JwtAuthenticationFilter.kt | src/main/kotlin/com/wearefrancis/auth/security/JwtAuthenticationFilter.kt | package com.wearefrancis.auth.security
import org.springframework.http.HttpHeaders
import org.springframework.http.HttpStatus
import org.springframework.security.authentication.BadCredentialsException
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken
import org.springframework.secu... | package com.wearefrancis.auth.security
import org.springframework.http.HttpHeaders
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken
import org.springframework.security.core.context.SecurityContextHolder
import org.springframework.security.web.authentication.WebAuthenticationDetail... | apache-2.0 | Kotlin |
a9d6e08ff50080144c07e52bb7b8576fd2b58740 | Update TemplatesCompletionTest.kt | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/structuralsearch/testSource/com/intellij/structuralsearch/plugin/ui/TemplatesCompletionTest.kt | platform/structuralsearch/testSource/com/intellij/structuralsearch/plugin/ui/TemplatesCompletionTest.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.structuralsearch.plugin.ui
import com.intellij.codeInsight.lookup.LookupElementPresentation
import com.intellij.ide.highlighter.JavaFileType
import com.intel... | // 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.structuralsearch.plugin.ui
import com.intellij.testFramework.fixtures.LightJavaCodeInsightFixtureTestCase
import com.intellij.ide.highlighter.JavaFileType
im... | apache-2.0 | Kotlin |
7a2bd2987a440c94ac2a21f236f457d1312491fa | refactor #289 Rename argument. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/settings/PagerAdapter.kt | app/src/main/java/jp/toastkid/yobidashi/settings/PagerAdapter.kt | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | epl-1.0 | Kotlin |
deec7b69eba508e5d126ddd7ef05255d29255431 | fix an import | squanchy-dev/squanchy-android,squanchy-dev/squanchy-android,squanchy-dev/squanchy-android | app/src/main/java/net/squanchy/search/view/GridSpanSizeLookup.kt | app/src/main/java/net/squanchy/search/view/GridSpanSizeLookup.kt | package net.squanchy.search.view
import android.support.v7.widget.GridLayoutManager
import net.squanchy.search.view.SearchAdapter.Companion.ViewTypeId
internal class GridSpanSizeLookup(private val itemsAdapter: ItemsAdapter, private val columnCount: Int) : GridLayoutManager.SpanSizeLookup() {
init {
supe... | package net.squanchy.search.view
import android.support.v7.widget.GridLayoutManager
import net.squanchy.search.view.SearchAdapter.ViewTypeId
internal class GridSpanSizeLookup(private val itemsAdapter: ItemsAdapter, private val columnCount: Int) : GridLayoutManager.SpanSizeLookup() {
init {
super.setSpan... | apache-2.0 | Kotlin |
d6bcc6f992866f1adf9ae4e9c5bb429894a1e4ca | make updateDrawable public and set bounds on drawable | GlobalTechnology/android-gto-support,CruGlobal/android-gto-support,CruGlobal/android-gto-support | gto-support-picasso/src/main/java/org/ccci/gto/android/common/picasso/widget/TextViewDrawableStartTarget.kt | gto-support-picasso/src/main/java/org/ccci/gto/android/common/picasso/widget/TextViewDrawableStartTarget.kt | package org.ccci.gto.android.common.picasso.widget
import android.graphics.drawable.Drawable
import android.widget.TextView
import org.ccci.gto.android.common.picasso.BaseViewTarget
import org.ccci.gto.android.common.picasso.R
class TextViewDrawableStartTarget(view: TextView) : BaseViewTarget<TextView>(view) {
in... | package org.ccci.gto.android.common.picasso.widget
import android.graphics.drawable.Drawable
import android.widget.TextView
import org.ccci.gto.android.common.picasso.BaseViewTarget
import org.ccci.gto.android.common.picasso.R
class TextViewDrawableStartTarget(view: TextView) : BaseViewTarget<TextView>(view) {
in... | mit | Kotlin |
ed4f0664834961a2313149c6db3b0e5a35d40c91 | Support locating enclosed expression block ranges. | rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin | src/lang-xpath/main/uk/co/reecedunn/intellij/plugin/xpath/psi/impl/EnclosedExpr.kt | src/lang-xpath/main/uk/co/reecedunn/intellij/plugin/xpath/psi/impl/EnclosedExpr.kt | /*
* Copyright (C) 2021 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) 2021 Reece H. Dunn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 | Kotlin |
877134d58deafc9071ee0efa23fb553bdb9d7213 | optimize settings UI | YiiGuxing/TranslationPlugin,YiiGuxing/TranslationPlugin | src/main/java/cn/yiiguxing/plugin/translate/ui/form/AppKeySettingsPanel.kt | src/main/java/cn/yiiguxing/plugin/translate/ui/form/AppKeySettingsPanel.kt | package cn.yiiguxing.plugin.translate.ui.form
import cn.yiiguxing.plugin.translate.AppKeySettings
import cn.yiiguxing.plugin.translate.message
import cn.yiiguxing.plugin.translate.ui.UI.fillX
import cn.yiiguxing.plugin.translate.ui.UI.migLayout
import cn.yiiguxing.plugin.translate.ui.UI.wrap
import com.intellij.icons.... | package cn.yiiguxing.plugin.translate.ui.form
import cn.yiiguxing.plugin.translate.AppKeySettings
import cn.yiiguxing.plugin.translate.message
import cn.yiiguxing.plugin.translate.ui.UI.fillX
import cn.yiiguxing.plugin.translate.ui.UI.migLayout
import cn.yiiguxing.plugin.translate.ui.UI.wrap
import com.intellij.icons.... | mit | Kotlin |
7f9d8a28527df29f6bd1e821dfc9764909e68c15 | Update documentation | KotlinNLP/SimpleDNN | src/main/kotlin/com/kotlinnlp/simplednn/core/layers/models/feedforward/simple/FeedforwardLayerParameters.kt | src/main/kotlin/com/kotlinnlp/simplednn/core/layers/models/feedforward/simple/FeedforwardLayerParameters.kt | /* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/.
* ------------------------------------------... | /* Copyright 2016-present The KotlinNLP Authors. All Rights Reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, you can obtain one at http://mozilla.org/MPL/2.0/.
* ------------------------------------------... | mpl-2.0 | Kotlin |
c1bfff1076b78b2e4e3569d7a8b84af00060920f | Fix avatars | djkovrik/YapTalker,djkovrik/YapTalker | app/src/main/java/com/sedsoftware/yaptalker/presentation/feature/forumslist/adapter/ForumsDelegateAdapter.kt | app/src/main/java/com/sedsoftware/yaptalker/presentation/feature/forumslist/adapter/ForumsDelegateAdapter.kt | package com.sedsoftware.yaptalker.presentation.feature.forumslist.adapter
import androidx.recyclerview.widget.RecyclerView
import androidx.recyclerview.widget.RecyclerView.ViewHolder
import android.view.ViewGroup
import com.sedsoftware.yaptalker.R
import com.sedsoftware.yaptalker.domain.device.Settings
import com.seds... | package com.sedsoftware.yaptalker.presentation.feature.forumslist.adapter
import androidx.recyclerview.widget.RecyclerView
import androidx.recyclerview.widget.RecyclerView.ViewHolder
import android.view.ViewGroup
import com.sedsoftware.yaptalker.R
import com.sedsoftware.yaptalker.domain.device.Settings
import com.seds... | apache-2.0 | Kotlin |
599b7074044d19f386dca3804766f8867cc8905e | Fix typo in version declaration snippet | gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpira... | subprojects/docs/src/snippets/dependencyManagement/declaringDependencies-concreteVersion/kotlin/build.gradle.kts | subprojects/docs/src/snippets/dependencyManagement/declaringDependencies-concreteVersion/kotlin/build.gradle.kts | // tag::dependencies[]
plugins {
`java-library`
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.springframework:spring-web:5.0.2.RELEASE")
}
// end::dependencies[]
// tag::rich-version[]
dependencies {
implementation("org.slf4j:slf4j-api") {
version {
strictly... | // tag::dependencies[]
plugins {
`java-library`
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.springframework:spring-web:5.0.2.RELEASE")
}
// end::dependencies[]
// tag::rich-version[]
dependencies {
implementation("org.slf4j:slf4j-api") {
version {
strictly... | apache-2.0 | Kotlin |
4e6f6dad8ccb02cbdd1e833df4f4e389e7775a9c | Document XQueryConformanceCheck2.requiresConformance. | rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin | src/main/java/uk/co/reecedunn/intellij/plugin/xquery/psi/XQueryConformanceCheck2.kt | src/main/java/uk/co/reecedunn/intellij/plugin/xquery/psi/XQueryConformanceCheck2.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... | apache-2.0 | Kotlin |
8ad05ea48cc7e6aa372e11930787477a763bbbd2 | Fix Room Cursor mismatch warning | ianhanniballake/muzei,romannurik/muzei,ianhanniballake/muzei,ianhanniballake/muzei,ianhanniballake/muzei,romannurik/muzei,romannurik/muzei,romannurik/muzei,romannurik/muzei,ianhanniballake/muzei | android-client-common/src/main/java/com/google/android/apps/muzei/room/ArtworkDao.kt | android-client-common/src/main/java/com/google/android/apps/muzei/room/ArtworkDao.kt | /*
* Copyright 2017 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 2017 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 ... | apache-2.0 | Kotlin |
1ab5ce967c1fc43967fc612bfdcbdf58168e6859 | Remove unused functions in XmlExtensions.kt (#2458) | rock3r/detekt,arturbosch/detekt,arturbosch/detekt,rock3r/detekt,rock3r/detekt,arturbosch/detekt | detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/baseline/XmlExtensions.kt | detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/baseline/XmlExtensions.kt | package io.gitlab.arturbosch.detekt.cli.baseline
import java.io.Writer
import javax.xml.stream.XMLOutputFactory
import javax.xml.stream.XMLStreamWriter
fun Writer.streamXml(): XMLStreamWriter = XMLOutputFactory.newFactory().createXMLStreamWriter(this)
fun XMLStreamWriter.prettyPrinter(): XMLStreamWriter = IndentingX... | package io.gitlab.arturbosch.detekt.cli.baseline
import java.io.Writer
import javax.xml.stream.XMLOutputFactory
import javax.xml.stream.XMLStreamWriter
fun Writer.streamXml(): XMLStreamWriter = XMLOutputFactory.newFactory().createXMLStreamWriter(this)
fun XMLStreamWriter.prettyPrinter(): XMLStreamWriter = IndentingX... | apache-2.0 | Kotlin |
3d46d10d0a9402bf69b58d3da7fd5af77955031f | Clean up Exercises adapter | yousuf-haque/Titan | app/src/main/kotlin/com/yohaq/titan/ui/adapters/ExercisesAdapter.kt | app/src/main/kotlin/com/yohaq/titan/ui/adapters/ExercisesAdapter.kt | package com.yohaq.titan.ui.adapters
import android.databinding.DataBindingUtil
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.ViewGroup
import android.widget.Toast
import com.yohaq.titan.R
import com.yohaq.titan.data.models.Exercise
import com.yohaq.titan.databindi... | package com.yohaq.titan.ui.adapters
import android.databinding.DataBindingUtil
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.Toast
import com.yohaq.titan.R
import com.yohaq.titan.data.models.Exercise
import ... | apache-2.0 | Kotlin |
3fb985b371f18a8c8e19860bf32e7e106d2b25bf | use rust structure mod tracker to cache macro expansions | intellij-rust/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust | src/main/kotlin/org/rust/lang/core/macros/MacroExpansion.kt | src/main/kotlin/org/rust/lang/core/macros/MacroExpansion.kt | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.lang.core.macros
import com.intellij.psi.util.CachedValueProvider
import com.intellij.psi.util.PsiModificationTracker
import org.rust.cargo.project.settings.rustSettings
import org.rust.lang.cor... | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.lang.core.macros
import com.intellij.psi.util.CachedValueProvider
import com.intellij.psi.util.PsiModificationTracker
import org.rust.cargo.project.settings.rustSettings
import org.rust.lang.cor... | mit | Kotlin |
555402e77178239701806318920e05f2125a25e9 | Add url "maekawtom" | ffc-nectec/FFC | ffc/src/main/kotlin/ffc/api/FfcCentral.kt | ffc/src/main/kotlin/ffc/api/FfcCentral.kt | /*
* Copyright (c) 2018 NECTEC
* National Electronics and Computer Technology Center, Thailand
*
* 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/... | /*
* Copyright (c) 2018 NECTEC
* National Electronics and Computer Technology Center, Thailand
*
* 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/... | apache-2.0 | Kotlin |
fb45e49e7542d641c50d42946b232a089d3cbedc | Update dependency androidx.navigation:navigation-safe-args-gradle-plugin to v2.5.3 | ptkNktq/AndroidNotificationNotifier,ptkNktq/AndroidNotificationNotifier,ptkNktq/AndroidNotificationNotifier | AndroidApp/build.gradle.kts | AndroidApp/build.gradle.kts | // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
extra.apply {
set("kotlin_version", "1.7.10")
}
repositories {
google()
mavenCentral()
maven("https://plugins.gradle.org/m2/")
}
dependencies {
cl... | // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
extra.apply {
set("kotlin_version", "1.7.10")
}
repositories {
google()
mavenCentral()
maven("https://plugins.gradle.org/m2/")
}
dependencies {
cl... | mit | Kotlin |
9d1a5eab732a6479e0ef17ef45cccca0a70eb405 | add report latency | http4k/http4k,http4k/http4k,grover-ws-1/http4k,grover-ws-1/http4k,http4k/http4k,http4k/http4k,grover-ws-1/http4k,http4k/http4k,http4k/http4k,grover-ws-1/http4k,grover-ws-1/http4k,http4k/http4k | reekwest-contract/src/test/kotlin/cookbook/app.kt | reekwest-contract/src/test/kotlin/cookbook/app.kt | package cookbook
import org.reekwest.http.contract.ReportRouteLatency
import org.reekwest.http.contract.module.Root
import org.reekwest.http.contract.module.Route
import org.reekwest.http.contract.module.RouteModule
import org.reekwest.http.contract.module.SimpleJson
import org.reekwest.http.core.ContentType.Companion... | package cookbook
import org.reekwest.http.contract.module.Root
import org.reekwest.http.contract.module.Route
import org.reekwest.http.contract.module.RouteModule
import org.reekwest.http.contract.module.SimpleJson
import org.reekwest.http.core.ContentType.Companion.TEXT_PLAIN
import org.reekwest.http.core.HttpHandler... | apache-2.0 | Kotlin |
520a23477ef86682fb1416852829ac8748017ef0 | Fix space replacement | fwcd/kotlin-language-server,fwcd/kotlin-language-server,fwcd/kotlin-language-server | shared/src/main/kotlin/org/javacs/kt/util/URIs.kt | shared/src/main/kotlin/org/javacs/kt/util/URIs.kt | package org.javacs.kt.util
import java.net.URI
import java.net.URLDecoder
import java.nio.charset.StandardCharsets
import java.nio.file.Path
import java.nio.file.Paths
/**
* Parse a possibly-percent-encoded URI string.
* Decoding is necessary since some language clients
* (including VSCode) invalidly percent-encod... | package org.javacs.kt.util
import java.net.URI
import java.net.URLDecoder
import java.nio.charset.StandardCharsets
import java.nio.file.Path
import java.nio.file.Paths
/**
* Parse a possibly-percent-encoded URI string.
* Decoding is necessary since some language clients
* (including VSCode) invalidly percent-encod... | mit | Kotlin |
a8fa186e0e5eb9c17d682293f120d070582a4c30 | Enable logging in k-tube | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-samples/you-kube/src/you/kube/App.kt | ktor-samples/you-kube/src/you/kube/App.kt | package you.kube
import org.jetbrains.ktor.application.*
import org.jetbrains.ktor.auth.*
import org.jetbrains.ktor.features.*
import org.jetbrains.ktor.http.*
import org.jetbrains.ktor.locations.*
import org.jetbrains.ktor.logging.*
import org.jetbrains.ktor.routing.*
import org.jetbrains.ktor.sessions.*
import org.j... | package you.kube
import org.jetbrains.ktor.application.*
import org.jetbrains.ktor.auth.*
import org.jetbrains.ktor.features.*
import org.jetbrains.ktor.http.*
import org.jetbrains.ktor.locations.*
import org.jetbrains.ktor.routing.*
import org.jetbrains.ktor.sessions.*
import org.jetbrains.ktor.util.*
import java.io.... | apache-2.0 | Kotlin |
67eceed5e8a93af8caefc719131f594f5b9c95c5 | handle ading licenseMask | canou/Simple-Commons | library/src/main/kotlin/com/simplemobiletools/commons/activities/BaseSimpleActivity.kt | library/src/main/kotlin/com/simplemobiletools/commons/activities/BaseSimpleActivity.kt | package com.simplemobiletools.commons.activities
import android.annotation.TargetApi
import android.app.Activity
import android.content.Intent
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.view.MenuItem
import com.simplemobiletool... | package com.simplemobiletools.commons.activities
import android.annotation.TargetApi
import android.app.Activity
import android.content.Intent
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import android.view.MenuItem
import com.simplemobiletool... | apache-2.0 | Kotlin |
8166370d57dcc5f8f2af15648761d733200a092b | Bump kotlinx-cli-jvm from 0.3.1 to 0.3.2 (#1784) | Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka | runners/cli/build.gradle.kts | runners/cli/build.gradle.kts | import org.jetbrains.DokkaPublicationBuilder.Component.Shadow
import org.jetbrains.registerDokkaArtifactPublication
plugins {
id("com.github.johnrengelman.shadow")
id("com.jfrog.bintray")
}
repositories {
maven(url = "https://dl.bintray.com/kotlin/kotlinx")
}
dependencies {
implementation("org.jetbra... | import org.jetbrains.DokkaPublicationBuilder.Component.Shadow
import org.jetbrains.registerDokkaArtifactPublication
plugins {
id("com.github.johnrengelman.shadow")
id("com.jfrog.bintray")
}
repositories {
maven(url = "https://dl.bintray.com/kotlin/kotlinx")
}
dependencies {
implementation("org.jetbra... | apache-2.0 | Kotlin |
b77d2f763e033b92f68d0245c140f652cad01c78 | Adjust sourceRoots to only include main dir (#1508) | google/android-fhir,google/android-fhir | buildSrc/src/main/kotlin/DokkaConfig.kt | buildSrc/src/main/kotlin/DokkaConfig.kt | /*
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | /*
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | apache-2.0 | Kotlin |
c21d231436e5ff35fc81eeabe1867134317862a9 | Create a class to represent an academic term | FarbodSalamat-Zadeh/TimetableApp,FarbodSalamat-Zadeh/TimetableApp | app/src/main/java/com/satsumasoftware/timetable/framework/Term.kt | app/src/main/java/com/satsumasoftware/timetable/framework/Term.kt | package com.satsumasoftware.timetable.framework
import org.threeten.bp.LocalDate
class Term(val id: Int, val name: String, val startDate: LocalDate, val endDate: LocalDate)
| apache-2.0 | Kotlin | |
f2a1c2aefb5acf884bf96c6b271dab51a3d32357 | Add an XpmArrayExpression interface. | rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin | src/lang-xpm/main/uk/co/reecedunn/intellij/plugin/xpm/optree/item/XpmArrayExpression.kt | src/lang-xpm/main/uk/co/reecedunn/intellij/plugin/xpm/optree/item/XpmArrayExpression.kt | /*
* Copyright (C) 2021 Reece H. Dunn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 | Kotlin | |
72dff3f197de6de31371d31492d401542e974611 | Create RemoveCommandStrings Object | Homes-MinecraftServerMod/Homes,Homes-MinecraftServerMod/Homes | src/main/kotlin/com/masahirosaito/spigot/homes/strings/commands/RemoveCommandStrings.kt | src/main/kotlin/com/masahirosaito/spigot/homes/strings/commands/RemoveCommandStrings.kt | package com.masahirosaito.spigot.homes.strings.commands
import com.masahirosaito.spigot.homes.Strings.HOME_NAME
import com.masahirosaito.spigot.homes.datas.strings.commands.RemoveCommandStringData
import com.masahirosaito.spigot.homes.loadData
import java.io.File
object RemoveCommandStrings {
lateinit private var... | apache-2.0 | Kotlin | |
ab48b5ba514fcdf695fc3ba92f298822b1f12c98 | remove nth node | dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas,dkandalov/katas | kotlin/src/katas/kotlin/leetcode/remove_nth_node/RemoveNthNode.kt | kotlin/src/katas/kotlin/leetcode/remove_nth_node/RemoveNthNode.kt | package katas.kotlin.leetcode.remove_nth_node
import kotlincommon.test.shouldEqual
import org.junit.Test
private data class ListNode(val value: Int, var next: ListNode? = null)
class RemoveNthNodeTests {
@Test fun `it mostly works`() {
ListNode(1, ListNode(2, ListNode(3, ListNode(4, ListNode(5))))).remov... | package katas.kotlin.leetcode.remove_nth_node
import kotlincommon.test.shouldEqual
import org.junit.Test
private data class ListNode(val value: Int, var next: ListNode? = null)
class RemoveNthNodeTests {
@Test fun `it mostly works`() {
ListNode(1, ListNode(2, ListNode(3, ListNode(4, ListNode(5))))).remov... | unlicense | Kotlin |
3f7ab93d022ca1e29dbd55f79c9db5d6856efdd8 | correct description, check is open,abstract,inherit something | Mauin/detekt,rock3r/detekt,arturbosch/detekt,rock3r/detekt,MyDogTom/detekt,arturbosch/detekt,Mauin/detekt,arturbosch/detekt,rock3r/detekt,Mauin/detekt,Mauin/detekt | detekt-rules/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/UseDataClassRule.kt | detekt-rules/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/UseDataClassRule.kt | package io.gitlab.arturbosch.detekt.rules.style
import io.gitlab.arturbosch.detekt.api.CodeSmell
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.Entity
import io.gitlab.arturbosch.detekt.api.Issue
import io.gitlab.arturbosch.detekt.api.Rule
import io.gitlab.arturbosch.detekt.api.Se... | package io.gitlab.arturbosch.detekt.rules.style
import io.gitlab.arturbosch.detekt.api.CodeSmell
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.Entity
import io.gitlab.arturbosch.detekt.api.Issue
import io.gitlab.arturbosch.detekt.api.Rule
import io.gitlab.arturbosch.detekt.api.Se... | apache-2.0 | Kotlin |
e57587696114c4d072891d55534923c1bdcdbd76 | refactor #412 Add null check. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | api/src/test/java/jp/toastkid/api/suggestion/SuggestionParserTest.kt | api/src/test/java/jp/toastkid/api/suggestion/SuggestionParserTest.kt | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | epl-1.0 | Kotlin |
6266908822348cd3f5c0ecea6d1bfa42b09d0cfa | Update to Android-Components 107.0.20220919190141. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "107.0.20220919190141"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "107.0.20220919162523"
}
| mpl-2.0 | Kotlin |
f74039ab414fea31cfd31204d854f99c55af59ad | Update to Android-Components 103.0.20220618143140. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "103.0.20220618143140"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "103.0.20220617190156"
}
| mpl-2.0 | Kotlin |
fba5c3288e9ab9f606599cca9ce7bf9fed73cbfc | Update to Android-Components 106.0.20220905143151. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "106.0.20220905143151"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "106.0.20220904143128"
}
| mpl-2.0 | Kotlin |
a25641c2deaa2e2a21fd7ce9b02c022667facbf1 | Update to Android-Components 105.0.20220815143121. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "105.0.20220815143121"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "105.0.20220814190127"
}
| mpl-2.0 | Kotlin |
033c80ef549980c3e23583a4bd90ce6334e6113b | refactor #704 Add Deprecated. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/libs/network/WifiConnectionChecker.kt | app/src/main/java/jp/toastkid/yobidashi/libs/network/WifiConnectionChecker.kt | package jp.toastkid.yobidashi.libs.network
import android.content.Context
import android.net.ConnectivityManager
/**
* Wi-Fi connection checker.
* TODO Rewrite new API
* @author toastkidjp
*/
@Deprecated("You should use NetworkChecker.")
object WifiConnectionChecker {
/**
* Check is not connecting Wi-Fi... | package jp.toastkid.yobidashi.libs.network
import android.content.Context
import android.net.ConnectivityManager
/**
* Wi-Fi connection checker.
* TODO Rewrite new API
* @author toastkidjp
*/
object WifiConnectionChecker {
/**
* Check is not connecting Wi-Fi.
*
* @param context
* @return ... | epl-1.0 | Kotlin |
90961c10494d64fe0d7a684e9382dbc725928a98 | refactor #523 Check using color. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/test/java/jp/toastkid/yobidashi/browser/webview/AlphaConverterTest.kt | app/src/test/java/jp/toastkid/yobidashi/browser/webview/AlphaConverterTest.kt | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | epl-1.0 | Kotlin |
e4fb31b4b34eb723558a5a68f0cf83cccda21c74 | Fix bug in document translation in golang | YiiGuxing/TranslationPlugin,YiiGuxing/TranslationPlugin | src/main/kotlin/cn/yiiguxing/plugin/translate/provider/GoDocumentationElementProvider.kt | src/main/kotlin/cn/yiiguxing/plugin/translate/provider/GoDocumentationElementProvider.kt | package cn.yiiguxing.plugin.translate.provider
import cn.yiiguxing.plugin.translate.util.findChildOfType
import cn.yiiguxing.plugin.translate.util.getNextSiblingSkippingCondition
import com.goide.psi.*
import com.intellij.psi.PsiComment
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiFile
import com.inte... | package cn.yiiguxing.plugin.translate.provider
import cn.yiiguxing.plugin.translate.util.findChildOfType
import cn.yiiguxing.plugin.translate.util.getNextSiblingSkippingCondition
import com.goide.psi.*
import com.intellij.psi.PsiComment
import com.intellij.psi.PsiElement
import com.intellij.psi.PsiFile
import com.inte... | mit | Kotlin |
d2a9e30afedaac4737340a4e442973ae916ecd6b | refactor #506 Fix incorrect test case. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/test/java/jp/toastkid/yobidashi/settings/background/load/ImageStoreServiceTest.kt | app/src/test/java/jp/toastkid/yobidashi/settings/background/load/ImageStoreServiceTest.kt | package jp.toastkid.yobidashi.settings.background.load
import android.graphics.Bitmap
import android.net.Uri
import android.view.Display
import io.mockk.MockKAnnotations
import io.mockk.every
import io.mockk.impl.annotations.MockK
import io.mockk.mockkConstructor
import io.mockk.mockkObject
import io.mockk.spyk
import... | package jp.toastkid.yobidashi.settings.background.load
import android.graphics.Bitmap
import android.net.Uri
import android.view.Display
import io.mockk.MockKAnnotations
import io.mockk.every
import io.mockk.impl.annotations.MockK
import io.mockk.impl.annotations.SpyK
import io.mockk.mockk
import io.mockk.mockkClass
i... | epl-1.0 | Kotlin |
6c1b95769375a029ab054ab3e781b7e9e0ce942d | refactor #605 Modify to field. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/test/java/jp/toastkid/yobidashi/settings/background/load/ImageStoreServiceTest.kt | app/src/test/java/jp/toastkid/yobidashi/settings/background/load/ImageStoreServiceTest.kt | package jp.toastkid.yobidashi.settings.background.load
import android.graphics.Bitmap
import android.net.Uri
import android.view.Display
import io.mockk.MockKAnnotations
import io.mockk.every
import io.mockk.impl.annotations.InjectMockKs
import io.mockk.impl.annotations.MockK
import io.mockk.mockkConstructor
import io... | package jp.toastkid.yobidashi.settings.background.load
import android.graphics.Bitmap
import android.net.Uri
import android.view.Display
import io.mockk.MockKAnnotations
import io.mockk.every
import io.mockk.impl.annotations.InjectMockKs
import io.mockk.impl.annotations.MockK
import io.mockk.mockkConstructor
import io... | epl-1.0 | Kotlin |
f05eb4f2a057b7d0ac4d4e931571045ef98f494d | Update FileKit.kt | elifarley/kotlin-misc-lib,elifarley/kotlin-misc-lib,elifarley/kotlin-examples,elifarley/kotlin-examples | src/com/github/elifarley/kotlin/path/FileKit.kt | src/com/github/elifarley/kotlin/path/FileKit.kt | package com.orgecc.util.path
import java.nio.file.Files
import java.nio.file.Path
import java.nio.file.attribute.FileAttribute
/**
* Created by elifarley on 02/09/16.
*/
fun Path.createParentDirectories(vararg attrs: FileAttribute<*>) = this.apply {
Files.createDirectories(this.parent, *attrs)
}
| package com.orgecc.util.path
import java.io.File
import java.nio.file.Files
import java.nio.file.Path
import java.nio.file.attribute.FileAttribute
import java.security.DigestInputStream
import java.security.DigestOutputStream
import java.security.MessageDigest
/**
* Created by elifarley on 02/09/16.
*/
fun Path.cr... | mit | Kotlin |
bccfa6dfba7459be98e003384c5ac5fa5ebf24a9 | Add MainActivity.kt | RocketChat/Rocket.Chat.Android.Lily,RocketChat/Rocket.Chat.Android,RocketChat/Rocket.Chat.Android,RocketChat/Rocket.Chat.Android.Lily | app/src/main/java/chat/rocket/android/chatrooms/ui/MainActivity.kt | app/src/main/java/chat/rocket/android/chatrooms/ui/MainActivity.kt | package chat.rocket.android.chatrooms.ui
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v7.app.AppCompatActivity
import chat.rocket.android.R
import chat.rocket.android.util.addFragment
import dagger.android.AndroidInjection
import dagger.android.AndroidInjector
import dagger.an... | mit | Kotlin | |
7cbc884264d085b1a0883ccf947b044f65c16550 | add eyer to shorten waiting time | nidi3/emoji-art,nidi3/emoji-art,nidi3/emoji-art | src/main/kotlin/guru/nidi/emojiart/Eyer.kt | src/main/kotlin/guru/nidi/emojiart/Eyer.kt | /*
* Copyright © 2017 Stefan Niederhauser (nidin@gmx.ch)
*
* 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... | apache-2.0 | Kotlin | |
217ba4c5f6330dcd0475a5ee1e44ce460a089877 | bump spring-web from 5.3.10 to 5.3.11 (via #666) | allure-framework/allure-java,allure-framework/allure-java | allure-spring-web/build.gradle.kts | allure-spring-web/build.gradle.kts | description = "Allure Spring Web Integration"
val agent: Configuration by configurations.creating
val springWebVersion = "5.3.11"
dependencies {
agent("org.aspectj:aspectjweaver")
api(project(":allure-attachments"))
implementation("org.springframework:spring-web:$springWebVersion")
testImplementation... | description = "Allure Spring Web Integration"
val agent: Configuration by configurations.creating
val springWebVersion = "5.3.10"
dependencies {
agent("org.aspectj:aspectjweaver")
api(project(":allure-attachments"))
implementation("org.springframework:spring-web:$springWebVersion")
testImplementation... | apache-2.0 | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.