conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Fix problem with saving code style settings in XML\n\nGitOrigin-RevId: d4a951f23706a35afdfafaf886e87eda8771be9b\n" }, { "from": "human", "value": "package com.intellij.sh.codeStyle;\n\nimport com.intellij.psi.codeStyle.CodeStyleSettings;\nimport com.intellij.psi.cod...
java
chosen
[ { "from": "system", "value": "SELENIUM-151: Include PageObject type in PageBinder exception message\n" }, { "from": "human", "value": "package com.atlassian.pageobjects.binder;\n\n/**\n * Parent exception for all binding exceptions\n */\npublic class PageBindingException extends RuntimeException...
java
chosen
[ { "from": "system", "value": "Put symbols for &codes in code bocks" }, { "from": "human", "value": "package com.tisawesomeness.minecord.command.utility;\n\nimport com.tisawesomeness.minecord.command.Command;\n\nimport net.dv8tion.jda.core.events.message.MessageReceivedEvent;\n\npublic class Code...
java
chosen
[ { "from": "system", "value": "Make wget use system dependent temp folder location\n" }, { "from": "human", "value": "package com.jvm_bloggers.core.rss.fetchers;\n\nimport com.rometools.rome.feed.synd.SyndFeed;\nimport com.rometools.rome.io.SyndFeedInput;\n\nimport javaslang.control.Option;\n\nim...
java
chosen
[ { "from": "system", "value": "[VirCurEx] Fix a bug in getFullDepth()\n" }, { "from": "human", "value": "package com.xeiam.xchange.vircurex.service.polling;\r\n\r\nimport java.io.IOException;\r\n\r\nimport si.mazi.rescu.RestProxyFactory;\r\n\r\nimport com.xeiam.xchange.ExchangeSpecification;\r\ni...
java
chosen
[ { "from": "system", "value": "Add direction to network objects\n" }, { "from": "human", "value": "package net.mueller_martin.turirun.network;\n\nimport com.esotericsoftware.kryo.Kryo;\nimport com.esotericsoftware.kryonet.EndPoint;\n\npublic class TurirunNetwork {\n\tpublic static final int tcpPo...
java
chosen
[ { "from": "system", "value": "Change timestamp key to time to resolve issues with fluentd\n" }, { "from": "human", "value": "package com.spotify.logging.logback;\n\nimport net.logstash.logback.encoder.LogstashEncoder;\nimport net.logstash.logback.fieldnames.LogstashFieldNames;\n\npublic class Cu...
java
chosen
[ { "from": "system", "value": "[275] Add video url fields to challenge section\n" }, { "from": "human", "value": "package com.creatubbles.api.model.gallery;\n\nimport android.support.annotation.Nullable;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotat...
java
chosen
[ { "from": "system", "value": "Disable dartc diet parser test\n\nReviewed here: http://codereview.chromium.org/10696100/\nReview URL: https://chromiumcodereview.appspot.com//10692081\n\ngit-svn-id: c93d8a2297af3b929165606efe145742a534bc71@9380 260f80e4-7a28-3924-810f-c04153c831b5\n" }, { "from": "hum...
java
chosen
[ { "from": "system", "value": "Document that not all slots a scheduling strategy returns are necessarily executed.\n" }, { "from": "human", "value": "package com.collective.celos;\n\nimport java.util.List;\n\n/**\n * A scheduling strategy determines the order in which slots of a workflow are exec...
java
chosen
[ { "from": "system", "value": "sdack-1: Add classes for simplified building of process UIs" }, { "from": "human", "value": "//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n// This file is a part of the 'esoco-business' project.\n// Copyright 2017 Elmar Sonnenschein...
java
chosen
[ { "from": "system", "value": "Load data that doesn’t fit in outgoing APDU into buffer\n" }, { "from": "human", "value": "package org.cryptonit;\n\nimport javacard.framework.JCSystem;\n\npublic class IOBuffer {\n private FileIndex index = null;\n private byte [] buffer = null;\n\n privat...
java
chosen
[ { "from": "system", "value": "Make sure error message disappear on button click\n" }, { "from": "human", "value": "package org.jdcoffre.mlc.desktop.cellar;\n\nimport javafx.event.ActionEvent;\nimport javafx.event.EventHandler;\nimport javafx.geometry.Insets;\nimport javafx.geometry.Pos;\nimport ...
java
chosen
[ { "from": "system", "value": "Fix watch count api client.\n" }, { "from": "human", "value": "package com.nulabinc.backlog4j.api.option;\n\nimport com.nulabinc.backlog4j.http.NameValuePair;\n\n/**\n * Parameters for get watch API.\n *\n * @author nulab-inc\n */\npublic class GetWatchesParams exte...
java
chosen
[ { "from": "system", "value": "Configure vertx/hazelcast to use SLF4J\n\ninstead of JUL\n" }, { "from": "human", "value": "/*\n * Copyright (c) 2015-2016, Index Data\n * All rights reserved.\n * See the file LICENSE for details.\n */\npackage okapi;\n\nimport io.vertx.core.DeploymentOptions;\nimp...
java
chosen
[ { "from": "system", "value": "Fix transformer getting pre-deobf names" }, { "from": "human", "value": "package com.tterrag.blurbg;\n\nimport java.util.Map;\n\nimport net.minecraftforge.fml.relauncher.IFMLLoadingPlugin;\n\npublic class BlurBGPlugin implements IFMLLoadingPlugin {\n\n @Override\...
java
chosen
[ { "from": "system", "value": "Make the ViewHolder a static class\n" }, { "from": "human", "value": "/*\n * The MIT License (MIT)\n *\n * Copyright (c) 2015 Mohammed Sazid-Al-Rashid\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and assoc...
java
chosen
[ { "from": "system", "value": "Fix regression due to typo\n" }, { "from": "human", "value": "package org.fxmisc.richtext;\n\nimport javafx.css.CssMetaData;\nimport javafx.css.StyleConverter;\nimport javafx.css.Styleable;\nimport javafx.css.StyleableObjectProperty;\nimport javafx.css.StyleableProp...
java
chosen
[ { "from": "system", "value": "\tSet onClickListener on both buttons\n" }, { "from": "human", "value": "package com.example.nasaproject;\n\nimport android.app.Activity;\nimport android.os.Bundle;\nimport android.view.Menu;\nimport android.view.MenuItem;\nimport android.widget.Button;\nimport andr...
java
chosen
[ { "from": "system", "value": "Mark util class as internal API\n\nThough it's already package private, but anyhow\n" }, { "from": "human", "value": "package org.jctools.queues;\n\nimport static org.jctools.util.UnsafeRefArrayAccess.REF_ARRAY_BASE;\nimport static org.jctools.util.UnsafeRefArrayAcc...
java
chosen
[ { "from": "system", "value": "Move constants to enum from static final byte FOO.\n" }, { "from": "human", "value": "package org.perl6.nqp.sixmodel.reprs;\n\nimport com.sun.jna.Function;\n\nimport org.perl6.nqp.sixmodel.SixModelObject;\n\npublic class NativeCallInstance extends SixModelObject {\n...
java
chosen
[ { "from": "system", "value": "[ADD] Upgrade para columnas en tabla courseresult\n" }, { "from": "human", "value": "package com.liferay.lms.upgrade;\n\nimport java.io.IOException;\nimport java.sql.SQLException;\nimport com.liferay.portal.kernel.dao.db.DB;\nimport com.liferay.portal.kernel.dao.db....
java
chosen
[ { "from": "system", "value": "Add separate wand actions for cycling brushes\n" }, { "from": "human", "value": "package com.elmakers.mine.bukkit.api.wand;\n\npublic enum WandAction {\n NONE, CAST, TOGGLE, CYCLE, CYCLE_REVERSE, CYCLE_HOTBAR, CYCLE_HOTBAR_REVERSE, REPLACE,\n\n CYCLE_ACTIVE_HO...
java
chosen
[ { "from": "system", "value": "Make sure class is not finalized\n" }, { "from": "human", "value": "package org.realityforge.ssf;\n\nimport java.io.Serializable;\nimport javax.annotation.Nonnull;\n\npublic final class SimpleSessionInfo\n implements SessionInfo, Serializable\n{\n private final St...
java
chosen
[ { "from": "system", "value": "Fix token to place request parsing: allow hierarchy depths > 2 " }, { "from": "human", "value": "package org.jboss.as.console.client.util;\n\nimport com.gwtplatform.mvp.client.proxy.PlaceRequest;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\n/**\n * @aut...
java
chosen
[ { "from": "system", "value": "Make sure our body part test actually proves we're using the right encoding\n" }, { "from": "human", "value": "package com.vtence.molecule;\n\nimport org.junit.Test;\n\nimport java.io.IOException;\n\nimport static org.hamcrest.MatcherAssert.assertThat;\nimport stati...
java
chosen
[ { "from": "system", "value": "Fix a little spot bugs problem" }, { "from": "human", "value": "/**\n * Copyright 2016-2017 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 with the...
java
chosen
[ { "from": "system", "value": "Fix a bug in the way the log summary generator fits together paths.\n\ngit-svn-id: 4739e81c2fe647bfb539b919360e2c658e6121ea@417 716a755e-b13f-cedc-210d-596dafc6fb9b\n" }, { "from": "human", "value": "package util.logging;\r\n\r\nimport java.io.File;\r\nimport java.i...
java
chosen
[ { "from": "system", "value": "Refactor solution for 5.1 to 1-line transofrmation function. Note: it\ntakes less space but almost unreadable for human.\n" }, { "from": "human", "value": "package main;\n\nclass BitManipulator {\n static int insertBitsToPosition(int n, int m, int i, int j) {\n ...
java
chosen
[ { "from": "system", "value": "Add missing first word to replied messages\n" }, { "from": "human", "value": "package net.wayward_realms.waywardchat;\n\nimport org.bukkit.ChatColor;\nimport org.bukkit.command.Command;\nimport org.bukkit.command.CommandExecutor;\nimport org.bukkit.command.CommandSe...
java
chosen
[ { "from": "system", "value": "Add a test case for test element array support constraint.\n" }, { "from": "human", "value": "package org.clafer.choco.constraint;\n\nimport org.chocosolver.solver.constraints.Constraint;\nimport org.chocosolver.solver.variables.IntVar;\nimport org.clafer.choco.cons...
java
chosen
[ { "from": "system", "value": "Fix failing test for select\n" }, { "from": "human", "value": "package seedu.address.logic.commands;\n\nimport seedu.address.commons.core.EventsCenter;\nimport seedu.address.commons.core.Messages;\nimport seedu.address.commons.events.ui.JumpToListRequestEvent;\nimpo...
java
chosen
[ { "from": "system", "value": "Add 'deployment' name for json root\n" }, { "from": "human", "value": "package io.fourfinanceit.featuros.deployment;\n\nimport org.springframework.hateoas.Identifiable;\n\nimport javax.persistence.Column;\nimport javax.persistence.Entity;\nimport javax.persistence.G...
java
chosen
[ { "from": "system", "value": "Comment line with protocol to avoid this error javax.ws.rs.WebApplicationException: HTTP 422 Service 'gerrit-http-service' is invalid: spec.ports[0].protocol: unsupported value 'HTTP'\n" }, { "from": "human", "value": "package io.fabric8.app.gerrit;\n\nimport io.fab...
java
chosen
[ { "from": "system", "value": "Remove \"!\" from test since it is not sent by a service\n" }, { "from": "human", "value": "/*\n * Copyright (C) 2016-2017 Lightbend Inc. <https://www.lightbend.com>\n */\npackage org.cakesolutions.hello.impl;\n\nimport org.cakesolutions.hello.api.HelloService;\nimp...
java
chosen
[ { "from": "system", "value": "Revert \"Revert \"Added new port\"\"\n\nThis reverts commit c6b095fabf0ba5228d1549738a0fef806401a1da.\n" }, { "from": "human", "value": "package org.usfirst.frc.team1360.robot;\n\n/**\n * The RobotMap is a mapping from the ports sensors and actuators are wired into\...
java
chosen
[ { "from": "system", "value": "Change the source of Hitokoto to Hitokoto.cn.\n" }, { "from": "human", "value": "package com.crossbowffs.quotelock.modules.hitokoto;\n\nimport android.content.ComponentName;\nimport android.content.Context;\nimport com.crossbowffs.quotelock.R;\nimport com.crossbowff...
java
chosen
[ { "from": "system", "value": "Add support for German language" }, { "from": "human", "value": "/*******************************************************************************\n * Copyright 2015 France Labs\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not...
java
chosen
[ { "from": "system", "value": "Fix the getByUser request, the field name is userId, not user\n" }, { "from": "human", "value": "package uk.ac.ox.oucs.oauth.dao;\n\nimport org.hibernate.HibernateException;\nimport org.hibernate.Session;\nimport org.springframework.orm.hibernate3.HibernateCallback;...
java
chosen
[ { "from": "system", "value": "Add the class and version property\n" }, { "from": "human", "value": "package net.hamnaberg.jsonstat;\n\n/**\n * Created by hadrien on 07/06/16.\n *\n * @see <a href=\"https://json-stat.org/format/#version\">json-stat.org/format/#version</a>\n */\npublic class JsonS...
java
chosen
[ { "from": "system", "value": "Change classname, add basic framework\n" }, { "from": "human", "value": "\npackage no.deichman.ls.parasite;\n\nimport javax.ws.rs.GET;\nimport javax.ws.rs.Path;\nimport javax.ws.rs.Produces;\n\n/** Example resource class hosted at the URI path \"/myresource\"\n */\n...
java
chosen
[ { "from": "system", "value": "i18n: Replace `@NonNls` with more appropriate `@NlsSafe` annotation\n\nGitOrigin-RevId: f3872ea7425784c82ad9e77e3a04b1805ab2685a" }, { "from": "human", "value": "// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license th...
java
chosen
[ { "from": "system", "value": "Add byte constructor to zframe\n" }, { "from": "human", "value": "package org.zeromq.czmq;\n\npublic class ZFrame implements AutoCloseable {\n\n long pointer;\n\n public ZFrame() {\n pointer = __init();\n }\n\n public ZFrame(long address) {\n ...
java
chosen
[ { "from": "system", "value": "Add 'json' to the DeviceManager's REST API to be consistent with the rest. Ending the path in a / is bad REST practice.\n" }, { "from": "human", "value": "/**\n* Copyright 2012, Big Switch Networks, Inc. \n* Originally created by David Erickson, Stanford Unive...
java
chosen
[ { "from": "system", "value": "Fix an exception when loading project" }, { "from": "human", "value": "package de.prob2.ui.verifications.cbc;\n\nimport java.util.Objects;\n\nimport de.prob.statespace.Trace;\n\npublic class CBCFormulaFindStateItem extends CBCFormulaItem {\n\t\n\tprivate Trace examp...
java
chosen
[ { "from": "system", "value": "Add find method by passage, datasource and model Id\n" }, { "from": "human", "value": "package org.pdxfinder.repositories;\n\nimport org.pdxfinder.dao.PdxPassage;\nimport org.springframework.data.neo4j.annotation.Query;\nimport org.springframework.data.neo4j.reposit...
java
chosen
[ { "from": "system", "value": "Remove trailing spaces in filenames\n\nFAT does not support trailing spaces, so we must remove them" }, { "from": "human", "value": "package de.danoeh.antennapod.util;\n\nimport java.util.Arrays;\n\n/** Generates valid filenames for a given string. */\npublic class ...
java
chosen
[ { "from": "system", "value": "Allow blank backgrounds to be created with insets.\n\n" }, { "from": "human", "value": "//\n// $Id$\n//\n// BUI - a user interface library for the JME 3D engine\n// Copyright (C) 2005, Michael Bayne, All Rights Reserved\n//\n// This library is free software; you can...
java
chosen
[ { "from": "system", "value": "Include config parameter name in list output.\n" }, { "from": "human", "value": "package bio.terra.cli.command.config;\n\nimport bio.terra.cli.context.GlobalContext;\nimport java.util.concurrent.Callable;\nimport picocli.CommandLine;\n\n/** This class corresponds to...
java
chosen
[ { "from": "system", "value": "Rename REDUNDANT_PARENTHESIS rule to REDUNDANT_PARENTHESES\n" }, { "from": "human", "value": "package com.sleekbyte.tailor.common;\n\nimport com.sleekbyte.tailor.listeners.BlankLineListener;\nimport com.sleekbyte.tailor.listeners.MultipleImportListener;\nimport com....
java
chosen
[ { "from": "system", "value": "Add no-defined users to the 'default' group\n" }, { "from": "human", "value": "package markehme.FactionsPerms.listeners;\n\nimport markehme.FactionsPerms.FactionsPerms;\n\nimport org.bukkit.event.EventHandler;\nimport org.bukkit.event.EventPriority;\nimport org.bukk...
java
chosen
[ { "from": "system", "value": "Update image content type for Postgres\n" }, { "from": "human", "value": "package com.leevilehtonen.cookagram.config;\n\nimport org.hibernate.dialect.PostgreSQL94Dialect;\nimport org.hibernate.type.descriptor.sql.BinaryTypeDescriptor;\nimport org.hibernate.type.desc...
java
chosen
[ { "from": "system", "value": "Remove devices array from the Port JSON representation.\n\nThe array was never populated with device data, it was only added to maintain compatability with the old REST API.\n\nChange-Id: Id89e9732c1ae229b7accc13b97283b8e000cd3ae\n" }, { "from": "human", "value": "p...
java
chosen
[ { "from": "system", "value": "Modify access level of member var\n" }, { "from": "human", "value": "package seedu.jimi.commons.events.ui;\n\nimport seedu.jimi.commons.events.BaseEvent;\n\n/**\n * Indicates user request to show a section of the taskList panel.\n * @author zexuan\n *\n */\npublic c...
java
chosen
[ { "from": "system", "value": "Rename the WebView manifest key name\n\nRename SET_DATA_DIRECTORY_SUFFIX:DEV to\nSTARTUP_FEATURE_SET_DATA_DIRECTORY_SUFFIX\n\n\nChange-Id: Id2a0a29a3cbc6972bbf285836cd13e8d2af7fd3d\nTest: ./gradlew webkit:integration-tests:testapp:connectedAndroidTest\nBug: 250553687\n" }, ...
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// [![Build Status](https://travis-ci.org/jminusminu...
java
chosen
[ { "from": "system", "value": "Make the room and teacher columns of TEXT type\n" }, { "from": "human", "value": "package com.satsumasoftware.timetable.db;\n\nimport android.provider.BaseColumns;\n\nimport com.satsumasoftware.timetable.db.util.SchemaUtilsKt;\n\npublic final class ClassDetailsSchem...
java
chosen
[ { "from": "system", "value": "Fix visilibity issue for example app\n" }, { "from": "human", "value": "package org.dotwebstack.framework.example;\n\nimport org.springframework.boot.SpringApplication;\nimport org.springframework.boot.autoconfigure.SpringBootApplication;\nimport org.springframework...
java
chosen
[ { "from": "system", "value": "Add TcpSocketReceiverTest into Test Suite\n" }, { "from": "human", "value": "package com.dianping.cat;\r\n\r\nimport org.junit.runner.RunWith;\r\nimport org.junit.runners.Suite;\r\nimport org.junit.runners.Suite.SuiteClasses;\r\n\r\nimport com.dianping.cat.message.s...
java
chosen
[ { "from": "system", "value": "ART: Fix run-test 114 ParallelGC to account for OOM\n\nThis catches any OOMs and doesn't pollute the log.\n\nBug: 16406852\nChange-Id: I1bc95091ccae35a8cb5f2ef0a789f8c8ce5209d0\n" }, { "from": "human", "value": "/*\n * Copyright (C) 2011 The Android Open Source Proj...
java
chosen
[ { "from": "system", "value": "Revert \"Set credentials file according to documentation\"\n\nThis reverts commit 0bf81f4fb9d34633bea1e88877d67a9a2caf554e.\n\nThe point of this is to allow me to use a separate account to avoid\ncorrupting my event stream. GitHub.connect() does the standard handling\nfor those...
java
chosen
[ { "from": "system", "value": "Use random port to start Jetty\n" }, { "from": "human", "value": "package zero.down.time.soa.api;\n\nimport org.apache.camel.builder.RouteBuilder;\n\n/**\n * @author magonzal\n * @version 1.0.0\n */\npublic class HelloServiceApi extends RouteBuilder {\n\n\t@Override...
java
chosen
[ { "from": "system", "value": "Remove `destroy` method which is already inherited from extended interface\n" }, { "from": "human", "value": "/*\n * #%L\n * mosaic-cloudlets\n * %%\n * Copyright (C) 2010 - 2012 Institute e-Austria Timisoara (Romania)\n * %%\n * Licensed under the Apache License, V...
java
chosen
[ { "from": "system", "value": "Add centered map on our location\n" }, { "from": "human", "value": "package edu.yalestc.yalepublic;\n\nimport android.app.Activity;\nimport android.os.Bundle;\n\n/**\n * Created by Jason Liu on 10/18/14.\n */\npublic class MapView extends Activity {\n\n @Override...
java
chosen
[ { "from": "system", "value": "Remove reference to web browsers in bazel documentation.\n\n--\nMOS_MIGRATED_REVID=115912069\n" }, { "from": "human", "value": "// Copyright 2014 The Bazel Authors. All rights reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// yo...
java
chosen
[ { "from": "system", "value": "Test for format property of ReturnCount check\n" }, { "from": "human", "value": "package com.puppycrawl.tools.checkstyle.checks.coding;\n\nimport com.puppycrawl.tools.checkstyle.BaseCheckTestCase;\nimport com.puppycrawl.tools.checkstyle.DefaultConfiguration;\n\nimpo...
java
chosen
[ { "from": "system", "value": "Improve Java seed source code.\n" }, { "from": "human", "value": "package com.google.testing.pogen;\n\nimport com.google.common.base.Preconditions;\n\npublic class Seed {\n\tpublic static void main(String[] args) {\n\t\tint a = 0;\n\t\tint b, c;\n\t\tclass A {\n\t\t...
java
chosen
[ { "from": "system", "value": "Update hex pattern to only contain hex characters\n" }, { "from": "human", "value": "// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.config.subscription.impl;\n\nimport java.util.regex.Match...
java
chosen
[ { "from": "system", "value": "Change dateTime validation regex - it is now optional\n" }, { "from": "human", "value": "package seedu.emeraldo.model.task;\n\n\nimport seedu.emeraldo.commons.exceptions.IllegalValueException;\n\n/**\n * Represents a Person's address in the address book.\n * Guarant...
java
chosen
[ { "from": "system", "value": "Remove (c) and @author from a class\n" }, { "from": "human", "value": "/*\n * Copyright (C) 2014 Rafał Krupiński\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy of\n * this software and associated documentation files (the \"Softw...
java
chosen
[ { "from": "system", "value": "Use .equals instead of == to check message body\n" }, { "from": "human", "value": "import java.io.IOException;\n\nimport javax.servlet.http.HttpServlet;\nimport javax.servlet.http.HttpServletRequest;\nimport javax.servlet.http.HttpServletResponse;\n\nimport com.twil...
java
chosen
[ { "from": "system", "value": "Change tab translation to new I18n format.\n" }, { "from": "human", "value": "package carpentersblocks.util;\n\nimport net.minecraft.creativetab.CreativeTabs;\nimport net.minecraft.item.Item;\nimport carpentersblocks.util.registry.ItemRegistry;\nimport cpw.mods.fml....
java
chosen
[ { "from": "system", "value": "Refactor build state mapping to an actual map\n" }, { "from": "human", "value": "package com.mhackner.bamboo;\n\nimport com.atlassian.bamboo.chains.Chain;\nimport com.atlassian.bamboo.chains.ChainExecution;\nimport com.atlassian.bamboo.chains.ChainResultsSummary;\ni...
java
chosen
[ { "from": "system", "value": "JBRULES-1915: Improve process persistence usability\n - improved command-based implementation of StatefulKnowledgeSession\n\ngit-svn-id: a243bed356d289ca0d1b6d299a0597bdc4ecaa09@25015 c60d74c8-e8f6-0310-9e8f-d4a2fc68ab70\n" }, { "from": "human", "value": "package or...
java
chosen
[ { "from": "system", "value": "Fix potential NPE in the Capabilities\n\n" }, { "from": "human", "value": "package com.infinityraider.infinitylib.capability;\n\nimport net.minecraft.util.Direction;\nimport net.minecraft.util.ResourceLocation;\nimport net.minecraftforge.common.capabilities.Capabili...
java
chosen
[ { "from": "system", "value": "Add some logic for spaces and zeros.\n" }, { "from": "human", "value": "package uk.ac.ebi.quickgo.ontology.common.coterm;\n\n/**\n * @author Tony Wardell\n * Date: 29/09/2016\n * Time: 16:08\n * Created with IntelliJ IDEA.\n */\npublic class CoTermLimit {\n\n int...
java
chosen
[ { "from": "system", "value": "Use default shared metric registry\n" }, { "from": "human", "value": "package net.soundvibe.reacto.metric;\n\nimport com.codahale.metrics.*;\n\n/**\n * @author linas on 17.2.9.\n */\npublic interface Metrics {\n\n MetricRegistry REGISTRY = new MetricRegistry();\n...
java
chosen
[ { "from": "system", "value": "Replace custom ToString, Equals And HashCode with Lombok annotations\n" }, { "from": "human", "value": "package nl.homesensors.sensortag;\n\nimport java.util.Objects;\n\nimport lombok.Getter;\nimport lombok.RequiredArgsConstructor;\nimport org.apache.commons.lang3.b...
java
chosen
[ { "from": "system", "value": "Add a bit more JavaDoc" }, { "from": "human", "value": "package org.dstadler.commoncrawl;\n\n/**\n * Which extensions we are interested in.\n *\n * @author dominik.stadler\n */\npublic class Extensions {\n\n private static final String[] EXTENSIONS = new String[]...
java
chosen
[ { "from": "system", "value": "Add license header to IMaskedTextField\n\nSigned-off-by: Steven Downer <e51bce9123e792aec8a98724fb48684dc936521f@outlook.com>\n" }, { "from": "human", "value": "package org.obsidianbox.frames;\n\npublic interface IMaskedField extends ITextField {\n /**\n * Ge...
java
chosen
[ { "from": "system", "value": "Change the name of the constant use the correct casing.\n" }, { "from": "human", "value": "package org.clubrockisen.dao;\r\n\r\nimport java.sql.Connection;\r\n\r\nimport org.clubrockisen.connection.MySQLConnection;\r\nimport org.clubrockisen.entities.Member;\r\n\r\n...
java
chosen
[ { "from": "system", "value": "Remove duplicate funct in CmdUtil.findUser()\n" }, { "from": "human", "value": "package co.phoenixlab.discord.commands;\n\nimport co.phoenixlab.discord.MessageContext;\nimport co.phoenixlab.discord.api.DiscordApiClient;\nimport co.phoenixlab.discord.api.entities.Cha...
java
chosen
[ { "from": "system", "value": "Allow setting properties with java system props\n\nSet properties with e.g. -Ddata.version=12345\n" }, { "from": "human", "value": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choose Tools | T...
java
chosen
[ { "from": "system", "value": "Refactor utility method to FunctionalInterfaceCaller\n" }, { "from": "human", "value": "package es.sandbox.spikes.java8.interfaces;\n\nimport es.sandbox.spikes.java8.InvocationSpy;\nimport org.junit.Before;\nimport org.junit.Test;\n\nimport static es.sandbox.spikes....
java
chosen
[ { "from": "system", "value": "Make abstract class instead of interface.\n" }, { "from": "human", "value": "/*\n * Copyright 2000-2014 JetBrains s.r.o.\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 ...
java
chosen
[ { "from": "system", "value": "Add tests for positive and negative duration differences\n" }, { "from": "human", "value": "package de.retest.recheck.printer.leaf;\n\nimport static org.assertj.core.api.Assertions.assertThat;\nimport static org.mockito.Mockito.mock;\nimport static org.mockito.Mocki...
java
chosen
[ { "from": "system", "value": "Add get methods for updater variables.\n" }, { "from": "human", "value": "package com.github.tnerevival.core;\n\nimport com.github.tnerevival.core.version.ReleaseType;\n\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.net.URL;\n\npubl...
java
chosen
[ { "from": "system", "value": "Replace List with Stream API\n" }, { "from": "human", "value": "package lego;\n\nimport org.neo4j.graphdb.GraphDatabaseService;\nimport org.neo4j.graphdb.Label;\nimport org.neo4j.graphdb.Node;\nimport org.neo4j.graphdb.ResourceIterator;\nimport org.neo4j.logging.Log...
java
chosen
[ { "from": "system", "value": "Add some of the buttons" }, { "from": "human", "value": "package org.camsrobotics.frc2016;\r\n\r\nimport org.camsrobotics.lib.NerdyJoystick;\r\n\r\n/**\r\n * Driver Station Interface\r\n * \r\n * @author Wesley\r\n *\r\n */\r\npublic class DriverInput {\r\n\t\r\n\tp...
java
chosen
[ { "from": "system", "value": "Remove try/catch statement from boot constructor\n" }, { "from": "human", "value": "/**\n * @license\n * Copyright 2017 The FOAM Authors. All Rights Reserved.\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\npackage foam.nanos.boot;\n\nimport foam.core.*;\nimp...
java
chosen
[ { "from": "system", "value": "Fix error in draft pool deserialization\n" }, { "from": "human", "value": "package com.ljs.scratch.ootp.rating;\n\nimport com.fasterxml.jackson.annotation.JsonTypeInfo;\n\n/**\n *\n * @author lstephen\n */\n@JsonTypeInfo(use = JsonTypeInfo.Id.NAME)\npublic interface...
java
chosen
[ { "from": "system", "value": "Update SNPrank -> SNPrankData in main class\n" }, { "from": "human", "value": "/*\n * Parse command-line options and run the SNPrank algorithm.\n * Authors: Brett McKinney and Nick Davis\n * Email: brett.mckinney@gmail.com, nick@nickdavis.name\n */\npublic class s...
java
chosen
[ { "from": "system", "value": "Fix data serialization causing app not to receive data when launched from notification\n" }, { "from": "human", "value": "package se.hyperlab.tigcm;\n\nimport android.content.Intent;\nimport android.app.Activity;\nimport android.os.Bundle;\nimport org.appcelerator.k...
java
chosen
[ { "from": "system", "value": "Add custom on error example in main activity\n" }, { "from": "human", "value": "package br.com.bloder.blorm;\n\nimport android.support.v7.app.AppCompatActivity;\nimport android.os.Bundle;\nimport android.widget.Button;\nimport android.widget.EditText;\n\nimport br.c...
java
chosen
[ { "from": "system", "value": "Change the workgroupmemberchooser so it doesn't directly depend on OTDocument. This change is to facilitate moving OTDocument out of the otrunk project.\n\ngit-svn-id: 8ebed0c25533aaea68ca43268d4d516467f97e6a@16773 6e01202a-0783-4428-890a-84243c50cc2b\n" }, { "from": "...
java
chosen
[ { "from": "system", "value": "Fix cdr timezone test issue\n" }, { "from": "human", "value": "package org.asteriskjava.manager.event;\n\nimport static org.junit.Assert.assertEquals;\n\nimport java.util.TimeZone;\n\nimport org.junit.Before;\nimport org.junit.Test;\n\npublic class CdrEventTest\n{\n...
java
chosen
[ { "from": "system", "value": "Check that volatile statics don't get flagged\n\n\ngit-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@1966 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3\n" }, { "from": "human", "value": "public class LazyInit {\n\tstatic Object foo;\n\n\t// This should be reported\n\tpubl...
java
chosen
[ { "from": "system", "value": "Improve joda objects model in rest\n" }, { "from": "human", "value": "package org.jgrades.rest;\n\nimport org.joda.time.DateTime;\nimport org.springframework.context.annotation.Bean;\nimport org.springframework.context.annotation.Configuration;\nimport springfox.doc...
java
chosen
[ { "from": "system", "value": "Add abstination back to allow filters\n" }, { "from": "human", "value": "package in.twizmwaz.cardinal.module.modules.filter.type.old;\n\nimport in.twizmwaz.cardinal.module.ModuleCollection;\nimport in.twizmwaz.cardinal.module.modules.filter.FilterModule;\nimport in....
java
chosen
[ { "from": "system", "value": "VisualBench: Make the Android SDL app start without cmdline arguments\n\nMake the Android SDL VisualBench start even if it is started without\ncommand-line arguments.\n\nAlso makes it start when started by pressing the icon.\n\nBUG=skia:\nGOLD_TRYBOT_URL= https://gold.skia.org/...
java
chosen