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 |
|---|---|---|---|---|---|---|---|---|
a4758bcddc224df685761d3bad2e53131bb5e699 | Disable HomeActivityNavigationTests for now | chrisbanes/tivi,chrisbanes/tivi | app/src/test/java/app/tivi/HomeActivityNavigationTests.kt | app/src/test/java/app/tivi/HomeActivityNavigationTests.kt | /*
* Copyright 2018 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | /*
* Copyright 2018 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 in writ... | apache-2.0 | Kotlin |
2977a6fb9d670f85d39c2d609cbc795d955bec49 | Enable commit&push action from fixup | 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/rebase/GitAutoSquashCommitAction.kt | plugins/git4idea/src/git4idea/rebase/GitAutoSquashCommitAction.kt | // Copyright 2000-2018 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.rebase
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.project.Project
import com.intellij.openapi.vcs.changes.ChangeListManag... | // Copyright 2000-2018 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.rebase
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.project.Project
import com.intellij.openapi.vcs.changes.ChangeListManag... | apache-2.0 | Kotlin |
c709e2e6af311678aedbc7cc402c4f13a2cd9cc0 | Update the test loop accord to the signature changement | mencattini/eMuLATe,mencattini/eMuLATe,mencattini/eMuLATe,mencattini/eMuLATe | arl/src/main/kotlin/Main.kt | arl/src/main/kotlin/Main.kt |
import machine.learning.ARL
import java.io.File
import java.util.*
fun main(args : Array<String>) {
// we open the .dat file located in data
val myFile = File("data/EURUSD.dat").inputStream()
val array2 : ArrayList<Double> = arrayListOf()
myFile.bufferedReader().useLines { lines -> lines.forEach {
... |
import machine.learning.ARL
import java.io.File
import java.util.*
fun main(args : Array<String>) {
// we open the .dat file located in data
val myFile = File("data/EURUSD.dat").inputStream()
val array2 : ArrayList<Double> = arrayListOf()
myFile.bufferedReader().useLines { lines -> lines.forEach {
... | mit | Kotlin |
813fa06900755b8efea5a2bda245cce22709260f | Break out method | bmuschko/gradle-docker-plugin,bmuschko/gradle-docker-plugin,bmuschko/gradle-docker-plugin | buildSrc/src/main/kotlin/com/bmuschko/gradle/docker/ReleasePlugin.kt | buildSrc/src/main/kotlin/com/bmuschko/gradle/docker/ReleasePlugin.kt | package com.bmuschko.gradle.docker
import org.ajoberstar.gradle.git.base.GrgitPlugin
import org.ajoberstar.gradle.git.release.base.BaseReleasePlugin
import org.ajoberstar.gradle.git.release.base.ReleasePluginExtension
import org.ajoberstar.gradle.git.release.base.TagStrategy
import org.ajoberstar.gradle.git.release.op... | package com.bmuschko.gradle.docker
import org.ajoberstar.gradle.git.base.GrgitPlugin
import org.ajoberstar.gradle.git.release.base.BaseReleasePlugin
import org.ajoberstar.gradle.git.release.base.ReleasePluginExtension
import org.ajoberstar.gradle.git.release.base.TagStrategy
import org.ajoberstar.gradle.git.release.op... | apache-2.0 | Kotlin |
7fdd55c328e2f8741c1a32dc4986242826a1a828 | Fix missing metadata | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | buildSrc/src/main/kotlin/config/AndroidLibraryConfig.kt | buildSrc/src/main/kotlin/config/AndroidLibraryConfig.kt | /*
* Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license.
*/
@file:Suppress("PackageDirectoryMismatch")
import org.gradle.api.Action
import com.android.build.gradle.LibraryExtension as AndroidLibraryExtension
fun AndroidLibraryExtension.setDefaults() {
comp... | /*
* Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license.
*/
@file:Suppress("PackageDirectoryMismatch")
import org.gradle.api.Action
import com.android.build.gradle.LibraryExtension as AndroidLibraryExtension
fun AndroidLibraryExtension.setDefaults() {
comp... | apache-2.0 | Kotlin |
45e1e86e55ad221be1bd35bfc9a7ba04d6c43e9d | Remove unused bucketPrefix from Maven Mojo | cjkent/osiris,cjkent/osiris | maven-plugin/src/main/kotlin/ws/osiris/maven/Maven.kt | maven-plugin/src/main/kotlin/ws/osiris/maven/Maven.kt | package ws.osiris.maven
import org.apache.maven.plugin.AbstractMojo
import org.apache.maven.plugin.MojoFailureException
import org.apache.maven.plugins.annotations.Component
import org.apache.maven.plugins.annotations.LifecyclePhase
import org.apache.maven.plugins.annotations.Mojo
import org.apache.maven.plugins.annot... | package ws.osiris.maven
import org.apache.maven.plugin.AbstractMojo
import org.apache.maven.plugin.MojoFailureException
import org.apache.maven.plugins.annotations.Component
import org.apache.maven.plugins.annotations.LifecyclePhase
import org.apache.maven.plugins.annotations.Mojo
import org.apache.maven.plugins.annot... | apache-2.0 | Kotlin |
0b912e5a80daea57274a0cf073baee16e5cad2f5 | Make name more generic and representative | mikegehard/kotlinArchiveChannel | src/main/kotlin/io/github/mikegehard/slack/archive.kt | src/main/kotlin/io/github/mikegehard/slack/archive.kt | package io.github.mikegehard.slack
import io.github.mikegehard.slack.timeExtensions.daysAgo
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.Response
fun archiveChannels(host: SlackHost, minimumMembers: Int, archiveMessage: String?) {
getActiveChannels(host)
.filter { it.hasLessThan(m... | package io.github.mikegehard.slack
import io.github.mikegehard.slack.timeExtensions.daysAgo
import okhttp3.OkHttpClient
import okhttp3.Request
import okhttp3.Response
fun archiveChannels(host: SlackHost, minimumMembers: Int, archiveMessage: String?) {
getActiveChannels(host)
.filter { it.hasLessThan(m... | mit | Kotlin |
9b2bdd0965853ec1783c8c8b4c56161451e9b96a | Add sanity check test to get coverage working | WillowChat/Hopper,WillowChat/Hopper,WillowChat/Hopper | src/test/kotlin/chat/willow/hopper/HopperTests.kt | src/test/kotlin/chat/willow/hopper/HopperTests.kt | package chat.willow.hopper
import org.junit.Test
class HopperTests {
@Test fun `test sanity check`() {
}
} | isc | Kotlin | |
c0ceabad201a4ef38aafd385df0a5712246a2cd8 | fix spaceExistance | intellij-rust/intellij-toml | src/main/kotlin/org/toml/lang/core/parser/TomlParserDefinition.kt | src/main/kotlin/org/toml/lang/core/parser/TomlParserDefinition.kt | package org.toml.lang.core.parser
import com.intellij.lang.ASTNode
import com.intellij.lang.LanguageUtil
import com.intellij.lang.ParserDefinition
import com.intellij.lang.PsiParser
import com.intellij.lexer.Lexer
import com.intellij.openapi.project.Project
import com.intellij.psi.FileViewProvider
import com.intellij.... | package org.toml.lang.core.parser
import com.intellij.lang.ASTNode
import com.intellij.lang.ParserDefinition
import com.intellij.lang.PsiParser
import com.intellij.lexer.Lexer
import com.intellij.openapi.project.Project
import com.intellij.psi.FileViewProvider
import com.intellij.psi.PsiElement
import com.intellij.psi... | mit | Kotlin |
f5e004c61daa1b21a58a47f6a2d0d7d4e9e9ee1f | Update Strings Object | Homes-MinecraftServerMod/Homes,Homes-MinecraftServerMod/Homes | src/main/kotlin/com/masahirosaito/spigot/homes/Strings.kt | src/main/kotlin/com/masahirosaito/spigot/homes/Strings.kt | package com.masahirosaito.spigot.homes
import com.masahirosaito.spigot.homes.strings.ErrorStrings
import com.masahirosaito.spigot.homes.strings.HomeDisplayStrings
import com.masahirosaito.spigot.homes.strings.commands.InviteCommandStrings
import com.masahirosaito.spigot.homes.strings.commands.RemoveCommandStrings
obj... | package com.masahirosaito.spigot.homes
import org.bukkit.ChatColor
object Strings {
fun NO_DEFAULT_HOME(playerName: String)=
"$playerName's default home does not exist"
fun NO_NAMED_HOME(playerName: String, homeName: String) =
"$playerName's home named <$homeName> does not exist"
... | apache-2.0 | Kotlin |
8e3e14ad29904e0106e896882ca04ffdf528b6ed | Bump org.graalvm.buildtools.native from 0.9.17 to 0.9.18 (#4976) | open-telemetry/opentelemetry-java,open-telemetry/opentelemetry-java,open-telemetry/opentelemetry-java | settings.gradle.kts | settings.gradle.kts | pluginManagement {
plugins {
id("com.github.ben-manes.versions") version "0.44.0"
id("com.github.johnrengelman.shadow") version "7.1.2"
id("com.gradle.enterprise") version "3.11.4"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("org.jetbrains.kotlin.jvm") version "1.7.21"
id("o... | pluginManagement {
plugins {
id("com.github.ben-manes.versions") version "0.44.0"
id("com.github.johnrengelman.shadow") version "7.1.2"
id("com.gradle.enterprise") version "3.11.4"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("org.jetbrains.kotlin.jvm") version "1.7.21"
id("o... | apache-2.0 | Kotlin |
1f36fb08a6c6b4843d72c7608c04cdade445a9fd | Bump com.gradle.enterprise from 3.9 to 3.10.2 (#372) | 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.42.0"
id("com.github.johnrengelman.shadow") version "7.1.2"
id("com.gradle.enterprise") version "3.10.2"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
}
}
plugins {
id("com.gradle.enterprise")
}
dependencyR... | pluginManagement {
plugins {
id("com.github.ben-manes.versions") version "0.42.0"
id("com.github.johnrengelman.shadow") version "7.1.2"
id("com.gradle.enterprise") version "3.9"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
}
}
plugins {
id("com.gradle.enterprise")
}
dependencyReso... | apache-2.0 | Kotlin |
a0d1fe0dff47a44c78ce81ceb9f95443b13fdd24 | Remove the old Ebill clearing code. | jguerinet/MyMartlet-Android,jguerinet/MyMartlet,jguerinet/MyMartlet,jguerinet/MyMartlet,jguerinet/MyMartlet | app/src/main/java/com/guerinet/mymartlet/util/manager/ClearManager.kt | app/src/main/java/com/guerinet/mymartlet/util/manager/ClearManager.kt | /*
* Copyright 2014-2018 Julien Guerinet
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | /*
* Copyright 2014-2018 Julien Guerinet
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | apache-2.0 | Kotlin |
60e66117e3ef974f96baa5459326e99970f540c5 | Migrate RedirectActivity | auth0/Auth0.Android,auth0/Auth0.Android | auth0/src/main/java/com/auth0/android/provider/RedirectActivity.kt | auth0/src/main/java/com/auth0/android/provider/RedirectActivity.kt | package com.auth0.android.provider
import android.app.Activity
import android.content.Intent
import android.os.Bundle
import com.auth0.android.provider.AuthenticationActivity
public class RedirectActivity : Activity() {
public override fun onCreate(savedInstanceBundle: Bundle?) {
super.onCreate(savedInsta... | package com.auth0.android.provider;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import androidx.annotation.Nullable;
@SuppressLint("GoogleAppIndexingApiWarning")
public class RedirectActivity extends Activity {
@Override
public... | mit | Kotlin |
c94124093a93c9409d4a7b4f0e8a527da3a23d4d | Remove changeAction member | Doctoror/ParticleConstellationsLiveWallpaper,Doctoror/ParticleConstellationsLiveWallpaper | app/src/main/java/com/doctoror/particleswallpaper/presentation/presenter/ParticlesColorPreferencePresenter.kt | app/src/main/java/com/doctoror/particleswallpaper/presentation/presenter/ParticlesColorPreferencePresenter.kt | /*
* Copyright (C) 2017 Yaroslav Mytkalyk
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | /*
* Copyright (C) 2017 Yaroslav Mytkalyk
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | apache-2.0 | Kotlin |
4763a777dc85816716beca2b40ffbdbfeee51817 | Fix lastTry initial value | Le-Chiffre/Yttrium,RimmerM/Yttrium | Metrics-Server/src/com/rimmer/metrics/server/Sender.kt | Metrics-Server/src/com/rimmer/metrics/server/Sender.kt | package com.rimmer.metrics.server
import com.rimmer.metrics.Sender
import com.rimmer.metrics.generated.type.ErrorPacket
import com.rimmer.metrics.generated.type.ProfilePacket
import com.rimmer.metrics.generated.type.StatPacket
import com.rimmer.yttrium.server.ServerContext
import com.rimmer.yttrium.server.binary.Binar... | package com.rimmer.metrics.server
import com.rimmer.metrics.Sender
import com.rimmer.metrics.generated.type.ErrorPacket
import com.rimmer.metrics.generated.type.ProfilePacket
import com.rimmer.metrics.generated.type.StatPacket
import com.rimmer.yttrium.server.ServerContext
import com.rimmer.yttrium.server.binary.Binar... | mit | Kotlin |
85b663dcacab3c862883f183dd31115e793e7852 | refactor #827 Add test case. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | lib/src/test/java/jp/toastkid/lib/view/list/CommonItemCallbackTest.kt | lib/src/test/java/jp/toastkid/lib/view/list/CommonItemCallbackTest.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 |
e42700486ef8ed81fe58047b21f301a44c27fc42 | Fix review threads loading in timeline | 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/github/src/org/jetbrains/plugins/github/pullrequest/ui/timeline/GHPRReviewsThreadsModelsProviderImpl.kt | plugins/github/src/org/jetbrains/plugins/github/pullrequest/ui/timeline/GHPRReviewsThreadsModelsProviderImpl.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 org.jetbrains.plugins.github.pullrequest.ui.timeline
import com.intellij.openapi.Disposable
import org.jetbrains.plugins.github.api.data.pullrequest.GHPullRequestReviewTh... | // 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 org.jetbrains.plugins.github.pullrequest.ui.timeline
import com.intellij.openapi.Disposable
import org.jetbrains.plugins.github.api.data.pullrequest.GHPullRequestReviewTh... | apache-2.0 | Kotlin |
33e4f59ef6fdcd7a9b4ced81ef3a8c0bed2679e2 | bump com.diffplug.spotless from 6.9.1 to 6.11.0 (via #823) | allure-framework/allure-java,allure-framework/allure-java | settings.gradle.kts | settings.gradle.kts | rootProject.name = "allure-java"
include("allure-assertj")
include("allure-attachments")
include("allure-awaitility")
include("allure-bom")
include("allure-citrus")
include("allure-cucumber-jvm")
include("allure-cucumber2-jvm")
include("allure-cucumber3-jvm")
include("allure-cucumber4-jvm")
include("allure-cucumber5-j... | rootProject.name = "allure-java"
include("allure-assertj")
include("allure-attachments")
include("allure-awaitility")
include("allure-bom")
include("allure-citrus")
include("allure-cucumber-jvm")
include("allure-cucumber2-jvm")
include("allure-cucumber3-jvm")
include("allure-cucumber4-jvm")
include("allure-cucumber5-j... | apache-2.0 | Kotlin |
cc71dd585ad924cff89cdcb26c1bf2986a5adb2a | Upgrade to Shadow 5.2.0 | junit-team/junit-lambda,sbrannen/junit-lambda | settings.gradle.kts | settings.gradle.kts | pluginManagement {
plugins {
id("com.gradle.enterprise") version "3.0"
id("net.nemerosa.versioning") version "2.8.2"
id("com.github.ben-manes.versions") version "0.26.0"
id("com.diffplug.gradle.spotless") version "3.25.0"
id("org.ajoberstar.git-publish") version "2.1.1"
kotlin("jvm") version "1.3.50"
id(... | pluginManagement {
plugins {
id("com.gradle.enterprise") version "3.0"
id("net.nemerosa.versioning") version "2.8.2"
id("com.github.ben-manes.versions") version "0.26.0"
id("com.diffplug.gradle.spotless") version "3.25.0"
id("org.ajoberstar.git-publish") version "2.1.1"
kotlin("jvm") version "1.3.50"
id(... | epl-1.0 | Kotlin |
f8f695e903a07d0c2260082fd6cea50fcf2d6826 | Make visit methods internal | rock3r/detekt,MyDogTom/detekt,arturbosch/detekt,rock3r/detekt,arturbosch/detekt,Mauin/detekt,Mauin/detekt,Mauin/detekt,arturbosch/detekt,rock3r/detekt,Mauin/detekt | detekt-api/src/main/kotlin/io/gitlab/arturbosch/detekt/api/Junk.kt | detekt-api/src/main/kotlin/io/gitlab/arturbosch/detekt/api/Junk.kt | package io.gitlab.arturbosch.detekt.api
import com.intellij.lang.ASTNode
import org.jetbrains.kotlin.psi.KtElement
import org.jetbrains.kotlin.psi.KtPsiUtil
/**
* @author Artur Bosch
*/
private val identifierRegex = Regex("[aA-zZ]+([-][aA-zZ]+)*")
fun validateIdentifier(id: String) {
require(id.matches(identifie... | package io.gitlab.arturbosch.detekt.api
import com.intellij.lang.ASTNode
import org.jetbrains.kotlin.psi.KtElement
import org.jetbrains.kotlin.psi.KtPsiUtil
/**
* @author Artur Bosch
*/
private val identifierRegex = Regex("[aA-zZ]+([-][aA-zZ]+)*")
fun validateIdentifier(id: String) {
require(id.matches(identifie... | apache-2.0 | Kotlin |
849d80612fde739c1c404d88074b29557851653d | Update plugin com.diffplug.eclipse.apt to v3.35.0 | domaframework/doma,domaframework/doma | settings.gradle.kts | settings.gradle.kts | pluginManagement {
repositories {
gradlePluginPortal()
}
plugins {
id("com.diffplug.eclipse.apt") version "3.35.0"
id("com.diffplug.spotless") version "6.2.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.34.1"
id("com.diffplug.spotless") version "6.2.0"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
id("net.researchgate.release") version "2.8.1"
... | apache-2.0 | Kotlin |
5e4b878806b1eb8280e4df60c491f59388dacfe2 | Remove unused kotlinx-serialization plugin | NephyProject/Penicillin | settings.gradle.kts | settings.gradle.kts | rootProject.name = "penicillin"
pluginManagement {
repositories {
mavenCentral()
jcenter()
gradlePluginPortal()
maven(url = "https://kotlin.bintray.com/kotlin-eap")
}
resolutionStrategy {
eachPlugin {
when (requested.id.id) {
"com.jfrog.b... | pluginManagement {
repositories {
mavenCentral()
jcenter()
gradlePluginPortal()
maven(url = "https://kotlin.bintray.com/kotlin-eap")
}
resolutionStrategy {
eachPlugin {
when (requested.id.id) {
"kotlinx-serialization" -> {
... | mit | Kotlin |
d5ae4f95e3ad2a7cd29712d2ec70ccad2cc4b8b2 | Include build | SpineEventEngine/SpineEventEngine.github.io,SpineEventEngine/SpineEventEngine.github.io,SpineEventEngine/SpineEventEngine.github.io,SpineEventEngine/SpineEventEngine.github.io,SpineEventEngine/SpineEventEngine.github.io,SpineEventEngine/SpineEventEngine.github.io | settings.gradle.kts | settings.gradle.kts | /*
* Copyright 2020, TeamDev. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR... | /*
* Copyright 2020, TeamDev. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR... | apache-2.0 | Kotlin |
c4518874457509b630c5254d354bf0eccc58e434 | update rootProject name | wmh-demos/Secret,wmh-demos/Secret | settings.gradle.kts | settings.gradle.kts | rootProject.name = "Secret"
| rootProject.name = "TestProject"
| apache-2.0 | Kotlin |
655565edbabbdfafed7e06cb2fd7772aa2898a12 | Fix an issue that prevented overwriting named homes | Homes-MinecraftServerMod/Homes,Homes-MinecraftServerMod/Homes | src/main/kotlin/com/masahirosaito/spigot/homes/homedata/PlayerHome.kt | src/main/kotlin/com/masahirosaito/spigot/homes/homedata/PlayerHome.kt | package com.masahirosaito.spigot.homes.homedata
import com.masahirosaito.spigot.homes.exceptions.CanNotFindDefaultHomeException
import com.masahirosaito.spigot.homes.exceptions.CanNotFindNamedHomeException
import org.bukkit.ChatColor
import org.bukkit.OfflinePlayer
import org.bukkit.entity.Player
data class PlayerHom... | package com.masahirosaito.spigot.homes.homedata
import com.masahirosaito.spigot.homes.exceptions.CanNotFindDefaultHomeException
import com.masahirosaito.spigot.homes.exceptions.CanNotFindNamedHomeException
import org.bukkit.ChatColor
import org.bukkit.OfflinePlayer
import org.bukkit.entity.Player
data class PlayerHom... | apache-2.0 | Kotlin |
ee5dd8bbc48ae82332a52770a85abb8da4c92d11 | create a toggleDrawer() extension function | CruGlobal/android-gto-support,GlobalTechnology/android-gto-support,CruGlobal/android-gto-support | gto-support-androidx-drawerlayout/src/main/java/org/ccci/gto/android/common/androidx/drawerlayout/widget/DrawerLayout.kt | gto-support-androidx-drawerlayout/src/main/java/org/ccci/gto/android/common/androidx/drawerlayout/widget/DrawerLayout.kt | package org.ccci.gto.android.common.androidx.drawerlayout.widget
import androidx.drawerlayout.widget.DrawerLayout
fun DrawerLayout.toggleDrawer(gravity: Int, animate: Boolean = true) {
when {
isDrawerOpen(gravity) -> closeDrawer(gravity, animate)
else -> openDrawer(gravity, animate)
}
}
| mit | Kotlin | |
6c5feb215e58521f024958ead36e2c303e7dd5ee | Use non-deprecated XmlSlurper | gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpira... | subprojects/docs/src/snippets/dependencyManagement/workingWithDependencies-accessMetadataArtifact/kotlin/build.gradle.kts | subprojects/docs/src/snippets/dependencyManagement/workingWithDependencies-accessMetadataArtifact/kotlin/build.gradle.kts | // tag::accessing-metadata-artifact[]
import groovy.xml.XmlSlurper
plugins {
`java-library`
}
repositories {
mavenCentral()
}
dependencies {
implementation("com.google.guava:guava:18.0")
}
tasks.register("printGuavaMetadata") {
dependsOn(configurations.compileClasspath)
doLast {
val que... | // tag::accessing-metadata-artifact[]
import groovy.util.XmlSlurper
plugins {
`java-library`
}
repositories {
mavenCentral()
}
dependencies {
implementation("com.google.guava:guava:18.0")
}
tasks.register("printGuavaMetadata") {
dependsOn(configurations.compileClasspath)
doLast {
val qu... | apache-2.0 | Kotlin |
0ce8f2df404bd372e742dd49c4b47d84dd1c5892 | Make tooltipTxt nullable | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | views-appcompat/src/main/java/splitties/views/appcompat/Tooltip.kt | views-appcompat/src/main/java/splitties/views/appcompat/Tooltip.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 |
53e56514d1dd927dc2fa7bc3d777ca038d3f86e5 | refactor #309 Use property syntax. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/search/clip/ClipboardModule.kt | app/src/main/java/jp/toastkid/yobidashi/search/clip/ClipboardModule.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 |
d1c63102bea4671295917e2c8e2b9e5e53ee5f51 | refactor #518 Rename test case. | toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/test/java/jp/toastkid/yobidashi/libs/speech/SpeechMakerTest.kt | app/src/test/java/jp/toastkid/yobidashi/libs/speech/SpeechMakerTest.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 |
b1282ca0cfea764c464830d63f0bb7e806ded69f | Clean sound player | MakinGiants/android_banjo_tuner,MakinGiants/banjen,MakinGiants/banjen | app/src/main/java/com/makingiants/android/banjotuner/SoundPlayer.kt | app/src/main/java/com/makingiants/android/banjotuner/SoundPlayer.kt | package com.makingiants.android.banjotuner
import android.content.Context
import android.media.AudioManager
import android.media.MediaPlayer
import android.media.MediaPlayer.OnCompletionListener
import android.media.MediaPlayer.OnPreparedListener
/**
* Sound player for android
*/
class SoundPlayer(private val conte... | package com.makingiants.android.banjotuner
import android.content.Context
import android.media.AudioManager
import android.media.MediaPlayer
import android.media.MediaPlayer.OnCompletionListener
import android.media.MediaPlayer.OnPreparedListener
/**
* Sound player for android
*/
class SoundPlayer(private val conte... | mit | Kotlin |
e970cd593e981990b5d8af9e67de9e9c2f62c59e | Add javadoc to new UsbCommunication methods | mjdev/libaums,magnusja/libaums,magnusja/libaums,magnusja/libaums | libaums/src/main/java/com/github/mjdev/libaums/usb/UsbCommunication.kt | libaums/src/main/java/com/github/mjdev/libaums/usb/UsbCommunication.kt | /*
* (C) Copyright 2014 mjahnen <github@mgns.tech>
*
* 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 applicabl... | /*
* (C) Copyright 2014 mjahnen <github@mgns.tech>
*
* 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 applicabl... | apache-2.0 | Kotlin |
c30683c619368f4f79adb2277005b34458ced54d | rename NewFeatureTransformer -> FeatureTransformer | 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/sorting/MLCompletionSorter.kt | plugins/stats-collector/src/com/intellij/sorting/MLCompletionSorter.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 |
f42b84833712885c3c353f212521a3b5eb8ed63d | bump goomph from 3.38.0 to 3.39.0 in /buildSrc | spotbugs/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs | buildSrc/build.gradle.kts | buildSrc/build.gradle.kts | plugins {
`kotlin-dsl`
}
repositories {
gradlePluginPortal()
}
dependencies {
implementation("com.diffplug.gradle:goomph:3.39.0")
}
| plugins {
`kotlin-dsl`
}
repositories {
gradlePluginPortal()
}
dependencies {
implementation("com.diffplug.gradle:goomph:3.38.0")
}
| lgpl-2.1 | Kotlin |
052a73d3abe536c0f04b5c7b04d35123cc2500a8 | Update dependency com.squareup.moshi:moshi-kotlin-codegen to v1.14.0 (#7455) | square/okhttp,ze-pequeno/okhttp,ze-pequeno/okhttp,square/okhttp,square/okhttp,ze-pequeno/okhttp | samples/tlssurvey/build.gradle.kts | samples/tlssurvey/build.gradle.kts | plugins {
kotlin("jvm")
application
id("com.google.devtools.ksp").version("1.6.21-1.0.6")
}
application {
mainClass.set("okhttp3.survey.RunSurveyKt")
}
dependencies {
implementation("com.squareup.okhttp3:okhttp:5.0.0-alpha.10")
implementation("com.squareup.okhttp3:okhttp-coroutines:5.0.0-alpha.10")
impl... | plugins {
kotlin("jvm")
application
id("com.google.devtools.ksp").version("1.6.21-1.0.6")
}
application {
mainClass.set("okhttp3.survey.RunSurveyKt")
}
dependencies {
implementation("com.squareup.okhttp3:okhttp:5.0.0-alpha.10")
implementation("com.squareup.okhttp3:okhttp-coroutines:5.0.0-alpha.10")
impl... | apache-2.0 | Kotlin |
e937ecc8f28f8670555012056e627c76bf65633b | Add api url to config | fanart-tv/fanarttv-discord-update-bot | src/main/kotlin/tv/fanart/config/model/UpdateConfig.kt | src/main/kotlin/tv/fanart/config/model/UpdateConfig.kt | package tv.fanart.config.model
data class UpdateConfig(
val lastUpdate: Long?,
val serverTimezone: String?,
val apiKey: String?,
val apiUrl: String?,
val webhookId: Long,
val webhookToken: String,
val delay: Long?
) {
companion object {
const val DEFAULT_TIMEZONE = "GMT"
... | package tv.fanart.config.model
data class UpdateConfig(
val lastUpdate: Long?,
val serverTimezone: String?,
val apiKey: String?,
val webhookId: Long,
val webhookToken: String,
val delay: Long?
) {
companion object {
const val DEFAULT_TIMEZONE = "GMT"
const val DEFAULT_API_... | mit | Kotlin |
5dd87f5af1550e418dbfd2224e7e2eb0aee6c14f | Add sitemap and robots.txt | thatJavaNerd/gradle-bootstrap,thatJavaNerd/gradle-bootstrap,thatJavaNerd/gradle-bootstrap,thatJavaNerd/gradle-bootstrap | service/src/main/kotlin/net/dean/gbs/web/resources/IndexResource.kt | service/src/main/kotlin/net/dean/gbs/web/resources/IndexResource.kt | package net.dean.gbs.web.resources
import javax.ws.rs.Path
import javax.ws.rs.Produces
import javax.ws.rs.core.MediaType
import net.dean.gbs.web.views.IndexView
import javax.ws.rs.GET
Path("/")
public class IndexResource {
Produces(MediaType.TEXT_HTML)
GET public fun get(): IndexView = IndexView()
Path("... | package net.dean.gbs.web.resources
import javax.ws.rs.Path
import javax.ws.rs.Produces
import javax.ws.rs.core.MediaType
import net.dean.gbs.web.views.IndexView
import javax.ws.rs.GET
Path("/")
Produces(MediaType.TEXT_HTML)
public class IndexResource {
GET public fun get(): IndexView = IndexView()
Path("goog... | mit | Kotlin |
c7545851e94ce1c35422dc8728154bfd4d3c725a | Add plugin registry allowing to register own plugins at startup - #42 | arturbosch/TiNBo,arturbosch/TiNBo,arturbosch/TiNBo | src/main/java/com/gitlab/artismarti/tinbo/plugins/PluginRegistry.kt | src/main/java/com/gitlab/artismarti/tinbo/plugins/PluginRegistry.kt | package com.gitlab.artismarti.tinbo.plugins
import com.gitlab.artismarti.tinbo.config.HomeFolder
import com.gitlab.artismarti.tinbo.utils.printlnInfo
import org.apache.log4j.LogManager
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.beans.factory.support.BeanDefinitionRegistry
... | apache-2.0 | Kotlin | |
c2bd86551ba172b9f5f41b2c01c9d499cd4a011c | Bump com.gradle.enterprise in /.github/workflow-samples/kotlin-dsl | eskatos/gradle-command-action,eskatos/gradle-command-action,eskatos/gradle-command-action | .github/workflow-samples/kotlin-dsl/settings.gradle.kts | .github/workflow-samples/kotlin-dsl/settings.gradle.kts | plugins {
id("com.gradle.enterprise") version "3.10.2"
}
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
publishAlways()
isUploadInBackground = false
}
}
rootProject.name = "kotlin-dsl"
| plugins {
id("com.gradle.enterprise") version "3.10.1"
}
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
publishAlways()
isUploadInBackground = false
}
}
rootProject.name = "kotlin-dsl"
| mit | Kotlin |
1d40182b0ca23926f371898a65244a2d7d2ff0dd | Fix test task for soak tests | blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gra... | .teamcity/Gradle_Check/configurations/FunctionalTest.kt | .teamcity/Gradle_Check/configurations/FunctionalTest.kt | package configurations
import jetbrains.buildServer.configs.kotlin.v10.BuildType
import model.CIBuildModel
import model.OS
import model.TestCoverage
import model.TestType
class FunctionalTest(testCoverage : TestCoverage, bucket: Int = 0) : BuildType({
uuid = "${testCoverage.asId()}_$bucket"
extId = uuid
n... | package configurations
import jetbrains.buildServer.configs.kotlin.v10.BuildType
import model.CIBuildModel
import model.OS
import model.TestCoverage
import model.TestType
class FunctionalTest(testCoverage : TestCoverage, bucket: Int = 0) : BuildType({
uuid = "${testCoverage.asId()}_$bucket"
extId = uuid
n... | apache-2.0 | Kotlin |
78eb5f3430d9317f42bb4d525b485d22a40819e6 | make Sec-WebSocket-Key header optional | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-features/ktor-websockets/src/io/ktor/websocket/WebSocketUpgrade.kt | ktor-features/ktor-websockets/src/io/ktor/websocket/WebSocketUpgrade.kt | package io.ktor.websocket
import io.ktor.application.*
import io.ktor.content.*
import io.ktor.http.*
import io.ktor.http.cio.websocket.*
import io.ktor.http.websocket.*
import io.ktor.request.*
import kotlinx.coroutines.experimental.*
import kotlinx.coroutines.experimental.io.*
import kotlin.coroutines.experimental.*... | package io.ktor.websocket
import io.ktor.application.*
import io.ktor.content.*
import io.ktor.http.*
import io.ktor.http.cio.websocket.*
import io.ktor.http.websocket.*
import io.ktor.request.*
import kotlinx.coroutines.experimental.*
import kotlinx.coroutines.experimental.io.*
import kotlin.coroutines.experimental.*... | apache-2.0 | Kotlin |
bd2a503bee5409d51734392230f42ad8ee7a4b83 | Revert "revert workaround for now fixed vaadin-spring regression". Closes #140 | F43nd1r/acra-backend,F43nd1r/acra-backend,F43nd1r/acra-backend,F43nd1r/acra-backend | acrarium/src/main/kotlin/com/faendir/acra/ui/view/error/ErrorView.kt | acrarium/src/main/kotlin/com/faendir/acra/ui/view/error/ErrorView.kt | package com.faendir.acra.ui.view.error
import com.faendir.acra.i18n.Messages
import com.faendir.acra.ui.component.Translatable
import com.faendir.acra.ui.ext.Unit
import com.faendir.acra.ui.ext.setMargin
import com.faendir.acra.ui.view.Overview
import com.vaadin.flow.component.html.Paragraph
import com.vaadin.flow.com... | package com.faendir.acra.ui.view.error
import com.faendir.acra.i18n.Messages
import com.faendir.acra.ui.component.Translatable
import com.faendir.acra.ui.ext.Unit
import com.faendir.acra.ui.ext.setMargin
import com.faendir.acra.ui.view.Overview
import com.vaadin.flow.component.html.Paragraph
import com.vaadin.flow.com... | apache-2.0 | Kotlin |
92fd8c1473eba1144afdd957931c58e06c984ba3 | add discussion proxy for getting api | StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android | app/src/main/java/org/stepic/droid/model/comments/DiscussionProxy.kt | app/src/main/java/org/stepic/droid/model/comments/DiscussionProxy.kt | package org.stepic.droid.model.comments
data class DiscussionProxy(
val id: String,
val discussions: List<Long>,
val discussions_most_liked: List<Long>,
val discussions_most_active: List<Long>,
val discussions_recent_activity: List<Long>
)
| apache-2.0 | Kotlin | |
258c1aa370b108018f4c39cfb20eeea0bfa1e3c2 | Change the way data gets passed to SessionActivity | GDG-Nantes/devfest-android,GDG-Nantes/devfest-android,GDG-Nantes/devfest-android,GDG-Nantes/devfest-android | app/src/main/kotlin/com/gdgnantes/devfest/android/SessionActivity.kt | app/src/main/kotlin/com/gdgnantes/devfest/android/SessionActivity.kt | package com.gdgnantes.devfest.android
import android.content.Context
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import android.support.v7.app.ActionBar
import android.widget.TextSwitcher
import com.gdgnantes.devfest.android.app.BaseActivity
class SessionActivity : BaseActivity() {
... | package com.gdgnantes.devfest.android
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.support.v7.app.ActionBar
import android.widget.TextSwitcher
import com.gdgnantes.devfest.android.app.BaseActivity
import com.gdgnantes.devfest.android.app.PREFIX_EXTRA
class Sess... | apache-2.0 | Kotlin |
c9de13ad5613436c925cd85dad51d0ea8b91606b | bump json-unit from 2.25.0 to 2.26.0 (via #588) | allure-framework/allure-java,allure-framework/allure-java | allure-jsonunit/build.gradle.kts | allure-jsonunit/build.gradle.kts | description = "Allure JsonUnit Integration"
val agent: Configuration by configurations.creating
val jsonUnitVersion = "2.26.0"
dependencies {
agent("org.aspectj:aspectjweaver")
api(project(":allure-attachments"))
implementation("com.fasterxml.jackson.core:jackson-databind")
implementation("net.javacr... | description = "Allure JsonUnit Integration"
val agent: Configuration by configurations.creating
val jsonUnitVersion = "2.25.0"
dependencies {
agent("org.aspectj:aspectjweaver")
api(project(":allure-attachments"))
implementation("com.fasterxml.jackson.core:jackson-databind")
implementation("net.javacr... | apache-2.0 | Kotlin |
ab9c99f8fcf39b435b7cc82b98ee52ebe4337898 | make the Table class a data class | CruGlobal/android-gto-support,CruGlobal/android-gto-support,GlobalTechnology/android-gto-support | gto-support-db/src/main/java/org/ccci/gto/android/common/db/Table.kt | gto-support-db/src/main/java/org/ccci/gto/android/common/db/Table.kt | package org.ccci.gto.android.common.db
import android.os.Parcelable
import androidx.annotation.RestrictTo
import kotlinx.android.parcel.IgnoredOnParcel
import kotlinx.android.parcel.Parcelize
@Parcelize
data class Table<T : Any> internal constructor(
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) val type: Class<T>,... | package org.ccci.gto.android.common.db
import android.os.Parcelable
import androidx.annotation.RestrictTo
import kotlinx.android.parcel.IgnoredOnParcel
import kotlinx.android.parcel.Parcelize
@Parcelize
class Table<T : Any> private constructor(
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) val type: Class<T>,
p... | mit | Kotlin |
e1e34a2cc65ffa076d478a5a9dd6769395e1998e | Modify start-up to browser. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/main/StartUp.kt | app/src/main/java/jp/toastkid/yobidashi/main/StartUp.kt | package jp.toastkid.yobidashi.main
import android.support.annotation.IdRes
import android.support.annotation.StringRes
import jp.toastkid.yobidashi.R
/**
* Start-up view definition.
*
* @param titleId
* @param radioButtonId
*
* @author toastkidjp
*/
enum class StartUp(@StringRes val titleId: Int, @IdRes val ra... | package jp.toastkid.yobidashi.main
import android.support.annotation.IdRes
import android.support.annotation.StringRes
import jp.toastkid.yobidashi.R
/**
* Start-up view definition.
*
* @param titleId
* @param radioButtonId
*
* @author toastkidjp
*/
enum class StartUp(@StringRes val titleId: Int, @IdRes val ra... | epl-1.0 | Kotlin |
a226e6e101d09ad6837e1d196494af6cdc02d675 | Fix cartridge reading | suchaHassle/kotNES,suchaHassle/kotNES | src/Cartridge.kt | src/Cartridge.kt | package kotNES
import toUnsignedInt
import java.io.FileInputStream
class Cartridge(filePath: String) {
private val MAGIC_HEADER = 0x1A53454E
private var stream = FileInputStream(filePath)
private var data = ByteArray(stream.available())
private val prgROMSize: Int
private val chrROMSize: Int
... | package kotNES
import toUnsignedInt
import java.io.FileInputStream
class Cartridge(filePath: String) {
private val MAGIC_HEADER = 0x1A53454E
private var stream = FileInputStream(filePath)
private var data = ByteArray(stream.available())
private val prgROMSize: Int
private val chrROMSize: Int
... | mit | Kotlin |
81a3e0b2666f255ce35104cfc0ee3f87ea2ccbe0 | Optimize - RClipboard | WindSekirun/RichUtilsKt,WindSekirun/RichUtilsKt | RichUtils/src/main/java/pyxis/uzuki/live/richutilskt/utils/RClipboard.kt | RichUtils/src/main/java/pyxis/uzuki/live/richutilskt/utils/RClipboard.kt | @file:JvmName("Utils")
@file:JvmMultifileClass
package pyxis.uzuki.live.richutilskt.utils
import android.content.ClipData
import android.content.ClipboardManager
import android.content.Context
/**
* copy text to clipboard
*
* @param[text] to copy
*/
fun Context.copyText(text: CharSequence) {
val clipboard = ... | @file:JvmName("Utils")
@file:JvmMultifileClass
package pyxis.uzuki.live.richutilskt.utils
import android.content.ClipData
import android.content.ClipboardManager
import android.content.Context
/**
* copy text to clipboard
*
* @param[text] to copy
*/
fun Context.copyText(text: CharSequence) {
val clipboard = ... | apache-2.0 | Kotlin |
6dac48c6766f332396d818ed9d611b6986720b8c | refactor #529 Add @ColorInt annotation. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | article/src/main/java/jp/toastkid/article_viewer/article/list/Adapter.kt | article/src/main/java/jp/toastkid/article_viewer/article/list/Adapter.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 |
e5e20d403820e9d4965bbf9331aa0354c3ac25e9 | Allow getCookiesFromUrl to return empty string if no cookies are (#118) | Mindera/skeletoid,Mindera/skeletoid | base/src/main/java/com/mindera/skeletoid/webview/cookies/CookiesUtils.kt | base/src/main/java/com/mindera/skeletoid/webview/cookies/CookiesUtils.kt | package com.mindera.skeletoid.webview.cookies
import android.webkit.CookieManager
import com.mindera.skeletoid.logs.LOG
object CookiesUtils {
private const val LOG_TAG = "CookiesUtils"
fun getCookiesFromUrl(url: String): String {
val cookieManager = CookieManager.getInstance()
return cookie... | package com.mindera.skeletoid.webview.cookies
import android.webkit.CookieManager
import com.mindera.skeletoid.logs.LOG
object CookiesUtils {
private const val LOG_TAG = "CookiesUtils"
fun getCookiesFromUrl(url: String): String {
val cookieManager = CookieManager.getInstance()
return cookie... | mit | Kotlin |
497ea679855bb87a74bcb133e4b65b61195e558a | Use sonarqube-gradle-plugin v.2.7.1. | EventFahrplan/EventFahrplan,EventFahrplan/EventFahrplan | buildSrc/src/main/kotlin/nerd/tuxmobil/fahrplan/congress/Dependencies.kt | buildSrc/src/main/kotlin/nerd/tuxmobil/fahrplan/congress/Dependencies.kt | @file:Suppress("MayBeConstant", "unused")
package nerd.tuxmobil.fahrplan.congress
object Versions {
val androidGradle = "3.3.2"
val assertjAndroid = "1.2.0"
val emailIntentBuilder = "1.0.0"
val espresso = "3.0.2"
val gradleVersions = "0.21.0"
val junit = "4.12"
val kotlin = "1.3.30"
va... | @file:Suppress("MayBeConstant", "unused")
package nerd.tuxmobil.fahrplan.congress
object Versions {
val androidGradle = "3.3.2"
val assertjAndroid = "1.2.0"
val emailIntentBuilder = "1.0.0"
val espresso = "3.0.2"
val gradleVersions = "0.21.0"
val junit = "4.12"
val kotlin = "1.3.30"
va... | apache-2.0 | Kotlin |
27bd9cd39b353e56a0ce6c7ef239a524cf528219 | Update EventView.kt | BreakOutEvent/breakout-backend,BreakOutEvent/breakout-backend,BreakOutEvent/breakout-backend | src/main/java/backend/view/EventView.kt | src/main/java/backend/view/EventView.kt | package backend.view
import backend.model.event.Event
import com.fasterxml.jackson.annotation.JsonProperty
import org.hibernate.validator.constraints.SafeHtml
import org.hibernate.validator.constraints.SafeHtml.WhiteListType.NONE
import java.time.ZoneOffset
import javax.validation.Valid
import javax.validation.constra... | package backend.view
import backend.model.event.Event
import com.fasterxml.jackson.annotation.JsonProperty
import org.hibernate.validator.constraints.SafeHtml
import org.hibernate.validator.constraints.SafeHtml.WhiteListType.NONE
import java.time.ZoneOffset
import javax.validation.Valid
import javax.validation.constra... | agpl-3.0 | Kotlin |
ac81e8e9aa3d76d85afc562e39ebe7705d968c3a | refactor #335 Move lambda argument out of parentheses. | 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 |
cd5aa228a1b079dd723866380ece70a4222230ce | Remove unused dependency | blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpira... | subprojects/enterprise/build.gradle.kts | subprojects/enterprise/build.gradle.kts | plugins {
id("gradlebuild.distribution.api-java")
}
dependencies {
api(project(":base-services")) // leaks BuildOperationNotificationListener on API
implementation(libs.jsr305)
implementation(libs.inject)
implementation(project(":logging"))
implementation(project(":core-api"))
implementati... | plugins {
id("gradlebuild.distribution.api-java")
}
dependencies {
api(project(":base-services")) // leaks BuildOperationNotificationListener on API
implementation(libs.jsr305)
implementation(libs.inject)
implementation(libs.groovyJson)
implementation(project(":logging"))
implementation(pr... | apache-2.0 | Kotlin |
a0631741a01522ea63578b7e28760dadcdb8ae99 | Fix fee command message | Homes-MinecraftServerMod/Homes,Homes-MinecraftServerMod/Homes | src/main/kotlin/com/masahirosaito/spigot/homes/commands/PlayerCommand.kt | src/main/kotlin/com/masahirosaito/spigot/homes/commands/PlayerCommand.kt | package com.masahirosaito.spigot.homes.commands
import com.masahirosaito.spigot.homes.exceptions.NotHavePermissionException
import org.bukkit.entity.Player
interface PlayerCommand : BaseCommand {
val permissions: List<String>
fun fee(): Double
fun execute(player: Player, args: List<String>)
fun onC... | package com.masahirosaito.spigot.homes.commands
import com.masahirosaito.spigot.homes.exceptions.NotHavePermissionException
import org.bukkit.entity.Player
interface PlayerCommand : BaseCommand {
val permissions: List<String>
fun fee(): Double
fun execute(player: Player, args: List<String>)
fun onC... | apache-2.0 | Kotlin |
f74e74b9cea3d30366eddd807d4446ee9b9cb194 | Add AsyncLoader CacheLoader implementation | BjoernPetersen/JMusicBot | src/main/kotlin/net/bjoernpetersen/musicbot/api/cache/AsyncLoader.kt | src/main/kotlin/net/bjoernpetersen/musicbot/api/cache/AsyncLoader.kt | package net.bjoernpetersen.musicbot.api.cache
import com.google.common.annotations.Beta
import com.google.common.cache.CacheLoader
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Deferred
import kotlinx.coroutines.async
/**
* Guava CacheLoader storing deferred results as values.
*
* @param scope... | mit | Kotlin | |
46a77577181889855882f072f3ae58ba5b803352 | Update main.kt | brianmadden/krawler | example/src/main/kotlin/main.kt | example/src/main/kotlin/main.kt | /**
* Created by brian.a.madden@gmail.com on 12/23/16.
*
* Copyright (c) <2016> <H, llc>
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation t... | /**
* Created by brian.a.madden@gmail.com on 12/23/16.
*
* Copyright (c) <2016> <H, llc>
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation t... | mit | Kotlin |
a6767866890c2f3f26a69697ca063a39cffff091 | Set files outside of workspace as excluded-by-default | fwcd/kotlin-language-server,fwcd/kotlin-language-server,fwcd/kotlin-language-server | shared/src/main/kotlin/org/javacs/kt/SourceExclusions.kt | shared/src/main/kotlin/org/javacs/kt/SourceExclusions.kt | package org.javacs.kt
import org.javacs.kt.util.filePath
import java.net.URI
import java.nio.file.Path
import java.nio.file.Paths
// TODO: Read exclusions from gitignore/settings.json/... instead of
// hardcoding them
class SourceExclusions(private val workspaceRoots: Collection<Path>) {
private val excludedFolders ... | package org.javacs.kt
import org.javacs.kt.util.filePath
import java.net.URI
import java.nio.file.Path
import java.nio.file.Paths
// TODO: Read exclusions from gitignore/settings.json/... instead of
// hardcoding them
class SourceExclusions(private val workspaceRoots: Collection<Path>) {
private val excludedFolders ... | mit | Kotlin |
42831d6a6040204521f74786e3033d3aa002f945 | Improve handling of unknown arguments | EvidentSolutions/apina,EvidentSolutions/apina,EvidentSolutions/apina | apina-cli/src/main/kotlin/fi/evident/apina/cli/CommandLineArguments.kt | apina-cli/src/main/kotlin/fi/evident/apina/cli/CommandLineArguments.kt | package fi.evident.apina.cli
import fi.evident.apina.model.settings.Platform
import java.util.*
internal class CommandLineArguments {
val files = mutableListOf<String>()
val blackBoxPatterns = mutableListOf<String>()
val controllerPatterns = mutableListOf<String>()
val imports = mutableListOf<ImportA... | package fi.evident.apina.cli
import fi.evident.apina.model.settings.Platform
import java.util.*
internal class CommandLineArguments {
val files = mutableListOf<String>()
val blackBoxPatterns = mutableListOf<String>()
val controllerPatterns = mutableListOf<String>()
val imports = mutableListOf<ImportA... | mit | Kotlin |
ed86012dfad362224a280cc9f015aa5e32414154 | hide default dialog title bar | StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android | app/src/main/java/org/stepic/droid/ui/dialogs/LoadingProgressDialog.kt | app/src/main/java/org/stepic/droid/ui/dialogs/LoadingProgressDialog.kt | package org.stepic.droid.ui.dialogs
import android.app.Dialog
import android.content.Context
import android.os.Bundle
import android.support.annotation.StringRes
import android.view.Window
import kotlinx.android.synthetic.main.dialog_progress.*
import org.stepic.droid.R
class LoadingProgressDialog
@JvmOverloads con... | package org.stepic.droid.ui.dialogs
import android.app.Dialog
import android.content.Context
import android.os.Bundle
import android.support.annotation.StringRes
import kotlinx.android.synthetic.main.dialog_progress.*
import org.stepic.droid.R
class LoadingProgressDialog
@JvmOverloads constructor(
context: ... | apache-2.0 | Kotlin |
496c3aec336b5abca02b15aab820ff73a0b5f153 | Fix page list count api call only working on downloaded chapters | TachiWeb/TachiWeb-Server,TachiWeb/TachiWeb-Server,TachiWeb/TachiWeb-Server,TachiWeb/TachiWeb-Server,TachiWeb/TachiWeb-Server | TachiServer/src/main/java/xyz/nulldev/ts/api/http/manga/PageCountRoute.kt | TachiServer/src/main/java/xyz/nulldev/ts/api/http/manga/PageCountRoute.kt | /*
* Copyright 2016 Andy Bao
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writ... | /*
* Copyright 2016 Andy Bao
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writ... | apache-2.0 | Kotlin |
8173b340334a3c27e91f22148a5fca6d8827f3f6 | Refactor a bit to use a property rather than a method for cursor. | jasonwyatt/AsyncListUtil-Example,jasonwyatt/AsyncListUtil-Example | app/src/main/java/co/jasonwyatt/asynclistutil_example/SQLiteItemSource.kt | app/src/main/java/co/jasonwyatt/asynclistutil_example/SQLiteItemSource.kt | package co.jasonwyatt.asynclistutil_example
import android.annotation.SuppressLint
import android.database.Cursor
import android.database.sqlite.SQLiteDatabase
class SQLiteItemSource(val database: SQLiteDatabase) : ItemSource {
private var _cursor: Cursor? = null
private val cursor: Cursor
@SuppressLi... | package co.jasonwyatt.asynclistutil_example
import android.annotation.SuppressLint
import android.database.Cursor
import android.database.sqlite.SQLiteDatabase
class SQLiteItemSource(val database: SQLiteDatabase) : ItemSource {
private var _cursor: Cursor? = null
@SuppressLint("Recycle")
private fun curso... | unlicense | Kotlin |
c1ab7022f9a47f6aaecc917cab561b27dbbb864f | remove rawPart | http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k | http4k-multipart/src/main/kotlin/org/http4k/multipart/MultipartForm.kt | http4k-multipart/src/main/kotlin/org/http4k/multipart/MultipartForm.kt | package org.http4k.multipart
import org.http4k.multipart.part.Part
data class MultipartForm(val parts: List<Part>)
fun main(args: Array<String>) {
val builder = ValidMultipartFormBuilder("bob".toByteArray())
builder.part("content")
// builder.attachment()
} | package org.http4k.multipart
import org.http4k.multipart.part.Part
data class MultipartForm(val parts: List<Part>)
fun main(args: Array<String>) {
val builder = ValidMultipartFormBuilder("bob".toByteArray())
builder.part("content")
builder.attachment()
} | apache-2.0 | Kotlin |
376561bceb19707ecb0fd0ea3585a26f585e65b6 | Fix hardcoded toolbar icon tint | pyamsoft/pydroid | ui/src/main/java/com/pyamsoft/pydroid/ui/util/Toolbar.kt | ui/src/main/java/com/pyamsoft/pydroid/ui/util/Toolbar.kt | /*
* Copyright (C) 2018 Peter Kenji Yamanaka
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | /*
* Copyright (C) 2018 Peter Kenji Yamanaka
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | apache-2.0 | Kotlin |
4f3992e6f3926e066efb787715f6025c29fc1b6f | use promises to run on the UI thread | meh/watch_doge,meh/watch_doge,meh/watch_doge | src/main/java/meh/watchdoge/ui/ProgressFragment.kt | src/main/java/meh/watchdoge/ui/ProgressFragment.kt | package meh.watchdoge.ui;
import android.os.Bundle;
import meh.watchdoge.R;
import org.jetbrains.anko.*;
import android.util.Log;
import nl.komponents.kovenant.*;
import nl.komponents.kovenant.ui.*;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import and... | package meh.watchdoge.ui;
import android.os.Bundle;
import meh.watchdoge.R;
import org.jetbrains.anko.*;
import android.util.Log;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import android.view.View;
import android.widget.FrameLayout;
import android.widg... | agpl-3.0 | Kotlin |
cd16664c2e6861306ca231658c471d59cf0aadc8 | Add null check | blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpira... | gradle/shared-with-buildSrc/mirrors.settings.gradle.kts | gradle/shared-with-buildSrc/mirrors.settings.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 |
0a1666f0aca9d532445c5f67accc40e27ffbe7f3 | Add KDoc to generateViewId() method | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | views/src/main/java/splitties/views/ViewIdsGenerator.kt | views/src/main/java/splitties/views/ViewIdsGenerator.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 |
575eb998fc08861b7c92e6fa9861fe5a53cf3313 | Fix openness of a function. | jguerinet/MyMartlet,jguerinet/MyMartlet-Android,jguerinet/MyMartlet,jguerinet/MyMartlet,jguerinet/MyMartlet | app/src/main/java/com/guerinet/mymartlet/util/room/daos/StatementDao.kt | app/src/main/java/com/guerinet/mymartlet/util/room/daos/StatementDao.kt | /*
* Copyright 2014-2018 Julien Guerinet
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | /*
* Copyright 2014-2018 Julien Guerinet
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | apache-2.0 | Kotlin |
342c0639092bbdd25dc2aff6e06e1c72cf2c5632 | refactor Replace apply with also in CardViewActivity. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/planning_poker/CardViewActivity.kt | app/src/main/java/jp/toastkid/yobidashi/planning_poker/CardViewActivity.kt | package jp.toastkid.yobidashi.planning_poker
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v7.app.AppCompatActivity
import jp.toastkid.yobidashi.R
/**
* For using displaying selected card.
*
* @author toastkidjp
... | package jp.toastkid.yobidashi.planning_poker
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.support.v4.app.Fragment
import android.support.v7.app.AppCompatActivity
import jp.toastkid.yobidashi.R
/**
* For using displaying selected card.
*
* @author toastkidjp
... | epl-1.0 | Kotlin |
0c71dca739ce81b2fdfcdbb4e2887acf4a860428 | refactor #853 Call hiding action-bar. | 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 |
5af0f668d8fb2dad6612cb8f415810d9864f9d3d | Update documentation for Reference | Saketme/JRAW,thatJavaNerd/JRAW,Saketme/JRAW,thatJavaNerd/JRAW,Saketme/JRAW,thatJavaNerd/JRAW | lib/src/main/kotlin/net/dean/jraw/references/Reference.kt | lib/src/main/kotlin/net/dean/jraw/references/Reference.kt | package net.dean.jraw.references
/**
* A Reference is a cheap to create, conceptual link to a reddit resource.
*
* References have a subject that describes the name or ID of the resource they are referencing. For example, a
* [SubredditReference] created for /r/pics would have the subject "pics".
*
* References ... | package net.dean.jraw.references
/**
* A Reference is a cheap to create, conceptual link to a reddit resource.
*
* References have a subject that describes the name or ID of the resource they are referencing. For example, a
* [SubredditReference] created for /r/pics would have the subject "pics".
*
* References ... | mit | Kotlin |
c590571df6c85b1e99466ca0ce02695029235018 | add StreamCipherInputStream.source | JetBrains/xodus,JetBrains/xodus,JetBrains/xodus | openAPI/src/main/kotlin/jetbrains/exodus/crypto/StreamCipherInputStream.kt | openAPI/src/main/kotlin/jetbrains/exodus/crypto/StreamCipherInputStream.kt | /**
* Copyright 2010 - 2019 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 a... | /**
* Copyright 2010 - 2019 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 a... | apache-2.0 | Kotlin |
0ec00b09ac4eeb6e3ecb8011b3da4f519c405b4b | Handle errors sending as if the user disconnected. | codeka/wwmmo,codeka/wwmmo,codeka/wwmmo,codeka/wwmmo,codeka/wwmmo,codeka/wwmmo | server/src/main/kotlin/au/com/codeka/warworlds/server/net/Connection.kt | server/src/main/kotlin/au/com/codeka/warworlds/server/net/Connection.kt | package au.com.codeka.warworlds.server.net
import au.com.codeka.warworlds.common.Log
import au.com.codeka.warworlds.common.debug.PacketDebug
import au.com.codeka.warworlds.common.net.PacketDecoder
import au.com.codeka.warworlds.common.net.PacketEncoder
import au.com.codeka.warworlds.common.proto.Account
import au.com.... | package au.com.codeka.warworlds.server.net
import au.com.codeka.warworlds.common.Log
import au.com.codeka.warworlds.common.debug.PacketDebug
import au.com.codeka.warworlds.common.net.PacketDecoder
import au.com.codeka.warworlds.common.net.PacketEncoder
import au.com.codeka.warworlds.common.proto.Account
import au.com.... | mit | Kotlin |
57894634e34d273d8c2f46897c63bc92df3f2207 | refactor #620 Rename test case. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | todo/src/test/java/jp/toastkid/todo/view/item/menu/ItemMenuPopupTest.kt | todo/src/test/java/jp/toastkid/todo/view/item/menu/ItemMenuPopupTest.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 |
8fecd4e9006fb0e877eb43b03332bcea69ea31ef | Add extensions for CharSequence.isEmpty and TextView.content that accepts CharSequence | 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/util/Extensions.kt | app/src/main/java/chat/rocket/android/util/Extensions.kt | package chat.rocket.android.util
import android.support.annotation.LayoutRes
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import ru.noties.markwon.Markwon
fun String.ifEmpty(value: String): String {
if (isEmpty()) {
return value
... | package chat.rocket.android.util
import android.support.annotation.LayoutRes
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
fun String.ifEmpty(value: String): String {
if (isEmpty()) {
return value
}
return this
}
fun View.... | mit | Kotlin |
1ba36c03a8af383f299eee03907ef64bdde80a4d | refactor #611 Extract to other function. | toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/main/RecentAppColoringUseCase.kt | app/src/main/java/jp/toastkid/yobidashi/main/RecentAppColoringUseCase.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 |
5a78baaa798220760c61b9a6cfa29ecc98aba679 | Change sender object of MainCommand to CommandSender | elsiff/MoreFish | src/main/kotlin/me/elsiff/morefish/command/MainCommand.kt | src/main/kotlin/me/elsiff/morefish/command/MainCommand.kt | package me.elsiff.morefish.command
import co.aikar.commands.BaseCommand
import co.aikar.commands.annotation.CommandAlias
import co.aikar.commands.annotation.Default
import co.aikar.commands.annotation.Subcommand
import me.elsiff.morefish.MoreFish
import me.elsiff.morefish.fishing.competition.FishingCompetition
import ... | package me.elsiff.morefish.command
import co.aikar.commands.BaseCommand
import co.aikar.commands.annotation.CommandAlias
import co.aikar.commands.annotation.Default
import co.aikar.commands.annotation.Subcommand
import me.elsiff.morefish.MoreFish
import me.elsiff.morefish.fishing.competition.FishingCompetition
import ... | mit | Kotlin |
03e77b4804ac377621399ec61dac36dde0e7780a | Update ListClusters.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/emr/src/main/kotlin/com/kotlin/emr/ListClusters.kt | .kotlin_alpha/services/emr/src/main/kotlin/com/kotlin/emr/ListClusters.kt | //snippet-sourcedescription:[ListClusters.kt demonstrates how to list clusters.]
//snippet-keyword:[AWS SDK for Kotlin]
//snippet-keyword:[Code Sample]
//snippet-keyword:[Amazon EMR]
//snippet-sourcetype:[full-example]
//snippet-sourcedate:[07/19/2021]
//snippet-sourceauthor:[scmacdon AWS]
/*
Copyright Amazo... | //snippet-sourcedescription:[ListClusters.kt demonstrates how to list clusters.]
//snippet-keyword:[AWS SDK for Kotlin]
//snippet-keyword:[Code Sample]
//snippet-keyword:[Amazon EMR]
//snippet-sourcetype:[full-example]
//snippet-sourcedate:[07/19/2021]
//snippet-sourceauthor:[scmacdon AWS]
/*
Copyright Amazo... | apache-2.0 | Kotlin |
4ff9993990501ed5084400e3a00f44b3a2b71263 | fix the bug | songzhw/AndroidArchitecture,songzhw/AndroidArchitecture,songzhw/AndroidArchitecture | CoroutineFlowLiveData/app/src/main/java/ca/six/archi/cfl/MainViewModel.kt | CoroutineFlowLiveData/app/src/main/java/ca/six/archi/cfl/MainViewModel.kt | package ca.six.archi.cfl
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.liveData
import ca.six.archi.cfl.core.Http
import ca.six.archi.cfl.data.Plant
import kotlinx.coroutines.Dispatchers
class MainViewModel : ViewModel() {
... | package ca.six.archi.cfl
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.liveData
import ca.six.archi.cfl.core.Http
import ca.six.archi.cfl.data.Plant
import kotlinx.coroutines.Dispatchers
class MainViewModel : ViewModel() {
... | apache-2.0 | Kotlin |
5bd2b291b0a06aae58c1373d77aaaae23b6663d6 | Update AGP for AS 4.1.3 | LISTEN-moe/android-app | buildSrc/src/main/kotlin/Dependencies.kt | buildSrc/src/main/kotlin/Dependencies.kt | object Versions {
const val KTLINT = "0.36.0"
}
object BuildPluginsVersion {
const val AGP = "4.1.3"
const val KOTLIN = "1.4.31"
const val KTLINT = "9.2.1"
const val VERSIONS_PLUGIN = "0.33.0"
}
| object Versions {
const val KTLINT = "0.36.0"
}
object BuildPluginsVersion {
const val AGP = "4.1.2"
const val KOTLIN = "1.4.31"
const val KTLINT = "9.2.1"
const val VERSIONS_PLUGIN = "0.33.0"
}
| mit | Kotlin |
3c4ff22c28415668fa68b77428a3c452c500c4ab | allow public access to dialogue scene | AlmasB/FXGL,AlmasB/FXGL,AlmasB/FXGL,AlmasB/FXGL | fxgl-cutscene/src/main/kotlin/com/almasb/fxgl/cutscene/CutsceneService.kt | fxgl-cutscene/src/main/kotlin/com/almasb/fxgl/cutscene/CutsceneService.kt | /*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (almaslvl@gmail.com).
* See LICENSE for details.
*/
package com.almasb.fxgl.cutscene
import com.almasb.fxgl.core.EngineService
import com.almasb.fxgl.core.collection.PropertyMap
import com.almasb.fxgl.core.util.EmptyRunnable
import com... | /*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (almaslvl@gmail.com).
* See LICENSE for details.
*/
package com.almasb.fxgl.cutscene
import com.almasb.fxgl.core.EngineService
import com.almasb.fxgl.core.collection.PropertyMap
import com.almasb.fxgl.core.util.EmptyRunnable
import com... | mit | Kotlin |
836747677d0ae959eb7339a4312efb26121837ff | Remove Exposed version from buildSrc | LorittaBot/Loritta,LorittaBot/Loritta,LorittaBot/Loritta,LorittaBot/Loritta | buildSrc/src/main/kotlin/Versions.kt | buildSrc/src/main/kotlin/Versions.kt | object Versions {
const val LORITTA = "2021-SNAPSHOT"
const val PUDDING = "0.0.2-20220818.190556-674"
const val KOTLIN = "1.7.10"
const val KTOR = "2.0.3"
const val JDA = "4.4.0_352"
const val KOTLIN_SERIALIZATION = "1.4.0"
const val KOTLIN_COROUTINES = "1.6.0"
const val KOTLIN_LOGGING =... | object Versions {
const val LORITTA = "2021-SNAPSHOT"
const val PUDDING = "0.0.2-20220818.190556-674"
const val KOTLIN = "1.7.10"
const val KTOR = "2.0.3"
const val JDA = "4.4.0_352"
const val KOTLIN_SERIALIZATION = "1.4.0"
const val KOTLIN_COROUTINES = "1.6.0"
const val EXPOSED = "0.39.... | agpl-3.0 | Kotlin |
a82d534ef3874c89dad4cbe3767884054a8c5760 | Bump RxJava | 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.10"
}
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... | internal object Kotlin {
const val version = "1.3.10"
}
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 |
24d308fe8d8ee5e09fd3942dc2db91d969d92148 | Upgrade Groovy to 3.0.0-rc-1 | junit-team/junit-lambda,sbrannen/junit-lambda | buildSrc/src/main/kotlin/Versions.kt | buildSrc/src/main/kotlin/Versions.kt | import org.gradle.api.JavaVersion
object Versions {
val jvmTarget = JavaVersion.VERSION_1_8
// Dependencies
val apiGuardian = "1.1.0"
val junit4 = "4.12"
val ota4j = "1.2.0"
val picocli = "4.0.4"
val univocity = "2.8.3"
// Test Dependencies
val archunit = "0.11.0"
val assertJ... | import org.gradle.api.JavaVersion
object Versions {
val jvmTarget = JavaVersion.VERSION_1_8
// Dependencies
val apiGuardian = "1.1.0"
val junit4 = "4.12"
val ota4j = "1.2.0"
val picocli = "4.0.4"
val univocity = "2.8.3"
// Test Dependencies
val archunit = "0.11.0"
val assertJ... | epl-1.0 | Kotlin |
eb49d23a707630fe6b9056d34bed9ef873cf5b34 | Upgrade to Groovy 3.0.0-beta-3 | sbrannen/junit-lambda,junit-team/junit-lambda | buildSrc/src/main/kotlin/Versions.kt | buildSrc/src/main/kotlin/Versions.kt | import org.gradle.api.JavaVersion
object Versions {
// Languages
val jvmTarget = JavaVersion.VERSION_1_8
val kotlin = "1.3.40"
val groovy = "3.0.0-beta-3"
// Dependencies
val apiGuardian = "1.1.0"
val junit4 = "4.12"
val ota4j = "1.2.0"
val picocli = "3.9.6"
val univocity = "2... | import org.gradle.api.JavaVersion
object Versions {
// Languages
val jvmTarget = JavaVersion.VERSION_1_8
val kotlin = "1.3.40"
val groovy = "3.0.0-beta-2"
// Dependencies
val apiGuardian = "1.1.0"
val junit4 = "4.12"
val ota4j = "1.2.0"
val picocli = "3.9.6"
val univocity = "2... | epl-1.0 | Kotlin |
01663ba88e1b310d48cd4e0b2a597ac1fccd5bba | 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/firehose/build.gradle.kts | kotlin/services/firehose/build.gradle.kts | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.5.31"
id("io.gitlab.arturbosch.detekt").version("1.16.0-RC1")
application
}
group = "me.scmacdon"
version = "1.0-SNAPSHOT"
buildscript {
repositories {
jcenter()
}
}
repositories {
mavenCentral(... | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.5.31"
id("io.gitlab.arturbosch.detekt").version("1.16.0-RC1")
application
}
group = "me.scmacdon"
version = "1.0-SNAPSHOT"
buildscript {
repositories {
jcenter()
}
}
repositories {
mavenCentral(... | apache-2.0 | Kotlin |
7ea2d35a8c169f7788858909f0d6a430435b5250 | Fix location of double doors | moltendorf/IntelliDoors | src/main/kotlin/net/moltendorf/Bukkit/IntelliDoors/controller/DoubleDoor.kt | src/main/kotlin/net/moltendorf/Bukkit/IntelliDoors/controller/DoubleDoor.kt | package net.moltendorf.Bukkit.IntelliDoors.controller
import org.bukkit.Material
import org.bukkit.Sound
import org.bukkit.block.Block
import org.bukkit.block.BlockFace
/**
* Created by moltendorf on 15/05/23.
* @author moltendorf
*/
class DoubleDoor(val left: SingleDoor, val right: SingleDoor, open: Boolean) : D... | package net.moltendorf.Bukkit.IntelliDoors.controller
import org.bukkit.Material
import org.bukkit.Sound
import org.bukkit.block.Block
import org.bukkit.block.BlockFace
/**
* Created by moltendorf on 15/05/23.
* @author moltendorf
*/
class DoubleDoor(val left: SingleDoor, val right: SingleDoor, open: Boolean) : D... | mit | Kotlin |
8058f2227edfc8e1d7e4cf3c1c10a15a7ff8d85e | Implement Decoded class | qoncept/kaja | project/app/src/lib/kotlin/jp/co/qoncept/kaja/Decoded.kt | project/app/src/lib/kotlin/jp/co/qoncept/kaja/Decoded.kt | package jp.co.qoncept.kaja
abstract sealed class Decoded<T> {
class Success<T>(value: T): Decoded<T>() {
override val value: T? = value
override val exception: DecodeException? = null
override fun <U> map(transform: (T) -> U): Decoded<U> {
return pure(transform(value!!))
... | package jp.co.qoncept.kaja
abstract sealed class Decoded<T> {
class Success<T>(value: T): Decoded<T>() {
// TODO
}
class Failure<T>(exception: DecodeException): Decoded<T>() {
// TODO
}
abstract val value: T?
abstract val exception: DecodeException?
abstract fun <T> or(al... | mit | Kotlin |
c52891a94c7b031c0d7738e92eb233ac42b4b5d2 | refactor #704 Rename test case. | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/test/java/jp/toastkid/yobidashi/libs/network/NetworkCheckerTest.kt | app/src/test/java/jp/toastkid/yobidashi/libs/network/NetworkCheckerTest.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 |
999503f6d6a572d8d460ff9f6483ed860b88361e | Fix issues in ByteBufferInputStream | emanuelpalm/palm-compute,emanuelpalm/palm-compute,emanuelpalm/palm-compute,emanuelpalm/palm-compute | core/src/main/java/se/ltu/emapal/compute/util/nio/ByteBufferInputStream.kt | core/src/main/java/se/ltu/emapal/compute/util/nio/ByteBufferInputStream.kt | package se.ltu.emapal.compute.util.nio
import java.io.InputStream
import java.nio.ByteBuffer
/**
* An [InputStream] backed by a [ByteBuffer].
*/
class ByteBufferInputStream(val buffer: ByteBuffer) : InputStream() {
override fun read(): Int {
val remaining = buffer.remaining()
if (remaining == 0... | package se.ltu.emapal.compute.util.nio
import java.io.InputStream
import java.nio.ByteBuffer
/**
* An [InputStream] backed by a [ByteBuffer].
*/
class ByteBufferInputStream(val buffer: ByteBuffer) : InputStream() {
override fun read() = buffer.get().toInt()
override fun read(bytes: ByteArray): Int = read(b... | mit | Kotlin |
5e9bac6926cfcef76d24c478242d113faa3800af | add Type (an enum class representing all types that should be natively supported by all engines) | jayrave/falkon | falkon-core/src/main/kotlin/com/jayrave/falkon/engine/Type.kt | falkon-core/src/main/kotlin/com/jayrave/falkon/engine/Type.kt | package com.jayrave.falkon.engine
/**
* Represents all types natively supported by the engine. All engines can handle
* `null` in addition to those listed here (usually the type null is associated
* is required => use [TypedNull] for this purpose)
*/
enum class Type {
SHORT,
INT,
LONG,
FLOAT,
D... | apache-2.0 | Kotlin | |
e17e91befc62ef99cdd6abf9544a52a0a12914e3 | Make suspendLazy structured concurrency compliant | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | modules/coroutines/src/commonMain/kotlin/splitties/coroutines/SuspendLazy.kt | modules/coroutines/src/commonMain/kotlin/splitties/coroutines/SuspendLazy.kt | /*
* Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license.
*/
@file:JvmMultifileClass
@file:JvmName("SuspendLazyKt")
package splitties.coroutines
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dis... | /*
* Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license.
*/
@file:JvmMultifileClass
@file:JvmName("SuspendLazyKt")
package splitties.coroutines
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.Global... | apache-2.0 | Kotlin |
1763d4489f775548d20054589f1cb2cb3e218791 | Update regex | Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2 | features/reader/src/main/java/com/cryart/sabbathschool/reader/SSWebView.kt | features/reader/src/main/java/com/cryart/sabbathschool/reader/SSWebView.kt | package com.cryart.sabbathschool.reader
import android.annotation.SuppressLint
import android.content.Context
import android.util.AttributeSet
import android.webkit.WebView
import android.webkit.WebViewClient
import com.cryart.sabbathschool.core.misc.SSConstants
import com.cryart.sabbathschool.core.misc.SSHelper
impor... | package com.cryart.sabbathschool.reader
import android.annotation.SuppressLint
import android.content.Context
import android.util.AttributeSet
import android.webkit.WebView
import android.webkit.WebViewClient
import com.cryart.sabbathschool.core.misc.SSConstants
import com.cryart.sabbathschool.core.misc.SSHelper
impor... | mit | Kotlin |
1e0d4863a6fffb5cbf65131bb500296fe597aa65 | Fix target test passing return value | encircled/jPut | jput-core/src/main/java/cz/encircled/jput/runner/InvokeMethodWithParams.kt | jput-core/src/main/java/cz/encircled/jput/runner/InvokeMethodWithParams.kt | package cz.encircled.jput.runner
import cz.encircled.jput.JPut
import org.junit.internal.runners.statements.InvokeMethod
import org.junit.runners.model.FrameworkMethod
class InvokeMethodWithParams(private val target: Any, val method: FrameworkMethod) : InvokeMethod(method, target) {
fun evaluateWithParams(jPut: ... | package cz.encircled.jput.runner
import cz.encircled.jput.JPut
import org.junit.internal.runners.statements.InvokeMethod
import org.junit.runners.model.FrameworkMethod
class InvokeMethodWithParams(private val target: Any, val method: FrameworkMethod) : InvokeMethod(method, target) {
fun evaluateWithParams(jPut: ... | apache-2.0 | Kotlin |
51bcac074fa4c9f0690457c7865e3233c094067f | Support login to VPN only | yngvark/snippets,yngvark/snippets,yngvark/snippets,yngvark/snippets | pc-init/src/main/kotlin/com/yngvark/pc_init/Main.kt | pc-init/src/main/kotlin/com/yngvark/pc_init/Main.kt | package com.yngvark.pc_init
import com.yngvark.pc_init.process.WebPagesProcess
import com.yngvark.pc_init.process.LoginToOnePasswordProcess
import com.yngvark.pc_init.process.VpnLoginProcess
import com.yngvark.pc_init.robot.SecretGetter
import com.yngvark.pc_init.process.SshKeysProcess
import com.yngvark.pc_init.robot... | package com.yngvark.pc_init
import com.yngvark.pc_init.process.WebPagesProcess
import com.yngvark.pc_init.process.LoginToOnePasswordProcess
import com.yngvark.pc_init.process.VpnLoginProcess
import com.yngvark.pc_init.robot.SecretGetter
import com.yngvark.pc_init.process.SshKeysProcess
import com.yngvark.pc_init.robot... | unlicense | Kotlin |
d34716aee56a93414592af8fe3f103192d3c494f | Remove redundant tests | Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA | test/nl/hannahsten/texifyidea/editor/LatexMoveElementLeftRightHandlerTest.kt | test/nl/hannahsten/texifyidea/editor/LatexMoveElementLeftRightHandlerTest.kt | package nl.hannahsten.texifyidea.editor
import com.intellij.psi.PsiElement
import com.intellij.testFramework.fixtures.BasePlatformTestCase
import nl.hannahsten.texifyidea.psi.LatexCommands
import nl.hannahsten.texifyidea.psi.LatexPsiHelper
import nl.hannahsten.texifyidea.util.firstChildOfType
class LatexMoveElementLe... | package nl.hannahsten.texifyidea.editor
import com.intellij.psi.PsiElement
import com.intellij.testFramework.fixtures.BasePlatformTestCase
import nl.hannahsten.texifyidea.psi.LatexCommands
import nl.hannahsten.texifyidea.psi.LatexPsiHelper
import nl.hannahsten.texifyidea.util.firstChildOfType
class LatexMoveElementLe... | mit | Kotlin |
dd4913fd6cb807b68c33b5f114a13dfe56151077 | refactor #431 Add line breaks. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | barcode/src/test/java/jp/toastkid/barcode/generator/BarcodeGeneratorTest.kt | barcode/src/test/java/jp/toastkid/barcode/generator/BarcodeGeneratorTest.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 |
7416df9658cd242b6cdc92402caf723646936f0b | Update AGP (4.1.3). (#705) | coil-kt/coil,coil-kt/coil | buildSrc/extra.gradle.kts | buildSrc/extra.gradle.kts | rootProject.extra.apply {
set("androidPlugin", "com.android.tools.build:gradle:4.1.3")
set("kotlinPlugin", "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.31")
}
| rootProject.extra.apply {
set("androidPlugin", "com.android.tools.build:gradle:4.1.2")
set("kotlinPlugin", "org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.31")
}
| apache-2.0 | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.