conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Increase energy pickup amount in line with total energy\n"
},
{
"from": "human",
"value": "package com.ezardlabs.lostsector.objects.pickups;\n\nimport com.ezardlabs.dethsquare.Collider;\nimport com.ezardlabs.dethsquare.multiplayer.Network;\nimport com.ezardlabs.lost... | java | chosen |
[
{
"from": "system",
"value": "Change SUT URL in Docker Safari test (due to DST Root CA X3 Expiration)\n"
},
{
"from": "human",
"value": "/*\n * (C) Copyright 2021 Boni Garcia (https://bonigarcia.github.io/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not... | java | chosen |
[
{
"from": "system",
"value": "Add dummy connection api type"
},
{
"from": "human",
"value": "package org.apache.cassandra.stress.settings;\n/*\n * \n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with... | java | chosen |
[
{
"from": "system",
"value": "Fix a crash when a null Prefab field gets synchronized.\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 Licens... | java | chosen |
[
{
"from": "system",
"value": "Update job task 6.1 lesson 1\n"
},
{
"from": "human",
"value": "package ru.spoddubnyak;\n\npublic class CheckString {\n public String sub;\n public String origin;\n\n public CheckString(String origin, String sub) {\n this.sub = sub;\n this.or... | java | chosen |
[
{
"from": "system",
"value": "Use the first HarvestCraft crop's texture in its iconArray (asparagus) as the crops block's blockIcon\n"
},
{
"from": "human",
"value": "package squeek.harvestcraftwaila.fixers;\n\nimport net.minecraft.block.Block;\nimport net.minecraft.util.Icon;\nimport net.minecr... | java | chosen |
[
{
"from": "system",
"value": "Disable resize. Change launcher window name\n"
},
{
"from": "human",
"value": "package com.bitdecay.jump.leveleditor;\n\nimport com.badlogic.gdx.backends.lwjgl.LwjglApplication;\nimport com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;\n\npublic class L... | java | chosen |
[
{
"from": "system",
"value": "Add import statement for v14."
},
{
"from": "human",
"value": "package com.algar.ifuckforwind.fragment;\n\nimport android.os.Bundle;\nimport android.support.annotation.Nullable;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.Vie... | java | chosen |
[
{
"from": "system",
"value": "Add uv.mail validation with email and notempty\n"
},
{
"from": "human",
"value": "package org.synyx.urlaubsverwaltung.mail.config;\n\nimport org.springframework.boot.context.properties.ConfigurationProperties;\nimport org.springframework.validation.annotation.Valida... | java | chosen |
[
{
"from": "system",
"value": "Remove comment from package change\n"
},
{
"from": "human",
"value": "package com.ejpm.euler.math.prime;\n\nimport com.ejpm.euler.math.prime.PrimeNumber;\nimport java.util.Arrays;\nimport java.util.Collection;\nimport static org.hamcrest.core.Is.is;\nimport static o... | java | chosen |
[
{
"from": "system",
"value": "Make the project actually compile under Java 7\n"
},
{
"from": "human",
"value": "package com.proxerme.library;\n\nimport com.proxerme.library.api.ProxerApi;\nimport okhttp3.HttpUrl;\nimport okhttp3.OkHttpClient;\nimport okhttp3.mockwebserver.MockWebServer;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Sort beans names in stream\n"
},
{
"from": "human",
"value": "package com.mpalourdio.hello;\n\nimport app.config.WebSecurityConfig;\nimport org.springframework.boot.SpringApplication;\nimport org.springframework.boot.autoconfigure.SpringBootApplication;\nimport org.... | java | chosen |
[
{
"from": "system",
"value": "Fix for create membership issue when used in TaskListener::notify()\n"
},
{
"from": "human",
"value": "/* 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": "Use logger to record exception instead of printStackTrace.\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.common.loader;\n\nimport java.io.*;\nimport java.util.zip.GZIPOutputStream;\n\n/**\n * To test the GZIPFiles class, create a gzip'd file with know... | java | chosen |
[
{
"from": "system",
"value": "Fix contract of block item provider by memoize the supplier for the\nblock item."
},
{
"from": "human",
"value": "package info.u_team.u_team_core.block;\n\nimport java.util.function.Supplier;\n\nimport info.u_team.u_team_core.api.block.BlockItemProvider;\nimport net... | java | chosen |
[
{
"from": "system",
"value": "Change assemblyDir type from File to String since it needs to travel across the ether\n\n\ngit-svn-id: bf08415a33f9c0f05ac2b054c631df0aaa894ee0@245 f54485bd-ff3a-0410-97a1-83db373c2bce\n"
},
{
"from": "human",
"value": "/**\n * Copyright (c) 2005-2007 Intalio inc.\n... | java | chosen |
[
{
"from": "system",
"value": "Make sure junit velocity templates fail-fast on missing references.\n\nPiperOrigin-RevId: 296119525\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n * use thi... | java | chosen |
[
{
"from": "system",
"value": "Replace anonymous type with lambda\n"
},
{
"from": "human",
"value": "package com.smartcodeltd.jenkinsci.plugins.buildmonitor.viewmodel.features;\n\nimport com.smartcodeltd.jenkinsci.plugins.buildmonitor.viewmodel.JobView;\nimport com.smartcodeltd.jenkinsci.plugins.... | java | chosen |
[
{
"from": "system",
"value": "Revert \"OLMIS-3533: Added javadoc for Reason type priority field\"\n\nThis reverts commit e5ccc08d57d538b6d6a4c6a8fd099f50e3a769af.\n"
},
{
"from": "human",
"value": "/*\n * This program is part of the OpenLMIS logistics management information system platform softw... | java | chosen |
[
{
"from": "system",
"value": "Paste will now override selected text."
},
{
"from": "human",
"value": "/*\r\n * The command to paste text from the clip tray.\r\n */\r\npackage htmleditor.commands;\r\n\r\nimport htmleditor.HTMLEditor;\r\nimport javafx.event.Event;\r\n\r\n/**\r\n * @author aac6012\... | java | chosen |
[
{
"from": "system",
"value": "[test] Remove legacy tomcat support from test\n\nThis made no real sense as a test case.\n"
},
{
"from": "human",
"value": "/**\n * Waffle (https://github.com/Waffle/waffle)\n *\n * Copyright (c) 2010-2018 Application Security, Inc.\n *\n * All rights reserved. This... | java | chosen |
[
{
"from": "system",
"value": "Add comment about setting unfriendly_mode.\n"
},
{
"from": "human",
"value": "package uk.ac.cam.gpe21.droidssl.analysis;\n\nimport soot.PackManager;\nimport soot.Transform;\nimport soot.options.Options;\n\nimport java.util.Arrays;\n\npublic final class StaticAnalyse... | java | chosen |
[
{
"from": "system",
"value": "Use Activity as base class\n"
},
{
"from": "human",
"value": "package de.christianscheb.partyprojector.app;\n\nimport android.os.Bundle;\nimport android.preference.PreferenceActivity;\nimport de.christianscheb.partyprojector.app.preferences.AppPreferences;\n\npublic... | java | chosen |
[
{
"from": "system",
"value": "Stop the neural alertness service when the app is closed\n"
},
{
"from": "human",
"value": "package com.spaceout;\n\nimport android.app.Activity;\n\nimport android.content.Intent;\n\nimport android.os.Bundle;\n\nimport android.view.View;\n\npublic class MainActivity... | java | chosen |
[
{
"from": "system",
"value": "Fix a wrong config in sample application.\n"
},
{
"from": "human",
"value": "package org.mym.prettylog;\n\nimport android.app.Application;\n\nimport org.mym.plog.PLog;\nimport org.mym.plog.config.PLogConfig;\n\n/**\n * <p>\n * This class shows how to init PLog Libra... | java | chosen |
[
{
"from": "system",
"value": "Fix isEmpty bug for non string properties\n"
},
{
"from": "human",
"value": "package mil.nga.giat.mage.sdk.datastore.observation;\n\nimport com.j256.ormlite.field.DatabaseField;\nimport com.j256.ormlite.table.DatabaseTable;\n\nimport org.apache.commons.lang3.StringU... | java | chosen |
[
{
"from": "system",
"value": "Add ability to get SHA256 on bytes\n"
},
{
"from": "human",
"value": "/*\n * matrix-java-sdk - Matrix Client SDK for Java\n * Copyright (C) 2017 Maxime Dor\n *\n * https://max.kamax.io/\n *\n * This program is free software: you can redistribute it and/or modify\n *... | java | chosen |
[
{
"from": "system",
"value": "Exclude null defaultValues from /config/context.\n"
},
{
"from": "human",
"value": "package com.indeed.proctor.service.config;\n\n/**\n * Context variable configuration, which also requires type conversion.\n */\npublic class JsonContextVarConfig extends JsonVarConf... | java | chosen |
[
{
"from": "system",
"value": "Add utility to spy events\n"
},
{
"from": "human",
"value": "package org.realityforge.arez.gwt.examples;\n\nimport elemental2.dom.DomGlobal;\nimport javax.annotation.Nonnull;\nimport org.realityforge.arez.Arez;\nimport org.realityforge.arez.ArezContext;\nimport org.... | java | chosen |
[
{
"from": "system",
"value": "Remove @Remote and @Local off of the content interface to allow the\nsession bean definition in the target system to specify."
},
{
"from": "human",
"value": "package org.skyve.impl.content.ejb;\n\nimport javax.ejb.Local;\nimport javax.ejb.Remote;\n\nimport org.skyv... | java | chosen |
[
{
"from": "system",
"value": "Change parent class to more specific LSBDiskFPSet because\ntests require LSBFlusher logic "
},
{
"from": "human",
"value": "// Copyright (c) 2011 Microsoft Corporation. All rights reserved.\npackage tlc2.tool.fp;\n\nimport java.rmi.RemoteException;\n\n/**\n * The s... | java | chosen |
[
{
"from": "system",
"value": "Add option to specify maximum character to list in the table;\ndefault maximum to 255 instead of 127.\n\n"
},
{
"from": "human",
"value": "//\n// Ascii.java\n//\n\n/** Outputs the readable ASCII table from 32 to 127. */\npublic class Ascii {\n\n public static void ... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Remove static when using @RegisterExtension\"\n\nThis reverts commit b7f7cf7efe5f941f2702181a603147b00c5a7337.\n"
},
{
"from": "human",
"value": "/*\r\n * (C) Copyright 2017 Boni Garcia (http://bonigarcia.github.io/)\r\n *\r\n * Licensed under the Apache Li... | java | chosen |
[
{
"from": "system",
"value": "Load preferences before checking them\n"
},
{
"from": "human",
"value": "package org.metawatch.manager;\n\nimport org.metawatch.manager.MetaWatchService.Preferences;\n\nimport android.content.BroadcastReceiver;\nimport android.content.Context;\nimport android.conten... | java | chosen |
[
{
"from": "system",
"value": "Add failing test to check if workflow is working"
},
{
"from": "human",
"value": "package com.github.paweladamski.httpclientmock;\n\nimport static com.github.paweladamski.httpclientmock.matchers.HttpResponseMatchers.hasStatus;\nimport static org.hamcrest.MatcherAsse... | java | chosen |
[
{
"from": "system",
"value": "[NGRINDER-710] Set ignore the starter test\n"
},
{
"from": "human",
"value": "package org.ngrinder;\n\n\nimport org.junit.Test;\n\npublic class NGrinderControllerStarterTest {\n\t@Test\n\tpublic void test1() throws Exception {\n\n\t\tNGrinderControllerStarter.main(n... | java | chosen |
[
{
"from": "system",
"value": "Put solution for problem 315\n"
},
{
"from": "human",
"value": "package leetcode;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\n/**\n * https://leetcode.com/problems/count-of-smaller-numbers-after-self/\n */\npublic class Problem315 {\n public List<In... | java | chosen |
[
{
"from": "system",
"value": "Write simple job with adding unit domain\n"
},
{
"from": "human",
"value": "package com.github.solairerove.woodstock.job;\n\nimport org.springframework.boot.CommandLineRunner;\nimport org.springframework.stereotype.Component;\n\n@Component\npublic class MyBean imple... | java | chosen |
[
{
"from": "system",
"value": "Add support for lenient reading where reading too much is full of zeros.\n"
},
{
"from": "human",
"value": "package net.openhft.chronicle.bytes;\n\nimport org.junit.Test;\n\nimport java.math.BigDecimal;\nimport java.math.BigInteger;\nimport java.nio.ByteBuffer;\n\ni... | java | chosen |
[
{
"from": "system",
"value": "Improve display of faction tags\n"
},
{
"from": "human",
"value": "package io.github.aquerr.eaglefactions.listeners;\n\nimport io.github.aquerr.eaglefactions.logic.FactionLogic;\nimport org.spongepowered.api.entity.living.player.Player;\nimport org.spongepowered.api... | java | chosen |
[
{
"from": "system",
"value": "Add session ack mode property to info."
},
{
"from": "human",
"value": "/**\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information rega... | java | chosen |
[
{
"from": "system",
"value": "Create RGBWindow when app starts\n"
},
{
"from": "human",
"value": "package main;\n\n/**\n * Created by nick on 10/22/15.\n */\npublic class Main {\n\n public static void main(String[] args){\n\n }\n}\n"
},
{
"from": "gpt",
"value": "package main;\... | java | chosen |
[
{
"from": "system",
"value": "Change particle type ids for list and map.\n"
},
{
"from": "human",
"value": "/*\n * Aerospike Client - Java Library\n *\n * Copyright 2012 by Aerospike, Inc. All rights reserved.\n *\n * Availability of this source code to partners and customers includes\n * redist... | java | chosen |
[
{
"from": "system",
"value": "Fix link to xj component documentation\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information reg... | java | chosen |
[
{
"from": "system",
"value": "Change title to Base maps\n"
},
{
"from": "human",
"value": "package mil.nga.mapcache.preferences;\n\nimport android.os.Bundle;\nimport android.view.MenuItem;\n\nimport androidx.appcompat.app.AppCompatActivity;\n\nimport mil.nga.mapcache.R;\n\npublic class BasemapSe... | java | chosen |
[
{
"from": "system",
"value": "Fix 'u' to jump to user's preferred change screen\n\nHonor the user preference and jump to the preferred screen type\nwhen going up from an old style PatchScreen. The old style is\nstill used for unified diffs of binary files.\n\nChange-Id: I92c4f95ef4a0e5e9de5196f614af62474ef9... | java | chosen |
[
{
"from": "system",
"value": "Use serverInit or globalInit where possible.\n\n--\nMOS_MIGRATED_REVID=126813515\n"
},
{
"from": "human",
"value": "// Copyright 2014 The Bazel Authors. All rights reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not us... | java | chosen |
[
{
"from": "system",
"value": "Add RPC mechanism and a basic protocol for node communication\n"
},
{
"from": "human",
"value": "package net.floodlightcontroller.core.module;\n\npublic class FloodlightModuleException extends Exception {\n\tprivate static final long serialVersionUID = 1L;\n\n\tpubl... | java | chosen |
[
{
"from": "system",
"value": "Change the Date format to String"
},
{
"from": "human",
"value": "package com.ice.av.sample.entity;\r\n\r\nimport java.util.Date;\r\n\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\n\r\npublic class Info {\r\n\t\r\n @SuppressWarnings(\"unused\")... | java | chosen |
[
{
"from": "system",
"value": "Update the controller to reflect the 1.0.M1 API version.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 Open mHealth\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the Licen... | java | chosen |
[
{
"from": "system",
"value": "Update the model to include the suspect\n"
},
{
"from": "human",
"value": "package com.bignerdranch.android.criminalintent;\n\nimport java.util.Date;\nimport java.util.UUID;\n\npublic class Crime {\n private UUID mId;\n private String mTitle;\n private Date... | java | chosen |
[
{
"from": "system",
"value": "Use an exception without @ResponseStatus\n"
},
{
"from": "human",
"value": "/*\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\n * FOR A PARTICULAR ... | java | chosen |
[
{
"from": "system",
"value": "Refactor AddGradeController to work with two factor authentification\n\n"
},
{
"from": "human",
"value": "package at.ac.tuwien.inso.controller.lecturer;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.stereotype.Controll... | java | chosen |
[
{
"from": "system",
"value": "Comment out the byte code reflection"
},
{
"from": "human",
"value": "package org.simpleframework.xml.core;\n\nimport junit.framework.TestCase;\n\nimport org.simpleframework.xml.Attribute;\nimport org.simpleframework.xml.Element;\nimport org.simpleframework.xml.Root... | java | chosen |
[
{
"from": "system",
"value": "Add a HA_ERR_UNSUPPORTED error to return if functionality isn't supported, rather than the generic UNSUPPORTED. "
},
{
"from": "human",
"value": "package com.akiban.cserver;\n\n/**\n * Constants derived from MySQL include/my_base.h\n * Add new MySQL error codes here... | java | chosen |
[
{
"from": "system",
"value": "Add .owl extension for rdf conversion\n"
},
{
"from": "human",
"value": "package de.linkvt.bachelor.config;\n\nimport de.linkvt.bachelor.web.converter.OntologyHttpMessageConverter;\nimport de.linkvt.bachelor.web.converter.RdfXmlOntologyHttpMessageConverter;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Change the way gradle detects if task is needed to run\n"
},
{
"from": "human",
"value": "package org.graphwalker.gradle.plugin.task;\n\nimport org.gradle.api.Task;\nimport org.gradle.api.specs.Spec;\nimport org.gradle.api.tasks.TaskAction;\n\nimport java.io.File;\n... | java | chosen |
[
{
"from": "system",
"value": "Fix issue that 不动 is not functioning to 反射装甲 when silenced"
},
{
"from": "human",
"value": "package cfvbaibai.cardfantasy.engine.skill;\r\n\r\nimport cfvbaibai.cardfantasy.GameUI;\r\nimport cfvbaibai.cardfantasy.data.Skill;\r\nimport cfvbaibai.cardfantasy.data.Skill... | java | chosen |
[
{
"from": "system",
"value": "Test on winning point for Nadal\n"
},
{
"from": "human",
"value": "import org.junit.Before;\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.mockito.InjectMocks;\nimport org.mockito.Mock;\nimport org.mockito.junit.MockitoJUnitRunner;\n\nimport s... | java | chosen |
[
{
"from": "system",
"value": "Add commentary to the constants class\n"
},
{
"from": "human",
"value": "package com.jlgm.mmdr.lib;\n\npublic class MMDRConstants {\n\tpublic static final String MODID = \"jlgm_MMDR\";\n\tpublic static final String NAME = \"Minecraft Modding Done Right\";\n\tpublic ... | java | chosen |
[
{
"from": "system",
"value": "Fix link not opening browser (about)\n"
},
{
"from": "human",
"value": "package net.somethingdreadful.MAL;\n\nimport android.os.Bundle;\nimport android.text.method.LinkMovementMethod;\nimport android.widget.TextView;\nimport com.actionbarsherlock.app.ActionBar;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Fix players unable to claim chunks\n"
},
{
"from": "human",
"value": "package com.cjburkey.claimchunk.service.prereq.claim;\n\nimport com.cjburkey.claimchunk.Config;\nimport com.cjburkey.claimchunk.Utils;\nimport com.cjburkey.claimchunk.worldguard.WorldGuardHandler;... | java | chosen |
[
{
"from": "system",
"value": "Add documentation to controller methods.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016, Frederik Boster\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": "[Try] Add error in test catalogue\n"
},
{
"from": "human",
"value": "package fr.unice.polytech.isa.tcf;\n\nimport arquillian.AbstractTCFTest;\nimport fr.unice.polytech.isa.tcf.entities.Cookies;\nimport org.jboss.arquillian.junit.Arquillian;\nimport org.junit.Test;\n... | java | chosen |
[
{
"from": "system",
"value": "Use the stops list in the toast result\n"
},
{
"from": "human",
"value": "package es.craftsmanship.toledo.katangapp.activities;\n\nimport android.content.Intent;\n\nimport android.support.v7.app.AppCompatActivity;\n\nimport android.os.Bundle;\n\nimport android.widge... | java | chosen |
[
{
"from": "system",
"value": "Mark method arguments as final.\n\n\nThis used to be revision r2235.\n"
},
{
"from": "human",
"value": "package imagej.plugin.gui.swing;\n\nimport imagej.plugin.Plugin;\nimport imagej.plugin.PluginModule;\nimport imagej.plugin.gui.AbstractInputHarvester;\nimport ima... | java | chosen |
[
{
"from": "system",
"value": "Add name property to dummy dbms\n"
},
{
"from": "human",
"value": "/*\n *\n * Copyright (c) 2006-2020, Speedment, Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); You may not\n * use this file except in compliance w... | java | chosen |
[
{
"from": "system",
"value": "CAMEL-12430: Disable camel-consul test on karaf as it does not work\n"
},
{
"from": "human",
"value": "/**\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work ... | java | chosen |
[
{
"from": "system",
"value": "Reduce unit test run time with ~10 seconds\n"
},
{
"from": "human",
"value": "// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.vespa.config.proxy;\n\nimport org.junit.Test;\n\nimport... | java | chosen |
[
{
"from": "system",
"value": "Convert to base 64 using standard library\n"
},
{
"from": "human",
"value": "// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.container.handler;\n\nimport org.json.JSONException... | java | chosen |
[
{
"from": "system",
"value": "Use ValidationException for destination_files error\n\nThrow VE when an unexpected file appears in the destination that is\nnot matched by the destination_files glob.\n\nThis is always a user error so we shouldn't use RepoException for\nthis.\n\nChange-Id: I7d233a2729d91be92984... | java | chosen |
[
{
"from": "system",
"value": "Fix JEI integration not working\n"
},
{
"from": "human",
"value": "package com.raoulvdberge.refinedstorage.integration.jei;\n\nimport net.minecraftforge.fml.common.Loader;\n\npublic final class IntegrationJEI {\n public static boolean isLoaded() {\n return... | java | chosen |
[
{
"from": "system",
"value": "Add a title to ERED"
},
{
"from": "human",
"value": "package mathsquared.resultswizard2;\n\nimport javax.swing.JDialog;\n\n/**\n * Runs the GUI by which an event administrator can input or edit {@link EventResults}.\n * \n * @author MathSquared\n * \n */\npublic cla... | java | chosen |
[
{
"from": "system",
"value": "Set sdk version to that in manifest"
},
{
"from": "human",
"value": "package fr.neamar.kiss;\n\nimport fr.neamar.kiss.BuildConfig;\n\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.robolectric.Robolectric;\nimport org.robolectric.RobolectricGra... | java | chosen |
[
{
"from": "system",
"value": "Use ma.owl with MA test, not mp file.\n"
},
{
"from": "human",
"value": "package org.mousephenotype.cda.loads.cdaloader;\n\nimport org.junit.Assert;\nimport org.junit.Before;\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.mousephenotype.cda.db... | java | chosen |
[
{
"from": "system",
"value": "Add defaults for cache control start and end times.\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.ontology;\n\nimport org.springframework.boot.context.properties.ConfigurationProperties;\nimport org.springframework.stereotype.Component;\n\nimport java... | java | chosen |
[
{
"from": "system",
"value": "Fix build steps setting the build status to an incorrect value\n"
},
{
"from": "human",
"value": "package org.jenkinsci.plugins.ansible;\n\nimport java.io.IOException;\nimport java.util.Map;\n\nimport hudson.Launcher;\nimport hudson.model.AbstractBuild;\nimport huds... | java | chosen |
[
{
"from": "system",
"value": "Return interface instead of abstract impl\n"
},
{
"from": "human",
"value": "package org.numenta.nupic.util;\n\n/**\n * Generates a range of integers while exhibiting the specific behaviors\n * of a Python generator.\n * \n * @author cogmission\n * @see AbstractGene... | java | chosen |
[
{
"from": "system",
"value": "Add more ExistOutputKeys (stylesheet and stylesheetparam)\n\nsvn path=/trunk/eXist-1.0/; revision=146\n"
},
{
"from": "human",
"value": "/*\n * eXist Open Source Native XML Database\n * Copyright (C) 2001-03 Wolfgang M. Meier\n * wolfgang@exist-db.org\n * http:/... | java | chosen |
[
{
"from": "system",
"value": "[PLAT-4419] Support adjustment of multiple fields\n"
},
{
"from": "human",
"value": "/**\n * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies\n *\n * Please see distribution for license.\n */\npackage com.opengamma.livedata.normali... | java | chosen |
[
{
"from": "system",
"value": "Check that cassandra nodes expose TMS\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the BSD-3 License (the \"License\");\n * you may not use this file except in compliance with the Li... | java | chosen |
[
{
"from": "system",
"value": "Add todo in jei plugin"
},
{
"from": "human",
"value": "package info.u_team.u_team_core.integration.jei;\n\n//import java.util.List;\n//import java.util.stream.Collectors;\n//\n//import info.u_team.u_team_core.UCoreMod;\n//import info.u_team.u_team_core.api.dye.IDye... | java | chosen |
[
{
"from": "system",
"value": "Add exists method to data point repository.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 Open mHealth\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 m... | java | chosen |
[
{
"from": "system",
"value": "Add immediate despawning for out-of-range hostile mobs\n"
},
{
"from": "human",
"value": "package net.glowstone.entity.monster;\n\nimport net.glowstone.entity.GlowCreature;\nimport org.bukkit.Location;\nimport org.bukkit.entity.EntityType;\nimport org.bukkit.entity.... | java | chosen |
[
{
"from": "system",
"value": "Remove reference to legacy sidebyside project.\n"
},
{
"from": "human",
"value": "package org.strategoxt.imp.runtime.services;\n\nimport org.stratego.imp.runtime.services.sidebyside.latest.LatestSidePaneEditorHelper;\nimport org.stratego.imp.runtime.services.sidebys... | java | chosen |
[
{
"from": "system",
"value": "Fix typo in java doc.\n"
},
{
"from": "human",
"value": "/****************************************************************************\n * Copyright (C) 2014 ecsec GmbH.\n * All rights reserved.\n * Contact: ecsec GmbH (info@ecsec.de)\n *\n * This file is part of th... | java | chosen |
[
{
"from": "system",
"value": "Fix wrong package and typo."
},
{
"from": "human",
"value": "\n/**\n * Provides classes for hooking into various events that take place as\n * users log into and use the Guacamole web application. These event\n * hooks can be used to take action upon occurence of an... | java | chosen |
[
{
"from": "system",
"value": "fix(cmds): Fix commands without descriptions causing crash on plugin load\n"
},
{
"from": "human",
"value": "package valandur.webapi.cache;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport org.spongepowered.api.command.CommandMapping;\nimport valandu... | java | chosen |
[
{
"from": "system",
"value": "Fix JSON test data parsing\n"
},
{
"from": "human",
"value": "package org.ethereum.jsontestsuite.builder;\n\nimport org.ethereum.core.Block;\nimport org.ethereum.core.BlockHeader;\nimport org.ethereum.jsontestsuite.Utils;\nimport org.ethereum.jsontestsuite.model.Blo... | java | chosen |
[
{
"from": "system",
"value": "Change path for xquery request\n\nChange-Id: Ia7c54b6a87ba504a124247a82256a84421836e49\n"
},
{
"from": "human",
"value": "package com.formulasearchengine.backend.basex.restd.rest;\n\nimport com.formulasearchengine.backend.basex.Client;\nimport restx.annotations.GET;... | java | chosen |
[
{
"from": "system",
"value": "Disable caching for integration tests temporarily\n\n+review REVIEW-6251\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 the original author or authors.\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 a get method to fetch the current Signal color\n"
},
{
"from": "human",
"value": "package osgi.enroute.trains.controller.api;\n\nimport osgi.enroute.trains.cloud.api.Color;\n\n/**\n * This controller controls a SIGNAL Segment\n */\npublic interface SignalSegment... | java | chosen |
[
{
"from": "system",
"value": "Remove stack trace from missing Essentials warp\n"
},
{
"from": "human",
"value": "package com.elmakers.mine.bukkit.warp;\n\nimport com.earth2me.essentials.Essentials;\nimport com.earth2me.essentials.Warps;\nimport org.bukkit.Location;\nimport org.bukkit.plugin.Plug... | java | chosen |
[
{
"from": "system",
"value": "Fix API usage for API level 10.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 Danny Baumann\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": "Add explicit stop to end of lift command\n"
},
{
"from": "human",
"value": "package edu.stuy.commands.auton;\n\nimport edu.stuy.Robot;\nimport edu.wpi.first.wpilibj.command.Command;\n\n/**\n *\n */\npublic class AutonLiftUpCommand extends Command {\n\n public Aut... | java | chosen |
[
{
"from": "system",
"value": "Remove comment, it’s a lie\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.atlas.bioentity.properties;\n\nimport com.google.gson.JsonObject;\n\n// Used in bioentity-information.jsp\npublic class PropertyLink {\n\n private String text;\n private String url... | java | chosen |
[
{
"from": "system",
"value": "Rename variable \"line\" to \"words\"\n\nDue to the fact that variable name \"letters\" is used instead of \"word\" in the\nWord class, the variable name in the Line class is also changed for\nconsistency.\n"
},
{
"from": "human",
"value": "package com.nigorojr.type... | java | chosen |
[
{
"from": "system",
"value": "Sort for testing. Fix for test failures introduced in r3557.\n"
},
{
"from": "human",
"value": "package edu.northwestern.bioinformatics.studycalendar.dao.reporting;\n\nimport edu.northwestern.bioinformatics.studycalendar.dao.StudyCalendarDao;\nimport gov.nih.nci.ca... | java | chosen |
[
{
"from": "system",
"value": " Update sum error text to be more descriptive"
},
{
"from": "human",
"value": "package org.javarosa.xpath.expr;\n\nimport org.javarosa.core.model.condition.EvaluationContext;\nimport org.javarosa.core.model.instance.DataInstance;\nimport org.javarosa.xpath.XPathNode... | java | chosen |
[
{
"from": "system",
"value": "Test folder prefix separator should only be added to the path if prefix is not empty\n"
},
{
"from": "human",
"value": "package hu.bme.mit.codemodel.rifle.visualization;\n\nimport java.io.File;\n\npublic abstract class TestCase {\n protected static final String b... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.