conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "CB-11063: Fix error message when the FreeIPA password has expired\n\nFix error message when the password has expired.\n"
},
{
"from": "human",
"value": "package com.sequenceiq.freeipa.client.auth;\n\nimport com.sequenceiq.freeipa.client.FreeIpaClientException;\n\npu... | java | chosen |
[
{
"from": "system",
"value": "Add documentation to Gandalf Strict Mode annotation.\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.gandalf.annotation;\n\ni... | java | chosen |
[
{
"from": "system",
"value": "Add temporary mock backend url to Android app for local testing\n"
},
{
"from": "human",
"value": "package com.blocksolid.okrello.api;\n\n\nimport com.facebook.stetho.okhttp3.StethoInterceptor;\n\nimport okhttp3.Interceptor;\nimport okhttp3.OkHttpClient;\nimport okh... | java | chosen |
[
{
"from": "system",
"value": "Implement trap door base functionality\n"
},
{
"from": "human",
"value": "package net.moltendorf.Bukkit.IntelliDoors.controller;\n\nimport org.bukkit.block.Block;\n\n/**\n * Created by moltendorf on 15/05/23.\n */\npublic class TrapDoor {\n public static Door getDo... | java | chosen |
[
{
"from": "system",
"value": "Add fillFromImpl for regression Model Metrics.\n"
},
{
"from": "human",
"value": "package water.api;\n\nimport hex.ModelMetricsRegression;\n\npublic class ModelMetricsRegressionV3 extends ModelMetricsBase<ModelMetricsRegression, ModelMetricsRegressionV3> {\n @API(h... | java | chosen |
[
{
"from": "system",
"value": "Update property to fix print ourder.\n"
},
{
"from": "human",
"value": "package poml.conv.basic;\n\nimport java.util.Map;\n\nimport poml.conv.Converter;\nimport poml.in.Poml;\nimport poml.out.Xml;\n\npublic class Property implements Converter {\n\n @Override public... | java | chosen |
[
{
"from": "system",
"value": "Use new base class for BeanInfo.\n\n"
},
{
"from": "human",
"value": "/***\n * Image/J Plugins\n * Copyright (C) 2002-2004 Jarek Sacha\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Publi... | java | chosen |
[
{
"from": "system",
"value": "Move view to top of class\n"
},
{
"from": "human",
"value": "package scoutmgr.client.navbar;\n\nimport com.google.inject.Inject;\nimport com.google.web.bindery.event.shared.EventBus;\nimport com.gwtplatform.mvp.client.HasUiHandlers;\nimport com.gwtplatform.mvp.clien... | java | chosen |
[
{
"from": "system",
"value": "Change os constraint to list of os in listener model\n"
},
{
"from": "human",
"value": "package com.izforge.izpack.api.data.binding;\n\n/**\n * Listener entity\n *\n * @author Anthonin Bonnefoy\n */\npublic class Listener\n{\n private String classname;\n\n pri... | java | chosen |
[
{
"from": "system",
"value": "Implement simple TCP/UDP server with kryonet\n"
},
{
"from": "human",
"value": "package net.mueller_martin.turirun.server;\n\nimport com.esotericsoftware.kryonet.Server;\n\npublic class TurirunServer {\n\tpublic static void main(String[] args) {\n\t\tSystem.out.prin... | java | chosen |
[
{
"from": "system",
"value": "Add missing debug config to avoid warnings\n\nFixes #27778\n"
},
{
"from": "human",
"value": "package io.quarkus.deployment;\n\nimport java.util.Optional;\n\nimport io.quarkus.runtime.annotations.ConfigItem;\nimport io.quarkus.runtime.annotations.ConfigRoot;\n\n/**\... | java | chosen |
[
{
"from": "system",
"value": "Use HashSet for reserved user names lookup\n"
},
{
"from": "human",
"value": "package com.cardshifter.core.username;\n\nimport java.util.*;\n\n/**\n * Instances of this class are guaranteed to be valid user names\n */\npublic class UserName {\n\n private static f... | java | chosen |
[
{
"from": "system",
"value": "Use valid k8s port name\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2005-2016 Red Hat, Inc.\n *\n * Red Hat licenses this file to you under the Apache License, version\n * 2.0 (the \"License\"); you may not use this file except in compliance\n * with th... | java | chosen |
[
{
"from": "system",
"value": "Add Scenario repo search method\n"
},
{
"from": "human",
"value": "package com.aemreunal.repository.scenario;\n\n/*\n ***************************\n * Copyright (c) 2014 *\n * *\n * This code belongs to: *\n * *\... | java | chosen |
[
{
"from": "system",
"value": "Add test for multiple invocations of methods annotated with `@Constructs`\n"
},
{
"from": "human",
"value": "package com.fluentinterface;\n\nimport com.fluentinterface.domain.Person;\nimport org.junit.Test;\n\nimport static com.fluentinterface.domain.PersonAnnotated... | java | chosen |
[
{
"from": "system",
"value": "Add method for checking if class comes from Ancient Warfare\n"
},
{
"from": "human",
"value": "package io.github.aquerr.eaglefactions.common.util;\n\nimport org.spongepowered.api.entity.Entity;\nimport org.spongepowered.api.event.cause.entity.damage.source.EntityDam... | java | chosen |
[
{
"from": "system",
"value": "Refactor simple arrow head to use two lines instead of path\n\n"
},
{
"from": "human",
"value": "package SW9.model_canvas.arrow_heads;\n\nimport javafx.scene.paint.Color;\nimport javafx.scene.shape.LineTo;\nimport javafx.scene.shape.MoveTo;\nimport javafx.scene.shap... | java | chosen |
[
{
"from": "system",
"value": "Fix Mlog init cache path issue\n"
},
{
"from": "human",
"value": "package com.me.ui.sample.library.config;\n\nimport com.me.ui.sample.SampleApplicationLike;\n\nimport java.io.File;\n\n/**\n * @author kylingo on 18/10/11\n */\npublic class MePath {\n\n public stat... | java | chosen |
[
{
"from": "system",
"value": "Allow developers to inspect sent JMS message\n"
},
{
"from": "human",
"value": "package uworkers.core.endpoint;\n\nimport javax.jms.JMSException;\nimport javax.jms.MessageProducer;\nimport javax.jms.TextMessage;\n\nimport lombok.RequiredArgsConstructor;\n\n@Required... | java | chosen |
[
{
"from": "system",
"value": "Fix for absolute paths when using params\n"
},
{
"from": "human",
"value": "package com.crowdin.cli.commands.functionality;\n\nimport com.crowdin.cli.properties.CliProperties;\nimport com.crowdin.cli.properties.Params;\nimport com.crowdin.cli.properties.PropertiesBe... | java | chosen |
[
{
"from": "system",
"value": "Fix handling of default groups for null world\n"
},
{
"from": "human",
"value": "package ru.tehkode.permissions.backends.caching;\n\nimport ru.tehkode.permissions.PermissionsGroupData;\n\nimport java.util.Map;\nimport java.util.concurrent.ConcurrentHashMap;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Fix breakdowns for unplayed matches\n"
},
{
"from": "human",
"value": "package com.thebluealliance.androidclient.subscribers;\n\nimport com.google.gson.JsonObject;\n\nimport com.thebluealliance.androidclient.models.BasicModel;\nimport com.thebluealliance.androidclie... | java | chosen |
[
{
"from": "system",
"value": "Remove reference from Android project\n"
},
{
"from": "human",
"value": "package victoralbertos.io.android;\n\nimport android.app.Activity;\nimport android.os.Bundle;\nimport io.reactivecache.ReactiveCache;\nimport io.victoralbertos.jolyglot.GsonSpeaker;\nimport jav... | java | chosen |
[
{
"from": "system",
"value": "Change implementation of asSet to use LinkedHashSet instead of HashSet. This is to preserve the ordering for test purposes.\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.rest.search.query;\n\nimport java.util.Arrays;\nimport java.util.HashSet;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Fix CoFH-locked drawers crashing clients\n"
},
{
"from": "human",
"value": "package com.jaquadro.minecraft.storagedrawers.integration.thermalfoundation;\n\nimport com.jaquadro.minecraft.storagedrawers.api.security.ISecurityProvider;\nimport com.jaquadro.minecraft.st... | java | chosen |
[
{
"from": "system",
"value": "Add a comment (Test commit for codecov)\n"
},
{
"from": "human",
"value": "package com.smp.rxplayround.sample;\n\nimport com.smp.rxplayround.BasePlayground;\n\nimport org.junit.Test;\n\nimport lombok.extern.slf4j.Slf4j;\nimport rx.Observable;\nimport rx.Observer;\n\... | java | chosen |
[
{
"from": "system",
"value": "Fix usage of deprecated class\n"
},
{
"from": "human",
"value": "package nl.homeserver.config;\n\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.messaging.simp.config.MessageBrokerRegistry;\nimport org.springframework.web.so... | java | chosen |
[
{
"from": "system",
"value": "Remove redundant interface access modifier\n\nhttps://docs.oracle.com/javase/specs/jls/se8/html/jls-9.html#jls-9.4"
},
{
"from": "human",
"value": "package de.idrinth.waraddonclient.model.addon;\r\n\r\nimport java.io.IOException;\r\nimport java.util.List;\r\n\r\npub... | java | chosen |
[
{
"from": "system",
"value": "Fix initial capital domain table name\n"
},
{
"from": "human",
"value": "package ee.tuleva.onboarding.capital;\n\nimport ee.tuleva.onboarding.user.User;\nimport lombok.AllArgsConstructor;\nimport lombok.Builder;\nimport lombok.Data;\nimport lombok.NoArgsConstructor;... | java | chosen |
[
{
"from": "system",
"value": "Reorder assertions so more useful information generated on failure.\n"
},
{
"from": "human",
"value": "package co.arcs.groove.basking.test;\n\nimport static org.junit.Assert.assertEquals;\n\nimport java.util.concurrent.ExecutionException;\n\nimport org.junit.Rule;\n... | java | chosen |
[
{
"from": "system",
"value": "Return empty list instead of null in mock\n"
},
{
"from": "human",
"value": "package com.llnw.storage.client;\n\nimport com.llnw.storage.client.io.ActivityCallback;\n\nimport javax.annotation.Nullable;\n\nimport java.io.File;\nimport java.io.IOException;\nimport jav... | java | chosen |
[
{
"from": "system",
"value": "Clean up for building blocks.\n"
},
{
"from": "human",
"value": "package com.nexmo.quickstart.voice;\n\nimport com.nexmo.client.NexmoClient;\nimport com.nexmo.client.auth.AuthMethod;\nimport com.nexmo.client.auth.JWTAuthMethod;\nimport com.nexmo.client.voice.Call;\n... | java | chosen |
[
{
"from": "system",
"value": "Add ability to associate a seat with a section\n"
},
{
"from": "human",
"value": "package data.trainnetwork;\n\nimport java.math.BigInteger;\nimport java.security.SecureRandom;\n\n/**\n * A class representing a Seat within section\n * @author Balazs Pete\n *\n */\np... | java | chosen |
[
{
"from": "system",
"value": "Use typed reference to MockSpatialContext to avoid changes in package names.\n"
},
{
"from": "human",
"value": "package org.apache.lucene.spatial.base.context;\n\nimport static org.junit.Assert.assertEquals;\n\nimport org.apache.lucene.spatial.base.context.simple.Si... | java | chosen |
[
{
"from": "system",
"value": "Set Nimbus Look and Feel\n\nOPEN - task 79: Create Party Module \nhttp://github.com/DevOpsDistilled/OpERP/issues/issue/79"
},
{
"from": "human",
"value": "package devopsdistilled.operp.client;\n\nimport org.springframework.context.ApplicationContext;\nimport org.spr... | java | chosen |
[
{
"from": "system",
"value": "Allow user to read the name of the host\n"
},
{
"from": "human",
"value": "package se.arbetsformedlingen.venice.probe;\n\nimport java.util.Objects;\n\npublic class Host {\n private String host;\n\n Host(String host) {\n this.host = host;\n }\n\n @... | java | chosen |
[
{
"from": "system",
"value": "refactor: Change parameter name for Rate limit\n"
},
{
"from": "human",
"value": "/**\n * Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in comp... | java | chosen |
[
{
"from": "system",
"value": "Fix crash on feed search.\n"
},
{
"from": "human",
"value": "package com.newsblur.network;\n\nimport java.util.ArrayList;\n\nimport android.content.Context;\nimport android.support.v4.content.AsyncTaskLoader;\n\nimport com.newsblur.domain.FeedResult;\n\npublic class... | java | chosen |
[
{
"from": "system",
"value": "Bug-fix: Fix compiler warning by null casting var args to Void\n"
},
{
"from": "human",
"value": "package net.binarycreations.apod.app.background;\n\nimport android.os.AsyncTask;\n\n/**\n *\n *\n * @author graham.\n */\npublic class Task {\n\n private final Async... | java | chosen |
[
{
"from": "system",
"value": "[do_jdbc] Fix omission in previous commit 490d652\n\n* PostgresDriverDefinition should have been updated to\n use overloaded constructor in AbstractDriverDefinition.\n\nSigned-off-by: Alex Coles <60c6d277a8bd81de7fdde19201bf9c58a3df08f4@alexcolesportfolio.com>\n"
},
{
... | java | chosen |
[
{
"from": "system",
"value": "Make this a subclass of Thread.\n\n"
},
{
"from": "human",
"value": "// Copyright (c) 1999 Brian Wellington (bwelling@xbill.org)\n// Portions Copyright (c) 1999 Network Associates, Inc.\n\npackage org.xbill.DNS;\n\nimport java.util.*;\nimport java.io.*;\nimport java... | java | chosen |
[
{
"from": "system",
"value": "Remove extraneous call in demo app\n"
},
{
"from": "human",
"value": "package com.google.maps.android.utils.demo;\n\nimport android.os.Bundle;\nimport android.support.v4.app.FragmentActivity;\nimport com.google.android.gms.maps.GoogleMap;\nimport com.google.android.... | java | chosen |
[
{
"from": "system",
"value": "Set id in insert query during inserts or update"
},
{
"from": "human",
"value": "/**\r\n * \r\n */\r\npackage org.openforis.collect.persistence.jooq;\r\n\r\nimport java.sql.Connection;\r\n\r\nimport org.jooq.Record;\r\nimport org.jooq.Sequence;\r\nimport org.jooq.St... | java | chosen |
[
{
"from": "system",
"value": "Use the right cog icon\n\nWas occasionally getting confused because the cog is also the symbol for the settings page and this loaded first (I think).\nThis seems to make tests pass more.\n"
},
{
"from": "human",
"value": "package com.autonomy.abc.selenium.iso;\n\nim... | java | chosen |
[
{
"from": "system",
"value": "MINOR: Rename generated class and filled main method\n"
},
{
"from": "human",
"value": "import java.util.List;\n\nclass FstGenerator {\n\n private StringBuffer strBuff;\n private List<State> fstStates;\n\n public FstGenerator(List<State> fstStates) {\n ... | java | chosen |
[
{
"from": "system",
"value": "Test fix if no certificate is present"
},
{
"from": "human",
"value": "package com.helger.pd.client;\n\nimport org.junit.Test;\n\nimport com.helger.peppol.identifier.participant.SimpleParticipantIdentifier;\n\n/**\n * Test class for class {@link PDClient}.\n *\n * @... | java | chosen |
[
{
"from": "system",
"value": "Update to support PIT 1.4.3"
},
{
"from": "human",
"value": "package org.pitest.cucumber;\n\nimport org.pitest.classinfo.ClassByteArraySource;\nimport org.pitest.testapi.Configuration;\nimport org.pitest.testapi.TestGroupConfig;\nimport org.pitest.testapi.TestPlugin... | java | chosen |
[
{
"from": "system",
"value": "Support DurationCapability in Timeline view\n"
},
{
"from": "human",
"value": "package gov.nasa.arc.mct.scenario.component;\n\nimport gov.nasa.arc.mct.components.AbstractComponent;\n\nimport java.util.ArrayList;\nimport java.util.Collection;\nimport java.util.HashMa... | java | chosen |
[
{
"from": "system",
"value": "Update to modern meaning of compression factor"
},
{
"from": "human",
"value": "/*\n * Licensed to Ted Dunning under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyright ow... | java | chosen |
[
{
"from": "system",
"value": "Write down a supported message type (ByteBuf) when using the ping handler.\n"
},
{
"from": "human",
"value": "package net.md_5.bungee.connection;\n\nimport lombok.RequiredArgsConstructor;\nimport net.md_5.bungee.api.Callback;\nimport net.md_5.bungee.api.ServerPing;\... | java | chosen |
[
{
"from": "system",
"value": "Use command gateway instead of command bus to generate commands\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2017 General Electric Company. All rights reserved.\n *\n * The copyright to the computer software herein is the property of General Electric Comp... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Annotate getParent with @Nullable\"\n\nThis reverts commit 1bdb91ce87ec473fa5ef78cd3b3565337b400e84.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"Licen... | java | chosen |
[
{
"from": "system",
"value": "Add generated serial version UUID\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016-2020 52°North Initiative for Geospatial Open Source\n * Software GmbH\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file e... | java | chosen |
[
{
"from": "system",
"value": "Remove the parameterized enum as it could not be used with gson\n"
},
{
"from": "human",
"value": "package hwo.kurjatturskat.core.message;\n\npublic enum MessageType {\n\n // NOTE: Enums must be in small letter for json to be outputted correctly\n carPositions... | java | chosen |
[
{
"from": "system",
"value": "Make system entities post any kind of events.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2019, 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 noti... | java | chosen |
[
{
"from": "system",
"value": "Make keyboard type show up in preferences list\n\nShow the actual current setting of the preference in the summary.\n"
},
{
"from": "human",
"value": "package com.levien.synthesizer.android.ui;\n\nimport android.os.Bundle;\nimport android.preference.PreferenceActivi... | java | chosen |
[
{
"from": "system",
"value": "Test edge cases on largest sum\n"
},
{
"from": "human",
"value": "package interviewquestions;\n\n/**\n * Given an array of integers (positive and negative) find the\n * largest continuous sum\n */\npublic class ContinuousSum extends TestCase {\n public static int l... | java | chosen |
[
{
"from": "system",
"value": "ADD id must be implement Serializable\n"
},
{
"from": "human",
"value": "package at.splendit.example.hibernate.domain;\n\nimport java.io.Serializable;\n\nimport javax.persistence.GeneratedValue;\nimport javax.persistence.GenerationType;\nimport javax.persistence.Id;... | java | chosen |
[
{
"from": "system",
"value": "Create postgres jdbc resource, not mssql\n"
},
{
"from": "human",
"value": "package scoutmgr.server.test.util;\n\nimport scoutmgr.server.entity.ScoutmgrPersistenceUnit;\nimport org.realityforge.guiceyloops.server.glassfish.GlassFishContainer;\nimport org.realityforg... | java | chosen |
[
{
"from": "system",
"value": "Fix NPE when we compile a null default BigDecimal or BigInteger literal\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 Guidewire Software, Inc.\n */\npackage gw.internal.gosu.parser.expressions;\n\nimport gw.internal.gosu.parser.Expression;\nimport gw.lang... | java | chosen |
[
{
"from": "system",
"value": "Add optional spans for list blocks\n"
},
{
"from": "human",
"value": "package ru.noties.markwon.core;\n\nimport android.support.annotation.NonNull;\n\nimport org.commonmark.node.Node;\n\nimport ru.noties.markwon.MarkwonVisitor;\n\n/**\n * A {@link ru.noties.markwon.... | java | chosen |
[
{
"from": "system",
"value": "Update Lint checks to new APIs\n"
},
{
"from": "human",
"value": "package butterknife.lint;\n\nimport com.android.tools.lint.client.api.IssueRegistry;\nimport com.android.tools.lint.detector.api.Issue;\nimport com.google.common.collect.ImmutableList;\nimport java.ut... | java | chosen |
[
{
"from": "system",
"value": "Add elementary tests for PipelineEnvironment asset paths\n"
},
{
"from": "human",
"value": "package com.semperos.screwdriver.pipeline;\n\n/**\n * Created with IntelliJ IDEA.\n * User: semperos\n * Date: 2/6/13\n * Time: 4:43 PM\n * To change this template use File |... | java | chosen |
[
{
"from": "system",
"value": "Test case commented out; needs more work"
},
{
"from": "human",
"value": "package com.mindoo.domino.jna.test;\n\nimport com.mindoo.domino.jna.NotesDatabase;\nimport com.mindoo.domino.jna.NotesDatabase.SignCallback;\nimport com.mindoo.domino.jna.NotesViewEntryData;\n... | java | chosen |
[
{
"from": "system",
"value": "Remove mentions to old repositories.\n"
},
{
"from": "human",
"value": "package com.github.cstroe.sqs.repository;\n\npublic class RepositoryFactory {\n public static NotebookRepository notebook() {\n return new NotebookRepository();\n }\n public stat... | java | chosen |
[
{
"from": "system",
"value": "Fix subtypes of middle-clicked paths combining on drop\n\nFixes #8\n"
},
{
"from": "human",
"value": "package com.techern.minecraft.pathomania.proxy;\n\nimport com.techern.minecraft.pathomania.PathomaniaMod;\nimport net.minecraft.block.Block;\nimport net.minecraft.c... | java | chosen |
[
{
"from": "system",
"value": "Change the serial number of the problem\n\nChange the serial number of the problem"
},
{
"from": "human",
"value": "package com.insightfullogic.java8.answers.chapter3;\n\nimport java.util.Comparator;\nimport java.util.List;\nimport java.util.Optional;\n\npublic clas... | java | chosen |
[
{
"from": "system",
"value": "Remove trailing ; at end of class declaration.\n\n\n\ngit-svn-id: d2a93f579bd4835921162e9a69396c846e49961c@1226974 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/**\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * ... | java | chosen |
[
{
"from": "system",
"value": "Remove Interstellar poster as placeholder.\n"
},
{
"from": "human",
"value": "package gouravexample.popularmoviesstage1;\n\nimport android.content.Context;\nimport android.util.Log;\nimport android.view.LayoutInflater;\nimport android.view.View;\nimport android.view... | java | chosen |
[
{
"from": "system",
"value": "Remove extra methods for API clients\n"
},
{
"from": "human",
"value": "package com.jraska.github.client.data.users;\n\nimport com.jraska.github.client.users.UsersRepository;\nimport dagger.Module;\nimport dagger.Provides;\nimport okhttp3.OkHttpClient;\nimport retro... | java | chosen |
[
{
"from": "system",
"value": "Disable distribution of rank-expression files.\n"
},
{
"from": "human",
"value": "package com.yahoo.searchdefinition;\n\nimport com.yahoo.vespa.model.AbstractService;\n\nimport java.util.Collection;\nimport java.util.Collections;\nimport java.util.HashMap;\nimport j... | java | chosen |
[
{
"from": "system",
"value": "Fix log not appending in gui\n"
},
{
"from": "human",
"value": "package com.swandiggy.poe4j.gui.log;\n\nimport ch.qos.logback.classic.spi.ILoggingEvent;\nimport ch.qos.logback.core.AppenderBase;\nimport javafx.application.Platform;\nimport javafx.collections.FXColle... | java | chosen |
[
{
"from": "system",
"value": "Make the service layer transactional (and read-only)\n"
},
{
"from": "human",
"value": "package org.opennms.web.svclayer;\n\nimport java.util.Date;\n\npublic interface DistributedStatusService {\n public SimpleWebTable createStatusTable(String locationName, Strin... | java | chosen |
[
{
"from": "system",
"value": "Change Camel-Mail example to\n - not create 2 SMTP servers.\n - use an integer instead of an integer-shaped string.\n"
},
{
"from": "human",
"value": "/*\n * #%L\n * Wildfly Swarm :: Examples :: Camel Mail\n * %%\n * Copyright (C) 2016 RedHat\n * %%\n * Licensed und... | java | chosen |
[
{
"from": "system",
"value": "Fix signature for ResourceLoader constructor\n"
},
{
"from": "human",
"value": "package com.xtremelabs.robolectric.shadows;\n\nimport android.app.Activity;\nimport android.app.Application;\nimport android.content.res.Resources;\nimport com.xtremelabs.robolectric.R;\... | java | chosen |
[
{
"from": "system",
"value": "Allow periods in statsd names\n"
},
{
"from": "human",
"value": "package com.furnaghan.home.component.metrics.statsd;\n\nimport com.furnaghan.home.component.Component;\nimport com.furnaghan.home.component.metrics.MetricsType;\nimport com.timgroup.statsd.NonBlockingS... | java | chosen |
[
{
"from": "system",
"value": "DASHB-204: Add bunch of new events\n"
},
{
"from": "human",
"value": "/*\n *\n * CODENVY CONFIDENTIAL\n * ________________\n *\n * [2012] - [2014] Codenvy, S.A.\n * All Rights Reserved.\n * NOTICE: All information contained herein is, and remains\n * the property of... | java | chosen |
[
{
"from": "system",
"value": "Fix tests to check status code, and not expect exception\n"
},
{
"from": "human",
"value": "package keywhiz.service.resources;\n\nimport com.codahale.metrics.health.HealthCheck;\nimport com.codahale.metrics.health.HealthCheckRegistry;\nimport io.dropwizard.setup.Env... | java | chosen |
[
{
"from": "system",
"value": "Add toString method to basic resource key.\n\ngit-svn-id: ddbd9cf08712f046fd96251fb76032477531c99f@83 2c5795a3-9673-4752-9eb2-864809377e00\n"
},
{
"from": "human",
"value": "/*\r\n * Altimos JUtil\r\n * \r\n * Copyright (C) 2010-2011 Jan Graichen <jan.graichen@gmx.d... | java | chosen |
[
{
"from": "system",
"value": "Remove this from public packages\n\nBy our contract this requires a major release, but we should\nmake an exception because:\n- This is not useful outside the cloud environment\n- On the cloud environment there are just 2 usages, both of which are legacy\n and won't be impacte... | java | chosen |
[
{
"from": "system",
"value": "Change the definition of the find by dates method"
},
{
"from": "human",
"value": "package <%=packageName%>.repository;\n\nimport <%=packageName%>.domain.PersistentAuditEvent;\nimport org.joda.time.LocalDateTime;\nimport org.springframework.data.jpa.repository.JpaRe... | java | chosen |
[
{
"from": "system",
"value": "Clean up a couple of whitespace errors, add a comment\n"
},
{
"from": "human",
"value": "package org.usfirst.frc.team2503.r2016.input;\n\nimport org.usfirst.frc.team2503.r2016.input.gamepad.Gamepad;\nimport org.usfirst.frc.team2503.r2016.input.joystick.Joystick;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Load file as UTF-8 as default"
},
{
"from": "human",
"value": "package fr.univnantes.termsuite.ui.util;\n\nimport java.io.File;\nimport java.io.FileNotFoundException;\nimport java.io.FileOutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Add test case for undo delete command\n"
},
{
"from": "human",
"value": "package guitests;\n\nimport static org.junit.Assert.assertTrue;\n\nimport org.junit.Test;\n\nimport seedu.address.logic.commands.UndoCommand;\nimport seedu.address.testutil.TestTask;\nimport se... | java | chosen |
[
{
"from": "system",
"value": "Allow to change the default storage configuration"
},
{
"from": "human",
"value": "package de.fernunihagen.dna.jkn.scalephant.storage;\n\nimport java.util.HashMap;\nimport java.util.Map;\n\npublic class StorageInterface {\n\n\tprivate static Map<String, StorageManag... | java | chosen |
[
{
"from": "system",
"value": "Include the folder tests in the test suite"
},
{
"from": "human",
"value": "package tests;\r\n\r\nimport org.junit.runner.RunWith;\r\nimport org.junit.runners.Suite;\r\nimport org.junit.runners.Suite.SuiteClasses;\r\n\r\n@RunWith(Suite.class)\r\n@SuiteClasses({ \r\n... | java | chosen |
[
{
"from": "system",
"value": "Introduce a more reliable id and channel for Notifications.\n"
},
{
"from": "human",
"value": "package com.novoda.downloadmanager;\n\nimport android.app.Notification;\nimport android.content.Context;\nimport android.support.annotation.DrawableRes;\nimport android.su... | java | chosen |
[
{
"from": "system",
"value": "Resolve merge issues re StoreFIleListeners\n"
},
{
"from": "human",
"value": "package net.openhft.chronicle.queue.impl;\n\nimport net.openhft.chronicle.core.Jvm;\n\nimport java.io.File;\n\npublic enum StoreFileListeners implements StoreFileListener {\n NO_OP {\n ... | java | chosen |
[
{
"from": "system",
"value": "Remove self-closing tags in JavaDoc"
},
{
"from": "human",
"value": "package rx.android.eventbus;\n\nimport rx.Observer;\nimport rx.Subscription;\nimport rx.subjects.Subject;\n\npublic interface EventBus {\n\n /**\n * Subscribes <code>observer</code> to <code... | java | chosen |
[
{
"from": "system",
"value": "Fix shulker box inventory remap."
},
{
"from": "human",
"value": "package protocolsupport.protocol.typeremapper.basic;\n\nimport protocolsupport.protocol.typeremapper.utils.RemappingRegistry.EnumRemappingRegistry;\nimport protocolsupport.protocol.typeremapper.utils.... | java | chosen |
[
{
"from": "system",
"value": "Change default SimpleMeterRegistry step to 1 minute\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2017 Pivotal Software, Inc.\n * <p>\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": "Correct behavior for daily start awards\n"
},
{
"from": "human",
"value": "package com.stefanhoth.ropasclisp.achievements;\n\nimport com.stefanhoth.ropasclisp.games_sdk.PlayGamesClient;\n\npublic class AchievementObserver {\n\n private final PlayGamesClient playG... | java | chosen |
[
{
"from": "system",
"value": "Make the program actually create the UI.\n"
},
{
"from": "human",
"value": "package org.nwapw.abacus;\n\npublic class Abacus {\n\n public static void main(String[] args){\n System.out.println(\"Hello world!\");\n }\n\n}\n"
},
{
"from": "gpt",
... | java | chosen |
[
{
"from": "system",
"value": "Add in ability to instantiate non public default constructors\n"
},
{
"from": "human",
"value": "/***\n * \n * Copyright 2014 Andrew Hall\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": "Adjust code style, remove constant and exception\n"
},
{
"from": "human",
"value": "package com.sleekbyte.tailor.grammar;\n\nimport com.sleekbyte.tailor.Tailor;\nimport org.junit.After;\nimport org.junit.Before;\nimport org.junit.Test;\n\nimport java.io.*;\n\nimport... | java | chosen |
[
{
"from": "system",
"value": "Use AppCompatActivity in example project\n"
},
{
"from": "human",
"value": "package me.mattlogan.artiste.example;\n\nimport android.support.v7.app.ActionBarActivity;\nimport android.os.Bundle;\n\npublic class MainActivity extends ActionBarActivity {\n\n @Override... | java | chosen |
[
{
"from": "system",
"value": "Add a test to ensure the list of suppressed exceptions in a Throwable is not accidentally aliased during the shallow copy.\n"
},
{
"from": "human",
"value": "package org.inferred.cjp39.j8stages;\n\nimport static org.junit.Assert.assertEquals;\nimport static org.juni... | java | chosen |
[
{
"from": "system",
"value": "Add formula comment to hyperbolic NW class.\n"
},
{
"from": "human",
"value": "package cs437.som.neighborhood;\n\nimport cs437.som.NeightborhoodWidthFunction;\n\n/**\n * Hyperbolic neighborhood width strategy for self-organizing map.\n */\npublic class HyperbolicNei... | java | chosen |
[
{
"from": "system",
"value": "Use L&F that is available on JDK 1.3"
},
{
"from": "human",
"value": "package com.thoughtworks.acceptance;\n\nimport javax.swing.DefaultListModel;\nimport javax.swing.JList;\nimport javax.swing.JTable;\nimport javax.swing.LookAndFeel;\nimport javax.swing.plaf.synth.... | java | chosen |
[
{
"from": "system",
"value": "Add authentication and modify response type for /test\n"
},
{
"from": "human",
"value": "package com.developi.wink.demo.api;\n\nimport javax.ws.rs.GET;\nimport javax.ws.rs.Path;\nimport javax.ws.rs.core.MediaType;\nimport javax.ws.rs.core.Response;\n\nimport com.ibm... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.