conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Fix missing up button on settings page\n"
},
{
"from": "human",
"value": "package com.marverenic.music.ui.settings;\n\nimport android.content.Context;\nimport android.content.Intent;\nimport android.os.Build;\nimport android.os.Bundle;\nimport android.view.MenuItem;... | 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": "Add API for handler that know the SDocumentGraph of the editor\n"
},
{
"from": "human",
"value": "/**\n * \n */\npackage org.corpus_tools.atomic.api.commands;\n\nimport org.corpus_tools.atomic.api.editors.DocumentGraphEditor;\nimport org.corpus_tools.salt.common.SDo... | java | chosen |
[
{
"from": "system",
"value": "Fix agent class after merging\n"
},
{
"from": "human",
"value": "package com.kiselev.reflection.ui.bytecode.agent;\n\nimport com.kiselev.reflection.ui.bytecode.holder.ByteCodeHolder;\n\nimport java.lang.instrument.Instrumentation;\nimport java.util.List;\n\n/**\n * ... | java | chosen |
[
{
"from": "system",
"value": "Revert previous commit adding storage methods\n\ngit-svn-id: 522c0d53943162a6437d919c1900af0a20491c0c@962477 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contrib... | java | chosen |
[
{
"from": "system",
"value": "Tidy types\nMake class final and remove unused ctor/setter\n\ngit-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/trunk@804702 13f79535-47bb-0310-9956-ffa450edef68\n\nFormer-commit-id: a37b5f7b7d8cc52c9947bc15230d1a7f0e972d06"
},
{
"from": "human",
"value": ... | java | chosen |
[
{
"from": "system",
"value": "Fix typo -> config is YAML now\n"
},
{
"from": "human",
"value": "package com.oneandone.snmpman;\n\nimport lombok.Getter;\nimport lombok.extern.slf4j.Slf4j;\nimport org.kohsuke.args4j.Option;\n\nimport java.io.File;\n\n/** The command-line options for the {@link Snm... | java | chosen |
[
{
"from": "system",
"value": "Switch focus back to top window\n"
},
{
"from": "human",
"value": "package org.callimachusproject.webdriver.pages;\n\nimport org.callimachusproject.webdriver.helpers.WebBrowserDriver;\nimport org.openqa.selenium.By;\n\npublic class DigestUserEdit extends CalliPage {... | java | chosen |
[
{
"from": "system",
"value": "Exclude skull profile tags from export\n"
},
{
"from": "human",
"value": "package roycurtis.signshopexport.json;\n\nimport com.google.gson.ExclusionStrategy;\nimport com.google.gson.FieldAttributes;\n\npublic class Exclusions implements ExclusionStrategy\n{\n @Ov... | java | chosen |
[
{
"from": "system",
"value": "Make sure StreamUtil.close also works for null\n\ngit-svn-id: 71d8a689455c5fbb0f077bc40adcfc391e14cb9d@1541134 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\r\n * Licensed to the Apache Software Foundation (ASF) under one or more\r\n * c... | java | chosen |
[
{
"from": "system",
"value": "Clean up warnings in test fixture\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2002-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 Lice... | java | chosen |
[
{
"from": "system",
"value": "Change Elements from Import And Export\n"
},
{
"from": "human",
"value": "package fr.synchrotron.soleil.ica.ci.lib.mongodb.domainobjects.project;\n\nimport fr.synchrotron.soleil.ica.ci.lib.mongodb.domainobjects.artifact.DeveloperDocument;\n\nimport java.util.List;\n... | java | chosen |
[
{
"from": "system",
"value": "Clarify the offline cause text.\n\nWe are shutting down the container, not the entire docker engine."
},
{
"from": "human",
"value": "package com.nirima.jenkins.plugins.docker;\n\nimport hudson.slaves.OfflineCause;\n\n/**\n * @author Kanstantsin Shautsou\n */\npubli... | java | chosen |
[
{
"from": "system",
"value": "Fix: Return null for undefined values.\n"
},
{
"from": "human",
"value": "package com.sandbox.runtime.js.serializers;\n\nimport jdk.nashorn.api.scripting.NashornScriptEngineFactory;\nimport jdk.nashorn.api.scripting.ScriptObjectMirror;\nimport org.slf4j.Logger;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Check if tuple list is empty"
},
{
"from": "human",
"value": "package org.webik.storm.StormUnit.trident.mock;\n\nimport java.util.LinkedList;\nimport java.util.List;\n\nimport storm.trident.operation.TridentCollector;\n\npublic class MockCollector implements Trident... | java | chosen |
[
{
"from": "system",
"value": "Add @RestController to default server config\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2015 The OpenZipkin Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the Licens... | java | chosen |
[
{
"from": "system",
"value": "Upgrade Localstack image to 0.12.6 for SQS too\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional informa... | java | chosen |
[
{
"from": "system",
"value": "Complete TODOs for T07.02 CreateTheDatabase exercise\n"
},
{
"from": "human",
"value": "package com.example.android.waitlist.data;\n\n// TODO (1) extend the SQLiteOpenHelper class\npublic class WaitlistDbHelper {\n\n // TODO (2) Create a static final String calle... | java | chosen |
[
{
"from": "system",
"value": "Update for Morden EIP150 HF\n"
},
{
"from": "human",
"value": "package org.ethereum.config.net;\n\nimport org.ethereum.config.blockchain.MordenConfig;\n\n/**\n * Created by Anton Nashatyrev on 25.02.2016.\n */\npublic class MordenNetConfig extends AbstractNetConfig ... | java | chosen |
[
{
"from": "system",
"value": "Create a scene with black background\n"
},
{
"from": "human",
"value": "package com.hjcubed.mysterytetris;\n\nimport org.andengine.engine.camera.Camera;\nimport org.andengine.engine.options.EngineOptions;\nimport org.andengine.engine.options.ScreenOrientation;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Optimize and Properly implement equals method."
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2012 Malhar, Inc.\n * All Rights Reserved.\n */\npackage com.malhartech.bufferserver;\n\nimport com.malhartech.bufferserver.util.SerializedData;\nimport org.jboss.... | java | chosen |
[
{
"from": "system",
"value": "Remove . and .. dirs from list result"
},
{
"from": "human",
"value": "/*\n * Directory Entry Filler Implementation Class of JSFSFillDir for JSyndicateFS\n */\npackage JSyndicateFS;\n\nimport JSyndicateFSJNI.struct.JSFSFillDir;\nimport JSyndicateFSJNI.struct.JSFSSta... | java | chosen |
[
{
"from": "system",
"value": "Stop the stdin thread if stdin get detached or not connected."
},
{
"from": "human",
"value": "package me.rkfg.xmpp.bot.plugins;\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.regex.Matcher;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Add a method to check if point is in circumcircle of triangle.\n"
},
{
"from": "human",
"value": "package com.sdsmdg.kd.trianglify.models;\n\n\nimport android.graphics.Point;\n\npublic class Triangle {\n public Point a;\n public Point b;\n public Point c;\n... | java | chosen |
[
{
"from": "system",
"value": "Add method to get current number of fetched items.\n"
},
{
"from": "human",
"value": "package com.tinkerpop.gremlin.driver;\n\nimport com.tinkerpop.gremlin.driver.message.ResponseMessage;\n\nimport java.util.ArrayList;\nimport java.util.Iterator;\nimport java.util.L... | java | chosen |
[
{
"from": "system",
"value": "Write Test to fail NoteMapper class\n"
},
{
"from": "human",
"value": "package com.andela.notelib.mapper;\n\nimport static org.junit.Assert.*;\n\n/**\n * Created by andela on 2/13/16.\n */\npublic class NoteMapperTest {\n\n @org.junit.Before\n public void setU... | java | chosen |
[
{
"from": "system",
"value": "Make attendance report verify the correct right.\n\nAddresses issue #24.\n"
},
{
"from": "human",
"value": "package org.kumoricon.site.report.attendees;\n\nimport com.vaadin.navigator.View;\nimport com.vaadin.shared.ui.label.ContentMode;\nimport com.vaadin.spring.an... | java | chosen |
[
{
"from": "system",
"value": "Use real invoker by default\n"
},
{
"from": "human",
"value": "package uk.org.mygrid.cagrid.servicewrapper.service.ncbiblast.invoker;\r\n\r\nimport uk.org.mygrid.cagrid.servicewrapper.serviceinvoker.InvokerException;\r\nimport uk.org.mygrid.cagrid.servicewrapper.ser... | java | chosen |
[
{
"from": "system",
"value": "Fix issues in achievement ID generation\n"
},
{
"from": "human",
"value": "package net.squanchy.contest;\n\nimport android.app.Activity;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view.ViewGroup;\n\nimport net.squanchy.R;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Use basic regex matcher to capture and return a string in the format \"d.d\"\n"
},
{
"from": "human",
"value": "package com.blocksolid.okrello.display;\n\nimport java.util.regex.Matcher;\n\n/**\n * Created by Dan Buckland on 02/12/2015.\n */\npublic class Scores {\n... | java | chosen |
[
{
"from": "system",
"value": ":speaker: Add Logs on Filed 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.view.View;\n\nimport jav... | java | chosen |
[
{
"from": "system",
"value": "Fix recursion issue with new special item entity code.\n"
},
{
"from": "human",
"value": "package net.minecraftforge.common;\n\nimport net.minecraft.src.*;\nimport net.minecraftforge.event.*;\nimport net.minecraftforge.event.entity.*;\n\npublic class ForgeInternalHa... | java | chosen |
[
{
"from": "system",
"value": "Fix typo in exception message"
},
{
"from": "human",
"value": "package rod;\n\n@SuppressWarnings(\"serial\")\npublic class UnrecognizableObservationException extends Exception {\n\n public UnrecognizableObservationException(Observation observation) {\n sup... | java | chosen |
[
{
"from": "system",
"value": "Add an accessor for the SecurityClassification enum.\n"
},
{
"from": "human",
"value": "/**\n * Copyright (c) Codice Foundation\n * \n * This is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser\n * General Public License as p... | java | chosen |
[
{
"from": "system",
"value": "Add a test for a \"real\" nodetool command, not only \"help\"\n\nPatch by Alex Petrov; reviewed by Yifan Cai for CASSANDRA-15429\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agre... | java | chosen |
[
{
"from": "system",
"value": "Fix error in fetching user settings for mutiple studies\n"
},
{
"from": "human",
"value": "package org.cbioportal.web.parameter;\n\nimport java.io.Serializable;\nimport java.util.List;\n\nimport javax.validation.constraints.NotNull;\nimport javax.validation.constrai... | java | chosen |
[
{
"from": "system",
"value": "Add actor and modified time to export policy 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 complia... | java | chosen |
[
{
"from": "system",
"value": "Remove unused code. Reduce util class visibility.\n"
},
{
"from": "human",
"value": "package com.ryanharter.auto.value.parcel;\n\nimport javax.lang.model.element.TypeElement;\nimport javax.lang.model.type.TypeKind;\nimport javax.lang.model.type.TypeMirror;\nimport j... | java | chosen |
[
{
"from": "system",
"value": "Add a custom hashCode and equals for performance.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 higherfrequencytrading.com\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 |
[
{
"from": "system",
"value": "Move timeline check before t pull\n"
},
{
"from": "human",
"value": "package com.tmitim.twittercli.commands;\n\nimport com.github.rvesse.airline.annotations.Command;\nimport com.github.rvesse.airline.annotations.Option;\nimport com.tmitim.twittercli.TimeLiner;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Fix error when user is logged out.\n"
},
{
"from": "human",
"value": "package com.pr0gramm.app.ui.fragments;\n\nimport com.google.common.collect.Lists;\nimport com.pr0gramm.app.ActivityComponent;\nimport com.pr0gramm.app.api.pr0gramm.response.Message;\nimport com.pr... | java | chosen |
[
{
"from": "system",
"value": "Add placeholder for synonyms and prevSymbols\n"
},
{
"from": "human",
"value": "package org.pdxfinder.accessionidtatamodel;\n\n/**\n * Created by csaba on 03/07/2017.\n */\npublic class AccessionData {\n\n private String symbol;\n private String hgncId;\n p... | java | chosen |
[
{
"from": "system",
"value": "Update constants as per db list\n"
},
{
"from": "human",
"value": "package com.koustuvsinha.benchmarker.utils;\n\nimport com.koustuvsinha.benchmarker.models.DbFactoryModel;\n\nimport java.util.ArrayList;\n\n/**\n * Created by koustuv on 24/5/15.\n */\npublic class C... | java | chosen |
[
{
"from": "system",
"value": "Fix the Charset to UTF-8\n"
},
{
"from": "human",
"value": "package org.pacey.dropwizardpebble;\n\nimport com.mitchellbosecke.pebble.PebbleEngine;\nimport com.mitchellbosecke.pebble.error.PebbleException;\nimport io.dropwizard.Configuration;\nimport io.dropwizard.li... | java | chosen |
[
{
"from": "system",
"value": "Change action after ChangeDirectoryCommand to be executed regardless of any user action to the command\n"
},
{
"from": "human",
"value": "package seedu.task.alerts;\n\nimport java.util.Optional;\n\nimport javafx.scene.control.Alert;\nimport javafx.scene.control.Butt... | java | chosen |
[
{
"from": "system",
"value": "Use builder to construct the source"
},
{
"from": "human",
"value": "package org.apidesign.demo.rubyjs.fromjava;\n\nimport com.oracle.truffle.api.source.Source;\nimport com.oracle.truffle.api.vm.PolyglotEngine;\nimport java.io.File;\nimport java.net.URL;\n\npublic f... | java | chosen |
[
{
"from": "system",
"value": "Change to UniquePredicate to avoid indirect references via PredicateUtils\n\n\ngit-svn-id: b713d2d75405ee089de821fbacfe0f8fc04e1abf@131707 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Copyright 1999-2004 The Apache Software Foundat... | java | chosen |
[
{
"from": "system",
"value": "Fix wrong type mapping for game player stats\n"
},
{
"from": "human",
"value": "package com.faforever.api.dto;\n\nimport com.faforever.api.elide.ElideEntity;\nimport com.github.jasminb.jsonapi.annotations.Id;\nimport com.github.jasminb.jsonapi.annotations.Relationsh... | java | chosen |
[
{
"from": "system",
"value": "Change hide parameter to context\n\n@brianplummer https://github.com/brianPlummer/TinyDancer/issues/21"
},
{
"from": "human",
"value": "package com.codemonkeylabs.fpslibrary;\n\nimport android.app.Application;\n\n/**\n * Created by brianplummer on 8/29/15.\n */\npub... | java | chosen |
[
{
"from": "system",
"value": "Add unusable default constructor to section controllers, for convenience when subclassing\n"
},
{
"from": "human",
"value": "package it.axant.axemas;\n\n\nimport android.content.Intent;\nimport android.os.Bundle;\nimport android.view.LayoutInflater;\nimport android.... | java | chosen |
[
{
"from": "system",
"value": "Add top-level exception handler that just fails test\n"
},
{
"from": "human",
"value": "package org.commcare.dalvik.application;\n\nimport org.commcare.android.database.HybridFileBackedSqlStorage;\nimport org.commcare.android.database.HybridFileBackedSqlStorageMock;... | java | chosen |
[
{
"from": "system",
"value": "[test] Add code to detect a git branch\n"
},
{
"from": "human",
"value": "package to.etc.testutil;\n\n/**\n * @author <a href=\"mailto:jal@etc.to\">Frits Jalvingh</a>\n * Created on 15-04-22.\n */\nfinal public class TestUtil {\n\tprivate TestUtil() {}\n\n\tpublic s... | java | chosen |
[
{
"from": "system",
"value": "Change better migration example actions\n"
},
{
"from": "human",
"value": "package br.com.bloder.better_migrations.migrations;\n\nimport br.com.bloder.migration.Migration;\nimport io.realm.DynamicRealm;\n\n/**\n * Created by bloder on 25/09/16.\n */\npublic class Ve... | java | chosen |
[
{
"from": "system",
"value": "Add get_by_key function to extract value by key from HashMaps\n"
},
{
"from": "human",
"value": "package com.github.vlsi.mat.optiq;\n\npublic class HeapFunctions {\n public static int get_id(Object r) {\n if (r == null || !(r instanceof HeapReference)) ret... | java | chosen |
[
{
"from": "system",
"value": "Check PIN deactivated status when checking for card operationality\n"
},
{
"from": "human",
"value": "/****************************************************************************\n * Copyright (C) 2017-2018 ecsec GmbH.\n * All rights reserved.\n * Contact: ecsec Gm... | java | chosen |
[
{
"from": "system",
"value": "Annotate new methods with since 4.5\n\nPart of gradle/gradle-native#191\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017 the original author or authors.\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": "Fix a test that should've been fixed long ago with the others\n"
},
{
"from": "human",
"value": "package forklift.integration;\n\nimport forklift.Forklift;\nimport forklift.connectors.ConnectorException;\nimport forklift.consumer.Consumer;\nimport forklift.exception... | java | chosen |
[
{
"from": "system",
"value": "Add doc comment for top-down Merge sort.\n"
},
{
"from": "human",
"value": "package com.varunvats.practice.sorting;\n\npublic class MergeTopDown extends MergeBase {\n\n public static <T extends Comparable<T>> void sort(T[] a) {\n final int N = a.length;\n ... | java | chosen |
[
{
"from": "system",
"value": "Mark the default state getter nullable in case no state is desired.\n"
},
{
"from": "human",
"value": "package org.basinmc.faucet.event;\n\nimport org.basinmc.faucet.internal.warn.Volatile;\n\n/**\n * Marks the annotated type as an event which may be passed to the l... | java | chosen |
[
{
"from": "system",
"value": "Fix issues reported by Sonar\n"
},
{
"from": "human",
"value": "package me.devsaki.hentoid.collection.mikan;\n\nimport com.google.gson.annotations.Expose;\n\nimport me.devsaki.hentoid.database.domains.Attribute;\nimport me.devsaki.hentoid.enums.AttributeType;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Add thorough tests for entrySet()\n"
},
{
"from": "human",
"value": "package com.github.kratorius.cuckoohash;\n\npublic class ViewsTest {\n}\n"
},
{
"from": "gpt",
"value": "package com.github.kratorius.cuckoohash;\n\nimport junit.framework.TestCase;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Remove CloudBees port setting method"
},
{
"from": "human",
"value": "package com.msgilligan.peerlist.config;\n\nimport org.springframework.boot.SpringApplication;\nimport org.springframework.boot.autoconfigure.EnableAutoConfiguration;\nimport org.springframework.bo... | java | chosen |
[
{
"from": "system",
"value": "Support Messages in storage modified exceptions\n"
},
{
"from": "human",
"value": "package org.javarosa.core.services.storage;\r\n\r\npublic class StorageModifiedException extends RuntimeException {\r\n\r\n}\r\n"
},
{
"from": "gpt",
"value": "package org... | java | chosen |
[
{
"from": "system",
"value": "Change occurrence of person to tasks in deleteCommand class\n"
},
{
"from": "human",
"value": "package seedu.address.logic.commands;\n\nimport seedu.address.commons.core.Messages;\nimport seedu.address.commons.core.UnmodifiableObservableList;\nimport seedu.address.m... | java | chosen |
[
{
"from": "system",
"value": "Use global settings instead of system settings.\n"
},
{
"from": "human",
"value": "/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http://m... | java | chosen |
[
{
"from": "system",
"value": "Clean up codes as test case\n"
},
{
"from": "human",
"value": "package net.folab.fo.runtime._fo._lang;\n\nimport static net.folab.fo.runtime._fo._lang.Boolean.*;\nimport static net.folab.fo.runtime._fo._lang.Integer.*;\n\nimport net.folab.fo.runtime.Evaluable;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Mark fields and fields generated by record components as SyntheticElement\n\nGitOrigin-RevId: 6edbb900a2e69b245fb86e474bf2eb74213f699c"
},
{
"from": "human",
"value": "// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 lice... | java | chosen |
[
{
"from": "system",
"value": "Remove code no longer required\n"
},
{
"from": "human",
"value": "package org.realityforge.arez.gwt.examples;\n\nimport elemental2.dom.DomGlobal;\nimport org.realityforge.arez.Arez;\nimport org.realityforge.arez.browser.extras.spy.ConsoleSpyEventProcessor;\nimport o... | java | chosen |
[
{
"from": "system",
"value": "Make the set of synapses final.\n"
},
{
"from": "human",
"value": "package org.neuralnetwork.neuron;\n\nimport java.util.HashSet;\nimport java.util.Set;\n\nimport org.neuralnetwork.synapse.AbstractSynapse;\n\npublic abstract class AbstractNeuron<ValueType, SynapseTy... | java | chosen |
[
{
"from": "system",
"value": "Move the call to the server into a separate thread\n\nSo that it does not block the webcore thread\n"
},
{
"from": "human",
"value": "package edu.berkeley.eecs.emission.cordova.comm;\n\nimport org.apache.cordova.*;\nimport org.json.JSONArray;\nimport org.json.JSONEx... | java | chosen |
[
{
"from": "system",
"value": "Handle data querying in Application controller.\n"
},
{
"from": "human",
"value": "/**\n * Copyright (C) 2014 Kasper Kronborg Isager and Sigrið Gyldenkærne Dalsgarð.\n */\npackage dk.itu.bookie.controller;\n\n// General utilities\nimport java.util.ResourceBundle;\n\... | java | chosen |
[
{
"from": "system",
"value": "Convert raw query to native representation"
},
{
"from": "human",
"value": "package liquibase.change.core;\r\n\r\nimport liquibase.change.AbstractSQLChange;\r\nimport liquibase.change.ChangeMetaData;\r\n\r\n/**\r\n * Allows execution of arbitrary SQL. This change c... | java | chosen |
[
{
"from": "system",
"value": "[JENKINS-20070] Clear SAX system property afterwards.\n"
},
{
"from": "human",
"value": "package hudson.plugins.analysis.util;\n\nimport org.apache.xerces.parsers.SAXParser;\n\n/**\n * Registers the correct SAX driver if the environment variable is set.\n */\npublic... | java | chosen |
[
{
"from": "system",
"value": "Fix typo in variable name\n"
},
{
"from": "human",
"value": "package org.ngrinder.infra.config;\n\nimport org.springframework.boot.autoconfigure.web.servlet.DispatcherServletPath;\nimport org.springframework.boot.web.servlet.ServletRegistrationBean;\nimport org.spri... | java | chosen |
[
{
"from": "system",
"value": "Remove unnecessary Guice.createInjector() from main\n"
},
{
"from": "human",
"value": "package is.stanton.andy;\n\nimport com.google.inject.Guice;\n\nimport javax.naming.InitialContext;\n\npublic class EntryPoint {\n public static void main(String[] args) throws ... | java | chosen |
[
{
"from": "system",
"value": "Test for looping a sequence when the value is saved on every increment.\n"
},
{
"from": "human",
"value": "package com.github.onsdigital.perkin.transform;\n\nimport org.junit.Test;\n\nimport static org.hamcrest.core.Is.is;\nimport static org.junit.Assert.assertThat;... | java | chosen |
[
{
"from": "system",
"value": "Fix whitespace at end of file"
},
{
"from": "human",
"value": "package com.gitrekt.resort.controller;\n\nimport java.net.URL;\nimport java.util.ResourceBundle;\nimport javafx.event.ActionEvent;\nimport javafx.fxml.FXML;\nimport javafx.fxml.Initializable;\nimport jav... | java | chosen |
[
{
"from": "system",
"value": "Change to show manager interface."
},
{
"from": "human",
"value": "package task.timer;\n\nimport javafx.application.Application;\nimport javafx.scene.Scene;\nimport javafx.scene.layout.AnchorPane;\n\nimport javafx.stage.Stage;\n\n\npublic class Main extends Applicat... | java | chosen |
[
{
"from": "system",
"value": "Add filter for name, combine with get all\n\n"
},
{
"from": "human",
"value": "package at.ac.tuwien.inso.service;\n\nimport at.ac.tuwien.inso.entity.Course;\nimport at.ac.tuwien.inso.entity.Semester;\nimport at.ac.tuwien.inso.repository.CourseRepository;\n\nimport o... | java | chosen |
[
{
"from": "system",
"value": "Add some logic on main activity\n"
},
{
"from": "human",
"value": "package trantect.android_framework_demo.activity;\n\nimport android.app.Activity;\nimport android.os.Bundle;\nimport android.util.Log;\n\nimport trantect.android_framework_demo.R;\n\n/**\n * Create b... | java | chosen |
[
{
"from": "system",
"value": "Adjust search to make use of Disease Ontology terms\n"
},
{
"from": "human",
"value": "package org.pdxfinder.repositories;\n\nimport org.pdxfinder.dao.OntologyTerm;\nimport org.springframework.data.neo4j.annotation.Query;\nimport org.springframework.data.repository.... | java | chosen |
[
{
"from": "system",
"value": "Fix class rename in caller class"
},
{
"from": "human",
"value": "package info.u_team.u_team_test.init;\n\nimport info.u_team.u_team_core.util.registry.RegistryWorker;\nimport info.u_team.u_team_test.TestMod;\nimport info.u_team.u_team_test.screen.*;\nimport net.min... | java | chosen |
[
{
"from": "system",
"value": "Add a way to evaluate traces into a single string output\n"
},
{
"from": "human",
"value": "package org.javarosa.core.model.utils;\n\nimport org.javarosa.core.model.trace.EvaluationTrace;\nimport org.javarosa.core.model.trace.EvaluationTraceReporter;\nimport org.jav... | java | chosen |
[
{
"from": "system",
"value": "Use file basename instead of fullname in sonar\n\nSome sonar plugin do no include git path as the source file path (for\nexample, sonar-visual-studio plugin generates filenames that are\nrelative to the module csproj file).\n\nUsing the file basename and a recursive match allow... | java | chosen |
[
{
"from": "system",
"value": "Add user to error messages\n"
},
{
"from": "human",
"value": "package org.signaut.jetty.deploy.providers.couchdb;\n\nimport java.io.IOException;\nimport java.io.Writer;\n\nimport javax.servlet.http.HttpServletRequest;\n\nimport org.eclipse.jetty.server.handler.Error... | java | chosen |
[
{
"from": "system",
"value": "Adjust name and description for consistency\n\nhttp://jira.diamond.ac.uk/browse/DATAACQTEAM-240"
},
{
"from": "human",
"value": "package org.eclipse.scanning.points;\n\nimport java.util.Iterator;\n\nimport org.eclipse.scanning.api.points.AbstractGenerator;\nimport o... | java | chosen |
[
{
"from": "system",
"value": "Implement equals() and hashCode() for supporting actions.\n\nThis way we make sure we dont have to identical resolvers.\n"
},
{
"from": "human",
"value": "package fape.core.planning.preprocessing;\n\n\nimport planstack.anml.model.abs.AbstractAction;\n\n/**\n * An ac... | java | chosen |
[
{
"from": "system",
"value": "Allow changing of villager id\n"
},
{
"from": "human",
"value": "package org.cyclops.cyclopscore.config.extendedconfig;\n\nimport org.cyclops.cyclopscore.config.ConfigurableType;\nimport org.cyclops.cyclopscore.config.configurable.ConfigurableVillager;\nimport org.c... | java | chosen |
[
{
"from": "system",
"value": "Change log level of trace message\n"
},
{
"from": "human",
"value": "package com.example.jersey_sample.gitlab;\n\nimport javax.ws.rs.POST;\nimport javax.ws.rs.Path;\n\nimport static com.example.jersey_sample.Log.GITLAB_LOG;\n\n/**\n * @author manhnt\n */\n@SuppressW... | java | chosen |
[
{
"from": "system",
"value": "Return Count Check compilable UT input\n"
},
{
"from": "human",
"value": "package com.puppycrawl.tools.checkstyle.checks.coding;\n/* комментарий на русском */\npublic class InputReturnCount\n{\n public boolean equals(Object obj) {\n int i = 1;\n swi... | java | chosen |
[
{
"from": "system",
"value": "Make abstract to avoid inspection.\n"
},
{
"from": "human",
"value": "package com.intellij.plugins.haxe.lang.parser.statements;\n\nimport com.intellij.plugins.haxe.lang.parser.HaxeParsingTestBase;\n\npublic class StatementTestBase extends HaxeParsingTestBase {\n pu... | java | chosen |
[
{
"from": "system",
"value": "Set application title in titlebar."
},
{
"from": "human",
"value": "package net.cdahmedeh.ultimeter.ui.main;\r\n\r\nimport net.cdahmedeh.ultimeter.persistence.dao.TodoManager;\r\nimport net.cdahmedeh.ultimeter.persistence.manager.PersistenceManager;\r\nimport net.cd... | java | chosen |
[
{
"from": "system",
"value": "Fix allure report path in test\n"
},
{
"from": "human",
"value": "package ru.yandex.qatools.allure.e2e;\n\nimport org.junit.Test;\nimport org.openqa.selenium.WebDriver;\nimport org.openqa.selenium.phantomjs.PhantomJSDriver;\nimport org.openqa.selenium.remote.Desired... | java | chosen |
[
{
"from": "system",
"value": "Fix build. Change CommandMetadata import.\n"
},
{
"from": "human",
"value": "package io.bootique.undertow.command;\n\nimport com.google.inject.Inject;\nimport com.google.inject.Provider;\nimport io.bootique.application.CommandMetadata;\nimport io.bootique.cli.Cli;\n... | java | chosen |
[
{
"from": "system",
"value": "Make the listener method private now"
},
{
"from": "human",
"value": "package info.u_team.u_team_test.init;\n\nimport info.u_team.u_team_core.util.registry.*;\nimport info.u_team.u_team_test.screen.*;\nimport net.minecraftforge.eventbus.api.IEventBus;\nimport net.mi... | java | chosen |
[
{
"from": "system",
"value": "Add Introduction class for Team Treehouse example\n"
},
{
"from": "human",
"value": "/**\n * @file Introductions.java\n * @author Valery Samovich\n * @version 1\n * @date 2015/04/07\n */\n\n/**\n * TeamTreehouse. Java Basics.\n */\npackage com.samovich.basics.introd... | java | chosen |
[
{
"from": "system",
"value": "feat: Implement MVP on john branch\n"
},
{
"from": "human",
"value": "package me.anky.connectid.data;\n\nimport java.util.List;\n\npublic class ConnectionsRepository implements ConnectionsDataSource {\n\n @Override\n public List<ConnectidConnection> getConnect... | java | chosen |
[
{
"from": "system",
"value": "Format Enforced & JDK8 proper Javadoc\n\nthis code appears built off earlier version of code prior to formatting.\nSo formatted.\nJDK8 javadoc is incorrect. Fixed it.\n"
},
{
"from": "human",
"value": "/**\n * Waffle (https://github.com/dblock/waffle)\n *\n * Copyr... | java | chosen |
[
{
"from": "system",
"value": "Test the HttpRequestHelper by loading a google search URL instead of Yahoo. Yahoo recently changed something that broke this.\n"
},
{
"from": "human",
"value": "package edu.pdx.cs410J.web;\n\nimport org.junit.Test;\n\nimport java.io.IOException;\nimport java.net.Ht... | java | chosen |
[
{
"from": "system",
"value": "Rename method -> false positive\n\ngit-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@10321 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3\n"
},
{
"from": "human",
"value": "package gcUnrelatedTypes;\n\nimport java.util.ArrayList;\nimport java.util.HashSet;\n\npublic class ... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.