conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Fix grammar of the sentence for welcome page.\n"
},
{
"from": "human",
"value": "package org.wildfly.jaxrs;\n\nimport javax.ws.rs.GET;\nimport javax.ws.rs.Path;\nimport javax.ws.rs.Produces;\n\n/**\n * Created by Muhammad on 11/11/2015.\n */\n\n// This class is loca... | java | chosen |
[
{
"from": "system",
"value": "Copy over the reformat code from a fork of pedro."
},
{
"from": "human",
"value": "package net.chrizzly.csharp4netbeans.filetypes.cs.parser.reformatting;\n\nimport javax.swing.text.BadLocationException;\nimport org.netbeans.modules.editor.indent.spi.Context;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Add header and remove final blank space\n"
},
{
"from": "human",
"value": "package org.wso2.carbon.clustering.mesos.client.model.marathon.v2;\n\npublic class Command {\n\n private String value;\n\n public String getValue() {\n return value;\n }\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Complete TODOs for T07.01 CreateAContract exercise\n"
},
{
"from": "human",
"value": "package com.example.android.waitlist.data;\n\nimport android.provider.BaseColumns;\n\npublic class WaitlistContract {\n\n\n\n // TODO (1) Create an inner class named WaitlistEnt... | java | chosen |
[
{
"from": "system",
"value": "core: Add missing serial version id\n\nChange-Id: I1467bfda3a1f349087266bedb0fafac7170baeb2\nSigned-off-by: Moti Asayag <da1debb83a8e12b6e8822edf2c275f55cc51b720@redhat.com>\n"
},
{
"from": "human",
"value": "package org.ovirt.engine.core.common.queries;\n\nimport o... | java | chosen |
[
{
"from": "system",
"value": "Swap DYNAMIC parsers with SINGLE\n"
},
{
"from": "human",
"value": "package org.panda_lang.panda.framework.language.interpreter.parser.implementation.general.expression.updated.subparsers;\n\npublic class DefaultSubparserPriorities {\n\n public static final doubl... | java | chosen |
[
{
"from": "system",
"value": "Refresh all views when invoking move action\n"
},
{
"from": "human",
"value": "package com.yuyakaido.android.cardstackview.internal;\n\nimport android.support.annotation.Nullable;\nimport android.support.v7.widget.RecyclerView;\n\nimport com.yuyakaido.android.cardst... | java | chosen |
[
{
"from": "system",
"value": "Correct implementation of the IResourceAware methods\n"
},
{
"from": "human",
"value": "package com.redhat.ceylon.eclipse.core.model;\n\nimport org.eclipse.core.resources.IFile;\nimport org.eclipse.core.resources.IFolder;\nimport org.eclipse.core.resources.IProject;... | java | chosen |
[
{
"from": "system",
"value": "Reset incubation logger with deprecation logger\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2011 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... | java | chosen |
[
{
"from": "system",
"value": "Add TODO re: not wrapping exceptions like OutOfMemoryError\n"
},
{
"from": "human",
"value": "\npackage org.junit.core;\n\nimport org.opentestalliance.TestAbortedException;\n\n/**\n * @author Sam Brannen\n * @since 5.0\n */\npublic final class Assumptions {\n\n\tpri... | java | chosen |
[
{
"from": "system",
"value": "Disable the test on ensureHttpsConnectionToGetSentryRequiresCustomSslFactory\n"
},
{
"from": "human",
"value": "package net.kencochrane.raven.getsentry.connection;\n\nimport mockit.Deencapsulation;\nimport mockit.Injectable;\nimport mockit.Tested;\nimport org.testng... | java | chosen |
[
{
"from": "system",
"value": "Add new test with multiple words to pass, clean up comments in test.\n"
},
{
"from": "human",
"value": "import org.junit.*;\nimport static org.junit.Assert.*;\nimport java.util.ArrayList;\n\npublic class ScrabbleTest {\n\n @Test\n public void scrabbleScore_returns... | java | chosen |
[
{
"from": "system",
"value": "Fix fluid in tank rendering\n"
},
{
"from": "human",
"value": "package xyz.brassgoggledcoders.steamagerevolution.modules.storage.renderers;\n\nimport javax.annotation.Nonnull;\n\nimport net.minecraft.client.Minecraft;\nimport net.minecraft.client.renderer.tileentity... | java | chosen |
[
{
"from": "system",
"value": "Add modulus and exponent sizes\n"
},
{
"from": "human",
"value": "package backend;\n\npublic class ConstantValues {\n\t/*\n\t * Certificate for the terminals should not have an expdate\n\t * Certificate WITOUT expdate is a byte array that looks like:\n\t * cert[0] =... | java | chosen |
[
{
"from": "system",
"value": "Implement most of the initial window contoller code.\n"
},
{
"from": "human",
"value": "package ryhma57.gui;\n\nimport java.util.EnumMap;\nimport ryhma57.backend.BibtexReferenceField;\n\n/**\n * This is the main class currently.\n */\npublic class Application {\n ... | java | chosen |
[
{
"from": "system",
"value": "Add check for Google Play services\n"
},
{
"from": "human",
"value": "package com.lukekorth.httpebble;\n\nimport android.app.Activity;\nimport android.os.Bundle;\n\npublic class Httpebble extends Activity {\n\n\t@Override\n\tprotected void onCreate(Bundle savedInsta... | java | chosen |
[
{
"from": "system",
"value": "Implement constructor, getCostFromStart(), setCostFromStartIfSmaller in Vertex\n"
},
{
"from": "human",
"value": "import java.util.Map.Entry;\n\n\npublic class DegreeOfSeperation {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Implement\n\t}\n\n}\n\ncla... | java | chosen |
[
{
"from": "system",
"value": "Add value information to the numberPickers\n"
},
{
"from": "human",
"value": "package dk.cmol.arduinorgb_controller;\n\nimport android.os.Bundle;\nimport android.support.v4.app.Fragment;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android... | java | chosen |
[
{
"from": "system",
"value": "Make local variable name more concise.\n"
},
{
"from": "human",
"value": "// Copyright © 2011 - 2013 Forerunner Games\npackage com.forerunnergames.tools;\n\n/**\n *\n * @author Aaron Mahan\n */\npublic class Point2D\n{\n public Point2D (final int x, final int y)\n ... | java | chosen |
[
{
"from": "system",
"value": "Add Nexus Siege game mode"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 Taylor Caldwell\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 ... | java | chosen |
[
{
"from": "system",
"value": "Create Node class and other skeleton code\n"
},
{
"from": "human",
"value": "package com.algorithms.tree;\n\npublic class BST<Key extends Comparable<Key>, Value> {\n}\n"
},
{
"from": "gpt",
"value": "package com.algorithms.tree;\n\npublic class BST<Key e... | java | chosen |
[
{
"from": "system",
"value": "Add median element function declaration.\n"
},
{
"from": "human",
"value": "public class Node {\n\n Node next = null;\n int data;\n\n public Node(int d) {\n data = d;\n }\n\n // Appends data to the end of the linked list\n private void appendToTail(int data... | java | chosen |
[
{
"from": "system",
"value": "Use generic types in Filemanager\n"
},
{
"from": "human",
"value": "package com.max.soundboard;\n\nimport java.io.File;\nimport java.util.ArrayList;\n\n\nclass FileManager {\n private FileManager() {}\n\n public static ArrayList<String> getSubdirectories(Strin... | java | chosen |
[
{
"from": "system",
"value": "Add temperature to cylinder constructor\n"
},
{
"from": "human",
"value": "package uk.co.craigwarren.gascalc.model;\n\npublic class Cylinder {\n\t\n\tprivate double volume;\n\tprivate double pressure;\n\tprivate Gas gas;\n\tprivate double ambientTemperatureKelvin;\n... | java | chosen |
[
{
"from": "system",
"value": "Update permited path to all users.\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.security.con... | java | chosen |
[
{
"from": "system",
"value": "Mark the builder api as subject to change\n"
},
{
"from": "human",
"value": "/*\n# Licensed Materials - Property of IBM\n# Copyright IBM Corp. 2015 \n */\n/**\n * Low-level graph builder.\n * {@link com.ibm.streamsx.topology.builder.GraphBuilder} provides a layer\n... | java | chosen |
[
{
"from": "system",
"value": "Test commit from new machine\n"
},
{
"from": "human",
"value": "package com.vav.CTCI.Common;\n\n/**\n * Created by Vaibhav on 5/6/2017.\n */\npublic class CTCICommon {\n public static void main(String arg[]){\n\n }\n}\n"
},
{
"from": "gpt",
"value"... | java | chosen |
[
{
"from": "system",
"value": "Fix test case using static import to 'IsDate' class."
},
{
"from": "human",
"value": "package org.yukung.tutorial.junit;\n\nimport static org.hamcrest.CoreMatchers.*;\nimport static org.junit.Assert.*;\n\nimport java.util.Date;\n\nimport org.junit.After;\nimport org... | java | chosen |
[
{
"from": "system",
"value": "Add wiring constant for kicker power\n"
},
{
"from": "human",
"value": "/*\r\n * To change this template, choose Tools | Templates\r\n * and open the template in the editor.\r\n */\r\npackage edu.wpi.first.wpilibj.templates.commands;\r\n\r\n/**\r\n *\r\n * @author T... | java | chosen |
[
{
"from": "system",
"value": "Add snackbar event on server\n"
},
{
"from": "human",
"value": "package xyz.openmodloader.server;\n\nimport net.minecraft.client.entity.EntityPlayerSP;\nimport net.minecraft.server.MinecraftServer;\nimport net.minecraft.util.text.ITextComponent;\nimport xyz.openmodl... | java | chosen |
[
{
"from": "system",
"value": "Improve legibility of JUnit test\n"
},
{
"from": "human",
"value": "package shouty;\n\nimport org.junit.Test;\nimport static org.junit.Assert.assertEquals;\n\npublic class CoordinateTest {\n\n @Test\n public void itCalculatesTheDistanceFromAnotherCoordinateAlo... | java | chosen |
[
{
"from": "system",
"value": "Change hunger values for beef pattie\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/... | java | chosen |
[
{
"from": "system",
"value": "Support accessing a long value after being closed for graceful shutdown\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016-2020 Chronicle Software\n *\n * https://chronicle.software\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * ... | java | chosen |
[
{
"from": "system",
"value": "Change code, add \"hello git\""
},
{
"from": "human",
"value": "/*\r\n * To change this license header, choose License Headers in Project Properties.\r\n * To change this template file, choose Tools | Templates\r\n * and open the template in the editor.\r\n */\r\n\r... | java | chosen |
[
{
"from": "system",
"value": "Test Console utilise maintenant les valeur de la taille d'arène et ne fait plus piper de barbares\n"
},
{
"from": "human",
"value": "import individu.Assassin;\nimport individu.Barbare;\n\nimport java.rmi.RemoteException;\n\nimport controle.Console;\n\n/**\n * Test ... | java | chosen |
[
{
"from": "system",
"value": "Add documentation for system clock\n"
},
{
"from": "human",
"value": "package org.jvirtanen.nassau.util;\n\npublic class SystemClock implements Clock {\n\n public static final SystemClock INSTANCE = new SystemClock();\n\n private SystemClock() {\n }\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Use collection instead of List\n"
},
{
"from": "human",
"value": "package bool;\n\nimport java.util.List;\n\npublic class Evaluator implements Visitor<Boolean, List<String>> {\n @Override\n public Boolean visit(Var node, List<String> vars) {\n return va... | java | chosen |
[
{
"from": "system",
"value": "Add a lexer test for all operators"
},
{
"from": "human",
"value": "package bool;\n\nimport org.junit.Test;\n\nimport java.io.IOException;\n\nimport static org.junit.Assert.assertEquals;\n\npublic class LexerTest {\n @Test\n public void test_lex() throws IOExc... | java | chosen |
[
{
"from": "system",
"value": "Add interface to set certificate value\n"
},
{
"from": "human",
"value": "package org.cryptonit.cloud.interfaces;\n\nimport org.bouncycastle.asn1.x500.X500Name;\n\npublic interface IdentityStore {\n public String newIdentity(String domain, String keyId, X500Name ... | java | chosen |
[
{
"from": "system",
"value": "Remove database initialization via application.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2012 Artur Dryomov\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 temporary code to tell if networktables is running on the robot, as it no longer works with the RoboRIO.\n"
},
{
"from": "human",
"value": "package org.ingrahamrobotics.robottables.util;\n\npublic class Platform {\n\n private static final Object LOCK = new... | java | chosen |
[
{
"from": "system",
"value": "Save fix start position and add method to reset player on this position\n"
},
{
"from": "human",
"value": "package de.dbaelz.secludedness.level;\n\npublic class Player {\n\tprivate int mPositionX;\n\tprivate int mPositionY;\n\t\n\tpublic Player(int positionX, int po... | java | chosen |
[
{
"from": "system",
"value": "Add success method for custom message in data.\n"
},
{
"from": "human",
"value": "package com.royalrangers.utils;\n\nimport com.fasterxml.jackson.databind.annotation.JsonSerialize;\nimport com.royalrangers.bean.ResponseResult;\nimport lombok.Getter;\n\npublic class ... | java | chosen |
[
{
"from": "system",
"value": "Add method for requesting nodes by iri\n"
},
{
"from": "human",
"value": "/*\n * VowlData.java\n *\n */\n\npackage de.uni_stuttgart.vis.vowl.owl2vowl.model;\n\nimport de.uni_stuttgart.vis.vowl.owl2vowl.model.nodes.classes.AbstractClass;\n\nimport java.util.HashSet;\... | java | chosen |
[
{
"from": "system",
"value": "Add usage example for longestPRefixOf() method\n"
},
{
"from": "human",
"value": "import java.io.File;\nimport java.io.FileNotFoundException;\nimport java.util.Scanner;\n\npublic class TrieExample {\n public static void main(String[] args) {\n\n // Open the data... | java | chosen |
[
{
"from": "system",
"value": "Update new spy shipping tracker observer\n"
},
{
"from": "human",
"value": "package app;\n\nimport app.action.Action;\nimport app.action.ActionEvent;\nimport app.action.Drop;\nimport app.shipper.BasicShipper;\n\nimport java.util.ArrayList;\nimport java.util.List;\ni... | java | chosen |
[
{
"from": "system",
"value": "Use org.apache.camel.main.Main for sample application\n"
},
{
"from": "human",
"value": "package de.fred4jupiter.plaincamel;\n\nimport org.apache.camel.CamelContext;\nimport org.apache.camel.main.Main;\n\n/**\n * Created by michael on 12.09.2017.\n */\npublic class ... | java | chosen |
[
{
"from": "system",
"value": "Set Global Variable action created\n"
},
{
"from": "human",
"value": "package structures.data.actions.library;\n\nimport structures.data.DataAction;\nimport structures.data.actions.params.CheckboxParam;\nimport structures.data.actions.params.DoubleParam;\nimport str... | java | chosen |
[
{
"from": "system",
"value": "Fix 2nd treasureId in test\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 Exorath\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 th... | java | chosen |
[
{
"from": "system",
"value": "Add list of visualization infos.\n"
},
{
"from": "human",
"value": "package edu.kit.iks.Cryptographics;\n\nimport edu.kit.iks.CryptograhicsLib.AbstractController;\n\npublic class StartController extends AbstractController {\n\tprivate PopoverView _popoverView;\n\t\n... | java | chosen |
[
{
"from": "system",
"value": "Fix javascript access in spring security\n"
},
{
"from": "human",
"value": "package org.example.shelf.auth;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.se... | java | chosen |
[
{
"from": "system",
"value": "Build URL with server context path.\n"
},
{
"from": "human",
"value": "package com.github.aureliano.verbum_domini.helper;\n\nimport javax.servlet.ServletRequest;\nimport javax.servlet.http.HttpServletRequest;\n\nimport org.apache.commons.lang.StringUtils;\n\npublic ... | java | chosen |
[
{
"from": "system",
"value": "Add some usage and a main to let me use this as an example\n"
},
{
"from": "human",
"value": "package com.bungleton.yarrgs;\n\nimport java.io.File;\nimport java.util.List;\n\npublic class cp\n{\n public boolean recursive;\n\n @Positional(0) @Unmatched\n pub... | java | chosen |
[
{
"from": "system",
"value": "Remove unused variables from AI component."
},
{
"from": "human",
"value": "package com.galvarez.ttw.model.components;\n\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Set;\n\nimport com.artemis.Component;\nimport com.artemis.Entity;\nimport co... | java | chosen |
[
{
"from": "system",
"value": "Add default testing with 7 and 100 nodes\n"
},
{
"from": "human",
"value": "package dgcj;\n\npublic class DgcjProblem {\n\tprivate static boolean single;\n\t\n\tpublic void testLocally() {\n\t\ttestLocally(1, 6, 1);\n\t}\n\t\n\tpublic void testLocally(int nodes) {\n... | java | chosen |
[
{
"from": "system",
"value": "Use new rating values. It is recommended to always send the new ones, so removed Love and Hate and modified Unrate to be 0 instead of 'unrate'.\n"
},
{
"from": "human",
"value": "package com.jakewharton.trakt.enumerations;\n\nimport java.util.HashMap;\nimport java.u... | java | chosen |
[
{
"from": "system",
"value": "Add the setting of root element label\n"
},
{
"from": "human",
"value": "package editor;\n\nimport utility.Observer;\nimport xml.Element;\n\nimport javax.swing.*;\n\n/**\n * The ElementTreeView controls the section of the GUI that displays the tree\n * representatio... | java | chosen |
[
{
"from": "system",
"value": "Remove unneeded method that shouldnt have been committed\n"
},
{
"from": "human",
"value": "package org.texastorque.texastorque20145.subsystem;\n\nimport edu.wpi.first.wpilibj.Solenoid;\nimport edu.wpi.first.wpilibj.Victor;\nimport org.texastorque.texastorque20145.c... | java | chosen |
[
{
"from": "system",
"value": "Add complexity in tilde notation.\n"
},
{
"from": "human",
"value": "package com.jeffreydiaz.search;\n\n/**\n * Implementation of the classic Linear Search algorithm.\n * @author Jeffrey Diaz\n */\npublic class LinearSearch {\n\n\t/**\n\t * Linearly search for item ... | java | chosen |
[
{
"from": "system",
"value": "Optimize readability of expected value\n\n[skip ci]\n"
},
{
"from": "human",
"value": "package test.integration;\n\nimport static org.junit.jupiter.api.Assertions.assertEquals;\n\nimport com.github.sormuras.bach.Project;\nimport com.github.sormuras.bach.project.Java... | java | chosen |
[
{
"from": "system",
"value": "Add test for handling input (not working)\n"
},
{
"from": "human",
"value": "package com.twu.biblioteca;\n\nimport org.junit.After;\nimport org.junit.Before;\nimport org.junit.Test;\n\nimport java.io.ByteArrayOutputStream;\nimport java.io.PrintStream;\n\nimport stat... | java | chosen |
[
{
"from": "system",
"value": "Allow multiple callbacks in the VSyncProvider\n\nIt's possible for multiple calls to AwaitVSync to be pending while reloading\nan application. The Animator may get an AwaitVSync, a Reset, and then another\nAwaitVSync before the first vsync completes.\n\nIf this happens, invoke... | java | chosen |
[
{
"from": "system",
"value": "Add test cases for problem 400\n"
},
{
"from": "human",
"value": "package leetcode;\n\n/**\n * https://leetcode.com/problems/nth-digit/\n */\npublic class Problem400 {\n public int findNthDigit(int n) {\n // TODO\n return 0;\n }\n\n public sta... | java | chosen |
[
{
"from": "system",
"value": "Revert \"MacOSX - Suppress EDT exception in NoInputEventQueue.drain()\"\n\nThis reverts commit 98807717fd5f0153ad1ce918236ea7ab8ad5be40.\n"
},
{
"from": "human",
"value": "/* Copyright (C) 2005-2011 Fabio Riccardi */\n\npackage com.lightcrafts.utils.awt;\n\nimport j... | java | chosen |
[
{
"from": "system",
"value": "Make sure we never construct a far ref for a far ref\n\nSigned-off-by: Stefan Marr <46f1a0bd5592a2f9244ca321b129902a06b53e03@stefan-marr.de>\n"
},
{
"from": "human",
"value": "package som.interpreter.actors;\n\nimport som.vmobjects.SAbstractObject;\nimport som.vmobj... | java | chosen |
[
{
"from": "system",
"value": "Remove test that calls api\n"
},
{
"from": "human",
"value": "import com.google.sps.data.Book;\nimport com.google.sps.data.BookServiceClient;\nimport java.text.ParseException;\nimport java.lang.IllegalAccessException;\nimport java.lang.NullPointerException;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Remove unnecessary check in distinct operator\n"
},
{
"from": "human",
"value": "package com.annimon.stream.operator;\n\nimport com.annimon.stream.iterator.LsaExtIterator;\nimport java.util.HashSet;\nimport java.util.Iterator;\nimport java.util.Set;\n\npublic class ... | java | chosen |
[
{
"from": "system",
"value": "Make data entity abstract so it should be extended and not instantiated\n"
},
{
"from": "human",
"value": "package com.ushahidi.android.data.entity;\n\nimport com.google.gson.annotations.SerializedName;\n\n/**\n * @author Ushahidi Team <team@ushahidi.com>\n */\npubl... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Revert \"intellij commit 2\"\"\n\nThis reverts commit 16287ec36062d06641140d0dda1fa4c337ff9953.\n"
},
{
"from": "human",
"value": "package Test;\n\n/**\n * Created by Lukas on 16.10.2017.\n */\n\nimport org.junit.Test;\n\nimport static org.junit.Assert.asse... | java | chosen |
[
{
"from": "system",
"value": "Make Biblioteca methods non static\n"
},
{
"from": "human",
"value": "package com.twu.biblioteca;\n\nimport com.twu.biblioteca.menu.MainMenu;\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Biblioteca... | java | chosen |
[
{
"from": "system",
"value": "Put GameBoardView and EntityView in the same layout\n"
},
{
"from": "human",
"value": "package com.dev.pygmy;\n\nimport android.app.Activity;\nimport android.os.Bundle;\n\npublic class GameBoardInterfaceActivity extends Activity {\n\n @Override\n public void o... | java | chosen |
[
{
"from": "system",
"value": "Allow new GitHub token format\n\nGitHub rolled out a new OAuth token format, see\nhttps://github.blog/2021-04-05-behind-githubs-new-authentication-token-formats/\n\nThis commit updates the configuration properties validation to allow it.\n"
},
{
"from": "human",
"va... | java | chosen |
[
{
"from": "system",
"value": "Switch tests back to tinkerpop graph api\n"
},
{
"from": "human",
"value": "package com.gentics.mesh.test;\n\nimport javax.annotation.PostConstruct;\n\nimport org.elasticsearch.node.Node;\nimport org.springframework.context.annotation.Bean;\nimport org.springframewo... | java | chosen |
[
{
"from": "system",
"value": "Add AI team (only found in cdragon atm)\n"
},
{
"from": "human",
"value": "package no.stelar7.api.l4j8.basic.constants.types;\n\nimport java.util.*;\nimport java.util.stream.*;\n\npublic enum TeamType implements CodedEnum\n{\n \n BLUE(100),\n RED(200);\n ... | java | chosen |
[
{
"from": "system",
"value": "Adjust logging level while removing Backups module\n"
},
{
"from": "human",
"value": "package monoxide.forgebackup.coremod.asm;\n\nimport java.util.Map;\n\nimport monoxide.forgebackup.BackupLog;\n\nimport org.objectweb.asm.Opcodes;\nimport org.objectweb.asm.tree.Cla... | java | chosen |
[
{
"from": "system",
"value": "Fix another issue with signs\n"
},
{
"from": "human",
"value": "package tk.martijn_heil.kingdomessentials.signs;\n\n\nimport com.google.common.base.Preconditions;\nimport org.bukkit.ChatColor;\nimport org.bukkit.block.Sign;\nimport org.jetbrains.annotations.Contract... | java | chosen |
[
{
"from": "system",
"value": "Initialize Parser with aliases at startup\n"
},
{
"from": "human",
"value": "package jfdi.logic;\n\nimport jfdi.logic.commands.InvalidCommand;\nimport jfdi.logic.interfaces.Command;\nimport jfdi.logic.interfaces.ILogic;\nimport jfdi.parser.InputParser;\nimport jfdi.... | java | chosen |
[
{
"from": "system",
"value": "Enable chrome://inspect on debug builds\n"
},
{
"from": "human",
"value": "package net.elprespufferfish.rssreader;\n\nimport android.app.Application;\nimport android.os.StrictMode;\n\npublic class RssReaderApplication extends Application {\n\n @Override\n publ... | java | chosen |
[
{
"from": "system",
"value": "Add a few asserts to the test"
},
{
"from": "human",
"value": "package org.xbean.jmx;\r\n\r\nimport junit.framework.TestCase;\r\nimport org.xbean.spring.context.ClassPathXmlApplicationContext;\r\n\r\n/**\r\n * $Rev$\r\n */\r\npublic class JMXTest extends TestCase {\... | java | chosen |
[
{
"from": "system",
"value": "Implement the getTagFolder in the common block tags provider"
},
{
"from": "human",
"value": "package info.u_team.u_team_core.data;\n\nimport java.nio.file.Path;\n\nimport net.minecraft.block.Block;\nimport net.minecraft.util.ResourceLocation;\nimport net.minecraft.... | java | chosen |
[
{
"from": "system",
"value": "Change main method by generate.\n"
},
{
"from": "human",
"value": "package foundation.stack.datamill.security;\n\nimport org.jose4j.jwk.*;\nimport org.jose4j.keys.HmacKey;\nimport org.jose4j.lang.ByteUtil;\n\n/**\n * @author Ravi Chodavarapu (rchodava@gmail.com)\n *... | java | chosen |
[
{
"from": "system",
"value": "IMplement hashCode to eliminate warning\n"
},
{
"from": "human",
"value": "package arez.dom;\n\n/**\n * A class containing width and height dimensions.\n */\npublic final class Dimension\n{\n private final int _width;\n private final int _height;\n\n /**\n * Cr... | java | chosen |
[
{
"from": "system",
"value": "Add active locale to provider\n"
},
{
"from": "human",
"value": "package co.phoenixlab.common.localization;\n\npublic interface LocaleStringProvider {\n\n String get(String key);\n\n boolean contains(String key);\n\n}\n"
},
{
"from": "gpt",
"value"... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Updated code to work with Java 6\"\n\nThis reverts commit 7afc702b1c9e19ab7a8b13e5aee106a8eceb05f5.\n"
},
{
"from": "human",
"value": "package com.github.jmchilton.blend4j.galaxy;\n\nimport com.github.jmchilton.blend4j.galaxy.beans.TabularToolDataTable;\nim... | java | chosen |
[
{
"from": "system",
"value": "Use log to show messages, not System out.\n"
},
{
"from": "human",
"value": "package org.dummy.load;\n\n/**\n * Created by baardl on 26.07.15.\n */\npublic class LoadThread implements Runnable {\n\n private final int sleepMillis;\n\n public LoadThread(int slee... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Added more event delays\"\n\nThis reverts commit c412d692d2ca2e06935bc9d15ece27012c47ac06.\n"
},
{
"from": "human",
"value": "package guitests;\n\nimport javafx.scene.input.KeyCode;\nimport org.junit.Test;\nimport ui.listpanel.ListPanelCell;\n\nimport stati... | java | chosen |
[
{
"from": "system",
"value": "Fix avatar url encoding (whitespace was encoded with + rather than %20)\n"
},
{
"from": "human",
"value": "package com.faforever.api.data.listeners;\n\nimport com.faforever.api.config.FafApiProperties;\nimport com.faforever.api.data.domain.Avatar;\nimport org.spring... | java | chosen |
[
{
"from": "system",
"value": "Set default name of Survival Command Block to Server\n"
},
{
"from": "human",
"value": "package com.choonster.testmod3.command;\n\nimport net.minecraft.command.server.CommandBlockLogic;\nimport net.minecraftforge.fml.relauncher.Side;\nimport net.minecraftforge.fml.r... | java | chosen |
[
{
"from": "system",
"value": "Modify to check weather duration\n"
},
{
"from": "human",
"value": "package com.kolinkrewinkel.BitLimitTweaks;\n\nimport org.bukkit.plugin.Plugin;\nimport java.util.*;\n\nimport org.bukkit.event.*;\nimport org.bukkit.*;\nimport org.bukkit.entity.*;\nimport org.bukki... | java | chosen |
[
{
"from": "system",
"value": "Add a comment for the slow learners like me.\n"
},
{
"from": "human",
"value": "/* $This file is distributed under the terms of the license in /doc/license.txt$ */\n\npackage edu.cornell.mannlib.vitro.webapp.servlet.setup;\n\nimport javax.servlet.ServletContext;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Fix mapper to convert json to formula options. fixes the custom formula to be selected on rnr template.\n"
},
{
"from": "human",
"value": "/*\n * This program was produced for the U.S. Agency for International Development. It was prepared by the USAID | DELIVER PROJ... | java | chosen |
[
{
"from": "system",
"value": "Fix no run_run icon in old pycharm version.\n"
},
{
"from": "human",
"value": "package com.iselsoft.ptest.runLineMarker;\n\nimport com.intellij.execution.lineMarker.RunLineMarkerContributor;\nimport com.intellij.icons.AllIcons;\nimport com.intellij.psi.PsiElement;\n... | java | chosen |
[
{
"from": "system",
"value": "Remove MFQ from search object\n"
},
{
"from": "human",
"value": "package org.pdxfinder.services.search;\n\nimport org.pdxfinder.services.ds.ModelForQuery;\n\nimport java.util.HashSet;\nimport java.util.Set;\n\n/*\n * Created by csaba on 20/11/2018.\n */\npublic clas... | java | chosen |
[
{
"from": "system",
"value": "Revert @Transactional annotation on findById(). The hint @Type(type = \"org.hibernate.type.TextType\") eliminates need for transactions on postgres when dealing with TEXT columns.\n"
},
{
"from": "human",
"value": "/*\n *\n * Licensed under the Apache License, Ve... | java | chosen |
[
{
"from": "system",
"value": "Stop using RoboExecutorService for background threads\n"
},
{
"from": "human",
"value": "package com.auth0.android.request.internal;\n\nimport org.robolectric.android.util.concurrent.RoboExecutorService;\nimport org.robolectric.annotation.Implementation;\nimport org... | java | chosen |
[
{
"from": "system",
"value": "Fix compile error after rebase\n"
},
{
"from": "human",
"value": "package org.ovirt.mobile.movirt.ui.dashboard;\n\nimport android.os.Handler;\nimport android.util.Log;\nimport android.view.WindowManager;\nimport android.widget.ProgressBar;\nimport org.androidannotat... | java | chosen |
[
{
"from": "system",
"value": "[jps-cache] Add notification if automatic project build property enabled\n\nIf the automatic project build property enabled it affects portable caches. Add notification for disabling it\n\nGitOrigin-RevId: 54bd0e1aa68675e7fee3169930c8ba28d109d7a6"
},
{
"from": "human",
... | java | chosen |
[
{
"from": "system",
"value": "Remove expected file override in test\n"
},
{
"from": "human",
"value": "package com.box.l10n.mojito.cli.command;\n\nimport com.box.l10n.mojito.cli.CLITestBase;\nimport org.junit.Test;\n\npublic class SimpleFileEditorCommandTest extends CLITestBase {\n\n @Test\n ... | java | chosen |
[
{
"from": "system",
"value": "Add iOS specific check for NFC capabilities.\n"
},
{
"from": "human",
"value": "/****************************************************************************\n * Copyright (C) 2019 ecsec GmbH.\n * All rights reserved.\n * Contact: ecsec GmbH (info@ecsec.de)\n *\n * ... | java | chosen |
[
{
"from": "system",
"value": "Set a mode instead of prining it\n"
},
{
"from": "human",
"value": "package se.soy.gpg;\n\nimport java.util.List;\nimport java.util.ArrayList;\n\npublic class GPG {\n // FIXME Remove when done\n static<T> void println(T arg) { System.out.println(arg); }\n\n publi... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.