conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Remove component scan for common package - not required obvs.\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.annotation;\n\nimport uk.ac.ebi.quickgo.annotation.service.search.SearchServiceConfig;\n\nimport org.springframework.boot.SpringApplication;\ni... | java | chosen |
[
{
"from": "system",
"value": "Allow setting schema version to -1.\n"
},
{
"from": "human",
"value": "\n/*\n * Copyright (C) 2015 Archie L. Cobbs. All rights reserved.\n */\n\npackage org.jsimpledb.cli.cmd;\n\nimport java.util.Map;\n\nimport org.jsimpledb.cli.CliSession;\nimport org.jsimpledb.par... | java | chosen |
[
{
"from": "system",
"value": "Fix ethan's eclipse package issues; Jamie\nETHAN - NO MORE ECLIPSE. EVER.\n"
},
{
"from": "human",
"value": "package main.java.org.usfirst.frc.team1360.robot.autonomous;\n\nimport edu.wpi.first.wpilibj.command.Command;\nimport edu.wpi.first.wpilibj.command.CommandGr... | java | chosen |
[
{
"from": "system",
"value": "DELETE @Data annotation\nDELETED BY MAENLIANG AT 2014-06-09"
},
{
"from": "human",
"value": "package org.foxbpm.web.model;\r\n\r\nimport lombok.Data;\r\n\r\n\r\n/**\r\n * 业务数据定义\r\n * \r\n * @author MEL\r\n * @date 2014-06-04\r\n */\r\n@Data\r\npublic class BizInfo ... | java | chosen |
[
{
"from": "system",
"value": "Reduce number of concurrent consumers\n\nfor owner -> node route"
},
{
"from": "human",
"value": "/*\n * Copyright 2012 Research Studios Austria Forschungsges.m.b.H. Licensed under\n * the Apache License, Version 2.0 (the \"License\"); you may not use this file\n * ... | java | chosen |
[
{
"from": "system",
"value": "Add private default constructor to avoid accidential instantiation"
},
{
"from": "human",
"value": "package com.codeaffine.extras.imageviewer.internal;\n\n\npublic class ImageViewerPlugin {\n\n public static final String ID = \"com.codeaffine.extras.imageviewer\";\... | java | chosen |
[
{
"from": "system",
"value": "TDP-2107: Fix issue in filter out node for empty content\n\n* Fix issue when filter node filters out all values in source data.\n"
},
{
"from": "human",
"value": "package org.talend.dataprep.transformation.pipeline.node;\n\nimport java.util.function.Function;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Use '_' instead of ':' in synthetic delegate task name\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 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": "Initialize levelnum, just in case\n\nSigned-off-by: Eli Skeggs <9586c285e7eef0e86d45536fe84e916128618137@wpi.edu>\n"
},
{
"from": "human",
"value": "package model;\r\n\r\n/**\r\n * Top-level player container.\r\n *\r\n * @author Eli Skeggs\r\n */\r\npublic class Pla... | java | chosen |
[
{
"from": "system",
"value": "Create method for generating public key for given private key\n"
},
{
"from": "human",
"value": "/**\n * Project ElGamal Algorithm.\n * Copyright Michał Szczygieł.\n * Created at Mar 19, 2014.\n */\npackage com.m4gik;\n\n/**\n * TODO COMMENTS MISSING!\n * \n * @auth... | java | chosen |
[
{
"from": "system",
"value": "Fix broken merge from Master.\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.index.annotation;\n\n/**\n * A class for creating stubbed annotations, representing rows of data read from\n * annotation source files.\n *\n * Created 22/04/16\n * @author Ed... | java | chosen |
[
{
"from": "system",
"value": "Change to return array of elements instead of implementing iterable.\n"
},
{
"from": "human",
"value": "package sophomore.classfile;\n\nimport java.util.Iterator;\nimport java.util.NoSuchElementException;\n\nabstract class Members <T> implements Iterable<T> {\n\t\n\... | java | chosen |
[
{
"from": "system",
"value": "Add generic types for an optional\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2000-2017 JetBrains s.r.o.\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": "Remove @Override annotation from 1.7 added method\n"
},
{
"from": "human",
"value": "package org.stagemonitor.core.instrument;\n\nimport java.sql.Connection;\nimport java.sql.Driver;\nimport java.sql.DriverPropertyInfo;\nimport java.sql.SQLException;\nimport java.sq... | java | chosen |
[
{
"from": "system",
"value": "Replace with trivial lambda default fixed after 2cfd1ece23\n"
},
{
"from": "human",
"value": "// \"Fix all 'Constant conditions & exceptions' problems in file\" \"true\"\nimport org.jetbrains.annotations.*;\n\nimport java.util.*;\nimport java.util.stream.Stream;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Fix stack node types mismatch\n"
},
{
"from": "human",
"value": "package org.spoofax.jsglr2.measure.parsing;\n\nimport org.spoofax.jsglr2.parseforest.IDerivation;\nimport org.spoofax.jsglr2.parseforest.IParseForest;\nimport org.spoofax.jsglr2.parseforest.IParseNode;... | java | chosen |
[
{
"from": "system",
"value": "Make the java test actually succeed\n"
},
{
"from": "human",
"value": "package net.serverpeon.discord.internal;\n\nimport net.serverpeon.discord.DiscordClient;\nimport org.junit.Test;\n\npublic class JavaCompatTest {\n @Test\n public void testBuilderAccess() {... | java | chosen |
[
{
"from": "system",
"value": "Exclude non-null properties in response.\n"
},
{
"from": "human",
"value": "/* Copyright 2018 Telstra Open Source\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 * ... | java | chosen |
[
{
"from": "system",
"value": "Add WA parameters to nation overview card DTO\n"
},
{
"from": "human",
"value": "package com.lloydtorres.stately.dto;\n\n/**\n * Created by Lloyd on 2016-07-24.\n * A holder for data in the main nation overview card.\n */\npublic class NationOverviewCardData {\n ... | java | chosen |
[
{
"from": "system",
"value": "Make the 'cm undo' command silent to avoid interactive behavior\n"
},
{
"from": "human",
"value": "package com.codicesoftware.plugins.hudson.commands;\n\nimport com.codicesoftware.plugins.hudson.util.MaskedArgumentListBuilder;\n\npublic class UndoCheckoutCommand imp... | java | chosen |
[
{
"from": "system",
"value": "Remove warnings by implementing equals/hashcode.\n\ngit-svn-id: ed609ce04ec9e3c0bc25e071e87814dd6d976548@446 c7a0535c-eda6-11de-83d8-6d5adf01d787\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2008-2011 Graham Allan\n *\n * Licensed under the Apache Li... | java | chosen |
[
{
"from": "system",
"value": "Add toString method for formulas\n"
},
{
"from": "human",
"value": "package beaform.entities;\n\nimport org.neo4j.graphdb.GraphDatabaseService;\nimport org.neo4j.graphdb.Label;\nimport org.neo4j.graphdb.Node;\nimport org.neo4j.graphdb.Transaction;\n\nimport beaform.... | java | chosen |
[
{
"from": "system",
"value": "Use action util to get doc\n"
},
{
"from": "human",
"value": "package com.karateca.ddescriber.toolWindow;\n\nimport com.intellij.openapi.editor.Document;\nimport com.intellij.openapi.fileEditor.FileDocumentManager;\nimport com.intellij.openapi.project.Project;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Add interface for Datastore items\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2020 Google LLC\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 obtai... | java | chosen |
[
{
"from": "system",
"value": "Use configuration setting to determine Yahoo App ID\n"
},
{
"from": "human",
"value": "package foodtruck.geolocation;\n\nimport com.google.inject.Inject;\nimport com.google.inject.name.Named;\nimport com.sun.jersey.api.client.WebResource;\n\nimport org.codehaus.jett... | java | chosen |
[
{
"from": "system",
"value": "Set lacp_reply to true if value is not specified\n\nCloses #4976\n"
},
{
"from": "human",
"value": "/* Copyright 2021 Telstra Open Source\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance... | java | chosen |
[
{
"from": "system",
"value": "Fix location of persistence annotations\n"
},
{
"from": "human",
"value": "package net.straininfo2.grs.idloader.bioproject.domain;\n\nimport javax.persistence.*;\n\n/**\n * Possible fields in which a project can be relevant.\n */\n@Entity\npublic class ProjectReleva... | java | chosen |
[
{
"from": "system",
"value": "Add system properties to allow override of SDK User Agent\n"
},
{
"from": "human",
"value": "package com.alienvault.otx.connect.internal;\n\nimport org.springframework.http.HttpHeaders;\nimport org.springframework.http.HttpMethod;\nimport org.springframework.http.cl... | java | chosen |
[
{
"from": "system",
"value": "Allow dictGet to have a default value.\n"
},
{
"from": "human",
"value": "package com.github.basking2.sdsai.itrex.packages;\n\nimport com.github.basking2.sdsai.itrex.functions.DictFunction;\nimport com.github.basking2.sdsai.itrex.functions.FunctionInterface;\n\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Disable the test as it fail\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2011 Sonatype, Inc. All rights reserved.\n *\n * This program is licensed to you under the Apache License Version 2.0,\n * and you may not use this file except in compliance with the... | java | chosen |
[
{
"from": "system",
"value": "Extend test for empty weights\n"
},
{
"from": "human",
"value": "package org.lodder.subtools.multisubdownloader.lib.control.subtitles.sorting.replacers;\n\nimport java.util.HashMap;\nimport org.junit.Before;\nimport org.junit.Test;\nimport org.lodder.subtools.sublib... | java | chosen |
[
{
"from": "system",
"value": "[Backend] Include exception cause's stacktrace in JSON in case of error.\n"
},
{
"from": "human",
"value": "package org.talend.dataprep.exception;\n\nimport java.io.IOException;\nimport java.io.Writer;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Make query with syntax error purple\n"
},
{
"from": "human",
"value": "package SW9.abstractions;\n\nimport SW9.utility.colors.Color;\n\npublic enum QueryState {\n SUCCESSFUL(Color.GREEN, Color.Intensity.I700, \"✓\"),\n ERROR(Color.RED, Color.Intensity.I700, \"... | java | chosen |
[
{
"from": "system",
"value": "Revert \" 版本信息及地址qobx.me --> qiniu.com\"\n\nThis reverts commit 118febda31caca805a1746d386cfc4f1568f5b08.\n"
},
{
"from": "human",
"value": "package com.qiniu.api.config;\n\n/**\n * The Config class is a global configuration file for the sdk, used for serve\n * side... | java | chosen |
[
{
"from": "system",
"value": "Modify the default class loader used to extract from jar\n"
},
{
"from": "human",
"value": "package redis.embedded.util;\n\nimport com.google.common.io.Files;\nimport com.google.common.io.Resources;\nimport org.apache.commons.io.FileUtils;\nimport redis.embedded.exc... | java | chosen |
[
{
"from": "system",
"value": "Add helper method to get blocked listener in frag\n\nOne user scenario could be that we want to start async tasks when the\nnavigation is blocked. These tasks might be better fired of from the\nfragment than the IntroActivity, thus listener needed in fragment.\n"
},
{
"... | java | chosen |
[
{
"from": "system",
"value": "Print error if the composition file cannot be found\n"
},
{
"from": "human",
"value": "package eu.netide.core.management.cli;\n\nimport eu.netide.core.api.IBackendManager;\nimport eu.netide.core.management.ManagementHandler;\nimport org.apache.karaf.shell.commands.A... | java | chosen |
[
{
"from": "system",
"value": "Remove Openwave header as it should not be there\n\nIt was include by mistake due to Eclipse autocomplete.\n"
},
{
"from": "human",
"value": "/*\r\n * Copyright (c) 2009 Openwave Systems Inc. All rights reserved.\r\n *\r\n * The copyright to the computer software he... | java | chosen |
[
{
"from": "system",
"value": "Update test to be more tolerant.\n"
},
{
"from": "human",
"value": "package com.jenjinstudios.server.net;\n\nimport org.mockito.Mockito;\nimport org.testng.Assert;\nimport org.testng.annotations.Test;\n\nimport java.util.LinkedList;\nimport java.util.Timer;\n\n/**\n... | java | chosen |
[
{
"from": "system",
"value": "Add prefix to new Parameters\n\nadd prefix for ID, Name, Deadline and Description to CliSyntax.java\n"
},
{
"from": "human",
"value": "package seedu.address.logic.parser;\n\nimport java.util.regex.Pattern;\n\nimport seedu.address.logic.parser.ArgumentTokenizer.Prefi... | java | chosen |
[
{
"from": "system",
"value": "Fix a la carga de paquete en ataque\n"
},
{
"from": "human",
"value": "package comandos;\n\nimport java.util.HashMap;\n\nimport mensajeria.PaqueteAtacar;\n\npublic class Atacar extends ComandoCliente {\n\n\t@Override\n\tpublic void ejecutar() {\n\t\tPaqueteAtacar pa... | java | chosen |
[
{
"from": "system",
"value": "Add test for page that redirects\n"
},
{
"from": "human",
"value": "package com.opera.core.systems;\n\nimport org.junit.Assert;\nimport org.junit.Test;\n\npublic class NavigationTest extends TestBase\n{\n @Test\n public void testBack()\n {\n\t getFixture(\"javas... | java | chosen |
[
{
"from": "system",
"value": "Fix jar static file handler on Windows\n"
},
{
"from": "human",
"value": "package peergos.server.net;\n\nimport java.io.*;\nimport java.nio.file.Path;\n\npublic class JarHandler extends StaticHandler {\n private final Path root;\n\n public JarHandler(boolean i... | java | chosen |
[
{
"from": "system",
"value": "Use facade instead of instantiating injectors manually.\n"
},
{
"from": "human",
"value": "package org.metaborg.sunshine;\n\nimport org.metaborg.spoofax.meta.core.SpoofaxMetaModule;\n\nimport com.google.inject.Guice;\nimport com.google.inject.Injector;\nimport com.m... | java | chosen |
[
{
"from": "system",
"value": "Use Menu Items instead of forlornly trying to add buttons to Preferences\n"
},
{
"from": "human",
"value": "package todomore.android;\r\n\r\nimport android.app.Activity;\r\nimport android.os.Bundle;\r\nimport android.preference.PreferenceFragment;\r\nimport android.... | java | chosen |
[
{
"from": "system",
"value": "Add new swing package to exports."
},
{
"from": "human",
"value": "/** \n * JFreeChart module.\n */\nmodule org.jfree.chart {\n requires java.desktop;\n exports org.jfree.chart;\n exports org.jfree.chart.annotations;\n exports org.jfree.chart.axis;\n ... | java | chosen |
[
{
"from": "system",
"value": "Allow error details to be any type\n"
},
{
"from": "human",
"value": "package de.innoaccel.wamp.server.message;\n\npublic class CallErrorMessage implements Message\n{\n private String callId;\n\n private String errorURI;\n\n private String errorDesc;\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Implement the list courses command.\n"
},
{
"from": "human",
"value": "package fi.helsinki.cs.tmc.cli.command;\n\nimport fi.helsinki.cs.tmc.core.TmcCore;\nimport fi.helsinki.cs.tmc.core.configuration.TmcSettings;\nimport fi.helsinki.cs.tmc.core.domain.Course;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Add missing definitions - GeneProductType; Database; GeneProductId"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.webservice.definitions;\r\n\r\n/**\r\n * @Author Tony Wardell\r\n * Date: 18/06/2015\r\n * Time: 10:59\r\n * Created with IntelliJ IDEA.\r\n... | java | chosen |
[
{
"from": "system",
"value": "Introduce `-B` option into `asakusafw.sh run`.\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2011-2017 Asakusa Framework Team.\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": "Call super.onCreate before setContentView to fix NPE\n"
},
{
"from": "human",
"value": "package org.edx.mobile.view;\n\nimport android.os.Bundle;\nimport android.webkit.WebView;\n\nimport org.edx.mobile.R;\nimport org.edx.mobile.base.FindCoursesBaseActivity;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Change color of background of project view\n"
},
{
"from": "human",
"value": "package com.github.ohtomi.sandbox;\n\nimport com.intellij.openapi.fileEditor.impl.EditorTabColorProvider;\nimport com.intellij.openapi.project.Project;\nimport com.intellij.openapi.vfs.Vir... | java | chosen |
[
{
"from": "system",
"value": "Change service state to real\n"
},
{
"from": "human",
"value": "package ge.edu.freeuni.sdp.iot.service.camera_object_recognizer.proxy;\n\n\nimport ge.edu.freeuni.sdp.iot.service.camera_object_recognizer.model.ServiceState;\n\nimport java.io.IOException;\nimport java... | java | chosen |
[
{
"from": "system",
"value": "Use ITaskManager instead of TaskManager.\n"
},
{
"from": "human",
"value": "package org.strategoxt.imp.metatooling.building;\n\nimport org.metaborg.runtime.task.TaskEngine;\nimport org.metaborg.runtime.task.TaskManager;\nimport org.spoofax.interpreter.library.index.... | java | chosen |
[
{
"from": "system",
"value": "Fix crash when reading entity hurt/death sound\n\nCloses #946\n"
},
{
"from": "human",
"value": "package org.cyclops.integrateddynamics.core.helper.obfuscation;\n\nimport net.minecraftforge.fml.relauncher.ReflectionHelper;\n\n/**\n * Entries used for getting private... | java | chosen |
[
{
"from": "system",
"value": "Add allowed methods to CORS response to allow PUT\n"
},
{
"from": "human",
"value": "/*\n * SystemConfig.java\n *\n * Copyright (C) 2018 [ A Legge Up ]\n *\n * This software may be modified and distributed under the terms\n * of the MIT license. See the LICENSE fil... | java | chosen |
[
{
"from": "system",
"value": "Add more real test fixture for time out command\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.... | java | chosen |
[
{
"from": "system",
"value": "Add default value to the thread pool size configuration.\n"
},
{
"from": "human",
"value": "package com.ziffit.autoconfigure.spring.concurrency;\n\nimport org.springframework.boot.context.properties.ConfigurationProperties;\nimport org.springframework.stereotype.Com... | java | chosen |
[
{
"from": "system",
"value": "Bz1178758: Fix JBDS import errors in ejb-throws-exception quickstart\n"
},
{
"from": "human",
"value": "/*\n * JBoss, Home of Professional Open Source\n * Copyright 2014, Red Hat, Inc. and/or its affiliates, and individual\n * contributors by the @authors tag. See t... | java | chosen |
[
{
"from": "system",
"value": "Update sample spring security config\n\nDisabling csrf:\n\nSee https://docs.spring.io/spring-security/site/docs/5.3.0.RELEASE/reference/html5/#csrf-when\n> Our recommendation is to use CSRF protection for any request that could be processed by a browser\n> by normal users. If y... | java | chosen |
[
{
"from": "system",
"value": "engine: Improve log message on failure to connect to storage server\n\nFrom now on log message will contain name and id of the relevant\nstorage domain a host failed to connect to.\n\nChange-Id: Ife941b59766e699a046122abc74aaede366a2015\nSigned-off-by: Sergey Gotliv <76a2e639c7... | java | chosen |
[
{
"from": "system",
"value": "Fix cause of failing DEAs\n"
},
{
"from": "human",
"value": "/*\n * The Gemma project.\n *\n * Copyright (c) 2006-2012 University of British Columbia\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in co... | java | chosen |
[
{
"from": "system",
"value": "Fix html tag for gradle\n"
},
{
"from": "human",
"value": "/**\r\n * Copyright 2016 Bartosz Schiller\r\n * <p>\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You ma... | java | chosen |
[
{
"from": "system",
"value": "Print JSON string to response object\n"
},
{
"from": "human",
"value": "// Copyright 2020 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a c... | java | chosen |
[
{
"from": "system",
"value": "Set change owners execution context\n\nWhen adding reviewers to a change, set the current identified\nuser to the local thread execution by impersonating the change\nowner.\n\nChange-Id: I2f1e1200b3d020483927e1d3803c52082fa468ec"
},
{
"from": "human",
"value": "/*\n... | java | chosen |
[
{
"from": "system",
"value": "Change access requirements for view holders\n\nView holders don't need to have public accessibility."
},
{
"from": "human",
"value": "package com.kasparpeterson.simplerecyclerview;\n\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.vie... | java | chosen |
[
{
"from": "system",
"value": "Make library root exception type unchecked"
},
{
"from": "human",
"value": "package edu.tamu.tcat.account.apacheds;\n\npublic class LdapException extends Exception\n{\n public LdapException(String message)\n {\n super(message);\n }\n\n public LdapExcept... | java | chosen |
[
{
"from": "system",
"value": "CSPACE-69: Add new string constants for PersonNuxeo and CollectionObject workspaces. Also gave these constants the values for our Nuxeo instance on demo.collectionspace.org.\n"
},
{
"from": "human",
"value": "package org.collectionspace.hello.services;\r\n\r\npubli... | java | chosen |
[
{
"from": "system",
"value": "Add translation for byte widget\n"
},
{
"from": "human",
"value": "package org.csstudio.opibuilder.adl2boy.translator;\n\nimport org.csstudio.opibuilder.model.AbstractContainerModel;\nimport org.csstudio.opibuilder.model.AbstractWidgetModel;\nimport org.csstudio.uti... | java | chosen |
[
{
"from": "system",
"value": "Add support for notation images."
},
{
"from": "human",
"value": "package org.openhealthtools.mdht.uml.hdf.ui.util;\r\n\r\nimport org.eclipse.core.runtime.CoreException;\r\nimport org.eclipse.core.runtime.IConfigurationElement;\r\nimport org.eclipse.core.runtime.IEx... | java | chosen |
[
{
"from": "system",
"value": "Add a string constant for the CSV export button label\n"
},
{
"from": "human",
"value": "package com.codenvy.ide.ext.datasource.client.sqllauncher;\n\nimport com.google.gwt.i18n.client.LocalizableResource.DefaultLocale;\nimport com.google.gwt.i18n.client.Messages;\n... | java | chosen |
[
{
"from": "system",
"value": "Update regex property validator such that it works with null\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 co... | java | chosen |
[
{
"from": "system",
"value": "Use UnprovidedSet when converting ember to Box.lots\n"
},
{
"from": "human",
"value": "package org.marsik.elshelves.backend.entities.converters;\n\nimport org.marsik.elshelves.api.entities.BoxApiModel;\nimport org.marsik.elshelves.backend.entities.Box;\nimport org.s... | java | chosen |
[
{
"from": "system",
"value": "Fix for MPLY-8221. Survey now handle a null survey url and urls that don't start with http or https. Buddy: Vimmy\n"
},
{
"from": "human",
"value": "// Copyright eeGeo Ltd (2012-2016), All Rights Reserved\n\npackage com.eegeo.surveys;\n\nimport com.eegeo.entrypointi... | java | chosen |
[
{
"from": "system",
"value": "Test we delegate remove too.\n\n"
},
{
"from": "human",
"value": "package net.hillsdon.fij.core;\n\nimport static java.util.Arrays.asList;\nimport static java.util.Collections.emptyList;\nimport static net.hillsdon.fij.core.Functional.list;\nimport static net.hillsd... | java | chosen |
[
{
"from": "system",
"value": "Use environment variables to obtain BLUEMIX credential info.\n"
},
{
"from": "human",
"value": "package Ming;\n\nimport com.ibm.watson.developer_cloud.speech_to_text.v1.SpeechToText;\nimport com.ibm.watson.developer_cloud.speech_to_text.v1.model.SpeechResults;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Add map utilities and mark them as TruffleBoundary\n"
},
{
"from": "human",
"value": "package org.metaborg.meta.interpreter.framework;\n\nimport org.spoofax.interpreter.terms.IStrategoTerm;\nimport org.spoofax.interpreter.terms.ITermFactory;\n\nimport com.github.kru... | java | chosen |
[
{
"from": "system",
"value": "Fix for NullPointerException when decompiling with `-r`.\n"
},
{
"from": "human",
"value": "package com.strobel.decompiler.languages;\n\nimport java.util.Collections;\nimport java.util.List;\n\n/**\n * <code>TypeCompilationResults</code> holds the result of decompil... | java | chosen |
[
{
"from": "system",
"value": "Fix buck plugin finder root\n\nSummary:\nhttps://github.com/decebals/pf4j/blob/1822cdede37ba649033021583ab29ee662835071/pf4j/src/main/java/org/pf4j/PropertiesPluginDescriptorFinder.java#L39\n\nWithout this fix, the following warnings are thrown when buck starts up on the main c... | java | chosen |
[
{
"from": "system",
"value": "Annotate parameter and field for better compiler checking\n"
},
{
"from": "human",
"value": "package com.veyndan.redditclient.ui.recyclerview.itemdecoration;\n\nimport android.content.Context;\nimport android.graphics.Rect;\nimport android.support.annotation.DimenRe... | java | chosen |
[
{
"from": "system",
"value": "Update docs on selection sort\n"
},
{
"from": "human",
"value": "import java.util.Arrays;\n\npublic class SelectionSort {\n\t\n\t/**\n\t * Selection Sort is an in-place comparison sort.\n\t * It has O(n^2) time complexity.\n\t */\n\tpublic int[] selection_sort(int... | java | chosen |
[
{
"from": "system",
"value": "Add check for whether we can programatically set status bar\n"
},
{
"from": "human",
"value": "package com.kickstarter.libs;\n\npublic class ApiCapabilities {\n private ApiCapabilities() {}\n\n public static boolean canDebugWebViews() {\n return android.os.Buil... | java | chosen |
[
{
"from": "system",
"value": "Remove unused imports and modifiers implied by context.\n"
},
{
"from": "human",
"value": "package com.graphhopper.reader;\n\nimport java.util.Collection;\n\nimport com.graphhopper.routing.util.TurnCostEncoder;\nimport com.graphhopper.util.EdgeExplorer;\n\npublic in... | java | chosen |
[
{
"from": "system",
"value": "Add attribute tag for sensor attributes"
},
{
"from": "human",
"value": "package com.linkedin.clustermanager.monitoring.adaptors;\n\npublic class JmxSensorAdaptor\n{\n\n}\n"
},
{
"from": "gpt",
"value": "package com.linkedin.clustermanager.monitoring.ada... | java | chosen |
[
{
"from": "system",
"value": "Save All is also a save action\n"
},
{
"from": "human",
"value": "package edu.oregonstate.cope.eclipse.listeners;\n\nimport org.eclipse.core.commands.ExecutionEvent;\nimport org.eclipse.core.commands.ExecutionException;\nimport org.eclipse.core.commands.IExecutionLi... | java | chosen |
[
{
"from": "system",
"value": "Add a method to get the previous GUI.\n"
},
{
"from": "human",
"value": "package io.musician101.musicianlibrary.java.minecraft.gui.chest;\n\nimport java.util.List;\n\npublic abstract class ChestGUI<C, G extends ChestGUI<C, G, I, J, P, S>, I, J, P, S> {\n\n protec... | java | chosen |
[
{
"from": "system",
"value": "[impl] Add workaround for model resolving bug in unit tests\n\nStolen from http://www.eclipse.org/forums/index.php/m/735764/\n"
},
{
"from": "human",
"value": "package edu.kit.iti.formal.pse.worthwhile;\n\n/**\n * Initialization support for running Xtext languages w... | java | chosen |
[
{
"from": "system",
"value": "core: Set type to Provider in query parameters class\n\nChange-Id: Ic7a1dee7182ca5697cb1728855ac9695b32cc1e9\nSigned-off-by: Moti Asayag <da1debb83a8e12b6e8822edf2c275f55cc51b720@redhat.com>\n"
},
{
"from": "human",
"value": "package org.ovirt.engine.core.common.que... | java | chosen |
[
{
"from": "system",
"value": "Throw 500's, because it's in vogue\n\n- Also set up a bad version for talk.\n"
},
{
"from": "human",
"value": "package io.mere.mortal;\n\nimport javax.servlet.annotation.WebServlet;\nimport javax.servlet.http.HttpServlet;\nimport javax.servlet.http.HttpServletReques... | java | chosen |
[
{
"from": "system",
"value": "Fix incorrect date format in urlencoded parameter parser.\n"
},
{
"from": "human",
"value": "package ru.fitgraph.rest.elements;\n\nimport javax.ws.rs.WebApplicationException;\nimport javax.ws.rs.core.Response;\nimport java.text.ParseException;\nimport java.text.Simp... | java | chosen |
[
{
"from": "system",
"value": "Enable custom map loaders to setOwnedTextures when not residing in\nthe *.tiled namespace\n"
},
{
"from": "human",
"value": "package com.badlogic.gdx.maps.tiled;\n\nimport com.badlogic.gdx.assets.AssetManager;\nimport com.badlogic.gdx.graphics.Texture;\nimport com.b... | java | chosen |
[
{
"from": "system",
"value": "Add reference hash & equals methods\n"
},
{
"from": "human",
"value": "package org.col.api;\n\n/**\n * Simplified literature reference class for proof of concept only.\n */\npublic class Reference {\n private Integer key;\n private Object csl;\n private Serial se... | java | chosen |
[
{
"from": "system",
"value": "Improve test coverage of util class."
},
{
"from": "human",
"value": "package uk.me.mjt.ch;\n\nimport java.util.HashMap;\nimport org.junit.Test;\nimport static org.junit.Assert.*;\n\npublic class UtilTest {\n \n public UtilTest() {\n }\n \n @Test\n ... | java | chosen |
[
{
"from": "system",
"value": "Create two dimensional coverage matrix where the first dimension is indexed by the test case number and the second dimension is indexed by the statement number\n"
},
{
"from": "human",
"value": "/**\n * Calculates suspiciousness and confidence values according to th... | java | chosen |
[
{
"from": "system",
"value": "Fix leaky abstraction by cloning double array instead of just copying reference.\n"
},
{
"from": "human",
"value": "package model;\n\nimport io.Preface;\n\nimport java.io.BufferedReader;\nimport java.io.FileReader;\nimport java.io.IOException;\n\npublic class Weight... | java | chosen |
[
{
"from": "system",
"value": "Add a constructor, slight cleanup\n\n"
},
{
"from": "human",
"value": "/*********************************************************************\n *\n * Copyright (C) 2006, Blekinge Institute of Technology\n *\n * Filename: Main.java\n * Author: Simon Kags... | java | chosen |
[
{
"from": "system",
"value": "Raise AssertError if test fails\n"
},
{
"from": "human",
"value": "package matrix4j.core;\nimport matrix4j.core.VectorIO;\n\n\npublic class TestVectorIO {\n static void testLoad() {\n String filename = \"testfiles/vector_src.txt\";\n Vector v = Vect... | java | chosen |
[
{
"from": "system",
"value": "Return username after credential reset\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2021 Wultra s.r.o.\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 o... | java | chosen |
[
{
"from": "system",
"value": "Fix up button in T06.01\n"
},
{
"from": "human",
"value": "package android.example.com.visualizerpreferences;\n\nimport android.support.v7.app.AppCompatActivity;\nimport android.os.Bundle;\n\npublic class SettingsActivity extends AppCompatActivity {\n\n @Override... | java | chosen |
[
{
"from": "system",
"value": "Remove view model in presenter\n"
},
{
"from": "human",
"value": "package lib.morkim.mfw.ui;\n\nimport android.content.Context;\n\nimport lib.morkim.mfw.app.AppContext;\n\npublic interface Viewable {\n\n\tpublic void finish();\n\tAppContext getMorkimContext();\n\n\t... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.