conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Replace class equality test with instanceof\n"
},
{
"from": "human",
"value": "package hu.elte.txtuml.validation.model;\n\nimport org.eclipse.jdt.core.dom.ASTNode;\nimport org.eclipse.jdt.core.dom.MethodDeclaration;\nimport org.eclipse.jdt.core.dom.SimpleName;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Fix tropiskellies using their spear inappropriately\n\nGross, tropiskellies. Gross."
},
{
"from": "human",
"value": "package net.tropicraft.core.client.entity.render.layer;\n\nimport com.mojang.blaze3d.platform.GlStateManager;\nimport net.minecraft.client.renderer.e... | java | chosen |
[
{
"from": "system",
"value": "Add method for handling add or update person\n"
},
{
"from": "human",
"value": "package com.zelory.kace.adressbook.data.model;\n\nimport com.google.gson.JsonSyntaxException;\nimport com.google.gson.reflect.TypeToken;\nimport com.zelory.kace.adressbook.util.JsonParse... | java | chosen |
[
{
"from": "system",
"value": "Change from abstract class to interface\n"
},
{
"from": "human",
"value": "package com.ezardlabs.dethsquare.prefabs;\n\nimport com.ezardlabs.dethsquare.GameObject;\n\npublic abstract class PrefabCreator {\n\tpublic abstract GameObject create();\n}\n"
},
{
"f... | java | chosen |
[
{
"from": "system",
"value": "Fix bad habit caused by c++ programming\n"
},
{
"from": "human",
"value": "package com.skelril.aurora.prayer.PrayerFX;\n\nimport com.sk89q.worldedit.blocks.BlockID;\nimport com.skelril.aurora.prayer.PrayerType;\nimport com.skelril.aurora.util.ChanceUtil;\nimport org... | java | chosen |
[
{
"from": "system",
"value": "Fix urls with %20 instead of whitespaces\n"
},
{
"from": "human",
"value": "package com.chbi.rest;\n\nimport com.chbi.ApplicationConfiguration;\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.springframework.stereotype.Service;\nimport or... | java | chosen |
[
{
"from": "system",
"value": "Add deferred register to test sounds"
},
{
"from": "human",
"value": "package info.u_team.u_team_test.init;\n\nimport info.u_team.u_team_core.soundevent.USoundEvent;\nimport info.u_team.u_team_core.util.registry.BaseRegistryUtil;\nimport info.u_team.u_team_test.Test... | java | chosen |
[
{
"from": "system",
"value": "Refactor Java covariant array example\n"
},
{
"from": "human",
"value": "package kamkor.covariance;\n\nimport org.junit.Test;\n\npublic class CovariantArrayExample {\n\n\t// Scala solves this by making its Arrays invariant (nonvariant)\n\t@Test(expected = ArrayStore... | java | chosen |
[
{
"from": "system",
"value": "Add problem text to javadoc\n"
},
{
"from": "human",
"value": "import java.util.stream.IntStream;\n\n/**\n * @author David Clutter\n */\npublic class Problem0001 {\n\n public static void main(final String[] args) {\n System.out.println(\n In... | java | chosen |
[
{
"from": "system",
"value": "Add test for fudge serialization of LocalDate.ALL\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.util.time;\n\nim... | java | chosen |
[
{
"from": "system",
"value": "Allow the location of the ADB binary to be specified.\n"
},
{
"from": "human",
"value": "package se.vidstige.jadb;\n\nimport java.io.IOException;\nimport java.util.Map;\n\n/**\n * Launches the ADB server\n */\npublic class AdbServerLauncher {\n private final Stri... | java | chosen |
[
{
"from": "system",
"value": "Return new CountResult on getResult, and use long instead of CountResult\nobject internally"
},
{
"from": "human",
"value": "package mil.nga.giat.geowave.core.store.query.aggregate;\n\nimport mil.nga.giat.geowave.core.index.Persistable;\n\npublic class CountAggregat... | java | chosen |
[
{
"from": "system",
"value": "Change SQLOperations to be an eager singleton\n"
},
{
"from": "human",
"value": "/*\n * Licensed to CRATE Technology GmbH (\"Crate\") under one or more contributor\n * license agreements. See the NOTICE file distributed with this work for\n * additional information... | java | chosen |
[
{
"from": "system",
"value": "Test server maps to all interfaces.\nAdd signal handler for cleaning up on SIGINT.\n"
},
{
"from": "human",
"value": "// Copyright 2014, Kevin Ko <kevin@faveset.com>\n\npackage com.faveset.khttpserver;\n\nimport java.io.IOException;\nimport com.faveset.log.OutputStr... | java | chosen |
[
{
"from": "system",
"value": "Remove mutability of callback revision\n"
},
{
"from": "human",
"value": "package com.balancedpayments;\n\nimport com.balancedpayments.core.Resource;\nimport com.balancedpayments.core.ResourceCollection;\nimport com.balancedpayments.core.ResourceField;\nimport com.b... | java | chosen |
[
{
"from": "system",
"value": "[Genomics]: Make it easier to run the SAM indexer on a single file.\n"
},
{
"from": "human",
"value": "package com.github.sparkcaller.preprocessing;\n\nimport htsjdk.samtools.BAMIndexer;\nimport htsjdk.samtools.SamReader;\nimport htsjdk.samtools.SamReaderFactory;\ni... | java | chosen |
[
{
"from": "system",
"value": "Replace findAll with complicated search operation\n"
},
{
"from": "human",
"value": "package at.ac.tuwien.inso.repository;\n\nimport org.springframework.data.jpa.repository.Query;\nimport org.springframework.data.repository.CrudRepository;\n\nimport java.util.List;\... | java | chosen |
[
{
"from": "system",
"value": "Add method to get properties from resource.\n"
},
{
"from": "human",
"value": "package com.github.aureliano.achmed.resources;\n\nimport com.github.aureliano.achmed.resources.properties.IResourceProperties;\n\npublic interface IResource {\n\n\tpublic abstract void ap... | java | chosen |
[
{
"from": "system",
"value": "Comment was just not true anymore\n[ci skip]"
},
{
"from": "human",
"value": "package i5.las2peer.persistency;\n\n\n\n/**\n * The old XmlAble interface enforced an setStateFromXmlMethod.\n * \n * Due to several problems I decided to remove this method and leave the... | java | chosen |
[
{
"from": "system",
"value": "Change baseAim to 0, since we're using the Y axis\n"
},
{
"from": "human",
"value": "package edu.stuy.starlorn.entities;\n\nimport edu.stuy.starlorn.upgrades.GunUpgrade;\n\nimport java.util.LinkedList;\n\npublic class Ship extends Entity {\n protected LinkedList<... | java | chosen |
[
{
"from": "system",
"value": "Make Config GUIs easier to work with\n"
},
{
"from": "human",
"value": "package ljfa.tntutils.gui;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport ljfa.tntutils.Config;\nimport ljfa.tntutils.Reference;\nimport net.minecraft.client.gui.GuiScreen;\nim... | java | chosen |
[
{
"from": "system",
"value": "Fix NPE if property with @EL is null."
},
{
"from": "human",
"value": "package org.jboss.loom.utils.el;\n\n\nimport java.lang.reflect.Field;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\n/**\n *\n * @author Ondrej Zizka, ozizka at redhat.com\n */\np... | java | chosen |
[
{
"from": "system",
"value": "Use @ResponseBody to write exception message.\n"
},
{
"from": "human",
"value": "package org.talend.dataprep.exception;\n\nimport java.io.StringWriter;\n\nimport javax.servlet.http.HttpServletResponse;\n\nimport org.springframework.http.HttpEntity;\nimport org.sprin... | java | chosen |
[
{
"from": "system",
"value": "Modify interface to have public methods\n"
},
{
"from": "human",
"value": "package fault.metrics;\n\nimport fault.Status;\n\n/**\n * Created by timbrooks on 11/20/14.\n */\npublic interface ActionMetrics {\n int getFailuresForTimePeriod(int milliseconds);\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Add sample for using resources in plugin application\n"
},
{
"from": "human",
"value": "package net.wequick.example.small.app.main;\n\nimport android.app.Application;\nimport android.util.Log;\n\n/**\n * Created by Administrator on 2016/2/17.\n */\npublic class AppC... | java | chosen |
[
{
"from": "system",
"value": "Increment allowed cache size to 24mb\n"
},
{
"from": "human",
"value": "package com.michaldabski.utils;\n\nimport java.io.File;\n\nimport android.graphics.Bitmap;\nimport android.util.LruCache;\n\npublic class FilePreviewCache extends LruCache<File, Bitmap>\n{\n\tpu... | java | chosen |
[
{
"from": "system",
"value": "Make hashmaploader use Map instead of hashmap\n"
},
{
"from": "human",
"value": "package org.twig.loader;\n\nimport org.twig.exception.LoaderException;\n\nimport java.util.HashMap;\n\n/**\n * Used for unit tests only\n */\npublic class HashMapLoader implements Loade... | java | chosen |
[
{
"from": "system",
"value": "Update regex to fit DD/MM/YYYY format\n"
},
{
"from": "human",
"value": "package seedu.ezdo.model.todo;\n\n\nimport seedu.ezdo.commons.exceptions.IllegalValueException;\n\n\n/**\n * Represents the due date of a todo.\n */\npublic class DueDate {\n\n public static... | java | chosen |
[
{
"from": "system",
"value": "Remove continuum initialization from action, need another way to do it\n\ngit-svn-id: 1d22bf2b43db35b985fe5d7437c243537c14eeaa@432420 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "package org.apache.maven.continuum.web.action;\n\nimport org... | java | chosen |
[
{
"from": "system",
"value": "Fix wrong path in detail activity"
},
{
"from": "human",
"value": "package com.glasstunes;\r\n\r\nimport android.database.Cursor;\r\nimport android.net.Uri;\r\n\r\nimport com.glasstunes.cards.ActionCard;\r\nimport com.glasstunes.screenslide.CardFragment;\r\n\r\npubl... | java | chosen |
[
{
"from": "system",
"value": "Remove redundant access modifiers in interface.\n"
},
{
"from": "human",
"value": "package com.amee.service.item;\n\nimport com.amee.domain.IDataCategoryReference;\nimport com.amee.domain.data.DataCategory;\nimport com.amee.domain.item.BaseItemValue;\nimport com.ame... | java | chosen |
[
{
"from": "system",
"value": "Make default data context volatile\n\nSo that updates in one thread are seen by others.\n\nPart of #607\n"
},
{
"from": "human",
"value": "package org.orekit.data;\n\n/**\n * Holds a mutable static field since {@link DataContext} cannot.\n *\n * @author Evan Ward\n ... | java | chosen |
[
{
"from": "system",
"value": "Exclude noisy \"repairCost\" meta field\n"
},
{
"from": "human",
"value": "package roycurtis.signshopexport.json;\n\nimport com.google.gson.ExclusionStrategy;\nimport com.google.gson.FieldAttributes;\n\n/** Exclusions class for blacklisting objects and fields in Gso... | java | chosen |
[
{
"from": "system",
"value": "Refactor Out Unnecessary Public Abstract Keywords\n"
},
{
"from": "human",
"value": "/**\n * Created by Nathan_Zeplowitz on 4/14/15.\n */\ninterface Monster {\n public abstract void takeDamage(int amount);\n public abstract String name();\n public abstract ... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Make Togglz compatible to not embedded Tomcat\"\n\nThis reverts commit fb8050f0dc814c82eb422d3bbfbb9ed606b4f75e.\n"
},
{
"from": "human",
"value": "package de.otto.edison.togglz.configuration;\n\n\nimport org.springframework.beans.factory.annotation.Value;\... | java | chosen |
[
{
"from": "system",
"value": "Use constructor injection instead of member injection\n"
},
{
"from": "human",
"value": "package dk.kleistsvendsen;\n\nimport com.google.inject.Inject;\n\npublic class GameTimer implements IGameTimer {\n @Inject\n private ITicSource ticSource_;\n private lo... | java | chosen |
[
{
"from": "system",
"value": "Test to output some basic info - bundles deploy ok.\n"
},
{
"from": "human",
"value": "package org.osgi.test.cases.repository.junit;\n\nimport org.osgi.framework.Bundle;\nimport org.osgi.test.support.compatibility.DefaultTestBundleControl;\n\npublic class Repository... | java | chosen |
[
{
"from": "system",
"value": "Make the non-default time source volatile to avoid some threading issues\n"
},
{
"from": "human",
"value": "package beaform.utilities;\n\npublic class SystemTime {\n\n\tprivate static final TimeSource defaultSrc = new TimeSource(){\n\t\t@Override\n\t\tpublic long ge... | java | chosen |
[
{
"from": "system",
"value": "Use new path name to Models for test case\n"
},
{
"from": "human",
"value": "/*\n * To change this template, choose Tools | Templates\n * and open the template in the editor.\n */\npackage org.opensim.view;\n\nimport java.io.File;\nimport java.net.URL;\nimport java.... | java | chosen |
[
{
"from": "system",
"value": "Add offloader helper method for multiple\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 Peter Kenji Yamanaka\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": "Use a map for the collection of active modifiers\n"
},
{
"from": "human",
"value": "/*\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at htt... | java | chosen |
[
{
"from": "system",
"value": "Remove unnecessary assignment and cast\n"
},
{
"from": "human",
"value": "package heroku.template.service;\n\nimport heroku.template.model.Person;\n\nimport java.util.List;\n\nimport javax.persistence.EntityManager;\nimport javax.persistence.PersistenceContext;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Replace isNull with literal null\n"
},
{
"from": "human",
"value": "package j8spec;\n\nimport static j8spec.J8Spec.var;\nimport static java.util.Objects.isNull;\n\nclass VarInitializer<T> implements UnsafeBlock {\n\n private final Var<T> variable;\n private fi... | java | chosen |
[
{
"from": "system",
"value": "Normalize TEL: to tel: to make sure it works with Android\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2008 ZXing 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 Lic... | java | chosen |
[
{
"from": "system",
"value": "Use BorderBehavior instead of the deprecated MarkupComponentBorder\n\n\n\ngit-svn-id: 5a74b5304d8e7e474561603514f78b697e5d94c4@1180802 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) und... | java | chosen |
[
{
"from": "system",
"value": "Add square brackets around tags in logs in FabricUIManager\n\nSummary:\nSee title.\n\nChangelog: [Internal]\n\nDifferential Revision: D23257809\n\nfbshipit-source-id: b8e519971603506e8ae2b327582d3e3e7d65fddf\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) Fa... | java | chosen |
[
{
"from": "system",
"value": "Fix Evocation Illager animation on 1.12\n"
},
{
"from": "human",
"value": "package us.myles.ViaVersion.protocols.protocol1_12to1_11_1;\n\nimport us.myles.ViaVersion.api.Via;\nimport us.myles.ViaVersion.api.data.UserConnection;\nimport us.myles.ViaVersion.api.entitie... | java | chosen |
[
{
"from": "system",
"value": "Fix a warning and make field final\n\nDrive-by fix\n- additionalHeader should be final,\n- the class is not serializable, no uuid is needed\n\nChange-Id: I484b07e64942179d153e7c42ca32d753fb2a5b23\nSigned-off-by: Robert Varga <b8bd3df785fdc0ff42dd1710c5d91998513c57ef@cisco.com>\... | java | chosen |
[
{
"from": "system",
"value": "Implement method to store and get the temperature unit\n"
},
{
"from": "human",
"value": "package fr.tvbarthel.apps.simpleweatherforcast.utils;\n\n\nimport android.content.Context;\nimport android.content.SharedPreferences;\nimport android.content.SharedPreferences.... | java | chosen |
[
{
"from": "system",
"value": "Remove border from dialpad-button to hide the button style on ubuntu\n"
},
{
"from": "human",
"value": "/*\n * Jitsi, the OpenSource Java VoIP and Instant Messaging client.\n *\n * Distributable under LGPL license.\n * See terms of license at gnu.org.\n */\npackage ... | java | chosen |
[
{
"from": "system",
"value": "Allow Timber output from tests\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a cop... | java | chosen |
[
{
"from": "system",
"value": "[NCL-702] Check for null product version when triggering a configuration\n"
},
{
"from": "human",
"value": "package org.jboss.pnc.rest.trigger;\n\nimport com.google.common.base.Preconditions;\nimport org.jboss.pnc.core.builder.BuildCoordinator;\nimport org.jboss.pnc... | java | chosen |
[
{
"from": "system",
"value": "Comment out parser tests until we have a parser.\n\ngit-svn-id: a2312d33856acf09907bc700940b4d7cc158d4b3@80 89b902b4-d83f-0410-b942-89f7a419ffdb\n"
},
{
"from": "human",
"value": "package natlab;\n\nimport junit.framework.Test;\nimport junit.framework.TestSuite;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Throw exception if native returns null, until native is fixed"
},
{
"from": "human",
"value": "/* (C) 2014 Peter Conrad\n * All rights reserved.\n */\npackage de.quisquis.ec.impl.pp;\n\nimport de.quisquis.ec.Decrypter;\n\nimport java.security.PrivateKey;\nimport jav... | java | chosen |
[
{
"from": "system",
"value": "Set null instead of empty string when install referrer is blank\n"
},
{
"from": "human",
"value": "package com.growthbeat.link.handler;\n\nimport java.io.UnsupportedEncodingException;\nimport java.net.URLDecoder;\n\nimport android.content.Context;\nimport android.co... | java | chosen |
[
{
"from": "system",
"value": "Revert \"br/TACO-236: added permission needed string to route object\"\n\nThis reverts commit e489279952bad0b994cd52401a2b0e8b04f7710a.\n"
},
{
"from": "human",
"value": "package com.xjeffrose.xio.http;\n\nimport com.typesafe.config.ConfigFactory;\nimport java.util.... | java | chosen |
[
{
"from": "system",
"value": "Use ASM Opcodes version 8 so that it is compatible with Kotlin\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2018 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 ... | java | chosen |
[
{
"from": "system",
"value": "Clean up issue from IntelliJ\n"
},
{
"from": "human",
"value": "package edu.colorado.plv.cuanto.tinyjava;\n\npublic class ReturnFortytwoTest {\n public static int return42() {\n return 42;\n }\n\n public static class EmptyMainTest {\n public s... | java | chosen |
[
{
"from": "system",
"value": "Revert \"populate the name in the event list\"\n\nThis reverts commit 26cdf5c120aece5d7d1db2e21610bb46eaf35c30.\n"
},
{
"from": "human",
"value": "/**\n * This file is licensed under the University of Illinois/NCSA Open Source License. See LICENSE.TXT for details.\n... | java | chosen |
[
{
"from": "system",
"value": "Disable diagnostic logging for Commons-Logging initialization.\n"
},
{
"from": "human",
"value": "package org.pentaho.reporting.engine.classic.testcases;\n\npublic class FixAllBrokenLogging\n{\n public static void fixBrokenLogging()\n {\n System.setProperty(\"K... | java | chosen |
[
{
"from": "system",
"value": "Add serial number incrementation method\n"
},
{
"from": "human",
"value": "package org.cryptonit.cloud.timestamping;\n\nimport org.bouncycastle.tsp.*;\nimport org.bouncycastle.util.Store;\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport java.securi... | java | chosen |
[
{
"from": "system",
"value": "Remove unused import / stale comment\n"
},
{
"from": "human",
"value": "package org.commcare.android.adapters;\r\n\r\nimport android.annotation.SuppressLint;\r\nimport android.os.Parcel;\r\nimport android.os.Parcelable;\r\nimport android.view.View;\r\n\r\n/**\r\n * ... | java | chosen |
[
{
"from": "system",
"value": "Throw exception instead of returning null\n"
},
{
"from": "human",
"value": "package com.nitorcreations.willow.autoscaler.clouds.aws;\n\nimport com.amazonaws.regions.Region;\nimport com.amazonaws.regions.Regions;\nimport com.amazonaws.services.ec2.AmazonEC2Client;\n... | java | chosen |
[
{
"from": "system",
"value": "Add some debug logging to books that fail to register\n"
},
{
"from": "human",
"value": "package amerifrance.guideapi.util;\n\nimport amerifrance.guideapi.api.GuideAPI;\nimport amerifrance.guideapi.api.GuideBook;\nimport amerifrance.guideapi.api.IGuideBook;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Add feature: API reads JSON from file\n"
},
{
"from": "human",
"value": "package me.jacobcrofts.simplestructureloader.api;\n\nimport java.io.FileReader;\nimport java.io.FileWriter;\nimport java.io.IOException;\n\nimport org.json.simple.JSONObject;\nimport org.json.s... | java | chosen |
[
{
"from": "system",
"value": "Add log interrupted and stopped\n"
},
{
"from": "human",
"value": "package ru.nsu.ccfit.bogush.factory;\n\nimport org.apache.logging.log4j.LogManager;\nimport org.apache.logging.log4j.Logger;\n\npublic class Supplier<T extends CarFactoryObject> extends SimplePeriodi... | java | chosen |
[
{
"from": "system",
"value": "Add joystick to button manager\n"
},
{
"from": "human",
"value": "package org.robockets.stronghold.robot;\n\nimport org.robockets.buttonmanager.ButtonManager;\nimport org.robockets.buttonmanager.buttons.ActionButton;\nimport org.robockets.stronghold.robot.intake.Man... | java | chosen |
[
{
"from": "system",
"value": "Refactor service to contain only Score methods\n"
},
{
"from": "human",
"value": "package com.hp.oo.orchestrator.services.configuration;\n\nimport com.hp.oo.execution.debug.ExecutionInterrupt;\n\nimport java.util.List;\n\nimport static com.hp.oo.execution.debug.Exec... | java | chosen |
[
{
"from": "system",
"value": "[BJA-271]\nAdd synchronized keyword to prevent concurrency issues in lazy parsing\n"
},
{
"from": "human",
"value": "package org.bouncycastle.asn1;\n\nimport java.io.IOException;\nimport java.util.Enumeration;\n\npublic class LazyDERSequence\n extends DERSequence... | java | chosen |
[
{
"from": "system",
"value": "Add an api hook for gui bounds and scale.\n"
},
{
"from": "human",
"value": "package mnm.mods.tabbychat.api.gui;\n\nimport mnm.mods.util.gui.GuiComponent;\n\ninterface IGui<Gui extends GuiComponent> {\n\n /**\n * Gets this gui as its underlying gui type. Conv... | java | chosen |
[
{
"from": "system",
"value": "Save the default plugin configuration.\n\nSigned-off-by: Ian Macalinao <08370e385f4778cad8fe504ec5445edd3d45bd9a@gmail.com>\n"
},
{
"from": "human",
"value": "package com.simplyian.easydb;\n\nimport com.simplyian.easydb.command.DBReloadCommand;\nimport org.bukkit.pl... | java | chosen |
[
{
"from": "system",
"value": "Add fallback \"UNKNOWN\" notification type\n"
},
{
"from": "human",
"value": "package com.namelessmc.NamelessAPI;\n\npublic class Notification {\n\t\n\tprivate String message;\n\tprivate String url;\n\tprivate NotificationType type;\n\t\n\tpublic Notification(String... | java | chosen |
[
{
"from": "system",
"value": "Remove \"test\" prefix from test methods for consistency\n\nFixes #19.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015-2017 the original author or authors.\n *\n * All rights reserved. This program and the accompanying materials are\n * made available under... | java | chosen |
[
{
"from": "system",
"value": "Set window title in application\n"
},
{
"from": "human",
"value": "package rpi.lmsgrabber;\r\n\r\nimport java.io.IOException;\r\nimport javafx.application.Application;\r\nimport javafx.event.ActionEvent;\r\nimport javafx.event.EventHandler;\r\nimport javafx.scene.Sc... | java | chosen |
[
{
"from": "system",
"value": "Add Tag List Panel Handle to Main Gui Handle\n"
},
{
"from": "human",
"value": "package guitests.guihandles;\n\nimport guitests.GuiRobot;\nimport javafx.stage.Stage;\nimport seedu.todo.TestApp;\n\n/**\n * Provides a handle for the main GUI.\n */\npublic class MainGu... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Modified /blockghere so it places block beneath player\"\n\nThis reverts commit cecd55798926768236464c8782071cbd253f848a.\n"
},
{
"from": "human",
"value": "package info.tregmine.commands;\n\nimport org.bukkit.block.Block;\nimport org.bukkit.Location;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Remove the unused Location import\n"
},
{
"from": "human",
"value": "package edu.berkeley.eecs.emission.cordova.serversync;\n\nimport com.google.android.gms.location.LocationRequest;\n\nimport edu.berkeley.eecs.emission.cordova.tracker.Constants;\n\n/**\n * Created ... | java | chosen |
[
{
"from": "system",
"value": "Change default value for waittime for flush\n"
},
{
"from": "human",
"value": "package com.inmobi.messaging.consumer.databus;\n\nimport com.inmobi.databus.FSCheckpointProvider;\n\n/**\n * Configuration properties and their default values for {@link DatabusConsumer}\... | java | chosen |
[
{
"from": "system",
"value": "Update group name for STUDY_ADMINISTRATOR to match Padmaja's change\n\n\ngit-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@727 0d517254-b314-0410-acde-c619094fa49f\n"
},
{
"from": "human",
"value": "package edu.northwestern.bioinformatics.studycalendar.utils.acce... | java | chosen |
[
{
"from": "system",
"value": "Fix request class to serializable\n"
},
{
"from": "human",
"value": "package city;\n\nimport java.io.Serializable;\n\n/**\n * Created by jherez on 6/11/16.\n */\npublic class Request implements Serializable{\n public Intersection origin;\n public DropoffPoint ... | java | chosen |
[
{
"from": "system",
"value": "Enable integration-test to start investigating why it fails\n"
},
{
"from": "human",
"value": "package org.apache.poi.benchmark.suite;\n\nimport org.openjdk.jmh.annotations.Benchmark;\nimport org.openjdk.jmh.annotations.Setup;\n\nimport java.io.IOException;\n\npubli... | java | chosen |
[
{
"from": "system",
"value": "Add equals to sendContact object\n"
},
{
"from": "human",
"value": "package com.mailjet.client.transactional;\n\npublic class SendContact {\n /**\n * Represents an object with email and name (optional) that can be used as To, Cc, Bcc, From etc\n * @param ... | java | chosen |
[
{
"from": "system",
"value": "Use different approach to determine line index of caret\n"
},
{
"from": "human",
"value": "package org.fxmisc.richtext.keyboard.navigation;\n\nimport javafx.stage.Stage;\nimport org.fxmisc.richtext.InlineCssTextAreaAppTest;\nimport org.junit.Rule;\nimport org.junit.... | java | chosen |
[
{
"from": "system",
"value": "Fix a bug where Java SCS did not generate TAN correct from file\n"
},
{
"from": "human",
"value": "package scs;\n\nimport java.io.File;\nimport java.io.IOException;\nimport java.nio.charset.Charset;\nimport java.nio.file.Files;\nimport java.util.List;\n\n/**\n * Cre... | java | chosen |
[
{
"from": "system",
"value": "Fix loading of posts (lob) (again)\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 EuregJUG.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a ... | java | chosen |
[
{
"from": "system",
"value": "Remove tenantId attribute, it's not used at all"
},
{
"from": "human",
"value": "package com.rcarrillocruz.android.openstackdroid;\n\nimport java.io.UnsupportedEncodingException;\n\nimport org.apache.http.client.methods.HttpPost;\nimport org.apache.http.client.metho... | java | chosen |
[
{
"from": "system",
"value": "Add a property to set the FeatureRealizer used by created sequences.\n\n\ngit-svn-id: ed25c26de1c5325e8eb0deed0b990ab8af8a4def@781 7c6358e6-4a41-0410-a743-a5b2a554c398\n"
},
{
"from": "human",
"value": "/*\n * BioJava development code\n *\n * This... | java | chosen |
[
{
"from": "system",
"value": "Fix unit test for DeprecationLogger\n\n#689\n+review REVIEW-6216\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 i... | java | chosen |
[
{
"from": "system",
"value": "Remove the smoke tests, since they seem to occasionally trigger bugs in the DBMS\n"
},
{
"from": "human",
"value": "package sqlancer;\n\nimport static org.junit.jupiter.api.Assertions.assertEquals;\n\nimport org.junit.jupiter.api.Test;\n\npublic class TestMain {\n\n... | java | chosen |
[
{
"from": "system",
"value": "Move to Elemental2 for JSON utils\n"
},
{
"from": "human",
"value": "package replicant;\n\nimport com.google.gwt.core.client.JavaScriptObject;\nimport com.google.gwt.core.client.JsonUtils;\nimport java.util.Objects;\nimport javax.annotation.Nonnull;\nimport javax.an... | java | chosen |
[
{
"from": "system",
"value": "webadmin: Remove host device table repeated column.\n\nFix Bug #9493. Remove host device table repeated column result from\nHost Device Filter.\n\nSigned-off-by: wxt <c9605f97150d9d79b5b5f5ac50b5b2762db512c6@gmail.com>\n"
},
{
"from": "human",
"value": "package org.... | java | chosen |
[
{
"from": "system",
"value": "Replace assertTrue(x == y) with assertEquals(x, y)\n"
},
{
"from": "human",
"value": "package rxbroadcast;\n\nimport nl.jqno.equalsverifier.EqualsVerifier;\nimport org.junit.Assert;\nimport org.junit.Test;\n\npublic final class SenderTest {\n @Test\n public fi... | java | chosen |
[
{
"from": "system",
"value": "Remove '/ws' and '/websocket' parts from KeycloakAuthenticationFilter binding\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2012-2017 Red Hat, Inc.\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms ... | java | chosen |
[
{
"from": "system",
"value": "Remove dependencies to API from tools (ant, maven, javaflow agent, cdi agent)\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2013-2017 Valery Silaev (http://vsilaev.com)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not... | java | chosen |
[
{
"from": "system",
"value": "Remove completed lines evaluator since it lowers overall performance\n"
},
{
"from": "human",
"value": "package com.srs.tetris.bob.evaluator;\n\n/**\n * The best known combination of evaluators.\n */\npublic class SapientEvaluator extends CompositeEvaluator {\n\tpri... | java | chosen |
[
{
"from": "system",
"value": "Remove extraneous currency field from transfer schedules.\n"
},
{
"from": "human",
"value": "package co.omise.models.schedules;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\n\npublic class TransferScheduling {\n private String recipient;\n private ... | java | chosen |
[
{
"from": "system",
"value": "Remove useless code for up navigation\n"
},
{
"from": "human",
"value": "package fr.utc.assos.uvweb.ui.activity;\n\nimport android.os.Bundle;\nimport android.support.v4.app.NavUtils;\nimport android.view.MenuItem;\nimport android.widget.TextView;\n\nimport fr.utc.as... | java | chosen |
[
{
"from": "system",
"value": "Use medieval font to the outcome text\n"
},
{
"from": "human",
"value": "package br.odb.menu;\n\nimport android.app.Activity;\nimport android.os.Bundle;\nimport android.widget.TextView;\n\nimport br.odb.knights.R;\n\npublic class ShowOutcomeActivity extends Activity... | java | chosen |
[
{
"from": "system",
"value": "Disable tooltip for short messages\n"
},
{
"from": "human",
"value": "package org.bitbucket.mlopatkin.android.logviewer;\r\n\r\nimport org.apache.commons.lang3.StringEscapeUtils;\r\n\r\n\r\npublic class ToolTippedCellRenderer extends PriorityColoredCellRenderer {\r\... | java | chosen |
[
{
"from": "system",
"value": "Add database server names and fromString() method\n"
},
{
"from": "human",
"value": "/**\n * Narvaro: @VERSION@\n * Build Date: @DATE@\n * Commit Head: @HEAD@\n * JDK: @JDK@\n * ANT: @ANT@\n *\n */\n\npackage edu.csus.ecs.moneybeets.narvaro.database;\n\n/**\n * Narv... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.