conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Fix compile issue in Vert.x 3 test.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License... | java | chosen |
[
{
"from": "system",
"value": "Remove mistakenly committed manual XML serializer injection\n"
},
{
"from": "human",
"value": "package edu.northwestern.bioinformatics.studycalendar.restlets;\n\nimport edu.northwestern.bioinformatics.studycalendar.dao.StudyDao;\nimport edu.northwestern.bioinformati... | java | chosen |
[
{
"from": "system",
"value": "Use of properties class for reading resources\n\n\nSVN-Revision: 864\n"
},
{
"from": "human",
"value": "/*\r\n * Created on Jul 19, 2004\r\n *\r\n */\r\npackage edu.wustl.catissuecore.util.global;\r\n\r\nimport java.util.ResourceBundle;\r\n\r\n/**\r\n * This class i... | java | chosen |
[
{
"from": "system",
"value": "Move fuel \"burn time\" string down, to vertically center it more\n"
},
{
"from": "human",
"value": "package mezz.jei.plugins.vanilla.furnace;\r\n\r\nimport javax.annotation.Nonnull;\r\nimport javax.annotation.Nullable;\r\nimport java.awt.Color;\r\nimport java.util.... | java | chosen |
[
{
"from": "system",
"value": "Upgrade deadline implementation to optional\n"
},
{
"from": "human",
"value": "package seedu.address.logic.parser;\n\nimport static seedu.address.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;\nimport static seedu.address.logic.parser.CliSyntax.PREFIX_DEADLIN... | java | chosen |
[
{
"from": "system",
"value": "Add newlines after class bracket\n"
},
{
"from": "human",
"value": "package com.kevinsimard.lambda.function;\n\nimport com.amazonaws.services.lambda.runtime.Context;\nimport com.amazonaws.services.lambda.runtime.RequestHandler;\n\n@SuppressWarnings(\"unused\")\npubl... | java | chosen |
[
{
"from": "system",
"value": "Fix bug: pasting structure destructively adds to location\n"
},
{
"from": "human",
"value": "package me.jacobcrofts.simplestructureloader;\n\nimport java.io.File;\nimport java.io.FileNotFoundException;\nimport java.io.FileReader;\nimport java.io.FileWriter;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Remove SA from the blueprints\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Red Hat, Inc. and/or its affiliates.\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": "Fix compilation error after core shifted\n\nCore is slowly removing raw types. Slowly. And one such removal broke shield.\n\nOriginal commit: elastic/x-pack-elasticsearch@aa1b668c63fba5c8af9e2dd984a456953b100a19\n"
},
{
"from": "human",
"value": "/*\n * Copyright El... | java | chosen |
[
{
"from": "system",
"value": "Modify ModelBuilder override to something that doesn't crash maven.\n\nBy extending the class we're overriding through plexus, we can avoid the problem of requiring a reference to it before it is loaded.\nThis commit should allow maven to continue normally, but with some extra ... | java | chosen |
[
{
"from": "system",
"value": "Use a more descriptive variable name and point out, that the parameter must not be null.\n\ngit-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1721006 13f79535-47bb-0310-9956-ffa450edef68\n\nFormer-commit-id: fb9867332588c499f86ee40c8f2e9e01fbce65af"
},
{
"from":... | java | chosen |
[
{
"from": "system",
"value": "Remove space before project name\n"
},
{
"from": "human",
"value": "package io.digdag.cli.client;\n\nimport io.digdag.cli.SystemExitException;\nimport io.digdag.client.DigdagClient;\nimport io.digdag.client.api.RestProject;\nimport io.digdag.client.api.RestProjectCo... | java | chosen |
[
{
"from": "system",
"value": "Update code with new Transformation method\n"
},
{
"from": "human",
"value": "/*\n * This file is released under terms of BSD license\n * See LICENSE file for more information\n */\npackage cx2x.translator.transformation;\n\nimport cx2x.translator.language.base.Claw... | java | chosen |
[
{
"from": "system",
"value": "Add genome-aware tree generation methods for logs and leaves\n"
},
{
"from": "human",
"value": "/*******************************************************************************\r\n * Copyright 2011-2014 SirSengir\r\n *\r\n * This work (the API) is licensed under the... | java | chosen |
[
{
"from": "system",
"value": "Clarify functionality of JournalledInsertNode by simplifying code\n"
},
{
"from": "human",
"value": "package org.apache.calcite.adapter.jdbc;\n\nimport io.pivotal.beach.calcite.programs.BasicForcedRule;\nimport org.apache.calcite.adapter.jdbc.tools.JdbcRelBuilder;\n... | java | chosen |
[
{
"from": "system",
"value": "Add Cabal & Opam dependency types\n"
},
{
"from": "human",
"value": "/**\n * Copyright (C) 2017 White Source 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 m... | java | chosen |
[
{
"from": "system",
"value": "Fix read stencilset.json gibberish when in other languages\n"
},
{
"from": "human",
"value": "/* 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 L... | java | chosen |
[
{
"from": "system",
"value": "Add jobtype as index for schedule\n"
},
{
"from": "human",
"value": "package org.commonjava.indy.schedule.datastax;\n\npublic class ScheduleDBUtil\n{\n\n public static String getSchemaCreateTableSchedule( String keyspace )\n {\n return \"CREATE TABLE IF... | java | chosen |
[
{
"from": "system",
"value": "Make test command clean up asynchornously\n"
},
{
"from": "human",
"value": "package ru.vyarus.dropwizard.guice.test;\n\nimport io.dropwizard.Application;\nimport io.dropwizard.Configuration;\nimport io.dropwizard.cli.EnvironmentCommand;\nimport io.dropwizard.setup.... | java | chosen |
[
{
"from": "system",
"value": "Fix bug in SDC configuration. Initial running version.\n"
},
{
"from": "human",
"value": "package org.opencds.cqf.ruler.plugin.sdc;\n\nimport ca.uhn.fhir.jpa.starter.annotations.OnDSTU3Condition;\nimport ca.uhn.fhir.jpa.starter.annotations.OnR4Condition;\n\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Correct controller for person look up (for type ahead). It returns the full list of objects matching the person"
},
{
"from": "human",
"value": "/*\n * To change this template, choose Tools | Templates\n * and open the template in the editor.\n */\npackage uk.org.rb... | java | chosen |
[
{
"from": "system",
"value": "Configure Freemarker to UTF-8 by default\n"
},
{
"from": "human",
"value": "package com.otogami.freemarker.config;\n\nimport javax.inject.Inject;\nimport javax.inject.Provider;\n\nimport com.otogami.freemarker.GlobalVariables;\nimport com.otogami.freemarker.MacroReg... | java | chosen |
[
{
"from": "system",
"value": "Remove some commented out code.\n"
},
{
"from": "human",
"value": "\npackage utm.csc492.diamondfire;\n\nimport com.badlogic.gdx.ApplicationAdapter;\nimport com.badlogic.gdx.Game;\nimport com.badlogic.gdx.Gdx;\nimport com.badlogic.gdx.Screen;\n//import com.badlogic.g... | java | chosen |
[
{
"from": "system",
"value": "Fix tree resource test to expect a paging response\n"
},
{
"from": "human",
"value": "package org.col.resources;\n\nimport java.util.List;\nimport javax.ws.rs.core.GenericType;\n\nimport org.col.api.model.TreeNode;\nimport org.col.db.mapper.InitMybatisRule;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Add color translation to PlaceholderValue parsing\n\n"
},
{
"from": "human",
"value": "package xyz.upperlevel.uppercore.config.parser;\n\nimport org.bukkit.plugin.Plugin;\nimport org.yaml.snakeyaml.nodes.Node;\nimport org.yaml.snakeyaml.nodes.NodeId;\nimport org.yam... | java | chosen |
[
{
"from": "system",
"value": "Update for reflecting SPI module\n\ngit-svn-id: 6e2e506005f11016269006bf59d22f905406eeba@904686 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor licens... | java | chosen |
[
{
"from": "system",
"value": "Update AET diff observer for possibility AET is absent\n"
},
{
"from": "human",
"value": "package com.bbn.kbp.events2014.assessmentDiff.observers;\n\nimport com.bbn.bue.common.symbols.Symbol;\nimport com.bbn.kbp.events2014.Response;\nimport com.bbn.kbp.events2014.Re... | java | chosen |
[
{
"from": "system",
"value": "Revert \"There is no need for a separate session for each transaction\"\n\nThis reverts commit 5863051c57182ee6fc61a6b63061cf63b95308e2.\n"
},
{
"from": "human",
"value": "package hu.bme.mit.codemodel.rifle.database;\n\nimport java.util.Map;\n\nimport hu.bme.mit.cod... | java | chosen |
[
{
"from": "system",
"value": "Remove unnecessary import of a class in the same package.\n"
},
{
"from": "human",
"value": "package com.topsy.jmxproxy;\n\nimport com.topsy.jmxproxy.jmx.ConnectionManager;\nimport com.topsy.jmxproxy.JMXProxyResource;\n\nimport io.dropwizard.Application;\nimport io.... | java | chosen |
[
{
"from": "system",
"value": "Print statistics easier to parse\n"
},
{
"from": "human",
"value": "package com.nurkiewicz.monkeys.actions;\n\nimport com.google.common.collect.ImmutableSet;\nimport com.nurkiewicz.monkeys.simulation.Population;\nimport com.nurkiewicz.monkeys.simulation.Statistics;\... | java | chosen |
[
{
"from": "system",
"value": "Fix Map to list problem.\n"
},
{
"from": "human",
"value": "package com.williamschris;\n\nimport org.springframework.web.bind.annotation.*;\n\nimport java.util.ArrayList;\nimport java.util.HashMap;\nimport java.util.List;\n\n@RestController\npublic class CustomerCon... | java | chosen |
[
{
"from": "system",
"value": "Fix help page link for tools without file extension"
},
{
"from": "human",
"value": "package fi.csc.microarray.client;\n\nimport fi.csc.microarray.client.operation.OperationDefinition;\nimport fi.csc.microarray.config.DirectoryLayout;\n\npublic class HelpMapping {\n... | java | chosen |
[
{
"from": "system",
"value": "Rename JLine3ConsoleTest to match class name\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2008-2019 The Aspectran Project\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": "Change protected members to private\n"
},
{
"from": "human",
"value": "package com.sleekbyte.tailor.grammar;\n\nimport com.sleekbyte.tailor.Tailor;\nimport org.junit.After;\nimport org.junit.Before;\nimport org.junit.Test;\n\nimport java.io.ByteArrayOutputStream;\ni... | java | chosen |
[
{
"from": "system",
"value": "Change the test entity type register for the better ender pearl to use\nthe deferred register"
},
{
"from": "human",
"value": "package info.u_team.u_team_test.init;\n\nimport info.u_team.u_team_core.entitytype.UEntityType;\nimport info.u_team.u_team_test.TestMod;\ni... | java | chosen |
[
{
"from": "system",
"value": "Remove inefficient boxing of int.\n"
},
{
"from": "human",
"value": "// Copyright (C) 2003-2009 by Object Mentor, Inc. All rights reserved.\n// Released under the terms of the CPL Common Public License version 1.0.\npackage fitnesse.testsystems.fit;\n\nimport java.u... | java | chosen |
[
{
"from": "system",
"value": "Switch to another command to call inventory service\n"
},
{
"from": "human",
"value": "package name.webdizz.fault.tolerance.gateway.endpoint;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.web.bind.annotation.PathVariab... | java | chosen |
[
{
"from": "system",
"value": "Fix moveForward() not checking environment range when the bot falls.\n"
},
{
"from": "human",
"value": "package de.craften.plugins.educraft.luaapi.functions;\n\nimport de.craften.plugins.educraft.luaapi.EduCraftApiFunction;\nimport org.bukkit.Location;\nimport org.b... | java | chosen |
[
{
"from": "system",
"value": "Allow CORS in swagger example\n"
},
{
"from": "human",
"value": "package com.example;\n\nimport javax.ws.rs.Consumes;\nimport javax.ws.rs.POST;\nimport javax.ws.rs.Path;\nimport javax.ws.rs.Produces;\nimport javax.ws.rs.core.MediaType;\n\nimport org.minijax.Minijax;... | java | chosen |
[
{
"from": "system",
"value": "engine: Make test connectivity non transactional\n\nNo reason for this command to be transactional as it doesn't alter the\nDB.\n\nChange-Id: I7423f4089d937f3094bf6054818390c3f26b1d9a\nSigned-off-by: Mike Kolesnik <c6947eedc1b0e500810c3b3db45e5f4633b0ea7d@redhat.com>\n"
},
... | java | chosen |
[
{
"from": "system",
"value": "Initialize SuperMapper as soon as possible to allow initialization() usage of E.\n"
},
{
"from": "human",
"value": "package com.artemis.generator.strategy.supermapper;\n\nimport com.artemis.BaseSystem;\nimport com.artemis.generator.common.BuilderModelStrategy;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Use abs time in <= 1.5.2\n"
},
{
"from": "human",
"value": "package protocolsupport.protocol.packet.middleimpl.clientbound.play.v_4_5_6_7_8_9r1_9r2_10_11_12r1_12r2;\n\nimport protocolsupport.api.ProtocolVersion;\nimport protocolsupport.protocol.packet.ClientBoundPac... | java | chosen |
[
{
"from": "system",
"value": "Fix replace bug in equality formula.\n"
},
{
"from": "human",
"value": "\npackage model.formulas;\n\npublic class Equality extends Formula {\n public final Term lhs;\n public final Term rhs;\n\n public Equality(Term lhs, Term rhs){\n this.lhs = lhs;\... | java | chosen |
[
{
"from": "system",
"value": "Add missing switch data field\n"
},
{
"from": "human",
"value": "package hwo.kurjatturskat.core.message.gameinit;\n\npublic class TrackPieces {\n public final Double length;\n public final Double radius;\n public final Double angle;\n\n public TrackPiece... | java | chosen |
[
{
"from": "system",
"value": "Use standard pattern for utility class\n"
},
{
"from": "human",
"value": "package com.getbase.android.autoprovider;\n\nimport com.google.common.collect.ImmutableBiMap;\n\nimport org.chalup.thneed.ModelGraph;\nimport org.chalup.thneed.ModelVisitor;\nimport org.chalup... | java | chosen |
[
{
"from": "system",
"value": "Undo jitpack changes. It seems to struggle with spring boot.\n"
},
{
"from": "human",
"value": "package org.cloudfoundry.community.servicebroker.config;\n\nimport org.springframework.boot.SpringApplication;\nimport org.springframework.boot.autoconfigure.SpringBootAp... | java | chosen |
[
{
"from": "system",
"value": "Add s3 configuration to boot starter auto configuration\n"
},
{
"from": "human",
"value": "package internal.org.springframework.content.s3.boot.autoconfigure;\n\nimport com.amazonaws.services.s3.AmazonS3Client;\n\nimport org.springframework.boot.autoconfigure.condit... | java | chosen |
[
{
"from": "system",
"value": "Fix non-resolved errors throwing errors on click\n"
},
{
"from": "human",
"value": "package me.coley.recaf.ui.controls.text;\n\nimport javafx.scene.Node;\nimport javafx.scene.control.ListCell;\nimport javafx.scene.text.Text;\nimport me.coley.recaf.util.struct.Pair;\... | java | chosen |
[
{
"from": "system",
"value": "Change comp and swap count from int to long\n"
},
{
"from": "human",
"value": "package org.algorithmprac.sort;\n\nimport com.google.common.base.Stopwatch;\n\nimport java.util.concurrent.TimeUnit;\n\npublic abstract class AbstractCostAwareSorter extends AbstractSorte... | java | chosen |
[
{
"from": "system",
"value": "Remove duplicate labels from Date fields.\n"
},
{
"from": "human",
"value": "package todomore.android.metawidget;\n\nimport java.util.Map;\n\nimport org.metawidget.android.widget.AndroidMetawidget;\nimport org.metawidget.widgetbuilder.iface.WidgetBuilder;\n\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Add track method with id and label parameter"
},
{
"from": "human",
"value": "/*-\n * Copyright 2015 Diamond Light Source Ltd.\n *\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public Licen... | java | chosen |
[
{
"from": "system",
"value": "Add Javadoc to working time properties\n"
},
{
"from": "human",
"value": "package org.synyx.urlaubsverwaltung.workingtime.config;\n\nimport org.springframework.boot.context.properties.ConfigurationProperties;\nimport org.springframework.stereotype.Component;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Fix Integration Test after changing response for index\n"
},
{
"from": "human",
"value": "import org.junit.*;\n\nimport play.mvc.*;\nimport play.test.*;\nimport play.libs.F.*;\n\nimport static play.test.Helpers.*;\nimport static org.junit.Assert.*;\n\nimport static ... | java | chosen |
[
{
"from": "system",
"value": "SAPPHO-2: Set up basics of kmymonet4j.\n"
},
{
"from": "human",
"value": "package uk.org.sappho.kmymoney.data;\n\nimport uk.org.sappho.kmymoney.rawdata.DataNode;\nimport uk.org.sappho.kmymoney.rawdata.DataNodeException;\n\npublic abstract class AbstractItemWithIdAnd... | java | chosen |
[
{
"from": "system",
"value": "Fix crash in FAB background tint am: 9d42ab847a\nam: 3b28559aa3\n\n* commit '3b28559aa396a40992b1c9e7e1e8af215340cd05':\n Fix crash in FAB background tint\n\nGitOrigin-RevId=84921ceb7940a7ce40affb58f22b4a11b35a3e60\n\nPiperOrigin-RevId: 140551245\n"
},
{
"from": "human... | java | chosen |
[
{
"from": "system",
"value": "Improve thread safety by not using a static instance of SimpleDateFormat\n"
},
{
"from": "human",
"value": "package beaform.events;\n\nimport java.text.SimpleDateFormat;\nimport java.util.Date;\n\nimport beaform.utilities.SystemTime;\n\npublic class FormulaCreatedE... | java | chosen |
[
{
"from": "system",
"value": "Add enum for chain names\n"
},
{
"from": "human",
"value": "package com.yahoo.vespa.hosted.node.admin.util;\n\n/**\n * Utility class for creating iptables commands\n *\n * @author mpolden\n */\npublic class IpTables {\n\n private static final String COMMAND = \"i... | java | chosen |
[
{
"from": "system",
"value": "Update dummy test with with new goto treatment version\n"
},
{
"from": "human",
"value": "package fr.insee.eno.main;\n\nimport java.io.File;\n\nimport fr.insee.eno.GenerationService;\nimport fr.insee.eno.generation.PoguesXML2DDIGenerator;\nimport fr.insee.eno.postpr... | java | chosen |
[
{
"from": "system",
"value": "Read breakpoint file from classpath\n"
},
{
"from": "human",
"value": "package com.thanglequoc.aqicalculator;\n\nimport java.io.File;\nimport java.io.IOException;\n\nimport com.fasterxml.jackson.core.JsonProcessingException;\nimport com.fasterxml.jackson.databind.Js... | java | chosen |
[
{
"from": "system",
"value": "Allow control of vespa-system-timer frequency in the range [1...1000] hz with environment variable VESPA_TIMER_HZ.\n"
},
{
"from": "human",
"value": "// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage co... | java | chosen |
[
{
"from": "system",
"value": "Connect to sodapop.se if debug is not found in the startup arguments\n"
},
{
"from": "human",
"value": "package edu.chalmers.sankoss.java;\n\n\nimport com.badlogic.gdx.backends.lwjgl.LwjglApplication;\nimport com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfigura... | java | chosen |
[
{
"from": "system",
"value": "Switch rear DT to move in opposite direction of front DT\n"
},
{
"from": "human",
"value": "/*\n * To change this template, choose Tools | Templates\n * and open the template in the editor.\n */\npackage mechanism;\n\nimport actuator.IMotor;\nimport core.GRTLoggedPr... | java | chosen |
[
{
"from": "system",
"value": "Fix REST interface of the Behaviour Timeout\n"
},
{
"from": "human",
"value": "package net.floodlightcontroller.prediction;\n\nimport org.json.JSONObject;\nimport org.restlet.resource.Get;\nimport org.restlet.resource.Post;\nimport org.restlet.resource.ServerResour... | java | chosen |
[
{
"from": "system",
"value": "Add PATROL and RAID entity spawn reasons\n"
},
{
"from": "human",
"value": "package com.laytonsmith.abstraction.enums;\n\nimport com.laytonsmith.annotations.MEnum;\n\n@MEnum(\"com.commandhelper.SpawnReason\")\npublic enum MCSpawnReason {\n\tBREEDING,\n\tBUILD_IRONGO... | java | chosen |
[
{
"from": "system",
"value": "Solve Jim and the Orders\n"
},
{
"from": "human",
"value": "package hackerrank;\n\nimport java.util.Scanner;\n\n/**\n * https://www.hackerrank.com/challenges/jim-and-the-orders\n */\npublic class JimAndTheOrders {\n public static void main(String[] args) {\n ... | java | chosen |
[
{
"from": "system",
"value": "Declare ASM7_EXPERIMENTAL for full compatibility with JDK 11 bytecode\n\nIssue: SPR-17096\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2002-2018 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you ... | java | chosen |
[
{
"from": "system",
"value": "Add exception throwing performance comment\n"
},
{
"from": "human",
"value": "package com.aemreunal.exception;\n\n/*\n ***************************\n * Copyright (c) 2014 *\n * *\n * This code belongs to: *\n * *... | java | chosen |
[
{
"from": "system",
"value": "Simplify version command and output\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 gitblit.com.\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 obtai... | java | chosen |
[
{
"from": "system",
"value": "Fix FindBugs issues: don't expose internal objects\n"
},
{
"from": "human",
"value": "package org.jenkinsci.plugins.radargun;\n\n/**\n * Represents remote login programs like ssh\n * \n * @author vjuranek\n *\n */\npublic enum RemoteLoginProgram {\n \n SSH(\"s... | java | chosen |
[
{
"from": "system",
"value": "Use default region if region settings not configured\n"
},
{
"from": "human",
"value": "package com.amazonaws.service.apigateway.importer.config;\n\nimport java.io.FileInputStream;\nimport java.io.IOException;\nimport java.util.Properties;\n\npublic class AwsConfig ... | java | chosen |
[
{
"from": "system",
"value": "Remove random execution of requests.\n"
},
{
"from": "human",
"value": "import httpserver.WebServer;\nimport requests.CiphersuiteRequest;\nimport requests.Ecrypt2LevelRequest;\nimport requests.OpenPortRequest;\n\nimport java.util.Random;\n\npublic class Client {\n ... | java | chosen |
[
{
"from": "system",
"value": "Set up the view to use the ImageView created in the getView\n"
},
{
"from": "human",
"value": "package com.andela.webservice;\n\nimport android.app.Activity;\nimport android.content.Context;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport and... | java | chosen |
[
{
"from": "system",
"value": "Revert code changes from bea7cd1\n"
},
{
"from": "human",
"value": "package ch.jalu.injector.annotationhandlers;\n\nimport javax.annotation.Nullable;\nimport java.lang.annotation.Annotation;\n\n/**\n * .\n */\npublic abstract class TypeSafeAnnotationHandler<T extend... | java | chosen |
[
{
"from": "system",
"value": "Fix Baykok spawning without his bow\n\nIncrease time between finishing the ceremony and spawning Baykok"
},
{
"from": "human",
"value": "package totemic_commons.pokefenn.ceremony;\n\nimport net.minecraft.util.BlockPos;\nimport net.minecraft.util.EnumFacing;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Fix vertical scrolling on race details activity on older devices\n\nWhen the Google Maps workaround is needed on older devices, the\nvertical scrolling was also inadvertently disabled.\n\nSigned-off-by: Greg Meiste <8a8f45e57c045ec63dc7e56e5eda862ea8c7cd4f@gmail.com>\n"
},
... | java | chosen |
[
{
"from": "system",
"value": "Change context to / to support OS X and Windows\n"
},
{
"from": "human",
"value": "package scratch;\n\nimport com.ettrema.httpclient.ReportMethod;\nimport java.io.IOException;\nimport org.apache.commons.httpclient.HttpClient;\nimport org.apache.commons.httpclient.me... | java | chosen |
[
{
"from": "system",
"value": "Revert \"[generator] allow overwriting default output configuration\"\n\nThis reverts commit 256b013e2cd00d0a51350f9aa18e118b6c72dfe8.\n"
},
{
"from": "human",
"value": "/*******************************************************************************\n * Copyright (... | java | chosen |
[
{
"from": "system",
"value": "Fix new name in test mod"
},
{
"from": "human",
"value": "package info.u_team.u_team_test.dimension;\r\n\r\nimport info.u_team.u_team_test.init.TestBiomes;\r\nimport net.minecraft.world.World;\r\nimport net.minecraft.world.biome.provider.*;\r\nimport net.minecraft.w... | java | chosen |
[
{
"from": "system",
"value": "Fix example mod code for 1.7\n"
},
{
"from": "human",
"value": "package com.example.examplemod;\n\nimport net.minecraft.block.Block;\nimport cpw.mods.fml.common.Mod;\nimport cpw.mods.fml.common.Mod.EventHandler;\nimport cpw.mods.fml.common.event.FMLInitializationEve... | java | chosen |
[
{
"from": "system",
"value": "Add test annotation again, ignore overrides this.\n"
},
{
"from": "human",
"value": "package com.crawljax.util;\n\nimport static org.junit.Assert.assertEquals;\nimport static org.junit.Assert.assertNotNull;\n\nimport java.io.File;\n\nimport org.junit.Ignore;\n\npubl... | java | chosen |
[
{
"from": "system",
"value": "Clarify role of token listener service\n"
},
{
"from": "human",
"value": "package com.kickstarter.libs.gcm;\n\nimport android.content.Intent;\n\nimport com.google.android.gms.iid.InstanceIDListenerService;\n\nimport timber.log.Timber;\n\n/**\n * Handle the creation,... | java | chosen |
[
{
"from": "system",
"value": "Fix usage of java 11 API\n"
},
{
"from": "human",
"value": "/**\n * \n */\npackage at.porscheinformatik.seleniumcomponents;\n\nimport java.util.Locale;\n\n/**\n * @author Daniel Furtlehner\n */\npublic final class LocaleUtils\n{\n\n private LocaleUtils()\n {\n... | java | chosen |
[
{
"from": "system",
"value": "Change logging api to incldue handle\n\n"
},
{
"from": "human",
"value": "package org.skife.jdbi.v2.logging;\n\nimport org.skife.jdbi.v2.tweak.SQLLog;\nimport org.skife.jdbi.v2.Handle;\n\n/**\n * Default SQLLog implementation, does nothing\n */\npublic final class N... | java | chosen |
[
{
"from": "system",
"value": "Set default server address to localhost\n\nWas 127.0.1.1 before"
},
{
"from": "human",
"value": "package devopsdistilled.operp.client;\n\nimport javax.swing.UIManager;\nimport javax.swing.UIManager.LookAndFeelInfo;\n\nimport org.springframework.context.ApplicationCo... | java | chosen |
[
{
"from": "system",
"value": "Store clinical track fields with null values in session\n"
},
{
"from": "human",
"value": "package org.cbioportal.web.parameter;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimport com.faster... | java | chosen |
[
{
"from": "system",
"value": "Document default bind rule sort order\n"
},
{
"from": "human",
"value": "package org.grouplens.inject.graph;\n\n/**\n * A repository for obtaining type nodes and resolving desires. The reflection\n * implementation uses annotations and subclassing relationships to ... | java | chosen |
[
{
"from": "system",
"value": "Fix tests by stubbing out two methods requiring a real image\n"
},
{
"from": "human",
"value": "package com.fundynamic.d2tm.game.entities.units;\n\n\nimport com.fundynamic.d2tm.game.entities.EntityData;\nimport org.mockito.Mockito;\nimport org.newdawn.slick.Image;\n... | java | chosen |
[
{
"from": "system",
"value": "Test for discarding text before and after the source match\n"
},
{
"from": "human",
"value": "package com.librato.metrics;\n\nimport junit.framework.Assert;\nimport junit.framework.TestCase;\n\nimport java.util.regex.Pattern;\n\npublic class SourceInformationTest ex... | java | chosen |
[
{
"from": "system",
"value": "Disable this test which doesn't work probably for environmental reasons\n"
},
{
"from": "human",
"value": "package org.sagebionetworks.bridge.sdk;\n\nimport static org.junit.Assert.assertEquals;\nimport static org.junit.Assert.assertNotNull;\nimport static org.junit... | java | chosen |
[
{
"from": "system",
"value": "Update proj4js from 2.4.4 to 2.5.0"
},
{
"from": "human",
"value": "/*******************************************************************************\r\n * Copyright 2014, 2017 gwt-ol3\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n ... | java | chosen |
[
{
"from": "system",
"value": "Use better name for window title\n"
},
{
"from": "human",
"value": "package {{package-name}};\n\nimport com.badlogic.gdx.backends.lwjgl.LwjglApplication;\nimport com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;\n\npublic class DesktopLauncher {\n\tpubl... | java | chosen |
[
{
"from": "system",
"value": "Add .amr extension to supported audio files\n"
},
{
"from": "human",
"value": "package com.todoist.mediaparser;\n\nimport com.todoist.mediaparser.util.StringUtils;\n\nclass AudioFileParser extends MediaParser {\n // FIXME: .aac is only supported in Android 3.0+.\... | java | chosen |
[
{
"from": "system",
"value": "Remove version when registering Chrome node in Selenium Hub\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 fil... | java | chosen |
[
{
"from": "system",
"value": "Use IOException instead of Throwable for not successful http status\n"
},
{
"from": "human",
"value": "package de.fau.amos.virtualledger.android.api.shared;\n\nimport android.util.Log;\n\nimport io.reactivex.subjects.PublishSubject;\nimport retrofit2.Call;\nimport r... | java | chosen |
[
{
"from": "system",
"value": "Remove depreciated createJSModules @ovveride marker"
},
{
"from": "human",
"value": "package io.branch.rnbranch;\n\nimport java.util.*;\n\nimport com.facebook.react.ReactPackage;\nimport com.facebook.react.bridge.JavaScriptModule;\nimport com.facebook.react.bridge.N... | java | chosen |
[
{
"from": "system",
"value": "Add API key error when testing login.\n"
},
{
"from": "human",
"value": "package com.uwetrottmann.thetvdb.services;\n\nimport com.uwetrottmann.thetvdb.BaseTestCase;\nimport com.uwetrottmann.thetvdb.entities.LoginData;\nimport com.uwetrottmann.thetvdb.entities.Token;... | java | chosen |
[
{
"from": "system",
"value": "Fix max when lots of tasks are in ZK\n"
},
{
"from": "human",
"value": "package com.hubspot.singularity.data.history;\n\nimport java.util.List;\n\nimport com.google.common.collect.Lists;\n\npublic abstract class BlendedHistoryHelper<T> {\n\n protected abstract List... | java | chosen |
[
{
"from": "system",
"value": "Make constants class and members package private\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) Fredrik Larsson <nossralf@gmail.com>\n * All rights reserved.\n *\n * This software may be modified and distributed under the terms\n * of the BSD license. See ... | java | chosen |
[
{
"from": "system",
"value": "Set num of threads 1 on service node\n"
},
{
"from": "human",
"value": "package io.scalecube.gateway.examples;\n\nimport io.scalecube.config.ConfigRegistry;\nimport io.scalecube.gateway.config.GatewayConfigRegistry;\nimport io.scalecube.services.Microservices;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Add helper to simplify wrapper use\n"
},
{
"from": "human",
"value": "package org.realityforge.replicant.client.transport;\n\nimport java.util.Objects;\nimport java.util.function.Consumer;\nimport java.util.function.Supplier;\nimport javax.annotation.Nonnull;\nimpor... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.