conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Change the name of the class\n"
},
{
"from": "human",
"value": "// You are given a phone book that consists of people's names and their phone number. After that \n// you will be given some person's name as query. For each query, print the phone number of that \n// p... | java | chosen |
[
{
"from": "system",
"value": "WIP: Enable operations that write to the DB to be rolled back on error\nby wrapping them in transactions.\n\nClean up: Remove leftover `delete` method from `OntologyNode` class.\n"
},
{
"from": "human",
"value": "package models.nodes;\n\nimport play.libs.F.Promise;\... | java | chosen |
[
{
"from": "system",
"value": "Use correct settings for running\n"
},
{
"from": "human",
"value": "import edu.berkeley.nlp.Test;\n\npublic class Main {\n\n public static void main(String[] args) {\n System.out.println(\"Hello World!\");\n Test<MockClass> test = new Test<MockClass... | java | chosen |
[
{
"from": "system",
"value": "Print out what's coming back from 'read'\n"
},
{
"from": "human",
"value": "package hdm.pk070.jscheme;\n\nimport hdm.pk070.jscheme.obj.SchemeObject;\nimport hdm.pk070.jscheme.reader.SchemeReader;\n\n/**\n * Created by patrick on 19.04.16.\n */\npublic class JScheme ... | java | chosen |
[
{
"from": "system",
"value": "Add Worlds model to main class\n"
},
{
"from": "human",
"value": "package com.nelsonjrodrigues.pchud;\n\nimport java.io.IOException;\n\nimport com.nelsonjrodrigues.pchud.net.MessageListener;\nimport com.nelsonjrodrigues.pchud.net.NetThread;\nimport com.nelsonjrodrig... | java | chosen |
[
{
"from": "system",
"value": "Move static method to top of file.\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2013 Square, 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 License.\n * You may ob... | java | chosen |
[
{
"from": "system",
"value": "Fix possible compatibility issue on older SDK versions\n"
},
{
"from": "human",
"value": "package mozilla.org.webmaker.activity;\n\nimport android.app.ActionBar;\nimport android.content.res.Resources;\nimport android.graphics.drawable.ColorDrawable;\nimport android.... | java | chosen |
[
{
"from": "system",
"value": "Remove unnecessary modifiers to follow the convention\n\nChange-Id: Ie8ff539252df6ed9df5ff827d639166a78fbf18d\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 Open Networking Laboratory\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")... | java | chosen |
[
{
"from": "system",
"value": "Fix comment in API files.\n"
},
{
"from": "human",
"value": "package invtweaks.api;\n\nimport java.lang.annotation.ElementType;\nimport java.lang.annotation.Retention;\nimport java.lang.annotation.RetentionPolicy;\nimport java.lang.annotation.Target;\n\n@Retention(R... | java | chosen |
[
{
"from": "system",
"value": "Correct for internal adjustment to block resistance in getter.\n"
},
{
"from": "human",
"value": "package org.pfaa.block;\n\nimport java.util.List;\n\nimport net.minecraft.block.Block;\nimport net.minecraft.block.material.Material;\nimport net.minecraft.creativetab.... | java | chosen |
[
{
"from": "system",
"value": "Switch from LinkedList to ArrayList\n\nJust a simple list. No need for extra overhead..\n"
},
{
"from": "human",
"value": "package com.google.refine.importers.tree;\n\nimport java.util.LinkedList;\nimport java.util.List;\n\nimport com.google.refine.model.Cell;\n\n/... | java | chosen |
[
{
"from": "system",
"value": "Add signal for shutdown procs\n"
},
{
"from": "human",
"value": "package com.breakersoft.plow;\n\npublic class Signal {\n\n /**\n * Exit signal for an aborted dispatch.\n */\n public static final int NORMAL = 0;\n\n /**\n * Exit signal for an ab... | java | chosen |
[
{
"from": "system",
"value": "Update error message to yml"
},
{
"from": "human",
"value": "package io.prometheus.cloudwatch;\n\nimport io.prometheus.client.exporter.MetricsServlet;\nimport java.io.FileReader;\nimport org.eclipse.jetty.server.Server;\nimport org.eclipse.jetty.servlet.ServletConte... | java | chosen |
[
{
"from": "system",
"value": "Allow Content-Type header in CORS.\n"
},
{
"from": "human",
"value": "package info.agrueneberg.fhir.filters;\n\nimport java.io.IOException;\nimport javax.servlet.Filter;\nimport javax.servlet.FilterChain;\nimport javax.servlet.FilterConfig;\nimport javax.servlet.Ser... | java | chosen |
[
{
"from": "system",
"value": "Make inject throw an exception if no injection took place.\n"
},
{
"from": "human",
"value": "package toothpick;\n\nimport toothpick.registries.memberinjector.MemberInjectorRegistryLocator;\n\n/**\n * Default implementation of an injector.\n */\npublic final class I... | java | chosen |
[
{
"from": "system",
"value": "Fix the language object (wasn't available before)\n"
},
{
"from": "human",
"value": "package ceylon.language;\n\nimport com.redhat.ceylon.common.Versions;\nimport com.redhat.ceylon.compiler.java.metadata.Ceylon;\nimport com.redhat.ceylon.compiler.java.metadata.Objec... | java | chosen |
[
{
"from": "system",
"value": "Update display of task card\n"
},
{
"from": "human",
"value": "package seedu.geekeep.ui;\n\nimport javafx.fxml.FXML;\nimport javafx.scene.control.Label;\nimport javafx.scene.layout.FlowPane;\nimport javafx.scene.layout.HBox;\nimport javafx.scene.layout.Region;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Change copyright to use 2015 version\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2014 Pedro Vicente Gomez Sanchez.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the Licen... | java | chosen |
[
{
"from": "system",
"value": "Fix value should be given formatted\n"
},
{
"from": "human",
"value": "package de.retest.recheck.ui.descriptors;\n\nimport java.io.Serializable;\n\nimport javax.xml.bind.annotation.XmlRootElement;\n\nimport de.retest.recheck.util.StringSimilarity;\n\n@XmlRootElement... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Испорчен тест для проверки Jenkins\"\n\nThis reverts commit f7ee8b4aa9bd893b6d00fff3f17922bd9673bc63.\n"
},
{
"from": "human",
"value": "package ru.stqa.pft.sandbox;\n\nimport org.testng.Assert;\nimport org.testng.annotations.Test;\n\npublic class EquationT... | java | chosen |
[
{
"from": "system",
"value": "Initialize the UI in the Event Dispatching Thread.\n\n"
},
{
"from": "human",
"value": "package am;\r\n\r\nimport am.app.Core;\r\nimport am.batchMode.TrackDispatcher;\r\nimport am.userInterface.UI;\r\n\r\n/**\r\n * Main class -\r\n *\r\n * This class creates an inst... | java | chosen |
[
{
"from": "system",
"value": "Fix style error at command map imports.\n"
},
{
"from": "human",
"value": "package fi.helsinki.cs.tmc.cli.command;\n\nimport fi.helsinki.cs.tmc.cli.Application;\nimport java.util.HashMap;\nimport java.util.Map;\n\n/**\n * Class creates a map for commands.\n */\npubl... | java | chosen |
[
{
"from": "system",
"value": "Remove useless comment about returning a null mouse. Access mouse through ForPlay.mouse().\n\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2010 The ForPlay Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use t... | java | chosen |
[
{
"from": "system",
"value": "Allow counting sort to handle negative numbers\n"
},
{
"from": "human",
"value": "public class CountingSort {\n\tpublic static int[] countingSort(int[] unsorted) {\n\t\tint maxValue = max(unsorted);\n\n\t\t// Count occurrences of each value in unsorted\n\t\tint[] co... | java | chosen |
[
{
"from": "system",
"value": "Add license header to please Findbugs\n"
},
{
"from": "human",
"value": "package org.skife.jdbi.v2.exceptions;\n\npublic class UnableToCreateSqlObjectException extends DBIException {\n\n public UnableToCreateSqlObjectException(String message) {\n super(mes... | java | chosen |
[
{
"from": "system",
"value": "Add a pointer to some code examples\n"
},
{
"from": "human",
"value": "package net.doepner.brikpiks;\n\n/**\n * Application entry point\n */\npublic final class Main {\n\n public static void main(String[] args) {\n System.out.println(\"Brik Piks\");\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Convert to use new port mechanism"
},
{
"from": "human",
"value": "package lejos.hardware.sensor;\nimport lejos.hardware.port.UARTPort;\nimport lejos.robotics.RangeFinder;\n\n/**\n * Basic sensor driver for the Lego EV3 Ultrasonic sensor.<br>\n * TODO: Need to imple... | java | chosen |
[
{
"from": "system",
"value": "Set app group and password\n"
},
{
"from": "human",
"value": "package org.example.app;\n\nimport com.hazelcast.client.config.ClientConfig;\nimport com.hazelcast.client.HazelcastClient;\nimport com.hazelcast.core.HazelcastInstance;\nimport com.hazelcast.core.IMap;\n\... | java | chosen |
[
{
"from": "system",
"value": "Return correct artifact regex in toString()\n"
},
{
"from": "human",
"value": "package org.jboss.wolf.validator.filter;\n\nimport org.jboss.wolf.validator.impl.DependencyNotFoundException;\nimport org.jboss.wolf.validator.impl.bom.BomDependencyNotFoundException;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Fix a couple of bugs.\n"
},
{
"from": "human",
"value": "package com.thaiopensource.relaxng;\n\nimport org.xml.sax.Locator;\nimport com.thaiopensource.datatype.Datatype;\n\nclass ValuePattern extends SimplePattern {\n String str;\n Datatype dt;\n\n ValuePattern(D... | java | chosen |
[
{
"from": "system",
"value": "Use real invoker by default\n"
},
{
"from": "human",
"value": "package uk.org.mygrid.cagrid.servicewrapper.service.interproscan.invoker;\r\n\r\nimport uk.org.mygrid.cagrid.servicewrapper.serviceinvoker.interproscan.DummyInterProScanInvoker;\r\nimport uk.org.mygrid.c... | java | chosen |
[
{
"from": "system",
"value": "Support for symmetrization of DIRECTIVE and REFERENCE. See the 1.20 Parser.jjt\n\nPR:\nObtained from:\nSubmitted by:\nReviewed by:\n\n\ngit-svn-id: 7267684f36935cb3df12efc1f4c0216d758271d4@73570 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value":... | java | chosen |
[
{
"from": "system",
"value": "Correct multiple instantiation of server problem.\n"
},
{
"from": "human",
"value": "import httpserver.RequestSender;\nimport httpserver.WebServer;\nimport javafx.event.ActionEvent;\nimport javafx.fxml.FXML;\nimport javafx.scene.control.TextArea;\nimport javafx.scen... | java | chosen |
[
{
"from": "system",
"value": "Print the cmd arguments to help message.\n"
},
{
"from": "human",
"value": "package fi.helsinki.cs.tmc.cli.command;\n\nimport fi.helsinki.cs.tmc.cli.Application;\n\npublic class HelpCommand implements Command {\n private CommandMap commands;\n\n public HelpCom... | java | chosen |
[
{
"from": "system",
"value": "Change Address book to Emeraldo\n"
},
{
"from": "human",
"value": "package seedu.emeraldo.logic.commands;\n\nimport seedu.emeraldo.model.Emeraldo;\n\n/**\n * Clears the address book.\n */\npublic class ClearCommand extends Command {\n\n public static final String... | java | chosen |
[
{
"from": "system",
"value": "Convert Resource to support dropwizard service.\n"
},
{
"from": "human",
"value": "package com.topsy.jmxproxy.resource;\n\nimport com.topsy.jmxproxy.service.JMXConnectionManager;\n\nimport javax.ws.rs.GET;\nimport javax.ws.rs.Path;\nimport javax.ws.rs.PathParam;\nim... | java | chosen |
[
{
"from": "system",
"value": "Change due to ICCProfile change\n"
},
{
"from": "human",
"value": "package cafe.test;\n\nimport java.io.FileInputStream;\nimport java.io.IOException;\n\nimport cafe.image.meta.icc.ICCProfile;\n\npublic class TestICCProfile {\n\n\tpublic static void main(String[] arg... | java | chosen |
[
{
"from": "system",
"value": "Use priority ordering low to high\n"
},
{
"from": "human",
"value": "package biz.paluch.logcapture.common;\n\nimport java.util.Comparator;\nimport java.util.ServiceLoader;\nimport java.util.TreeSet;\n\n/**\n * @author <a href=\"mailto:mpaluch@paluch.biz\">Mark Paluc... | java | chosen |
[
{
"from": "system",
"value": "Fix messageMatcher in situations where message is null\n"
},
{
"from": "human",
"value": "package io.cozmic.usher.pipeline;\n\nimport de.odysseus.el.util.SimpleContext;\nimport io.cozmic.usher.core.MessageMatcher;\nimport io.cozmic.usher.message.PipelinePack;\n\nimp... | java | chosen |
[
{
"from": "system",
"value": "Revert \"fix \"NullPionterException could be thrown\"-bug, see sonar qube L28, L35\"\n\nThis reverts commit 7acc0b6500e513183324e369455e5ebcce412087.\n"
},
{
"from": "human",
"value": "package de.bmoth.typechecker;\n\nimport de.bmoth.parser.Parser;\nimport de.bmoth.... | java | chosen |
[
{
"from": "system",
"value": "Allow the stream reader to be set\n\n\ngit-svn-id: 9326b53cbc4a8f4c3d02979b62b178127d5150fe@659 c7d0bf07-ec0d-0410-b2cc-d48fa9be22ba\n"
},
{
"from": "human",
"value": "package org.codehaus.xfire.exchange;\n\nimport javax.xml.stream.XMLStreamReader;\n\n/**\n * A \"in... | java | chosen |
[
{
"from": "system",
"value": "Fix spacing and conditional braces\n"
},
{
"from": "human",
"value": "package seedu.todo.ui;\n\nimport seedu.todo.controllers.*;\n\npublic class InputHandler {\n \n Controller handlingController = null;\n \n public boolean processInput(String input) {\n ... | java | chosen |
[
{
"from": "system",
"value": "Set the name to final."
},
{
"from": "human",
"value": "/*\n * $Id$\n *\n * Copyright 2011 samaxes.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 obtain ... | java | chosen |
[
{
"from": "system",
"value": "Read properties from a property file\n\nReads a property value from either a project\nproperty file of the file or value is missing,\ntries to get a default value for that property.\n"
},
{
"from": "human",
"value": "package nl.codecastle.configuration;\n\nimport ja... | java | chosen |
[
{
"from": "system",
"value": "Add a constructor to ease setting custom fields\n"
},
{
"from": "human",
"value": "package org.zendesk.client.v2.model;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\n\n/**\n * @author stephenc\n * @since 04/04/2013 14:53\n */\n@JsonIgnoreProperti... | java | chosen |
[
{
"from": "system",
"value": "Introduce blending weight to tune muscle colors\n"
},
{
"from": "human",
"value": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choose Tools | Templates\n * and open the template in the editor.... | java | chosen |
[
{
"from": "system",
"value": "Move property string to use a linked list.\n"
},
{
"from": "human",
"value": "package codechicken.lib.block.property;\n\nimport com.google.common.base.Optional;\nimport com.google.common.collect.ImmutableSet;\nimport com.google.common.collect.Lists;\nimport net.mine... | java | chosen |
[
{
"from": "system",
"value": "Add empty result sql query message and move instruction to ErrorMsg\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Ryan Gilera.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance wit... | java | chosen |
[
{
"from": "system",
"value": "Rewrite example to use preferred way of creating a new repository\n"
},
{
"from": "human",
"value": "package org.dstadler.jgit;\n\n/*\n Copyright 2013, 2014 Dominik Stadler\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use... | java | chosen |
[
{
"from": "system",
"value": "Move construction method accessor to interface.\n"
},
{
"from": "human",
"value": "/* Copyright © 2016 Matthew Champion\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the followi... | java | chosen |
[
{
"from": "system",
"value": "injector: Allow injection of <init> and <clinit>\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2017, Adam <Adam@sigterm.info>\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitte... | java | chosen |
[
{
"from": "system",
"value": "Use absolute path for 'describe'.\n"
},
{
"from": "human",
"value": "package com.csforge.sstable;\n\nimport com.google.common.base.Strings;\n\nimport java.io.IOException;\nimport java.util.Arrays;\n\npublic class Driver {\n public static void main(String ... args... | java | chosen |
[
{
"from": "system",
"value": "Add Documented, Retention and Target annotations"
},
{
"from": "human",
"value": "package net.aeten.core.spi;\n\n/**\n *\n * @author Thomas Pérennou\n */\npublic @interface Configuration {\n\tString name();\n\tClass<?> provider();\n\tString parser() default \"\";\n}... | java | chosen |
[
{
"from": "system",
"value": "[YIL-83] Fix sonar: add private constructor.\n"
},
{
"from": "human",
"value": "/*\n * This file is part of the Yildiz-Engine project, licenced under the MIT License (MIT)\n *\n * Copyright (c) 2017 Grégory Van den Borre\n *\n * More infos available: https://www.y... | java | chosen |
[
{
"from": "system",
"value": "Add a load balanced client example\n"
},
{
"from": "human",
"value": "package me.prettyprint.cassandra.service;\n\nimport static me.prettyprint.cassandra.utils.StringUtils.bytes;\nimport static me.prettyprint.cassandra.utils.StringUtils.string;\n\nimport org.apache.... | java | chosen |
[
{
"from": "system",
"value": "Add useResolvedTree flag to SplitBuildAndLayoutTestConfiguration\n\nReviewed By: pentiumao\n\nDifferential Revision: D36164793\n\nfbshipit-source-id: 2d20899587d177c8dd657a7d3f32d623c629ec7c\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) Meta Platforms, Inc... | java | chosen |
[
{
"from": "system",
"value": "Replace calculation codes to use ScrollUtils in FillGap2 examples.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 Soichiro Kashima\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": "Fix test goal for core\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2011 The PlayN Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License. You may obtain a copy of... | java | chosen |
[
{
"from": "system",
"value": "Add two additional Movements: DEAD & HIDDEN\n"
},
{
"from": "human",
"value": "package edu.agh.tunev.model;\n\nimport java.awt.geom.Point2D;\n\n/**\n * Reprezentuje stan przypisany do danego PersonProfile w jakiejś chwili czasu,\n * niezależny od wybranego konkretne... | java | chosen |
[
{
"from": "system",
"value": "Change the programme to avoid error, NEED TO BE FIXED\n\n"
},
{
"from": "human",
"value": "import java.io.File;\nimport java.io.FileInputStream;\nimport java.io.FileNotFoundException;\nimport java.nio.file.Files;\nimport java.util.*;\nimport machine.learning.ARL;\n\... | java | chosen |
[
{
"from": "system",
"value": "Add endpoints for external transform and debug\n"
},
{
"from": "human",
"value": "package util;\n\nimport com.google.gson.JsonObject;\nimport okhttp3.RequestBody;\nimport okhttp3.ResponseBody;\nimport retrofit2.Call;\nimport retrofit2.http.*;\n\n/**\n * Retrofit int... | java | chosen |
[
{
"from": "system",
"value": "Fix invalid value detection for capKey data not working\n\n"
},
{
"from": "human",
"value": "package crazypants.enderio.base.config.recipes.xml;\n\nimport javax.xml.stream.XMLStreamException;\nimport javax.xml.stream.events.StartElement;\n\nimport crazypants.enderio... | java | chosen |
[
{
"from": "system",
"value": "Fix max string length in me syntax\n"
},
{
"from": "human",
"value": "package net.earthcomputer.easyeditors.gui.command.syntax;\n\nimport net.earthcomputer.easyeditors.gui.command.slot.CommandSlotFormattedTextField;\nimport net.earthcomputer.easyeditors.gui.command.... | java | chosen |
[
{
"from": "system",
"value": "[UTL-69] Use the OpenGammaFudgeContext.getInstance() rather than GLOBAL_DEFAULT.\n"
},
{
"from": "human",
"value": "/**\n * Copyright (C) 2009 - 2010 by OpenGamma Inc.\n *\n * Please see distribution for license.\n */\npackage com.opengamma.transport.jaxrs;\n\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Add a test to motivate the development of the HttpServerSocketImpl\n"
},
{
"from": "human",
"value": "package net.zephyrizing.http_server_test;\n\nimport java.io.IOException;\nimport java.net.InetSocketAddress;\nimport java.net.ServerSocket;\nimport java.net.SocketA... | java | chosen |
[
{
"from": "system",
"value": "Check before casting a null.\n"
},
{
"from": "human",
"value": "package com.kolinkrewinkel.BitLimitBlockRegression;\n\nimport org.bukkit.Bukkit;\nimport org.bukkit.ChatColor;\n\nimport java.util.ArrayList;\nimport java.util.HashMap;\nimport java.util.Random;\n\n/**\... | java | chosen |
[
{
"from": "system",
"value": "Fix a bug with crafting keys\n"
},
{
"from": "human",
"value": "package net.wayward_realms.waywardlocks;\n\nimport org.bukkit.ChatColor;\nimport org.bukkit.entity.Player;\nimport org.bukkit.event.EventHandler;\nimport org.bukkit.event.Listener;\nimport org.bukkit.ev... | java | chosen |
[
{
"from": "system",
"value": "Add comments on main class\n"
},
{
"from": "human",
"value": "//Package manager\nPackageManager pm = getPackageManager();\nString installationSource = pm.getInstallerPackageName(getPackageName());\n \nString source ;\n \n//提供元を判断\nif(installationSource.equals(\"com.... | java | chosen |
[
{
"from": "system",
"value": "Add 'print_unit' to the default environment\n"
},
{
"from": "human",
"value": "package env;\n\nimport types.*;\n\npublic class Env {\n\n public Table<Type> tenv;\n public Table<Type> venv;\n\n public Env() {\n tenv = new Table<Type>();\n put(tenv, \"unit\",... | java | chosen |
[
{
"from": "system",
"value": "Drop references from popped classes.\n"
},
{
"from": "human",
"value": "package com.thoughtworks.xstream.core.util;\n\npublic final class ClassStack {\n\n private Class[] stack;\n private int pointer;\n\n public ClassStack(int initialCapacity) {\n st... | java | chosen |
[
{
"from": "system",
"value": "Break the build to test Hudson\n\ngit-svn-id: ec6ef1d57ec0831ce4cbff3b75527511e63bfbe3@736933 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license ag... | java | chosen |
[
{
"from": "system",
"value": "[PIXELS] Add original state to output\n\nThis will help show where we started from.\n\nTests:\n- tested using cli directly\n"
},
{
"from": "human",
"value": "package com.bert.pixels;\n\nimport com.bert.pixels.models.Chamber;\nimport com.bert.pixels.view.TextVisualiz... | java | chosen |
[
{
"from": "system",
"value": "Change event model to support probe status.\n"
},
{
"from": "human",
"value": "package models;\n\nimport java.util.Date;\n\nimport javax.persistence.Entity;\nimport javax.persistence.EnumType;\nimport javax.persistence.Enumerated;\nimport javax.persistence.JoinColum... | java | chosen |
[
{
"from": "system",
"value": "SonarCube: Add private constructor for utility class.\n"
},
{
"from": "human",
"value": "package org.mapfish.print.test.util;\n\nimport org.mapfish.print.attribute.Attribute;\nimport org.mapfish.print.attribute.NorthArrowAttribute;\nimport org.mapfish.print.attribut... | java | chosen |
[
{
"from": "system",
"value": "Add cose() back as a deprecated method for backward compatibility\n"
},
{
"from": "human",
"value": "package org.bouncycastle.crypto.tls;\n\nimport java.io.IOException;\nimport java.io.OutputStream;\n\n/**\n * An OutputStream for an TLS connection.\n */\npublic clas... | java | chosen |
[
{
"from": "system",
"value": "Change the way of getting max groupId (loop changed to stream max with lambda)\n"
},
{
"from": "human",
"value": "package com.ksu.addressbook.tests;\n\nimport com.ksu.addressbook.model.GroupData;\nimport org.testng.Assert;\nimport org.testng.annotations.Test;\n\nimp... | java | chosen |
[
{
"from": "system",
"value": "Add remove method to GameManager\n"
},
{
"from": "human",
"value": "package net.deltaplay.tweener;\n\npublic class TweenManager extends CompositeTween<TweenManager> {\n\n @Override\n public void update(float delta) {\n for (int i = 0; i < tweens.size; i... | java | chosen |
[
{
"from": "system",
"value": "Use a default value of \"reindexing\" as \"name\" for reindex actions\n"
},
{
"from": "human",
"value": "// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.config.model.api;\n\nimport c... | java | chosen |
[
{
"from": "system",
"value": "ROUT-24: Implement search input no number validation\n"
},
{
"from": "human",
"value": "package com.routeme.dto;\n\nimport org.hibernate.validator.constraints.NotBlank;\n\npublic class SearchRequestDTO {\n @NotBlank\n private String startPoint;\n\n @NotBlan... | java | chosen |
[
{
"from": "system",
"value": "Make runner stop when player last action is to end\n"
},
{
"from": "human",
"value": "package wumpus;\n\nimport java.util.Iterator;\nimport java.util.NoSuchElementException;\n\nimport wumpus.Environment.Result;\n\n/**\n * The iteration of plays that the player can t... | java | chosen |
[
{
"from": "system",
"value": "Use parameter instead of hardcoded \"manual\"\n"
},
{
"from": "human",
"value": "package camelinaction;\n\nimport org.apache.camel.Exchange;\nimport org.apache.camel.Processor;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * Processor to stop a... | java | chosen |
[
{
"from": "system",
"value": "Add Material & change methods"
},
{
"from": "human",
"value": "package net.dimensions.solar.block;\n\npublic interface Block\n{\n String getUnlocalizedName();\n\n float getHardness();\n\n int getLightValue();\n\n boolean isReplaceable();\n\n boolean i... | java | chosen |
[
{
"from": "system",
"value": "Revert it (never commit revision)\n"
},
{
"from": "human",
"value": "package io.warp10;\n\npublic class Revision {\n public static final String REVISION = \"1.0.1-203-ga9b2a06\";\n}\n"
},
{
"from": "gpt",
"value": "package io.warp10;\n\npublic class Rev... | java | chosen |
[
{
"from": "system",
"value": "Make path to trust cert relative.\n"
},
{
"from": "human",
"value": "package io.outreach;\n\nimport java.io.FileInputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.security.KeyStore;\nimport java.util.Arrays;\n\npublic class TrustStor... | java | chosen |
[
{
"from": "system",
"value": "Allow lasers to damage cryopods\n"
},
{
"from": "human",
"value": "package com.ezardlabs.lostsector.objects.projectiles;\n\nimport com.ezardlabs.dethsquare.Collider;\nimport com.ezardlabs.dethsquare.GameObject;\nimport com.ezardlabs.dethsquare.Script;\nimport com.ez... | java | chosen |
[
{
"from": "system",
"value": "[android] Revert changes - added methods like legacy auth fragment\n"
},
{
"from": "human",
"value": "package com.mapswithme.maps.base;\n\nimport android.content.Context;\nimport android.content.Intent;\nimport android.support.annotation.CallSuper;\nimport android.s... | java | chosen |
[
{
"from": "system",
"value": "Revise flow of 'start' method\n"
},
{
"from": "human",
"value": "/* *\\\n** SICU Stress Measurement System **\n** Project P04 | C380 Tea... | java | chosen |
[
{
"from": "system",
"value": "Add ability to generate DAG file via command line\n"
},
{
"from": "human",
"value": "package org.ethereum;\n\nimport org.ethereum.cli.CLIInterface;\nimport org.ethereum.config.SystemProperties;\nimport org.ethereum.facade.Ethereum;\nimport org.ethereum.facade.Ethere... | java | chosen |
[
{
"from": "system",
"value": "Check is activity is null\n"
},
{
"from": "human",
"value": "// Adapted from\n// https://github.com/gijoehosaphat/react-native-keep-screen-on\n\npackage com.corbt.keepawake;\n\nimport android.app.Activity;\nimport android.view.WindowManager;\n\nimport com.facebook.r... | java | chosen |
[
{
"from": "system",
"value": "Add maxDelay param in startAudioRx and startVideoRx.\n"
},
{
"from": "human",
"value": "/*\n * Kurento Android Media: Android Media Library based on FFmpeg.\n * Copyright (C) 2011 Tikal Technologies\n *\n * This program is free software: you can redistribute it and... | java | chosen |
[
{
"from": "system",
"value": "Fix for Mojang's gift of deobf names.\n"
},
{
"from": "human",
"value": "package org.mcupdater.mojang;\n\npublic enum DownloadType {\n\tCLIENT, SERVER, WINDOWS_SERVER\n}\n"
},
{
"from": "gpt",
"value": "package org.mcupdater.mojang;\n\npublic enum Downlo... | java | chosen |
[
{
"from": "system",
"value": "Make domain id a String instead of long (more compatible with FHIR).\n"
},
{
"from": "human",
"value": "/**\n * This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. \n * If a copy of the MPL was not distributed with this file, You can... | java | chosen |
[
{
"from": "system",
"value": "Prepare to supply fixtures from DOM elements\n"
},
{
"from": "human",
"value": "package pl.minidmnv.apple.source.fixture.repository;\n\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Optional;\n\nimport org.jsoup.nodes.Document;\n\nimport org.... | java | chosen |
[
{
"from": "system",
"value": "Update to latest TIFF API.\n\n"
},
{
"from": "human",
"value": "//\n// CommentSurgery.java\n//\n\nimport loci.formats.TiffTools;\n\n/**\n * Performs \"surgery\" on a TIFF ImageDescription comment, particularly the\n * OME-XML comment found in OME-TIFF files. Note th... | java | chosen |
[
{
"from": "system",
"value": "Fix string format usage since it caused the repair test failure\n"
},
{
"from": "human",
"value": "package com.sequenceiq.it.cloudbreak.action.sdx;\n\nimport static java.lang.String.format;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport com.s... | java | chosen |
[
{
"from": "system",
"value": "CAMEL-14671: Make PropertiesFunction part of the PropertiesComponent SPI\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this w... | java | chosen |
[
{
"from": "system",
"value": "Check expected output of aspected operation.\n"
},
{
"from": "human",
"value": "package com.fenixinfotech.aspectj.playpen;\n\nimport org.junit.Test;\n\nimport static org.junit.Assert.*;\n\n/**\n * Created by 700608667 on 11/09/2015.\n */\npublic class AspectedFuncti... | java | chosen |
[
{
"from": "system",
"value": "Fix check style issue exceeding no of chars in one line\n"
},
{
"from": "human",
"value": "package org.wso2.carbon.apimgt.core.configuration.models;\n\nimport org.wso2.carbon.apimgt.core.util.APIMgtConstants;\nimport org.wso2.carbon.config.annotation.Configuration;\... | java | chosen |
[
{
"from": "system",
"value": "Fix resource loading to work with files bigger than a kilobyte\n\nSigned-off-by: Ben Grohbiel <f31bec9830c462ca5208f6f388c04b025df0947c@pivotal.io>\n"
},
{
"from": "human",
"value": "package io.pivotal.labs.cfenv;\n\nimport java.io.FileNotFoundException;\nimport jav... | java | chosen |
[
{
"from": "system",
"value": "Remove unused functions that cause warnings.\n"
},
{
"from": "human",
"value": "// Copyright 2011 Google Inc. All Rights Reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the L... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.