conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Add loot table for basic block" }, { "from": "human", "value": "package info.u_team.u_team_test.data.provider;\n\nimport java.util.function.BiConsumer;\n\nimport info.u_team.u_team_core.data.*;\nimport info.u_team.u_team_test.init.TestBlocks;\nimport net.minecraft.u...
java
chosen
[ { "from": "system", "value": "Make directory listing test helper more generic\n" }, { "from": "human", "value": "package com.hamishrickerby.http_server;\n\nimport junit.framework.TestCase;\n\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.List;\n\n/**\n * Created by rick...
java
chosen
[ { "from": "system", "value": "Add getter for eventId so that it is serialised\n" }, { "from": "human", "value": "package com.emailclue.api.model;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\n\npublic class EmailSent {\n\n private final String eventId;\n\n @JsonCreator()\n pu...
java
chosen
[ { "from": "system", "value": "[CDI] Fix some DTO arrays to lists\n" }, { "from": "human", "value": "/*\n * Copyright (c) OSGi Alliance (2017). 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 th...
java
chosen
[ { "from": "system", "value": "Append cause error message to our processing error message\n\ngit-svn-id: 36dcc065b18e9ace584b1c777eaeefb1d96b1ee8@485910 13f79535-47bb-0310-9956-ffa450edef68\n" }, { "from": "human", "value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or mor...
java
chosen
[ { "from": "system", "value": "Allow a list of static values.\n" }, { "from": "human", "value": "package org.myrobotlab.document.transformer;\n\nimport org.myrobotlab.document.transformer.StageConfiguration;\n\nimport java.util.List;\n\nimport org.myrobotlab.document.Document;\n\n/**\n * This wil...
java
chosen
[ { "from": "system", "value": "Add a FORM_POST method with streamResponse=true" }, { "from": "human", "value": "/**\n * Copyright 2010-2012 Ralph Schaer <ralphschaer@gmail.com>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compli...
java
chosen
[ { "from": "system", "value": "[kurento-client] Call disconnected event when reconnecting\n\nChange-Id: I0f0388f281fa80a1333f6bd18e60e563d4694cf3\n" }, { "from": "human", "value": "\npackage org.kurento.client;\n\nimport org.kurento.jsonrpc.client.JsonRpcWSConnectionListener;\n\npublic class Json...
java
chosen
[ { "from": "system", "value": "Add preconditions, cope with exception during file read.\n" }, { "from": "human", "value": "package uk.ac.ebi.quickgo.ontology.metadata;\n\nimport uk.ac.ebi.quickgo.common.loader.GZIPFiles;\nimport uk.ac.ebi.quickgo.rest.metadata.MetaData;\n\nimport java.nio.file.Pa...
java
chosen
[ { "from": "system", "value": "Update by Alice, after rebase skip\n" }, { "from": "human", "value": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choose Tools | Templates\n * and open the template in the editor.\n */\npackag...
java
chosen
[ { "from": "system", "value": "Add new line for LR_PASS;\n" }, { "from": "human", "value": "package lv.ctco.cukesrest.loadrunner;\n\nimport java.util.*;\n\npublic class LoadRunnerAction {\n\n private List<LoadRunnerTransaction> transactions = new ArrayList<LoadRunnerTransaction>();\n\n publ...
java
chosen
[ { "from": "system", "value": "Add async json loading with RxJava\n" }, { "from": "human", "value": "package fi.reaktor.training.totallylazy.data;\n\nimport com.fasterxml.jackson.core.type.TypeReference;\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport com.googlecode.totallylazy.Seque...
java
chosen
[ { "from": "system", "value": "Add new API for pre-compilation of slang files to produce meta-data\n" }, { "from": "human", "value": "package org.openscore.lang.compiler;/*******************************************************************************\n* (c) Copyright 2014 Hewlett-Packard Developm...
java
chosen
[ { "from": "system", "value": "Test now works out of the box on JDK9+" }, { "from": "human", "value": "package io.github.lukehutch.fastclasspathscanner.issues.issue80;\n\nimport static org.assertj.core.api.Assertions.assertThat;\n\nimport org.junit.Test;\n\nimport io.github.lukehutch.fastclasspat...
java
chosen
[ { "from": "system", "value": "Create Model with instances and securityGroups" }, { "from": "human", "value": "package jp.ac.nii.prl.mape.monitoring.controller;\n\nimport java.util.List;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.stereotype.Compo...
java
chosen
[ { "from": "system", "value": "Revert \"ECP-1090: adds doc code MV-DVE for coda docs to sync\"\n\nThis reverts commit 451e8d5f601f4a3040c3bf56d2e4900f9ecd68e2.\n" }, { "from": "human", "value": "package org.estatio.module.application.app;\n\nimport java.util.Arrays;\nimport java.util.List;\n\nimp...
java
chosen
[ { "from": "system", "value": "Fix bug that prevents Locale from launching scripts.\n" }, { "from": "human", "value": "/*\n * Copyright (C) 2009 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n * use this file except in compliance with the Licens...
java
chosen
[ { "from": "system", "value": "Improve game prediction bean test\n" }, { "from": "human", "value": "package com.nosoftskills.predcomposer.prediction;\n\nimport com.nosoftskills.predcomposer.alternatives.PredictionsServiceAlternative;\nimport com.nosoftskills.predcomposer.alternatives.UserContextA...
java
chosen
[ { "from": "system", "value": "Set class producer type to application/json\n" }, { "from": "human", "value": "package stroom.data.store.api;\n\nimport stroom.meta.shared.FindMetaCriteria;\nimport stroom.util.shared.ResourcePaths;\nimport stroom.util.shared.RestResource;\n\nimport io.swagger.v3.oa...
java
chosen
[ { "from": "system", "value": "Test remote verticles with Cluster Host" }, { "from": "human", "value": "package org.genericsystem.watch.beta;\n\nimport io.vertx.core.DeploymentOptions;\nimport io.vertx.core.Verticle;\nimport io.vertx.core.Vertx;\nimport io.vertx.core.VertxOptions;\nimport io.vert...
java
chosen
[ { "from": "system", "value": "Patch the design of DifferentialHeatMap by providing the getExperiment() that's not needed anywhere else\n" }, { "from": "human", "value": "package uk.ac.ebi.atlas.experimentpage.context;\n\nimport com.google.common.base.MoreObjects;\nimport uk.ac.ebi.atlas.model.ex...
java
chosen
[ { "from": "system", "value": "Fix logic for determining if a header decorator is empty\n" }, { "from": "human", "value": "package ca.antonious.viewcelladapter.decorators;\n\nimport ca.antonious.viewcelladapter.AbstractSection;\nimport ca.antonious.viewcelladapter.AbstractViewCell;\nimport ca.ant...
java
chosen
[ { "from": "system", "value": "Add a second constructor which will have 3 input parameters\n" }, { "from": "human", "value": "package com.example.android.miwok;\n\n/**\n * {@link Word} represents a vocabulary word that the user wants to learn.\n * It contains a default translation and a Miwok tra...
java
chosen
[ { "from": "system", "value": "Change api model (date as String).\n" }, { "from": "human", "value": "package pl.vehicle_history.api.model;\n\nimport org.joda.time.DateTime;\n\n/**\n * TODO: Add a class header comment!\n */\npublic class Registration {\n private RegistrationStatus status;\n ...
java
chosen
[ { "from": "system", "value": "Fix the encoding of API responses.\n" }, { "from": "human", "value": "package net.gini.android.authorization.requests;\n\nimport com.android.volley.AuthFailureError;\nimport com.android.volley.Response;\nimport com.android.volley.toolbox.JsonObjectRequest;\n\nimport...
java
chosen
[ { "from": "system", "value": "Fix NPE caused by automatic SF\n" }, { "from": "human", "value": "/**\n * Copyright (c) 2015-present Jorge Díaz All rights reserved.\n *\n * This library is free software; you can redistribute it and/or modify it under\n * the terms of the GNU Lesser General Public ...
java
chosen
[ { "from": "system", "value": "Exclude all from scala plugin compilation\n\nSome user hit the issue that after pants finishes, scala plugin compiler builder also started to build and cause error. Since all comiplation can/should be handled by pants, we should completely block scala plugin from compiling our ...
java
chosen
[ { "from": "system", "value": "Add javadoc to planned population dao.\n" }, { "from": "human", "value": "package edu.northwestern.bioinformatics.studycalendar.dao;\n\nimport edu.northwestern.bioinformatics.studycalendar.domain.Population;\nimport edu.northwestern.bioinformatics.studycalendar.doma...
java
chosen
[ { "from": "system", "value": "Remove method for setting custom gav1 libraries\n\nPiperOrigin-RevId: 273929000\n" }, { "from": "human", "value": "/*\n * Copyright (C) 2019 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use...
java
chosen
[ { "from": "system", "value": "Add annotations to begin logging to console\n" }, { "from": "human", "value": "package com.restfiddle.config.monitoring;\n\nimport com.codahale.metrics.ConsoleReporter;\nimport com.codahale.metrics.MetricRegistry;\nimport com.ryantenney.metrics.spring.config.annotat...
java
chosen
[ { "from": "system", "value": "Set releaseAndroidVersionCode and releaseAndroidVersionName to be used for android builds\n" }, { "from": "human", "value": "package de.evosec.gradle.gitflow.release;\n\nimport org.eclipse.jgit.transport.CredentialsProvider;\nimport org.gradle.api.Plugin;\nimport or...
java
chosen
[ { "from": "system", "value": "Add initial test case for MBC\n" }, { "from": "human", "value": "package lb2xp;\n\nimport static org.junit.Assert.fail;\n\nimport org.junit.Test;\n\npublic class TestMBC\n{\n @Test\n public void testExpand()\n {\n fail( \"Not yet implemented\" );\n ...
java
chosen
[ { "from": "system", "value": "Upgrade to the new Domgen API\n" }, { "from": "human", "value": "package org.realityforge.replicant.example.server.service.tyrell.replicate;\n\nimport java.io.Serializable;\nimport java.util.HashMap;\nimport java.util.Map;\nimport javax.annotation.Nonnull;\nimport j...
java
chosen
[ { "from": "system", "value": "Improve the name of a local variable. Seems like copy/paste error\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...
java
chosen
[ { "from": "system", "value": "Revert \"check user exists by email\"\n\nThis reverts commit 677654e72d5c40db1f6b4217776bf93bfc76b5f4.\n" }, { "from": "human", "value": "package io.live4.api3;\n\nimport org.stjs.javascript.annotation.Namespace;\n\n@Namespace(\"live4api\")\npublic class Api3UserUrl...
java
chosen
[ { "from": "system", "value": "Add extbase @inject performance inspection\n" }, { "from": "human", "value": "package com.cedricziel.idea.typo3.codeInspection;\n\nimport com.intellij.codeInspection.ProblemsHolder;\nimport com.intellij.psi.PsiElementVisitor;\nimport com.jetbrains.php.lang.documenta...
java
chosen
[ { "from": "system", "value": "Fix NullPointerException when output base is null\n" }, { "from": "human", "value": "package org.icij.extract.core;\n\nimport java.io.IOException;\n\nimport java.nio.file.Path;\nimport java.nio.file.FileSystems;\nimport java.nio.charset.Charset;\n\nimport java.util....
java
chosen
[ { "from": "system", "value": "Load test Randomizer lazily to avoid confliction in prod runtime." }, { "from": "human", "value": "package cfvbaibai.cardfantasy.test;\n\nimport org.junit.runner.RunWith;\nimport org.junit.runners.Suite;\nimport org.junit.runners.Suite.SuiteClasses;\n\nimport cfvbai...
java
chosen
[ { "from": "system", "value": "Remove a System.err.println from a test method\n" }, { "from": "human", "value": "package com.thinkaurelius.titan.diskstorage;\n\nimport static org.junit.Assert.assertEquals;\nimport static org.junit.Assert.assertNotNull;\n\nimport java.util.List;\n\nimport org.juni...
java
chosen
[ { "from": "system", "value": "Fix incorrect notification channel ids," }, { "from": "human", "value": "/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http://mozilla.org...
java
chosen
[ { "from": "system", "value": "Remove excessive empty line after copyright header" }, { "from": "human", "value": "/*\n * Copyright (c) 2000-2016 TeamDev Ltd. All rights reserved.\n * Use is subject to Apache 2.0 license terms.\n */\n\n\npackage com.teamdev.jxmaps.examples;\n\npublic interface Ed...
java
chosen
[ { "from": "system", "value": "Add recipe for tracking block.\n" }, { "from": "human", "value": "package com.micky2506.udaldordecor.block;\n\nimport com.micky2506.udaldordecor.lib.Names;\nimport cpw.mods.fml.common.registry.GameRegistry;\nimport net.minecraft.init.Blocks;\nimport net.minecraft.it...
java
chosen
[ { "from": "system", "value": "Make call to wordpress installation (TODO: mock)\n" }, { "from": "human", "value": "package com.afrozaar.wordpress.wpapi.v2;\n\nimport com.afrozaar.wordpress.wpapi.v2.model.Post;\nimport com.afrozaar.wordpress.wpapi.v2.util.ClientFactory;\n\nimport org.assertj.core....
java
chosen
[ { "from": "system", "value": "Fix possible ClassCastException in closeables composer\n" }, { "from": "human", "value": "package com.annimon.stream.internal;\n\nimport java.io.Closeable;\n\npublic final class Compose {\n\n private Compose() { }\n\n public static Runnable runnables(final Run...
java
chosen
[ { "from": "system", "value": "Change type from String to String[].\n" }, { "from": "human", "value": "package com.github.aureliano.evtbridge.annotation.doc;\n\nimport java.lang.annotation.ElementType;\nimport java.lang.annotation.Retention;\nimport java.lang.annotation.RetentionPolicy;\nimport j...
java
chosen
[ { "from": "system", "value": "Add @DoNotInstrument to Flac extension test\n\nPiperOrigin-RevId: 370739641\n" }, { "from": "human", "value": "/*\n * Copyright (C) 2019 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use thi...
java
chosen
[ { "from": "system", "value": "Check that circle ci catches failures.\n" }, { "from": "human", "value": "package com.realkinetic.app.gabby.repository.downstream.memory;\n\nimport com.realkinetic.app.gabby.config.BaseConfig;\nimport com.realkinetic.app.gabby.config.DefaultConfig;\nimport com.realk...
java
chosen
[ { "from": "system", "value": "[Genomics]: Make it easier to run the RealignerTargetCreator on a single file.\n\nRealignerTargetCreator is not scatter-gatherable, so we thus have to merge the\nSAM files before obtaining the targets.\n\nSee:\nhttp://gatkforums.broadinstitute.org/gatk/discussion/1975/how-can-i...
java
chosen
[ { "from": "system", "value": "Change newline to carriage return in lambda-metrics pattern\n" }, { "from": "human", "value": "package io.symphonia.lambda.logging;\n\nimport static io.symphonia.lambda.logging.DefaultConsoleAppender.NO_REQUEST_ID;\n\npublic class MetricsConsoleAppender extends Lamb...
java
chosen
[ { "from": "system", "value": "Rename gcloud-java to google-cloud in javadoc comments\n" }, { "from": "human", "value": "/*\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in complia...
java
chosen
[ { "from": "system", "value": "Mark the common methods @Deprecated.\n\nThis avoids build breakages and allows users to upgrade Robolectric\nwithout breakges as they migrate. Implementation has been changed to\ncall through by default. In some cases this will result in test failures\nbut this is highly unlike...
java
chosen
[ { "from": "system", "value": "Allow the resolver to signal servlet exceptions.\n" }, { "from": "human", "value": "// Copyright 2008 Google Inc. 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 ...
java
chosen
[ { "from": "system", "value": "Remove redundant name field from Recording doc\n" }, { "from": "human", "value": "package org.musicbrainz.search.solrwriter;\n\nimport java.util.ArrayList;\nimport java.util.Arrays;\n\npublic abstract class AbstractMBWriterRecordingTest extends AbstractMBWriterTest ...
java
chosen
[ { "from": "system", "value": "Remove Compass and Hibernate dependencies\n" }, { "from": "human", "value": "#set( $symbol_pound = '#' )\n#set( $symbol_dollar = '$' )\n#set( $symbol_escape = '\\' )\n\npackage ${package}.model;\n\nimport org.compass.annotations.Searchable;\nimport org.compass.annot...
java
chosen
[ { "from": "system", "value": "Add versioning to JPA entities (DEV-15)\n" }, { "from": "human", "value": "package sg.ncl.testbed_interface.repositories.jpa.entities;\n\nimport org.springframework.data.annotation.CreatedDate;\nimport org.springframework.data.annotation.LastModifiedDate;\nimport or...
java
chosen
[ { "from": "system", "value": "Mark cache-control DSL entry point as @Experimental" }, { "from": "human", "value": "/*\n * Copyright 2011 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance wi...
java
chosen
[ { "from": "system", "value": "Fix Bridj unit test. The overridden setup methods needs to call super.\n" }, { "from": "human", "value": "package org.geotools.data.ogr.bridj;\n\nimport org.geotools.data.ogr.GeometryMapperTest;\npublic class BridjGeometryMapperTest extends GeometryMapperTest {\n\n ...
java
chosen
[ { "from": "system", "value": "Use class loader isolation for Iceberg connector instances\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 t...
java
chosen
[ { "from": "system", "value": "Add tear down method to the index tests.\n\nIndexes created by tests will be deleted after each run.\n" }, { "from": "human", "value": "package com.github.kohanyirobert.mongoroid;\n\nimport com.github.kohanyirobert.ebson.BsonDocuments;\n\nimport org.junit.Assert;\ni...
java
chosen
[ { "from": "system", "value": "Add ConcurrentSkipListSet set with naturel order of elements\n" }, { "from": "human", "value": "package com.spring.example.concurrency.collections;\n\nimport java.util.Set;\nimport java.util.concurrent.ConcurrentSkipListSet;\n\npublic class SetCollection {\n\n /*...
java
chosen
[ { "from": "system", "value": "Add some new spell result types\n" }, { "from": "human", "value": "package com.elmakers.mine.bukkit.api.spell;\n\n/**\n * Every Spell will return a SpellResult when cast. This result\n * will determine the messaging and effects used, as well as whether \n * or not t...
java
chosen
[ { "from": "system", "value": "Fix config not reloading by reload command\n" }, { "from": "human", "value": "package me.rafaskb.ticketmaster.commands;\n\nimport org.bukkit.command.CommandSender;\n\nimport me.rafaskb.ticketmaster.utils.Lang;\nimport me.rafaskb.ticketmaster.utils.LangConfig;\nimpor...
java
chosen
[ { "from": "system", "value": "Add IN_APPROVAL to list of statuses\n\nTo match requisition statuses.\n" }, { "from": "human", "value": "/*\n * This program is part of the OpenLMIS logistics management information system platform software.\n * Copyright © 2017 VillageReach\n *\n * This program is ...
java
chosen
[ { "from": "system", "value": "Fix Direct parser's token separator\n\nThe idea is to support tabs as a separator, besides spaces.\n" }, { "from": "human", "value": "package pt.ist.rc.paragraph.loader.direct;\n\nimport pt.ist.rc.paragraph.model.Graph;\n\nimport java.io.BufferedReader;\nimport java...
java
chosen
[ { "from": "system", "value": "Add new event type for INVOICE_NOTIFICATION\n" }, { "from": "human", "value": "/*\n * Copyright 2010-2013 Ning, Inc.\n *\n * Ning licenses this file to you under the Apache License, version 2.0\n * (the \"License\"); you may not use this file except in compliance wi...
java
chosen
[ { "from": "system", "value": "Update Shopr item model to include simple color and type property.\n" }, { "from": "human", "value": "\npackage com.uwetrottmann.shopr.model;\n\nimport java.math.BigDecimal;\n\npublic class Item {\n\n private int id;\n private String name;\n private String ...
java
chosen
[ { "from": "system", "value": "Use a shorter name for the Camel @RunWith so its easier to remember\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 ...
java
chosen
[ { "from": "system", "value": "Fix ui test with compiler error\n" }, { "from": "human", "value": "package de.christinecoenen.code.zapp.app.mediathek.ui.detail;\n\nimport android.content.Context;\nimport android.content.Intent;\nimport android.content.pm.ActivityInfo;\n\nimport androidx.test.core....
java
chosen
[ { "from": "system", "value": "[PLAT-4656] Make market data point shifts work with snapshots\n" }, { "from": "human", "value": "/**\n * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies\n *\n * Please see distribution for license.\n */\npackage com.opengamma.engi...
java
chosen
[ { "from": "system", "value": "Change invalidation token prefix to be CAFEDEAD instead of cafedead-.\n" }, { "from": "human", "value": "package org.jboss.aerogear.test.api.installation;\n\npublic class Tokens {\n\n public static final String TOKEN_INVALIDATION_PREFIX = String.format(\"%08X-\",...
java
chosen
[ { "from": "system", "value": "Check for additional errors when deleting rows\n" }, { "from": "human", "value": "package lama.tablegen.sqlite3;\n\nimport java.sql.Connection;\nimport java.sql.Statement;\n\nimport lama.Randomly;\nimport lama.Main.ReduceMeException;\nimport lama.Main.StateToReprodu...
java
chosen
[ { "from": "system", "value": "Fix bug when \"Show Instances\" action enabled when no selected class\n" }, { "from": "human", "value": "package org.jetbrains.debugger.memory.action;\n\nimport com.intellij.openapi.actionSystem.AnActionEvent;\nimport com.intellij.xdebugger.XDebugSession;\nimport co...
java
chosen
[ { "from": "system", "value": "Change internal storage of asSet() from HashSet to LinkedHasSet to preserve the order. This is just for testing purposes.\n" }, { "from": "human", "value": "package uk.ac.ebi.quickgo.rest;\n\nimport java.util.Arrays;\nimport java.util.Collection;\nimport java.util.H...
java
chosen
[ { "from": "system", "value": "Rename sendTileEntityUpdatePacket to something more fitting\n" }, { "from": "human", "value": "/*\n * Copyright 2014 Lukas Tenbrink\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance wit...
java
chosen
[ { "from": "system", "value": "Add key listener in search box and invoke dummy search method\n" }, { "from": "human", "value": "package jp.itohiro.intellij.sample;\n\nimport com.intellij.openapi.project.Project;\nimport com.intellij.openapi.wm.ToolWindow;\nimport com.intellij.openapi.wm.ToolWindo...
java
chosen
[ { "from": "system", "value": "Correct the patterns to match symbols appropriately\n" }, { "from": "human", "value": "/**\n * Core Arez primitives.\n */\n@OmitPattern( type = \"^.*\\\\.Arez_.*$\", symbol = \"^toString$\", unless = \"arez.enable_names\" )\n@OmitPattern( type = \"^.*(\\\\.|_)Arez_[...
java
chosen
[ { "from": "system", "value": "Allow BIP47 custom fee address option \n\n" }, { "from": "human", "value": "package com.samourai.wallet.bip47;\n\nimport com.samourai.wallet.SamouraiWallet;\n\nimport java.math.BigInteger;\n\npublic class SendNotifTxFactory\t{\n\n public static final BigInteger _...
java
chosen
[ { "from": "system", "value": "Add ability to return a list of credentials based on status (DEV-99)\n" }, { "from": "human", "value": "package sg.ncl.service.authentication.data.jpa.repositories;\n\nimport org.springframework.data.jpa.repository.JpaRepository;\nimport sg.ncl.service.authenticatio...
java
chosen
[ { "from": "system", "value": "Fix SlrLatexGenerator test for non CRLF-systems" }, { "from": "human", "value": "package de.tudresden.slr.latexexport.latexgeneration;\r\n\r\nimport static org.junit.Assert.assertEquals;\r\n\r\nimport java.io.File;\r\nimport java.io.FileOutputStream;\r\nimport java....
java
chosen
[ { "from": "system", "value": "Add buckets to the byte array params.\n" }, { "from": "human", "value": "/*\n * Copyright (c) 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory o...
java
chosen
[ { "from": "system", "value": "Add tests to guarantee hash lengths\n" }, { "from": "human", "value": "package edu.mit.anonauth;\n\nimport static org.junit.Assert.*;\n\nimport java.math.BigInteger;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.List;\n\nimport org.junit.T...
java
chosen
[ { "from": "system", "value": "Make change for testing pull request" }, { "from": "human", "value": "package devopsdistilled.operp.client;\n\nimport org.springframework.context.ApplicationContext;\nimport org.springframework.context.annotation.AnnotationConfigApplicationContext;\n\nimport devopsd...
java
chosen
[ { "from": "system", "value": "GREEN: Test now uses correct value.\n" }, { "from": "human", "value": "package de.itemis.mosig.racecar.tirepressure;\n\n\nimport org.junit.Before;\nimport org.junit.Test;\nimport org.mockito.Mockito;\n\nimport static org.junit.Assert.assertEquals;\n\npublic class Al...
java
chosen
[ { "from": "system", "value": "Replace boolean \"forcexunit\" with string \"test-command\"\n" }, { "from": "human", "value": "package org.eobjects.build;\n\nimport java.io.File;\nimport java.util.ArrayList;\nimport java.util.Arrays;\n\nimport org.apache.maven.plugin.MojoFailureException;\nimport ...
java
chosen
[ { "from": "system", "value": "Initialize Apache HTTP Client SSLConnectionSocketFactory at runtime\n" }, { "from": "human", "value": "package io.quarkus.apache.http.client.deployment;\n\nimport io.quarkus.deployment.annotations.BuildProducer;\nimport io.quarkus.deployment.annotations.BuildStep;\n...
java
chosen
[ { "from": "system", "value": "Make config loading/saving, add command functionality\n" }, { "from": "human", "value": "package fi.gosu.mc.plugins.SleepDemocracy;\n\nimport org.bukkit.plugin.java.JavaPlugin;\n\n/**\n * Created by Aikain on 7.5.2016.\n */\npublic class SleepDemocracy extends JavaP...
java
chosen
[ { "from": "system", "value": "Add test for wildcard search\n" }, { "from": "human", "value": "package nl.orangeflamingo.controller;\n\nimport nl.orangeflamingo.domain.Song;\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.springframework.beans.factory.annotation.Autowired;\n...
java
chosen
[ { "from": "system", "value": "Fix for T2-674: Hardcoded default locations. Added loading of service descriptions from a URL.\n\ngit-svn-id: 10833e805afea9e5a6509b27c1b8b6924566be5c@10140 bf327186-88b3-11dd-a302-d386e5130c1c\n" }, { "from": "human", "value": "package net.sf.taverna.t2.servicedesc...
java
chosen
[ { "from": "system", "value": "Change the ctor visibility to `public`.\n" }, { "from": "human", "value": "/*\n * Copyright 2019, TeamDev. All rights reserved.\n *\n * Redistribution and use in source and/or binary forms, with or without\n * modification, must retain the above copyright notice and...
java
chosen
[ { "from": "system", "value": "Add the loadChannel() abstract function.\n" }, { "from": "human", "value": "/*\n * Copyright 2015 The Mashub Project\n *\n * The Mashub Project licenses this file to you under the Apache License,\n * version 2.0 (the \"License\"); you may not use this file except in...
java
chosen
[ { "from": "system", "value": "Allow users to read the host and application\n" }, { "from": "human", "value": "package se.arbetsformedlingen.venice.probe;\n\nimport java.util.Objects;\n\npublic class ProbeResponse {\n private Host host;\n private Application application;\n private Versio...
java
chosen
[ { "from": "system", "value": "Add greeting line about chaos text.\n" }, { "from": "human", "value": "package net.silentchaos512.gems.lib;\n\nimport java.util.List;\n\nimport net.minecraft.entity.player.EntityPlayer;\nimport net.minecraft.util.text.TextComponentString;\nimport net.minecraft.util....
java
chosen
[ { "from": "system", "value": "Tweak formatting in Android template\n\nReviewed By: mkonicek\n\nDifferential Revision:D2812482\nNinja: Doesn't affect any fb apps or code, purely for open source\n\nfb-gh-sync-id: 4d190354112e3f002405686769dcc409e3394c3c\n" }, { "from": "human", "value": "package <...
java
chosen
[ { "from": "system", "value": "Remove duplication of precondition checks.\n" }, { "from": "human", "value": "package uk.ac.ebi.quickgo.annotation.validation.service;\n\nimport com.google.common.base.Preconditions;\nimport java.util.Objects;\n\n/**\n * Utility methods related to Database Cross Ref...
java
chosen
[ { "from": "system", "value": "Change method param name & todo\n" }, { "from": "human", "value": "package com.xamoom.android.xamoomsdk.Storage.Database;\n\nimport android.content.Context;\nimport android.database.sqlite.SQLiteDatabase;\nimport android.database.sqlite.SQLiteOpenHelper;\n\nimport c...
java
chosen
[ { "from": "system", "value": "Fix usage of wrong Nullable annotation\n" }, { "from": "human", "value": "package de.mineformers.investiture.allomancy.tileentity;\n\nimport com.sun.istack.internal.Nullable;\nimport net.minecraft.block.state.IBlockState;\nimport net.minecraft.nbt.NBTTagCompound;\ni...
java
chosen
[ { "from": "system", "value": "Fix a test case failing to build.\n" }, { "from": "human", "value": "package net.floodlightcontroller.linkdiscovery.internal;\n\nimport java.util.Set;\n\nimport com.thinkaurelius.titan.core.TitanGraph;\nimport com.tinkerpop.blueprints.TransactionalGraph.Conclusion;\...
java
chosen
[ { "from": "system", "value": "Make constructor package on package class.\n" }, { "from": "human", "value": "package com.novoda.downloadmanager;\n\nclass VersionOneToVersionTwoMigrationStatus implements MigrationStatus {\n\n private final String message;\n\n public VersionOneToVersionTwoMig...
java
chosen
[ { "from": "system", "value": "JAVAFIXTURE-12: Fix a compile error introduced by another unfinished feature\n" }, { "from": "human", "value": "package com.github.nylle.javafixture;\n\nimport com.github.nylle.javafixture.testobjects.TestObjectWithGenericConstructor;\nimport com.github.nylle.javafi...
java
chosen
[ { "from": "system", "value": "Disable one more graph test\n" }, { "from": "human", "value": "/**\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for\n * license information.\n */\n\npackage com.microsoft.azure....
java
chosen