conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Use central definition of property.\n"
},
{
"from": "human",
"value": "package org.eobjects.build;\n\nimport java.io.File;\nimport java.util.Map;\n\nimport org.apache.maven.plugin.AbstractMojo;\nimport org.apache.maven.plugins.annotations.Parameter;\n\npublic abstra... | java | chosen |
[
{
"from": "system",
"value": "Change 'This' menu to 'File' (depends on platform recognition of System property 'mct.menu.this')\n"
},
{
"from": "human",
"value": "package gov.nasa.arc.mct.scenario;\n\nimport org.osgi.framework.BundleActivator;\nimport org.osgi.framework.BundleContext;\n\npublic ... | java | chosen |
[
{
"from": "system",
"value": "Implement methodo to check wheter package is installed.\n"
},
{
"from": "human",
"value": "package com.github.aureliano.achmed.os.pkg;\n\nimport com.github.aureliano.achmed.command.CommandResponse;\nimport com.github.aureliano.achmed.resources.properties.PackageProp... | java | chosen |
[
{
"from": "system",
"value": "Remove accidentally committed test code\n"
},
{
"from": "human",
"value": "package me.williamhester.reddit.ui.activities;\n\nimport android.content.SharedPreferences;\nimport android.os.Bundle;\nimport android.support.v4.app.Fragment;\n\nimport me.williamhester.redd... | java | chosen |
[
{
"from": "system",
"value": "Update with min max for text input validation"
},
{
"from": "human",
"value": "package br.com.bloder.blormlib.validation.validations;\n\nimport android.widget.EditText;\n\nimport br.com.bloder.blormlib.validation.Validate;\nimport br.com.bloder.blormlib.validation.V... | java | chosen |
[
{
"from": "system",
"value": "Add spaces to an if statement"
},
{
"from": "human",
"value": "package org.robockets.stronghold.robot.commands;\n\nimport edu.wpi.first.wpilibj.command.Command;\nimport edu.wpi.first.wpilibj.networktables.NetworkTable;\n\n/**\n *\n */\npublic class MeasureLatency ex... | java | chosen |
[
{
"from": "system",
"value": "Add a missing annotation for a package and fix structure of comments\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017, TeamDev Ltd. All rights reserved.\n *\n * Redistribution and use in source and/or binary forms, with or without\n * modification, must reta... | java | chosen |
[
{
"from": "system",
"value": "Update Test for csv to RDF converter"
},
{
"from": "human",
"value": "package DataReader;\r\n\r\nimport DataModel.Attribute;\r\nimport DataModel.EntityProfile;\r\nimport DataReader.EntityReader.EntityCSVReader;\r\nimport java.util.List;\r\n\r\n/**\r\n *\r\n * @autho... | java | chosen |
[
{
"from": "system",
"value": "Change category from String to int\n"
},
{
"from": "human",
"value": "package com.xamoom.android.mapping;\n\nimport com.google.gson.annotations.SerializedName;\nimport com.xamoom.android.APICallback;\nimport com.xamoom.android.mapping.ContentBlocks.MenuItem;\n\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Remove references to framework PointerIcon API.\n\nThis is an intermediate step to renaming all of the PointerIcon APIs.\n\nChange-Id: I2fed4f41fc873ab9301b11e3b551362ecdab8736\n"
},
{
"from": "human",
"value": "/**\n * Copyright (C) 2016 The Android Open Source Pro... | java | chosen |
[
{
"from": "system",
"value": "[Hackathon] Improve transition between gallery images.\n\nChange-Id: I2edb2195e507d20b31e49637dc19bc751aaee40f\n"
},
{
"from": "human",
"value": "package org.wikipedia.page.gallery;\n\nimport android.support.v4.view.ViewPager;\nimport android.view.View;\n\npublic cl... | java | chosen |
[
{
"from": "system",
"value": "Remove \"Required for network serialization\".\n\nRemove \"Required for network serialization\" comment from DefaultMessage\nclass' protected constructor. Although network serialization is the only\nreason for this protected constructor, the classes are not in the net\npackage,... | java | chosen |
[
{
"from": "system",
"value": "Make RedisTemplate final and validate not null construction\n"
},
{
"from": "human",
"value": "package com.marcosbarbero.zuul.filters.pre.ratelimit.config.redis;\n\nimport com.marcosbarbero.zuul.filters.pre.ratelimit.config.Policy;\nimport com.marcosbarbero.zuul.fil... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Revert \"Reduce the time we keep expired remotes sessions and fix comment\"\"\n"
},
{
"from": "human",
"value": "// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.vespa.... | java | chosen |
[
{
"from": "system",
"value": "Remove \"throws IOException\" when \"close()\" doesn't actually throw it.\n"
},
{
"from": "human",
"value": "package net.openhft.chronicle.wire;\n\nimport net.openhft.chronicle.bytes.NativeBytes;\nimport org.junit.Test;\nimport org.slf4j.Logger;\nimport org.slf4j.Lo... | java | chosen |
[
{
"from": "system",
"value": "Make state variables final, seeing as these are initialized in the constructor.\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.rest.search.filter;\n\nimport com.google.common.base.Preconditions;\nimport java.util.Arrays;\nimport java.util.stream.Stream... | java | chosen |
[
{
"from": "system",
"value": "Update even HTTP API to upload images into events\n"
},
{
"from": "human",
"value": "package fr.alecharp.picshare.http;\n\nimport fr.alecharp.picshare.domain.Event;\nimport fr.alecharp.picshare.service.EventService;\nimport net.codestory.http.annotations.Post;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Add some more basic tests\n"
},
{
"from": "human",
"value": "package com.github.legioth.propertysource.rebind;\n\nimport com.google.gwt.user.rebind.StringSourceWriter;\nimport org.testng.annotations.DataProvider;\nimport org.testng.annotations.Test;\nimport static o... | java | chosen |
[
{
"from": "system",
"value": "Jenkins: Test für den Email-Versand angepasst"
},
{
"from": "human",
"value": "package de.pentasys.SilverPen.util.test;\r\n\r\nimport javax.mail.MessagingException;\r\n\r\nimport org.junit.BeforeClass;\r\nimport org.junit.Test;\r\n\r\nimport de.pentasys.SilverPen.ut... | java | chosen |
[
{
"from": "system",
"value": "Enable banner for eum server\n"
},
{
"from": "human",
"value": "package org.stagemonitor.eum;\n\nimport org.springframework.boot.Banner;\nimport org.springframework.boot.autoconfigure.SpringBootApplication;\nimport org.springframework.boot.builder.SpringApplicationB... | java | chosen |
[
{
"from": "system",
"value": "Fix for default_affiliation valid values\n"
},
{
"from": "human",
"value": "package org.buddycloud.channelserver.channel.node.configuration.field;\n\npublic class Affiliation extends Field\n{\n\tpublic static final String FIELD_NAME = \"pubsub#default_affiliation... | java | chosen |
[
{
"from": "system",
"value": "Make core activator extendable of Plugin class\n"
},
{
"from": "human",
"value": "package org.jetbrains.kotlin.core;\n\nimport static org.eclipse.core.resources.ResourcesPlugin.getWorkspace;\n\nimport org.eclipse.core.resources.IResourceChangeEvent;\nimport org.ecli... | java | chosen |
[
{
"from": "system",
"value": "Add numeric char to random string generator.\n"
},
{
"from": "human",
"value": "/**\n * Copyright (C) 2014 android10.org. All rights reserved.\n * @author Fernando Cejas (the android10 coder)\n */\npackage com.fernandocejas.android10.rx.sample;\n\nimport java.util.R... | java | chosen |
[
{
"from": "system",
"value": "Implement iterable for use in efor loops\n"
},
{
"from": "human",
"value": "package co.phoenixlab.common.lang;\n\nimport java.util.ListIterator;\n\n/**\n * Provides a reversed view of a ListIterator, starting from the last element.\n * @param <E>\n */\npublic class ... | java | chosen |
[
{
"from": "system",
"value": "Disable schema change tests in Hive distributed test\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 Lic... | java | chosen |
[
{
"from": "system",
"value": "Fix bad typo (doesn't fix bug)\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a co... | java | chosen |
[
{
"from": "system",
"value": "Increase coverage of NodeAffiliationImpl to 100%\n"
},
{
"from": "human",
"value": "package org.buddycloud.channelserver.pubsub.model.impl;\n\nimport nl.jqno.equalsverifier.EqualsVerifier;\n\nimport org.junit.Test;\n\npublic class NodeAffiliationImplTest {\n\n @T... | java | chosen |
[
{
"from": "system",
"value": "Load is picked up by Valuereporter-agent.\n"
},
{
"from": "human",
"value": "package org.dummy.load;\n\n/**\n * Created by baardl on 26.07.15.\n */\npublic class LoadThread implements Runnable {\n\n private final int sleepMillis;\n\n public LoadThread(int slee... | java | chosen |
[
{
"from": "system",
"value": "ALIEN-2807: Check vault plugins usage before delete/disable it\n"
},
{
"from": "human",
"value": "package org.alien4cloud.secret.services;\n\nimport java.util.List;\n\nimport com.google.common.collect.Lists;\nimport org.springframework.stereotype.Component;\n\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Remove not necessary catch-rethrow because exception is not handled\n"
},
{
"from": "human",
"value": "package de.holisticon.util.tracee.configuration;\n\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.net.URL;\nimport java.util.Enumeration;\n... | java | chosen |
[
{
"from": "system",
"value": "Remove class in SpringBooTest annotation\n"
},
{
"from": "human",
"value": "package io.github.web.springtest;\n\nimport static org.junit.jupiter.api.Assertions.assertEquals;\nimport static org.springframework.boot.test.context.SpringBootTest.WebEnvironment.RANDOM_PO... | java | chosen |
[
{
"from": "system",
"value": "refact(checkbox): Move cssClass from label to div\n"
},
{
"from": "human",
"value": "package lt.inventi.wicket.component.bootstrap.form;\n\nimport org.apache.wicket.util.string.AppendingStringBuffer;\n\nabstract class ChoiceUtils {\n\n public enum InputPosition {... | java | chosen |
[
{
"from": "system",
"value": "Move callback notification 'after' return.\n"
},
{
"from": "human",
"value": "package org.jboss.pnc.jenkinsbuilddriver;\n\nimport org.jboss.pnc.core.spi.builddriver.BuildDriver;\nimport org.jboss.pnc.core.spi.repositorymanager.Repository;\nimport org.jboss.pnc.model... | java | chosen |
[
{
"from": "system",
"value": "SupportChainOverriding: Add default constructor to generated class\n"
},
{
"from": "human",
"value": "package org.sculptor.generator.util;\n\npublic abstract class ChainLink<T extends ChainLink<?>> {\n\tprivate T nextLink;\n\n\tpublic ChainLink(T next) {\n\t\t// TOD... | java | chosen |
[
{
"from": "system",
"value": "Introduce integration tests using DropWizards ResourceTest. Include ability to return an Invalid Request message when the DLN or EnquiryId are missing.\n"
},
{
"from": "human",
"value": "package uk.gov.dvla.services.enquiry;\r\n\r\nimport uk.gov.dvla.domain.Driver;... | java | chosen |
[
{
"from": "system",
"value": "Change test due to change in default sort order.\n"
},
{
"from": "human",
"value": "package com.bbn.bue.common.diff;\n\nimport com.bbn.bue.common.evaluation.FMeasureCounts;\nimport com.google.common.collect.ImmutableMap;\nimport org.junit.Test;\n\nimport java.util.M... | java | chosen |
[
{
"from": "system",
"value": "Support of comparison null values in object properties\n"
},
{
"from": "human",
"value": "package lv.ctco.cukesrest.internal.matchers;\n\nimport org.hamcrest.*;\n\nimport java.math.*;\n\npublic class EqualToIgnoringTypeMatcher {\n\n public static Matcher<String> ... | java | chosen |
[
{
"from": "system",
"value": "Reduce test timeout to 60 seconds\n\nTests have been split into smaller units"
},
{
"from": "human",
"value": "package com.github.triceo.splitlog;\n\nimport java.util.concurrent.TimeUnit;\n\nimport org.junit.Rule;\nimport org.junit.rules.TestRule;\nimport org.junit.... | java | chosen |
[
{
"from": "system",
"value": "Add separate methods for getting attributes and values.\n"
},
{
"from": "human",
"value": "package no.uio.ifi.trackfind.rest.controllers;\n\nimport no.uio.ifi.trackfind.services.TrackFindService;\nimport org.apache.lucene.queryparser.classic.ParseException;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Add missing LICENSE to unnecessary file\n"
},
{
"from": "human",
"value": "/**\n * Internally used classes, no javadocs.\n */\npackage org.kitteh.irc.client.library.implementation;"
},
{
"from": "gpt",
"value": "/*\n * * Copyright (C) 2013-2015 Matt Baxt... | java | chosen |
[
{
"from": "system",
"value": "Change order of solvers to reflect preference\n"
},
{
"from": "human",
"value": "package jkind;\n\npublic enum SolverOption {\n\tYICES, CVC4, Z3, YICES2, MATHSAT, SMTINTERPOL;\n\n\t@Override\n\tpublic String toString() {\n\t\treturn name().toLowerCase();\n\t}\n}\n"
... | java | chosen |
[
{
"from": "system",
"value": "Test view content in greetings test.\n"
},
{
"from": "human",
"value": "package hello;\n\nimport static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;\n\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.springframework.... | java | chosen |
[
{
"from": "system",
"value": "Implement deleteAll as a variant of delete\n\nWill need to add tests for this entire thing later.\n\nChange-Id: Ib40fe1d4f126923ed1788417f144d0d45fd24e61\n"
},
{
"from": "human",
"value": "package org.wikimedia.wikipedia.data;\n\nimport android.content.ContentProvid... | java | chosen |
[
{
"from": "system",
"value": "Test verifying that the prefetcher doesn't serve outputs in the wrong order\n"
},
{
"from": "human",
"value": "package com.grunka.random.fortuna;\n\nimport org.junit.After;\nimport org.junit.Before;\nimport org.junit.Test;\n\nimport java.util.concurrent.ExecutorServ... | java | chosen |
[
{
"from": "system",
"value": "USe the Enum name, not the toString method when binding the parameter value\n"
},
{
"from": "human",
"value": "package com.vladmihalcea.book.hpjp.hibernate.mapping.enums;\n\nimport org.hibernate.HibernateException;\nimport org.hibernate.engine.spi.SharedSessionContr... | java | chosen |
[
{
"from": "system",
"value": "Use explicit scoping instead of the default package private level\n"
},
{
"from": "human",
"value": "package io.github.uetoyo.patterns.specification;\n\nimport static com.google.common.base.Preconditions.checkNotNull;\n\nimport java.util.ArrayList;\nimport java.util... | java | chosen |
[
{
"from": "system",
"value": "Add methods for actual outline\n"
},
{
"from": "human",
"value": "package de.retest.recheck.ui.descriptors;\n\nimport java.awt.Rectangle;\n\npublic class AttributeUtil {\n\n\tpublic static Rectangle getOutline( final IdentifyingAttributes attributes ) {\n\t\tfinal O... | java | chosen |
[
{
"from": "system",
"value": "Change default time constants to be a bit longer, as the current values don't seem to work well with the amount of data that we are sending back and forth.\n"
},
{
"from": "human",
"value": "package org.ingrahamrobotics.robottables;\n\npublic class TimeConstants {\n... | java | chosen |
[
{
"from": "system",
"value": "Reimplement middleware utils as common code"
},
{
"from": "human",
"value": "package software.committed.rejux.utils;\n\nimport java.util.List;\n\nimport software.committed.rejux.interfaces.Dispatcher;\nimport software.committed.rejux.interfaces.Middleware;\nimport s... | java | chosen |
[
{
"from": "system",
"value": "Fix typo preventing build to proceed\n"
},
{
"from": "human",
"value": "package org.elasticsearch.rest.action.readonlyrest.acl.test;\n\nimport java.io.IOException;\nimport java.nio.ByteBuffer;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\nimport com.g... | java | chosen |
[
{
"from": "system",
"value": "Fix position calculation of second character when first character is a newline\n"
},
{
"from": "human",
"value": "package org.spoofax.jsglr2.inputstack;\n\nimport org.metaborg.parsetable.characterclasses.CharacterClassFactory;\nimport org.spoofax.jsglr2.parser.Posit... | java | chosen |
[
{
"from": "system",
"value": "Fix decision unsupported operation on execute\n"
},
{
"from": "human",
"value": "package com.uxxu.konashi.lib.action;\n\nimport android.bluetooth.BluetoothGattService;\n\nimport com.uxxu.konashi.lib.KonashiErrorType;\n\nimport java.util.UUID;\n\nimport info.izumin.a... | java | chosen |
[
{
"from": "system",
"value": "Add util method for the bus enum"
},
{
"from": "human",
"value": "package info.u_team.u_team_core.util.registry;\n\nimport java.util.function.Consumer;\n\nimport net.minecraftforge.common.MinecraftForge;\nimport net.minecraftforge.eventbus.api.IEventBus;\nimport net... | java | chosen |
[
{
"from": "system",
"value": "Increment MCP Util package version\n"
},
{
"from": "human",
"value": "/*\n * #%L\n * ACS AEM Commons Bundle\n * %%\n * Copyright (C) 2017 Adobe\n * %%\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compl... | java | chosen |
[
{
"from": "system",
"value": "Call wait() on a Condition.\n\n\ngit-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@3997 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3\n"
},
{
"from": "human",
"value": "import java.util.concurrent.locks.*;\n\nclass JSR166 {\n\tLock l = new ReentrantLock();\n\tint x;\n\n\t... | java | chosen |
[
{
"from": "system",
"value": "Throw Exception only if StatusCode is out of 2xx Range; Unmarshal\nResponse only, if ResponseEntity exist."
},
{
"from": "human",
"value": "package de.tse.simplerestfacade;\n\nimport java.io.IOException;\n\nimport org.apache.http.HttpResponse;\nimport org.apache.htt... | java | chosen |
[
{
"from": "system",
"value": "Add condition on EmailSender bean creation\n"
},
{
"from": "human",
"value": "package org.gbif.registry;\n\nimport org.springframework.boot.autoconfigure.EnableAutoConfiguration;\nimport org.springframework.boot.test.context.TestConfiguration;\nimport org.springfram... | java | chosen |
[
{
"from": "system",
"value": "Set behavior prop before added to window\n\nOtherwise there's a noticeable flicker before bottom sheet appears\n"
},
{
"from": "human",
"value": "package com.navigation.reactnative;\n\nimport android.content.Context;\nimport android.view.ViewGroup;\n\nimport android... | java | chosen |
[
{
"from": "system",
"value": "Add description how closures can be first class members.\n"
},
{
"from": "human",
"value": "package info.schleichardt.training.java8.lecture2;\n\npublic class P2_FunctionalInterfacesFirstClassMembers {\n\n //show also Automatic-Resource-Management\n}\n"
},
{
... | java | chosen |
[
{
"from": "system",
"value": "Fix app crash due to Realm database migration\n"
},
{
"from": "human",
"value": "package com.github.ayltai.newspaper.data;\n\nimport android.content.Context;\nimport android.support.annotation.NonNull;\n\nimport dagger.Module;\nimport dagger.Provides;\nimport io.rea... | java | chosen |
[
{
"from": "system",
"value": "Update to platform_test test class"
},
{
"from": "human",
"value": "package org.jimmutable.platform_test;\n\nimport junit.framework.Test;\nimport junit.framework.TestCase;\nimport junit.framework.TestSuite;\n\n/**\n * Unit test for simple App.\n */\npublic class App... | java | chosen |
[
{
"from": "system",
"value": "Set debug level DEBUG in sample application\n"
},
{
"from": "human",
"value": "/*\n * WireSpider\n *\n * Copyright (c) 2015 kazyx\n *\n * This software is released under the MIT License.\n * http://opensource.org/licenses/mit-license.php\n */\n\npackage net.kazyx.wi... | java | chosen |
[
{
"from": "system",
"value": "Add getSlotCapacity method in fluid slot"
},
{
"from": "human",
"value": "package info.u_team.u_team_core.container;\n\nimport info.u_team.u_team_core.api.fluid.IFluidHandlerModifiable;\nimport net.minecraftforge.fluids.FluidStack;\n\npublic class FluidSlot {\n\t\n\... | java | chosen |
[
{
"from": "system",
"value": "Set debug field to false as default\n"
},
{
"from": "human",
"value": "package com.pqbyte.coherence;\n\npublic final class Constants {\n private static final boolean DEBUG = true;\n\n public static boolean isDebug() {\n return DEBUG;\n }\n\n public static fin... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Rename generic names to single letter\"\n\nThis reverts commit d7d5eff52385fbe224d36666223948ada966db35.\n"
},
{
"from": "human",
"value": "<%#\n Copyright 2013-2018 the original author or authors from the JHipster project.\n\n This file is part of the JHip... | java | chosen |
[
{
"from": "system",
"value": "XCOMMONS-1824: Make easier to disable deprecated log\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 can redistribute it and/or ... | java | chosen |
[
{
"from": "system",
"value": "Use start/stop in the applet.\n"
},
{
"from": "human",
"value": "package com.nullprogram.maze;\n\nimport java.awt.Dimension;\n\nimport javax.swing.JApplet;\n\npublic class MazeApplet extends JApplet {\n\n private static final long serialVersionUID = 7742407602430... | java | chosen |
[
{
"from": "system",
"value": "Add Container with Most Water\n"
},
{
"from": "human",
"value": "package problems;\n\npublic class ContainerWithMostWater {\n public int maxArea(int[] height) {\n if (height.length <= 1)\n return 0;\n\n int a = 0, b = height.length - 1;\n... | java | chosen |
[
{
"from": "system",
"value": "Add method for starting the process after deploying it\n"
},
{
"from": "human",
"value": "package de.blogspot.wrongtracks.example;\n\nimport org.camunda.bpm.application.ProcessApplication;\nimport org.camunda.bpm.extension.osgi.application.OSGiProcessApplication;\ni... | java | chosen |
[
{
"from": "system",
"value": "Allow update to be overridden\n"
},
{
"from": "human",
"value": "package com.ezardlabs.lostsector.objects;\n\nimport com.ezardlabs.dethsquare.Vector2;\nimport com.ezardlabs.lostsector.Game.DamageType;\n\npublic abstract class ShieldedEntity extends Entity {\n\tprote... | java | chosen |
[
{
"from": "system",
"value": "Comment out unused field \"latLons\"."
},
{
"from": "human",
"value": "package org.meteogroup.griblibrary.grib2.model;\n\nimport org.meteogroup.griblibrary.grib2.model.gdstemplates.GDSTemplate;\nimport org.meteogroup.griblibrary.util.LatLon;\n\nimport lombok.EqualsA... | java | chosen |
[
{
"from": "system",
"value": "Make test pass by throwing IllegalArgumentException\n"
},
{
"from": "human",
"value": "package com.grayben.riskExtractor.headingMarker;\n\nimport com.grayben.riskExtractor.headingMarker.elector.ElectedTextList;\n\nimport java.util.List;\n\npublic class MarkedText {\... | java | chosen |
[
{
"from": "system",
"value": "Clean up code in stock ticker\n"
},
{
"from": "human",
"value": "package com.paritytrading.parity.ticker;\n\nimport com.paritytrading.parity.book.MarketListener;\n\nabstract class MarketDataListener implements MarketListener {\n\n static final double PRICE_FACTOR... | java | chosen |
[
{
"from": "system",
"value": "Support for Clazz annotation at template class instead of trigger\nannotation"
},
{
"from": "human",
"value": "package de.japkit.examples.freebuilder;\n\nimport java.lang.annotation.ElementType;\nimport java.lang.annotation.Target;\n\nimport javax.lang.model.element... | java | chosen |
[
{
"from": "system",
"value": "Change default value of multiline\n"
},
{
"from": "human",
"value": "package jp.tomorrowkey.appengine.regularexpression.controller;\n\nimport org.slim3.controller.Controller;\nimport org.slim3.controller.Navigation;\n\npublic class IndexController extends Controller... | java | chosen |
[
{
"from": "system",
"value": ":star: Add method to notify when a photo has been clicked\n"
},
{
"from": "human",
"value": "package colector.co.com.collector.listeners;\n\nimport colector.co.com.collector.views.PhotoItemViewContainer;\n\n/**\n * @author Gabriel Rodriguez\n * @version 1.0\n */\n\n... | java | chosen |
[
{
"from": "system",
"value": "Add method for collecting Summoner information from Challenger ladder\n"
},
{
"from": "human",
"value": "/**\n * Created by Alex on 8/28/2015.\n */\npublic class SummonerCollector extends AbstractCollector {\n\n public SummonerCollector(String apiKey) {\n ... | java | chosen |
[
{
"from": "system",
"value": "Add note about default constructor\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 Cask, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n * use this file except in compliance with the License. You may obtain a cop... | java | chosen |
[
{
"from": "system",
"value": "Allow any Invocation type for all engines.\n"
},
{
"from": "human",
"value": "package uk.sacko.m2m.sitra.trace.engine;\n\nimport java.util.List;\n\nimport uk.sacko.m2m.sitra.engine.ContextAware;\nimport uk.sacko.m2m.sitra.engine.Transformer;\nimport uk.sacko.m2m.sit... | java | chosen |
[
{
"from": "system",
"value": "Fix date format for events\n"
},
{
"from": "human",
"value": "package beaform.events;\n\nimport java.text.SimpleDateFormat;\nimport java.util.Date;\n\nimport beaform.utilities.SystemTime;\n\npublic class FormulaCreatedEvent implements Event {\n\tprivate static final... | java | chosen |
[
{
"from": "system",
"value": "Change to ListFragment and start work on AsyncTask for XML parsing\n"
},
{
"from": "human",
"value": "package com.biekerwebdesign.openexoplanetcatalogue;\r\n\r\nimport android.app.Fragment;\r\n\r\n/**\r\n * Created by Bieker on 12/6/13.\r\n */\r\npublic class StarFr... | java | chosen |
[
{
"from": "system",
"value": "Set produced Logger as DefaultBean\n"
},
{
"from": "human",
"value": "package io.quarkus.arc.runtime;\n\nimport java.lang.annotation.Annotation;\nimport java.util.concurrent.ConcurrentHashMap;\nimport java.util.concurrent.ConcurrentMap;\n\nimport javax.annotation.Pr... | java | chosen |
[
{
"from": "system",
"value": "Fix class name in javadoc\n\nCloses gh-1530\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2002-2012 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 wit... | java | chosen |
[
{
"from": "system",
"value": "Use the new url parameter in answerCallbackQuery to create buttons that open your bot with user-specific parameters\n"
},
{
"from": "human",
"value": "package com.pengrad.telegrambot.request;\n\nimport com.pengrad.telegrambot.response.BaseResponse;\n\n/**\n * Stas P... | java | chosen |
[
{
"from": "system",
"value": "Change the scope of the injection for searchers.\n"
},
{
"from": "human",
"value": "package com.siirush.localwiki.search;\n\nimport java.util.List;\n\nimport javax.inject.Inject;\nimport javax.inject.Provider;\n\nimport org.apache.lucene.store.Directory;\n\npublic c... | java | chosen |
[
{
"from": "system",
"value": "Remove broken AI code: doesn't compile\n"
},
{
"from": "human",
"value": "package ecse321.fall2014.group3.bomberman.physics.ai;\n\nimport com.flowpowered.math.vector.Vector2f;\n\nimport ecse321.fall2014.group3.bomberman.physics.entity.mob.Mob;\nimport ecse321.fall20... | java | chosen |
[
{
"from": "system",
"value": "Fix for when the context path is at the root the 'try this' doesnt work\n"
},
{
"from": "human",
"value": "package com.mangofactory.swagger.paths;\n\nimport javax.servlet.ServletContext;\n\npublic class RelativeSwaggerPathProvider extends SwaggerPathProvider {\n ... | java | chosen |
[
{
"from": "system",
"value": "Simplify and optimize getItemOffsets() logic\n"
},
{
"from": "human",
"value": "package com.veyndan.redditclient.ui.recyclerview.itemdecoration;\n\nimport android.graphics.Rect;\nimport android.support.annotation.Px;\nimport android.support.v7.widget.RecyclerView;\n... | java | chosen |
[
{
"from": "system",
"value": "Fix following testing, add instructions for uploading\n"
},
{
"from": "human",
"value": "package com.google.cloud.pubsub.sql.providers;\n\nimport com.google.auto.service.AutoService;\nimport com.google.cloud.pubsub.sql.Rows;\nimport org.apache.beam.sdk.schemas.Schem... | java | chosen |
[
{
"from": "system",
"value": "Exclude emulated attachment on OpenJ9.\n"
},
{
"from": "human",
"value": "package net.bytebuddy.test.utility;\n\nimport com.sun.jna.Platform;\nimport org.junit.rules.MethodRule;\nimport org.junit.runners.model.FrameworkMethod;\nimport org.junit.runners.model.Stateme... | java | chosen |
[
{
"from": "system",
"value": "Convert test to JUnit4 (and add mismatch description tests) in preparation for enhancement.\n"
},
{
"from": "human",
"value": "package org.hamcrest.text;\n\nimport static org.hamcrest.MatcherAssert.assertThat;\nimport static org.hamcrest.core.IsNot.not;\nimport stat... | java | chosen |
[
{
"from": "system",
"value": "Remove a needless static reference\n\nThe static method has been imported, no need to explicitly name the\nclass.\n"
},
{
"from": "human",
"value": "package io.dropwizard.logging;\n\nimport ch.qos.logback.classic.pattern.RootCauseFirstThrowableProxyConverter;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Add Audience group job failed type: AUDIENCE_GROUP_AUDIENCE_INSUFFICIENT\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2020 LINE Corporation\n *\n * LINE Corporation licenses this file to you under the Apache License,\n * version 2.0 (the \"License\"); you may... | java | chosen |
[
{
"from": "system",
"value": "Fix RuntimeException for Firestore entity.\n"
},
{
"from": "human",
"value": "package com.osdu.model.dto;\n\nimport com.google.cloud.firestore.annotation.ServerTimestamp;\nimport java.util.Date;\nimport lombok.AllArgsConstructor;\nimport lombok.Builder;\nimport lomb... | java | chosen |
[
{
"from": "system",
"value": "Remove Nullable annotation to avoid build warning\n"
},
{
"from": "human",
"value": "package com.danielflower.apprunner.runners;\n\nimport com.danielflower.apprunner.Config;\nimport org.apache.commons.exec.CommandLine;\nimport org.apache.maven.shared.invoker.Invocat... | java | chosen |
[
{
"from": "system",
"value": "Add missing SHEARED spawn reason\n"
},
{
"from": "human",
"value": "package com.laytonsmith.abstraction.enums;\n\nimport com.laytonsmith.annotations.MEnum;\n\n@MEnum(\"com.commandhelper.SpawnReason\")\npublic enum MCSpawnReason {\n\tBREEDING,\n\tBUILD_IRONGOLEM,\n\t... | java | chosen |
[
{
"from": "system",
"value": "Replace name, surname concatenation with getFullName\n"
},
{
"from": "human",
"value": "package by.triumgroup.recourse.document.model.provider.impl;\n\nimport by.triumgroup.recourse.document.model.provider.ContentProvider;\nimport by.triumgroup.recourse.entity.dto.S... | java | chosen |
[
{
"from": "system",
"value": "Update file header with license information"
},
{
"from": "human",
"value": "package org.liveontologies.protege.justification.proof.service;\r\n\r\nimport java.util.Set;\r\n\r\nimport org.liveontologies.puli.InferenceJustifier;\r\nimport org.liveontologies.puli.Proo... | java | chosen |
[
{
"from": "system",
"value": "Call the methods only if they exist.\n"
},
{
"from": "human",
"value": "package org.torquebox.stomp.component;\n\nimport org.projectodd.stilts.stomp.StompException;\nimport org.projectodd.stilts.stomp.StompMessage;\nimport org.projectodd.stilts.stomplet.Stomplet;\ni... | java | chosen |
[
{
"from": "system",
"value": "Improve documentation of the test env.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2018, TeamDev. All rights reserved.\n *\n * Redistribution and use in source and/or binary forms, with or without\n * modification, must retain the above copyright notice and ... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.