conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Remove a dependency from account to federations\n"
},
{
"from": "human",
"value": "package io.github.saidie.plantuml_api;\n\nimport java.util.List;\nimport javax.persistence.CascadeType;\nimport javax.persistence.Column;\nimport javax.persistence.Entity;\nimport jav... | java | chosen |
[
{
"from": "system",
"value": "Make formatting of text node nicer\n"
},
{
"from": "human",
"value": "package org.twig.syntax.parser.node.type;\n\nimport org.twig.compiler.*;\nimport org.twig.syntax.parser.node.Node;\n\nimport java.util.ArrayList;\nimport java.util.HashMap;\n\npublic class Text ex... | java | chosen |
[
{
"from": "system",
"value": "Change 'Address App' to Task Manager'\n"
},
{
"from": "human",
"value": "package seedu.address.commons.core;\n\nimport org.junit.Rule;\nimport org.junit.Test;\nimport org.junit.rules.ExpectedException;\n\nimport seedu.task.commons.core.Config;\n\nimport static org.j... | java | chosen |
[
{
"from": "system",
"value": "Fix 'onRevisit' callback calls wrongly issue.\n\n- LEARNER-3953\n"
},
{
"from": "human",
"value": "package org.edx.mobile.base;\n\nimport android.app.Activity;\nimport android.os.Bundle;\nimport android.support.annotation.Nullable;\nimport android.view.LayoutInflate... | java | chosen |
[
{
"from": "system",
"value": "Change code to make Sonar happy\n\nSee #5489\n"
},
{
"from": "human",
"value": "package <%=packageName%>.web.rest.errors;\n\nimport java.util.HashMap;\nimport java.util.Map;\n\n/**\n * Custom, parameterized exception, which can be translated on the client side.\n * ... | java | chosen |
[
{
"from": "system",
"value": "Check if JST is available"
},
{
"from": "human",
"value": "/*\n * generated by Xtext\n */\npackage org.yakindu.base.expressions.ui;\n\nimport org.eclipse.ui.plugin.AbstractUIPlugin;\n\n/**\n * Use this class to register components to be used within the IDE.\n */\npu... | java | chosen |
[
{
"from": "system",
"value": "Enable service compositions command to instantiate the linked ontology"
},
{
"from": "human",
"value": "package eu.scasefp7.eclipse.core.handlers;\r\n\r\nimport org.eclipse.core.commands.ExecutionEvent;\r\nimport org.eclipse.core.commands.ExecutionException;\r\n\r\n... | java | chosen |
[
{
"from": "system",
"value": "Enable testRenameSchema in ClickHouse smoke test\n"
},
{
"from": "human",
"value": "/*\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 the License... | java | chosen |
[
{
"from": "system",
"value": "Add test for getReplicantContext with zones enabled\n"
},
{
"from": "human",
"value": "package replicant;\n\nimport org.testng.annotations.Test;\nimport static org.testng.Assert.*;\n\npublic class ConvergerTest\n extends AbstractReplicantTest\n{\n @Test\n public ... | java | chosen |
[
{
"from": "system",
"value": "Add Fast Money state types\n"
},
{
"from": "human",
"value": "package bwyap.familyfeud.game.fastmoney.state;\n\n/**\n * States in a family feud game whilst playing Fast Money\n * @author bwyap\n *\n */\npublic enum FFFastMoneyStateType {\n\t// TODO\n\t;\n\t\n\tpriva... | java | chosen |
[
{
"from": "system",
"value": "Speed up test by reducing iterations.\n"
},
{
"from": "human",
"value": "/*\nCopyright 2011-2017 Frederic Langlet\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nyou may obtain a c... | java | chosen |
[
{
"from": "system",
"value": "Fix some unit test after the implementation allowing grouped rules\nwithout the group definition declared as executable"
},
{
"from": "human",
"value": "package com.opnitech.rules.core.test.engine.test_validators;\n\nimport org.junit.Test;\n\nimport com.opnitech.rul... | java | chosen |
[
{
"from": "system",
"value": "Allow JDK 15 in prep for 20.9.0\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2020 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 obt... | java | chosen |
[
{
"from": "system",
"value": "[JUnit] Remove cucumber.api glue annotation check\n"
},
{
"from": "human",
"value": "package io.cucumber.junit;\n\nimport io.cucumber.core.exception.CucumberException;\n\nimport java.lang.annotation.Annotation;\nimport java.lang.reflect.Method;\n\nfinal class Assert... | java | chosen |
[
{
"from": "system",
"value": "Revert getLocked (Lombokified name was isLocked)\n"
},
{
"from": "human",
"value": "package net.glowstone.scoreboard;\n\nimport lombok.Getter;\nimport lombok.RequiredArgsConstructor;\nimport lombok.Setter;\nimport net.glowstone.net.message.play.scoreboard.Scoreboard... | java | chosen |
[
{
"from": "system",
"value": "Move game start and settings to MenuView, MenuView renamed in ConsoleMenuView\n"
},
{
"from": "human",
"value": "package com.java.laiy;\n\nimport com.java.laiy.controller.Game;\nimport com.java.laiy.controller.GameController;\nimport com.java.laiy.model.Board;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Change path to site no requested authorization.\n\n"
},
{
"from": "human",
"value": "package bj.pranie.config;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework... | java | chosen |
[
{
"from": "system",
"value": "Update CTM statemapper to check for ConnectedTexturesMod\n"
},
{
"from": "human",
"value": "package info.sleeplessacorn.nomagi.client;\n\nimport net.minecraft.block.state.IBlockState;\nimport net.minecraft.client.renderer.block.model.ModelResourceLocation;\nimport n... | java | chosen |
[
{
"from": "system",
"value": "Allow a commond replSetName for all shards"
},
{
"from": "human",
"value": "/*\n * ToroDB\n * Copyright © 2014 8Kdata Technology (www.8kdata.com)\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero Ge... | java | chosen |
[
{
"from": "system",
"value": "Enable the correct exception check on the test, was disabled when inspecting the contents of the exception"
},
{
"from": "human",
"value": "package net.stickycode.configured.finder;\n\nimport static org.fest.assertions.Assertions.assertThat;\n\nimport org.junit.Test... | java | chosen |
[
{
"from": "system",
"value": "[EAGLE-55] Add a missing anonymous parameter in hive running spout\n\nAuthor: 38aa841db38ea48e0419af2a083503ced2375284@ebay.com\nReviewer: 32da457b72ebfbb2f00ec273d0f0df9d3f712280@apache.org\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software F... | java | chosen |
[
{
"from": "system",
"value": "Fix non-java find usages dialogs.\n"
},
{
"from": "human",
"value": "package com.intellij.find.findUsages;\n\nimport com.intellij.openapi.project.Project;\nimport com.intellij.openapi.util.text.StringUtil;\nimport com.intellij.psi.PsiElement;\nimport com.intellij.us... | java | chosen |
[
{
"from": "system",
"value": "Add get retrieval of FormData\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 ... | java | chosen |
[
{
"from": "system",
"value": "Make collisions with invaders destroy the player\n"
},
{
"from": "human",
"value": "package uk.co.alynn.games.ld30.world;\n\npublic abstract class Invader implements Adversary {\n\n private final float m_x, m_y;\n \n public Invader(float x, float y) {\n ... | java | chosen |
[
{
"from": "system",
"value": "Fix issue with missing var\n"
},
{
"from": "human",
"value": "package com.xdrop.passlock.core;\nimport org.apache.commons.codec.binary.Base64;\n\n\nimport com.xdrop.passlock.crypto.EncryptionModel;\nimport com.xdrop.passlock.crypto.aes.AESEncryptionData;\nimport com... | java | chosen |
[
{
"from": "system",
"value": "Switch testnet config to Homestead\n"
},
{
"from": "human",
"value": "package org.ethereum.config.net;\n\nimport org.ethereum.config.blockchain.FrontierConfig;\n\n/**\n * Created by Anton Nashatyrev on 25.02.2016.\n */\npublic class TestNetConfig extends AbstractNet... | java | chosen |
[
{
"from": "system",
"value": "Fix method names and change edit\n"
},
{
"from": "human",
"value": "public interface MatrixInterface {\n\t// boolean modify means function returns the modified matrix\n\t// no boolean modify means function returns a new matrix\n\n\t// matrix addition \n\tpublic Matr... | java | chosen |
[
{
"from": "system",
"value": "Remove web_cloud as it can't be used to create a text index\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Hewlett-Packard Development Company, L.P.\n * Licensed under the MIT License (the \"License\"); you may not use this file except in compliance with t... | java | chosen |
[
{
"from": "system",
"value": "Load DocumentDB client at class-load time\n"
},
{
"from": "human",
"value": "package com.microsoft.azure.documentdb.sample.dao;\n\nimport com.microsoft.azure.documentdb.ConnectionPolicy;\nimport com.microsoft.azure.documentdb.ConsistencyLevel;\nimport com.microsoft.... | java | chosen |
[
{
"from": "system",
"value": "PUT para atualizar o recurso Livro\n"
},
{
"from": "human",
"value": "package com.fabiohideki.socialbooks.resources;\n\nimport java.util.List;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.web.bind.annotation.PathVaria... | java | chosen |
[
{
"from": "system",
"value": "Move some more constants here\n"
},
{
"from": "human",
"value": "package edu.washington.escience.myriad;\n\n/**\n * This class holds the constants for the Myria execution.\n * \n * @author dhalperi\n * \n */\npublic final class MyriaConstants {\n /** Private constr... | java | chosen |
[
{
"from": "system",
"value": "Fix invalid tile entity error"
},
{
"from": "human",
"value": "package pokefenn.totemic.init;\n\nimport net.minecraft.tileentity.TileEntityType;\nimport net.minecraftforge.event.RegistryEvent;\nimport net.minecraftforge.eventbus.api.SubscribeEvent;\nimport net.minec... | java | chosen |
[
{
"from": "system",
"value": "Generalize the test DRPC client\n"
},
{
"from": "human",
"value": "package tutorial.storm.trident;\n\nimport backtype.storm.generated.DRPCExecutionException;\nimport backtype.storm.utils.DRPCClient;\nimport org.apache.thrift7.TException;\n\n/**\n * @author Enno Shio... | java | chosen |
[
{
"from": "system",
"value": "Update package version because of SLING-2844 and SLING-2845\n\ngit-svn-id: 6eed74fe9a15c8da84b9a8d7f2960c0406113ece@1477495 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * ... | java | chosen |
[
{
"from": "system",
"value": "Remove static import, code is more readable like this\n"
},
{
"from": "human",
"value": "package com.nelsonjrodrigues.pchud.net;\n\nimport static java.lang.Byte.toUnsignedInt;\n\n\n\npublic class Extractor {\n\n private byte[] buffer;\n private int offset;\n ... | java | chosen |
[
{
"from": "system",
"value": "Add URL config to HTTP client adapter itest\n"
},
{
"from": "human",
"value": "/*\n * This file is provided to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance with the License.\n * You may obtain a copy... | java | chosen |
[
{
"from": "system",
"value": "Remove debug and fix line number\n"
},
{
"from": "human",
"value": "package com.cflint.plugins.core;\n\nimport ro.fortsoft.pf4j.Extension;\nimport cfml.parsing.cfscript.CFFunctionExpression;\nimport cfml.parsing.cfscript.script.CFAbortStatement;\nimport cfml.parsing... | java | chosen |
[
{
"from": "system",
"value": "Check to validated xml file has been loaded already; if so, dont load it again.\n"
},
{
"from": "human",
"value": "package org.recap.route;\n\nimport org.apache.camel.Exchange;\nimport org.apache.camel.Processor;\nimport org.apache.camel.impl.DefaultMessage;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Revert \"Made the periodic table different\"\"\n\nThis reverts commit cd0982549189edad00fd944b8c31dfdd4bc79030.\n"
},
{
"from": "human",
"value": "package Functions;\nimport javax.swing.*;\nimport javax.swing.border.*;\n\nimport Elements.Element;\n\nimport... | java | chosen |
[
{
"from": "system",
"value": "Remove quotation marks from JSON objects\n"
},
{
"from": "human",
"value": "package android.org.json;\n\nimport com.google.gwt.json.client.JSONParser;\n\n/**\n * Proxy to the GWT class\n */\npublic class JSONObject {\n\n\tcom.google.gwt.json.client.JSONObject jsonOb... | java | chosen |
[
{
"from": "system",
"value": "Build now allows to specify custom version suffix.\n"
},
{
"from": "human",
"value": "package org.jtrim2.build;\n\nimport java.io.IOException;\nimport org.gradle.api.Project;\n\nimport static org.jtrim2.build.BuildFileUtils.*;\n\npublic final class Versions {\n p... | java | chosen |
[
{
"from": "system",
"value": "Optimize jump game ii solution\n"
},
{
"from": "human",
"value": "import java.util.*;\n\npublic class Solution {\n public int jump(int[] jumps) {\n if (jumps.length == 0) return 0;\n\n int lastIndex = jumps.length - 1;\n boolean[] visited = new boolean[jum... | java | chosen |
[
{
"from": "system",
"value": "Implement auto redirect authenticated user to week page. \n\n"
},
{
"from": "human",
"value": "package bj.pranie.controller;\n\nimport bj.pranie.util.TimeUtil;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.stereotype.Controll... | java | chosen |
[
{
"from": "system",
"value": "Fix property names to be related to response from riot valorant api\n"
},
{
"from": "human",
"value": "package no.stelar7.api.r4j.pojo.val.matchlist;\n\nimport java.io.Serializable;\nimport java.util.Objects;\n\npublic class MatchReference implements Serializable\n{... | java | chosen |
[
{
"from": "system",
"value": "Add sleep method to robot\n"
},
{
"from": "human",
"value": "package com.tobi.movies;\n\nimport android.support.annotation.IdRes;\nimport android.support.test.espresso.contrib.RecyclerViewActions;\n\nimport static android.support.test.espresso.Espresso.onView;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Use GZip compression in the Amazon S3 client to speed up large object transfer\n\nThe goal starting this task was to speed up large object transfer. Considered compressing the content itself (in BlobStorage) but in the end decided to use GZip in the client transport layer inste... | java | chosen |
[
{
"from": "system",
"value": "Add tabbed pane to the center of 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\nimport com.github.aur... | java | chosen |
[
{
"from": "system",
"value": "Change PhoneGap version to '0.9.2'.\n\nAdd license agreement.\n"
},
{
"from": "human",
"value": "package com.phonegap.device;\n\nimport net.rim.device.api.script.Scriptable;\nimport net.rim.device.api.system.DeviceInfo;\n\npublic final class DeviceFeature extends Sc... | java | chosen |
[
{
"from": "system",
"value": "Fix unused variable in BubbpleSort class\n"
},
{
"from": "human",
"value": "package ru.job4j.array;\n\n/**\n* Class BubbpleSort ti sort some arrays.\n* @author Eugene Lazarev mailto(helycopternicht@rambler.ru)\n* @since 27.03.2017\n*/\npublic class BubbleSort {\n\t/... | java | chosen |
[
{
"from": "system",
"value": "Add getter and setter for start_ts field.\n"
},
{
"from": "human",
"value": "package com.cisco.trex.stateless.model.capture;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonProperty;\n\n@JsonIgnorePropert... | java | chosen |
[
{
"from": "system",
"value": "Add notification manager to service\n"
},
{
"from": "human",
"value": "package es.shyri.longoperationservice;\n\nimport android.app.Service;\nimport android.content.Intent;\nimport android.os.Binder;\nimport android.os.IBinder;\nimport android.support.annotation.Nul... | java | chosen |
[
{
"from": "system",
"value": "Add final modifier to internet date-time field.\n"
},
{
"from": "human",
"value": "package app.android.gambit.remote;\n\n\nimport java.util.Date;\n\nimport android.text.format.Time;\n\n\npublic class InternetDateTime\n{\n\tprivate Time time;\n\n\tpublic InternetDate... | java | chosen |
[
{
"from": "system",
"value": "Build the error message earlier\n"
},
{
"from": "human",
"value": "package org.rocket.network.props;\n\nimport org.rocket.network.MutProp;\nimport org.rocket.network.NetworkClient;\nimport org.rocket.network.PropId;\nimport org.rocket.network.PropValidator;\n\npubli... | java | chosen |
[
{
"from": "system",
"value": "Use Overriden, not private method to interact with presenter\n"
},
{
"from": "human",
"value": "package com.malpo.sliver.sample.ui.number;\n\nimport com.malpo.sliver.sample.models.Number;\n\nimport timber.log.Timber;\n\nclass NumberPresenter implements NumberContrac... | java | chosen |
[
{
"from": "system",
"value": "Add sip to pixel conversion\n"
},
{
"from": "human",
"value": "package com.amalgam.view;\n\nimport android.content.res.Resources;\nimport android.util.DisplayMetrics;\nimport android.view.WindowManager;\n\npublic final class ViewUtils {\n private ViewUtils() {}\n... | java | chosen |
[
{
"from": "system",
"value": "Include java 11 to supported list\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017 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": "Add a message for the failing assertion\n"
},
{
"from": "human",
"value": "package beaform.events;\n\nimport static org.junit.Assert.assertEquals;\n\nimport java.text.SimpleDateFormat;\nimport java.util.Date;\n\nimport org.junit.After;\nimport org.junit.Before;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Document prerequisites for the algorithm"
},
{
"from": "human",
"value": "package algorithms.trees;\n\npublic class TreeHeightCalculator {\n\tprivate final int parents[];\n\n\t/**\n\t * @param parents\n\t * defines index of parent for each node. Value -1 de... | java | chosen |
[
{
"from": "system",
"value": "Fix redirect loops in HTTPS when canonical-base-uri is configured\n\nOnce again, we're hit by RESTEASY-1099; this time when comparing the\nbase URI with the expected \"canonical base URI\". When the requested\nURI had a query-string, the comparison failed and we tried to redire... | java | chosen |
[
{
"from": "system",
"value": "Add missing field in 'action' for 'Message' object\n"
},
{
"from": "human",
"value": "package com.vk.api.sdk.objects.messages;\n\nimport com.google.gson.annotations.SerializedName;\n\n/**\n * Message action type\n */\npublic enum Action {\n\n @SerializedName(\"ch... | java | chosen |
[
{
"from": "system",
"value": "Fix UidService not loaded on linux\n"
},
{
"from": "human",
"value": "package com.faforever.client.legacy;\n\nimport com.faforever.client.os.OsUtils;\nimport org.springframework.context.annotation.Lazy;\nimport org.springframework.context.annotation.Profile;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Enable tests with SpiderMonkey WasmTextToBinary()"
},
{
"from": "human",
"value": "/*\n * Copyright 2017 - 2018 Volker Berlin (i-net software)\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": "Use an application defined exception.\n"
},
{
"from": "human",
"value": "/*\n * MIT License\n *\n * Copyright (c) 2017 Hindol Adhya\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation... | java | chosen |
[
{
"from": "system",
"value": "Add algorithm field in class\n"
},
{
"from": "human",
"value": "package org.cryptonit.cloud.timestamping;\n\nimport org.cryptonit.cloud.interfaces.TimestampingPolicy;\n\npublic class Policy implements TimestampingPolicy {\n\n String identity;\n String policyId... | java | chosen |
[
{
"from": "system",
"value": "Remove todo and add comment\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2012 Mateusz Parzonka, Eric Bodden\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * ... | java | chosen |
[
{
"from": "system",
"value": "Add matcher for the recyclerview to get the number of items to compare with\n"
},
{
"from": "human",
"value": "package me.androidbox.busbymovies;\n\nimport android.support.test.espresso.assertion.ViewAssertions;\nimport android.support.test.rule.ActivityTestRule;\ni... | java | chosen |
[
{
"from": "system",
"value": "Add more extensions for fasta filter\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2015 iychoi\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License\n * as published by the Fre... | java | chosen |
[
{
"from": "system",
"value": "Add more command extension and suffix\n"
},
{
"from": "human",
"value": "package t16b4.yats.logic.commands;\n\n\n/**\n * Lists all persons in the address book to the user.\n */\npublic class ListCommand extends Command {\n\n public static final String COMMAND_WOR... | java | chosen |
[
{
"from": "system",
"value": "Rename test to be correct\n"
},
{
"from": "human",
"value": "package com.example.activity;\n\nimport android.app.Activity;\nimport org.junit.runner.RunWith;\nimport org.robolectric.Robolectric;\nimport org.robolectric.RobolectricTestRunner;\n\nimport static org.juni... | java | chosen |
[
{
"from": "system",
"value": "Remove redundant access modifiers. PL-11097.\n"
},
{
"from": "human",
"value": "package com.amee.restlet;\n\nimport org.restlet.data.Status;\n\npublic interface Fault {\n\n public String getMessage();\n\n public Status getStatus();\n\n public String getCode... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Added call to `requestLayout()` after `invalidate()`\"\n\nThis reverts commit 4c36200e19e8d38b6e4389f498152e2b5e30ff13.\n"
},
{
"from": "human",
"value": "package sample.github.nisrulz.customview;\n\nimport android.content.Context;\nimport android.graphics.... | java | chosen |
[
{
"from": "system",
"value": "Add license header to batch DOM driver class\n"
},
{
"from": "human",
"value": "package edu.rice.cs.caper.bayou.application.dom_driver;\n\nimport java.io.BufferedReader;\nimport java.io.FileReader;\nimport java.io.IOException;\n\n/**\n * Batch DOM Driver that can wo... | java | chosen |
[
{
"from": "system",
"value": "Set speech rates to 1.0/0.8\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2016 Reto Inderbitzin (mail@indr.ch)\n *\n * For the full copyright and license information, please view\n * the LICENSE file that was distributed with this source code.\n */\n\npack... | java | chosen |
[
{
"from": "system",
"value": "Exclude only log4j2 queue from class loader\n\nRight now the complete com.mojang package is excluded from the LaunchClassLoader on the server. This means mods can't transform authlib for example which doesn't need to be excluded for the UI to work. By excluding only the specifi... | java | chosen |
[
{
"from": "system",
"value": "Make init throw exception when electees not subset of nominees\n"
},
{
"from": "human",
"value": "package com.grayben.riskExtractor.headingMarker.elector;\n\nimport java.util.Collections;\nimport java.util.List;\n\nimport com.grayben.riskExtractor.headingMarker.nomi... | java | chosen |
[
{
"from": "system",
"value": "Create dummy password on null"
},
{
"from": "human",
"value": "package io.core9.module.auth.standard;\n\nimport io.core9.plugin.database.repository.AbstractCrudEntity;\nimport io.core9.plugin.database.repository.Collection;\nimport io.core9.plugin.database.repositor... | java | chosen |
[
{
"from": "system",
"value": "Set totalCount field automatically in setter for devices\n"
},
{
"from": "human",
"value": "package io.castle.client.model;\n\nimport com.google.gson.annotations.SerializedName;\n\nimport java.util.List;\n\npublic class CastleUserDevices {\n int totalCount;\n ... | java | chosen |
[
{
"from": "system",
"value": "Add tile entity mappings to support 1.6.4 migrated worlds.\n"
},
{
"from": "human",
"value": "package carpentersblocks.util.handler;\n\nimport carpentersblocks.tileentity.TEBase;\nimport carpentersblocks.tileentity.TECarpentersDaylightSensor;\nimport carpentersblock... | java | chosen |
[
{
"from": "system",
"value": "Use CommandUnknown exception in the method create."
},
{
"from": "human",
"value": "package com.obidea.semantika.cli2.command;\n\nimport com.obidea.semantika.cli2.runtime.ConsoleSession;\n\npublic class CommandFactory\n{\n public static Command create(String comma... | java | chosen |
[
{
"from": "system",
"value": "Add validity states needed by some coop leaderboard checks\n\nhttps://github.com/FAForever/db/pull/187"
},
{
"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_VI... | java | chosen |
[
{
"from": "system",
"value": "Update application entry point to use custom controller implementation.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 Will Knez <wbknez.dev@gmail.com>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file ... | java | chosen |
[
{
"from": "system",
"value": "Add nullable to corecontentlistner methods parameters\n"
},
{
"from": "human",
"value": "package it.near.sdk.Utils;\n\nimport android.content.Intent;\n\nimport it.near.sdk.Reactions.Content.Content;\nimport it.near.sdk.Reactions.Coupon.Coupon;\nimport it.near.sdk.Re... | java | chosen |
[
{
"from": "system",
"value": "Add some log messeges to server\n"
},
{
"from": "human",
"value": "\nimport interfaces.*;\n\nimport java.net.ServerSocket;\nimport java.net.Socket;\nimport java.util.ArrayList;\nimport java.util.List;\n\n/**\n * Chat Server for various clients\n */\npublic class Mul... | java | chosen |
[
{
"from": "system",
"value": "Add unit test to show that the callback method is called.\n"
},
{
"from": "human",
"value": "package com.iluwatar.callback;\n\n/**\n * \n * Implementation of task that need to be executed\n * \n */\npublic class SimpleTask extends Task {\n\n\t@Override\n\tpublic voi... | java | chosen |
[
{
"from": "system",
"value": "Use the correct class name."
},
{
"from": "human",
"value": "/*\n * Copyright (c) 1998-2014 by Richard A. Wilkes. All rights reserved.\n *\n * This Source Code Form is subject to the terms of the Mozilla Public License,\n * version 2.0. If a copy of the MPL was not ... | java | chosen |
[
{
"from": "system",
"value": "Change Bleed effect to use a material rather than a mysterious color id\n"
},
{
"from": "human",
"value": "package de.slikey.effectlib.effect;\n\nimport de.slikey.effectlib.EffectManager;\nimport de.slikey.effectlib.EffectType;\nimport de.slikey.effectlib.util.Rando... | java | chosen |
[
{
"from": "system",
"value": "Add Planner Applied Categories extension\n"
},
{
"from": "human",
"value": "// ------------------------------------------------------------------------------\n// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License... | java | chosen |
[
{
"from": "system",
"value": "Fix Facebook crawler crashing app when no cookies file provided\n"
},
{
"from": "human",
"value": "package crawlers.facebook;\n\nimport org.apache.commons.io.IOUtils;\n\nimport java.io.*;\n\nimport org.jsoup.Connection;\nimport org.jsoup.Jsoup;\nimport org.jsoup.nod... | java | chosen |
[
{
"from": "system",
"value": "Add method to delete a category.\n"
},
{
"from": "human",
"value": "package com.github.cstroe.spendhawk.entity;\n\nimport com.github.cstroe.spendhawk.util.HibernateUtil;\nimport org.hibernate.criterion.Order;\nimport org.hibernate.criterion.Restrictions;\n\nimport j... | java | chosen |
[
{
"from": "system",
"value": "Make butter blocks slippery like ice.\n"
},
{
"from": "human",
"value": "package net.darkmorford.btweagles.block;\n\nimport net.darkmorford.btweagles.BetterThanWeagles;\nimport net.minecraft.block.Block;\nimport net.minecraft.block.material.Material;\nimport net.min... | java | chosen |
[
{
"from": "system",
"value": "Add method - Create Directory"
},
{
"from": "human",
"value": "package com.adms.test;\r\n\r\n\r\n\r\npublic class TestApp {\r\n\r\n\tpublic static void main(String[] args) {\r\n\r\n\t\ttry {\r\n\t\t\tSystem.out.println(\"start\");\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t... | java | chosen |
[
{
"from": "system",
"value": "Fix method name for getting the monitored sites\n"
},
{
"from": "human",
"value": "package de.gernd.simplemon.endpoints;\n\nimport de.gernd.simplemon.endpoints.model.AddSiteToMonitorRequest;\nimport de.gernd.simplemon.endpoints.model.GetMonitoredSitesResponse;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Remove useless comment about returning a null mouse. Access mouse through ForPlay.mouse().\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2010 The ForPlay Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use thi... | java | chosen |
[
{
"from": "system",
"value": "Fix tipped arrows not being pick-upable after shot out of a dispenser\n"
},
{
"from": "human",
"value": "package ganymedes01.etfuturum.dispenser;\n\nimport ganymedes01.etfuturum.entities.EntityTippedArrow;\nimport ganymedes01.etfuturum.items.TippedArrow;\nimport net... | java | chosen |
[
{
"from": "system",
"value": "Move the service creation to onStart, add onStop service termination\n"
},
{
"from": "human",
"value": "package com.example.crystalgame;\n\n\nimport com.example.crystalgame.communication.CommunicationService;\n\nimport android.os.Bundle;\nimport android.app.Activity... | java | chosen |
[
{
"from": "system",
"value": "Rename all spade variable names to shovel variable names\n"
},
{
"from": "human",
"value": "package info.u_team.u_team_core.item.tool;\n\nimport info.u_team.u_team_core.api.registry.IUArrayRegistryType;\nimport net.minecraft.item.Item;\n\npublic class ToolSet implem... | java | chosen |
[
{
"from": "system",
"value": "Add fields; license ; and javadoc\n"
},
{
"from": "human",
"value": "package com.boundary.plugin.sdk;\n\npublic class Dashboard {\n\t\n\t\n}\n"
},
{
"from": "gpt",
"value": "// Copyright 2014 Boundary, Inc.\n//\n// Licensed under the Apache License, Vers... | java | chosen |
[
{
"from": "system",
"value": "Update testmod 2 to use the new method"
},
{
"from": "human",
"value": "package info.u_team.u_team_test2;\n\nimport org.apache.logging.log4j.*;\n\nimport info.u_team.u_team_core.construct.ConstructManager;\nimport info.u_team.u_team_core.integration.IntegrationManag... | java | chosen |
[
{
"from": "system",
"value": "Remove println for extra IRC handlers\n"
},
{
"from": "human",
"value": "package io.jahed.twitchrobot;\n\nimport java.util.List;\n\nimport org.pircbotx.PircBotX;\nimport org.pircbotx.ServerInfo;\n\npublic class TwitchServerInfo extends ServerInfo {\n\n\tpublic Twitc... | java | chosen |
[
{
"from": "system",
"value": "Tidy up and add comment\n"
},
{
"from": "human",
"value": "package com.example.rxappfocus;\n\nimport android.app.Application;\nimport android.widget.Toast;\n\nimport com.gramboid.rxappfocus.AppFocusProvider;\n\nimport rx.functions.Action1;\n\npublic class App extend... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.