conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Add parentFolderId to document post\n" }, { "from": "human", "value": "package com.researchspace.api.clientmodel;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport lombok.Builder;\nimport lombok.Data;\nimport lombok.Singular;\n/**\n * Models the reque...
java
chosen
[ { "from": "system", "value": "Rename parameter value to element for consistency\n\ngit-svn-id: d9b8539636d91aff9cd33ed5cd52a0cf73394897@1183523 13f79535-47bb-0310-9956-ffa450edef68\n" }, { "from": "human", "value": "// Copyright 2010, 2011 The Apache Software Foundation\n//\n// Licensed under th...
java
chosen
[ { "from": "system", "value": "Fix README not showing in private repo\n" }, { "from": "human", "value": "package com.gh4a.loader;\n\nimport java.io.InputStream;\n\nimport org.eclipse.egit.github.core.RepositoryId;\nimport org.eclipse.egit.github.core.client.GitHubClient;\nimport org.eclipse.egit....
java
chosen
[ { "from": "system", "value": "Fix crash when serializing empty JSON ingredients.\n" }, { "from": "human", "value": "package net.darkhax.bookshelf.api.serialization;\n\nimport com.google.gson.JsonElement;\nimport net.minecraft.nbt.Tag;\nimport net.minecraft.network.FriendlyByteBuf;\nimport net.mi...
java
chosen
[ { "from": "system", "value": "Allow pageSize to be zero (0) on searches\n\nThis is to be able to return all results, needed e.g. for reports or graphs.\n" }, { "from": "human", "value": "package mil.dds.anet.beans.search;\n\npublic abstract class AbstractSearchQuery implements ISearchQuery {\n\n...
java
chosen
[ { "from": "system", "value": "Fix issue of count down latch example2 didn't shutdown\n" }, { "from": "human", "value": "package com.hzh.corejava.concurrent;\n\nimport java.util.concurrent.CountDownLatch;\nimport java.util.concurrent.Executor;\nimport java.util.concurrent.Executors;\n\n/**\n * Cr...
java
chosen
[ { "from": "system", "value": "Fix issue with accent escaped in some xml response\n" }, { "from": "human", "value": "package fr.insee.rmes.utils;\n\nimport java.io.IOException;\nimport java.io.OutputStream;\nimport java.io.Writer;\n\nimport org.codehaus.stax2.io.EscapingWriterFactory;\n\npublic c...
java
chosen
[ { "from": "system", "value": "Add port to Neo4j bolt connection\n" }, { "from": "human", "value": "package hu.bme.mit.codemodel.rifle.database;\n\nimport java.util.HashMap;\nimport java.util.Map;\n\nimport org.neo4j.driver.v1.AuthTokens;\nimport org.neo4j.driver.v1.Driver;\nimport org.neo4j.driv...
java
chosen
[ { "from": "system", "value": "Improve the formatting of the output to stdout." }, { "from": "human", "value": "package uk.ac.ebi.quickgo.indexer;\n\nimport java.text.SimpleDateFormat;\nimport java.util.Calendar;\n\nimport org.springframework.context.ApplicationContext;\nimport org.springframewor...
java
chosen
[ { "from": "system", "value": "Fix test. AS_PATH_LIST should return empty list not null.\n" }, { "from": "human", "value": "package com.jayway.jsonpath;\n\nimport com.jayway.jsonpath.spi.json.JacksonJsonProvider;\nimport com.jayway.jsonpath.spi.mapper.JacksonMappingProvider;\nimport org.junit.Tes...
java
chosen
[ { "from": "system", "value": "Fix access of yaml config\n" }, { "from": "human", "value": "package net.md_5.bungee.config;\n\nimport java.io.File;\nimport java.io.FileReader;\nimport java.io.IOException;\nimport java.io.Reader;\nimport java.util.Map;\nimport org.yaml.snakeyaml.DumperOptions;\nim...
java
chosen
[ { "from": "system", "value": "Delete database of tests now stops if a file can't be deleted\n\ngit-svn-id: 9ddf022f45b579842a47abc018ed2b18cdc52108@7085 3625ad7b-9c83-922f-a72b-73d79161f2ea\n" }, { "from": "human", "value": "/*\r\n * Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnolo...
java
chosen
[ { "from": "system", "value": "Update rectangle to make it obvious the expected dimensions.\n" }, { "from": "human", "value": "package quadTree;\n\npublic class Rectangle {\n\tpublic float x1, x2, y1, y2;\n\t\n\tpublic Rectangle() {\n\t\tthis(Float.POSITIVE_INFINITY, Float.POSITIVE_INFINITY, Floa...
java
chosen
[ { "from": "system", "value": "Allow a null filter to skip ribbonizing\n" }, { "from": "human", "value": "package com.github.gfx.ribbonizer.plugin;\n\nimport java.awt.image.BufferedImage;\nimport java.io.File;\nimport java.io.IOException;\nimport java.util.function.Consumer;\nimport java.util.str...
java
chosen
[ { "from": "system", "value": "Change addressbook to Emeraldo in clearCommandTest.java\n" }, { "from": "human", "value": "package guitests;\n\nimport org.junit.Test;\n\nimport static org.junit.Assert.assertTrue;\n\npublic class ClearCommandTest extends AddressBookGuiTest {\n\n @Test\n publi...
java
chosen
[ { "from": "system", "value": "Add Nullability annotations, simplify code by removing unnecessary null checks\n" }, { "from": "human", "value": "package org.realityforge.replicant.client.gwt;\n\nimport com.google.gwt.http.client.Request;\nimport com.google.gwt.http.client.RequestCallback;\nimport...
java
chosen
[ { "from": "system", "value": "Fix DB name in NIST tests\n" }, { "from": "human", "value": "package com.splicemachine.test.connection;\n\nimport com.splicemachine.constants.SpliceConstants;\nimport java.sql.Connection;\nimport java.sql.DriverManager;\nimport org.apache.log4j.Logger;\n\n/**\n * St...
java
chosen
[ { "from": "system", "value": "Add image url to item model.\n" }, { "from": "human", "value": "\npackage com.uwetrottmann.shopr.algorithm.model;\n\nimport java.math.BigDecimal;\n\n/**\n * Represents a item (e.g. clothing item), or one case in the case-base.\n */\npublic class Item {\n\n privat...
java
chosen
[ { "from": "system", "value": "Add a TODO comment for splitting the \"remoteUserFailedLogin\" error\n" }, { "from": "human", "value": "/*\n * Copyright (c) 2020. Center for Open Science\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except ...
java
chosen
[ { "from": "system", "value": "Change of context for picture transformation\n" }, { "from": "human", "value": "package com.williammora.openfeed.fragments;\n\nimport android.app.Fragment;\nimport android.os.Bundle;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.vie...
java
chosen
[ { "from": "system", "value": "Mark middleware class as nullsafe\n\nReviewed By: defHLT\n\nDifferential Revision: D24256184\n\nfbshipit-source-id: cf0342d0ed800576ce0cad9a37bcd96d8483ae4a\n" }, { "from": "human", "value": "package com.facebook.fresco.middleware;\n\nimport android.graphics.PointF;...
java
chosen
[ { "from": "system", "value": "Fix EA-30104: ClassNotFound exception: Don't forget that plugins loaded by different class loader.\n" }, { "from": "human", "value": "package org.jetbrains.plugins.groovy.util;\n\nimport com.intellij.util.containers.ConcurrentHashMap;\nimport org.jetbrains.annotatio...
java
chosen
[ { "from": "system", "value": "Remove any previous set User-Agents when set\n" }, { "from": "human", "value": "package me.proxer.library.api;\n\nimport me.proxer.library.util.ProxerUrls;\nimport okhttp3.Interceptor;\nimport okhttp3.Request;\nimport okhttp3.Response;\nimport org.jetbrains.annotati...
java
chosen
[ { "from": "system", "value": "Ref: Change attribute name weightSize to weightStyle\n" }, { "from": "human", "value": "package sizebay.catalog.client.model;\n\nimport java.io.Serializable;\nimport java.util.Map;\nimport lombok.*;\nimport lombok.experimental.Accessors;\n\n@Data\n@Accessors(chain =...
java
chosen
[ { "from": "system", "value": "Fix for occasional Palette crash\n" }, { "from": "human", "value": "package nickrout.lenslauncher.util;\n\nimport android.graphics.Color;\nimport android.support.annotation.ColorInt;\nimport android.support.v7.graphics.Palette;\n\nimport nickrout.lenslauncher.model....
java
chosen
[ { "from": "system", "value": "Add whitespace to be consistent with other modules\n" }, { "from": "human", "value": "/*\n * Copyright 2011 Splunk, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"): you may\n * not use this file except in compliance with the License. Yo...
java
chosen
[ { "from": "system", "value": "Add method to fetch pending events.\n" }, { "from": "human", "value": "package au.gov.ga.geodesy.igssitelog.domain.model;\n\nimport org.springframework.data.jpa.repository.JpaRepository;\nimport au.gov.ga.geodesy.domain.model.Event;\n\npublic interface EventReposito...
java
chosen
[ { "from": "system", "value": "Include console command output in logs.\n\nSigned-off-by: Ross Allan <ca2c77e14df1e7ee673215c1ef658354e220f471@gmail.com>\n" }, { "from": "human", "value": "package me.nallar.tickthreading.minecraft.commands;\r\n\r\nimport java.util.ArrayList;\r\nimport java.util.Ar...
java
chosen
[ { "from": "system", "value": "Fix typo in test name" }, { "from": "human", "value": "package org.junit.internal.matchers;\n\nimport static org.hamcrest.CoreMatchers.any;\nimport static org.hamcrest.CoreMatchers.containsString;\nimport static org.hamcrest.CoreMatchers.equalTo;\nimport static org....
java
chosen
[ { "from": "system", "value": "Return error messages if the compilation of remote methods fails\n" }, { "from": "human", "value": "/*\n * Created by Koen Deschacht (koendeschacht@gmail.com) 2017-4-28. For license\n * information see the LICENSE file in the root folder of this repository.\n */\n\n...
java
chosen
[ { "from": "system", "value": "Add intersects to objectbounds prototype" }, { "from": "human", "value": "package net.afterlifelochie.fontbox.layout;\r\n\r\npublic class ObjectBounds {\r\n\r\n\tpublic int x, y;\r\n\tpublic int width, height;\r\n\tpublic boolean floating;\r\n\r\n\tpublic ObjectBoun...
java
chosen
[ { "from": "system", "value": "Add missing DEPLOYMENT, DEPLOYMENT_STATUS, RELEASE and STATUS events.\n" }, { "from": "human", "value": "package org.kohsuke.github;\n\n/**\n * Hook event type.\n *\n * See http://developer.github.com/v3/events/types/\n *\n * @author Kohsuke Kawaguchi\n * @see GHEve...
java
chosen
[ { "from": "system", "value": "Allow passing in box client when intializing OauthWebView\n" }, { "from": "human", "value": "package com.box.boxjavalibv2.authorization;\n\n/**\n * Interface for UI to generate auth.\n */\npublic interface IAuthFlowUI {\n\n /**\n * Authenticate.\n * \n ...
java
chosen
[ { "from": "system", "value": "Add the required constructors for direct usage in layout xml files.\n\nUsage: <org.kobjects.nativehtml.android.HtmlView>\n" }, { "from": "human", "value": "package org.kobjects.nativehtml.android;\n\nimport android.content.Context;\nimport android.widget.FrameLayout...
java
chosen
[ { "from": "system", "value": "Use common reflections instance to avoid scanning twice\n" }, { "from": "human", "value": "package etomica.meta;\n\nimport org.reflections.Reflections;\n\nimport java.util.Set;\n\npublic class ComponentIndex<T> {\n private final Class<T> componentClass;\n\n pr...
java
chosen
[ { "from": "system", "value": "Change asakusafw project template catalog URL.\n" }, { "from": "human", "value": "/**\n * Copyright 2013 Asakusa Framework Team.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the Lic...
java
chosen
[ { "from": "system", "value": "Make tests more realistic by doing some “work” other than writing console output, moreso.\n" }, { "from": "human", "value": "package ${packageName};\n\nimport static org.junit.Assert.*;\n\npublic class ${testClassName} {\n\n private final ${productionClassName} p...
java
chosen
[ { "from": "system", "value": "Read input and print matrix (pizza) state\n" }, { "from": "human", "value": "//Foobar\npackage ch.uzh.ifi.dachs.pizza;\n\npublic class Pizza {\n\n\tpublic static void main(String[] args) {\n\t\t// Parameter inpute filename\n\t\tSystem.out.println(\"Dachs Pizza\");\n...
java
chosen
[ { "from": "system", "value": "Fix regex for package naming diagnostic\n" }, { "from": "human", "value": "package com.azure.tools.apiview.processor.diagnostics.rules;\n\nimport com.azure.tools.apiview.processor.diagnostics.DiagnosticRule;\nimport com.azure.tools.apiview.processor.model.APIListing...
java
chosen
[ { "from": "system", "value": "Allow log-in for people who don+t have pension account\nEnable DTO debug\n" }, { "from": "human", "value": "package ee.tuleva.onboarding.account;\n\nimport ee.tuleva.onboarding.auth.principal.Person;\nimport ee.tuleva.onboarding.epis.EpisService;\nimport ee.tuleva.o...
java
chosen
[ { "from": "system", "value": "Add fast path for comparing to an identical (interned) keyword\n" }, { "from": "human", "value": "// (c) 2012 B Smith-Mannschott -- Distributed under the Eclipse Public License\npackage bpsm.edn.model;\n\nimport bpsm.edn.parser.util.Interner;\n\npublic final class K...
java
chosen
[ { "from": "system", "value": "Remove redundant modifiers from northbound interfaces\n\nChange-Id: I83ed14c21255e8fc22bd688d00ea8b87d833b344\nSigned-off-by: Ryan Moats <7ac70bcc48c94124ee1b01a4779bf5a8a6faebbd@us.ibm.com>\n" }, { "from": "human", "value": "/*\n * Copyright (C) 2014 Red Hat, Inc.\...
java
chosen
[ { "from": "system", "value": "backend: Change to JUnit 4 test\n\nChange the test to be junit 4 test for adding more tests later.\n\nChange-Id: I7a8d38bbbbce976f5bf12573bb6936e5d7ff7c1e\n" }, { "from": "human", "value": "package org.ovirt.engine.core.utils;\n\nimport org.ovirt.engine.core.common....
java
chosen
[ { "from": "system", "value": "Update how is started the Reactive Messaging provider\n" }, { "from": "human", "value": "package io.quarkus.smallrye.reactivemessaging.runtime;\n\nimport java.util.concurrent.CompletableFuture;\nimport java.util.concurrent.ExecutionException;\n\nimport javax.enterpr...
java
chosen
[ { "from": "system", "value": "Fix up test definition to account for pushing @Controller definitions out to servlet context\n" }, { "from": "human", "value": "package ca.intelliware.ihtsdo.mlds.registration;\n\nimport java.util.List;\n\nimport javax.annotation.Resource;\n\nimport org.junit.Assert...
java
chosen
[ { "from": "system", "value": "Revert \"Revert \"api key deleted from the list of required parameters\"\"\n" }, { "from": "human", "value": "package org.atlasapi.application.auth;\n\nimport static com.google.common.base.Preconditions.checkNotNull;\n\nimport javax.servlet.http.HttpServletRequest;\...
java
chosen
[ { "from": "system", "value": "Increase size of response queue.\n" }, { "from": "human", "value": "/*\n * Copyright 2015 Real Logic Ltd.\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 obtai...
java
chosen
[ { "from": "system", "value": "Return empty datetime elements as NULL" }, { "from": "human", "value": "package de.timroes.axmlrpc.serializer;\n\nimport java.text.SimpleDateFormat;\n\nimport org.w3c.dom.Element;\n\nimport de.timroes.axmlrpc.XMLRPCException;\nimport de.timroes.axmlrpc.XMLUtil;\nimp...
java
chosen
[ { "from": "system", "value": "Use 1M transaction cost model instead of 10,000" }, { "from": "human", "value": "package org.ligoj.app.plugin.prov.model;\n\nimport javax.persistence.Entity;\nimport javax.persistence.Table;\nimport javax.persistence.UniqueConstraint;\n\nimport lombok.Getter;\nimpor...
java
chosen
[ { "from": "system", "value": "Fix cookie keys to be 'sagebio' not 'sagbio'\n" }, { "from": "human", "value": "package org.sagebionetworks.web.client.cookie;\n\n/**\n * The cookie key master. Don't tell the cookie monster!\n *\n * @author jmhill\n *\n */\npublic class CookieKeys {\n\n\t/**\n\t *...
java
chosen
[ { "from": "system", "value": "Fix InvalidBehaviorIdException due to dynamic swith to temporal behavior\n" }, { "from": "human", "value": "package org.orienteer.core.behavior;\n\nimport org.apache.wicket.Component;\nimport org.apache.wicket.ajax.AjaxClientInfoBehavior;\nimport org.orienteer.core....
java
chosen
[ { "from": "system", "value": "Return empty array if requested file does not exist.\n" }, { "from": "human", "value": "package com.github.aureliano.achmed.server.service;\n\nimport java.io.File;\nimport java.io.UnsupportedEncodingException;\nimport java.util.Map;\n\nimport com.github.aureliano.ac...
java
chosen
[ { "from": "system", "value": "Make sure dirty state is detected appropriately during a promote\n" }, { "from": "human", "value": "/*\n * #%L\n * BroadleafCommerce Framework\n * %%\n * Copyright (C) 2009 - 2014 Broadleaf Commerce\n * %%\n * Licensed under the Apache License, Version 2.0 (the \"Li...
java
chosen
[ { "from": "system", "value": "Nit: Fix statement exceeding 100-character line limit\n" }, { "from": "human", "value": "enum BeamType {\n\n FAR(1.0f, 0.1f, 3.0f, 0.5f, 5.0f),\n MIDDLE(2.0f, 0.2f, 6.0f, 0.7f, 7.0f),\n NEAR(3.0f, 0.3f, 9.0f, 0.9f, 9.0f);\n\n final float velocity;\n f...
java
chosen
[ { "from": "system", "value": "Support extends of the interface\n" }, { "from": "human", "value": "/**\n * Copyright 2015 Palantir Technologies\n *\n * Licensed under the BSD-3 License (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a cop...
java
chosen
[ { "from": "system", "value": "Fix: Remove slash at the end of APPLICATION_URL\n\nThis corrects an issue when trying to navigate links." }, { "from": "human", "value": "package io.katharsis.example.jersey;\n\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport io.katharsis.locator.SampleJ...
java
chosen
[ { "from": "system", "value": "Remove url pattern from filter so that it will filter all paths\n" }, { "from": "human", "value": "/*\n * SecurityConfig.java\n *\n * Copyright (C) 2017 [ A Legge Up ]\n *\n * This software may be modified and distributed under the terms\n * of the MIT license. See...
java
chosen
[ { "from": "system", "value": "Change Mod Class and name\n" }, { "from": "human", "value": "package li.cil.oc.example.architecture;\n\nimport cpw.mods.fml.common.Mod;\nimport cpw.mods.fml.common.event.FMLPreInitializationEvent;\nimport cpw.mods.fml.common.registry.GameRegistry;\n\n/**\n * This mo...
java
chosen
[ { "from": "system", "value": "AMQ-4010: Use pre compiled pattern when doing string replaceAll as its faster.\n\ngit-svn-id: d2a93f579bd4835921162e9a69396c846e49961c@1379761 13f79535-47bb-0310-9956-ffa450edef68\n" }, { "from": "human", "value": "/**\n * Licensed to the Apache Software Foundation ...
java
chosen
[ { "from": "system", "value": "Fix Mustache compiler to default null values to empty strings, not throw exception.\n" }, { "from": "human", "value": "/*\n * Copyright 2015-2015 Groupon, Inc\n * Copyright 2015-2015 The Billing Project, LLC\n *\n * The Billing Project licenses this file to you unde...
java
chosen
[ { "from": "system", "value": "Remove transform from root layer\n" }, { "from": "human", "value": "package com.airbnb.lotte.layers;\n\nimport android.graphics.Canvas;\nimport android.graphics.drawable.Drawable;\nimport android.support.annotation.NonNull;\n\nimport com.airbnb.lotte.utils.LotteTran...
java
chosen
[ { "from": "system", "value": "Fix bug with missing iri\n" }, { "from": "human", "value": "/*\n * VowlThing.java\n *\n */\n\npackage de.uni_stuttgart.vis.vowl.owl2vowl.model.entities.nodes.classes;\n\nimport de.uni_stuttgart.vis.vowl.owl2vowl.constants.NodeType;\nimport de.uni_stuttgart.vis.vowl....
java
chosen
[ { "from": "system", "value": "Add main code (while calls core methods and displays result)\n" }, { "from": "human", "value": "package com.nilhcem.mowitnow;\n\nimport java.io.File;\nimport java.io.IOException;\nimport java.util.List;\n\nimport org.apache.commons.io.FileUtils;\n\n/**\n * Starting ...
java
chosen
[ { "from": "system", "value": "Remove the old line selector panel\n\ngit-svn-id: 4e353c0944fe8da334633afc35765ef362dec675@4267 b4e469a2-07ce-4b26-9273-4d7d95a670c7\n" }, { "from": "human", "value": "package org.helioviewer.plugins.eveplugin.view;\n\nimport javax.swing.BoxLayout;\nimport javax.swi...
java
chosen
[ { "from": "system", "value": "Make the test a bit less idiotic.\n" }, { "from": "human", "value": "package com.topsy.jmxproxy.jmx.tests;\n\nimport com.topsy.jmxproxy.jmx.ConnectionCredentials;\nimport org.junit.Test;\n\nimport static org.junit.Assert.assertTrue;\nimport static org.junit.Assert.a...
java
chosen
[ { "from": "system", "value": "Refactor and change signature of the method that returns an empty profile\n" }, { "from": "human", "value": "package sizebay.catalog.client.model;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport lombok.Data;\nimport lombok.NoArgsConstructor;...
java
chosen
[ { "from": "system", "value": "Allow to change flexibee url\n" }, { "from": "human", "value": "package com.adleritech.flexibee.core.api;\n\nimport com.adleritech.flexibee.core.api.domain.WinstromRequest;\nimport com.adleritech.flexibee.core.api.domain.WinstromResponse;\nimport retrofit2.Call;\nim...
java
chosen
[ { "from": "system", "value": "Revert \"StandardCharsets을 jdk6에서 지원하지 않아 Charset.forName으로 변경\"\n\nThis reverts commit 71e974059d5e60fddd2dd412cabc3790242fb50e.\n" }, { "from": "human", "value": "/*\n * Copyright 2011-2013 the original author or authors.\n *\n * Licensed under the Apache License,...
java
chosen
[ { "from": "system", "value": "Check ReportWriter makes parent directories." }, { "from": "human", "value": "package com.googlecode.jslint4java.maven;\n\nimport static org.hamcrest.CoreMatchers.*;\nimport static org.junit.Assert.*;\n\nimport java.io.File;\n\nimport org.junit.Rule;\nimport org.jun...
java
chosen
[ { "from": "system", "value": "Allow transactions to be rollbacked\n" }, { "from": "human", "value": "package mib.microservice.commons.persistence;\n\nimport javax.persistence.EntityManager;\nimport javax.persistence.EntityManagerFactory;\nimport javax.persistence.Persistence;\n\n/**\n * Created ...
java
chosen
[ { "from": "system", "value": "Fix camelCasing the method name.\n\nRELNOTES: None\nPiperOrigin-RevId: 310508754\n" }, { "from": "human", "value": "// Copyright 2020 The Bazel Authors. All rights reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not us...
java
chosen
[ { "from": "system", "value": "Change the accuracy of the division to the IEEE 754R Decimal28\n" }, { "from": "human", "value": "package miwax.java_conf.gr.jp.frugalitycalc.model;\n\nimport java.math.BigDecimal;\n\npublic enum Operation {\n PLUS { BigDecimal apply(BigDecimal x, BigDecimal ...
java
chosen
[ { "from": "system", "value": "Handle 'unlimited' large payload size" }, { "from": "human", "value": "package org.zaproxy.zap.extension.websocket.ui.httppanel.views.large;\n\nimport org.zaproxy.zap.extension.httppanel.Message;\nimport org.zaproxy.zap.extension.httppanel.view.largeresponse.LargeRe...
java
chosen
[ { "from": "system", "value": "Fix: Add new measures for shoe -> equivalence\n" }, { "from": "human", "value": "package sizebay.catalog.client.model;\n\nimport lombok.*;\n\n@Getter\n@Setter\n@EqualsAndHashCode\n@ToString\npublic class ModelingSizeMeasures {\n\n String sizeName = null;\n Model...
java
chosen
[ { "from": "system", "value": "[165] Add new partner video provider type\n" }, { "from": "human", "value": "package com.creatubbles.api.model.partner_application;\n\nimport android.support.annotation.NonNull;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.an...
java
chosen
[ { "from": "system", "value": "Make sure 'keyevent' works if metastate is null.\n" }, { "from": "human", "value": "package io.appium.android.bootstrap.handler;\n\nimport io.appium.android.bootstrap.AndroidCommand;\nimport io.appium.android.bootstrap.AndroidCommandResult;\nimport io.appium.android...
java
chosen
[ { "from": "system", "value": "Move value types before operators in logic programmer\n" }, { "from": "human", "value": "package org.cyclops.integrateddynamics.core.logicprogrammer;\n\nimport org.cyclops.integrateddynamics.IntegratedDynamics;\nimport org.cyclops.integrateddynamics.api.logicprogram...
java
chosen
[ { "from": "system", "value": "Comment the semantics of the spec resolver to match the (more useful) semantics of the implementations\n" }, { "from": "human", "value": "/**\n * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies\n *\n * Please see distribution for ...
java
chosen
[ { "from": "system", "value": "Add logging to the main file.\n" }, { "from": "human", "value": "package es.tid.bdp.platform.cluster.server;\n\n/**\n *\n * @author dmicol\n */\npublic class ClusterServerMain {\n public static void main(String[] args) {\n try {\n ClusterServer ...
java
chosen
[ { "from": "system", "value": "Fix interaction test: use newer interaction.\n\n- Does tvtag remove older interactions?\n" }, { "from": "human", "value": "package com.uwetrottmann.getglue.services;\n\nimport com.uwetrottmann.getglue.BaseTestCase;\nimport com.uwetrottmann.getglue.entities.GetGlueIn...
java
chosen
[ { "from": "system", "value": "Add Baykok spawn egg to creative tab" }, { "from": "human", "value": "package totemic_commons.pokefenn.misc;\n\nimport java.util.List;\n\nimport net.minecraft.creativetab.CreativeTabs;\nimport net.minecraft.init.Items;\nimport net.minecraft.item.Item;\nimport net.mi...
java
chosen
[ { "from": "system", "value": "Allow original exception to be provided if necessary\n\ngit-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1329661 13f79535-47bb-0310-9956-ffa450edef68\n\nFormer-commit-id: 91e8c0fd7a04cfa172a34abfb5d0296d040843c0" }, { "from": "human", "value": "/*\n * Licen...
java
chosen
[ { "from": "system", "value": "Revert \"Changed Model Variable m to protected. Used corresponding getters. changes made because dataset needed for calculating amount of triples.\"\n\nThis reverts commit f474d987593f1088e3571b18339682a8ff8c7d79.\n" }, { "from": "human", "value": "package de.unibon...
java
chosen
[ { "from": "system", "value": "Add javadoc, make position final.\n" }, { "from": "human", "value": "package uk.ac.ebi.quickgo.annotation.validation.loader;\n\n/**\n * @author Tony Wardell\n * Date: 07/11/2016\n * Time: 18:16\n * Created with IntelliJ IDEA.\n *\n * Specify the layout of the DB_XRE...
java
chosen
[ { "from": "system", "value": "Change export format name to mzmine\n" }, { "from": "human", "value": "/*\n * Copyright 2006-2022 The MZmine Development Team\n *\n * This file is part of MZmine.\n *\n * MZmine is free software; you can redistribute it and/or modify it under the terms of the GNU\n ...
java
chosen
[ { "from": "system", "value": "Fix cuboid regions not extending all the way to negative infinity\n" }, { "from": "human", "value": "package in.twizmwaz.cardinal.module.modules.regions.parsers;\n\nimport in.twizmwaz.cardinal.module.modules.regions.RegionParser;\nimport org.bukkit.util.Vector;\nimp...
java
chosen
[ { "from": "system", "value": "Document unused type parameter for tests\n" }, { "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 r...
java
chosen
[ { "from": "system", "value": "Add note that we need to handle HTTP redirection\n\ngit-svn-id: ca8e9bb6f3f9b50a093b443c23951d3c25ca0913@2241 369101cc-9a96-11dd-8e58-870c635edf7a\n" }, { "from": "human", "value": "package com.thaiopensource.resolver;\n\nimport java.net.URI;\nimport java.net.URISyn...
java
chosen
[ { "from": "system", "value": "Change type Name for TD operator\n" }, { "from": "human", "value": "package org.verapdf.model.impl.pb.operator.textposition;\n\nimport org.apache.pdfbox.cos.COSBase;\nimport org.verapdf.model.operator.Op_TD_Big;\n\nimport java.util.List;\n\n/**\n * @author Evgeniy M...
java
chosen
[ { "from": "system", "value": "Fix hrose inventory open for 1.14+" }, { "from": "human", "value": "package protocolsupport.protocol.packet.middleimpl.clientbound.play.v_14r1_14r2;\n\nimport protocolsupport.protocol.ConnectionImpl;\nimport protocolsupport.protocol.packet.PacketType;\nimport protoc...
java
chosen
[ { "from": "system", "value": "Remove unused byName @SecondaryKey from ApprovalCategory\n\nChange-Id: Ic00e7fcd48f206f16d49b96dc4890c5ae3dc7252\nSigned-off-by: Shawn O. Pearce <f3ea74d906fa9fe97c1fef6bad9cb871485c7045@google.com>\n" }, { "from": "human", "value": "// Copyright (C) 2008 The Androi...
java
chosen
[ { "from": "system", "value": "Remove explicit installation of LeakCanary\n\nAs of version 2, it should now auto-install itself" }, { "from": "human", "value": "/*\n * Copyright (c) 2016 Armel Soro\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this so...
java
chosen
[ { "from": "system", "value": "Make test for sorted array linked list\n" }, { "from": "human", "value": "package edu.oakland.OUSoft.linkedList;\n\nimport static org.junit.Assert.*;\n\n/**\n * Created on 3/15/17.\n */\npublic class cseSortedArrayLinkedListTest {\n\t@org.junit.Test\n\tpublic void a...
java
chosen
[ { "from": "system", "value": "Remove last reference to jetty.port in the code.\n" }, { "from": "human", "value": "package ca.corefacility.bioinformatics.irida.ria.integration.utilities;\n\nimport org.openqa.selenium.WebDriver;\n\nimport ca.corefacility.bioinformatics.irida.ria.integration.pages....
java
chosen
[ { "from": "system", "value": "Add AddEditTaskPresenter into test suite.\n" }, { "from": "human", "value": "package ca.six.unittestapp.todo;\n\nimport org.junit.runner.RunWith;\nimport org.junit.runners.Suite;\n\nimport ca.six.unittestapp.todo.data.source.TasksRepositoryTest;\nimport ca.six.unitt...
java
chosen
[ { "from": "system", "value": "Set Thread context class loader while Tomcat starts up\n\nFixes gh-1085\n" }, { "from": "human", "value": "/*\n * Copyright 2012-2014 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this f...
java
chosen
[ { "from": "system", "value": "Add javadoc to study segment dao.\n\ngit-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@2438 0d517254-b314-0410-acde-c619094fa49f\n" }, { "from": "human", "value": "package edu.northwestern.bioinformatics.studycalendar.dao;\n\nimport edu.northwestern.bioinformatic...
java
chosen
[ { "from": "system", "value": "Enable google analytics in content security policy filter\n" }, { "from": "human", "value": "package uk.gov.register.filters;\n\nimport com.google.common.net.HttpHeaders;\n\nimport javax.ws.rs.container.ContainerRequestContext;\nimport javax.ws.rs.container.Containe...
java
chosen
[ { "from": "system", "value": "Add a parameterless write() method\n" }, { "from": "human", "value": "package htmlflow;\n\nimport java.io.PrintStream;\n\npublic interface HtmlWriter<T>{\n\t/**\n\t * Writes into an internal PrintStream the HTML content\n\t * of this element with initial indentation...
java
chosen
[ { "from": "system", "value": "Remove api key field from GetACcountDetailsMethod.\n\nIt's already defined in the parent class.\n" }, { "from": "human", "value": "/*\n * Copyright 2012 Ecwid, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this fi...
java
chosen