conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Fix GUI main frame instantiation.\n"
},
{
"from": "human",
"value": "package com.github.aureliano.edocs.app;\n\nimport javax.swing.SwingUtilities;\n\nimport com.github.aureliano.edocs.app.gui.AppFrame;\n\npublic class EdocsApp {\n\n\tprivate static EdocsApp instance... | java | chosen |
[
{
"from": "system",
"value": "Bump the Version we use to create/open indexes\n\nLucene 4.8 adds checksums and Lucene 4.9 adds 'SortedNumeric'. The\nformer is immediately useful, the latter only with a code change to\nuse that new type, but we might as well update to the latest here.\n"
},
{
"from": ... | java | chosen |
[
{
"from": "system",
"value": "Remove spacing between static and non static variables"
},
{
"from": "human",
"value": "package vooga.request.forwarder;\n\nimport vooga.request.receiver.IReceiver;\n\n/**\n * An exception capturing when an address conflicts with a pre-existing address\n */\npublic ... | java | chosen |
[
{
"from": "system",
"value": "Fix wrong scaling of lessons in module detail view\n"
},
{
"from": "human",
"value": "package org.pma.nutrifami.activity;\n\nimport android.os.Bundle;\nimport android.support.v4.app.FragmentActivity;\nimport android.support.v4.view.PagerAdapter;\nimport android.supp... | java | chosen |
[
{
"from": "system",
"value": "Rename for a better term\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Ryan Gilera.\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 copy of... | java | chosen |
[
{
"from": "system",
"value": "Use \"link\" to reference enum literal, fixing javadoc issue."
},
{
"from": "human",
"value": "/*******************************************************************************\n * Copyright (c) 2018 Red Hat Inc and others.\n * All rights reserved. This program and t... | java | chosen |
[
{
"from": "system",
"value": "Add converters from DateTime to Epoch double dates\n"
},
{
"from": "human",
"value": "package io.spacedog.utils;\n\nimport org.joda.time.DateTimeZone;\n\npublic class DateTimeZones {\n\tpublic final static DateTimeZone PARIS = DateTimeZone.forID(\"Europe/Paris\");\n... | java | chosen |
[
{
"from": "system",
"value": "Rename the interface to isCold()\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2015 Netflix, 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... | java | chosen |
[
{
"from": "system",
"value": "Add integrator reset to Surfacetension bench\n"
},
{
"from": "human",
"value": "package etomica.simulation;\n\nimport etomica.data.meter.MeterPressureTensor;\nimport etomica.space3d.Space3D;\nimport etomica.surfacetension.LJMC;\nimport org.openjdk.jmh.annotations.*;... | java | chosen |
[
{
"from": "system",
"value": "Set \"new Scanner()\" to \"f\" :pencil2:"
},
{
"from": "human",
"value": "import java.io.File;\n\npublic class Wift {\n \n /** \n * Wift - The BASIC Programming Language\n * \n * BASIC FUNCTIONALITY:\n * - STRINGS []\n * - ... | java | chosen |
[
{
"from": "system",
"value": "Fix the problem where blocks' local frames aren't discarded when they are used\n"
},
{
"from": "human",
"value": "package net.zero918nobita.Xemime;\n\nimport java.util.ArrayList;\nimport java.util.HashMap;\n\n/**\n * ブロック\n * Common Lisp の progn のようにブロック自体が戻り値を持つ\n ... | java | chosen |
[
{
"from": "system",
"value": "Add parsing function for log levels.\n"
},
{
"from": "human",
"value": "package org.metaborg.util.log;\n\npublic enum Level {\n Trace, Debug, Info, Warn, Error\n}\n"
},
{
"from": "gpt",
"value": "package org.metaborg.util.log;\n\npublic enum Level {\n... | java | chosen |
[
{
"from": "system",
"value": "Change hbm2dll property = update after creating schema"
},
{
"from": "human",
"value": "package devopsdistilled.operp.server;\n\nimport org.springframework.context.ApplicationContext;\nimport org.springframework.context.annotation.AnnotationConfigApplicationContext;... | java | chosen |
[
{
"from": "system",
"value": "Revert removal of @Plugin in test\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional information regarding... | java | chosen |
[
{
"from": "system",
"value": "Update min amount for incoming payments\n"
},
{
"from": "human",
"value": "package ee.tuleva.onboarding.notification.payment;\n\nimport com.fasterxml.jackson.databind.PropertyNamingStrategy.SnakeCaseStrategy;\nimport com.fasterxml.jackson.databind.annotation.JsonNam... | java | chosen |
[
{
"from": "system",
"value": "Add recursive logging of causes for the bus error handler.\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 LICENSE file for details.\n... | java | chosen |
[
{
"from": "system",
"value": "Change timer test so that we can reproduce the random issue. Change\ntimings."
},
{
"from": "human",
"value": "package competitive.programming.timemanagement;\r\n\r\nimport static org.junit.Assert.assertTrue;\r\nimport static org.junit.Assert.fail;\r\n\r\nimport org... | java | chosen |
[
{
"from": "system",
"value": "Test equals overridden on NamedVehicleMessage.\n"
},
{
"from": "human",
"value": "package com.openxc.messages;\n\nimport java.util.HashMap;\n\nimport junit.framework.TestCase;\nimport org.junit.Test;\nimport org.junit.Before;\nimport org.junit.runner.RunWith;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Update saveStateIsNeeded parameters in viewDoneCommand\n"
},
{
"from": "human",
"value": "package seedu.taskitty.logic.commands;\n\nimport java.util.Set;\n\n/**\n * Finds and lists all tasks in task manager whose name contains any of the argument keywords.\n * Keywo... | java | chosen |
[
{
"from": "system",
"value": "Add two new constructor to renderable string.\n\nSigned-off-by: Clement Escoffier <6397137e57d1f87002962a37058f2a1c76fca9db@gmail.com>\n"
},
{
"from": "human",
"value": "package org.ow2.chameleon.wisdom.api.bodies;\n\nimport com.fasterxml.jackson.core.JsonProcessing... | java | chosen |
[
{
"from": "system",
"value": "Use '-' in cache name as separator between plugin name and cache name\n\nIn other places we already use '-' as separator in names that include\nthe plugin name, e.g. for capabilities that are defined by a plugin.\nTo be consistent the cache name should use the same separator. '... | java | chosen |
[
{
"from": "system",
"value": "Rename method to inject step mother\n"
},
{
"from": "human",
"value": "package cuke4duke.internal.jvmclass;\n\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport com.google.inject.Guice;\nimport com.google... | java | chosen |
[
{
"from": "system",
"value": "Update copyright notice to reference Curator\n"
},
{
"from": "human",
"value": "/**\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional informat... | java | chosen |
[
{
"from": "system",
"value": "Align Debug output with Coderay to verify test suite\n"
},
{
"from": "human",
"value": "package org.forge.text.syntax.encoder;\n\nimport java.io.OutputStream;\n\nimport org.forge.text.syntax.Encoder;\nimport org.forge.text.syntax.Theme;\nimport org.forge.text.syntax... | java | chosen |
[
{
"from": "system",
"value": "Add an endpoint to query the Spark user\n"
},
{
"from": "human",
"value": "package com.laschuet.spark.rest.sample;\n\nimport javax.servlet.ServletContext;\nimport javax.ws.rs.core.Context;\nimport javax.ws.rs.core.MediaType;\nimport javax.ws.rs.GET;\nimport javax.ws... | java | chosen |
[
{
"from": "system",
"value": "Add another greeting to the initial data.\n"
},
{
"from": "human",
"value": "package hello.config.data;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.context.A... | java | chosen |
[
{
"from": "system",
"value": "Update mocked date to 8/31\n"
},
{
"from": "human",
"value": "package com.gaiagps.iburn;\n\nimport java.util.Calendar;\nimport java.util.Date;\nimport java.util.GregorianCalendar;\n\n/**\n * Created by davidbrodsky on 7/8/15.\n */\npublic class CurrentDateProvider {... | java | chosen |
[
{
"from": "system",
"value": "Fix test bug (merged from r1484180).\n\n\ngit-svn-id: 13f9c63152c129021c7e766f4ef575faaaa595a2@1484183 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "package org.apache.lucene.util;\n\n/*\n * Licensed to the Apache Software Foundation (ASF) ... | java | chosen |
[
{
"from": "system",
"value": "Disable XXE vulnerability unit test for BEA StAX driver."
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2011, 2015 XStream Committers.\n * All rights reserved.\n *\n * The software in this package is published under the terms of the BSD\n * style license a co... | java | chosen |
[
{
"from": "system",
"value": "Use toolkit to get modifier for duplicate shortcut."
},
{
"from": "human",
"value": "package com.jvms.i18neditor;\n\nimport javax.swing.JMenuItem;\nimport javax.swing.KeyStroke;\n\nimport com.jvms.i18neditor.util.MessageBundle;\n\n/**\n * This class represents a men... | java | chosen |
[
{
"from": "system",
"value": "Add new banner pattern: GLOBE\n"
},
{
"from": "human",
"value": "package com.laytonsmith.abstraction.enums;\n\nimport com.laytonsmith.annotations.MEnum;\n\n@MEnum(\"com.commandhelper.PatternShape\")\npublic enum MCPatternShape {\n\tBASE,\n\tBORDER,\n\tBRICKS,\n\tCIR... | java | chosen |
[
{
"from": "system",
"value": "Add tests for main page about and contact buttons\n"
},
{
"from": "human",
"value": "package com.cwainner.chris.recipecentral;\n\nimport android.os.Build;\nimport android.widget.TextView;\n\nimport org.junit.Before;\nimport org.junit.Test;\nimport org.junit.runner.R... | java | chosen |
[
{
"from": "system",
"value": "Improve default notification for supporting I1820 notifications.\n"
},
{
"from": "human",
"value": "package ir.ac.aut.ceit.aolab.jlamp.rpi.model;\n\nimport ir.ac.aut.ceit.aolab.lamp_notification;\nimport org.kaaproject.kaa.client.notification.NotificationListener;\n... | java | chosen |
[
{
"from": "system",
"value": "Add connection details as environment variables\n"
},
{
"from": "human",
"value": "package com.emc.ecs.serviceBroker.config;\n\nimport java.net.URL;\n\nimport org.cloudfoundry.community.servicebroker.model.BrokerApiVersion;\nimport org.springframework.context.annota... | java | chosen |
[
{
"from": "system",
"value": "Add model specific find method\n"
},
{
"from": "human",
"value": "package org.pdxfinder.repositories;\n\nimport org.pdxfinder.dao.Specimen;\nimport org.springframework.data.neo4j.annotation.Query;\nimport org.springframework.data.neo4j.repository.Neo4jRepository;\ni... | java | chosen |
[
{
"from": "system",
"value": "Change format of Instant to allow full represent\n"
},
{
"from": "human",
"value": "package co.phoenixlab.discord.util.adapters;\n\nimport com.google.gson.TypeAdapter;\nimport com.google.gson.stream.JsonReader;\nimport com.google.gson.stream.JsonToken;\nimport com.g... | java | chosen |
[
{
"from": "system",
"value": "Support enum based properties type.\n"
},
{
"from": "human",
"value": "package com.tinkerpop.frames.annotations;\n\nimport com.tinkerpop.blueprints.Direction;\nimport com.tinkerpop.blueprints.Edge;\nimport com.tinkerpop.blueprints.Element;\nimport com.tinkerpop.blue... | java | chosen |
[
{
"from": "system",
"value": "[Bug] Fix NPE when using BorderTreeNodeDecorator\n"
},
{
"from": "human",
"value": "package hu.webarticum.treeprinter;\n\npublic abstract class AbstractTreeNode implements TreeNode {\n\n @Override\n public TreeNode getOriginalNode() {\n return this;\n ... | java | chosen |
[
{
"from": "system",
"value": "Add test coverage for invalid regex\n"
},
{
"from": "human",
"value": "package com.hubspot.jinjava.lib.filter;\n\nimport static org.assertj.core.api.Assertions.assertThat;\n\nimport org.junit.Before;\nimport org.junit.Test;\n\nimport com.hubspot.jinjava.Jinjava;\nim... | java | chosen |
[
{
"from": "system",
"value": "Fix spawn painting packet reading"
},
{
"from": "human",
"value": "package protocolsupport.protocol.transformer.middlepacket.clientbound.play;\n\nimport java.io.IOException;\n\nimport net.minecraft.server.v1_9_R1.BlockPosition;\nimport protocolsupport.protocol.Packe... | java | chosen |
[
{
"from": "system",
"value": "Fix violations checking:\n* Redundant 'final' modifier\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) VSPLF Software Foundation (VSF), the origin author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not us... | java | chosen |
[
{
"from": "system",
"value": "[ALIEN-2755] Allow specific handling of docker image artifact update in the editor, util fix.\n"
},
{
"from": "human",
"value": "package org.alien4cloud.tosca.utils;\n\nimport org.alien4cloud.tosca.model.definitions.ImplementationArtifact;\nimport org.alien4cloud.to... | java | chosen |
[
{
"from": "system",
"value": "Make Immutables type Jackson-serializable by default\n"
},
{
"from": "human",
"value": "package com.bbn.bue.common;\n\nimport com.google.common.annotations.Beta;\n\nimport org.immutables.value.Value;\n\nimport java.lang.annotation.ElementType;\nimport java.lang.anno... | java | chosen |
[
{
"from": "system",
"value": "Disable async sending in Activmq\n\nUnfortunately enabling async sending needs more work - registration\nfails using this setting"
},
{
"from": "human",
"value": "package won.protocol.jms;\n\nimport javax.jms.ConnectionFactory;\n\nimport org.apache.camel.component.j... | java | chosen |
[
{
"from": "system",
"value": "Fix SequenceLabelLearner to ensure it sets the preprocessors\n"
},
{
"from": "human",
"value": "package com.davidbracewell.apollo.ml.sequence;\n\nimport com.davidbracewell.apollo.ml.Learner;\nimport com.davidbracewell.apollo.ml.data.Dataset;\nimport lombok.Getter;\n... | java | chosen |
[
{
"from": "system",
"value": "Simplify the code: while sorting the ends are placed before the starts\n"
},
{
"from": "human",
"value": "\nimport java.util.Comparator;\nimport java.util.LinkedList;\nimport java.util.List;\n\npublic class CallAggregator {\n\n private static class CallPart {\n ... | java | chosen |
[
{
"from": "system",
"value": "Add bit more out in test\n"
},
{
"from": "human",
"value": "package org.ethereum.solidity;\n\nimport org.ethereum.solidity.compiler.CompilationResult;\nimport org.ethereum.solidity.compiler.SolidityCompiler;\nimport org.junit.Ignore;\nimport org.junit.Test;\n\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Fix bug when \"Show New Instances\" action is enabled, but tracker is not ready\n"
},
{
"from": "human",
"value": "package org.jetbrains.debugger.memory.action;\n\nimport com.intellij.openapi.actionSystem.AnActionEvent;\nimport com.intellij.openapi.project.Project;\... | java | chosen |
[
{
"from": "system",
"value": "Remove unused Javadoc block comment\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain ... | java | chosen |
[
{
"from": "system",
"value": "Move TODO to Vespa 8\n"
},
{
"from": "human",
"value": "// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n// TODO: Remove this package on Vespa 7\n@ExportPackage\npackage com.yahoo.vespaxmlparser;... | java | chosen |
[
{
"from": "system",
"value": "Fix endpoints to reflect their correct per-region values.\n"
},
{
"from": "human",
"value": "// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n... | java | chosen |
[
{
"from": "system",
"value": "Improve Javadoc for Eclipse nonnull annotation package\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Jan Ouwens\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.\... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Removed alphas and betas, moved to MILPProblemWithConnections\"\n\nThis reverts commit 7a1bbba1b9a52e6bae8e99b85f2e0e0653a2d866.\n"
},
{
"from": "human",
"value": "package memap.messages.planning;\n\nimport com.google.gson.Gson;\n\nimport akka.basicMessages... | java | chosen |
[
{
"from": "system",
"value": "Fix bug where default constructor wasn't public\n"
},
{
"from": "human",
"value": "package com.cloudant.sync.datastore;\n\nimport java.util.HashMap;\nimport java.util.Map;\n\n/**\n * Created by tomblench on 06/08/2014.\n */\npublic class MutableDocumentRevision impl... | java | chosen |
[
{
"from": "system",
"value": "Add open session in view filter support to tests\n\n\ngit-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@38 0d517254-b314-0410-acde-c619094fa49f\n"
},
{
"from": "human",
"value": "package edu.northwestern.bioinformatics.studycalendar.testing;\n\nimport edu.nwu.bio... | java | chosen |
[
{
"from": "system",
"value": "Validate plugins with 'check' task\n\nConvention over configuration\n"
},
{
"from": "human",
"value": "package org.shipkit.internal.gradle.plugin;\n\nimport org.gradle.api.Plugin;\nimport org.gradle.api.Project;\nimport org.shipkit.gradle.plugin.PluginValidatorTask;... | java | chosen |
[
{
"from": "system",
"value": "Update Jaeger reporter to use logger\n\nUpdate Jaeger reporter to use proper log instead of println statement\n"
},
{
"from": "human",
"value": "package io.quarkus.jaeger.runtime.graal;\n\nimport com.oracle.svm.core.annotate.Substitute;\nimport com.oracle.svm.core.a... | java | chosen |
[
{
"from": "system",
"value": "Add get e set em categoria - Informatica"
},
{
"from": "human",
"value": "/*\r\n * To change this template, choose Tools | Templates\r\n * and open the template in the editor.\r\n */\r\npackage br.com.fasam.projetoexemplo.entidades;\r\n\r\n/**\r\n *\r\n * @author Al... | java | chosen |
[
{
"from": "system",
"value": "Remove line that does not compile\n\ngit-svn-id: 03a8048b5ee8463be5048a3801110fb50f378627@7511 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd\n"
},
{
"from": "human",
"value": "/*\n * Arthur Edelstein, UCSF, 2011\n */\n\npackage org.micromanager.clojureeditor;\n\nimport org.m... | java | chosen |
[
{
"from": "system",
"value": "Improve sidebar a bit - remove long class names from navigation\n\ngit-svn-id: e2c3038d01fb1e63d9a6e7e9a258c7088cd26e08@1160300 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "package org.apache.karaf.webconsole.core.internal;\n\nimport org.a... | java | chosen |
[
{
"from": "system",
"value": "Improve performance of the URLFallbackClassLoader. Non-scientific stopwatch tests showed a >10% speed increase, translating to a whopping seven seconds off when analysing rt.jar.\n\ngit-svn-id: ed609ce04ec9e3c0bc25e071e87814dd6d976548@103 c7a0535c-eda6-11de-83d8-6d5adf01d787\n"... | java | chosen |
[
{
"from": "system",
"value": "Fix container item crafting in crafting station\n"
},
{
"from": "human",
"value": "package net.mcft.copy.betterstorage.api.crafting;\n\nimport net.minecraft.item.Item;\nimport net.minecraft.item.ItemStack;\n\npublic abstract class RecipeInputBase implements IRecipeI... | java | chosen |
[
{
"from": "system",
"value": "Check if a number is power of 2\n"
},
{
"from": "human",
"value": "package com.sunny.grokkingalgorithms.fasttrack;\n\n/**\n * Created by sundas on 6/17/2018.\n */\npublic class Poweroftwo {\n\n public static void main(String[] args) {\n\n int a = 3;\n while(a... | java | chosen |
[
{
"from": "system",
"value": "Fix spalsh time and start loginActivity\n"
},
{
"from": "human",
"value": "package io.github.silencio_app.silencio;\n\nimport android.content.Intent;\nimport android.graphics.Typeface;\nimport android.os.Bundle;\nimport android.os.Handler;\nimport android.support.v7... | java | chosen |
[
{
"from": "system",
"value": "Use java.io.tmpdir instead of hardcoded /tmp\n"
},
{
"from": "human",
"value": "//\n// Licensed to the Apache Software Foundation (ASF) under one\n// or more contributor license agreements. See the NOTICE file\n// distributed with this work for additional informati... | java | chosen |
[
{
"from": "system",
"value": "Fix bug on Sonar lastUpdate (remove year in format)\n"
},
{
"from": "human",
"value": "/**\n * Created by Yannick Lacaute on 17/05/17.\n * Copyright 2015-2016 the original author or authors.\n * <p>\n * Licensed under the Apache License, Version 2.0 (the \"License\"... | java | chosen |
[
{
"from": "system",
"value": "CONNECT MPI Adapter - DB implementation - reverted: implemented MPI DB Checks; no longer needed\n"
},
{
"from": "human",
"value": "/*\n * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.\n * \n * Copyright 2010(Year date of delivery) United States Governmen... | java | chosen |
[
{
"from": "system",
"value": "codegen: Fix minor formatting issues with new views\n"
},
{
"from": "human",
"value": "package com.speedment.common.codegen.internal.java.view.value;\n\nimport com.speedment.common.codegen.Generator;\nimport com.speedment.common.codegen.Transform;\nimport com.speedm... | java | chosen |
[
{
"from": "system",
"value": "Fix inability dynamically install Pipeline\n"
},
{
"from": "human",
"value": "package jenkins.advancedqueue;\n\n\nimport hudson.model.Job;\nimport hudson.model.Queue;\nimport jenkins.advancedqueue.sorter.ItemInfo;\nimport jenkins.advancedqueue.sorter.QueueItemCache;... | java | chosen |
[
{
"from": "system",
"value": "Add user variables to bot game playing status\n\n"
},
{
"from": "human",
"value": "package com.avairebot.orion.scheduler;\n\nimport com.avairebot.orion.Orion;\nimport com.avairebot.orion.contracts.scheduler.Job;\nimport net.dv8tion.jda.core.entities.Game;\n\npublic ... | java | chosen |
[
{
"from": "system",
"value": "Refactor entity effect undo control\n"
},
{
"from": "human",
"value": "package com.elmakers.mine.bukkit.api.block;\n\nimport java.util.List;\n\nimport com.elmakers.mine.bukkit.api.entity.EntityData;\nimport org.bukkit.Location;\nimport org.bukkit.block.Block;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "[Fix] Fix EventWeather not triggering properly\n\n"
},
{
"from": "human",
"value": "package me.deftware.mixin.mixins;\n\nimport me.deftware.client.framework.event.events.EventWeather;\nimport net.minecraft.client.render.Camera;\nimport net.minecraft.client.render.Wo... | java | chosen |
[
{
"from": "system",
"value": "Create new instances of strings, and truncate length of message contents\n\nThis should drastically reduce memory consumption.\n\nThe new strings need to be created because the groups matched from regexps are\njust pointers into the original string, meaning we left the whole ol... | java | chosen |
[
{
"from": "system",
"value": "Change MIME-type for JSON-LD graph query responses\n\n- Addresses EBISPOT/lodestar#25 upstream and HHS/meshrdf#91 downstream\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.fgpt.lode.utils;\n\n/**\n * @author Simon Jupp\n * @date 21/02/2013\n * Functional Genom... | java | chosen |
[
{
"from": "system",
"value": "Fix packages in sample app\n"
},
{
"from": "human",
"value": "package ${packageName};\n\nimport org.springframework.bootstrap.SpringApplication;\nimport org.springframework.autoconfigure.EnableAutoConfiguration;\nimport org.springframework.context.annotation.Compone... | java | chosen |
[
{
"from": "system",
"value": "Add check if string is at EOF\n"
},
{
"from": "human",
"value": "package com.swandiggy.poe4j.data.readers.value;\n\nimport com.swandiggy.poe4j.data.DatFileReader;\nimport org.springframework.stereotype.Service;\n\n/**\n * Read a string value. Reads an int pointer in... | java | chosen |
[
{
"from": "system",
"value": "Fix twitch api call for boxart\n"
},
{
"from": "human",
"value": "package com.nincraft.ninbot.components.twitch;\n\nimport com.github.twitch4j.helix.TwitchHelix;\nimport lombok.extern.log4j.Log4j2;\nimport lombok.val;\nimport org.springframework.stereotype.Component... | java | chosen |
[
{
"from": "system",
"value": "Add missing key to retryPlugin apis\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2010-2013 Ning, Inc.\n * Copyright 2014 Groupon, Inc\n * Copyright 2014 The Billing Project, LLC\n *\n * The Billing Project licenses this file to you under the Apache License, v... | java | chosen |
[
{
"from": "system",
"value": "Fix return type of insertion sort\n"
},
{
"from": "human",
"value": "public class InsertionSort {\n public static int[] sort(int[] array) {\n for (int i = 1; i < array.length; i++) {\n int item = array[i];\n int indexHole = i;\n ... | java | chosen |
[
{
"from": "system",
"value": "Fix CLOUDSTACK-2520: Invoke parent constructor to set result state to\ndefault true to avoid attachVolume error."
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the N... | java | chosen |
[
{
"from": "system",
"value": "[core] ENHANCE: Add UserInputSource as a InputProviderSource\n"
},
{
"from": "human",
"value": "package org.museautomation.core.task.input;\n\nimport org.museautomation.core.task.state.*;\n\n/**\n * @author Christopher L Merrill (see LICENSE.txt for license details)... | java | chosen |
[
{
"from": "system",
"value": "Order based on name used in assurance case\n"
},
{
"from": "human",
"value": "package com.rockwellcollins.atc.resolute.analysis.execution;\n\nimport java.util.Comparator;\n\nimport org.osate.aadl2.NamedElement;\n\npublic class NamedElementComparator implements Compa... | java | chosen |
[
{
"from": "system",
"value": "Remove setAccess from TE Strongboxes\n\nsetAccess can be used on TE Strongboxes to unlock someone else's chest, and then steal their items."
},
{
"from": "human",
"value": "package openperipheral.integration.thermalexpansion;\n\nimport java.util.Locale;\n\nimport op... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Added a proper welcome message\"\n\nThis reverts commit 507fe8ba38124c71b2c4c4dfe38c5b2679891d17.\n"
},
{
"from": "human",
"value": "package com.twu.biblioteca;\n\npublic class BibliotecaApp {\n\n public BibliotecaApp() {\n System.out.println(welc... | java | chosen |
[
{
"from": "system",
"value": "Add enum value `start` used for files with pending multipart upload.\n"
},
{
"from": "human",
"value": "package synapticloop.b2;\n\n/*\n * Copyright (c) 2016 synapticloop.\n * \n * All rights reserved.\n * \n * This code may contain contributions from other parties ... | java | chosen |
[
{
"from": "system",
"value": "Update SkyApplication to SkyMain in the hello_android example\n"
},
{
"from": "human",
"value": "// Copyright 2016 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\... | java | chosen |
[
{
"from": "system",
"value": "Set validTo on Entitlement Restriction and calculated new directivestatus\n"
},
{
"from": "human",
"value": "package uk.gov.dvla.domain;\n\nimport com.google.code.morphia.annotations.Embedded;\n\nimport java.lang.String;\nimport java.util.Date;\n\n@Embedded\npublic ... | java | chosen |
[
{
"from": "system",
"value": "Fix state in chain decorator\n"
},
{
"from": "human",
"value": "package com.stanfy.images.decorator;\n\nimport android.graphics.Bitmap;\nimport android.graphics.Canvas;\n\n/**\n * Chain of decorators.\n * @author Roman Mazur (Stanfy - http://www.stanfy.com)\n */\npu... | java | chosen |
[
{
"from": "system",
"value": "Update WebsocketHandler and WebsocketSession behavior\n"
},
{
"from": "human",
"value": "package io.scalecube.gateway.websocket;\n\nimport io.scalecube.gateway.clientsdk.ClientMessage;\nimport io.scalecube.gateway.clientsdk.ClientSettings;\nimport io.scalecube.gatew... | java | chosen |
[
{
"from": "system",
"value": "Use getNow() in GenericFutureListener. operationComplete instead of get()\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2015 AsyncHttpClient Project. All rights reserved.\n *\n * This program is licensed to you under the Apache License Version 2.0,\n * and... | java | chosen |
[
{
"from": "system",
"value": "Fix skipping of TCK tests when boltkit unavailable\n\nIt failed because thrown exception was from JUnit 5. This commit\nchanges the exception to be from JUnit 4 API.\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2002-2018 \"Neo4j,\"\n * Neo4j Sweden AB [ht... | java | chosen |
[
{
"from": "system",
"value": "Add missing Apache license header.\n"
},
{
"from": "human",
"value": "package org.apache.logging.log4j.core.net;\n\nimport static org.junit.jupiter.api.Assertions.assertEquals;\n\nimport org.junit.jupiter.api.Test;\n\n/**\n * Unit tests for {@link SmtpManager}.\n */... | java | chosen |
[
{
"from": "system",
"value": "Decrease Shooter Speed For Autonomous\n"
},
{
"from": "human",
"value": "/*\n * To change this template, choose Tools | Templates\n * and open the template in the editor.\n */\npackage edu.wpi.first.wpilibj.technobots.commands;\n\nimport edu.wpi.first.wpilibj.comman... | java | chosen |
[
{
"from": "system",
"value": "Fix type at color variable\n"
},
{
"from": "human",
"value": "package com.nulabinc.backlog4j.api.option;\n\nimport com.nulabinc.backlog4j.http.NameValuePair;\n\n/**\n * Parameters for update status API.\n *\n * @author nulab-inc\n */\npublic class UpdateStatusParams... | java | chosen |
[
{
"from": "system",
"value": "Fix previous commit (disabled some tests)\n"
},
{
"from": "human",
"value": "package alien4cloud.it;\n\nimport org.junit.Ignore;\nimport org.junit.runner.RunWith;\n\nimport cucumber.api.CucumberOptions;\nimport cucumber.api.junit.Cucumber;\n\n@RunWith(Cucumber.class... | java | chosen |
[
{
"from": "system",
"value": "Add new legal person types.\n"
},
{
"from": "human",
"value": "/**\n * Copyright © 2015 MicroWorld (contact@microworld.org)\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.... | java | chosen |
[
{
"from": "system",
"value": "Use a less common port\n"
},
{
"from": "human",
"value": "package com.smartbear.ready.jenkins.sample;\n\nimport org.junit.Test;\n\nimport java.io.IOException;\n\nimport static org.hamcrest.core.Is.is;\nimport static org.junit.Assert.assertThat;\n\npublic class Spoti... | java | chosen |
[
{
"from": "system",
"value": "Add Memtable Read Tier to RocksJava\n\nSummary:\nThis options was introduced in the C++ API in #1953 .\nCloses https://github.com/facebook/rocksdb/pull/3064\n\nDifferential Revision: D6139010\n\nPulled By: sagar0\n\nfbshipit-source-id: 164de11d539d174cf3afe7cd40e667049f44b0bc\n... | java | chosen |
[
{
"from": "system",
"value": "Fix variable store breaking crash\n"
},
{
"from": "human",
"value": "package org.cyclops.integrateddynamics.network;\n\nimport org.cyclops.cyclopscore.datastructure.DimPos;\nimport org.cyclops.integrateddynamics.api.network.IPartNetwork;\nimport org.cyclops.integrat... | java | chosen |
[
{
"from": "system",
"value": "Add tests for RecommendedCourses and Dismiss course\n\n"
},
{
"from": "human",
"value": "package at.ac.tuwien.inso.integration_tests;\n\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.springframework.boot.test.autoconfigure.web.servlet.AutoConf... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.