conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Make scrollbar size inversely relative to chat size.\n"
},
{
"from": "human",
"value": "package mnm.mods.tabbychat.gui;\n\nimport mnm.mods.tabbychat.core.GuiNewChatTC;\nimport mnm.mods.util.gui.GuiComponent;\nimport net.minecraft.client.gui.Gui;\n\npublic class Scro... | java | chosen |
[
{
"from": "system",
"value": "Add more tests to Result\n"
},
{
"from": "human",
"value": "package code.donbonifacio.saft;\n\nimport junit.framework.TestCase;\n\n/**\n * Tests for the Result class\n */\npublic class ResultTest extends TestCase {\n\n /**\n * Tests the Result.success singlet... | java | chosen |
[
{
"from": "system",
"value": "Make the run_start goal build the project first."
},
{
"from": "human",
"value": "/**\n * Copyright 2014 Google Inc. All Rights Reserved.\n */\npackage com.google.appengine.gcloudapp;\n\nimport org.apache.maven.plugin.MojoExecutionException;\nimport org.apache.maven... | java | chosen |
[
{
"from": "system",
"value": "Add solution to problem 68\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2014 Pedro Vicente Gómez Sánchez.\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": "Rename group variable in block to match the official name"
},
{
"from": "human",
"value": "package info.u_team.u_team_core.block;\n\nimport info.u_team.u_team_core.api.registry.IBlockItemProvider;\nimport net.minecraft.world.item.BlockItem;\nimport net.minecraft.wor... | java | chosen |
[
{
"from": "system",
"value": "Add flushing for console logging\n"
},
{
"from": "human",
"value": "package com.proofpoint.log;\n\nimport java.io.OutputStream;\nimport java.io.OutputStreamWriter;\nimport java.io.Writer;\nimport java.util.logging.Handler;\nimport java.util.logging.LogRecord;\n\nimp... | java | chosen |
[
{
"from": "system",
"value": "Remove mistakenly committed manual XML serializer injection\n\ngit-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@2237 0d517254-b314-0410-acde-c619094fa49f\n"
},
{
"from": "human",
"value": "package edu.northwestern.bioinformatics.studycalendar.restlets;\n\nimport... | java | chosen |
[
{
"from": "system",
"value": "Delete unnecessary line in databinding example\n"
},
{
"from": "human",
"value": "package com.vogella.android.testapp;\n\nimport android.app.Activity;\nimport android.databinding.DataBindingUtil;\nimport android.os.Bundle;\n\nimport com.vogella.android.testapp.datab... | java | chosen |
[
{
"from": "system",
"value": "Set key type for resolver\n\ngit-svn-id: 46308aa6df3a13aea5930e6665b35c8b83c3a711@276 9fbd0cf9-a10c-0410-82c1-be8c084f3200\n"
},
{
"from": "human",
"value": "/*\n * Copyright [2006] [University Corporation for Advanced Internet Development, Inc.]\n *\n * Licensed un... | java | chosen |
[
{
"from": "system",
"value": "TACHYON-600: Add user model - address comments\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the University of California, Berkeley under one or more contributor license\n * agreements. See the NOTICE file distributed with this work for additional informatio... | java | chosen |
[
{
"from": "system",
"value": "Update Android registration code snippet\n"
},
{
"from": "human",
"value": "package com.push.pushapplication;\n\nimport java.net.URI;\nimport java.net.URISyntaxException;\n\nimport org.jboss.aerogear.android.unifiedpush.PushConfig;\nimport org.jboss.aerogear.android... | java | chosen |
[
{
"from": "system",
"value": "Fix position to be (left, top) as we use it that way and not as written.\n"
},
{
"from": "human",
"value": "package org.percepta.mgrankvi;\n\nimport java.io.Serializable;\n\n/**\n * Position of component containing top and left position in relation to parent.\n *\n ... | java | chosen |
[
{
"from": "system",
"value": "[callback] Change callback to lambda expression\n"
},
{
"from": "human",
"value": "package com.iluwatar.callback;\n\n/**\n * \n * Callback pattern is more native for functional languages where functions are treated as\n * first-class citizens. Prior to Java 8 callba... | java | chosen |
[
{
"from": "system",
"value": "Make annoying Maven happy by adding runnable test to in progress unit test file\n"
},
{
"from": "human",
"value": "package com.wombatnation.privateer;\n\nimport static org.junit.Assert.assertEquals;\n\nimport org.junit.Ignore;\nimport org.junit.Test;\n\npublic class... | java | chosen |
[
{
"from": "system",
"value": "JAVAFIXTURE-52: Add read-only cache to context\n\nThis will alow to predefine instances per type.\n"
},
{
"from": "human",
"value": "package com.github.nylle.javafixture;\n\nimport java.util.Map;\nimport java.util.concurrent.ConcurrentHashMap;\n\npublic class Contex... | java | chosen |
[
{
"from": "system",
"value": "Check main thread before scheduling\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 FabricMC\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": "Revert \"hashes are apparently not working, going to test md5 again\"\n\nThis reverts commit f6667a6a1c85a316caa1691b75f4aa412aa66072.\n"
},
{
"from": "human",
"value": "package net.thechunk.playpen.utils;\n\nimport net.thechunk.playpen.protocol.Protocol;\nimport or... | java | chosen |
[
{
"from": "system",
"value": "Set svn:eol-style = native on Java files. No functional change.\n\nNoted when running checks on the copy of Apache Commons Pool in Apache Tomcat.\n\ngit-svn-id: a66ef3f0e6c00b14098e182847b4bd646263fa09@1725959 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human"... | java | chosen |
[
{
"from": "system",
"value": "Set a menu bar to the frame.\n"
},
{
"from": "human",
"value": "package com.github.aureliano.edocs.app.gui;\n\nimport java.awt.BorderLayout;\nimport java.awt.Dimension;\n\nimport javax.swing.JFrame;\nimport javax.swing.JPanel;\n\npublic class AppFrame extends JFrame... | java | chosen |
[
{
"from": "system",
"value": "Throw RuntimeException instead of System.exit\n"
},
{
"from": "human",
"value": "package com.jstanier;\n\nimport java.io.FileNotFoundException;\nimport java.io.IOException;\nimport java.io.Reader;\nimport java.util.List;\n\nimport org.springframework.beans.factory.a... | java | chosen |
[
{
"from": "system",
"value": "Make context menu look a little more reasonable\n"
},
{
"from": "human",
"value": "package sc.iview.ui;\n\nimport graphics.scenery.Node;\n\nimport javax.swing.*;\n\npublic class ContextPopUp extends JPopupMenu {\n\n JMenuItem anItem;\n public ContextPopUp(Node... | java | chosen |
[
{
"from": "system",
"value": "Reset movement speed after going through a teleporter\n"
},
{
"from": "human",
"value": "package com.mcjty.rftools.blocks.teleporter;\n\nimport net.minecraft.entity.Entity;\nimport net.minecraft.world.Teleporter;\nimport net.minecraft.world.WorldServer;\n\npublic cl... | java | chosen |
[
{
"from": "system",
"value": "Use interface instead of class in generic\n"
},
{
"from": "human",
"value": "package ru.yandex.qatools.allure.storages;\n\nimport ru.yandex.qatools.allure.model.Step;\n\nimport java.util.LinkedList;\n\n/**\n * @author Dmitry Baev charlie@yandex-team.ru\n * D... | java | chosen |
[
{
"from": "system",
"value": "Remove unused imports in settings fragment\n"
},
{
"from": "human",
"value": "/*\n * The MIT License (MIT)\n *\n * Copyright (c) 2016 Abhijit Parida <abhijitparida.me@gmail.com>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n *... | java | chosen |
[
{
"from": "system",
"value": "Disable the jbcsrc debug flag, this was accidentally left on in a debugging session.\n\nGITHUB_BREAKING_CHANGES=none\n\n-------------\nCreated by MOE: https://github.com/google/moe\nMOE_MIGRATED_REVID=255963260\n"
},
{
"from": "human",
"value": "/*\n * Copyright 201... | java | chosen |
[
{
"from": "system",
"value": "Fix typo in field name (responce->response)\n"
},
{
"from": "human",
"value": "package com.voxelwind.server.network.mcpe.packets;\n\nimport com.voxelwind.server.network.NetworkPackage;\nimport io.netty.buffer.ByteBuf;\nimport lombok.Data;\n\n@Data\npublic class Mcpe... | java | chosen |
[
{
"from": "system",
"value": "Refactor tests: Extracted the twitter address to a field\n"
},
{
"from": "human",
"value": "package org.ale.app;\n\nimport static org.junit.Assert.assertEquals;\n\nimport org.junit.Test;\n\n\npublic class TwitterLinkCreatorTest {\n\n\t@Test\n\tpublic void shouldProc... | java | chosen |
[
{
"from": "system",
"value": "Replace use of com.sun ObservableSetWrapper with FXCollections\n"
},
{
"from": "human",
"value": "package de.prob2.ui.states;\n\nimport java.util.HashSet;\n\nimport com.google.inject.Inject;\nimport com.google.inject.Singleton;\nimport com.sun.javafx.collections.Obs... | java | chosen |
[
{
"from": "system",
"value": "Remove mapper.\nUnsure why we are keeping this class at all.\n"
},
{
"from": "human",
"value": "package scoutmgr.server.rest;\n\nimport java.util.HashSet;\nimport java.util.Set;\nimport javax.ws.rs.ApplicationPath;\nimport javax.ws.rs.core.Application;\n\n@Applicati... | java | chosen |
[
{
"from": "system",
"value": "Add support for custom OkHttpClient when creating bot\n"
},
{
"from": "human",
"value": "package com.pengrad.telegrambot;\n\nimport com.google.gson.Gson;\nimport com.pengrad.telegrambot.impl.FileApi;\nimport com.pengrad.telegrambot.impl.TelegramBotClient;\nimport ok... | java | chosen |
[
{
"from": "system",
"value": "Remove excessive empty line after copyright header"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2000-2016 TeamDev Ltd. All rights reserved.\n * Use is subject to Apache 2.0 license terms.\n */\n\n\npackage com.teamdev.jxmaps.examples;\n\nimport javax.swing.... | java | chosen |
[
{
"from": "system",
"value": "Fix descriptions color styling termination\n\nColor styling terminates with |@ instead of @|"
},
{
"from": "human",
"value": "package examples.dustin.commandline.picocli;\n\nimport static java.lang.System.out;\n\nimport picocli.CommandLine;\nimport picocli.CommandLi... | java | chosen |
[
{
"from": "system",
"value": "Debug log in core plugin\n"
},
{
"from": "human",
"value": "package openmods.core;\n\nimport java.util.Map;\n\nimport net.minecraft.launchwrapper.Launch;\nimport cpw.mods.fml.relauncher.IFMLLoadingPlugin;\nimport cpw.mods.fml.relauncher.IFMLLoadingPlugin.SortingInde... | java | chosen |
[
{
"from": "system",
"value": "Use fractional seconds to compare\n"
},
{
"from": "human",
"value": "package org.jboss.msc.bench;\n\nimport java.util.concurrent.CountDownLatch;\nimport org.jboss.msc.registry.ServiceDefinition;\nimport org.jboss.msc.registry.ServiceRegistrationBatchBuilder;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Add new validity state for games unranked by host\n"
},
{
"from": "human",
"value": "package com.faforever.api.data.domain;\n\npublic enum Validity {\n // Order is crucial\n VALID,\n TOO_MANY_DESYNCS,\n WRONG_VICTORY_CONDITION,\n NO_FOG_OF_WAR,\n CHEATS_ENABLE... | java | chosen |
[
{
"from": "system",
"value": "Fix Typo bug. TRUST -> TRUSTEE"
},
{
"from": "human",
"value": "/*\n * Copyright 2006-2014 innopost.com, Inc. or its affiliates. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\").\n * You may not use this file except in co... | java | chosen |
[
{
"from": "system",
"value": "Clarify comments about overloaded constructor\n"
},
{
"from": "human",
"value": "package com.example.android.miwok;\n\npublic class Word {\n\n private String mMiwokWord;\n private String mEnglishWord;\n private int mImageResourceId;\n private int mRawRes... | java | chosen |
[
{
"from": "system",
"value": "Reduce cache expiration time to 30 minutes\n"
},
{
"from": "human",
"value": "package top.quantic.sentry.config;\n\n\nimport com.google.common.cache.CacheBuilder;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.boot.autoconfigu... | java | chosen |
[
{
"from": "system",
"value": "Use correct directory for file section AT.\n"
},
{
"from": "human",
"value": "// Copyright (C) 2003-2009 by Object Mentor, Inc. All rights reserved.\n// Released under the terms of the CPL Common Public License version 1.0.\npackage fitnesse.fixtures;\n\nimport util... | java | chosen |
[
{
"from": "system",
"value": "Use synchronized block for getInstance\n\n"
},
{
"from": "human",
"value": "package net.qbar.common.card;\n\nimport java.util.Map;\n\nimport com.google.common.collect.Maps;\n\nimport net.minecraft.item.ItemStack;\nimport net.minecraft.nbt.NBTTagCompound;\n\npublic c... | java | chosen |
[
{
"from": "system",
"value": "Use abs time in <= 1.4.7 to emulate daynight cycle disable"
},
{
"from": "human",
"value": "package protocolsupport.protocol.packet.middleimpl.clientbound.play.v_4_5_6_7_8_9r1_9r2_10_11_12;\n\nimport protocolsupport.api.ProtocolVersion;\nimport protocolsupport.proto... | java | chosen |
[
{
"from": "system",
"value": "Add toast on server start and stop for sample\n"
},
{
"from": "human",
"value": "package net.wequick.example.small.appavailable_if_stub;\n\nimport android.app.Service;\nimport android.content.Intent;\nimport android.os.IBinder;\nimport android.support.annotation.Nul... | java | chosen |
[
{
"from": "system",
"value": "Fix token precedence for variable names / operators.\n"
},
{
"from": "human",
"value": "package org.nwapw.abacus.tree;\n\n/**\n * Enum to represent the type of the token that has been matched\n * by the lexer.\n */\npublic enum TokenType {\n\n INTERNAL_FUNCTION_E... | java | chosen |
[
{
"from": "system",
"value": "Add in a missing convenience method\n"
},
{
"from": "human",
"value": "package sorts.options;\n\nimport sorts.results.Column;\n\nimport com.google.common.base.Preconditions;\n\npublic class Index {\n \n protected final Column column;\n protected final Order order... | java | chosen |
[
{
"from": "system",
"value": "Add generic type to converters signature\n"
},
{
"from": "human",
"value": "package com.annimon.hotarufx.visual;\n\nimport com.annimon.hotarufx.lib.NumberValue;\nimport com.annimon.hotarufx.lib.StringValue;\nimport com.annimon.hotarufx.lib.Types;\nimport com.annimon... | java | chosen |
[
{
"from": "system",
"value": "Remove icon from Pause dialog on Android 5.0+ devices\n"
},
{
"from": "human",
"value": "package com.github.triplesolitaire;\n\nimport android.app.AlertDialog;\nimport android.app.Dialog;\nimport android.app.DialogFragment;\nimport android.os.Bundle;\n\n/**\n * Dial... | java | chosen |
[
{
"from": "system",
"value": "Add constants for table category selection"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 Codenvy, S.A.\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... | java | chosen |
[
{
"from": "system",
"value": "Add some parameters: debugFlag and maxScans."
},
{
"from": "human",
"value": "package com.jfixby.tools.bleed.gemserk;\n\nimport com.jfixby.cmns.api.filesystem.File;\nimport com.jfixby.tools.bleed.api.TextureBleedSpecs;\n\npublic class GemserkProcessorSpecsImpl imple... | java | chosen |
[
{
"from": "system",
"value": "Change T[] to Hash for modelContainer\n\nUsing a LinkedHashMap we can do lookup by key/id and also keep the list\nin the default ordering from which it comes through the API\n"
},
{
"from": "human",
"value": "package org.azavea.otm.data;\n\nimport org.json.JSONArray... | java | chosen |
[
{
"from": "system",
"value": "Remove sorting by hashCode() - All right that was not a good idea - it breaks those from Migrators which don't set dependency yet..."
},
{
"from": "human",
"value": "package org.jboss.loom.actions;\n\nimport java.util.ArrayList;\nimport java.util.Collections;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Add UUID on user update\n"
},
{
"from": "human",
"value": "package br.com.alura.agenda.modelo;\n\nimport java.io.Serializable;\n\n/**\n * Created by alura on 12/08/15.\n */\npublic class Aluno implements Serializable {\n private Long id;\n private String nome;... | java | chosen |
[
{
"from": "system",
"value": "Fix Coarse Dirt not letting plants be placed on top of itself\n"
},
{
"from": "human",
"value": "package ganymedes01.etfuturum.blocks;\n\nimport ganymedes01.etfuturum.EtFuturum;\nimport ganymedes01.etfuturum.IConfigurable;\nimport ganymedes01.etfuturum.core.utils.Ut... | java | chosen |
[
{
"from": "system",
"value": "Remove @Singletone annotation from API for better performance\n"
},
{
"from": "human",
"value": "package com.bookcrossing.mobile.modules;\n\nimport com.google.firebase.auth.FirebaseAuth;\nimport com.google.firebase.database.FirebaseDatabase;\nimport com.google.fireb... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Removed unused method. PL-1321.\"\n\nThis reverts commit a43684f4c0f4753d6906ca6f7e1cf9409bc24488.\n"
},
{
"from": "human",
"value": "package com.amee.platform.science;\n\nimport org.joda.time.DateTime;\n\nimport java.util.Date;\n\npublic abstract class Bas... | java | chosen |
[
{
"from": "system",
"value": "Change copyright in Apache 2 license to 2013\n"
},
{
"from": "human",
"value": "/**\n * Copyright © 2011-2012 EMBL - European Bioinformatics Institute\n * \n * Licensed under the Apache License, Version 2.0 (the \"License\"); \n * you may not use this file except in... | java | chosen |
[
{
"from": "system",
"value": "Integrate the hashtable Unit testcases.\n\n* tests/AllTests.java (suite): added HashtableTests\n"
},
{
"from": "human",
"value": "package org.tigris.subversion.lib;\n\n/**\n * ====================================================================\n * Copyright (c) 200... | java | chosen |
[
{
"from": "system",
"value": "Add coverage the Hello World client example.\n\nThis is now free-standing and also covers edge cases like timestamps.\n\nb/124437335\n\nChange-Id: I9496504b638ae6af3885a20aeedf18e267aca683\nGitOrigin-RevId: b7c8694f2f920371ee228bb53a6e499e3b727783\n"
},
{
"from": "human... | java | chosen |
[
{
"from": "system",
"value": "Fix MonitorClient not working to detect failed jobs\n"
},
{
"from": "human",
"value": "package org.rundeck.api;\n\nimport org.rundeck.api.RundeckApiException;\nimport org.rundeck.api.RundeckApiException.RundeckApiLoginException;\nimport org.rundeck.api.RundeckApiExc... | java | chosen |
[
{
"from": "system",
"value": "Update some docs, 1.0.1 done\n"
},
{
"from": "human",
"value": "package refinedstorage.api.autocrafting.registry;\n\nimport javax.annotation.Nullable;\n\n/**\n * A registry that stores crafting task factories.\n * Implement this for adding custom crafting tasks.\n *... | java | chosen |
[
{
"from": "system",
"value": "Return default value when sort order is not found in system.table.\n"
},
{
"from": "human",
"value": "package com.salesforce.phoenix.schema;\n\npublic enum ColumnSortOrder {\n\t\n\tASC, DESC;\n\t\n\t\n\tpublic static ColumnSortOrder defaultValue() {\n\t\treturn ASC;... | java | chosen |
[
{
"from": "system",
"value": "Add delete mapping for family.\n"
},
{
"from": "human",
"value": "package arnelid.bjorn.redo.rest;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.http.MediaType;\nimport org.springframework.web.bind.annotation.GetMappin... | java | chosen |
[
{
"from": "system",
"value": "Add doc comment for cryptic name."
},
{
"from": "human",
"value": "package com.darwinsys.springbootdemo;\r\n\r\nimport org.springframework.stereotype.Controller;\r\nimport org.springframework.ui.ModelMap;\r\nimport org.springframework.web.bind.annotation.RequestMapp... | java | chosen |
[
{
"from": "system",
"value": "Return the scale in the order it was created.\n"
},
{
"from": "human",
"value": "package edu.virginia.psyc.r01.persistence;\n\nimport lombok.Data;\nimport lombok.EqualsAndHashCode;\nimport org.apache.commons.collections.map.HashedMap;\nimport org.mindtrails.domain.q... | java | chosen |
[
{
"from": "system",
"value": "Fix name of enabler flag variable for tasktracker."
},
{
"from": "human",
"value": "/*\r\n * Copyright (c) 2013 TIBCO Software Inc. All Rights Reserved.\r\n * \r\n * Use is subject to the terms of the TIBCO license terms accompanying the download of this code. \r\n ... | java | chosen |
[
{
"from": "system",
"value": "Add dot command not found exception.\n"
},
{
"from": "human",
"value": "package org.enoir.graphvizapi.test;\nimport org.enoir.graphvizapi.Attribute;\nimport org.enoir.graphvizapi.Node;\nimport org.enoir.graphvizapi.exception.AttributeNotFondException;\nimport org.ju... | java | chosen |
[
{
"from": "system",
"value": "Update javadoc for propgation comparison enum\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2013 MovingBlocks\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You... | java | chosen |
[
{
"from": "system",
"value": "[MOD] Server: Reduce delays for invalid passwords"
},
{
"from": "human",
"value": "package org.basex.server;\n\nimport org.basex.util.*;\nimport org.basex.util.hash.*;\n\n/**\n * This class delays blocked clients.\n *\n * @author BaseX Team 2005-18, BSD License\n * ... | java | chosen |
[
{
"from": "system",
"value": "Include private organization memberships for logged in user.\n\nCloses #256.\n"
},
{
"from": "human",
"value": "package com.gh4a.loader;\n\nimport java.io.IOException;\nimport java.util.List;\n\nimport org.eclipse.egit.github.core.User;\nimport org.eclipse.egit.gith... | java | chosen |
[
{
"from": "system",
"value": "Add textual main class \"declaration\"\n"
},
{
"from": "human",
"value": "/*\n * Bach - Java Shell Builder\n * Copyright (C) 2019 Christian Stein\n *\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": "Stop direct access to the list of args, allow them to be streamed instead.\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.rest.search.query;\n\nimport java.util.Arrays;\nimport java.util.List;\n\n/**\n * Holds the data required to specify a filter val... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Unit Test Failure Trial\"\n\nThis reverts commit 7e2b425fffcb54ab68e1a462c64305fd269f7d3f.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2013-2016 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")... | java | chosen |
[
{
"from": "system",
"value": "Add timestamp type to time property for oracle\n"
},
{
"from": "human",
"value": "package edu.northwestern.bioinformatics.studycalendar.domain.auditing;\n\nimport java.util.Date;\n\n/**\n * Subclass of core-commons' DataAuditInfo that aliases the \"on\" property as ... | java | chosen |
[
{
"from": "system",
"value": "Create functionalities to find stock with item and warehouse"
},
{
"from": "human",
"value": "package devopsdistilled.operp.server.data.repo.stock;\n\nimport org.springframework.data.jpa.repository.JpaRepository;\nimport org.springframework.stereotype.Repository;\n\... | java | chosen |
[
{
"from": "system",
"value": "Include RFC2616 quote on unit test for User-Agent."
},
{
"from": "human",
"value": "package org.chaplib;\n\nimport static org.junit.Assert.*;\n\nimport org.apache.http.HttpRequest;\nimport org.apache.http.client.methods.HttpGet;\nimport org.junit.Before;\nimport org... | java | chosen |
[
{
"from": "system",
"value": "Update progress bar as authentication pages load\n"
},
{
"from": "human",
"value": "package uk.co.sftrabbit.stackanswers;\n\nimport android.os.Bundle;\nimport android.webkit.WebSettings;\nimport android.webkit.WebView;\nimport android.webkit.WebViewClient;\nimport u... | java | chosen |
[
{
"from": "system",
"value": "Add support for stopBit encoded small decimal.\n"
},
{
"from": "human",
"value": "package net.openhft.chronicle.bytes;\n\nimport net.openhft.chronicle.core.Maths;\nimport org.junit.Test;\n\nimport java.math.BigDecimal;\nimport java.math.BigInteger;\nimport java.nio.... | java | chosen |
[
{
"from": "system",
"value": "Create RecyclerView Getters And Setters\n"
},
{
"from": "human",
"value": "package edu.rpi.cs.yacs.core;\n\nimport android.app.Application;\n\nimport com.crashlytics.android.Crashlytics;\nimport com.squareup.leakcanary.LeakCanary;\n\nimport edu.rpi.cs.yacs.retrofit.... | java | chosen |
[
{
"from": "system",
"value": "Replace deprecated API usage with non-deprecated for junit.Assert.\n"
},
{
"from": "human",
"value": "package org.wildfly.swarm.container.runtime;\n\nimport java.net.URL;\nimport java.util.List;\n\nimport junit.framework.Assert;\nimport org.jboss.dmr.ModelNode;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Add plug-in name for welcome RBAC"
},
{
"from": "human",
"value": "package org.ligoj.app.resource.welcome;\n\nimport java.util.Arrays;\nimport java.util.List;\n\nimport org.ligoj.app.api.FeaturePlugin;\nimport org.ligoj.app.iam.model.DelegateOrg;\nimport org.ligoj.a... | java | chosen |
[
{
"from": "system",
"value": "Resolve of the implicit variables should also work in java modules (IDEADEV-3688)\n"
},
{
"from": "human",
"value": "package com.intellij.jsp.impl;\n\nimport com.intellij.xml.XmlElementDescriptor;\nimport com.intellij.j2ee.j2eeDom.web.WebModuleProperties;\nimport co... | java | chosen |
[
{
"from": "system",
"value": "Make the interface clear when it comes to what happens when the container can't find the bean\n\n\ngit-svn-id: ba1d8d5a2a2c535e023d6080c1e5c29aa0f5364e@389 3a8262b2-faa5-11dc-8610-ff947880b6b2\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2005 Joe Walker\n *\n... | java | chosen |
[
{
"from": "system",
"value": "Extend Application from DaggerApplication class\n"
},
{
"from": "human",
"value": "package com.vsahin.moneycim;\r\n\r\nimport android.app.Activity;\r\nimport android.app.Application;\r\n\r\nimport com.vsahin.moneycim.Di.DaggerAppComponent;\r\n\r\nimport javax.inject... | java | chosen |
[
{
"from": "system",
"value": "Make it possible to ignore fields\n"
},
{
"from": "human",
"value": "package replicant;\n\nimport java.lang.annotation.Documented;\nimport java.lang.annotation.ElementType;\nimport java.lang.annotation.Retention;\nimport java.lang.annotation.RetentionPolicy;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Write something for problem 134 (it's still TLE)\n"
},
{
"from": "human",
"value": "package leetcode;\n\n/**\n * https://leetcode.com/problems/gas-station/\n */\npublic class Problem134 {\n public int canCompleteCircuit(int[] gas, int[] cost) {\n // TODO: ... | java | chosen |
[
{
"from": "system",
"value": "Use ifPresent() to avoid calling get()\n"
},
{
"from": "human",
"value": "package com.suse.salt.netapi.calls.modules;\n\nimport com.suse.salt.netapi.calls.LocalCall;\n\nimport com.google.gson.reflect.TypeToken;\n\nimport java.util.Arrays;\nimport java.util.LinkedHas... | java | chosen |
[
{
"from": "system",
"value": "ETM: Add doc note that stages shouldn't change column headers\n\nThe reason for the stage system is because of ERED. I'm planning on two\nstages. The first allows the user to input event results. In preparing\nfor the second stage, the application generates sweepstakes points u... | java | chosen |
[
{
"from": "system",
"value": "Add copyright to new file.\n"
},
{
"from": "human",
"value": "package org.mozilla.javascript.drivers;\n\nimport java.lang.annotation.Retention;\nimport java.lang.annotation.RetentionPolicy;\nimport java.lang.annotation.Target;\n\nimport static java.lang.annotation.E... | java | chosen |
[
{
"from": "system",
"value": "Add PIN variables and constants\n"
},
{
"from": "human",
"value": "package org.cryptonit;\n\nimport javacard.framework.APDU;\nimport javacard.framework.Applet;\nimport javacard.framework.ISO7816;\nimport javacard.framework.ISOException;\n\npublic class CryptonitAppl... | java | chosen |
[
{
"from": "system",
"value": "Add utility method to check between the two different publish message forms\n"
},
{
"from": "human",
"value": "package de.innoaccel.wamp.server.message;\n\nimport java.util.List;\n\npublic class PublishMessage implements Message\n{\n private String topicURI;\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Fix JS ObjectDB class wrapper to use format \"plugins.Foo.Bar\" not \"plugin.Foo.Bar\". Oops!\n\n"
},
{
"from": "human",
"value": "package uk.co.uwcs.choob.support;\n\nimport java.io.*;\nimport org.mozilla.javascript.*;\n\npublic final class ObjectDBClassJSWrapper i... | java | chosen |
[
{
"from": "system",
"value": "Change yeat and temp to private class vars.\n"
},
{
"from": "human",
"value": "package hadoop;\n\nimport gsod.DataSet;\n\nimport java.io.IOException;\n\nimport org.apache.hadoop.io.IntWritable;\nimport org.apache.hadoop.io.LongWritable;\nimport org.apache.hadoop.io.... | java | chosen |
[
{
"from": "system",
"value": "Remove styling from start button\n"
},
{
"from": "human",
"value": "package eu.theunitry.fabula.launcher;\n\nimport javax.swing.*;\nimport java.awt.*;\n\npublic class UNLauncher extends JPanel\n{\n\n private JLabel label;\n private JButton startBtn;\n\n pub... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Improve robustness to temporary network problems.\"\n\nRevert this since it does not seem to improve the lost connection management\nand may have introduced a regression : see #345\nThis reverts commit ab94d7adb4798d3e8e0bbaeb8340e1580cf7f8a8.\n"
},
{
"from": "... | java | chosen |
[
{
"from": "system",
"value": "Return the written value of DMA register.\n"
},
{
"from": "human",
"value": "package eu.rekawek.coffeegb.memory;\n\nimport eu.rekawek.coffeegb.AddressSpace;\nimport eu.rekawek.coffeegb.cpu.SpeedMode;\n\npublic class Dma implements AddressSpace {\n\n private final... | java | chosen |
[
{
"from": "system",
"value": "Prepare adding information to actions\n"
},
{
"from": "human",
"value": "package de.eightbitboy.ecorealms.control;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class ControlActionMapping {\n\n\tenum Action {\n\t\tLMB,\n\t\tRMB\n\t}\n\n\tpublic in... | java | chosen |
[
{
"from": "system",
"value": "Update test to use new adapter"
},
{
"from": "human",
"value": "/**\n * Copyright 2016-2017 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 compliance with the... | java | chosen |
[
{
"from": "system",
"value": "Add key for JSON string\n"
},
{
"from": "human",
"value": "package data;\n\nimport util.UserAuthUtil;\n\n/** Class to build Login/Logout response objects in JSON format */\npublic class ResponseBuilder {\n /**\n * @param isLoggedIn user login status\n * @param ... | java | chosen |
[
{
"from": "system",
"value": "Add 2 operators for the 'not' function\n"
},
{
"from": "human",
"value": "\npublic enum Operator {\n\tPLUS,MINUS,MULT,DIV,LOW_STRICT,UP_STRICT,LOW_EGAL,UP_EGAL,EGAL,DIFF,AND,OR;\n}\n\n"
},
{
"from": "gpt",
"value": "\npublic enum Operator {\n\tPLUS,MINUS... | java | chosen |
[
{
"from": "system",
"value": "Throw RuntimeException if getResourceName() fails\n"
},
{
"from": "human",
"value": "package com.xtremelabs.robolectric.res;\n\nimport java.lang.reflect.Field;\nimport java.lang.reflect.Modifier;\nimport java.util.HashMap;\nimport java.util.Map;\n\npublic class Reso... | java | chosen |
[
{
"from": "system",
"value": "Change in file in submodule\n"
},
{
"from": "human",
"value": "/* This should be a file \n*/\n\npublic class Example {\n\n\tpublic int i;\n\tpublic String test = \"TEST\";\n}\n"
},
{
"from": "gpt",
"value": "/* This should be a file \n*/\n\npublic class ... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.