conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Update required DB version to v43\n"
},
{
"from": "human",
"value": "package com.faforever.api.db;\n\nimport com.faforever.api.config.ApplicationProfile;\nimport org.springframework.context.annotation.Profile;\nimport org.springframework.core.PriorityOrdered;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Remove order as the tests are independent of the order."
},
{
"from": "human",
"value": "package com.telecomsys.cmc.model;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.j... | java | chosen |
[
{
"from": "system",
"value": "Add missing license header to an interface\n"
},
{
"from": "human",
"value": "package nom.bdezonia.zorbage.type.algebra;\n\npublic interface Infinite<T> {\n\tboolean isNaN(T a);\n\tboolean isInfinite(T a);\n\t// positive or negative can be determined with signum() f... | java | chosen |
[
{
"from": "system",
"value": "Fix getDefaultRange, wrong order of parameters"
},
{
"from": "human",
"value": "package pokefenn.totemic.apiimpl.totem;\n\nimport pokefenn.totemic.api.totem.TotemEffect;\nimport pokefenn.totemic.api.totem.TotemEffectAPI;\nimport pokefenn.totemic.api.totem.TotemEffec... | java | chosen |
[
{
"from": "system",
"value": "Refactor server tree context menu into it's own component\n"
},
{
"from": "human",
"value": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choose Tools | Templates\n * and open the template in t... | java | chosen |
[
{
"from": "system",
"value": "Rename trace io.grpc.Context key to opencensus-trace-span-key.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017, Google Inc.\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": "Add TokenizerTest to the list of tests to run\n"
},
{
"from": "human",
"value": "// Copyright 2017 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 the License.\n// You may ... | java | chosen |
[
{
"from": "system",
"value": "Determine the rules that are run matching the context passed into the rules with the package name. Include some more tests. Remove redundant logging classes.\n"
},
{
"from": "human",
"value": "package uk.gov.dvla.services.enquiry;\r\n\r\nimport uk.gov.dvla.domain.... | java | chosen |
[
{
"from": "system",
"value": "server: Add Authorization to Access-Control-Allow-Headers list.\n"
},
{
"from": "human",
"value": "package org.opencb.opencga.server;\n\nimport javax.servlet.*;\nimport javax.servlet.http.HttpServletRequest;\nimport javax.servlet.http.HttpServletResponse;\nimport ja... | java | chosen |
[
{
"from": "system",
"value": "Add interface for GameObjects to be able to hide\n"
},
{
"from": "human",
"value": "package game_objects.interactions;\n\n/**\n * Created by mtvarkovsky on 12/10/16.\n */\npublic interface IHide {\n}\n"
},
{
"from": "gpt",
"value": "package com.seven.gam... | java | chosen |
[
{
"from": "system",
"value": "Remove mesosDNS url from configuration\n"
},
{
"from": "human",
"value": "package alien4cloud.plugin.marathon.config;\n\nimport alien4cloud.ui.form.annotation.FormProperties;\nimport lombok.AllArgsConstructor;\nimport lombok.Getter;\nimport lombok.NoArgsConstructor;... | java | chosen |
[
{
"from": "system",
"value": "Add AUTO_SERVER=TRUE for multiple processes access to the same db file\n"
},
{
"from": "human",
"value": "package com.sangdol.experiment.portableDb;\n\nimport io.dropwizard.Application;\nimport io.dropwizard.setup.Bootstrap;\nimport io.dropwizard.setup.Environment;\... | java | chosen |
[
{
"from": "system",
"value": "Use generic type instead of diamond operator for Java 6 compatibility"
},
{
"from": "human",
"value": "package com.packtpublishing.tddjava.friendships;\n\nimport java.util.*;\n\npublic class Friendships {\n private final Map<String, List<String>> friendships = ne... | java | chosen |
[
{
"from": "system",
"value": "Fix use of raw type.\n"
},
{
"from": "human",
"value": "package net.domesdaybook.automata.base;\r\n\r\nimport net.domesdaybook.automata.State;\r\nimport net.domesdaybook.automata.Transition;\r\nimport net.domesdaybook.automata.TransitionFactory;\r\nimport net.domesd... | java | chosen |
[
{
"from": "system",
"value": "SDC-15068: Update label for kubernetes selection in Spark configuration\n\nChange-Id: I4bf80c324fbad953519f459bd033b997153410af\nReviewed-on: https://review.streamsets.net/c/datacollector/+/33167\nReviewed-by: Madhukar Devaraju <d22477479bbf55ba62bd822f4112c80f292c7805@streamse... | java | chosen |
[
{
"from": "system",
"value": "Use temporary dir that can be fully deleted"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information ... | java | chosen |
[
{
"from": "system",
"value": "Use basic tokenizer to extract words\n"
},
{
"from": "human",
"value": "package io.teknek.topship;\n\nimport java.util.Map;\n\npublic class SimpleTermExtractor implements TermExtractor{\n\n @Override\n public Map<String, Long> extractScores(Shop shop) {\n // TO... | java | chosen |
[
{
"from": "system",
"value": "Use implicit parameters for specialisation of generic class\n"
},
{
"from": "human",
"value": "package org.workcraft.types;\n\nimport java.util.LinkedHashMap;\n\npublic class LinkedTwoWayMap<S, T> extends GeneralTwoWayMap<S, T> {\n public LinkedTwoWayMap() {\n ... | java | chosen |
[
{
"from": "system",
"value": "Send join message on startup\n"
},
{
"from": "human",
"value": "\npackage forager.client;\n\nimport java.io.IOException;\n\nimport galileo.net.ClientMessageRouter;\nimport galileo.net.GalileoMessage;\nimport galileo.net.MessageListener;\nimport galileo.net.NetworkDe... | java | chosen |
[
{
"from": "system",
"value": "Throw exception when running scan/query and the cluster is empty.\n"
},
{
"from": "human",
"value": "/*\n * Aerospike Client - Java Library\n *\n * Copyright 2013 by Aerospike, Inc. All rights reserved.\n *\n * Availability of this source code to partners and custom... | java | chosen |
[
{
"from": "system",
"value": "Update line end and EOF for build fail"
},
{
"from": "human",
"value": "package pro.jtaylor.timetracker.core;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.stereotype.Component;\nimport pro.jtaylor.timetracker.core.dao... | java | chosen |
[
{
"from": "system",
"value": "Switch from YML configuration files to XML configuration files."
},
{
"from": "human",
"value": "package de.static_interface.sinkcity;\r\n\r\nimport java.util.ArrayList;\r\nimport java.util.List;\r\n\r\npublic enum CitySettings {\r\n\r\n FIRE(0b0000_0001),\r\n ... | java | chosen |
[
{
"from": "system",
"value": "Allow castTo to automatically widen the generic bound.\n"
},
{
"from": "human",
"value": "package name.falgout.jeffrey.throwing;\n\nimport java.util.Objects;\nimport java.util.Optional;\nimport java.util.function.Function;\n\n@FunctionalInterface\npublic interface R... | java | chosen |
[
{
"from": "system",
"value": "[webdriver] Add wiki note for test.\n"
},
{
"from": "human",
"value": "package to.etc.domui.test.binding;\n\nimport org.junit.Assert;\nimport org.junit.Test;\nimport to.etc.domui.test.binding.order1.TestBindingOrder1;\nimport to.etc.domui.webdriver.core.AbstractWebD... | java | chosen |
[
{
"from": "system",
"value": "Add possibility to override MultiBaseLocalDiskRepositoryManager\n\nAdd possibility to override MultiBaseLocalDiskRepositoryManager in lib\nmodule by making GitRepositoryManagerModule as replaceable with module\nthat is annotated with 'git-manager' name.\n\nBug: Issue 15407\nCha... | java | chosen |
[
{
"from": "system",
"value": "Fix test so that it works with Junit 4.6\n\ngit-svn-id: 38b70485df25d5e096a1845b40b72a0bf0ca9ea6@2409 6a4a4fef-ff2a-56b0-fee9-946765563393\n"
},
{
"from": "human",
"value": "package org.apache.ibatis.parsing;\r\n\r\nimport org.apache.ibatis.io.Resources;\r\nimport s... | java | chosen |
[
{
"from": "system",
"value": "Use the Tomcat INtrospection utilities instead of commons modeler\n\ngit-svn-id: d69ffe4ccc4861bf06065bd0072b85c931fba7ed@357261 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/**\n*\n* Copyright 2003-2004 The Apache Software Foundation\n*\n... | java | chosen |
[
{
"from": "system",
"value": "Remove device from student image\n"
},
{
"from": "human",
"value": "package org.literacyapp.model.gson;\n\nimport java.util.Calendar;\nimport org.literacyapp.model.gson.analytics.StudentImageCollectionEventGson;\n\npublic class StudentImageGson extends BaseEntityGso... | java | chosen |
[
{
"from": "system",
"value": "Set the allowed methods to all required ones.\n\nThe Spring boot default ones do not allow for `PUT` and `DELETE`.\n"
},
{
"from": "human",
"value": "package org.zalando.pazuzu.config;\n\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springf... | java | chosen |
[
{
"from": "system",
"value": "Add suppress unused & comment\n"
},
{
"from": "human",
"value": "package org.commcare.suite.model;\n\n/**\n * Piece of required session data that is acquired via an xpath computation\n *\n * @author Phillip Mates (pmates@dimagi.com)\n */\npublic class ComputedDatum ... | java | chosen |
[
{
"from": "system",
"value": "Add specific Resource bundle management\n"
},
{
"from": "human",
"value": "package woko.actions;\n\nimport java.util.Enumeration;\nimport java.util.Locale;\nimport java.util.MissingResourceException;\nimport java.util.ResourceBundle;\n\npublic class WokoResourceBund... | java | chosen |
[
{
"from": "system",
"value": "Remove constant only used once\n"
},
{
"from": "human",
"value": "package com.kickstarter.services.gcm;\n\nimport android.app.IntentService;\nimport android.content.Intent;\nimport android.support.annotation.NonNull;\n\nimport com.google.android.gms.gcm.GoogleCloudM... | java | chosen |
[
{
"from": "system",
"value": "Mark user parameter as final"
},
{
"from": "human",
"value": "package com.github.mobile.android.repo;\n\nimport android.view.View;\nimport android.widget.ImageView;\nimport android.widget.TextView;\n\nimport com.github.mobile.android.R.id;\nimport com.github.mobile.... | java | chosen |
[
{
"from": "system",
"value": "Fix only one element being added.\n"
},
{
"from": "human",
"value": "package org.metaborg.util.arrays;\n\nimport java.util.Collection;\n\npublic final class Arrays2 {\n public static <T> boolean addAll(Collection<T> addTo, T[] elementsToAdd) {\n boolean mo... | java | chosen |
[
{
"from": "system",
"value": "[automerger] Merge \"Use api from 26\" into oc-mr1-support-27.0-dev am: f5c970b5df am: 0e91a7eccb\n\nChange-Id: Ie2bf4613e238a264bcbcff78f4e28d0e33bb2b82\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2017 The Android Open Source Project\n *\n * Licensed un... | java | chosen |
[
{
"from": "system",
"value": "Add @since to class Javadoc"
},
{
"from": "human",
"value": "package com.github.ferstl.jarscan;\n\nimport org.adoptopenjdk.jitwatch.jarscan.IJarScanOperation;\nimport org.adoptopenjdk.jitwatch.jarscan.freqinlinesize.FreqInlineSizeOperation;\nimport org.apache.maven.... | java | chosen |
[
{
"from": "system",
"value": "Add default constructor for Jackson"
},
{
"from": "human",
"value": "package com.quizdeck.model.inputs;\n\nimport com.quizdeck.model.database.Quiz;\nimport com.quizdeck.model.database.submission;\nimport lombok.Getter;\nimport lombok.Setter;\n\nimport javax.validati... | java | chosen |
[
{
"from": "system",
"value": "Replace baseURL with data provider.\n\ngit-svn-id: 4e353c0944fe8da334633afc35765ef362dec675@8663 b4e469a2-07ce-4b26-9273-4d7d95a670c7\n"
},
{
"from": "human",
"value": "package org.helioviewer.jhv.timelines.data;\n\nimport java.util.HashMap;\n\npublic class BandType... | java | chosen |
[
{
"from": "system",
"value": "Add comment about timeout service stability\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Timothy Brooks\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You... | java | chosen |
[
{
"from": "system",
"value": "Use the CAPI_DEVICE_PATH property in blockmap tests\n"
},
{
"from": "human",
"value": "/* IBM_PROLOG_BEGIN_TAG\n * This is an automatically generated prolog.\n *\n * $Source: src/java/test/blockmap/com/ibm/research/blockmap/CapiTestSupport.java $\n *\n * IBM Data En... | java | chosen |
[
{
"from": "system",
"value": "Change signature of store method"
},
{
"from": "human",
"value": "package org.jeecqrs.common.event.sourcing;\n\n/**\n *\n * @param <E> the base event type\n */\npublic interface EventSourcingBus<E> {\n\n void persist(E event);\n \n}\n"
},
{
"from": "g... | java | chosen |
[
{
"from": "system",
"value": "Work on Recently-Used Database tab."
},
{
"from": "human",
"value": "package org.reldb.dbrowser.ui.content.recent;\n\nimport org.eclipse.swt.widgets.Composite;\nimport org.eclipse.swt.layout.FormLayout;\nimport org.eclipse.swt.widgets.Label;\nimport org.eclipse.swt.... | java | chosen |
[
{
"from": "system",
"value": "Fix issue with test breaking when loading known hosts\n"
},
{
"from": "human",
"value": "package com.atsebak.raspberrypi.protocol.ssh;\n\nimport lombok.Builder;\nimport net.schmizz.sshj.SSHClient;\nimport net.schmizz.sshj.transport.verification.PromiscuousVerifier;\... | java | chosen |
[
{
"from": "system",
"value": "Fix externalization oversite that would have required a migration\n"
},
{
"from": "human",
"value": "package org.javarosa.xpath.expr;\n\nimport org.javarosa.core.model.condition.EvaluationContext;\nimport org.javarosa.core.model.instance.DataInstance;\nimport org.ja... | java | chosen |
[
{
"from": "system",
"value": "Add unit test for Gfycat Amp links"
},
{
"from": "human",
"value": "package com.rarchives.ripme.tst.ripper.rippers;\r\n\r\nimport com.rarchives.ripme.ripper.rippers.GfycatRipper;\r\nimport org.junit.jupiter.api.Test;\r\n\r\nimport java.io.IOException;\r\nimport java... | java | chosen |
[
{
"from": "system",
"value": "Modify unit test of search result.\n"
},
{
"from": "human",
"value": "package jp.toastkid.article.search;\n\nimport static org.junit.Assert.assertNotNull;\n\nimport java.io.IOException;\nimport java.nio.file.Files;\nimport java.nio.file.Path;\n\nimport org.junit.Tes... | java | chosen |
[
{
"from": "system",
"value": "Clear trades from old search from data viewer before adding new ones\n"
},
{
"from": "human",
"value": "package uk.ac.cam.cstibhotel.otcanalyser.gui;\n\nimport java.awt.BorderLayout;\n\nimport javax.swing.JFrame;\n\nimport uk.ac.cam.cstibhotel.otcanalyser.communicat... | java | chosen |
[
{
"from": "system",
"value": "Fix mobile and wifi check logic\n"
},
{
"from": "human",
"value": "package com.breadwallet.tools.util;\n\nimport android.content.Context;\nimport android.net.ConnectivityManager;\nimport android.net.NetworkInfo;\n\n/**\n * Created by byfieldj on 2/15/18.\n * <p>\n *... | java | chosen |
[
{
"from": "system",
"value": "Set components to grow inside to fill JDialog ContentPane"
},
{
"from": "human",
"value": "package devopsdistilled.operp.client.abstracts;\n\nimport javax.swing.JComponent;\nimport javax.swing.JDialog;\n\nimport net.miginfocom.swing.MigLayout;\n\npublic abstract cla... | java | chosen |
[
{
"from": "system",
"value": "Add javadoc to study segment dao.\n"
},
{
"from": "human",
"value": "package edu.northwestern.bioinformatics.studycalendar.dao;\n\nimport edu.northwestern.bioinformatics.studycalendar.domain.StudySegment;\n\n/**\n * @author Moses Hohman\n * @author Rhett Sutphin\n *... | java | chosen |
[
{
"from": "system",
"value": "Fix: Replace S3Headers class with JsonObject\n\nRelated to #47 and #52 but #47 is still necessary.\n"
},
{
"from": "human",
"value": "package com.filestack.internal.responses;\n\nimport com.google.gson.annotations.SerializedName;\n\nimport java.util.HashMap;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Handle NFC permission being unavailable.\n\nWith a rooted device, some apps can remove permissions. Prevents chrome\nfrom crashing if NFC is revoked.\n\nBUG=481979\n\nReview URL: https://codereview.chromium.org/1104053003\n\nCr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb... | java | chosen |
[
{
"from": "system",
"value": "Document methods in conference repository\n"
},
{
"from": "human",
"value": "package mn.devfest.persistence;\n\nimport android.content.Context;\nimport android.content.SharedPreferences;\nimport android.preference.PreferenceManager;\nimport android.support.annotatio... | java | chosen |
[
{
"from": "system",
"value": ":bug: Fix NPE in protobuffer example test class [skip ci]\n"
},
{
"from": "human",
"value": "package org.restheart.examples;\n\nimport java.io.IOException;\nimport com.google.protobuf.InvalidProtocolBufferException;\nimport com.mashape.unirest.http.Unirest;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "[SMALLFIX] Use static imports for standard test utilities\n\n[SMALLFIX] Use static imports for standard test utilities\n\npr-link: Alluxio/alluxio#8823\nchange-id: cid-8d5f96ba6dd7d80c6f8c61a6d4698083a91ee043"
},
{
"from": "human",
"value": "/*\n * The Alluxio Open ... | java | chosen |
[
{
"from": "system",
"value": "Remove redundant modifiers for interface fields\n"
},
{
"from": "human",
"value": "package net.elprespufferfish.rssreader;\n\nimport android.provider.BaseColumns;\n\npublic class DatabaseSchema {\n\n public static interface FeedTable extends BaseColumns {\n ... | java | chosen |
[
{
"from": "system",
"value": "Print out what will actually be executed.\n"
},
{
"from": "human",
"value": "package se.tla.mavenversionbumper.vcs;\n\nimport org.apache.commons.exec.CommandLine;\nimport org.apache.commons.exec.DefaultExecutor;\nimport org.apache.commons.exec.ExecuteWatchdog;\n\nim... | java | chosen |
[
{
"from": "system",
"value": "Add horizontal align to free fire command group.\n"
},
{
"from": "human",
"value": "package org.robockets.stronghold.robot.highgoalshooter;\n\nimport edu.wpi.first.wpilibj.command.CommandGroup;\n\n/**\n * Shoot the high goal shooter from anywhere on the field.\n */\... | java | chosen |
[
{
"from": "system",
"value": "Add sample for setting Small WebActivity theme\n"
},
{
"from": "human",
"value": "package com.example.mysmall.lib.style;\n\nimport android.app.Application;\n\n//import net.wequick.small.Small;\n\n/**\n * Created by galen on 16/8/9.\n */\npublic class StyleManager ex... | java | chosen |
[
{
"from": "system",
"value": "Store stats when finishing task.\n"
},
{
"from": "human",
"value": "\npackage com.uwetrottmann.shopr.utils;\n\n/**\n * Stores data about the current task.\n */\npublic class Statistics {\n\n private static Statistics _instance;\n\n private long mStartTime;\n ... | java | chosen |
[
{
"from": "system",
"value": "Fix the generation of classnames\n"
},
{
"from": "human",
"value": "package org.realityforge.arez.processor;\n\nimport com.google.testing.compile.JavaFileObjects;\nimport com.google.testing.compile.JavaSourceSubjectFactory;\nimport javax.annotation.Nonnull;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Fix crash (change Power type to double)\n"
},
{
"from": "human",
"value": "package io.github.aquerr.eaglefactions.entities;\n\nimport org.spongepowered.api.entity.living.player.Player;\nimport org.spongepowered.api.world.Chunk;\n\nimport java.util.ArrayList;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Add option to fail fast on parse\n"
},
{
"from": "human",
"value": "package org.commcare.modern.parse;\n\nimport org.commcare.core.interfaces.UserSandbox;\nimport org.commcare.core.parse.ParseUtils;\nimport org.javarosa.xml.util.InvalidStructureException;\nimport or... | java | chosen |
[
{
"from": "system",
"value": "Add example for adding check to inherited activity\n"
},
{
"from": "human",
"value": "package org.honorato.diagnostics.example;\n\nimport android.os.Bundle;\n\nimport org.honorato.diagnostics.DiagnosticsActivity;\n\npublic class MainActivity extends DiagnosticsActiv... | java | chosen |
[
{
"from": "system",
"value": "Add method to log and throw runtime exception\n"
},
{
"from": "human",
"value": "package org.jetbrains.kotlin.core.log;\n\nimport org.eclipse.core.runtime.IStatus;\nimport org.eclipse.core.runtime.Status;\nimport org.jetbrains.kotlin.core.Activator;\n\npublic class ... | java | chosen |
[
{
"from": "system",
"value": "Set valid parents on breadcrumbitem"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2014 Darren Scott - All Rights Reserved\n * \n * This program is distributed under LGPL Version 2.1 in the hope that\n * it will be useful, but WITHOUT ANY WARRANTY.\n */\npack... | java | chosen |
[
{
"from": "system",
"value": "Replace 'substring' with 'trimStart' from the OpenAPI utils\n"
},
{
"from": "human",
"value": "package de.espend.idea.laravel.config;\n\nimport com.intellij.openapi.project.Project;\nimport com.intellij.openapi.vfs.VirtualFile;\nimport org.jetbrains.annotations.NotN... | java | chosen |
[
{
"from": "system",
"value": "Use the new WebServiceServlet framework\n\n\nFormer-commit-id: 07bac49517b1151a281de191cd9e80c229196181"
},
{
"from": "human",
"value": "package org.intermine.webservice.server.lists;\n\nimport java.io.IOException;\n\nimport javax.servlet.ServletException;\nimport j... | java | chosen |
[
{
"from": "system",
"value": "Refactor getMetaData to use DbConfig.Vendor\n"
},
{
"from": "human",
"value": "package com.strider.datadefender.database.metadata;\n\nimport java.sql.ResultSet;\nimport java.sql.SQLException;\n\nimport java.util.List;\nimport java.util.Set;\n\n/**\n * Public interfa... | java | chosen |
[
{
"from": "system",
"value": "Replace LHS with replacement values\n"
},
{
"from": "human",
"value": "package matlab.syntax;\n\nimport java.util.*;\n\nimport dl.syntax.*;\n\npublic class MatlabAssignment extends MatlabProgram {\n\tprivate final RealVariable lhs;\n\tprivate final Term rhs;\n\t\n\t... | java | chosen |
[
{
"from": "system",
"value": "Stop using wires in versions for Firefox test\n"
},
{
"from": "human",
"value": "/*\n * (C) Copyright 2016 Boni Garcia (http://bonigarcia.github.io/)\n *\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of t... | java | chosen |
[
{
"from": "system",
"value": "Fix the JavaServiceHandler so the response is written when its\nsupposed to be.\n\n\ngit-svn-id: 9326b53cbc4a8f4c3d02979b62b178127d5150fe@101 c7d0bf07-ec0d-0410-b2cc-d48fa9be22ba\n"
},
{
"from": "human",
"value": "package org.codehaus.xfire.handler;\n\nimport org.co... | java | chosen |
[
{
"from": "system",
"value": "Test commit from IntelliJ IDEA\n"
},
{
"from": "human",
"value": "package com.example.project.controller;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.stereotype.Controller;\nimport org.springframework.ui.Model;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Fix compile error on Linux\n"
},
{
"from": "human",
"value": "/*\n * Resources.java\n *\n * Copyright (C) 2009-11 by RStudio, Inc.\n *\n * This program is licensed to you under the terms of version 3 of the\n * GNU Affero General Public License. This program is dist... | java | chosen |
[
{
"from": "system",
"value": "Return empty description instead of null\n"
},
{
"from": "human",
"value": "package edu.kit.ipd.crowdcontrol.objectservice.rest.resources;\n\nimport org.junit.runner.Description;\nimport org.junit.runner.Runner;\nimport org.junit.runner.notification.RunNotifier;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Make circuit breaker module more generic\n"
},
{
"from": "human",
"value": "package com.thegongoliers.output.motors;\n\nimport com.thegongoliers.input.current.HighCurrentSensor;\nimport com.thegongoliers.input.time.Clock;\nimport com.thegongoliers.input.time.RobotCl... | java | chosen |
[
{
"from": "system",
"value": "Add noargsconstructor to datasetvalidation class\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2015 LinkedIn Corp. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in complianc... | java | chosen |
[
{
"from": "system",
"value": "Add getting players by UUIDs\n"
},
{
"from": "human",
"value": "package net.engin33r.luaspigot.lua.lib;\n\nimport net.engin33r.luaspigot.lua.Library;\nimport net.engin33r.luaspigot.lua.annotation.LibFunctionDef;\nimport net.engin33r.luaspigot.lua.type.LuaPlayer;\nim... | java | chosen |
[
{
"from": "system",
"value": "Replace field injection by constructor injection\n"
},
{
"from": "human",
"value": "package org.synyx.urlaubsverwaltung;\n\nimport no.api.freemarker.java8.Java8ObjectWrapper;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework... | java | chosen |
[
{
"from": "system",
"value": "Add system.out for each file converted\n"
},
{
"from": "human",
"value": "package uk.org.taverna.scufl2.wfdesc;\n\nimport java.io.File;\nimport java.io.IOException;\n\nimport javax.xml.bind.JAXBException;\n\nimport uk.org.taverna.scufl2.api.container.WorkflowBundle;... | java | chosen |
[
{
"from": "system",
"value": "Update AutoboxingTest (Add Integer check)\n"
},
{
"from": "human",
"value": "package edu.syr.pcpratts.rootbeer.testcases.rootbeertest.serialization;\n\nimport edu.syr.pcpratts.rootbeer.runtime.Kernel;\n\npublic class AutoboxingRunOnGpu implements Kernel {\n\n priva... | java | chosen |
[
{
"from": "system",
"value": "Use HashSet instead of List\n"
},
{
"from": "human",
"value": "package com.aware.plugin.term_collector;\n\nimport android.content.Context;\n\nimport java.io.DataInputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.util.ArrayList;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Cut the message buffer down before forwarding\n"
},
{
"from": "human",
"value": "package blue.mesh;\n\nimport android.util.Log;\n\npublic class ReadWriteThread extends Thread {\n\n private final RouterObject router;\n private final Connection connectio... | java | chosen |
[
{
"from": "system",
"value": "Fix for something that should've changed automatically..\n"
},
{
"from": "human",
"value": "package com.benberi.cadesim.server.model.player.vessel.impl;\n\n\nimport com.benberi.cadesim.server.model.player.Player;\nimport com.benberi.cadesim.server.model.player.vesse... | java | chosen |
[
{
"from": "system",
"value": "Set DS default timeouts - don’t use inifnite values\n"
},
{
"from": "human",
"value": "package com.github.endoscope.basic.ds;\n\nimport com.github.endoscope.storage.jdbc.DataSourceProvider;\nimport org.apache.commons.dbcp2.BasicDataSource;\nimport org.apache.commons... | java | chosen |
[
{
"from": "system",
"value": "Make clear how to use HTTPS in the helloworld example\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2013 The Netty Project\n *\n * The Netty Project licenses this file to you under the Apache License,\n * version 2.0 (the \"License\"); you may not use this fil... | java | chosen |
[
{
"from": "system",
"value": "Fix autogen code that was missed in refactor\n"
},
{
"from": "human",
"value": "package com.kickstarter.libs;\n\nimport android.os.Parcelable;\nimport android.support.annotation.Nullable;\n\nimport org.joda.time.DateTime;\n\nimport auto.parcel.AutoParcel;\n\n@AutoPa... | java | chosen |
[
{
"from": "system",
"value": "Add oidc for /api (swagger-ui)\n"
},
{
"from": "human",
"value": "package org.synyx.urlaubsverwaltung.api;\n\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.core.annotation.Order;\nimport org.springframework.security.config.... | java | chosen |
[
{
"from": "system",
"value": "Fix some language in javadocs\n"
},
{
"from": "human",
"value": "package org.realityforge.replicant.client;\n\n/**\n * The interface representing the set of changes to be applied to the EntityRepository.\n *\n * <p>The change set may represent several transactions b... | java | chosen |
[
{
"from": "system",
"value": "Upgrade to spring boot 2 and java 9\n"
},
{
"from": "human",
"value": "package se.jaitco.queueticketapi.config;\n\nimport org.redisson.Redisson;\nimport org.redisson.api.RedissonClient;\nimport org.redisson.config.Config;\nimport org.redisson.config.SingleServerConf... | java | chosen |
[
{
"from": "system",
"value": "Use current classloader for service loading fallback.\n"
},
{
"from": "human",
"value": "package com.jakewharton.resourcefs;\n\nimport java.io.IOException;\nimport java.net.URI;\nimport java.nio.file.FileSystem;\nimport java.nio.file.FileSystems;\nimport java.util.C... | java | chosen |
[
{
"from": "system",
"value": "Update image content type for Postgres\n"
},
{
"from": "human",
"value": "package com.leevilehtonen.cookagram.domain;\n\nimport org.springframework.data.jpa.domain.AbstractPersistable;\n\nimport javax.persistence.Entity;\nimport javax.persistence.Lob;\n\n@Entity\npu... | java | chosen |
[
{
"from": "system",
"value": "Allow to pass parameters as programm arguments\n"
},
{
"from": "human",
"value": "package ch.fadre.sandhills;\n\nimport java.awt.image.BufferedImage;\nimport java.io.IOException;\n\npublic class Main {\n\n public static final int width = 750;\n public static f... | java | chosen |
[
{
"from": "system",
"value": "Fix click handler in MaterialTextInputSpec\n\nSummary: For litho component click event handler to work in this case, we need to pass the clickhandler to the underling EditTextWithEventHandlers from TextInputSpec.\n\nReviewed By: adityasharat\n\nDifferential Revision: D25946471\... | java | chosen |
[
{
"from": "system",
"value": "Clarify split package in docs.\n\ngit-svn-id: de5ce936019686f47409c93bcc5e202a9739563b@1588800 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license a... | java | chosen |
[
{
"from": "system",
"value": "Test Hash comparisons using assertThat\n\nwhich makes failure messages and assertion code more readable,\nand avoids http://errorprone.info/bugpattern/SelfEquals.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2000-2015 JetBrains s.r.o.\n *\n * Licensed under t... | java | chosen |
[
{
"from": "system",
"value": "Implement add method for TreatmentProtocols\n"
},
{
"from": "human",
"value": "package org.pdxfinder.dao;\n\nimport org.neo4j.ogm.annotation.GraphId;\nimport org.neo4j.ogm.annotation.NodeEntity;\nimport org.neo4j.ogm.annotation.Relationship;\n\nimport java.util.Set;... | java | chosen |
[
{
"from": "system",
"value": "Raise Temperature of space stations so snow stops forming everywhere\n"
},
{
"from": "human",
"value": "package zmaster587.advancedRocketry.world.biome;\n\nimport java.util.LinkedList;\nimport java.util.List;\n\nimport net.minecraft.entity.EnumCreatureType;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Fix warning and mark method as unused.\n"
},
{
"from": "human",
"value": "/**\n * Mutinack mutation detection program.\n * Copyright (C) 2014-2016 Olivier Cinquin\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of ... | java | chosen |
[
{
"from": "system",
"value": "Add unit tests for set key type of SerializerPackageImpl\n"
},
{
"from": "human",
"value": "package com.netflix.astyanax.serializers;\n\nimport java.nio.ByteBuffer;\n\nimport junit.framework.Assert;\n\nimport org.junit.Test;\n\npublic class SerializerPackageImplTest... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.