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
37202c7b0527de0a7bcb74068e7c2e4ea2020a43
Upgrade ClassGraph to 4.4.12
sbrannen/junit-lambda,junit-team/junit-lambda
buildSrc/src/main/kotlin/Versions.kt
buildSrc/src/main/kotlin/Versions.kt
object Versions { // Languages val jvmTarget = "8" val kotlin = "1.3.0" // Dependencies val apiGuardian = "1.0.0" val junit4 = "4.12" val ota4j = "1.1.1" val picocli = "3.7.0" val univocity = "2.7.6" // Test Dependencies val archunit = "0.9.2" val assertJ = "3.11.1" ...
object Versions { // Languages val jvmTarget = "8" val kotlin = "1.3.0" // Dependencies val apiGuardian = "1.0.0" val junit4 = "4.12" val ota4j = "1.1.1" val picocli = "3.7.0" val univocity = "2.7.6" // Test Dependencies val archunit = "0.9.2" val assertJ = "3.11.1" ...
epl-1.0
Kotlin
71fd920a581ff83cccdd7eea265a0af072258b15
refactor #853 Safe delete 'share'.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
lib/src/main/java/jp/toastkid/lib/fragment/CommonFragmentAction.kt
lib/src/main/java/jp/toastkid/lib/fragment/CommonFragmentAction.kt
package jp.toastkid.lib.fragment /** * Base fragment. * * @author toastkidjp */ interface CommonFragmentAction { }
package jp.toastkid.lib.fragment /** * Base fragment. * * @author toastkidjp */ interface CommonFragmentAction { fun share() = Unit }
epl-1.0
Kotlin
beb4410377f6ad85aa03472cca8926930de113b9
Use indexOfFirst instead of for...in in ClassLinkerBridge (#278)
drakeet/MultiType
library/src/main/kotlin/com/drakeet/multitype/ClassLinkerBridge.kt
library/src/main/kotlin/com/drakeet/multitype/ClassLinkerBridge.kt
/* * Copyright (c) 2016-present. Drakeet Xu * * 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) 2016-present. Drakeet Xu * * 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
4650c0da62324b958162ea9ab58df41f2b8f27e5
Add sub object creation in with example
dodyg/Kotlin101,mewebstudio/Kotlin101
src/Functions/Cascades.kt
src/Functions/Cascades.kt
package Kotlin101.Functions.Cascades fun main (Args : Array<String>){ /* This call utilizes extension function and infix call. It is handy to deal with pesky Java object initializations */ var superman = Superman() with { name = "Lux Luthor" punch() kick() sidekick = Spi...
package Kotlin101.Functions.Cascades fun main (Args : Array<String>){ /* This call utilizes extension function and infix call */ var superman = Superman() with { name = "Lux Luthor" punch() kick() } } public fun <T>T.with(operations : T.() -> Unit) : T { this.operat...
bsd-3-clause
Kotlin
5da609897c7fe17232bf58fb68867a623dfe378b
Update version name access
StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepik-android
app/src/main/java/org/stepic/droid/ui/fragments/AboutAppFragment.kt
app/src/main/java/org/stepic/droid/ui/fragments/AboutAppFragment.kt
package org.stepic.droid.ui.fragments import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.recyclerview.widget.GridLayoutManager import kotlinx.android.synthetic.main.fragment_about_app.* import org.step...
package org.stepic.droid.ui.fragments import android.content.pm.PackageManager import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.recyclerview.widget.GridLayoutManager import kotlinx.android.synthetic....
apache-2.0
Kotlin
1410baa90a684f2b79f0798e01a008c1982a8b15
Add description to :build-option project
blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,grad...
subprojects/build-option/build.gradle.kts
subprojects/build-option/build.gradle.kts
plugins { id("gradlebuild.distribution.api-java") } description = "The Gradle build option parser." gradlebuildJava.usedInWorkers() dependencies { implementation(project(":cli")) implementation(project(":base-annotations")) implementation(libs.commonsLang) }
plugins { id("gradlebuild.distribution.api-java") } gradlebuildJava.usedInWorkers() dependencies { implementation(project(":cli")) implementation(project(":base-annotations")) implementation(libs.commonsLang) }
apache-2.0
Kotlin
2c671d0495282256cebed43ed5c998fc1451b0f9
Support FocusedVisibleEvent handler in CommonProps
facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho
litho-core-kotlin/src/main/kotlin/com/facebook/litho/CommonProps.kt
litho-core-kotlin/src/main/kotlin/com/facebook/litho/CommonProps.kt
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
apache-2.0
Kotlin
5bd5d15fa7685c940b9b2e1f65db6703748c6c73
fix target rename
kropp/intellij-makefile
src/main/kotlin/name/kropp/intellij/makefile/psi/MakefileElementFactory.kt
src/main/kotlin/name/kropp/intellij/makefile/psi/MakefileElementFactory.kt
package name.kropp.intellij.makefile.psi import com.intellij.openapi.project.Project import com.intellij.psi.PsiFileFactory import com.intellij.psi.PsiWhiteSpace import name.kropp.intellij.makefile.MakefileFile import name.kropp.intellij.makefile.MakefileFileType object MakefileElementFactory { fun createFile(proje...
package name.kropp.intellij.makefile.psi import com.intellij.openapi.project.Project import com.intellij.psi.PsiFileFactory import com.intellij.psi.PsiWhiteSpace import name.kropp.intellij.makefile.MakefileFile import name.kropp.intellij.makefile.MakefileFileType object MakefileElementFactory { fun createFile(proje...
mit
Kotlin
0387f97200ab5ab3191272f33127db3d83485f8f
remove all project guessing
medvector/educational-plugin,medvector/educational-plugin,medvector/educational-plugin,medvector/educational-plugin,medvector/educational-plugin
Edu-Python/src/com/jetbrains/edu/learning/PyStudyLanguageLevelInspection.kt
Edu-Python/src/com/jetbrains/edu/learning/PyStudyLanguageLevelInspection.kt
package com.jetbrains.edu.learning import com.intellij.codeInspection.LocalInspectionToolSession import com.intellij.codeInspection.LocalQuickFix import com.intellij.codeInspection.ProblemDescriptor import com.intellij.codeInspection.ProblemsHolder import com.intellij.openapi.application.ApplicationManager import com....
package com.jetbrains.edu.learning import com.intellij.codeInspection.LocalInspectionToolSession import com.intellij.codeInspection.LocalQuickFix import com.intellij.codeInspection.ProblemDescriptor import com.intellij.codeInspection.ProblemsHolder import com.intellij.openapi.application.ApplicationManager import com....
apache-2.0
Kotlin
b2ef0d95a9080f497dd31d4db6a4fceef1118f41
refactor #605 Remove extensionRemover.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/browser/archive/auto/AutoArchive.kt
app/src/main/java/jp/toastkid/yobidashi/browser/archive/auto/AutoArchive.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
2ab53e1f902aa05e68e0ba44762beeac3f8a84d6
correct typo
sungmin-park/validator.kt
src/main/kotlin/com/github/sungminpark/validator/SizeLe.kt
src/main/kotlin/com/github/sungminpark/validator/SizeLe.kt
package com.github.sungminpark.validator import javax.validation.Constraint import javax.validation.ConstraintValidator import javax.validation.ConstraintValidatorContext import javax.validation.Payload import kotlin.reflect.KClass @Target(AnnotationTarget.FIELD) @Retention @Constraint(validatedBy = arrayOf(SizeLeVal...
package com.github.sungminpark.validator import javax.validation.Constraint import javax.validation.ConstraintValidator import javax.validation.ConstraintValidatorContext import javax.validation.Payload import kotlin.reflect.KClass @Target(AnnotationTarget.FIELD) @Retention @Constraint(validatedBy = arrayOf(SizeLeVal...
mit
Kotlin
cf2f0f76bdac6cea55d848fe12161319c549e2a3
Use the latest version of plugin on itself
JLLeitschuh/ktlint-gradle,JLLeitschuh/ktlint-gradle
plugin/settings.gradle.kts
plugin/settings.gradle.kts
pluginManagement { plugins { id("org.jetbrains.kotlin.jvm") version "1.5.21" id("com.gradle.plugin-publish") version "0.15.0" `java-gradle-plugin` `maven-publish` id("org.jlleitschuh.gradle.ktlint") version "10.2.1" id("com.github.johnrengelman.shadow") version "7.0.0...
pluginManagement { plugins { id("org.jetbrains.kotlin.jvm") version "1.5.21" id("com.gradle.plugin-publish") version "0.15.0" `java-gradle-plugin` `maven-publish` id("org.jlleitschuh.gradle.ktlint") version "10.2.0" id("com.github.johnrengelman.shadow") version "7.0.0...
mit
Kotlin
0e835c2dd759d0ce00dbbf1a2f5b7446272af4d6
Solve problem 2095
fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode
src/main/kotlin/leetcode/Problem2095.kt
src/main/kotlin/leetcode/Problem2095.kt
package leetcode /** * https://leetcode.com/problems/delete-the-middle-node-of-a-linked-list/ */ class Problem2095 { class ListNode(var `val`: Int) { var next: ListNode? = null } fun deleteMiddle(head: ListNode?): ListNode? { var size = 0 var node = head while (node != nu...
package leetcode /** * https://leetcode.com/problems/delete-the-middle-node-of-a-linked-list/ */ class Problem2095 { class ListNode(var `val`: Int) { var next: ListNode? = null } fun deleteMiddle(head: ListNode?): ListNode? { TODO() } } fun build(array: IntArray): Problem2095.ListNo...
mit
Kotlin
b0f11181cb5d2914ea62d2ef2c877370394a9a61
refactor #827 Use ListAdapter.
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
e52ab8c50cbb588078887fd5a2f67889a8b9d381
Disable HARDWARE bitmaps in Glide for now
chrisbanes/tivi,chrisbanes/tivi
app/src/main/java/me/banes/chris/tivi/TiviAppGlideModule.kt
app/src/main/java/me/banes/chris/tivi/TiviAppGlideModule.kt
/* * Copyright 2018 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * Copyright 2018 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
apache-2.0
Kotlin
1cb411f51162283fbc58259b1a0b61d8ea367359
Bump td-client from 0.9.5 to 0.9.6
komamitsu/fluency,komamitsu/fluency,komamitsu/fluency,komamitsu/fluency
fluency-treasuredata/build.gradle.kts
fluency-treasuredata/build.gradle.kts
dependencies { implementation(projects.fluencyCore) implementation("com.treasuredata.client:td-client:0.9.6") }
dependencies { implementation(projects.fluencyCore) implementation("com.treasuredata.client:td-client:0.9.5") }
apache-2.0
Kotlin
068faf9102fb0c8afd6f588cc7d811507c0072e4
Test constructor visibility
AoEiuV020/LearningKotlin,AoEiuV020/LearningKotlin
app/src/test/kotlin/aoeiuv020/SuperTest.kt
app/src/test/kotlin/aoeiuv020/SuperTest.kt
package aoeiuv020 import org.junit.Test import kotlin.test.* /** * Created by AoEiuV020 on 2017/05/04. */ class SuperTest { companion object { @JvmField var mOrder = 0 } @Test fun superTest() { mOrder = 0 var ca = CA() ca.b() assertEquals(3, mOrder) +...
mit
Kotlin
536d999e7273fbdb009b85fe9dd60bbafb9179b7
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/ecs/build.gradle.kts
kotlin/services/ecs/build.gradle.kts
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.5.31" application } group = "me.scmacdon" version = "1.0-SNAPSHOT" repositories { mavenCentral() } dependencies { implementation("aws.sdk.kotlin:ecs:0.9.4-beta") testImplementation("org.junit.jupiter:junit...
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.5.31" application } group = "me.scmacdon" version = "1.0-SNAPSHOT" repositories { mavenCentral() } dependencies { implementation("aws.sdk.kotlin:ecs:0.9.0-alpha") testImplementation("org.junit.jupiter:juni...
apache-2.0
Kotlin
9634c98a55006c7d8c8bea93f0a23171421594e9
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/kms/build.gradle.kts
kotlin/services/kms/build.gradle.kts
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.5.31" application } group = "me.scmacdon" version = "1.0-SNAPSHOT" repositories { mavenCentral() } dependencies { implementation("aws.sdk.kotlin:kms:0.14.3-beta") testImplementation("org.junit.jupiter:junit...
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile plugins { kotlin("jvm") version "1.5.31" application } group = "me.scmacdon" version = "1.0-SNAPSHOT" repositories { mavenCentral() } dependencies { implementation("aws.sdk.kotlin:kms:0.14.3-beta") testImplementation("org.junit.jupiter:junit...
apache-2.0
Kotlin
d8d9ae5f88d761fb0fa069dcebb2185607a4b66f
Remove bot precondition
Goyatuzo/LurkerBot,Goyatuzo/LurkerBot
src/main/kotlin/LurkerBot.kt
src/main/kotlin/LurkerBot.kt
package com.lurkerbot import dev.kord.common.annotation.KordPreview import dev.kord.core.event.user.PresenceUpdateEvent import dev.kord.gateway.Intents import me.jakejmattson.discordkt.dsl.bot import me.jakejmattson.discordkt.extensions.intentsOf @OptIn(KordPreview::class) fun main() { bot(System.getenv("LURKER_B...
package com.lurkerbot import dev.kord.common.annotation.KordPreview import dev.kord.core.event.user.PresenceUpdateEvent import dev.kord.gateway.Intents import me.jakejmattson.discordkt.dsl.bot import me.jakejmattson.discordkt.dsl.precondition import me.jakejmattson.discordkt.extensions.intentsOf @OptIn(KordPreview::c...
apache-2.0
Kotlin
f63b1db8c35679c20974143a37b1415239a08b27
Remove build scan init from Colony Comp build
blindpirate/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle...
.teamcity/Gradle_Check/configurations/ColonyCompatibility.kt
.teamcity/Gradle_Check/configurations/ColonyCompatibility.kt
package configurations import jetbrains.buildServer.configs.kotlin.v10.BuildStep import jetbrains.buildServer.configs.kotlin.v10.BuildType import jetbrains.buildServer.configs.kotlin.v10.buildSteps.gradle import jetbrains.buildServer.configs.kotlin.v10.buildSteps.script import model.CIBuildModel object ColonyCompatib...
package configurations import jetbrains.buildServer.configs.kotlin.v10.BuildStep import jetbrains.buildServer.configs.kotlin.v10.BuildType import jetbrains.buildServer.configs.kotlin.v10.buildSteps.gradle import jetbrains.buildServer.configs.kotlin.v10.buildSteps.script import model.CIBuildModel object ColonyCompatib...
apache-2.0
Kotlin
9ef3cc71858a983124d1a87c0871b79949edf54a
Use kotlin `forEach` over Java Map.forEach
SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base
tools/smoke-tests/settings.gradle.kts
tools/smoke-tests/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
430881b5b0153084d60b00df6d53c710e6962f37
refactor #382 Remove duplicated comment.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
app/src/main/java/jp/toastkid/yobidashi/browser/archive/ViewHolder.kt
app/src/main/java/jp/toastkid/yobidashi/browser/archive/ViewHolder.kt
package jp.toastkid.yobidashi.browser.archive import android.view.View import androidx.annotation.ColorInt import androidx.recyclerview.widget.RecyclerView import jp.toastkid.yobidashi.databinding.ItemArchiveBinding /** * View holder. * * @param binding Data binding object. * @author toastkidjp */ internal class...
package jp.toastkid.yobidashi.browser.archive import androidx.annotation.ColorInt import androidx.recyclerview.widget.RecyclerView import android.view.View import jp.toastkid.yobidashi.databinding.ItemArchiveBinding /** * View holder. * * Initialize with binding object. * @param binding Data binding object. * ...
epl-1.0
Kotlin
d4c62f503bdb34ab4b80a8a4ff5faf4906a06522
add more twitter clients
yshrsmz/monotweety
app/src/main/java/net/yslibrary/monotweety/data/appinfo/TwitterApp.kt
app/src/main/java/net/yslibrary/monotweety/data/appinfo/TwitterApp.kt
package net.yslibrary.monotweety.data.appinfo enum class TwitterApp(val packageName: String) { BEETER("me.b0ne.android.apps.beeter"), BIYONTTER("jp.gifu.abs104a.twitterproject"), ECHOFON("com.echofon"), FALCON_PRO_3("com.jv.materialfalcon"), FEATHER("com.covelline.feather"), FENIX("it.mvilla.android.fenix"...
package net.yslibrary.monotweety.data.appinfo enum class TwitterApp(val packageName: String) { BEETER("me.b0ne.android.apps.beeter"), ECHOFON("com.echofon"), FALCON_PRO_3("com.jv.materialfalcon"), FEATHER("com.covelline.feather"), FENIX("it.mvilla.android.fenix"), FENIX2("it.mvilla.android.fenix2"), FLAM...
apache-2.0
Kotlin
eabc46034765dc0b2ea7228de63403c3ef6c71f2
Replace Unconfined in blocking servlets implementation
ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor
ktor-server/ktor-server-servlet/src/io/ktor/server/servlet/BlockingServlet.kt
ktor-server/ktor-server-servlet/src/io/ktor/server/servlet/BlockingServlet.kt
package io.ktor.server.servlet import io.ktor.application.* import io.ktor.util.cio.* import io.ktor.http.content.* import io.ktor.request.* import io.ktor.response.* import io.ktor.server.engine.* import kotlinx.coroutines.* import kotlinx.coroutines.io.* import javax.servlet.* import javax.servlet.http.* import kotl...
package io.ktor.server.servlet import io.ktor.application.* import io.ktor.util.cio.* import io.ktor.http.content.* import io.ktor.request.* import io.ktor.response.* import io.ktor.server.engine.* import kotlinx.coroutines.* import kotlinx.coroutines.io.* import javax.servlet.* import javax.servlet.http.* import kotl...
apache-2.0
Kotlin
13ef8d3ff51256f00870ccd04cdb97c1ff0534bf
add woow command
noud02/Akatsuki
src/main/kotlin/me/noud02/akatsuki/commands/Woow.kt
src/main/kotlin/me/noud02/akatsuki/commands/Woow.kt
/* * Copyright (c) 2017 Noud Kerver * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, * copy, modify, merge...
mit
Kotlin
16c25a165ce27151ef02c34d3767724ab86522b5
validate bst
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/validate_bst/ValidateBST.kt
kotlin/src/katas/kotlin/leetcode/validate_bst/ValidateBST.kt
package katas.kotlin.leetcode.validate_bst import katas.kotlin.leetcode.TreeNode import kotlincommon.test.shouldEqual import org.junit.Test class ValidateBSTTests { @Test fun `determine if binary search tree is valid`() { TreeNode(1).isValid() shouldEqual true TreeNode(1, TreeNode(0)).isValid() sh...
package katas.kotlin.leetcode.validate_bst import katas.kotlin.leetcode.TreeNode import kotlincommon.test.shouldEqual import org.junit.Test class ValidateBSTTests { @Test fun `determine if binary search tree is valid`() { TreeNode(1).isValid() shouldEqual true TreeNode(1, TreeNode(0)).isValid() sh...
unlicense
Kotlin
bc68eb5ded7515e47926a2bfa17c29a11c4b69db
Add headers to text format
wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android,wordpress-mobile/AztecEditor-Android
aztec/src/main/kotlin/org/wordpress/aztec/TextFormat.kt
aztec/src/main/kotlin/org/wordpress/aztec/TextFormat.kt
package org.wordpress.aztec /** * Describes styles that could be applied to text */ enum class TextFormat { FORMAT_HEADER_1, FORMAT_HEADER_2, FORMAT_HEADER_3, FORMAT_HEADER_4, FORMAT_HEADER_5, FORMAT_HEADER_6, FORMAT_BOLD, FORMAT_ITALIC, FORMAT_UNDERLINED, FORMAT_STRIKETHROUGH...
package org.wordpress.aztec /** * Describes styles that could be applied to text */ enum class TextFormat { FORMAT_BOLD, FORMAT_ITALIC, FORMAT_UNDERLINED, FORMAT_STRIKETHROUGH, FORMAT_BULLET, FORMAT_QUOTE, FORMAT_LINK }
mpl-2.0
Kotlin
7102dfdaf8f25786bd4d59d04c0e2bd5602cab6f
Fix dequeueing songs
mrkirby153/KirBot
src/main/kotlin/me/mrkirby153/KirBot/command/executors/music/CommandDeQueue.kt
src/main/kotlin/me/mrkirby153/KirBot/command/executors/music/CommandDeQueue.kt
package me.mrkirby153.KirBot.command.executors.music import me.mrkirby153.KirBot.Bot import me.mrkirby153.KirBot.command.BaseCommand import me.mrkirby153.KirBot.command.Command import me.mrkirby153.KirBot.command.CommandCategory import me.mrkirby153.KirBot.command.CommandException import me.mrkirby153.KirBot.command.a...
package me.mrkirby153.KirBot.command.executors.music import me.mrkirby153.KirBot.Bot import me.mrkirby153.KirBot.command.BaseCommand import me.mrkirby153.KirBot.command.Command import me.mrkirby153.KirBot.command.CommandCategory import me.mrkirby153.KirBot.command.CommandException import me.mrkirby153.KirBot.command.a...
mit
Kotlin
4cd193e352e8baf8febc185214974681e090960c
Fix Scaling attachment not re-applying when changing skin
AcornUI/Acorn,AcornUI/Acorn,AcornUI/Acorn
acornui-core/src/commonMain/kotlin/com/acornui/skins/WindowScalingAttachment.kt
acornui-core/src/commonMain/kotlin/com/acornui/skins/WindowScalingAttachment.kt
package com.acornui.skins import com.acornui.component.UiComponent import com.acornui.component.createOrReuseAttachment import com.acornui.component.style.AlwaysFilter import com.acornui.component.style.StyleRule import com.acornui.component.text.charStyle import com.acornui.core.Disposable import com.acornui.core.di....
package com.acornui.skins import com.acornui.component.UiComponent import com.acornui.component.createOrReuseAttachment import com.acornui.component.style.addStyleRule import com.acornui.component.text.charStyle import com.acornui.core.di.inject import com.acornui.core.graphic.Window /** * Watches the window for sca...
apache-2.0
Kotlin
bdc34e580e25f0402f732935c42fc51e221e537b
Use expression body syntax in RepositoryModule
squanchy-dev/squanchy-android,squanchy-dev/squanchy-android,squanchy-dev/squanchy-android
app/src/main/java/net/squanchy/service/repository/injection/RepositoryModule.kt
app/src/main/java/net/squanchy/service/repository/injection/RepositoryModule.kt
package net.squanchy.service.repository.injection import dagger.Module import dagger.Provides import net.squanchy.service.firebase.FirebaseDbService import net.squanchy.service.firestore.FirestoreDbService import net.squanchy.service.repository.DaysRepository import net.squanchy.service.repository.EventRepository impo...
package net.squanchy.service.repository.injection import dagger.Module import dagger.Provides import net.squanchy.service.firebase.FirebaseDbService import net.squanchy.service.firestore.FirestoreDbService import net.squanchy.service.repository.DaysRepository import net.squanchy.service.repository.EventRepository impo...
apache-2.0
Kotlin
3dc0e8534c0c2c1f3687bb32c75d0a039c6c45a4
refactor #433 Implement RandomWikipedia's unit test.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte
app/src/test/java/jp/toastkid/yobidashi/wikipedia/random/RandomWikipediaTest.kt
app/src/test/java/jp/toastkid/yobidashi/wikipedia/random/RandomWikipediaTest.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
d5f6c0e382c0027f167f8016e5d3a57bb3c3b94f
copy of org.jetbrains.kotlin.js.descriptorUtils.nameIfStandardType for translator needs
JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,jiaminglu/kotlin-native,JuliusKunze/kotlin-native,JuliusKunze/kotlin-native,jiaminglu/kotlin-native,JetBrains/kotlin-native,JuliusKunze/kotlin-native,JuliusKunze/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,jiaminglu/kotlin-nati...
experiments/student-backend/src/org/jetbrains/kotlin/student/descriptorUtils.kt
experiments/student-backend/src/org/jetbrains/kotlin/student/descriptorUtils.kt
package org.jetbrains.kotlin.student.descriptorUtils import org.jetbrains.kotlin.descriptors.PackageFragmentDescriptor import org.jetbrains.kotlin.name.Name import org.jetbrains.kotlin.resolve.descriptorUtil.builtIns import org.jetbrains.kotlin.types.KotlinType import org.jetbrains.kotlin.utils.addToStdlib.check /** ...
apache-2.0
Kotlin
26efc8452064051c1086f4df3cbff234e6796143
Fix schedule scrolling on its own
dya-tel/TSU-Schedule
src/main/kotlin/ru/dyatel/tsuschedule/layout/WeekPage.kt
src/main/kotlin/ru/dyatel/tsuschedule/layout/WeekPage.kt
package ru.dyatel.tsuschedule.layout import android.content.Context import android.support.v4.view.PagerAdapter import android.support.v7.widget.LinearLayoutManager import android.view.View import android.view.ViewGroup import org.jetbrains.anko.matchParent import org.jetbrains.anko.recyclerview.v7.recyclerView import...
package ru.dyatel.tsuschedule.layout import android.content.Context import android.support.v4.view.PagerAdapter import android.support.v7.widget.LinearLayoutManager import android.view.View import android.view.ViewGroup import org.jetbrains.anko.matchParent import org.jetbrains.anko.recyclerview.v7.recyclerView import...
mit
Kotlin
8618b754c843d7ff190cd3cb0cf5cfde16a89e6d
Remove unnecessary withCleanSources call
JLLeitschuh/ktlint-gradle,JLLeitschuh/ktlint-gradle
plugin/src/test/kotlin/org/jlleitschuh/gradle/ktlint/KtlintPluginVersionTest.kt
plugin/src/test/kotlin/org/jlleitschuh/gradle/ktlint/KtlintPluginVersionTest.kt
package org.jlleitschuh.gradle.ktlint import org.gradle.testkit.runner.TaskOutcome import org.hamcrest.CoreMatchers.equalTo import org.hamcrest.MatcherAssert.assertThat import org.junit.Before import org.junit.Test import java.io.File class KtlintPluginVersionTest : AbstractPluginTest() { private fun File.buildS...
package org.jlleitschuh.gradle.ktlint import org.gradle.testkit.runner.TaskOutcome import org.hamcrest.CoreMatchers.equalTo import org.hamcrest.MatcherAssert.assertThat import org.junit.Before import org.junit.Test import java.io.File class KtlintPluginVersionTest : AbstractPluginTest() { private fun File.buildS...
mit
Kotlin
d07cfd4fb97ed7952f36f0eaec7813a36b1587f7
Update documentation
KotlinNLP/SimpleDNN
src/main/kotlin/com/kotlinnlp/simplednn/core/functionalities/activations/ELU.kt
src/main/kotlin/com/kotlinnlp/simplednn/core/functionalities/activations/ELU.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
e37a8d4e64ee0dc0c8705d6f8b483a099454a99e
add tests for CompiledStatement extn methods
jayrave/falkon
falkon-core/src/test/kotlin/com/jayrave/falkon/engine/CompiledStatementKtTest.kt
falkon-core/src/test/kotlin/com/jayrave/falkon/engine/CompiledStatementKtTest.kt
package com.jayrave.falkon.engine import com.nhaarman.mockito_kotlin.eq import com.nhaarman.mockito_kotlin.mock import com.nhaarman.mockito_kotlin.verify import com.nhaarman.mockito_kotlin.verifyNoMoreInteractions import org.junit.Test import java.util.concurrent.Callable class CompiledStatementKtTest { private ...
apache-2.0
Kotlin
906edb9c9457450cb543afca0b199441dadb50da
Sort /api/diapers by descending date
ajordens/lalas,ajordens/sleepybaby,ajordens/lalas,ajordens/sleepybaby,ajordens/lalas,ajordens/sleepybaby,ajordens/sleepybaby,ajordens/sleepybaby,ajordens/sleepybaby,ajordens/lalas,ajordens/lalas
sleepybaby-api/src/main/kotlin/org/jordens/sleepybaby/diaper/DiaperController.kt
sleepybaby-api/src/main/kotlin/org/jordens/sleepybaby/diaper/DiaperController.kt
package org.jordens.sleepybaby.diaper import org.jordens.sleepybaby.Feeding import org.jordens.sleepybaby.FeedingDataSource import org.jordens.sleepybaby.GenericResponse import org.jordens.sleepybaby.feeding.DailyFeedingAggregate import org.jordens.sleepybaby.feeding.FeedingController import org.jordens.sleepybaby.fee...
package org.jordens.sleepybaby.diaper import org.jordens.sleepybaby.Feeding import org.jordens.sleepybaby.FeedingDataSource import org.jordens.sleepybaby.GenericResponse import org.jordens.sleepybaby.feeding.DailyFeedingAggregate import org.jordens.sleepybaby.feeding.FeedingController import org.jordens.sleepybaby.fee...
apache-2.0
Kotlin
c67230dc78af2ce475a0662804396d46744f20a8
add test
tangzx/IntelliJ-EmmyLua,EmmyLua/IntelliJ-EmmyLua,EmmyLua/IntelliJ-EmmyLua,tangzx/IntelliJ-EmmyLua,EmmyLua/IntelliJ-EmmyLua,EmmyLua/IntelliJ-EmmyLua,tangzx/IntelliJ-EmmyLua,tangzx/IntelliJ-EmmyLua
src/test/kotlin/com/tang/intellij/test/inspections/MatchFunctionSignatureTest.kt
src/test/kotlin/com/tang/intellij/test/inspections/MatchFunctionSignatureTest.kt
/* * Copyright (c) 2017. tangzx(love.tangzx@qq.com) * * 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 l...
/* * Copyright (c) 2017. tangzx(love.tangzx@qq.com) * * 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 l...
apache-2.0
Kotlin
232125ad342b02e510a6c69cd8375a3889f84978
Update DeleteUser.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/iam/src/main/kotlin/com/kotlin/iam/DeleteUser.kt
.kotlin_alpha/services/iam/src/main/kotlin/com/kotlin/iam/DeleteUser.kt
//snippet-sourcedescription:[DeleteUser.kt demonstrates how to delete an AWS Identity and Access Management (IAM) user. This is only possible for users with no associated resources.] //snippet-keyword:[AWS SDK for Kotlin] //snippet-keyword:[Code Sample] //snippet-service:[Identity and Access Management (IAM)] //sni...
//snippet-sourcedescription:[DeleteUser.kt demonstrates how to delete an AWS Identity and Access Management (IAM) user. This is only possible for users with no associated resources.] //snippet-keyword:[AWS SDK for Kotlin] //snippet-keyword:[Code Sample] //snippet-service:[Identity and Access Management (IAM)] //sni...
apache-2.0
Kotlin
539a498b7c78548d13c73bd3fdb4ed9f3ec4cc70
use ByteBuffer
Yubico/yubioath-desktop,Yubico/yubioath-desktop,Yubico/yubioath-desktop,Yubico/yubioath-desktop,Yubico/yubioath-desktop
android/app/src/main/kotlin/com/yubico/authenticator/data/oath/SteamCredential.kt
android/app/src/main/kotlin/com/yubico/authenticator/data/oath/SteamCredential.kt
package com.yubico.authenticator.data.oath import com.yubico.yubikit.oath.Code import com.yubico.yubikit.oath.Credential import com.yubico.yubikit.oath.OathType import java.nio.ByteBuffer import kotlin.experimental.and /** * Returns true if this credential is considered to be Steam credential */ fun Credential.isSt...
package com.yubico.authenticator.data.oath import com.yubico.yubikit.oath.Code import com.yubico.yubikit.oath.Credential import com.yubico.yubikit.oath.OathType import kotlin.experimental.and /** * Returns true if this credential is considered to be Steam credential */ fun Credential.isSteamCredential(): Boolean = ...
apache-2.0
Kotlin
4a97ec1e1ea866ddf1c5eccff9387851b9194812
refactor #156 Add empty line.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
api/src/test/java/jp/toastkid/api/DownloadApiTest.kt
api/src/test/java/jp/toastkid/api/DownloadApiTest.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
205a1a1b65d43d1ab5a8b41a0d9af025379ff5dc
Remove Orma injection
ayatk/biblio,ayatk/biblio
app/src/main/kotlin/com/ayatk/biblio/di/AppModule.kt
app/src/main/kotlin/com/ayatk/biblio/di/AppModule.kt
/* * Copyright (c) 2016-2018 ayatk. * * 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 (c) 2016-2018 ayatk. * * 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
cefc576a1c56aff3021fbc1000348684108ef8af
refactor #382 Fix class comment.
toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
app/src/main/java/jp/toastkid/yobidashi/browser/archive/ArchiveSaver.kt
app/src/main/java/jp/toastkid/yobidashi/browser/archive/ArchiveSaver.kt
package jp.toastkid.yobidashi.browser.archive import android.view.View import android.webkit.WebView import jp.toastkid.lib.preference.PreferenceApplier import jp.toastkid.yobidashi.R import jp.toastkid.yobidashi.libs.Toaster import java.io.File /** * Archive file saver. * * @author toastkidjp */ class ArchiveSav...
package jp.toastkid.yobidashi.browser.archive import android.view.View import android.webkit.WebView import jp.toastkid.lib.preference.PreferenceApplier import jp.toastkid.yobidashi.R import jp.toastkid.yobidashi.libs.Toaster import java.io.File /** * Archive file saver. * @author toastkidjp */ class ArchiveSaver...
epl-1.0
Kotlin
521a1436c5f784d02299b72f6ae86fe48cdfd469
refactor #529 Rename test function.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/settings/DarkModeApplierTest.kt
app/src/test/java/jp/toastkid/yobidashi/settings/DarkModeApplierTest.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
bd62751dd3397f165a3ac036d40ca304c84a8987
Upgrade to kotlin 1.5.10
helloworld1/FreeOTPPlus,helloworld1/FreeOTPPlus,helloworld1/FreeOTPPlus
build.gradle.kts
build.gradle.kts
// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { mavenCentral() google() } dependencies { classpath("com.android.tools.build:gradle:4.2.1") classpath(kotlin("gradle-plugin", version = "1.5.10")) ...
// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { mavenCentral() google() } dependencies { classpath("com.android.tools.build:gradle:4.2.1") classpath(kotlin("gradle-plugin", version = "1.4.32")) ...
apache-2.0
Kotlin
7f34a8503530a4d3172f488f561bc5875ca47e11
Bump io.freefair.maven-central.validate-poms from 6.4.2 to 6.4.3
gesellix/gradle-docker-plugin,gesellix/gradle-docker-plugin
build.gradle.kts
build.gradle.kts
plugins { id("maven-publish") id("com.github.ben-manes.versions") version "0.42.0" id("net.ossindex.audit") version "0.4.11" id("com.gradle.plugin-publish") version "0.21.0" apply false id("io.freefair.maven-central.validate-poms") version "6.4.3" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" ...
plugins { id("maven-publish") id("com.github.ben-manes.versions") version "0.42.0" id("net.ossindex.audit") version "0.4.11" id("com.gradle.plugin-publish") version "0.21.0" apply false id("io.freefair.maven-central.validate-poms") version "6.4.2" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" ...
mit
Kotlin
2d1a75d6b10c1579ab2b23d60b2180a4ca60cc48
Bump gradle from 4.1.1 to 4.1.3 (#2169)
sksamuel/ktest
build.gradle.kts
build.gradle.kts
buildscript { repositories { mavenCentral() mavenLocal() google() maven("https://dl.bintray.com/kotlin/kotlin-eap") maven("https://kotlin.bintray.com/kotlinx") gradlePluginPortal() } dependencies { // To be uncommented if adding any Android project classpath("c...
buildscript { repositories { mavenCentral() mavenLocal() google() maven("https://dl.bintray.com/kotlin/kotlin-eap") maven("https://kotlin.bintray.com/kotlinx") gradlePluginPortal() } dependencies { // To be uncommented if adding any Android project classpath("c...
mit
Kotlin
65f667a645940fa0c11fb6dc454422afcb306adb
Bump kotlin-stdlib-common from 1.5.31 to 1.6.20
gesellix/gradle-docker-plugin,gesellix/gradle-docker-plugin
build.gradle.kts
build.gradle.kts
plugins { id("maven-publish") id("com.github.ben-manes.versions") version "0.42.0" id("net.ossindex.audit") version "0.4.11" id("com.gradle.plugin-publish") version "0.21.0" apply false id("io.freefair.maven-central.validate-poms") version "6.4.2" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" ...
plugins { id("maven-publish") id("com.github.ben-manes.versions") version "0.42.0" id("net.ossindex.audit") version "0.4.11" id("com.gradle.plugin-publish") version "0.21.0" apply false id("io.freefair.maven-central.validate-poms") version "6.4.2" id("io.github.gradle-nexus.publish-plugin") version "1.1.0" ...
mit
Kotlin
40813bbb6251a3a6b01b305f20a55de55d404b97
Update EconomyString
Homes-MinecraftServerMod/Homes,Homes-MinecraftServerMod/Homes
src/main/kotlin/com/masahirosaito/spigot/homes/datas/strings/EconomyStringData.kt
src/main/kotlin/com/masahirosaito/spigot/homes/datas/strings/EconomyStringData.kt
package com.masahirosaito.spigot.homes.datas.strings data class EconomyStringData( val PAY: String = "You paid &e[pay-amount]&r and now have &e[balance]&r", val ECONOMY_ERROR: String = "&cAn error occurred: [error-message]&r", val NO_ACCOUNT_ERROR: String = "&cYou are not registered as Economy&...
package com.masahirosaito.spigot.homes.datas.strings data class EconomyStringData( val PAY: String = "You paid [pay-amount] and now have [balance]", val ECONOMY_ERROR: String = "&cAn error occurred: [error-message]&r", val NO_ACCOUNT_ERROR: String = "&cYou are not registered as Economy&r", ...
apache-2.0
Kotlin
6f22f448cc31efd9b295fba72858776e7602d002
Add tests for diacritic ij inspection
Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA,Ruben-Sten/TeXiFy-IDEA
test/nl/hannahsten/texifyidea/inspections/latex/LatexDiacriticIJInspectionTest.kt
test/nl/hannahsten/texifyidea/inspections/latex/LatexDiacriticIJInspectionTest.kt
package nl.hannahsten.texifyidea.inspections.latex import nl.hannahsten.texifyidea.inspections.TexifyInspectionTestBase class LatexDiacriticIJInspectionTest : TexifyInspectionTestBase(LatexDiacriticIJInspection()) { fun `test warning`() = testHighlighting("""<warning>\^i</warning>""") fun `test no warning`()...
mit
Kotlin
dd2833f8155f57823e8faa0a447fe1c07e6f55c5
refactor #412 Use returns.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/browser/history/ViewHistoryInsertionTest.kt
app/src/test/java/jp/toastkid/yobidashi/browser/history/ViewHistoryInsertionTest.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
d9546d370e095fc7ab95b1921388952bf1a1fa86
refactor #451 Add test case.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/browser/tls/TlsErrorMessageGeneratorTest.kt
app/src/test/java/jp/toastkid/yobidashi/browser/tls/TlsErrorMessageGeneratorTest.kt
package jp.toastkid.yobidashi.browser.tls import android.content.Context import android.net.http.SslCertificate import android.net.http.SslError import android.text.format.DateFormat import io.mockk.MockKAnnotations import io.mockk.every import io.mockk.impl.annotations.InjectMockKs import io.mockk.impl.annotations.Mo...
package jp.toastkid.yobidashi.browser.tls import org.junit.Assert.assertTrue import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner import org.robolectric.RuntimeEnvironment /** * @author toastkidjp */ @RunWith(RobolectricTestRunner::class) class TlsErrorMessageGeneratorT...
epl-1.0
Kotlin
2545e7e5f51071411e37a4dfade8e5a4d1e2d0fc
Add Compose Bill of Materials (#6)
android/kotlin-multiplatform-samples,android/kotlin-multiplatform-samples,android/kotlin-multiplatform-samples
DiceRoller/androidApp/build.gradle.kts
DiceRoller/androidApp/build.gradle.kts
/* * Copyright 2022 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2022 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
Kotlin
f6de041fd89fb5c592748c85612eb4ad6bc37127
bump kotlin compiler version string const
ethauvin/kobalt,cbeust/kobalt,ethauvin/kobalt,cbeust/kobalt,ethauvin/kobalt,cbeust/kobalt,ethauvin/kobalt
modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/Constants.kt
modules/kobalt-plugin-api/src/main/kotlin/com/beust/kobalt/Constants.kt
package com.beust.kobalt import com.beust.kobalt.misc.KFiles object Constants { const val LOG_QUIET_LEVEL = 0 const val LOG_DEFAULT_LEVEL = 1 const val LOG_MAX_LEVEL = 3 val BUILD_FILE_NAME = "Build.kt" val BUILD_FILE_DIRECTORY = "kobalt/src" val BUILD_FILE_PATH = KFiles.joinDir(BUILD_FILE_DIR...
package com.beust.kobalt import com.beust.kobalt.misc.KFiles object Constants { const val LOG_QUIET_LEVEL = 0 const val LOG_DEFAULT_LEVEL = 1 const val LOG_MAX_LEVEL = 3 val BUILD_FILE_NAME = "Build.kt" val BUILD_FILE_DIRECTORY = "kobalt/src" val BUILD_FILE_PATH = KFiles.joinDir(BUILD_FILE_DIR...
apache-2.0
Kotlin
f1b970e6f925a8dbf3f1bea49a4928bf76f22292
Switch conditional branch PlatformUtils.IS_NODE and PlatformUtils.IS_BROWSER (#1675)
ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor
ktor-client/ktor-client-core/js/src/io/ktor/client/engine/js/compatibility/Utils.kt
ktor-client/ktor-client-core/js/src/io/ktor/client/engine/js/compatibility/Utils.kt
/* * Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ package io.ktor.client.engine.js.compatibility import io.ktor.client.engine.js.browser.* import io.ktor.client.engine.js.node.* import io.ktor.client.fetch.* import io.ktor.util.* import io.k...
/* * Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ package io.ktor.client.engine.js.compatibility import io.ktor.client.engine.js.browser.* import io.ktor.client.engine.js.node.* import io.ktor.client.fetch.* import io.ktor.util.* import io.k...
apache-2.0
Kotlin
13ce923372304bf320325dec37556b90ec759c15
Add non inlined beanOf and beansOf functions to context for better java interop
arturbosch/TiNBo,arturbosch/TiNBo,arturbosch/TiNBo
tinbo-plugin-api/src/main/kotlin/io/gitlab/arturbosch/tinbo/plugins/TinboContext.kt
tinbo-plugin-api/src/main/kotlin/io/gitlab/arturbosch/tinbo/plugins/TinboContext.kt
package io.gitlab.arturbosch.tinbo.plugins import io.gitlab.arturbosch.tinbo.config.TinboConfig import org.springframework.beans.factory.annotation.Autowired import org.springframework.beans.factory.config.BeanDefinition import org.springframework.context.ApplicationContext import org.springframework.context.support.G...
package io.gitlab.arturbosch.tinbo.plugins import io.gitlab.arturbosch.tinbo.config.TinboConfig import org.springframework.beans.factory.annotation.Autowired import org.springframework.beans.factory.config.BeanDefinition import org.springframework.context.ApplicationContext import org.springframework.context.support.G...
apache-2.0
Kotlin
ae7627d7466ab7f4ce66ab8b2b1c9de1da86d7a3
Add EventDataFilterStore
dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk
core/src/main/java/org/hisp/dhis/android/core/event/internal/EventDataFilterStore.kt
core/src/main/java/org/hisp/dhis/android/core/event/internal/EventDataFilterStore.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
91384b14bd729641efb0b0194ade96a868b7e962
Remove now unnecessary `knownPublicTypes` map
blindpirate/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle-script-kotlin,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle-script-kotlin,robinverduijn/gradle,blindpirate/gra...
provider-spi/src/main/kotlin/org/gradle/kotlin/dsl/provider/spi/KotlinTypeStrings.kt
provider-spi/src/main/kotlin/org/gradle/kotlin/dsl/provider/spi/KotlinTypeStrings.kt
/* * 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
377f7d612f01c11f2f04f9590eb95c96b26505ed
Allow to flash any file or folder in a MicroPython enabled project
lensvol/intellij-micropython,vlasovskikh/intellij-micropython,lensvol/intellij-micropython,vlasovskikh/intellij-micropython,lensvol/intellij-micropython,vlasovskikh/intellij-micropython
src/main/kotlin/com/jetbrains/micropython/run/MicroPythonRunConfigurationProducer.kt
src/main/kotlin/com/jetbrains/micropython/run/MicroPythonRunConfigurationProducer.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
9f120031e88e94a4bdd34c3d7027cd08966e3264
Upgrade 'enterprise' to Groovy 3
blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,grad...
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(libs.groovyJson) implementation(project(":logging")) implementation(pr...
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...
apache-2.0
Kotlin
11a48268cac0941a05412a8087de658675cbd256
Use coroutines for notification updates
ianhanniballake/muzei,romannurik/muzei,romannurik/muzei,ianhanniballake/muzei,ianhanniballake/muzei,ianhanniballake/muzei,romannurik/muzei,romannurik/muzei,romannurik/muzei,ianhanniballake/muzei
main/src/main/java/com/google/android/apps/muzei/notifications/NotificationUpdater.kt
main/src/main/java/com/google/android/apps/muzei/notifications/NotificationUpdater.kt
/* * Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* * Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
apache-2.0
Kotlin
5ec505522c2f06dbf1e9d830ab37ada0235d361a
Convert ToggleInspector to Kotlin
scenerygraphics/SciView,scenerygraphics/SciView
src/main/kotlin/sc/iview/commands/view/ToggleInspector.kt
src/main/kotlin/sc/iview/commands/view/ToggleInspector.kt
/*- * #%L * Scenery-backed 3D visualization package for ImageJ. * %% * Copyright (C) 2016 - 2020 SciView developers. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code mus...
/*- * #%L * Scenery-backed 3D visualization package for ImageJ. * %% * Copyright (C) 2016 - 2020 SciView developers. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code mus...
bsd-2-clause
Kotlin
09fb970652fcf7535a2c330d10ac80a16ba93b8a
Add abstract protected methods optimizeSparseErrors() and optimizeDenseErrors()
KotlinNLP/SimpleDNN
src/kotlin/com/kotlinnlp/simplednn/core/functionalities/updatemethods/UpdateMethod.kt
src/kotlin/com/kotlinnlp/simplednn/core/functionalities/updatemethods/UpdateMethod.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
2f56c17bb7a95968cc34a3c5a7d4c1c48466ea03
refactor #559 Enable to inject testing implementation.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
app/src/main/java/jp/toastkid/yobidashi/settings/background/load/RotatedImageFixing.kt
app/src/main/java/jp/toastkid/yobidashi/settings/background/load/RotatedImageFixing.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
5f5625cee5612601753f2b3f82b9d670c302c145
refactor #605 Remove useless import.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte
app/src/main/java/jp/toastkid/yobidashi/settings/fragment/OverlayColorFilterUseCase.kt
app/src/main/java/jp/toastkid/yobidashi/settings/fragment/OverlayColorFilterUseCase.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
682da09bc198cb59ed7914b5ae39f306215ce772
add LoggerUtil
double-y/AndroidCustomTest,double-y/AndroidCustomTest
custom_test/src/main/java/com/doubley/customandroidtest/custom_test/util/LoggerUtil.kt
custom_test/src/main/java/com/doubley/customandroidtest/custom_test/util/LoggerUtil.kt
package com.doubley.customandroidtest.custom_test.util import android.util.Log /** * Created by yasudayousuke on 9/3/15. */ public object LoggerUtil { fun d(tag: String, msg: String){ Log.d(tag, msg) } }
mit
Kotlin
660c3a87410668e6108c1b2d9afcb6dc6549f3ad
Update problem 2062
fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode
src/main/kotlin/leetcode/Problem2062.kt
src/main/kotlin/leetcode/Problem2062.kt
package leetcode /** * https://leetcode.com/problems/count-vowel-substrings-of-a-string/ */ class Problem2062 { fun countVowelSubstrings(word: String): Int { TODO() } } fun main() { val prob = Problem2062() println(prob.countVowelSubstrings("aeiouu")) // 2 println(prob.countVowelSubstrin...
package leetcode /** * https://leetcode.com/problems/count-vowel-substrings-of-a-string/ */ class Problem2062 { fun countVowelSubstrings(word: String): Int { TODO() } } fun main() { val prob = Problem2062() println(prob.countVowelSubstrings("aeiouu")) // 2 println(prob.countVowelSubstrin...
mit
Kotlin
93f9c2b9473a2dbf845e640e5362b7f0f1d562b6
Solve problem 2125
fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode
src/main/kotlin/leetcode/Problem2125.kt
src/main/kotlin/leetcode/Problem2125.kt
package leetcode /** * https://leetcode.com/problems/number-of-laser-beams-in-a-bank/ */ class Problem2125 { fun numberOfBeams(bank: Array<String>): Int { var answer = 0 var previousCount = 0 for (row in bank) { val currentCount = row.count { it == '1' } if (curren...
mit
Kotlin
77e50ba9de4be87fc1b545f046c5c0a0d4baa37e
Enable okhttp websocket tests
ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor
ktor-client/ktor-client-features/ktor-client-websockets/build.gradle.kts
ktor-client/ktor-client-features/ktor-client-websockets/build.gradle.kts
/* * Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ kotlin.sourceSets { commonMain { dependencies { api(project(":ktor-client:ktor-client-core")) } } commonTest { dependencies { api(pr...
/* * Copyright 2014-2019 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license. */ kotlin.sourceSets { commonMain { dependencies { api(project(":ktor-client:ktor-client-core")) } } commonTest { dependencies { api(pr...
apache-2.0
Kotlin
b4e22f60962a51b36155ffd15260c5be1cf4c931
Add a basic Core test
FireZenk/Kartographer
library/src/test/java/org/firezenk/kartographer/library/core/CoreTest.kt
library/src/test/java/org/firezenk/kartographer/library/core/CoreTest.kt
package org.firezenk.kartographer.library.core import org.firezenk.kartographer.library.Logger import org.firezenk.kartographer.library.core.util.TargetRoute import org.firezenk.kartographer.library.dsl.route import org.junit.Assert.assertEquals import org.junit.Before import org.junit.Test /** * Created by Jorge Ga...
package org.firezenk.kartographer.library.core import org.junit.Assert.* /** * Created by Jorge Garrido Oval, aka firezenk on 14/01/18. * Project: Kartographer */ class CoreTest { }
mit
Kotlin
414c1c9591488202d2f5d40149cf3cdc61be669b
Implement TextInputs' test cases.
toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte
app/src/test/java/jp/toastkid/yobidashi/libs/TextInputsTest.kt
app/src/test/java/jp/toastkid/yobidashi/libs/TextInputsTest.kt
package jp.toastkid.yobidashi.libs import jp.toastkid.yobidashi.TestApplication import org.junit.Assert.assertEquals import org.junit.Assert.assertNotNull import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner import org.robolectric.RuntimeEnvironment import org.robolectric....
epl-1.0
Kotlin
fa7ba1cd727df328ec8275b08e1e7b359c75b7f9
Add DummyNMSController
Homes-MinecraftServerMod/Homes,Homes-MinecraftServerMod/Homes
src/main/kotlin/com/masahirosaito/spigot/homes/nms/DummyNMSController.kt
src/main/kotlin/com/masahirosaito/spigot/homes/nms/DummyNMSController.kt
package com.masahirosaito.spigot.homes.nms class DummyNMSController : NMSController { override fun setUp() { } override fun spawn(homesEntity: HomesEntity): List<NMSEntityArmorStand> { return emptyList() } }
apache-2.0
Kotlin
e00da44e8fc73006db5a6a56a4eedc52b4baaadf
refactor #385 Add line separator.
toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/libs/InputsTest.kt
app/src/test/java/jp/toastkid/yobidashi/libs/InputsTest.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
7d917d0ca1711426c43715b393ca2cf91f9c3fdd
Add support for TransparencyEnabledCard
facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho
litho-widget-kotlin/src/main/kotlin/com/facebook/litho/widget/TransparencyEnabledCard.kt
litho-widget-kotlin/src/main/kotlin/com/facebook/litho/widget/TransparencyEnabledCard.kt
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
apache-2.0
Kotlin
8ed83e72257aa94d4cce355af87bfd9873c0cbed
rename enum value
clappr/clappr-android,clappr/clappr-android
clappr/src/main/kotlin/io/clappr/player/base/InternalEvents.kt
clappr/src/main/kotlin/io/clappr/player/base/InternalEvents.kt
package io.clappr.player.base enum class InternalEvent (val value: String) { WILL_CHANGE_ACTIVE_CONTAINER("willChangeActiveContainer"), DID_CHANGE_ACTIVE_CONTAINER("didChangeActiveContainer"), WILL_CHANGE_ACTIVE_PLAYBACK("willChangeActivePlayback"), DID_CHANGE_ACTIVE_PLAYBACK("didChangeActivePlayback")...
package io.clappr.player.base enum class InternalEvent (val value: String) { WILL_CHANGE_ACTIVE_CONTAINER("willChangeActiveContainer"), DID_CHANGE_ACTIVE_CONTAINER("didChangeActiveContainer"), WILL_CHANGE_ACTIVE_PLAYBACK("willChangeActivePlayback"), DID_CHANGE_ACTIVE_PLAYBACK("didChangeActivePlayback")...
bsd-3-clause
Kotlin
f98924ced2e80e86419b7356e4fb874b823b9dbd
Make Char.toBitArray() case insensitive
gdomingues/keural
src/main/kotlin/br/com/germanno/keural/Extensions.kt
src/main/kotlin/br/com/germanno/keural/Extensions.kt
package br.com.germanno.keural /** * @author Germanno Domingues - germanno.domingues@gmail.com * @since 2/5/17 2:01 PM */ fun Char.toBitArray() = DoubleArray(8).mapIndexed { index, _ -> (((toLowerCase().toInt() - 97) shr index) and 1).toDouble() }
package br.com.germanno.keural /** * @author Germanno Domingues - germanno.domingues@gmail.com * @since 2/5/17 2:01 PM */ fun Char.toBitArray() = DoubleArray(8).mapIndexed { index, _ -> ((toInt() shr index) and 1).toDouble() }
mit
Kotlin
5854b836e53795733afc4d0c3b7c866d96d73438
Add toString to see current instruction
kvakil/venus,kvakil/venus,kvakil/venus
src/main/kotlin/venus/riscv/insts/dsl/Instruction.kt
src/main/kotlin/venus/riscv/insts/dsl/Instruction.kt
package venus.riscv.insts.dsl import venus.assembler.AssemblerError import venus.riscv.MachineCode import venus.riscv.insts.dsl.formats.InstructionFormat import venus.riscv.insts.dsl.impls.InstructionImplementation import venus.riscv.insts.dsl.parsers.InstructionParser open class Instruction( private val name...
package venus.riscv.insts.dsl import venus.assembler.AssemblerError import venus.riscv.MachineCode import venus.riscv.insts.dsl.formats.InstructionFormat import venus.riscv.insts.dsl.impls.InstructionImplementation import venus.riscv.insts.dsl.parsers.InstructionParser open class Instruction( private val name...
mit
Kotlin
af9d9d76b5aa06f03fcdaba11f439aae87ab8e96
Change to throw SimulatorError when appropriate
kvakil/venus,kvakil/venus,kvakil/venus
src/main/kotlin/venus/riscv/insts/dsl/Instruction.kt
src/main/kotlin/venus/riscv/insts/dsl/Instruction.kt
package venus.riscv.insts.dsl import venus.assembler.AssemblerError import venus.riscv.MachineCode import venus.riscv.insts.dsl.disasms.InstructionDisassembler import venus.riscv.insts.dsl.formats.InstructionFormat import venus.riscv.insts.dsl.impls.InstructionImplementation import venus.riscv.insts.dsl.parsers.Instru...
package venus.riscv.insts.dsl import venus.assembler.AssemblerError import venus.riscv.MachineCode import venus.riscv.insts.dsl.disasms.InstructionDisassembler import venus.riscv.insts.dsl.formats.InstructionFormat import venus.riscv.insts.dsl.impls.InstructionImplementation import venus.riscv.insts.dsl.parsers.Instru...
mit
Kotlin
4e33e1d7d46b6c6564770422f163ff2243bc15c0
Update WorkManager to alpha04.
AndroidX/androidx,aosp-mirror/platform_frameworks_support,androidx/androidx,AndroidX/androidx,aosp-mirror/platform_frameworks_support,aosp-mirror/platform_frameworks_support,AndroidX/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,An...
buildSrc/src/main/kotlin/androidx/build/LibraryVersions.kt
buildSrc/src/main/kotlin/androidx/build/LibraryVersions.kt
/* * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2018 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
apache-2.0
Kotlin
c974e89d3d7d4409dd7d818c437054f0f99f3597
Update to Android-Components 102.0.20220503143055.
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.20220503143055" }
/* 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.20220502204820" }
mpl-2.0
Kotlin
c665f9d1031312062ab5f6869c07f49c7ecf0d7c
Update to Android-Components 104.0.20220713190337.
mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android
buildSrc/src/main/java/AndroidComponents.kt
buildSrc/src/main/java/AndroidComponents.kt
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION = "104.0.20220713190337" }
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION = "104.0.20220713143043" }
mpl-2.0
Kotlin
558d909340c587288e871c4a9eb1358f457ac346
Update to Android-Components 97.0.20211214190058.
mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android
buildSrc/src/main/java/AndroidComponents.kt
buildSrc/src/main/java/AndroidComponents.kt
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION = "97.0.20211214190058" }
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ object AndroidComponents { const val VERSION = "97.0.20211214143345" }
mpl-2.0
Kotlin
250523718727816d75bb3438de2eb74298f48a82
refactor #727 Add empty fragment.
toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
licenses/src/main/java/jp/toastkid/licence/LicensesFragment.kt
licenses/src/main/java/jp/toastkid/licence/LicensesFragment.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
467c07a4ba0a11c695eb06e79c52f81d372e8870
fix SubmissionTest.kt
StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android
model/src/test/java/org/stepik/android/model/SubmissionTest.kt
model/src/test/java/org/stepik/android/model/SubmissionTest.kt
package org.stepik.android.model import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner import org.stepik.android.model.feedback.ChoiceFeedback import org.stepik.android.model.util.assertThatObjectParcelable import java.util.Date @RunWith(RobolectricTestRunner::class) class...
package org.stepik.android.model import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner import org.stepik.android.model.feedback.ChoiceFeedback import org.stepik.android.model.util.assertThatObjectParcelable import java.util.Date @RunWith(RobolectricTestRunner::class) class...
apache-2.0
Kotlin
6c1565a7d43a54daa54257c1b5257d6f802e0bf6
Make links in new update dialog clickable
CarlosEsco/tachiyomi
app/src/main/java/eu/kanade/tachiyomi/ui/more/NewUpdateDialogController.kt
app/src/main/java/eu/kanade/tachiyomi/ui/more/NewUpdateDialogController.kt
package eu.kanade.tachiyomi.ui.more import android.app.Dialog import android.os.Bundle import android.text.method.LinkMovementMethod import android.view.View import android.widget.TextView import androidx.core.os.bundleOf import com.google.android.material.dialog.MaterialAlertDialogBuilder import eu.kanade.tachiyomi.R...
package eu.kanade.tachiyomi.ui.more import android.app.Dialog import android.os.Bundle import androidx.core.os.bundleOf import com.google.android.material.dialog.MaterialAlertDialogBuilder import eu.kanade.tachiyomi.R import eu.kanade.tachiyomi.data.updater.AppUpdateResult import eu.kanade.tachiyomi.data.updater.AppUp...
apache-2.0
Kotlin
c45bf097bed62c12b8a6121c7a216ad2356cce45
refactor #511 Add unit test.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte
app/src/test/java/jp/toastkid/yobidashi/editor/OrderedListHeadAdderTest.kt
app/src/test/java/jp/toastkid/yobidashi/editor/OrderedListHeadAdderTest.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
7edc60b2bd489c8ab72f6e2151600bc4aeac8d8d
Remove copyAndClose
ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor
ktor-utils/src/io/ktor/cio/Channels.kt
ktor-utils/src/io/ktor/cio/Channels.kt
package io.ktor.cio import java.io.* open class ChannelIOException(message: String, exception: Exception) : IOException(message, exception) class ChannelWriteException(message: String = "Cannot write to a channel", exception: Exception) : ChannelIOException(message, exception) class ChannelReadException(message: Str...
package io.ktor.cio import kotlinx.coroutines.experimental.io.* import java.io.* open class ChannelIOException(message: String, exception: Exception) : IOException(message, exception) class ChannelWriteException(message: String = "Cannot write to a channel", exception: Exception) : ChannelIOException(message, except...
apache-2.0
Kotlin
73a4ffb9605fd00d9e3cc15027f3c478ac881219
Use MotionLayout.updateState()
chrisbanes/tivi,chrisbanes/tivi
app/src/main/java/app/tivi/extensions/MotionLayoutExtensions.kt
app/src/main/java/app/tivi/extensions/MotionLayoutExtensions.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
3aec6a47423e9eb3ef7b266502488ef8679ea757
Add crossfade to Coil
WhosNickDoglio/Aww-Gallery,WhosNickDoglio/Aww-Gallery
app/src/main/java/com/nicholasdoglio/eyebleach/di/CoilModule.kt
app/src/main/java/com/nicholasdoglio/eyebleach/di/CoilModule.kt
/* * MIT License * * Copyright (c) 2019. Nicholas Doglio * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to ...
/* * MIT License * * Copyright (c) 2019. Nicholas Doglio * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to ...
mit
Kotlin
bf925528add22d47e6828765634c7675d477db47
refactor #433 Add comments.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/main/java/jp/toastkid/yobidashi/wikipedia/UrlDecider.kt
app/src/main/java/jp/toastkid/yobidashi/wikipedia/UrlDecider.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
f2eb4608345fa23a734abe3c18cc2fa0ddc92379
remove duplicate test
anton-okolelov/intellij-rust,alygin/intellij-rust,d9n/intellij-rust,himikof/intellij-rust,d9n/intellij-rust,alygin/intellij-rust,intellij-rust/intellij-rust,himikof/intellij-rust,d9n/intellij-rust,Undin/intellij-rust,ujpv/intellij-rust,anton-okolelov/intellij-rust,d9n/intellij-rust,alygin/intellij-rust,ujpv/intellij-ru...
src/test/kotlin/org/rust/lang/core/resolve/RustMultiFileResolveTestCase.kt
src/test/kotlin/org/rust/lang/core/resolve/RustMultiFileResolveTestCase.kt
package org.rust.lang.core.resolve class RustMultiFileResolveTestCase : RustMultiFileResolveTestCaseBase() { // Check whether resolving-procedure succeeds fun testChildMod() = doTestResolved("child_mod/main.rs", "child_mod/child.rs") fun testNestedChildMod() = doTestResolved("nested_child_mod/...
package org.rust.lang.core.resolve class RustMultiFileResolveTestCase : RustMultiFileResolveTestCaseBase() { // Check whether resolving-procedure succeeds fun testChildMod() = doTestResolved("child_mod/main.rs", "child_mod/child.rs") fun testNestedChildMod() = doTestResolved("nested_child_mod/...
mit
Kotlin
bdba5da42ffff5ab13d0af9266f2a3bc17379131
Fix OSS build break in online_formatter
facebookincubator/ktfmt,facebookincubator/ktfmt,facebookincubator/ktfmt,facebookincubator/ktfmt,facebookincubator/ktfmt
online_formatter/src/main/kotlin/main.kt
online_formatter/src/main/kotlin/main.kt
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
apache-2.0
Kotlin
9051b6b5ac9f379e2dfc933d98cb94a8e6a8d61f
Add more attributes to the runtime api
blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,grad...
subprojects/runtime-api-info/runtime-api-info.gradle.kts
subprojects/runtime-api-info/runtime-api-info.gradle.kts
/* * Copyright 2017 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 2017 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
3a039dc97aed8ae655b6d7a3204795addbe43f70
refactor #451 Fix importing.
toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/browser/usecase/HtmlSourceExtractionUseCaseTest.kt
app/src/test/java/jp/toastkid/yobidashi/browser/usecase/HtmlSourceExtractionUseCaseTest.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
a6cf4de12a32625af318b719622032dec1dec021
Tweak launchWithParent return type
chrisbanes/tivi,chrisbanes/tivi
app/src/main/java/me/banes/chris/tivi/util/TiviViewModel.kt
app/src/main/java/me/banes/chris/tivi/util/TiviViewModel.kt
/* * Copyright 2017 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * Copyright 2017 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
apache-2.0
Kotlin
67bfc5850109bf283716062603c754d32730e00d
refactor #442 Add test cases to StartUpTest.
toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt
app/src/test/java/jp/toastkid/yobidashi/main/StartUpTest.kt
app/src/test/java/jp/toastkid/yobidashi/main/StartUpTest.kt
package jp.toastkid.yobidashi.main import jp.toastkid.yobidashi.R import org.junit.Assert.assertEquals import org.junit.Test /** * [StartUp]'s test cases. * * @author toastkidjp */ class StartUpTest { /** * Check of [StartUp#find]. */ @Test fun getTitleId() { assertEquals(StartUp.BR...
package jp.toastkid.yobidashi.main import jp.toastkid.yobidashi.R import org.junit.Assert.assertEquals import org.junit.Test /** * [StartUp]'s test cases. * * @author toastkidjp */ class StartUpTest { /** * Check of [StartUp#find]. */ @Test fun getTitleId() { assertEquals(StartUp.BR...
epl-1.0
Kotlin
c8c590d17e0f99f82fc80c7d3d8d6f8e1b113208
Fix compilation
anlun/haskell-idea-plugin,Atsky/haskell-idea-plugin,Atsky/haskell-idea-plugin,anlun/haskell-idea-plugin
plugin/src/org/jetbrains/haskell/parser/GeneratedHaskellParserDefinition.kt
plugin/src/org/jetbrains/haskell/parser/GeneratedHaskellParserDefinition.kt
package org.jetbrains.haskell.parser import com.intellij.lang.ASTNode import com.intellij.lang.ParserDefinition import com.intellij.lang.PsiBuilder import com.intellij.lang.PsiParser import com.intellij.lexer.Lexer import com.intellij.openapi.project.Project import com.intellij.psi.PsiElement import com.intellij.psi.P...
package org.jetbrains.haskell.parser import com.intellij.lang.ASTNode import com.intellij.lang.ParserDefinition import com.intellij.lang.PsiBuilder import com.intellij.lang.PsiParser import com.intellij.lexer.Lexer import com.intellij.openapi.project.Project import com.intellij.psi.PsiElement import com.intellij.psi.P...
apache-2.0
Kotlin
790d3c8e1a88ae24bee863507b3bfb2d12f68f74
fix gitignore checker test
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/tests/git4idea/ignore/GitIgnoredCheckerTest.kt
plugins/git4idea/tests/git4idea/ignore/GitIgnoredCheckerTest.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.ignore import com.intellij.openapi.application.WriteAction import com.intellij.openapi.vcs.Ignored import com.intellij.openapi.vcs.NotIgnored import com.intellij...
// 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.ignore import com.intellij.openapi.application.WriteAction import com.intellij.openapi.vcs.Ignored import com.intellij.openapi.vcs.NotIgnored import com.intellij...
apache-2.0
Kotlin
fa9da1321d2121db33717ce939b225ad81b26fad
add isRead field to database
asymmetric-team/secure-messenger-android,asymmetric-team/secure-messenger-android,asymmetric-team/secure-messenger-android
firebase/src/main/java/com/safechat/firebase/conversation/FirebaseMessage.kt
firebase/src/main/java/com/safechat/firebase/conversation/FirebaseMessage.kt
package com.safechat.firebase.conversation import com.google.firebase.database.DataSnapshot import com.google.firebase.database.GenericTypeIndicator import com.safechat.conversation.Message internal data class FirebaseMessage( var message: String? = null, var sender: String? = null, var isRead...
package com.safechat.firebase.conversation import com.google.firebase.database.DataSnapshot import com.google.firebase.database.GenericTypeIndicator import com.safechat.conversation.Message internal data class FirebaseMessage( var message: String? = null, var sender: String? = null) { fun toMess...
apache-2.0
Kotlin