conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Remove visibilities from interface methods.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016, Frederik Boster\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 * Y... | java | chosen |
[
{
"from": "system",
"value": "fix(command): Fix NPE when caching commands\n"
},
{
"from": "human",
"value": "package valandur.webapi.cache.command;\n\nimport org.spongepowered.api.command.CommandMapping;\nimport org.spongepowered.api.text.Text;\nimport valandur.webapi.api.cache.command.ICachedCo... | java | chosen |
[
{
"from": "system",
"value": "Add (empty) decribeTo method to generated code"
},
{
"from": "human",
"value": "package yokohama.unit.ast_junit;\r\n\r\nimport java.util.List;\r\nimport java.util.Set;\r\nimport lombok.EqualsAndHashCode;\r\nimport lombok.Value;\r\nimport yokohama.unit.util.SBuilder;... | java | chosen |
[
{
"from": "system",
"value": "Remove the old registry way from test entity types"
},
{
"from": "human",
"value": "package info.u_team.u_team_test.init;\n\nimport info.u_team.u_team_core.entitytype.UEntityType;\nimport info.u_team.u_team_core.util.registry.BaseRegistryUtil;\nimport info.u_team.u_... | java | chosen |
[
{
"from": "system",
"value": "Remove After - logically redundant\n"
},
{
"from": "human",
"value": "package org.gluster.test;\n\nimport java.io.File;\n\nimport junit.framework.Assert;\n\nimport org.apache.hadoop.fs.glusterfs.GlusterFUSEInputStream;\nimport org.apache.hadoop.fs.glusterfs.GlusterF... | java | chosen |
[
{
"from": "system",
"value": "Sort photos by title by default\n"
},
{
"from": "human",
"value": "package com.castelijns.mmdemo.photos;\n\nimport com.castelijns.mmdemo.models.Photo;\n\nimport java.util.List;\n\nimport io.reactivex.Observer;\nimport io.reactivex.android.schedulers.AndroidScheduler... | java | chosen |
[
{
"from": "system",
"value": "Delete unused source package 2"
},
{
"from": "human",
"value": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choose Tools | Templates\n * and open the template in the editor.\n */\npackage meti... | java | chosen |
[
{
"from": "system",
"value": "Fix checking if a path is absolute in windows."
},
{
"from": "human",
"value": "/*******************************************************************************\n * Copyright 2014 Rafael Garcia Moreno.\n * \n * Licensed under the Apache License, Version 2.0 (the \"L... | java | chosen |
[
{
"from": "system",
"value": "Add classes that should be loaded by the parent ClassLoader\n"
},
{
"from": "human",
"value": "package com.github.tmurakami.dexopener;\n\nclass ClassNameFilterImpl implements ClassNameFilter {\n\n private static final String[] IGNORED_PACKAGES = {\n \"... | java | chosen |
[
{
"from": "system",
"value": "Send animation data across the network as shorts instead of ints, to save some bytes\n"
},
{
"from": "human",
"value": "package com.ezardlabs.dethsquare.multiplayer;\n\nimport java.nio.ByteBuffer;\n\npublic class NetworkAnimator extends NetworkBehaviour {\n\n\t@Over... | java | chosen |
[
{
"from": "system",
"value": "Use a blocking queue rather than a list so that tests can wait for a message to have arrived.\n"
},
{
"from": "human",
"value": "/**\n * Copyright (C) 2009 - 2010 by OpenGamma Inc.\n *\n * Please see distribution for license.\n */\npackage com.opengamma.transport;\n... | java | chosen |
[
{
"from": "system",
"value": "Use test parent class inheritance to avoid boiler plate code.\n"
},
{
"from": "human",
"value": "package com.oneandone.snmpman;\n\nimport org.snmp4j.smi.OctetString;\nimport org.testng.annotations.AfterMethod;\nimport org.testng.annotations.BeforeMethod;\nimport org... | java | chosen |
[
{
"from": "system",
"value": "Add bad code to Play example.\n"
},
{
"from": "human",
"value": "package controllers;\n\nimport play.*;\nimport play.mvc.*;\n\nimport views.html.*;\n\npublic class Application extends Controller {\n \n public static Result index() {\n return ok(index.rend... | java | chosen |
[
{
"from": "system",
"value": "Update the id for the session location element to select\n"
},
{
"from": "human",
"value": "package org.openmrs.reference.page;\n\nimport org.openqa.selenium.By;\nimport org.openqa.selenium.WebDriver;\n\npublic class LoginPage extends AbstractBasePage {\n\t\n\tstati... | java | chosen |
[
{
"from": "system",
"value": "Remove @Before, not useful for static classes\n"
},
{
"from": "human",
"value": "package com.alexrnl.commons.gui.swing;\n\nimport static org.junit.Assert.assertFalse;\nimport static org.junit.Assert.assertTrue;\n\nimport java.util.logging.Level;\nimport java.util.lo... | java | chosen |
[
{
"from": "system",
"value": "Remove use of the deprecated method Throwables.propagate\n"
},
{
"from": "human",
"value": "package net.wizardsoflua.testenv.net;\n\nimport java.io.IOException;\n\nimport com.google.common.base.Throwables;\n\nimport io.netty.buffer.ByteBuf;\nimport net.minecraft.net... | java | chosen |
[
{
"from": "system",
"value": "Add support for WebDAV HTTP methods (RFC 4918)\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2014 Square, 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 ... | java | chosen |
[
{
"from": "system",
"value": "Add synchronized to lazy factory method\n"
},
{
"from": "human",
"value": "package org.bouncycastle.asn1.x9;\n\npublic abstract class X9ECParametersHolder\n{\n private X9ECParameters params;\n\n public X9ECParameters getParameters()\n {\n if (params ... | java | chosen |
[
{
"from": "system",
"value": "Make adaptFrom parameter default to empty String\n"
},
{
"from": "human",
"value": "package com.jenjinstudios.io.annotations;\n\nimport java.lang.annotation.ElementType;\nimport java.lang.annotation.Retention;\nimport java.lang.annotation.RetentionPolicy;\nimport ja... | java | chosen |
[
{
"from": "system",
"value": "Save preferences before exiting the game\n"
},
{
"from": "human",
"value": "package edu.stuy.starlorn;\nimport java.io.IOException;\nimport edu.stuy.starlorn.graphics.Screen;\nimport edu.stuy.starlorn.menu.Menu;\nimport edu.stuy.starlorn.util.Preferences;\n\npublic ... | java | chosen |
[
{
"from": "system",
"value": "Allow proper differentiation of unknown (e.g. ambiguity) symbols.\n\n\ngit-svn-id: ed25c26de1c5325e8eb0deed0b990ab8af8a4def@2038 7c6358e6-4a41-0410-a743-a5b2a554c398\n"
},
{
"from": "human",
"value": "package org.biojava.bio.symbol;\n\nimport java.util.*;\n\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Fix high scores displaying for more than one board\n"
},
{
"from": "human",
"value": "package com.gunshippenguin.openflood;\n\nimport android.content.SharedPreferences;\n\npublic class HighScoreManager {\n SharedPreferences sp;\n\n public HighScoreManager(Shar... | java | chosen |
[
{
"from": "system",
"value": "Switch view to list screen on button click\n"
},
{
"from": "human",
"value": "package sleepyweasel.purplefluffernutter;\n\nimport android.support.v7.app.ActionBarActivity;\nimport android.os.Bundle;\nimport android.view.Menu;\nimport android.view.MenuItem;\n\n\npubl... | java | chosen |
[
{
"from": "system",
"value": "Fix based on Sandor's comments\n"
},
{
"from": "human",
"value": "// Copyright 2011 Google Inc. All Rights Reserved.\n\npackage com.google.android.apps.mytracks;\n\nimport com.google.android.apps.mytracks.content.TrackDataHub;\n\nimport android.app.Application;\n\n/... | java | chosen |
[
{
"from": "system",
"value": "Use correct version checker url\n"
},
{
"from": "human",
"value": "package org.cyclops.cyclopscore;\n\n/**\n * Class that can hold basic static things that are better not hard-coded\n * like mod details, texture paths, ID's...\n * @author rubensworks\n */\npublic fi... | java | chosen |
[
{
"from": "system",
"value": "Add javadoc comments. See ticket:58.\n\nSigned-off-by: Patrick Pelletier <4307fca26d0353058fbfb17dc5f40867e5e6b8e6@gmail.com>\nSigned-off-by: Etienne M. Gagnon <bf06ec0eb40152cd863534753d026b021022c851@j-meg.com>\n"
},
{
"from": "human",
"value": "/* This file is pa... | java | chosen |
[
{
"from": "system",
"value": "Apply same rounding as Hive does when converting text to decimal\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 cop... | java | chosen |
[
{
"from": "system",
"value": "Fix after throwing chain to catch the right exception\n"
},
{
"from": "human",
"value": "package com.bnorm.auto.weave.internal.chain;\n\nimport com.bnorm.auto.weave.AfterThrowingJoinPoint;\nimport com.bnorm.auto.weave.internal.Pointcut;\n\npublic abstract class Afte... | java | chosen |
[
{
"from": "system",
"value": "Fix branches being mixed in Tree structure\n"
},
{
"from": "human",
"value": "package net.acomputerdog.core.tree;\n\nimport java.util.Collections;\nimport java.util.HashSet;\nimport java.util.Set;\n\npublic class Branch<T> {\n private final Branch<T> parent;\n ... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Warn about deprecated \"panel-include\" tag\"\n\nThis reverts commit 3d71a8e3eb9828e5412ec9e6060e6b28d98bd3a4.\n"
},
{
"from": "human",
"value": "/*\n * Axelor Business Solutions\n *\n * Copyright (C) 2005-2018 Axelor (<http://axelor.com>).\n *\n * This pro... | java | chosen |
[
{
"from": "system",
"value": "Add path translation to fix parallel paths not upgrading spells\n"
},
{
"from": "human",
"value": "package com.elmakers.mine.bukkit.api.wand;\n\nimport com.elmakers.mine.bukkit.api.magic.Mage;\n\nimport java.util.Collection;\n\npublic interface WandUpgradePath {\n ... | java | chosen |
[
{
"from": "system",
"value": "Clean up the C-alpha example.\n"
},
{
"from": "human",
"value": "package org.biojava.examples;\n\nimport javax.vecmath.Point3d;\n\nimport org.apache.spark.api.java.JavaPairRDD;\nimport org.biojava.spark.data.StructureDataRDD;\n\n/**\n * Example of mapping the PDB to... | java | chosen |
[
{
"from": "system",
"value": "Rename Face Classifier controller method.\n"
},
{
"from": "human",
"value": "package nl.ekholabs.nlp.controller;\n\nimport java.io.IOException;\n\nimport nl.ekholabs.nlp.client.ElsieDeeSightFeignClient;\nimport org.springframework.beans.factory.annotation.Autowired;... | java | chosen |
[
{
"from": "system",
"value": "Handle ReceivePong events, do nothing. Just to stop unhandled message flooding.\n"
},
{
"from": "human",
"value": "/**\n * Copyright (C) 2013 Alexander Szczuczko\n *\n * This file may be modified and distributed under the terms\n * of the MIT license. See the LICENS... | java | chosen |
[
{
"from": "system",
"value": "Configure MustacheViewResolver as default view resolver\n"
},
{
"from": "human",
"value": "package au.gov.dto.dibp.appointments.config;\n\nimport org.springframework.context.annotation.Configuration;\nimport org.springframework.web.servlet.config.annotation.ViewCont... | java | chosen |
[
{
"from": "system",
"value": "Update network protocol to 1.14.4\n"
},
{
"from": "human",
"value": "package info.u_team.u_team_core.intern.init;\n\nimport info.u_team.u_team_core.UCoreMain;\nimport info.u_team.u_team_core.intern.network.SyncedContainerMessage;\nimport net.minecraft.util.ResourceL... | java | chosen |
[
{
"from": "system",
"value": "Fix broadcast sound on Baykok spawn"
},
{
"from": "human",
"value": "package totemic_commons.pokefenn.ceremony;\n\nimport net.minecraft.util.EnumFacing;\nimport net.minecraft.util.math.BlockPos;\nimport net.minecraft.world.World;\nimport totemic_commons.pokefenn.api... | java | chosen |
[
{
"from": "system",
"value": "Allow the duration to be overridden."
},
{
"from": "human",
"value": "package org.jenkinsci.plugins.workflow.demo;\n\nimport org.apache.commons.io.IOUtils;\nimport org.junit.Assert;\nimport org.junit.Test;\n\nimport java.net.URL;\n\n/**\n * Integration test for weba... | java | chosen |
[
{
"from": "system",
"value": "Add new constructor for logic manager"
},
{
"from": "human",
"value": "package seedu.jobs.logic;\n\nimport java.io.IOException;\nimport java.util.logging.Logger;\n\nimport javafx.collections.ObservableList;\nimport seedu.jobs.commons.core.ComponentManager;\nimport s... | java | chosen |
[
{
"from": "system",
"value": "Change MESSAGE_SUCCESS string to be non-static\n"
},
{
"from": "human",
"value": "/**\n * \n */\npackage tars.logic.commands;\n\n/**\n * @author Johnervan\n * Changes the directory of the Tars storage file, tars.xml \n */\npublic class CdCommand extends Command {\n ... | java | chosen |
[
{
"from": "system",
"value": "Update reverse a linked list code\n"
},
{
"from": "human",
"value": "public class Program {\n public static void main(String[] args) {\n LinkedList head = new LinkedList(new int[] {1, 2, 3, 4}, LinkedList.Type.Singly);\n head = reverseSingly(head);\... | java | chosen |
[
{
"from": "system",
"value": "Use a zero-arg constructor for our test IntentService\n\nSee https://github.com/robolectric/robolectric/pull/3090\n\n-------------\nCreated by MOE: https://github.com/google/moe\nMOE_MIGRATED_REVID=193692162\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 20... | java | chosen |
[
{
"from": "system",
"value": "Handle ActionBar possibly not existing.\n"
},
{
"from": "human",
"value": "package com.dglogik.mobile;\n\nimport android.app.ActivityManager;\nimport android.app.Service;\nimport android.app.*;\nimport android.graphics.*;\nimport android.graphics.drawable.*;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Use URLConnection.getContentLengthLong now that we don't support Java-6\n\nSigned-off-by: Peter Ansell <aaf1ec639befe0a570b950d5d6cbd0c6638a063e@yahoo.com>\n"
},
{
"from": "human",
"value": "package com.github.jsonldjava.utils;\n\nimport java.io.IOException;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Switch third party file name builder\n\nCloses #9 as a temp fix\n"
},
{
"from": "human",
"value": "package com.nincraft.modpackdownloader.container;\n\nimport org.json.simple.JSONObject;\n\npublic class ThirdPartyMod extends ModContainer {\n\n\tpublic ThirdPartyMod(... | java | chosen |
[
{
"from": "system",
"value": "Move algorithm types to static strings on top\n"
},
{
"from": "human",
"value": "package login;\n\nimport java.io.UnsupportedEncodingException;\nimport java.security.MessageDigest;\nimport java.security.NoSuchAlgorithmException;\n\npublic class PasswordHelper\n{\n\t... | java | chosen |
[
{
"from": "system",
"value": "Fix bug at fragment creation\n"
},
{
"from": "human",
"value": "package fr.masciulli.drinks.activity;\n\nimport android.os.Bundle;\nimport android.support.v4.app.FragmentActivity;\nimport android.view.MenuItem;\n\nimport fr.masciulli.drinks.R;\nimport fr.masciulli.d... | java | chosen |
[
{
"from": "system",
"value": "Add .dev to version name in about dialog\n"
},
{
"from": "human",
"value": "package fr.masciulli.drinks.fragment;\n\nimport android.app.AlertDialog;\nimport android.app.Dialog;\nimport android.content.pm.PackageInfo;\nimport android.content.pm.PackageManager;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Revert D8794819: [fabric][android] Initialize FabricXX C++ code and register rootview\n\nDifferential Revision:\nD8794819\n\nOriginal commit changeset: b4d1d0958a3f\n\nfbshipit-source-id: a984be9a31601644fb2d20a831f4e27075f24f7f\n"
},
{
"from": "human",
"value": "/*... | java | chosen |
[
{
"from": "system",
"value": "Remove override of 'createJSModules' for RN 0.47\n"
},
{
"from": "human",
"value": "\npackage fr.greweb.reactnativeviewshot;\n\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.List;\n\nimport com.facebook.react.ReactPackage;\nimport com.fac... | java | chosen |
[
{
"from": "system",
"value": "Add test for calculating sum of ages\n\nSigned-off-by: Dieter Scholz <2d66d24b3b7ab25e74eac42fe6f751014f0cf625@code2bytes.org>"
},
{
"from": "human",
"value": "package org.code2bytes.samples.lambda;\n\nimport static org.junit.Assert.assertEquals;\n\nimport java.util... | java | chosen |
[
{
"from": "system",
"value": "Set no-op entries as tombstones.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 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... | java | chosen |
[
{
"from": "system",
"value": "Fix username validation to allow periods and hyphens\n"
},
{
"from": "human",
"value": "package net.qldarch.service.rdf;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.util.regex.Pattern;\n\npublic class Validators {\n public static L... | java | chosen |
[
{
"from": "system",
"value": "Replace lambda in example with anonymous class to fix cobertura\n"
},
{
"from": "human",
"value": "package tdl.examples;\n\nimport tdl.client.Client;\n\n/**\n * Created by julianghionoiu on 11/06/2015.\n */\npublic class AddNumbers {\n\n public static void main(S... | java | chosen |
[
{
"from": "system",
"value": "Allow commands to throw AbortException to fail the build\n"
},
{
"from": "human",
"value": "package org.jenkinsci.plugins.dockerbuildstep.cmd;\n\nimport hudson.DescriptorExtensionList;\nimport hudson.ExtensionPoint;\nimport hudson.model.Describable;\nimport hudson.m... | java | chosen |
[
{
"from": "system",
"value": "Rename tests to better reflect field meaning\n"
},
{
"from": "human",
"value": "package de.innoaccel.wamp.server.converter;\n\nimport de.innoaccel.wamp.server.Websocket;\nimport de.innoaccel.wamp.server.message.Message;\nimport org.junit.Test;\n\nimport java.io.IOEx... | java | chosen |
[
{
"from": "system",
"value": "Update do using lambda expression\n"
},
{
"from": "human",
"value": "package me.eddiep.minecraft.ubotpatcher;\n\nimport org.bukkit.plugin.java.JavaPlugin;\n\nimport java.io.File;\nimport java.io.FileFilter;\nimport java.io.IOException;\nimport java.nio.file.CopyOpti... | java | chosen |
[
{
"from": "system",
"value": "Add setters for private fields and calculate method.\n"
},
{
"from": "human",
"value": "/**\n * @file IncomeCalculator.java\n * @author Valery Samovich\n * @version 1.0.0\n * @date 12/16/2014\n *\n * Using the Easymock and JUnit\n */\n\npackage com.valerysamovich.ja... | java | chosen |
[
{
"from": "system",
"value": "Add java 6 compatible generic declaration\n"
},
{
"from": "human",
"value": "package controllers;\n\nimport models.Panic;\nimport play.mvc.Controller;\nimport play.mvc.results.RenderJson;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class Applica... | java | chosen |
[
{
"from": "system",
"value": "Fix a few more lint issues\n"
},
{
"from": "human",
"value": "package org.gbif.nameparser.utils;\n\nimport java.util.concurrent.Executors;\nimport java.util.concurrent.ThreadFactory;\nimport java.util.concurrent.atomic.AtomicInteger;\n\n/**\n * Modified Executors De... | java | chosen |
[
{
"from": "system",
"value": "Change decreasing price start range\n\nCloses #115\n"
},
{
"from": "human",
"value": "package com.nincraft.ninbot.components.ac;\n\nimport lombok.Getter;\n\nimport java.util.Random;\n\n@Getter\npublic enum TurnipPattern {\n DECREASING, BIG_SPIKE(3, 100, 400, 1.5)... | java | chosen |
[
{
"from": "system",
"value": "Use new-new method with a better ratelimit\n"
},
{
"from": "human",
"value": "/**\n * Copyright © 2013 tuxed <write@imaginarycode.com>\n * This work is free. You can redistribute it and/or modify it under the\n * terms of the Do What The Fuck You Want To Public Lice... | java | chosen |
[
{
"from": "system",
"value": "Use Runtime retention policy because of multi module project\n"
},
{
"from": "human",
"value": "package com.jraska.github.client.dagger;\n\nimport javax.inject.Scope;\nimport java.lang.annotation.Retention;\n\nimport static java.lang.annotation.RetentionPolicy.SOURC... | java | chosen |
[
{
"from": "system",
"value": "TAPESTRY-1828: Convert uses of @InjectService to be @Inject plus a marker annotation\n\ngit-svn-id: d9b8539636d91aff9cd33ed5cd52a0cf73394897@589400 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "// Copyright 2007 The Apache Software Foundati... | java | chosen |
[
{
"from": "system",
"value": "Add a comment for log."
},
{
"from": "human",
"value": "package study.hard.javalib.file;\n\nimport java.io.File;\nimport java.io.IOException;\n\nimport org.junit.After;\nimport org.junit.Before;\nimport org.junit.Test;\n\npublic class FileTest {\n\n\tFileHandler fil... | java | chosen |
[
{
"from": "system",
"value": "ETROG-3513: Add DNN as new morphology model type\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2018 Basis Technology Corp.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the Lic... | java | chosen |
[
{
"from": "system",
"value": "Remove obsolete import and fix formatting in 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.sp... | java | chosen |
[
{
"from": "system",
"value": "Enable Spring Boot for this app\n"
},
{
"from": "human",
"value": "package co.uk.jiveelection.campaign;\n\nimport java.io.IOException;\n\nimport twitter4j.TwitterException;\nimport co.uk.jiveelection.campaign.twit.TwitHelper;\n\n/**\n * Main entry point for the Jive... | java | chosen |
[
{
"from": "system",
"value": "Make id member protected for consistency with other value objects.\n"
},
{
"from": "human",
"value": "package com.collective.celos;\n\n/**\n * Uniquely identifies a workflow.\n */\npublic class WorkflowID extends ValueObject {\n\n private final String id;\n \n... | java | chosen |
[
{
"from": "system",
"value": "Remove start main activity task from handler if back button is pressed during loading process.\n"
},
{
"from": "human",
"value": "package com.tuenti.tuentitv.ui.activity;\n\nimport android.content.Intent;\nimport android.os.Bundle;\nimport android.os.Handler;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Update testmod to use the new method"
},
{
"from": "human",
"value": "package info.u_team.u_team_test;\n\nimport org.apache.logging.log4j.*;\n\nimport info.u_team.u_team_core.construct.ConstructManager;\nimport info.u_team.u_team_core.integration.IntegrationManager;... | java | chosen |
[
{
"from": "system",
"value": "Refactor Vert.x 2 event loop context to store context upon construction in order to prevent issues with calling runOnContext from a non-context thread.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 the original author or authors.\n *\n * Licensed under th... | java | chosen |
[
{
"from": "system",
"value": "Add test for attempt.json fix.\n"
},
{
"from": "human",
"value": "package io.keen.client.java;\n\nimport org.junit.Before;\nimport org.junit.Test;\n\nimport static org.junit.Assert.assertEquals;\n\n\n/**\n * Tests AttemptCountingEventStore implementations.\n *\n * @... | java | chosen |
[
{
"from": "system",
"value": "SEC-1764: Remove use of Java 6 method Arrays.copyOfRange."
},
{
"from": "human",
"value": "package org.springframework.security.crypto.codec;\n\nimport java.nio.ByteBuffer;\nimport java.nio.CharBuffer;\nimport java.nio.charset.CharacterCodingException;\nimport java.... | java | chosen |
[
{
"from": "system",
"value": "Remove post start as TOSCA agreed to remove it.\n"
},
{
"from": "human",
"value": "package alien4cloud.paas.plan;\n\nimport static alien4cloud.paas.plan.ToscaNodeLifecycleConstants.*;\nimport static alien4cloud.paas.plan.ToscaRelationshipLifecycleConstants.*;\n\nimp... | java | chosen |
[
{
"from": "system",
"value": "Change desktop app resolution to 800x600"
},
{
"from": "human",
"value": "package com.leakedbits.codelabs;\r\n\r\nimport com.badlogic.gdx.backends.lwjgl.LwjglApplication;\r\nimport com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;\r\n\r\npublic class Ma... | java | chosen |
[
{
"from": "system",
"value": "Remove public modifier from Method getter.\n"
},
{
"from": "human",
"value": "package com.novoda.downloadmanager;\n\nimport java.util.Map;\n\nclass DownloadManagerRequest {\n\n private final Map<String, String> headers;\n private final String url;\n private... | java | chosen |
[
{
"from": "system",
"value": "Add GR register method commented out\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 Timothy Brooks\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 ob... | java | chosen |
[
{
"from": "system",
"value": "Disable History.back() upon auth errors"
},
{
"from": "human",
"value": "package org.jboss.as.console.client.rbac;\n\nimport com.google.gwt.user.client.History;\nimport com.google.web.bindery.event.shared.EventBus;\nimport com.gwtplatform.mvp.client.PopupView;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Add OPTIONS to hartbeat API\n"
},
{
"from": "human",
"value": "package org.jboss.aerogear.unifiedpush.rest;\n\nimport javax.servlet.http.HttpServletRequest;\nimport javax.ws.rs.GET;\nimport javax.ws.rs.Path;\nimport javax.ws.rs.Produces;\nimport javax.ws.rs.core.Con... | java | chosen |
[
{
"from": "system",
"value": "Replace Arabic char with Persian one"
},
{
"from": "human",
"value": "package com.hosseini.persian.dt.PersianDate.enumCollections;\n\n/**\n * Month name and month number\n */\npublic enum Months {\n\n /*\n * dont worry we just use values */\n Farvardin(\"فر... | java | chosen |
[
{
"from": "system",
"value": "Fix failing tests caused by invalid expiration date\n"
},
{
"from": "human",
"value": "package com.braintreepayments.api.test;\n\npublic class ExpirationDate {\n\n public static final String VALID_EXPIRATION = \"12/19\";\n}\n"
},
{
"from": "gpt",
"val... | java | chosen |
[
{
"from": "system",
"value": "Add delay to Baykok spawn and play sound"
},
{
"from": "human",
"value": "package totemic_commons.pokefenn.ceremony;\n\nimport net.minecraft.util.BlockPos;\nimport net.minecraft.util.EnumFacing;\nimport net.minecraft.world.World;\nimport totemic_commons.pokefenn.api... | java | chosen |
[
{
"from": "system",
"value": "Test for process name consisting of several words\n"
},
{
"from": "human",
"value": "/*\r\n * Copyright 2011 Mikhail Lopatkin\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the ... | java | chosen |
[
{
"from": "system",
"value": "Add the missing license header\n"
},
{
"from": "human",
"value": "package org.codehaus.groovy.util;\n\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.net.URL;\nimport java.net.URLConnection;\n\npublic class URLStreams {\n private URLStreams... | java | chosen |
[
{
"from": "system",
"value": "Fix Android compilation error with RN 0.47\n\nMethod createJSModules was removed from RN 0.47. Which leads to compilation error due to @override annotation. This method can be removed right now (https://github.com/facebook/react-native/issues/15232)"
},
{
"from": "human... | java | chosen |
[
{
"from": "system",
"value": "Remove trailing whitespace in line 31"
},
{
"from": "human",
"value": "package seedu.ezdo.model.task;\n\nimport static org.junit.Assert.assertFalse;\nimport static org.junit.Assert.assertTrue;\n\nimport org.junit.Test;\n\nimport seedu.ezdo.model.todo.StartDate;\n\np... | java | chosen |
[
{
"from": "system",
"value": "Remove waitAvailable from location result, update handling location message\n"
},
{
"from": "human",
"value": "package pl.edu.agh.amber.location;\n\nimport pl.edu.agh.amber.common.FutureObject;\n\npublic class LocationCurrent extends FutureObject {\n\n\tprivate doub... | java | chosen |
[
{
"from": "system",
"value": "Change Validation type to Filled\n\n[Filled is not a filled instanstance but should be](https://github.com/daniel-martins-IR/Blorm/blob/master/blormlib/src/main/java/br/com/bloder/blormlib/validation/Validations.java#L14), it currently is a validation, the type should be switch... | java | chosen |
[
{
"from": "system",
"value": "Simplify using Java 8 putIfAbsent\n"
},
{
"from": "human",
"value": "package com.janosgyerik.utils.algorithm.unionfind;\n\nimport org.assertj.core.util.VisibleForTesting;\n\nimport java.util.HashMap;\nimport java.util.Map;\n\npublic class UnionFindImpl implements Un... | java | chosen |
[
{
"from": "system",
"value": "Remove synchronization, it leads to deadlocks\n\nExample:\nThread A gets the lock in acquire(), does not hold the monitor anymore..\nThread B calls acquire() and waits for the lock (while holding the monitor)\nThead A wants to call release(), but cannot do that because thread B... | java | chosen |
[
{
"from": "system",
"value": "Use Timber's string format instead of concatenation\n"
},
{
"from": "human",
"value": "package com.tasomaniac.muzei.earthview.data.analytics;\n\nimport timber.log.Timber;\n\npublic interface Analytics {\n\n void sendScreenView(String screenName);\n\n void send... | java | chosen |
[
{
"from": "system",
"value": "Use Collections.singleton to create the Action\n"
},
{
"from": "human",
"value": "package hudson.plugins.copyProjectLink;\n\nimport hudson.Extension;\nimport hudson.model.TransientProjectActionFactory;\nimport hudson.model.AbstractProject;\n\nimport java.util.ArrayL... | java | chosen |
[
{
"from": "system",
"value": "Fix to ensure session is closed on QUIT command response\n"
},
{
"from": "human",
"value": "package org.subethamail.smtp.command;\n\nimport java.io.IOException;\n\nimport org.subethamail.smtp.server.BaseCommand;\nimport org.subethamail.smtp.server.ConnectionContext;... | java | chosen |
[
{
"from": "system",
"value": "Correct grammar of error message"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 Avanza Bank AB\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... | java | chosen |
[
{
"from": "system",
"value": "Fix crash on change orientation + back\n"
},
{
"from": "human",
"value": "package fr.masciulli.drinks.activity;\n\nimport android.os.Bundle;\nimport android.support.v4.app.FragmentActivity;\n\nimport fr.masciulli.drinks.R;\nimport fr.masciulli.drinks.fragment.Liquor... | java | chosen |
[
{
"from": "system",
"value": "Add ij_product flag to Builder for google_java_format plugin.\n\nMOE_MIGRATED_REVID=147038132\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file exc... | java | chosen |
[
{
"from": "system",
"value": "Add assertions to ensure only valid s3content ids can be created\n"
},
{
"from": "human",
"value": "package org.springframework.content.s3;\n\nimport java.io.Serializable;\n\npublic final class S3ContentId implements Serializable {\n private String bucket;\n p... | java | chosen |
[
{
"from": "system",
"value": "Fix for missing test dependency\n"
},
{
"from": "human",
"value": "package android.content;\n\npublic class Intent {\n\tpublic Intent setComponent(ComponentName name) {\n\t\treturn null;\n\t}\n\tpublic Intent putExtra(String name, String value) {\n\t\treturn null;\n... | java | chosen |
[
{
"from": "system",
"value": "FIX BUILD: Resolve subversion evil twin issue, File was not shown as modified however it had been. This file should have been commited as part of r4886 merge\n\ngit-svn-id: f26ccc5efe72c2bd8e1c40f599fe313f2692e4de@4888 a612230a-c5fa-0310-af8b-88eea846685b\n"
},
{
"from"... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.