conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Handle emulator bug in tests\n" }, { "from": "human", "value": "package com.bugsnag.android;\n\nimport org.json.JSONObject;\n\nimport com.bugsnag.android.DeviceData;\n\npublic class DeviceDataTest extends BugsnagTestCase {\n public void testSaneValues() {\n ...
java
chosen
[ { "from": "system", "value": "Change value of debug flag.\n" }, { "from": "human", "value": "package com.biotronisis.pettplant.debug;\n\npublic class MyDebug {\n public static final boolean LOG = true;\n}" }, { "from": "gpt", "value": "package com.biotronisis.pettplant.debug;\n\np...
java
chosen
[ { "from": "system", "value": "Use new icons in the tree\n" }, { "from": "human", "value": "package com.toomasr.sgf4j.filetree;\n\nimport java.io.File;\n\nimport javafx.scene.control.TreeCell;\n\npublic class FileFormatCell extends TreeCell<File> {\n public FileFormatCell() {\n super();\n }\...
java
chosen
[ { "from": "system", "value": "Use var args for main.\n" }, { "from": "human", "value": "/*\n * Copyright 2016 Hammock and its contributors\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 ob...
java
chosen
[ { "from": "system", "value": "Change of variables of Estatisitca" }, { "from": "human", "value": "package br.com.MDSGPP.ChamadaParlamentar.model;\n\nimport java.util.ArrayList;\n\npublic class Estatistica {\n\n\tprivate String nome;\n\tprivate String numeroSessao;\n\tprivate String totalSessao;\...
java
chosen
[ { "from": "system", "value": "Include log level (if not INFO) and error stack trace in log file\n" }, { "from": "human", "value": "package com.Acrobot.ChestShop.Logging;\n\nimport java.text.DateFormat;\nimport java.text.SimpleDateFormat;\nimport java.util.Date;\nimport java.util.logging.Formatte...
java
chosen
[ { "from": "system", "value": "Fix smelting and crafting with subtypes" }, { "from": "human", "value": "package me.zford.jobs.bukkit.actions;\r\n\r\nimport me.zford.jobs.container.ActionInfo;\r\nimport me.zford.jobs.container.ActionType;\r\nimport me.zford.jobs.container.BaseActionInfo;\r\n\r\nim...
java
chosen
[ { "from": "system", "value": "Update to use chronicle bytes - there are a number of tests that are failing and are marked with ignore.\n" }, { "from": "human", "value": "/*\n * Copyright (C) 2015 higherfrequencytrading.com\n *\n * This program is free software: you can redistribute it a...
java
chosen
[ { "from": "system", "value": "Support for web url widget creator" }, { "from": "human", "value": "package uk.ac.edukapp.util;\r\n\r\nimport javax.servlet.http.Cookie;\r\nimport javax.servlet.http.HttpServletRequest;\r\n\r\npublic class ServletUtils {\r\n\r\n\tpublic static String getCookieValue(...
java
chosen
[ { "from": "system", "value": "Improve the math here, and make it less confusing" }, { "from": "human", "value": "package de.gurkenlabs.litiengine;\r\n\r\nimport de.gurkenlabs.litiengine.util.TimeUtilities;\r\n\r\npublic class RenderLoop extends UpdateLoop {\r\n\r\n private int maxFps;\r\n\r\n ...
java
chosen
[ { "from": "system", "value": "Change where values are initiated\n" }, { "from": "human", "value": "\npackage edu.wpi.first.wpilibj.technobots;\n\nimport edu.wpi.first.wpilibj.Joystick;\nimport edu.wpi.first.wpilibj.buttons.Button;\nimport edu.wpi.first.wpilibj.buttons.DigitalIOButton;\nimport ed...
java
chosen
[ { "from": "system", "value": "Make it grow up to be a real ClassLoader\n" }, { "from": "human", "value": "package entitygen;\n\nimport java.io.FileInputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.nio.ByteBuffer;\n\npublic class FileClassLoader extends ClassLoad...
java
chosen
[ { "from": "system", "value": "Update the File loader to support multiple input files (currently we have slogans but we couuld now have songs etc loaded (each one in a separate file)\n" }, { "from": "human", "value": "package core;\n\nimport java.io.*;\n\npublic class FileMnemonicMapLoader implem...
java
chosen
[ { "from": "system", "value": "Remove the additional handling for the focused entity because this was only a result of the the gameloop having a lower updaterate than the renderloop which causes flickering because the position of entities is not updates as often as it is rendered.\n" }, { "from": "hu...
java
chosen
[ { "from": "system", "value": "Update Copyright year to 2005\n\n\ngit-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/trunk@325095 13f79535-47bb-0310-9956-ffa450edef68\n\nFormer-commit-id: 8de90f5c3893df00b32b3f6cf2ae219fcf488bb6" }, { "from": "human", "value": "/*\n * Copyright 2003-2004...
java
chosen
[ { "from": "system", "value": "Increase some intervals to further reduce stress on the jobtracker.\n\n\ngit-svn-id: 4d48d1092ee340c9ada5711cdbe4355b138bc22b@383623 13f79535-47bb-0310-9956-ffa450edef68\n" }, { "from": "human", "value": "/**\n * Copyright 2005 The Apache Software Foundation\n *\n *...
java
chosen
[ { "from": "system", "value": "Switch breadcrumb store to ConcurrentLinkedQueue to prevent concurrency issues\n" }, { "from": "human", "value": "package com.bugsnag.android;\n\nimport android.support.annotation.NonNull;\n\nimport java.io.IOException;\nimport java.util.Date;\nimport java.util.Link...
java
chosen
[ { "from": "system", "value": "Add attribute name to themeContext object\n" }, { "from": "human", "value": "package org.xcolab.view.theme;\n\n\nimport org.springframework.stereotype.Component;\nimport org.springframework.util.Assert;\nimport org.springframework.web.servlet.ModelAndView;\nimport o...
java
chosen
[ { "from": "system", "value": "Include a timestamp of when the data was requested from wunderground (roughly)\n" }, { "from": "human", "value": "package com.wwsean08.WeatherReport.pojo;\n\nimport com.google.gson.annotations.SerializedName;\n\n/**\n * Created by wwsea_000 on 12/30/2015.\n */\npubl...
java
chosen
[ { "from": "system", "value": "Remove Iterator retrival from interface\n" }, { "from": "human", "value": "package com.grayben.riskExtractor.htmlScorer;\n\nimport java.util.ListIterator;\n\npublic interface ScoredText {\n\tListIterator<ScoredTextElement> getListIterator();\n\tListIterator<ScoredTe...
java
chosen
[ { "from": "system", "value": "Fix the number of required arguments. Update the usage message.\n" }, { "from": "human", "value": "package org.linuxguy.MarketBot.samples;\n\nimport org.linuxguy.MarketBot.Comment;\nimport org.linuxguy.MarketBot.GooglePlayWatcher;\nimport org.linuxguy.MarketBot.Noti...
java
chosen
[ { "from": "system", "value": "Update logic to check for emulator\n" }, { "from": "human", "value": "package com.twotoasters.servos.util;\n\nimport android.os.Build;\n\npublic final class DeviceUtils {\n\n private DeviceUtils() { }\n\n public static boolean isEmulator() {\n switch (B...
java
chosen
[ { "from": "system", "value": "Add getter for the fluid handler" }, { "from": "human", "value": "package info.u_team.u_team_core.container;\n\nimport info.u_team.u_team_core.api.fluid.IFluidHandlerModifiable;\nimport net.minecraftforge.fluids.FluidStack;\n\npublic class FluidSlot {\n\t\n\tprivate...
java
chosen
[ { "from": "system", "value": "FIx broken links in Javadoc\n" }, { "from": "human", "value": "package com.mapzen.android;\n\nimport com.mapzen.tangram.MapController;\n\n/**\n * This is the main class of the Mapzen Android API and is the entry point for all methods related\n * to the map. You cann...
java
chosen
[ { "from": "system", "value": "Update javadocs to describe exactly how the method behaves." }, { "from": "human", "value": "/*\n * Copyright 2012-2013 Continuuity,Inc. All Rights Reserved.\n */\n\npackage com.continuuity.api.procedure;\n\nimport java.io.IOException;\n\n/**\n * This interface defi...
java
chosen
[ { "from": "system", "value": "Convert severe \"Disabling economy until...\" to info\n\n" }, { "from": "human", "value": "package xyz.upperlevel.uppercore.economy;\n\nimport lombok.Getter;\nimport net.milkbowl.vault.economy.Economy;\nimport org.bukkit.Bukkit;\nimport org.bukkit.OfflinePlayer;\nim...
java
chosen
[ { "from": "system", "value": "Add attributes for 'font' tag to the whitelist\n" }, { "from": "human", "value": "package com.fsck.k9.message.html;\n\n\nimport org.jsoup.Jsoup;\nimport org.jsoup.nodes.Document;\nimport org.jsoup.safety.Cleaner;\nimport org.jsoup.safety.Whitelist;\n\n\npublic class...
java
chosen
[ { "from": "system", "value": "Update the version of the config too.\n" }, { "from": "human", "value": "package ro.nicuch.citizensbooks;\n\nimport org.bukkit.configuration.file.YamlConfiguration;\nimport org.bukkit.inventory.ItemStack;\n\nimport java.util.HashMap;\nimport java.util.Map;\n\npublic...
java
chosen
[ { "from": "system", "value": "Update scheduler to execute all the steps in success in the JVM\n" }, { "from": "human", "value": "package replicant;\n\nimport java.util.concurrent.Executors;\nimport java.util.concurrent.ScheduledExecutorService;\nimport java.util.concurrent.ScheduledFuture;\nimpo...
java
chosen
[ { "from": "system", "value": "Add possibility to warn adapter\n" }, { "from": "human", "value": "package de.retest.recheck;\n\nimport java.util.Set;\n\nimport de.retest.recheck.ui.DefaultValueFinder;\nimport de.retest.recheck.ui.descriptors.RootElement;\n\n/**\n * Interface to help recheck trans...
java
chosen
[ { "from": "system", "value": "Remove get post string methods\n" }, { "from": "human", "value": "package com.namelessmc.api.utils;\n\nimport java.io.UnsupportedEncodingException;\nimport java.net.URLEncoder;\nimport java.util.UUID;\n\npublic class PostString {\n\t\n\tpublic static String getPlaye...
java
chosen
[ { "from": "system", "value": "Fix bug affecting relative genome paths in sessions\n" }, { "from": "human", "value": "/*\n * The MIT License (MIT)\n *\n * Copyright (c) 2007-2015 Broad Institute\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this softw...
java
chosen
[ { "from": "system", "value": "Fix update on fake slot\n" }, { "from": "human", "value": "package openmods.container;\n\nimport net.minecraft.entity.player.EntityPlayer;\nimport net.minecraft.inventory.IInventory;\nimport net.minecraft.inventory.Slot;\nimport net.minecraft.item.ItemStack;\n\npubl...
java
chosen
[ { "from": "system", "value": "Use an EnumMap rather than a HashMap.\n" }, { "from": "human", "value": "/**\n * Copyright 2011 The PlayN Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n * use this file except in compliance with the License. You may o...
java
chosen
[ { "from": "system", "value": "Fix tests to use HTTPS.\n\nPasteUtilTest.testGetPasteKeyFromUrl() used HTTP, not HTTPS." }, { "from": "human", "value": "package com.github.kennedyoliveira.pastebin4j.api;\n\nimport org.junit.Test;\n\nimport static org.hamcrest.CoreMatchers.equalTo;\nimport static o...
java
chosen
[ { "from": "system", "value": "Add valid values for projectType option of create command\n" }, { "from": "human", "value": "package blade.cli;\n\nimport blade.cli.cmds.Build;\nimport blade.cli.cmds.IDE;\nimport blade.cli.cmds.Type;\n\nimport java.io.File;\n\nimport org.osgi.framework.Version;\n\n...
java
chosen
[ { "from": "system", "value": "Increase number of visualization params\n" }, { "from": "human", "value": "package com.xmunch.atomspace.aux;\n\npublic enum VisualizationParams {\n\n\tSIZE {\n\t\t@Override\n\t\tpublic String get() {\n\t\t\treturn \"size\";\n\t\t}\n\t},\n\tCOLOR {\n\t\t@Override\n\t...
java
chosen
[ { "from": "system", "value": "Fix keys being stuck in keyring container\n" }, { "from": "human", "value": "package net.mcft.copy.betterstorage.inventory;\n\nimport net.mcft.copy.betterstorage.api.IKey;\nimport net.mcft.copy.betterstorage.misc.Constants;\nimport net.minecraft.entity.player.Entity...
java
chosen
[ { "from": "system", "value": "Improve error message for message listeners consistency rules." }, { "from": "human", "value": "package poussecafe.environment;\n\n\npublic class MessageListeners {\n\n public void include(MessageListener listener) {\n MessageListenerType priority = listen...
java
chosen
[ { "from": "system", "value": "Replace reference to non-existent Precondtions2\n\nRemoved in jclouds 1.6.\n" }, { "from": "human", "value": "/**\n * Licensed to jclouds, Inc. (jclouds) under one or more\n * contributor license agreements. See the NOTICE file\n * distributed with this work for ad...
java
chosen
[ { "from": "system", "value": "Change the background color for an example.\n" }, { "from": "human", "value": "package us.feras.mdv.demo;\n\nimport us.feras.mdv.MarkdownView;\nimport android.app.Activity;\nimport android.os.Bundle;\nimport android.view.View;\nimport android.view.View.OnClickListen...
java
chosen
[ { "from": "system", "value": "Add test for export command line option\n" }, { "from": "human", "value": "package net.sf.jabref;\n\nimport org.junit.Assert;\nimport org.junit.Test;\n\nimport java.util.Arrays;\n\nimport static org.junit.Assert.assertEquals;\nimport static org.junit.Assert.assertTr...
java
chosen
[ { "from": "system", "value": "Revoke starting player from the board.\n" }, { "from": "human", "value": "package game;\n\nimport static com.google.common.base.Preconditions.checkArgument;\n\nimport java.util.Optional;\n\n/**\n * Created by Dimitry on 14.05.2016.\n */\npublic class Board\n{\n pri...
java
chosen
[ { "from": "system", "value": "Update controller\n* Add mapping for index page\n* Update mapping to url-shortner html page\n" }, { "from": "human", "value": "package com.naba.url.shortner;\n\nimport org.springframework.stereotype.Controller;\nimport org.springframework.ui.Model;\nimport org.sprin...
java
chosen
[ { "from": "system", "value": "Make the ArrayInitialization test also compile...\n" }, { "from": "human", "value": "import java.util.List; \n\nclass C005_ArrayInitialization {\n {\n String[] names = {\"Reinier\", \"Roel\"};\n String[] names2 = new String[]{\"Reinier\", \"Roel\"};...
java
chosen
[ { "from": "system", "value": "Add documentation for side in matching engine\n" }, { "from": "human", "value": "package org.jvirtanen.parity.match;\n\npublic enum Side {\n BUY,\n SELL\n}\n" }, { "from": "gpt", "value": "package org.jvirtanen.parity.match;\n\n/**\n * The order si...
java
chosen
[ { "from": "system", "value": "Use correct timestamp format in serialized JSON.\n" }, { "from": "human", "value": "package com.openxc.measurements.serializers;\n\nimport java.io.IOException;\nimport java.io.StringWriter;\n\nimport java.text.DecimalFormat;\n\nimport com.fasterxml.jackson.core.Json...
java
chosen
[ { "from": "system", "value": "Add test from InterpolationFilterReaderTest, removing circular dependency.\n\n" }, { "from": "human", "value": "package org.codehaus.plexus.util;\n\nimport junit.framework.TestCase;\n\nimport java.util.Map;\nimport java.util.HashMap;\nimport java.io.StringReader;\ni...
java
chosen
[ { "from": "system", "value": "Add cast from varbinary to HLL\n" }, { "from": "human", "value": "/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * ht...
java
chosen
[ { "from": "system", "value": "Revert \"Use activity context not application context\"\n\nThis reverts commit e5ef5b32fc6592df810815226c0297485c4a83c3.\n" }, { "from": "human", "value": "package com.fedorvlasov.lazylist;\r\n\r\nimport android.app.Activity;\r\nimport android.content.Context;\r\nim...
java
chosen
[ { "from": "system", "value": "Use string value for metadata map in image result for now\n" }, { "from": "human", "value": "package com.visenze.visearch;\n\nimport java.util.Map;\n\npublic class ImageResult {\n\n private final String imName;\n private final Map<String, Object> metadata;\n ...
java
chosen
[ { "from": "system", "value": "Fix loading schedule from file\n" }, { "from": "human", "value": "package linenux.control;\n\nimport java.nio.file.Paths;\n\nimport javafx.beans.property.ObjectProperty;\nimport javafx.beans.property.SimpleObjectProperty;\nimport linenux.command.result.CommandResult...
java
chosen
[ { "from": "system", "value": "Remove subsystem() usage in favor of fraction()\n" }, { "from": "human", "value": "/*\n * Copyright 2015 Red Hat, Inc. and/or its affiliates.\n *\n * Licensed under the Apache License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0\n */\npackage...
java
chosen
[ { "from": "system", "value": "Add documentation for public class and method\n" }, { "from": "human", "value": "package com.janosgyerik.tools.util;\n\nimport java.util.Arrays;\n\npublic class MatrixUtils {\n\n private MatrixUtils() {\n // utility class, forbidden constructor\n }\n\n ...
java
chosen
[ { "from": "system", "value": "Add default ISO time formatter\n" }, { "from": "human", "value": "package com.spiddekauga.utils;\n\n/**\n * Various time methods\n */\npublic class Time {\n/**\n * Causes the currently executing thread to sleep (temporarily cease\n * execution) for the specified num...
java
chosen
[ { "from": "system", "value": "Add repository user & broker vars\n" }, { "from": "human", "value": "package com.emc.ecs.serviceBroker.config;\n\nimport java.net.URL;\n\nimport org.cloudfoundry.community.servicebroker.model.BrokerApiVersion;\nimport org.springframework.beans.factory.annotation.Val...
java
chosen
[ { "from": "system", "value": "Change the instructor value to be the same as other impls\n" }, { "from": "human", "value": "\npackage org.tsugi;\n\n/**\n * This is a class to provide access to the data for the logged-in user\n *\n * This data comes from the LTI launch from the LMS. \n * If this i...
java
chosen
[ { "from": "system", "value": "Adjust values for Autonomous Straight routine\n" }, { "from": "human", "value": "package org.usfirst.frc.team997.robot.commands;\n\nimport org.usfirst.frc.team997.robot.RobotMap;\n\nimport edu.wpi.first.wpilibj.command.CommandGroup;\n\n/**\n *\n */\npublic class Aut...
java
chosen
[ { "from": "system", "value": "Add test for mixed line separators\n" }, { "from": "human", "value": "package org.commonmark.test;\n\nimport org.junit.Test;\n\npublic class SpecialInputTest extends RenderingTestCase {\n\n @Test\n public void nullCharacterShouldBeReplaced() {\n assertR...
java
chosen
[ { "from": "system", "value": "Change the default kns table\n" }, { "from": "human", "value": "package org.aksw.kbox.kibe;\n\nimport java.net.MalformedURLException;\nimport java.net.URL;\n\nimport org.aksw.kbox.kns.CustomKNSServerList;\nimport org.aksw.kbox.kns.KNSServerListVisitor;\n\npublic cla...
java
chosen
[ { "from": "system", "value": "Add instructions to test api\n" }, { "from": "human", "value": "package com.zello.apitest;\n\nimport android.support.v7.app.AppCompatActivity;\nimport android.os.Bundle;\n\npublic class MainActivity extends AppCompatActivity {\n\n\tprivate APITest apiTest;\n\n\t@Ove...
java
chosen
[ { "from": "system", "value": "Load postgresql driver and attempt connection\n" }, { "from": "human", "value": "package org.cryptonit.cloud;\n\n/**\n * @author Mathias Brossard\n */\npublic class Database {\n\n public Database(String url, String user, String password) {\n }\n}\n" }, { ...
java
chosen
[ { "from": "system", "value": "SDC-9109: Add RUNNING_ERROR to pipeline states available for notifications.\n\nChange-Id: Idb02918672c1057a1bb94653c6f100374373cd89\nReviewed-on: https://review.streamsets.net/14850\nReviewed-by: Jarcec Cecho <df2d427dacaa504f2ede0aed47c4cdf043778b95@streamsets.com>\nTested-by:...
java
chosen
[ { "from": "system", "value": "Add utility method to cancel AsyncTasks quietly.\n" }, { "from": "human", "value": "package org.mtransit.android.commons;\n\nimport java.util.concurrent.Executor;\n\nimport org.mtransit.android.commons.MTLog;\nimport org.mtransit.android.commons.task.MTAsyncTask;\n\...
java
chosen
[ { "from": "system", "value": "[Add] Create a new branch for Java Doc\n" }, { "from": "human", "value": "package cal;\n\npublic abstract class TrigoOperator extends Operator{\n\n\tpublic TrigoOperator(String sign) {\n\t\tsuper(sign);\n\t}\n}\n" }, { "from": "gpt", "value": "package ca...
java
chosen
[ { "from": "system", "value": "Fix tunnel provider connection temporization\n\nThe mechanism to wait several seconds between connection attempts to\nprovide a tunnel to PersistentRelayTunnel was totally broken.\n\nFix it to wait 5 seconds only before creating a new tunnel, except the\nvery first time.\n" }...
java
chosen
[ { "from": "system", "value": "Support for rewriting of collateral URLs for components, support for <embed>\n" }, { "from": "human", "value": "/*\n * Created on 28-Jan-2006\n */\npackage uk.org.ponder.htmlutil;\n\npublic class HTMLConstants {\n \n public static final String JS_BLOCK_START = \"\...
java
chosen
[ { "from": "system", "value": "Use java.nio.files.Files to rename and delete folders\n" }, { "from": "human", "value": "package com.lyubenblagoev.postfixrest;\n\nimport java.io.File;\n\nimport org.assertj.core.util.Files;\n\npublic final class FileUtils {\n\t\n\tprivate FileUtils() {\n\t\t// Prev...
java
chosen
[ { "from": "system", "value": "[master] change: Add time usage string utils\n\nChange-Id: I6778b09355b4611a3ca61fe66108fa4ec0a455e4\n" }, { "from": "human", "value": "package me.ycdev.androidlib.utils;\n\nimport java.text.SimpleDateFormat;\nimport java.util.Date;\nimport java.util.Locale;\n\npubl...
java
chosen
[ { "from": "system", "value": "Update battle ranks cap to 10.\n" }, { "from": "human", "value": "package com.wyverngame.rmi.api.method;\n\nimport java.rmi.RemoteException;\nimport java.util.Map;\n\nimport com.wyverngame.rmi.api.RMIClient;\nimport com.wyverngame.rmi.api.http.Request;\nimport com.w...
java
chosen
[ { "from": "system", "value": "Return copy of array on the getter\n" }, { "from": "human", "value": "package com.alexstyl.specialdates.images;\n\npublic final class DecodedImage {\n\n public static final DecodedImage EMPTY = new DecodedImage(null);\n\n private final byte[] bytes;\n\n Dec...
java
chosen
[ { "from": "system", "value": "Drop unnecessary reference to popped elements to allow finalization through GC (XSTR-264)." }, { "from": "human", "value": "package com.thoughtworks.xstream.core.util;\n\npublic final class FastStack {\n\n private Object[] stack;\n private int pointer;\n\n ...
java
chosen
[ { "from": "system", "value": "Copy the type in the copy constructor.\n\ngit-svn-id: 2eebe84b5b32eb059849d530d3c549d0da009da8@126243 cb919951-1609-0410-8833-993d306c94f7\n" }, { "from": "human", "value": "/**\n * File: ConstantExpression.java\n *\n * Author: David Hay (dhay@localmatters.com)\n * ...
java
chosen
[ { "from": "system", "value": "Add shadow to application title" }, { "from": "human", "value": "package org.genericsystem.reactor.gs;\n\nimport org.genericsystem.reactor.Tag;\nimport org.genericsystem.reactor.gs.GSSubcellDisplayer.TagConstructor;\n\npublic class GSHeader extends GSDiv {\n\n\tpubl...
java
chosen
[ { "from": "system", "value": "Set clear color to black\n" }, { "from": "human", "value": "package net.mueller_martin.turirun.screens;\n\nimport com.badlogic.gdx.Gdx;\nimport com.badlogic.gdx.ScreenAdapter;\nimport com.badlogic.gdx.graphics.GL20;\nimport com.badlogic.gdx.graphics.OrthographicCame...
java
chosen
[ { "from": "system", "value": "feat: Enable deferred bootstrap mode for JPA\n\nFixes #250\n" }, { "from": "human", "value": "package amu.zhcet;\n\nimport amu.zhcet.email.EmailProperties;\nimport amu.zhcet.firebase.FirebaseProperties;\nimport amu.zhcet.security.SecureProperties;\nimport amu.zhcet....
java
chosen
[ { "from": "system", "value": "Fix junit - By removing retarded stuffs from taskcard class\n" }, { "from": "human", "value": "package seedu.address.ui;\n\nimport javafx.fxml.FXML;\nimport javafx.scene.control.Label;\nimport javafx.scene.layout.FlowPane;\nimport javafx.scene.layout.HBox;\nimport j...
java
chosen
[ { "from": "system", "value": "Rename face parameter to image.\n" }, { "from": "human", "value": "package nl.ekholabs.nlp.controller;\n\nimport java.io.IOException;\n\nimport nl.ekholabs.nlp.client.ElsieDeeSightFeignClient;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport o...
java
chosen
[ { "from": "system", "value": "Move fields to top and give explicit name to id\n" }, { "from": "human", "value": "package com.alexstyl.specialdates.events;\n\nimport android.support.annotation.ColorRes;\nimport android.support.annotation.StringRes;\n\nimport com.alexstyl.specialdates.R;\n\nimport...
java
chosen
[ { "from": "system", "value": "Remove assertion in forced Opera test\n" }, { "from": "human", "value": "/*\n * (C) Copyright 2017 Boni Garcia (http://bonigarcia.github.io/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance...
java
chosen
[ { "from": "system", "value": "Extend EditText instead of AppCompatEditText\n" }, { "from": "human", "value": "package com.alexstyl.specialdates.search;\n\nimport android.content.Context;\nimport android.util.AttributeSet;\nimport android.view.KeyEvent;\nimport android.widget.EditText;\n\npublic ...
java
chosen
[ { "from": "system", "value": "Format police. getItemId() fails silently. setData conforms to Android standard.\n" }, { "from": "human", "value": "package com.activeandroid.widget;\n\nimport java.util.List;\n\nimport android.content.Context;\nimport android.widget.ArrayAdapter;\n\nimport com.acti...
java
chosen
[ { "from": "system", "value": "Use altr for vendor altera\n\nSigned-off-by: Walter Goossens <423eb823df3d47e4be79896b836c41319472e26c@home.nl>\n" }, { "from": "human", "value": "package sopc2dts.lib.components.altera;\n\nimport org.xml.sax.ContentHandler;\nimport org.xml.sax.XMLReader;\n\nimport ...
java
chosen
[ { "from": "system", "value": "Increase default search count to 12\n\nBased off designer feedback\n\nChange-Id: Icbccadb089a2ce650fdcfe4f0560aa5ef0087441\n" }, { "from": "human", "value": "package org.wikipedia.search;\n\nimport org.json.JSONArray;\nimport org.mediawiki.api.json.Api;\nimport org....
java
chosen
[ { "from": "system", "value": "Set devel version to 0.5.7 alpha.\n" }, { "from": "human", "value": "package ch.ethz.scu.obit.common.version;\n\npublic class VersionInfo {\n\n\t// Program version\n\tpublic static final String version = \"0.5.6\";\n\t\n\t// Version status: \"alpha\", \"beta\", or \...
java
chosen
[ { "from": "system", "value": "LUCENE-1769: Add also the opposite assert statement\n\ngit-svn-id: 4c5078813df38efa56971a28e09a55254294f104@891907 13f79535-47bb-0310-9956-ffa450edef68\n" }, { "from": "human", "value": "package org.apache.lucene;\n\n/**\n * Licensed to the Apache Software Foundatio...
java
chosen
[ { "from": "system", "value": "Add a few tests for ds3_autogen_c::Type\n" }, { "from": "human", "value": "/*\npackage com.spectralogic.ds3autogen.c;\n\nimport com.spectralogic.ds3autogen.c.models.Element;\nimport org.junit.Test;\n\nimport java.text.ParseException;\n\nimport static org.hamcrest.Co...
java
chosen
[ { "from": "system", "value": "Rename model to todoService in RemoveTodohandler" }, { "from": "human", "value": "package com.example.e4.rcp.todo.handlers;\n\nimport javax.inject.Named;\n\nimport org.eclipse.e4.core.di.annotations.Execute;\nimport org.eclipse.e4.core.di.annotations.Optional;\nimpo...
java
chosen
[ { "from": "system", "value": "Establish new session upon login.\n" }, { "from": "human", "value": "package controllers;\n\nimport play.*;\nimport play.data.*;\nimport play.mvc.*;\n\nimport views.html.*;\n\nimport static play.data.Form.*;\n\n\npublic class Application extends Controller {\n\n ...
java
chosen
[ { "from": "system", "value": "Fix race condition in test.\n\nIt must not be possible for two threads to get a runtime at the same\ntime as this breaks the invocation tracking and associated canned\nresponses. Synchronizing the get of the runtime prevents this happening." }, { "from": "human", "v...
java
chosen
[ { "from": "system", "value": "Change name of class retrieved from logger\n" }, { "from": "human", "value": "// Copyright 2019 Google LLC\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 obta...
java
chosen
[ { "from": "system", "value": "Remove call to the method connect() on the connection\n" }, { "from": "human", "value": "/*\r\n * *****************************************************\r\n * Copyright VMware, Inc. 2010-2012. All Rights Reserved.\r\n * **********************************************...
java
chosen
[ { "from": "system", "value": "Increase the level of debugging by outputting system as well\n" }, { "from": "human", "value": "package org.realityforge.replicant.client;\n\nimport java.util.Objects;\nimport javax.annotation.Nonnull;\nimport javax.annotation.Nullable;\n\npublic final class Channel...
java
chosen
[ { "from": "system", "value": "Fix typo in Pushbullet user section title" }, { "from": "human", "value": "package fr.jcgay.jenkins.plugins.pushbullet;\n\nimport hudson.Extension;\nimport hudson.model.User;\nimport hudson.model.UserProperty;\nimport hudson.model.UserPropertyDescriptor;\nimport hud...
java
chosen
[ { "from": "system", "value": "EranMes: Allow running the Android tests on a real device by specifying the external IP of the in-process test server.\n\ngit-svn-id: 4179480af2c2519a5eb5e1e9b541cbdf5cf27696@14991 07704840-8298-11de-bf8c-fd130f914ac9\n" }, { "from": "human", "value": "/*\r\nCopyrig...
java
chosen
[ { "from": "system", "value": "Allow to generate javadocs so the release will not fail\n" }, { "from": "human", "value": "/*\n * Copyright 2020 The Netty Project\n *\n * The Netty Project licenses this file to you under the Apache License,\n * version 2.0 (the \"License\"); you may not use this f...
java
chosen
[ { "from": "system", "value": "Normalize emails when extracting them from the jid.\n\nThis seems to have been the intention before, since it was being\nfolded to lowercase.\n" }, { "from": "human", "value": "package org.lantern;\n\nimport org.apache.commons.lang3.StringUtils;\n\n\npublic class La...
java
chosen
[ { "from": "system", "value": "Update the style of the dialog with open source licenses\n" }, { "from": "human", "value": "package com.khmelenko.lab.travisclient.fragment;\n\nimport android.app.Dialog;\nimport android.os.Bundle;\nimport android.support.annotation.NonNull;\nimport android.support....
java
chosen
[ { "from": "system", "value": "Add Integration test to ensure new stylists are displaying.\n" }, { "from": "human", "value": "import org.fluentlenium.adapter.FluentTest;\nimport org.junit.ClassRule;\nimport org.junit.Test;\nimport org.openqa.selenium.WebDriver;\nimport org.openqa.selenium.htmluni...
java
chosen
[ { "from": "system", "value": "Revert \"Add MediaType for CDM\"\n\nThis reverts commit eaf85e1597ad78baba3a2a4a55ae0081f0acd582.\n\nSigned-off-by: Steffan Westcott <f3c2708f096cd7bd1163d9748b17f6e154c59391@clicktravel.com>\n" }, { "from": "human", "value": "/*\n * Copyright 2014 Click Travel Ltd\...
java
chosen