conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Add documentation to card import handler\n"
},
{
"from": "human",
"value": "package editor.gui.ccp.handler;\n\nimport java.awt.datatransfer.DataFlavor;\nimport java.awt.datatransfer.UnsupportedFlavorException;\nimport java.io.IOException;\nimport java.util.Arrays;\n... | java | chosen |
[
{
"from": "system",
"value": "Make ender slime spawn rate more sane\n\n"
},
{
"from": "human",
"value": "package net.silentchaos512.gems.entity;\n\nimport java.util.List;\n\nimport com.google.common.collect.Lists;\n\nimport net.minecraft.entity.EnumCreatureType;\nimport net.minecraft.init.Biomes... | java | chosen |
[
{
"from": "system",
"value": "Fix redeclaration of name in use of Map.computeIfAbsent.\n"
},
{
"from": "human",
"value": "package org.babblelang.engine.impl.natives.java;\n\nimport org.babblelang.engine.impl.Callable;\nimport org.babblelang.engine.impl.Interpreter;\nimport org.babblelang.engine.... | java | chosen |
[
{
"from": "system",
"value": "Disable NBT Tag End tests\n\n-- The NBTTagEnd constructor seems to be inaccessible in non-development\n1.8.9, not entirely sure why\n"
},
{
"from": "human",
"value": "package com.choonster.testmod3.tests;\n\n/**\n * Runs this mod's tests.\n *\n * @author Choonster\n... | java | chosen |
[
{
"from": "system",
"value": "Make colored tree panel clearable\n"
},
{
"from": "human",
"value": "package signature.display;\n\nimport java.awt.Dimension;\nimport java.awt.Graphics;\n\nimport javax.swing.JPanel;\n\nimport signature.ColoredTree;\n\npublic class ColoredTreePanel extends JPanel {\... | java | chosen |
[
{
"from": "system",
"value": "Use Singleton scope for Neo4JGraphDatabase\n\nFixes #493\n"
},
{
"from": "human",
"value": "/* Copyright (c) 2013 OpenPlans. All rights reserved.\n * This code is licensed under the BSD New License, available at the root\n * application directory.\n */\npackage org.... | java | chosen |
[
{
"from": "system",
"value": "Make sure JsonbConfigCustomizers are sorted by @Priority\n"
},
{
"from": "human",
"value": "package io.quarkus.jsonb;\n\nimport javax.enterprise.context.Dependent;\nimport javax.enterprise.inject.Instance;\nimport javax.enterprise.inject.Produces;\nimport javax.inje... | java | chosen |
[
{
"from": "system",
"value": "Add a method to set the duration\n"
},
{
"from": "human",
"value": "package com.kolinkrewinkel.BitLimitTweaks;\n\nimport java.util.*;\nimport com.google.common.base.Joiner;\nimport org.bukkit.ChatColor;\nimport org.bukkit.*;\nimport org.bukkit.plugin.Plugin;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Add sortkey to create table stmt\n"
},
{
"from": "human",
"value": "package org.bricolages.streaming.preflight;\n\nimport java.util.StringJoiner;\nimport lombok.*;\n\nclass CreateTableGenerator {\n private StreamDefinitionEntry streamDef;\n CreateTableGenerato... | java | chosen |
[
{
"from": "system",
"value": "Change JecpApllication class in JECP-SE"
},
{
"from": "human",
"value": "package com.annimon.jecp.se;\r\n\r\nimport com.annimon.jecp.ApplicationListener;\r\nimport java.awt.event.WindowEvent;\r\nimport java.awt.event.WindowListener;\r\nimport javax.swing.JFrame;\r\n... | java | chosen |
[
{
"from": "system",
"value": "Use the appropriate methods for checking equality. This gives better results when debugging the errors.\n\ngit-svn-id: ac804e38dcddf5e42ac850d29d9218b7df6087b7@459989 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * $Id$\n * $Revision$\... | java | chosen |
[
{
"from": "system",
"value": "Change hunger values for toast\n"
},
{
"from": "human",
"value": "package net.shadowfacts.foodies.item;\n\nimport cpw.mods.fml.common.registry.GameRegistry;\n\n/**\n * Helper class for registering items.\n * @author shadowfacts\n */\npublic class FItems {\n\t// Food... | java | chosen |
[
{
"from": "system",
"value": "Fix wrong AST Node parsing on idea-x\n"
},
{
"from": "human",
"value": "package org.coffeebrew.lang.parser;\n\nimport com.intellij.lang.ASTNode;\nimport com.intellij.lang.PsiBuilder;\nimport com.intellij.lang.PsiParser;\nimport com.intellij.psi.impl.source.tree.Plai... | java | chosen |
[
{
"from": "system",
"value": "Remove serializer 0.0->0 todo. Functionality is correct.\n\nMy JSON Firefox plugin hid the .0, making me think this was a\nJackson problem. However, Jackson is correctly outputting floats.\n"
},
{
"from": "human",
"value": "package com.indeed.proctor.service;\n\nimp... | java | chosen |
[
{
"from": "system",
"value": "Change parameter checking to make it you know.. check parameters\n"
},
{
"from": "human",
"value": "package com.kolinkrewinkel.BitLimitTweaks;\n\nimport java.util.*;\nimport com.google.common.base.Joiner;\nimport org.bukkit.ChatColor;\nimport org.bukkit.*;\nimport o... | java | chosen |
[
{
"from": "system",
"value": "Set mImageResourceId to type int. Add overload constructor to include in imageResourceId\n"
},
{
"from": "human",
"value": "package com.example.android.miwok;\n\npublic class Word {\n\n private String mMiwokWord;\n private String mEnglishWord;\n\n // Constr... | java | chosen |
[
{
"from": "system",
"value": "Improve search to contain the 100 most recent tweets in English\nlanguage."
},
{
"from": "human",
"value": "package de.netpioneer.socialmedia.twitter.service;\n\nimport java.util.List;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.spr... | java | chosen |
[
{
"from": "system",
"value": "Fix für Samsung Geräte ohne Navbar\n"
},
{
"from": "human",
"value": "package com.haw.projecthorse.android;\r\n\r\nimport android.os.Build;\r\nimport android.os.Bundle;\r\nimport android.view.View;\r\n\r\nimport com.badlogic.gdx.backends.android.AndroidApplication;\... | java | chosen |
[
{
"from": "system",
"value": "Improve selection of the Recipe\n"
},
{
"from": "human",
"value": "package com.sb.elsinore.html;\n\nimport com.sb.elsinore.BrewServer;\nimport org.rendersnake.HtmlCanvas;\nimport org.rendersnake.Renderable;\n\nimport java.io.IOException;\nimport java.util.ArrayList;... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Environment is now an extendible Java class\"\n\nThis reverts commit c1a40a0f0ea170a3111e4e5e807080b859d626cf.\n"
},
{
"from": "human",
"value": "package us.thirdmillenium.desktoptrainer;\n\nimport com.badlogic.gdx.ApplicationAdapter;\nimport com.badlogic.g... | java | chosen |
[
{
"from": "system",
"value": "Fix Sonar errors and warnings\n\nSonar is reporting some bad code we need to fix.\n\nhttps://sonarcloud.io/project/issues?id=fr.pilato.elasticsearch.crawler%3Afscrawler&open=AV4esPmAMtWHH574evMQ&resolved=false&types=BUG\n"
},
{
"from": "human",
"value": "/*\n * Lice... | java | chosen |
[
{
"from": "system",
"value": "Convert HTML content to spanned to use in content TextView\n"
},
{
"from": "human",
"value": "package de.metalmatze.krautreporter.activities;\n\nimport android.os.Bundle;\nimport android.support.v7.app.ActionBarActivity;\nimport android.widget.ImageView;\nimport and... | java | chosen |
[
{
"from": "system",
"value": "Fix licence header in newly added file."
},
{
"from": "human",
"value": "/**\n * Copyright 2013 Mat Booth <mbooth@apache.org>\n */\npackage com.gpm.calameo;\n\npublic class SingleDrm {\n private String ID;\n private String SubscriptionID;\n private String Subscri... | java | chosen |
[
{
"from": "system",
"value": "Add default message to URI validator\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2020 Global Biodiversity Information Facility (GBIF)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance... | java | chosen |
[
{
"from": "system",
"value": "Add a simple test case, does probably not compile.\n"
},
{
"from": "human",
"value": "package com.k13n.lt_codes;\n\nimport junit.framework.Test;\nimport junit.framework.TestCase;\nimport junit.framework.TestSuite;\n\n/**\n * Unit test for simple App.\n */\npublic cl... | java | chosen |
[
{
"from": "system",
"value": "Revert \"change to file resource\"\n\nThis reverts commit 8fe6a4ffac0f43e401a5c76822ec813af8a3119d.\n"
},
{
"from": "human",
"value": "package com.rllc.spreadsheet;\n\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.context.a... | java | chosen |
[
{
"from": "system",
"value": "Add ranges necessary for AI interaction\n"
},
{
"from": "human",
"value": "package revert.AI;\n\nimport revert.Entities.Actor;\n\npublic interface EnemyAi {\n\n\t/**\n\t * AI to be invoked when an actor is told to attack\n\t */\n\tpublic void attack(Actor a);\n\t\n\... | java | chosen |
[
{
"from": "system",
"value": "Clean up: Remove unused import.\n"
},
{
"from": "human",
"value": "package models.relationships;\n\nimport play.libs.F.Promise;\n\nimport managers.relationships.HasSubstructureRelationshipManager;\nimport models.nodes.Feature;\nimport models.nodes.Rule;\nimport mode... | java | chosen |
[
{
"from": "system",
"value": "Fix a regression in pdfoutline.fo. Supply empty createPropertyList and\nprocessNode methods since the extension elements handles all attributes\nthemself.\n\nPR:\nObtained from:\nSubmitted by:\nReviewed by:\n\n\ngit-svn-id: 102839466c3b40dd9c7e25c0a1a6d26afc40150a@198099 13f795... | java | chosen |
[
{
"from": "system",
"value": "Use exception for signaling leap second\n"
},
{
"from": "human",
"value": "package com.ethlo.time;\n\npublic class LeapSecondException extends Throwable\n{\n}\n"
},
{
"from": "gpt",
"value": "package com.ethlo.time;\n\n/*-\n * #%L\n * Internet Time Utili... | java | chosen |
[
{
"from": "system",
"value": "Test category and listener (removed the sources that are tested in their module)\n\n\ngit-svn-id: afcf11d89342f630bd950d18a70234a9e277d909@60164 523d945c-050c-4681-91ec-863ad3bb968a\n"
},
{
"from": "human",
"value": "/*\n * Created on Mar 30, 2004\n *\n * To change ... | java | chosen |
[
{
"from": "system",
"value": "Implement on error funtion in filled validation\n"
},
{
"from": "human",
"value": "package br.com.bloder.blormlib.validation.validations;\n\nimport android.widget.EditText;\n\nimport br.com.bloder.blormlib.validation.Validate;\nimport br.com.bloder.blormlib.validati... | java | chosen |
[
{
"from": "system",
"value": "Change key of logging property\n"
},
{
"from": "human",
"value": "package au.com.outware.cavemansample;\n\nimport android.content.Context;\n\nimport au.com.outware.caveman.data.repository.EnvironmentContentProviderRepository;\nimport au.com.outware.caveman.domain.re... | java | chosen |
[
{
"from": "system",
"value": "Fix menril sapling having incorrect render layer\n"
},
{
"from": "human",
"value": "package org.cyclops.integrateddynamics.block;\n\nimport net.minecraft.block.Block;\nimport net.minecraft.block.SaplingBlock;\nimport net.minecraft.block.SoundType;\nimport net.minecr... | java | chosen |
[
{
"from": "system",
"value": "Add License to dummy file used to test underscores."
},
{
"from": "human",
"value": "package org.voltdb.compiler;\n\npublic class dummy_test_underscore {\n\n}\n"
},
{
"from": "gpt",
"value": "/* This file is part of VoltDB.\n * Copyright (C) 2008-2014 Vo... | java | chosen |
[
{
"from": "system",
"value": "Revert hello world message. Remove comment\n"
},
{
"from": "human",
"value": "\npublic class HelloWorld {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tSystem.out.println(\"Hello world 1!\");\n\t}\n}\n"
},
{
"from... | java | chosen |
[
{
"from": "system",
"value": "Copy desired state into intent\n"
},
{
"from": "human",
"value": "package me.jaxbot.wear.leafstatus;\n\nimport android.content.BroadcastReceiver;\nimport android.content.Context;\nimport android.content.Intent;\nimport android.util.Log;\n\n/**\n * Created by jonatha... | java | chosen |
[
{
"from": "system",
"value": "Call the construct manager and the integration manager"
},
{
"from": "human",
"value": "package info.u_team.u_team_test2;\n\nimport org.apache.logging.log4j.*;\n\nimport info.u_team.u_team_core.util.verify.JarSignVerifier;\nimport net.minecraftforge.fml.common.Mod;\... | java | chosen |
[
{
"from": "system",
"value": "Add must return a menuitem\n"
},
{
"from": "human",
"value": "package android.view;\n\nimport java.util.ArrayList;\n\npublic class Menu {\n\n\tpublic ArrayList<MenuItem> menuItems = new ArrayList<MenuItem>();\n\n\tpublic void add(int groupId, int itemId, int order, ... | java | chosen |
[
{
"from": "system",
"value": "Fix to avoid asynchronous Ebean fetchAhead (automatically fetches the next page)\n\nWhen a page is accessed, Ebean LimitOffsetPagingQuery.java automatically\nstarts a new background thread to fetch the next page. This thread uses\na database connection that can be still alive a... | java | chosen |
[
{
"from": "system",
"value": "Fix SoulBound enchant not registering when id set to -1\n@CrazyPants wat r u doin"
},
{
"from": "human",
"value": "package crazypants.enderio.enchantment;\n\nimport net.minecraft.enchantment.Enchantment;\nimport crazypants.enderio.Log;\nimport crazypants.enderio.con... | java | chosen |
[
{
"from": "system",
"value": "[ogm/hiking] Move to explicit generator to avoid warning\n"
},
{
"from": "human",
"value": "package org.hibernate.ogm.hiking.model;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport javax.persistence.ElementCollection;\nimport javax.persistence.Entity... | java | chosen |
[
{
"from": "system",
"value": "Add subscriptions, unsubscribe to all when presenter is destroyed\n"
},
{
"from": "human",
"value": "package com.kickstarter.libs;\n\nimport android.os.Bundle;\n\nimport rx.subjects.PublishSubject;\n\npublic class Presenter<ViewType> {\n protected final PublishSubj... | java | chosen |
[
{
"from": "system",
"value": "Use deprecated method to ensure we don't break with older versions of jackson\n"
},
{
"from": "human",
"value": "package com.bugsnag.serialization;\n\nimport com.fasterxml.jackson.annotation.JsonAutoDetect;\nimport com.fasterxml.jackson.annotation.JsonInclude;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Fix not on FX thread exception\n"
},
{
"from": "human",
"value": "package org.jabref;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n * Catch and log any unhandled exceptions.\n */\npublic class FallbackExceptionHandler implements Thread.Uncaug... | java | chosen |
[
{
"from": "system",
"value": "Make test case MiniJava (bah!).\n"
},
{
"from": "human",
"value": "/**\n * This test simply overflows the stack through recursion.\n *\n * @author Elvis Stansvik <elvstone@gmail.com>\n */\nclass StackOverflow {\n public static void main(String[] args) {\n ... | java | chosen |
[
{
"from": "system",
"value": "Fix Jdn class coverage report\n"
},
{
"from": "human",
"value": "// -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; -*-\n// vim: et ts=4 sts=4 sw=4 syntax=java\npackage com.aragaer.jtt.core;\n\nimport static org.junit.Assert.*;\n\nimport org.junit.Test;\n\n\npu... | java | chosen |
[
{
"from": "system",
"value": "Make logging take superclass so not tied to Builds only.\n\nSigned-off-by: Nigel Magnay <0c422baef524090650d5dc166beb1e8269e8fa23@gmail.com>\n"
},
{
"from": "human",
"value": "package com.nirima.jenkins.plugins.docker.utils;\n\nimport com.github.dockerjava.api.model... | java | chosen |
[
{
"from": "system",
"value": "Add Yoga JNI bindings to libcoldstart\n\nSummary:\nYoga's JNI bindings are usually loaded during class loading, and can stall the UI thread.\n\nHere, we try to mitigate the problem by adding the bindings to libcoldstart.\n\nReviewed By: michalgr\n\nDifferential Revision: D12956... | java | chosen |
[
{
"from": "system",
"value": "Use typesafe annotation for component scan\n"
},
{
"from": "human",
"value": "/**\n * Copyright (C) 2016 Red Hat, 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 * ... | java | chosen |
[
{
"from": "system",
"value": "Change configuration name to avoid conflicts (DEV-99)\n"
},
{
"from": "human",
"value": "package sg.ncl.service.authentication;\n\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.context.annotation.Import;\nimport sg.ncl.comm... | java | chosen |
[
{
"from": "system",
"value": "Enable section descriptors in Flipper from configDepends on D13803338/\n\nSummary: as title\n\nReviewed By: passy\n\nDifferential Revision: D13803412\n\nfbshipit-source-id: a9d511ca7d5466eb9b1f82f93b6c48879f0aa02e\n"
},
{
"from": "human",
"value": "// Copyright 2004... | java | chosen |
[
{
"from": "system",
"value": "Update view model life cycle\n"
},
{
"from": "human",
"value": "package com.tehmou.rxbookapp;\n\nimport android.os.Bundle;\nimport android.support.v4.app.Fragment;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\n\nimp... | java | chosen |
[
{
"from": "system",
"value": "Remove dummy access modifier of interface\n\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017, Flávio Keglevich\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 * ... | java | chosen |
[
{
"from": "system",
"value": "Remove Hungarian notation in fields\n"
},
{
"from": "human",
"value": "package com.trevorhalvorson.actorflix;\n\nimport android.content.Context;\nimport android.support.v7.widget.RecyclerView;\nimport android.view.GestureDetector;\nimport android.view.MotionEvent;\n... | java | chosen |
[
{
"from": "system",
"value": "Change List of String[] to List of Book\n"
},
{
"from": "human",
"value": "package com.twu.biblioteca;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class Books {\n private List<String[]> books;\n\n public Books() {\n books = new Arra... | java | chosen |
[
{
"from": "system",
"value": "Make docker credentials Nullable to match API definition\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2013-2020 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in c... | java | chosen |
[
{
"from": "system",
"value": "[475561] Support the \"System Explorer\" and \"Command Prompt\" commands on Mac and Linux, too\n\nhttps://bugs.eclipse.org/bugs/show_bug.cgi?id=475561"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.\n * All right... | java | chosen |
[
{
"from": "system",
"value": "Remove public to pass signature test\n\ngit-svn-id: 60e751271f50ec028ae56d425821c1c711e0b018@905897 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/**\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor l... | java | chosen |
[
{
"from": "system",
"value": "Fix Forge trying to load CraftTweaker support even when CraftTweaker is missing.\n"
},
{
"from": "human",
"value": "package net.darkhax.gamestages.addons.crt;\n\nimport com.blamejared.crafttweaker.impl.commands.script_examples.ExampleCollectionEvent;\n\nimport net.d... | java | chosen |
[
{
"from": "system",
"value": "Remove unused JUnit TemporaryFolder rule.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016-2017 Steinar Bang\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 * Yo... | java | chosen |
[
{
"from": "system",
"value": "Clean up the account security context\n"
},
{
"from": "human",
"value": "package io.paradoxical.cassieq.discoverable.auth;\n\nimport io.dropwizard.auth.Authorizer;\n\nimport javax.ws.rs.container.ContainerRequestContext;\nimport javax.ws.rs.core.SecurityContext;\nim... | java | chosen |
[
{
"from": "system",
"value": "Return in releaseLocalPort funcions the number of remainder processes using them.\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... | java | chosen |
[
{
"from": "system",
"value": "Change the while loop to a for loop to make the code more concise\n"
},
{
"from": "human",
"value": "package com.example.android.miwok;\n\nimport android.os.Bundle;\nimport android.support.v7.app.AppCompatActivity;\nimport android.support.v7.widget.Toolbar;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Stop IntelliJ null warnings for non-null allow parameters...\n"
},
{
"from": "human",
"value": "package aeronicamc.mods.mxtune.gui;\n\nimport net.minecraft.client.Minecraft;\n\npublic class Handler\n{\n private static final Minecraft mc = Minecraft.getInstance();... | java | chosen |
[
{
"from": "system",
"value": "Make QuizAnalysisFactory unit tests more specific.\n"
},
{
"from": "human",
"value": "package com.quizdeck.analysis;\n\nimport com.quizdeck.Application.QuizDeckApplication;\nimport com.quizdeck.analysis.exceptions.AnalysisException;\nimport com.quizdeck.analysis.inp... | java | chosen |
[
{
"from": "system",
"value": "Improve error message when computing a rulekey fails\n\nSummary: This adds the field name in the context message.\n\nTest Plan: CI\n\nReviewed By: elsteveogrande\n\nfbshipit-source-id: c373b6c\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015-present Facebook... | java | chosen |
[
{
"from": "system",
"value": "Reduce the URL timestamp length and avoid using emulated longs\n\ngit-svn-id: 558837a20bd4f75dae4ad66848e1ea511a65cec4@35 0d5c52f8-90a3-11de-8ad7-8b2c2f1e2016\n"
},
{
"from": "human",
"value": "/*\r\n * Copyright 2009 Richard Zschech.\r\n * \r\n * Licensed under the... | java | chosen |
[
{
"from": "system",
"value": "Fix archive versions for 1.3.0\n"
},
{
"from": "human",
"value": "package alien4cloud.packager;\n\nimport alien4cloud.git.RepositoryManager;\nimport alien4cloud.utils.FileUtil;\nimport java.io.IOException;\nimport java.nio.file.Path;\nimport java.nio.file.Paths;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Allow -1 as special values meaning 'no data'\n"
},
{
"from": "human",
"value": "package com.jambit.feuermoni.model;\n\n\nimport javax.persistence.Embeddable;\nimport javax.validation.constraints.Min;\n\nimport lombok.Getter;\nimport lombok.Setter;\nimport lombok.ToS... | java | chosen |
[
{
"from": "system",
"value": "Clean up old preferences on app startup\n"
},
{
"from": "human",
"value": "package com.xebia.xtime;\n\nimport android.app.Application;\n\nimport com.xebia.xtime.webservice.XTimeCookieJar;\nimport com.xebia.xtime.webservice.XTimeWebService;\n\nimport timber.log.Timbe... | java | chosen |
[
{
"from": "system",
"value": "Fix expected PDF E2E warning count\n"
},
{
"from": "human",
"value": "package org.dita.dost;\n\nimport org.junit.Ignore;\nimport org.junit.Test;\n\nimport java.io.File;\nimport java.nio.file.Paths;\n\nimport static org.dita.dost.AbstractIntegrationTest.Transtype.*;\... | java | chosen |
[
{
"from": "system",
"value": "Update copyright header. No logical change.\n"
},
{
"from": "human",
"value": "package org.openqa.grid.common;\n\nimport static org.junit.Assert.assertEquals;\n\nimport org.junit.Test;\nimport org.openqa.selenium.remote.DesiredCapabilities;\n\npublic class SeleniumP... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Forcing generics on DiffElements\" IDEA-CR-54193 WI-27162\n\nThis reverts commit cbf3b57c\n\nGitOrigin-RevId: 8162c394fb08d374a0054844e26aee00c58c7dd1"
},
{
"from": "human",
"value": "/*\n * Copyright 2000-2011 JetBrains s.r.o.\n *\n * Licensed under the Ap... | java | chosen |
[
{
"from": "system",
"value": "Support reverse lookup of partnership when it is an MDN"
},
{
"from": "human",
"value": "package org.openas2.partner;\r\n\r\nimport java.util.List;\r\nimport java.util.Map;\r\n\r\nimport org.openas2.Component;\r\nimport org.openas2.OpenAS2Exception;\r\nimport org.op... | java | chosen |
[
{
"from": "system",
"value": "Add duration to string assertions\n"
},
{
"from": "human",
"value": "package com.github.sormuras.bach.internal;\n\nimport static org.junit.jupiter.api.Assertions.assertEquals;\n\nimport java.lang.module.ModuleDescriptor.Version;\nimport org.junit.jupiter.api.Test;\n... | java | chosen |
[
{
"from": "system",
"value": "Add the test case for the add2Integer() - User2"
},
{
"from": "human",
"value": "package adderTest;\r\n\r\nimport static org.junit.Assert.*;\r\n\r\nimport org.junit.Test;\r\n\r\n// TODO: Auto-generated Javadoc\r\n/**\r\n * The Class AdderTest.\r\n */\r\npublic class... | java | chosen |
[
{
"from": "system",
"value": "Remove the final attribute from the main events on the proxy\n"
},
{
"from": "human",
"value": "package com.hea3ven.tools.commonutils.mod;\n\nimport java.util.List;\n\nimport com.google.common.collect.Lists;\n\nimport org.apache.commons.lang3.tuple.Pair;\n\nimport n... | java | chosen |
[
{
"from": "system",
"value": "Add a helpful comment for the future\n"
},
{
"from": "human",
"value": "package de.retest.recheck.review.ignore;\n\nimport de.retest.recheck.ignore.JSFilterImpl;\nimport de.retest.recheck.review.ignore.io.Loader;\n\npublic class JSFilterLoader implements Loader<JSFi... | java | chosen |
[
{
"from": "system",
"value": "Use the default potion class"
},
{
"from": "human",
"value": "package info.u_team.u_team_test.potion;\n\nimport info.u_team.u_team_core.potion.UPotion;\nimport info.u_team.u_team_test.init.TestEffects;\nimport net.minecraft.potion.EffectInstance;\n\npublic class Rad... | java | chosen |
[
{
"from": "system",
"value": "Add any platform enum constant."
},
{
"from": "human",
"value": "package com.valencia.jutils.jvm;\r\n/**\r\n * \r\n */\r\n\r\n/**\r\n * Used for introspecting the current OS platform.\r\n * \r\n * @author gee4vee@me.com\r\n */\r\npublic enum Platform {\r\n\t\r\n\tWI... | java | chosen |
[
{
"from": "system",
"value": "Remove unused imports and variables.\n"
},
{
"from": "human",
"value": "package org.scribe.model;\n\nimport java.io.UnsupportedEncodingException;\nimport java.net.URLEncoder;\nimport org.scribe.exceptions.OAuthException;\nimport org.scribe.utils.OAuthEncoder;\n\n/**... | java | chosen |
[
{
"from": "system",
"value": "Add cases to test if a hash maps size becomes prime on different inputs.\n"
},
{
"from": "human",
"value": "import org.junit.*;\n\npublic class HashMapTest {\n\n HashMap hm;\n\n @Before\n public void setUp() {\n hm = new HashMap(7);\n }\n\n @After\n public ... | java | chosen |
[
{
"from": "system",
"value": "Add require_targets to mob triggers\n"
},
{
"from": "human",
"value": "package com.elmakers.mine.bukkit.magic;\n\nimport javax.annotation.Nonnull;\n\nimport org.bukkit.configuration.ConfigurationSection;\n\nimport com.elmakers.mine.bukkit.api.magic.MageController;\n... | java | chosen |
[
{
"from": "system",
"value": "Add annotations to document some changes between 2.0.1 and 2.0.2\n\ngit-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@14479 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3\n"
},
{
"from": "human",
"value": "package bugIdeas;\n\npublic class Ideas_2009_01_14 {\n\n // stat... | java | chosen |
[
{
"from": "system",
"value": "Fix HBM2DLL with hibernate 5.2+\n\nsee https://stackoverflow.com/questions/44924930"
},
{
"from": "human",
"value": "package org.ligoj.bootstrap.core.dao;\n\nimport org.hibernate.dialect.MySQL55Dialect;\n\n/**\n * MySQL dialect with enforced UTF-8 encoding.\n */\npu... | java | chosen |
[
{
"from": "system",
"value": "Update unnecessary \"public static\" modifiers.\n"
},
{
"from": "human",
"value": "package io.petros.posts.app.graph.modules;\n\nimport javax.inject.Singleton;\n\nimport dagger.Module;\nimport dagger.Provides;\nimport io.petros.posts.service.retrofit.RetrofitService... | java | chosen |
[
{
"from": "system",
"value": "Remove back authorization for snippets\n"
},
{
"from": "human",
"value": "package org.crunchytorch.coddy.snippet.api;\n\nimport org.crunchytorch.coddy.snippet.elasticsearch.entity.SnippetEntity;\nimport org.crunchytorch.coddy.snippet.service.SnippetService;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Remove commented code used to verify the algorithm.\n"
},
{
"from": "human",
"value": "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nimport java.util.Map;\nimport java.util.HashMap;\nimport java.util.Map;\nimport j... | java | chosen |
[
{
"from": "system",
"value": "Add support for a results object -- basically an object that knows how to display the collective data from the wrapped object.\n\ngit-svn-id: 8ebed0c25533aaea68ca43268d4d516467f97e6a@18024 6e01202a-0783-4428-890a-84243c50cc2b\n"
},
{
"from": "human",
"value": "packa... | java | chosen |
[
{
"from": "system",
"value": "Fix misleading strings in main class\n"
},
{
"from": "human",
"value": "package com.thinkaurelius.titan.shadetest;\n\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tSystem.out.println(\"Current Titan version: \" + com.thinkaurelius.titan.graphd... | java | chosen |
[
{
"from": "system",
"value": "Change page name to ConfigInterWikiLinks.\n\n"
},
{
"from": "human",
"value": "package net.hillsdon.svnwiki.configuration;\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.StringReader;\n\nimport net.hillsdon.svnwiki.vc.PageInfo;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Add override annotations to subclassed methods\n"
},
{
"from": "human",
"value": "package com.veyndan.hermes.database;\n\nimport android.content.Context;\nimport android.database.sqlite.SQLiteDatabase;\nimport android.database.sqlite.SQLiteOpenHelper;\n\nimport com.... | java | chosen |
[
{
"from": "system",
"value": "Update config for jersey 2.x\n"
},
{
"from": "human",
"value": "package com.cjmalloy.torrentfs.server;\n\nimport org.eclipse.jetty.server.Server;\nimport org.eclipse.jetty.servlet.ServletContextHandler;\nimport org.eclipse.jetty.servlet.ServletHolder;\nimport org.gl... | java | chosen |
[
{
"from": "system",
"value": "Modify Code add log !"
},
{
"from": "human",
"value": "package com.homeinns.web.servlet;\nimport java.io.IOException;\nimport javax.servlet.ServletException;\nimport javax.servlet.http.HttpServlet;\nimport javax.servlet.http.HttpServletRequest;\nimport javax.servlet... | java | chosen |
[
{
"from": "system",
"value": "Simplify equals and hashCode given @NonNull\n"
},
{
"from": "human",
"value": "package mcjty.xnet.api.keys;\n\nimport mcjty.lib.varia.BlockPosTools;\nimport net.minecraft.util.EnumFacing;\nimport net.minecraft.util.math.BlockPos;\n\nimport javax.annotation.Nonnull;\... | java | chosen |
[
{
"from": "system",
"value": "Add test case for proxy bug.\n\ngit-svn-id: fe6d842192ccfb78748eb71580d1ce65f168b559@969 9830eeb5-ddf4-0310-9ef7-f4b9a3e3227e\n"
},
{
"from": "human",
"value": "package com.thoughtworks.acceptance;\n\nimport com.thoughtworks.acceptance.objects.SampleDynamicProxy;\n\... | java | chosen |
[
{
"from": "system",
"value": "Add public constructor and unit helper constructor for tuple type\n"
},
{
"from": "human",
"value": "package org.hummingbirdlang.types;\n\npublic class TupleType extends CompositeType {\n private Type[] elements;\n\n @Override\n public Property getProperty(String... | java | chosen |
[
{
"from": "system",
"value": "Test scenario where there is a failed assertion\n"
},
{
"from": "human",
"value": "package org.realityforge.arez.api2;\n\nimport javax.annotation.Nonnull;\nimport javax.annotation.Nullable;\nimport org.realityforge.guiceyloops.shared.ValueUtil;\nimport org.testng.an... | java | chosen |
[
{
"from": "system",
"value": "Update the test game repository to make it clear that it only returns ephemeral games (i.e. without metadata or any non-rulesheet resources).\n\ngit-svn-id: 4739e81c2fe647bfb539b919360e2c658e6121ea@464 716a755e-b13f-cedc-210d-596dafc6fb9b\n"
},
{
"from": "human",
"v... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.