conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Add back in missing auto config for galaxy integration tests.\n" }, { "from": "human", "value": "package ca.corefacility.bioinformatics.irida.annotation;\n\nimport java.lang.annotation.Documented;\nimport java.lang.annotation.ElementType;\nimport java.lang.annotatio...
java
chosen
[ { "from": "system", "value": "Update for changes in JavaHL conflict resolution callback\n" }, { "from": "human", "value": "package org.tigris.subversion.svnclientadapter.javahl;\n\nimport org.tigris.subversion.javahl.ConflictDescriptor;\nimport org.tigris.subversion.javahl.ConflictResolverCallba...
java
chosen
[ { "from": "system", "value": "Add quickstarts to root module.\n\nFixes checkstyle errors in samples.\n" }, { "from": "human", "value": "/*\n Copyright 2016, Google, Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with...
java
chosen
[ { "from": "system", "value": "Add test case related to devide numbers." }, { "from": "human", "value": "package study.hard.javalib.nativelib;\n\nimport static org.junit.Assert.*;\n\nimport org.junit.Before;\nimport org.junit.Test;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\npub...
java
chosen
[ { "from": "system", "value": "Remove more handle service cruft" }, { "from": "human", "value": "package us.kbase.workspace.test;\n\nimport static us.kbase.common.test.TestCommon.getTestProperty;\nimport static us.kbase.common.test.TestCommon.destroyDB;\n\nimport com.mongodb.DB;\n\npublic class W...
java
chosen
[ { "from": "system", "value": "Configure server to serve picture directly\n" }, { "from": "human", "value": "package fr.alecharp.picshare;\n\nimport fr.alecharp.picshare.config.PicShareModule;\nimport fr.alecharp.picshare.http.EventController;\nimport net.codestory.http.WebServer;\nimport net.cod...
java
chosen
[ { "from": "system", "value": "Clean up code and documentation\n\nThis file contained JavaDoc and unused code that wasn't cleaned up when I borrowed it from elsewhere in our codebase.\n" }, { "from": "human", "value": "package com.secdec.codedx.util;\n\n/******************************************...
java
chosen
[ { "from": "system", "value": "Make setSQLManager forced to load queries to avoid NPE and misunderstanding\n" }, { "from": "human", "value": "package org.tt.core.dm;\n\nimport org.tt.core.fetch.AbstractDataFetcher;\nimport org.tt.core.sql.AbstractQueries;\nimport org.tt.core.sql.AbstractSQLManage...
java
chosen
[ { "from": "system", "value": "Revert \"Structure index: change lock to MultiReadReentrantLock\"\n" }, { "from": "human", "value": "package org.exist.storage.index;\n\nimport org.exist.storage.BrokerPool;\nimport org.exist.storage.DefaultCacheManager;\nimport org.exist.storage.btree.BTree;\nimpor...
java
chosen
[ { "from": "system", "value": "Make POST request to /metadata/** return the new metadata instead of giving empty response\n" }, { "from": "human", "value": "package me.izstas.rfs.server.controller;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.web.b...
java
chosen
[ { "from": "system", "value": "Remove token to string override\n" }, { "from": "human", "value": "package com.zephir.psi;\n\nimport com.intellij.psi.tree.IElementType;\nimport com.zephir.ZephirLanguage;\nimport org.jetbrains.annotations.NonNls;\nimport org.jetbrains.annotations.NotNull;\n\n/**\n ...
java
chosen
[ { "from": "system", "value": "Fix XLocator when from from AssemblyLine.\n" }, { "from": "human", "value": "/**\n * @license\n * Copyright 2019 The FOAM Authors. All Rights Reserved.\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\npackage foam.core;\n\npublic class ContextAgentRunnable\n ...
java
chosen
[ { "from": "system", "value": "Update tower constructor and add fireProjectile()\n" }, { "from": "human", "value": "package main.java.engine.objects;\n\nimport main.java.engine.objects.TDObject;\n\npublic class Tower extends TDObject {\n\n\tpublic Tower(String name, boolean unique_id, double x, d...
java
chosen
[ { "from": "system", "value": "Update Java segmenter to use the same formula as the C version.\n" }, { "from": "human", "value": "package talkhouse;\n\npublic class Segmenter {\n private double[] buf=null;\n int winsz;\n int winshift;\n static final int MIN_SEGMENTS = 3;\n\n public Segmenter...
java
chosen
[ { "from": "system", "value": "Update position only when latest\n" }, { "from": "human", "value": "/*\n * Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the ...
java
chosen
[ { "from": "system", "value": "Set default output format to plain text" }, { "from": "human", "value": "/*\r\n ** 2013 August 11\r\n **\r\n ** The author disclaims copyright to this source code. In place of\r\n ** a legal notice, here is a blessing:\r\n ** May you do good and not evil.\r\n **...
java
chosen
[ { "from": "system", "value": "Add export log + permissions\n" }, { "from": "human", "value": "package nuclibook.routes;\n\nimport nuclibook.constants.P;\nimport nuclibook.entity_utils.ExportUtils;\nimport nuclibook.entity_utils.PatientUtils;\nimport nuclibook.entity_utils.SecurityUtils;\nimport ...
java
chosen
[ { "from": "system", "value": "Comment boyscouting: leaving the comments cleaner than you found them\n\ngit-svn-id: 14e2c384b8d34cccbaaca68230c28851bca468ab@15549 5a64d73e-33d6-4ccc-9058-23f8668ecac9\n" }, { "from": "human", "value": "package org.synyx.minos.core.web.support;\n\nimport org.synyx....
java
chosen
[ { "from": "system", "value": "Add documentation for BinaryFILE exception\n" }, { "from": "human", "value": "package org.jvirtanen.nassau.binaryfile;\n\nimport org.jvirtanen.nassau.ProtocolException;\n\npublic class BinaryFILEException extends ProtocolException {\n\n public BinaryFILEException...
java
chosen
[ { "from": "system", "value": "Remove kansface repo from input.\n" }, { "from": "human", "value": "package floobits;\n\nimport java.net.MalformedURLException;\nimport java.net.URL;\nimport javax.swing.JFrame;\nimport javax.swing.JOptionPane;\n\nimport com.intellij.openapi.actionSystem.AnAction;\n...
java
chosen
[ { "from": "system", "value": "Update build.gradle and fix compilation\n\nSigned-off-by: Steven Downer <e51bce9123e792aec8a98724fb48684dc936521f@outlook.com>\n" }, { "from": "human", "value": "/**\n * This file is part of AlmuraSDK, All Rights Reserved.\n *\n * Copyright (c) 2015 AlmuraDev <http:...
java
chosen
[ { "from": "system", "value": "Refactor the code and add the ArrayList with For Statement\n" }, { "from": "human", "value": "package com.samovich.java.basics.collections.list.arraylist;\n\n/**\n * Created by Samovich on 1/20/2015.\n */\npublic class ArrayListForEach {\n}\n" }, { "from": "...
java
chosen
[ { "from": "system", "value": "Swap FAB icon based on favorite status\n" }, { "from": "human", "value": "package net.squanchy.eventdetails.widget;\n\nimport android.content.Context;\nimport android.support.design.widget.CoordinatorLayout;\nimport android.support.design.widget.FloatingActionButton...
java
chosen
[ { "from": "system", "value": "Fix NPE on bungeecord lazy loading" }, { "from": "human", "value": "package com.github.games647.changeskin.bungee.listener;\n\nimport com.github.games647.changeskin.bungee.ChangeSkinBungee;\nimport com.github.games647.changeskin.core.SkinData;\nimport com.github.gam...
java
chosen
[ { "from": "system", "value": "Change to single quotes for faster lastInfexOf\n" }, { "from": "human", "value": "package de.retest.recheck.persistence;\n\n/**\n * Extends the standard {@link ClassAndMethodBasedNamingStrategy}, but instead of the qualified class name (e.g.\n * `com.mycompany.MyTes...
java
chosen
[ { "from": "system", "value": "Print found classes count and their names\n\nAffects #16\n" }, { "from": "human", "value": "package io.github.tatools.sunshine.core;\n\nimport java.util.List;\n\n/**\n * @author Dmytro Serdiuk (dmytro.serdiuk@gmail.com)\n * @version $Id$\n * @since 0.1\n */\npublic ...
java
chosen
[ { "from": "system", "value": "Remove unused item deferred register in block deferred register" }, { "from": "human", "value": "package info.u_team.u_team_core.util.registry;\n\nimport java.util.function.Supplier;\n\nimport info.u_team.u_team_core.api.registry.IUBlockRegistryType;\nimport net.min...
java
chosen
[ { "from": "system", "value": "Fix brittle TFLite Java version test\n\nMirror the native TF test for version checking.\n\nPiperOrigin-RevId: 305948727\nChange-Id: I18169d0a1b6b0deaefed7984237ea76481c2c59b\n" }, { "from": "human", "value": "/* Copyright 2017 The TensorFlow Authors. All Rights Rese...
java
chosen
[ { "from": "system", "value": "Fix Checkstyle issues: First sentence should end with a period.\n\ngit-svn-id: c455d203a03ec41bf444183aad31e7cce55db786@1352225 13f79535-47bb-0310-9956-ffa450edef68\n" }, { "from": "human", "value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one ...
java
chosen
[ { "from": "system", "value": "Remove confusing contact name placeholder value during new user creation.\n" }, { "from": "human", "value": "package modules.admin.User.actions;\n\nimport modules.admin.domain.Contact;\nimport modules.admin.domain.Contact.ContactType;\nimport modules.admin.domain.Us...
java
chosen
[ { "from": "system", "value": "Add the new modid field in the integration call" }, { "from": "human", "value": "package info.u_team.u_team_test.integration;\n\nimport org.apache.logging.log4j.*;\n\nimport info.u_team.u_team_core.api.integration.*;\n\n@Integration(\"uteamcore\")\npublic class Test...
java
chosen
[ { "from": "system", "value": "Remove compressor disablement while driving\n" }, { "from": "human", "value": "/*\n * To change this template, choose Tools | Templates\n * and open the template in the editor.\n */\npackage edu.stuy.commands;\n\nimport edu.wpi.first.wpilibj.Compressor;\nimport java...
java
chosen
[ { "from": "system", "value": "Add random id generating for tests\n" }, { "from": "human", "value": "package by.triumgroup.recourse.supplier.entity.model;\n\nimport by.triumgroup.recourse.entity.model.BaseEntity;\nimport org.springframework.data.util.Pair;\n\npublic interface EntityIntegerPKSuppl...
java
chosen
[ { "from": "system", "value": "Add helper method to get all the empires we have some relation with." }, { "from": "human", "value": "package com.galvarez.ttw.model.components;\n\nimport java.util.EnumSet;\nimport java.util.HashMap;\nimport java.util.Map;\n\nimport com.artemis.Component;\nimport c...
java
chosen
[ { "from": "system", "value": "Update language to comply with Android's inclusive language guidance\n\nSee https://source.android.com/setup/contribute/respectful-code for reference\n\n\nBUG=161896447\nTest: ./gradlew bOS\n\nChange-Id: I3479185e782542fc3d5164ba00c04888806e0068\n" }, { "from": "human",...
java
chosen
[ { "from": "system", "value": "Correct the version number of the lastest model.\n" }, { "from": "human", "value": "package com.pushtechnology.adapters.rest.model.latest;\n\nimport java.util.List;\n\nimport com.pushtechnology.adapters.rest.model.AnyModel;\n\nimport lombok.AllArgsConstructor;\nimpo...
java
chosen
[ { "from": "system", "value": "Make Crashlytics Tree handle only errors\n" }, { "from": "human", "value": "package com.wakatime.android.support.log;\n\nimport android.util.Log;\n\nimport com.crashlytics.android.Crashlytics;\n\nimport timber.log.Timber;\n\n/**\n * @author Joao Pedro Evangelista\n ...
java
chosen
[ { "from": "system", "value": "Set schedule status as OPEN when it is created\n" }, { "from": "human", "value": "package com.jmb.springfactory.service.productionschedule;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.stereotype.Service;\n\nimport co...
java
chosen
[ { "from": "system", "value": "Use Assert.fail instead of Assert.assertTrue(false)\n" }, { "from": "human", "value": "package com.github.valfirst.jbehave.junit.monitoring;\n\nimport org.junit.Ignore;\nimport org.junit.Test;\n\nimport static org.junit.Assert.assertTrue;\n\n/**\n * Class IgnoredTes...
java
chosen
[ { "from": "system", "value": "Remove obrigatoriedade da versão para retorno da SEFAZ MG" }, { "from": "human", "value": "package com.fincatto.documentofiscal.nfe400.classes;\n\nimport org.simpleframework.xml.Attribute;\nimport org.simpleframework.xml.Element;\nimport org.simpleframework.xml.Root...
java
chosen
[ { "from": "system", "value": "Add init as a command\n\nresolves #5\n" }, { "from": "human", "value": "import parse.GreetParser;\n\npublic class App {\n public String getGreeting() {\n return \"Hello world.\";\n }\n\n /**\n * Main entry point to G2Tutorial.\n *\n * @param args comman...
java
chosen
[ { "from": "system", "value": "Enable support for using new MobileConfigNativeModule in RN Core/Fabric C++\n\nSummary: Enable support for using new MobileConfigNativeModule in RN Core/Fabric C++. Hack will be removed as part of T40273916 once MobileConfigNativeModule has rolled out to 100% of users and FbRea...
java
chosen
[ { "from": "system", "value": "Increase startup attempts from 1 to 3 in MongoDB container\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 t...
java
chosen
[ { "from": "system", "value": "Revert namespace. Should write to distinguish the android namespace.\n" }, { "from": "human", "value": "package com.sys1yagi.databindingsample.databinding;\n\nimport com.squareup.picasso.Picasso;\nimport com.sys1yagi.databindingsample.tools.RoundedCornerTransformati...
java
chosen
[ { "from": "system", "value": "Add missing license headers to org.apache.sling.jcr.oak.server\n\ngit-svn-id: 6eed74fe9a15c8da84b9a8d7f2960c0406113ece@1668819 13f79535-47bb-0310-9956-ffa450edef68\n" }, { "from": "human", "value": "/**\n * Contains in implementation of a SlingRepository based on Ap...
java
chosen
[ { "from": "system", "value": ":speaker: Add Logs on Files Creation of Folders\n" }, { "from": "human", "value": "package zero.zd.zquestionnaire;\n\nimport android.os.Bundle;\nimport android.os.Environment;\nimport android.support.v7.app.AppCompatActivity;\nimport android.util.Log;\nimport androi...
java
chosen
[ { "from": "system", "value": "[clean] Use the specifiers in the JCC order\n" }, { "from": "human", "value": "package net.safedata.springboot.training.d02.s04.exceptions;\n\nimport net.safedata.springboot.training.d02.s04.dto.MessageDTO;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\...
java
chosen
[ { "from": "system", "value": "Change Sink to Source in license header" }, { "from": "human", "value": "/*\n * Copyright (C) 2016 The Android Open Sink 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 Lic...
java
chosen
[ { "from": "system", "value": "Fix to count 0 on empty files and (amount of line-breaks + 1) on non-empty files\n" }, { "from": "human", "value": "package bogush;\n\nimport java.io.*;\nimport java.nio.file.Path;\n\nclass LineCounter {\n static int count(Path file) throws IOException {\n ...
java
chosen
[ { "from": "system", "value": "Fix Compilation Error in React Native 0.47.0" }, { "from": "human", "value": "package com.rt2zz.reactnativecontacts;\n\nimport com.facebook.react.ReactPackage;\nimport com.facebook.react.bridge.JavaScriptModule;\nimport com.facebook.react.bridge.NativeModule;\nimpor...
java
chosen
[ { "from": "system", "value": "Add registration interface contract definition\n\nThis clarifies the contractual details of Registration interface.\nNotably it clarifies that the close() method is non-blocking.\n\nChange-Id: Ie898c4ae2baf40c6d40e83a583f5046a9c1e0d84\nSigned-off-by: Robert Varga <b8bd3df785fdc...
java
chosen
[ { "from": "system", "value": "Add endpoint for updating own presence\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 assoc...
java
chosen
[ { "from": "system", "value": "Use string version so we dont need import\n" }, { "from": "human", "value": "package flyway.asdistats;\n\nimport fi.nls.oskari.domain.map.view.Bundle;\nimport org.flywaydb.core.api.migration.BaseJavaMigration;\nimport org.flywaydb.core.api.migration.Context;\nimport...
java
chosen
[ { "from": "system", "value": "Replace unicode characters in benchmark data\n" }, { "from": "human", "value": "package org.spoofax.jsglr2.testset;\n\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.util.List;\nimport java.util.Scanner;\n\nimport org.spoofax.jsglr2.testset.te...
java
chosen
[ { "from": "system", "value": "Fix incorrect translation key metadata export\n" }, { "from": "human", "value": "package org.cyclops.cyclopscore.metadata;\n\nimport com.google.gson.JsonArray;\nimport com.google.gson.JsonObject;\nimport net.minecraft.item.Item;\nimport net.minecraft.item.ItemStack;...
java
chosen
[ { "from": "system", "value": "Change persistence to processing for clarity\n\nSigned-off-by: Jacob Filik <3a868c14e39a7f9b8bacb473ae15a5c5ce613b42@diamond.ac.uk>" }, { "from": "human", "value": "/*-\n * Copyright 2016 Diamond Light Source Ltd.\n *\n * All rights reserved. This program and the ac...
java
chosen
[ { "from": "system", "value": "Add StatementDescriptor field for direct debits" }, { "from": "human", "value": "package com.mangopay.entities.subentities;\n\nimport com.mangopay.core.Dto;\nimport com.mangopay.core.interfaces.IPayInPaymentDetails;\nimport com.mangopay.core.enumerations.DirectDebit...
java
chosen
[ { "from": "system", "value": "Fix use regions cancelling interaction with blocks\n" }, { "from": "human", "value": "package in.twizmwaz.cardinal.module.modules.appliedRegion.type;\n\nimport in.twizmwaz.cardinal.module.modules.appliedRegion.AppliedRegion;\nimport in.twizmwaz.cardinal.module.modul...
java
chosen
[ { "from": "system", "value": "Revert \"Updating md5 for fixed file\" because this was fixed properly in unstable (but will break SnpEff if put into Stable).\n\nThis reverts commit 6b4182c6ab3e214da4c73bc6f3687ac6d1c0b72c.\n" }, { "from": "human", "value": "package org.broadinstitute.sting.gatk.w...
java
chosen
[ { "from": "system", "value": "Change return type of declared method to new unique constraints\n\nOPEN - task 32: Add \"Create Item\" functionalities \nhttp://github.com/DevOpsDistilled/OpERP/issues/issue/32" }, { "from": "human", "value": "package devopsdistilled.operp.server.data.repo.items;\n\...
java
chosen
[ { "from": "system", "value": "Fix to work in Windows\n\nhttps://github.com/nulab/backlog4j/issues/49" }, { "from": "human", "value": "package com.nulabinc.backlog4j.internal.json;\n\nimport java.io.IOException;\nimport java.nio.charset.StandardCharsets;\nimport java.nio.file.Files;\nimport java....
java
chosen
[ { "from": "system", "value": "feat(membership): Add created_at and updated_at fields\n" }, { "from": "human", "value": "/**\n * Copyright (C) 2015 The Gravitee team (http://gravitee.io)\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": "Reformat source code according to Vaadin conventions" }, { "from": "human", "value": "package org.vaadin.mcont.demo;\n\n\nimport com.vaadin.annotations.Theme;\nimport com.vaadin.annotations.Title;\nimport com.vaadin.server.VaadinRequest;\nimport com.vaadin.ui.Table;...
java
chosen
[ { "from": "system", "value": "Add http error code to constructor.\n" }, { "from": "human", "value": "// Copyright 2014, Kevin Ko <kevin@faveset.com>\n\npackage com.faveset.khttp;\n\nclass InvalidRequestException extends Exception {\n public InvalidRequestException(String reason) {\n su...
java
chosen
[ { "from": "system", "value": "Add method to scroll to selected index\n" }, { "from": "human", "value": "package seedu.taskell.logic.commands;\n\nimport seedu.taskell.commons.core.EventsCenter;\nimport seedu.taskell.commons.core.Messages;\nimport seedu.taskell.commons.events.ui.IncorrectCommandAt...
java
chosen
[ { "from": "system", "value": "Check for null database to allow ValidatingVisitorTest to pass\n\ngit-svn-id: a91d99a4c51940524e539abe295d6ea473345dd2@1386 e6edf6fb-f266-4316-afb4-e53d95876a76\n" }, { "from": "human", "value": "package liquibase.database.typeconversion.core;\r\n\r\nimport liquibas...
java
chosen
[ { "from": "system", "value": "Use expected identifier as actual if no match can be found.\n" }, { "from": "human", "value": "package no.steria.skuldsku.testrunner.common;\n\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport no.steria.skuldsku.testrunner.httprunne...
java
chosen
[ { "from": "system", "value": "Add @NonNull annotations for wasDeleted() and wasNotDeleted()" }, { "from": "human", "value": "package com.pushtorefresh.storio.db.operation.delete;\n\nimport android.support.annotation.NonNull;\n\nimport java.util.Collections;\nimport java.util.Map;\n\npublic class...
java
chosen
[ { "from": "system", "value": "Improve escapeHtmlId with unicode escape numbers and space and ()\n" }, { "from": "human", "value": "package org.optaplanner.benchmark.impl.report;\n\npublic class ReportHelper {\n\n /**\n * Escape illegal HTML element id characters, such as a dot.\n * <p...
java
chosen
[ { "from": "system", "value": "Adjust test for concurrent environment\n" }, { "from": "human", "value": "package com.edulify.modules.geolocation;\n\nimport org.junit.Assert;\nimport org.junit.Test;\n\nimport java.util.concurrent.CompletableFuture;\nimport java.util.concurrent.TimeUnit;\n\nimport ...
java
chosen
[ { "from": "system", "value": "Enable deserializer to support multi date formats\n" }, { "from": "human", "value": "package org.springframework.data.cloudant.core;\n\nimport com.google.gson.*;\nimport org.joda.time.DateTime;\nimport org.joda.time.DateTimeZone;\nimport org.joda.time.format.DateTim...
java
chosen
[ { "from": "system", "value": "Add a test for user credentials\n" }, { "from": "human", "value": "/**\n *\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *\n */\n\npackage com.microsof...
java
chosen
[ { "from": "system", "value": "Prepare version number for next beta" }, { "from": "human", "value": "package cgeo.geocaching.utils;\n\nimport cgeo.geocaching.BuildConfig;\n\npublic class BranchDetectionHelper {\n\n // should contain the version name of the last feature release\n public stat...
java
chosen
[ { "from": "system", "value": "Fix issue with Windows paths\n" }, { "from": "human", "value": "package org.rabix.executor.pathmapper.local;\n\nimport java.io.File;\nimport java.io.IOException;\nimport java.util.Map;\n\nimport org.rabix.bindings.mapper.FileMappingException;\nimport org.rabix.bindi...
java
chosen
[ { "from": "system", "value": "Fix timestamp format in lamp_off message\n" }, { "from": "human", "value": "package de.schunterkino.kinoapi.websocket.messages.christie;\n\nimport java.time.Instant;\nimport java.time.ZoneId;\nimport java.time.format.DateTimeFormatter;\n\nimport de.schunterkino.kino...
java
chosen
[ { "from": "system", "value": "Replace move by copy then delete\n" }, { "from": "human", "value": "package dynamo.backlog.tasks.files;\n\nimport java.io.IOException;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\nimport java.nio.file.StandardCopyOption;\n\nimport dynamo.manager.Downloa...
java
chosen
[ { "from": "system", "value": "[PLAT-2785] Format expanded null as empty string\n" }, { "from": "human", "value": "/**\n * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies\n *\n * Please see distribution for license.\n */\npackage com.opengamma.web.server.push.a...
java
chosen
[ { "from": "system", "value": "Fix a typo in javadoc\n" }, { "from": "human", "value": "package org.apache.wicket.bean.validation;\n\nimport org.apache.wicket.markup.html.form.FormComponent;\nimport org.apache.wicket.model.IPropertyReflectionAwareModel;\n\n/**\n * Resolves the property to be vali...
java
chosen
[ { "from": "system", "value": "Add missing newline from EOF\n" }, { "from": "human", "value": "/*\n * Copyright 2022 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * Y...
java
chosen
[ { "from": "system", "value": "Increase intake motor value to 1.0." }, { "from": "human", "value": "package org.usfirst.frc.team3335.robot.subsystems;\r\n\r\nimport edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;\r\nimport org.usfirst.frc.team3335.robot.RobotMap;\r\n\r\nimport com.ctre.CANTa...
java
chosen
[ { "from": "system", "value": "Fix a NPE plaguing tests that use the BlockingQueue transport.\n" }, { "from": "human", "value": "/*\n * Copyright 2012 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 ...
java
chosen
[ { "from": "system", "value": "Add description of serialize and deserialize(not completed)\n" }, { "from": "human", "value": "package com.kii.thingif.command;\n\n/**\n * Represents base cass of Action.\n */\npublic interface Action{\n}\n" }, { "from": "gpt", "value": "package com.kii....
java
chosen
[ { "from": "system", "value": "Add _ as valid parameter symbol\n" }, { "from": "human", "value": "package me.konsolas.conditionalcommands.placeholders;\n\nimport org.bukkit.entity.Player;\nimport org.bukkit.plugin.Plugin;\n\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\npubl...
java
chosen
[ { "from": "system", "value": "core: Fix ISO Domain List refresh NPE\n\nFix ISO DomainList refresh NPE when no ISO domain\nis configured.\n\nChange-Id: Ied2b1490d8f66bb40f6f456d2d39bb05120e97d3\nBug-Url: https://bugzilla.redhat.com/1291202\nSigned-off-by: Marek Libra <e8e92ef0eef30bdb5bafbacaf4ac8261fffd12ff...
java
chosen
[ { "from": "system", "value": "Adjust path to new stage profile" }, { "from": "human", "value": "/*\n * Copyright 2016 Daniel Nordhoff-Vergien\n * \n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n * use this file except in compliance with the License. You may o...
java
chosen
[ { "from": "system", "value": "Clarify intervals of source region.\n" }, { "from": "human", "value": "package org.metaborg.spoofax.core.messages;\n\npublic interface ISourceRegion {\n public int startOffset();\n \n public int startRow();\n\n public int startColumn();\n\n public int...
java
chosen
[ { "from": "system", "value": "Update Request & Response classes\n" }, { "from": "human", "value": "package com.kevinsimard.lambda.function;\n\nimport com.amazonaws.services.lambda.runtime.Context;\nimport com.amazonaws.services.lambda.runtime.RequestHandler;\n\n@SuppressWarnings(\"unused\")\npub...
java
chosen
[ { "from": "system", "value": "Use local_settings.json when ci settings are not available\n" }, { "from": "human", "value": "package com.bitmovin.bitcodin.api.test;\n\nimport java.io.BufferedReader;\nimport java.io.FileNotFoundException;\nimport java.io.InputStream;\nimport java.io.InputStreamRea...
java
chosen
[ { "from": "system", "value": "Add kryo thread pool instance.\n" }, { "from": "human", "value": "package com.miguelgaeta.bootstrap.mg_preference;\n\nimport android.content.Context;\n\nimport java.lang.reflect.Type;\n\nimport lombok.NonNull;\n\n/**\n * Created by Miguel Gaeta on 9/25/15.\n */\npub...
java
chosen
[ { "from": "system", "value": "Add array of booleans to maintain state\n" }, { "from": "human", "value": "package org.cryptonit;\n\nimport javacard.framework.JCSystem;\n\npublic class IOBuffer {\n private FileIndex index = null;\n private byte [] buffer = null;\n\n public IOBuffer(FileIn...
java
chosen
[ { "from": "system", "value": "Change return type to Product for findByProductName()\n\nProductName is unique by constraint\n\nOPEN - task 51: Create CRUD packages for Product entity \nhttp://github.com/DevOpsDistilled/OpERP/issues/issue/51" }, { "from": "human", "value": "package devopsdistilled...
java
chosen
[ { "from": "system", "value": "Update ServerApp :+1: :rocket: ->18\n" }, { "from": "human", "value": "/*\n * To change this template, choose Tools | Templates\n * and open the template in the editor.\n */\npackage serverapp;\n\nimport java.util.StringTokenizer;\nimport Hardware.windmill;\n\n/**\...
java
chosen
[ { "from": "system", "value": "JCR-2357: Duplicate entries in the index\n- javadoc\n\ngit-svn-id: 02b679d096242155780e1604e997947d154ee04a@828343 13f79535-47bb-0310-9956-ffa450edef68\n" }, { "from": "human", "value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * c...
java
chosen
[ { "from": "system", "value": "Make the authConfig field final.\n" }, { "from": "human", "value": "package org.jboss.shamrock.security;\n\nimport java.util.List;\n\nimport org.jboss.builder.item.MultiBuildItem;\nimport org.jboss.shamrock.runtime.RuntimeValue;\n\n/**\n * Information about an authe...
java
chosen
[ { "from": "system", "value": "Fix another bug with the random play request thread initialization.\n\ngit-svn-id: 4739e81c2fe647bfb539b919360e2c658e6121ea@501 716a755e-b13f-cedc-210d-596dafc6fb9b\n" }, { "from": "human", "value": "package server.threads;\n\nimport java.util.List;\nimport java.uti...
java
chosen
[ { "from": "system", "value": "Fix unit test after adding separate baseline/proteomics filtering\n" }, { "from": "human", "value": "package uk.ac.ebi.atlas.search.analyticsindex.baseline;\n\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.mockito.Mock;\nimport org.mockito.run...
java
chosen
[ { "from": "system", "value": "Set property in case it has been set wrong previously\n\n\ngit-svn-id: 7abf240ce0ec4644a9bf59262a41ad5796234f37@372 43379f7c-b030-0410-81db-e0b70742847c\n" }, { "from": "human", "value": "package org.jaxen.javabean;\n\nimport junit.framework.TestCase;\n\npublic clas...
java
chosen
[ { "from": "system", "value": "Create failover for if the helpmessage fails to send\n" }, { "from": "human", "value": "package me.duncte123.skybot.commands;\n\nimport me.duncte123.skybot.Command;\nimport me.duncte123.skybot.utils.HelpEmbeds;\nimport net.dv8tion.jda.core.events.message.MessageRece...
java
chosen
[ { "from": "system", "value": "Fix trade signs on Bitfinex\n* Trades from all other exchanges are presented with positive amounts (with the trade type indicating direction). On Bitfinex, sells were arriving negative and buys positive.\n" }, { "from": "human", "value": "package info.bitrich.xchang...
java
chosen
[ { "from": "system", "value": "Allow Endpoint JMX export to be switched off\n" }, { "from": "human", "value": "/*\n * Copyright 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 compliance with th...
java
chosen