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 |
|---|---|---|---|---|---|---|---|---|
f18ce23eb1f43954495376bd84d8f78a873408f4 | write to document on the AWT thread | guacamoledragon/twitch-chat,guacamoledragon/twitch-chat | src/main/kotlin/club/guacamoledragon/plugin/ui/ChatRoom.kt | src/main/kotlin/club/guacamoledragon/plugin/ui/ChatRoom.kt | package club.guacamoledragon.plugin.ui
import java.awt.BorderLayout
import java.awt.Color
import javax.swing.JPanel
import javax.swing.JScrollPane
import javax.swing.JTextPane
import javax.swing.SwingUtilities
import javax.swing.text.*
class ChatRoom {
private val styledDocument = DefaultStyledDocument(StyleConte... | package club.guacamoledragon.plugin.ui
import java.awt.BorderLayout
import java.awt.Color
import javax.swing.JPanel
import javax.swing.JScrollPane
import javax.swing.JTextPane
import javax.swing.text.*
class ChatRoom {
private val styledDocument = DefaultStyledDocument(StyleContext())
val textPane: JTextPane... | apache-2.0 | Kotlin |
8c8318a7d53a1e262fb1caf7d425c15a45324ffa | fix int overflow in CourseContentTimelineAdapter | StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android | app/src/main/java/org/stepik/android/view/course_content/ui/adapter/CourseContentTimelineAdapter.kt | app/src/main/java/org/stepik/android/view/course_content/ui/adapter/CourseContentTimelineAdapter.kt | package org.stepik.android.view.course_content.ui.adapter
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import kotlinx.android.synthetic.main.view_course_content_section_date.view.*
import org.stepic.droid.R
import org.stepik.and... | package org.stepik.android.view.course_content.ui.adapter
import android.support.v7.widget.RecyclerView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import kotlinx.android.synthetic.main.view_course_content_section_date.view.*
import org.stepic.droid.R
import org.stepik.and... | apache-2.0 | Kotlin |
ff86c8fc0b4bce664629e5fe6d9361f8b8b3bad1 | Update problem 1904 | fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode | src/main/kotlin/leetcode/Problem1904.kt | src/main/kotlin/leetcode/Problem1904.kt | package leetcode
/**
* https://leetcode.com/problems/the-number-of-full-rounds-you-have-played/
*/
class Problem1904 {
fun numberOfRounds(startTime: String, finishTime: String): Int {
var (startHour, startMinute) = startTime.split(":").map { it.toInt() }
var (finishHour, finishMinute) = finishTim... | package leetcode
/**
* https://leetcode.com/problems/the-number-of-full-rounds-you-have-played/
*/
class Problem1904 {
fun numberOfRounds(startTime: String, finishTime: String): Int {
TODO()
}
}
fun main() {
val prob = Problem1904()
println(prob.numberOfRounds("12:01", "12:44")) // 1
pri... | mit | Kotlin |
3052e845dcfabf000e4f806d7a55e14e010feccd | refactor #506 Rename test case. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | image/src/test/java/jp/toastkid/image/list/ImageFilterUseCaseTest.kt | image/src/test/java/jp/toastkid/image/list/ImageFilterUseCaseTest.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 |
37e3d840001592da58846508210239fbb856a72b | add visible_in_picker in Emoji | sys1yagi/mastodon4j | mastodon4j/src/main/java/com/sys1yagi/mastodon4j/api/entity/Emoji.kt | mastodon4j/src/main/java/com/sys1yagi/mastodon4j/api/entity/Emoji.kt | package com.sys1yagi.mastodon4j.api.entity
import com.google.gson.annotations.SerializedName
/**
* see more https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#emoji
*/
class Emoji(
@SerializedName("shortcode")
val shortcode: String = "",
@SerializedName("static_url"... | package com.sys1yagi.mastodon4j.api.entity
import com.google.gson.annotations.SerializedName
/**
* see more https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#emoji
*/
class Emoji(
@SerializedName("shortcode")
val shortcode: String = "",
@SerializedName("static_url"... | mit | Kotlin |
795ab6a8138267cf99eb56965c97011239ac1e74 | Create change type function | ingresso-rapido-mobile/better-migrations,ingresso-rapido-mobile/better-migrations | migration/src/main/java/br/com/bloder/migration/schema/BetterSchema.kt | migration/src/main/java/br/com/bloder/migration/schema/BetterSchema.kt | package br.com.bloder.migration.schema
import br.com.bloder.migration.schema.SCHEMA_ACTIONS.*
import io.realm.DynamicRealm
import io.realm.DynamicRealmObject
import io.realm.RealmObjectSchema
import io.realm.RealmSchema
import java.util.*
/**
* Created by bloder on 28/09/16.
*/
class BetterSchema {
private v... | package br.com.bloder.migration.schema
import br.com.bloder.migration.schema.SCHEMA_ACTIONS.*
import io.realm.DynamicRealm
import io.realm.RealmObjectSchema
import io.realm.RealmSchema
/**
* Created by bloder on 28/09/16.
*/
class BetterSchema {
private var schema: RealmSchema? = null
fun getSchema(dyna... | mit | Kotlin |
4281f0b75c1945ef5ecb502800f144d7f8764e9a | Rename lbl -> label | kvakil/venus,kvakil/venus,kvakil/venus | src/main/kotlin/riscv/Program.kt | src/main/kotlin/riscv/Program.kt | package venus.riscv
import venus.linker.RelocationInfo
class Program {
/* TODO: abstract away these variables */
public val insts: MutableList<Instruction>
public val labels: HashMap<String, Int>
public val relocationTable: MutableList<RelocationInfo>
public val dataSegment: MutableList<Byte>
... | package venus.riscv
import venus.linker.RelocationInfo
class Program {
/* TODO: abstract away these variables */
public val insts: MutableList<Instruction>
public val labels: HashMap<String, Int>
public val relocationTable: MutableList<RelocationInfo>
public val dataSegment: MutableList<Byte>
... | mit | Kotlin |
89da659e5ddbe7d4a92cf7155cabd2e7fb9c4d6d | add EXIF_DESCRIPTION and modified visibility of TEMP_FILE from private to internal | androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/andro... | camera/camera-core/src/androidTest/java/androidx/camera/core/imagecapture/Utils.kt | camera/camera-core/src/androidTest/java/androidx/camera/core/imagecapture/Utils.kt | /*
* 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
*
* http://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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin |
b1cd9167a652ebaccb39d0f33a16375420bdcf94 | Add modifier to icon slot | Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2 | common/design-compose/src/main/kotlin/app/ss/design/compose/widget/icon/ResIcon.kt | common/design-compose/src/main/kotlin/app/ss/design/compose/widget/icon/ResIcon.kt | /*
* Copyright (c) 2022. Adventech <info@adventech.io>
*
* 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, mod... | /*
* Copyright (c) 2022. Adventech <info@adventech.io>
*
* 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, mod... | mit | Kotlin |
0878db3ad822b600c519a14f4cb2dbcf7675b82b | increase limit, add headless license | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/platform-impl/src/com/intellij/ide/plugins/JarOrderStarter.kt | platform/platform-impl/src/com/intellij/ide/plugins/JarOrderStarter.kt | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.plugins
import com.intellij.openapi.application.ApplicationStarter
import java.io.File
import kotlin.reflect.full.memberFunctions
import kotlin.streams.t... | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.ide.plugins
import com.intellij.openapi.application.ApplicationStarter
import java.io.File
import kotlin.reflect.full.memberFunctions
import kotlin.streams.t... | apache-2.0 | Kotlin |
cc69b72c20e69352db77a9b3d7eee415f9146d6d | Remove deprecated shapes | DanielMartinus/Konfetti | konfetti/core/src/main/java/nl/dionsegijn/konfetti/core/models/Shape.kt | konfetti/core/src/main/java/nl/dionsegijn/konfetti/core/models/Shape.kt | package nl.dionsegijn.konfetti.core.models
import android.graphics.RectF
import android.graphics.drawable.Drawable
sealed interface Shape {
object Circle: Shape {
val rect = RectF()
}
object Square: Shape
class Rectangle(
/** The ratio of height to width. Must be within range [0, 1] */... | package nl.dionsegijn.konfetti.core.models
import android.graphics.RectF
import android.graphics.drawable.Drawable
sealed interface Shape {
companion object {
// Maintain binary and backwards compatibility with previous enum API.
@JvmField
@Deprecated("Use Square class, instead.", replaceW... | isc | Kotlin |
afb71fcdfb0159f0c2ccef820e9db1f396d99bda | Create TeleportStringData | Homes-MinecraftServerMod/Homes,Homes-MinecraftServerMod/Homes | src/main/kotlin/com/masahirosaito/spigot/homes/datas/strings/TeleportStringData.kt | src/main/kotlin/com/masahirosaito/spigot/homes/datas/strings/TeleportStringData.kt | package com.masahirosaito.spigot.homes.datas.strings
data class TeleportStringData(
val TELEPORT_WAIT: String = "It takes &b[delay]&r seconds for teleport to start.",
val TELEPORT_CANCEL: String = "&cTeleport canceled.&r",
val TELEPORT_CANCEL_DELAY: String = "&cYou have to stay for &r[delay]&c ... | apache-2.0 | Kotlin | |
3484f6ee73ec6ff7e885567aadd0fa44f573fa6e | Bump markdown from 0.2.0 to 0.2.1 (#1806) | Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka,Kotlin/dokka | core/build.gradle.kts | core/build.gradle.kts | import org.jetbrains.dokkaVersion
import org.jetbrains.registerDokkaArtifactPublication
plugins {
`maven-publish`
id("com.jfrog.bintray")
}
dependencies {
api("org.jetbrains:markdown:0.2.1")
implementation(kotlin("reflect"))
implementation("org.jsoup:jsoup:1.12.1")
implementation("com.fasterxm... | import org.jetbrains.dokkaVersion
import org.jetbrains.registerDokkaArtifactPublication
plugins {
`maven-publish`
id("com.jfrog.bintray")
}
dependencies {
api("org.jetbrains:markdown:0.2.0")
implementation(kotlin("reflect"))
implementation("org.jsoup:jsoup:1.12.1")
implementation("com.fasterxm... | apache-2.0 | Kotlin |
693cc103ea5e9fed3045d3d20778866a0041d944 | Add `date_upload` to `toDbChapter()` (#7297) | CarlosEsco/tachiyomi | app/src/main/java/eu/kanade/domain/chapter/model/Chapter.kt | app/src/main/java/eu/kanade/domain/chapter/model/Chapter.kt | package eu.kanade.domain.chapter.model
import eu.kanade.tachiyomi.source.model.SChapter
import eu.kanade.tachiyomi.data.database.models.Chapter as DbChapter
data class Chapter(
val id: Long,
val mangaId: Long,
val read: Boolean,
val bookmark: Boolean,
val lastPageRead: Long,
val dateFetch: Lon... | package eu.kanade.domain.chapter.model
import eu.kanade.tachiyomi.source.model.SChapter
import eu.kanade.tachiyomi.data.database.models.Chapter as DbChapter
data class Chapter(
val id: Long,
val mangaId: Long,
val read: Boolean,
val bookmark: Boolean,
val lastPageRead: Long,
val dateFetch: Lon... | apache-2.0 | Kotlin |
358feeecbf06d156c1ba27bb737c210d5bb533a0 | Add Local inner class as stub just to be used by repository. | ramonrabello/Kiphy | app/src/main/kotlin/com/github/ramonrabello/kiphy/trends/data/TrendingDataSource.kt | app/src/main/kotlin/com/github/ramonrabello/kiphy/trends/data/TrendingDataSource.kt | package com.github.ramonrabello.kiphy.trends.data
import com.github.ramonrabello.kiphy.trends.TrendingApi
import com.github.ramonrabello.kiphy.trends.model.TrendingResponse
import io.reactivex.Single
interface TrendingDataSource {
fun loadTrending(): Single<TrendingResponse>
class Remote(private val api: Tr... | package com.github.ramonrabello.kiphy.trends.data
import com.github.ramonrabello.kiphy.trends.TrendingApi
import com.github.ramonrabello.kiphy.trends.model.TrendingResponse
import io.reactivex.Single
interface TrendingDataSource {
fun loadTrending(): Single<TrendingResponse>
class Remote(private val api: Tr... | apache-2.0 | Kotlin |
089b359f3d7d188e5fd9e660d169bc45a1dc329b | Use isInstance in client receive | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-client/ktor-client-core/src/io/ktor/client/call/HttpClientCall.kt | ktor-client/ktor-client-core/src/io/ktor/client/call/HttpClientCall.kt | package io.ktor.client.call
import io.ktor.client.*
import io.ktor.client.request.*
import io.ktor.client.response.*
import io.ktor.content.*
import java.io.*
import java.util.concurrent.atomic.*
import kotlin.reflect.*
import kotlin.reflect.full.*
class HttpClientCall private constructor(
private val client... | package io.ktor.client.call
import io.ktor.client.*
import io.ktor.client.request.*
import io.ktor.client.response.*
import io.ktor.content.*
import java.io.*
import java.util.concurrent.atomic.*
import kotlin.reflect.*
import kotlin.reflect.full.*
class HttpClientCall private constructor(
private val client... | apache-2.0 | Kotlin |
267f1b2383eb90aa1cbad53f3f578bad0a78d429 | Trim the tag (#439) | jraska/github-client | plugins/src/main/java/com/jraska/github/client/release/ReleasePlugin.kt | plugins/src/main/java/com/jraska/github/client/release/ReleasePlugin.kt | package com.jraska.github.client.release
import org.gradle.api.Plugin
import org.gradle.api.Project
import java.io.ByteArrayOutputStream
import java.io.File
class ReleasePlugin : Plugin<Project> {
override fun apply(project: Project) {
project.afterEvaluate {
addTasks(it)
}
}
private fun addTasks... | package com.jraska.github.client.release
import org.gradle.api.Plugin
import org.gradle.api.Project
import java.io.ByteArrayOutputStream
import java.io.File
class ReleasePlugin : Plugin<Project> {
override fun apply(project: Project) {
project.afterEvaluate {
addTasks(it)
}
}
private fun addTasks... | apache-2.0 | Kotlin |
313b105b30aedc0e97b18c5ae14e6300c0797b1d | Make params public | KotlinNLP/SimpleDNN | src/main/kotlin/com/kotlinnlp/simplednn/core/layers/models/merge/concatff/ConcatFFLayerParameters.kt | src/main/kotlin/com/kotlinnlp/simplednn/core/layers/models/merge/concatff/ConcatFFLayerParameters.kt | /* Copyright 2020-present Simone Cangialosi. 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 2020-present Simone Cangialosi. 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 |
e074373ecdd4a930aa852addca56de6a1ec56cf3 | fix StartUnityAction availability | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | rider/src/main/kotlin/com/jetbrains/rider/plugins/unity/actions/StartUnityAction.kt | rider/src/main/kotlin/com/jetbrains/rider/plugins/unity/actions/StartUnityAction.kt | package com.jetbrains.rider.plugins.unity.actions
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.project.DumbAwareAction
import com.intellij.openapi.project.Project
import com.jetbrains.rider.model.unity.frontendBackend.frontendBackendModel
import com.jetbrains.rider.plugins.unity.i... | package com.jetbrains.rider.plugins.unity.actions
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.project.DumbAwareAction
import com.intellij.openapi.project.Project
import com.jetbrains.rider.model.unity.frontendBackend.frontendBackendModel
import com.jetbrains.rider.plugins.unity.i... | apache-2.0 | Kotlin |
1deac5253cb2bed3b12b39ed1b19a02ec13a417a | add db structure for video url | StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android | app/src/main/java/org/stepic/droid/storage/structure/DbStructureVideoUrl.kt | app/src/main/java/org/stepic/droid/storage/structure/DbStructureVideoUrl.kt | package org.stepic.droid.storage.structure
object DbStructureVideoUrl {
val tableName = "videoUrl"
object Column {
val videoId = "videoId"
val url = "url";
val quality = "quality"
}
}
| apache-2.0 | Kotlin | |
97eb8b80dbd8e14759cba0259883ce2e28e96550 | refactor #718 Use import. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | article/src/main/java/jp/toastkid/article_viewer/article/list/ViewHolder.kt | article/src/main/java/jp/toastkid/article_viewer/article/list/ViewHolder.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 |
2b1ca2610dabd63f0826d4c043794b189a2173e3 | Update MessageFactory enable constructing voice message | carmenlau/chat-SDK-Android,carmenlau/chat-SDK-Android,carmenlau/chat-SDK-Android,carmenlau/chat-SDK-Android | chat/src/main/java/io/skygear/plugins/chat/ui/model/MessageFactory.kt | chat/src/main/java/io/skygear/plugins/chat/ui/model/MessageFactory.kt | package io.skygear.plugins.chat.ui.model
import io.skygear.skygear.Record
import org.json.JSONException
import io.skygear.plugins.chat.Message as ChatMessage
/**
* Created by carmenlau on 10/15/17.
*/
class MessageFactory {
companion object {
fun getMessage(record: Record) : Message {
try {... | package io.skygear.plugins.chat.ui.model
import io.skygear.skygear.Record
import org.json.JSONException
import io.skygear.plugins.chat.Message as ChatMessage
/**
* Created by carmenlau on 10/15/17.
*/
class MessageFactory {
companion object {
fun getMessage(record: Record) : Message {
try {... | apache-2.0 | Kotlin |
d2bda34698c4dae9520f9841ee2d228b3c016eb7 | 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 |
6c751cfbf01884066c95e871380d6fa5368c9f68 | remove findViewById in kotlin activity file | luojilab/DDComponentForAndroid,luojilab/DDComponentForAndroid | sharecomponentkotlin/src/main/java/com/luojilab/share/kotlin/ShareMessageActivity.kt | sharecomponentkotlin/src/main/java/com/luojilab/share/kotlin/ShareMessageActivity.kt | package com.luojilab.share.kotlin
import android.app.Activity
import android.os.Bundle
import com.luojilab.component.componentlib.service.AutowiredService
import com.luojilab.componentservice.share.bean.Author
import com.luojilab.router.facade.annotation.Autowired
import com.luojilab.router.facade.annotation.RouteNode... | package com.luojilab.share.kotlin
import android.app.Activity
import android.os.Bundle
import android.widget.TextView
import com.luojilab.component.componentlib.service.AutowiredService
import com.luojilab.componentservice.share.bean.Author
import com.luojilab.router.facade.annotation.Autowired
import com.luojilab.rou... | apache-2.0 | Kotlin |
5745e45de43eacacff8cdf2ed56647eb88b6cefd | refactor #412 Add UiThread annotation. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/search/url_suggestion/RtsSuggestionUseCase.kt | app/src/main/java/jp/toastkid/yobidashi/search/url_suggestion/RtsSuggestionUseCase.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 |
8c933df75d2c80c4d9b43cfd2b83a58ddcb22934 | refactor #620 Implement ItemMenuPopup's unit test. | 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... | epl-1.0 | Kotlin | |
8e3a6b3963daf858f1aee21fb0a6c6fc9047d073 | Handle use-case nullability | Doctoror/ParticleConstellationsLiveWallpaper,Doctoror/ParticleConstellationsLiveWallpaper | app/src/main/java/com/doctoror/particleswallpaper/presentation/presenter/PreviewPreferencePresenter.kt | app/src/main/java/com/doctoror/particleswallpaper/presentation/presenter/PreviewPreferencePresenter.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 |
f8b5e2ac34863ea5d66ff0484d39940027e1c7b4 | Write documentation for unnecessary let rule | rock3r/detekt,rock3r/detekt,rock3r/detekt,arturbosch/detekt,arturbosch/detekt,arturbosch/detekt | detekt-rules/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/UnnecessaryLet.kt | detekt-rules/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/style/UnnecessaryLet.kt | package io.gitlab.arturbosch.detekt.rules.style
import io.gitlab.arturbosch.detekt.api.CodeSmell
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.Debt
import io.gitlab.arturbosch.detekt.api.Entity
import io.gitlab.arturbosch.detekt.api.Issue
import io.gitlab.arturbosch.detekt.api.Ru... | package io.gitlab.arturbosch.detekt.rules.style
import io.gitlab.arturbosch.detekt.api.CodeSmell
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.Debt
import io.gitlab.arturbosch.detekt.api.Entity
import io.gitlab.arturbosch.detekt.api.Issue
import io.gitlab.arturbosch.detekt.api.Ru... | apache-2.0 | Kotlin |
20b2119db156f42348e361eb1cad36e60924453f | Create ClassGroup.kt to store a list of Class objects with the same subjectId | FarbodSalamat-Zadeh/TimetableApp,FarbodSalamat-Zadeh/TimetableApp | app/src/main/java/com/satsumasoftware/timetable/framework/ClassGroup.kt | app/src/main/java/com/satsumasoftware/timetable/framework/ClassGroup.kt | package com.satsumasoftware.timetable.framework
import java.util.*
class ClassGroup(val subjectId: Int) {
val classes = ArrayList<Class>()
fun addClass(cls: Class) {
if (cls.subjectId != subjectId) {
throw IllegalArgumentException("the subject id of the Class, (${cls.subjectId}), " +
... | apache-2.0 | Kotlin | |
cb4d1f56646b3729e8aab67f766c4a00a682e166 | refactor #382 Fix function comment. | toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | 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 ArchiveSav... | epl-1.0 | Kotlin |
e86c83318dbeb5ac404306a9da272d93f8b3da9b | reformat code in gcm listener | 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/services/StepicGcmListenerService.kt | app/src/main/java/org/stepic/droid/services/StepicGcmListenerService.kt | package org.stepic.droid.services
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.media.RingtoneManager
import android.os.Bundle
import android.support.v4.app.NotificationCompat
import com.google.android.gms.gcm.GcmList... | package org.stepic.droid.services
import android.app.NotificationManager
import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.media.RingtoneManager
import android.os.Bundle
import android.support.v4.app.NotificationCompat
import com.google.android.gms.gcm.GcmList... | apache-2.0 | Kotlin |
84bb5480e5d426e23bb8886af3847a4c178f3064 | Simplify RxImmediateSchedulerRule | kamgurgul/cpu-info,kamgurgul/cpu-info,kamgurgul/cpu-info | app/src/test/java/com/kgurgul/cpuinfo/utils/RxImmediateSchedulerRule.kt | app/src/test/java/com/kgurgul/cpuinfo/utils/RxImmediateSchedulerRule.kt | /*
* Copyright 2017 KG Soft
*
* 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 w... | /*
* Copyright 2017 KG Soft
*
* 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 w... | apache-2.0 | Kotlin |
fc19a05918158bbca4fc8ffe9a7693ea4cd01a3b | Remove no longer valid group test | dya-tel/TSU-Schedule | src/test/kotlin/ru/dyatel/tsuschedule/parsing/ParserTest.kt | src/test/kotlin/ru/dyatel/tsuschedule/parsing/ParserTest.kt | package ru.dyatel.tsuschedule.parsing
import org.junit.Test
import ru.dyatel.tsuschedule.BadGroupException
import ru.dyatel.tsuschedule.Parser
import java.util.HashSet
import kotlin.test.assertFailsWith
import kotlin.test.assertFalse
import kotlin.test.assertTrue
class ParserTest {
private var parser = Parser()
... | package ru.dyatel.tsuschedule.parsing
import org.junit.Test
import ru.dyatel.tsuschedule.BadGroupException
import ru.dyatel.tsuschedule.Parser
import java.util.HashSet
import kotlin.test.assertFailsWith
import kotlin.test.assertFalse
import kotlin.test.assertTrue
class ParserTest {
private var parser = Parser()
... | mit | Kotlin |
06ae40043ba04c3340e7c2c368557bb071569544 | Fix ImageJMain for X11Thread issue | scenerygraphics/SciView,scenerygraphics/SciView | src/main/java/sc/iview/ImageJMain.kt | src/main/java/sc/iview/ImageJMain.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 must... | /*-
* #%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 must... | bsd-2-clause | Kotlin |
798caa5f9f45c7ad36f77ff3736a14c1ffdaf32a | 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/mediaconvert/build.gradle.kts | kotlin/services/mediaconvert/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:mediaconvert:0.14.3-beta")
testImplementation("org.junit.jupi... | 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:mediaconvert:0.14.3-beta")
testImplementation("org.junit.jupi... | apache-2.0 | Kotlin |
408593812c8a5376b515befd9c645c5268910ecc | Fix :jacoco:compileTestGroovy dependencies | blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn... | subprojects/jacoco/jacoco.gradle.kts | subprojects/jacoco/jacoco.gradle.kts | /*
* Copyright 2013 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 2013 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 |
4b7ab2bf358412331d9ce9c768c4b347e7e2dcfb | Add Symbol Table | FTL-Lang/FTL-Compiler | src/main/kotlin/com/thomas/needham/ftl/frontend/symbols/SymbolTable.kt | src/main/kotlin/com/thomas/needham/ftl/frontend/symbols/SymbolTable.kt | /*
The MIT License (MIT)
FTL-Lang Copyright (c) 2016 thoma
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 | |
f82a56fed828e33be5a0aa180ae6fe0fb39d516c | add user role to comments | StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android | app/src/main/java/org/stepic/droid/model/comments/Comment.kt | app/src/main/java/org/stepic/droid/model/comments/Comment.kt | package org.stepic.droid.model.comments
import org.stepic.droid.model.Actions
import org.stepic.droid.model.UserRole
data class Comment(
val id: Long? = null,
var parent: Long? = null,
val user: Int? = null,
val user_role: UserRole? = null,
val time: String? = null,
va... | package org.stepic.droid.model.comments
import org.stepic.droid.model.Actions
data class Comment(
val id: Long? = null,
var parent: Long? = null,
val user: Int? = null,
val user_role: String? = null,
val time: String? = null,
var text: String = "",
val reply_co... | apache-2.0 | Kotlin |
836c482f531a7f15a1460935e0eef1f9e62f39af | Update subscribeOn timing | wikimedia/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia | app/src/main/java/org/wikipedia/commons/ImageTagsProvider.kt | app/src/main/java/org/wikipedia/commons/ImageTagsProvider.kt | package org.wikipedia.commons
import io.reactivex.Observable
import io.reactivex.schedulers.Schedulers
import org.wikipedia.dataclient.Service
import org.wikipedia.dataclient.ServiceFactory
import org.wikipedia.dataclient.WikiSite
import java.util.*
object ImageTagsProvider {
fun getImageTagsObservable(pageId: St... | package org.wikipedia.commons
import io.reactivex.Observable
import io.reactivex.android.schedulers.AndroidSchedulers
import io.reactivex.schedulers.Schedulers
import org.wikipedia.dataclient.Service
import org.wikipedia.dataclient.ServiceFactory
import org.wikipedia.dataclient.WikiSite
import java.util.*
object Imag... | apache-2.0 | Kotlin |
d597da7682648b02a02e1f33cd65defdc932253a | Make LayoutInflator.inflate() call match docs | ids1024/whitakers-words-android,ids1024/whitakers-words-android | src/main/kotlin/com/ids1024/whitakerswords/SearchAdapter.kt | src/main/kotlin/com/ids1024/whitakerswords/SearchAdapter.kt | package com.ids1024.whitakerswords
import java.util.ArrayList
import android.widget.TextView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.support.v7.widget.RecyclerView
import android.text.SpannableStringBuilder
class SearchAdapter(results: ArrayList<Spannab... | package com.ids1024.whitakerswords
import java.util.ArrayList
import android.widget.TextView
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.support.v7.widget.RecyclerView
import android.text.SpannableStringBuilder
class SearchAdapter(results: ArrayList<Spannab... | mit | Kotlin |
62f3127f488726267390f21c8bd64dc504a2005b | fix the previous issue | songzhw/Hello-kotlin,songzhw/Hello-kotlin | algo/src/main/java/ca/six/algo/array/半有序二维数组的命中与否.kt | algo/src/main/java/ca/six/algo/array/半有序二维数组的命中与否.kt | /*
二维数组每一行, 每一列都是递增的 (但第二行中的数字不见得都比第一行的大).
现在给你写一个数字 , 要求返回boolean表示是否输入的数字是否在数组中
*/
package ca.six.algo.array
val ary = arrayOf(
intArrayOf(2, 8, 12, 19),
intArrayOf(13, 24, 39, 48),
intArrayOf(24, 45, 63, 93)
)
fun isIncludedIn(num: Int) {
for (subary in ary) {
for (item in subary) {
... | /*
二维数组每一行, 每一列都是递增的 (但第二行中的数字不见得都比第一行的大).
现在给你写一个数字 , 要求返回boolean表示是否输入的数字是否在数组中
*/
package ca.six.algo.array
val ary = arrayOf(
intArrayOf(2, 8, 12, 19),
intArrayOf(13, 24, 39, 48),
intArrayOf(24, 45, 63, 93)
)
fun isIncludedIn(num: Int) {
for (subary in ary) {
for (item in subary) {
... | apache-2.0 | Kotlin |
65a68b263f04b22dcb03497d649403e08696030d | add real assertions to UpdateZipFromFileTest | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/util/testSrc/com/intellij/util/io/zip/UpdateZipFromFileTest.kt | platform/util/testSrc/com/intellij/util/io/zip/UpdateZipFromFileTest.kt | // Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util.io.zip
import com.intellij.util.io.assertMatches
import com.intellij.util.io.directoryContent
import org.junit.Test
import java.io.File
/**
* @author ... | // Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util.io.zip
import com.intellij.util.io.directoryContent
import org.junit.Test
import java.io.File
/**
* @author nik
*/
class UpdateZipFromFileTest {
@T... | apache-2.0 | Kotlin |
62ddda99ef7ce1482aba4f967b0c496d43b15fff | Allow using array types instead of varargs for injectors | minecraft-dev/MinecraftDev,minecraft-dev/MinecraftDev,DemonWav/MinecraftDevIntelliJ,DemonWav/MinecraftDevIntelliJ,DemonWav/MinecraftDev,DemonWav/MinecraftDev,DemonWav/MinecraftDevIntelliJ,minecraft-dev/MinecraftDev,DemonWav/MinecraftDev,DemonWav/IntelliJBukkitSupport | src/main/kotlin/com/demonwav/mcdev/platform/mixin/inspection/injector/ParameterGroup.kt | src/main/kotlin/com/demonwav/mcdev/platform/mixin/inspection/injector/ParameterGroup.kt | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2017 minecraft-dev
*
* MIT License
*/
package com.demonwav.mcdev.platform.mixin.inspection.injector
import com.demonwav.mcdev.util.Parameter
import com.demonwav.mcdev.util.isErasureEquivalentTo
import com.intellij.psi.PsiArrayType
... | /*
* Minecraft Dev for IntelliJ
*
* https://minecraftdev.org
*
* Copyright (c) 2017 minecraft-dev
*
* MIT License
*/
package com.demonwav.mcdev.platform.mixin.inspection.injector
import com.demonwav.mcdev.util.Parameter
import com.demonwav.mcdev.util.isErasureEquivalentTo
import com.intellij.psi.PsiParameter
... | mit | Kotlin |
6530c1d1ddd6e1d9a3bae8db7601452a3a251ca0 | refactor #523 Implement WebViewReplacementUseCase' unit test. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | app/src/test/java/jp/toastkid/yobidashi/browser/usecase/WebViewReplacementUseCaseTest.kt | app/src/test/java/jp/toastkid/yobidashi/browser/usecase/WebViewReplacementUseCaseTest.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 | |
38056f9ff09aa475495f831953c010a40e982bb1 | refactor #511 Add test case. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte | app/src/test/java/jp/toastkid/yobidashi/editor/usecase/CurrentLineSelectionUseCaseTest.kt | app/src/test/java/jp/toastkid/yobidashi/editor/usecase/CurrentLineSelectionUseCaseTest.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 | |
e434300eda692dbd2796239932a185add67669b8 | Define nav bar color only if it's required | markusfisch/BinaryEye,markusfisch/BinaryEye | app/src/main/kotlin/de/markusfisch/android/binaryeye/app/SystemBars.kt | app/src/main/kotlin/de/markusfisch/android/binaryeye/app/SystemBars.kt | package de.markusfisch.android.binaryeye.app
import android.content.Context
import android.content.ContextWrapper
import android.graphics.drawable.ColorDrawable
import android.os.Build
import android.support.v4.content.ContextCompat
import android.support.v7.app.AppCompatActivity
import android.view.View
import androi... | package de.markusfisch.android.binaryeye.app
import android.content.Context
import android.content.ContextWrapper
import android.graphics.drawable.ColorDrawable
import android.os.Build
import android.support.v4.content.ContextCompat
import android.support.v7.app.AppCompatActivity
import android.view.View
import androi... | mit | Kotlin |
78d9cb08485f05cfc3efe3dc12e53005ac05bb9b | Revert "make sure that ReferenceByName can be used only with nodes" | ftomassetti/kolasu,ftomassetti/kolasu | core/src/main/kotlin/com/strumenta/kolasu/model/Naming.kt | core/src/main/kotlin/com/strumenta/kolasu/model/Naming.kt | package com.strumenta.kolasu.model
/**
* An entity that can have a name
*/
interface PossiblyNamed {
/**
* The optional name of the entity.
*/
val name: String?
}
/**
* An entity which has a name.
*/
interface Named : PossiblyNamed {
/**
* The mandatory name of the entity.
*/
o... | package com.strumenta.kolasu.model
/**
* An entity that can have a name
*/
interface PossiblyNamed {
/**
* The optional name of the entity.
*/
val name: String?
}
/**
* An entity which has a name.
*/
interface Named : PossiblyNamed {
/**
* The mandatory name of the entity.
*/
o... | apache-2.0 | Kotlin |
bffa73bbf1a1debb241f6039cb263ae1c6dad43a | Bump antlr4 from 4.9.2 to 4.9.3 | bjansen/pebble-intellij,bjansen/pebble-intellij,bjansen/pebble-intellij | parser/build.gradle.kts | parser/build.gradle.kts | repositories {
mavenCentral()
}
plugins {
java
antlr
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
}
dependencies {
antlr("org.antlr:antlr4:4.9.3")
implementation("org.antlr:antlr4-runtime:4.9.2")
testIm... | repositories {
mavenCentral()
}
plugins {
java
antlr
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
}
dependencies {
antlr("org.antlr:antlr4:4.9.2")
implementation("org.antlr:antlr4-runtime:4.9.2")
testIm... | mit | Kotlin |
7ad9ad57c1e095e505f05e2a543d52cda8f98970 | Add Notion | yngvark/snippets,yngvark/snippets,yngvark/snippets,yngvark/snippets | pc-init/src/main/kotlin/com/yngvark/pc_init/process/WebPagesProcess.kt | pc-init/src/main/kotlin/com/yngvark/pc_init/process/WebPagesProcess.kt | package com.yngvark.pc_init.process
import com.yngvark.pc_init.robot.RobotHelper
import com.yngvark.pc_init.secretGetter
import java.awt.event.KeyEvent
class WebPagesProcess(private val robot: RobotHelper) {
fun run() {
val password = secretGetter.getPasswordFromWebsite("Oslo Kommune AD byr281592")
... | package com.yngvark.pc_init.process
import com.yngvark.pc_init.robot.RobotHelper
import com.yngvark.pc_init.secretGetter
import java.awt.event.KeyEvent
class WebPagesProcess(private val robot: RobotHelper) {
fun run() {
val password = secretGetter.getPasswordFromWebsite("Oslo Kommune AD byr281592")
... | unlicense | Kotlin |
3f8785aa69dff3694cde70ffebf35f2dd5c2453f | Make rules property of MultiRule public | arturbosch/detekt,rock3r/detekt,Mauin/detekt,arturbosch/detekt,Mauin/detekt,arturbosch/detekt,Mauin/detekt,Mauin/detekt,MyDogTom/detekt,rock3r/detekt,rock3r/detekt | detekt-api/src/main/kotlin/io/gitlab/arturbosch/detekt/api/MultiRule.kt | detekt-api/src/main/kotlin/io/gitlab/arturbosch/detekt/api/MultiRule.kt | package io.gitlab.arturbosch.detekt.api
import org.jetbrains.kotlin.psi.KtFile
abstract class MultiRule : BaseRule() {
abstract val rules: List<Rule>
override fun visitCondition(root: KtFile) = true
}
| package io.gitlab.arturbosch.detekt.api
import org.jetbrains.kotlin.psi.KtFile
abstract class MultiRule : BaseRule() {
protected abstract val rules: List<Rule>
override fun visitCondition(root: KtFile) = true
}
| apache-2.0 | Kotlin |
73c1c6348dfeb3ab538713f38ae6dfb4181711ab | Break instrumentation test | nickbutcher/plaid,nickbutcher/plaid,nickbutcher/plaid,nickbutcher/plaid | core/src/androidTest/java/io/plaidapp/core/util/TextViewExtensionTest.kt | core/src/androidTest/java/io/plaidapp/core/util/TextViewExtensionTest.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 |
d18d631675fbe54725097240d247a6ca1b5e9bc7 | Make constructor accessible if it's not already | hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp | tooling/moshkt/api/src/main/kotlin/io/sweers/moshkt/api/MoshiSerializable.kt | tooling/moshkt/api/src/main/kotlin/io/sweers/moshkt/api/MoshiSerializable.kt | package io.sweers.moshkt.api
import com.squareup.moshi.JsonAdapter
import com.squareup.moshi.Moshi
import com.squareup.moshi.Types
import java.lang.reflect.InvocationTargetException
import java.lang.reflect.ParameterizedType
import java.lang.reflect.Type
import kotlin.annotation.AnnotationRetention.RUNTIME
import kotl... | package io.sweers.moshkt.api
import com.squareup.moshi.JsonAdapter
import com.squareup.moshi.Moshi
import com.squareup.moshi.Types
import java.lang.reflect.InvocationTargetException
import java.lang.reflect.ParameterizedType
import java.lang.reflect.Type
import kotlin.annotation.AnnotationRetention.RUNTIME
import kotl... | apache-2.0 | Kotlin |
c9fb959f3dca287b33290666be7e6bccbf8e2415 | refactor #620 Rename test function. | 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 |
2244d9f4b0336d973a4ff6528e0b70dfdbe56c51 | remove language prefix from description. | UweTrottmann/SeriesGuide,UweTrottmann/SeriesGuide | app/src/main/java/com/battlelancer/seriesguide/ui/search/SearchTools.kt | app/src/main/java/com/battlelancer/seriesguide/ui/search/SearchTools.kt | package com.battlelancer.seriesguide.ui.search
import android.content.Context
import com.battlelancer.seriesguide.SgApp
import com.uwetrottmann.tmdb2.entities.BaseTvShow
object SearchTools {
/**
* Maps TMDB TV shows to search results.
*/
fun mapTvShowsToSearchResults(
languageCode: String,
... | package com.battlelancer.seriesguide.ui.search
import android.content.Context
import com.battlelancer.seriesguide.SgApp
import com.uwetrottmann.tmdb2.entities.BaseTvShow
object SearchTools {
/**
* Maps TMDB TV shows to search results.
*/
fun mapTvShowsToSearchResults(
languageCode: String,
... | apache-2.0 | Kotlin |
f2f1fa45d0ca2230a1efc5f8a631b40d56dbc2ba | add log in firebase crash | denysnovoa/radarrsonarr,denysnovoa/radarrsonarr | app/src/main/java/com/denysnovoa/nzbmanager/common/framework/ErrorLog.kt | app/src/main/java/com/denysnovoa/nzbmanager/common/framework/ErrorLog.kt | package com.denysnovoa.nzbmanager.common.framework
import android.util.Log
import com.google.firebase.crash.FirebaseCrash
class ErrorLog {
fun log(error: Throwable?) {
Log.e("ErrorLog", "Error", error)
FirebaseCrash.report(error)
}
}
| package com.denysnovoa.nzbmanager.common.framework
import android.util.Log
class ErrorLog {
fun log(error: Throwable?) { Log.e("ErrorLog", "Error", error)
}
}
| apache-2.0 | Kotlin |
8bc07055f0f6c42f3cb067f069cd8fb2faca922b | Fix HandlerThread leak in StripeFireAndForgetRequestExecutor (#1574) | stripe/stripe-android,stripe/stripe-android,stripe/stripe-android,stripe/stripe-android,stripe/stripe-android | stripe/src/main/java/com/stripe/android/StripeFireAndForgetRequestExecutor.kt | stripe/src/main/java/com/stripe/android/StripeFireAndForgetRequestExecutor.kt | package com.stripe.android
import android.os.Handler
import android.os.HandlerThread
import androidx.annotation.VisibleForTesting
import com.stripe.android.exception.APIConnectionException
import com.stripe.android.exception.InvalidRequestException
import java.io.Closeable
import java.io.IOException
import java.net.Ht... | package com.stripe.android
import android.os.Handler
import android.os.HandlerThread
import androidx.annotation.VisibleForTesting
import com.stripe.android.exception.APIConnectionException
import com.stripe.android.exception.InvalidRequestException
import java.io.Closeable
import java.io.IOException
import java.net.Ht... | mit | Kotlin |
1ffecd1b41a0fa40a311ca7e42cb7cf3c340be40 | Solve problem 2200 | fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode | src/main/kotlin/leetcode/Problem2200.kt | src/main/kotlin/leetcode/Problem2200.kt | package leetcode
/**
* https://leetcode.com/problems/find-all-k-distant-indices-in-an-array/
*/
class Problem2200 {
fun findKDistantIndices(nums: IntArray, key: Int, k: Int): List<Int> {
val answer = mutableSetOf<Int>()
for (i in nums.indices) {
if (nums[i] == key) {
v... | package leetcode
/**
* https://leetcode.com/problems/find-all-k-distant-indices-in-an-array/
*/
class Problem2200 {
fun findKDistantIndices(nums: IntArray, key: Int, k: Int): List<Int> {
TODO()
}
}
fun main() {
val prob = Problem2200()
println(prob.findKDistantIndices(intArrayOf(3,4,9,1,3,9,... | mit | Kotlin |
3451f37c8b4900cf147be3d668ee1e89beabe8f2 | Add fract() | romainguy/kotlin-math | src/main/kotlin/com/curiouscreature/kotlin/math/Scalar.kt | src/main/kotlin/com/curiouscreature/kotlin/math/Scalar.kt | /*
* Copyright (C) 2017 Romain Guy
*
* 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 agree... | /*
* Copyright (C) 2017 Romain Guy
*
* 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 agree... | apache-2.0 | Kotlin |
411cbb243f11557e15c529ce27d71304b2639adc | Clean up app initialization | markusfisch/BinaryEye,markusfisch/BinaryEye | app/src/main/kotlin/de/markusfisch/android/binaryeye/app/BinaryEyeApp.kt | app/src/main/kotlin/de/markusfisch/android/binaryeye/app/BinaryEyeApp.kt | package de.markusfisch.android.binaryeye.app
import android.app.Application
import android.support.v8.renderscript.RenderScript
import de.markusfisch.android.binaryeye.data.Database
import de.markusfisch.android.binaryeye.preference.Preferences
val db = Database()
val prefs = Preferences()
class BinaryEyeApp : Appli... | package de.markusfisch.android.binaryeye.app
import android.app.Application
import android.support.v8.renderscript.RenderScript
import de.markusfisch.android.binaryeye.data.Database
import de.markusfisch.android.binaryeye.preference.Preferences
val db = Database()
val prefs = Preferences()
class BinaryEyeApp : Appli... | mit | Kotlin |
c1595b5d0fb0c04f3003ecb9a6397657d1d8738b | Clean up imports | google/oboe,google/oboe,google/oboe,google/oboe,google/oboe,google/oboe | samples/minimaloboe/src/main/java/com/example/minimaloboe/AudioPlayer.kt | samples/minimaloboe/src/main/java/com/example/minimaloboe/AudioPlayer.kt | /*
* 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
*
* http://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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin |
d82de63cc200626ac28fa2d04cfc9782b044ec81 | Fix typo in Activity viewModels docs | androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/andro... | activity/activity-ktx/src/main/java/androidx/activity/ActivityViewModelLazy.kt | activity/activity-ktx/src/main/java/androidx/activity/ActivityViewModelLazy.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 |
0d9cfd80dc5ea26319fadc34af5641087189d5e2 | set theme. | UweTrottmann/SeriesGuide,UweTrottmann/SeriesGuide | app/src/main/java/com/battlelancer/seriesguide/ui/preferences/AboutActivity.kt | app/src/main/java/com/battlelancer/seriesguide/ui/preferences/AboutActivity.kt | package com.battlelancer.seriesguide.ui.preferences
import android.os.Bundle
import android.view.MenuItem
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.widget.Toolbar
import com.battlelancer.seriesguide.R
import com.battlelancer.seriesguide.ui.SeriesGuidePreferences
/**
* Just hosts a [Ab... | package com.battlelancer.seriesguide.ui.preferences
import android.os.Bundle
import android.view.MenuItem
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.widget.Toolbar
import com.battlelancer.seriesguide.R
/**
* Just hosts a [AboutPreferencesFragment].
*/
class AboutActivity : AppCompatAc... | apache-2.0 | Kotlin |
9fb5d2b15814c70748235c0744c783adb29eb4e4 | add a test | kryptnostic/rhizome,kryptnostic/rhizome | src/test/kotlin/com/geekbeast/rhizome/hazelcast/DelegatedIntListTest.kt | src/test/kotlin/com/geekbeast/rhizome/hazelcast/DelegatedIntListTest.kt | package com.geekbeast.rhizome.hazelcast
class DelegatedIntListTest {
fun testEquals() {
val dlistOne = DelegatedIntList(listOf(1,2,3,4))
val dlistTwo = DelegatedIntList(listOf(1,2,3,4))
assert(dlistOne.equals(dlistTwo))
}
}
| apache-2.0 | Kotlin | |
fd1ca53f8aa020a22c9b740dc0242dba2033ac62 | clean up | InsertKoinIO/koin,InsertKoinIO/koin,InsertKoinIO/koin | examples/coffee-maker/src/main/kotlin/org/koin/example/CoffeeAppModule.kt | examples/coffee-maker/src/main/kotlin/org/koin/example/CoffeeAppModule.kt | package org.koin.example
import org.koin.dsl.bind
import org.koin.dsl.module
import org.koin.dsl.single
val coffeeAppModule = module {
single { CoffeeMaker(get(), get()) }
single<Pump> { Thermosiphon(get()) }
single<Heater> { ElectricHeater() }
}
// val coffeeAppModule = module {
// single<CoffeeMake... | package org.koin.example
import org.koin.dsl.bind
import org.koin.dsl.module
import org.koin.dsl.single
// val coffeeAppModule = module {
// single { CoffeeMaker(get(), get()) }
// single<Pump> { Thermosiphon(get()) }
// single<Heater> { ElectricHeater() }
// }
val coffeeAppModule = module {
single<Coff... | apache-2.0 | Kotlin |
ccbfe36060e0a5b6024f6c96ef0d13fee4e43b8c | refactor #506 Clean up code. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/media/image/Image.kt | app/src/main/java/jp/toastkid/yobidashi/media/image/Image.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 |
b992ed59f2cd3eaa8451c01339094277088fecc1 | Use snackengage-playrate v.0.18. | 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.1.1"
val assertjAndroid = "1.2.0"
val emailIntentBuilder = "1.0.0"
val espresso = "3.0.2"
val gradleVersions = "0.20.0"
val junit = "4.12"
val kotlin = "1.2.51"
va... | @file:Suppress("MayBeConstant", "unused")
package nerd.tuxmobil.fahrplan.congress
object Versions {
val androidGradle = "3.1.1"
val assertjAndroid = "1.2.0"
val emailIntentBuilder = "1.0.0"
val espresso = "3.0.2"
val gradleVersions = "0.20.0"
val junit = "4.12"
val kotlin = "1.2.51"
va... | apache-2.0 | Kotlin |
372cda875744f94183f3420a8c59ee362d4fc136 | Replace deprecated Gradle APIs. | ReactiveCircus/FlowBinding,ReactiveCircus/FlowBinding | buildSrc/src/main/kotlin/reactivecircus/flowbinding/FlowBindingPlugin.kt | buildSrc/src/main/kotlin/reactivecircus/flowbinding/FlowBindingPlugin.kt | @file:Suppress("unused")
package reactivecircus.flowbinding
import com.android.build.gradle.LibraryPlugin
import org.gradle.api.JavaVersion
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.plugins.JavaLibraryPlugin
import org.gradle.api.plugins.JavaPlugin
import org.gradle.api.plugins.... | @file:Suppress("unused")
package reactivecircus.flowbinding
import com.android.build.gradle.LibraryPlugin
import org.gradle.api.JavaVersion
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.api.plugins.JavaLibraryPlugin
import org.gradle.api.plugins.JavaPlugin
import org.gradle.api.plugins.... | apache-2.0 | Kotlin |
6496f9151192d6c533c0821dae3c00805611cb97 | refactor #289 Add EditorFragment case. | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/test/java/jp/toastkid/yobidashi/settings/initial/InitialIndexSettingUseCaseTest.kt | app/src/test/java/jp/toastkid/yobidashi/settings/initial/InitialIndexSettingUseCaseTest.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 |
856e94da7eb3180a3b8cc03cb883352f6d9c4df6 | add adb path in config | gen0083/AdbFriendly,gen0083/AdbFriendly | plugin/src/main/java/jp/gcreate/plugins/adbfriendly/util/PluginConfig.kt | plugin/src/main/java/jp/gcreate/plugins/adbfriendly/util/PluginConfig.kt | /*
* ADB Friendly
* Copyright 2016 gen0083
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | /*
* ADB Friendly
* Copyright 2016 gen0083
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | apache-2.0 | Kotlin |
8fa8595b9e0dfed9062d5ca52c53db636bc13950 | Optimise preference loading for devices without support | ScreamingHawk/phone-saver | app/src/main/java/link/standen/michael/phonesaver/util/PreferenceHelper.kt | app/src/main/java/link/standen/michael/phonesaver/util/PreferenceHelper.kt | package link.standen.michael.phonesaver.util
import android.content.Context
import android.os.Build
import android.preference.PreferenceManager
import link.standen.michael.phonesaver.R
/**
* A helper class for managing preferences.
*/
class PreferenceHelper(private val context: Context) {
companion object {
var... | package link.standen.michael.phonesaver.util
import android.content.Context
import android.os.Build
import android.preference.PreferenceManager
import link.standen.michael.phonesaver.R
/**
* A helper class for managing preferences.
*/
class PreferenceHelper(private val context: Context) {
companion object {
var... | mit | Kotlin |
eaebbd75a8ad2fe1b9c81718d042a695a0801b54 | Add test for serializing WallpaperInteractiveWatchFaceInstanceParams | AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/andro... | wear/watchface/watchface/src/test/java/androidx/wear/watchface/control/data/WallpaperInteractiveWatchFaceInstanceParamsTest.kt | wear/watchface/watchface/src/test/java/androidx/wear/watchface/control/data/WallpaperInteractiveWatchFaceInstanceParamsTest.kt | /*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin | |
6578cb23c7e5b0155904a8b2a652b06ad0754f70 | Adjust the snippet for configuration cache | gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle | subprojects/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-excludeForConfiguration/kotlin/build.gradle.kts | subprojects/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-excludeForConfiguration/kotlin/build.gradle.kts | plugins {
java
}
repositories {
mavenCentral()
}
// tag::exclude-transitive-dependencies[]
configurations {
"implementation" {
exclude(group = "commons-collections", module = "commons-collections")
}
}
dependencies {
implementation("commons-beanutils:commons-beanutils:1.9.4")
implemen... | plugins {
java
}
repositories {
mavenCentral()
}
// tag::exclude-transitive-dependencies[]
configurations {
"implementation" {
exclude(group = "commons-collections", module = "commons-collections")
}
}
dependencies {
implementation("commons-beanutils:commons-beanutils:1.9.4")
implemen... | apache-2.0 | Kotlin |
4bf738c14ec73f6085c79acac1f95be1abc0686f | Add locale in DateFormat. | toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/browser/screenshots/ViewHolder.kt | app/src/main/java/jp/toastkid/yobidashi/browser/screenshots/ViewHolder.kt | package jp.toastkid.yobidashi.browser.screenshots
import android.graphics.Bitmap
import android.support.annotation.ColorInt
import android.support.v7.widget.RecyclerView
import jp.toastkid.yobidashi.databinding.ItemScreenshotBinding
import java.text.DateFormat
import java.text.SimpleDateFormat
import java.util.*
/**
... | package jp.toastkid.yobidashi.browser.screenshots
import android.graphics.Bitmap
import android.support.annotation.ColorInt
import android.support.v7.widget.RecyclerView
import jp.toastkid.yobidashi.databinding.ItemScreenshotBinding
import java.text.DateFormat
import java.text.SimpleDateFormat
/**
* Screenshot's vie... | epl-1.0 | Kotlin |
d076efd5d163132c4224f50a57479d9d3b477927 | Divide sdk version | wakwak3125/conference-app-2017,kobakei/conference-app-2017,ryugoo/conference-app-2017,kikuchy/conference-app-2017,DroidKaigi/conference-app-2017,kitwtnb/conference-app-2017,chibatching/conference-app-2017,k-kagurazaka/conference-app-2017,futabooo/conference-app-2017,horie1024/conference-app-2017,hironytic/conference-ap... | app/src/test/java/io/github/droidkaigi/confsched2017/util/DateUtilTest.kt | app/src/test/java/io/github/droidkaigi/confsched2017/util/DateUtilTest.kt | package io.github.droidkaigi.confsched2017.util
import android.os.Build
import org.junit.Assert.assertNotNull
import org.junit.Assert.fail
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
import org.robolectric.RuntimeEnvironment
import org.robolectric.annotation.Confi... | package io.github.droidkaigi.confsched2017.util
import org.junit.Assert.assertNotNull
import org.junit.Assert.fail
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
import org.robolectric.RuntimeEnvironment
import java.lang.reflect.InvocationTargetException
import java.... | apache-2.0 | Kotlin |
a532acd2c24b11ca17274bd5abec41f7b595759f | refactor #412 Rename test function. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/test/java/jp/toastkid/yobidashi/search/clip/SearchWithClipTest.kt | app/src/test/java/jp/toastkid/yobidashi/search/clip/SearchWithClipTest.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 |
22c7809614326cc8408048c39cf769fe4f3ae7d6 | Print stack trace in default exception handler in K/N | Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines,Kotlin/kotlinx.coroutines | native/kotlinx-coroutines-core-native/src/CoroutineExceptionHandlerImpl.kt | native/kotlinx-coroutines-core-native/src/CoroutineExceptionHandlerImpl.kt | /*
* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.coroutines
import kotlin.coroutines.*
internal actual fun handleCoroutineExceptionImpl(context: CoroutineContext, exception: Throwable) {
// log exception
exception.printStackTrace()
... | /*
* Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.coroutines
import kotlin.coroutines.*
internal actual fun handleCoroutineExceptionImpl(context: CoroutineContext, exception: Throwable) {
// log exception
println(exception)
}
| apache-2.0 | Kotlin |
114a1684452a19de022e3d950d9d1d525504193d | handle case when a compound feature is empty | 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/stats/completion/RelevanceUtil.kt | plugins/stats-collector/src/com/intellij/stats/completion/RelevanceUtil.kt | package com.intellij.stats.completion
import com.intellij.openapi.util.Pair
import com.intellij.openapi.util.text.StringUtil
object RelevanceUtil {
private val IGNORED_FACTORS = setOf("kotlin.byNameAlphabetical", "scalaMethodCompletionWeigher", "unresolvedOnTop")
/*
* First map contains only features affecting... | package com.intellij.stats.completion
import com.intellij.openapi.util.Pair
import com.intellij.openapi.util.text.StringUtil
object RelevanceUtil {
private val IGNORED_FACTORS = setOf("kotlin.byNameAlphabetical", "scalaMethodCompletionWeigher", "unresolvedOnTop")
/*
* First map contains only features affecting... | apache-2.0 | Kotlin |
6a1f408bfb12606e58c7a2ce72f5a281543aff8e | refactor #523 Remove duplicated color setting. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/browser/user_agent/UserAgentDropdown.kt | app/src/main/java/jp/toastkid/yobidashi/browser/user_agent/UserAgentDropdown.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 |
808a38f51492276057b472440d4b1065c8fe2ddb | Create setup functions for readability | google/ground-android,google/ground-android,google/ground-android | ground/src/test/java/com/google/android/ground/ui/map/LocationControllerTest.kt | ground/src/test/java/com/google/android/ground/ui/map/LocationControllerTest.kt | /*
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | /*
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | apache-2.0 | Kotlin |
89bb97870875329f6ddbbd6547ac6a6ddf9af0ca | Update kotlin and gradle plugin | chibatching/Kotpref | buildSrc/src/main/java/dependencies/Versions.kt | buildSrc/src/main/java/dependencies/Versions.kt | package dependencies
object Versions {
const val versionName = "2.6.0"
const val targetSdk = 28
const val minSdk = 9
const val minSdkWithSupportLibrary = 14
internal const val kotlin = "1.3.10"
internal const val junit = "4.12"
internal const val robolectric = "3.8"
internal const va... | package dependencies
object Versions {
const val versionName = "2.6.0"
const val targetSdk = 28
const val minSdk = 9
const val minSdkWithSupportLibrary = 14
internal const val kotlin = "1.2.71"
internal const val junit = "4.12"
internal const val robolectric = "3.8"
internal const va... | apache-2.0 | Kotlin |
d3464bd4f79b7982f0215cd75456100f1e7f9214 | refactor #382 Add const. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/browser/archive/ArchivesActivity.kt | app/src/main/java/jp/toastkid/yobidashi/browser/archive/ArchivesActivity.kt | package jp.toastkid.yobidashi.browser.archive
import android.app.Activity
import android.content.Context
import android.content.Intent
import android.os.Bundle
import androidx.annotation.StringRes
import androidx.databinding.DataBindingUtil
import androidx.recyclerview.widget.LinearLayoutManager
import jp.toastkid.yob... | package jp.toastkid.yobidashi.browser.archive
import android.app.Activity
import android.content.Context
import android.content.Intent
import androidx.databinding.DataBindingUtil
import android.os.Bundle
import androidx.annotation.StringRes
import androidx.recyclerview.widget.LinearLayoutManager
import jp.toastkid.yob... | epl-1.0 | Kotlin |
96b4f2522e5db932fbfa7c26ccc7d391a418698d | Improve deletion of src-gen folders | eugeis/ee-schkola,eugeis/ee-schkola,eugeis/ee-schkola,eugeis/ee-schkola | ee-schkola_des/src/main/kotlin/ee/schkola/SchkolaGenerator.kt | ee-schkola_des/src/main/kotlin/ee/schkola/SchkolaGenerator.kt | package ee.schkola
import ee.design.gen.DesignKotlinGenerator
import ee.lang.integ.eePath
fun main(args: Array<String>) {
val generator = DesignKotlinGenerator(model())
generator.generate(eePath)
} | package ee.schkola
import ee.design.gen.DesingKotlinGenerator
import ee.lang.integ.eePath
fun main(args: Array<String>) {
val generator = DesingKotlinGenerator(model())
generator.generate(eePath)
} | apache-2.0 | Kotlin |
45ddb814a0facfec2d5e7c8762c0b5b3861425d4 | remove pipeline config it for dry runs | spinnaker/orca,robfletcher/orca,ttomsu/orca,duftler/orca,robfletcher/orca,robfletcher/orca,ajordens/orca,cfieber/orca,cfieber/orca,ajordens/orca,duftler/orca,duftler/orca,robfletcher/orca,cfieber/orca,ttomsu/orca,cfieber/orca,spinnaker/orca,spinnaker/orca,ttomsu/orca,ttomsu/orca,ajordens/orca,ajordens/orca,duftler/orca | orca-dry-run/src/main/kotlin/com/netflix/spinnaker/config/DryRunConfiguration.kt | orca-dry-run/src/main/kotlin/com/netflix/spinnaker/config/DryRunConfiguration.kt | /*
* Copyright 2017 Netflix, 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 i... | /*
* Copyright 2017 Netflix, 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 i... | apache-2.0 | Kotlin |
85f851e3238f23839588d7b437a43679dd94aed9 | fix rcs | Jire/Charlatano | src/main/kotlin/com/charlatano/game/offsets/EngineOffsets.kt | src/main/kotlin/com/charlatano/game/offsets/EngineOffsets.kt | /*
* Charlatano: Free and open-source (FOSS) cheat for CS:GO/CS:CO
* Copyright (C) 2017 - Thomas G. P. Nappo, Jonathan Beaudoin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, eit... | /*
* Charlatano: Free and open-source (FOSS) cheat for CS:GO/CS:CO
* Copyright (C) 2017 - Thomas G. P. Nappo, Jonathan Beaudoin
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, eit... | agpl-3.0 | Kotlin |
6fc127fb3090b271c02c58d79cf992fb0641e97b | Fix a warning on Observable | carlphilipp/chicago-commutes,carlphilipp/chicago-commutes,carlphilipp/chicago-commutes | android-app/src/main/kotlin/fr/cph/chicago/core/fragment/CtaMapFragment.kt | android-app/src/main/kotlin/fr/cph/chicago/core/fragment/CtaMapFragment.kt | /**
* Copyright 2021 Carl-Philipp Harmant
*
*
* 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 2021 Carl-Philipp Harmant
*
*
* 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 |
95007170e5b0e57381a73fc44b2992d1c80b472c | Update control group value | StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android | app/src/main/java/org/stepic/droid/analytic/experiments/InAppPurchaseSplitTest.kt | app/src/main/java/org/stepic/droid/analytic/experiments/InAppPurchaseSplitTest.kt | package org.stepic.droid.analytic.experiments
import org.stepic.droid.analytic.Analytic
import org.stepic.droid.preferences.SharedPreferenceHelper
import javax.inject.Inject
class InAppPurchaseSplitTest
@Inject
constructor(
analytic: Analytic,
sharedPreferenceHelper: SharedPreferenceHelper
) : SplitTest<InAppPurc... | package org.stepic.droid.analytic.experiments
import org.stepic.droid.analytic.Analytic
import org.stepic.droid.preferences.SharedPreferenceHelper
import javax.inject.Inject
class InAppPurchaseSplitTest
@Inject
constructor(
analytic: Analytic,
sharedPreferenceHelper: SharedPreferenceHelper
) : SplitTest<InAppPurc... | apache-2.0 | Kotlin |
1c02342b735c774840f595b63cab777c575600a3 | Tweak namings | GDG-Nantes/devfest-android,GDG-Nantes/devfest-android,GDG-Nantes/devfest-android,GDG-Nantes/devfest-android | app/src/main/kotlin/com/gdgnantes/devfest/android/lifecycle/ComputableLiveData.kt | app/src/main/kotlin/com/gdgnantes/devfest/android/lifecycle/ComputableLiveData.kt | package com.gdgnantes.devfest.android.lifecycle
import android.arch.lifecycle.MutableLiveData
import android.support.annotation.WorkerThread
import java.util.concurrent.atomic.AtomicBoolean
abstract class ComputableLiveData<T> : MutableLiveData<T>() {
private val invalid = AtomicBoolean(true)
private val com... | package com.gdgnantes.devfest.android.lifecycle
import android.arch.lifecycle.MutableLiveData
import android.support.annotation.WorkerThread
import java.util.concurrent.atomic.AtomicBoolean
abstract class ComputableLiveData<T> : MutableLiveData<T>() {
private val mInvalid = AtomicBoolean(true)
private val mC... | apache-2.0 | Kotlin |
05138be381196b61ec2bcea6a7a7afa4d8b1816f | add IterablesBackedIterable | jayrave/falkon | falkon-core/src/main/kotlin/com/jayrave/falkon/dao/lib/IterablesBackedIterable.kt | falkon-core/src/main/kotlin/com/jayrave/falkon/dao/lib/IterablesBackedIterable.kt | package com.jayrave.falkon.dao.lib
/**
* To expose multiple iterables as a single continuous iterable
*/
internal class IterablesBackedIterable<T>(private val iterables: List<Iterable<T>>) : Iterable<T> {
override fun iterator(): Iterator<T> = IterablesBackedIterator()
private inner class IterablesBackedIt... | apache-2.0 | Kotlin | |
9dafe0b2ec52d42dd616907f030d720031da62c9 | Create anchorTo function & make a function inline | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | viewdsl-design/src/main/java/splitties/viewdsl/design/CoordinatorLayout.kt | viewdsl-design/src/main/java/splitties/viewdsl/design/CoordinatorLayout.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 |
40a1f2a88dbca5ef5b29fdc445787911c5a33874 | Fix typo | google/ksp,google/ksp,google/ksp | api/src/main/kotlin/com/google/devtools/ksp/processing/SymbolProcessor.kt | api/src/main/kotlin/com/google/devtools/ksp/processing/SymbolProcessor.kt | /*
* Copyright 2020 Google LLC
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
*
* 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.apac... | /*
* Copyright 2020 Google LLC
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
*
* 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.apac... | apache-2.0 | Kotlin |
81aa4c4a8ffe2e311be7da43b86e303abb97f59b | refactor #523 Add new model. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | lib/src/main/java/jp/toastkid/lib/model/LoadInformation.kt | lib/src/main/java/jp/toastkid/lib/model/LoadInformation.kt | /*
* Copyright (c) 2022 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | epl-1.0 | Kotlin | |
1dd36a2fd19f72d9c6c96db195b17bbba8fd37dd | Use latest Kotlinter version (#150) | jeremymailen/kotlinter-gradle | buildSrc/src/main/kotlin/Versions.kt | buildSrc/src/main/kotlin/Versions.kt | object Versions {
const val androidTools = "3.5.3"
const val jetbrainsAnnotations = "18.0.0"
const val junit = "4.13"
const val kotlin = "1.3.72"
const val kotlinter = "2.4.1"
const val ktlint = "0.37.2"
const val mockitoKotlin = "2.2.0"
const val pluginPublish = "0.12.0"
}
| object Versions {
const val androidTools = "3.5.3"
const val jetbrainsAnnotations = "18.0.0"
const val junit = "4.13"
const val kotlin = "1.3.72"
const val kotlinter = "2.4.0"
const val ktlint = "0.37.2"
const val mockitoKotlin = "2.2.0"
const val pluginPublish = "0.12.0"
}
| apache-2.0 | Kotlin |
003e8f7f7bd44e1ad715bbdfb2ca163b66158e36 | Fix compat with 2016.3.5 | Undin/intellij-rust,intellij-rust/intellij-rust,himikof/intellij-rust,d9n/intellij-rust,d9n/intellij-rust,Undin/intellij-rust,d9n/intellij-rust,anton-okolelov/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,himikof/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,alygin/intellij-rust,... | src/main/kotlin/org/rust/cargo/runconfig/command/CargoExecutableRunLineMarkerContributor.kt | src/main/kotlin/org/rust/cargo/runconfig/command/CargoExecutableRunLineMarkerContributor.kt | package org.rust.cargo.runconfig.command
import com.intellij.execution.lineMarker.ExecutorAction
import com.intellij.execution.lineMarker.RunLineMarkerContributor
import com.intellij.icons.AllIcons
import com.intellij.openapi.actionSystem.AnAction
import com.intellij.psi.PsiElement
import com.intellij.util.Function
im... | package org.rust.cargo.runconfig.command
import com.intellij.execution.lineMarker.ExecutorAction
import com.intellij.execution.lineMarker.RunLineMarkerContributor
import com.intellij.icons.AllIcons
import com.intellij.psi.PsiElement
import com.intellij.util.Function
import org.rust.lang.core.psi.RsElementTypes.IDENTIF... | mit | Kotlin |
7d96d21ada3463fb59a99d23b949ce2cada59744 | refactor #523 Use Bundle.EMPTY instead of bundleOf. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/browser/PageInformationExtractor.kt | app/src/main/java/jp/toastkid/yobidashi/browser/PageInformationExtractor.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 |
73d0f876e76c44190f502105c8fe418e68a818f8 | Test for @SerialInfo with default value | Kotlin/kotlinx.serialization,Kotlin/kotlinx.serialization | core/commonTest/src/kotlinx/serialization/SerialDescriptorAnnotationsTest.kt | core/commonTest/src/kotlinx/serialization/SerialDescriptorAnnotationsTest.kt | /*
* Copyright 2017-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.serialization
import kotlinx.serialization.descriptors.*
import kotlin.test.*
class SerialDescriptorAnnotationsTest {
@SerialInfo
@Target(AnnotationTarget.PROPERTY, AnnotationTarget.... | /*
* Copyright 2017-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.serialization
import kotlinx.serialization.descriptors.*
import kotlin.test.Test
import kotlin.test.assertEquals
class SerialDescriptorAnnotationsTest {
@SerialInfo
@Target(Annotatio... | apache-2.0 | Kotlin |
3159631a494f61dc56e5ea4869ef0290b11e3587 | Add help docs URL in manifest | zaproxy/zap-extensions,denniskniep/zap-extensions,thc202/zap-extensions,psiinon/zap-extensions,zaproxy/zap-extensions,thc202/zap-extensions,zaproxy/zap-extensions,psiinon/zap-extensions,zaproxy/zap-extensions,kingthorin/zap-extensions,thc202/zap-extensions,denniskniep/zap-extensions,kingthorin/zap-extensions,psiinon/za... | addOns/paramdigger/paramdigger.gradle.kts | addOns/paramdigger/paramdigger.gradle.kts | description = "Identify hidden, unlinked parameters. Useful for finding web cache poisoning vulnerabilities."
zapAddOn {
addOnName.set("Parameter Digger")
zapVersion.set("2.11.1")
manifest {
author.set("ZAP Dev Team and Arkaprabha Chakraborty")
url.set("https://www.zaproxy.org/docs/desktop... | description = "Identify hidden, unlinked parameters. Useful for finding web cache poisoning vulnerabilities."
zapAddOn {
addOnName.set("Parameter Digger")
zapVersion.set("2.11.1")
manifest {
author.set("ZAP Dev Team and Arkaprabha Chakraborty")
dependencies {
addOns {
... | apache-2.0 | Kotlin |
9292ba8b3445e608ae60aefda38c47c2c2dd6ac6 | Add bounding box dev plugin | RuneSuite/client,RuneSuite/client | plugins-dev/src/main/java/org/runestar/client/plugins/dev/BoundingBoxTest.kt | plugins-dev/src/main/java/org/runestar/client/plugins/dev/BoundingBoxTest.kt | package org.runestar.client.plugins.dev
import com.google.common.collect.Iterables
import org.runestar.client.game.api.live.LiveCanvas
import org.runestar.client.game.api.live.Npcs
import org.runestar.client.game.api.live.Players
import org.runestar.client.game.api.live.Projectiles
import org.runestar.client.plugins.s... | mit | Kotlin | |
69af6869c482af5889bb5397786b4369a6668cc0 | Fix location of single doors | moltendorf/IntelliDoors | src/main/kotlin/net/moltendorf/Bukkit/IntelliDoors/controller/SingleDoor.kt | src/main/kotlin/net/moltendorf/Bukkit/IntelliDoors/controller/SingleDoor.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 SingleDoor(val top: Block, bottom: Block) : AbstractDoor(bottom) {
overr... | 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 SingleDoor(val top: Block, bottom: Block) : AbstractDoor(bottom) {
val l... | mit | Kotlin |
a80547e4d002d4c941c3eb48ab64d95adf613400 | fix name | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | rider/src/test/kotlin/base/integrationTests/IntegrationTestWithEditorBase.kt | rider/src/test/kotlin/base/integrationTests/IntegrationTestWithEditorBase.kt | package base.integrationTests
import com.jetbrains.rider.test.scriptingApi.buildSolutionWithReSharperBuild
import org.testng.annotations.AfterMethod
import org.testng.annotations.BeforeMethod
abstract class IntegrationTestWithEditorBase : IntegrationTestBase() {
protected open val resetEditorPrefs: Boolean
... | package base.integrationTests
import com.jetbrains.rider.test.scriptingApi.buildSolutionWithReSharperBuild
import org.testng.annotations.AfterMethod
import org.testng.annotations.BeforeMethod
abstract class IntegrationTestWithEditorBase : IntegrationTestBase() {
protected open val resetEditorPrefs: Boolean
... | apache-2.0 | Kotlin |
f3a77aead0a0a86d36793e0dd743a9fa4041439d | replace clean gamepack if already exists | RuneSuite/client,RuneSuite/client | gamepack-inject-maven-plugin/src/main/java/org/runestar/client/gamepack/inject/InjectMojo.kt | gamepack-inject-maven-plugin/src/main/java/org/runestar/client/gamepack/inject/InjectMojo.kt | package org.runestar.client.gamepack.inject
import io.sigpipe.jbsdiff.Diff
import org.apache.maven.model.Resource
import org.apache.maven.plugin.AbstractMojo
import org.apache.maven.plugins.annotations.LifecyclePhase
import org.apache.maven.plugins.annotations.Mojo
import org.apache.maven.plugins.annotations.Parameter... | package org.runestar.client.gamepack.inject
import io.sigpipe.jbsdiff.Diff
import org.apache.maven.model.Resource
import org.apache.maven.plugin.AbstractMojo
import org.apache.maven.plugins.annotations.LifecyclePhase
import org.apache.maven.plugins.annotations.Mojo
import org.apache.maven.plugins.annotations.Parameter... | mit | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.