conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Speed up compression, default compression level to 1"
},
{
"from": "human",
"value": "package protocolsupport.utils;\n\nimport java.io.ByteArrayInputStream;\nimport java.io.IOException;\nimport java.util.zip.Deflater;\nimport java.util.zip.DeflaterInputStream;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Added cookies deletion step to @BeforeMethod.\"\n\nThis reverts commit bc44573ae5011b2155badbc77c530189e0b356ce.\n"
},
{
"from": "human",
"value": "package tests;\n\nimport org.openqa.selenium.WebDriver;\nimport org.testng.Assert;\nimport org.testng.annotat... | java | chosen |
[
{
"from": "system",
"value": "Split up the receive method into a message parser and handler for easier testing\n"
},
{
"from": "human",
"value": "package gx.realtime;\n\nimport com.fasterxml.jackson.core.JsonParser;\nimport com.fasterxml.jackson.databind.ObjectMapper;\n\nimport gx.browserchannel... | java | chosen |
[
{
"from": "system",
"value": "Add method to launch a Runnable in a new thread\n"
},
{
"from": "human",
"value": "package org.jtheque.utils;\n\nimport org.slf4j.LoggerFactory;\n\n/*\n * Copyright JTheque (Baptiste Wicht)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n ... | java | chosen |
[
{
"from": "system",
"value": "Fix file.delete ignored return value\n"
},
{
"from": "human",
"value": "package de.retest.util;\n\nimport java.io.File;\nimport java.io.FileInputStream;\nimport java.io.FileNotFoundException;\nimport java.io.IOException;\n\n/*\n * Taken from https://stackoverflow.co... | java | chosen |
[
{
"from": "system",
"value": "Fix : add default value for homepage portal\n"
},
{
"from": "human",
"value": "package fr.treeptik.cloudunit.controller;\n\nimport fr.treeptik.cloudunit.dto.AboutResource;\nimport fr.treeptik.cloudunit.dto.HomepageResource;\nimport org.springframework.beans.factory.... | java | chosen |
[
{
"from": "system",
"value": "Change startVideoRx and startAudioRx parameters name.\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 an... | java | chosen |
[
{
"from": "system",
"value": "Update serialization type for undefined events\n"
},
{
"from": "human",
"value": "package nakadi;\n\n/**\n * Helper class to provide {@link LoggingUndefinedEventObserver}.\n */\npublic class LoggingUndefinedEventObserverProvider implements StreamObserverProvider {\n... | java | chosen |
[
{
"from": "system",
"value": "Test to see if caddy works now\n"
},
{
"from": "human",
"value": "package com.frederikam.fred.moe;\n\nimport com.frederikam.fred.moe.util.SLF4JInputStreamLogger;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.io.IOException;\n\npublic clas... | java | chosen |
[
{
"from": "system",
"value": "Add some Google Dev related YT Channel IDs\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2013 The GDG Frisbee 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 License.... | java | chosen |
[
{
"from": "system",
"value": "Add JavaDoc and remove warnings.\n"
},
{
"from": "human",
"value": "package org.oblodiff.token;\n\nimport org.oblodiff.token.api.Token;\n\n/**\n * The basic implementation of a {@link Token}, contains code that all {@link Token}s share.\n *\n * @param <T> the type o... | java | chosen |
[
{
"from": "system",
"value": "Allow ring buffer to refer to underlying (drained) queue's index\n"
},
{
"from": "human",
"value": "package net.openhft.chronicle.bytes;\n\nimport java.io.Closeable;\n\npublic interface RingBufferReader extends RingBufferReaderStats, Closeable {\n\n boolean isEmp... | java | chosen |
[
{
"from": "system",
"value": "Test cases for BigDecimal detector (for RFE 2891944)\n\ngit-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@11699 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3\n"
},
{
"from": "human",
"value": "package sfBugs;\n\nimport java.math.BigDecimal;\n\npublic class RFE2891944 {\n\... | java | chosen |
[
{
"from": "system",
"value": "Set date format when building default Gson to prevent crash\n\nI have not been able to reproduce this crash, but it seems Gson has a\nproblem parsing date strings when unmarshalling tab data.\n\nFrom the info I've looked at online, explicitly defining a date format\nwill preven... | java | chosen |
[
{
"from": "system",
"value": "Make replace task class name dynamic, move imports\n"
},
{
"from": "human",
"value": "package de.thetaphi.forbiddenapis;\n\nimport org.apache.tools.ant.BuildException;\nimport org.apache.tools.ant.Project;\n\n/*\n * (C) Copyright Uwe Schindler (Generics Policeman) a... | java | chosen |
[
{
"from": "system",
"value": "Send stream responses to the OutputStream, to handle binary formats\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2008 Matthew Hillsdon\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in complianc... | java | chosen |
[
{
"from": "system",
"value": "Remove annotation which not support by maven.\n"
},
{
"from": "human",
"value": "package org.procrastinationpatients.tts.core;\n\nimport com.sun.istack.internal.NotNull;\nimport javafx.scene.canvas.GraphicsContext;\n\n/**\n * @Author Decker\n */\npublic interface Dr... | java | chosen |
[
{
"from": "system",
"value": "Disable resizing the indexing screen\n"
},
{
"from": "human",
"value": "package org.madhatters.mediaplayer;\n\nimport javafx.application.Application;\nimport javafx.fxml.FXMLLoader;\nimport javafx.scene.Parent;\nimport javafx.scene.Scene;\nimport javafx.stage.Stage;... | java | chosen |
[
{
"from": "system",
"value": "Update channel object to store ID as a string.\n"
},
{
"from": "human",
"value": "// Copyright 2013 Judson D Neer\n\npackage com.singledsoftware.mixmaestro;\n\nimport java.io.Serializable;\n\n/**\n * Stores data for an individual channel.\n *\n * @see Serializable\n... | java | chosen |
[
{
"from": "system",
"value": "Add more information to the onMessage method\n"
},
{
"from": "human",
"value": "/*\nCopyright (c) 2013, Colorado State University\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that t... | java | chosen |
[
{
"from": "system",
"value": "Add defuault Homepage to all category"
},
{
"from": "human",
"value": "package com.decker.Essentials;\r\n\r\nimport java.io.IOException;\r\nimport java.io.OutputStream;\r\n\r\nimport javax.servlet.http.HttpServletRequest;\r\nimport javax.servlet.http.HttpServletResp... | java | chosen |
[
{
"from": "system",
"value": "Update label sanitizer regex to add parenthesis\n"
},
{
"from": "human",
"value": "package com.todoist.model;\n\nimport java.util.regex.Pattern;\n\npublic class Sanitizers {\n public static final String PROJECT_NAME_INVALID_CHARACTERS = \"<>\\\"=#+\";\n public... | java | chosen |
[
{
"from": "system",
"value": "Add a function to create directories\n"
},
{
"from": "human",
"value": "package codingpro.werewolves.server;\n\nimport java.io.File;\nimport java.io.IOException;\n\nimport lombok.AccessLevel;\nimport lombok.NoArgsConstructor;\n\n@NoArgsConstructor(access = AccessLev... | java | chosen |
[
{
"from": "system",
"value": "Initialize the file writer by default."
},
{
"from": "human",
"value": "package org.lemsml.jlemsviz;\n \nimport org.lemsml.jlems.expression.ParseError;\nimport org.lemsml.jlems.run.ConnectionError;\nimport org.lemsml.jlems.run.RuntimeError;\nimport org.lemsml.jlems.... | java | chosen |
[
{
"from": "system",
"value": "Fix incorrect text range selection in annotator\n"
},
{
"from": "human",
"value": "package org.plugin.dot;\n\nimport com.intellij.codeInspection.ProblemHighlightType;\nimport com.intellij.lang.annotation.Annotation;\nimport com.intellij.lang.annotation.AnnotationHol... | java | chosen |
[
{
"from": "system",
"value": "Tidy up the unit test a little.\n"
},
{
"from": "human",
"value": "package com.nullprogram.guide;\n\nimport com.nullprogram.guide.Arch;\nimport com.nullprogram.guide.NativeGuide;\nimport junit.framework.TestCase;\n\npublic class NativeGuideTest extends TestCase {\n\... | java | chosen |
[
{
"from": "system",
"value": "Change print statement of solution.\n"
},
{
"from": "human",
"value": "package com.comp110.lecture23;\n\npublic class CDSPlaygroundSoln {\n\n public static void main(String[] args) {\n \n Food[] menu = Food.readFoodsFromCSV(\"data/rams-2015-11-10.csv\");\n ... | java | chosen |
[
{
"from": "system",
"value": "Add color component array getter"
},
{
"from": "human",
"value": "package com.haxademic.core.draw.color;\n\nimport processing.core.PApplet;\n\nimport com.haxademic.core.app.P;\n\npublic class ColorUtil {\n\t\n\tpublic static int colorWithIntAndAlpha( PApplet p, int ... | java | chosen |
[
{
"from": "system",
"value": "Implement a convenience method to generate random integers"
},
{
"from": "human",
"value": "package ch.deletescape.primitives;\n\npublic class Int {\n /**\n * Private Constructor to prevent initialization\n */\n private Int() {\n }\n\n /**\n * Converts a l... | java | chosen |
[
{
"from": "system",
"value": "Add overloaded constructor with configurabe strength."
},
{
"from": "human",
"value": "package pl.vgtworld.imagedraw.filters.edgedetect;\n\nimport pl.vgtworld.imagedraw.ImageDrawEntity;\nimport pl.vgtworld.imagedraw.filters.ImageDrawFilter;\nimport pl.vgtworld.image... | java | chosen |
[
{
"from": "system",
"value": "Add test to show disk usage ratio per partition.\n"
},
{
"from": "human",
"value": "package com.alibaba.rocketmq.example.verify;\n\nimport com.alibaba.rocketmq.common.UtilAll;\nimport org.apache.commons.cli.*;\n\npublic class SelectPartition {\n public static voi... | java | chosen |
[
{
"from": "system",
"value": "Update spring base packages scan list\n"
},
{
"from": "human",
"value": "package com.rewayaat;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.boot.SpringApplication;\nimport org.springframework.boot.autoconfigure.SpringBootA... | java | chosen |
[
{
"from": "system",
"value": "Print that table is dropped."
},
{
"from": "human",
"value": "package emp;\n\nimport java.sql.Connection;\nimport java.sql.SQLException;\nimport java.sql.Statement;\n\nimport oracle.ucp.jdbc.PoolDataSource;\nimport oracle.ucp.jdbc.PoolDataSourceFactory;\n\n/** \n * ... | java | chosen |
[
{
"from": "system",
"value": "[PW-828] Add application info to adyen-java-api-library\n- Add default library fields test\n"
},
{
"from": "human",
"value": "package com.adyen;\n\nimport com.adyen.model.applicationinfo.ApplicationInfo;\nimport org.junit.Test;\n\nimport static com.adyen.Client.LIB_... | java | chosen |
[
{
"from": "system",
"value": "Enable async for security filter\n"
},
{
"from": "human",
"value": "package no.dusken.momus.config;\n\nimport javax.servlet.ServletContext;\nimport javax.servlet.ServletException;\nimport javax.servlet.ServletRegistration;\n\nimport org.springframework.web.WebApplic... | java | chosen |
[
{
"from": "system",
"value": "Fix to be compatible with latest Bukkit.\n"
},
{
"from": "human",
"value": "package org.dynmap;\n\nimport org.bukkit.block.Block;\nimport org.bukkit.block.BlockDamageLevel;\nimport org.bukkit.event.block.BlockDamageEvent;\nimport org.bukkit.event.block.BlockListener... | java | chosen |
[
{
"from": "system",
"value": "Use meeting date if case has no date\n"
},
{
"from": "human",
"value": "package models;\r\n\r\nimport java.util.*;\r\n\r\npublic class PersonHistory {\r\n\r\n public class Record {\r\n public Date most_recent_charge;\r\n public Rule rule;\r\n ... | java | chosen |
[
{
"from": "system",
"value": "Fix wrong change for package."
},
{
"from": "human",
"value": "/*\n * $Id$\n * \n * Copyright 2009 Hiroki Ata\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 o... | java | chosen |
[
{
"from": "system",
"value": "Set and get a redis key-value pair.\n"
},
{
"from": "human",
"value": "package benjamin.groehbiel.ch;\n\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.boot.test.Sp... | java | chosen |
[
{
"from": "system",
"value": "Add commented-out details on staging site\n"
},
{
"from": "human",
"value": "package fi.bitrite.android.ws.util;\n\nimport android.graphics.Bitmap;\nimport android.graphics.BitmapFactory;\nimport android.graphics.Color;\nimport android.os.AsyncTask;\nimport android.... | java | chosen |
[
{
"from": "system",
"value": "Remove unused property in query state\n"
},
{
"from": "human",
"value": "package SW9.abstractions;\n\nimport SW9.utility.colors.Color;\n\npublic enum QueryState {\n SUCCESSFUL(Color.GREEN, Color.Intensity.I700, \"✓\"),\n ERROR(Color.RED, Color.Intensity.I700, ... | java | chosen |
[
{
"from": "system",
"value": "Change URL back to sorseg.ru (brought up instance)\n"
},
{
"from": "human",
"value": "package com.dao.mydebts;\n\nimport okhttp3.MediaType;\n\n/**\n * @author Oleg Chernovskiy on 05.04.16.\n */\npublic class Constants {\n\n //private static final String SERVER_EN... | java | chosen |
[
{
"from": "system",
"value": "Add the rest of the functionality for Restarting a Level that was\nmentioned previously"
},
{
"from": "human",
"value": "package controller;\n\nimport boundary.PlayerApplication;\nimport boundary.PlayerBoardView;\nimport boundary.PlayerLevelView;\nimport java.awt.ev... | java | chosen |
[
{
"from": "system",
"value": "Write lambda without parens in Java\n"
},
{
"from": "human",
"value": "@FunctionalInterface\ninterface Function {\n double apply(double x);\n}\n\npublic class TwiceApp {\n private static double twice(Function f, double x) {\n return f.apply(f.apply(x));... | java | chosen |
[
{
"from": "system",
"value": "Fix locate biome sub command"
},
{
"from": "human",
"value": "package info.u_team.u_team_core.intern.command.uteamcore;\n\nimport com.mojang.brigadier.builder.ArgumentBuilder;\nimport com.mojang.brigadier.exceptions.CommandSyntaxException;\n\nimport net.minecraft.co... | java | chosen |
[
{
"from": "system",
"value": "Fix story parsing to support both windows and linux style newlines; Allow extra newlines between nodes\n"
},
{
"from": "human",
"value": "package bloople.net.stories;\n\nimport java.io.IOException;\nimport java.io.Reader;\nimport java.util.Scanner;\n\n/**\n * Create... | java | chosen |
[
{
"from": "system",
"value": "Fix bug with Key delete using DKV instead of UKV\n\nWould leave behind all the internal chunks and only remove the hex array head\n"
},
{
"from": "human",
"value": "package water.api;\n\nimport water.DKV;\nimport water.Value;\n\nimport com.google.gson.JsonObject;\n\... | java | chosen |
[
{
"from": "system",
"value": "Remove copyright line in license headers\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2015 Zane Benefits\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... | java | chosen |
[
{
"from": "system",
"value": "Set ddb connection to readonly to get rid of the warning message\n"
},
{
"from": "human",
"value": "package org.imos.ddb;\n\nimport java.io.File;\nimport java.io.IOException;\n\nimport net.ucanaccess.jdbc.JackcessOpenerInterface;\n//imports from Jackcess Encrypt\nim... | java | chosen |
[
{
"from": "system",
"value": "Add cless extends type param example\n"
},
{
"from": "human",
"value": "package test;\n\n\nimport java.io.Serializable;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.function.Consumer;\n\npublic class TypeParameterBoundExample {\n // exte... | java | chosen |
[
{
"from": "system",
"value": "core: Fix MissingFormatArgumentException in ParseRuntimeException when args array is empty\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2009-2011 Mathias Doenitz\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use... | java | chosen |
[
{
"from": "system",
"value": "Sort inheritance map written to file\n"
},
{
"from": "human",
"value": "package net.md_5.specialsource;\n\nimport com.google.common.base.Joiner;\n\nimport java.io.File;\nimport java.io.PrintWriter;\nimport java.util.*;\n\npublic class InheritanceMap {\n\n private... | java | chosen |
[
{
"from": "system",
"value": "Clear old store instance on ctor\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2002-2003 by OpenSymphony\n * All rights reserved.\n */\npackage com.opensymphony.workflow;\n\nimport com.opensymphony.workflow.basic.BasicWorkflow;\nimport com.opensymphony.wor... | java | chosen |
[
{
"from": "system",
"value": "[examples] Add link to jetty ssl example\n"
},
{
"from": "human",
"value": "package javalin.examples;\n\nimport org.eclipse.jetty.server.Connector;\nimport org.eclipse.jetty.server.Server;\nimport org.eclipse.jetty.server.ServerConnector;\nimport org.eclipse.jetty.u... | java | chosen |
[
{
"from": "system",
"value": "Support adding license header for classes without package name\n\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 DiffPlug\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 |
[
{
"from": "system",
"value": "Update problem 55 (stil TLE)\n"
},
{
"from": "human",
"value": "package leetcode;\n\npublic class Problem55 {\n public boolean canJump(int[] nums) {\n if (nums.length == 1) {\n return true;\n }\n for (int i = 0; i < nums.length; i+... | java | chosen |
[
{
"from": "system",
"value": "Change sample using sftp to not run if prelive is down\n"
},
{
"from": "human",
"value": "package com.litle.sdk.samples;\nimport com.litle.sdk.*;\nimport com.litle.sdk.generate.AccountUpdateFileRequestData;\nimport com.litle.sdk.generate.RFRRequest;\nimport java.uti... | java | chosen |
[
{
"from": "system",
"value": "Increase driving time during autonomous"
},
{
"from": "human",
"value": "package com.saintsrobotics.frc.commands.autonomous;\n\nimport com.saintsrobotics.frc.commands.ResetShootBall;\nimport com.saintsrobotics.frc.commands.ShootBall;\nimport edu.wpi.first.wpilibj.co... | java | chosen |
[
{
"from": "system",
"value": "Refactor - remove unused imports\n\n"
},
{
"from": "human",
"value": "package at.ac.tuwien.inso.controller.student;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.stereotype.Controller;\nimport org.springframework.web.b... | java | chosen |
[
{
"from": "system",
"value": "Remove useless SelectorFunction for ISO\n"
},
{
"from": "human",
"value": "package io.fotoapparat.parameter.selector;\n\nimport io.fotoapparat.parameter.range.Range;\n\n/**\n * Selector functions for sensor sensitivity (ISO).\n */\npublic class SensorSensitivitySele... | java | chosen |
[
{
"from": "system",
"value": "Allow package access to the internal vector\n"
},
{
"from": "human",
"value": "package org.bouncycastle.asn1;\n\nimport java.util.Vector;\n\n/**\n * a general class for building up a vector of DER encodable objects -\n * this will eventually be superceded by ASN1Enc... | java | chosen |
[
{
"from": "system",
"value": "Switch Winch speed controller from Spark to Talon\n\nBecause we're lazy :sparkles:\n"
},
{
"from": "human",
"value": "package org.usfirst.frc.team2503.r2016;\n\nimport edu.wpi.first.wpilibj.DigitalInput;\nimport edu.wpi.first.wpilibj.Spark;\nimport edu.wpi.first.wpi... | java | chosen |
[
{
"from": "system",
"value": "Handle absence of authentication more sensibly, without an NPE\n"
},
{
"from": "human",
"value": "package ca.uhnresearch.pughlab.tracker.restlets;\n\nimport org.apache.shiro.SecurityUtils;\nimport org.apache.shiro.subject.Subject;\nimport org.restlet.Component;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Fix oreientation bug causing levers not being able to place.\n"
},
{
"from": "human",
"value": "package net.minecraftforge.common;\n\npublic enum Orientation\n{\n /** -Y */\n DOWN, \n \n /** +Y */\n UP,\n \n /** -Z */\n NORTH,\n \n /** ... | java | chosen |
[
{
"from": "system",
"value": "Fix bug in writing out the Manifest to the JAR file.\n"
},
{
"from": "human",
"value": "/* Class : JarOutputStream\n\n Implementation of the 1.2 Java class JarOutputStream.\n\n Copyright : Moses DeJong, dejong@cs.umn.edu, 1998.\n Source code licensed under the GP... | java | chosen |
[
{
"from": "system",
"value": "Allow connection from localhost only\n"
},
{
"from": "human",
"value": "/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:set ts=4 sw=4 sts=4 et: */\npackage jp.oist.flint.rpc;\n\nimport com.sun.net.httpserver.HttpServer;\nimport java... | java | chosen |
[
{
"from": "system",
"value": "Fix timestamps that got messed up by a change in the logging"
},
{
"from": "human",
"value": "package heufybot.core;\n\nimport java.text.DateFormat;\nimport java.text.SimpleDateFormat;\nimport java.util.Date;\n\nimport heufybot.utils.FileUtils;\n\npublic class Logge... | java | chosen |
[
{
"from": "system",
"value": "Change NB timeout to 2 minutes, was 10 seconds\n"
},
{
"from": "human",
"value": "/* Copyright 2017 Telstra Open Source\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": "Rewrite initExceptionTest to be less stupid\n"
},
{
"from": "human",
"value": "package spark;\n\nimport java.util.concurrent.CompletableFuture;\nimport java.util.concurrent.ExecutorService;\nimport java.util.concurrent.Executors;\n\nimport org.junit.Assert;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Fix an NPE with the persistence executor.\n"
},
{
"from": "human",
"value": "package com.staticbloc.jobs;\n\nimport android.content.Context;\n\nimport java.util.concurrent.ExecutorService;\nimport java.util.concurrent.Executors;\n\npublic abstract class BasicPersist... | java | chosen |
[
{
"from": "system",
"value": "Add core column types and renderTypes to TCA Util\n"
},
{
"from": "human",
"value": "package com.cedricziel.idea.typo3.util;\n\nimport com.intellij.psi.PsiElement;\n\nimport java.util.Arrays;\n\nimport static com.cedricziel.idea.typo3.psi.PhpElementsUtil.extractArra... | java | chosen |
[
{
"from": "system",
"value": "Add usage string for exit command\n"
},
{
"from": "human",
"value": "package seedu.tache.logic.commands;\n\nimport seedu.tache.commons.core.EventsCenter;\nimport seedu.tache.commons.events.ui.ExitAppRequestEvent;\n\n/**\n * Terminates the program.\n */\npublic class... | java | chosen |
[
{
"from": "system",
"value": "Correct opcode of the 377 OpenDialogueOverlayMessage.\n"
},
{
"from": "human",
"value": "package org.apollo.net.release.r377;\n\nimport org.apollo.game.message.impl.OpenDialogueOverlayMessage;\nimport org.apollo.net.codec.game.DataOrder;\nimport org.apollo.net.codec... | java | chosen |
[
{
"from": "system",
"value": "Fix the PF themes used in the default UX/UI selection."
},
{
"from": "human",
"value": "package router;\n\nimport javax.servlet.http.HttpServletRequest;\n\nimport org.skyve.impl.web.UserAgent.UserAgentType;\nimport org.skyve.metadata.router.UxUi;\nimport org.skyve.m... | java | chosen |
[
{
"from": "system",
"value": "Add \"NOTWHITE\" color and simple conversion rule.\n"
},
{
"from": "human",
"value": "package cz.muni.fi.rtsystems.robojagr.enums;\n\npublic enum Color {\n WHITE;\n \n public static Color getColor(int number) {\n return Color.WHITE;\n }\n}\n"
},... | java | chosen |
[
{
"from": "system",
"value": "Add field necessary for querying specific field within data source."
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.solr.query.model.ontology.enums;\n\n/**\n * Solr Term fields. Must have the same names as in the schema.xml solR file\n * @author cbonill\n... | java | chosen |
[
{
"from": "system",
"value": "Use the proper toString() method.\n\n\ngit-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@413 542714f4-19e9-0310-aa3c-eee0fc999fb1\n"
},
{
"from": "human",
"value": "//\n// $Id: BootstrapData.java,v 1.1 2001/07/19 07:09:16 mdb Exp $\n\npackage com.threerings.cockt... | java | chosen |
[
{
"from": "system",
"value": "Add random mutation method for when bacteria are created.\n"
},
{
"from": "human",
"value": "package com.capitalistlepton.model;\n\nimport java.util.Random;\n\n/**\n * Created by zanelittrell on 2/5/17.\n */\npublic class Bacterium {\n\n private static final Rand... | java | chosen |
[
{
"from": "system",
"value": "Make sure the public repository remains compilable\n"
},
{
"from": "human",
"value": "package nl.rug.search.cpptool.api;\n\nimport com.google.common.collect.ImmutableList;\nimport nl.rug.search.cpptool.api.util.ContextTools;\n\nimport javax.annotation.Nonnull;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Add event to cancel or change chat messages sent from server\n"
},
{
"from": "human",
"value": "package net.minecraftforge.event;\n\nimport net.minecraft.src.EntityPlayerMP;\n\n@Cancelable\npublic class ServerChatEvent extends Event {\n public final String me... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Refresh all views when invoking move action\"\n\nThis reverts commit 76b1802295a934f3bdf20d09fea7f705b2189425.\n"
},
{
"from": "human",
"value": "package com.yuyakaido.android.cardstackview.internal;\n\nimport android.support.annotation.Nullable;\nimport an... | java | chosen |
[
{
"from": "system",
"value": "Add documentation for POE exception in network protocols\n"
},
{
"from": "human",
"value": "package org.jvirtanen.parity.net.poe;\n\nimport org.jvirtanen.parity.net.ProtocolException;\n\npublic class POEException extends ProtocolException {\n\n public POEExceptio... | java | chosen |
[
{
"from": "system",
"value": "[ui][fix] Update cucumber options to new format\n"
},
{
"from": "human",
"value": "package io.syndesis.qe;\n\nimport com.codeborne.selenide.Configuration;\nimport cucumber.api.CucumberOptions;\nimport cucumber.api.junit.Cucumber;\nimport org.junit.BeforeClass;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Make sure tests cover deprecated value(Class<T>) method\n"
},
{
"from": "human",
"value": "package specs;\n\nimport static com.greghaskins.spectrum.Spectrum.describe;\nimport static com.greghaskins.spectrum.Spectrum.it;\nimport static com.greghaskins.spectrum.Spectr... | java | chosen |
[
{
"from": "system",
"value": "Add the languageId and registeredInStore properties to the customer.\n"
},
{
"from": "human",
"value": "package com.nopcommerce.domain;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.databind.annotation.JsonDeserialize;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Add test for unauthenticated user all 4 HTTP methods in TripsServlet\n"
},
{
"from": "human",
"value": "package com.google.sps;\n\nimport com.google.appengine.api.datastore.Entity;\nimport com.google.appengine.tools.development.testing.LocalDatastoreServiceTestConfi... | java | chosen |
[
{
"from": "system",
"value": "Make test case valid MiniJava.\n"
},
{
"from": "human",
"value": "/**\n * Tests some evaluation order / side effects with && and ||.\n *\n * @author Elvis Stansvik <elvstone@gmail.com>\n */\n\n//EXT:BDJ\n\nclass SideEffects {\n public static void main(String[] ar... | java | chosen |
[
{
"from": "system",
"value": "Test menu item returned by the default plugin.\n"
},
{
"from": "human",
"value": "package org.tomighty.plugin;\n\nimport com.google.inject.AbstractModule;\nimport com.google.inject.Guice;\nimport com.google.inject.Injector;\nimport org.junit.Test;\n\nimport static o... | java | chosen |
[
{
"from": "system",
"value": "Update InitialLifeCycleState used when initializing RN in FB4A\n\nSummary:\nThis diff changes the InitialLifeCycleState used when initializing RN in FB4A from BEFORE_RESUME to BEFORE_CREATE.\nThe value of this field is used during the teardown of RN to determine if RN is actual... | java | chosen |
[
{
"from": "system",
"value": "Fix critical upgrade/repair bug.\nInitial changes to allow multiple player groups.\n"
},
{
"from": "human",
"value": "package com.untamedears.citadel.entity;\n\nimport com.untamedears.citadel.Citadel;\n\nimport javax.persistence.Entity;\nimport javax.persistence.Id;... | java | chosen |
[
{
"from": "system",
"value": "Add aditional test to make sure a failed verify is possible\n"
},
{
"from": "human",
"value": "package arez.component;\n\nimport arez.AbstractArezTest;\nimport arez.ArezTestUtil;\nimport org.testng.annotations.Test;\nimport static org.testng.Assert.*;\n\npublic clas... | java | chosen |
[
{
"from": "system",
"value": "Check that kaffe doesn't allow invocation of a null pointer.\n"
},
{
"from": "human",
"value": "/*\n * test that caught null pointers exceptions in finalizers work correctly\n * and that local variables are accessible in null pointer exception handlers.\n */\nimport... | java | chosen |
[
{
"from": "system",
"value": "Clarify static method description for sharing\n"
},
{
"from": "human",
"value": "package org.mozilla.webmaker.util;\n\nimport android.app.Activity;\nimport android.content.Intent;\nimport org.mozilla.webmaker.R;\n\npublic class Share {\n\n /**\n * Launches a ... | java | chosen |
[
{
"from": "system",
"value": "Make rotate methods from Integer available"
},
{
"from": "human",
"value": "package org.bouncycastle.util;\n\npublic class Integers\n{\n public static Integer valueOf(int value)\n {\n return Integer.valueOf(value);\n }\n}\n"
},
{
"from": "gpt... | java | chosen |
[
{
"from": "system",
"value": "Remove `@Incubating` on package resources\n\nWe only annotate types and methods.\n\n+review REVIEW-6529\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2011 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");... | java | chosen |
[
{
"from": "system",
"value": "Check if the user had the GPS enabled\n"
},
{
"from": "human",
"value": "package com.supinfo.jva.geocar;\n\nimport android.app.Activity;\nimport android.os.Bundle;\n\n/**\n * Created by Martin on 29/03/2015.\n */\npublic class Home extends Activity{\n\n @Override... | java | chosen |
[
{
"from": "system",
"value": "Update the alltests.java in tests.engine\n"
},
{
"from": "human",
"value": "/*******************************************************************************\n * Copyright (c) 2004 Actuate Corporation. All rights reserved. This program and\n * the accompanying materi... | java | chosen |
[
{
"from": "system",
"value": "Change first screen to Splash screen instead of MainMenu"
},
{
"from": "human",
"value": "package com.leakedbits.codelabs;\r\n\r\nimport com.badlogic.gdx.Game;\r\n\r\npublic class Codelabs extends Game {\r\n\r\n\tpublic static final String TITLE = \"Codelabs\";\r\n\... | java | chosen |
[
{
"from": "system",
"value": "Resolve erro squid:S1132 no Sonar\n"
},
{
"from": "human",
"value": "package br.gov.servicos.foundation.http;\n\nimport lombok.experimental.FieldDefaults;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.stereotype.Componen... | java | chosen |
[
{
"from": "system",
"value": "Use the AddChildCommand from the UI\n"
},
{
"from": "human",
"value": "/*\n * EditSomeXML is a graphical XML editor\n * \n * Copyright (C) 2014 David Jackson\n * \n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.