conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Use thenShowInternal on action condition to avoid visibility colision\n\n(cherry picked from commit 2bf2404b3c89ce318481ef9dcc26088a9b472a93)\n"
},
{
"from": "human",
"value": "package fr.openwide.core.wicket.more.markup.html.template.js.jquery.plugins.bootstrap.con... | java | chosen |
[
{
"from": "system",
"value": "Add permissions check to allow recording audio with mic\n"
},
{
"from": "human",
"value": "package io.akessler.elixircounter;\n\nimport android.content.Intent;\nimport android.os.Bundle;\nimport android.support.v7.app.AppCompatActivity;\n\npublic class MainActivity ... | java | chosen |
[
{
"from": "system",
"value": "Add nearest loc utility function\n"
},
{
"from": "human",
"value": "package xyz.whereuat.whereuat;\n\nimport android.content.ContentValues;\nimport android.content.Context;\nimport android.location.Location;\n\nimport xyz.whereuat.whereuat.db.command.InsertCommand;\... | java | chosen |
[
{
"from": "system",
"value": "Make the simple demo fall back to http"
},
{
"from": "human",
"value": "package com.darwinsys.clientware;\n\nimport java.io.BufferedReader;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.net.HttpURLConnection;\nimport java.net.URL;\n\n/... | java | chosen |
[
{
"from": "system",
"value": "Use auto generated hashcode and equals\n"
},
{
"from": "human",
"value": "package io.github.imsmobile.fahrplan.model;\n\nimport com.google.common.base.Objects;\n\npublic class FavoriteModelItem {\n private final String from;\n private final String to;\n\n F... | java | chosen |
[
{
"from": "system",
"value": "Fix handling of string-only arguments\n"
},
{
"from": "human",
"value": "package sk.tomsik68.mclauncher.impl.versions.mcdownload;\n\nimport net.minidev.json.JSONArray;\nimport net.minidev.json.JSONObject;\n\nimport java.util.*;\n\nfinal class ArgumentList implements... | java | chosen |
[
{
"from": "system",
"value": "Add default resolution label based on origin information\n"
},
{
"from": "human",
"value": "package org.metaborg.core.tracing;\n\nimport javax.annotation.Nullable;\n\nimport org.metaborg.core.source.ISourceLocation;\nimport org.metaborg.core.source.ISourceRegion;\n\... | java | chosen |
[
{
"from": "system",
"value": "Fix for MPLY-7330. ScrollListBy doesnt work with version < 4.4 so disable scrolling on devices before that. Buddy: Tim\n"
},
{
"from": "human",
"value": "// Copyright eeGeo Ltd (2012-2015), All Rights Reserved\n\npackage com.eegeo.searchmenu;\n\nimport com.eegeo.sea... | java | chosen |
[
{
"from": "system",
"value": "Add a couple more splitNaturalCharacters tests\n"
},
{
"from": "human",
"value": "package com.scottbezek.difflib;\n\nimport org.junit.Test;\n\nimport java.util.Arrays;\nimport java.util.List;\nimport java.util.Locale;\n\nimport static org.junit.Assert.assertEquals;\... | java | chosen |
[
{
"from": "system",
"value": "Update test case for Dijkstras\n"
},
{
"from": "human",
"value": "package dijkstras;\n\nimport dijkstras.Dijkstras;\t\t// My implementation of Dijkstras algorithm in package dijkstras\n\n/*\n\tThis class test Dijkstras shortest path algorithm\n*/\n\nclass TestDijkst... | java | chosen |
[
{
"from": "system",
"value": "Enable scenario deletion via DELETE call at all times (still no button in the frontend unless there are no running instances)\n"
},
{
"from": "human",
"value": "package de.uni_potsdam.hpi.bpt.bp2014.jconfiguration;\n\nimport de.uni_potsdam.hpi.bpt.bp2014.jcore.event... | java | chosen |
[
{
"from": "system",
"value": "Convert the file to UTF-8\n"
},
{
"from": "human",
"value": "package com.fewlaps.mentiondetector;\n\nimport org.junit.Before;\nimport org.junit.Test;\n\nimport static org.assertj.core.api.Assertions.assertThat;\n\npublic class RemovePunctuationMarksTest {\n\n Rem... | java | chosen |
[
{
"from": "system",
"value": "Change excute method return type from boolean to File"
},
{
"from": "human",
"value": "package org.agmip.acmo.translators;\n\npublic interface AcmoTranslator {\n public boolean execute(String sourceFolder, String destFolder);\n}\n"
},
{
"from": "gpt",
... | java | chosen |
[
{
"from": "system",
"value": "Remove unnecessary visibility modifiers in interface\n"
},
{
"from": "human",
"value": "package im.delight.android.ddp;\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 use... | java | chosen |
[
{
"from": "system",
"value": "Remove @version that uses svn revision as it makes useless differences when comparing svn with github\n\ngit-svn-id: 5ccfe34f605a6c2f9041ff2965ab60012c62539a@1788653 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apach... | java | chosen |
[
{
"from": "system",
"value": "Configuration: Fix Silly Code and cleanup JavaDoc"
},
{
"from": "human",
"value": "package jpower.core.config;\n\nimport jpower.core.load.Loadable;\nimport jpower.core.load.Reloadable;\nimport jpower.core.utils.ExceptionUtils;\n\nimport java.io.File;\nimport java.io... | java | chosen |
[
{
"from": "system",
"value": "Edit chapter_ 003/socket. Replacement name package. Edit Client.java (used try-with-resources.\n"
},
{
"from": "human",
"value": "package ru.job4j.Exception;\n\n/**\n * The class MenuOutException.\n *\n * @author Alexander Mezgin\n * @version 1.0\n * @since 14.01.20... | java | chosen |
[
{
"from": "system",
"value": "Add a RunsWith for JUnit4\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2011 Google, Inc.\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 co... | java | chosen |
[
{
"from": "system",
"value": "Add JSON deserializer which takes a reader\n"
},
{
"from": "human",
"value": "package com.antew.redditinpictures.library.json;\n\nimport com.antew.redditinpictures.library.enums.Vote;\nimport com.antew.redditinpictures.library.gson.VoteAdapter;\nimport com.antew.red... | java | chosen |
[
{
"from": "system",
"value": "Switch over to loading .js file\n\nGerrit no longer supports html plugins so we have\nto use the .js version.\n\nBug: Issue 14335\nChange-Id: I284647480d0cac76f3afde0aa566b47121ff9511\n"
},
{
"from": "human",
"value": "// Copyright (C) 2013 The Android Open Source P... | java | chosen |
[
{
"from": "system",
"value": "Use static factory method instead of constructor\n"
},
{
"from": "human",
"value": "package com.akikanellis.kata01.offer;\n\nimport java.util.Collection;\nimport java.util.Collections;\nimport java.util.HashSet;\nimport java.util.Set;\nimport java.util.stream.Stream... | java | chosen |
[
{
"from": "system",
"value": "Implement missing halt callback method and rename actions\n"
},
{
"from": "human",
"value": "package router.client.api2;\n\nimport java.util.List;\nimport java.util.Objects;\nimport javax.annotation.Nonnull;\nimport javax.annotation.Nullable;\n\npublic final class O... | java | chosen |
[
{
"from": "system",
"value": "Switch to map as request body\n"
},
{
"from": "human",
"value": "package com.github.vlsidlyarevich.unity.controller;\n\nimport com.github.vlsidlyarevich.unity.service.WorkerProfileSearchService;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Use null geometry if parsing geometry fails"
},
{
"from": "human",
"value": "package placebooks.model.json;\n\nimport java.io.IOException;\n\nimport org.codehaus.jackson.JsonParser;\nimport org.codehaus.jackson.JsonProcessingException;\nimport org.codehaus.jackson.m... | java | chosen |
[
{
"from": "system",
"value": "Fix Error: The method addTestSuite(Class<? extends TestCase>) in the type TestSuite is not applicable for the arguments (Class<TaskTemplateVariableResolver>)\n\nTaskTemplateVariableResolver is now TaskTemplateResolverTest\n"
},
{
"from": "human",
"value": "/********... | java | chosen |
[
{
"from": "system",
"value": "Revert \"update default test server port to 8081\"\n\nThis reverts commit 4e784e0252201b7890a8a6749dda8b8fa68e33d9. Which\nbroke the tests because their port numbers weren't updated too. And\nthere was no real need to make this change in the first place.\n"
},
{
"from":... | java | chosen |
[
{
"from": "system",
"value": "Reduce dependencies of `checksum` tool\n"
},
{
"from": "human",
"value": "package com.github.sormuras.bach.core;\n\nimport com.github.sormuras.bach.Bach;\nimport com.github.sormuras.bach.ToolOperator;\nimport com.github.sormuras.bach.internal.ArgumentsParser;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Fix an NPEs when elements are not present\n"
},
{
"from": "human",
"value": "package in.twizmwaz.cardinal.module.modules.blitz;\n\nimport in.twizmwaz.cardinal.match.Match;\nimport in.twizmwaz.cardinal.module.ModuleBuilder;\nimport in.twizmwaz.cardinal.module.ModuleC... | java | chosen |
[
{
"from": "system",
"value": "Add default constructor to test Travis\n"
},
{
"from": "human",
"value": "package nl.r0b3rtk.jmoribus.spring;\n\npublic class SpringRunner {\n\n\n}\n"
},
{
"from": "gpt",
"value": "package nl.r0b3rtk.jmoribus.spring;\n\npublic class SpringRunner {\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Remove logging, no usefull info"
},
{
"from": "human",
"value": "package org.lodder.subtools.subsort.lib.control;\n\nimport java.io.File;\nimport java.util.List;\n\nimport org.lodder.subtools.sublibrary.Manager;\nimport org.lodder.subtools.sublibrary.exception.Contr... | java | chosen |
[
{
"from": "system",
"value": "Remove static import in this test.\n"
},
{
"from": "human",
"value": "package com.kickstarter.libs.utils;\n\nimport com.kickstarter.factories.CategoryFactory;\nimport com.kickstarter.factories.LocationFactory;\nimport com.kickstarter.libs.RefTag;\nimport com.kicksta... | java | chosen |
[
{
"from": "system",
"value": "Fix a trivial indexing issue\n"
},
{
"from": "human",
"value": "package me.dilek.izlek.domain;\n\nimport java.io.Serializable;\nimport java.util.ArrayList;\nimport java.util.Collection;\nimport java.util.Iterator;\nimport java.util.List;\n\npublic class SeasonCollec... | java | chosen |
[
{
"from": "system",
"value": "Make remark for future consideration about if this class is a good idea or not\n"
},
{
"from": "human",
"value": "package org.granchi.hollywood.preferences;\n\nimport org.granchi.hollywood.Action;\nimport org.granchi.hollywood.Model;\n\n/**\n * Model for storing and... | java | chosen |
[
{
"from": "system",
"value": "Include swagger definition in the implementation\n"
},
{
"from": "human",
"value": "package org.mskcc.cbio.oncokb.api.pub.v1;\n\nimport org.mskcc.cbio.oncokb.model.Geneset;\nimport org.mskcc.cbio.oncokb.util.ApplicationContextSingleton;\nimport org.springframework.h... | java | chosen |
[
{
"from": "system",
"value": "Revert \"commented out clear for now\"\n\nThis reverts commit 1a03b1fc61f9c32e26dd146801127306736a86c3.\n"
},
{
"from": "human",
"value": "package guitests;\n\nimport org.junit.Test;\n\nimport static org.junit.Assert.assertTrue;\n\npublic class ClearCommandTest exte... | java | chosen |
[
{
"from": "system",
"value": "Remove \"unused\" annotation after interface got added"
},
{
"from": "human",
"value": "/*******************************************************************************\n * Copyright (c) 2011, 2016 Eurotech and/or its affiliates and others\n *\n * All rights reserve... | java | chosen |
[
{
"from": "system",
"value": "Add check for null parameter\n"
},
{
"from": "human",
"value": "/*******************************************************************************\n * Copyright (c) 2013 University of Stuttgart.\n * All rights reserved. This program and the accompanying materials\n * ... | java | chosen |
[
{
"from": "system",
"value": "Use the Spring shorthand annotations for binding REST controllers\n\nRefs #78\n"
},
{
"from": "human",
"value": "package org.demyo.web.controller.api;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.stereotype.Controller... | java | chosen |
[
{
"from": "system",
"value": "Change to match on part of string rather than only on entire\nstring. This allows the given regExp pattern decide if it must\nmatch at start (\"^\"), end (\"$\"), or both (\"^*$).\n"
},
{
"from": "human",
"value": "// $Id: RegExpMatchOnNameFilter.java 63 2006-07-12 ... | java | chosen |
[
{
"from": "system",
"value": "Move test to test src"
},
{
"from": "human",
"value": "package org.jboss.loom.migrators._ext;\n\nimport java.io.File;\nimport java.io.IOException;\nimport org.apache.commons.io.FileUtils;\nimport org.jboss.loom.utils.ClassUtils;\nimport org.junit.AfterClass;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Fix DeviceIdentity on RN for Android\n\nReviewed By: Hypuk\n\nDifferential Revision: D5963912\n\nfbshipit-source-id: 3959e5ab6af66512f0035efea7919572554e10b4\n"
},
{
"from": "human",
"value": "/**\n * Copyright (c) 2015-present, Facebook, Inc.\n * All rights reserve... | java | chosen |
[
{
"from": "system",
"value": "Add test for count method\n"
},
{
"from": "human",
"value": "package org.ccci.gto.android.common.db;\n\nimport android.support.test.runner.AndroidJUnit4;\nimport android.test.InstrumentationTestCase;\n\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\n\nimp... | java | chosen |
[
{
"from": "system",
"value": "Use new buildLocation helper method in LocationUtils\n"
},
{
"from": "human",
"value": "package io.github.plastix.forage.data.local.model;\n\nimport android.location.Location;\n\nimport io.realm.RealmObject;\n\n/**\n * Realm Model \"wrapper\" to store location data ... | java | chosen |
[
{
"from": "system",
"value": "Add an E4 context on current plugin. "
},
{
"from": "human",
"value": "package com.opcoach.training.e4.rental.ui;\n\nimport org.osgi.framework.BundleActivator;\nimport org.osgi.framework.BundleContext;\n\n/**\n * The activator class controls the plug-in life cycle T... | java | chosen |
[
{
"from": "system",
"value": "Change from cast to MathHelper\n"
},
{
"from": "human",
"value": "package com.insane.itsrainingfood;\n\nimport net.minecraft.entity.player.EntityPlayer;\nimport cpw.mods.fml.common.eventhandler.SubscribeEvent;\nimport cpw.mods.fml.common.gameevent.TickEvent.PlayerTi... | java | chosen |
[
{
"from": "system",
"value": "Add a wan simulator to reproduce timing sensitive issues with a random 0.5 ms delay.\n"
},
{
"from": "human",
"value": "package net.openhft.chronicle.network;\n\nimport net.openhft.chronicle.core.Jvm;\n\n/**\n * Created by peter.lawrey on 16/07/2015.\n */\npublic en... | java | chosen |
[
{
"from": "system",
"value": "Add prototype for timestamp function\n"
},
{
"from": "human",
"value": "package org.cryptonit.cloud.timestamping;\n\nimport org.bouncycastle.util.Store;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport java.security.*;\nimport java.security.cert.X5... | java | chosen |
[
{
"from": "system",
"value": "Fix ping google / bing functionality so that OkHttp cleans up all resources after itself.\n"
},
{
"from": "human",
"value": "package cz.jiripinkas.jsitemapgenerator;\n\nimport okhttp3.OkHttpClient;\nimport okhttp3.Request;\nimport okhttp3.Response;\n\npublic class H... | java | chosen |
[
{
"from": "system",
"value": "Increase time-out to 2 minutes\n"
},
{
"from": "human",
"value": "package org.embulk.output.sftp.utils;\n\nimport java.io.Closeable;\nimport java.util.concurrent.TimeUnit;\n\npublic class TimeoutCloser implements Closeable\n{\n private Closeable wrapped;\n\n p... | java | chosen |
[
{
"from": "system",
"value": "Remove default http status messages from swagger documentation.\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.rest.controller;\n\nimport com.google.common.base.Predicates;\nimport org.springframework.context.annotation.Bean;\nimport org.springframewor... | java | chosen |
[
{
"from": "system",
"value": "Generalize service module plugin loader, in preparation for same loading mechanism for language specification Module plugins.\n"
},
{
"from": "human",
"value": "package org.metaborg.core.plugin;\n\nimport java.util.Collection;\nimport java.util.ServiceLoader;\n\nimp... | java | chosen |
[
{
"from": "system",
"value": "DASHB-681: Cover workspace metrics with selenium tests\n"
},
{
"from": "human",
"value": "/*\n * CODENVY CONFIDENTIAL\n * __________________\n *\n * [2012] - [2015] Codenvy, S.A.\n * All Rights Reserved.\n *\n * NOTICE: All information contained herein is, and re... | java | chosen |
[
{
"from": "system",
"value": "Add another false positive test case\n\n\ngit-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@6399 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3\n"
},
{
"from": "human",
"value": "package npe;\n\n\npublic class GuaranteedDereferenceInteractionWithAssertionMethods {\n\n\tpub... | java | chosen |
[
{
"from": "system",
"value": "Throw RuntimeException if new type is not added here also\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014-2015 Red Hat, Inc. and/or its affiliates\n * and other contributors as indicated by the @author tags.\n *\n * Licensed under the Apache License, Versio... | java | chosen |
[
{
"from": "system",
"value": "Update existing native rounding post processor\n\nReviewed By: oprisnik\n\nDifferential Revision: D9607950\n\nfbshipit-source-id: 080aa9cd339761a48e534c2fd4d3677005063e78\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2017-present, Facebook, Inc.\n *\n * Th... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Add queries.rate to the 'autoscaling' consumer.\"\n"
},
{
"from": "human",
"value": "// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.vespa.model.admin.monitoring;\n\ni... | java | chosen |
[
{
"from": "system",
"value": "Change to class loader instead of contexclassloader, cause the latter is slower.\n"
},
{
"from": "human",
"value": "package uni.projects.javafxcrud;\n\nimport javafx.application.Application;\nimport javafx.fxml.FXMLLoader;\nimport javafx.scene.Parent;\nimport javafx... | java | chosen |
[
{
"from": "system",
"value": "Use US Locale for date parser"
},
{
"from": "human",
"value": "package com.icosillion.podengine.utils;\n\nimport com.icosillion.podengine.exceptions.DateFormatException;\n\nimport java.text.ParseException;\nimport java.text.SimpleDateFormat;\nimport java.util.Date;\... | java | chosen |
[
{
"from": "system",
"value": "Use invoke method like in all other places.\n\nSigned-off-by: Stefan Marr <46f1a0bd5592a2f9244ca321b129902a06b53e03@stefan-marr.de>\n"
},
{
"from": "human",
"value": "package som.interpreter.nodes.dispatch;\n\nimport som.vm.Universe;\nimport som.vmobjects.SAbstractO... | java | chosen |
[
{
"from": "system",
"value": "Remove @Ignore annotation which is not needed. The test runs successfully.\n"
},
{
"from": "human",
"value": "package info.novatec.tr;\n\nimport org.junit.Ignore;\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.springframework.boot.test.Integra... | java | chosen |
[
{
"from": "system",
"value": "Use dev profile for integration tests.\n"
},
{
"from": "human",
"value": "package ch.zuehlke.campplanner;\n\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.springframework.boot.test.SpringApplicationConfiguration;\nimport org.springframework.te... | java | chosen |
[
{
"from": "system",
"value": "Return the Throwable on error"
},
{
"from": "human",
"value": "package me.normanmaurer.niosmtp.impl.internal;\n\nimport java.util.Collection;\nimport java.util.Iterator;\n\nimport me.normanmaurer.niosmtp.DeliveryRecipientStatus;\nimport me.normanmaurer.niosmtp.Deliv... | java | chosen |
[
{
"from": "system",
"value": "[Genomics]: Add a breif explaination of what the class does.\n"
},
{
"from": "human",
"value": "package com.github.sparkcaller.variantdiscovery;\n\nimport com.github.sparkcaller.BaseGATKProgram;\nimport com.github.sparkcaller.Utils;\nimport scala.Tuple2;\n\nimport j... | java | chosen |
[
{
"from": "system",
"value": "Fix shooter and pickup relay numbers"
},
{
"from": "human",
"value": "package com.saintsrobotics.frc;\n\nimport edu.wpi.first.wpilibj.Relay;\n\n/**\n * The RobotMap is a mapping from the ports sensors and actuators are wired into\n * to a variable name. This provide... | java | chosen |
[
{
"from": "system",
"value": "Add type field to edit channel perms request\n"
},
{
"from": "human",
"value": "/*\n * The MIT License (MIT)\n *\n * Copyright (c) 2016 Vincent Zhang/PhoenixLAB\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and... | java | chosen |
[
{
"from": "system",
"value": "Use custom length attribute to enable or disable OK button in location preference dialog\n"
},
{
"from": "human",
"value": "package com.example.android.sunshine.app;\n\nimport android.content.Context;\nimport android.content.res.TypedArray;\nimport android.preferenc... | java | chosen |
[
{
"from": "system",
"value": "Fix typo in Qa test\n"
},
{
"from": "human",
"value": "package org.oxtrust.qa.runner;\n\nimport org.junit.runner.RunWith;\nimport cucumber.api.junit.Cucumber;\nimport cucumber.api.CucumberOptions;\n\n@RunWith(Cucumber.class)\n@CucumberOptions(features = { \"src/test... | java | chosen |
[
{
"from": "system",
"value": "Make queues durable by default in the MetaData so tasks & backgroundable get it for free.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2008-2011 Red Hat, Inc, and individual contributors.\n * \n * This is free software; you can redistribute it and/or modify i... | java | chosen |
[
{
"from": "system",
"value": "Test for add and delete user.\n"
},
{
"from": "human",
"value": "package ru.aserdyuchenko.servlet;\n\nimport static org.junit.Assert.*;\n\npublic class ServletDeleteUserTest {\n\n}"
},
{
"from": "gpt",
"value": "package ru.aserdyuchenko.servlet;\n\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Add proper classpath to syntax tests\n\nTo prevent unknown type errors being spewed on stderr.\n"
},
{
"from": "human",
"value": "package syntax;\n\nimport java.io.IOException;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\nimport org.extendj.JavaChecker... | java | chosen |
[
{
"from": "system",
"value": "Fix a bug where spaces in a list element would cause an exception"
},
{
"from": "human",
"value": "package org.monospark.spongematchers.parser.element;\n\nimport java.util.List;\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\nimport org.monospar... | java | chosen |
[
{
"from": "system",
"value": "Fix task_api_get_results failing if task had no results, while this is actually fine.\n"
},
{
"from": "human",
"value": "package org.metaborg.runtime.task.primitives;\n\nimport static org.metaborg.runtime.task.util.ListBuilder.makeList;\n\nimport org.metaborg.runtim... | java | chosen |
[
{
"from": "system",
"value": "Define listItems() with new MVC model\n\nOPEN - task 41: Design \"ListItemPane\" as per new MVC model \nhttp://github.com/DevOpsDistilled/OpERP/issues/issue/41"
},
{
"from": "human",
"value": "package devopsdistilled.operp.client.items;\n\nimport javax.inject.Inject... | java | chosen |
[
{
"from": "system",
"value": "Set default balance to be 0.0\n\nOPEN - task 79: Create Party Module \nhttp://github.com/DevOpsDistilled/OpERP/issues/issue/79"
},
{
"from": "human",
"value": "package devopsdistilled.operp.server.data.entity.account;\n\nimport javax.persistence.GeneratedValue;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Rename object to entity in interface.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2019 Google LLC. All 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 Licen... | java | chosen |
[
{
"from": "system",
"value": "Fix NPE while creating tests.\n"
},
{
"from": "human",
"value": "package net.sourceforge.javydreamercsw.client.ui.nodes.actions;\n\nimport java.awt.event.ActionEvent;\nimport javax.swing.AbstractAction;\nimport javax.swing.ImageIcon;\n\n/**\n *\n * @author Javier A.... | java | chosen |
[
{
"from": "system",
"value": "Remove spaces in user names.\n\n- Also ensure multiple consecutive dashes are replaced by just one.\n"
},
{
"from": "human",
"value": "package com.uwetrottmann.trakt.v2.entities;\n\npublic class Username {\n\n /**\n * Special user name for the current user (d... | java | chosen |
[
{
"from": "system",
"value": "Change Buffalo spawn egg colors"
},
{
"from": "human",
"value": "package totemic_commons.pokefenn.entity;\n\nimport cpw.mods.fml.common.registry.EntityRegistry;\nimport totemic_commons.pokefenn.Totemic;\nimport totemic_commons.pokefenn.entity.animal.EntityBuffalo;\n... | java | chosen |
[
{
"from": "system",
"value": "Add user id param to getUserSettings\n"
},
{
"from": "human",
"value": "package com.hubspot.singularity.resources;\n\nimport javax.ws.rs.GET;\nimport javax.ws.rs.Path;\nimport javax.ws.rs.Produces;\nimport javax.ws.rs.core.MediaType;\n\nimport com.google.common.base... | java | chosen |
[
{
"from": "system",
"value": "Add a 1 second sleep before we stop recording, so we can hopefully see the browser closing\n"
},
{
"from": "human",
"value": "package com.mooo.aimmac23.node;\n\nimport java.io.File;\nimport java.util.concurrent.ArrayBlockingQueue;\nimport java.util.concurrent.Future... | java | chosen |
[
{
"from": "system",
"value": "Fix config sync handling not using client task scheduler\n"
},
{
"from": "human",
"value": "package info.tehnut.xtones.network;\n\nimport net.minecraftforge.fml.common.FMLCommonHandler;\nimport net.minecraftforge.fml.common.network.simpleimpl.IMessage;\nimport net.m... | java | chosen |
[
{
"from": "system",
"value": "Update sound changes (mojang rewrted the changes that they done before)"
},
{
"from": "human",
"value": "package protocolsupport.protocol.packet.middle.clientbound.play;\n\nimport io.netty.buffer.ByteBuf;\nimport protocolsupport.api.ProtocolType;\nimport protocolsup... | java | chosen |
[
{
"from": "system",
"value": "Convert into/from => function syntax\n\nR=messick@google.com\nBUG=\nTEST=\n\nReview URL: https://chromiumcodereview.appspot.com//10818028\n\ngit-svn-id: c93d8a2297af3b929165606efe145742a534bc71@9864 260f80e4-7a28-3924-810f-c04153c831b5\n"
},
{
"from": "human",
"valu... | java | chosen |
[
{
"from": "system",
"value": "Fix test even more :'(\n"
},
{
"from": "human",
"value": "package com.yahoo.vespa.hosted.controller.api.integration.aws;\n\nimport com.yahoo.config.provision.CloudAccount;\n\nimport java.util.Set;\nimport java.util.TreeSet;\n\n/**\n * @author jonmv\n */\npublic clas... | java | chosen |
[
{
"from": "system",
"value": "Add Netty default sizing to test\n"
},
{
"from": "human",
"value": "package org.jctools.queues;\n\nimport java.util.ArrayList;\nimport java.util.Collection;\nimport java.util.Queue;\n\nimport org.junit.runner.RunWith;\nimport org.junit.runners.Parameterized;\n\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Try a lambda instead of a method reference for java 8 support\"\n\nThis reverts commit 84d3e987405adeeab8ab60bd8a4e2e54e227a253.\n"
},
{
"from": "human",
"value": "package me.proxer.library.api;\n\nimport me.proxer.library.util.ProxerUtils;\nimport retrofit... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Initialized MapBox in Application\"\n\nThis reverts commit 515839411f8dd12011a910e67c2c08a590e08d12.\n"
},
{
"from": "human",
"value": "package speciemongo.net.speciemongo;\n\nimport android.app.Application;\nimport android.os.StrictMode;\n\nimport com.inst... | java | chosen |
[
{
"from": "system",
"value": "Add feature: support for pasting structure at a given location\n"
},
{
"from": "human",
"value": "package me.jacobcrofts.simplestructureloader.api;\n\nimport java.io.FileNotFoundException;\nimport java.io.FileReader;\nimport java.io.FileWriter;\nimport java.io.IOExc... | java | chosen |
[
{
"from": "system",
"value": "Fix DiscoveryManager for DI tests\n"
},
{
"from": "human",
"value": "package com.netflix.appinfo.providers;\n\nimport com.netflix.appinfo.AmazonInfo;\nimport com.netflix.appinfo.Ec2EurekaArchaius2InstanceConfig;\nimport com.netflix.appinfo.EurekaInstanceConfig;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Fix Einstellungen Abrechnung Fachspezialitäten Liste ist leer\n"
},
{
"from": "human",
"value": "/*******************************************************************************\n * Copyright (c) 2009-2010, G. Weirich and Elexis\n * All rights reserved. This program... | java | chosen |
[
{
"from": "system",
"value": "Fix potential null pointer exception on runtimes without name\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2020 Martin Winandy\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with\n * th... | java | chosen |
[
{
"from": "system",
"value": "Check when product doesn't have a price.\n"
},
{
"from": "human",
"value": "package com.tacktic.inbudget;\n\nimport com.badlogic.gdx.graphics.Texture;\nimport com.badlogic.gdx.math.MathUtils;\nimport com.badlogic.gdx.math.Rectangle;\nimport io.sphere.sdk.products.Pr... | java | chosen |
[
{
"from": "system",
"value": "Remove debug code to print example provision XML\n"
},
{
"from": "human",
"value": "package com.peterphi.servicemanager.service.rest.resource.type;\n\nimport com.peterphi.std.util.jaxb.JAXBSerialiser;\n\nimport javax.xml.bind.annotation.XmlElement;\nimport javax.xml... | java | chosen |
[
{
"from": "system",
"value": "Change README to be Jmm documentation\n"
},
{
"from": "human",
"value": "//\n// Copyright 2016, Yahoo Inc.\n// Copyrights licensed under the New BSD License.\n// See the accompanying LICENSE file for terms.\n//\n\n// [ {\n super();\n _na... | java | chosen |
[
{
"from": "system",
"value": "Fix lack of private constructor in utility method.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016, TeamDev Ltd. All rights reserved.\n *\n * Redistribution and use in source and/or binary forms, with or without\n * modification, must retain the above copyr... | java | chosen |
[
{
"from": "system",
"value": "Use junit assert instead of java keyword"
},
{
"from": "human",
"value": "package com.github.webdriverextensions.junitrunner;\n\nimport com.github.webdriverextensions.junitrunner.annotations.Firefox;\nimport com.github.webdriverextensions.junitrunner.annotations.Ign... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.