conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Replace AsyncTask with AsyncTaskLoader and do some clean up.\n"
},
{
"from": "human",
"value": "package com.example.android.quakereport;\n\nimport android.content.AsyncTaskLoader;\nimport android.content.Context;\nimport android.util.Log;\nimport java.util.List;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Use ThreadUtils instead of its own executor\n"
},
{
"from": "human",
"value": "package mil.nga.mapcache.io.network;\n\nimport java.util.concurrent.ExecutorService;\nimport java.util.concurrent.Executors;\n\n/**\n * Makes http requests asynchronously.\n */\npublic cl... | java | chosen |
[
{
"from": "system",
"value": "GBE-113: Add support for mixed geometry type (GEOMETRY_COLLECTION)\n"
},
{
"from": "human",
"value": "/*\r\n * This is part of Geomajas, a GIS framework, http://www.geomajas.org/.\r\n *\r\n * Copyright 2008-2011 Geosparc nv, http://www.geosparc.com/, Belgium.\r\n *\... | java | chosen |
[
{
"from": "system",
"value": "Fix possible mix of ProxyFactory instances.\n\ngit-svn-id: d2639776715b8e71e47307c736096cc1ee732949@84 c3c2784b-8cd7-0310-8e00-a8c905b2d8b3\n"
},
{
"from": "human",
"value": "/*\r\n * Created on 04-Feb-2004\r\n * \r\n * (c) 2003-2004 ThoughtWorks\r\n * \r\n * See li... | java | chosen |
[
{
"from": "system",
"value": "Fix \"Javadoc: Invalid member type qualification\" warnings\n\nShows up as warning in Eclipse.\n\nSigned-off-by: Edwin Kempin <d43fb6c98c97e553b671ed9a9318100f1de386e7@google.com>\nChange-Id: I232d3de3d3c3ca49d16a62df7f46322ba0b6826d\n"
},
{
"from": "human",
"value"... | java | chosen |
[
{
"from": "system",
"value": "Add some little tests for lexer\n"
},
{
"from": "human",
"value": "package edu.kit.stc.lexer;\n\n\nimport edu.kit.stc.vocabulary.terminal.Token;\n\nimport java.util.ArrayList;\nimport java.util.Queue;\n\nimport static org.junit.Assert.*;\n\n/**\n * Created by floria... | java | chosen |
[
{
"from": "system",
"value": "Work on includes, left debug messages inside (for later)\n"
},
{
"from": "human",
"value": "package in.twizmwaz.cardinal.util;\n\nimport org.bukkit.Bukkit;\nimport org.jdom2.Document;\nimport org.jdom2.Element;\nimport org.jdom2.JDOMException;\nimport org.jdom2.inpu... | java | chosen |
[
{
"from": "system",
"value": "ncdc_download: Fix argument order in test case"
},
{
"from": "human",
"value": "package nz.org.hikari.cat.ncdc_download;\n\nimport static org.junit.Assert.assertEquals;\nimport static org.junit.Assert.assertNull;\n\nimport org.apache.hadoop.io.Text;\nimport org.juni... | java | chosen |
[
{
"from": "system",
"value": "Fix a bug when a command like \"/list-players\" is miss-spelled and \"/leave\" is executed cause of its alias \"/l\". And add some aliases.\n"
},
{
"from": "human",
"value": "package client.command;\r\n\r\npublic enum Commands {\r\n\r\n Username(new String[]{\"/u... | java | chosen |
[
{
"from": "system",
"value": "Add linear layout manager to recycler view\n"
},
{
"from": "human",
"value": "package com.akexorcist.mvpsimple.module.feed;\n\nimport android.os.Bundle;\nimport android.support.v7.app.AppCompatActivity;\nimport android.support.v7.widget.RecyclerView;\n\nimport com.a... | java | chosen |
[
{
"from": "system",
"value": "Remove artifiact of old settings\n"
},
{
"from": "human",
"value": "package core.entities;\n\nimport core.Database;\n\npublic class ServerSettings extends Settings{\n\t\n\tpublic ServerSettings(long serverId) {\n\t\tsuper(serverId);\n\t\tsettingsList = Database.getS... | java | chosen |
[
{
"from": "system",
"value": "COOPR-652: Set connection close on calls to /status\n"
},
{
"from": "human",
"value": "/*\n * Copyright © 2012-2014 Cask Data, Inc.\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": "Add another classloader test case.\n"
},
{
"from": "human",
"value": "package com.logzc.webzic.demo.servlet;\n\nimport javax.servlet.ServletException;\nimport javax.servlet.annotation.WebServlet;\nimport javax.servlet.http.HttpServlet;\nimport javax.servlet.http.Htt... | java | chosen |
[
{
"from": "system",
"value": "Disable every single test that uses clustering.\n"
},
{
"from": "human",
"value": "package com.codingchili.core.protocol;\n\nimport io.vertx.core.Vertx;\nimport io.vertx.core.VertxOptions;\nimport io.vertx.ext.unit.Async;\nimport io.vertx.ext.unit.TestContext;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Set title style and disabled color"
},
{
"from": "human",
"value": "package com.quemb.qmbform.view;\n\nimport com.quemb.qmbform.R;\nimport com.quemb.qmbform.descriptor.RowDescriptor;\n\nimport android.content.Context;\nimport android.widget.TextView;\n\n/**\n * Crea... | java | chosen |
[
{
"from": "system",
"value": "Throw exception when there are multiple implementations on the classpath\n\nAlso grouped \"No implementation\" test in with other implementation\nloading tests.\n"
},
{
"from": "human",
"value": "package uk.co.littlemike.jextend;\n\nimport org.junit.After;\nimport o... | java | chosen |
[
{
"from": "system",
"value": "Add a unit test for the dice roll logic\n"
},
{
"from": "human",
"value": "package com.example.diceroller;\n\nimport org.junit.Test;\n\nimport static org.junit.Assert.*;\n\n/**\n * Example local unit test, which will execute on the development machine (host).\n *\n ... | java | chosen |
[
{
"from": "system",
"value": "Revert from fs map (I37).\n"
},
{
"from": "human",
"value": "package roart.common.model;\n\npublic class FileObject {\n public FileObject() {\n }\npublic FileObject(Object file, String fs) {\n\t\tthis.object = file;\n\t\tthis.fs = fs;\n\t}\npublic Object objec... | java | chosen |
[
{
"from": "system",
"value": "[Android] Use library Context to get Inflater for shared mode\n\nFor color picker on Android, it uses ColorPickerAdvanced and\nColorPickerSimple which is customized view. So the inflater\nshould contain the ClassLoader which has loaded the relevant\nclasses. As for shared mode,... | java | chosen |
[
{
"from": "system",
"value": "Swap the speeds of the two-mode drivetrain\n"
},
{
"from": "human",
"value": " package edu.stuy.commands;\n\nimport static edu.stuy.RobotMap.*;\nimport edu.stuy.Robot;\nimport edu.wpi.first.wpilibj.command.Command;\n\n/**\n *\n */\npublic class DrivetrainTankDriveCo... | java | chosen |
[
{
"from": "system",
"value": "Use empty constructor for empty params.\n"
},
{
"from": "human",
"value": "package io.prediction.examples.java.recommendations.tutorial4;\n\nimport io.prediction.controller.java.LJavaServing;\nimport io.prediction.controller.java.EmptyParams;\nimport java.lang.Itera... | java | chosen |
[
{
"from": "system",
"value": "Use Type parameter for configuration in initialize\n\nUse Type parameter for configuration in both, run and initialize so that one can for example add another ConfigurationBundle in initialize method."
},
{
"from": "human",
"value": "package io.dropwizard;\n\nimport... | java | chosen |
[
{
"from": "system",
"value": "Add util method for http url connection\n"
},
{
"from": "human",
"value": "package com.amalgam.net;\n\nimport java.net.HttpURLConnection;\n\n/**\n */\npublic class HttpURLConnectionUtils {\n private HttpURLConnectionUtils() {}\n\n public static final void disc... | java | chosen |
[
{
"from": "system",
"value": "Fix typo in package info\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2018, TeamDev. All rights reserved.\n *\n * Redistribution and use in source and/or binary forms, with or without\n * modification, must retain the above copyright notice and the following\... | java | chosen |
[
{
"from": "system",
"value": "Add method to used operation services"
},
{
"from": "human",
"value": "package org.gluu.persist.hybrid.impl;\n\nimport java.util.List;\n\nimport org.gluu.persist.operation.PersistenceOperationService;\n\n/**\n * Hybrid Operation Service\n *\n * @author Yuriy Movchan... | java | chosen |
[
{
"from": "system",
"value": "Remove unnecessary comment and fix typo\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2007-2015, Kaazing Corporation. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compli... | java | chosen |
[
{
"from": "system",
"value": "Fix CraftBukkit handle field being serialized\n"
},
{
"from": "human",
"value": "package roycurtis.signshopexport.json;\n\nimport com.google.gson.ExclusionStrategy;\nimport com.google.gson.FieldAttributes;\n\npublic class Exclusions implements ExclusionStrategy\n{\n... | java | chosen |
[
{
"from": "system",
"value": "Add new diff category for deprecated differences\n\n"
},
{
"from": "human",
"value": "package graphql.schema.diff;\n\nimport graphql.PublicApi;\n\n/**\n * A classification of difference events.\n */\n@PublicApi\npublic enum DiffCategory {\n /**\n * The new AP... | java | chosen |
[
{
"from": "system",
"value": "Add comment regarding Google account security\n"
},
{
"from": "human",
"value": "package org.linuxguy.MarketBot;\n\nimport org.linuxguy.MarketBot.FlowdockNotifier.FlowdockNotificationType;\n\npublic class MarketBot { \n public static void main(String[] args) thro... | java | chosen |
[
{
"from": "system",
"value": "Add pid in log statement\n"
},
{
"from": "human",
"value": "package in.dream_lab.goffish.giraph.examples;\n\nimport in.dream_lab.goffish.api.*;\nimport org.apache.hadoop.io.BytesWritable;\nimport org.apache.hadoop.io.DoubleWritable;\nimport org.apache.hadoop.io.Long... | java | chosen |
[
{
"from": "system",
"value": "Use VueGwtWidget instead of VueGwtPanel\n"
},
{
"from": "human",
"value": "package com.axellience.vuegwtdemo.client;\n\nimport com.axellience.vuegwt.client.Vue;\nimport com.axellience.vuegwt.client.VueGWT;\nimport com.axellience.vuegwt.client.gwtpanel.VueGwtPanel;\n... | java | chosen |
[
{
"from": "system",
"value": "Remove leftovers from example config\n"
},
{
"from": "human",
"value": "package com.quiptiq.wurmrest;\n\nimport javax.validation.Valid;\nimport javax.validation.constraints.Max;\nimport javax.validation.constraints.Min;\nimport javax.validation.constraints.NotNull;\... | java | chosen |
[
{
"from": "system",
"value": "Use Inserted/Removed instead of Found/Lost\n"
},
{
"from": "human",
"value": "package org.irmacard.androidcardproxy.messages;\n\npublic class ReaderMessage {\n\tpublic String type = null;\n\tpublic String name = null;\n\tpublic String id = null;\n\tpublic ReaderMess... | java | chosen |
[
{
"from": "system",
"value": "Update copyright year on file header\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2015-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 compliance ... | java | chosen |
[
{
"from": "system",
"value": "Use the replacement data source\n"
},
{
"from": "human",
"value": "package org.bridgedb.examples;\n\nimport org.bridgedb.BridgeDb;\nimport org.bridgedb.IDMapper;\nimport org.bridgedb.IDMapperException;\nimport org.bridgedb.Xref;\nimport org.bridgedb.bio.BioDataSourc... | java | chosen |
[
{
"from": "system",
"value": "Fix null pointer exception that occurs if the type is null\n"
},
{
"from": "human",
"value": "package com.commit451.gitlab.model.api;\n\nimport com.google.gson.annotations.SerializedName;\n\nimport com.commit451.gitlab.R;\n\nimport org.parceler.Parcel;\n\nimport and... | java | chosen |
[
{
"from": "system",
"value": "Update display for player order\n"
},
{
"from": "human",
"value": "package vrampal.connectfour.robot;\n\nimport vrampal.connectfour.core.Player;\n\npublic class ConnectFourRobotStats implements Runnable {\n\n public static void main(String[] args) {\n new Connec... | java | chosen |
[
{
"from": "system",
"value": "Fix application class to support robolectric with multidex\n"
},
{
"from": "human",
"value": "package treehou.se.habit;\n\nimport android.content.Context;\nimport android.support.multidex.MultiDex;\n\nimport treehou.se.habit.connector.TrustModifier;\n\npublic class ... | java | chosen |
[
{
"from": "system",
"value": "Increase the amount of output in build scan performance tests.\n"
},
{
"from": "human",
"value": "package ${packageName};\n\nimport static org.junit.Assert.*;\n\npublic class ${testClassName} {\n\n private final ${productionClassName} production = new ${productio... | java | chosen |
[
{
"from": "system",
"value": "Add javadoc to random port method\n"
},
{
"from": "human",
"value": "package zero.downtime.soa.api;\n\nimport org.apache.camel.builder.RouteBuilder;\nimport org.eclipse.jetty.server.Server;\n\n/**\n * @author magonzal\n * @version 1.0.0\n */\npublic class HelloServi... | java | chosen |
[
{
"from": "system",
"value": "Add byte rule as application example.\n"
},
{
"from": "human",
"value": "package com.novoda.downloadmanager.demo;\n\nimport android.app.Application;\nimport android.os.Handler;\nimport android.os.Looper;\n\nimport com.facebook.stetho.Stetho;\nimport com.novoda.downl... | java | chosen |
[
{
"from": "system",
"value": "Add API method for getting upcoming components."
},
{
"from": "human",
"value": "package uk.ac.ox.oucs.vle;\n\nimport java.util.List;\nimport java.util.Set;\n\npublic interface CourseSignupService {\n\t\n\tpublic static enum Status {PENDING, WITHDRAWN, APPROVED, ACC... | java | chosen |
[
{
"from": "system",
"value": "Check if verification is enabled\n"
},
{
"from": "human",
"value": "package org.jboss.aerogear.unifiedpush.service.impl;\n\nimport javax.ejb.Asynchronous;\nimport javax.ejb.Stateless;\nimport javax.enterprise.inject.Alternative;\nimport javax.inject.Inject;\n\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Update docker images to version 46\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 * ... | java | chosen |
[
{
"from": "system",
"value": "Fix deferred tile entity type register"
},
{
"from": "human",
"value": "package info.u_team.u_team_core.util.registry;\n\nimport java.util.function.Supplier;\n\nimport net.minecraft.world.level.block.entity.BlockEntity;\nimport net.minecraft.world.level.block.entity... | java | chosen |
[
{
"from": "system",
"value": "Add some javadoc to test fixture code.\n\nTo make checkstyle happy.\n"
},
{
"from": "human",
"value": "package com.skraylabs.poker;\n\nimport static org.hamcrest.CoreMatchers.allOf;\nimport static org.hamcrest.CoreMatchers.containsString;\nimport static org.hamcrest... | java | chosen |
[
{
"from": "system",
"value": "Switch debug mode from configuration"
},
{
"from": "human",
"value": "package com.bukkit.plugin.java.Component;\r\n\r\nimport java.util.logging.Logger;\r\n\r\nimport org.bukkit.plugin.Plugin;\r\n\r\n/**\r\n * Provide multi type log function\r\n * @author Decker\r\n ... | java | chosen |
[
{
"from": "system",
"value": "Allow intercepting the HTTP client.\n"
},
{
"from": "human",
"value": "package info.metadude.java.library.halfnarp;\n\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport com.fasterxml.jackson.databind.PropertyNamingStrategy;\nimport com.squareup.okhttp.OkHt... | java | chosen |
[
{
"from": "system",
"value": "Refactor producer behavior to include close."
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2007-2014, Kaazing Corporation. All rights reserved.\n */\npackage org.kaazing.qpid.amqp_1_0.jms;\n\nimport static javax.jms.Session.AUTO_ACKNOWLEDGE;\n\nimport org.ap... | java | chosen |
[
{
"from": "system",
"value": "Add accessor to unmodifiable copy of scoresMap\n"
},
{
"from": "human",
"value": "package com.grayben.riskExtractor.htmlScorer.partScorers.tagScorers;\n\nimport com.grayben.riskExtractor.htmlScorer.partScorers.Scorer;\n\nimport java.util.Map;\n\n/**\n * Created by b... | java | chosen |
[
{
"from": "system",
"value": "Update the username in the body object when it is changed in the client.\n\n\ngit-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@1686 542714f4-19e9-0310-aa3c-eee0fc999fb1\n"
},
{
"from": "human",
"value": "//\n// $Id: CrowdClient.java,v 1.8 2002/03/05 05:33:25 mdb... | java | chosen |
[
{
"from": "system",
"value": "Change id from Integer to Long\n"
},
{
"from": "human",
"value": "package nl.wjl.template.springbootjpa.domain;\n\nimport javax.persistence.Entity;\nimport javax.persistence.GeneratedValue;\nimport javax.persistence.GenerationType;\nimport javax.persistence.Id;\n\n/... | java | chosen |
[
{
"from": "system",
"value": "Add basic Discord client log in\n"
},
{
"from": "human",
"value": "package co.phoenixlab.discord;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport sx.blah.discord.DiscordClient;\n\npublic class VahrhedralBot implements Runnable {\n\n public st... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Ignore broken tests until fixed\"\n\nThis reverts commit 1b5c04a0aec37fb3ecb4910764982eb0f168887f.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2013-2016 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"Li... | java | chosen |
[
{
"from": "system",
"value": "Add another test case to increase coverage\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.atlas.bioentity.interpro;\n\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.springframework.test.context.ContextConfiguration;\nimport org.springfra... | java | chosen |
[
{
"from": "system",
"value": "Update package info for `jdbc` package\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 notice ... | java | chosen |
[
{
"from": "system",
"value": "Change class references to the local copy from OVSDB package\n"
},
{
"from": "human",
"value": "package org.opendaylight.controller.samples.differentiatedforwarding.internal;\n\nimport org.opendaylight.controller.sal.core.Node;\nimport org.opendaylight.ovsdb.lib.not... | java | chosen |
[
{
"from": "system",
"value": "Update event service to attach pictures to event\n"
},
{
"from": "human",
"value": "package fr.alecharp.picshare.service;\n\nimport fr.alecharp.picshare.domain.Event;\nimport fr.alecharp.picshare.repository.EventRepository;\n\nimport javax.inject.Inject;\nimport jav... | java | chosen |
[
{
"from": "system",
"value": "Add isAnswerInDomain validation method [ci skip]\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Dmitry Ustalov\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": "Modify Clear Command success message\n"
},
{
"from": "human",
"value": "package seedu.address.logic.commands;\n\nimport seedu.address.model.TaskList;\n\n/**\n * Clears the address book.\n */\npublic class ClearCommand extends Command {\n\n public static final Str... | java | chosen |
[
{
"from": "system",
"value": "Update comments and wrap line for readability\n"
},
{
"from": "human",
"value": "package seedu.ezdo.logic.parser;\n\nimport static seedu.ezdo.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;\n\nimport java.util.ArrayList;\n\nimport seedu.ezdo.logic.commands.Com... | java | chosen |
[
{
"from": "system",
"value": "Fix Github blog feed URL.\n"
},
{
"from": "human",
"value": "package com.gh4a.model;\n\nimport io.reactivex.Single;\nimport retrofit2.Response;\nimport retrofit2.http.GET;\nimport retrofit2.http.Path;\n\npublic interface GitHubFeedService {\n @GET(\"{url}\")\n ... | java | chosen |
[
{
"from": "system",
"value": "Fix 1.8 JavaDoc warning about '_' being a reserved identifier name\n"
},
{
"from": "human",
"value": "package net.emphased.malle.template.servlet;\n\nclass Utils {\n\n public static final boolean JSTL_EXISTS = isClassExists(\"javax.servlet.jsp.jstl.core.Config\")... | java | chosen |
[
{
"from": "system",
"value": "Make import dispatcher return one ID\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2018, TeamDev. All rights reserved.\n *\n * Redistribution and use in source and/or binary forms, with or without\n * modification, must retain the above copyright notice and th... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Made the periodic table different\"\n\nThis reverts commit 62a32dec0d500ab8de44148074d8406911c894c2.\n"
},
{
"from": "human",
"value": "package Functions;\nimport javax.swing.*;\nimport javax.swing.border.*;\n\nimport Elements.Element;\n\nimport java.awt.*... | java | chosen |
[
{
"from": "system",
"value": "Fix build break related to TUSCANY-1102\n\ngit-svn-id: d03bf258fa706134e13af30ae75b879a77d8986d@508535 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "package org.apache.tuscany.sdo.test;\nimport junit.framework.TestCase;\nimport junit.framew... | java | chosen |
[
{
"from": "system",
"value": "Bump 2.1.0.3 beta release - ha\n"
},
{
"from": "human",
"value": "package me.semx11.autotip.api.reply;\n\nimport java.util.Collections;\nimport java.util.List;\nimport me.semx11.autotip.api.util.RequestType;\n\npublic class TipReply extends AbstractReply {\n\n pr... | java | chosen |
[
{
"from": "system",
"value": "Update to latest api change\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 Red Hat, Inc.\n *\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * and Apache Licen... | java | chosen |
[
{
"from": "system",
"value": "Solve Running Time of Quicksort\n"
},
{
"from": "human",
"value": "package hackerrank;\n\nimport java.util.Scanner;\n\n/**\n * https://www.hackerrank.com/challenges/quicksort4\n */\npublic class RunningTimeOfQuicksort {\n private static int quicksort(int[] array)... | java | chosen |
[
{
"from": "system",
"value": "Change WeareableListener tag and implement onMessageReceived\n"
},
{
"from": "human",
"value": "package com.metroveu.metroveu;\n\nimport android.app.Service;\nimport android.content.Intent;\nimport android.os.IBinder;\nimport android.util.Log;\n\nimport com.google.a... | java | chosen |
[
{
"from": "system",
"value": "Trim repository URL\nwhen copied/pasted from a repo hoster (google code) the URL may include trailing spaces that make the clone command fail\n"
},
{
"from": "human",
"value": "package hudson.plugins.git;\n\nimport java.io.Serializable;\n\nimport hudson.Extension;\n... | java | chosen |
[
{
"from": "system",
"value": "Add additional test to ensure the wrong methods are not implemented.\n"
},
{
"from": "human",
"value": "package com.md_5.fondue.protocol;\n\nimport java.lang.annotation.Annotation;\nimport java.lang.reflect.Method;\nimport java.util.Arrays;\nimport org.junit.Test;\n... | java | chosen |
[
{
"from": "system",
"value": "[prover] Disable warning messages in Z3\n"
},
{
"from": "human",
"value": "package edu.kit.iti.formal.pse.worthwhile.prover;\n\nimport java.util.Arrays;\nimport java.util.List;\n\n/**\n * Caller for the Z3 Prover by Microsoft Research.\n */\npublic class Z3Prover ex... | java | chosen |
[
{
"from": "system",
"value": "[COLAB-2820] Add permissions to contest discussion\n"
},
{
"from": "human",
"value": "package org.xcolab.view.pages.proposals.view.contest;\n\nimport org.springframework.stereotype.Controller;\nimport org.springframework.ui.Model;\nimport org.springframework.web.bin... | java | chosen |
[
{
"from": "system",
"value": "[github] Add \"Enterprise\" to the list of possible user plans.\n\nIt fixes IDEA-101433, since unknown plan is treated as \"free\".\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2000-2012 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 ... | java | chosen |
[
{
"from": "system",
"value": "Set default text when no description found\n"
},
{
"from": "human",
"value": "package fr.free.nrw.commons.nearby;\n\nimport android.content.Context;\nimport android.view.View;\nimport android.widget.ImageView;\nimport android.widget.TextView;\n\nimport butterknife.B... | java | chosen |
[
{
"from": "system",
"value": "Increment the Java debugger minor version to 2.7\n\n-------------\nCreated by MOE: https://github.com/google/moe\nMOE_MIGRATED_REVID=138825830\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2015 Google Inc. All Rights Reserved.\n *\n * Licensed under the Apach... | java | chosen |
[
{
"from": "system",
"value": "Make network copy strategy public\n"
},
{
"from": "human",
"value": "/**\n * Copyright (c) 2018, RTE (http://www.rte-france.com)\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed wit... | java | chosen |
[
{
"from": "system",
"value": "Fix forge entries being registered too early\n"
},
{
"from": "human",
"value": "package org.cyclops.cyclopscore.config.configurabletypeaction;\n\nimport net.minecraftforge.registries.IForgeRegistryEntry;\nimport org.cyclops.cyclopscore.config.extendedconfig.Extended... | java | chosen |
[
{
"from": "system",
"value": "Fix delete free response subclass response deletion on rotation bug\n"
},
{
"from": "human",
"value": "package org.adaptlab.chpir.android.survey.QuestionFragments;\n\nimport org.adaptlab.chpir.android.survey.QuestionFragment;\nimport org.adaptlab.chpir.android.surve... | java | chosen |
[
{
"from": "system",
"value": "Fix finding the checkbox for the index filters\n\nBroken either by actual change or updating Checkboxes to extend CheckBoxBase.\nCould not click on 'All' in tests.\n"
},
{
"from": "human",
"value": "package com.autonomy.abc.selenium.find.filters;\n\nimport com.auton... | java | chosen |
[
{
"from": "system",
"value": "Add Moxy StrategyType for showMessage\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 *... | java | chosen |
[
{
"from": "system",
"value": "Enable cache for swagger ui web jar so that it's faster to load in test/uat envs\n"
},
{
"from": "human",
"value": "package org.openlmis.stockmanagement;\n\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.annotation.Con... | java | chosen |
[
{
"from": "system",
"value": "Make root node able to execute itself\n"
},
{
"from": "human",
"value": "package org.hummingbirdlang.nodes;\n\nimport com.oracle.truffle.api.frame.FrameDescriptor;\nimport com.oracle.truffle.api.frame.VirtualFrame;\nimport com.oracle.truffle.api.nodes.RootNode;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Correct Balance update logic upon transaction"
},
{
"from": "human",
"value": "package devopsdistilled.operp.server.data.service.account.impl;\n\nimport java.util.Date;\n\nimport javax.inject.Inject;\n\nimport org.springframework.stereotype.Service;\nimport org.spri... | java | chosen |
[
{
"from": "system",
"value": "Make main method open ServerForm\n"
},
{
"from": "human",
"value": "package me.izstas.rfs.client;\n\npublic class RfsClient {\n public static void main(String[] args) {\n }\n}\n"
},
{
"from": "gpt",
"value": "package me.izstas.rfs.client;\n\nimport... | java | chosen |
[
{
"from": "system",
"value": "Fix incorrect display of variable id in tooltip\n"
},
{
"from": "human",
"value": "package org.cyclops.integrateddynamics.core.item;\n\nimport net.minecraft.entity.player.EntityPlayer;\nimport net.minecraftforge.fml.relauncher.Side;\nimport net.minecraftforge.fml.re... | java | chosen |
[
{
"from": "system",
"value": "Refactor: Use ConfigXmlParser in activity. Adds CordovaWebView.init()\n\nThis does subtly change the API surface due to CordovaWebView.init(),\nbut only minimally, and is backwards compatibly with the default\ngenerated projects from prior versions.\n"
},
{
"from": "hum... | java | chosen |
[
{
"from": "system",
"value": "Check that GreatestCommonDivisor accepts negative second argument\n"
},
{
"from": "human",
"value": "package se.ericthelin.fractions;\n\nimport org.junit.Test;\n\nimport static org.hamcrest.CoreMatchers.is;\nimport static org.junit.Assert.assertThat;\n\npublic class... | java | chosen |
[
{
"from": "system",
"value": "Move GlossaryManager to tabpanels package (leftover)"
},
{
"from": "human",
"value": "/*\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at h... | java | chosen |
[
{
"from": "system",
"value": "Add Arabic and Japanese support for Personality Insights\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 IBM Corp. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except\n * in complia... | java | chosen |
[
{
"from": "system",
"value": "Remove unused queue type 'none'\n"
},
{
"from": "human",
"value": "package org.icij.extract;\n\nimport java.util.Locale;\n\n/**\n * An enumerated list of implemented queue types.\n *\n * @author Matthew Caruana Galizia <mcaruana@icij.org>\n * @since 1.0.0-beta\n */\... | java | chosen |
[
{
"from": "system",
"value": "Disable native transport by default unless allowed by system property."
},
{
"from": "human",
"value": "package protocolsupport.injector.network;\n\nimport net.minecraft.server.v1_8_R3.MinecraftServer;\nimport net.minecraft.server.v1_8_R3.ServerConnection;\nimport p... | java | chosen |
[
{
"from": "system",
"value": "Extend heat map with better color scale."
},
{
"from": "human",
"value": "package flg.rendering;\n\nimport java.awt.Color;\nimport java.awt.Graphics;\n\nimport javax.swing.JPanel;\n\n\npublic class HeatMap\nextends JPanel {\n\n private static final long serialVer... | java | chosen |
[
{
"from": "system",
"value": "Add taxon name example to gene product stub.\n\nSee issue: https://www.ebi.ac.uk/panda/jira/browse/GOA-2398\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.geneproduct.common.common;\n\nimport uk.ac.ebi.quickgo.geneproduct.common.document.GeneProductDoc... | java | chosen |
[
{
"from": "system",
"value": "Use API instead of direct calls in GUI event handler\n\nSorry for no GPG signature, but Git doesn't want to run GPG nor any\nother software. Reason: unknown\n\nSigned-off-by: TheSilkMiner <7e811527e53179cd216d0ac71740b4760bead5b2@outlook.com>\n"
},
{
"from": "human",
... | java | chosen |
[
{
"from": "system",
"value": "Fix invalid method used to get worlds\n"
},
{
"from": "human",
"value": "package openmods.network.targets;\n\nimport java.util.Collection;\nimport java.util.Set;\n\nimport net.minecraft.entity.player.EntityPlayerMP;\nimport net.minecraft.server.MinecraftServer;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Check that class is instantiated correctly"
},
{
"from": "human",
"value": "/**\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\... | java | chosen |
[
{
"from": "system",
"value": "Use exception if the image is not Ultrasound image.\n"
},
{
"from": "human",
"value": "package gov.nih.nci.ncia.util;\r\n\r\nimport java.text.DecimalFormat;\r\nimport java.text.NumberFormat;\r\n\r\n/**\r\n * Util class for Ultrasound process\r\n *\r\n * @author zhou... | java | chosen |
[
{
"from": "system",
"value": "Add index to table categories"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 Codenvy, S.A.\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 cop... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.