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
b44efc23b14a9ab856fcf41565b73865528ec8e7
add time out to head of array
gen0083/AdbFriendly,gen0083/AdbFriendly
plugin/src/main/java/jp/gcreate/plugins/adbfriendly/adb/Command.kt
plugin/src/main/java/jp/gcreate/plugins/adbfriendly/adb/Command.kt
/* * ADB Friendly * Copyright 2016 gen0083 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
/* * ADB Friendly * Copyright 2016 gen0083 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
apache-2.0
Kotlin
db5902741e654c8d515b9667dac4269d5be3eac1
correct a funtion name, make it more readable with kolin style
cbeust/klaxon,cbeust/klaxon,cbeust/klaxon
src/main/kotlin/com/beust/klaxon/Render.kt
src/main/kotlin/com/beust/klaxon/Render.kt
package com.beust.klaxon import java.text.DecimalFormat private fun <A: Appendable> A.renderString(s: String): A { append("\"") for (idx in 0..s.length - 1) { val ch = s[idx] when (ch) { '"' -> append("\\").append(ch) '\\' -> append(ch).append(ch) '\n' -> a...
package com.beust.klaxon import java.text.DecimalFormat private fun <A: Appendable> A.renderString(s: String): A { append("\"") for (idx in 0..s.length - 1) { val ch = s[idx] when (ch) { '"' -> append("\\").append(ch) '\\' -> append(ch).append(ch) '\n' -> a...
apache-2.0
Kotlin
2e04f5aa7e7ff8a5441f2443498d932566f47f87
Add interface.
kryptnostic/rhizome,kryptnostic/rhizome
src/main/kotlin/com/geekbeast/hazelcast/HazelcastClientProvider.kt
src/main/kotlin/com/geekbeast/hazelcast/HazelcastClientProvider.kt
package com.geekbeast.hazelcast import com.hazelcast.client.HazelcastClient import com.hazelcast.client.config.ClientConfig import com.hazelcast.config.GroupConfig import com.hazelcast.config.SerializationConfig import com.hazelcast.core.HazelcastInstance import com.kryptnostic.rhizome.configuration.hazelcast.Hazelcas...
package com.geekbeast.hazelcast import com.hazelcast.client.HazelcastClient import com.hazelcast.client.config.ClientConfig import com.hazelcast.config.GroupConfig import com.hazelcast.config.SerializationConfig import com.hazelcast.core.HazelcastInstance import com.kryptnostic.rhizome.configuration.hazelcast.Hazelcas...
apache-2.0
Kotlin
e8b8e6899bfe1b18346aecd784af7112f20d5ae3
Streamline the use of TypedArray so that it can be safer
squanchy-dev/squanchy-android,squanchy-dev/squanchy-android,squanchy-dev/squanchy-android
app/src/main/java/net/squanchy/support/font/FontCompat.kt
app/src/main/java/net/squanchy/support/font/FontCompat.kt
@file:JvmName("FontCompat") package net.squanchy.support.font import android.content.Context import android.content.res.TypedArray import android.support.annotation.FontRes import android.support.annotation.StyleRes import android.support.v4.content.res.ResourcesCompat import net.squanchy.R fun Context.getFontFor(@S...
@file:JvmName("FontCompat") package net.squanchy.support.font import android.content.Context import android.support.annotation.FontRes import android.support.annotation.StyleRes import android.support.v4.content.res.ResourcesCompat import net.squanchy.R fun Context.getFontFor(@StyleRes styleResId: Int) = Res...
apache-2.0
Kotlin
d52c28783220083b6192c8a3ef8f3d0e66a26bab
Update to build tools 27.0.3
AndroidX/androidx,androidx/androidx,aosp-mirror/platform_frameworks_support,androidx/androidx,aosp-mirror/platform_frameworks_support,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,aosp-mirror/platform_frameworks_support,AndroidX/androidx,aosp-mirror/platform_frameworks_support,AndroidX/android...
buildSrc/src/main/kotlin/android/support/SupportConfig.kt
buildSrc/src/main/kotlin/android/support/SupportConfig.kt
/* * Copyright 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
Kotlin
d831a5835bdf8f7287c8174bba96921f94909662
Update test method names to match the name of the property under test.
EventFahrplan/EventFahrplan,EventFahrplan/EventFahrplan
app/src/test/java/nerd/tuxmobil/fahrplan/congress/models/LectureTest.kt
app/src/test/java/nerd/tuxmobil/fahrplan/congress/models/LectureTest.kt
package nerd.tuxmobil.fahrplan.congress.models import org.assertj.core.api.Assertions.assertThat import org.junit.Test class LectureTest { @Test fun getStartTimeMoment() { val lecture = Lecture("1") lecture.relStartTime = 121 lecture.date = "2019-12-27" val moment = lecture.s...
package nerd.tuxmobil.fahrplan.congress.models import org.assertj.core.api.Assertions.assertThat import org.junit.Test class LectureTest { @Test fun getStartTimeMoment() { val lecture = Lecture("1") lecture.relStartTime = 121 lecture.date = "2019-12-27" val moment = lecture.s...
apache-2.0
Kotlin
0f17ac2089bd21dd37259f739af6d75ae3b6482e
fix rotation of SingleFragmentActivity.
dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia
app/src/main/java/org/wikipedia/activity/SingleFragmentActivity.kt
app/src/main/java/org/wikipedia/activity/SingleFragmentActivity.kt
package org.wikipedia.activity import android.os.Bundle import androidx.annotation.LayoutRes import androidx.fragment.app.Fragment import org.wikipedia.R /** * Boilerplate for a FragmentActivity containing a single stack of Fragments. */ abstract class SingleFragmentActivity<T : Fragment> : BaseActivity() { lat...
package org.wikipedia.activity import android.os.Bundle import androidx.annotation.LayoutRes import androidx.fragment.app.Fragment import org.wikipedia.R /** * Boilerplate for a FragmentActivity containing a single stack of Fragments. */ abstract class SingleFragmentActivity<T : Fragment> : BaseActivity() { lat...
apache-2.0
Kotlin
4eae8d426ccf8d746cf18ca7f00a3a3cc961ff4e
Refactor acornui-core to use 'basic' plugin
AcornUI/Acorn,AcornUI/Acorn,AcornUI/Acorn
acornui-core/build.gradle.kts
acornui-core/build.gradle.kts
/* * Copyright 2019 PolyForest * * 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 2019 PolyForest * * 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
61dfe24b58aeca9a2acac74e5131bbc391174cb9
Remove Clickable that takes eventhandler
facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho
litho-core-kotlin/src/main/kotlin/com/facebook/litho/CommonProps.kt
litho-core-kotlin/src/main/kotlin/com/facebook/litho/CommonProps.kt
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
apache-2.0
Kotlin
a6849214c36953d21b726ab6332d2e25006490b9
fix translation order
jiaminglu/kotlin-native,olonho/carkot,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,jiaminglu/kotlin-native,olonho/carkot,wiltonlazary/kotlin-native,JuliusKunze/kotlin-native,olonho/carkot,jiaminglu/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,jia...
translator/src/main/kotlin/org/kotlinnative/translator/ProjectTranslator.kt
translator/src/main/kotlin/org/kotlinnative/translator/ProjectTranslator.kt
package org.kotlinnative.translator import org.jetbrains.kotlin.psi.* class ProjectTranslator(val files: List<KtFile>, val state: TranslationState) { private var codeBuilder = state.codeBuilder fun generateCode(): String { codeBuilder.clean() files.map { addDeclarations(it) } generate...
package org.kotlinnative.translator import org.jetbrains.kotlin.psi.* class ProjectTranslator(val files: List<KtFile>, val state: TranslationState) { private var codeBuilder = state.codeBuilder fun generateCode(): String { codeBuilder.clean() files.map { addDeclarations(it) } generate...
apache-2.0
Kotlin
eda823ae04335439a7f135d690da794600c95779
Add `SingleCommandAssignee` abstract class
SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java
server/src/main/kotlin/io/spine/server/command/SingleCommandAssignee.kt
server/src/main/kotlin/io/spine/server/command/SingleCommandAssignee.kt
/* * Copyright 2022, TeamDev. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Redistribution and use in source...
apache-2.0
Kotlin
339a2e2c7241da75de3019245db8fa660ba7a196
Use PathConverter for rules property
arturbosch/detekt,rock3r/detekt,Mauin/detekt,arturbosch/detekt,rock3r/detekt,MyDogTom/detekt,Mauin/detekt,arturbosch/detekt,Mauin/detekt,Mauin/detekt,rock3r/detekt
detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/Configurations.kt
detekt-cli/src/main/kotlin/io/gitlab/arturbosch/detekt/cli/Configurations.kt
package io.gitlab.arturbosch.detekt.cli import io.gitlab.arturbosch.detekt.api.CompositeConfig import io.gitlab.arturbosch.detekt.api.Config import io.gitlab.arturbosch.detekt.api.YamlConfig import io.gitlab.arturbosch.detekt.core.PathFilter import java.io.File import java.nio.file.Path /** * @author Artur Bosch */...
package io.gitlab.arturbosch.detekt.cli import io.gitlab.arturbosch.detekt.api.CompositeConfig import io.gitlab.arturbosch.detekt.api.Config import io.gitlab.arturbosch.detekt.api.YamlConfig import io.gitlab.arturbosch.detekt.core.PathFilter import java.io.File import java.nio.file.Path import java.nio.file.Paths /**...
apache-2.0
Kotlin
ffc090dece386b49b181aa445e755987766b914e
Upgrade to Kotlin 1.4.0
square/kotlinpoet,square/kotlinpoet
buildSrc/src/main/java/Dependencies.kt
buildSrc/src/main/java/Dependencies.kt
/* * Copyright (C) 2019 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * Copyright (C) 2019 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
apache-2.0
Kotlin
7acc52c3ffd3f18eea3a878201a88112dfd02693
Fix IconOneLineListItem layout params
LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties
material-lists/src/main/java/splitties/material/lists/IconOneLineListItem.kt
material-lists/src/main/java/splitties/material/lists/IconOneLineListItem.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
c7f82c1b9ed8173d5a6be91347d6293f33355d4b
Create template of `InfixFunction.kt`
igorini/kotlin-hints
src/main/kotlin/com/igorini/kotlin/hints/functions/InfixFunction.kt
src/main/kotlin/com/igorini/kotlin/hints/functions/InfixFunction.kt
package com.igorini.kotlin.hints.functions // [Infix Function] -> // [Before] // [After]
apache-2.0
Kotlin
ecbdcecf7ff789a2ebe898df5b9fc4699f17cd1d
Update PciDevice.kt
K0zka/kerub,kerubistan/kerub,K0zka/kerub,kerubistan/kerub,K0zka/kerub,kerubistan/kerub
src/main/kotlin/com/github/K0zka/kerub/model/PciDevice.kt
src/main/kotlin/com/github/K0zka/kerub/model/PciDevice.kt
package com.github.K0zka.kerub.model import java.io.Serializable import org.hibernate.search.annotations.Field /** * Represents a PCI device of the host. */ public class PciDevice( Field val address: String, Field val devClass: String, Field val vendor: String, Field val device: String ...
package com.github.K0zka.kerub.model import java.io.Serializable import org.hibernate.search.annotations.Field public class PciDevice( Field val address: String, Field val devClass: String, Field val vendor: String, Field val device: String ) : Serializable
apache-2.0
Kotlin
bafe7fb1dbb1b7944d712aa39da58fc04d133a3e
Increase timeout in TCK tests to work on slow TC agents
Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines
reactive/kotlinx-coroutines-reactive/test/ReactiveStreamTckTest.kt
reactive/kotlinx-coroutines-reactive/test/ReactiveStreamTckTest.kt
/* * Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package kotlinx.coroutines.reactive import kotlinx.coroutines.* import org.reactivestreams.* import org.reactivestreams.tck.* import org.testng.* import org.testng.annotations.* class ReactiveStreamTckTest ...
/* * Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package kotlinx.coroutines.reactive import kotlinx.coroutines.* import org.reactivestreams.* import org.reactivestreams.tck.* import org.testng.* import org.testng.annotations.* class ReactiveStreamTckTest ...
apache-2.0
Kotlin
4b8b237f6563721901ffeb52347ab602998a3e7b
add and search word
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/add_and_search_word/AddAndSearchWord.kt
kotlin/src/katas/kotlin/leetcode/add_and_search_word/AddAndSearchWord.kt
package katas.kotlin.leetcode.add_and_search_word import kotlincommon.test.shouldEqual import org.junit.Test /** * https://leetcode.com/problems/add-and-search-word-data-structure-design/ */ class AddAndSearchWordTests { @Test fun `add and search words`() { val dictionary = WordDictionary() dict...
package katas.kotlin.leetcode.add_and_search_word import kotlincommon.test.shouldEqual import org.junit.Test /** * https://leetcode.com/problems/add-and-search-word-data-structure-design/ */ class AddAndSearchWordTests { @Test fun `add and search words`() { val dictionary = WordDictionary() dict...
unlicense
Kotlin
94b2636e6d1f35638d119ab87b10894664e93988
Create CreateDBInstance.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/rds/src/main/kotlin/com/kotlin/rds/CreateDBInstance.kt
.kotlin_alpha/services/rds/src/main/kotlin/com/kotlin/rds/CreateDBInstance.kt
//snippet-sourcedescription:[CreateDBInstance.kt demonstrates how to create an Amazon Relational Database Service (RDS) instance and wait for it to be in an available state.] //snippet-keyword:[AWS SDK for Kotlin] //snippet-keyword:[Code Sample] //snippet-service:[Amazon Relational Database Service] //snippet-sourcetyp...
apache-2.0
Kotlin
789c95fba360057bcd23e6c04045295543de4c91
add get() function
Ekito/koin,Ekito/koin,InsertKoinIO/koin,InsertKoinIO/koin,InsertKoinIO/koin
android/koin-android/src/main/java/org/koin/android/ext/android/AndroidExt.kt
android/koin-android/src/main/java/org/koin/android/ext/android/AndroidExt.kt
package org.koin.android.ext.android import android.app.Application import android.content.ComponentCallbacks import org.koin.Koin import org.koin.KoinContext import org.koin.android.ext.koin.with import org.koin.android.logger.AndroidLogger import org.koin.core.parameter.Parameters import org.koin.dsl.module.Module i...
package org.koin.android.ext.android import android.app.Application import android.content.ComponentCallbacks import org.koin.Koin import org.koin.KoinContext import org.koin.android.ext.koin.with import org.koin.android.logger.AndroidLogger import org.koin.core.parameter.Parameters import org.koin.dsl.module.Module i...
apache-2.0
Kotlin
33ceedaa547e28710a4e9dd6d92d0b55ac6f139d
refactor #523 Inject mock instance.
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
173b8f5eaf548ef9c336b9b45583a0d4b7146ba7
Fix NPE in `RsGeneratedSourceFilter` on 2019.3
intellij-rust/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust
src/main/kotlin/org/rust/ide/navigation/goto/RsGeneratedSourcesFilter.kt
src/main/kotlin/org/rust/ide/navigation/goto/RsGeneratedSourcesFilter.kt
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.ide.navigation.goto import com.intellij.openapi.project.Project import com.intellij.openapi.roots.GeneratedSourcesFilter import com.intellij.openapi.vfs.VirtualFile import com.intellij.psi.PsiDi...
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.ide.navigation.goto import com.intellij.openapi.project.Project import com.intellij.openapi.roots.GeneratedSourcesFilter import com.intellij.openapi.vfs.VirtualFile import com.intellij.psi.PsiEl...
mit
Kotlin
7a16a939915dc0ab821a0f44caff0707819b71cc
Use code fragment instead of plain text for "Evaluate expression"
intellij-rust/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust
debugger/src/main/kotlin/org/rust/debugger/lang/RsDebuggerEditorsExtension.kt
debugger/src/main/kotlin/org/rust/debugger/lang/RsDebuggerEditorsExtension.kt
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.debugger.lang import com.intellij.openapi.project.Project import com.intellij.psi.PsiElement import com.intellij.psi.PsiFile import com.intellij.xdebugger.XSourcePosition import com.intellij.xde...
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.debugger.lang import com.jetbrains.cidr.execution.debugger.CidrDebuggerEditorsExtensionBase import org.rust.lang.RsLanguage class RsDebuggerEditorsExtension : CidrDebuggerEditorsExtensionBase()...
mit
Kotlin
2157609457d84b76b3a469ffe74838c7deab91f8
Set dynamic realm object in internal migration fun
ingresso-rapido-mobile/better-migrations,ingresso-rapido-mobile/better-migrations
migration/src/main/java/br/com/bloder/migration/internal/InternalMigration.kt
migration/src/main/java/br/com/bloder/migration/internal/InternalMigration.kt
package br.com.bloder.migration.internal import io.realm.DynamicRealm /** * Better Migrations actions */ interface InternalMigration { fun up(realm: DynamicRealm?) fun down(realm: DynamicRealm?) }
package br.com.bloder.migration.internal /** * Better Migrations actions */ interface InternalMigration { fun up() fun down() }
mit
Kotlin
d4abbd6ef3f7a037af57a998e8e27e0bdf316ad0
Annotate console title generator class with `@TabTitle`
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/execution-impl/src/com/intellij/execution/runners/ConsoleTitleGen.kt
platform/execution-impl/src/com/intellij/execution/runners/ConsoleTitleGen.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.execution.runners import com.intellij.execution.ExecutionHelper import com.intellij.openapi.project.Project import com.intellij.openapi.util.NlsContexts.TabT...
// 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.execution.runners import com.intellij.execution.ExecutionHelper import com.intellij.openapi.project.Project open class ConsoleTitleGen @JvmOverloads constru...
apache-2.0
Kotlin
4582f42748cc57471cbe2e683ec0793a8293cf02
Include JDK symbols.
Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,google/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,google/dokka
src/main.kt
src/main.kt
package org.jetbrains.dokka import com.sampullara.cli.* import com.intellij.openapi.util.* import org.jetbrains.jet.cli.common.messages.* import org.jetbrains.jet.cli.common.arguments.* import org.jetbrains.jet.utils.PathUtil class DokkaArguments { Argument(value = "src", description = "Source file or directory (...
package org.jetbrains.dokka import com.sampullara.cli.* import com.intellij.openapi.util.* import org.jetbrains.jet.cli.common.messages.* import org.jetbrains.jet.cli.common.arguments.* class DokkaArguments { Argument(value = "src", description = "Source file or directory (allows many paths separated by the syste...
apache-2.0
Kotlin
faee881565eeffe5a25b0501909692acba83ed52
Make MainActivity extend DaggerActivity. Move main controller container from field to local.
InventiDevelopment/AndroidSkeleton,InventiDevelopment/AndroidSkeleton
app/src/main/java/cz/inventi/inventiskeleton/presentation/MainActivity.kt
app/src/main/java/cz/inventi/inventiskeleton/presentation/MainActivity.kt
package cz.inventi.inventiskeleton.presentation import android.os.Bundle import android.view.ViewGroup import com.bluelinelabs.conductor.Conductor import com.bluelinelabs.conductor.Router import com.bluelinelabs.conductor.RouterTransaction import cz.inventi.inventiskeleton.R import cz.inventi.inventiskeleton.presentat...
package cz.inventi.inventiskeleton.presentation import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.view.ViewGroup import com.bluelinelabs.conductor.Conductor import com.bluelinelabs.conductor.Router import com.bluelinelabs.conductor.RouterTransaction import cz.inventi.inventiskelet...
apache-2.0
Kotlin
ecf65d092439956f473a0c8a5422f96db7c724a5
add documentation for CreateFieldRequest
apixandru/intellij-community,vvv1559/intellij-community,allotria/intellij-community,apixandru/intellij-community,ThiagoGarciaAlves/intellij-community,vvv1559/intellij-community,apixandru/intellij-community,allotria/intellij-community,vvv1559/intellij-community,ThiagoGarciaAlves/intellij-community,allotria/intellij-comm...
java/java-analysis-api/src/com/intellij/lang/jvm/actions/CreateFieldRequest.kt
java/java-analysis-api/src/com/intellij/lang/jvm/actions/CreateFieldRequest.kt
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
apache-2.0
Kotlin
a79bf1639d6ccab4c58b023b63ca25ecf7615b90
Fix `ktlintCheck` task (#3702)
trustin/armeria,line/armeria,minwoox/armeria,trustin/armeria,minwoox/armeria,kojilin/armeria,line/armeria,kojilin/armeria,minwoox/armeria,line/armeria,trustin/armeria,trustin/armeria,line/armeria,kojilin/armeria,kojilin/armeria,minwoox/armeria,kojilin/armeria,trustin/armeria,kojilin/armeria,minwoox/armeria,minwoox/arme...
examples/spring-boot-minimal-kotlin/build.gradle.kts
examples/spring-boot-minimal-kotlin/build.gradle.kts
buildscript { val managedVersions = extra["managedVersions"] as Map<*, *> repositories { gradlePluginPortal() } dependencies { classpath("org.jetbrains.kotlin:kotlin-allopen:${managedVersions["org.jetbrains.kotlin:kotlin-allopen"]}") classpath("org.springframework.boot:spring-boo...
buildscript { val managedVersions = extra["managedVersions"] as Map<*, *> repositories { gradlePluginPortal() } dependencies { classpath("org.jetbrains.kotlin:kotlin-allopen:${managedVersions["org.jetbrains.kotlin:kotlin-allopen"]}") classpath("org.springframework.boot:spring-boo...
apache-2.0
Kotlin
9db1c235807da5324ddc5f93cf13cf4ba4b2eb0e
Fix purge deletion
pyamsoft/padlock,pyamsoft/padlock
padlock-purge/src/main/java/com/pyamsoft/padlock/purge/PurgeInteractorCache.kt
padlock-purge/src/main/java/com/pyamsoft/padlock/purge/PurgeInteractorCache.kt
/* * Copyright (C) 2017 Peter Kenji Yamanaka * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version....
/* * Copyright (C) 2017 Peter Kenji Yamanaka * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version....
apache-2.0
Kotlin
85d928ea06bbd6ea4c709530ddb2ebfdafa3d781
refactor #559 Remove RunWith Robolectric.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/libs/MultiByteCharacterInspectorTest.kt
app/src/test/java/jp/toastkid/yobidashi/libs/MultiByteCharacterInspectorTest.kt
package jp.toastkid.yobidashi.libs import org.junit.Assert.assertFalse import org.junit.Assert.assertTrue import org.junit.Test /** * [MultiByteCharacterInspector]' test cases. * * @author toastkidjp */ class MultiByteCharacterInspectorTest { private val multiByteCharacterInspector = MultiByteCharacterInspec...
package jp.toastkid.yobidashi.libs import org.junit.Assert.assertFalse import org.junit.Assert.assertTrue import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner /** * [MultiByteCharacterInspector]' test cases. * * @author toastkidjp */ @RunWith(RobolectricTestRunner::cl...
epl-1.0
Kotlin
0498fac2917e943a61a088ec7a5816a57ddbf654
Add git label after stable release
JetBrains/ideavim,JetBrains/ideavim
.teamcity/_Self/buildTypes/Release.kt
.teamcity/_Self/buildTypes/Release.kt
package _Self.buildTypes import _Self.Constants.DEFAULT import _Self.Constants.DEV import _Self.Constants.EAP import _Self.Constants.VERSION import jetbrains.buildServer.configs.kotlin.v2019_2.BuildType import jetbrains.buildServer.configs.kotlin.v2019_2.CheckoutMode import jetbrains.buildServer.configs.kotlin.v2019_2...
package _Self.buildTypes import _Self.Constants.DEFAULT import _Self.Constants.DEV import _Self.Constants.EAP import _Self.Constants.VERSION import jetbrains.buildServer.configs.kotlin.v2019_2.BuildType import jetbrains.buildServer.configs.kotlin.v2019_2.CheckoutMode import jetbrains.buildServer.configs.kotlin.v2019_2...
mit
Kotlin
deaf880a4115c3a5a82bad6d88fb743f635c8d2b
Update CacheInformation.kt
K0zka/kerub,K0zka/kerub,K0zka/kerub,kerubistan/kerub,kerubistan/kerub,kerubistan/kerub
src/main/kotlin/com/github/K0zka/kerub/model/hardware/CacheInformation.kt
src/main/kotlin/com/github/K0zka/kerub/model/hardware/CacheInformation.kt
package com.github.K0zka.kerub.model.hardware import java.io.Serializable /** * Provides information about a cache of a CPU. */ data class CacheInformation ( val socket: String, val operation: String, val sizeKb: Int, val speedNs: Int?, val errorCorrection: String ) : Serializa...
package com.github.K0zka.kerub.model.hardware import java.io.Serializable data class CacheInformation ( val socket: String, val operation: String, val sizeKb: Int, val speedNs: Int?, val errorCorrection: String ) : Serializable
apache-2.0
Kotlin
afe80162d8a10a044f0574edca45b7ca35e96bea
add music player helper into notification service
pokk/SSFM
app/src/main/kotlin/taiwan/no1/app/ssfm/misc/notification/NotificationService.kt
app/src/main/kotlin/taiwan/no1/app/ssfm/misc/notification/NotificationService.kt
package taiwan.no1.app.ssfm.misc.notification import android.app.Notification import android.app.NotificationManager import android.app.Service import android.content.Context import android.content.Intent import android.os.Binder import android.os.IBinder import android.support.v4.app.NotificationCompat import android...
package taiwan.no1.app.ssfm.misc.notification import android.app.Notification import android.app.NotificationManager import android.app.Service import android.content.Context import android.content.Intent import android.os.Binder import android.os.IBinder import android.support.v4.app.NotificationCompat import android...
apache-2.0
Kotlin
8985b240e18a243c43d54c55a9701d6eccc6fd74
Update to Android-Components 102.0.20220512190143.
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 = "102.0.20220512190143" }
/* 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 = "102.0.20220512143419" }
mpl-2.0
Kotlin
25c0a6a9feb6bc3a829cab3e296e8487c7037751
Update to Android-Components 104.0.20220720144326.
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 = "104.0.20220720144326" }
/* 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 = "104.0.20220719190315" }
mpl-2.0
Kotlin
eafa25927fd538ccac89ac9dc35b10fdac42fd59
Update to Android-Components 106.0.20220831143219.
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.20220831143219" }
/* 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.20220830143055" }
mpl-2.0
Kotlin
346601060321df56ae8eee8f5dd941ebe4c76e8a
Prepare next development version.
LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties
buildSrc/src/main/kotlin/ProjectVersions.kt
buildSrc/src/main/kotlin/ProjectVersions.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
a09f556dbe21465f4e7242bf69fd875e585cce8a
Fix Kotlin compiler warning
gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,grad...
buildSrc/subprojects/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt
buildSrc/subprojects/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt
/* * Copyright 2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
Kotlin
70e50bdccf39323766a9fb9a471d24b1ad35a5ff
Update spinner's binding adapter name
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 */ /** * * Set a fixed he...
apache-2.0
Kotlin
88110be8e0e584d47a10b7caf929dab46bfebcf2
Reduce Gradle plugin dependency scopes
NextFaze/dev-fun,NextFaze/dev-fun,NextFaze/dev-fun
devfun-gradle-plugin/build.gradle.kts
devfun-gradle-plugin/build.gradle.kts
import groovy.lang.Closure import org.gradle.kotlin.dsl.get import kotlin.reflect.KCallable import kotlin.reflect.KFunction plugins { id("kotlin") kotlin("kapt") id("maven-publish") id("com.gradle.plugin-publish") version "0.9.10" } description = "Gradle plugin that facilitates DevFun annotation proce...
import groovy.lang.Closure import org.gradle.kotlin.dsl.get import kotlin.reflect.KCallable import kotlin.reflect.KFunction plugins { id("kotlin") kotlin("kapt") id("maven-publish") id("com.gradle.plugin-publish") version "0.9.10" } description = "Gradle plugin that facilitates DevFun annotation proce...
apache-2.0
Kotlin
88bb471402d5dd6d89555979e648db0e5c00bf66
Add Javadoc to WsSession
tipsy/javalin,tipsy/javalin,tipsy/javalin,tipsy/javalin
src/main/java/io/javalin/embeddedserver/jetty/websocket/WsSession.kt
src/main/java/io/javalin/embeddedserver/jetty/websocket/WsSession.kt
/* * Javalin - https://javalin.io * Copyright 2017 David Åse * Licensed under Apache 2.0: https://github.com/tipsy/javalin/blob/master/LICENSE */ package io.javalin.embeddedserver.jetty.websocket import io.javalin.core.util.ContextUtil import org.eclipse.jetty.websocket.api.* import org.eclipse.jetty.websocket.co...
/* * Javalin - https://javalin.io * Copyright 2017 David Åse * Licensed under Apache 2.0: https://github.com/tipsy/javalin/blob/master/LICENSE */ package io.javalin.embeddedserver.jetty.websocket import io.javalin.core.util.ContextUtil import org.eclipse.jetty.websocket.api.* import org.eclipse.jetty.websocket.co...
apache-2.0
Kotlin
55bbc0f03857928ee813970c93f85b2de4311cd6
Add explicit lambda parameter to listFiles() call
Turbo87/intellij-emberjs,Turbo87/intellij-emberjs,Turbo87/intellij-emberjs,Turbo87/intellij-emberjs
src/main/kotlin/com/emberjs/project/EmberProjectStructureDetector.kt
src/main/kotlin/com/emberjs/project/EmberProjectStructureDetector.kt
package com.emberjs.project import com.intellij.ide.util.importProject.ModuleDescriptor import com.intellij.ide.util.importProject.ProjectDescriptor import com.intellij.ide.util.projectWizard.importSources.DetectedProjectRoot import com.intellij.ide.util.projectWizard.importSources.DetectedSourceRoot import com.intell...
package com.emberjs.project import com.intellij.ide.util.importProject.ModuleDescriptor import com.intellij.ide.util.importProject.ProjectDescriptor import com.intellij.ide.util.projectWizard.importSources.DetectedProjectRoot import com.intellij.ide.util.projectWizard.importSources.DetectedSourceRoot import com.intell...
apache-2.0
Kotlin
0c0cf5d595b9c3bef8a7cd256c3ea4d6c54e7327
Fix sessions by intercepting respond to send cookies, instead of doing it in onSuccess
ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor
ktor-core/src/org/jetbrains/ktor/sessions/Sessions.kt
ktor-core/src/org/jetbrains/ktor/sessions/Sessions.kt
package org.jetbrains.ktor.sessions import org.jetbrains.ktor.application.* import org.jetbrains.ktor.pipeline.* import org.jetbrains.ktor.util.* import kotlin.reflect.* private val SessionConfigKey = AttributeKey<SessionConfig<*>>("SessionConfig") private val SessionKey = AttributeKey<Any>("Session") @Suppress("UNC...
package org.jetbrains.ktor.sessions import org.jetbrains.ktor.application.* import org.jetbrains.ktor.pipeline.* import org.jetbrains.ktor.util.* import kotlin.reflect.* private val SessionConfigKey = AttributeKey<SessionConfig<*>>("SessionConfig") private val SessionKey = AttributeKey<Any>("Session") @Suppress("UNC...
apache-2.0
Kotlin
ae42f59102362449c00232b54fc8c6874392010b
Hide subtitle in migration list of sources if no language set (i.e. uninstalled source)
inorichi/tachiyomi,inorichi/mangafeed,inorichi/mangafeed,inorichi/tachiyomi,CarlosEsco/tachiyomi
app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/sources/SourceHolder.kt
app/src/main/java/eu/kanade/tachiyomi/ui/browse/migration/sources/SourceHolder.kt
package eu.kanade.tachiyomi.ui.browse.migration.sources import android.view.View import androidx.core.view.isVisible import eu.davidea.viewholders.FlexibleViewHolder import eu.kanade.tachiyomi.databinding.SourceMainControllerCardItemBinding import eu.kanade.tachiyomi.source.icon import eu.kanade.tachiyomi.util.system....
package eu.kanade.tachiyomi.ui.browse.migration.sources import android.view.View import androidx.core.view.isVisible import eu.davidea.viewholders.FlexibleViewHolder import eu.kanade.tachiyomi.databinding.SourceMainControllerCardItemBinding import eu.kanade.tachiyomi.source.icon import eu.kanade.tachiyomi.util.system....
apache-2.0
Kotlin
ea35ee19a53909be631d040fedbfba301d02c9b8
Mark `org.rust.macros.proc.function-like` and `org.rust.macros.proc.derive` enabled in stable
Undin/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,Undin/intellij-rust
src/main/kotlin/org/rust/ide/experiments/RsExperiments.kt
src/main/kotlin/org/rust/ide/experiments/RsExperiments.kt
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.ide.experiments object RsExperiments { @EnabledInStable const val BUILD_TOOL_WINDOW = "org.rust.cargo.build.tool.window" @EnabledInStable const val TEST_TOOL_WINDOW = "org.rust....
/* * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ package org.rust.ide.experiments object RsExperiments { @EnabledInStable const val BUILD_TOOL_WINDOW = "org.rust.cargo.build.tool.window" @EnabledInStable const val TEST_TOOL_WINDOW = "org.rust....
mit
Kotlin
4d975807fb66ced54abe48d8201533d0e5662e2f
refactor #605 Implement FaviconApplier's unit test.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/browser/FaviconApplierTest.kt
app/src/test/java/jp/toastkid/yobidashi/browser/FaviconApplierTest.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...
epl-1.0
Kotlin
34ecaf0edde1eb56356a1478f13d60b33b5a0ed6
Change StringsConfig to have a constructor
jguerinet/mobile-string-parser,jguerinet/mobile-string-parser
src/main/java/config/StringsConfig.kt
src/main/java/config/StringsConfig.kt
/* * Copyright 2013-2018 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/* * Copyright 2013-2018 Julien Guerinet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
apache-2.0
Kotlin
c06f1067865bc897cd6f159bde0725c737bee13b
Remove dup. strategy setting
SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base
testlib/build.gradle.kts
testlib/build.gradle.kts
/* * Copyright 2021, 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 2021, 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
8e9e6bb747e86f7f61888db43fab48ad4ca29301
Remove redundant code.
pokk/SSFM
app/src/main/kotlin/taiwan/no1/app/ssfm/misc/extension/imageview/BindingAdapter.kt
app/src/main/kotlin/taiwan/no1/app/ssfm/misc/extension/imageview/BindingAdapter.kt
package taiwan.no1.app.ssfm.misc.extension.imageview import android.databinding.BindingAdapter import android.graphics.Bitmap import android.graphics.drawable.Drawable import android.widget.ImageView import com.bumptech.glide.Glide import com.bumptech.glide.Priority import com.bumptech.glide.load.engine.DiskCacheStrat...
package taiwan.no1.app.ssfm.misc.extension.imageview import android.databinding.BindingAdapter import android.graphics.Bitmap import android.graphics.drawable.Drawable import android.widget.ImageView import com.bumptech.glide.Glide import com.bumptech.glide.Priority import com.bumptech.glide.load.engine.DiskCacheStrat...
apache-2.0
Kotlin
a2c743b15a3d4f37983b9e39c9fdb3656b0531a6
Resolve #1837
MaTriXy/material-dialogs,afollestad/material-dialogs
core/src/main/java/com/afollestad/materialdialogs/message/DialogMessageSettings.kt
core/src/main/java/com/afollestad/materialdialogs/message/DialogMessageSettings.kt
/** * Designed and developed by Aidan Follestad (@afollestad) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
/** * Designed and developed by Aidan Follestad (@afollestad) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
apache-2.0
Kotlin
396b5597879e209e629cfcc97793c16663fd63fb
refactor #412 Implement test case.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
lib/src/test/java/jp/toastkid/lib/intent/UrlShareIntentFactoryTest.kt
lib/src/test/java/jp/toastkid/lib/intent/UrlShareIntentFactoryTest.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...
epl-1.0
Kotlin
b7f8f4cf307aade7beec61655345ffaae4f81f0b
solve #64 change default parameter of createNotificationChannel
WindSekirun/RichUtilsKt,WindSekirun/RichUtilsKt
RichUtils/src/main/java/pyxis/uzuki/live/richutilskt/utils/RNotification.kt
RichUtils/src/main/java/pyxis/uzuki/live/richutilskt/utils/RNotification.kt
@file:JvmName("RichUtils") @file:JvmMultifileClass package pyxis.uzuki.live.richutilskt.utils import android.app.NotificationChannel import android.app.NotificationManager import android.content.Context import android.os.Build import android.support.annotation.RequiresApi /** * create Notification Channel for Andro...
@file:JvmName("RichUtils") @file:JvmMultifileClass package pyxis.uzuki.live.richutilskt.utils import android.app.NotificationChannel import android.app.NotificationManager import android.content.Context import android.os.Build import android.support.annotation.RequiresApi /** * create Notification Channel for Andro...
apache-2.0
Kotlin
e2e85b265ab5497207a097ad910f8ee3b51f2109
Fix invalid kotlin comment
GUL-/swift-is-like-javascript,GUL-/swift-is-like-javascript,GUL-/swift-is-like-javascript
code/named-arguments.kt
code/named-arguments.kt
fun area(width: Int, height: Int) = width * height area(width = 2, height = 3) // This is also possible with named arguments area(2, height = 2) area(height = 3, width = 2)
fun area(width: Int, height: Int) = width * height area(width = 2, height = 3) # This is also possible with named arguments area(2, height = 2) area(height = 3, width = 2)
mit
Kotlin
3566d0056ad4bc017d56c6df4f2c709b10ce5e53
Fix code style
chrisbanes/tivi,chrisbanes/tivi
app/src/main/java/me/banes/chris/tivi/home/library/LibraryFragment.kt
app/src/main/java/me/banes/chris/tivi/home/library/LibraryFragment.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
848e0942bbf69dfbdca85a8e9b7b0f8ebc5ac045
Fix buffer overflow issue on some phone models
helloworld1/FreeOTPPlus,helloworld1/FreeOTPPlus,helloworld1/FreeOTPPlus
app/src/main/java/org/fedorahosted/freeotp/util/TokenQRCodeDecoder.kt
app/src/main/java/org/fedorahosted/freeotp/util/TokenQRCodeDecoder.kt
package org.fedorahosted.freeotp.util import android.util.Log import androidx.camera.core.ImageProxy import com.google.zxing.BinaryBitmap import com.google.zxing.ChecksumException import com.google.zxing.FormatException import com.google.zxing.NotFoundException import com.google.zxing.PlanarYUVLuminanceSource import c...
package org.fedorahosted.freeotp.util import android.util.Log import androidx.camera.core.ImageProxy import com.google.zxing.BinaryBitmap import com.google.zxing.ChecksumException import com.google.zxing.FormatException import com.google.zxing.NotFoundException import com.google.zxing.PlanarYUVLuminanceSource import c...
apache-2.0
Kotlin
d108f2c25188dde3dff6d5f3f5fb315633cc351f
Mark LocalImageLoader.current with @ReadOnlyComposable. (#997)
coil-kt/coil,coil-kt/coil
coil-compose-singleton/src/main/java/coil/compose/LocalImageLoader.kt
coil-compose-singleton/src/main/java/coil/compose/LocalImageLoader.kt
@file:Suppress("unused") package coil.compose import androidx.compose.runtime.Composable import androidx.compose.runtime.CompositionLocal import androidx.compose.runtime.ProvidableCompositionLocal import androidx.compose.runtime.ReadOnlyComposable import androidx.compose.runtime.staticCompositionLocalOf import androi...
@file:Suppress("unused") package coil.compose import androidx.compose.runtime.Composable import androidx.compose.runtime.CompositionLocal import androidx.compose.runtime.ProvidableCompositionLocal import androidx.compose.runtime.staticCompositionLocalOf import androidx.compose.ui.platform.LocalContext import coil.Ima...
apache-2.0
Kotlin
25de99028744048866b5177cbfe174921e8b4272
add transpilation trace
ftomassetti/kolasu,ftomassetti/kolasu
parserbench/src/main/kotlin/com/strumenta/kolasu/parserbench/TranspilationTrace.kt
parserbench/src/main/kotlin/com/strumenta/kolasu/parserbench/TranspilationTrace.kt
package com.strumenta.kolasu.parserbench import com.strumenta.kolasu.model.Node /** * A transpilation trace can be visualized to demonstrate how the transpiler work. */ class TranspilationTrace<S: Node, T: Node>(val originalCode: String, val sourceAST: S, ...
apache-2.0
Kotlin
fb3486feeece1887c5654fa6d27d6104975f3790
Add @IgnoreExtraProperties to FirestoreEvent and FirestoreDay
squanchy-dev/squanchy-android,squanchy-dev/squanchy-android,squanchy-dev/squanchy-android
app/src/main/java/net/squanchy/service/firebase/model/schedule/FirestoreSchedule.kt
app/src/main/java/net/squanchy/service/firebase/model/schedule/FirestoreSchedule.kt
package net.squanchy.service.firebase.model.schedule import com.google.firebase.firestore.IgnoreExtraProperties import java.util.Date class FirestoreSchedulePage { lateinit var day: FirestoreDay var events: List<FirestoreEvent> = emptyList() } @IgnoreExtraProperties class FirestoreDay { lateinit var id: ...
package net.squanchy.service.firebase.model.schedule import java.util.Date class FirestoreSchedulePage { lateinit var day: FirestoreDay var events: List<FirestoreEvent> = emptyList() } class FirestoreDay { lateinit var id: String lateinit var date: Date } class FirestoreEvent { lateinit var id: ...
apache-2.0
Kotlin
62e870ef14051b5f4110410b720328d91cba8090
refactor #511 Rename test case.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/editor/usecase/RestoreContentUseCaseTest.kt
app/src/test/java/jp/toastkid/yobidashi/editor/usecase/RestoreContentUseCaseTest.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
1f3014972a5540f6912a3805a57e7b34cd36844c
Bump org.jetbrains.kotlin.plugin.spring from 1.4.21-2 to 1.4.30 (#2040)
sksamuel/ktest
kotest-extensions/kotest-extensions-spring/build.gradle.kts
kotest-extensions/kotest-extensions-spring/build.gradle.kts
plugins { id("java") kotlin("multiplatform") id("java-library") id("org.jetbrains.kotlin.plugin.spring") version "1.4.30" id("com.adarshr.test-logger") } repositories { mavenCentral() } kotlin { targets { jvm { compilations.all { kotlinOptions { jvmTarge...
plugins { id("java") kotlin("multiplatform") id("java-library") id("org.jetbrains.kotlin.plugin.spring") version "1.4.21-2" id("com.adarshr.test-logger") } repositories { mavenCentral() } kotlin { targets { jvm { compilations.all { kotlinOptions { jvmTar...
mit
Kotlin
fbfda09f36bed31cf4f5485c99db8d6fe073c6bd
Simplify display string construction
arkon/LISTEN.moe-Unofficial-Android-App,LISTEN-moe/android-app
app/src/main/java/me/echeung/moemoekyun/client/model/SongDescriptor.kt
app/src/main/java/me/echeung/moemoekyun/client/model/SongDescriptor.kt
package me.echeung.moemoekyun.client.model import me.echeung.moemoekyun.App data class SongDescriptor( val id: Int = 0, val name: String? = null, val nameRomaji: String? = null, val image: String? = null) { fun contains(query: String): Boolean { return name.orEmpty().conta...
package me.echeung.moemoekyun.client.model import me.echeung.moemoekyun.App data class SongDescriptor( val id: Int = 0, val name: String? = null, val nameRomaji: String? = null, val image: String? = null) { fun contains(query: String): Boolean { return name.orEmpty().conta...
mit
Kotlin
49e9f55548a5e1434978ec9734505644df657f96
refactor #335 Remove redundant SAM-constructor.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/menu/MenuAdapter.kt
app/src/main/java/jp/toastkid/yobidashi/menu/MenuAdapter.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
2aa5e974a9a4919e6a92778c61fa21748bd21ed5
Remove redundant location permission rationale conditional
DroidsOnRoids/DroidsMap,DroidsOnRoids/DroidsMap
app/src/main/java/pl/droidsonroids/droidsmap/MapActivity.kt
app/src/main/java/pl/droidsonroids/droidsmap/MapActivity.kt
package pl.droidsonroids.droidsmap import android.Manifest import android.content.pm.PackageManager import android.os.Bundle import android.support.v4.app.ActivityCompat import android.support.v4.content.ContextCompat import android.support.v7.app.AppCompatActivity import android.widget.Toast import pl.droidsonroids.d...
package pl.droidsonroids.droidsmap import android.Manifest import android.content.pm.PackageManager import android.os.Bundle import android.support.v4.app.ActivityCompat import android.support.v4.content.ContextCompat import android.support.v7.app.AppCompatActivity import android.widget.Toast import pl.droidsonroids.d...
mit
Kotlin
9071756dfdbf398b578cf1e65307154ac9b3543e
Update documentation
KotlinNLP/SimpleDNN
src/main/kotlin/com/kotlinnlp/simplednn/core/layers/recurrent/LayerContextWindow.kt
src/main/kotlin/com/kotlinnlp/simplednn/core/layers/recurrent/LayerContextWindow.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
d95e6a6cd8348ed287196a8fe2de75f5d6cf7719
Update selection when card details entered (#2911)
stripe/stripe-android,stripe/stripe-android,stripe/stripe-android,stripe/stripe-android,stripe/stripe-android
stripe/src/main/java/com/stripe/android/paymentsheet/PaymentSheetAddCardFragment.kt
stripe/src/main/java/com/stripe/android/paymentsheet/PaymentSheetAddCardFragment.kt
package com.stripe.android.paymentsheet import android.os.Bundle import android.view.View import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import com.stripe.android.R import com.stripe.android.databinding.FragmentPaymentsheetAddCardBinding import com.stripe.android.paymentsheet.mod...
package com.stripe.android.paymentsheet import android.os.Bundle import android.view.View import androidx.fragment.app.Fragment import androidx.fragment.app.activityViewModels import com.stripe.android.R internal class PaymentSheetAddCardFragment : Fragment(R.layout.fragment_paymentsheet_add_card) { private val a...
mit
Kotlin
28a2955751c212058a0417043fc333cfa434124b
Use block instead of transform fo multi let not null
stupacki/MultiFunctions
multi-functions/src/main/kotlin/io/multifunctions/MultiLetCheckNull.kt
multi-functions/src/main/kotlin/io/multifunctions/MultiLetCheckNull.kt
@file:Suppress("UNCHECKED_CAST") package io.multifunctions import io.multifunctions.models.Hepta import io.multifunctions.models.Hexa import io.multifunctions.models.Penta import io.multifunctions.models.Quad /** * Calls the specified function [block] with `this` value as its arguments and returns its result when n...
@file:Suppress("UNCHECKED_CAST") package io.multifunctions import io.multifunctions.models.Hepta import io.multifunctions.models.Hexa import io.multifunctions.models.Penta import io.multifunctions.models.Quad /** * Calls the specified function [block] with `this` value as its arguments and returns its result when n...
apache-2.0
Kotlin
2bcc8533a31d4b5ff778445c50446e5a10497cb4
Solve problem 2059
fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode
src/main/java/leetcode/Problem2059.kt
src/main/java/leetcode/Problem2059.kt
package leetcode import java.util.LinkedList import kotlin.math.min /** * https://leetcode.com/problems/minimum-operations-to-convert-number/ */ class Problem2059 { fun minimumOperations(nums: IntArray, start: Int, goal: Int): Int { var answer = 0 val queue = LinkedList<Int>() val visite...
package leetcode /** * https://leetcode.com/problems/minimum-operations-to-convert-number/ */ class Problem2059 { fun minimumOperations(nums: IntArray, start: Int, goal: Int): Int { TODO() } } fun main() { val prob = Problem2059() println(prob.minimumOperations(intArrayOf(2,4,12), 2, 12)) //...
mit
Kotlin
ca60b81e7491718bd40e6277b31e9871bbae1b1c
Update MongoConfiguration.kt
SofteamOuest/referentiel-personnes-api,SofteamOuest/referentiel-personnes-api
src/main/kotlin/com/softeam/referentielpersonnes/configuration/MongoConfiguration.kt
src/main/kotlin/com/softeam/referentielpersonnes/configuration/MongoConfiguration.kt
package com.softeam.referentielpersonnes.configuration import com.mongodb.Mongo import com.mongodb.MongoClient import org.mongeez.Mongeez import org.springframework.boot.autoconfigure.mongo.MongoProperties import org.springframework.context.annotation.Configuration import org.springframework.data.mongodb.config.Abstra...
package com.softeam.referentielpersonnes.configuration import com.mongodb.Mongo import com.mongodb.MongoClient import org.mongeez.Mongeez import org.springframework.boot.autoconfigure.mongo.MongoProperties import org.springframework.context.annotation.Configuration import org.springframework.data.mongodb.config.Abstra...
apache-2.0
Kotlin
0cf80cbfe0e73819df00366fe04e2e03874138d0
refactor #283 Implement PageSearcherModule's unit test.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/browser/page_search/PageSearcherModuleTest.kt
app/src/test/java/jp/toastkid/yobidashi/browser/page_search/PageSearcherModuleTest.kt
/* * Copyright (c) 2022 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
81843b6a8b23b6b6813863a1763145a87b4e933d
Configure metrics using a MeterRegistry (#648)
tipsy/javalin,tipsy/javalin,tipsy/javalin,tipsy/javalin
src/main/java/io/javalin/plugin/metrics/MicrometerPlugin.kt
src/main/java/io/javalin/plugin/metrics/MicrometerPlugin.kt
package io.javalin.plugin.metrics import io.javalin.Javalin import io.javalin.core.plugin.Plugin import io.javalin.core.util.OptionalDependency import io.javalin.core.util.Util import io.micrometer.core.instrument.MeterRegistry import io.micrometer.core.instrument.Metrics import io.micrometer.core.instrument.Tag impor...
package io.javalin.plugin.metrics import io.javalin.Javalin import io.javalin.core.plugin.Plugin import io.javalin.core.util.OptionalDependency import io.javalin.core.util.Util import io.micrometer.core.instrument.Metrics import io.micrometer.core.instrument.Tag import io.micrometer.core.instrument.binder.jetty.JettyS...
apache-2.0
Kotlin
29402b1206507e0162bcefbe17dd908b267bb7f8
Remove `outputFormat` from AbstractDokkaTask
Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka
runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt
runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt
package org.jetbrains.dokka.gradle import org.gradle.api.DefaultTask import org.gradle.api.Project import org.gradle.api.artifacts.Configuration import org.gradle.api.attributes.Usage import org.gradle.api.tasks.Classpath import org.gradle.api.tasks.Input import org.gradle.api.tasks.Internal import org.gradle.api.task...
package org.jetbrains.dokka.gradle import org.gradle.api.DefaultTask import org.gradle.api.Project import org.gradle.api.artifacts.Configuration import org.gradle.api.attributes.Usage import org.gradle.api.tasks.Classpath import org.gradle.api.tasks.Input import org.gradle.api.tasks.Internal import org.gradle.api.task...
apache-2.0
Kotlin
9949e6661e4b46465966844d49ebe28202b0331c
Update DeleteAlarm.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/cloudwatch/src/main/kotlin/com/kotlin/cloudwatch/DeleteAlarm.kt
.kotlin_alpha/services/cloudwatch/src/main/kotlin/com/kotlin/cloudwatch/DeleteAlarm.kt
//snippet-sourcedescription:[DeleteAlarm.kt demonstrates how to delete an Amazon CloudWatch alarm.] //snippet-keyword:[AWS SDK for Kotlin] //snippet-keyword:[Code Sample] //snippet-service:[Amazon CloudWatch] //snippet-sourcetype:[full-example] //snippet-sourcedate:[06/11/2021] //snippet-sourceauthor:[scmacdon - ...
//snippet-sourcedescription:[DeleteAlarm.kt demonstrates how to delete an Amazon CloudWatch alarm.] //snippet-keyword:[AWS SDK for Kotlin] //snippet-keyword:[Code Sample] //snippet-service:[Amazon CloudWatch] //snippet-sourcetype:[full-example] //snippet-sourcedate:[06/11/2021] //snippet-sourceauthor:[scmacdon - ...
apache-2.0
Kotlin
cd0616bbb60e57d5d08976154cdbe1267134619b
refactor #523 Implement BackgroundTabOpenerUseCase' unit test.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,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...
epl-1.0
Kotlin
52646549e01c12108f97894cbfe0774580739de1
refactor #412 Rename test function.
toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/search/favorite/FavoriteSearchInsertionTest.kt
app/src/test/java/jp/toastkid/yobidashi/search/favorite/FavoriteSearchInsertionTest.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
46c123cb7901fa261bf2bbd582797c5f491441fe
format code
gatling/gatling,gatling/gatling,gatling/gatling,gatling/gatling,gatling/gatling
src/docs/content/guides/debugging/code/ComputerDatabaseSampleKotlin.kt
src/docs/content/guides/debugging/code/ComputerDatabaseSampleKotlin.kt
/* * Copyright 2011-2021 GatlingCorp (https://gatling.io) * * 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 appli...
/* * Copyright 2011-2021 GatlingCorp (https://gatling.io) * * 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 appli...
apache-2.0
Kotlin
3d2aa57b491dffd12a4ce946a2aad06817ea3561
Fix error
voghDev/HelloKotlin
app/src/main/java/es/voghdev/hellokotlin/features/user/SomeDetailActivity.kt
app/src/main/java/es/voghdev/hellokotlin/features/user/SomeDetailActivity.kt
/* * Copyright (C) 2017 Olmo Gallegos Hernández. * * 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 ...
/* * Copyright (C) 2017 Olmo Gallegos Hernández. * * 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 ...
apache-2.0
Kotlin
72c23a1686af0bc7586aa2eb876885d7cec98d51
Simplify constructor
wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android
aztec/src/main/kotlin/org/wordpress/aztec/formatting/AztecFormatter.kt
aztec/src/main/kotlin/org/wordpress/aztec/formatting/AztecFormatter.kt
package org.wordpress.aztec.formatting import android.text.Editable import org.wordpress.aztec.AztecText abstract class AztecFormatter(val editor: AztecText) { val selectionStart: Int get() = this.editor.selectionStart val selectionEnd: Int get() = this.editor.selectionEnd val editableT...
package org.wordpress.aztec.formatting import android.text.Editable import org.wordpress.aztec.AztecText abstract class AztecFormatter(editor: AztecText) { val editor: AztecText val selectionStart: Int get() = this.editor.selectionStart val selectionEnd: Int get() = this.editor.selectio...
mpl-2.0
Kotlin
6ba49248b0486499794ae6d95903754dc9266b03
Handle http client initialization errors during Space git hosting check
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
plugins/space/src/main/kotlin/com/intellij/space/vcs/hosting/SpaceGitHostingChecker.kt
plugins/space/src/main/kotlin/com/intellij/space/vcs/hosting/SpaceGitHostingChecker.kt
// Copyright 2000-2021 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.space.vcs.hosting import com.intellij.util.hosting.GitHostingUrlUtil import git4idea.repo.GitRemote import io.ktor.client.HttpClient import io.ktor.client.re...
// Copyright 2000-2021 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.space.vcs.hosting import com.intellij.util.hosting.GitHostingUrlUtil import git4idea.repo.GitRemote import io.ktor.client.HttpClient import io.ktor.client.re...
apache-2.0
Kotlin
95dc797244a443de5bc4977d4ef10bec508d515a
Test object method
AoEiuV020/LearningKotlin,AoEiuV020/LearningKotlin
app/src/test/kotlin/aoeiuv020/ObjectTest.kt
app/src/test/kotlin/aoeiuv020/ObjectTest.kt
package aoeiuv020 import org.junit.Test import kotlin.test.* /** * Created by AoEiuV020 on 2017/05/07. */ class ObjectTest { @Test fun objectTest() { assertEquals("s", OA.s) assertEquals("jfs", OA.jfs) assertEquals("jss", OA.jss) } object OA { var s: String = "s" ...
package aoeiuv020 import org.junit.Test import kotlin.test.* /** * Created by AoEiuV020 on 2017/05/07. */ class ObjectTest { @Test fun objectTest() { assertEquals("s", OA.s) assertEquals("jfs", OA.jfs) assertEquals("jss", OA.jss) } object OA { var s: String = "s" ...
mit
Kotlin
7875f9763fc2c7fb1024d6620c3e4d96e6f8ea48
Make Day 10 faster
koesie10/AdventOfCode-Solutions-Kotlin
src/main/java/com/koenv/adventofcode/Day10.kt
src/main/java/com/koenv/adventofcode/Day10.kt
package com.koenv.adventofcode object Day10 { fun lookAndSay(input: String): String { var lastCharacter: Char? = null var characterCount = 0 var result = StringBuilder() input.forEach { if (it != lastCharacter) { if (lastCharacter != null) { ...
package com.koenv.adventofcode object Day10 { fun lookAndSay(input: String): String { var lastCharacter: Char? = null var characterCount = 0 var result = StringBuilder() input.forEach { if (it != lastCharacter) { if (lastCharacter != null) { ...
mit
Kotlin
a092ecb49b5c35587be121363901d7df7644ea86
remove duplicates from sorted array
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/remove_duplicates_from_array/RemoveDuplicatesFromSortedArray.kt
kotlin/src/katas/kotlin/remove_duplicates_from_array/RemoveDuplicatesFromSortedArray.kt
package katas.kotlin.remove_duplicates_from_array import kotlincommon.test.shouldEqual import org.junit.Test class RemoveDuplicatesFromSortedArrayTests { @Test fun `remove the duplicates in-place such that each element appear only once`() { intArrayOf(1).removeDuplicates() shouldEqual 1 } } private f...
package katas.kotlin.remove_duplicates_from_array import org.junit.Test class RemoveDuplicatesFromSortedArrayTests { @Test fun `remove the duplicates in-place such that each element appear only once`() { } }
unlicense
Kotlin
d6c93772b2c91a7715fa74e6f23816cb94fba97d
Refactor BaseFragment
DarrenAtherton49/android-kotlin-base
app/src/main/kotlin/com/example/base/presentation/BaseFragment.kt
app/src/main/kotlin/com/example/base/presentation/BaseFragment.kt
package com.example.base.presentation import android.os.Bundle import android.support.v4.app.Fragment import android.support.v7.app.AppCompatActivity import android.view.LayoutInflater import android.view.ViewGroup import com.example.ExampleApplication import com.example.common.injection.module.ActivityModule abstrac...
package com.example.base.presentation import android.os.Bundle import android.support.annotation.LayoutRes import android.support.v4.app.Fragment import android.support.v7.app.AppCompatActivity import android.view.LayoutInflater import android.view.ViewGroup import com.example.ExampleApplication import com.example.com...
mit
Kotlin
c2d0f9340c700e2ffa0b55c44a237ec2fe491f13
implement RichUtrilsGlobal
WindSekirun/RichUtilsKt,WindSekirun/RichUtilsKt
RichUtils/src/main/java/pyxis/uzuki/live/richutilskt/RichUtilsGlobal.kt
RichUtils/src/main/java/pyxis/uzuki/live/richutilskt/RichUtilsGlobal.kt
package pyxis.uzuki.live.richutilskt import android.annotation.SuppressLint import android.content.Context @SuppressLint("StaticFieldLeak") object RichUtilsGlobal { internal var context: Context? = null fun initializeApplication(context: Context) { this.context = context } fun getContext(): ...
apache-2.0
Kotlin
565c1658fcca4e4272914af295e99a10ca469214
Update to Android-Components 97.0.20211218143153.
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 = "97.0.20211218143153" }
/* 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 = "97.0.20211217190223" }
mpl-2.0
Kotlin
001ae7e895eb7bd6dfb64ebbdcd67f6b2ab18812
Update to Android-Components 104.0.20220704143130.
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 = "104.0.20220704143130" }
/* 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 = "104.0.20220702143150" }
mpl-2.0
Kotlin
6279adbadfd8d2c0bc418d7118c959d6bfef8202
Update Mozilla Android Components to 90.0.20210426190136
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 = "90.0.20210426190136" }
/* 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 = "90.0.20210421164305" }
mpl-2.0
Kotlin
2deff880792d86b7ca9dd04a19465d6c7ee52279
Update to Android-Components 102.0.20220516172914.
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 = "102.0.20220516172914" }
/* 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 = "102.0.20220513190143" }
mpl-2.0
Kotlin
2f755d6a177832ab51afbdd6ec3559cb8e5bc5e5
Update to Android-Components 97.0.20211222143439.
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 = "97.0.20211222143439" }
/* 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 = "97.0.20211221190315" }
mpl-2.0
Kotlin
fc83e153e27eba5ae4699463d574f7bc601fb549
Update to Android-Components 100.0.20220313143340.
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 = "100.0.20220313143340" }
/* 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 = "100.0.20220312190111" }
mpl-2.0
Kotlin
e3a085780714dbdc5879e9ab98a6ecc1e97ed036
Update to Android-Components 97.0.20211211143136.
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 = "97.0.20211211143136" }
/* 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 = "97.0.20211210190258" }
mpl-2.0
Kotlin
dba564d9ff606ca2010261b7beb789263c94d0ef
Resolve #325 Add transient property to kotlin tests
requery/requery,requery/requery
requery-test/kotlin-test/src/main/kotlin/io/requery/test/kt/Address.kt
requery-test/kotlin-test/src/main/kotlin/io/requery/test/kt/Address.kt
package io.requery.test.kt import io.requery.* @Entity(model = "kt") interface Address : Persistable { companion object { const val CONSTANT = "value" } @get:Key @get:Generated var id: Int var line1: String var line2: String var state: String @get:Column(length = 5) ...
package io.requery.test.kt import io.requery.* @Entity(model = "kt") interface Address : Persistable { companion object { const val CONSTANT = "value" } @get:Key @get:Generated var id: Int var line1: String var line2: String var state: String @get:Column(length = 5) ...
apache-2.0
Kotlin
ae6db2b85e46318e1adeaad7760d11cfd077c957
Make Application.kt more realistic
xing/java-beetle,xing/java-beetle
spring-kotlin-demo/src/main/kotlin/com/xing/beetle/demo/Application.kt
spring-kotlin-demo/src/main/kotlin/com/xing/beetle/demo/Application.kt
package com.xing.beetle.demo import com.rabbitmq.client.AlreadyClosedException import org.slf4j.Logger import org.slf4j.LoggerFactory import org.springframework.amqp.core.AmqpTemplate import org.springframework.amqp.core.Binding import org.springframework.amqp.core.Declarables import org.springframework.amqp.core.Exch...
package com.xing.beetle.demo import org.springframework.amqp.core.AmqpTemplate import org.springframework.amqp.core.Message import org.springframework.amqp.core.MessageProperties import org.springframework.amqp.core.Queue import org.springframework.amqp.rabbit.core.RabbitAdmin import org.springframework.boot.CommandLi...
mit
Kotlin
fc0ebff2615c7e755b234b6899508a72e7571163
Set to hide the searchView progress wheel on the proper place
RocketChat/Rocket.Chat.Android,RocketChat/Rocket.Chat.Android.Lily,RocketChat/Rocket.Chat.Android.Lily,RocketChat/Rocket.Chat.Android
app/src/main/java/chat/rocket/android/chatrooms/ui/ChatRoomsFragment.kt
app/src/main/java/chat/rocket/android/chatrooms/ui/ChatRoomsFragment.kt
package chat.rocket.android.chatrooms.ui import android.os.Bundle import android.support.v4.app.Fragment import android.support.v7.widget.LinearLayoutManager import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import chat.rocket.android.R import chat.ro...
package chat.rocket.android.chatrooms.ui import android.os.Bundle import android.support.v4.app.Fragment import android.support.v7.widget.LinearLayoutManager import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import android.widget.Toast import chat.rocket.android.R import chat.ro...
mit
Kotlin
9787069e687c2b05ac8b59e66c10f8f11270ebb5
change variable visibility
clappr/clappr-android,clappr/clappr-android
app/src/main/kotlin/io/clappr/player/app/plugin/PlaybackStatusPlugin.kt
app/src/main/kotlin/io/clappr/player/app/plugin/PlaybackStatusPlugin.kt
package io.clappr.player.app.plugin import android.view.LayoutInflater import android.widget.ImageView import android.widget.LinearLayout import android.widget.RelativeLayout import android.widget.TextView import com.squareup.picasso.Picasso import io.clappr.player.app.R import io.clappr.player.base.* import io.clappr...
package io.clappr.player.app.plugin import android.view.LayoutInflater import android.widget.ImageView import android.widget.LinearLayout import android.widget.RelativeLayout import android.widget.TextView import com.squareup.picasso.Picasso import io.clappr.player.app.R import io.clappr.player.base.* import io.clappr...
bsd-3-clause
Kotlin
67a9bd56fbd6eb3a2d055124b33303f993d3b740
Add Login Activity Test (#4160)
maskaravivek/apps-android-commons,nicolas-raoul/apps-android-commons,commons-app/apps-android-commons,neslihanturan/apps-android-commons,domdomegg/apps-android-commons,neslihanturan/apps-android-commons,psh/apps-android-commons,domdomegg/apps-android-commons,maskaravivek/apps-android-commons,nicolas-raoul/apps-android-...
app/src/test/kotlin/fr/free/nrw/commons/login/LoginActivityUnitTests.kt
app/src/test/kotlin/fr/free/nrw/commons/login/LoginActivityUnitTests.kt
package fr.free.nrw.commons.login import android.app.ProgressDialog import android.content.Context import android.view.MenuItem import fr.free.nrw.commons.R import fr.free.nrw.commons.TestCommonsApplication import fr.free.nrw.commons.auth.LoginActivity import org.junit.Assert import org.junit.Before import org.junit.T...
apache-2.0
Kotlin
fa35751cf591769e64373d0415cf0277227ab617
Update enums
kotlinx/kotlinx.html,kotlinx/kotlinx.html,kotlinx/kotlinx.html
generate/src/main/kotlin/enums.kt
generate/src/main/kotlin/enums.kt
package kotlinx.html.generate import kotlinx.html.generate.humanize.humanize private fun List<AttributeEnumValue>.replaceAllIfStartsWithUnderscore() : List<AttributeEnumValue> = if (all { it.fieldName.startsWith("_") && it.fieldName.length > 1 }) map { it.copy(fieldName = it.fieldName.substring(1)) } else this ...
package kotlinx.html.generate import kotlinx.html.generate.humanize.humanize private fun List<AttributeEnumValue>.replaceAllIfStartsWithUnderscore() : List<AttributeEnumValue> = if (all { it.fieldName.startsWith("_") && it.fieldName.length > 1 }) map { it.copy(fieldName = it.fieldName.substring(1)) } else this ...
apache-2.0
Kotlin
4d6bba259716c853c75715f1afa3a0d9cb44b9f0
Update version to 7.1.1.
jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics,jenetics/jenetics
buildSrc/src/main/kotlin/Env.kt
buildSrc/src/main/kotlin/Env.kt
/* * Java Genetic Algorithm Library (@__identifier__@). * Copyright (c) @__year__@ Franz Wilhelmstötter * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/...
/* * Java Genetic Algorithm Library (@__identifier__@). * Copyright (c) @__year__@ Franz Wilhelmstötter * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/...
apache-2.0
Kotlin
e4fc21d7af4a2edb8437ecd8cd9fa3d9b7546600
Fix duplicate const
JetBrains/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-nat...
shared/src/library/kotlin/org/jetbrains/kotlin/konan/library/KonanLibrary.kt
shared/src/library/kotlin/org/jetbrains/kotlin/konan/library/KonanLibrary.kt
package org.jetbrains.kotlin.konan.library import org.jetbrains.kotlin.konan.file.File import org.jetbrains.kotlin.konan.properties.Properties import org.jetbrains.kotlin.konan.properties.propertyList import org.jetbrains.kotlin.library.* const val KLIB_PROPERTY_LINKED_OPTS = "linkerOpts" const val KLIB_PROPERTY_INTE...
package org.jetbrains.kotlin.konan.library import org.jetbrains.kotlin.konan.file.File import org.jetbrains.kotlin.konan.properties.Properties import org.jetbrains.kotlin.konan.properties.propertyList import org.jetbrains.kotlin.library.* const val KLIB_PROPERTY_LINKED_OPTS = "linkerOpts" const val KLIB_PROPERTY_INTE...
apache-2.0
Kotlin
290993a90e51fbbcd122ba311c41b3fbed6dbf1a
Add setup method with stubbing MFBeforeTaskDefaultSettingsProvider to return empty MFTaskData
elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin,elpassion/mainframer-intellij-plugin
src/test/kotlin/com/elpassion/mainframerplugin/task/MFBeforeRunTaskTest.kt
src/test/kotlin/com/elpassion/mainframerplugin/task/MFBeforeRunTaskTest.kt
package com.elpassion.mainframerplugin.task import com.elpassion.mainframerplugin.util.toJson import com.intellij.testFramework.fixtures.LightPlatformCodeInsightFixtureTestCase import com.nhaarman.mockito_kotlin.* import org.jdom.Element import org.junit.Assert class MFBeforeRunTaskTest : LightPlatformCodeInsightFixt...
package com.elpassion.mainframerplugin.task import com.elpassion.mainframerplugin.util.toJson import com.intellij.testFramework.fixtures.LightPlatformCodeInsightFixtureTestCase import com.nhaarman.mockito_kotlin.* import org.jdom.Element import org.junit.Assert class MFBeforeRunTaskTest : LightPlatformCodeInsightFixt...
apache-2.0
Kotlin