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
2a3b91b676ea725b7ecce75be5cf1a05a27e48ee
Remove Restriction from Features
Doist/TodoistModels,Doist/TodoistPojos
src/main/java/com/todoist/pojo/Features.kt
src/main/java/com/todoist/pojo/Features.kt
package com.todoist.pojo open class Features( open var text: String?, open var isDateistInlineDisabled: Boolean, open var dateistLang: String?, open var isGoldThemeEnabled: Boolean, open var isAutoAcceptInvitesDisabled: Boolean )
package com.todoist.pojo open class Features( open var text: String?, open var restriction: Int, open var isDateistInlineDisabled: Boolean, open var dateistLang: String?, open var isGoldThemeEnabled: Boolean, open var isAutoAcceptInvitesDisabled: Boolean )
mit
Kotlin
b0154580bda2b9cfd09e1d817aef5e08cf360238
Fix the build of Dagger in the BOOT_COMPLETE receiver
olivierperez/crapp
feature-reminder/src/main/java/fr/o80/featurereminder/receiver/OnStartupReceiver.kt
feature-reminder/src/main/java/fr/o80/featurereminder/receiver/OnStartupReceiver.kt
package fr.o80.featurereminder.receiver import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import fr.o80.featurereminder.ScheduleRemind import fr.o80.featurereminder.dagger.DaggerReminderComponent import fr.o80.sample.lib.core.LibApplication import timber.log.Timber i...
package fr.o80.featurereminder.receiver import android.content.BroadcastReceiver import android.content.Context import android.content.Intent import fr.o80.featurereminder.ScheduleRemind import fr.o80.featurereminder.dagger.DaggerReminderComponent import timber.log.Timber import javax.inject.Inject class OnStartupRec...
apache-2.0
Kotlin
51f6cdeb0777fe397e7397250c76c2771a6ca41c
refactor #506 Add exists() is false case.
toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/libs/ImageCacheTest.kt
app/src/test/java/jp/toastkid/yobidashi/libs/ImageCacheTest.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
9e124ee93d4616a2e4325ebf528c4b013c759605
Apply another fix to option clicking
lare96/luna
plugins/world/player/interface/clickOption/clickOption.kts
plugins/world/player/interface/clickOption/clickOption.kts
import api.predef.* import io.luna.game.event.impl.ButtonClickEvent import io.luna.game.model.mob.dialogue.OptionDialogueInterface /** * Invoked when the player clicks an option on an option dialogue. */ fun clickOption(msg: ButtonClickEvent, option: Int) { val plr = msg.plr val inter = plr.interfaces.get(Op...
import api.predef.* import io.luna.game.event.impl.ButtonClickEvent import io.luna.game.model.mob.dialogue.OptionDialogueInterface /** * Invoked when the player clicks an option on an option dialogue. */ fun clickOption(msg: ButtonClickEvent, option: Int) { val plr = msg.plr val inter = plr.interfaces.get(Op...
mit
Kotlin
660cbbf49c1317f26c02bf9d0f4d5d246f8c30de
add CoroutineThreadLocalAsContextElementDemo
alibaba/transmittable-thread-local,alibaba/multi-thread-context,alibaba/multi-thread-context,alibaba/transmittable-thread-local,alibaba/multi-thread-context,alibaba/transmittable-thread-local
src/test/java/com/alibaba/demo/coroutine/CoroutineThreadLocalAsContextElementDemo.kt
src/test/java/com/alibaba/demo/coroutine/CoroutineThreadLocalAsContextElementDemo.kt
import kotlinx.coroutines.* val threadLocal = ThreadLocal<String?>() // declare thread-local variable /** * [Thread-local data - Coroutine Context and Dispatchers - Kotlin Programming Language](https://kotlinlang.org/docs/reference/coroutines/coroutine-context-and-dispatchers.html#thread-local-data) */ fun main() =...
apache-2.0
Kotlin
0a404b1c26372bbd3754ea9d54ec03f08dbb4f3a
refactor #283 Modify annotations.
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...
/* * 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
a32a9df00f2eb70378aac9ee811f884397cd6b2f
refactor #511 Implement real test case.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte
app/src/test/java/jp/toastkid/yobidashi/editor/usecase/LinkTitleFetcherUseCaseTest.kt
app/src/test/java/jp/toastkid/yobidashi/editor/usecase/LinkTitleFetcherUseCaseTest.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
a9232cd624b1ea7ba14352bf4077f17af059d06f
Remove unused init hidden and update forward helper usage
KotlinNLP/SimpleDNN
src/main/kotlin/com/kotlinnlp/simplednn/deeplearning/pointernetwork/PointerNetwork.kt
src/main/kotlin/com/kotlinnlp/simplednn/deeplearning/pointernetwork/PointerNetwork.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
921ba2e3ee72fb4e252053021180bb470eeca74d
Fix performance coordinator name case
gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,grad...
.teamcity/Gradle_Check/configurations/BuildJavaVersions.kt
.teamcity/Gradle_Check/configurations/BuildJavaVersions.kt
package configurations import common.JvmVendor import common.JvmVersion import common.Os fun buildJavaHome(os: Os = Os.LINUX) = "%${os.name.toLowerCase()}.${JvmVersion.java11}.${JvmVendor.openjdk}.64bit%" fun individualPerformanceTestJavaHome(os: Os) = "%${os.name.toLowerCase()}.${JvmVersion.java8}.${JvmVendor.oracl...
package configurations import common.JvmVendor import common.JvmVersion import common.Os fun buildJavaHome(os: Os = Os.LINUX) = "%${os.name.toLowerCase()}.${JvmVersion.java11}.${JvmVendor.openjdk}.64bit%" fun individualPerformanceTestJavaHome(os: Os) = "%$os.${JvmVersion.java8}.${JvmVendor.oracle}.64bit%"
apache-2.0
Kotlin
35bd6fd7482746be0a340f9e5a9d9671e107d5e6
Update StatusRunnables
sproshev/tcity,sproshev/tcity
app/src/main/kotlin/com/tcity/android/background/runnable/primitive/StatusRunnables.kt
app/src/main/kotlin/com/tcity/android/background/runnable/primitive/StatusRunnables.kt
/* * Copyright 2014 Semyon Proshev * * 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 ...
/* * Copyright 2014 Semyon Proshev * * 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 ...
apache-2.0
Kotlin
f010fb8e117dd698e15dcff97bd95ebc595e327d
Fix InstantiationError when using any() where a sealed type is expected
mockk/mockk,mockk/mockk,mockk/mockk,mockk/mockk,mockk/mockk,mockk/mockk
modules/mockk/src/jvmMain/kotlin/io/mockk/impl/recording/JvmSignatureValueGenerator.kt
modules/mockk/src/jvmMain/kotlin/io/mockk/impl/recording/JvmSignatureValueGenerator.kt
package io.mockk.impl.recording import io.mockk.impl.instantiation.AbstractInstantiator import io.mockk.impl.instantiation.AnyValueGenerator import io.mockk.core.ValueClassSupport.boxedClass import java.util.* import kotlin.reflect.KClass import kotlin.reflect.full.cast import kotlin.reflect.full.primaryConstructor im...
package io.mockk.impl.recording import io.mockk.impl.instantiation.AbstractInstantiator import io.mockk.impl.instantiation.AnyValueGenerator import io.mockk.core.ValueClassSupport.boxedClass import java.util.* import kotlin.reflect.KClass import kotlin.reflect.full.cast import kotlin.reflect.full.primaryConstructor im...
apache-2.0
Kotlin
46634c1c3d53d70a8b9e9115c3eb700e291899ea
add two numbers
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/addtwonumbers/AddTwoNumbers.kt
kotlin/src/katas/kotlin/leetcode/addtwonumbers/AddTwoNumbers.kt
package katas.kotlin.leetcode.addtwonumbers import kotlincommon.test.shouldEqual import org.junit.Test class AddTwoNumbers { @Test fun `convert integer to linked list`() { 0.toLinkedList() shouldEqual Node(0) 1.toLinkedList() shouldEqual Node(1) 12.toLinkedList() shouldEqual Node(2).linked...
package katas.kotlin.leetcode.addtwonumbers import kotlincommon.test.shouldEqual import org.junit.Test class AddTwoNumbers { @Test fun `convert integer to linked list`() { 0.toLinkedList() shouldEqual Node(0) 1.toLinkedList() shouldEqual Node(1) 12.toLinkedList() shouldEqual Node(2).linked...
unlicense
Kotlin
86098d10faba70afb05c6e8e4b6bf74b4e3869d4
Add 4.5 to cross version test
gogradle/gogradle,gogradle/gogradle,gogradle/gogradle,blindpirate/gogradle,blindpirate/gogradle,gogradle/gogradle
src/cross-version-test/kotlin/com/github/blindpirate/gogradle/CrossVersionSmokeTest.kt
src/cross-version-test/kotlin/com/github/blindpirate/gogradle/CrossVersionSmokeTest.kt
package com.github.blindpirate.gogradle import com.github.blindpirate.gogradle.GogradleRunner import com.github.blindpirate.gogradle.support.IntegrationTestSupport import org.junit.Test import org.junit.runner.RunWith import java.io.File import com.github.blindpirate.gogradle.support.WithResource import com.github.bli...
package com.github.blindpirate.gogradle import com.github.blindpirate.gogradle.GogradleRunner import com.github.blindpirate.gogradle.support.IntegrationTestSupport import org.junit.Test import org.junit.runner.RunWith import java.io.File import com.github.blindpirate.gogradle.support.WithResource import com.github.bli...
apache-2.0
Kotlin
7bb253251365d78b151010c3520c84a5b775d283
refactor #625 Rename to currentTask.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
todo/src/main/java/jp/toastkid/todo/view/addition/TaskAdditionDialogFragmentUseCase.kt
todo/src/main/java/jp/toastkid/todo/view/addition/TaskAdditionDialogFragmentUseCase.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
d572e936bb5e1f38e4fc248e94d08b829ef5ec53
add reduce to get the sum
songzhw/Hello-kotlin,songzhw/Hello-kotlin
algo/src/main/java/ca/six/algo/biz/红包算法.kt
algo/src/main/java/ca/six/algo/biz/红包算法.kt
package biz import kotlin.random.Random /* * 发一个100元的红包, 3个人抢. 数字一是得随机, 二是得保证每人都抢到至少0.01元, 三是和得是100元 * * : 所以直接Random三个数字, 不能保证第二点和第三点 (有可能第一个数字就已经100元了, 就没有给其它人留下钱了) * */ fun 算红包() { val money = 100f // 红包金额 val count = 3 // 人头 val result = arrayListOf<Float>() //TODO 只保留两个小数 var dist...
package biz import kotlin.random.Random /* * 发一个100元的红包, 3个人抢. 数字一是得随机, 二是得保证每人都抢到至少0.01元, 三是和得是100元 * * : 所以直接Random三个数字, 不能保证第二点和第三点 (有可能第一个数字就已经100元了, 就没有给其它人留下钱了) * */ fun 算红包() { val money = 100f // 红包金额 val count = 3 // 人头 val result = arrayListOf<Float>() //TODO 只保留两个小数 var dist...
apache-2.0
Kotlin
ed523bb7a59c9bc681a7608dcc560f2e0e77b3a3
Test commit for Slack integrations.
superjohan/pfm,superjohan/pfm,superjohan/pfm
app/src/main/java/com/aerodeko/pfm/MainActivity.kt
app/src/main/java/com/aerodeko/pfm/MainActivity.kt
package com.aerodeko.pfm import android.os.Bundle import android.support.design.widget.FloatingActionButton import android.support.design.widget.Snackbar import android.support.v7.app.AppCompatActivity import android.support.v7.widget.Toolbar import android.util.Log import android.view.View import android.view.Menu im...
package com.aerodeko.pfm import android.os.Bundle import android.support.design.widget.FloatingActionButton import android.support.design.widget.Snackbar import android.support.v7.app.AppCompatActivity import android.support.v7.widget.Toolbar import android.view.View import android.view.Menu import android.view.MenuIt...
mit
Kotlin
80f2d3976ca4444f2e428f97cef01a9212fc9850
Add feature if completion triggered during indexing
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/stats-collector/src/com/intellij/completion/ml/common/CommonLocationFeatures.kt
plugins/stats-collector/src/com/intellij/completion/ml/common/CommonLocationFeatures.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.completion.ml.common import com.intellij.codeInsight.completion.ml.CompletionEnvironment import com.intellij.codeInsight.completion.ml.ContextFeatureProvider...
// 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.completion.ml.common import com.intellij.codeInsight.completion.ml.CompletionEnvironment import com.intellij.codeInsight.completion.ml.ContextFeatureProvider...
apache-2.0
Kotlin
7fc207c21a1ea37f762a10259c191d531d67fd9c
Add copyright
KotlinNLP/SimpleDNN
src/main/kotlin/com/kotlinnlp/simplednn/core/functionalities/activations/HardSigmoid.kt
src/main/kotlin/com/kotlinnlp/simplednn/core/functionalities/activations/HardSigmoid.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/. * ------------------------------------------...
package com.kotlinnlp.simplednn.core.functionalities.activations /** * The Hardsigmoid(x) activation function, * transforming the values x into the range [0, 1]. */ class HardSigmoid: ScalarActivationFunction() { companion object { /** * Private val used to serialize the class (needed by Serializable)...
mpl-2.0
Kotlin
687565213f17997b4bef13cdf9f0d0d16c7278a1
Fix tests
Commit451/GitLabAndroid,Commit451/LabCoat
app/src/test/java/com/commit451/gitlab/CounterCallbacks.kt
app/src/test/java/com/commit451/gitlab/CounterCallbacks.kt
package com.commit451.gitlab import com.commit451.gitlab.navigation.DeepLinker class CounterCallbacks: DeepLinker.Callbacks { var issue = 0 var commit = 0 var mergeRequest = 0 var project = 0 var build = 0 var milestone = 0 var unknown = 0 override fun onRouteToIssue(projectNamespace...
package com.commit451.gitlab import com.commit451.gitlab.navigation.DeepLinker class CounterCallbacks: DeepLinker.Callbacks { var issue = 0 var commit = 0 var mergeRequest = 0 var project = 0 var build = 0 var milestone = 0 var unknown = 0 override fun onRouteToIssue(projectNamespace...
apache-2.0
Kotlin
22eb9a24c42f588bf648383b60ec74cb4aee6b08
Create datavaluebydataset sql query
dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk
core/src/main/java/org/hisp/dhis/android/core/datavalue/DataValueByDataSetQueryHelper.kt
core/src/main/java/org/hisp/dhis/android/core/datavalue/DataValueByDataSetQueryHelper.kt
/* * Copyright (c) 2004-2019, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of cond...
bsd-3-clause
Kotlin
65ed01865f279c86884669020bc4f0120f16718b
use the correct method to identify light edit project
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/git4idea/src/git4idea/light/LightGitStatusBarWidget.kt
plugins/git4idea/src/git4idea/light/LightGitStatusBarWidget.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 git4idea.light import com.intellij.ide.lightEdit.LightEdit import com.intellij.ide.lightEdit.LightEditService import com.intellij.openapi.project.Project import com.intel...
// 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 git4idea.light import com.intellij.ide.lightEdit.LightEditService import com.intellij.ide.lightEdit.LightEditUtil import com.intellij.openapi.project.Project import com.i...
apache-2.0
Kotlin
15e795d6c077c76dd580d949179566b0e104de53
Bump version
SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base
version.gradle.kts
version.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
7a3c4b45ff03a553a50be44246364aaa6426affe
Use .last
http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k
http4k-core/src/main/kotlin/org/http4k/core/UriTemplate.kt
http4k-core/src/main/kotlin/org/http4k/core/UriTemplate.kt
package org.http4k.core import java.net.URLDecoder import java.net.URLEncoder import java.util.regex.Pattern data class UriTemplate private constructor(private val template: String) { private val templateRegex = template.replace(URI_TEMPLATE_FORMAT, { notMatched -> Pattern.quote(notMatched) }, { m...
package org.http4k.core import java.net.URLDecoder import java.net.URLEncoder import java.util.regex.Pattern data class UriTemplate private constructor(private val template: String) { private val templateRegex = template.replace(URI_TEMPLATE_FORMAT, { notMatched -> Pattern.quote(notMatched) }, { m...
apache-2.0
Kotlin
7b7840f8b43aa9eca9f506f52e99582b8133dde8
Add AbstractIterator class
JetBrains/kotlin-native,JuliusKunze/kotlin-native,jiaminglu/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JuliusKunze/kotlin-native,JetBrains/kotlin-native,jiaminglu/kotlin-native,jiaminglu/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,JuliusKunze/kotlin-native,JuliusKunze/kotlin-n...
runtime/src/main/kotlin/kotlin/collections/AbstractIterator.kt
runtime/src/main/kotlin/kotlin/collections/AbstractIterator.kt
package kotlin.collections private enum class State { Ready, NotReady, Done, Failed } /** * A base class to simplify implementing iterators so that implementations only have to implement [computeNext] * to implement the iterator, calling [done] when the iteration is complete. */ public abstract cl...
apache-2.0
Kotlin
efb98e085058a881980c81ba643c75a2c4ef8e6d
create monotonic clock
clappr/clappr-android,clappr/clappr-android
clappr/src/main/kotlin/io/clappr/player/clocks/MonotonicClock.kt
clappr/src/main/kotlin/io/clappr/player/clocks/MonotonicClock.kt
package io.clappr.player.clocks import android.os.SystemClock typealias MonotonicClock = () -> Long val ClapprSystemClock: MonotonicClock = { SystemClock.uptimeMillis() }
bsd-3-clause
Kotlin
6a22444508b3459dd2afab43748141b87c1c5c5f
Update to Android-Components 98.0.20220124150849.
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 = "98.0.20220124150849" }
/* 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 = "98.0.20220123190056" }
mpl-2.0
Kotlin
d33db79c2bf1eb9d356acb20cf6d56b5efb2da29
Update to Android-Components 102.0.20220510190142.
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.20220510190142" }
/* 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.20220510143312" }
mpl-2.0
Kotlin
afed40b643e296dec0346d05e1d898f36f944780
Update to Android-Components 106.0.20220827143345.
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.20220827143345" }
/* 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.20220826190145" }
mpl-2.0
Kotlin
05784bbaccd73a5539870c7f6d304159ca939639
Update to Android-Components 100.0.20220404143034.
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.20220404143034" }
/* 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.20220403190302" }
mpl-2.0
Kotlin
ade76c3ac091f6a939add58648a237d5ff6aa85f
Update to Android-Components 98.0.20220208143159.
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 = "98.0.20220208143159" }
/* 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 = "98.0.20220208025830" }
mpl-2.0
Kotlin
a887c1bb52d62f723432bc87422c5f59193b1dcf
Update to Android-Components 106.0.20220822190107.
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.20220822190107" }
/* 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.20220822142319" }
mpl-2.0
Kotlin
520894c5ed099f4889115ec6774c65118e50baa4
Update to Android-Components 100.0.20220312190111.
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.20220312190111" }
/* 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.20220311190301" }
mpl-2.0
Kotlin
092009e47ff3d0796c479ad3afe597916bea79fc
Use require instead of assert in settings.gradle (#1703)
ze-pequeno/mockito,bric3/mockito,mockito/mockito,mockito/mockito,mockito/mockito,ze-pequeno/mockito,bric3/mockito,bric3/mockito
settings.gradle.kts
settings.gradle.kts
include("deprecatedPluginsTest", "inline", "extTest", "kotlinTest", "kotlinReleaseCoroutinesTest", "android", "junit-jupiter", "junitJupiterExtensionTest", "module-test", "memory-test", "errorprone") rootProject.name = "mockito" rootProject.children.forEach { project -> val...
include("deprecatedPluginsTest", "inline", "extTest", "kotlinTest", "kotlinReleaseCoroutinesTest", "android", "junit-jupiter", "junitJupiterExtensionTest", "module-test", "memory-test", "errorprone") rootProject.name = "mockito" rootProject.children.forEach { project -> val...
mit
Kotlin
a6a06c6884eb615167b2f4f4b1cd7489b4f1a47b
Add gradle build scan (#98)
open-telemetry/opentelemetry-java-contrib,open-telemetry/opentelemetry-java-contrib,open-telemetry/opentelemetry-java-contrib
settings.gradle.kts
settings.gradle.kts
pluginManagement { plugins { id("com.github.ben-manes.versions") version "0.39.0" id("com.github.johnrengelman.shadow") version "7.0.0" id("org.unbroken-dome.test-sets") version "4.0.0" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" id("nebula.release") version "...
pluginManagement { plugins { id("com.github.ben-manes.versions") version "0.39.0" id("com.github.johnrengelman.shadow") version "7.0.0" id("org.unbroken-dome.test-sets") version "4.0.0" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" id("nebula.release") version "...
apache-2.0
Kotlin
52f316959ae54a2b33e8a37f5a654a50289326f7
Update plugin com.diffplug.spotless to v6.4.0
domaframework/doma,domaframework/doma
settings.gradle.kts
settings.gradle.kts
pluginManagement { repositories { gradlePluginPortal() } plugins { id("com.diffplug.eclipse.apt") version "3.36.0" id("com.diffplug.spotless") version "6.4.0" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" id("net.researchgate.release") version "2.8.1" ...
pluginManagement { repositories { gradlePluginPortal() } plugins { id("com.diffplug.eclipse.apt") version "3.36.0" id("com.diffplug.spotless") version "6.3.0" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" id("net.researchgate.release") version "2.8.1" ...
apache-2.0
Kotlin
2344ee659f1561a9da87037810fcdc99ed37e1d8
use v.0.5.x as the recommended stable version (#211)
intellij-solidity/intellij-solidity,intellij-solidity/intellij-solidity,intellij-solidity/intellij-solidity,intellij-solidity/intellij-solidity
src/main/kotlin/me/serce/solidity/lang/completion/keywords.kt
src/main/kotlin/me/serce/solidity/lang/completion/keywords.kt
package me.serce.solidity.lang.completion import com.intellij.codeInsight.completion.* import com.intellij.codeInsight.lookup.LookupElementBuilder import com.intellij.openapi.editor.EditorModificationUtil import com.intellij.openapi.project.DumbAware import com.intellij.util.ProcessingContext const val KEYWORD_PRIORI...
package me.serce.solidity.lang.completion import com.intellij.codeInsight.completion.* import com.intellij.codeInsight.lookup.LookupElementBuilder import com.intellij.openapi.editor.EditorModificationUtil import com.intellij.openapi.project.DumbAware import com.intellij.util.ProcessingContext const val KEYWORD_PRIORI...
mit
Kotlin
0f0736d93e0a0932f008e2a388ffc4d46857ede5
change no-op name property to plugin derived class standard
clappr/clappr-android,clappr/clappr-android
player/src/main/kotlin/com/globo/clappr/playback/NoOpPlayback.kt
player/src/main/kotlin/com/globo/clappr/playback/NoOpPlayback.kt
package com.globo.clappr.playback import com.globo.clappr.base.Options import com.globo.clappr.components.Playback import com.globo.clappr.components.PlaybackSupportInterface open class NoOpPlayback(source: String, mimeType: String? = null, options: Options = Options()) : Playback(source, mimeType, options) { com...
package com.globo.clappr.playback import com.globo.clappr.base.Options import com.globo.clappr.components.Playback import com.globo.clappr.components.PlaybackSupportInterface open class NoOpPlayback(source: String, mimeType: String? = null, options: Options = Options()) : Playback(source, mimeType, options) { com...
bsd-3-clause
Kotlin
c6302a5cb05b23418a80743fe7b101fb099dc27e
add arrow type
kotlinz/kotlinz
src/main/kotlin/com/github/kotlinz/kotlinz/type/arrow/Arrow.kt
src/main/kotlin/com/github/kotlinz/kotlinz/type/arrow/Arrow.kt
package com.github.kotlinz.kotlinz.type.arrow import com.github.kotlinz.kotlinz.K2 import com.github.kotlinz.kotlinz.type.category.Category interface Arrow<T> : Category<T> { fun <A, B> arr(f: (A) -> B): K2<T, A, B> fun <A, B, C> first(f: K2<T, A, B>): K2<T, Pair<A, C>, Pair<B, C>> fun <A, B, C> second(...
apache-2.0
Kotlin
7bf66605a4347980198e8e4346b97d0312363d48
Remove superfluous build scan configuration from init script
blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpira...
gradle/init-scripts/build-scan.init.gradle.kts
gradle/init-scripts/build-scan.init.gradle.kts
/* * This is an init script for internal usage at Gradle Inc. */ val tasksWithBuildScansOnFailure = listOf("verifyTestFilesCleanup", "killExistingProcessesStartedByGradle").map { listOf(it) } if (!gradle.startParameter.systemPropertiesArgs.containsKey("disableScanPlugin")) { // Gradle 6 settingsEvaluated { ...
/* * This is an init script for internal usage at Gradle Inc. */ val tasksWithBuildScansOnFailure = listOf("verifyTestFilesCleanup", "killExistingProcessesStartedByGradle").map { listOf(it) } if (!gradle.startParameter.systemPropertiesArgs.containsKey("disableScanPlugin")) { // Gradle 6 settingsEvaluated { ...
apache-2.0
Kotlin
522206178cae9d32cce847bfcc3f3cb0235c5234
Update example project endpoint
carmenlau/chat-SDK-Android,carmenlau/chat-SDK-Android,carmenlau/chat-SDK-Android,carmenlau/chat-SDK-Android
chat_example/src/main/java/io/skygear/chatexample/MainApp.kt
chat_example/src/main/java/io/skygear/chatexample/MainApp.kt
package io.skygear.chatexample import android.text.TextUtils import io.skygear.skygear.SkygearApplication class MainApp() : SkygearApplication() { override fun getSkygearEndpoint(): String? { return "https://chatdemoapp.skygeario.com/" } override fun getApiKey(): String? { return "c0d796f...
package io.skygear.chatexample import android.text.TextUtils import io.skygear.skygear.SkygearApplication class MainApp() : SkygearApplication() { override fun getSkygearEndpoint(): String? { return "https://carmenlau.staging.skygeario.com/" } override fun getApiKey(): String? { return "1...
apache-2.0
Kotlin
5f3f957255358859d5f6c9b51a917040239aba88
Add a method that creates a logger with a given Class
MichaelRocks/lightsaber,MichaelRocks/lightsaber
processor/src/main/kotlin/io/michaelrocks/lightsaber/processor/logging/LoggerExtensions.kt
processor/src/main/kotlin/io/michaelrocks/lightsaber/processor/logging/LoggerExtensions.kt
/* * Copyright 2016 Michael Rozumyanskiy * * 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 2015 Michael Rozumyanskiy * * 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
cd17c035caa6a9f223b6855e7c6d291de1f75c29
Update Spek to 2.0.12 (#2847)
arturbosch/detekt,arturbosch/detekt,arturbosch/detekt
detekt-bom/build.gradle.kts
detekt-bom/build.gradle.kts
plugins { `java-platform` } dependencies { val version = object { val spek = "2.0.12" val ktlint = "0.37.2" } constraints { api("org.assertj:assertj-core:3.16.1") api("org.spekframework.spek2:spek-dsl-jvm:${version.spek}") api("org.spekframework.spek2:spek-runne...
plugins { `java-platform` } dependencies { val version = object { val spek = "2.0.11" val ktlint = "0.37.2" } constraints { api("org.assertj:assertj-core:3.16.1") api("org.spekframework.spek2:spek-dsl-jvm:${version.spek}") api("org.spekframework.spek2:spek-runne...
apache-2.0
Kotlin
0c41e23d75872aa05c7914153b0d24aeee54c174
Fix typo in ColorsAdapter
FarbodSalamat-Zadeh/TimetableApp,FarbodSalamat-Zadeh/TimetableApp
app/src/main/java/co/timetableapp/ui/subjects/ColorsAdapter.kt
app/src/main/java/co/timetableapp/ui/subjects/ColorsAdapter.kt
/* * Copyright 2017 Farbod Salamat-Zadeh * * 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 2017 Farbod Salamat-Zadeh * * 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
546ff7fd6d4bd9bc3d73b252754b7d9ee10810f9
Use JUnit platform to run architecture test
blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,grad...
subprojects/architecture-test/build.gradle.kts
subprojects/architecture-test/build.gradle.kts
plugins { id("gradlebuild.internal.java") id("gradlebuild.binary-compatibility") } dependencies { currentClasspath(project(":distributions-full")) testImplementation(project(":base-services")) testImplementation(project(":model-core")) testImplementation(project(":file-temp")) testImplemen...
plugins { id("gradlebuild.internal.java") id("gradlebuild.binary-compatibility") } dependencies { currentClasspath(project(":distributions-full")) testImplementation(project(":base-services")) testImplementation(project(":model-core")) testImplementation(project(":file-temp")) testImplemen...
apache-2.0
Kotlin
092165d0dae78682dbea1e41128ee08680eb963a
Add Actor.defaultHeight
RuneSuite/client,RuneSuite/client
game-api/src/main/java/org/runestar/client/game/api/Actor.kt
game-api/src/main/java/org/runestar/client/game/api/Actor.kt
package org.runestar.client.game.api import org.runestar.client.game.raw.access.XActor import org.runestar.client.game.raw.access.XHealthBar import org.runestar.client.game.raw.access.XHitSplat abstract class Actor(override val accessor: XActor) : Entity(accessor), ActorTargeting { abstract val plane: Int o...
package org.runestar.client.game.api import org.runestar.client.game.raw.access.XActor import org.runestar.client.game.raw.access.XHealthBar import org.runestar.client.game.raw.access.XHitSplat abstract class Actor(override val accessor: XActor) : Entity(accessor), ActorTargeting { abstract val plane: Int o...
mit
Kotlin
f96e240b3aedfd01e65fe797885f2fdd63433038
Update build.gradle.kts
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/usecases/creating_photo_analyzer_app/build.gradle.kts
kotlin/usecases/creating_photo_analyzer_app/build.gradle.kts
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { id("org.springframework.boot") version "2.5.2" id("io.spring.dependency-management") version "1.0.11.RELEASE" kotlin("jvm") version "1.5.20" kotlin("plugin.spring") version "1.5.20" } group = "com.example" version = "0.0.1-SNAPSHOT" java...
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { id("org.springframework.boot") version "2.5.2" id("io.spring.dependency-management") version "1.0.11.RELEASE" kotlin("jvm") version "1.5.20" kotlin("plugin.spring") version "1.5.20" } group = "com.example" version = "0.0.1-SNAPSHOT" java...
apache-2.0
Kotlin
c313c5b6209a0959a8b01073ea0bf408bb2fa927
Stop wrapping child cancellation exceptions from search (#887)
chrisbanes/tivi,chrisbanes/tivi
domain/src/main/java/app/tivi/domain/interactors/SearchShows.kt
domain/src/main/java/app/tivi/domain/interactors/SearchShows.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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
apache-2.0
Kotlin
5acd5e5aa5373e89ad0b717240211c9042933a7a
Remove typealias and fix usage of NDArrayFactory
KotlinNLP/SimpleDNN
src/kotlin/com/kotlinnlp/simplednn/simplemath/simplemath.kt
src/kotlin/com/kotlinnlp/simplednn/simplemath/simplemath.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
2e524d873e91cdcbe788f69d556f541eaebc1102
Mark incubating plugin's test files as inputs (#1632)
apollostack/apollo-android,apollostack/apollo-android,apollographql/apollo-android,apollographql/apollo-android,apollostack/apollo-android,apollographql/apollo-android
apollo-gradle-plugin-incubating/build.gradle.kts
apollo-gradle-plugin-incubating/build.gradle.kts
plugins { id("java") id("org.jetbrains.kotlin.jvm") id("java-gradle-plugin") } // groovy strings with double quotes are GString. // groovy strings with single quotes are java.lang.String // In all cases, gradle APIs take Any so just feed them whatever is returned fun dep(key: String) = (extra["dep"] as Map<*, *>...
plugins { id("java") id("org.jetbrains.kotlin.jvm") id("java-gradle-plugin") } // groovy strings with double quotes are GString. // groovy strings with single quotes are java.lang.String // In all cases, gradle APIs take Any so just feed them whatever is returned fun dep(key: String) = (extra["dep"] as Map<*, *>...
mit
Kotlin
3c78abab09abda88d713a44d3f7bc378de7b92b3
Add visualization module wiper
dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk
core/src/main/java/org/hisp/dhis/android/core/visualization/internal/VisualizationModuleWiper.kt
core/src/main/java/org/hisp/dhis/android/core/visualization/internal/VisualizationModuleWiper.kt
/* * Copyright (c) 2004-2021, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list o...
bsd-3-clause
Kotlin
63abcc1a7a806e0665ce9382ff9a0ec480cd9576
Implement unit tests for EntityStorage
samiuelson/Hipstore,samiuelson/Hipstore
hipstore/src/test/java/tech/lab23/hipstore/EntityStorageTest.kt
hipstore/src/test/java/tech/lab23/hipstore/EntityStorageTest.kt
package tech.lab23.hipstore import android.content.SharedPreferences import android.preference.PreferenceManager import junit.framework.Assert import org.junit.Before import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner import org.robolectric.RuntimeEnvironment import org...
package tech.lab23.hipstore import android.content.SharedPreferences import android.preference.PreferenceManager import junit.framework.Assert import org.junit.Before import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner import org.robolectric.RuntimeEnvironment import org....
apache-2.0
Kotlin
ccaafc081ba8621551d80dc9471a6a014490a26e
refactor #496 Rename exception object to e.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
app/src/main/java/jp/toastkid/yobidashi/media/AlbumArtFinder.kt
app/src/main/java/jp/toastkid/yobidashi/media/AlbumArtFinder.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
c5f7c377ba907dc9f5eddfb002a8daeb6db28301
Support empty insets around the painting area
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/util/ui/src/com/intellij/util/ui/RegionPaintIcon.kt
platform/util/ui/src/com/intellij/util/ui/RegionPaintIcon.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 import com.intellij.ui.scale.DerivedScaleType.PIX_SCALE import java.awt.Component import java.awt.Graphics import java.awt.Graphics2D import java.uti...
// 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 import com.intellij.ui.scale.DerivedScaleType.PIX_SCALE import java.awt.Component import java.awt.Graphics import java.awt.Graphics2D import java.uti...
apache-2.0
Kotlin
bec4a28c269221d742b3b9a462c5c2b8bb1ac545
Add some documentation
google/ide-perf,google/ide-perf
src/main/java/com/android/tools/idea/diagnostics/TracerView.kt
src/main/java/com/android/tools/idea/diagnostics/TracerView.kt
package com.android.tools.idea.diagnostics import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.project.DumbAwareAction import com.intellij.openapi.ui.DialogWrapper import com.intellij.ui.components.JBPanel import com.intellij.ui.components.JBScrollPane import com.intellij.ui.components.J...
package com.android.tools.idea.diagnostics import com.intellij.openapi.actionSystem.AnActionEvent import com.intellij.openapi.project.DumbAwareAction import com.intellij.openapi.ui.DialogWrapper import com.intellij.ui.components.JBPanel import com.intellij.ui.components.JBScrollPane import com.intellij.ui.components.J...
apache-2.0
Kotlin
fd31ed9bc446e4c4fbed5cb8d24cc3ffd5d8f1bc
Rename isPackage extension property to isPackagePrivate
MichaelRocks/grip,MichaelRocks/grip
library/src/main/kotlin/io/michaelrocks/grip/mirrors/Element.kt
library/src/main/kotlin/io/michaelrocks/grip/mirrors/Element.kt
/* * Copyright 2016 Michael Rozumyanskiy * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/* * Copyright 2016 Michael Rozumyanskiy * * 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
4d974358d7f29d34b632ebb81a46b0cc9e80f1e1
Update to Android-Components 103.0.20220622143041.
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.20220622143041" }
/* 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.20220621143056" }
mpl-2.0
Kotlin
795b80d77999b525d1651d5169efe5cbd429e9de
Update to Android-Components 101.0.20220416190134.
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 = "101.0.20220416190134" }
/* 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 = "101.0.20220416143119" }
mpl-2.0
Kotlin
598e9943038693a755172684ee767e817f34a507
Update Android Components version to 100.0.20220309130849.
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.20220309130849" }
/* 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.20220309001717" }
mpl-2.0
Kotlin
a7e6ba9176806c82b6a7d4f5e8675c041aa389f4
refactor #853 Delete useless function.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/main/MainActivity.kt
app/src/main/java/jp/toastkid/yobidashi/main/MainActivity.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...
/* * 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
e750085e8838b4bffeb01a84ef744f146f7b7b5c
add two numbers
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/addtwonumbers/AddTwoNumbers.kt
kotlin/src/katas/kotlin/leetcode/addtwonumbers/AddTwoNumbers.kt
package katas.kotlin.leetcode.addtwonumbers import kotlincommon.test.shouldEqual import org.junit.Test class AddTwoNumbers { @Test fun `convert integer to linked list`() { 1.toLinkedList() shouldEqual ListNode(1) 12.toLinkedList() shouldEqual ListNode(2).linkedTo(ListNode(1)) } } private fun ...
package katas.kotlin.leetcode.addtwonumbers import kotlincommon.test.shouldEqual import org.junit.Test class AddTwoNumbers { @Test fun `convert integer to linked list`() { 1.toLinkedList() shouldEqual ListNode(1) } } private fun Int.toLinkedList(): ListNode { return ListNode(1) } private data cl...
unlicense
Kotlin
6adb5fba60ef04991733f2230774f3a0a409d51a
fix cancelling polling operator when configuration changes
bmunzenb/feed-buddy
src/main/kotlin/com/munzenberger/feed/PollingFeedOperator.kt
src/main/kotlin/com/munzenberger/feed/PollingFeedOperator.kt
package com.munzenberger.feed import com.munzenberger.feed.config.AppConfig import com.munzenberger.feed.config.AppConfigProvider import com.munzenberger.feed.config.FeedProcessorFactory import com.munzenberger.feed.config.ItemProcessorFactory import com.munzenberger.feed.filter.ItemFilter import com.munzenberger.feed...
package com.munzenberger.feed import com.munzenberger.feed.config.AppConfig import com.munzenberger.feed.config.AppConfigProvider import com.munzenberger.feed.config.FeedProcessorFactory import com.munzenberger.feed.config.ItemProcessorFactory import com.munzenberger.feed.filter.ItemFilter import com.munzenberger.feed...
apache-2.0
Kotlin
97f9695e79809b7fe6feffbf3507d0c4487bfa0b
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
723ffac708f23a555f94a5c93c032e74f60e2bcd
Bump AGP
fcostaa/kotlin-rxjava-android,fcostaa/kotlin-rxjava-android
buildSrc/src/main/kotlin/Versions.kt
buildSrc/src/main/kotlin/Versions.kt
internal object Kotlin { const val version = "1.3.21" } object Versions { const val androidGradlePlugin = "3.3.1" const val dependencyGraphGeneratorPlugin = "0.2.0" const val androidJunitJacocoPlugin = "0.13.0" const val detektGradlePlugin = "1.0.0-RC12" const val compileSdkVersion = 28 co...
internal object Kotlin { const val version = "1.3.21" } object Versions { const val androidGradlePlugin = "3.3.0" const val dependencyGraphGeneratorPlugin = "0.2.0" const val androidJunitJacocoPlugin = "0.13.0" const val detektGradlePlugin = "1.0.0-RC12" const val compileSdkVersion = 28 co...
mit
Kotlin
0e711038f78e100fdf09b6d895c51989bcc36d38
update IO+Extension.kt
fengzhizi715/SAF-Kotlin-Utils,fengzhizi715/SAF-Kotlin-Utils
saf-kotlin-ext/src/main/java/com/safframework/ext/IO+Extension.kt
saf-kotlin-ext/src/main/java/com/safframework/ext/IO+Extension.kt
package com.safframework.ext import java.io.Closeable /** * * @FileName: * com.safframework.ext.IOs.java * @author: Tony Shen * @date: 2018-04-23 15:01 * @version V1.0 <描述当前版本功能> */ fun Closeable?.closeQuietly() { try { this?.close() } catch (e: Throwable) { // ignore } } ...
package com.safframework.ext import java.io.Closeable /** * * @FileName: * com.safframework.ext.IOs.java * @author: Tony Shen * @date: 2018-04-23 15:01 * @version V1.0 <描述当前版本功能> */ fun Closeable?.closeQuietly() { try { this?.close() } catch (e: Throwable) { // ignore } }
apache-2.0
Kotlin
a17f2211760ab4dc6ef6b108cc5975a06fc90284
Create RemoteExtent and sub-classes.
BlurEngine/Blur,BlurEngine/Blur
src/main/java/com/blurengine/blur/modules/extents/RemoteExtent.kt
src/main/java/com/blurengine/blur/modules/extents/RemoteExtent.kt
/* * Copyright 2019 Ali Moghnieh * * 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
2ced35fda2e24c3ee25747028d0a74d0510c0bfc
Update for alpha01
android/architecture-components-samples,android/architecture-components-samples,android/architecture-components-samples
PagingWithNetworkSample/benchmark/src/androidTest/java/com/example/benchmark/PostsAdapterBenchmark.kt
PagingWithNetworkSample/benchmark/src/androidTest/java/com/example/benchmark/PostsAdapterBenchmark.kt
/* * Copyright 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
Kotlin
4c3386431592b0443347528f63ba3b4bf4537875
Fix style concatenation order so that the incoming Style wins clashes
facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho
sample/src/main/java/com/facebook/samples/litho/kotlin/mountables/SimpleImageViewWithAccessibility.kt
sample/src/main/java/com/facebook/samples/litho/kotlin/mountables/SimpleImageViewWithAccessibility.kt
/* * Copyright (c) Meta Platforms, Inc. and 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 appl...
/* * Copyright (c) Meta Platforms, Inc. and 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 appl...
apache-2.0
Kotlin
e3617e985132bac32379cc33a1990aa5638574fb
add tests
rock3r/detekt,rock3r/detekt,arturbosch/detekt,arturbosch/detekt,Mauin/detekt,Mauin/detekt,arturbosch/detekt,Mauin/detekt,Mauin/detekt,rock3r/detekt,MyDogTom/detekt
detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/style/DataClassContainsFunctionsSpec.kt
detekt-rules/src/test/kotlin/io/gitlab/arturbosch/detekt/rules/style/DataClassContainsFunctionsSpec.kt
package io.gitlab.arturbosch.detekt.rules.style import io.gitlab.arturbosch.detekt.test.lint import org.assertj.core.api.Assertions import org.jetbrains.spek.api.dsl.it import org.jetbrains.spek.subject.SubjectSpek /** * @author Ivan Balaksha */ class DataClassContainsFunctionsSpec : SubjectSpek<DataClassContainsF...
package io.gitlab.arturbosch.detekt.rules.style import io.gitlab.arturbosch.detekt.test.lint import org.assertj.core.api.Assertions import org.jetbrains.spek.api.dsl.it import org.jetbrains.spek.subject.SubjectSpek /** * @author Ivan Balaksha */ class DataClassContainsFunctionsSpec : SubjectSpek<DataClassContainsF...
apache-2.0
Kotlin
7875f5dfb1e1818a360dfbfdaa89d08e9e83f885
refactor #605 Rename test function.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
lib/src/test/java/jp/toastkid/lib/intent/ShareIntentFactoryTest.kt
lib/src/test/java/jp/toastkid/lib/intent/ShareIntentFactoryTest.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
6273f36e66a1570b0ccba4672e3dd102157b5a7b
refactor #605 Use explicitly importing.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
app/src/main/java/jp/toastkid/yobidashi/wikipedia/today/Month.kt
app/src/main/java/jp/toastkid/yobidashi/wikipedia/today/Month.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
e71bdda95d39da7a8baaafba177b7cf7abe6812b
reformat FirstStartPersister
squanchy-dev/squanchy-android,squanchy-dev/squanchy-android,squanchy-dev/squanchy-android
app/src/main/java/net/squanchy/navigation/FirstStartPersister.kt
app/src/main/java/net/squanchy/navigation/FirstStartPersister.kt
package net.squanchy.navigation import android.content.SharedPreferences internal class FirstStartPersister(private val preferences: SharedPreferences) { fun hasBeenStartedAlready() = preferences.getBoolean(KEY_HAS_BEEN_STARTED_ALREADY, false) fun storeHasBeenStarted() { preferences.edit() ...
package net.squanchy.navigation import android.content.SharedPreferences internal class FirstStartPersister(private val preferences: SharedPreferences) { fun hasBeenStartedAlready() = preferences.getBoolean(KEY_HAS_BEEN_STARTED_ALREADY, false) fun storeHasBeenStarted() { preferences.edit() ...
apache-2.0
Kotlin
7568ad0bbc98f4b060feec347baf0316f7736ea7
Bring back UnitViewState
pyamsoft/pydroid
arch/src/main/java/com/pyamsoft/pydroid/arch/UnitViewState.kt
arch/src/main/java/com/pyamsoft/pydroid/arch/UnitViewState.kt
/* * Copyright 2022 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
c07d9d995661027a8f92a7a3a943956f21bc1662
Add test for instance setting precedence to InstanceSettingsTest.kt
cbeust/klaxon,cbeust/klaxon,cbeust/klaxon
klaxon/src/test/kotlin/com/beust/klaxon/InstanceSettingsTest.kt
klaxon/src/test/kotlin/com/beust/klaxon/InstanceSettingsTest.kt
package com.beust.klaxon import org.testng.annotations.Test import kotlin.test.assertContains import kotlin.test.assertFalse @Test class InstanceSettingsTest { @Suppress("unused") class UnannotatedGeolocationCoordinates( val latitude: Int, val longitude: Int, val speed: Int? // nullab...
apache-2.0
Kotlin
cfa063f4ccf948ca8032bd55ac8f17bd45e7c6cb
add two numbers
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/addtwonumbers/AddTwoNumbers.kt
kotlin/src/katas/kotlin/leetcode/addtwonumbers/AddTwoNumbers.kt
package katas.kotlin.leetcode.addtwonumbers import kotlincommon.test.shouldEqual import org.junit.Test class AddTwoNumbers { @Test fun `convert integer to linked list`() { 0.toLinkedList() shouldEqual Node(0) 1.toLinkedList() shouldEqual Node(1) 12.toLinkedList() shouldEqual Node(2).linked...
package katas.kotlin.leetcode.addtwonumbers import kotlincommon.test.shouldEqual import org.junit.Test class AddTwoNumbers { @Test fun `convert integer to linked list`() { 0.toLinkedList() shouldEqual Node(0) 1.toLinkedList() shouldEqual Node(1) 12.toLinkedList() shouldEqual Node(2).linked...
unlicense
Kotlin
34efec9ca4539e55c18d3c890c1fa22fcbd6274e
Add MainActivityUi
igorini/kotlin-android-app
app/src/main/java/com/igorini/kotlin/android/app/MainActivity.kt
app/src/main/java/com/igorini/kotlin/android/app/MainActivity.kt
package com.igorini.kotlin.android.app import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.view.Window import android.widget.Button import android.widget.EditText import org.jetbrains.anko.* /** Represents a main activity */ class MainActivity : AppCompatActivity() { override ...
package com.igorini.kotlin.android.app import android.os.Bundle import android.support.v7.app.AppCompatActivity import android.view.Window /** Represents a main activity */ class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) ...
apache-2.0
Kotlin
acd00352fe93d7056995ff866c5bcebb08795898
Enable purchase flow testing
StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android
app/src/main/java/org/stepic/droid/configuration/RemoteConfig.kt
app/src/main/java/org/stepic/droid/configuration/RemoteConfig.kt
package org.stepic.droid.configuration object RemoteConfig { const val PREFIX = "remote_config_" const val MIN_DELAY_RATE_DIALOG_SEC = "min_delay_rate_dialog_sec" const val SHOW_STREAK_DIALOG_AFTER_LOGIN = "show_streak_dialog_after_login" const val ADAPTIVE_COURSES = "adaptive_courses_android" con...
package org.stepic.droid.configuration object RemoteConfig { const val PREFIX = "remote_config_" const val MIN_DELAY_RATE_DIALOG_SEC = "min_delay_rate_dialog_sec" const val SHOW_STREAK_DIALOG_AFTER_LOGIN = "show_streak_dialog_after_login" const val ADAPTIVE_COURSES = "adaptive_courses_android" con...
apache-2.0
Kotlin
bb62887095a986d4957e5721e75094dc5e36ad81
create LoadingPlugin class
clappr/clappr-android,clappr/clappr-android
player/src/main/kotlin/com/globo/clappr/plugin/LoadingPlugin.kt
player/src/main/kotlin/com/globo/clappr/plugin/LoadingPlugin.kt
package com.globo.clappr.plugin import android.content.Context import com.globo.clappr.base.NamedType import com.globo.clappr.components.Container import com.globo.clappr.plugin.container.UIContainerPlugin open class LoadingPlugin(container: Container, context: Context) : UIContainerPlugin(container) { companion ...
bsd-3-clause
Kotlin
687df9b33ccfa267aae8c1c77d52ada7ed7f4759
bump rest-assured from 5.0.1 to 5.1.1 (via #774)
allure-framework/allure-java,allure-framework/allure-java
allure-rest-assured/build.gradle.kts
allure-rest-assured/build.gradle.kts
description = "Allure Rest-Assured Integration" val restAssuredVersion = "5.1.1" dependencies { api(project(":allure-attachments")) implementation("io.rest-assured:rest-assured:$restAssuredVersion") testImplementation("com.github.tomakehurst:wiremock") testImplementation("org.assertj:assertj-core") ...
description = "Allure Rest-Assured Integration" val restAssuredVersion = "5.0.1" dependencies { api(project(":allure-attachments")) implementation("io.rest-assured:rest-assured:$restAssuredVersion") testImplementation("com.github.tomakehurst:wiremock") testImplementation("org.assertj:assertj-core") ...
apache-2.0
Kotlin
00fd465ad68b9415030dbbe599b47f641222885c
Update DailyTextImexKit.kt
elifarley/kotlin-examples,elifarley/kotlin-misc-lib,elifarley/kotlin-examples,elifarley/kotlin-misc-lib
src/com/github/elifarley/kotlin/textfile/DailyTextImexKit.kt
src/com/github/elifarley/kotlin/textfile/DailyTextImexKit.kt
package com.orgecc.util.textfile import com.orgecc.util.DateTimeKit import com.orgecc.util.DateTimeKit.format import com.orgecc.util.io.IOWithDigest.MDReader import com.orgecc.util.io.IOWithDigest.MDWriter import com.orgecc.util.logger import com.orgecc.util.persistence.toConvertedArrayParams import java.nio.file.Path...
package com.orgecc.util.textfile import com.orgecc.util.DateTimeKit import com.orgecc.util.DateTimeKit.format import com.orgecc.util.io.IOWithDigest.MDReader import com.orgecc.util.io.IOWithDigest.MDWriter import com.orgecc.util.logger import com.orgecc.util.persistence.toConvertedArrayParams import java.nio.file.Path...
mit
Kotlin
fd945057e6539c6d8b3d8d8f546152241f5d9c7c
Fix error in role name
digammas/damas,digammas/damas,digammas/damas,digammas/damas
solutions.digamma.damas.jcr/src/main/kotlin/solutions/digamma/damas/jcr/repo/TopLevelNodeCreationJob.kt
solutions.digamma.damas.jcr/src/main/kotlin/solutions/digamma/damas/jcr/repo/TopLevelNodeCreationJob.kt
package solutions.digamma.damas.jcr.repo import solutions.digamma.damas.auth.JaasConfiguration import solutions.digamma.damas.jcr.content.JcrFile import solutions.digamma.damas.jcr.names.TypeNamespace import solutions.digamma.damas.jcr.repo.job.NodeCreation import solutions.digamma.damas.jcr.repo.job.RepositoryJob imp...
package solutions.digamma.damas.jcr.repo import solutions.digamma.damas.auth.JaasConfiguration import solutions.digamma.damas.jcr.content.JcrFile import solutions.digamma.damas.jcr.names.TypeNamespace import solutions.digamma.damas.jcr.repo.job.NodeCreation import solutions.digamma.damas.jcr.repo.job.RepositoryJob imp...
mit
Kotlin
1125ba22a193d5a7e5bed1274e4834b3ede1c724
Fix nullable VirtualFile in AtFile (Fixes #192)
DemonWav/MinecraftDev,DemonWav/MinecraftDev,minecraft-dev/MinecraftDev,minecraft-dev/MinecraftDev,DemonWav/IntelliJBukkitSupport,DemonWav/MinecraftDevIntelliJ,DemonWav/MinecraftDevIntelliJ,DemonWav/MinecraftDevIntelliJ,DemonWav/MinecraftDev,minecraft-dev/MinecraftDev
src/main/kotlin/com/demonwav/mcdev/platform/mcp/at/AtFile.kt
src/main/kotlin/com/demonwav/mcdev/platform/mcp/at/AtFile.kt
/* * Minecraft Dev for IntelliJ * * https://minecraftdev.org * * Copyright (c) 2017 minecraft-dev * * MIT License */ package com.demonwav.mcdev.platform.mcp.at import com.demonwav.mcdev.asset.PlatformAssets import com.demonwav.mcdev.facet.MinecraftFacet import com.demonwav.mcdev.platform.mcp.McpModuleType imp...
/* * Minecraft Dev for IntelliJ * * https://minecraftdev.org * * Copyright (c) 2017 minecraft-dev * * MIT License */ package com.demonwav.mcdev.platform.mcp.at import com.demonwav.mcdev.asset.PlatformAssets import com.demonwav.mcdev.facet.MinecraftFacet import com.demonwav.mcdev.platform.mcp.McpModuleType imp...
mit
Kotlin
8fcf23e4b7163f67cb420e09c23cc0bac5761f9e
Add Set<T>.plus naive implementation
kotlinx/kotlinx.html,kotlinx/kotlinx.html,kotlinx/kotlinx.html
shared/src/main/kotlin/api.kt
shared/src/main/kotlin/api.kt
package html4k import java.util.LinkedHashSet public trait TagConsumer<out R> { fun onTagStart(tag : Tag) fun onTagAttributeChange(tag : Tag, attribute : String, value : String) fun onTagEnd(tag : Tag) fun onTagContent(content : CharSequence) fun onTagContentEntity(entity : Entities) fun onCDA...
package html4k import java.util.LinkedHashSet public trait TagConsumer<out R> { fun onTagStart(tag : Tag) fun onTagAttributeChange(tag : Tag, attribute : String, value : String) fun onTagEnd(tag : Tag) fun onTagContent(content : CharSequence) fun onTagContentEntity(entity : Entities) fun onCDA...
apache-2.0
Kotlin
8e5ad4be03b71bc3c5e068f28c5d8b1364f83a7a
Fix API26 compatibility
nkming2/libutils-android,nkming2/libutils-android
src/main/kotlin/com/nkming/utils/widget/SimpleListItem2Holder.kt
src/main/kotlin/com/nkming/utils/widget/SimpleListItem2Holder.kt
package com.nkming.utils.widget import android.support.v7.widget.RecyclerView import android.view.View import android.widget.TextView class SimpleListItem2Holder(root: View, onClickListener: ((holder: SimpleListItem2Holder, position: Int) -> Unit)? = null) : RecyclerView.ViewHolder(root), View.OnClickListener...
package com.nkming.utils.widget import android.support.v7.widget.RecyclerView import android.view.View import android.widget.TextView class SimpleListItem2Holder(root: View, onClickListener: ((holder: SimpleListItem2Holder, position: Int) -> Unit)? = null) : RecyclerView.ViewHolder(root), View.OnClickListener...
mit
Kotlin
df26b0cd93b02fb6495ed83409cf07cd1d1c6898
Create AttributeConverters.kt
elifarley/kotlin-examples,elifarley/kotlin-examples,elifarley/kotlin-misc-lib,elifarley/kotlin-misc-lib
src/com/github/elifarley/kotlin/persistence/AttributeConverters.kt
src/com/github/elifarley/kotlin/persistence/AttributeConverters.kt
package com.github.elifarley.kotlin.persistence import java.sql.Date import java.sql.Timestamp import java.time.LocalDate import java.time.LocalDateTime import javax.persistence.AttributeConverter import javax.persistence.Converter @Converter(autoApply = true) class LocalDate2Date : AttributeConverter<LocalDate, Date...
mit
Kotlin
8d8d7abfba67b9b0eed7d3861fd780cee5785220
Fix multiple exception handler invocation in Android (#3056)
Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines
ui/kotlinx-coroutines-android/src/AndroidExceptionPreHandler.kt
ui/kotlinx-coroutines-android/src/AndroidExceptionPreHandler.kt
/* * Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package kotlinx.coroutines.android import android.os.* import androidx.annotation.* import kotlinx.coroutines.* import java.lang.reflect.* import kotlin.coroutines.* @Keep internal class AndroidExceptionPreH...
/* * Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. */ package kotlinx.coroutines.android import android.os.* import androidx.annotation.* import kotlinx.coroutines.* import java.lang.reflect.* import kotlin.coroutines.* @Keep internal class AndroidExceptionPreH...
apache-2.0
Kotlin
bc38a6b798114ef05509070a6816941f1e81f9da
Fix KSTypeReferenceSyntheticImpl
google/ksp,google/ksp,google/ksp
compiler-plugin/src/main/kotlin/com/google/devtools/ksp/symbol/impl/synthetic/KSTypeReferenceSyntheticImpl.kt
compiler-plugin/src/main/kotlin/com/google/devtools/ksp/symbol/impl/synthetic/KSTypeReferenceSyntheticImpl.kt
package com.google.devtools.ksp.symbol.impl.synthetic import com.google.devtools.ksp.symbol.KSAnnotation import com.google.devtools.ksp.symbol.KSNode import com.google.devtools.ksp.symbol.KSReferenceElement import com.google.devtools.ksp.symbol.KSType import com.google.devtools.ksp.symbol.KSTypeReference import com.go...
package com.google.devtools.ksp.symbol.impl.synthetic import com.google.devtools.ksp.symbol.KSAnnotation import com.google.devtools.ksp.symbol.KSNode import com.google.devtools.ksp.symbol.KSReferenceElement import com.google.devtools.ksp.symbol.KSType import com.google.devtools.ksp.symbol.KSTypeReference import com.go...
apache-2.0
Kotlin
4d36c5c9d83516459da160373d693d0d31afedfb
refactor #559 Remove unnecesary elvis.
toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
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
ae86679ac15548c5e54e75130f11198f2df0f409
Use https by default instead of http
xwiki-contrib/android-authenticator,xwiki-contrib/android-authenticator
app/src/main/java/org/xwiki/android/sync/utils/IntentUtils.kt
app/src/main/java/org/xwiki/android/sync/utils/IntentUtils.kt
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
lgpl-2.1
Kotlin
05fd6b3f9680a8fd8f0975bb2e6d137cca7cc617
Use a structure similar to the other inspections in UnsupportedXQueryVersionInspection.
rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin
src/main/java/uk/co/reecedunn/intellij/plugin/xquery/inspections/xquery/XQST0031/UnsupportedXQueryVersionInspection.kt
src/main/java/uk/co/reecedunn/intellij/plugin/xquery/inspections/xquery/XQST0031/UnsupportedXQueryVersionInspection.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
716a0c9bc2a5a5ac094924caea33b5e7ceedb885
Use Kotlin math functions for use on JVM and JS
fwilhe/Incell,sputnik27/Incell,fwilhe/Incell
src/main/kotlin/com/github/fwilhe/incell/StandardLibrary.kt
src/main/kotlin/com/github/fwilhe/incell/StandardLibrary.kt
package com.github.fwilhe.incell import kotlin.math.pow fun isEven(x: Int): Double = if (x.rem(2) == 0) 1.0 else 0.0 fun count(x: Int): Double = x.toDouble() fun sine(x: Int): Double = kotlin.math.sin(x.toDouble()) fun cosine(x: Int): Double = kotlin.math.cos(x.toDouble()) fun tangent(x: Int): Double = kotlin.math.t...
package com.github.fwilhe.incell fun isEven(x: Int): Double = if (x.rem(2) == 0) 1.0 else 0.0 fun count(x: Int): Double = x.toDouble() fun sine(x: Int): Double = Math.sin(x.toDouble()) fun cosine(x: Int): Double = Math.cos(x.toDouble()) fun tangent(x: Int): Double = Math.tan(x.toDouble()) fun logarithm(x: Int): Doubl...
mit
Kotlin
89e17e171310298a1ede26399b2b822cf0174601
Fix a copy/paste mistake in RsRefLikeType.isRef
intellij-rust/intellij-rust,intellij-rust/intellij-rust,d9n/intellij-rust,d9n/intellij-rust,himikof/intellij-rust,Undin/intellij-rust,anton-okolelov/intellij-rust,alygin/intellij-rust,intellij-rust/intellij-rust,alygin/intellij-rust,anton-okolelov/intellij-rust,intellij-rust/intellij-rust,alygin/intellij-rust,himikof/i...
src/main/kotlin/org/rust/lang/core/psi/ext/RsRefLikeType.kt
src/main/kotlin/org/rust/lang/core/psi/ext/RsRefLikeType.kt
package org.rust.lang.core.psi.ext import org.rust.lang.core.psi.RsRefLikeType val RsRefLikeType.isMut: Boolean get() = stub?.isMut ?: (mut != null) val RsRefLikeType.isRef: Boolean get() = stub?.isRef ?: (and != null)
package org.rust.lang.core.psi.ext import org.rust.lang.core.psi.RsRefLikeType val RsRefLikeType.isMut: Boolean get() = stub?.isMut ?: (mut != null) val RsRefLikeType.isRef: Boolean get() = stub?.isMut ?: (and != null)
mit
Kotlin
0ba589f2fbd2765d46a05cc046bca53df6635825
Fix deprecation warning in buildSrc
gradle/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,bli...
buildSrc/src/main/kotlin/plugins/kotlin-dsl-module.gradle.kts
buildSrc/src/main/kotlin/plugins/kotlin-dsl-module.gradle.kts
/* * Copyright 2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
Kotlin
e6e1caea8108e4a381b307b21c03090ba74dbf20
Update build.gradle.kts
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/services/textract/build.gradle.kts
kotlin/services/textract/build.gradle.kts
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.4.10" application } group = "me.scmacdon" version = "1.0-SNAPSHOT" repositories { mavenCentral() mavenLocal() } dependencies { api("aws.sdk.kotlin:textract:0.14.3-beta") testImplementation("org.junit.ju...
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.4.10" application } group = "me.scmacdon" version = "1.0-SNAPSHOT" repositories { mavenCentral() mavenLocal() } dependencies { api("aws.sdk.kotlin:textract:0.9.4-beta") testImplementation("org.junit.jup...
apache-2.0
Kotlin
99c4117a554524abffd403d517a10e4c979d3cd8
add `Logger` interface
jayrave/falkon
falkon-engine/src/main/kotlin/com/jayrave/falkon/engine/Logger.kt
falkon-engine/src/main/kotlin/com/jayrave/falkon/engine/Logger.kt
package com.jayrave.falkon.engine /** * **DO NOT USE [Logger] in PRODUCTION** */ interface Logger { /** * Called when the execution of the passed in SQL statement for the arguments * was successful */ fun onSuccessfullyExecuted(sql: String, arguments: Iterable<Any?>) /** * Called wh...
apache-2.0
Kotlin
44cbf1974a3b9d85ca2419600d516124f255c381
Update plugin com.diffplug.eclipse.apt to v3.34.0
domaframework/doma,domaframework/doma
settings.gradle.kts
settings.gradle.kts
pluginManagement { repositories { gradlePluginPortal() } plugins { id("com.diffplug.eclipse.apt") version "3.34.0" id("com.diffplug.spotless") version "6.0.4" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" id("net.researchgate.release") version "2.8.1" ...
pluginManagement { repositories { gradlePluginPortal() } plugins { id("com.diffplug.eclipse.apt") version "3.33.3" id("com.diffplug.spotless") version "6.0.4" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" id("net.researchgate.release") version "2.8.1" ...
apache-2.0
Kotlin
cd9d42b03781f4f54af8a6ac394484fd69e4ac0c
Check for .knownPackages instead of "SDK Readme.txt" when validating SDKs
madisp/lite-android,madisp/lite-android,madisp/lite-android
lite-android/src/main/kotlin/pink/madis/gradle/liteandroid/sdk.kt
lite-android/src/main/kotlin/pink/madis/gradle/liteandroid/sdk.kt
package pink.madis.gradle.liteandroid import org.apache.tools.ant.taskdefs.condition.Os import org.gradle.api.Project import java.io.File import java.io.FileNotFoundException import java.nio.charset.StandardCharsets import java.util.Properties fun ensureSdk(project: Project): Sdk { val location = findSdk(project) ...
package pink.madis.gradle.liteandroid import org.apache.tools.ant.taskdefs.condition.Os import org.gradle.api.Project import java.io.File import java.io.FileNotFoundException import java.nio.charset.StandardCharsets import java.util.Properties fun ensureSdk(project: Project): Sdk { val location = findSdk(project) ...
mit
Kotlin
e9b85bb0e2a703a08291df8aadc2efd3d4efba58
Fix IDE integration
gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,lsmaira/gradle,robinverduijn/gradle,gradle/gradle,lsmaira/gradle,blindpirate/gradle,lsmaira/gradle,lsmaira/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,bli...
subprojects/api-metadata/api-metadata.gradle.kts
subprojects/api-metadata/api-metadata.gradle.kts
import org.gradle.gradlebuild.ProjectGroups.javaProjects import org.gradle.gradlebuild.PublicApi import org.gradle.gradlebuild.unittestandcompile.ModuleType plugins { id("gradlebuild.api-metadata") } gradlebuildJava { moduleType = ModuleType.INTERNAL } apiMetadata { sources.from(provider { javaPr...
import org.gradle.gradlebuild.ProjectGroups.javaProjects import org.gradle.gradlebuild.PublicApi import org.gradle.gradlebuild.unittestandcompile.ModuleType plugins { id("gradlebuild.api-metadata") } gradlebuildJava { moduleType = ModuleType.INTERNAL } apiMetadata { sources.from(provider { javaPr...
apache-2.0
Kotlin
a2b4839dbe76bc41723db6b3ee077ac56a0cadbe
Update Guava to 28.0
BjoernPetersen/JMusicBot
buildSrc/src/main/kotlin/Lib.kt
buildSrc/src/main/kotlin/Lib.kt
object Lib { const val KOTLIN = Plugin.KOTLIN const val SLF4J = "1.8.0-beta4" const val KOTLIN_LOGGING = "1.6.26" const val KOTLIN_COROUTINES = "1.2.2" const val GUAVA = "28.0-android" const val GUICE = "4.2.2" const val SQLITE = "3.28.0" const val JBCRYPT = "0.4" const val JJWT = ...
object Lib { const val KOTLIN = Plugin.KOTLIN const val SLF4J = "1.8.0-beta4" const val KOTLIN_LOGGING = "1.6.26" const val KOTLIN_COROUTINES = "1.2.2" const val GUAVA = "27.1-android" const val GUICE = "4.2.2" const val SQLITE = "3.28.0" const val JBCRYPT = "0.4" const val JJWT = ...
mit
Kotlin
d214a773106192d775222f881a6b608ab00f6231
Add clearScreen functionality to Core module
ImXico/handy-gdx,ImXico/punk
core/src/main/kotlin/cyberpunk/core/Graphics.kt
core/src/main/kotlin/cyberpunk/core/Graphics.kt
@file:JvmName("Graphics") package cyberpunk.core import com.badlogic.gdx.Gdx import com.badlogic.gdx.graphics.GL20 /** * Clears the frame and depth buffers with the selected color. * * @param red red color value. * @param green green color value. * @param blue blue color value. * @param alpha optional color al...
mit
Kotlin
0ed2fc59fcb0d5f2f74331f57e3ed7bf82a037c6
add unity test environment annotation for run unity in @Before methods
JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity
rider/src/test/kotlin/base/integrationTests/UnityTestEnvironment.kt
rider/src/test/kotlin/base/integrationTests/UnityTestEnvironment.kt
package base.integrationTests import com.jetbrains.rider.test.framework.TestMethod @Target(AnnotationTarget.FUNCTION) annotation class UnityTestEnvironment( val resetEditorPrefs: Boolean = false, val useRiderTestPath: Boolean = false, val batchMode: Boolean = true ) class UnityTestEnvironmentInstance( ...
apache-2.0
Kotlin