conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Make MAX_WIDTH and MAX_HEIGHT static"
},
{
"from": "human",
"value": "package org.fountanio.world;\n\nimport java.io.BufferedReader;\nimport java.io.File;\nimport java.io.FileReader;\nimport java.io.IOException;\nimport java.io.Reader;\nimport java.util.ArrayList;\n... | java | chosen |
[
{
"from": "system",
"value": "Fix ClearCommand Unit Test Failing\n"
},
{
"from": "human",
"value": "package guitests;\n\nimport static org.junit.Assert.assertTrue;\n\nimport org.junit.Test;\n\npublic class ClearCommandTest extends TaskManagerGuiTest {\n\n @Test\n public void clear() {\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Add test for shortened clear command\n"
},
{
"from": "human",
"value": "package guitests;\n\nimport static org.junit.Assert.assertTrue;\n\nimport org.junit.Test;\n\npublic class ClearCommandTest extends EzDoGuiTest {\n\n @Test\n public void clear() {\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Fix NPE on missing mods - still need to actually handle missing mods properly on client\n"
},
{
"from": "human",
"value": "package cpw.mods.fml.common.network;\n\nimport net.minecraft.src.NetHandler;\nimport net.minecraft.src.NetworkManager;\n\npublic class ModMissi... | java | chosen |
[
{
"from": "system",
"value": "Use BoxLayout for better component arrangement\n\nRefer CommonFrame's content pane as the layout target container\nwith Y axis. Now it's a basic responsive Java design if resizeable.\n"
},
{
"from": "human",
"value": "/**\n * Part of Employ\n */\n\nimport java.awt.*... | java | chosen |
[
{
"from": "system",
"value": "Allow HTML files to pass through Rewrite filter\n"
},
{
"from": "human",
"value": "package org.aslak.github.merge;\n\nimport java.io.IOException;\nimport java.util.regex.Pattern;\n\nimport javax.servlet.Filter;\nimport javax.servlet.FilterChain;\nimport javax.servle... | java | chosen |
[
{
"from": "system",
"value": "Implement test for too few arguments.\n\nFollowing example at:\nhttp://www.developer.com/tech/article.php/3669436/Test-Driving-a-Java-Command-Line-Application.htm"
},
{
"from": "human",
"value": "package com.skraylabs.poker;\n\nimport static org.junit.Assert.fail;\n... | java | chosen |
[
{
"from": "system",
"value": "Fix <= 1.6 clients not being able to respawn"
},
{
"from": "human",
"value": "package protocolsupport.protocol.packet.middleimpl.serverbound.play.v_4_5_6;\n\nimport io.netty.buffer.ByteBuf;\nimport protocolsupport.protocol.packet.middle.serverbound.play.MiddleClient... | java | chosen |
[
{
"from": "system",
"value": "Fix typo in fxml name"
},
{
"from": "human",
"value": "package com.annimon.jmr;\n\nimport com.annimon.jmr.controllers.MainController;\nimport java.io.IOException;\nimport javafx.application.Application;\nimport javafx.fxml.FXMLLoader;\nimport javafx.scene.Scene;\nim... | java | chosen |
[
{
"from": "system",
"value": "Fix duplicated key not copying ID correctly\n"
},
{
"from": "human",
"value": "package net.mcft.copy.betterstorage;\n\nimport net.mcft.copy.betterstorage.items.ItemKey;\nimport net.mcft.copy.betterstorage.items.ItemLock;\nimport net.minecraft.entity.player.EntityPla... | java | chosen |
[
{
"from": "system",
"value": "Add meat to the docs\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2009 the original author(s).\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": "Add Calculo de distancia no frete\n"
},
{
"from": "human",
"value": "import java.util.*;\n\nclass Carrinho{\n\tArrayList<Produto> prod = new ArrayList<Produto>();\n\n\tpublic double calculaPeso(Produto P){\n\t\tdouble peso = 0.0;\n\t\tfor(int i = 0; i < prod.size();... | java | chosen |
[
{
"from": "system",
"value": "Remove erroneous cast to long in summary histogram recording\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2017 Pivotal Software, Inc.\n * <p>\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compli... | java | chosen |
[
{
"from": "system",
"value": "Delete test file after creation"
},
{
"from": "human",
"value": "package org.sejda.core.support.prefix.processor;\n\nimport org.junit.Test;\nimport org.sejda.core.support.prefix.model.NameGenerationRequest;\n\nimport java.io.File;\nimport java.io.IOException;\n\nimp... | java | chosen |
[
{
"from": "system",
"value": "Add screen size to onStartApp method"
},
{
"from": "human",
"value": "package com.annimon.jecp;\r\n\r\n/**\r\n *\r\n * @author aNNiMON\r\n */\r\npublic interface ApplicationListener {\r\n \r\n public void onStartApp();\r\n \r\n public void onPauseApp();\... | java | chosen |
[
{
"from": "system",
"value": "Update test to latest number of 27 nub sources\n"
},
{
"from": "human",
"value": "package org.gbif.checklistbank.nub.source;\n\nimport org.gbif.api.vocabulary.Rank;\nimport org.gbif.checklistbank.nub.model.SrcUsage;\n\nimport java.util.List;\nimport java.util.UUID;\... | java | chosen |
[
{
"from": "system",
"value": "Fix sends blocking due to small queue size.\n"
},
{
"from": "human",
"value": "package mirror;\n\nimport java.util.concurrent.ArrayBlockingQueue;\nimport java.util.concurrent.BlockingQueue;\n\npublic class Queues {\n\n // this is probably too large, but hopefully i... | java | chosen |
[
{
"from": "system",
"value": "Rename \"order\" to \"position\" in the track object\n"
},
{
"from": "human",
"value": "package models;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport javax.persistence.Entity;\nimport javax.persistence.OneToMany;\n\nimport play.data.validation.Max... | java | chosen |
[
{
"from": "system",
"value": "Fix regular expression to also match an empty line.\n"
},
{
"from": "human",
"value": "package com.github.aureliano.evtbridge.core.matcher;\n\nimport java.util.regex.Pattern;\n\nimport com.github.aureliano.evtbridge.common.helper.StringHelper;\n\npublic class Single... | java | chosen |
[
{
"from": "system",
"value": "Add variable equality and improve constructor\n"
},
{
"from": "human",
"value": "package org.lvcp.eepperly.expr;\n\nimport java.util.List;\n\n/**\n * Created by eepperly16 on 12/11/15.\n */\npublic class Variable implements Expr {\n\tprivate String varName;\n\tpubli... | java | chosen |
[
{
"from": "system",
"value": "SDC-6927: Add additional data formats to DataParser processor\n\nAdded all data formats that seems \"plausible\" for a processor. E.g.\nall of them except of:\n\n* SDC_JSON\n* BINARY\n* TEXT\n* DATAGRAM\n* WHOLE_FILE\n\nChange-Id: Ibbc048f7171d34141715a84e29300b0d2fa364ff\nRevi... | java | chosen |
[
{
"from": "system",
"value": "Test DynamicPrefixStrategy for each grid scan level (an internal threshold) to tease out possible bugs.\n"
},
{
"from": "human",
"value": "package org.apache.lucene.spatial.test.strategy;\n\nimport org.apache.lucene.spatial.base.context.SpatialContext;\nimport org.a... | java | chosen |
[
{
"from": "system",
"value": "Remove unused argument/flag when tweeting\n"
},
{
"from": "human",
"value": "package com.tmitim.twittercli.commands;\n\nimport java.util.List;\n\nimport org.apache.commons.lang3.StringUtils;\n\nimport com.github.rvesse.airline.SingleCommand;\nimport com.github.rvess... | java | chosen |
[
{
"from": "system",
"value": "Update API usage in client app\n"
},
{
"from": "human",
"value": "package com.khmelenko.lab.sensorsclient.network;\n\nimport com.khmelenko.lab.sensorsclient.network.response.Device;\nimport com.khmelenko.lab.sensorsclient.network.response.WeatherData;\n\nimport java... | java | chosen |
[
{
"from": "system",
"value": "Add more useful toString for World than the default\n"
},
{
"from": "human",
"value": "package nallar.tickthreading.mixin.world;\n\nimport me.nallar.mixin.Add;\nimport me.nallar.mixin.Mixin;\nimport net.minecraft.world.World;\n\n@Mixin\npublic abstract class MixinWo... | java | chosen |
[
{
"from": "system",
"value": "Fix FindBugs warnings in Parser Test.\n"
},
{
"from": "human",
"value": "package core;\n\nimport org.junit.Before;\nimport org.junit.Test;\n\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.util.HashMap;\n\nimport static org.junit.Assert.*;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Add new line at the end of error message"
},
{
"from": "human",
"value": "package xhl.core;\n\nimport java.io.FileNotFoundException;\nimport java.io.FileReader;\nimport java.io.IOException;\n\nimport xhl.core.elements.CodeList;\nimport xhl.core.exceptions.Evaluation... | java | chosen |
[
{
"from": "system",
"value": "Remove `source` field; type and container will have this info\n"
},
{
"from": "human",
"value": "package edu.deanza.calendar.models;\n\n//constructor for localDateTime: LocalDateTime(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour)\n\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Fix crash on login with broken bukkit dimensions list\n\nSigned-off-by: Ross Allan <ca2c77e14df1e7ee673215c1ef658354e220f471@gmail.com>\n"
},
{
"from": "human",
"value": "package me.nallar.collections;\r\n\r\nimport me.nallar.tickthreading.Log;\r\nimport net.minecra... | java | chosen |
[
{
"from": "system",
"value": "Correct issue number in documentation"
},
{
"from": "human",
"value": "package test.issues.strava;\n\nimport static org.junit.Assert.assertNull;\nimport javastrava.api.v3.model.StravaSegmentEffort;\nimport javastrava.api.v3.service.exception.NotFoundException;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Make test inner classes static\n"
},
{
"from": "human",
"value": "package org.granchi.hollywood;\n\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.mockito.junit.MockitoJUnitRunner;\n\nimport static com.google.common.truth.Truth.assertThat;\n\n@... | java | chosen |
[
{
"from": "system",
"value": "Clear spaces - fix indent"
},
{
"from": "human",
"value": "/* TRUNK */\r\npackage bingo;\r\nimport java.util.ArrayList;\r\n\r\npublic class BingoCard {\r\n //private int[] cardNumbers = new int[24];\r\n //NumberCollection nc =new NumberCollection();\r\n pr... | java | chosen |
[
{
"from": "system",
"value": "Change in warning message when user attempts to change task storage directory\n"
},
{
"from": "human",
"value": "package seedu.task.alerts;\n\nimport java.util.Optional;\n\nimport javafx.scene.control.Alert;\nimport javafx.scene.control.ButtonType;\n\n//@@author A01... | java | chosen |
[
{
"from": "system",
"value": "Initialize Stetho and Timber logging in Application\n"
},
{
"from": "human",
"value": "package de.philipphager.disclosure;\n\nimport android.app.Application;\nimport com.jakewharton.threetenabp.AndroidThreeTen;\n\nimport static de.philipphager.disclosure.util.assert... | java | chosen |
[
{
"from": "system",
"value": "Refactor simple arrow head to use two lines instead of path\n\n"
},
{
"from": "human",
"value": "package SW9.model_canvas.arrow_heads;\n\nimport javafx.scene.paint.Color;\nimport javafx.scene.shape.LineTo;\nimport javafx.scene.shape.MoveTo;\nimport javafx.scene.shap... | java | chosen |
[
{
"from": "system",
"value": "Fix issue with the default IO callback\n"
},
{
"from": "human",
"value": "package io.undertow.io;\n\nimport java.io.IOException;\n\nimport io.undertow.UndertowLogger;\nimport io.undertow.server.HttpServerExchange;\nimport org.xnio.IoUtils;\n\n/**\n * A default callb... | java | chosen |
[
{
"from": "system",
"value": "Fix load failure if not logged in.\n"
},
{
"from": "human",
"value": "package com.gh4a.loader;\n\nimport java.io.IOException;\n\nimport org.eclipse.egit.github.core.RepositoryId;\nimport org.eclipse.egit.github.core.client.RequestException;\nimport org.eclipse.egit.... | java | chosen |
[
{
"from": "system",
"value": "Increase timeout to avoid SQLITE_BUSY\n"
},
{
"from": "human",
"value": "package yanagishima.provider;\n\nimport me.geso.tinyorm.TinyORM;\n\nimport javax.inject.Inject;\nimport javax.inject.Provider;\nimport java.sql.Connection;\n\npublic class TinyORMProvider imple... | java | chosen |
[
{
"from": "system",
"value": "Change what happens when there is no field on SmartDashboard\n"
},
{
"from": "human",
"value": "package org.robockets.robotswitcher;\n\nimport edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;\n\n/** Used to get and initialize a SmartDashboard field for a robot n... | java | chosen |
[
{
"from": "system",
"value": "Test whether Z3Java can be loaded in a simpler way.\n"
},
{
"from": "human",
"value": "/*\n * JavaSMT is an API wrapper for a collection of SMT solvers.\n * This file is part of JavaSMT.\n *\n * Copyright (C) 2007-2015 Dirk Beyer\n * All rights reserved.\n *\n ... | java | chosen |
[
{
"from": "system",
"value": "Fix everything being completely broken. Oops.\n\nSigned-off-by: Ross Allan <ca2c77e14df1e7ee673215c1ef658354e220f471@gmail.com>\n"
},
{
"from": "human",
"value": "package me.nallar.patched;\r\n\r\nimport net.minecraft.world.ChunkCoordIntPair;\r\n\r\npublic abstract ... | java | chosen |
[
{
"from": "system",
"value": "Replace Hello World with something more professional\n"
},
{
"from": "human",
"value": "package controllers;\n\nimport play.*;\nimport play.mvc.*;\nimport play.db.jpa.*;\n\nimport views.html.*;\n\npublic class Application extends Controller {\n public Result inde... | java | chosen |
[
{
"from": "system",
"value": "Remove the unused logger (for the wrong class), Luke!\n"
},
{
"from": "human",
"value": "package nl.vpro.poel.service;\n\n\nimport nl.vpro.poel.domain.Group;\nimport nl.vpro.poel.dto.GroupForm;\nimport nl.vpro.poel.repository.GroupRepository;\nimport org.slf4j.Logge... | java | chosen |
[
{
"from": "system",
"value": "Use binary scores to represent sentiment in map\n"
},
{
"from": "human",
"value": "package udacity.storm.tools;\n\nimport java.util.Properties;\n\nimport edu.stanford.nlp.ling.CoreAnnotations;\nimport edu.stanford.nlp.neural.rnn.RNNCoreAnnotations;\nimport edu.stanf... | java | chosen |
[
{
"from": "system",
"value": "Rename remote field to uri.\n"
},
{
"from": "human",
"value": "package ee.shy.core;\n\nimport ee.shy.io.Jsonable;\nimport ee.shy.io.Validated;\n\nimport java.net.URI;\nimport java.util.Objects;\n\n/**\n * Class representing a remote repository's URI.\n */\npublic cl... | java | chosen |
[
{
"from": "system",
"value": "Include DemoModule in module list for simple Android example.\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 ... | java | chosen |
[
{
"from": "system",
"value": "Add the 'not' function to the initial 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, \"u... | java | chosen |
[
{
"from": "system",
"value": "Remove RES definition as potential use case is unknow right now\n\nChange-Id: I6d7d44598755632dbe5d069bc0de3e740e7ccc17\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Open Networking Laboratory\n *\n * Licensed under the Apache License, Version 2.0 (the \"... | java | chosen |
[
{
"from": "system",
"value": "Return no-cache instead of last-modified for better performance\n"
},
{
"from": "human",
"value": "package com.codecrafters.server;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.http.HttpStatus;\nimport org.springframe... | java | chosen |
[
{
"from": "system",
"value": "Fix checkstyle issue: File does not end with a newline\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Benedikt Ritter\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the Lice... | java | chosen |
[
{
"from": "system",
"value": "Add player object to game\n"
},
{
"from": "human",
"value": "package game;\n\nimport model.Grid;\n\n/**\n * Created by kuro on 10/03/16.\n */\npublic class Game {\n\n private Grid grid;\n private boolean gameLooping;\n private long now, last;\n\n public ... | java | chosen |
[
{
"from": "system",
"value": "[MNG-3400] Implement clone properly following Effective Java' book considerations\n\ngit-svn-id: 2c527eb49caa05e19d6b2be874bf74fa9d7ea670@627935 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "package org.apache.maven.lifecycle.statemgmt;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Write data in dedicated writer\n"
},
{
"from": "human",
"value": "package io.mandrel.common.export;\n\nimport io.mandrel.common.content.FieldExtractor;\nimport io.mandrel.common.store.Document;\n\nimport java.io.IOException;\nimport java.io.Writer;\nimport java.util... | java | chosen |
[
{
"from": "system",
"value": "Use SHA-256 for the encryption.\n"
},
{
"from": "human",
"value": "package org.sagebionetworks.bridge.crypto;\n\nimport org.bouncycastle.jce.provider.BouncyCastleProvider;\nimport org.jasypt.encryption.StringEncryptor;\nimport org.jasypt.encryption.pbe.StandardPBESt... | java | chosen |
[
{
"from": "system",
"value": "Add test for getting/setting default encoding in preferences\n"
},
{
"from": "human",
"value": "package net.sf.jabref;\n\nimport static org.junit.Assert.assertEquals;\n\nimport java.io.File;\n\nimport org.junit.After;\nimport org.junit.Before;\nimport org.junit.Test... | java | chosen |
[
{
"from": "system",
"value": "Remove non-MVP Graph API calls\n"
},
{
"from": "human",
"value": "package edu.deanza.calendar;\n\nimport android.support.v7.app.AppCompatActivity;\nimport android.os.Bundle;\n\nimport com.facebook.AccessToken;\nimport com.facebook.FacebookSdk;\nimport com.facebook.G... | java | chosen |
[
{
"from": "system",
"value": "Enable to print formatted json\n"
},
{
"from": "human",
"value": "package com.rejasupotaro.octodroid;\n\nimport com.google.gson.Gson;\n\npublic class GsonProvider {\n private static Gson gson = new Gson();\n\n public static void set(Gson gson) {\n GsonP... | java | chosen |
[
{
"from": "system",
"value": "Remove logging statment used for debugging.\n"
},
{
"from": "human",
"value": "package foam.lib.json;\n\nimport foam.lib.parse.*;\n\npublic class FObjectParser extends ProxyParser {\n public FObjectParser() {\n super(new Seq1(7,\n new Whitespac... | java | chosen |
[
{
"from": "system",
"value": "Switch to hex encoding for key values\n"
},
{
"from": "human",
"value": "package com.kryptnostic.api.v1.client;\n\nimport java.io.File;\nimport java.io.IOException;\n\nimport com.google.common.hash.HashFunction;\nimport com.google.common.hash.Hashing;\nimport com.go... | java | chosen |
[
{
"from": "system",
"value": "Add nFrame parameter in putAudioSamplesRx method.\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/or... | java | chosen |
[
{
"from": "system",
"value": "Make Error info constructor package private\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the Apache 2.0 License.\n * See the accompanying LICENSE file for terms.\n */\npackage com.yahoo.squidb.processor.data;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Reduce number/scope of warning suppressions.\nConsolidate node-list manipulation into one place, which in turn is implemented correctly.\n\ngit-svn-id: e7a1cf118dbd81641b56f1cead84a0876efec607@16178 bf327186-88b3-11dd-a302-d386e5130c1c\n"
},
{
"from": "human",
"valu... | java | chosen |
[
{
"from": "system",
"value": "Add annotations about expected outcomes\n"
},
{
"from": "human",
"value": "package sfBugsNew;\n\nimport java.io.Serializable;\n\npublic class Bug1242 {\n\n\n public static class Child extends Parent<Something>\n {\n @Override\n public Something g... | java | chosen |
[
{
"from": "system",
"value": "Make things compile again after some file renames.\n"
},
{
"from": "human",
"value": "package entityframe.test;\n\nimport javax.persistence.EntityManager;\nimport javax.persistence.PersistenceContext;\n\nimport com.darwinsys.entityframe.*;\n\npublic class DemoEntity... | java | chosen |
[
{
"from": "system",
"value": "Set ImageJ to headless in main method\n"
},
{
"from": "human",
"value": "/*\n * #%L\n * ImageJ server for RESTful access to ImageJ.\n * %%\n * Copyright (C) 2013 - 2016 Board of Regents of the University of\n * Wisconsin-Madison.\n * %%\n * Licensed under the Apache... | java | chosen |
[
{
"from": "system",
"value": "Fix one last thing, good to run\n"
},
{
"from": "human",
"value": "package cellsociety_team05;\n\npublic class SegregationSimulation extends Simulation {\n\tprivate Grid myGrid;\n\tprivate double similar; \n\n\tpublic SegregationSimulation(Setup setup){\n\t\tsuper(s... | java | chosen |
[
{
"from": "system",
"value": "Add error handling and logging to healthcheck"
},
{
"from": "human",
"value": "package com.github.arteam.jdbi3;\n\nimport com.codahale.metrics.health.HealthCheck;\nimport io.dropwizard.db.TimeBoundHealthCheck;\nimport io.dropwizard.util.Duration;\nimport org.jdbi.v3... | java | chosen |
[
{
"from": "system",
"value": "Fix error in previous commit\n"
},
{
"from": "human",
"value": "package com.ui;\n\nimport com.ui.TelemetryListener;\n\nimport java.awt.*;\nimport javax.imageio.*;\nimport javax.swing.*;\nimport java.awt.FontMetrics;\n\npublic class DataLabel extends JLabel implement... | java | chosen |
[
{
"from": "system",
"value": "Add recipes for new things\n"
},
{
"from": "human",
"value": "package net.shadowfacts.foodies.recipe;\n\nimport cpw.mods.fml.common.registry.GameRegistry;\nimport net.minecraft.init.Items;\nimport net.minecraft.item.ItemStack;\nimport net.shadowfacts.foodies.item.FI... | java | chosen |
[
{
"from": "system",
"value": "Add chat support by default into the Whirled scene manager. This will\nprobably come out again because it should really be added by the manager\nused by the target application. They may not want exactly the same kind of\nchat support.\n\n\ngit-svn-id: a1a4b28b82a3276cc491891159... | java | chosen |
[
{
"from": "system",
"value": "Add constructors with initial value."
},
{
"from": "human",
"value": "package fr.vergne.taskmanager.history;\n\npublic class DefaultHistorizable<T> implements Historizable<T> {\n\n\tprivate final boolean isNullForbiden;\n\n\tpublic DefaultHistorizable(boolean forbid... | java | chosen |
[
{
"from": "system",
"value": "Fix broken code, comment out sun.awt.X11.XLayerProtocol"
},
{
"from": "human",
"value": "package dr.inference.model;\n\nimport dr.xml.*;\nimport sun.awt.X11.XLayerProtocol;\n\n/**\n * @author Joseph Heled\n * Date: 4/09/2009\n */\npublic class ValuesPoolPars... | java | chosen |
[
{
"from": "system",
"value": "Print ancestors of a node completed"
},
{
"from": "human",
"value": "package GeeksforGeeksPractice;\r\n\r\npublic class _0016PrintAncestorsOfANode {\r\n\tpublic static class TreeNode {\r\n\t\tint val;\r\n\t\tTreeNode left;\r\n\t\tTreeNode right;\r\n\t\tTreeNode(int ... | java | chosen |
[
{
"from": "system",
"value": "Add the number field to the PR model object\n"
},
{
"from": "human",
"value": "package com.genymobile.pr.model;\n\nimport com.google.gson.annotations.SerializedName;\n\npublic class PullRequest {\n private String title;\n private Head head;\n private String... | java | chosen |
[
{
"from": "system",
"value": "Insert a TODO marker about authorization into sshd's upload command\n\nSigned-off-by: Shawn O. Pearce <f3ea74d906fa9fe97c1fef6bad9cb871485c7045@google.com>\n"
},
{
"from": "human",
"value": "// Copyright 2008 Google Inc.\n//\n// Licensed under the Apache License, Ve... | java | chosen |
[
{
"from": "system",
"value": "Fix for incoming PM matches always being null.\n"
},
{
"from": "human",
"value": "package mnm.mods.tabbychat.filters;\n\nimport java.util.regex.Pattern;\nimport java.util.regex.PatternSyntaxException;\n\nimport mnm.mods.tabbychat.TabbyChat;\nimport mnm.mods.tabbycha... | java | chosen |
[
{
"from": "system",
"value": "Use the ClientRegistry Method in screen register to make it allow the\nregistry object supplier"
},
{
"from": "human",
"value": "package info.u_team.u_team_test.init;\n\nimport info.u_team.u_team_core.util.registry.MainThreadWorker;\nimport info.u_team.u_team_test.T... | java | chosen |
[
{
"from": "system",
"value": "Fix NotOnJavaFXThread exception for remote import\n"
},
{
"from": "human",
"value": "package org.jabref.gui.remote;\n\nimport java.util.Arrays;\nimport java.util.List;\n\nimport org.jabref.JabRefGUI;\nimport org.jabref.cli.ArgumentProcessor;\nimport org.jabref.logic... | java | chosen |
[
{
"from": "system",
"value": "Remove all instances of Logger and its imports\n"
},
{
"from": "human",
"value": "package com.hida.model;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.http.HttpStatus;\nimport org.springframework.web.bind.annotation.Respon... | java | chosen |
[
{
"from": "system",
"value": "Add javadoc to the ssl example\n"
},
{
"from": "human",
"value": "package examples.ssl;\n\nimport com.vtence.molecule.WebServer;\n\nimport java.io.IOException;\nimport java.security.GeneralSecurityException;\n\nimport static com.vtence.molecule.testing.ResourceLocat... | java | chosen |
[
{
"from": "system",
"value": "Test commit to branch 1.0.0\n"
},
{
"from": "human",
"value": "package Test;\n\n/**\n * Hello world!\n *\n */\npublic class App \n{\n public static void main( String[] args )\n {\n System.out.println( \"Hello World!\" );\n }\n}\n"
},
{
"from"... | java | chosen |
[
{
"from": "system",
"value": "Update card animation parameters for snappier animations\n"
},
{
"from": "human",
"value": "package fr.utc.assos.uvweb.util;\n\n/**\n * A helper class containing a few parameters for the application's animations.\n */\npublic class AnimationUtils {\n\tpublic static ... | java | chosen |
[
{
"from": "system",
"value": "Fix a bug to specify a script resource name.\n"
},
{
"from": "human",
"value": "package com.github.dakusui.scriptunit.core;\n\nimport com.github.dakusui.scriptunit.annotations.Load;\n\nimport java.util.Properties;\n\nimport static com.github.dakusui.scriptunit.excep... | java | chosen |
[
{
"from": "system",
"value": "Fix issue with guava preconditions check in logback setup\n"
},
{
"from": "human",
"value": "package com.intuso.housemate.platform.pc;\n\nimport ch.qos.logback.classic.LoggerContext;\nimport ch.qos.logback.classic.joran.JoranConfigurator;\nimport ch.qos.logback.core... | java | chosen |
[
{
"from": "system",
"value": "Add test for creation of a metric client\n"
},
{
"from": "human",
"value": "// Copyright 2014 Boundary, 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": "Update as results have changed. Also using @TestCaseId instead of @Issue\n"
},
{
"from": "human",
"value": "package com.google.tests.web;\nimport static com.google.common.truth.Truth.assertThat;\n\nimport org.testng.annotations.Test;\n\nimport ru.yandex.qatools.allu... | java | chosen |
[
{
"from": "system",
"value": "Set version to alpha 8. am: 8442087c28\nam: ebc6cbdb12\n\nChange-Id: Ib14d4ed78714ea09590e3818092accb7e80dca5a\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2017 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"... | java | chosen |
[
{
"from": "system",
"value": "Fix Error in CDVFile on Android, wrong condition url\n"
},
{
"from": "human",
"value": "package com.makina.offline.mbtiles;\n\nimport org.apache.cordova.CordovaResourceApi;\n\nimport android.content.Context;\nimport android.net.Uri;\n\n/**\n * {@link IMBTilesActions... | java | chosen |
[
{
"from": "system",
"value": "Set the relation name for the list of greetings.\n"
},
{
"from": "human",
"value": "package hello.entities;\n\nimport javax.persistence.Entity;\nimport javax.persistence.GeneratedValue;\nimport javax.persistence.Id;\nimport javax.validation.constraints.Pattern;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Test that RawMeasurement timestamps never change.\n"
},
{
"from": "human",
"value": "package com.openxc.remote;\n\nimport static org.junit.Assert.assertTrue;\nimport static org.junit.Assert.assertFalse;\nimport org.junit.Test;\n\npublic class RawMeasurementTest {\n ... | java | chosen |
[
{
"from": "system",
"value": "Change ArrayList of Entities to LinkedList\n"
},
{
"from": "human",
"value": "package edu.stuy.starlorn.world;\n\nimport edu.stuy.starlorn.entities.Entity;\n\nimport java.util.ArrayList;\n\n/*\n * Represents a world with entities in it\n */\npublic class World {\n ... | java | chosen |
[
{
"from": "system",
"value": "Support for branches without pages"
},
{
"from": "human",
"value": "/*\n * Copyright 2013 Google 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 obtain a ... | java | chosen |
[
{
"from": "system",
"value": "Use third person in tests' names\n"
},
{
"from": "human",
"value": "// This is free and unencumbered software released into the public domain.\n// See the `UNLICENSE` file or <http://unlicense.org/> for more details.\n\npackage it.svario.xpathapi.jaxp.test;\n\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Fix the calls to loadMigrators()"
},
{
"from": "human",
"value": "package org.jboss.loom.migrators;\n\n\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Set;\nimport org.jboss.loom.migrators._ext.MigratorDefinition;\nimport org.jboss.loom.spi.IMi... | java | chosen |
[
{
"from": "system",
"value": "Create directories for output if they don't already exist\n\nEspecially the downloader should do this to allow for easier\nscripting.\n"
},
{
"from": "human",
"value": "package com.holmsted.file;\n\nimport java.io.BufferedWriter;\nimport java.io.File;\nimport java.i... | java | chosen |
[
{
"from": "system",
"value": "Change connect port to 80\n"
},
{
"from": "human",
"value": "package com.sungil_i.user.sihschool.common;\n\n/**\n * Created by taos9938 on 2016. 12. 15..\n */\n\npublic class Const {\n\n public static final String API_DOMAIN = \"http://52.79.110.21\";\n public... | java | chosen |
[
{
"from": "system",
"value": "Enable filtering when scaling NPOT textures; minor optimizations\n"
},
{
"from": "human",
"value": "package com.rabenauge.gl;\n\nimport android.graphics.Bitmap;\nimport javax.microedition.khronos.opengles.GL10;\nimport javax.microedition.khronos.opengles.GL11;\n\n/*... | java | chosen |
[
{
"from": "system",
"value": "Remove non used method in void driver manager\n"
},
{
"from": "human",
"value": "/*\n * (C) Copyright 2015 Boni Garcia (http://bonigarcia.github.io/)\n *\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of t... | java | chosen |
[
{
"from": "system",
"value": "Clean up test a little\n\n--HG--\nbranch : delegation\n"
},
{
"from": "human",
"value": "package net.lshift.spki.suiteb;\n\nimport static org.junit.Assert.assertEquals;\n\nimport org.junit.Test;\n\npublic class ConditionJoinerTest {\n private static final Condit... | java | chosen |
[
{
"from": "system",
"value": "Add use_srtp extension registration from RFC 5764"
},
{
"from": "human",
"value": "package org.bouncycastle.crypto.tls;\n\npublic class ExtensionType\n{\n /*\n * RFC 6066 1.1.\n */\n public static final int server_name = 0;\n public static final int... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.