conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "fix: Remove redundant codes from cache loader\n"
},
{
"from": "human",
"value": "package utils;\n\nimport com.google.common.cache.CacheBuilder;\nimport com.google.common.cache.CacheLoader;\nimport com.google.common.cache.LoadingCache;\nimport models.Project;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Improve the stop grid command test\n"
},
{
"from": "human",
"value": "package com.groupon.seleniumgridextras.tasks;\n\nimport com.groupon.seleniumgridextras.config.RuntimeConfig;\nimport com.sun.net.httpserver.HttpServer;\n\nimport org.junit.After;\nimport org.junit... | java | chosen |
[
{
"from": "system",
"value": "Add function to modify teach-in bit\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2014 aleon GmbH.\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * which acco... | java | chosen |
[
{
"from": "system",
"value": "Revert \"fail test again to check email notification\"\n\nThis reverts commit c58395304e61c5afcc9817d5e5254209d6223487.\n"
},
{
"from": "human",
"value": "/*\n * This Java source file was generated by the Gradle 'init' task.\n */\nimport org.junit.Test;\nimport stat... | java | chosen |
[
{
"from": "system",
"value": "Fix early stop of gallery\n\nSometimes it returns an item less than expected (due to expunging for example). Assume it's only complete when you get a completely empty collection\n"
},
{
"from": "human",
"value": "package com.ecchilon.sadpanda.api;\n\nimport java.uti... | java | chosen |
[
{
"from": "system",
"value": "Fix node to set sentAuth whenever the object was generated\n"
},
{
"from": "human",
"value": "package network.thunder.core.communication;\n\nimport network.thunder.core.communication.objects.subobjects.AuthenticationObject;\n\npublic class Node {\n\tprivate byte[] p... | java | chosen |
[
{
"from": "system",
"value": "Fix the tile entity type (just push out null. We don't need this here)"
},
{
"from": "human",
"value": "package info.u_team.u_team_core.util.registry;\n\nimport java.util.function.Supplier;\n\nimport com.mojang.datafixers.DataFixUtils;\n\nimport net.minecraft.tileen... | java | chosen |
[
{
"from": "system",
"value": "Fix loading of file so it loads full file every time.\n"
},
{
"from": "human",
"value": "// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.documentapi.messagebus.protocol.test;\n\nimp... | java | chosen |
[
{
"from": "system",
"value": "Fix tests depending on native services\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 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": "Make Show Out of Date folders preference on by default. Now that the\nperformance problems are fixed, it should be on since it resolves a lot of\nuser problems.\n"
},
{
"from": "human",
"value": "/********************************************************************... | java | chosen |
[
{
"from": "system",
"value": "Fix wrong number of stopped shows in stopall cmd\n\nThis occurred because the number of running shows was checked after\nstopping them all. Therefore it was always 0.\n"
},
{
"from": "human",
"value": "package net.omniscimus.fireworks.commands;\n\nimport java.io.Uns... | java | chosen |
[
{
"from": "system",
"value": "Configure Firebase Test Lab Espresso test for MainActivity\n"
},
{
"from": "human",
"value": "/**\n * Copyright Google Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in complia... | java | chosen |
[
{
"from": "system",
"value": "Fix test issue with different jdk (javascript engines)\n"
},
{
"from": "human",
"value": "package org.graphwalker.core.machine;\n\nimport org.graphwalker.core.condition.VertexCoverage;\nimport org.graphwalker.core.generator.ShortestAllPaths;\nimport org.graphwalker.... | java | chosen |
[
{
"from": "system",
"value": "Improve efficiency to constant O(n)"
},
{
"from": "human",
"value": "package algorithms;\n\nimport java.util.Arrays;\n\npublic class MaxPairwiseProduct {\n\tstatic long getMaxPairwiseProduct(Integer[] numbers) {\n\t\tif (numbers.length == 1) {\n\t\t\treturn 0;\n\t\t... | java | chosen |
[
{
"from": "system",
"value": "Set focus to the first failed validation field.\n"
},
{
"from": "human",
"value": "package com.strohwitwer.awesomevalidation.validator;\n\nimport android.app.Activity;\nimport android.widget.EditText;\n\nimport com.strohwitwer.awesomevalidation.ValidationHolder;\nim... | java | chosen |
[
{
"from": "system",
"value": "Extend ServletModule instead of HttpPluginModule\n\nAs described in I3b89150d1.\n\nChange-Id: Ic91ce95719c6bccc73cc29a2139a2274f20d1939\n"
},
{
"from": "human",
"value": "// Copyright (C) 2013 The Android Open Source Project\n//\n// Licensed under the Apache License... | java | chosen |
[
{
"from": "system",
"value": "Fix onChatEvent to handle player null\n"
},
{
"from": "human",
"value": "package fr.epicanard.globalmarketchest.listeners;\n\nimport org.bukkit.entity.Player;\nimport org.bukkit.event.EventHandler;\nimport org.bukkit.event.Listener;\nimport org.bukkit.event.block.Bl... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Revert \"OLMIS-3533: Added javadoc for Reason type priority field\"\"\n\nThis reverts commit 68cd7a11b50c4f4a194f6d439e6b83b3b2f46243.\n"
},
{
"from": "human",
"value": "/*\n * This program is part of the OpenLMIS logistics management information system pla... | java | chosen |
[
{
"from": "system",
"value": "Add log message to library syncer\n"
},
{
"from": "human",
"value": "package de.philipphager.disclosure.feature.sync.api.usecases;\n\nimport de.philipphager.disclosure.api.DisclosureApi;\nimport de.philipphager.disclosure.database.library.model.Library;\nimport de.p... | java | chosen |
[
{
"from": "system",
"value": "Make visible to interpreter \"compositions\" outside this package.\n\nsvn path=/spoofax/trunk/spoofax/org.spoofax.interpreter.adapter.ecj/; revision=16660\n"
},
{
"from": "human",
"value": "/*\n *\n * Copyright (c) 2005, Karl Trygve Kalleberg <karltk@ii.uib.no>\n * ... | java | chosen |
[
{
"from": "system",
"value": "Fix by Sylvain on duplicated name for serializers Record and Long\n\ngit-svn-id: 9ddf022f45b579842a47abc018ed2b18cdc52108@4811 3625ad7b-9c83-922f-a72b-73d79161f2ea\n"
},
{
"from": "human",
"value": "/*\r\n * Copyright 1999-2010 Luca Garulli (l.garulli--at--orientech... | java | chosen |
[
{
"from": "system",
"value": "[FC-77] Allow blue-green startup to be specified from \"-Dblue.green.startup\" param.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 Click Travel Ltd\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file ex... | java | chosen |
[
{
"from": "system",
"value": "Drop references from popped classes."
},
{
"from": "human",
"value": "package com.thoughtworks.xstream.core.util;\n\npublic final class ClassStack {\n\n private Class[] stack;\n private int pointer;\n\n public ClassStack(int initialCapacity) {\n stac... | java | chosen |
[
{
"from": "system",
"value": "Add package org.gbif.ws.server.advice to scan\n"
},
{
"from": "human",
"value": "package org.gbif.registry;\n\nimport org.mybatis.spring.annotation.MapperScan;\nimport org.springframework.boot.SpringApplication;\nimport org.springframework.boot.actuate.autoconfigure... | java | chosen |
[
{
"from": "system",
"value": "Load EdX login screen in WebView on create.\n"
},
{
"from": "human",
"value": "package com.github.krooken.edxvideoviewer;\n\nimport android.os.Bundle;\nimport android.app.Activity;\nimport android.view.Menu;\n\npublic class LoginScreen extends Activity {\n\n\t@Overr... | java | chosen |
[
{
"from": "system",
"value": "SO-3379: Add text/csv media type constant"
},
{
"from": "human",
"value": "/*\n * Copyright 2011-2015 B2i Healthcare Pte Ltd, http://b2i.sg\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": "Remove date todo\nAdd DRY todo\n\ngit-svn-id: bdb5f82b9b83a1400e05d69d262344b821646179@1452 e217846f-e12e-0410-a4e5-89ccaea66ff7\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2007-2008 University Of Southern California\n *\n * Licensed under the Apache Licen... | java | chosen |
[
{
"from": "system",
"value": "Replace star inport with explicit ones\n"
},
{
"from": "human",
"value": "package com.novoda.downloadmanager;\n\nimport android.support.annotation.WorkerThread;\n\nimport java.util.List;\n\nimport static com.novoda.downloadmanager.DownloadBatchStatus.Status.*;\n\nfi... | java | chosen |
[
{
"from": "system",
"value": "Add number validation in validations class\n"
},
{
"from": "human",
"value": "package br.com.bloder.blormlib.validation;\n\n\nimport br.com.bloder.blormlib.validation.validations.Checked;\nimport br.com.bloder.blormlib.validation.validations.Email;\nimport br.com.bl... | java | chosen |
[
{
"from": "system",
"value": "Put opening diagrams to a UI thread\n"
},
{
"from": "human",
"value": "package hu.eltesoft.modelexecution.ide.debug.ui;\r\n\r\nimport java.util.List;\r\n\r\nimport org.eclipse.emf.ecore.EObject;\r\nimport org.eclipse.gmf.runtime.notation.Diagram;\r\nimport org.eclip... | java | chosen |
[
{
"from": "system",
"value": "Make never ending traverser consume less CPU.\n\nMax, please review.\n"
},
{
"from": "human",
"value": "// Copyright 2006 Google Inc. All Rights Reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except... | java | chosen |
[
{
"from": "system",
"value": "Add support for item data"
},
{
"from": "human",
"value": "package info.tregmine.database.db;\n\nimport java.sql.Connection;\nimport java.sql.PreparedStatement;\nimport java.sql.ResultSet;\nimport java.sql.SQLException;\n\nimport info.tregmine.database.IItemDAO;\nim... | java | chosen |
[
{
"from": "system",
"value": "Add Hashtag mention type to comments\n"
},
{
"from": "human",
"value": "package com.creatubbles.api.model.comment;\n\nimport android.support.annotation.NonNull;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonValu... | java | chosen |
[
{
"from": "system",
"value": "Add Group description and size to excerpt projection\n\nChange-Id: Ie5cebac22f4caff7324d01a0dd3fe5cd7b5a4bc7\n"
},
{
"from": "human",
"value": "package com.cgi.eoss.ftep.api.projections;\n\nimport com.cgi.eoss.ftep.model.Group;\nimport org.springframework.data.rest.... | java | chosen |
[
{
"from": "system",
"value": "Fix unpredictable number of stars in rating question type bug\n"
},
{
"from": "human",
"value": "package org.adaptlab.chpir.android.survey.QuestionFragments;\n\nimport org.adaptlab.chpir.android.survey.QuestionFragment;\n\nimport android.view.ViewGroup;\nimport andr... | java | chosen |
[
{
"from": "system",
"value": "Fix license header in file\n"
},
{
"from": "human",
"value": "package com.speedment.runtime.internal.platform.component.impl;\n\nimport com.speedment.runtime.Speedment;\nimport com.speedment.runtime.internal.runtime.DefaultApplicationBuilder;\nimport static org.juni... | java | chosen |
[
{
"from": "system",
"value": "[COLAB-2469] Add method to get type from category\n"
},
{
"from": "human",
"value": "package org.xcolab.client.activities.enums;\n\npublic enum ActivityCategory {\n MEMBER,\n DISCUSSION,\n PROPOSAL,\n CONTEST;\n}\n"
},
{
"from": "gpt",
"value... | java | chosen |
[
{
"from": "system",
"value": "Remove Singletone Test of FileModel\n"
},
{
"from": "human",
"value": "package model;\n\nimport org.junit.Test;\n\nimport java.io.File;\nimport java.io.FileNotFoundException;\nimport java.io.FileReader;\nimport java.util.ArrayList;\nimport java.util.Scanner;\n\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Declare field as a List\n"
},
{
"from": "human",
"value": "/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://ww... | java | chosen |
[
{
"from": "system",
"value": "Add line predicate to filter output lines\n"
},
{
"from": "human",
"value": "package com.github.blindpirate.gogradle.build;\n\nimport com.github.blindpirate.gogradle.util.ExceptionHandler;\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.i... | java | chosen |
[
{
"from": "system",
"value": "SEC-1996: Fix javadoc to work with jdk 1.5\n\nThe javadoc did not work with JDK 1.5 due to a JDK bug fixed in JDK 1.6.\n\nThis changed the javadoc that had a tag that started with <a and was not\nclosed to escape the < >. This resolves the issue with the JDK 1.5 javadoc\nbug.\n... | java | chosen |
[
{
"from": "system",
"value": "Fix: Repair more broken cli tests\n"
},
{
"from": "human",
"value": "package com.formulasearchengine.mathosphere.mlp.contracts;\n\nimport com.formulasearchengine.mathosphere.mlp.cli.FlinkMlpCommandConfig;\nimport com.formulasearchengine.mathosphere.mlp.pojos.ParsedW... | java | chosen |
[
{
"from": "system",
"value": "Use StringBuilder instead of StringBuffer.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2007 Open Source Applications Foundation\n * \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with... | java | chosen |
[
{
"from": "system",
"value": "Add documentation requiring non-null values.\n\ngit-svn-id: de5ce936019686f47409c93bcc5e202a9739563b@1597362 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": "Add support for NCLOB sql type"
},
{
"from": "human",
"value": "package nl.idgis.publisher.provider.database.messages;\r\n\r\nimport java.io.Serializable;\r\n\r\nimport nl.idgis.publisher.domain.service.Type;\r\n\r\npublic class DatabaseColumnInfo implements Seriali... | java | chosen |
[
{
"from": "system",
"value": "Use newer version of Oracle"
},
{
"from": "human",
"value": "/**\n * Copyright 2009 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You... | java | chosen |
[
{
"from": "system",
"value": "Use final variables for Ballot Counting and Constituency objects being tested.\n"
},
{
"from": "human",
"value": "package ie.lero.evoting.scenario;\n\nimport junit.framework.TestCase;\nimport election.tally.BallotCounting;\nimport election.tally.Constituency;\n\npub... | java | chosen |
[
{
"from": "system",
"value": "Drop some unnecessary code from Response\n"
},
{
"from": "human",
"value": "package com.hamishrickerby.http_server;\n\n/**\n * Created by rickerbh on 17/08/2016.\n */\npublic class ResponseFactory {\n String rootPath;\n\n public ResponseFactory(String rootPath... | java | chosen |
[
{
"from": "system",
"value": "Add support for text based LongArrayTextReference\n"
},
{
"from": "human",
"value": "package net.openhft.chronicle.bytes;\n\npublic interface ByteStringAppender<B extends ByteStringAppender<B>> extends StreamingDataOutput<B> {\n default B append(char ch) {\n ... | java | chosen |
[
{
"from": "system",
"value": "Fix unit test after exception removal"
},
{
"from": "human",
"value": "package com.arondor.common.reflection.parser.java;\r\n\r\nimport java.util.Arrays;\r\nimport java.util.List;\r\n\r\nimport org.junit.Assert;\r\nimport org.junit.Test;\r\n\r\nimport com.arondor.co... | java | chosen |
[
{
"from": "system",
"value": "Add parameter to app as executable file\n"
},
{
"from": "human",
"value": "/**\n * Project RSA Algorithm.\n * Copyright Michał Szczygieł.\n * Created at Feb 24, 2014.\n */\n\nimport java.io.IOException;\nimport java.io.OutputStream;\n\nimport org.apache.log4j.LogMan... | java | chosen |
[
{
"from": "system",
"value": "Correct grammar in e-mail test message\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 Space Dynamics Laboratory - Utah State University Research Foundation.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this ... | java | chosen |
[
{
"from": "system",
"value": "Add extension mappings to server.\n"
},
{
"from": "human",
"value": "/**\n */\npackage org.example.activemq.orbweaver.cc;\n\nimport javax.ws.rs.ext.RuntimeDelegate;\n\nimport org.apache.cxf.endpoint.Server;\nimport org.apache.cxf.jaxrs.JAXRSServerFactoryBean;\n\n\n/... | java | chosen |
[
{
"from": "system",
"value": "engine: Use proper method to mark net changes as saved\n\nThe patch reduces the need for updating the entire VdsDynamic\ndata by using a designated method for saving the dirty-network\nindicator of the host.\n\nChange-Id: Ib4c54214a275a1653c46bca7c95ff847975dd7d4\nSigned-off-by... | java | chosen |
[
{
"from": "system",
"value": "Camel-file-watch: Use FileHash because HashCode has been removed\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 ... | java | chosen |
[
{
"from": "system",
"value": "Rename Spigot to XenForo and fix duplicating the TrayIcon\n"
},
{
"from": "human",
"value": "package com.cldfire.xenforonotifier.util;\n\nimport java.awt.Image;\nimport java.awt.SystemTray;\nimport java.awt.Toolkit;\nimport java.awt.TrayIcon;\nimport java.awt.TrayIc... | java | chosen |
[
{
"from": "system",
"value": "Add delegate constructor for the episodes/watched request\n"
},
{
"from": "human",
"value": "package com.alexrnl.jbetaseries.request.episodes;\n\nimport com.alexrnl.jbetaseries.request.APIAddresses;\nimport com.alexrnl.jbetaseries.request.Request;\nimport com.alexrn... | java | chosen |
[
{
"from": "system",
"value": "Add Serializable interface for PrepareStatementParameterHeader.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016-2018 shardingsphere.io.\n * <p>\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in com... | java | chosen |
[
{
"from": "system",
"value": "XWIKI-10405: Implement a new Platform Mail Sender API\n* Add missing @Unstable annotation\n"
},
{
"from": "human",
"value": "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free soft... | java | chosen |
[
{
"from": "system",
"value": "Remove deprecated override on createJSModules method\n"
},
{
"from": "human",
"value": "package com.marcshilling.idletimer;\n\nimport com.facebook.react.ReactPackage;\nimport com.facebook.react.bridge.JavaScriptModule;\nimport com.facebook.react.bridge.NativeModule;... | java | chosen |
[
{
"from": "system",
"value": "XCOMMONS-9: Move from Commons Logging/Log4J to SLF4J/Logback\n\n** Fixed javadoc\n"
},
{
"from": "human",
"value": "/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you... | java | chosen |
[
{
"from": "system",
"value": "Remove passing a file extension explicitly.\n\nHello!\r\n\r\nIn this code, the `SimpleFileType` instance passed as the first argument and the `\"simple\"` file extension as the second parameter.\r\n\r\nAs far as I can see in FileTypeManagerImpl:263:\r\n```java\r\n@Override\r\np... | java | chosen |
[
{
"from": "system",
"value": "Add user id and token parameters to success method in mock auth response listener test\n"
},
{
"from": "human",
"value": "package com.simperium.test;\n\nimport com.simperium.client.AuthException;\nimport com.simperium.client.AuthResponseListener;\nimport com.simperi... | java | chosen |
[
{
"from": "system",
"value": "Use the enum constant as the default value\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014-2015 Hewlett-Packard Development Company, L.P.\n * Licensed under the MIT License (the \"License\"); you may not use this file except in compliance with the License.\... | java | chosen |
[
{
"from": "system",
"value": "Add constructors and toString method to make unit testing easier\n"
},
{
"from": "human",
"value": "package org.opennms.netmgt.model;\n\npublic class OnmsMonitoringLocationDefinition {\n\n private String m_area;\n\n private String m_name;\n\n private String... | java | chosen |
[
{
"from": "system",
"value": "Add a private constructor to hide the implicit public one\n\nAdd a private constructor to hide the implicit public one on\nOpenConfigComparatorFactory.\n\nChange-Id: Id24e1b3bb8c59e0eaed71093acd4443e75ac50db\nSigned-off-by: Claudio D. Gasparini <3480fb4575078d890be8aed0007cb1d8... | java | chosen |
[
{
"from": "system",
"value": "Use proper metadata serializer for spawn player"
},
{
"from": "human",
"value": "package protocolsupport.protocol.packet.middleimpl.clientbound.play.v_1_9_r1__1_9_r2;\n\nimport java.io.IOException;\n\nimport protocolsupport.api.ProtocolVersion;\nimport protocolsuppo... | java | chosen |
[
{
"from": "system",
"value": "Rename Log4j 2.0 -> Log4j 2 in javadoc.\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 information reg... | java | chosen |
[
{
"from": "system",
"value": "Set default conversation time to 30 minutes"
},
{
"from": "human",
"value": "package org.gluu.jsf2.service;\r\n\r\nimport java.io.Serializable;\r\n\r\nimport javax.enterprise.context.Conversation;\r\nimport javax.enterprise.context.ConversationScoped;\r\nimport java... | java | chosen |
[
{
"from": "system",
"value": "Reduce scope of method (used in tests only).\n"
},
{
"from": "human",
"value": "package no.deichman.services.utils;\n\nimport no.deichman.services.repository.Repository;\nimport no.deichman.services.uridefaults.BaseURI;\nimport org.apache.commons.lang3.RandomStringU... | java | chosen |
[
{
"from": "system",
"value": "Change name displayed for desktop streaming device in the media configuration panel.\n"
},
{
"from": "human",
"value": "/*\n * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.\n *\n * Distributable under LGPL license.\n * See terms of license... | java | chosen |
[
{
"from": "system",
"value": "Add shared layer 4 routing method\n"
},
{
"from": "human",
"value": "// Copyright 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.config.provision.zone;\n\n/**\n * The routing methods supported b... | java | chosen |
[
{
"from": "system",
"value": "Add method to find by user id\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.spot.goci.repository;\n\nimport org.springframework.data.jpa.repository.JpaRepository;\nimport org.springframework.data.rest.core.annotation.RepositoryRestResource;\nimport uk.ac.ebi.... | java | chosen |
[
{
"from": "system",
"value": "Add documentation to Login types.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 Hewlett-Packard Development Company, L.P.\n * Licensed under the MIT License (the \"License\"); you may not use this file except in compliance with the License.\n */\n\npackag... | java | chosen |
[
{
"from": "system",
"value": "Add another button in CrudFrame now adds below the current category\nitem."
},
{
"from": "human",
"value": "package com.clementscode.mmi.swing;\n\nimport java.awt.event.ActionEvent;\n\nimport javax.swing.AbstractAction;\nimport javax.swing.JPanel;\n\npublic class Ac... | java | chosen |
[
{
"from": "system",
"value": "Use system properties instead of environment variables\n"
},
{
"from": "human",
"value": "// Copyright: (c) 2014 Christopher Davis <http://christopherdavis.me>\n// License: MIT http://opensource.org/licenses/MIT\n\npackage org.chrisguitarguy.beanstalkc;\n\nimport ja... | java | chosen |
[
{
"from": "system",
"value": "Test failing in OpenJDK6 (but not OracleJDK7?) due to using assertSame to compare strings, switch to assertEquals.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2012 Ryan W Tenney (http://ryan.10e.us)\n * and Martello Technologies (http://martellote... | java | chosen |
[
{
"from": "system",
"value": "Fix for changed createTestExecution API WMKNBN-6045\n"
},
{
"from": "human",
"value": "package com.testfabrik.webmate.javasdk.testmgmt;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.databind.JsonNode;\nimport com.fasterxml.jac... | java | chosen |
[
{
"from": "system",
"value": "Update the admin rest api version\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n *\n * WSO2 Inc. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not ... | java | chosen |
[
{
"from": "system",
"value": "Add UIHint.SELECT to NumericaContraint's supported hints\n"
},
{
"from": "human",
"value": "package org.sagebionetworks.bridge.models.surveys;\n\nimport java.util.EnumSet;\n\npublic class NumericalConstraints extends Constraints {\n \n private Unit unit;\n ... | java | chosen |
[
{
"from": "system",
"value": "Remove public keyword from interface declarations\n"
},
{
"from": "human",
"value": "package org.commcare.android.tasks.templates;\n\n/**\n * @author ctsims\n */\npublic interface CommCareTaskConnector<R> {\n\n /**\n * IMPORTANT: Any implementing class of C... | java | chosen |
[
{
"from": "system",
"value": "Add test for round tripping via chronicle indexed.\n"
},
{
"from": "human",
"value": "package vanilla.java.echo;\n\nimport net.openhft.affinity.AffinityLock;\nimport net.openhft.chronicle.Chronicle;\nimport net.openhft.chronicle.ChronicleQueueBuilder;\nimport net.op... | java | chosen |
[
{
"from": "system",
"value": "Add current pot and cards to client table representation\n"
},
{
"from": "human",
"value": "//J-\npackage com.whippy.poker.common.beans;\n\n\npublic class ClientTable {\n\n private ClientSeat[] seats;\n private int id;\n private TableState state... | java | chosen |
[
{
"from": "system",
"value": "Fix breaking change for RN 0.47\n"
},
{
"from": "human",
"value": "package com.barefootcoders.android.react.KDSocialShare;\n\nimport android.app.Activity;\n\nimport com.facebook.react.ReactPackage;\nimport com.facebook.react.bridge.JavaScriptModule;\nimport com.face... | java | chosen |
[
{
"from": "system",
"value": "Use logger instead of stdout for JSGLR2 logging\n"
},
{
"from": "human",
"value": "package org.spoofax.jsglr2;\n\nimport org.metaborg.parsetable.IParseTable;\nimport org.spoofax.interpreter.terms.IStrategoTerm;\nimport org.spoofax.jsglr2.parser.observing.LogParserOb... | java | chosen |
[
{
"from": "system",
"value": "vcs: Fix editor diff preview tab title in dumb mode\n\nGitOrigin-RevId: c0a28542fe11dce1c283c58a5c5c3501f973645d"
},
{
"from": "human",
"value": "// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found ... | java | chosen |
[
{
"from": "system",
"value": "Review: Add comments. Remove space removal.\n"
},
{
"from": "human",
"value": "package org.apache.mesos.elasticsearch.scheduler.state;\n\nimport org.apache.log4j.Logger;\n\nimport java.io.IOException;\nimport java.security.InvalidParameterException;\n\n/**\n * Path ... | java | chosen |
[
{
"from": "system",
"value": "Complete refactor of SEND_DATA -> DATA_RESPONSE\n"
},
{
"from": "human",
"value": "package me.jesensky.dan.playertracker.net.packets;\n\nimport me.jesensky.dan.playertracker.exceptions.InvalidPacketException;\n\npublic class DataResponsePacket extends Packet{\n p... | java | chosen |
[
{
"from": "system",
"value": "Remove stetho. Will write test cases instead of checking layout hierarchy manually.\n"
},
{
"from": "human",
"value": "package me.samthompson.bubbleactions_sample;\n\nimport android.app.Application;\n\nimport com.facebook.stetho.Stetho;\n\n/**\n * Created by sam on ... | java | chosen |
[
{
"from": "system",
"value": "Make the jplock/zookeeper tag explicit (3.4.6 instead of 'latest')\n"
},
{
"from": "human",
"value": "package com.containersol.minimesos.mesos;\n\nimport com.containersol.minimesos.MesosCluster;\nimport com.containersol.minimesos.container.AbstractContainer;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Change color of reload commands message to green\n"
},
{
"from": "human",
"value": "package io.github.aquerr.eaglefactions.common.commands;\n\nimport io.github.aquerr.eaglefactions.api.EagleFactions;\nimport io.github.aquerr.eaglefactions.common.PluginInfo;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Enable changing the userName or password.\n\ngit-svn-id: ee4ab06e2b80aa0503c7056b29ac4b88b48aacce@933 f7ae4463-c52f-0410-a7dc-93bad6e629e8\n"
},
{
"from": "human",
"value": "/*\r\n * Copyright 2009 Paul Austin\r\n *\r\n * Licensed under the Apache License, Version 2... | java | chosen |
[
{
"from": "system",
"value": "Implement web image container class\n"
},
{
"from": "human",
"value": "package com.wrapp.android.webimageexample;\n\npublic class WebImageContainerView {\n}\n"
},
{
"from": "gpt",
"value": "package com.wrapp.android.webimageexample;\n\nimport android.con... | java | chosen |
[
{
"from": "system",
"value": "Fix compilation error & ignore test since it fails sometimes in parallel test execution\n"
},
{
"from": "human",
"value": "package de.marza.firstspirit.modules.logging.console.utilities;\n\nimport org.junit.Before;\nimport org.junit.Rule;\nimport org.junit.Test;\nim... | java | chosen |
[
{
"from": "system",
"value": "Increase the margin of error for the clock time test\n"
},
{
"from": "human",
"value": "package com.codahale.metrics;\n\nimport org.junit.Test;\n\nimport java.lang.management.ManagementFactory;\n\nimport static org.assertj.core.api.Assertions.assertThat;\nimport sta... | java | chosen |
[
{
"from": "system",
"value": "[15204] Throw IllegalStateException for non available ILocalLockService"
},
{
"from": "human",
"value": "package ch.elexis.core.services.holder;\n\nimport org.osgi.service.component.annotations.Component;\nimport org.osgi.service.component.annotations.Reference;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Switch to frameworks spoofing implementation\n"
},
{
"from": "human",
"value": "package andraus.bluetoothhidemu.spoof;\n\nimport android.bluetooth.BluetoothAdapter;\nimport android.content.Context;\n\npublic final class BluetoothAdapterSpooferFactory {\n \n pr... | java | chosen |
[
{
"from": "system",
"value": "Add 80MB cache to OkHttpClient.\n\nOkHttp did not come with a default cache, so this adds one in.\n"
},
{
"from": "human",
"value": "package com.animedetour.android.framework.dependencyinjection.module;\n\nimport com.facebook.stetho.okhttp.StethoInterceptor;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Fix for Cordova Android 4.x to use CordovaPreferences.\n"
},
{
"from": "human",
"value": "package org.apache.cordova.appsettings;\n\nimport java.util.Locale;\n\nimport org.apache.cordova.CallbackContext;\nimport org.apache.cordova.CordovaPlugin;\nimport org.json.JSO... | java | chosen |
[
{
"from": "system",
"value": "Use non-deprecated new instance method\n"
},
{
"from": "human",
"value": "package uk.co.ticklethepanda.carto.apps.web.config;\n\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.annotation.Bean;\nimport org.springframewo... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.