conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Improve test coverage one last time"
},
{
"from": "human",
"value": "/*\n * Copyright © 2017 the original authors (http://cereebro.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with t... | java | chosen |
[
{
"from": "system",
"value": "Add serialization number to agent exception\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2002-2019 Barcelona Supercomputing Center (www.bsc.es)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except i... | java | chosen |
[
{
"from": "system",
"value": "Add logging when netty channels are closed due to inactivity.\n"
},
{
"from": "human",
"value": "/*\n * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0\n * (the \"License\"). You may not use this work except in compliance with th... | java | chosen |
[
{
"from": "system",
"value": "Set to InternalServerError the slip healthcheck\n"
},
{
"from": "human",
"value": "package com.ippon.jug.slip;\n\nimport org.springframework.http.HttpStatus;\nimport org.springframework.http.ResponseEntity;\nimport org.springframework.web.bind.annotation.RequestMapp... | java | chosen |
[
{
"from": "system",
"value": "Change of a method name\n"
},
{
"from": "human",
"value": "package org.terasology.logic.jedit;\n\nimport org.terasology.entitySystem.entity.EntityRef;\nimport org.terasology.entitySystem.event.ReceiveEvent;\nimport org.terasology.entitySystem.systems.BaseComponentSy... | java | chosen |
[
{
"from": "system",
"value": "Fix to ensure session is closed on QUIT command response\n\ngit-svn-id: 22ec8cfea0672d04b2346d96717164b900bedbad@212 d4f6eda6-38e6-11de-8fef-1f5ae417a2df\n"
},
{
"from": "human",
"value": "package org.subethamail.smtp.command;\n\nimport java.io.IOException;\n\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Write series summary in correct field.\n"
},
{
"from": "human",
"value": "package org.atlasapi.output.annotation;\n\nimport org.atlasapi.content.Content;\nimport org.atlasapi.content.Episode;\nimport org.atlasapi.output.FieldWriter;\nimport org.atlasapi.output.Outpu... | java | chosen |
[
{
"from": "system",
"value": "Change hunger values for toast AGAIN\n"
},
{
"from": "human",
"value": "package net.shadowfacts.foodies.item;\n\nimport cpw.mods.fml.common.registry.GameRegistry;\n\n/**\n * Helper class for registering items.\n * @author shadowfacts\n */\npublic class FItems {\n\t/... | java | chosen |
[
{
"from": "system",
"value": "Change from testing implementation to interface"
},
{
"from": "human",
"value": "package at.medunigraz.imi.abbres.model.mapper;\n\nimport java.util.Map;\nimport java.util.TreeMap;\n\nimport at.medunigraz.imi.abbres.model.NGramMap;\nimport junit.framework.TestCase;\n... | java | chosen |
[
{
"from": "system",
"value": "Fix Metadata serialization (serialize null values)\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2013-2020 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 complia... | java | chosen |
[
{
"from": "system",
"value": "Extend validation tests to check if static methods are allowed\n"
},
{
"from": "human",
"value": "package hu.elte.txtuml.examples.validation;\nimport hu.elte.txtuml.api.model.ModelClass;\nimport hu.elte.txtuml.api.model.Signal;\n\npublic class InvalidModifier extend... | java | chosen |
[
{
"from": "system",
"value": "Fix error on starting sample site"
},
{
"from": "human",
"value": "package io.sitoolkit.wt.gui.domain.sample;\r\n\r\nimport java.io.File;\r\n\r\nimport io.sitoolkit.util.buidtoolhelper.maven.MavenProject;\r\nimport io.sitoolkit.util.buidtoolhelper.process.ProcessCom... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Need a check for an emtpy hash\"\n\nThis reverts commit 07100389c363710260f4c0f5799da548672ad06a.\n"
},
{
"from": "human",
"value": "package ca.corefacility.bioinformatics.irida.model.sample;\n\nimport java.util.HashMap;\nimport java.util.Map;\n\nimport org... | java | chosen |
[
{
"from": "system",
"value": "Use conversion methods in utils class.\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2013 Conductor, 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... | java | chosen |
[
{
"from": "system",
"value": "Extend has fulltext to new scopes\n"
},
{
"from": "human",
"value": "package de.uni_tuebingen.ub.ixTheo.conditionalInsertField;\n\nimport java.io.IOException;\n\nimport org.apache.solr.common.SolrInputDocument;\nimport org.apache.solr.request.SolrQueryRequest;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Check if http entity is null and don't do anything if it is."
},
{
"from": "human",
"value": "package com.github.ignition.support.http.gzip;\n\nimport org.apache.http.Header;\nimport org.apache.http.HeaderElement;\nimport org.apache.http.HttpEntity;\nimport org.apac... | java | chosen |
[
{
"from": "system",
"value": "storage: Add alias for VariantAnnotation.geneCancerAssociations to handle property renaming\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015-2017 OpenCB\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": "Set executor container to 0.0.3\n"
},
{
"from": "human",
"value": "package org.apache.mesos.logstash.common;\n\npublic interface LogstashConstants {\n String FRAMEWORK_NAME = \"logstash\";\n int FAILOVER_TIMEOUT = 300000;\n String EXECUTOR_IMAGE_NAME = \"me... | java | chosen |
[
{
"from": "system",
"value": "Add required id field to Spring Data Neo4j test class\n\nFixes gh-28303\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2012-2020 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this f... | java | chosen |
[
{
"from": "system",
"value": "Create array with shorthand notation"
},
{
"from": "human",
"value": "package defaultPackage;\n\npublic class TryArrays {\n\n\tpublic static void main(String[] args) {\n\t\tint[] numbers = new int[5];\n\t\tdouble[] squares = new double[5];\n\t\tfor (int i = 0; i < n... | java | chosen |
[
{
"from": "system",
"value": "Handle Android RN 0.47 breaking change\n"
},
{
"from": "human",
"value": "package com.learnium.RNDeviceInfo;\n\nimport java.util.Arrays;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\n\nimport com.facebook.react.ReactPackage;\ni... | java | chosen |
[
{
"from": "system",
"value": "Use getResourceAsStream as getResource won't work\n"
},
{
"from": "human",
"value": "package com.github.atomfrede.jadenticon;\n\nimport org.apache.commons.io.FileUtils;\n\nimport javax.script.Invocable;\nimport javax.script.ScriptEngine;\nimport javax.script.ScriptE... | java | chosen |
[
{
"from": "system",
"value": "Implement in the entity type tags provider"
},
{
"from": "human",
"value": "package info.u_team.u_team_core.data;\n\nimport java.nio.file.Path;\n\nimport net.minecraft.entity.EntityType;\nimport net.minecraft.util.ResourceLocation;\nimport net.minecraft.util.registr... | java | chosen |
[
{
"from": "system",
"value": "fix: Select PreprocMessage first to reduce duplicated rows error\n"
},
{
"from": "human",
"value": "package org.bricolages.streaming.preproc;\nimport org.springframework.data.jpa.repository.JpaRepository;\nimport org.springframework.dao.DataIntegrityViolationExcepti... | java | chosen |
[
{
"from": "system",
"value": "Remove null checks for notification params\n"
},
{
"from": "human",
"value": "package name.snavrotskiy.ant.listener;\n\nimport com.google.common.base.Preconditions;\nimport org.jetbrains.annotations.NotNull;\n\nimport java.net.URL;\n\n/**\n * This code is distribute... | java | chosen |
[
{
"from": "system",
"value": "Rewrite list command for per server breakdown, and alphabetizing.\n"
},
{
"from": "human",
"value": "package net.md_5.bungee.command;\n\nimport java.util.Collection;\nimport net.md_5.bungee.api.ChatColor;\nimport net.md_5.bungee.api.CommandSender;\nimport net.md_5.b... | java | chosen |
[
{
"from": "system",
"value": "Add an explanation what this test does\n"
},
{
"from": "human",
"value": "package com.springapp.batch;\n\nimport com.springapp.batch.bo.Person;\nimport org.joda.time.DateTime;\nimport org.junit.Assert;\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Fix platform main needlessly extending gunsmith main\n"
},
{
"from": "human",
"value": "/*\n * The MIT License (MIT)\n *\n * Copyright (c) 2014 The Voxel Plugineering Team\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of th... | java | chosen |
[
{
"from": "system",
"value": "Use old Egl api to compatible 4.4\n"
},
{
"from": "human",
"value": "package com.chillingvan.canvasgl.glview.texture.gles;\n\nimport android.os.Build;\n\n/**\n * Created by Chilling on 2017/1/2.\n */\n\npublic class EglHelperFactory {\n\n public static IEglHelper... | java | chosen |
[
{
"from": "system",
"value": "Revert \"remove function for RN 0.47\"\n\nThis reverts commit cf19c41c9c6ae79c13e482d11fdba017aa735925.\n"
},
{
"from": "human",
"value": "package com.evollu.react.fa;\n\nimport com.facebook.react.ReactPackage;\nimport com.facebook.react.bridge.JavaScriptModule;\nim... | java | chosen |
[
{
"from": "system",
"value": "Modify a description of the parameters to function.\n\nChange-Id: Ic6d9354df8ec180da91fcf88df15f2e054a9be11\n"
},
{
"from": "human",
"value": "/**\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT... | java | chosen |
[
{
"from": "system",
"value": "Use null as indicator for unconditional action.\n\nSigned-off-by: Etienne M. Gagnon <bf06ec0eb40152cd863534753d026b021022c851@j-meg.com>\n"
},
{
"from": "human",
"value": "/* This file is part of SableCC ( http://sablecc.org ).\n *\n * See the NOTICE file distribute... | java | chosen |
[
{
"from": "system",
"value": "FIXED: Allow to save null as default-event (no event)\n"
},
{
"from": "human",
"value": "package ch.pantas.billsplitter.services;\n\nimport android.content.SharedPreferences;\n\nimport com.google.inject.Inject;\nimport com.google.inject.Singleton;\n\nimport static c... | java | chosen |
[
{
"from": "system",
"value": "Add asserts to test method."
},
{
"from": "human",
"value": "package com.ticketmanor.ui.jsf;\n\nimport static org.junit.Assert.*;\n\nimport java.time.LocalDateTime;\n\nimport org.junit.Before;\nimport org.junit.Test;\n\npublic class LocalDateTimeJsfConverterTest {\n... | java | chosen |
[
{
"from": "system",
"value": "Fix - removed private access modifier from Enum constructor\n\nIt is already private by spec.\n"
},
{
"from": "human",
"value": "package com.maxmind.geoip2.model;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.annotation.JsonV... | java | chosen |
[
{
"from": "system",
"value": "Test Map<String,List> as read only attribute\n"
},
{
"from": "human",
"value": "package uk.co.jemos.podam.test.dto.pdm45;\r\n\r\nimport java.util.List;\r\nimport java.util.Map;\r\n\r\n/**\r\n * Pojo with map of generic attributes.\r\n * \r\n * @author daivanov\r\n *... | java | chosen |
[
{
"from": "system",
"value": "Fix small bug in EvenOdd counter flowlet\n"
},
{
"from": "human",
"value": "package DependencyRandomNumber;\n\nimport com.continuuity.api.data.*;\nimport com.continuuity.api.flow.flowlet.*;\nimport com.continuuity.api.flow.flowlet.builders.*;\n\npublic class EvenOdd... | java | chosen |
[
{
"from": "system",
"value": "Use more generic name for enrollment attribute"
},
{
"from": "human",
"value": "/*\n * oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.\n *\n * Copyright (c) 2015, Gluu\n */\n\npackage org.xdi.oxauth.model.fido.... | java | chosen |
[
{
"from": "system",
"value": "Add drug names and responses to service\n"
},
{
"from": "human",
"value": "package org.pdxfinder.services;\n\nimport org.pdxfinder.repositories.TreatmentSummaryRepository;\nimport org.springframework.stereotype.Service;\n\n/*\n * Created by csaba on 29/03/2018.\n */... | java | chosen |
[
{
"from": "system",
"value": "fix(json): Remove class field from PluginContainer json serializer\n"
},
{
"from": "human",
"value": "package valandur.webapi.json.serializer.plugin;\n\nimport valandur.webapi.api.cache.plugin.ICachedPluginDependency;\nimport valandur.webapi.api.json.WebAPIBaseSeria... | java | chosen |
[
{
"from": "system",
"value": "Add setup method and change some javadocs\n\n"
},
{
"from": "human",
"value": "/**\n Copyright 2017 John Kester (Jack Kester)\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": "Improve schema version error message\n"
},
{
"from": "human",
"value": "package com.faforever.api.db;\n\nimport com.faforever.api.config.ApplicationProfile;\nimport com.faforever.api.config.FafApiProperties;\nimport org.springframework.context.annotation.Profile;\ni... | java | chosen |
[
{
"from": "system",
"value": "Fix tab-complete when having many arenas\n\n"
},
{
"from": "human",
"value": "package xyz.upperlevel.uppercore.arena.command;\n\nimport xyz.upperlevel.uppercore.arena.Arena;\nimport xyz.upperlevel.uppercore.arena.ArenaManager;\nimport xyz.upperlevel.uppercore.comman... | java | chosen |
[
{
"from": "system",
"value": "Transform into JUnit Jupiter test\n"
},
{
"from": "human",
"value": "package org.astro;\n\npublic class WorldTests {\n static {\n if (!World.PACKAGE_PRIVATE_FIELD.equals(\"World\")) throw new AssertionError(\")-:\");\n new test.base.Tester();\n }\n}\n"
},
... | java | chosen |
[
{
"from": "system",
"value": "Fix javadoc reference to ThrowsAdvice\n\nSee gh-27804\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2002-2012 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in comp... | java | chosen |
[
{
"from": "system",
"value": "Fix incorrect colour value in SUCCESS constant\n"
},
{
"from": "human",
"value": "package org.gwtbootstrap3.extras.toggleswitch.client.ui.base.constants;\n\n/*\n * #%L\n * GwtBootstrap3\n * %%\n * Copyright (C) 2013 - 2014 GwtBootstrap3\n * %%\n * Licensed under the... | java | chosen |
[
{
"from": "system",
"value": "Improve code quality.\nImplementet simple test\n"
},
{
"from": "human",
"value": "package net.tjololo.openshift.havoc.connector.kubernetes;\n\n/**\n * Created by veg on 19.12.2016.\n */\npublic class KubernetesDiscoveryTest {\n private KubernetesDiscovery kuberne... | java | chosen |
[
{
"from": "system",
"value": "Add concept of task assignment\n"
},
{
"from": "human",
"value": "package forager.events;\n\nimport java.io.IOException;\n\nimport galileo.event.Event;\nimport galileo.serialization.SerializationInputStream;\nimport galileo.serialization.SerializationOutputStream;\n... | java | chosen |
[
{
"from": "system",
"value": "Test generating a 503 status"
},
{
"from": "human",
"value": "package au.org.ands.vocabs.toolkit.restlet;\n\nimport javax.ws.rs.GET;\nimport javax.ws.rs.Path;\nimport javax.ws.rs.Produces;\nimport javax.ws.rs.core.MediaType;\n\n/** Testing restlet. */\n@Path(\"testi... | java | chosen |
[
{
"from": "system",
"value": "Fix hasNext method to only stop when play not have winned\n"
},
{
"from": "human",
"value": "package wumpus;\n\nimport java.util.ArrayList;\nimport java.util.Iterator;\nimport java.util.NoSuchElementException;\n\nimport wumpus.Environment.*;\n\n/**\n * The iteration... | java | chosen |
[
{
"from": "system",
"value": "Refactor: Add variables to express intent"
},
{
"from": "human",
"value": "package models;\nimport static org.junit.Assert.*;\n\nimport java.util.Calendar;\n\nimport org.junit.Before;\nimport org.junit.Test;\n\n\npublic class PersonModelTest {\n\tprivate Calendar no... | java | chosen |
[
{
"from": "system",
"value": "Fix crash when launched without arguments\n\n"
},
{
"from": "human",
"value": "package fr.mantal.wcdl;\n\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tDownloader.fromConfig(getPa... | java | chosen |
[
{
"from": "system",
"value": "Add experience drop to ores\n"
},
{
"from": "human",
"value": "package net.shadowfacts.zcraft.block;\n\nimport java.util.Random;\n\nimport net.minecraft.block.Block;\nimport net.minecraft.block.material.Material;\nimport net.shadowfacts.zcraft.item.ZItems;\n\npublic... | java | chosen |
[
{
"from": "system",
"value": "Set up a few items\n"
},
{
"from": "human",
"value": "package org.fountanio.juancode.out;\n\nimport java.awt.BorderLayout;\nimport java.awt.GridLayout;\n\nimport javax.swing.*;\nimport javax.swing.border.Border;\nimport java.awt.event.*;\n\npublic class IPWindow ext... | java | chosen |
[
{
"from": "system",
"value": "Fix import for external builds\n"
},
{
"from": "human",
"value": "package com.kickstarter.libs;\n\nimport com.kickstarter.viewmodels.DiscoveryViewModel;\nimport com.kickstarter.services.WebClient;\n\npublic class NoopBuildCheck implements BuildCheck {\n @Override\n... | java | chosen |
[
{
"from": "system",
"value": "Move javadoc after package to avoid warnings\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 a failure in test\n"
},
{
"from": "human",
"value": "package seedu.address.commons.core;\n\nimport org.junit.Rule;\nimport org.junit.Test;\nimport org.junit.rules.ExpectedException;\n\nimport static org.junit.Assert.assertEquals;\nimport static org.junit.Assert.... | java | chosen |
[
{
"from": "system",
"value": "Fix failing test due to change in taskmanager name\n"
},
{
"from": "human",
"value": "package seedu.manager.commons.core;\n\nimport org.junit.Rule;\nimport org.junit.Test;\nimport org.junit.rules.ExpectedException;\n\nimport seedu.manager.commons.core.Config;\n\nimp... | java | chosen |
[
{
"from": "system",
"value": "Remove spacing between static and non static variables"
},
{
"from": "human",
"value": "package vooga.request.forwarder;\n\n/**\n * An exception capturing when an invalid address has been used\n */\npublic class InvalidAddressException extends Exception {\n\n pri... | java | chosen |
[
{
"from": "system",
"value": "Fix 3rd pillar validation constraint\n"
},
{
"from": "human",
"value": "package ee.tuleva.onboarding.mandate;\n\nimport com.fasterxml.jackson.annotation.JsonIgnore;\nimport com.fasterxml.jackson.annotation.JsonView;\nimport lombok.*;\n\nimport javax.persistence.*;\n... | java | chosen |
[
{
"from": "system",
"value": "Add an example for Mapbox."
},
{
"from": "human",
"value": "package com.github.tdesjardins.ol3.demo.client.example;\n\n/**\n * Provided example types.\n *\n * @author Tino Desjardins\n *\n */\npublic enum OL3ExampleType {\n\n AnimationExample(new AnimationExample... | java | chosen |
[
{
"from": "system",
"value": "Remove setting user id and access token from response method in auth response handler\n"
},
{
"from": "human",
"value": "package com.simperium.client;\n\nimport com.simperium.util.AuthUtil;\n\nimport org.json.JSONException;\nimport org.json.JSONObject;\n\npublic cla... | java | chosen |
[
{
"from": "system",
"value": "Add a proper exception type for failed conversion\n"
},
{
"from": "human",
"value": "package icepick.annotation;\n\nimport javax.lang.model.element.Element;\nimport javax.lang.model.type.TypeMirror;\nimport javax.lang.model.util.Elements;\nimport javax.lang.model.ut... | java | chosen |
[
{
"from": "system",
"value": "Add properties to column DTO"
},
{
"from": "human",
"value": "/*\n * CODENVY CONFIDENTIAL\n * __________________\n *\n * [2013] - [2014] Codenvy, S.A.\n * All Rights Reserved.\n *\n * NOTICE: All information contained herein is, and remains\n * the property of Code... | java | chosen |
[
{
"from": "system",
"value": "Fix generics as a result of Java 7 upgrade\n"
},
{
"from": "human",
"value": "package io.mypojo.framework;\n\nimport io.mypojo.felix.framework.ServiceRegistry;\nimport io.mypojo.felix.framework.util.EventDispatcher;\nimport org.osgi.framework.Bundle;\nimport org.osg... | java | chosen |
[
{
"from": "system",
"value": "TAP5-1836: Add 0:0:0:0:0:0:0:1 as another recognized value for remoteHost meaning local\n\ngit-svn-id: d9b8539636d91aff9cd33ed5cd52a0cf73394897@1293000 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "// Copyright 2011 The Apache Software Foun... | java | chosen |
[
{
"from": "system",
"value": "Add generic Config type in Management Result\n"
},
{
"from": "human",
"value": "package org.fakekoji.jobmanager;\n\nimport org.fakekoji.jobmanager.model.JobUpdateResults;\n\nimport java.util.Objects;\n\npublic class ManagementResult {\n\n public final Object conf... | java | chosen |
[
{
"from": "system",
"value": "Allow NULL values for current_steps\n"
},
{
"from": "human",
"value": "package com.faforever.client.play;\n\nimport com.google.api.client.util.Key;\n\nimport java.util.Date;\n\npublic class PlayerAchievement {\n\n @Key(\"state\")\n private AchievementState state;\... | java | chosen |
[
{
"from": "system",
"value": "Make the pretoucher touch further ahead for long delays on new chunks.\n"
},
{
"from": "human",
"value": "package net.openhft.chronicle.queue;\n\nimport net.openhft.chronicle.core.threads.EventHandler;\nimport net.openhft.chronicle.core.threads.HandlerPriority;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Connect to localhost brick daemon.\n"
},
{
"from": "human",
"value": "package de.graeuler.garden.config;\r\n\r\nimport java.util.EnumMap;\r\n\r\npublic class StaticAppConfig implements AppConfig {\r\n\r\n\tprivate EnumMap<AppConfig.Key, Object> config = new EnumMap<... | java | chosen |
[
{
"from": "system",
"value": "Fix ordering of constructor arguments\n"
},
{
"from": "human",
"value": "// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\npackage com.yahoo.container.logging;\n\nimport com.google.inject.Inject;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Fix really broken destructible material test.\n"
},
{
"from": "human",
"value": "package com.elmakers.mine.bukkit.plugins.magic;\n\nimport java.util.Set;\n\nimport org.bukkit.Material;\nimport org.bukkit.block.Block;\n\nimport com.elmakers.mine.bukkit.utilities.borr... | java | chosen |
[
{
"from": "system",
"value": "Add setters for limited motor\n"
},
{
"from": "human",
"value": "package com.thegongoliers.output.motors;\n\nimport com.thegongoliers.annotations.Untested;\n\nimport java.util.function.BooleanSupplier;\n\n@Untested\npublic class LimiterMotorModule implements MotorMo... | java | chosen |
[
{
"from": "system",
"value": "Set working directory and command arguments\n"
},
{
"from": "human",
"value": "package codenizer.sonarqube.typescript;\n\npublic class AnalysisRunnerImpl implements AnalysisRunner { \n public AnalysisResult[] Execute(String projectRootDirectory) {\n Ana... | java | chosen |
[
{
"from": "system",
"value": "Correct return type of the methods\n\nOPEN - task 32: Add \"Create Item\" functionalities \nhttp://github.com/DevOpsDistilled/OpERP/issues/issue/32"
},
{
"from": "human",
"value": "package devopsdistilled.operp.server.data.repo.items;\n\nimport org.springframework.d... | java | chosen |
[
{
"from": "system",
"value": "Add some preconditions to check state of constructor arguments.\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.index.annotation.coterms;\n\n\nimport uk.ac.ebi.quickgo.index.annotation.Annotation;\n\nimport java.util.function.Predicate;\nimport org.spri... | java | chosen |
[
{
"from": "system",
"value": "Define frames per second in floating point.\n\n\ngit-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@1163 542714f4-19e9-0310-aa3c-eee0fc999fb1\n"
},
{
"from": "human",
"value": "//\n// $Id: ActionSequence.java,v 1.2 2001/11/27 08:09:34 mdb Exp $\n\npackage com.thre... | java | chosen |
[
{
"from": "system",
"value": "Rename changelog types and headers\n"
},
{
"from": "human",
"value": "/*\n * Axelor Business Solutions\n *\n * Copyright (C) 2005-2019 Axelor (<http://axelor.com>).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms ... | java | chosen |
[
{
"from": "system",
"value": "Print more statistics on exit\n"
},
{
"from": "human",
"value": "package cz.cuni.mff.d3s.spl.example.newton.checker;\n\nimport cz.cuni.mff.d3s.spl.core.data.SerieDataSource;\nimport cz.cuni.mff.d3s.spl.core.data.instrumentation.InstrumentingDataSource;\nimport cz.cu... | java | chosen |
[
{
"from": "system",
"value": "Add method to build URLs with context path.\n"
},
{
"from": "human",
"value": "package com.github.aureliano.verbum_domini.helper;\n\nimport org.apache.commons.lang.StringUtils;\n\npublic final class UrlHelper {\n\n\tprivate UrlHelper() {\n\t\tsuper();\n\t}\n\t\n\tpu... | java | chosen |
[
{
"from": "system",
"value": "Use dummy Message object to be compatible with new ApiDifference API\n"
},
{
"from": "human",
"value": "package net.sf.clirr.ant;\n\nimport junit.framework.TestCase;\nimport net.sf.clirr.event.ApiDifference;\nimport net.sf.clirr.event.Severity;\n\npublic class Chang... | java | chosen |
[
{
"from": "system",
"value": "Add the different segments that makes up crowdmap endit point as constants for easier maintenance\n"
},
{
"from": "human",
"value": "/*****************************************************************************\n ** Copyright (c) 2010 - 2012 Ushahidi Inc\n ** All r... | java | chosen |
[
{
"from": "system",
"value": "Test hooks/ dir pre-push hook works\n"
},
{
"from": "human",
"value": "package com.williamfiset.algorithms.graphtheory;\n\npublic class NewAlgorithm {\n\n public static void main(String[] args) {\n\n\n\n\n\n\n\n\n\n\n\n }\n}\n"
},
{
"f... | java | chosen |
[
{
"from": "system",
"value": "Use static methods for options\n"
},
{
"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 */\n\npackage ... | java | chosen |
[
{
"from": "system",
"value": "Fix constructor in LCCNNormalizationFilterFactory too\n"
},
{
"from": "human",
"value": "package edu.umich.lib.solr.analysis;\nimport java.util.Map;\nimport org.apache.lucene.analysis.util.TokenFilterFactory;\nimport org.apache.lucene.analysis.TokenStream;\n\npublic... | java | chosen |
[
{
"from": "system",
"value": "Add TODOs to date time request parameter\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Open mHealth\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 ... | java | chosen |
[
{
"from": "system",
"value": "Change handling session variables. When lookup fails, return null instead of throwing exception. It still logs an exception.\n\nsvn path=/webdsls/trunk/; revision=6029\n"
},
{
"from": "human",
"value": "package org.webdsl.lang;\n\nimport java.util.HashMap;\nimport j... | java | chosen |
[
{
"from": "system",
"value": "Update package info for `query` package\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017, TeamDev Ltd. All rights reserved.\n *\n * Redistribution and use in source and/or binary forms, with or without\n * modification, must retain the above copyright notice... | java | chosen |
[
{
"from": "system",
"value": "Remove explicit unboxing to primitive\n"
},
{
"from": "human",
"value": "/*\n * Licensed to Crate under one or more contributor license agreements.\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership. Crat... | java | chosen |
[
{
"from": "system",
"value": "Fix overlapping elements in groups\n"
},
{
"from": "human",
"value": "package me.coley.recaf.ui.component;\n\nimport java.awt.Component;\nimport java.awt.GridBagConstraints;\nimport java.awt.GridBagLayout;\nimport javax.swing.JPanel;\n\n/**\n * A group of radio-butt... | java | chosen |
[
{
"from": "system",
"value": "Add stub function for rotating"
},
{
"from": "human",
"value": "package org.usfirst.frc.team4761.robot.subsystems;\n\nimport edu.wpi.first.wpilibj.command.Subsystem;\n\n/**\n *\n */\npublic class Shooter extends Subsystem {\n \n // Put methods for controlling ... | java | chosen |
[
{
"from": "system",
"value": "Add shoot function to shooter (stub)"
},
{
"from": "human",
"value": "package org.usfirst.frc.team4761.robot.subsystems;\n\nimport edu.wpi.first.wpilibj.command.Subsystem;\n\n/**\n *\n */\npublic class Shooter extends Subsystem {\n \n // Put methods for contro... | java | chosen |
[
{
"from": "system",
"value": "Throw an exception on empty resource list"
},
{
"from": "human",
"value": "package de.fernunihagen.dna.jkn.scalephant.distribution.resource;\n\nimport java.util.ArrayList;\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Random;\n\nimport de.f... | java | chosen |
[
{
"from": "system",
"value": "Add scoreDirector benchmark in the app too\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 Red Hat, Inc. and/or its affiliates.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with... | java | chosen |
[
{
"from": "system",
"value": "Change root path from api to sakamichi46api/api."
},
{
"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.\... | java | chosen |
[
{
"from": "system",
"value": "Add new display-type for API 2.0\n"
},
{
"from": "human",
"value": "package weiboclient4j.oauth2;\n\n/**\n * @author Hover Ruan\n */\npublic enum DisplayType {\n\n Default(\"default\"),\n\n Mobile(\"mobile\"),\n\n Popup(\"popup\"),\n\n Wap12(\"wap1.2\"),... | java | chosen |
[
{
"from": "system",
"value": "Use getApplication() to access the Application instance\n"
},
{
"from": "human",
"value": "package fi.reaktor.android.rssreader;\n\nimport android.app.Activity;\n\nimport fi.reaktor.android.rssreader.app.RssReaderApplication;\n\npublic abstract class RssReaderBaseAc... | java | chosen |
[
{
"from": "system",
"value": "Improve check in method \"on\"\n"
},
{
"from": "human",
"value": "package org.bouncycastle.asn1;\n\npublic class ASN1ObjectIdentifier\n extends DERObjectIdentifier\n{\n public ASN1ObjectIdentifier(String identifier)\n {\n super(identifier);\n }\n\... | java | chosen |
[
{
"from": "system",
"value": "Add back logging for production debug\n"
},
{
"from": "human",
"value": "package com.psidox.saddlewoof.web.rest;\n\nimport javax.ws.rs.container.ContainerRequestContext;\nimport javax.ws.rs.container.ContainerRequestFilter;\nimport javax.ws.rs.container.PreMatching;... | java | chosen |
[
{
"from": "system",
"value": "Add data base root commands\n"
},
{
"from": "human",
"value": "/**\n * Created by Eduardo veras on 19-Jun-16.\n * Edited by Siclait on 19-Juu-16\n */\n\nimport Entity.*;\nimport Service.*;\n\nimport java.util.List;\n\npublic class DatabaseManager {\n\n // Singlet... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.