conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Remove coloring and underlining of verse inline links.\n"
},
{
"from": "human",
"value": "package yuku.alkitab.base.widget;\n\nimport android.text.style.ClickableSpan;\nimport android.view.View;\n\npublic abstract class VerseInlineLinkSpan extends ClickableSpan {\n\... | java | chosen |
[
{
"from": "system",
"value": "Add missing null-checks for Neo4j session factory instantiation\n"
},
{
"from": "human",
"value": "package org.atlasapi.neo4j;\n\nimport org.neo4j.driver.v1.AuthToken;\nimport org.neo4j.driver.v1.Config;\nimport org.neo4j.driver.v1.Driver;\nimport org.neo4j.driver.v... | java | chosen |
[
{
"from": "system",
"value": "[SMALLFIX] Use static imports for standard test utilities\n\nChange\n\nimport org.junit.Assert;\n\nto\n\nimport static org.junit.Assert.assertTrue;\n\nAND\n\nUpdate all\n\nAssert.{{ method }}*\n\nto\n\n{{ method }}*\n\nFor example\n\nupdate\n\nAssert.assertTrue(mGraph.getRoots(... | java | chosen |
[
{
"from": "system",
"value": "Use Cordova ThreadPool for Parse.initialize\n"
},
{
"from": "human",
"value": "package org.jevon.cordova.parse.pushplugin;\n\nimport org.apache.cordova.CallbackContext;\nimport org.apache.cordova.CordovaPlugin;\nimport org.json.JSONArray;\nimport org.json.JSONExcept... | java | chosen |
[
{
"from": "system",
"value": "Implement basic draw fluid slot method (unused still TODO)"
},
{
"from": "human",
"value": "package info.u_team.u_team_core.gui;\n\nimport net.minecraft.client.gui.screen.inventory.ContainerScreen;\nimport net.minecraft.entity.player.PlayerInventory;\nimport net.min... | java | chosen |
[
{
"from": "system",
"value": "Implement container blocks dropping their contents.\n\nFixes containers losing their contents and dropping incorrect blocks when\nbroken.\n"
},
{
"from": "human",
"value": "package net.glowstone.block.blocktype;\n\nimport net.glowstone.block.GlowBlock;\nimport net.g... | java | chosen |
[
{
"from": "system",
"value": "Add optional \"fail\" action handler to Check actions\n"
},
{
"from": "human",
"value": "package com.elmakers.mine.bukkit.action;\n\nimport com.elmakers.mine.bukkit.api.action.ActionHandler;\nimport com.elmakers.mine.bukkit.api.action.CastContext;\nimport com.elmake... | java | chosen |
[
{
"from": "system",
"value": "Remove extract magic string for DOT, use String.format for greater clarity\n"
},
{
"from": "human",
"value": "package seedu.todo.ui.components;\n\nimport javafx.fxml.FXML;\nimport javafx.scene.layout.Pane;\nimport javafx.scene.text.Text;\nimport javafx.stage.Stage;\... | java | chosen |
[
{
"from": "system",
"value": "Fix name of L-USDT asset to Tether USD (Liquid)\n"
},
{
"from": "human",
"value": "package bisq.asset.coins;\n\nimport bisq.asset.Coin;\nimport bisq.asset.LiquidBitcoinAddressValidator;\n\npublic class TetherUSDLiquid extends Coin {\n public TetherUSDLiquid() {\n... | java | chosen |
[
{
"from": "system",
"value": "Update assert to be more verbose\n"
},
{
"from": "human",
"value": "package seedu.tache.logic.commands;\n\nimport seedu.tache.logic.commands.exceptions.CommandException;\n\npublic class UndoCommand extends Command {\n\n public static final String COMMAND_WORD = \... | java | chosen |
[
{
"from": "system",
"value": "Update generics to match changes in jdbi3 branch\n"
},
{
"from": "human",
"value": "/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License... | java | chosen |
[
{
"from": "system",
"value": "Add test coverage for prefix\n"
},
{
"from": "human",
"value": "package com.wolfninja.keystore.redis;\n\nimport org.easymock.EasyMock;\nimport org.testng.Assert;\nimport org.testng.annotations.Test;\n\nimport redis.clients.jedis.JedisPool;\n\nimport com.wolfninja.ke... | java | chosen |
[
{
"from": "system",
"value": "Put license at top of file\n"
},
{
"from": "human",
"value": "package tech.tablesaw.io.saw;\n\n/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of ... | java | chosen |
[
{
"from": "system",
"value": "Use generated constants in sample project\n"
},
{
"from": "human",
"value": "package com.jenzz.buildconstants.sample;\n\nimport android.support.v7.app.AppCompatActivity;\n\npublic class MainActivity extends AppCompatActivity {\n\n}\n"
},
{
"from": "gpt",
... | java | chosen |
[
{
"from": "system",
"value": "Fix loading of posts (lob) (again)\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 EuregJUG.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a ... | java | chosen |
[
{
"from": "system",
"value": "MONDRIAN: Rename parameter: 'enum' is a reserved word in JDK 1.5. Now builds, and all tests pass, under JDK 1.5.\n\n[git-p4: depot-paths = \"//open/mondrian/\": change = 3383]\n"
},
{
"from": "human",
"value": "package javax.jmi.reflect;\n\nimport java.util.Collecti... | java | chosen |
[
{
"from": "system",
"value": "Add test for getSession method\n"
},
{
"from": "human",
"value": "package org.realityforge.ssf;\n\nimport org.testng.annotations.Test;\nimport static org.testng.Assert.*;\n\npublic class SimpleSessionManagerTest\n{\n @Test\n public void basicWorkflow()\n throws... | java | chosen |
[
{
"from": "system",
"value": "Make variables static and do not use StandardDialect variable"
},
{
"from": "human",
"value": "package de.morphbit.thymeleaf.dialect;\n\nimport java.util.HashSet;\nimport java.util.Set;\n\nimport org.thymeleaf.dialect.AbstractProcessorDialect;\nimport org.thymeleaf.... | java | chosen |
[
{
"from": "system",
"value": "Move reportChange to after change occurs\n"
},
{
"from": "human",
"value": "import javax.annotation.Generated;\nimport javax.annotation.Nonnull;\nimport org.realityforge.arez.ArezContext;\nimport org.realityforge.arez.Observable;\n\n@Generated( \"org.realityforge.ar... | java | chosen |
[
{
"from": "system",
"value": "Add knockback resistance parameter to fix the test armor material class"
},
{
"from": "human",
"value": "package info.u_team.u_team_test.init;\n\nimport info.u_team.u_team_core.item.armor.UArmorMaterialVanilla;\nimport net.minecraft.item.IArmorMaterial;\nimport net.... | java | chosen |
[
{
"from": "system",
"value": "Add arbitrary code to make compile time longer\n * the original code was too fast to compile to make compile avoidance relevant\n * the original code didn't represent what we could find in \"real\" code\n\n+review REVIEW-5688\n"
},
{
"from": "human",
"value": "p... | java | chosen |
[
{
"from": "system",
"value": "Add ability to get the prefix for a given namespace\n\n\ngit-svn-id: 9326b53cbc4a8f4c3d02979b62b178127d5150fe@889 c7d0bf07-ec0d-0410-b2cc-d48fa9be22ba\n"
},
{
"from": "human",
"value": "package org.codehaus.xfire.aegis;\n\nimport javax.xml.namespace.QName;\n\n/**\n ... | java | chosen |
[
{
"from": "system",
"value": "Disable test that needs platform init until it is fixed\n"
},
{
"from": "human",
"value": "package entity;\n\nimport org.bukkit.entity.EntityType;\nimport org.junit.jupiter.api.Assertions;\nimport org.junit.jupiter.api.Test;\n\nimport init.InitializePlatform;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Add a fun \"easter egg\"\n"
},
{
"from": "human",
"value": "package com.techcavern.wavetact.commands.Fun;\n\nimport com.techcavern.wavetact.objects.Command;\nimport com.techcavern.wavetact.utils.GeneralRegistry;\nimport org.apache.commons.lang3.StringUtils;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Remove the TEMP Named methods\n"
},
{
"from": "human",
"value": "package net.imglib2.meta;\n\nimport net.imglib2.Positionable;\n\n\n// TODO - what other interface should this mix in besides TypedRealInterval\n\npublic interface CalibratedRealInterval<A extends Calib... | java | chosen |
[
{
"from": "system",
"value": "Fix problem with EventBus publishing events.\n\n\nThis used to be revision r2281.\n"
},
{
"from": "human",
"value": "package imagej.event;\n\nimport org.bushe.swing.event.EventBus;\n\n/**\n * Simple utility class for subscribing to ImageJ events,\n * as well as publ... | java | chosen |
[
{
"from": "system",
"value": "Add omitted method - negate()"
},
{
"from": "human",
"value": "package net.folab.fo.runtime._fo._lang;\n\nimport net.folab.fo.runtime._fo._lang._Boolean.negate;\n\nimport net.folab.fo.runtime.Evaluable;\nimport net.folab.fo.runtime.Value;\nimport net.folab.fo.runtim... | java | chosen |
[
{
"from": "system",
"value": "Make the abstract types non-nullable\n"
},
{
"from": "human",
"value": "package com.bt.openlink.type;\n\nimport java.util.Objects;\n\nimport javax.annotation.Nonnull;\nimport javax.annotation.Nullable;\n\npublic class AbstractType<T> {\n private final T value;\n\... | java | chosen |
[
{
"from": "system",
"value": "Remove superfluous license headers (OKAPI-109)\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2015-2017, Index Data\n * All rights reserved.\n * See the file LICENSE for details.\n */\npackage org.folio.okapi.bean;\n\n/**\n * List of Permissions (and permis... | java | chosen |
[
{
"from": "system",
"value": "[master] Change Spring basePackages scan directory\n"
},
{
"from": "human",
"value": "package org.dandelion.config;\n\nimport org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;\nimport org.springframework.context.annotation.*;\nimport org.spring... | java | chosen |
[
{
"from": "system",
"value": "Fix External and Faces contexts scopes"
},
{
"from": "human",
"value": "package org.gluu.jsf2.service;\r\n\r\nimport javax.enterprise.context.Dependent;\r\nimport javax.enterprise.inject.Produces;\r\nimport javax.faces.application.ViewHandler;\r\nimport javax.faces.... | java | chosen |
[
{
"from": "system",
"value": "Add additional classes for injection.\n"
},
{
"from": "human",
"value": "package com.antew.redditinpictures.library;\n\nimport com.antew.redditinpictures.library.utils.MainThreadBus;\nimport com.squareup.otto.Bus;\nimport dagger.Module;\nimport dagger.Provides;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Mark API as experimental, because of javax.swing.TransferHandler.DropHandler.autoscroll\n\nGitOrigin-RevId: c8522f07307517203906b9c867fd4fca6713b708"
},
{
"from": "human",
"value": "// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the A... | java | chosen |
[
{
"from": "system",
"value": "Add custom toString() to SQLiteIndex\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2013 Jerzy Chalupski\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You m... | java | chosen |
[
{
"from": "system",
"value": "Use LinkedHashMap for deterministic order\n"
},
{
"from": "human",
"value": "package com.alibaba.json.bvt.issue_1100;\n\nimport com.alibaba.fastjson.JSON;\nimport com.alibaba.fastjson.JSONObject;\nimport com.alibaba.fastjson.JSONPath;\nimport com.alibaba.fastjson.Ty... | java | chosen |
[
{
"from": "system",
"value": "Add option to force docker pull\n\nmesos v 0.22.0 has option to force pull of docker image, marathon will get the same option in 0.8.2\n\nsee mesosphere/marathon#837 for more details\n"
},
{
"from": "human",
"value": "package mesosphere.marathon.client.model.v2;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Revert \"remove not null constraint\"\n\nThis reverts commit 32f5c29a23341c4f1dd6c1241a751201ce286430.\n"
},
{
"from": "human",
"value": "package com.bazaarvoice.dropwizard.assets;\n\nimport com.google.common.collect.Iterables;\nimport com.google.common.collect.Maps... | java | chosen |
[
{
"from": "system",
"value": "Hide action bar icon on pre-L devices\n"
},
{
"from": "human",
"value": "package tr.xip.horriblesubsschedule;\n\nimport android.app.Activity;\nimport android.os.Bundle;\nimport android.view.Menu;\n\npublic class MainActivity extends Activity {\n\n @Override\n ... | java | chosen |
[
{
"from": "system",
"value": "Remove view model in presenter\n"
},
{
"from": "human",
"value": "package lib.morkim.mfw.ui;\n\nimport lib.morkim.mfw.usecase.UseCase;\nimport lib.morkim.mfw.usecase.UseCaseResult;\nimport lib.morkim.mfw.usecase.UseCaseProgress;\n\npublic class EmptyPresenter extend... | java | chosen |
[
{
"from": "system",
"value": "Reduce the column size for well known content"
},
{
"from": "human",
"value": "package org.ligoj.app.model;\n\nimport javax.persistence.Entity;\nimport javax.persistence.EnumType;\nimport javax.persistence.Enumerated;\nimport javax.persistence.Table;\nimport javax.v... | java | chosen |
[
{
"from": "system",
"value": "Use %d to format int value\n"
},
{
"from": "human",
"value": "package camelinaction;\n\nimport org.apache.camel.jsonpath.JsonPath;\nimport org.apache.camel.language.Bean;\n\n/**\n * A bean that acts as a JSon order service to handle incoming JSon orders\n */\npublic... | java | chosen |
[
{
"from": "system",
"value": "Use streams instead of loops and conditionals"
},
{
"from": "human",
"value": "package remonsinnema.blog.fizzbuzz;\n\nimport java.util.Arrays;\nimport java.util.Collection;\nimport java.util.Optional;\n\n\npublic class FizzBuzz {\n\n private final Collection<Multip... | java | chosen |
[
{
"from": "system",
"value": "feat: Create constructor in devolutionSummary class\n"
},
{
"from": "human",
"value": "package sizebay.catalog.client.model;\n\nimport lombok.AllArgsConstructor;\nimport lombok.Getter;\nimport lombok.Setter;\n\n\n@Getter\n@Setter\n@AllArgsConstructor\npublic class D... | java | chosen |
[
{
"from": "system",
"value": "Remove unnecessary visibility modifiers in interface\n"
},
{
"from": "human",
"value": "package im.delight.android.ddp.db;\n\n/*\n * Copyright (c) delight.im <info@delight.im>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not ... | java | chosen |
[
{
"from": "system",
"value": "Remove hardcoded database info, use properties\n"
},
{
"from": "human",
"value": "package org.cru.godtools.domain;\n\nimport com.googlecode.flyway.core.Flyway;\nimport com.googlecode.flyway.core.api.MigrationVersion;\n\n/**\n * Created by ryancarlson on 4/1/14.\n */... | java | chosen |
[
{
"from": "system",
"value": "Make pickup collisions more sensible.\n"
},
{
"from": "human",
"value": "package edu.stuy.starlorn.entities;\n\nimport java.awt.geom.Rectangle2D;\n\nimport edu.stuy.starlorn.upgrades.Upgrade;\n\npublic class Pickup extends Entity {\n\n protected Upgrade upgrade;\... | java | chosen |
[
{
"from": "system",
"value": "Change file code to use Try-With-Resource\n"
},
{
"from": "human",
"value": "package gov.nih.nci.evs.api.controller;\n\nimport java.io.File;\nimport java.io.FileInputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\n\nimport javax.servlet.http.HttpS... | java | chosen |
[
{
"from": "system",
"value": "Make sure to add the requester to both the reply and message"
},
{
"from": "human",
"value": "package io.github.likcoras.asuka.handler.response;\n\nimport org.pircbotx.PircBotX;\nimport org.pircbotx.hooks.types.GenericMessageEvent;\nimport io.github.likcoras.asuka.A... | java | chosen |
[
{
"from": "system",
"value": "Add dpid to Port JSON object.\n\nChange-Id: I69a78ce0a8cfb07883d4ac13318a7811ab951f02\n"
},
{
"from": "human",
"value": "package net.onrc.onos.core.topology.serializers;\n\nimport java.io.IOException;\n\nimport net.onrc.onos.core.topology.Port;\n\nimport org.codehau... | java | chosen |
[
{
"from": "system",
"value": "Fix name of the logger\n"
},
{
"from": "human",
"value": "package tw.davy.minecraft.treelogging.bukkit;\n\nimport java.util.logging.Logger;\n\nimport org.bukkit.command.Command;\nimport org.bukkit.command.CommandSender;\nimport org.bukkit.plugin.java.JavaPlugin;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Fix nasty hardcoded class name.\n"
},
{
"from": "human",
"value": "/**\r\n * JReversePro - Java Decompiler / Disassembler.\r\n * Copyright (C) 2008 Karthik Kumar.\r\n * \r\n * Licensed under the Apache License, Version 2.0 (the \"License\"); \r\n * you may not use t... | java | chosen |
[
{
"from": "system",
"value": "Switch parameter order for consistency.\n"
},
{
"from": "human",
"value": "package com.orbekk.same;\n\npublic interface ClientService {\n void notifyNetwork(String networkName, String masterUrl);\n \n void setState(String component, long revision, String da... | java | chosen |
[
{
"from": "system",
"value": "ASN-8: Add TODO note to unfinished validator method\n"
},
{
"from": "human",
"value": "/*\n * Created by brightSPARK Labs\n * www.brightsparklabs.com\n */\n\npackage com.brightsparklabs.asanti.validator;\n\nimport com.brightsparklabs.asanti.model.data.DecodedAsnData... | java | chosen |
[
{
"from": "system",
"value": "Create action to toggle ignored files visibility\n"
},
{
"from": "human",
"value": "package mobi.hsz.idea.gitignore.treeviewfilter.actions;\n\nimport com.intellij.openapi.actionSystem.AnAction;\nimport com.intellij.openapi.actionSystem.AnActionEvent;\nimport com.int... | java | chosen |
[
{
"from": "system",
"value": "Add default 200 status to Home mapping\n"
},
{
"from": "human",
"value": "package com.pm.server.controller;\n\nimport org.apache.logging.log4j.LogManager;\nimport org.apache.logging.log4j.Logger;\nimport org.springframework.web.bind.annotation.RequestMapping;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Add a missing @Override. (dm)\n\n\ngit-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@6994 91a5dbb7-01b9-0310-9b5f-b28072856b6e\n"
},
{
"from": "human",
"value": "/*\n * BRLTTY - A background process providing access to the console screen (when in\n * tex... | java | chosen |
[
{
"from": "system",
"value": "Add documentation and remove obsolete FILE_CORRUPT status\n"
},
{
"from": "human",
"value": "package org.rmatil.sync.core.messaging;\n\nimport org.rmatil.sync.core.messaging.fileexchange.offer.FileOfferRequest;\n\npublic enum StatusCode {\n\n NONE,\n\n ACCEPTE... | java | chosen |
[
{
"from": "system",
"value": "Fix bug in close parenthesis insertion.\n"
},
{
"from": "human",
"value": "package annotator.find;\n\n/**\n * This insertion adds two closing parentheses to close the unclosed parentheses\n * left by a {@link CastInsertion}. This should be inserted after the express... | java | chosen |
[
{
"from": "system",
"value": "Update delete link in test\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2013 3 Round Stones Inc., Some Rights Reserved\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the Li... | java | chosen |
[
{
"from": "system",
"value": "Add controller constant and \"/\" to invite constant\n"
},
{
"from": "human",
"value": "package com.kryptnostic.mail.v1.http;\n\nimport com.kryptnostic.kodex.v1.models.response.BasicResponse;\nimport com.kryptnostic.mail.v1.models.EmailRequest;\n\nimport retrofit.ht... | java | chosen |
[
{
"from": "system",
"value": "Add r,g,b-from-int color extractor methods"
},
{
"from": "human",
"value": "package com.haxademic.core.draw.color;\n\nimport processing.core.PApplet;\n\nimport com.haxademic.core.app.P;\n\npublic class ColorUtil {\n\t\n\tpublic static int colorWithIntAndAlpha( PAppl... | java | chosen |
[
{
"from": "system",
"value": "Add Pipeline Unit Test: Exception should propagate through pipeline\n"
},
{
"from": "human",
"value": "package fr.insee.pogues.transforms;\n\nimport org.junit.Test;\n\nimport java.util.Map;\n\nimport static org.junit.Assert.assertEquals;\n\npublic class TestPipeline... | java | chosen |
[
{
"from": "system",
"value": "Handle Android RN 0.47 breaking change\n"
},
{
"from": "human",
"value": "package com.BV.LinearGradient;\n\nimport com.facebook.react.ReactPackage;\nimport com.facebook.react.bridge.JavaScriptModule;\nimport com.facebook.react.bridge.NativeModule;\nimport com.facebo... | java | chosen |
[
{
"from": "system",
"value": "Add default position and zoom to android demo\n"
},
{
"from": "human",
"value": "package com.mapzen.tangram.android;\n\nimport android.app.Activity;\nimport android.os.Bundle;\nimport android.view.Window;\n\nimport com.mapzen.tangram.MapController;\nimport com.mapze... | java | chosen |
[
{
"from": "system",
"value": "Add https support in the worker\n"
},
{
"from": "human",
"value": "package io.openex.scheduler;\n\nimport com.google.common.collect.ImmutableMap;\nimport io.openex.management.Executor;\nimport io.openex.management.contract.Contract;\nimport org.apache.camel.Componen... | java | chosen |
[
{
"from": "system",
"value": "Add contactNumber field to doctor\n"
},
{
"from": "human",
"value": "package com.aviras.mrassistant.data.models;\n\nimport io.realm.RealmObject;\nimport io.realm.annotations.PrimaryKey;\n\n/**\n * Represent doctor\n * <p/>\n * Created by ashish on 8/6/16.\n */\npubl... | java | chosen |
[
{
"from": "system",
"value": "Fix machines getting destroyed by fluids\n\n"
},
{
"from": "human",
"value": "package net.teamio.taam.content;\n\nimport net.minecraft.block.material.MapColor;\nimport net.minecraft.block.material.Material;\n\npublic class MaterialMachinesTransparent extends Materia... | java | chosen |
[
{
"from": "system",
"value": "Add version number to menu screen\n"
},
{
"from": "human",
"value": "package com.chaquo.python.demo;\n\nimport android.os.*;\nimport android.support.v7.app.*;\nimport android.support.v7.preference.*;\nimport android.text.method.*;\nimport android.widget.*;\nimport c... | java | chosen |
[
{
"from": "system",
"value": "Make dummy change manager do nothing\n"
},
{
"from": "human",
"value": "/**\n * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies\n * \n * Please see distribution for license.\n */\npackage com.opengamma.core.change;\n\nimport javax... | java | chosen |
[
{
"from": "system",
"value": "Clarify that Submit config is not currently used"
},
{
"from": "human",
"value": "/*\n# Licensed Materials - Property of IBM\n# Copyright IBM Corp. 2015, 2016 \n*/\npackage quarks.execution;\n\nimport java.util.concurrent.Future;\n\nimport com.google.gson.JsonObject... | java | chosen |
[
{
"from": "system",
"value": "Check that map isn't being called passing in null arguments.\n(This seems wrong; see JIRA entry GSA-211)\n\n\ngit-svn-id: 4561c0a8f080806b19201efb9525134c00b76d40@1907 348d0f76-0448-11de-a6fe-93d51630548a\n"
},
{
"from": "human",
"value": "package org.broadinstitute... | java | chosen |
[
{
"from": "system",
"value": "Refactor to use Java 8 stream\n"
},
{
"from": "human",
"value": "package main.doge.service;\n\nimport main.doge.service.domain.Todo;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.beans.factory.annotation.Value;\nimport o... | java | chosen |
[
{
"from": "system",
"value": "Stop calling unregisterWorkqueue which was removed in gerrit\n\nChange-Id: I9e60c229bab42b893c565196ce058000c647783e\n"
},
{
"from": "human",
"value": "// Copyright (C) 2017 The Android Open Source Project\n//\n// Licensed under the Apache License, Version 2.0 (the ... | java | chosen |
[
{
"from": "system",
"value": "Add IllegalValueException and convert String to int\n"
},
{
"from": "human",
"value": "package seedu.emeraldo.logic.commands;\n\npublic class EditCommand extends Command{\n \n public static final String COMMAND_WORD = \"edit\";\n\n public static final Strin... | java | chosen |
[
{
"from": "system",
"value": "Add one swing player to rule them all\n"
},
{
"from": "human",
"value": "package es.ucm.fdi.tp.control;\r\n\r\nimport java.util.List;\r\n\r\nimport es.ucm.fdi.tp.basecode.bgame.control.Player;\r\nimport es.ucm.fdi.tp.basecode.bgame.model.Board;\r\nimport es.ucm.fdi.... | java | chosen |
[
{
"from": "system",
"value": "mvn-scalaxb: Update WSDL integration test for 0.6.7\n\nThe generated soap.scala file is now named soap12.scala.\n"
},
{
"from": "human",
"value": "package org.scalaxb.maven.it;\n\nimport org.junit.Test;\n\npublic class ITP03WSDL extends AbstractIT {\n\n private S... | java | chosen |
[
{
"from": "system",
"value": "Annotate clean classes as @Nullsafe:: (4/14) libraries/components/litho-core/src/main/java/com/facebook/litho/\n\nReviewed By: pasqualeanatriello\n\nDifferential Revision: D28505758\n\nfbshipit-source-id: 2bb4c97a1d166c4090db5edb7e6178719f0c2a5d\n"
},
{
"from": "human",... | java | chosen |
[
{
"from": "system",
"value": "Use readonly transactions where possible\n"
},
{
"from": "human",
"value": "package sample;\n\nimport java.util.List;\n\nimport org.hibernate.SessionFactory;\nimport org.springframework.transaction.annotation.Transactional;\nimport org.springframework.web.bind.annot... | java | chosen |
[
{
"from": "system",
"value": "Add test on empty properties\n"
},
{
"from": "human",
"value": "package org.computelab.config;\n\nimport static org.junit.Assert.assertEquals;\nimport static org.junit.Assert.assertNull;\n\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.util.P... | java | chosen |
[
{
"from": "system",
"value": "Add parsable IDs to validation errors [ci skip]\n"
},
{
"from": "human",
"value": "package mtsar.api.validation;\n\nimport io.dropwizard.validation.ValidationMethod;\nimport mtsar.api.Answer;\nimport mtsar.api.Task;\nimport org.apache.commons.lang3.ArrayUtils;\n\npu... | java | chosen |
[
{
"from": "system",
"value": "Use String.format for variable substitution in a log message\n"
},
{
"from": "human",
"value": "package org.hyperledger.fabricjavasdk.util;\r\n\r\nimport java.util.logging.Level;\r\n\r\npublic class Logger {\r\n\tprivate java.util.logging.Logger logger = null;\r\n\t... | java | chosen |
[
{
"from": "system",
"value": "Improve thread safety around adding and removing IDataListener's\n\nPreviously deadlock was possible if a listener was running in the same\nthread as a call attempting to add or remove listeners. As might be\ncommonly the case for the UI thread.\n\nAlso replaced the listeners L... | java | chosen |
[
{
"from": "system",
"value": "Fix version in swagger spec to be 3.2.0\n"
},
{
"from": "human",
"value": "package io.github.vyo.hellojersey.application;\n\nimport io.swagger.jaxrs.config.BeanConfig;\nimport io.swagger.jaxrs.listing.SwaggerSerializers;\nimport io.swagger.jersey.listing.ApiListingR... | java | chosen |
[
{
"from": "system",
"value": "Remove single use locval variable"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding ... | java | chosen |
[
{
"from": "system",
"value": "Implement kafka publisher on top of reactive streams\n"
},
{
"from": "human",
"value": "package reactor.kafka;\n\nimport org.reactivestreams.Publisher;\nimport org.reactivestreams.Subscriber;\n\npublic class KafkaPublisher<T> implements Publisher<T> {\n\n @Override... | java | chosen |
[
{
"from": "system",
"value": "Use sdk 21 to run robolectric\n"
},
{
"from": "human",
"value": "package org.themoviedb.movieinfo.testcase;\n\nimport org.robolectric.annotation.Config;\nimport org.themoviedb.movieinfo.BuildConfig;\nimport org.themoviedb.movieinfo.TestApplication;\n\n@Config(applic... | java | chosen |
[
{
"from": "system",
"value": "Add \"Good buy\" to main appl"
},
{
"from": "human",
"value": "\r\npublic class HelloWorldAppl {\r\n\r\n\tpublic static void main(String[] args) {\r\n\t\tSystem.out.println(\"Hello, world!\");\r\n\t}\r\n\r\n}\r\n"
},
{
"from": "gpt",
"value": "\r\npublic... | java | chosen |
[
{
"from": "system",
"value": "Fix initialization error for autocompletion\n"
},
{
"from": "human",
"value": "package me.coley.recaf.command.completion;\n\nimport me.coley.recaf.Recaf;\nimport me.coley.recaf.workspace.Workspace;\n\nimport java.util.*;\n\n/**\n * Picocli completion for names loade... | java | chosen |
[
{
"from": "system",
"value": "Revert last JPA EA7 change per Jeremy/Panaki for further testing\n\ngit-svn-id: 60e751271f50ec028ae56d425821c1c711e0b018@807385 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\... | java | chosen |
[
{
"from": "system",
"value": "Change back Bridge scheduler to 12 pm daily\n"
},
{
"from": "human",
"value": "package org.sagebionetworks.dashboard;\n\nimport javax.annotation.Resource;\n\nimport org.sagebionetworks.dashboard.service.BridgeDynamoImporter;\nimport org.slf4j.Logger;\nimport org.slf... | java | chosen |
[
{
"from": "system",
"value": "Rebase interactive rebase in progress; onto d2cd27f\n"
},
{
"from": "human",
"value": "package com.example.myapplication;\n\nimport android.support.v7.app.AppCompatActivity;\nimport android.os.Bundle;\n\npublic class MainActivity extends AppCompatActivity {\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Bz1178769: Fix JBDS import errors for greeter quickstart\n"
},
{
"from": "human",
"value": "/*\n * JBoss, Home of Professional Open Source\n * Copyright 2014, Red Hat, Inc. and/or its affiliates, and individual\n * contributors by the @authors tag. See the copyright... | java | chosen |
[
{
"from": "system",
"value": "Remove TODO for done thing\n\n\ngit-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@1257 0d517254-b314-0410-acde-c619094fa49f\n"
},
{
"from": "human",
"value": "package edu.northwestern.bioinformatics.studycalendar.domain.delta;\n\nimport edu.northwestern.bioinform... | java | chosen |
[
{
"from": "system",
"value": "Add some basic javadoc documentation\n"
},
{
"from": "human",
"value": "package org.realityforge.replicant.client;\n\n/**\n * Interface implemented by imitations that need to be linked.\n */\npublic interface Linkable\n{\n void link();\n\n void delink();\n}\n"
}... | java | chosen |
[
{
"from": "system",
"value": "Update retention policy and add version field\n"
},
{
"from": "human",
"value": "package org.michaelbel.bottomsheet.annotation;\n\nimport java.lang.annotation.Documented;\nimport java.lang.annotation.ElementType;\nimport java.lang.annotation.Retention;\nimport java.... | java | chosen |
[
{
"from": "system",
"value": "Add a name to the runner\n"
},
{
"from": "human",
"value": "package wumpus;\n\nimport java.util.ArrayList;\nimport java.util.Iterator;\nimport java.util.NoSuchElementException;\n\nimport wumpus.Environment.*;\n\n/**\n * The iteration of plays that the player can tak... | java | chosen |
[
{
"from": "system",
"value": "GUI: Make stop button from custom gui keep partial results\n\ngit-svn-id: c451f99c539e6b066ec18a47a9c67064d2e0d34d@8709 fc29be9c-2cb0-420d-b520-73dbd18add6e\n"
},
{
"from": "human",
"value": "/*\r\n * IKToolExecutor.java\r\n *\r\n * Created on August 11, 2010, 12:38... | java | chosen |
[
{
"from": "system",
"value": "Disable code formatting in security configuration region\n"
},
{
"from": "human",
"value": "package sk.tuke.cloud.security;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.context.annotation.Configuration;\nimport org.sp... | java | chosen |
[
{
"from": "system",
"value": "Complete refactoring, including addition of kind to all core objects\n"
},
{
"from": "human",
"value": "/*\n * See LICENSE file in distribution for copyright and licensing information.\n */\npackage ioke.lang;\n\nimport java.util.IdentityHashMap;\n\n/**\n *\n * @aut... | java | chosen |
[
{
"from": "system",
"value": "Fix crash when showing crash information\n"
},
{
"from": "human",
"value": "package backupBasic.backup;\n/*(c)2016, Tobias Hotz\n * Further Information can be found in Info.txt\n */\n\nimport backupBasic.util.i18n;\n\nimport javax.swing.*;\nimport java.awt.*;\nimpor... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.