conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Change /data servlet to show Hello Laura!\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// You may obtai... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Add new hooks for global level (@BeforeAll and @AfterAll) that run only once before all and after all existing features/scenarios. Unit test and cucumber test to cover the new hooks and the running order between hooks.\"\n\nThis reverts commit 34332ef30d22ad24aa8186b51... | java | chosen |
[
{
"from": "system",
"value": "Add a new method interface toString() and some javadoc descriptions.\n"
},
{
"from": "human",
"value": "package org.obda.query.domain;\r\n\r\npublic interface Term {\r\n\r\n\tpublic Term copy();\r\n\tpublic String getName();\r\n}\r\n"
},
{
"from": "gpt",
... | java | chosen |
[
{
"from": "system",
"value": "Improve log message for invalid example id\n"
},
{
"from": "human",
"value": "package com.testedminds.template.handlers;\n\nimport com.google.gson.Gson;\nimport com.testedminds.template.db.ExampleDao;\nimport com.testedminds.template.models.Example;\nimport org.slf4... | java | chosen |
[
{
"from": "system",
"value": "Update to match new framework interface, and return status code on failure\n"
},
{
"from": "human",
"value": "package dk.statsbiblioteket.newspaper.md5checker;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport dk.statsbiblioteket.medieplatform.a... | java | chosen |
[
{
"from": "system",
"value": "Fix action bar color in 2.3 (typo)\n\nChange-Id: I188538b58d9e0235be964c1a509dc1117585b439\n"
},
{
"from": "human",
"value": "package org.wikipedia;\n\nimport android.os.Build;\nimport android.os.Bundle;\nimport android.support.v7.app.ActionBarActivity;\n\npublic cl... | java | chosen |
[
{
"from": "system",
"value": "Add more test on retrieving CompilationUnit from relative path\n\ntest real src directory"
},
{
"from": "human",
"value": "import com.redhat.ceylon.compiler.typechecker.TypeChecker;\nimport com.redhat.ceylon.compiler.typechecker.TypeCheckerBuilder;\nimport com.redha... | java | chosen |
[
{
"from": "system",
"value": "Test commit to check if contributors was fixed\n"
},
{
"from": "human",
"value": "package savedata;\n\nimport com.fasterxml.jackson.databind.ObjectMapper;\n\nimport foodstorage.FoodItem;\nimport foodstorage.StorageUnit;\n\nimport java.io.File;\nimport java.io.IOExce... | java | chosen |
[
{
"from": "system",
"value": "Use LF as line separator\n\nChange-Id: Ib2bcd3f955d6ad7507e9c4a13c9d05b445ba3174\n"
},
{
"from": "human",
"value": "/*\r\n * Copyright 2015 Open Networking Laboratory\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use... | java | chosen |
[
{
"from": "system",
"value": "Remove extra space on output.\n"
},
{
"from": "human",
"value": "package com.validation.manager.core.tool;\r\n\r\n/**\r\n *\r\n * @author Javier A. Ortiz Bultron <javier.ortiz.78@gmail.com>\r\n */\r\npublic class Timer {\r\n\r\n private long start, end;\r\n\r\n ... | java | chosen |
[
{
"from": "system",
"value": "Improve time visibility on Milestone\n"
},
{
"from": "human",
"value": "package com.alorma.github.utils;\n\nimport android.content.Context;\nimport tk.zielony.naturaldateformat.AbsoluteDateFormat;\nimport tk.zielony.naturaldateformat.NaturalDateFormat;\nimport tk.zi... | java | chosen |
[
{
"from": "system",
"value": "Fix secondary display toast placement on Android 11\n"
},
{
"from": "human",
"value": "/* Copyright 2017 Braden Farmer\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": "Drop parent() its not used, and may not be exposed on all logging systems directly.\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2010 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not... | java | chosen |
[
{
"from": "system",
"value": "Annotate default behaviour acc inheritance\n"
},
{
"from": "human",
"value": "package de.zib.gndms.model.common;\n\n/*\n * Copyright 2008-2011 Zuse Institute Berlin (ZIB)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use t... | java | chosen |
[
{
"from": "system",
"value": "Rename pin->pins; update serialized name\n"
},
{
"from": "human",
"value": "package com.chrisdempewolf.responses.pin;\n\nimport java.util.Arrays;\nimport java.util.Iterator;\nimport java.util.List;\n\npublic class Pins implements Iterable<Pin> {\n private final L... | java | chosen |
[
{
"from": "system",
"value": "Change util to get clone of calendar. \n\n"
},
{
"from": "human",
"value": "package bj.pranie.util;\n\nimport java.util.Calendar;\nimport java.util.TimeZone;\n\n/**\n * Created by noon on 03.02.17.\n */\npublic class TimeUtil {\n private static TimeZone timeZone ... | java | chosen |
[
{
"from": "system",
"value": "Remove an unnecessary use of the ProverMachineState rather than the MachineState.\n\ngit-svn-id: 4739e81c2fe647bfb539b919360e2c658e6121ea@280 716a755e-b13f-cedc-210d-596dafc6fb9b\n"
},
{
"from": "human",
"value": "package apps.server.visualization;\r\n\r\nimport jav... | java | chosen |
[
{
"from": "system",
"value": "[feature] Add waiter for response containing string\n"
},
{
"from": "human",
"value": "package cz.xtf.client;\n\nimport cz.xtf.core.config.WaitingConfig;\nimport cz.xtf.core.waiting.SimpleWaiter;\nimport cz.xtf.core.waiting.Waiter;\n\nimport java.io.IOException;\nim... | java | chosen |
[
{
"from": "system",
"value": "Reformat string for generating jpql\n"
},
{
"from": "human",
"value": "package org.dynamicfinder.jpa.handler;\n\n/**\n * @author xsalefter (xsalefter[at]gmail.com)\n */\npublic class LikeRestrictionHandler extends LikeComparatorRestrictionHandler {\n\n\tprivate stat... | java | chosen |
[
{
"from": "system",
"value": "Add ENUM type FishingState.BITE for MC 1.9\n"
},
{
"from": "human",
"value": "package com.laytonsmith.abstraction.enums;\n\nimport com.laytonsmith.annotations.MEnum;\n\n@MEnum(\"FishingState\")\npublic enum MCFishingState {\n\tCAUGHT_ENTITY,\n\tCAUGHT_FISH,\n\tFAILE... | java | chosen |
[
{
"from": "system",
"value": "Update contribution comment for collate\n"
},
{
"from": "human",
"value": "package seedu.bulletjournal.logic.parser;\n\n/**\n * Provides variations of commands Note: hard-coded for v0.2, will implement nlp\n * for future versions\n * @author A0127826Y\n */\n\npublic... | java | chosen |
[
{
"from": "system",
"value": "Reduce contrast of sparse keys\n"
},
{
"from": "human",
"value": "package org.jusecase.properties.ui;\n\nimport org.jusecase.properties.entities.Key;\nimport org.jusecase.properties.entities.KeyPopulation;\n\nimport javax.swing.*;\nimport java.awt.*;\nimport java.ut... | java | chosen |
[
{
"from": "system",
"value": "Add \"nodeResource\" to base Provisioning plugin"
},
{
"from": "human",
"value": "package org.ligoj.app.plugin.prov;\n\nimport java.util.Arrays;\nimport java.util.List;\nimport java.util.Map;\n\nimport org.ligoj.app.api.SubscriptionStatusWithData;\nimport org.ligoj.... | java | chosen |
[
{
"from": "system",
"value": "Reset image when choosing new filter\n"
},
{
"from": "human",
"value": "package ui;\n\nimport rgb.InvertRGBStrategy;\nimport rgb.RGBStrategy;\n\nimport javax.swing.*;\nimport java.awt.*;\nimport java.awt.image.BufferedImage;\n\n/**\n * Created by nick on 10/22/15.\n... | java | chosen |
[
{
"from": "system",
"value": "Make helper class final and non-instantiable\n"
},
{
"from": "human",
"value": "package fr.tvbarthel.apps.devredpe2014.ui;\n\n\nimport android.app.ActionBar;\nimport android.content.Context;\nimport android.text.SpannableString;\nimport android.text.Spanned;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Add undo manager initialisation in Logic Manager class\n"
},
{
"from": "human",
"value": "package seedu.address.logic;\n\nimport java.util.logging.Logger;\n\nimport javafx.collections.ObservableList;\nimport seedu.address.commons.core.ComponentManager;\nimport seedu... | java | chosen |
[
{
"from": "system",
"value": "Test to verify changes to Destination in regard to Windows backslash cleaning\n"
},
{
"from": "human",
"value": "package hudson.plugins.s3;\n\nimport static org.junit.Assert.assertEquals;\n\nimport org.junit.Test;\n\npublic class BucketnameTest {\n\n @Test\n publi... | java | chosen |
[
{
"from": "system",
"value": "Add non-processable method for testing\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 requery.io\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 obta... | java | chosen |
[
{
"from": "system",
"value": "Disable the creation of new scripts in certain environments (prod).\n"
},
{
"from": "human",
"value": "package whelk.gui;\n\nimport javax.swing.*;\nimport java.awt.*;\nimport java.awt.event.ActionEvent;\nimport java.awt.event.ActionListener;\n\npublic class RunOrCre... | java | chosen |
[
{
"from": "system",
"value": "Remove duplicate definition of reference.\n"
},
{
"from": "human",
"value": "package com.humbughq.android;\n\nimport android.util.Log;\nimport android.widget.TextView;\n\nclass AsyncLogin extends HumbugAsyncPushTask {\n HumbugActivity that;\n\n public AsyncLog... | java | chosen |
[
{
"from": "system",
"value": "Fix initialisation of ISO formatter.\n"
},
{
"from": "human",
"value": "package org.irmacard.cardemu.selfenrol.mno;\n\nimport java.text.ParseException;\nimport java.text.SimpleDateFormat;\nimport java.util.HashMap;\nimport java.util.Map;\n\npublic class MockupSubscr... | java | chosen |
[
{
"from": "system",
"value": "Add a default option to predicate mapper\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2009-2014 Marcelo Guimarães\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n *\n * You may not use this file except in compliance with the License... | java | chosen |
[
{
"from": "system",
"value": "Add type, dimension, and difficulty definitions to world\n"
},
{
"from": "human",
"value": "package com.ingotpowered.api.world;\n\npublic interface World {\n\n public Chunk getChunkAt(ChunkPosition position);\n\n public Chunk getChunkAt(int x, int z);\n\n}\n"
... | java | chosen |
[
{
"from": "system",
"value": "Add @Override annotations to PeerEventListener.\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2011 Google 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 * Y... | java | chosen |
[
{
"from": "system",
"value": "Add inline doc for the helloworld example\n"
},
{
"from": "human",
"value": "package examples.helloworld;\n\nimport com.vtence.molecule.WebServer;\n\nimport java.io.IOException;\n\npublic class HelloWorldExample {\n\n public void run(WebServer server) throws IOEx... | java | chosen |
[
{
"from": "system",
"value": "SimonStewart: Convert the https test that we never run to use junit.\n\ngit-svn-id: 4179480af2c2519a5eb5e1e9b541cbdf5cf27696@17194 07704840-8298-11de-bf8c-fd130f914ac9\n"
},
{
"from": "human",
"value": "/*\nCopyright 2012 Selenium committers\nCopyright 2012 Software... | java | chosen |
[
{
"from": "system",
"value": "Use effective army size when creating dice collection\n"
},
{
"from": "human",
"value": "package participants;\n\nimport dices.DiceCollection;\n\npublic class Defender extends BattleParticipant {\n\n private static final int MIN_ARMY_SIZE = 1;\n private static... | java | chosen |
[
{
"from": "system",
"value": "Fix not existing .apks failing\n"
},
{
"from": "human",
"value": "package de.philipphager.disclosure.feature.analyser.app;\n\nimport dalvik.system.DexFile;\nimport de.philipphager.disclosure.database.app.model.App;\nimport java.io.IOException;\nimport java.util.Coll... | java | chosen |
[
{
"from": "system",
"value": "Add more padding to in case of gossipocalypse.\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 informa... | java | chosen |
[
{
"from": "system",
"value": "Change keyword from CAPS to small letter\n"
},
{
"from": "human",
"value": "package seedu.address.logic.parser;\n\nimport java.util.regex.Pattern;\n\nimport seedu.address.logic.parser.ArgumentTokenizer.Prefix;\n\n/**\n * Contains Command Line Interface (CLI) syntax ... | java | chosen |
[
{
"from": "system",
"value": "Improve code for annotation mock\n"
},
{
"from": "human",
"value": "package tools.devnull.trugger;\n\nimport org.mockito.stubbing.Answer;\nimport tools.devnull.trugger.reflection.Reflection;\n\nimport java.lang.annotation.Annotation;\nimport java.lang.reflect.Method... | java | chosen |
[
{
"from": "system",
"value": "Support executing tasks in the main loop(Command Runnable).\n"
},
{
"from": "human",
"value": "package com.xxzhwx.core.runs;\n\nimport com.xxzhwx.core.net.Cmd;\nimport com.xxzhwx.core.queue.BaseQueue;\n\nimport java.util.concurrent.TimeUnit;\n\npublic abstract class... | java | chosen |
[
{
"from": "system",
"value": "Add support for 'unnest' in featured database mapping"
},
{
"from": "human",
"value": "package nl.pdok.catalog.featured;\n\nimport org.codehaus.jackson.annotate.JsonIgnoreProperties;\n\n@JsonIgnoreProperties(ignoreUnknown = true)\npublic class DatabaseMapping {\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Fix Minecraft ItemStacks being serialized\n"
},
{
"from": "human",
"value": "package roycurtis.signshopexport.json;\n\nimport com.google.gson.ExclusionStrategy;\nimport com.google.gson.FieldAttributes;\n\npublic class Exclusions implements ExclusionStrategy\n{\n ... | java | chosen |
[
{
"from": "system",
"value": "Add tests for null check\n"
},
{
"from": "human",
"value": "package com.grayben.riskExtractor.htmlScorer;\n\nimport org.junit.After;\nimport org.junit.Before;\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.mockito.runners.MockitoJUnitRunner;\n... | java | chosen |
[
{
"from": "system",
"value": "Make the class public to use from other packages\n"
},
{
"from": "human",
"value": "package org.realityforge.gwt.eventsource.client;\n\nimport com.google.web.bindery.event.shared.EventBus;\nimport com.google.web.bindery.event.shared.SimpleEventBus;\nimport javax.ann... | java | chosen |
[
{
"from": "system",
"value": "Store and make available the parent object associated with the shadow\ntile.\n\n\ngit-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@480 542714f4-19e9-0310-aa3c-eee0fc999fb1\n"
},
{
"from": "human",
"value": "//\n// $Id: ShadowTile.java,v 1.1 2001/10/13 01:08:59 s... | java | chosen |
[
{
"from": "system",
"value": "Add context.stop() and the end of the class."
},
{
"from": "human",
"value": "package spark.elastic;\r\n\r\nimport static org.elasticsearch.spark.rdd.api.java.JavaEsSpark.esRDD;\r\n\r\nimport java.util.Map;\r\n\r\nimport org.apache.spark.SparkConf;\r\nimport org.apa... | java | chosen |
[
{
"from": "system",
"value": "Use setup instead of build for activity test\n"
},
{
"from": "human",
"value": "package com.example.activity;\n\nimport com.example.BuildConfig;\n\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.robolectric.Robolectric;\nimport org.robolectric.... | java | chosen |
[
{
"from": "system",
"value": "Change DoubleShot to use a boolean\n"
},
{
"from": "human",
"value": "package edu.stuy.starlorn.upgrades;\n\npublic class DoubleShotUpgrade extends GunUpgrade {\n private int _shotNum;\n\n public DoubleShotUpgrade() {\n super();\n _shotNum = 0;\n... | java | chosen |
[
{
"from": "system",
"value": "Disable test until bug fixed.\n"
},
{
"from": "human",
"value": "package org.jctools.queues;\n\nimport org.jctools.queues.spec.ConcurrentQueueSpec;\nimport org.jctools.queues.spec.Ordering;\nimport org.junit.runner.RunWith;\nimport org.junit.runners.Parameterized;\n... | java | chosen |
[
{
"from": "system",
"value": "Write comments in n-ary operator"
},
{
"from": "human",
"value": "package edu.washington.escience.myria.operator;\n\nimport java.util.Objects;\n\nimport com.google.common.base.Preconditions;\n\nimport edu.washington.escience.myria.Schema;\n\npublic abstract class NA... | java | chosen |
[
{
"from": "system",
"value": "Rename plugin id as well"
},
{
"from": "human",
"value": "package org.monospark.actioncontrol;\n\nimport java.nio.file.Path;\n\nimport org.monospark.actioncontrol.config.ConfigParseException;\nimport org.monospark.actioncontrol.group.Group;\nimport org.monospark.act... | java | chosen |
[
{
"from": "system",
"value": "Add button to app that displays list populated from dummy array\n"
},
{
"from": "human",
"value": "package com.blocksolid.okrello;\n\nimport android.support.v7.app.AppCompatActivity;\nimport android.os.Bundle;\n\npublic class MainActivity extends AppCompatActivity {... | java | chosen |
[
{
"from": "system",
"value": "Fix Nickserv Authentication being broken.\n\nFixes #305\n"
},
{
"from": "human",
"value": "// Copyright (c) 2014, Christopher \"blay09\" Baker\n// All rights reserved.\n\npackage net.blay09.mods.eirairc.config.base;\n\n\npublic class ServiceSettings {\n\t\n\tprivate... | java | chosen |
[
{
"from": "system",
"value": "Make serializable the named beans"
},
{
"from": "human",
"value": "package org.ligoj.bootstrap.core;\n\nimport java.io.Serializable;\n\n/**\n * A named and identified bean\n * \n * @param <K>\n * The type of the identifier\n */\npublic interface INamableB... | java | chosen |
[
{
"from": "system",
"value": "Clean up integer literals in utilities\n"
},
{
"from": "human",
"value": "package com.paritytrading.parity.util;\n\nimport java.time.LocalTime;\nimport java.time.format.DateTimeFormatter;\n\n/**\n * This class contains utility methods for working with timestamps.\n ... | java | chosen |
[
{
"from": "system",
"value": "Increase ping interval and scheduler size\n"
},
{
"from": "human",
"value": "package org.nextrtc.signalingserver;\n\npublic interface Names {\n String EVENT_BUS = \"nextRTCEventBus\";\n String EVENT_DISPATCHER = \"nextRTCEventDispatcher\";\n\n String SCHEDU... | java | chosen |
[
{
"from": "system",
"value": "Fix datastore access: RideRecord was unregistered\n"
},
{
"from": "human",
"value": "package com.sheepdog.mashmesh.models;\n\nimport com.googlecode.objectify.Objectify;\nimport com.googlecode.objectify.ObjectifyFactory;\nimport com.googlecode.objectify.ObjectifyServ... | java | chosen |
[
{
"from": "system",
"value": "Remove pointless public on interface method\n"
},
{
"from": "human",
"value": "package me.nallar.javatransformer.api;\n\nimport java.util.*;\n\npublic interface Annotated {\n\tpublic List<Annotation> getAnnotations();\n}\n"
},
{
"from": "gpt",
"value": "... | java | chosen |
[
{
"from": "system",
"value": "Remove whitespace before package declaration.\n\ngit-svn-id: 6ecf90c357d929aee58b51a998def805f2e9c62f@370915 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2001-2005 The Apache Software Foundation.\n * \n * Licensed under th... | java | chosen |
[
{
"from": "system",
"value": "Clear preferences first in Chrome test\n"
},
{
"from": "human",
"value": "/*\n * (C) Copyright 2015 Boni Garcia (http://bonigarcia.github.io/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in complianc... | java | chosen |
[
{
"from": "system",
"value": "Change default command to timeline\n"
},
{
"from": "human",
"value": "package com.tmitim.twittercli;\n\nimport com.github.rvesse.airline.annotations.Cli;\nimport com.github.rvesse.airline.help.Help;\nimport com.tmitim.twittercli.commands.DirectMessage;\nimport com.t... | java | chosen |
[
{
"from": "system",
"value": "Set default invalid/unset line to -1, to reduce confusion with 0 being interpreted as the first line.\n"
},
{
"from": "human",
"value": "package io.collap.bryg.compiler.ast;\n\nimport io.collap.bryg.compiler.context.Context;\n\nimport java.io.PrintStream;\n\npublic ... | java | chosen |
[
{
"from": "system",
"value": "Fix an IOOBE - JRUBY-4254\n"
},
{
"from": "human",
"value": "package org.yecht.ruby;\n\nimport org.yecht.Parser;\nimport org.yecht.ErrorHandler;\n\nimport org.jruby.Ruby;\nimport org.jruby.anno.JRubyMethod;\nimport org.jruby.runtime.builtin.IRubyObject;\n\npublic cl... | java | chosen |
[
{
"from": "system",
"value": "Make the instance variable private\n"
},
{
"from": "human",
"value": "package rox.warpstone.proxy;\n\nimport com.google.inject.Inject;\n\nimport net.minecraft.client.Minecraft;\nimport net.minecraft.client.resources.model.ModelResourceLocation;\nimport net.minecraft... | java | chosen |
[
{
"from": "system",
"value": "Exclude location name in location object\n"
},
{
"from": "human",
"value": "package com.brogrammers.agora.model;\n\nimport android.widget.EditText;\n\npublic class SimpleLocation {\n\tprivate double lat;\n\tprivate double lon;\n\n\tpublic SimpleLocation(double d, do... | java | chosen |
[
{
"from": "system",
"value": "Use 0x04 for reset event since 0x00 is not supported\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2007-2015, Kaazing Corporation. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file exc... | java | chosen |
[
{
"from": "system",
"value": "Fix Constructor Calls Overridable Method."
},
{
"from": "human",
"value": "package com.vaguehope.onosendai.model;\n\npublic class TweetBuilder {\n\n\tprivate long id;\n\tprivate String username;\n\tprivate String body;\n\tprivate long unitTimeSeconds;\n\tprivate St... | java | chosen |
[
{
"from": "system",
"value": "Use loading cache to manage sessions\n"
},
{
"from": "human",
"value": "package io.teknek.intravert.service;\n\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.concurrent.atomic.AtomicLong;\n\nimport com.google.common.cache.ForwardingCache;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Use final number instead of magic numbers\n"
},
{
"from": "human",
"value": "import javafx.scene.canvas.GraphicsContext;\nimport javafx.scene.paint.Color;\n\nimport java.io.IOException;\nimport java.util.HashMap;\n\n/**\n * Created by TUDelft SID on 8-5-2017.\n */\n... | java | chosen |
[
{
"from": "system",
"value": "Update Recipe Pager Adapter to handle fragments\n"
},
{
"from": "human",
"value": "package com.cwainner.chris.recipecentral.adapters;\n\nimport android.content.Context;\nimport android.widget.ArrayAdapter;\n\n/**\n * Created by Chris on 5/26/2017.\n */\n\npublic cla... | java | chosen |
[
{
"from": "system",
"value": "Add blank line between HexFormat chunks.\n"
},
{
"from": "human",
"value": "package uk.ac.cam.gpe21.droidssl.mitm;\n\nimport uk.ac.cam.gpe21.droidssl.mitm.util.HexFormat;\n\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\n\npu... | java | chosen |
[
{
"from": "system",
"value": "Remove TODO note, this class has value!\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.atlas.profiles;\n\nimport uk.ac.ebi.atlas.commons.streams.ObjectInputStream;\n\nimport java.util.Iterator;\n\n// Used to make ObjectInputStream iterable\n// TODO: implement ... | java | chosen |
[
{
"from": "system",
"value": "Use TypeQuery to avoid uncheck warning\n"
},
{
"from": "human",
"value": "package com.mpalourdio.hello.model;\n\nimport javax.persistence.EntityManager;\nimport javax.persistence.PersistenceContext;\nimport java.util.List;\n\n/**\n * This implementation MUST have th... | java | chosen |
[
{
"from": "system",
"value": "Fix checkstyle from javadocs-changes PR\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2012-2013 Continuuity Inc. All rights reserved.\n */\n\npackage com.continuuity.api.data.batch;\n\nimport com.continuuity.api.annotation.Beta;\n\nimport java.util.List;\n... | java | chosen |
[
{
"from": "system",
"value": "Make sure short UUIDs are unique in the same benchmark.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Delft University of Technology\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in complian... | java | chosen |
[
{
"from": "system",
"value": "Add comment with license information"
},
{
"from": "human",
"value": "/**\n * Provides interfaces and classes of basic data structures.\n *\n * @author Julian Mendez\n */\npackage org.wikidata.wdtk.storage.datastructure;\n\n"
},
{
"from": "gpt",
"value":... | java | chosen |
[
{
"from": "system",
"value": "Correct sequence name for oracle\n\ngit-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@977 0d517254-b314-0410-acde-c619094fa49f\n"
},
{
"from": "human",
"value": "package edu.northwestern.bioinformatics.studycalendar.domain;\n\nimport org.hibernate.annotations.Gen... | java | chosen |
[
{
"from": "system",
"value": "Reduce the audiobooks rescan delay to 5s.\n"
},
{
"from": "human",
"value": "package com.studio4plus.homerplayer;\n\nimport android.database.ContentObserver;\nimport android.os.Handler;\n\nimport com.studio4plus.homerplayer.events.MediaStoreUpdateEvent;\n\nimport de... | java | chosen |
[
{
"from": "system",
"value": "Set creationDate and modifiedDate when reading content from external sources to be able to calculate different eTag.\n"
},
{
"from": "human",
"value": "package org.unitedinternet.cosmo.ext;\n\nimport java.util.HashSet;\nimport java.util.Set;\n\nimport org.unitedinte... | java | chosen |
[
{
"from": "system",
"value": "Add component annotation in order to be able to auto wire component.\n"
},
{
"from": "human",
"value": "package cloud.cluster.sim.requestsimulator.dao;\n\nimport cloud.cluster.sim.requestsimulator.dto.SimulationStatistics;\nimport org.springframework.data.mongodb.re... | java | chosen |
[
{
"from": "system",
"value": "Prepare version number for upcoming release"
},
{
"from": "human",
"value": "package cgeo.geocaching.utils;\n\nimport cgeo.geocaching.BuildConfig;\n\npublic class BranchDetectionHelper {\n\n // should contain the version name of the last feature release\n publ... | java | chosen |
[
{
"from": "system",
"value": "Exclude user from to string\n"
},
{
"from": "human",
"value": "package ee.tuleva.onboarding.aml;\n\nimport ee.tuleva.onboarding.user.User;\nimport lombok.AllArgsConstructor;\nimport lombok.Builder;\nimport lombok.Data;\nimport lombok.NoArgsConstructor;\nimport org.s... | java | chosen |
[
{
"from": "system",
"value": "Test for new comment property.\n"
},
{
"from": "human",
"value": "package com.uwetrottmann.getglue.services;\n\nimport com.uwetrottmann.getglue.BaseTestCase;\nimport com.uwetrottmann.getglue.entities.GetGlueInteraction;\nimport com.uwetrottmann.getglue.entities.GetG... | java | chosen |
[
{
"from": "system",
"value": "Update back the correct version\n"
},
{
"from": "human",
"value": "package tars.commons.events.model;\n\nimport tars.commons.events.BaseEvent;\nimport tars.model.ReadOnlyTars;\n\n/** Indicates the Tars in the model has changed*/\npublic class TarsChangedEvent extend... | java | chosen |
[
{
"from": "system",
"value": "Add basic type equality checking to sum type\n"
},
{
"from": "human",
"value": "package org.hummingbirdlang.types.composite;\n\nimport org.hummingbirdlang.types.CompositeType;\nimport org.hummingbirdlang.types.Property;\nimport org.hummingbirdlang.types.PropertyNotF... | java | chosen |
[
{
"from": "system",
"value": "[minor] Fix javadoc with escaped < and > characters\n"
},
{
"from": "human",
"value": "package pl.tomaszdziurko.jvm_bloggers;\n\n/**\n * UTM (Urchin Traffic Monitor) URL query parameter identifiers.\n * \n * @see <a href=\"https://en.wikipedia.org/wiki/UTM_parameter... | java | chosen |
[
{
"from": "system",
"value": "Add the new modid field in the common construct bus register"
},
{
"from": "human",
"value": "package info.u_team.u_team_test.init;\n\nimport info.u_team.u_team_core.api.construct.*;\nimport info.u_team.u_team_core.util.registry.BusRegister;\n\n@Construct\npublic cl... | java | chosen |
[
{
"from": "system",
"value": "Throw exception right away if it happen to avoid repeatedly throwing exceptions.\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.ddi.extservices.net;\n\nimport org.apache.commons.net.ftp.FTPClient;\nimport org.apache.commons.net.ftp.FTPFile;\nimport org.slf4j.L... | java | chosen |
[
{
"from": "system",
"value": "Update file to test more rules\n"
},
{
"from": "human",
"value": "/*\n\tBlock comment example.\n*/\n\nint i,j; // Global variables\nint f(int a) { // f function\n return a;\n}\n\nvoid main() { // Main function\n int i,b; // Local variables\n double r;\n ... | java | chosen |
[
{
"from": "system",
"value": "Fix : Render du flag\n"
},
{
"from": "human",
"value": "package tropicalescape;\n\nimport org.newdawn.slick.Graphics;\nimport org.newdawn.slick.Image;\nimport org.newdawn.slick.SlickException;\n\nimport tropicalescape.physics.Hitbox;\n\npublic class Flag extends Gam... | java | chosen |
[
{
"from": "system",
"value": "Use login instead of user's name.\n"
},
{
"from": "human",
"value": "package org.crunchytorch.coddy.snippet.service;\n\nimport org.crunchytorch.coddy.application.exception.EntityNotFoundException;\nimport org.crunchytorch.coddy.application.service.AbstractService;\n... | java | chosen |
[
{
"from": "system",
"value": "Add test for Preferences class\n"
},
{
"from": "human",
"value": "package com.nigorojr.typebest;\n\nimport java.sql.SQLException;\nimport java.util.LinkedHashMap;\n\npublic class Tester {\n\n public static void main(String[] args) {\n // This is to test th... | java | chosen |
[
{
"from": "system",
"value": "Add default environment to logger: dv\n"
},
{
"from": "human",
"value": "package fr.insee.pogues.config;\n\nimport org.apache.logging.log4j.web.Log4jServletContextListener;\nimport org.apache.logging.log4j.web.Log4jWebSupport;\n\nimport javax.servlet.ServletContextE... | java | chosen |
[
{
"from": "system",
"value": "Fix chunk load hook causing chunk loading deadlocks.\n\n"
},
{
"from": "human",
"value": "package codechicken.lib.world;\n\nimport net.minecraft.world.chunk.ChunkPrimerWrapper;\nimport net.minecraft.world.chunk.IChunk;\nimport net.minecraftforge.common.MinecraftForg... | java | chosen |
[
{
"from": "system",
"value": "Set a harvest level for coarse dirt.\n"
},
{
"from": "human",
"value": "package ganymedes01.etfuturum.blocks;\n\nimport ganymedes01.etfuturum.EtFuturum;\nimport ganymedes01.etfuturum.IConfigurable;\nimport ganymedes01.etfuturum.core.utils.Utils;\nimport net.minecraf... | java | chosen |
[
{
"from": "system",
"value": "Change default KafkaURI to localhost"
},
{
"from": "human",
"value": "package com.ociweb.gateway;\n\n\nimport com.ociweb.iot.maker.DeviceRuntime;\nimport com.ociweb.iot.maker.Hardware;\nimport com.ociweb.iot.maker.IoTSetup;\n\npublic class IoTApp implements IoTSetup... | java | chosen |
[
{
"from": "system",
"value": "Set back Fresco logger to verbose\n"
},
{
"from": "human",
"value": "package chat.rocket.android.widget;\n\nimport android.content.Context;\nimport chat.rocket.android.widget.fresco.CustomImageFormatConfigurator;\nimport com.facebook.common.logging.FLog;\nimport com... | java | chosen |
[
{
"from": "system",
"value": "Add information about player experience to meta provider\n"
},
{
"from": "human",
"value": "package openperipheral.integration.vanilla;\n\nimport java.util.Map;\n\nimport net.minecraft.entity.player.EntityPlayer;\nimport net.minecraft.util.Vec3;\nimport openperipher... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.