conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Use Correct Process Name for Swimming pool example\n"
},
{
"from": "human",
"value": "package swimmingpool.service;\n\nimport org.chtijbug.drools.platform.runtime.servlet.DroolsPlatformKnowledgeBaseJavaEE;\nimport org.chtijbug.drools.runtime.DroolsChtijbugException;... | java | chosen |
[
{
"from": "system",
"value": "Include retrieval of username information\n"
},
{
"from": "human",
"value": "package com.github.jmchilton.blend4j.galaxy.beans;\n\nimport org.codehaus.jackson.annotate.JsonProperty;\n\npublic class User extends GalaxyObject {\n private String email;\n\n public Str... | java | chosen |
[
{
"from": "system",
"value": "Fix id tags and svn:keywords for optimization package.\n\ngit-svn-id: 80d496c472b8b763a5e941dba212da9bf48aeceb@1364392 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n... | java | chosen |
[
{
"from": "system",
"value": "Print a list of aliases, if any exist.\n\n\ngit-svn-id: fcb33a7ee5ec38b96370833547f088a4e742b712@921 c76caeb1-94fd-44dd-870f-0c9d92034fc1\n"
},
{
"from": "human",
"value": "import java.util.*;\nimport org.xbill.DNS.*;\n\npublic class lookup {\n\npublic static void\n... | java | chosen |
[
{
"from": "system",
"value": "Check if there is an exported activity for the intent\n"
},
{
"from": "human",
"value": "package de.danoeh.antennapod.core.util;\n\nimport android.content.Context;\nimport android.content.Intent;\nimport android.content.pm.PackageManager;\nimport android.content.pm.... | java | chosen |
[
{
"from": "system",
"value": "Make the tractor beam louder\n"
},
{
"from": "human",
"value": "package uk.co.alynn.games.ld30;\n\nimport java.util.HashMap;\nimport java.util.Map;\n\nimport com.badlogic.gdx.Gdx;\nimport com.badlogic.gdx.audio.Sound;\n\npublic class AudioEngine {\n private final... | java | chosen |
[
{
"from": "system",
"value": "Add name to differentiate R and RW on quads/datatset."
},
{
"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 i... | java | chosen |
[
{
"from": "system",
"value": "Remove reference to long deprecated Service interface.\n\n\ngit-svn-id: 88158f914d5603334254b4adf21dfd50ec107162@107893 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) The Apache Software Foundation. All rights reserved.\... | java | chosen |
[
{
"from": "system",
"value": "Add checkType that takes an error code\n"
},
{
"from": "human",
"value": "/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n ... | java | chosen |
[
{
"from": "system",
"value": "Remove getSortedAlgorithmList method add sort to getAlgorithmList\n"
},
{
"from": "human",
"value": "package com.chaoticdawgsoftware.algorithms.providerutils;\n\nimport java.security.Provider;\nimport java.security.Security;\nimport java.util.*;\n\n/**\n * ProviderA... | java | chosen |
[
{
"from": "system",
"value": "Add support for a setup phase which is not recorded.\n"
},
{
"from": "human",
"value": "package net.openhft.chronicle.wire;\n\nimport org.junit.Test;\n\nimport java.io.IOException;\n\nimport static org.junit.Assert.assertEquals;\n\n/**\n * Created by peter on 17/05/... | java | chosen |
[
{
"from": "system",
"value": "Handle no currency properly, as well as multiple currency\n"
},
{
"from": "human",
"value": "/**\n * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies\n *\n * Please see distribution for license.\n */\npackage com.opengamma.financia... | java | chosen |
[
{
"from": "system",
"value": "Enable to specify a string for the trigger label as a substring of the node label.\nFor example a node label with \"WinXP Acceptance London\" and 'Restricted node Label = London'\n"
},
{
"from": "human",
"value": "package org.jvnet.hudson.plugins.triggers.startup;\n... | java | chosen |
[
{
"from": "system",
"value": "Revert to using the base postgres driver in tests\n"
},
{
"from": "human",
"value": "package org.realityforge.jeo.geolatte.jpa.eclipselink;\n\nimport java.util.Properties;\nimport javax.persistence.EntityManager;\nimport javax.persistence.EntityManagerFactory;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Initialize depends set to an empty set to prevent a NPE when no depends given.\n"
},
{
"from": "human",
"value": "package net.md_5.bungee.api.plugin;\n\nimport java.util.Set;\nimport lombok.AllArgsConstructor;\nimport lombok.Data;\n\n/**\n * POJO representing the pl... | java | chosen |
[
{
"from": "system",
"value": "Add facility constructor to function type\n"
},
{
"from": "human",
"value": "package com.davidmogar.njc.ast.types;\n\nimport com.davidmogar.njc.ast.AbstractAstNode;\n\nimport java.util.List;\n\npublic class FunctionType extends AbstractAstNode implements Type {\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Remove unnecessary constructor\n쓰이지 않는 생성자\n"
},
{
"from": "human",
"value": "package cloud.swiftnode.kspam.util;\n\nimport java.net.MalformedURLException;\nimport java.net.URL;\nimport java.text.MessageFormat;\n\n/**\n * Created by EntryPoint on 2017-01-05.\n */\np... | java | chosen |
[
{
"from": "system",
"value": "Make the GSample field protected for use by sub classes\n"
},
{
"from": "human",
"value": "package ganglia;\n\nimport ganglia.gmetric.GMetricSlope;\nimport ganglia.gmetric.GMetricType;\n\nimport java.lang.management.ManagementFactory;\nimport java.util.HashMap;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Raise the number of iterations in empty session benchmarks\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 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... | java | chosen |
[
{
"from": "system",
"value": "Add some more unconsequential files\n"
},
{
"from": "human",
"value": "package net.srcdemo.userfs;\n\nimport java.io.File;\n\nfinal class UnconsequentialFiles {\n\tprivate static final String[] unconsequential = { \"Thumbs.db\", \".DS_STORE\" };\n\n\tstatic final bo... | java | chosen |
[
{
"from": "system",
"value": "Clean moe_db.txt with direct equivalence mapping for the version 2.6 of Java Agent.\n\nObtained via note_equivalence.\n-------------\nCreated by MOE: https://github.com/google/moe\nMOE_MIGRATED_REVID=126011210\n"
},
{
"from": "human",
"value": "/**\n * Defines the k... | java | chosen |
[
{
"from": "system",
"value": "Fix visibility in head look packet.\n"
},
{
"from": "human",
"value": "package org.spacehq.mc.protocol.packet.ingame.server.entity;\n\nimport org.spacehq.packetlib.io.NetInput;\nimport org.spacehq.packetlib.io.NetOutput;\nimport org.spacehq.packetlib.packet.Packet;\... | java | chosen |
[
{
"from": "system",
"value": "Disable PWMs when robot is disabled\n"
},
{
"from": "human",
"value": "package edu.wpi.first.wpilibj;\n\npublic class PWMObserver {\n\tprivate int channel;\n\tprivate boolean inverted = false;\n\tpublic PWMObserver(int channel) {\n\t\tthis.channel = channel;\n\t}\n\... | java | chosen |
[
{
"from": "system",
"value": "Change for remove stocks with abnormal change due to splits etc (I288).\n"
},
{
"from": "human",
"value": "package roart.iclij.verifyprofit;\n\nimport static org.junit.jupiter.api.Assertions.assertEquals;\n\nimport java.time.LocalDate;\nimport java.util.List;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Change github url in WebView\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2015 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License. Y... | java | chosen |
[
{
"from": "system",
"value": "Update archetype to use Game.Default.\n"
},
{
"from": "human",
"value": "#set( $symbol_pound = '#' )\n#set( $symbol_dollar = '$' )\n#set( $symbol_escape = '\\' )\npackage ${package}.core;\n\nimport static playn.core.PlayN.*;\n\nimport playn.core.Game;\nimport playn.... | java | chosen |
[
{
"from": "system",
"value": "Convert pauses longer than 1000 millis into secs\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2011-2012 eBusiness Information, Groupe Excilys (www.excilys.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this... | java | chosen |
[
{
"from": "system",
"value": "Move Alert into events package\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Red Hat, Inc. and/or its affiliates\n * and other contributors as indicated by the @author tags.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you... | java | chosen |
[
{
"from": "system",
"value": "Add support for html content\n"
},
{
"from": "human",
"value": "// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.vespa.hosted.controller.api.integration.organization;\n\nimport com.google.com... | java | chosen |
[
{
"from": "system",
"value": "Update to newest snapshot, including a few changes stemming from this.\n"
},
{
"from": "human",
"value": "package dk.statsbiblioteket.medieplatform.newspaper.statistics;\n\nimport java.util.Arrays;\nimport java.util.List;\nimport java.util.Properties;\n\nimport dk.s... | java | chosen |
[
{
"from": "system",
"value": "Fix builder method name for MetricsCollector\n"
},
{
"from": "human",
"value": "package io.rtr.conduit.amqp.impl;\n\nimport com.rabbitmq.client.MetricsCollector;\nimport io.rtr.conduit.amqp.AMQPConsumerCallback;\n\npublic class AMQPSyncConsumerBuilder extends AMQPCo... | java | chosen |
[
{
"from": "system",
"value": "Update Laser Pistol for 1.7.10\n"
},
{
"from": "human",
"value": "package net.shadowfacts.zcraft.item.tool;\n\nimport net.minecraft.entity.player.EntityPlayer;\nimport net.minecraft.item.Item;\nimport net.minecraft.item.ItemStack;\nimport net.minecraft.world.World;\... | java | chosen |
[
{
"from": "system",
"value": "Fix issue pipe covered recipes using wool are not displayed in JEI\n"
},
{
"from": "human",
"value": "package jp.crafterkina.pipes.plugin.jei.crafting;\n\nimport mezz.jei.api.recipe.IRecipeHandler;\nimport mezz.jei.api.recipe.IRecipeWrapper;\nimport mezz.jei.api.rec... | java | chosen |
[
{
"from": "system",
"value": "Leverage convenience method of Optional object\n"
},
{
"from": "human",
"value": "package org.dotwebstack.framework;\n\nimport java.util.Objects;\nimport java.util.Optional;\nimport org.eclipse.rdf4j.model.IRI;\n\nclass InformationProduct {\n\n private IRI identifi... | java | chosen |
[
{
"from": "system",
"value": "Replace custom long type comparing with native\n"
},
{
"from": "human",
"value": "package com.tomclaw.cache;\n\nimport java.util.Comparator;\n\nclass RecordComparator implements Comparator<Record> {\n\n @Override\n public int compare(Record record1, Record rec... | java | chosen |
[
{
"from": "system",
"value": "Test the HttpRequestHelper by loading a google search URL instead of Yahoo. Yahoo recently changed something that broke this.\n"
},
{
"from": "human",
"value": "package edu.pdx.cs410J.web;\n\nimport org.junit.Test;\n\nimport java.io.IOException;\nimport java.net.Htt... | java | chosen |
[
{
"from": "system",
"value": "Add enabled flag as courtesy\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2013-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.\... | java | chosen |
[
{
"from": "system",
"value": "Write in terms of test operation\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": "Add asBuffer() for converting a DataTester to a byte buffer"
},
{
"from": "human",
"value": "package se.fnord.katydid;\n\nimport se.fnord.katydid.internal.TestingContext;\n\nimport java.nio.ByteBuffer;\n\npublic class DataAsserts {\n\n\tpublic static void assertNext... | java | chosen |
[
{
"from": "system",
"value": "Add join date when persist\n\nOPEN - task 88: Create HR module \nhttp://github.com/DevOpsDistilled/OpERP/issues/issue/88"
},
{
"from": "human",
"value": "package devopsdistilled.operp.server.data.service.employee.impl;\n\nimport javax.inject.Inject;\n\nimport org.sp... | java | chosen |
[
{
"from": "system",
"value": "Fix broken test.. was testing the old way of validation of the reconsent command.\n\ngit-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@1321 0d517254-b314-0410-acde-c619094fa49f\n"
},
{
"from": "human",
"value": "package edu.northwestern.bioinformatics.studycalend... | java | chosen |
[
{
"from": "system",
"value": "Add TODO to later add keyword campaign input settings.\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": "Change confirmation of execution code..\n"
},
{
"from": "human",
"value": "package jp.ne.naokiur.design.pattern.memento;\n\npublic class App {\n\n public static void main(String[] args) {\n CanvasVersionManagement management = new CanvasVersionManagement()... | java | chosen |
[
{
"from": "system",
"value": "Add header comment for class and change isMutating to true\n"
},
{
"from": "human",
"value": "package seedu.address.logic.commands;\n\nimport javafx.collections.ObservableList;\nimport seedu.address.commons.exceptions.InvalidUndoCommandException;\nimport seedu.addre... | java | chosen |
[
{
"from": "system",
"value": "Use correct HELP_ID for Canvas Template Manager Dialog\n\n* HELP_ID was incorrect\n"
},
{
"from": "human",
"value": "/*******************************************************************************\r\n * Copyright (c) 2010 Bolton University, UK.\r\n * All rights res... | java | chosen |
[
{
"from": "system",
"value": "Change return type to correct value.\n"
},
{
"from": "human",
"value": "package powerups;\n\nimport models.Club;\n\nimport javax.xml.transform.Result;\nimport java.io.Serializable;\n\npublic abstract class Powerup implements Serializable {\n\n Club club;\n\n p... | java | chosen |
[
{
"from": "system",
"value": "[PLAT-1734] Check for a null calc config and fail gracefully\n"
},
{
"from": "human",
"value": "/**\n * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies\n * \n * Please see distribution for license.\n */\npackage com.opengamma.fina... | java | chosen |
[
{
"from": "system",
"value": "Remove injected dependency to avoid conflict with setup controller\n"
},
{
"from": "human",
"value": "package controllers;\n\nimport common.contexts.ProjectContext;\nimport play.inject.Injector;\nimport play.libs.F;\nimport play.mvc.Controller;\nimport play.mvc.Resu... | java | chosen |
[
{
"from": "system",
"value": "Remove @Component for optional encoder\n\nInstantiation is optional as to avoid introducing a hard dependency on spring-security."
},
{
"from": "human",
"value": "package org.jasig.cas.authentication.handler;\n\nimport org.springframework.stereotype.Component;\n\nim... | java | chosen |
[
{
"from": "system",
"value": "Add real code to demo\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017 michael-simons.eu.\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... | java | chosen |
[
{
"from": "system",
"value": "Add new agent to node-repository client\n"
},
{
"from": "human",
"value": "// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.vespa.hosted.controller.api.integration.noderepositor... | java | chosen |
[
{
"from": "system",
"value": "public: Make code class sort oder deterministic\n"
},
{
"from": "human",
"value": "package ch.difty.scipamato.public_.persistence.codeclass;\n\nimport static ch.difty.scipamato.public_.db.tables.CodeClass.CODE_CLASS;\n\nimport java.util.List;\n\nimport org.jooq.DSLC... | java | chosen |
[
{
"from": "system",
"value": "Fix language revert after boot (Language)\n"
},
{
"from": "human",
"value": "package net.somethingdreadful.MAL;\n\nimport org.holoeverywhere.ThemeManager;\nimport org.holoeverywhere.app.Application;\n\npublic class Theme extends Application {\n static {\n ... | java | chosen |
[
{
"from": "system",
"value": "Add convenience method for shorter code\n"
},
{
"from": "human",
"value": "package net.engin33r.luaspigot.lua;\n\nimport org.luaj.vm2.LuaValue;\n\n/**\n * Abstract class defining a linked field - technically a table field in Lua\n * that updates every time it's quer... | java | chosen |
[
{
"from": "system",
"value": "Use DecimalFormat to replace DecimalFormat because of DecimalFormat will add a comma in formatted result when value greater than 1000.\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor licens... | java | chosen |
[
{
"from": "system",
"value": "Fix for NPE when entity hasn't got an owner\n"
},
{
"from": "human",
"value": "package com.bls.dao;\n\nimport javax.validation.ValidationException;\n\nimport com.bls.core.poi.Poi;\nimport com.bls.core.user.User;\nimport com.google.common.base.Optional;\n\npublic int... | java | chosen |
[
{
"from": "system",
"value": "Add missing ui configuration on sample project\n"
},
{
"from": "human",
"value": "package io.rapidpro.sdk.sample;\n\nimport io.rapidpro.sdk.FcmClient;\nimport io.rapidpro.sdk.UiConfiguration;\nimport io.rapidpro.sdk.sample.services.PushRegistrationService;\n\n/**\n ... | java | chosen |
[
{
"from": "system",
"value": "Add errors for firmware upload states\n"
},
{
"from": "human",
"value": "package com.punchthrough.bean.sdk.message;\n\n/**\n * Represents an error returned by the Bean.\n */\npublic enum BeanError {\n /**\n * Timed out while waiting for state to update during... | java | chosen |
[
{
"from": "system",
"value": "Use _ for private methods.\n"
},
{
"from": "human",
"value": "package edu.kit.iks.Cryptographics;\n\nimport edu.kit.iks.CryptograhicsLib.AbstractController;\n\npublic class StartController extends AbstractController {\n\tprivate void loadAllVisualizationInfos() {\n\... | java | chosen |
[
{
"from": "system",
"value": "SB-748: Fix the issues reported from Sonar.\n"
},
{
"from": "human",
"value": "package org.carlspring.strongbox.cron.context;\n\nimport org.carlspring.strongbox.config.WebConfig;\nimport org.carlspring.strongbox.cron.config.CronTasksConfig;\n\nimport java.lang.annot... | java | chosen |
[
{
"from": "system",
"value": "Change parameter order to match other GobjPresenters\n"
},
{
"from": "human",
"value": "package ge.edu.freeuni.sdp.arkanoid.presenter;\n\nimport ge.edu.freeuni.sdp.arkanoid.model.Beam;\nimport ge.edu.freeuni.sdp.arkanoid.model.BrickColor;\nimport ge.edu.freeuni.sdp.... | java | chosen |
[
{
"from": "system",
"value": "Increase durability of cardboard items\n"
},
{
"from": "human",
"value": "package net.mcft.copy.betterstorage.item.cardboard;\n\nimport net.mcft.copy.betterstorage.item.ItemBetterStorage;\nimport net.minecraft.item.EnumArmorMaterial;\nimport net.minecraft.item.EnumT... | java | chosen |
[
{
"from": "system",
"value": "Make sure the files are loaded correctly\n\ngit-svn-id: 6e5f6f61bd1b925b71fe8065f445f9178a317ca5@350 7701cf9b-ed3c-0410-a7c3-1ff289697e89\n"
},
{
"from": "human",
"value": "package com.crawljax.util;\n\nimport static org.junit.Assert.assertEquals;\n\nimport java.io.... | java | chosen |
[
{
"from": "system",
"value": "Change url and param name\n"
},
{
"from": "human",
"value": "package org.pdxfinder.admin.controllers;\n\nimport org.pdxfinder.admin.pojos.MappingContainer;\nimport org.pdxfinder.services.MappingService;\nimport org.springframework.beans.factory.annotation.Autowired;... | java | chosen |
[
{
"from": "system",
"value": "Add convenience test for running against a filesystem codebase.\n\ngit-svn-id: ed609ce04ec9e3c0bc25e071e87814dd6d976548@417 c7a0535c-eda6-11de-83d8-6d5adf01d787\n"
},
{
"from": "human",
"value": "/*\n * Mutability Detector\n *\n * Licensed under the Apache License, ... | java | chosen |
[
{
"from": "system",
"value": "Remove redundant service declaration in exeengine services\n"
},
{
"from": "human",
"value": "package org.gemoc.gemoc_language_workbench.api.core;\n\nimport java.util.Set;\n\nimport org.gemoc.execution.engine.trace.gemoc_execution_trace.LogicalStep;\nimport org.gemo... | java | chosen |
[
{
"from": "system",
"value": "Create new methods to get specific string\n"
},
{
"from": "human",
"value": "/**\n * SMTI06, 54411850, M Haidar Hanif\n * Task Five: Automated Teller Machine\n * Auteline | Simple ATM simulator with basic features\n */\n\n// Screen.java\n// Represents the screen of ... | java | chosen |
[
{
"from": "system",
"value": "Add guava to yang-parser-spi requirements\n\nThis is just another edit, we really need to do an audit.\n\nChange-Id: I27dcc75d07d38d9c7e94c70d4cdfeb6d954b4c48\nSigned-off-by: Robert Varga <91ae5aa8c7a9f7e57b701db766e23e544aaa6ae9@pantheon.tech>\n"
},
{
"from": "human",
... | java | chosen |
[
{
"from": "system",
"value": "Change from using UtilsFX to BotTab for static variables\n"
},
{
"from": "human",
"value": "package net.hexid.jfx;\n\nimport javafx.event.ActionEvent;\nimport javafx.event.EventHandler;\nimport javafx.scene.control.Label;\nimport javafx.scene.control.TextField;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Add more fields to the migration panel\n"
},
{
"from": "human",
"value": "package annis.gui.admin.reflinks;\n\nimport com.vaadin.ui.FormLayout;\nimport com.vaadin.ui.Panel;\nimport com.vaadin.ui.TextField;\n\npublic class MigrationPanel extends Panel {\n\n /**\n ... | java | chosen |
[
{
"from": "system",
"value": "Make Help command more fancy\n"
},
{
"from": "human",
"value": "package com.nincraft.ninbot.command;\n\nimport com.nincraft.ninbot.command.util.CommandParser;\nimport com.nincraft.ninbot.util.MessageUtils;\nimport lombok.val;\nimport net.dv8tion.jda.core.events.mess... | java | chosen |
[
{
"from": "system",
"value": "Add methods to write the transformed bytecode to a file\n"
},
{
"from": "human",
"value": "package org.k13n.swtstubber.util;\n\nimport java.io.ByteArrayOutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\n\npublic class FileUtil {\n\n public sta... | java | chosen |
[
{
"from": "system",
"value": "Transform null values to empty string\n"
},
{
"from": "human",
"value": "package org.limeprotocol.util;\n\nimport java.util.LinkedHashMap;\nimport java.util.Map;\n\npublic class StringUtils {\n\n public static boolean isNullOrEmpty(String string){\n return... | java | chosen |
[
{
"from": "system",
"value": "Change initialize in onCreate to Coherence\n"
},
{
"from": "human",
"value": "package com.pqbyte.coherence;\n\nimport android.os.Bundle;\n\nimport com.badlogic.gdx.backends.android.AndroidApplication;\nimport com.badlogic.gdx.backends.android.AndroidApplicationConfi... | java | chosen |
[
{
"from": "system",
"value": "Check VCAP info as soon as possible\n"
},
{
"from": "human",
"value": "/*\n# Licensed Materials - Property of IBM\n# Copyright IBM Corp. 2016, 2017 \n */\npackage com.ibm.streamsx.topology.internal.context.remote;\n\nimport static com.ibm.streamsx.topology.internal... | java | chosen |
[
{
"from": "system",
"value": "Move the privacy config portlet to the Configuration section\n"
},
{
"from": "human",
"value": "package it.smc.liferay.privacy.web.application.list;\n\nimport org.osgi.service.component.annotations.Component;\nimport org.osgi.service.component.annotations.Reference;... | java | chosen |
[
{
"from": "system",
"value": "CB-14466: Remove the obsoleted DATAHUB/DATALAKE enum values\n"
},
{
"from": "human",
"value": "package com.sequenceiq.common.api.type;\n\npublic enum ImageType {\n FREEIPA,\n DATAHUB,\n DATALAKE,\n RUNTIME,\n UNKNOWN\n}"
},
{
"from": "gpt",
... | java | chosen |
[
{
"from": "system",
"value": "Make assertions work in other packages\n"
},
{
"from": "human",
"value": "package arez.integration.dagger.codegen;\n\nimport arez.integration.AbstractArezIntegrationTest;\nimport javax.annotation.Nonnull;\nimport static org.testng.Assert.*;\n\npublic class AbstractC... | java | chosen |
[
{
"from": "system",
"value": "Move this out of RobotInit so we can use the robot for other things. Swap to \"autonomous\" mode to trigger the ImageProcess event.\n\nIn the near future this should either be moved to a self-instantiated default-command from the related subsystem, or it should be triggered wit... | java | chosen |
[
{
"from": "system",
"value": "Add test for mutated state changing IDs\n"
},
{
"from": "human",
"value": "package net.glowstone.block.data;\n\nimport org.junit.Test;\n\nimport static org.hamcrest.CoreMatchers.is;\nimport static org.junit.Assert.assertThat;\n\n@SuppressWarnings(\"unchecked\")\npub... | java | chosen |
[
{
"from": "system",
"value": "Add {{application}}{{platform}} to log filename\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2016 VSCT\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": "Revert to 1.1.1 converter ... it is part of compatibility test.\n"
},
{
"from": "human",
"value": "package com.thoughtworks.acceptance.someobjects;\n\nimport com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter;\n\npublic class ZConverter extends A... | java | chosen |
[
{
"from": "system",
"value": "Allow API annotation to be placed on methods, expand docs\n"
},
{
"from": "human",
"value": "package openblocks.api;\n\nimport java.lang.annotation.*;\n\n/**\n * Static variables marked with this annotation will be filled with instance\n * of requested API (defined ... | java | chosen |
[
{
"from": "system",
"value": "Remove old user from adorsys url paths\n"
},
{
"from": "human",
"value": "package de.fau.amos.virtualledger.server.banking.adorsys.api;\n\nimport org.springframework.stereotype.Component;\n\n/**\n * Class that holds all configuration required for the banking api acc... | java | chosen |
[
{
"from": "system",
"value": "Declare validate(), transfer() and getModel()\n\nOPEN - task 24: Create a stock module \nhttp://github.com/DevOpsDistilled/OpERP/issues/issue/24"
},
{
"from": "human",
"value": "package devopsdistilled.operp.client.stock.panes.controllers;\n\nimport devopsdistilled.... | java | chosen |
[
{
"from": "system",
"value": "Add a NONE order option to sort order."
},
{
"from": "human",
"value": "/*\n * Copyright 2013 Franklin Bristow <franklin.bristow@phac-aspc.gc.ca>.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compl... | java | chosen |
[
{
"from": "system",
"value": "Javadoc: Correct typo and add missing return description\n\ngit-svn-id: 5ccfe34f605a6c2f9041ff2965ab60012c62539a@1776143 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more... | java | chosen |
[
{
"from": "system",
"value": "Add and Pass ReactionParser Test\n"
},
{
"from": "human",
"value": "package Reaction;\n\nimport org.junit.After;\nimport org.junit.Before;\nimport org.junit.Test;\n\nimport static org.junit.Assert.*;\n\npublic class ReactionParserTest {\n\n @Before\n public vo... | java | chosen |
[
{
"from": "system",
"value": "Change function to take ConcreteIntegers\n"
},
{
"from": "human",
"value": "package org.aac.average.java.impl;\n\nimport org.aac.average.java.impl.function.Function;\nimport org.aac.average.java.impl.function.FunctionParameter;\nimport org.aac.average.java.impl.data... | java | chosen |
[
{
"from": "system",
"value": "Add utility constructor that sets dummy span"
},
{
"from": "human",
"value": "package yokohama.unit.ast_junit;\r\n\r\nimport lombok.Value;\r\n\r\n@Value\r\npublic class ClassType implements NonArrayType {\r\n private String name;\r\n private Span span;\r\n\r\n... | java | chosen |
[
{
"from": "system",
"value": "Add more terminal io tests.\n"
},
{
"from": "human",
"value": "package fi.helsinki.cs.tmc.cli.io;\n\nimport static org.junit.Assert.assertTrue;\n\nimport org.junit.Before;\nimport org.junit.Test;\n\nimport java.io.ByteArrayOutputStream;\nimport java.io.OutputStream;... | java | chosen |
[
{
"from": "system",
"value": "Drop TODO for getVmVersion method\n\nReview URL: https://codereview.chromium.org/12324002\n\ngit-svn-id: 1dc80909446f7a7ee3e21dd4d1b8517df524e9ee@1139 fc8a088e-31da-11de-8fef-1f5ae417a2df\n"
},
{
"from": "human",
"value": "// Copyright (c) 2009 The Chromium Authors.... | java | chosen |
[
{
"from": "system",
"value": "Prepend the base URL to all endpoints\n"
},
{
"from": "human",
"value": "package co.phoenixlab.discord.api;\n\n/**\n * Contains various useful API URLs and paths\n */\npublic class ApiConst {\n\n /**\n * Utility class\n */\n private ApiConst() {\n }... | java | chosen |
[
{
"from": "system",
"value": "Fix task validation to recognize `@CompileClasspath`\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 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... | java | chosen |
[
{
"from": "system",
"value": "Fix typos and use a better parameter name.\n\ngit-svn-id: cde5a1597f50f50feab6f72941f6b219c34291a1@1075403 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contribut... | java | chosen |
[
{
"from": "system",
"value": "Convert stdout to stderr so it is flushed immediately\n"
},
{
"from": "human",
"value": "package org.realityforge.tarrabah;\n\nimport org.apache.deltaspike.cdise.api.CdiContainer;\nimport org.apache.deltaspike.cdise.api.CdiContainerLoader;\nimport org.apache.deltasp... | java | chosen |
[
{
"from": "system",
"value": "Fix regex to only allow uppercased letters for the the first 2 characters.\n"
},
{
"from": "human",
"value": "import org.junit.Test;\n\nimport static org.hamcrest.CoreMatchers.equalTo;\nimport static org.hamcrest.core.Is.is;\nimport static org.hamcrest.core.IsNot.n... | java | chosen |
[
{
"from": "system",
"value": "Update logcat strings to identify FB app resume/pause\n\nCloses #2.\n"
},
{
"from": "human",
"value": "package com.feedblocker.integrations;\n\nimport com.feedblocker.model.FeedApplication;\n\npublic class Facebook extends FeedApplication\n{\n @Override\n publ... | java | chosen |
[
{
"from": "system",
"value": "Fix namespace of HTTP binding for jolie2wsdl."
},
{
"from": "human",
"value": "package joliex.wsdl;\n\n/*\n * To change this template, choose Tools | Templates\n * and open the template in the editor.\n */\n\n\n\n/**\n *\n * @author Francesco\n */\npublic enum NameS... | java | chosen |
[
{
"from": "system",
"value": "Add 2 missing @Override annotations\n\nSigned-off-by: Ferry Huberts <66e11f9f5d965b69497c7e73d5e808f8b13c1218@pelagic.nl>\n"
},
{
"from": "human",
"value": "package org.bndtools.builder;\n\nimport org.osgi.framework.BundleContext;\n\npublic class BuilderPlugin exten... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.