conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Update BaseGui to use contexts" }, { "from": "human", "value": "package sourcecoded.core.configuration.gui;\n\nimport cpw.mods.fml.client.config.GuiConfig;\nimport net.minecraft.client.gui.GuiScreen;\nimport sourcecoded.core.configuration.SCConfigManager;\n\npublic ...
java
chosen
[ { "from": "system", "value": "Add also ctor without setSize back" }, { "from": "human", "value": "package info.u_team.u_team_core.screen;\n\nimport com.mojang.blaze3d.matrix.MatrixStack;\n\nimport net.minecraft.entity.player.PlayerInventory;\nimport net.minecraft.inventory.container.Container;\n...
java
chosen
[ { "from": "system", "value": "Create a standard test system\n" }, { "from": "human", "value": "package com.cosium.openapi.annotation_processor;\n\nimport com.cosium.openapi.annotation_processor.standard.ParserTester;\nimport com.cosium.openapi.annotation_processor.standard.PathUtils;\nimport org...
java
chosen
[ { "from": "system", "value": "Fix loading panel not selected\n\ngit-svn-id: 4e353c0944fe8da334633afc35765ef362dec675@4467 b4e469a2-07ce-4b26-9273-4d7d95a670c7\n" }, { "from": "human", "value": "package org.helioviewer.plugins.eveplugin.view.linedataselector.cellrenderer;\n\nimport java.awt.Color...
java
chosen
[ { "from": "system", "value": "Make the default thread pool create deamon threads\n\ngit-svn-id: 7f3df76e74c7ad56904d6048df705810748eb1a6@360169 13f79535-47bb-0310-9956-ffa450edef68\n" }, { "from": "human", "value": "/**\n *\n * Copyright 2005-2006 The Apache Software Foundation\n *\n * Licensed ...
java
chosen
[ { "from": "system", "value": "Allow parallelNode to accept cases of textual\n" }, { "from": "human", "value": "package io.digdag.util;\n\nimport com.fasterxml.jackson.databind.JsonNode;\nimport io.digdag.client.config.Config;\nimport io.digdag.client.config.ConfigException;\n\npublic class Paral...
java
chosen
[ { "from": "system", "value": "Enable transactions in integration test (DEV-100)\n" }, { "from": "human", "value": "package sg.ncl.service.user;\n\nimport org.junit.runner.RunWith;\nimport org.springframework.boot.test.SpringApplicationConfiguration;\nimport org.springframework.test.context.junit...
java
chosen
[ { "from": "system", "value": "Add tests to check connection through UDP\n" }, { "from": "human", "value": "package net.kencochrane.raven.connection;\n\nimport mockit.Injectable;\nimport mockit.Tested;\nimport mockit.Verifications;\nimport net.kencochrane.raven.event.Event;\nimport net.kencochran...
java
chosen
[ { "from": "system", "value": "Convert Character Creation Service from an interface to a class.\n" }, { "from": "human", "value": "package pnb.orp.services;\n\nimport java.util.UUID;\n\npublic interface CharacterCreationService {\n\tvoid createCharacter(UUID player, String cardName);\n\t//How to ...
java
chosen
[ { "from": "system", "value": "Change the default query service name.\n" }, { "from": "human", "value": "/*\n * Copyright (C) 2016 to the original 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 License...
java
chosen
[ { "from": "system", "value": "Change webserver-ext status to beta.\n" }, { "from": "human", "value": "package org.develnext.jphp.ext.webserver;\n\nimport org.develnext.jphp.ext.webserver.classes.PWebRequest;\nimport org.develnext.jphp.ext.webserver.classes.PWebResponse;\nimport org.develnext.jph...
java
chosen
[ { "from": "system", "value": "Use \"effects\" or \"effect\" parameter for PlayEffects action\n" }, { "from": "human", "value": "package com.elmakers.mine.bukkit.action.builtin;\n\nimport com.elmakers.mine.bukkit.action.BaseSpellAction;\nimport com.elmakers.mine.bukkit.api.action.CastContext;\nim...
java
chosen
[ { "from": "system", "value": "Make maximize button state handle top-level frame title panes." }, { "from": "human", "value": "/*\n * Copyright (c) 2009 Kathryn Huxtable and Kenneth Orr.\n *\n * This file is part of the SeaGlass Pluggable Look and Feel.\n *\n * Licensed under the Apache License, ...
java
chosen
[ { "from": "system", "value": "Use @Inject Controller instead of Context\n\nOPEN - task 51: Create CRUD packages for Product entity \nhttp://github.com/DevOpsDistilled/OpERP/issues/issue/51" }, { "from": "human", "value": "package devopsdistilled.operp.client.items.controllers.impl;\n\nimport jav...
java
chosen
[ { "from": "system", "value": "Fix typo in dialog box for nonlocal database" }, { "from": "human", "value": "package liquibase.util.ui;\r\n\r\nimport liquibase.database.Database;\r\nimport liquibase.exception.DatabaseException;\r\nimport liquibase.util.StreamUtil;\r\n\r\nimport javax.swing.*;\r\n...
java
chosen
[ { "from": "system", "value": "Fix concurrency modification exception that could happen in the reactive messaging tests.\n\nThe emission and the retrieval of the list are done on different thread. While checking the content of the retrieved list, new items can be added to the list leading to a concurrency ex...
java
chosen
[ { "from": "system", "value": "Fix parrot variant on 1.17" }, { "from": "human", "value": "package protocolsupport.protocol.typeremapper.entity.format.metadata.types.living.tameable;\n\nimport protocolsupport.protocol.typeremapper.entity.format.metadata.object.value.NetworkEntityMetadataObjectInd...
java
chosen
[ { "from": "system", "value": "Test with sequence of operations added. TODO: More tests.\n" }, { "from": "human", "value": "package vvk.numbers;\n\n/**\n * Created with IntelliJ IDEA.\n * User: Estraaanged\n * Date: 26.04.14\n * Time: 18:28\n * To change this template use File | Settings | File T...
java
chosen
[ { "from": "system", "value": "Fix security issue with tracking logged in users with websocket\n\nfix #2129\n" }, { "from": "human", "value": "package <%=packageName%>.config;\n\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.messaging.simp.SimpMessageTyp...
java
chosen
[ { "from": "system", "value": "Add service name to embedded Job representations\n\nChange-Id: I7bb7e8dcbb85f563267dcd9ad823365c8a4efa9c\n" }, { "from": "human", "value": "package com.cgi.eoss.ftep.api.projections;\n\nimport com.cgi.eoss.ftep.api.security.FtepPermission;\nimport com.cgi.eoss.ftep....
java
chosen
[ { "from": "system", "value": "Return Jedis resource to the pool.\n" }, { "from": "human", "value": "/**\n * Copyright © 2013 tuxed <write@imaginarycode.com>\n * This work is free. You can redistribute it and/or modify it under the\n * terms of the Do What The Fuck You Want To Public License, Ver...
java
chosen
[ { "from": "system", "value": "Fix error when Avatar is empty\n" }, { "from": "human", "value": "package com.google.firebase.codelab.friendlychat.mvvm.ui.base;\n\nimport com.bumptech.glide.Glide;\n\nimport de.hdodenhof.circleimageview.CircleImageView;\n\n/**\n * Created by VTCA on 6/19/2016.\n * ...
java
chosen
[ { "from": "system", "value": "Remove deprication tag as it leads to compile errors\n" }, { "from": "human", "value": "// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.vespa.hosted.controller.api.integration....
java
chosen
[ { "from": "system", "value": "Remove click even for follow button.\n" }, { "from": "human", "value": "package com.kickstarter.ui.viewholders;\n\nimport android.content.Context;\nimport android.support.annotation.NonNull;\nimport android.view.View;\nimport android.widget.ImageView;\nimport androi...
java
chosen
[ { "from": "system", "value": "Extend Closeable instead of AutoCloseable.\n" }, { "from": "human", "value": "/**\n * Copyright (c) 2002-2013 \"Neo Technology,\"\n * Network Engine for Objects in Lund AB [http://neotechnology.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software:...
java
chosen
[ { "from": "system", "value": "Add @ignore annotation so alignmentfilegenerator doesn't try to get run as a test\n\ngit-svn-id: b5cf87c434d9ee7c8f18865e4378c9faabe04646@2010 17392f64-ead8-4cea-ae29-09b3ab513800\n" }, { "from": "human", "value": "package util;\n\nimport java.io.FileWriter;\nimport...
java
chosen
[ { "from": "system", "value": "Increase test timeout to 60s\n" }, { "from": "human", "value": "/*\n * Copyright 2018 New Vector Ltd\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a c...
java
chosen
[ { "from": "system", "value": "Use https for GitHub issue link" }, { "from": "human", "value": "package us.myles.ViaVersion.exception;\n\nimport java.util.HashMap;\nimport java.util.Map;\n\npublic class InformativeException extends Exception {\n private final Map<String, Object> info = new Has...
java
chosen
[ { "from": "system", "value": "Read `java.compiler` in addition to `jdk.compiler`\n" }, { "from": "human", "value": "/** Defines classes and interfaces of the Processor API. */\nmodule processor {\n requires jdk.compiler;\n requires jdk.javadoc;\n\n provides com.sun.source.util.Plugin with\n ...
java
chosen
[ { "from": "system", "value": "Improve thread safety around adding and removing IDataListener's\n\nPreviously deadlock was possible if a listener was running in the same\nthread as a call attempting to add or remove listeners. As might be\ncommonly the case for the UI thread.\n\nAlso replaced the listeners L...
java
chosen
[ { "from": "system", "value": "Fix recovery iteration indexing (start at 0)\n" }, { "from": "human", "value": "package org.spoofax.jsglr2.recovery;\n\npublic class RecoveryJob {\n\n public int backtrackChoicePointIndex;\n public int offset;\n public int iteration;\n final int iteratio...
java
chosen
[ { "from": "system", "value": "Allow original exception to be provided if necessary\n\ngit-svn-id: 5ccfe34f605a6c2f9041ff2965ab60012c62539a@1329661 13f79535-47bb-0310-9956-ffa450edef68\n" }, { "from": "human", "value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n *...
java
chosen
[ { "from": "system", "value": "Remove unused type & method from enum\n" }, { "from": "human", "value": "/*\n * Copyright 2010-2014 Ning, Inc.\n * Copyright 2014-2015 The Billing Project, LLC\n *\n * The Billing Project licenses this file to you under the Apache License, version 2.0\n * (the \"Lic...
java
chosen
[ { "from": "system", "value": "Add in doRequest for the TradeApi\n\nCurrently this code is absolutely useless. Just returns null" }, { "from": "human", "value": "package com.popebp.bitcoin.exchange.btce;\n\npublic class BTCe {\n\tpublic static final String API_URL = \"https://btc-e.com/tapi\";\n\...
java
chosen
[ { "from": "system", "value": "Update product enum to match templates\n" }, { "from": "human", "value": "package cz.xtf;\n\npublic enum Product {\n\tEAP(\"eap\"),\n\tJWS_TOMCAT7(\"webserver\"),\n\tJWS_TOMCAT8(\"webserver\"),\n\tAMQ(\"amq\"),\n\tJDG(\"datagrid\"),\n\tJDV(\"datavirt\"),\n\tBRMS(\"d...
java
chosen
[ { "from": "system", "value": "Rename the loadGroups method to loadCategories" }, { "from": "human", "value": "package org.monospark.actioncontrol.category;\n\nimport java.io.File;\nimport java.io.IOException;\nimport java.nio.file.Path;\nimport java.util.Collections;\nimport java.util.Set;\nimpo...
java
chosen
[ { "from": "system", "value": "Disable frequently failing test until the rootcause is fixed.\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 o...
java
chosen
[ { "from": "system", "value": "Remove unused MIN enum value.\n\nSummary: It's confusing to have `MIN` and `NONE`.\n\nReviewed By: jtorkkola\n\nfbshipit-source-id: 0a5e4393be\n" }, { "from": "human", "value": "/*\n * Copyright 2016-present Facebook, Inc.\n *\n * Licensed under the Apache License, ...
java
chosen
[ { "from": "system", "value": "Fix a potential CME in the anti slime block.\n" }, { "from": "human", "value": "package net.darkhax.darkutils.features.antislime;\n\nimport net.minecraft.entity.EntityLivingBase;\nimport net.minecraft.tileentity.TileEntity;\nimport net.minecraft.util.math.BlockPos;\...
java
chosen
[ { "from": "system", "value": "Fix cfg properties for GeneralDeviceProvider\n\nChange-Id: Iedb71fc1bd9893e072cbb22cc557a589b9fb97d6\n" }, { "from": "human", "value": "/*\n * Copyright 2018-present Open Networking Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");...
java
chosen
[ { "from": "system", "value": "Make sure the ReadOnly map is made available\n" }, { "from": "human", "value": "package org.realityforge.replicant.client.transport;\n\nimport java.util.Collections;\nimport java.util.HashMap;\nimport java.util.Map;\nimport javax.annotation.Nonnull;\nimport javax.an...
java
chosen
[ { "from": "system", "value": "Fix NullPointerException resulting in MalformedChunk in AcceptanceTests\n" }, { "from": "human", "value": "package org.zalando.nakadi.plugin.auth;\n\nimport org.springframework.security.core.context.SecurityContextHolder;\nimport org.zalando.nakadi.plugin.api.Plugin...
java
chosen
[ { "from": "system", "value": "Increase the requested cats number...\n" }, { "from": "human", "value": "\n/*\n * Carrot2 project.\n *\n * Copyright (C) 2002-2013, Dawid Weiss, Stanisław Osiński.\n * All rights reserved.\n *\n * Refer to the full license file \"carrot2.LICENSE\"\n * in the root fo...
java
chosen
[ { "from": "system", "value": "Allow hidden folders to be selected! Yay!\n" }, { "from": "human", "value": "package com.github.czyzby.lml.vis.parser.impl.nongwt.attribute.file;\n\nimport com.badlogic.gdx.files.FileHandle;\nimport com.badlogic.gdx.utils.Array;\nimport com.kotcrab.vis.ui.widget.fil...
java
chosen
[ { "from": "system", "value": "Fix the documentation and codacy objection.\n" }, { "from": "human", "value": "/*\n * Copyright 2017, TeamDev Ltd. All rights reserved.\n *\n * Redistribution and use in source and/or binary forms, with or without\n * modification, must retain the above copyright no...
java
chosen
[ { "from": "system", "value": "Add 10 circles to the animation and display them\n" }, { "from": "human", "value": "package de.uulm.mi.gdg;\n\nimport processing.core.PApplet;\n\n/**\n * The Equalizer class is the main controller for the Animation.\n *\n * @author Tobias Lahmann\n */\npublic class ...
java
chosen
[ { "from": "system", "value": "Replace confusing min/max selection logic\n" }, { "from": "human", "value": "package io.generators.core;\n\nimport com.google.common.collect.Range;\n\nimport javax.annotation.Nonnull;\n\nimport static com.google.common.base.Preconditions.checkNotNull;\nimport static...
java
chosen
[ { "from": "system", "value": "Make sure the PaxLevel.toString() returns something meaningful\n" }, { "from": "human", "value": "/*\n * Copyright 2006 Niclas Hedhman.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in complianc...
java
chosen
[ { "from": "system", "value": "Add missing annotation to task property\n\n+review REVIEW-5932\n" }, { "from": "human", "value": "/*\n * Copyright 2016 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 ...
java
chosen
[ { "from": "system", "value": "Modify find async callback parameter name.\n" }, { "from": "human", "value": "/*\n * Copyright (C) Tony Green, LitePal Framework Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in co...
java
chosen
[ { "from": "system", "value": "Remove underscore from random generation to prevent issues with URI parsing.\n" }, { "from": "human", "value": "package foundation.stack.datamill.cucumber;\n\nimport java.security.SecureRandom;\n\n/**\n * @author Ravi Chodavarapu (rchodava@gmail.com)\n */\npublic cl...
java
chosen
[ { "from": "system", "value": "Add createAssignment omnibus fixture method\n\n\nSVN-Revision: 1194\n" }, { "from": "human", "value": "package gov.nih.nci.cabig.caaers.domain;\n\n/**\n * @author Rhett Sutphin\n */\npublic class Fixtures {\n public static <T extends DomainObject> T setId(int id,...
java
chosen
[ { "from": "system", "value": "Fix perspective initialization issue when clicking on top menu navbar\n" }, { "from": "human", "value": "package org.dashbuilder.client.perspectives;\n\nimport javax.annotation.PostConstruct;\nimport javax.enterprise.context.ApplicationScoped;\n\nimport org.uberfire...
java
chosen
[ { "from": "system", "value": "Remove unused <T> generic type from method signature\n\ngit-svn-id: d9b8539636d91aff9cd33ed5cd52a0cf73394897@1236307 13f79535-47bb-0310-9956-ffa450edef68\n" }, { "from": "human", "value": "// Copyright 2009, 2011 The Apache Software Foundation\n//\n// Licensed under...
java
chosen
[ { "from": "system", "value": "Update servlet for writing many entities and its properties.\n" }, { "from": "human", "value": "package ch.hes_so.mse.cloud;\n\nimport java.io.IOException;\nimport javax.servlet.http.*;\n\n@SuppressWarnings(\"serial\")\npublic class DatastoreWriteServlet extends Htt...
java
chosen
[ { "from": "system", "value": "Update type representation from Rangeable to SingleInternetResource." }, { "from": "human", "value": "/**\n * The MIT License (MIT)\n *\n * Copyright (c) 2011-2014, Yannis Gonianakis\n *\n * Permission is hereby granted, free of charge, to any person obtaining a cop...
java
chosen
[ { "from": "system", "value": "Add license tag line. Remove unused imports. VIVO-222\n" }, { "from": "human", "value": "package edu.cornell.mannlib.vitro.webapp.filestorage.uploadrequest;\n\nimport java.io.IOException;\nimport java.util.List;\nimport java.util.Map;\n\nimport javax.servlet.http.Ht...
java
chosen
[ { "from": "system", "value": "Fix license header violations in binding-type-provider\n\nChange-Id: Ib00d5625f834a9de12d10f8c3d9cbaaa7e70eb05\nSigned-off-by: Thanh Ha <09ea4d3a79c8bee41a16519f6a431f6bc0fd8d6f@linuxfoundation.org>\n" }, { "from": "human", "value": "/*\n * Copyright (c) 2013 Cisco...
java
chosen
[ { "from": "system", "value": "Document self-usage of public methods per `Effective Java`\n" }, { "from": "human", "value": "/*\n * #%L\n * Simmetrics Core\n * %%\n * Copyright (C) 2014 - 2016 Simmetrics Authors\n * %%\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you ...
java
chosen
[ { "from": "system", "value": "Clean up the computation of my age by switching to Java 8 API's.\n" }, { "from": "human", "value": "package uk.co.todddavies.website.closure;\n\nimport com.google.common.collect.ImmutableMap;\nimport com.google.inject.Inject;\nimport com.google.inject.Singleton;\nim...
java
chosen
[ { "from": "system", "value": "Fix miss spell in warehouse comparator\n" }, { "from": "human", "value": "package com.davidflex.supermarket.agents.utils;\r\n\r\nimport com.davidflex.supermarket.ontologies.company.elements.Warehouse;\r\nimport com.davidflex.supermarket.ontologies.ecommerce.elements...
java
chosen
[ { "from": "system", "value": "Remove things related to 'document'\n" }, { "from": "human", "value": "package edu.chl.proton.model;\n\n/**\n * @author Stina Werme\n * Created by stinawerme on 01/05/17.\n */\npublic class File extends FileSystemEntity {\n\n private Document document;\n\n pub...
java
chosen
[ { "from": "system", "value": "Test now changed as the data is only coming from a REST service.\n" }, { "from": "human", "value": "package uk.ac.ebi.quickgo.client.service.loader.presets.withFrom;\n\nimport uk.ac.ebi.quickgo.client.service.loader.presets.ff.RawNamedPreset;\n\nimport org.junit.Bef...
java
chosen
[ { "from": "system", "value": "Replace shaded import with non-shaded one\n" }, { "from": "human", "value": "package uk.ac.ebi.atlas.commons.writers.impl;\n\nimport au.com.bytecode.opencsv.CSVWriter;\nimport autovalue.shaded.com.google.common.common.base.Throwables;\nimport uk.ac.ebi.atlas.commons...
java
chosen
[ { "from": "system", "value": "Fix detection of primitive boolean parameter type on set method" }, { "from": "human", "value": "package org.bootstrapjsp.util;\n\nimport java.lang.reflect.Method;\n\nimport org.bootstrapjsp.tags.Component;\n\npublic class ComponentUtil {\n\n\tpublic static String g...
java
chosen
[ { "from": "system", "value": "Disable controller input support by default because it requires native libraries.\n" }, { "from": "human", "value": "package de.gurkenlabs.litiengine.configuration;\r\n\r\n@ConfigurationGroupInfo(prefix = \"input_\")\r\npublic class InputConfiguration extends Config...
java
chosen
[ { "from": "system", "value": "Simulation: Terminate the virtual clock when launch terminated" }, { "from": "human", "value": "/**\r\n * Copyright (c) 2012 committers of YAKINDU and others.\r\n * All rights reserved. This program and the accompanying materials\r\n * are made available under the t...
java
chosen
[ { "from": "system", "value": "Add empty line to the end of file.\n" }, { "from": "human", "value": "package com.cisco.trex.stateless.model;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonProperty;\n\n@JsonIgnoreProperties(ignoreUnkno...
java
chosen
[ { "from": "system", "value": "SGenJavaValidatorTest: Use Linker instead of LazyLinker" }, { "from": "human", "value": "/**\r\n * Copyright (c) 2012 committers of YAKINDU and others.\r\n * All rights reserved. This program and the accompanying materials\r\n * are made available under the terms of...
java
chosen
[ { "from": "system", "value": "Add javadoc for the interface definition.\n" }, { "from": "human", "value": "package org.obda.query.domain;\r\n\r\nimport java.net.URI;\r\n\r\npublic interface Predicate {\r\n\t\r\n\tpublic URI getName();\r\n\tpublic int getArity();\r\n\tpublic Predicate copy();\r\n...
java
chosen
[ { "from": "system", "value": "Add v2 suffix to version\n" }, { "from": "human", "value": "package me.deftware.client.framework;\n\npublic class FrameworkConstants {\n\n public static double VERSION = 13.9;\n public static int PATCH = 4;\n\n public static String AUTHOR = \"Deftware\";\n ...
java
chosen
[ { "from": "system", "value": "Add catch of license error from JxBrowser\n\n" }, { "from": "human", "value": "package com.github.hronom.scrape.dat.rooms.core.webpage.html.grabbers;\n\nimport com.teamdev.jxbrowser.chromium.Browser;\n\nimport org.apache.commons.lang3.StringEscapeUtils;\nimport org....
java
chosen
[ { "from": "system", "value": "Enhance processor for http response body.\n" }, { "from": "human", "value": "package processors.availability;\n\nimport com.fasterxml.jackson.databind.JsonNode;\nimport converters.JsonConverter;\nimport datamodel.HttpResponseForAvailability;\nimport processors.Proce...
java
chosen
[ { "from": "system", "value": "Adjust progress monitoring in downloading\n" }, { "from": "human", "value": "package com.github.blindpirate.gogradle.util.logging;\n\nimport com.github.blindpirate.gogradle.GogradleGlobal;\nimport org.gradle.internal.logging.progress.ProgressLogger;\nimport org.grad...
java
chosen
[ { "from": "system", "value": "Improve the docs for ToolchainInfo and link to the main toolchains do?\n\n?c page.\n\nCloses #8821.\n\nPiperOrigin-RevId: 257044964\n" }, { "from": "human", "value": "// Copyright 2018 The Bazel Authors. All rights reserved.\n//\n// Licensed under the Apache License...
java
chosen
[ { "from": "system", "value": "Document uppercase method name bug\n" }, { "from": "human", "value": "package de.philipphager.disclosure.database.app.model;\n\nimport com.google.auto.value.AutoValue;\n\n@AutoValue public abstract class AppReport implements AppModel.ReportModel {\n public static f...
java
chosen
[ { "from": "system", "value": "Fix setup of PhantomJS test\n" }, { "from": "human", "value": "/*\r\n * (C) Copyright 2016 Boni Garcia (http://bonigarcia.github.io/)\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance w...
java
chosen
[ { "from": "system", "value": "Fix resume operation, intialize session" }, { "from": "human", "value": "package org.swellrt.beta.client.rest.operations;\n\nimport org.swellrt.beta.client.ServiceContext;\nimport org.swellrt.beta.client.rest.ServerOperation;\nimport org.swellrt.beta.client.rest.Ser...
java
chosen
[ { "from": "system", "value": "Enable embedding/saving to basket \"box\" components in BackendUtils\n" }, { "from": "human", "value": "package gr.demokritos.iit.ydsapi.model;\n\nimport java.util.HashSet;\nimport java.util.Set;\n\n/**\n * accepted component types.\n *\n * @author George K. <gkiom@...
java
chosen
[ { "from": "system", "value": "Fix federation provider example to load users file from it's own ClassLoader instead of Thread CL\n" }, { "from": "human", "value": "package org.keycloak.examples.federation.properties;\r\n\r\nimport org.keycloak.models.KeycloakSession;\r\nimport org.keycloak.models...
java
chosen
[ { "from": "system", "value": "Change request matching cron to not allow admins to run directly\n" }, { "from": "human", "value": "package com.google.step.coffee.tasks;\n\nimport com.google.appengine.api.users.UserService;\nimport com.google.appengine.api.users.UserServiceFactory;\nimport com.goo...
java
chosen
[ { "from": "system", "value": "Use the URL to get the stream, not the class loader. Should not have\nmade a different, but it does." }, { "from": "human", "value": "/*\n * Copyright 2015, Imtech Traffic & Infra\n * Copyright 2015, aVineas IT Consulting\n *\n * Licensed under the Apache License, V...
java
chosen
[ { "from": "system", "value": "Add javadoc for configuration factory\n" }, { "from": "human", "value": "package com.google.configuration;\n\n/** Retrieves the project configuration details. */\npublic final class ConfigurationFactory {\n private enum ProjectStatus {\n DEVELOPMENT,\n ...
java
chosen
[ { "from": "system", "value": "Correct qualified name of HttpResources" }, { "from": "human", "value": "package se.jiderhamn.classloader.leak.prevention.cleanup;\n\nimport java.lang.reflect.Method;\n\nimport se.jiderhamn.classloader.leak.prevention.ClassLoaderLeakPreventor;\nimport se.jiderhamn.c...
java
chosen
[ { "from": "system", "value": "Enforce the fact that a discipleship teacher will always be associated with one person." }, { "from": "human", "value": "/*\n * Copyright 2014 satrapu.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in ...
java
chosen
[ { "from": "system", "value": "SAL-123: Add a new Request.execute(ResponseHandler) method that returns a generic result\nAdded more javadoc.\n\ngit-svn-id: 2433085265c0232ec46d186f8a8240da49417e22@65012 2c54a935-e501-0410-bc05-97a93f6bca70\n" }, { "from": "human", "value": "package com.atlassian....
java
chosen
[ { "from": "system", "value": "Update view interface for app detail activity\n" }, { "from": "human", "value": "package de.philipphager.disclosure.feature.app.detail;\n\nimport de.philipphager.disclosure.database.library.model.Library;\nimport de.philipphager.disclosure.feature.navigation.Navigat...
java
chosen
[ { "from": "system", "value": "Change sort order in chat list\n" }, { "from": "human", "value": "package ru.tulupov.nsuconnect.database.loader;\n\n\nimport android.content.Context;\nimport android.support.v4.content.AsyncTaskLoader;\nimport android.util.Log;\n\nimport com.j256.ormlite.stmt.Prepar...
java
chosen
[ { "from": "system", "value": "Create generic repository stub:\n- how solve problem with entity\n" }, { "from": "human", "value": "package com.github.solairerove.woodstock.repository;\n\nimport com.github.solairerove.woodstock.domain.base.BaseEntity;\nimport org.springframework.data.neo4j.reposit...
java
chosen
[ { "from": "system", "value": "Add null logic to asHTML(...)\n" }, { "from": "human", "value": "/*-\n * #%L\n * SciJava polyglot kernel for Jupyter.\n * %%\n * Copyright (C) 2017 Hadrien Mary\n * %%\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this fil...
java
chosen
[ { "from": "system", "value": "Correct the javadocs about how the id is generated\n" }, { "from": "human", "value": "package org.realityforge.arez.annotations;\n\nimport java.lang.annotation.ElementType;\nimport java.lang.annotation.Retention;\nimport java.lang.annotation.RetentionPolicy;\nimport...
java
chosen
[ { "from": "system", "value": "Add meta field to custom field response\n" }, { "from": "human", "value": "package com.bigcommerce.catalog.models;\n\nimport javax.xml.bind.annotation.XmlRootElement;\nimport java.util.LinkedList;\nimport java.util.List;\n\n@XmlRootElement\npublic class CustomFieldR...
java
chosen
[ { "from": "system", "value": "Make sure that current-tenant thread local storage is reset in the event of an exception\n" }, { "from": "human", "value": "package grails.plugin.multitenant.core.filter;\n\nimport grails.plugin.multitenant.core.CurrentTenant;\nimport grails.plugin.multitenant.core....
java
chosen
[ { "from": "system", "value": "Add method to instantiate object by reflection.\n" }, { "from": "human", "value": "package com.github.aureliano.achmed.helper;\n\nimport java.lang.reflect.Method;\n\nimport com.github.aureliano.achmed.exception.AchmedException;\n\npublic final class ReflectionHelper...
java
chosen
[ { "from": "system", "value": "Set up dependency injection for spotify module including Spotify Api, Spotify Service, and the Browser.\n" }, { "from": "human", "value": "package com.musicocracy.fpgk.ioc.activity;\n\nimport com.musicocracy.fpgk.domain.spotify.Browser;\nimport com.musicocracy.fpgk....
java
chosen
[ { "from": "system", "value": "Change the show prefixes commmand output." }, { "from": "human", "value": "package com.obidea.semantika.cli2.command;\n\nimport java.io.PrintStream;\nimport java.util.Map;\n\nimport com.obidea.semantika.cli2.runtime.ConsoleSession;\n\npublic class ShowPrefixesComman...
java
chosen
[ { "from": "system", "value": "Add tournamentmode to valorant recent games\n" }, { "from": "human", "value": "package no.stelar7.api.r4j.basic.constants.types.val;\n\nimport no.stelar7.api.r4j.basic.constants.types.CodedEnum;\n\nimport java.util.Optional;\nimport java.util.stream.Stream;\n\npubli...
java
chosen
[ { "from": "system", "value": "Fix incorrect time to send mailing\n" }, { "from": "human", "value": "package pl.tomaszdziurko.jvm_bloggers;\n\npublic class TimeConstants {\n\n public static final String EVERY_TEN_MINUTES = \"0 10,20,30,40,50 * * * *\";\n\n public static final String EVERY_F...
java
chosen
[ { "from": "system", "value": "Fix NPE if no results are found\n" }, { "from": "human", "value": "package org.pikater.core.ontology.subtrees.metadata;\n\nimport java.util.List;\n\nimport jade.content.Concept;\n\npublic class Metadatas implements Concept {\n\n\t/**\n\t * \n\t */\n\tprivate static ...
java
chosen
[ { "from": "system", "value": "Fix typo in message name constraints\n" }, { "from": "human", "value": "package seedu.agendum.model.task;\n\nimport seedu.agendum.commons.exceptions.IllegalValueException;\n\n/**\n * Represents a Task's name in the to do list.\n * Guarantees: immutable; is valid as ...
java
chosen