conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Add details to the query ARGB_8888\n"
},
{
"from": "human",
"value": "package paprika.neo4j;\n\nimport org.neo4j.cypher.CypherException;\nimport org.neo4j.graphdb.Result;\nimport org.neo4j.graphdb.Transaction;\n\nimport java.io.IOException;\n\n/**\n * Created by ant... | java | chosen |
[
{
"from": "system",
"value": "Fix for handling HTTP requests properly\n"
},
{
"from": "human",
"value": "package com.manning.siia;\n\nimport siia.booking.domain.trip.LegQuoteCommand;\nimport org.apache.commons.logging.Log;\nimport org.apache.commons.logging.LogFactory;\nimport org.springframewor... | java | chosen |
[
{
"from": "system",
"value": "Fix the doc url from root\n"
},
{
"from": "human",
"value": "package org.jboss.da.rest;\n\nimport javax.ws.rs.GET;\nimport javax.ws.rs.Path;\nimport javax.ws.rs.Produces;\nimport javax.ws.rs.core.MediaType;\n\n/**\n *\n * @author Jozef Mrazek <jmrazek@redhat.com>\n ... | java | chosen |
[
{
"from": "system",
"value": "Fix timestamp format for derby-timer log files.\n"
},
{
"from": "human",
"value": "package org.jeffpiazza.derby;\n\nimport java.util.*;\nimport java.text.*;\n\npublic class Timestamp {\n private static final SimpleDateFormat yyyy_mm_dd_hh_mm_ss\n = new SimpleD... | java | chosen |
[
{
"from": "system",
"value": "Adjust CpuInfo view to match style of SensorView\n"
},
{
"from": "human",
"value": "package com.easternedgerobotics.rov.fx;\n\nimport javafx.scene.Parent;\nimport javafx.scene.control.Label;\nimport javafx.scene.layout.HBox;\nimport javafx.scene.layout.VBox;\n\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Send results to an external service\n"
},
{
"from": "human",
"value": "package info.maccac.recorder.client;\n\nimport com.google.gson.Gson;\nimport com.google.gson.GsonBuilder;\nimport com.intellij.openapi.diagnostic.Logger;\nimport info.maccac.recorder.TestResults;... | java | chosen |
[
{
"from": "system",
"value": "Add time to all shaders, since most of them need it\n"
},
{
"from": "human",
"value": "package com.haxademic.core.image.filters.shaders;\n\nimport com.haxademic.core.system.FileUtil;\n\nimport processing.core.PApplet;\nimport processing.core.PGraphics;\nimport proce... | java | chosen |
[
{
"from": "system",
"value": "Update with new commands and new facets\n"
},
{
"from": "human",
"value": "package org.graphstream.gama.extension;\n\nimport msi.gama.common.interfaces.IKeyword;\n\npublic class IKeywordGSAdditional implements IKeyword {\n\t// New commands\n\t\n\tpublic static final... | java | chosen |
[
{
"from": "system",
"value": "Use long for service id\n\ngit-svn-id: 6eed74fe9a15c8da84b9a8d7f2960c0406113ece@1690821 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreemen... | java | chosen |
[
{
"from": "system",
"value": "Support enums in proxying request objects\n"
},
{
"from": "human",
"value": "package io.github.ibuildthecloud.gdapi.util;\n\nimport java.lang.reflect.InvocationHandler;\nimport java.lang.reflect.Method;\nimport java.lang.reflect.Proxy;\nimport java.util.Map;\n\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Make coal nugget burn time pass through the Forge hook\n\n"
},
{
"from": "human",
"value": "package com.infinityraider.agricraft.content.core;\n\nimport com.infinityraider.agricraft.reference.Names;\nimport com.infinityraider.infinitylib.item.ItemBase;\nimport net.m... | java | chosen |
[
{
"from": "system",
"value": "Mark this file as unused for now.\n"
},
{
"from": "human",
"value": "// Copyright (c) 2015, Wojciech Adam Koszek <wojciech@koszek.com>\n// All rights reserved.\n\npackage com.barvoy.sensorama;\n\n\npublic class SRAPIPerms {\n public static final String parseAPIID... | java | chosen |
[
{
"from": "system",
"value": "Improve ext migr loading test"
},
{
"from": "human",
"value": "package org.jboss.loom.migrators._ext;\n\nimport java.io.File;\nimport org.apache.commons.io.FileUtils;\nimport org.jboss.loom.conf.GlobalConfiguration;\nimport org.jboss.loom.utils.Utils;\nimport org.ju... | java | chosen |
[
{
"from": "system",
"value": "Reimplement the JobEventPublisher from Edison 1.x for backwards compatibility\n"
},
{
"from": "human",
"value": "package de.otto.edison.jobs.service;\n\nimport de.otto.edison.jobs.definition.JobDefinition;\nimport de.otto.edison.jobs.eventbus.JobEventPublisher;\n\n/... | java | chosen |
[
{
"from": "system",
"value": "Fix flower block selection boxes not being offset"
},
{
"from": "human",
"value": "package net.tropicraft.core.common.block;\n\nimport net.minecraft.block.BlockState;\nimport net.minecraft.block.FlowerBlock;\nimport net.minecraft.potion.Effect;\nimport net.minecraft... | java | chosen |
[
{
"from": "system",
"value": "Add documentation for PMD exception in network protocols\n"
},
{
"from": "human",
"value": "package org.jvirtanen.parity.net.pmd;\n\nimport org.jvirtanen.parity.net.ProtocolException;\n\npublic class PMDException extends ProtocolException {\n\n public PMDExceptio... | java | chosen |
[
{
"from": "system",
"value": "Hide zoom buttons fixed (Only on android >3.0)\n"
},
{
"from": "human",
"value": "package cl.uchile.ing.adi.quicklooklib.fragments;\n\nimport android.os.Bundle;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\nimport a... | java | chosen |
[
{
"from": "system",
"value": "Fix the bad practice \"Comparison of String objects using == or !=\"."
},
{
"from": "human",
"value": "package com.bwssystems.HABridge.plugins.moziot;\n\nimport com.google.gson.annotations.Expose;\nimport com.google.gson.annotations.SerializedName;\n\npublic class M... | java | chosen |
[
{
"from": "system",
"value": "Return empty ID instead of null\n"
},
{
"from": "human",
"value": "/*\n * This file is part of libbluray\n * Copyright (C) 2012 libbluray\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General P... | java | chosen |
[
{
"from": "system",
"value": "Use the proper formula for the random seed. The coordinates are multiplied as ints and are cast to longs for the final addition.\n"
},
{
"from": "human",
"value": "package com.github.lunatrius.core.world.chunk;\n\nimport net.minecraft.util.math.BlockPos;\n\nimport j... | java | chosen |
[
{
"from": "system",
"value": "Update events for 1.1 event system (breaks 1.0 compatibility)"
},
{
"from": "human",
"value": "package org.dynmap;\nimport org.bukkit.event.Cancellable;\nimport org.bukkit.event.Event;\n\n/**\n * Custom Bukkit event, corresponding to the receiving of a web-chat mess... | java | chosen |
[
{
"from": "system",
"value": "Add methods for imageResizing and setting button size"
},
{
"from": "human",
"value": "package devopsdistilled.operp.client.abstracts;\n\npublic abstract class TaskPane extends ViewPane {\n\n\t@Override\n\tpublic abstract String toString();\n\n}\n"
},
{
"fro... | java | chosen |
[
{
"from": "system",
"value": "Make auto-show background tasks action dumb aware\n\nGitOrigin-RevId: 4d969343628f81fc3821394908929264116269b7"
},
{
"from": "human",
"value": "/*\n * Copyright 2000-2010 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * ... | java | chosen |
[
{
"from": "system",
"value": "Studio: Fix removal of selection builder\n"
},
{
"from": "human",
"value": "/*\n * Axelor Business Solutions\n *\n * Copyright (C) 2021 Axelor (<http://axelor.com>).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms... | java | chosen |
[
{
"from": "system",
"value": "Add db status to health check"
},
{
"from": "human",
"value": "package org.gluu.oxauth.ws.rs.controller;\n\nimport javax.enterprise.context.ApplicationScoped;\nimport javax.ws.rs.GET;\nimport javax.ws.rs.POST;\nimport javax.ws.rs.Path;\nimport javax.ws.rs.Produces;\... | java | chosen |
[
{
"from": "system",
"value": "Drop siteLogText from SiteLogReceived SNS msg\n"
},
{
"from": "human",
"value": "package au.gov.ga.geodesy.domain.service;\n\nimport org.springframework.stereotype.Component;\n\nimport au.gov.ga.geodesy.domain.model.event.Event;\nimport au.gov.ga.geodesy.domain.mode... | java | chosen |
[
{
"from": "system",
"value": "Fix spacing (More OCD, than anything else :S)\n"
},
{
"from": "human",
"value": "package com.techcavern.wavetact.commands.utils;\n\nimport com.techcavern.wavetact.annot.CMD;\nimport com.techcavern.wavetact.objects.Command;\nimport com.techcavern.wavetact.utils.Gener... | java | chosen |
[
{
"from": "system",
"value": "Fix issue with config file not loading correctly\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 The ISTLab. Use of this source code is governed by a GNU AFFERO GPL 3.0 license\n * that can be found in the LICENSE file.\n */\n\npackage gr.aueb.dmst.istlab.u... | java | chosen |
[
{
"from": "system",
"value": "Fix /help - part 2"
},
{
"from": "human",
"value": "package com.ForgeEssentials.permission.mcoverride;\n\nimport cpw.mods.fml.common.event.FMLServerStartingEvent;\n\n// Hopefully we can transform the stuff in and we won't need this class.\n\npublic class OverrideMan... | java | chosen |
[
{
"from": "system",
"value": "GH-2: Move static initialization into onCreate() method.\n"
},
{
"from": "human",
"value": "package com.syntactec.subreddify.services;\n\nimport android.app.AlarmManager;\nimport android.app.IntentService;\nimport android.app.PendingIntent;\nimport android.content.C... | java | chosen |
[
{
"from": "system",
"value": "Use NotificationBuilder instead of the Notification to create a new Notification\n"
},
{
"from": "human",
"value": "package org.blitzortung.android.app.controller;\n\n\nimport android.app.Notification;\nimport android.app.NotificationManager;\nimport android.app.Pen... | java | chosen |
[
{
"from": "system",
"value": "Add right RNSentryPackage call in example project\n"
},
{
"from": "human",
"value": "package com.reactnativeexample;\n\n\nimport android.app.Application;\n\nimport com.facebook.react.ReactApplication;\nimport com.facebook.react.ReactNativeHost;\nimport com.facebook.... | java | chosen |
[
{
"from": "system",
"value": "Add test case for when interfaces do have concrete implementations\n\n\n\ngit-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@14956 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3\n"
},
{
"from": "human",
"value": "package sfBugsNew;\n\nimport edu.umd.cs.findbugs.annotations.... | java | chosen |
[
{
"from": "system",
"value": "Use proper syntax for boolean attributes\n"
},
{
"from": "human",
"value": "package com.gurkensalat.osm.repository;\n\nimport com.gurkensalat.osm.entity.LinkedPlace;\nimport org.springframework.data.jpa.repository.Modifying;\nimport org.springframework.data.jpa.repo... | java | chosen |
[
{
"from": "system",
"value": "Fix broken tests for count column\n"
},
{
"from": "human",
"value": "package com.facebook.presto.operator.aggregation;\n\n\nimport com.facebook.presto.block.Block;\nimport com.facebook.presto.block.BlockBuilder;\n\nimport static com.facebook.presto.operator.aggregat... | java | chosen |
[
{
"from": "system",
"value": "Remove type parameters from IterableSubject, MultisetSubject, and MultimapSubject.\n\nSee https://github.com/google/truth/issues/192\n\n-------------\nCreated by MOE: https://github.com/google/moe\nMOE_MIGRATED_REVID=109722143\n"
},
{
"from": "human",
"value": "/*\n... | java | chosen |
[
{
"from": "system",
"value": "Add method to get protocol list\n"
},
{
"from": "human",
"value": "package controller;\n\nimport constant.Urls;\nimport domain.Protocol;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.http.HttpStatus;\nimport org.springfr... | java | chosen |
[
{
"from": "system",
"value": "Add linebreak to improve readability\n"
},
{
"from": "human",
"value": "package seedu.ezdo.model.todo;\n\n\nimport seedu.ezdo.commons.exceptions.IllegalValueException;\n\n\n/**\n * Represents the due date of a todo.\n */\npublic class DueDate {\n\n public static ... | java | chosen |
[
{
"from": "system",
"value": "[STORM-1499] Fix Kafka spout to maintain backward compatibility\n\nSTORM-1220 introduced some changes where in one place it passes ByteBuffer as is instead of byte[].\nExisting bolts (0.10.0) expects a byte[] and fails with\n\"java.lang.RuntimeException: java.lang.ClassCastExce... | java | chosen |
[
{
"from": "system",
"value": "Fix test class spelling, formatting\n"
},
{
"from": "human",
"value": "package com.xtremelabs.robolectric;\n\nimport org.junit.Assert;\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\n\nimport com.xtremelabs.robolectric.bytecode.RobolectricClassLoader;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Fix OpDateFormat test in other time zones and separate into dedicated methods\n"
},
{
"from": "human",
"value": "package com.addthis.hydra.data.query;\n\nimport org.junit.Test;\n\npublic class TestOpDateFormat extends TestOp {\n\n @Test\n public void testOpDat... | java | chosen |
[
{
"from": "system",
"value": "Add comment for event state"
},
{
"from": "human",
"value": "/*\n * Copyright 2017 Axway Software\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 cop... | java | chosen |
[
{
"from": "system",
"value": "Allow caller to return any kind of value.\n"
},
{
"from": "human",
"value": "package com.hyprion.beckon;\n\nimport sun.misc.Signal;\nimport sun.misc.SignalHandler;\n\nimport java.util.List;\n\nimport java.util.concurrent.Callable;\n\npublic class SignalFolder implem... | java | chosen |
[
{
"from": "system",
"value": "Sort method for list of errors\n"
},
{
"from": "human",
"value": "package BSChecker;\nimport java.util.ArrayList;\n/**\n * \n * @author tedpyne\n * Defines abstract class for types of grammatical errors\n */\npublic abstract class Error {\n\t/**\n\t * @param text Th... | java | chosen |
[
{
"from": "system",
"value": "Make test names more readable and add missing test case (Cowan's review comments)\n"
},
{
"from": "human",
"value": "package com.custardsource.parfait;\n\nimport org.junit.Before;\nimport org.junit.Test;\nimport org.mockito.Mock;\nimport org.mockito.MockitoAnnotatio... | java | chosen |
[
{
"from": "system",
"value": "Add bigger timeout for xpath element locator\n\nSigned-off-by: Andru Stefanescu <7ddc31439e278e07060dec99cf8ddedbee60ab4a@cam.ac.uk>\n"
},
{
"from": "human",
"value": "package com.tngtech.jgiven.report.html5;\n\nimport static org.assertj.core.api.Assertions.assertTh... | java | chosen |
[
{
"from": "system",
"value": "Create Test: refactoring + small fixes\n"
},
{
"from": "human",
"value": "package com.jetbrains.python.codeInsight;\n\nimport com.intellij.codeInsight.navigation.GotoTargetRendererProvider;\nimport com.intellij.ide.util.PsiElementListCellRenderer;\nimport com.intell... | java | chosen |
[
{
"from": "system",
"value": "Add the function of generating excel file.\n"
},
{
"from": "human",
"value": "package com.intel.alex.Utils;\n\n/**\n * Created by root on 3/7/16.\n */\npublic class ExcelUtil {\n}\n"
},
{
"from": "gpt",
"value": "package com.intel.alex.Utils;\n\n\nimport... | java | chosen |
[
{
"from": "system",
"value": "Use ActivityCompat instead of reinventing the wheel\n"
},
{
"from": "human",
"value": "package net.redwarp.library.testapplication;\n\nimport android.os.Build;\nimport android.os.Bundle;\nimport android.support.v7.app.AppCompatActivity;\nimport android.view.MenuItem... | java | chosen |
[
{
"from": "system",
"value": "Update cheval de frise to be used with updated intake\n"
},
{
"from": "human",
"value": "package org.robockets.stronghold.robot.intake;\n\nimport org.robockets.stronghold.robot.Robot;\nimport org.robockets.stronghold.robot.drivetrain.AssistedDrive;\nimport org.roboc... | java | chosen |
[
{
"from": "system",
"value": "Remove custom YesNoEnum and use yesno method from ConsoleUI\n\nThere is no need to reimplement the yes/no functionality.\n\nChange-Id: I0e9050a38b9785e93b6549d27455f356e828d2de\nSigned-off-by: Edwin Kempin <b444e279ad95fdef4fbdd82c813b624595df204a@sap.com>\n"
},
{
"from... | java | chosen |
[
{
"from": "system",
"value": "Fix typo in write aborted description\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2007-2015, Kaazing Corporation. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in complian... | java | chosen |
[
{
"from": "system",
"value": "Replace magic numbers with constants\n"
},
{
"from": "human",
"value": "package com.alexstyl.specialdates.events;\n\nimport com.alexstyl.specialdates.date.DateDisplayStringCreator;\nimport com.alexstyl.specialdates.date.Date;\n\nimport org.junit.BeforeClass;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Use a private I/O thread pool for failure detector\n"
},
{
"from": "human",
"value": "/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the Licen... | java | chosen |
[
{
"from": "system",
"value": "Add a generic method that creates an output file\n"
},
{
"from": "human",
"value": "package il.ac.technion.ie.experiments.Utils;\n\nimport org.apache.log4j.Logger;\n\nimport java.io.File;\nimport java.io.IOException;\n\n/**\n * Created by I062070 on 10/09/2015.\n */... | java | chosen |
[
{
"from": "system",
"value": "Handle case when getting the width of a text, if a letter is not recognized, the width is not incremented instead of throwing a NullPointerException.\n"
},
{
"from": "human",
"value": "package com.web4enterprise.pdf.core.font;\n\nimport java.util.HashMap;\nimport ja... | java | chosen |
[
{
"from": "system",
"value": "Add binary server output on start"
},
{
"from": "human",
"value": "package binary;\n\nimport quark.concurrent.Context;\nimport binary.Binary;\n\npublic class ServerMain {\n\n public static void main(String[] args) {\n quark.Runtime runtime = Context.runtim... | java | chosen |
[
{
"from": "system",
"value": "Check for potential null pointer exception\n\n\ngit-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@2103 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3\n"
},
{
"from": "human",
"value": "import java.io.*;\n\npublic class TwoStreams {\n\tpublic void twoStreamsWrong() throws I... | java | chosen |
[
{
"from": "system",
"value": "Allow running on java 8-10\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017 ThoughtWorks, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a... | java | chosen |
[
{
"from": "system",
"value": "Fix Jackson serialization test for changes to Jackson serialization wrpaper\n"
},
{
"from": "human",
"value": "package com.bbn.bue.common.serialization.jackson;\n\nimport com.bbn.bue.common.evaluation.FMeasureCounts;\nimport com.fasterxml.jackson.annotation.JsonCrea... | java | chosen |
[
{
"from": "system",
"value": "Add & update Java Docs\n\nSigned-off-by: Orit Stone <530a3c863b274210fbf305df5a70e325b4dbcb5a@hp.com>\n"
},
{
"from": "human",
"value": "/*\n * (c) Copyright 2014 Hewlett-Packard Development Company, L.P.\n * All rights reserved. This program and the accompanying ma... | java | chosen |
[
{
"from": "system",
"value": "Change protocol format to use the FULL url instead of just the path"
},
{
"from": "human",
"value": "package com.usepropeller.routable;\n\nimport android.app.Activity;\nimport android.content.Intent;\nimport android.net.Uri;\nimport android.os.Bundle;\n\npublic clas... | java | chosen |
[
{
"from": "system",
"value": "Add delegated credential to remove operation\n\ngit-svn-id: bdb5f82b9b83a1400e05d69d262344b821646179@1376 e217846f-e12e-0410-a4e5-89ccaea66ff7\n"
},
{
"from": "human",
"value": "package edu.usc.glidein.service.impl;\n\nimport java.rmi.RemoteException;\n\nimport org.... | java | chosen |
[
{
"from": "system",
"value": "Remove one last vestage of compressed data chunks\n\nWe used to allow data chunks to be up to twice the size of the block\nsize to allow for incompressible chunks. Since compression is gone,\nso can that be.\n"
},
{
"from": "human",
"value": "package com.socrata.ss... | java | chosen |
[
{
"from": "system",
"value": "Add clipping test cases for infinities and NaN\n"
},
{
"from": "human",
"value": "package com.bbn.bue.common.primitives;\n\nimport org.junit.Test;\n\nimport static org.junit.Assert.assertEquals;\n\n/**\n * Created by rgabbard on 1/25/16.\n */\npublic class DoubleUti... | java | chosen |
[
{
"from": "system",
"value": "Remove default implementation of fullList()\n\nUsing a limit of Long.MAX_VALUE can degrade performances"
},
{
"from": "human",
"value": "package fr.openwide.core.jpa.more.business.search.query;\n\nimport java.util.List;\nimport java.util.Map;\n\nimport javax.persist... | java | chosen |
[
{
"from": "system",
"value": "fix(oauth2): Use same username for userDetails\n"
},
{
"from": "human",
"value": "package io.gravitee.am.gateway.handler.oauth2.userdetails;\n\nimport org.springframework.security.core.userdetails.User;\nimport org.springframework.security.core.userdetails.UserDetai... | java | chosen |
[
{
"from": "system",
"value": "XRENDERING-154: Create a Transformation to check broken external links\n* Fix checkstyle error\n"
},
{
"from": "human",
"value": "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free... | java | chosen |
[
{
"from": "system",
"value": "Make iterator member final to prevent visibility issues.\n\ngit-svn-id: e057f57e93a604d3b43d277ae69bde5ebf332112@618089 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/* \n * Licensed to the Apache Software Foundation (ASF) under one\n * or ... | java | chosen |
[
{
"from": "system",
"value": "Add default implementation of View interface.\n"
},
{
"from": "human",
"value": "package net.imagej.ops.viewOp;\n\nimport net.imagej.ops.Computer;\nimport net.imagej.ops.ViewOps.View;\n\npublic interface DefaultView<I, O> extends View, Computer<I, O> {\n\t// NB: Mar... | java | chosen |
[
{
"from": "system",
"value": "Fix one last file with missing eof newline\n"
},
{
"from": "human",
"value": "package python;\n\npublic interface Platform {\n /**\n * Return the number of CPU nanoseconds that this thread has consumed.\n */\n public long clock();\n\n public void de... | java | chosen |
[
{
"from": "system",
"value": "Fix accessors to pass unit tests\n"
},
{
"from": "human",
"value": "package com.grayben.riskExtractor.headingMarker.elector;\n\nimport java.util.List;\n\nimport com.grayben.riskExtractor.headingMarker.TextCandidate;\nimport com.grayben.riskExtractor.headingMarker.no... | java | chosen |
[
{
"from": "system",
"value": "Add a header to a file that needs it\n"
},
{
"from": "human",
"value": "package nom.bdezonia.zorbage.type.data.universal;\n\npublic interface InternalRepresentation {\n\n\tvoid setInternalRep(TensorOctonionRepresentation rep);\n\tvoid setSelf(TensorOctonionRepresent... | java | chosen |
[
{
"from": "system",
"value": "Exit whole system when closing main window\n"
},
{
"from": "human",
"value": "import javafx.application.Application;\nimport javafx.scene.control.Alert;\nimport javafx.scene.control.ButtonType;\nimport javafx.stage.Stage;\nimport model.ModelDatabase;\nimport view.Vi... | java | chosen |
[
{
"from": "system",
"value": "Change the field name so the serialized field name matches the one the server expects\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014, ApiFest project\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": "Add missing remove function for series\n"
},
{
"from": "human",
"value": "package de.meldanor.VaadinChart.charts;\n\nimport java.util.Collection;\n\nimport com.vaadin.annotations.JavaScript;\n\n@JavaScript(\"circlechart_connector.min.js\")\npublic abstract class Cir... | java | chosen |
[
{
"from": "system",
"value": "Add a formal doc for an overridden method.\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2000-2018 TeamDev Ltd. All rights reserved.\n * TeamDev PROPRIETARY and CONFIDENTIAL.\n * Use is subject to license terms.\n */\n\npackage io.spine.web.firebase;\n\nim... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Revert \"Revert \"optimization of the transition between the pages\"\"\"\n\nThis reverts commit 4ad3b97fcc8ee3476a910d0a891eb66b069f2843.\n"
},
{
"from": "human",
"value": "package kurs.zadania.adressbook.appmanager;\n\nimport org.openqa.selenium.By;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Fix issue with the `switch-to-idp` controller mapping\n\nSince the switch-to-idp path variable can be an url, including forward\nslashes, it doesn’t match the specified `RequestMapping`. So this\nchanges the `RequestMapping` to match the complete path, including all \nslashes."... | java | chosen |
[
{
"from": "system",
"value": "Move Mutiny infrastructure initialization to STATIC_INIT\n"
},
{
"from": "human",
"value": "package io.quarkus.mutiny.deployment;\n\nimport java.util.concurrent.ExecutorService;\n\nimport io.quarkus.deployment.Feature;\nimport io.quarkus.deployment.annotations.Build... | java | chosen |
[
{
"from": "system",
"value": "Increase duplicate alert padding time to 2 minutes\n"
},
{
"from": "human",
"value": "package com.red.alert.config;\n\npublic class Alerts {\n // Date format for recent alerts display\n public static final String DATE_FORMAT = \"HH:mm:ss (dd/MM/yy)\";\n\n /... | java | chosen |
[
{
"from": "system",
"value": "Change old IETF reference link\n\nOld link will throw 404, so it could be replaced with new working one"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2013 Square, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not ... | java | chosen |
[
{
"from": "system",
"value": "Create atom-proxy for third party libs\n"
},
{
"from": "human",
"value": "package com.github.vedenin.thirdpartylib.htmlparser;\n\nimport com.github.vedenin.thirdpartylib.annotations.Atom;\nimport com.github.vedenin.thirdpartylib.annotations.BoilerPlate;\nimport org.... | java | chosen |
[
{
"from": "system",
"value": "Fix bug with second start splash activity\n"
},
{
"from": "human",
"value": "package com.elpatika.stepic.view;\n\n\nimport android.os.Bundle;\nimport android.os.Handler;\n\nimport com.elpatika.stepic.R;\nimport com.elpatika.stepic.base.BaseFragmentActivity;\n\n\npub... | java | chosen |
[
{
"from": "system",
"value": "Put @Override annotations back in now that jdbi is 1.6 only\n"
},
{
"from": "human",
"value": "package org.skife.jdbi.v2;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\nclass ListContainerBuilder implements ContainerBuilder<List<?>>\n{\n private final ... | java | chosen |
[
{
"from": "system",
"value": "Add stream() method to collection compile-time interface\n"
},
{
"from": "human",
"value": "package java.util;\n\nimport edu.columbia.cs.psl.phosphor.struct.ControlTaintTagStack;\nimport edu.columbia.cs.psl.phosphor.struct.TaintedBooleanWithObjTag;\n\npublic interfa... | java | chosen |
[
{
"from": "system",
"value": "Add logging message to sessionless op processor.\n"
},
{
"from": "human",
"value": "package com.tinkerpop.gremlin.server.op.standard;\n\nimport com.tinkerpop.gremlin.driver.Tokens;\nimport com.tinkerpop.gremlin.driver.message.RequestMessage;\nimport com.tinkerpop.gr... | java | chosen |
[
{
"from": "system",
"value": "Move setting of main camera from constructor to start method\n"
},
{
"from": "human",
"value": "package com.ezardlabs.dethsquare;\n\npublic final class Camera extends Script {\n\tpublic final RectF bounds = new RectF();\n\tpublic static Camera main;\n\n\tpublic Came... | java | chosen |
[
{
"from": "system",
"value": "Improve CSRF missing error message\n\nFixes gh-3738\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2002-2013 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 compli... | java | chosen |
[
{
"from": "system",
"value": "Replace deprecated @Cucumber.Options with @CucumberOptions\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 ad... | java | chosen |
[
{
"from": "system",
"value": "Add helper functions for getting the local and admin ports from a server instance\n"
},
{
"from": "human",
"value": "package io.dropwizard.lifecycle;\n\nimport org.eclipse.jetty.server.Server;\n\nimport java.util.EventListener;\n\npublic interface ServerLifecycleLis... | java | chosen |
[
{
"from": "system",
"value": "Fix URL encoding of lmgtfy output"
},
{
"from": "human",
"value": "package com.blamejared.mcbot.commands;\n\nimport com.blamejared.mcbot.commands.api.Command;\nimport com.blamejared.mcbot.commands.api.CommandBase;\nimport com.blamejared.mcbot.commands.api.CommandCon... | java | chosen |
[
{
"from": "system",
"value": "Set return type to Integer\n"
},
{
"from": "human",
"value": "package com.faforever.api.data.domain;\n\nimport com.yahoo.elide.annotation.Include;\nimport lombok.Setter;\nimport org.hibernate.annotations.Immutable;\n\nimport javax.persistence.Column;\nimport javax.p... | java | chosen |
[
{
"from": "system",
"value": "Change playfield factory method name to create()\n"
},
{
"from": "human",
"value": "package com.graphicsengine.charset;\n\nimport java.io.IOException;\n\nimport com.graphicsengine.assets.AssetManager;\nimport com.nucleus.renderer.BaseRenderer;\nimport com.nucleus.te... | java | chosen |
[
{
"from": "system",
"value": "Set the target of zombies spawned by the Zombie curse\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2014 Wyatt Childers.\n *\n * All Rights Reserved\n */\n\npackage com.skelril.aurora.prayer.PrayerFX;\n\nimport com.skelril.aurora.prayer.PrayerType;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Fix a bug where MappedBytes.writeUtf8 crashed the JVM if passed a null\n"
},
{
"from": "human",
"value": "package net.openhft.chronicle.bytes;\n\nimport org.junit.Test;\n\nimport java.io.File;\nimport java.io.RandomAccessFile;\n\nimport static org.junit.Assert.*;\n\... | java | chosen |
[
{
"from": "system",
"value": "Remove public declaration from test class.\n"
},
{
"from": "human",
"value": "package main;\n\n\nimport org.junit.jupiter.api.Test;\n\nimport static org.junit.jupiter.api.Assertions.assertArrayEquals;\n\npublic class MatrixTransformationTest {\n @Test\n void r... | java | chosen |
[
{
"from": "system",
"value": "Remove unused methods and make the class static\n\nSigned-off-by: Manolo Carrasco <0d18e2b6d68973f0f02c17c97e4765f716eca440@apache.org>\n"
},
{
"from": "human",
"value": "package com.vaadin.components.gwt.polymer.client;\n\nimport java.util.HashSet;\nimport java.uti... | java | chosen |
[
{
"from": "system",
"value": "Use relative path for web files location\n"
},
{
"from": "human",
"value": "package bramble.configuration;\n\npublic abstract class BrambleConfiguration {\n\t\n\tpublic static final int MASTER_PORT = 5800;\n\tpublic static final int SLAVE_PORT = 5801;\n\tpublic stat... | java | chosen |
[
{
"from": "system",
"value": "Change output format like digdag sessions\n"
},
{
"from": "human",
"value": "package io.digdag.cli.client;\n\nimport io.digdag.cli.SystemExitException;\nimport io.digdag.client.DigdagClient;\nimport io.digdag.client.api.RestProject;\nimport io.digdag.client.api.Rest... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.