conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Clarify types of common operations in pdf.\n"
},
{
"from": "human",
"value": "public abstract class Expr {\n\tpublic abstract Expr apply (Expr target, double value);\n\n\tpublic Expr add (Expr that) {\n\t\treturn new AddExpr(this, that);\n\t}\n\n\tpublic Expr mul (E... | java | chosen |
[
{
"from": "system",
"value": "Fix interface definition.\nDisgraceful, Robert.\n"
},
{
"from": "human",
"value": "// Copyright 2017 Purcell Informatics Limited\n//\n// See the LICENCE file distributed with this work for additional\n// information regarding copyright ownership.\n//\n// Licensed un... | java | chosen |
[
{
"from": "system",
"value": "Add methods to work with retrieving bytes from ByteBuffer.\n"
},
{
"from": "human",
"value": "package com.sibilantsolutions.iptools.util;\n\nimport java.nio.ByteOrder;\n\npublic abstract class Convert\n{\n\n private Convert() {} //Prevent instantiation.\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Create set of supported algorithms for timestamp request\n"
},
{
"from": "human",
"value": "package org.cryptonit.cloud.timestamping;\n\nimport java.math.BigInteger;\nimport java.security.*;\nimport java.security.cert.X509Certificate;\nimport org.bouncycastle.asn1.A... | java | chosen |
[
{
"from": "system",
"value": "Fix problem with cascade Valid annotation, it's already present on subclasses methods\n"
},
{
"from": "human",
"value": "package org.gbif.api.model.collections;\n\nimport java.util.List;\nimport javax.annotation.Nullable;\nimport javax.validation.Valid;\n\n/**\n * E... | java | chosen |
[
{
"from": "system",
"value": "Update for M2 after testing. Correction of some bugs in the context tests.\n\ngit-svn-id: 959c5dc4f35e0484f067e28fe24ef05c41faf244@773731 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) ... | java | chosen |
[
{
"from": "system",
"value": "Remove comment about CDATA not being handled (since it is now).\n\n"
},
{
"from": "human",
"value": "//\n// XMLIndent.java\n//\n\nimport java.io.BufferedReader;\nimport java.io.FileReader;\nimport loci.formats.MetadataTools;\n\n/** Indents XML to be more readable. D... | java | chosen |
[
{
"from": "system",
"value": "Remove the parameter identifier from the object constructor.\n"
},
{
"from": "human",
"value": "package org.obda.query.domain.imp;\r\n\r\nimport org.obda.query.domain.Variable;\r\n\r\nimport com.sun.msv.datatype.xsd.XSDatatype;\r\n\r\npublic class VariableImpl imple... | java | chosen |
[
{
"from": "system",
"value": "Fix toolbar scrolling when scrolling basic comment editor\n"
},
{
"from": "human",
"value": "package com.gh4a.widget;\n\nimport android.support.design.widget.AppBarLayout;\nimport android.support.design.widget.CoordinatorLayout;\nimport android.view.MotionEvent;\nim... | java | chosen |
[
{
"from": "system",
"value": "Remove JavaDoc from sample service"
},
{
"from": "human",
"value": "package rx.android.samples.eventbus;\n\nimport rx.android.eventbus.EventBus;\nimport rx.android.samples.SamplesApplication;\n\nimport android.app.IntentService;\nimport android.content.Intent;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Apply activity readiness check to map screenshot task (instead of hard-coded delay)\n"
},
{
"from": "human",
"value": "package com.basgeekball.screenshotsnanny.core;\n\nimport android.app.Activity;\nimport android.os.Handler;\n\nimport com.basgeekball.screenshotsnan... | java | chosen |
[
{
"from": "system",
"value": "Add missing @since 7.6 tags\n\nChange-Id: Iffa8655403615d1f7345709c865dd14c6fa861b2\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2000-2014 Vaadin Ltd.\n * \n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n * use this file exc... | java | chosen |
[
{
"from": "system",
"value": "Allow it to throw a ModelAndViewDefiningException"
},
{
"from": "human",
"value": "package org.szegedi.spring.web.jsflow;\r\n\r\nimport javax.servlet.http.HttpServletRequest;\r\n\r\n/**\r\n * Interface for objects that select a script for a particular initial HTTP \... | java | chosen |
[
{
"from": "system",
"value": "Save items and weapons in PlayerData\n"
},
{
"from": "human",
"value": "package Data;\n\nimport java.util.List;\n\nimport engine.gridobject.person.Player;\nimport engine.item.Weapon;\nimport authoring.PlayerData;\nimport authoring.WorldData;\n\npublic class WorldDat... | java | chosen |
[
{
"from": "system",
"value": "Return empty at the right place\n"
},
{
"from": "human",
"value": "package de.stephanlindauer.criticalmaps.vo.chat;\n\nimport com.squareup.okhttp.internal.Util;\n\nimport java.io.UnsupportedEncodingException;\nimport java.net.URLEncoder;\nimport java.util.Date;\n\ni... | java | chosen |
[
{
"from": "system",
"value": "Disable screensaver when playing videos\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017 Martin Kamp Jensen\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": "Simplify request in test in junit5-rest-assured project\n"
},
{
"from": "human",
"value": "/*\n * (C) Copyright 2017 Boni Garcia (http://bonigarcia.github.io/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file ex... | java | chosen |
[
{
"from": "system",
"value": "Use Thread Context Class Loader for schema lookup\n"
},
{
"from": "human",
"value": "package com.rpaisley.example.osgi.xml.impl;\n\nimport javax.xml.XMLConstants;\nimport javax.xml.validation.SchemaFactory;\n\npublic class XMLServiceImpl {\n\tpublic XMLServiceImpl()... | java | chosen |
[
{
"from": "system",
"value": "Add temporary accessor to make the helloworld application work again with @Visible\n\nThis accessor will be removed when MVEL processing of @Visible will be\nfixed.\n"
},
{
"from": "human",
"value": "package info.sitebricks.example.web;\n\nimport com.google.sitebric... | java | chosen |
[
{
"from": "system",
"value": "Fix support for versions prior to 1.9\n"
},
{
"from": "human",
"value": "package com.laytonsmith.abstraction.bukkit.entities;\n\nimport com.laytonsmith.abstraction.AbstractionObject;\nimport com.laytonsmith.abstraction.entities.MCEnderDragon;\nimport com.laytonsmith... | java | chosen |
[
{
"from": "system",
"value": "Fix logic in any logic filter\n"
},
{
"from": "human",
"value": "package in.twizmwaz.cardinal.module.modules.filter.type.logic;\n\nimport in.twizmwaz.cardinal.module.ModuleCollection;\nimport in.twizmwaz.cardinal.module.modules.filter.FilterModule;\nimport in.twizmw... | java | chosen |
[
{
"from": "system",
"value": "Add test for inner criteria referencing another inner criteria\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2019 Immutables Authors and Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except... | java | chosen |
[
{
"from": "system",
"value": "Add new \"tv\" industry type\n"
},
{
"from": "human",
"value": "package me.proxer.library.enums;\n\nimport com.squareup.moshi.Json;\n\n/**\n * Enum holding the available types.\n *\n * @author Ruben Gees\n */\npublic enum IndustryType {\n @Json(name = \"publisher... | java | chosen |
[
{
"from": "system",
"value": "Switch to single-string commands and long ids\n"
},
{
"from": "human",
"value": "package forager.events;\n\nimport java.io.IOException;\n\nimport galileo.event.Event;\nimport galileo.serialization.SerializationInputStream;\nimport galileo.serialization.Serialization... | java | chosen |
[
{
"from": "system",
"value": "Set componentsInited once they get inited\n"
},
{
"from": "human",
"value": "package com.opensymphony.workflow.designer.editor;\n\nimport javax.swing.*;\n\nimport com.opensymphony.workflow.designer.WorkflowCell;\nimport com.opensymphony.workflow.designer.WorkflowEdg... | java | chosen |
[
{
"from": "system",
"value": "Complete default registry with promitive generators\n"
},
{
"from": "human",
"value": "package com.pturpin.quickcheck.junit4;\n\nimport com.pturpin.quickcheck.identifier.ClassIdentifier;\nimport com.pturpin.quickcheck.registry.Registries;\nimport com.pturpin.quickch... | java | chosen |
[
{
"from": "system",
"value": "Add tests for arrays of Comparable objects.\n"
},
{
"from": "human",
"value": "package com.stephenramthun.algorithms.sorting;\n\nimport static org.junit.jupiter.api.Assertions.assertTrue;\n\nimport org.junit.jupiter.api.Test;\n\nclass BubbleSortTest {\n\n @Test\n... | java | chosen |
[
{
"from": "system",
"value": "Add some error handling during the register user action\t\t"
},
{
"from": "human",
"value": "package com.questionanswer.controller;\n\nimport com.questionanswer.config.Routes;\nimport com.questionanswer.model.User;\nimport com.questionanswer.service.UserService;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Write 100 records and flush every 10 during HDFSDatasetWriter write test.\n"
},
{
"from": "human",
"value": "package com.cloudera.data.hdfs;\n\nimport java.io.File;\nimport java.io.IOException;\n\nimport org.apache.avro.Schema;\nimport org.apache.avro.Schema.Type;\n... | java | chosen |
[
{
"from": "system",
"value": "HEXDEV-150: Update description of intercept term.\n"
},
{
"from": "human",
"value": "package hex.schemas;\n\nimport hex.tree.SharedTreeModel;\nimport water.api.API;\nimport water.api.ModelOutputSchema;\nimport water.api.ModelSchema;\nimport water.api.TwoDimTableBase... | java | chosen |
[
{
"from": "system",
"value": "Set logging to a more detailed level\n"
},
{
"from": "human",
"value": "package net.rodrigoamaral.logging;\n\n\nimport java.util.logging.*;\n\npublic class SPSPLogger {\n\n public static final Logger logger = Logger.getLogger(SPSPLogger.class.getName());\n\n s... | java | chosen |
[
{
"from": "system",
"value": "Add a constructor for a single PhotonClient\n\n"
},
{
"from": "human",
"value": "package org.mcphoton.impl.network;\n\nimport java.util.Collection;\nimport org.mcphoton.network.Packet;\n\npublic final class PacketSending {\n\t\n\tpublic final Packet packet;\n\tpubli... | java | chosen |
[
{
"from": "system",
"value": "Make @filenames return a DSHandle representing an array of strings, rather than a (Java level) array containing DSHandles representing strings.\n\ngit-svn-id: 6ee47c8665bf46900d9baa0afb711c5b4a0eafac@2958 e2bb083e-7f23-0410-b3a8-8253ac9ef6d8\n"
},
{
"from": "human",
... | java | chosen |
[
{
"from": "system",
"value": "Fix wrong field name for the register"
},
{
"from": "human",
"value": "package info.u_team.u_team_test.init;\n\nimport info.u_team.u_team_test.TestMod;\nimport info.u_team.u_team_test.biome.BasicBiome;\nimport net.minecraft.world.biome.Biome;\nimport net.minecraftfo... | java | chosen |
[
{
"from": "system",
"value": "Fix Operations table (copy/pasted, blame me..)\n"
},
{
"from": "human",
"value": "package com.loyaltyplant.test.domain.operation;\n\nimport com.loyaltyplant.test.domain.BalanceOperation;\n\nimport javax.persistence.DiscriminatorColumn;\nimport javax.persistence.Enti... | java | chosen |
[
{
"from": "system",
"value": "Check value is not null before creating setting.\n"
},
{
"from": "human",
"value": "package io.cattle.platform.iaas.api.auth;\n\nimport io.cattle.platform.archaius.util.ArchaiusUtil;\nimport io.cattle.platform.core.model.Setting;\nimport io.cattle.platform.deferred.... | java | chosen |
[
{
"from": "system",
"value": "Correct Java Doc on disconnect() method\n\nAlso remove unused imports"
},
{
"from": "human",
"value": "package org.eclipse.scanning.api.event.core;\n\nimport java.util.Map;\n\nimport org.eclipse.scanning.api.event.EventException;\n\npublic interface ITopicConnection... | java | chosen |
[
{
"from": "system",
"value": "Add some protection against a failed load of Multiverse\n"
},
{
"from": "human",
"value": "package com.elmakers.mine.bukkit.protection;\n\nimport com.onarandombox.MultiverseCore.MultiverseCore;\nimport org.bukkit.Location;\nimport org.bukkit.World;\nimport org.bukki... | java | chosen |
[
{
"from": "system",
"value": "Handle both cases of a finished node\n"
},
{
"from": "human",
"value": "package de.bmoth.parser.ast.nodes.ltl;\n\npublic class BuechiAutomaton {\n\n public String new_name() {\n return \"place holder\";\n }\n\n public BuechiAutomatonNode nodeIsInNode... | java | chosen |
[
{
"from": "system",
"value": "Use constructor for datasetvalidation class\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2015 LinkedIn Corp. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance wit... | java | chosen |
[
{
"from": "system",
"value": "Add public Map<BigInteger, BigInteger> mapeiaRelacoes()"
},
{
"from": "human",
"value": "package dao;\n\nimport java.math.BigInteger;\nimport java.util.List;\nimport java.util.Map;\n\nimport model.Info;\nimport model.Nodo;\n\npublic interface AmigoDataAccessObject {... | java | chosen |
[
{
"from": "system",
"value": "Add some missing fields (serverName, worldReadable, guestCanJoin);\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 OpenMarket Ltd\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance wi... | java | chosen |
[
{
"from": "system",
"value": "Call for all blocks to save\n"
},
{
"from": "human",
"value": "package space.gatt.magicaproject.managers;\n\nimport org.bukkit.Bukkit;\nimport space.gatt.magicaproject.MagicaMain;\nimport space.gatt.magicaproject.objects.MagicaBlock;\n\nimport java.util.ArrayList;\n... | java | chosen |
[
{
"from": "system",
"value": "Add comment to UxUi in case of assemble."
},
{
"from": "human",
"value": "package router;\n\nimport org.skyve.metadata.router.UxUi;\n\npublic class UxUis {\n\tpublic static final UxUi PHONE = UxUi.newPrimeFaces(\"phone\", \"editorial\", \"nova-light\");\n\tpublic st... | java | chosen |
[
{
"from": "system",
"value": "Hide default public constructor of this utility class\n"
},
{
"from": "human",
"value": "package beaform.utilities;\n\nimport java.util.Date;\n\npublic class SystemTime {\n\n\tprivate static final TimeSource defaultSrc = new TimeSource(){\n\t\t@Override\n\t\tpublic ... | java | chosen |
[
{
"from": "system",
"value": "Set default accept header to json\n"
},
{
"from": "human",
"value": "package fr.insee.rmes.api.utils;\n\nimport javax.ws.rs.core.MediaType;\n\nimport org.apache.logging.log4j.LogManager;\nimport org.apache.logging.log4j.Logger;\n\nimport com.fasterxml.jackson.databi... | java | chosen |
[
{
"from": "system",
"value": "Remove Elemental2 usage from doc example\n"
},
{
"from": "human",
"value": "package arez.doc.examples.at_memoize2;\n\nimport arez.ComputableValue;\nimport arez.annotations.Action;\nimport arez.annotations.ArezComponent;\nimport arez.annotations.ComputableValueRef;\n... | java | chosen |
[
{
"from": "system",
"value": "Use persistent file based sessions that survive application restarts.\n"
},
{
"from": "human",
"value": "package hello;\n\nimport org.springframework.boot.SpringApplication;\nimport org.springframework.boot.autoconfigure.EnableAutoConfiguration;\nimport org.springfr... | java | chosen |
[
{
"from": "system",
"value": "Add Tests for existing functionality of ShardedCounterServiceImpl\n"
},
{
"from": "human",
"value": "package com.theupswell.appengine.counter.service;\n\nimport junit.framework.TestCase;\n\npublic class ShardedCounterServiceImplTest extends TestCase\n{\n\n\tpublic v... | java | chosen |
[
{
"from": "system",
"value": "Fix failing test by mocking up NodeDao\n"
},
{
"from": "human",
"value": "package org.opennms.netmgt.dao.support;\n\nimport java.io.IOException;\n\nimport org.opennms.netmgt.dao.ResourceDao;\nimport org.opennms.netmgt.dao.support.DefaultResourceDao;\nimport org.open... | java | chosen |
[
{
"from": "system",
"value": "Change the name of the method for getting lower case values."
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.webservice.definitions;\r\n\r\nimport java.util.HashMap;\r\nimport java.util.Map;\r\n\r\n/**\r\n * @Author Tony Wardell\r\n * Date: 22/06/2015\r\n... | java | chosen |
[
{
"from": "system",
"value": "Add new advertise values to validation\n"
},
{
"from": "human",
"value": "package org.buddycloud.channelserver.channel.node.configuration.field;\n\npublic class Advertise extends Field {\n public static final String FIELD_NAME = \"buddycloud#advertise_node\";\n pu... | java | chosen |
[
{
"from": "system",
"value": "Change 'mob' to 'mobs' to comply with PGM docs\n"
},
{
"from": "human",
"value": "package in.twizmwaz.cardinal.module.modules.mob;\n\nimport in.twizmwaz.cardinal.match.Match;\nimport in.twizmwaz.cardinal.module.ModuleBuilder;\nimport in.twizmwaz.cardinal.module.Modu... | java | chosen |
[
{
"from": "system",
"value": "Remove logging. Remove extended JenaSubsystemRegistryBasic\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additi... | java | chosen |
[
{
"from": "system",
"value": "Fix typo in import statement\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2014 The Android Open Source Project\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": "Fix performance issue when exporting"
},
{
"from": "human",
"value": "package org.cytoscape.task.internal.export;\n\nimport java.io.IOException;\nimport java.io.OutputStream;\n\npublic class DelegatingOutputStream extends OutputStream {\n\t\n\tprivate OutputStream d... | java | chosen |
[
{
"from": "system",
"value": "Add list of registries into the docker config.\n\nSigned-off-by: Nigel Magnay <0c422baef524090650d5dc166beb1e8269e8fa23@gmail.com>\n"
},
{
"from": "human",
"value": "package com.nirima.jenkins.plugins.docker;\n\nimport hudson.Extension;\nimport jenkins.model.GlobalC... | java | chosen |
[
{
"from": "system",
"value": "Make CheckAutonTimer only apply to autonomous mode\n"
},
{
"from": "human",
"value": "package com.team254.frc2013.commands;\n\n/**\n * Checks the auton timer and blocks if there is not enough time left\n *\n * @author pat@team254.com (Patrick Fairbank)\n */\npublic ... | java | chosen |
[
{
"from": "system",
"value": "Remove @NotNull annotation to name field.\n"
},
{
"from": "human",
"value": "package com.zyeeda.framework.entities.base;\n\nimport javax.validation.constraints.NotNull;\n\n\n@javax.persistence.MappedSuperclass\npublic class SimpleDomainEntity extends DomainEntity {\... | java | chosen |
[
{
"from": "system",
"value": "Fix issue with EDT violation occurring during FEST tests\n"
},
{
"from": "human",
"value": "package org.multibit.hd.ui.views;\n\nimport org.multibit.hd.ui.views.components.Images;\n\nimport java.awt.*;\nimport java.awt.event.WindowAdapter;\nimport java.awt.event.Win... | java | chosen |
[
{
"from": "system",
"value": "Fix typo with class name\n"
},
{
"from": "human",
"value": "\npackage fr.neamar.kiss;\n\nimport fr.neamar.R;\n\nimport android.support.test.rule.ActivityTestRule;\nimport android.test.ActivityInstrumentationTestCase2;\nimport android.test.suitebuilder.annotation.Lar... | java | chosen |
[
{
"from": "system",
"value": "Use UTF-8 as default encoding if missing\n"
},
{
"from": "human",
"value": "package com.redhat.ceylon.compiler.js;\n\nimport java.io.File;\nimport java.io.FileOutputStream;\nimport java.io.IOException;\nimport java.io.OutputStreamWriter;\nimport java.io.Writer;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Allow upgrade of transaction from readonly to exclusive\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2010 - 2017 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance wit... | java | chosen |
[
{
"from": "system",
"value": "Add comments and validation to create msg\n"
},
{
"from": "human",
"value": "/*\n * The MIT License (MIT)\n *\n * Copyright (c) 2016 Vincent Zhang/PhoenixLAB\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and as... | java | chosen |
[
{
"from": "system",
"value": "FieldNaming: Update strategy to use IDENTITY as default strategy\n\nUsed when annotation is not present.\n\n\nFormer-commit-id: 60bb3a59db4bcf2180b272d683c8e2f4df05c356"
},
{
"from": "human",
"value": "package com.vmware.http.json;\n\nimport com.google.gson.FieldNam... | java | chosen |
[
{
"from": "system",
"value": "Create adapter and viewholder for beatbox\n"
},
{
"from": "human",
"value": "package com.bignerdranch.android.beatbox;\n\nimport android.os.Bundle;\nimport android.support.annotation.Nullable;\nimport android.support.v4.app.Fragment;\nimport android.support.v7.widge... | java | chosen |
[
{
"from": "system",
"value": "Remove guard, isn't a primitive on the class anymore\n\nSigned-off-by: Stefan Marr <46f1a0bd5592a2f9244ca321b129902a06b53e03@stefan-marr.de>\n"
},
{
"from": "human",
"value": "package som.primitives;\n\nimport som.interpreter.nodes.nary.UnaryExpressionNode;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Configure this configuration before the AxonAutoConfiguration\n\nConfigure this configuration before the AxonAutoConfiguration\n\n#236\n"
},
{
"from": "human",
"value": "package org.axonframework.boot.autoconfig;\n\nimport com.codahale.metrics.MetricRegistry;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Move date format to setter\n\n* Change date format options to be set from a setter instead of in the\nconstructor for ResponseParser\n"
},
{
"from": "human",
"value": "package com.fanpics.opensource.android.modelrecord;\n\nimport com.google.gson.Gson;\nimport com.go... | java | chosen |
[
{
"from": "system",
"value": "Fix issue with loading of files due to wrong filepath\n"
},
{
"from": "human",
"value": "import javafx.fxml.FXML;\nimport javafx.scene.canvas.Canvas;\nimport javafx.scene.canvas.GraphicsContext;\nimport javafx.scene.layout.AnchorPane;\nimport javafx.scene.paint.Colo... | java | chosen |
[
{
"from": "system",
"value": "Add setup and teardown code\n"
},
{
"from": "human",
"value": "package com.grayben.riskExtractor.htmlScorer.partScorers.tagScorers;\n\nimport org.jsoup.parser.Tag;\nimport org.junit.After;\nimport org.junit.Before;\nimport org.junit.Test;\nimport org.junit.runner.Ru... | java | chosen |
[
{
"from": "system",
"value": "Make timer test more coarse to avoid race conditions with Cloudbees\n"
},
{
"from": "human",
"value": "package org.skyscreamer.nevado.jms.util;\n\nimport org.junit.Assert;\nimport org.junit.Test;\n\n/**\n * Tests the BackoffSleeper.\n *\n * @author Carter Page <cart... | java | chosen |
[
{
"from": "system",
"value": "Use the (L1 C2) form to report node positions here as well\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2007 Reto Schuettel, Robin Stocker\n *\n * IFS Institute for Software, HSR Rapperswil, Switzerland\n *\n */\n\npackage ch.hsr.ifs.pystructure.typeinfe... | java | chosen |
[
{
"from": "system",
"value": "Update TestFX test in contacts module to fix compile error\n"
},
{
"from": "human",
"value": "package de.saxsys.mvvmfx.contacts;\n\nimport javafx.geometry.VerticalDirection;\nimport javafx.scene.Parent;\nimport org.junit.Before;\nimport org.junit.BeforeClass;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Update to interface to remove method that creates an association\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.spot.goci.curation.service;\n\nimport uk.ac.ebi.spot.goci.curation.model.SnpAssociationForm;\nimport uk.ac.ebi.spot.goci.model.Association;\n\n/**\n... | java | chosen |
[
{
"from": "system",
"value": "Add null check for cancelled attempt too select profile file\n"
},
{
"from": "human",
"value": "package fortiss.gui.listeners.button;\n\nimport java.awt.event.MouseAdapter;\nimport java.awt.event.MouseEvent;\n\nimport fortiss.components.Demand;\nimport fortiss.gui.D... | java | chosen |
[
{
"from": "system",
"value": "Change main script name to nmcontrol.py\n"
},
{
"from": "human",
"value": "/*\r\n * Copyright (C) 2010 Google Inc.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\r\n * use this file except in compliance with the License. Yo... | java | chosen |
[
{
"from": "system",
"value": "Add hasNoJsonPath testcase for explicit null\n"
},
{
"from": "human",
"value": "package com.jayway.jsonpath.matchers;\n\nimport org.junit.Test;\n\nimport static com.jayway.jsonpath.matchers.JsonPathMatchers.hasNoJsonPath;\nimport static org.hamcrest.Matchers.*;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Fix for running adb tool.\n"
},
{
"from": "human",
"value": "package core.task.restart;\n\nimport core.command.CommandExecutor;\nimport core.message.DeployMessage;\nimport core.message.RestartAppMessage;\nimport core.task.Task;\nimport core.task.TaskPurpose;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Change credential check to not fetch credential to check existence\n"
},
{
"from": "human",
"value": "package com.google.step.coffee.servlets;\n\nimport com.google.api.client.auth.oauth2.Credential;\nimport com.google.step.coffee.JsonServlet;\nimport com.google.step... | java | chosen |
[
{
"from": "system",
"value": "Use command's hash code method\n"
},
{
"from": "human",
"value": "package tests;\n\nimport static org.junit.jupiter.api.Assertions.assertEquals;\nimport static org.junit.jupiter.api.Assertions.assertSame;\n\nimport com.github.sormuras.bach.Command;\nimport org.junit... | java | chosen |
[
{
"from": "system",
"value": "Add a property to set the default enablement\n\nSet '-Dorg.showshortcuts.enabled=false' to e.g. disable the tool by\ndefault.\n"
},
{
"from": "human",
"value": "package org.showshortcuts.internal;\n\nimport org.eclipse.core.runtime.preferences.AbstractPreferenceInit... | java | chosen |
[
{
"from": "system",
"value": "Fix unnecessary type parameter hiding\n"
},
{
"from": "human",
"value": "package com.trello.navi2.rx;\n\nimport android.support.annotation.NonNull;\nimport com.trello.navi2.Event;\nimport com.trello.navi2.Listener;\nimport com.trello.navi2.NaviComponent;\nimport io.... | java | chosen |
[
{
"from": "system",
"value": "Fix for PDF rendering mode\n"
},
{
"from": "human",
"value": "package com.haxademic.core.render;\n\nimport com.haxademic.core.app.P;\n\npublic class AnimationLoop {\n\n\tprotected float frames;\n\tprotected float progress;\n\tprotected float progressRads;\n\t\n\tpub... | java | chosen |
[
{
"from": "system",
"value": "[BEAM-8470] Put all transform translators Serializable\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional... | java | chosen |
[
{
"from": "system",
"value": "Change constants to avoid compiler inlining.\n\nMakes testing easier as we can use reflection to change\nfor example the base url.\n"
},
{
"from": "human",
"value": "package eic.beike.projectx.util;\n\n/**\n * Created by alex on 9/22/15.\n */\npublic class Constants... | java | chosen |
[
{
"from": "system",
"value": "Change DSLR description - so it doesn't look like a duplicate\n"
},
{
"from": "human",
"value": "package org.drools.workbench.screens.guided.rule.type;\n\nimport javax.enterprise.context.ApplicationScoped;\n\nimport org.uberfire.backend.vfs.Path;\nimport org.uberfir... | java | chosen |
[
{
"from": "system",
"value": "Improve user network check by checking actual connection to internet\n"
},
{
"from": "human",
"value": "package lt.vilnius.tvarkau.utils;\n\nimport android.app.Activity;\nimport android.content.Context;\nimport android.net.ConnectivityManager;\n\npublic class Networ... | java | chosen |
[
{
"from": "system",
"value": "Change homepage landing to dashboard"
},
{
"from": "human",
"value": "package io.github.pbremer.icecreammanager.controller;\r\n\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.LoggerFactory;\r\nimport org.springframework.stereotype.Controller;\r\nimport org.springfr... | java | chosen |
[
{
"from": "system",
"value": "Remove unnecessary final on interface\n\nJAVA-1215\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2008-2014 MongoDB, 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 L... | java | chosen |
[
{
"from": "system",
"value": "Create helper methods for product bump\n"
},
{
"from": "human",
"value": "package org.fakekoji.api.http.rest;\n\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Optional;\n\nclass RestUtils {\n\n static Optional<String> extractParamValue(Map<Strin... | java | chosen |
[
{
"from": "system",
"value": "Create interfaces for Extensions with static methods by convention\n"
},
{
"from": "human",
"value": "package io.rocketscience.java.lang;\n\nimport java.util.function.Supplier;\n\npublic class JavaExtensions {\n\t\n\tprivate JavaExtensions() {\n\t}\n\t\n\tpublic sta... | java | chosen |
[
{
"from": "system",
"value": "Use approrpiate transform implementation in canvas backend.\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2010 The PlayN Authors\n * \n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n * use this file except in compliance with... | java | chosen |
[
{
"from": "system",
"value": "Add private constructor and made class final.\n"
},
{
"from": "human",
"value": "package ui;\n\npublic class IdGenerator {\n public static String getPanelCellId(String repoId, int panelIndex, int issueId) {\n return repoId + \"_col\" + panelIndex + \"_\" +... | java | chosen |
[
{
"from": "system",
"value": "Update - Starting Date First Semester"
},
{
"from": "human",
"value": "package utils;\n\npublic class SemesterInfo {\n public static final int NO_OF_WEEKS_FIRST_SEMESTER = 16;\n public static final int CHRISTMAS_HOLIDAY = 12;\n public static final int CHRIS... | java | chosen |
[
{
"from": "system",
"value": "Add fields for holding data\n"
},
{
"from": "human",
"value": "package de.eightbitboy.ecorealms.simulation.production;\n\nimport de.eightbitboy.ecorealms.simulation.resource.Resource;\n\npublic class ProducerData {\n\n\tpublic void addInputResource(Resource resource... | java | chosen |
[
{
"from": "system",
"value": "Check if user is indeed using 1.9 to 1.8 protocol conversion\n"
},
{
"from": "human",
"value": "package us.myles.ViaVersion.protocols.protocol1_9to1_8.listeners;\n\nimport lombok.RequiredArgsConstructor;\nimport org.bukkit.block.Block;\nimport org.bukkit.event.Event... | java | chosen |
[
{
"from": "system",
"value": "Add shouldDespawn tag to projectiles, so we can do piercing shots\n"
},
{
"from": "human",
"value": "package edu.stuy.starlorn.entities;\n\npublic class Projectile extends Entity {\n // Angle is radians, measured from the positive x axis\n private double _angl... | java | chosen |
[
{
"from": "system",
"value": "Disable tests for abstract class"
},
{
"from": "human",
"value": "package fr.issamax.essearch.test;\r\n\r\n\r\nimport org.elasticsearch.client.Client;\r\nimport org.elasticsearch.node.Node;\r\nimport org.junit.runner.RunWith;\r\nimport org.springframework.beans.fact... | java | chosen |
[
{
"from": "system",
"value": "[MySQL] Add tests for the PQS implementation\n"
},
{
"from": "human",
"value": "package sqlancer.dbms;\n\nimport static org.junit.jupiter.api.Assertions.assertEquals;\nimport static org.junit.jupiter.api.Assumptions.assumeTrue;\n\nimport org.junit.jupiter.api.Test;\... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.