conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "TODO: Write realistic test for logging in\n"
},
{
"from": "human",
"value": "package com.nguyenmp.starclient.test;\n\nimport com.nguyenmp.starclient.STAR;\nimport org.junit.Assert;\nimport org.junit.Test;\n\nimport java.io.IOException;\n\npublic class STAR_Test {\n\... | java | chosen |
[
{
"from": "system",
"value": "Use getSource to access SourceTask source\n"
},
{
"from": "human",
"value": "package com.github.sherter.googlejavaformatgradleplugin;\n\nimport org.gradle.api.tasks.SourceTask;\n\nabstract class FormatTask extends SourceTask {\n\n protected SharedContext sharedCont... | java | chosen |
[
{
"from": "system",
"value": "Switch + case + return was leaving values on the vm stack. Fixed\n"
},
{
"from": "human",
"value": "package org.bds.test;\n\nimport org.bds.Config;\nimport org.bds.util.Gpr;\nimport org.junit.Before;\nimport org.junit.Test;\n\n/**\n * Quick test cases when creating ... | java | chosen |
[
{
"from": "system",
"value": "Add new fields to support session resumption"
},
{
"from": "human",
"value": "package org.bouncycastle.crypto.tls;\n\npublic class SecurityParameters\n{\n int entity = -1;\n int prfAlgorithm = -1;\n short compressionAlgorithm = -1;\n int verifyDataLength... | java | chosen |
[
{
"from": "system",
"value": "Revert \"reverse changes to MorhiaFixtures which is specific to 1.2.1\"\n\nThis reverts commit 4e00685568a7eb9edcf39bd20d2c5272f5d365aa.\n"
},
{
"from": "human",
"value": "package play.test;\n\nimport java.util.List;\n\nimport play.Play;\nimport play.modules.morphia... | java | chosen |
[
{
"from": "system",
"value": "Fix Appends when no results were asked.\n"
},
{
"from": "human",
"value": "package com.google.cloud.anviltop.hbase.adapters;\n\nimport com.google.bigtable.anviltop.AnviltopServices;\nimport org.apache.hadoop.hbase.Cell;\nimport org.apache.hadoop.hbase.client.Result;... | java | chosen |
[
{
"from": "system",
"value": "Use ScaleType.FIT_START to align graph and plot better.\n"
},
{
"from": "human",
"value": "\npackage com.antonyt.coveredimageview.example;\n\nimport android.app.Activity;\nimport android.os.Bundle;\nimport android.view.View;\nimport android.view.View.OnClickListener... | java | chosen |
[
{
"from": "system",
"value": "Rename cash flow getter to getHistory\n"
},
{
"from": "human",
"value": "/*\n * LapisCommons\n * Copyright (c) 2014, LapisDev <https://github.com/LapisDev>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and ... | java | chosen |
[
{
"from": "system",
"value": "Synchronize access to static instance in clear()\n"
},
{
"from": "human",
"value": "package org.apache.lucene.spatial.base.context;\n\nimport org.apache.lucene.spatial.base.context.simple.SimpleSpatialContext;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactor... | java | chosen |
[
{
"from": "system",
"value": "Clean up integer literals in trade reporter\n"
},
{
"from": "human",
"value": "package com.paritytrading.parity.reporter;\n\nimport com.paritytrading.parity.net.pmr.PMR;\nimport com.paritytrading.parity.net.pmr.PMRListener;\nimport java.util.Locale;\n\nabstract clas... | java | chosen |
[
{
"from": "system",
"value": "Correct message body length for unicode chars.\n"
},
{
"from": "human",
"value": "package cc.blynk.common.handlers.common.encoders;\n\nimport cc.blynk.common.enums.Command;\nimport cc.blynk.common.model.messages.Message;\nimport cc.blynk.common.model.messages.Messag... | java | chosen |
[
{
"from": "system",
"value": "Check metalanguage applicability in getAllBaseLanguageIdsWithAny()\n\nGitOrigin-RevId: f76645e6ba0672f74059aa8b4ec97855d6a5527c"
},
{
"from": "human",
"value": "// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license tha... | java | chosen |
[
{
"from": "system",
"value": "Add special charecters to the test as per chuy's request\n"
},
{
"from": "human",
"value": "package org.dataportabilityproject.job;\n\nimport static com.google.common.truth.Truth.assertThat;\n\nimport javax.crypto.KeyGenerator;\nimport javax.crypto.SecretKey;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Add defaults to guild type playlist settings\n\n"
},
{
"from": "human",
"value": "package com.avairebot.orion.database.transformers;\n\nimport com.avairebot.orion.contracts.database.transformers.Transformer;\nimport com.avairebot.orion.database.collection.DataRow;\n... | java | chosen |
[
{
"from": "system",
"value": "Rename offset in body weight mapper with UTC\n"
},
{
"from": "human",
"value": "package org.openmhealth.shim.fitbit.mapper;\n\nimport com.fasterxml.jackson.databind.JsonNode;\nimport org.openmhealth.schema.domain.omh.BodyWeight;\nimport org.openmhealth.schema.domain... | java | chosen |
[
{
"from": "system",
"value": "Fix ConcurrentModificationException in tile chunk load hook\n"
},
{
"from": "human",
"value": "package codechicken.lib.world;\n\nimport cpw.mods.fml.common.eventhandler.SubscribeEvent;\nimport net.minecraft.tileentity.TileEntity;\nimport net.minecraftforge.common.Mi... | java | chosen |
[
{
"from": "system",
"value": "Print stack trace if Nimbus is not avaible\n"
},
{
"from": "human",
"value": "package org.robockets.runqueue.client;\n\nimport javax.swing.SwingUtilities;\nimport javax.swing.UIManager;\n\nimport org.robockets.runqueue.client.controllers.Controllers;\n\n\npublic cla... | java | chosen |
[
{
"from": "system",
"value": "Make Studio deployer specific to workstations\n\n(cherry picked from commit 5c3291237d53cce00f68a6f209136951fc2a66fe)\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2020 The Bazel Authors. All rights reserved.\n *\n * Licensed under the Apache License, Version ... | java | chosen |
[
{
"from": "system",
"value": "Add missing import to fix build\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2012-2013 Facebook, 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 ma... | java | chosen |
[
{
"from": "system",
"value": "Fix compile error due to class rename.\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 the Lice... | java | chosen |
[
{
"from": "system",
"value": "Fix exception in initialization error in GameLoop\n"
},
{
"from": "human",
"value": "package com.shc.silenceengine.core.gameloops;\n\nimport com.shc.silenceengine.core.IGameLoop;\nimport com.shc.silenceengine.core.SilenceEngine;\nimport com.shc.silenceengine.graphic... | java | chosen |
[
{
"from": "system",
"value": "Remove transitive modifier from dependencies.\n"
},
{
"from": "human",
"value": "\n/**\n * See {@link org.cojen.tupl.Database} to get started with Tupl.\n */\nmodule org.cojen.tupl {\n exports org.cojen.tupl;\n exports org.cojen.tupl.ext;\n exports org.coje... | java | chosen |
[
{
"from": "system",
"value": "Add support for AnswerServer likelihood\n\n[rev. matthew.gordon]\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Hewlett-Packard Development Company, L.P.\n * Licensed under the MIT License (the \"License\"); you may not use this file except in compliance w... | java | chosen |
[
{
"from": "system",
"value": "Add automatic refresh of movies when new data is available\n"
},
{
"from": "human",
"value": "package com.jonasgerdes.schauburgr.usecase.home.movies.movie_list;\n\nimport android.support.v7.widget.RecyclerView;\nimport android.view.LayoutInflater;\nimport android.vi... | java | chosen |
[
{
"from": "system",
"value": "Fix allocation of points array for real\n"
},
{
"from": "human",
"value": "/**\n * $$\\\\ToureNPlaner\\\\$$\n */\npackage algorithms;\n\nimport com.carrotsearch.hppc.IntArrayList;\n\npublic class Points {\n\tprivate IntArrayList points;\n\n\tpublic Points() {\n\t\tp... | java | chosen |
[
{
"from": "system",
"value": "Replace empty list creation with Collections.emptyList()\n"
},
{
"from": "human",
"value": "package com.alexrnl.subtitlecorrector.correctionstrategy;\n\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Objects;\nimport java.util.logging.Logger;\... | java | chosen |
[
{
"from": "system",
"value": "Set separate game mode permissions default to true.\n\nI meant to do this ages ago.\n"
},
{
"from": "human",
"value": "/*\n * This file is part of Nucleus, licensed under the MIT License (MIT). See the LICENSE.txt file\n * at the root of this project for more detail... | java | chosen |
[
{
"from": "system",
"value": "Use builder to create object.\n"
},
{
"from": "human",
"value": "package com.theaccountant.accountabilityhack.processor;\n\nimport com.theaccountant.accountabilityhack.data.SchoolEntry;\nimport com.theaccountant.accountabilityhack.data.SchoolRegistry;\n\nimport java... | java | chosen |
[
{
"from": "system",
"value": "Remove project parameter from watching service"
},
{
"from": "human",
"value": "/*******************************************************************************\n * Copyright (c) 2014 Codenvy, S.A.\n * All rights reserved. This program and the accompanying materials... | java | chosen |
[
{
"from": "system",
"value": "Store first position of statements\n"
},
{
"from": "human",
"value": "package dk.in2isoft.onlineobjects.apps.reader.perspective;\n\n\npublic class StatementPerspective {\n\tprivate String text;\n\tprivate long id;\n\tprivate boolean found;\n\n\tpublic String getText... | java | chosen |
[
{
"from": "system",
"value": "Add support for the OPTIONS method\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2013 Matija Mazi\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy of\n * this software and associated documentation files (the \"Software\"... | java | chosen |
[
{
"from": "system",
"value": "Update method to get color\n"
},
{
"from": "human",
"value": "package com.github.javiersantos.materialstyleddialogs;\n\nimport android.content.Context;\nimport android.os.Build;\nimport android.support.annotation.ColorRes;\nimport android.util.TypedValue;\n\nclass U... | java | chosen |
[
{
"from": "system",
"value": "Add copyrigth comments to some classes\n"
},
{
"from": "human",
"value": "package org.uma.jmetal.util.solutionattribute.impl;\n\nimport org.junit.Test;\nimport org.uma.jmetal.solution.DoubleSolution;\n\nimport static org.junit.Assert.*;\n\n/**\n * @author Antonio J.... | java | chosen |
[
{
"from": "system",
"value": "Add click events for buttons.\n"
},
{
"from": "human",
"value": "/**\n * Copyright (C) 2015 android10.org. All rights reserved.\n * @author Fernando Cejas (the android10 coder)\n */\npackage com.fernandocejas.android10.rx.sample.activity;\n\nimport android.app.Activ... | java | chosen |
[
{
"from": "system",
"value": "Test the Autowired bean of context."
},
{
"from": "human",
"value": "/*\n * Copyright 2016 SEARCH-The National Consortium for Justice Information and Statistics\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file e... | java | chosen |
[
{
"from": "system",
"value": "Add retry strategy for RPC server\n"
},
{
"from": "human",
"value": "package com.yuzhouwan.site.service.rpc.core;\n\nimport com.yuzhouwan.site.api.rpc.service.IRPCService;\nimport com.yuzhouwan.site.api.rpc.service.Server;\nimport com.yuzhouwan.site.service.rpc.serv... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Fix over writing previous addToResult calls\"\n\nThis reverts commit 45c375c38e1a02347c17d172a6bd7dc68aebcdd4.\n"
},
{
"from": "human",
"value": "/**\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. ... | java | chosen |
[
{
"from": "system",
"value": "Return Slices rather than Pages.\n"
},
{
"from": "human",
"value": "package org.demyo.dao;\n\nimport org.demyo.model.IModel;\n\nimport org.springframework.data.jpa.repository.JpaRepository;\nimport org.springframework.data.repository.NoRepositoryBean;\n\n/**\n * Bas... | java | chosen |
[
{
"from": "system",
"value": "Make sure encoding closes correctly\n"
},
{
"from": "human",
"value": "package io.appium.android.bootstrap.utils;\n\nimport java.nio.charset.Charset;\n\n\npublic class UnicodeEncoder {\n private static final Charset M_UTF7 = Charset.forName(\"x-IMAP-mailbox-name\")... | java | chosen |
[
{
"from": "system",
"value": "wappalyzer: Tweak UnitTest to collect all failing patterns\n\nSigned-off-by: kingthorin <83ea41af2b636790c02743e48206546e1fa891e4@users.noreply.github.com>"
},
{
"from": "human",
"value": "/*\n * Zed Attack Proxy (ZAP) and its related class files.\n *\n * ZAP is an ... | java | chosen |
[
{
"from": "system",
"value": "Fix eIDAS date (Brussels date is used)\n"
},
{
"from": "human",
"value": "package eu.europa.esig.dss.validation.process.qmatrix;\n\nimport java.util.Date;\n\nimport javax.xml.bind.DatatypeConverter;\n\npublic final class EIDASUtils {\n\n\tprivate EIDASUtils() {\n\t}... | java | chosen |
[
{
"from": "system",
"value": "Enable FirefoxText (WebDriver 2.53.1 is working again with Firefox 47.0.1)\n"
},
{
"from": "human",
"value": "/*\n * (C) Copyright 2015 Boni Garcia (http://bonigarcia.github.io/)\n *\n * All rights reserved. This program and the accompanying materials\n * are made a... | java | chosen |
[
{
"from": "system",
"value": "Fix compilation error in RealWorldAppInjector\n"
},
{
"from": "human",
"value": "package it.cosenonjaviste.daggermock.realworldapp;\n\nimport android.app.Activity;\n\nimport dagger.Binds;\nimport dagger.Module;\nimport dagger.android.ActivityKey;\nimport dagger.andr... | java | chosen |
[
{
"from": "system",
"value": "Fix query for oldest (un-swapped) project\n"
},
{
"from": "human",
"value": "package uk.ac.ic.wlgitbridge.bridge.db.sqlite.query;\n\nimport uk.ac.ic.wlgitbridge.bridge.db.sqlite.SQLQuery;\n\nimport java.sql.ResultSet;\nimport java.sql.SQLException;\n\n/**\n * Create... | java | chosen |
[
{
"from": "system",
"value": "Add test cases for HTTP server-level commands\n"
},
{
"from": "human",
"value": "package com.orientechnologies.orient.test.server.network.http;\n\nimport com.orientechnologies.orient.core.record.impl.ODocument;\nimport org.apache.http.HttpResponse;\nimport org.junit... | java | chosen |
[
{
"from": "system",
"value": "Add new tracking methods to API"
},
{
"from": "human",
"value": "/*-\n * Copyright 2015 Diamond Light Source Ltd.\n *\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * w... | java | chosen |
[
{
"from": "system",
"value": "Modify example as @ConfigurationValue package is now different\n"
},
{
"from": "human",
"value": "package org.wildfly.swarm.examples.jaxrs.cdi;\n\nimport javax.enterprise.context.ApplicationScoped;\nimport javax.inject.Inject;\nimport javax.ws.rs.GET;\nimport javax.... | java | chosen |
[
{
"from": "system",
"value": "Set default cache factories for ognl utils in integration tests\n"
},
{
"from": "human",
"value": "package com.jgeppert.struts2.jquery.components;\n\nimport org.apache.struts2.conversion.StrutsTypeConverterHolder;\nimport org.junit.jupiter.api.BeforeEach;\n\nimport ... | java | chosen |
[
{
"from": "system",
"value": "UP-4802: Add since annotation to getImageCaptions\n"
},
{
"from": "human",
"value": "/**\n * Licensed to Apereo under one or more contributor license\n * agreements. See the NOTICE file distributed with this work\n * for additional information regarding copyright ow... | java | chosen |
[
{
"from": "system",
"value": "Insert Embeddable instead of Embedded annotation for class"
},
{
"from": "human",
"value": "package de.espend.idea.php.annotation.doctrine.action;\n\nimport com.intellij.openapi.editor.Editor;\nimport com.intellij.psi.PsiDocumentManager;\nimport com.intellij.psi.Psi... | java | chosen |
[
{
"from": "system",
"value": "Fix name of file in test for Clojure scripting\n"
},
{
"from": "human",
"value": "package com.semperos.screwdriver.scripting.js;\n\nimport com.semperos.screwdriver.TestUtil;\nimport org.junit.After;\nimport org.junit.Before;\nimport org.junit.Test;\n\nimport java.io... | java | chosen |
[
{
"from": "system",
"value": "Add back the empty initial response for ANONYMOUS"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional inform... | java | chosen |
[
{
"from": "system",
"value": "Fix issue with loading error templates for specific error codes.\n"
},
{
"from": "human",
"value": "package com.mitchellbosecke.pebble.boot.autoconfigure;\n\nimport org.springframework.boot.autoconfigure.template.TemplateAvailabilityProvider;\nimport org.springframe... | java | chosen |
[
{
"from": "system",
"value": "Drop Gradle 4.0 compatibility test - we are using Gradle 4.8 wrapper anyway\n"
},
{
"from": "human",
"value": "package uk.co.automatictester.lightning.gradle.plugin;\n\nimport org.gradle.testkit.runner.BuildResult;\nimport org.gradle.testkit.runner.GradleRunner;\nim... | java | chosen |
[
{
"from": "system",
"value": "Include a stop and start to ensure client and server are really talking to each other"
},
{
"from": "human",
"value": "/**\n * Copyright (c) 2011 RedEngine Ltd, http://www.RedEngine.co.nz. All rights reserved.\n *\n * This program is licensed to you under the Apache... | java | chosen |
[
{
"from": "system",
"value": "Replace manual session handling with spring session scoped bean\n"
},
{
"from": "human",
"value": "package ee.tuleva.onboarding.auth.session;\n\nimport java.io.Serializable;\nimport java.util.Optional;\nimport javax.servlet.http.HttpSession;\nimport org.springframew... | java | chosen |
[
{
"from": "system",
"value": "Allow for specifying a subclass of GeocodedLocation\n"
},
{
"from": "human",
"value": "/*\n *\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 ... | java | chosen |
[
{
"from": "system",
"value": "Fix plural form for number of rows message\n"
},
{
"from": "human",
"value": "package com.codenvy.ide.ext.datasource.client.sqllauncher;\n\nimport com.google.gwt.i18n.client.Messages;\n\npublic interface SqlRequestLauncherConstants extends Messages {\n\n @Default... | java | chosen |
[
{
"from": "system",
"value": "Store the flag designating that bisect is running.\n"
},
{
"from": "human",
"value": "package org.tkirill.teamcity.bisectPlugin;\n\nimport jetbrains.buildServer.controllers.BaseFormXmlController;\nimport jetbrains.buildServer.serverSide.SBuildServer;\nimport jetbrai... | java | chosen |
[
{
"from": "system",
"value": "Fix cursor not closed in database single value query\n\nThe cursor was closed too late in DbOperationSingleValueByRawQuery,\nafter the value was returned. The only case where it was closed was when\nthere was an unsupported column type specified. This commit fixes this\nissue.\... | java | chosen |
[
{
"from": "system",
"value": "TODO: Replace with something that handles more than just 'double' ...\n"
},
{
"from": "human",
"value": "package org.csstudio.platform.model;\n\n/**\n * Interface to a control system process variable with archive data source.\n * <p>\n *\n * @see IProcessVariableNam... | java | chosen |
[
{
"from": "system",
"value": "Use other location for rule.config file"
},
{
"from": "human",
"value": "package com.github.thomasfischl.aihome.controller;\r\n\r\nimport java.io.File;\r\n\r\nimport com.github.thomasfischl.aihome.communication.sensor.SensorDataGroup;\r\nimport com.github.thomasfisc... | java | chosen |
[
{
"from": "system",
"value": "Make IntelliJ stop crying by adding unnecessary @Repository annotation\n"
},
{
"from": "human",
"value": "package io.github.mikesaelim.poleposition.persistence;\n\nimport org.springframework.data.jpa.repository.JpaRepository;\n\npublic interface ArticlePersistenceRe... | java | chosen |
[
{
"from": "system",
"value": "Use logApplicationPackage so users might get a notification\n"
},
{
"from": "human",
"value": "// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.vespa.model.content.cluster;\n\ni... | java | chosen |
[
{
"from": "system",
"value": "PROC-235: Add a comment to explain the test\n"
},
{
"from": "human",
"value": "package com.indeed.proctor.groups;\n\nimport junit.framework.Assert;\nimport org.junit.Test;\n\nimport static com.indeed.proctor.groups.UppercaseFirstCharacterGroups.Test.UPPERCASE_FIRST_... | java | chosen |
[
{
"from": "system",
"value": "Remove unused variable and fix typo\n"
},
{
"from": "human",
"value": "package com.mgaetan89.showsrage.fragment;\n\nimport com.google.gson.Gson;\nimport com.mgaetan89.showsrage.R;\n\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.junit.runners.... | java | chosen |
[
{
"from": "system",
"value": "Fix content of the map."
},
{
"from": "human",
"value": "package org.gemoc.sample.tfsm.design.services;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport org.gemoc.gemoc_language_workbench.extensions.sirius.services.AbstractGemocAnimatorServices;\n\np... | java | chosen |
[
{
"from": "system",
"value": "Check for existence of URL when parsing actor info"
},
{
"from": "human",
"value": "/*\n * (c) 2012 University of Bolton\n * \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the Licens... | java | chosen |
[
{
"from": "system",
"value": "restapi: Use StringBuilder for String concatenation\n\nChange-Id: Iee94056b785ef76cffafd4b2d07ae001dfab7674\nSigned-off-by: Ori Liel <4fcecd40a9c0dad06aec9ecf8a7829d6470e6321@redhat.com>\n"
},
{
"from": "human",
"value": "package org.ovirt.engine.api.restapi.utils;\... | java | chosen |
[
{
"from": "system",
"value": "Add junit ant task support"
},
{
"from": "human",
"value": "/**\n * Copyright (c) 2010 IBM Corporation\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * which accompanie... | java | chosen |
[
{
"from": "system",
"value": "Add example tests to show build success\n"
},
{
"from": "human",
"value": "package com.google.sps.tests;\n\nimport org.junit.Assert;\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.junit.runners.JUnit4;\n\n@RunWith(JUnit4.class)\npublic final c... | java | chosen |
[
{
"from": "system",
"value": "Add an additional property assayStr\n\n\nSVN-Revision: 7349\n"
},
{
"from": "human",
"value": "package gov.nih.nci.calab.dto.workflow;\n\npublic class AssayBean {\n\t\n\tprivate String assayId;\n\tprivate String assayName;\n\tprivate String assayType;\n\t\n\tpublic ... | java | chosen |
[
{
"from": "system",
"value": "Update message passing method visibility\n"
},
{
"from": "human",
"value": "package io.elssa.net;\n\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\n\npublic abstract class MessageRouterBase {\n\n private List<MessageListener> ... | java | chosen |
[
{
"from": "system",
"value": "Add getter for retry in\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 associated documenta... | java | chosen |
[
{
"from": "system",
"value": "BlazeApkBuildStep: Build android_binary targets on rabbit\n\nThis CL implements an alternate flow for building android_binary\ntargets that is specific to Google3/Blaze. In this iteration, it\nonly supports building on rabbit and then deploying locally via\nStudio. It is only e... | java | chosen |
[
{
"from": "system",
"value": "Improve exception message from previous commit.\n"
},
{
"from": "human",
"value": "\n/*\n * Copyright (C) 2012 Archie L. Cobbs. All rights reserved.\n *\n * $Id$\n */\n\npackage org.dellroad.stuff.pobj;\n\nimport java.util.Set;\n\nimport javax.validation.ConstraintV... | java | chosen |
[
{
"from": "system",
"value": "Change the position parameter in the constructor\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2012 Evolveum\n *\n * The contents of this file are subject to the terms\n * of the Common Development and Distribution License\n * (the License). You may not us... | java | chosen |
[
{
"from": "system",
"value": "Define new request parameters for server anti-spoofing.\n"
},
{
"from": "human",
"value": "/*\n IntentDConnectMessage.java\n Copyright (c) 2014 NTT DOCOMO,INC.\n Released under the MIT license\n http://opensource.org/licenses/mit-license.php\n */\npackage org.device... | java | chosen |
[
{
"from": "system",
"value": "Add additional Entry test to show distinction between sha and itemhash\n"
},
{
"from": "human",
"value": "package uk.gov.register.core;\n\nimport org.junit.Test;\nimport java.time.Instant;\nimport static org.hamcrest.Matchers.equalTo;\nimport static org.junit.Assert... | java | chosen |
[
{
"from": "system",
"value": "[FIX] Create Code Toolbar Action repaired\n"
},
{
"from": "human",
"value": "package de.fu_berlin.imp.apiua.groundedtheory.handlers;\n\nimport java.util.Collection;\nimport java.util.LinkedList;\nimport java.util.List;\n\nimport org.apache.log4j.Logger;\nimport org.... | java | chosen |
[
{
"from": "system",
"value": "Add enabled property to pipeline\n"
},
{
"from": "human",
"value": "/*\n* Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n*\n* WSO2 Inc. licenses this file to you under the Apache License,\n* Version 2.0 (the \"License\"); you may not us... | java | chosen |
[
{
"from": "system",
"value": "Add console input approximation point "
},
{
"from": "human",
"value": "package main;\n\nimport approximation.Lagrange;\n\n/**\n * Main class\n * @author Pavel_Verkhovtsov\n */\npublic class Main {\n\n\tprivate static double[] y = {2.02, 1.98, 1.67, 1.65, 1.57, 1.42... | java | chosen |
[
{
"from": "system",
"value": "Fix bluetooth characteristic intdef copy-paste typo.\n\nPERMISSION_READ_ENCRYPTED_MITM was duplicated and\nPERMISSION_WRITE_ENCRYPTED_MITM was missing.\nFull list of available values:\nhttps://developer.android.com/reference/android/bluetooth/BluetoothGattCharacteristic.html\n"... | java | chosen |
[
{
"from": "system",
"value": "Change the date format for daily trends (SOCIALTW-14).\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2011 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in complian... | java | chosen |
[
{
"from": "system",
"value": "Allow connection from any host\n"
},
{
"from": "human",
"value": "package ${package}.server;\n\nimport java.io.IOException;\nimport java.net.URI;\nimport javax.ws.rs.container.ContainerRequestContext;\nimport javax.ws.rs.container.ContainerResponseContext;\nimport j... | java | chosen |
[
{
"from": "system",
"value": "Disable clover for help support\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 information\n * regard... | java | chosen |
[
{
"from": "system",
"value": "Allow to set maxReviewers on a project from the WebUI\n\nChange-Id: I8c3d9d7659b935652004fad29c22b23a6326d2d0\nSigned-off-by: Edwin Kempin <b444e279ad95fdef4fbdd82c813b624595df204a@sap.com>\n"
},
{
"from": "human",
"value": "// Copyright (C) 2013 The Android Open So... | java | chosen |
[
{
"from": "system",
"value": "Add more parameters for QsAlign"
},
{
"from": "human",
"value": "package org.biojava.nbio.structure.align.quaternary;\n\n/**\n * The parameter bean for the {@link QsAlign} algorithm.\n * \n * @author Aleix Lafita\n * @since 5.0.0\n *\n */\npublic class QsAlignParame... | java | chosen |
[
{
"from": "system",
"value": "Add demo app version code to launch URL.\n"
},
{
"from": "human",
"value": "// Copyright 2020 Google Inc. 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 with the Licen... | java | chosen |
[
{
"from": "system",
"value": "Add comment to exception class\n"
},
{
"from": "human",
"value": "package com.braintreepayments.api.exceptions;\n\npublic class AppSwitchNotAvailableException extends BraintreeException {\n}\n"
},
{
"from": "gpt",
"value": "package com.braintreepayments.... | java | chosen |
[
{
"from": "system",
"value": "Fix writing strings in FileOutputBenchmark via FileLogState\n"
},
{
"from": "human",
"value": "package org.tinylog.benchmarks.file;\n\nimport java.io.IOException;\nimport java.nio.file.Path;\n\nimport org.openjdk.jmh.annotations.Param;\nimport org.openjdk.jmh.annota... | java | chosen |
[
{
"from": "system",
"value": "Use name fragment as only fragment in pager adapter for now\n"
},
{
"from": "human",
"value": "package de.fau.amos.virtualledger.android.views.savings;\n\nimport android.support.v4.app.Fragment;\nimport android.support.v4.app.FragmentManager;\nimport android.support... | java | chosen |
[
{
"from": "system",
"value": "Update copyright year of changed file\n\nSee gh-26321\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2012-2019 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 comp... | java | chosen |
[
{
"from": "system",
"value": "Make parameters final that can be made final.\n"
},
{
"from": "human",
"value": "package com.hubspot.singularity.executor.config;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.common... | java | chosen |
[
{
"from": "system",
"value": "Fix closing of multiplexed table writer to close all constituent table writers in presence of exceptions\n"
},
{
"from": "human",
"value": "package org.grouplens.lenskit.util.tablewriter;\n\nimport java.io.IOException;\nimport java.util.Arrays;\nimport java.util.Lis... | java | chosen |
[
{
"from": "system",
"value": "Use string constant from metrics-proxy to avoid duplication.\n"
},
{
"from": "human",
"value": "// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.vespa.model.admin.monitoring;\n\... | java | chosen |
[
{
"from": "system",
"value": "Enhance readability of time out command test\n"
},
{
"from": "human",
"value": "package name.webdizz.fault.tolerance.inventory.client.command;\n\nimport static org.hamcrest.core.Is.is;\nimport static org.junit.Assert.assertThat;\nimport static name.webdizz.fault.tol... | java | chosen |
[
{
"from": "system",
"value": "Support ipv6 for status endpoint security\n"
},
{
"from": "human",
"value": "package org.apereo.cas.configuration.model.core.web.security;\n\nimport org.springframework.core.io.Resource;\n\n/**\n * This is {@link AdminPagesSecurityProperties}.\n *\n * @author Misagh... | java | chosen |
[
{
"from": "system",
"value": "Fix for T2-674: Hardcoded default locations. System default configurable providers are now read from a file in Taverna startup/conf directory. Failing that - they are read from a hard coded list. User can now import and export services from such files as well.\n\ngit-svn-id: 2b... | java | chosen |
[
{
"from": "system",
"value": "Rename test configuration property names clashing with maven deploy\n"
},
{
"from": "human",
"value": "package io.quarkus.hibernate.validator.test.config;\n\nimport static org.junit.jupiter.api.Assertions.assertThrows;\n\nimport javax.inject.Inject;\nimport javax.va... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.