conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Add test for projection alias\n"
},
{
"from": "human",
"value": "package at.lingu.sqlcompose;\n\nimport at.lingu.sqlcompose.projection.Projection;\nimport at.lingu.sqlcompose.source.Table;\nimport org.junit.Test;\n\n/**\n * Tests for select statements.\n *\n * @auth... | java | chosen |
[
{
"from": "system",
"value": "Make isLocalAddress(...) allow canonical addresses\n"
},
{
"from": "human",
"value": "package com.thinkaurelius.titan.util.system;\n\nimport java.net.InetAddress;\nimport java.net.UnknownHostException;\nimport java.util.Collection;\n\npublic class NetworkUtil {\n ... | java | chosen |
[
{
"from": "system",
"value": "Change database interface to return List<>.\n"
},
{
"from": "human",
"value": "package eic.beike.projectx.network.projectXServer;\n\nimport eic.beike.projectx.util.ScoreEntry;\n\n/**\n * Used to interact with the database, these are long running network operations a... | java | chosen |
[
{
"from": "system",
"value": "Make mobile streaming dialog easier to understand\n"
},
{
"from": "human",
"value": "package de.danoeh.antennapod.dialog;\n\nimport android.content.Context;\nimport android.view.View;\nimport android.widget.CheckBox;\nimport androidx.appcompat.app.AlertDialog;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Use hashset to avoid duplicate scopes.\n\nAlso add extra comment to explain scoping implmentation.\n\nChange-Id: I7d7d58469e66f233a7f00244241c57872405f904\n"
},
{
"from": "human",
"value": "package io.gapi.vgen;\n\nimport com.google.api.Authentication;\nimport com.g... | java | chosen |
[
{
"from": "system",
"value": "Call CraftRecipe Register Func on preInit\n"
},
{
"from": "human",
"value": "package jp.crafterkina.pipes.common;\n\nimport lombok.Getter;\nimport net.minecraftforge.fml.common.Mod;\nimport net.minecraftforge.fml.common.Mod.InstanceFactory;\nimport net.minecraftforg... | java | chosen |
[
{
"from": "system",
"value": "Fix typo in Adler32 name.\n"
},
{
"from": "human",
"value": "package au.com.acegi.hashbench.hashers;\n\nimport java.nio.ByteBuffer;\nimport java.util.Map;\nimport java.util.zip.Adler32;\n\npublic class AdlerHasher implements Hasher {\n public static final String JR... | java | chosen |
[
{
"from": "system",
"value": "Add base static fields and private constructor.\n"
},
{
"from": "human",
"value": "package com.m4gik.util;\n\n/**\n * A collection of utility methods used throughout this project. This class\n * mainly contains method for implementing the operations of presenting da... | java | chosen |
[
{
"from": "system",
"value": "Fix createInitialQuotes guard clause issue\n"
},
{
"from": "human",
"value": "package io.github.jordao76.quotes;\n\nimport java.util.*;\n\nimport org.springframework.boot.*;\nimport org.springframework.boot.autoconfigure.*;\nimport org.springframework.context.annota... | java | chosen |
[
{
"from": "system",
"value": "RESTWS-210: Rename subresources (e.g. person/_uuid_/attributes) to be singular, not plural\n"
},
{
"from": "human",
"value": "/**\r\n * The contents of this file are subject to the OpenMRS Public License\r\n * Version 1.0 (the \"License\"); you may not use this file... | java | chosen |
[
{
"from": "system",
"value": "Remove comment about generic param that does not seem to apply.\n\nTest Plan: Verify that this removes the warning when running `ant javadoc`.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014-present Facebook, Inc.\n *\n * Licensed under the Apache License, ... | java | chosen |
[
{
"from": "system",
"value": "Add test to check that the opponent is set correctly\n"
},
{
"from": "human",
"value": "/**\n * Created by andybb on 18.03.15.\n */\n\n\nimport org.junit.Test;\nimport static org.junit.Assert.*;\n\nimport com.mygdx.game.controllers.GameNetworkController;\nimport com... | java | chosen |
[
{
"from": "system",
"value": "Allow undo command to work after the clear command\n"
},
{
"from": "human",
"value": "package seedu.task.logic.commands;\n\nimport java.util.Optional;\n\nimport javafx.scene.control.Alert;\nimport javafx.scene.control.Alert.AlertType;\nimport javafx.scene.control.Bu... | java | chosen |
[
{
"from": "system",
"value": "Add some methods to the container for migration"
},
{
"from": "human",
"value": "package info.u_team.u_team_test.init;\n\nimport info.u_team.u_team_core.containertype.UContainerType;\nimport info.u_team.u_team_core.util.registry.BaseRegistryUtil;\nimport info.u_team... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Chage vairable to low case for adapt front side js\"\n\nThis reverts commit a70627dd0194ea6544f780b5f6d9fff20a2a0a0f.\n"
},
{
"from": "human",
"value": "package com.decker.Essentials.Category;\r\n\r\npublic class CategoryChild\r\n{\r\n public CategoryChi... | java | chosen |
[
{
"from": "system",
"value": "Add toStringMethod for easy read.\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.rest.search.query;\n\n\n/**\n * Represents the simplest of {@link QuickGOQuery} objects, containing just the field and values to query against.\n */\npublic class AllQuery... | java | chosen |
[
{
"from": "system",
"value": "KULRICE-1857: Synchronize DTOs with BOs. @Override caused problems\n"
},
{
"from": "human",
"value": "/*\r\n * Copyright 2007 The Kuali Foundation\r\n *\r\n * Licensed under the Educational Community License, Version 1.0 (the \"License\");\r\n * you may not use this... | java | chosen |
[
{
"from": "system",
"value": "Add mock implementation of UserManagement\n"
},
{
"from": "human",
"value": "package com.yahoo.vespa.hosted.controller.api.integration.stubs;\n\npublic class MockUserManagement {\n\n}\n"
},
{
"from": "gpt",
"value": "package com.yahoo.vespa.hosted.contro... | java | chosen |
[
{
"from": "system",
"value": "Modify the Serializer for DPID (Long -> DatapathId )\n"
},
{
"from": "human",
"value": "/**\n* Copyright 2011,2012 Big Switch Networks, Inc. \n* Originally created by David Erickson, Stanford University\n* \n* Licensed under the Apache License, Version 2.0 ... | java | chosen |
[
{
"from": "system",
"value": "Increase number of recs to 8 for now.l\n"
},
{
"from": "human",
"value": "\npackage com.uwetrottmann.shopr;\n\nimport android.app.Application;\n\nimport com.uwetrottmann.shopr.algorithm.AdaptiveSelection;\nimport com.uwetrottmann.shopr.algorithm.Utils;\n\npublic cla... | java | chosen |
[
{
"from": "system",
"value": "Use full class name as a kind (fix issue with proguard)"
},
{
"from": "human",
"value": "package com.zakgof.db.velvet.impl.entity;\n\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Locale;\n\nimport com.zakgof.db.velvet.IVelvet.IStoreIndexDef... | java | chosen |
[
{
"from": "system",
"value": "Change method name to make sense (this was a bad copy-paste job!)\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.atlas.controllers;\n\nimport org.springframework.context.annotation.Scope;\nimport org.springframework.stereotype.Controller;\nimport org.springfra... | java | chosen |
[
{
"from": "system",
"value": "Remove createJSModules for RN 0.47.\n"
},
{
"from": "human",
"value": "package com.artirigo.kontaktio;\n\nimport com.facebook.react.ReactPackage;\nimport com.facebook.react.bridge.JavaScriptModule;\nimport com.facebook.react.bridge.NativeModule;\nimport com.facebook... | java | chosen |
[
{
"from": "system",
"value": "Add missing method to no-op artifact\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017. nekocode (nekocode.cn@gmail.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 Lice... | java | chosen |
[
{
"from": "system",
"value": "Add common area to unit type\n"
},
{
"from": "human",
"value": "/*\n *\n * Copyright 2012-2014 Eurocommercial Properties NV\n *\n *\n * Licensed under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with ... | java | chosen |
[
{
"from": "system",
"value": "Fix bug in primitive name string put -> insert\n"
},
{
"from": "human",
"value": "package org.spoofax.interpreter.library.ssl;\n\nimport io.usethesource.capsule.BinaryRelation;\n\nimport org.spoofax.interpreter.core.IContext;\nimport org.spoofax.interpreter.library.... | java | chosen |
[
{
"from": "system",
"value": "Handle some JEI stuff differently, still broken..\n\n"
},
{
"from": "human",
"value": "package codechicken.enderstorage.plugin.jei;\n\nimport codechicken.enderstorage.recipe.RecipeBase;\nimport mezz.jei.api.*;\nimport mezz.jei.api.gui.ICraftingGridHelper;\nimport me... | java | chosen |
[
{
"from": "system",
"value": "XWIKI-2054: Add Utility API to remove all non alpha numeric chartacters from some text\n\n* Fixed unit tests so that it works on all system encodings\n\nNote: I don't know to test an accent properly...\n\ngit-svn-id: cfa2b40e478804c47c05d0f328c574ec5aa2b82e@7268 f329d543-caf0-0... | java | chosen |
[
{
"from": "system",
"value": "SEAMFACES-95: Make ProjectStage available from EL - using Enum\n"
},
{
"from": "human",
"value": "package org.jboss.seam.faces.environment;\n\nimport javax.enterprise.inject.Produces;\nimport javax.faces.context.FacesContext;\nimport javax.inject.Named;\n\n/**\n * <... | java | chosen |
[
{
"from": "system",
"value": "fix(tameable-data): Fix tameable data not working with new cached player object\n"
},
{
"from": "human",
"value": "package valandur.webapi.json.serializer.entity;\n\nimport org.spongepowered.api.data.manipulator.mutable.entity.TameableData;\nimport valandur.webapi.W... | java | chosen |
[
{
"from": "system",
"value": "Support more than one type of token.\n\nThis is going to be important for producing decent perma-links\nto result sets, that can be reliably run at various times in the\nfuture by anyone with the link without compromising the user account of\nthe profile involved.\n"
},
{
... | java | chosen |
[
{
"from": "system",
"value": "Delete testonly namespaces from the duplicate namespaces exemption list\n\nGITHUB_BREAKING_CHANGES=none\n\n-------------\nCreated by MOE: https://github.com/google/moe\nMOE_MIGRATED_REVID=360768962\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2021 Google Inc.... | java | chosen |
[
{
"from": "system",
"value": "Print the stack with the latest atom at the top\n"
},
{
"from": "human",
"value": "package net.jloop.rejoice;\n\nimport java.util.ArrayList;\nimport java.util.Iterator;\n\npublic class Stack implements Iterable<Atom> {\n\n private final ArrayList<Atom> atoms;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Document future methods addition on mode objects"
},
{
"from": "human",
"value": "/*******************************************************************************\n * Copyright (c) 2014 Codenvy, S.A.\n * All rights reserved. This program and the accompanying materia... | java | chosen |
[
{
"from": "system",
"value": "Prepare version number for upcoming release"
},
{
"from": "human",
"value": "package cgeo.geocaching.utils;\n\nimport cgeo.geocaching.BuildConfig;\n\npublic class BranchDetectionHelper {\n\n // should contain the version name of the last feature release\n publ... | java | chosen |
[
{
"from": "system",
"value": "Set order to a low-priority but uncommon value\n\nWithout the order, it takes the default value (100), which can\neasily collide with another WebConfigurerAdapter in the application\nusing the library\n"
},
{
"from": "human",
"value": "package org.zalando.problem.sp... | java | chosen |
[
{
"from": "system",
"value": "Rename some constants and strings\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 ThoughtWorks, 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 o... | java | chosen |
[
{
"from": "system",
"value": "JasonLeyba: Remove unnecessary modifiers and cleanup whitespace.\n\n\ngit-svn-id: 4179480af2c2519a5eb5e1e9b541cbdf5cf27696@12481 07704840-8298-11de-bf8c-fd130f914ac9\n"
},
{
"from": "human",
"value": "/*\nCopyright 2007-2009 WebDriver committers\nCopyright 2007-2009... | java | chosen |
[
{
"from": "system",
"value": "Add missing EDUPUB property \"seriespage\"\n"
},
{
"from": "human",
"value": "package com.adobe.epubcheck.vocab;\n\npublic class StagingEdupubVocab\n{\n public static final String URI = \"http://www.idpf.org/epub/vocab/structure/#\";\n public static final Vocab VO... | java | chosen |
[
{
"from": "system",
"value": "Remove @Override (Should have been in the last commit).\n"
},
{
"from": "human",
"value": "package io.collap.bryg.compiler.library;\n\nimport io.collap.bryg.compiler.library.html.HTMLFunctionCollection;\n\nimport java.util.HashMap;\nimport java.util.Map;\n\npublic c... | java | chosen |
[
{
"from": "system",
"value": "Check that Apache Commons DBCP2 is on the classpath before trying to use it.\n"
},
{
"from": "human",
"value": "package org.springframework.cloud.service.relational;\n\nimport javax.sql.DataSource;\n\nimport org.springframework.cloud.service.ServiceConnectorConfig;\... | java | chosen |
[
{
"from": "system",
"value": "Clarify parameter names in item on object event.\n"
},
{
"from": "human",
"value": "package org.apollo.game.event.impl;\n\nimport org.apollo.game.event.Event;\nimport org.apollo.game.model.Position;\n\n/**\n * An {@link Event} sent by the client when an item is used... | java | chosen |
[
{
"from": "system",
"value": "Test for property names in GeoFeature\n"
},
{
"from": "human",
"value": "package me.itszooti.geojson;\n\nimport static org.hamcrest.MatcherAssert.assertThat;\nimport static org.hamcrest.Matchers.equalTo;\nimport static org.hamcrest.Matchers.instanceOf;\nimport stati... | java | chosen |
[
{
"from": "system",
"value": "Add tenant id to Enrollment Certificate\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n *\n * WSO2 Inc. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you ma... | java | chosen |
[
{
"from": "system",
"value": "ROO-1364: Create new TypeLocationService and implementation to locate java types based on the annotations a type contains - add javadoc to method\n"
},
{
"from": "human",
"value": "package org.springframework.roo.classpath;\n\nimport org.springframework.roo.classpat... | java | chosen |
[
{
"from": "system",
"value": "Update GitHub blog feed URL"
},
{
"from": "human",
"value": "package com.gh4a.model;\n\nimport io.reactivex.Single;\nimport retrofit2.Response;\nimport retrofit2.http.GET;\nimport retrofit2.http.Path;\n\npublic interface GitHubFeedService {\n @GET(\"{url}\")\n ... | java | chosen |
[
{
"from": "system",
"value": "Fix the extraction of the HttpServletRequest\n"
},
{
"from": "human",
"value": "package net.kencochrane.raven.servlet;\n\nimport javax.servlet.ServletRequestEvent;\nimport javax.servlet.ServletRequestListener;\nimport javax.servlet.annotation.WebListener;\nimport ja... | java | chosen |
[
{
"from": "system",
"value": "Return only tasks without start time for surprise\n"
},
{
"from": "human",
"value": "package jfdi.logic.commands;\n\nimport jfdi.logic.events.NoSurpriseEvent;\nimport jfdi.logic.events.SurpriseEvent;\nimport jfdi.logic.interfaces.Command;\nimport jfdi.storage.apis.T... | java | chosen |
[
{
"from": "system",
"value": "Use session cookie encryption key from environment variable\n"
},
{
"from": "human",
"value": "package au.gov.dto.dibp.appointments.config;\n\nimport au.gov.dto.dibp.appointments.initializer.HttpsOnlyFilter;\nimport au.gov.dto.dibp.appointments.initializer.LogClient... | java | chosen |
[
{
"from": "system",
"value": "Use multiline string to make test for InputStreamAXT.readToString() fail\n"
},
{
"from": "human",
"value": "package org.ligi.axt.test;\n\nimport android.os.Environment;\n\nimport org.apache.tools.ant.filters.StringInputStream;\nimport org.junit.Test;\nimport org.jun... | java | chosen |
[
{
"from": "system",
"value": "Modify harvestibility for butter blocks.\n"
},
{
"from": "human",
"value": "package net.darkmorford.btweagles.block;\n\nimport net.darkmorford.btweagles.BetterThanWeagles;\nimport net.minecraft.block.Block;\nimport net.minecraft.block.SoundType;\nimport net.minecraf... | java | chosen |
[
{
"from": "system",
"value": "Fix return type of Maybe usecase\n"
},
{
"from": "human",
"value": "package easymvp.usecase;\n\nimport javax.annotation.Nullable;\n\nimport easymvp.executer.PostExecutionThread;\nimport easymvp.executer.UseCaseExecutor;\nimport io.reactivex.Maybe;\nimport io.reactiv... | java | chosen |
[
{
"from": "system",
"value": "Use type casting instead of resolve() since we know it is actually ResolvedDependency\n"
},
{
"from": "human",
"value": "package com.github.blindpirate.gogradle.task;\n\nimport com.github.blindpirate.gogradle.build.BuildManager;\nimport com.github.blindpirate.gograd... | java | chosen |
[
{
"from": "system",
"value": "Remove out of date comment from Agroal extension\n"
},
{
"from": "human",
"value": "package io.quarkus.agroal.runtime;\n\nimport io.quarkus.arc.Arc;\nimport io.quarkus.arc.runtime.BeanContainer;\nimport io.quarkus.arc.runtime.BeanContainerListener;\nimport io.quarku... | java | chosen |
[
{
"from": "system",
"value": "EST-495: Add Electrical Substation and Land as unit type\n"
},
{
"from": "human",
"value": "/*\n *\n * Copyright 2012-2014 Eurocommercial Properties NV\n *\n *\n * Licensed under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file exc... | java | chosen |
[
{
"from": "system",
"value": "Add comparison function for credentials class.\n"
},
{
"from": "human",
"value": "package com.topsy.jmxproxy.jmx;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\n\nimport org.hibernate.validator.constraints.NotEmpty;\n\npublic class ConnectionCredentials {... | java | chosen |
[
{
"from": "system",
"value": "Refactor PostgresContainer to use JDBC for database and role creation\n"
},
{
"from": "human",
"value": "package io.ebean.docker.commands;\n\nimport java.sql.Connection;\nimport java.sql.SQLException;\n\npublic abstract class JdbcBaseDbContainer extends DbContainer ... | java | chosen |
[
{
"from": "system",
"value": "Append 站 to train station name\n"
},
{
"from": "human",
"value": "package cn.sunner.sms2calendar;\n\nimport java.util.Calendar;\nimport java.util.GregorianCalendar;\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\n/**\n * Created by Sunner on 6/2... | java | chosen |
[
{
"from": "system",
"value": "Update 2 of Splash Activity\n"
},
{
"from": "human",
"value": "package com.implementist.treantreading;\n\nimport android.app.Activity;\nimport android.content.Intent;\nimport android.os.Bundle;\n\nimport com.implementist.treantreading.pref.AppPref;\n\n/**\n * Copyri... | java | chosen |
[
{
"from": "system",
"value": "Fix build breaking checkstyle issue\n"
},
{
"from": "human",
"value": "package pl.tomaszdziurko.jvm_bloggers.mailing;\n\n\nimport lombok.extern.slf4j.Slf4j;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.stereotype.Compon... | java | chosen |
[
{
"from": "system",
"value": "Add rangeCondition to algorithm binding\n"
},
{
"from": "human",
"value": "package org.yamcs.algorithms;\n\nimport java.util.Calendar;\nimport java.util.Date;\n\nimport org.yamcs.parameter.ParameterValue;\nimport org.yamcs.protobuf.Pvalue.AcquisitionStatus;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Copy path to clipboard implemented\r\n\n"
},
{
"from": "human",
"value": "package de.bastiankrol.startexplorer.popup.actions;\r\n\r\nimport java.util.List;\r\n\r\npublic class CopyResourcePathToClipboardHandler extends\r\nAbstractStartFromResourceHandler\r\n{\r\n /... | java | chosen |
[
{
"from": "system",
"value": "Add getter and setter for Patient attribute\n"
},
{
"from": "human",
"value": "package org.pdxfinder.dao;\n\nimport java.util.HashSet;\nimport org.neo4j.ogm.annotation.GraphId;\nimport org.neo4j.ogm.annotation.NodeEntity;\nimport org.neo4j.ogm.annotation.Relationshi... | java | chosen |
[
{
"from": "system",
"value": "Adjust packaging for non-public classes\n\nMotivation:\nIn order to generate javadocs of our public API, we need to not have\npublic and internal classes in the same packages.\n\nModifications:\n* mostly moving internal classes to the appropriate internal package\n\nResult:\nGe... | java | chosen |
[
{
"from": "system",
"value": "gs-cv: Test histogram comparator on classified files\n"
},
{
"from": "human",
"value": "package org.genericsystem.cv;\n\nimport java.util.stream.Collectors;\n\nimport org.opencv.core.Core;\n\npublic class HistogramComparator {\n\n\tstatic {\n\t\tSystem.loadLibrary(C... | java | chosen |
[
{
"from": "system",
"value": "Add a broker in frankfurt region\n"
},
{
"from": "human",
"value": "package com.alibaba.rocketmq.client.producer.selector;\n\npublic enum Region {\n US_EAST(1),\n US_WEST(3),\n SINGAPORE(2),\n ANY(100),\n SAME(101);\n private int index;\n\n Regi... | java | chosen |
[
{
"from": "system",
"value": "Add indexName and indexType public\n"
},
{
"from": "human",
"value": "package com.github.cleverage.elasticsearch;\n\n/**\n * ElasticSearch Path to request\n * curl -XGET 'http://localhost:9200/twitter/tweet/1'\n *\n * _index : \"twitter\",\n \" _type\" : \"tweet\"... | java | chosen |
[
{
"from": "system",
"value": "Set the head position to a sensible value"
},
{
"from": "human",
"value": "package blue.lapis.lapitar2.slave.render;\n\nimport org.lwjgl.opengl.GL11;\n\nimport blue.lapis.lapitar2.Lapitar;\n\n\npublic class HeadRenderer extends Renderer {\n\tprivate Cube helm, head;... | java | chosen |
[
{
"from": "system",
"value": "Fix test for Boolean value\n"
},
{
"from": "human",
"value": "package com.mpalourdio.hello.model;\n\nimport com.mpalourdio.hello.AbstractTestRunner;\nimport org.junit.Assert;\nimport org.junit.Before;\nimport org.junit.Test;\nimport org.springframework.beans.factory... | java | chosen |
[
{
"from": "system",
"value": "Use SafeRunner to get bookmark properties"
},
{
"from": "human",
"value": "package mesfavoris.internal.bookmarktypes;\n\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.eclipse.jface.viewers.ISelection;\nimport org.eclipse.ui... | java | chosen |
[
{
"from": "system",
"value": "Throw exception before using null\n"
},
{
"from": "human",
"value": "package org.irmacard.credentials.info;\n\nimport java.net.URI;\nimport java.util.HashMap;\n\n/**\n * TODO: Change print statements to proper Logging statements\n */\npublic class DescriptionStore {... | java | chosen |
[
{
"from": "system",
"value": "Make error message easier to read\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2009 Jan Ouwens\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": "Remove unused getter for duration\n"
},
{
"from": "human",
"value": "package de.kimminich.kata.botwars.effects;\n\nimport de.kimminich.kata.botwars.Bot;\nimport de.kimminich.kata.botwars.messages.Message;\n\npublic abstract class AbstractEffect implements Effect {\n... | java | chosen |
[
{
"from": "system",
"value": "Add documentation for protocol exception\n"
},
{
"from": "human",
"value": "package org.jvirtanen.nassau;\n\nimport java.io.IOException;\n\npublic class ProtocolException extends IOException {\n\n public ProtocolException(String message) {\n super(message)... | java | chosen |
[
{
"from": "system",
"value": "Speed up vision collector loop\n"
},
{
"from": "human",
"value": "package com.gmail.jakekinsella.background;\n\nimport com.gmail.jakekinsella.communicator.Communicator;\nimport com.gmail.jakekinsella.map.Map;\nimport com.gmail.jakekinsella.robot.RobotControl;\n\n/**... | java | chosen |
[
{
"from": "system",
"value": "Remove JavaDoc reference to test class.\n\nThe test class is no available by JavaDoc.\n"
},
{
"from": "human",
"value": "package org.junit.experimental.runners;\n\nimport java.lang.reflect.Modifier;\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport org.... | java | chosen |
[
{
"from": "system",
"value": "Check if processed node is already in the nodesSet\n"
},
{
"from": "human",
"value": "package de.bmoth.parser.ast.nodes.ltl;\n\npublic class BuechiAutomaton {\n\n public String new_name() {\n return \"place holder\";\n }\n \n public BuechiAutomato... | java | chosen |
[
{
"from": "system",
"value": "Add the city for testing.\n"
},
{
"from": "human",
"value": "package test.java;\n\nimport static org.junit.Assert.*;\nimport junit.framework.TestCase;\n\nimport org.junit.AfterClass;\nimport org.junit.BeforeClass;\nimport org.junit.Test;\n\nimport com.xrtb.geo.GeoTa... | java | chosen |
[
{
"from": "system",
"value": "Fix pay command always sending 0.\n\nCloses #197\nCloses #193\n"
},
{
"from": "human",
"value": "package org.gestern.gringotts.commands;\n\nimport org.bukkit.command.Command;\nimport org.bukkit.command.CommandSender;\nimport org.bukkit.entity.Player;\n\nimport stati... | java | chosen |
[
{
"from": "system",
"value": "Update to use the Logger instead of the System.out.println()."
},
{
"from": "human",
"value": "package study.hard.javalib.nativelib;\n\nimport org.junit.Test;\n\npublic class LanguageTest {\n\n\t@Test\n\tpublic void testStaticVariable() {\n\t\tClassThatHasStaticVari... | java | chosen |
[
{
"from": "system",
"value": "Use the normal builder now (maybe we make a custom deferred register for\nthat for easier use)"
},
{
"from": "human",
"value": "package info.u_team.u_team_test.init;\n\nimport info.u_team.u_team_core.entitytype.UEntityType;\nimport info.u_team.u_team_test.TestMod;\n... | java | chosen |
[
{
"from": "system",
"value": "Add method to return UV type to interface\n"
},
{
"from": "human",
"value": "package io.github.rlee287.jrainbuck.uppering;\n\npublic interface UVCreator {\n\n\tpublic byte[] getUV();\n\n}"
},
{
"from": "gpt",
"value": "package io.github.rlee287.jrainbuck... | java | chosen |
[
{
"from": "system",
"value": "Event: Fix Network Bus Tests (Hopefully)\n"
},
{
"from": "human",
"value": "package jpower.event.test;\n\nimport jpower.core.utils.ThreadUtils;\nimport jpower.event.ClientEventBus;\nimport jpower.event.EventHandler;\nimport jpower.event.ServerEventBus;\nimport org.j... | java | chosen |
[
{
"from": "system",
"value": "Add another condition in test case where it fails due to fake\nimplementation in equals method"
},
{
"from": "human",
"value": "package com.sibisoft.faizaniftikhartdd;\r\n\r\nimport static org.junit.Assert.*;\r\n\r\nimport org.junit.Test;\r\n\r\npublic class DollarE... | java | chosen |
[
{
"from": "system",
"value": "Remove @override on createJSModules for latest RN version"
},
{
"from": "human",
"value": "package com.devfd.RNGeocoder;\n\nimport java.util.Arrays;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\n\nimport com.facebook.react.Reac... | java | chosen |
[
{
"from": "system",
"value": "Add save dialog for export\n"
},
{
"from": "human",
"value": "package editor.menubar;\n\nimport xml.Element;\nimport xml.ElementXMLSerializer;\n\nimport java.awt.event.ActionEvent;\nimport java.awt.event.ActionListener;\n\n/**\n * The ExportActionListener is used to... | java | chosen |
[
{
"from": "system",
"value": "Reduce scroll time when seeking over many views\n"
},
{
"from": "human",
"value": "package com.marverenic.music.view;\n\nimport android.content.Context;\nimport android.support.v7.widget.LinearSmoothScroller;\nimport android.util.DisplayMetrics;\n\npublic class Snap... | java | chosen |
[
{
"from": "system",
"value": "Delete existing files before downloading them again\n"
},
{
"from": "human",
"value": "package pl.niekoniecznie.p2e;\n\nimport pl.niekoniecznie.polar.io.PolarEntry;\nimport pl.niekoniecznie.polar.io.PolarFileSystem;\n\nimport java.io.IOException;\nimport java.io.Inp... | java | chosen |
[
{
"from": "system",
"value": "Add JsonView to name and description\n"
},
{
"from": "human",
"value": "package com.royalrangers.model.achievement;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.royalrangers.model.BaseModel;\nimport lombok.Getter;\nimport lombok.Setter;\n\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Remove misleading comment - the only diff from latest Doug Lea version.\n\nsvn path=/harmony/; revision=800268\n"
},
{
"from": "human",
"value": "/*\n * Written by Doug Lea with assistance from members of JCP JSR-166\n * Expert Group and released to the public domai... | java | chosen |
[
{
"from": "system",
"value": "Add unit test to get operating system method.\n"
},
{
"from": "human",
"value": "package com.github.aureliano.achmed.os;\n\nimport static org.junit.Assert.assertEquals;\n\nimport org.junit.Test;\n\nimport com.github.aureliano.achmed.os.pkg.IPackageManager;\nimport c... | java | chosen |
[
{
"from": "system",
"value": "Fix race condition in test\n"
},
{
"from": "human",
"value": "package io.undertow.servlet.test.streams;\n\nimport java.io.IOException;\n\nimport javax.servlet.ServletException;\nimport javax.servlet.ServletOutputStream;\nimport javax.servlet.http.HttpServlet;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Remove comment containing `@FunctionalInterface` as per review comments.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 MovingBlocks\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": "Add basic convenience async property runnable execution\n"
},
{
"from": "human",
"value": "package moe.tristan.easyfxml.util;\n\nimport java.util.function.Consumer;\nimport java.util.function.Supplier;\n\nimport javafx.beans.property.Property;\n\npublic final class ... | java | chosen |
[
{
"from": "system",
"value": "Test push from my own branch\n"
},
{
"from": "human",
"value": "// Copyright 2019 Google LLC\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 copy of t... | java | chosen |
[
{
"from": "system",
"value": "Set up our SimulatorManager on init().\n\n\ngit-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@940 542714f4-19e9-0310-aa3c-eee0fc999fb1\n"
},
{
"from": "human",
"value": "//\n// $Id: SimpleServer.java,v 1.1 2002/02/05 22:12:42 mdb Exp $\n\npackage com.threerings.m... | java | chosen |
[
{
"from": "system",
"value": "Remove kafka topic confusion: consumer topic always comes first\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) TESOBE Ltd. 2016. All rights reserved.\n *\n * Use of this source code is governed by a GNU AFFERO license\n * that can be found in the LICENSE fi... | java | chosen |
[
{
"from": "system",
"value": "Update project brian to use new ONSDigital repo location.\n"
},
{
"from": "human",
"value": "package com.github.davidcanboni.jenkins.values;\n\nimport java.net.MalformedURLException;\nimport java.net.URL;\n\n/**\n * Created by david on 15/07/2015.\n */\npublic enum ... | java | chosen |
[
{
"from": "system",
"value": "Use args to create the desired instance of transit\n"
},
{
"from": "human",
"value": "// Copyright (c) Cognitect, Inc.\n// All rights reserved.\n\npackage com.cognitect.transit;\n\npublic class TestRoundtrip {\n\n public static void main(String [] args) throws Ex... | java | chosen |
[
{
"from": "system",
"value": "Fix empty chunk precached byte arrays"
},
{
"from": "human",
"value": "package protocolsupport.protocol.legacyremapper.chunk;\n\nimport protocolsupport.utils.netty.Compressor;\n\npublic class EmptyChunk {\n\n\tprivate static final byte[] fake18ChunkDataSky = new byt... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.