conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Remove usage of deprecated class.\n"
},
{
"from": "human",
"value": "/*\n * Java Genetic Algorithm Library (@__identifier__@).\n * Copyright (c) @__year__@ Franz Wilhelmstötter\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not... | java | chosen |
[
{
"from": "system",
"value": "Check OutputConfiguration for avoiding NPE\n"
},
{
"from": "human",
"value": "package com.cookpad.puree.outputs;\n\nimport com.cookpad.puree.PureeFilter;\nimport com.cookpad.puree.storage.PureeStorage;\n\nimport org.json.JSONException;\nimport org.json.JSONObject;\n... | java | chosen |
[
{
"from": "system",
"value": "Remove '-' from default username which some servers don't accept.\n"
},
{
"from": "human",
"value": "package com.brewtab.irc.client;\n\nimport com.brewtab.irc.impl.ClientFactoryImpl;\n\npublic abstract class ClientFactory {\n public static final int DEFAULT_PORT ... | java | chosen |
[
{
"from": "system",
"value": "Correct example formatting a bit.\n"
},
{
"from": "human",
"value": "package butterknife;\n\nimport java.lang.annotation.Retention;\nimport java.lang.annotation.Target;\n\nimport static java.lang.annotation.ElementType.FIELD;\nimport static java.lang.annotation.Rete... | java | chosen |
[
{
"from": "system",
"value": "Add missing user type 'Bot'.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Henrik Olsson\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 co... | java | chosen |
[
{
"from": "system",
"value": "Convert config values to string if casting fails\n"
},
{
"from": "human",
"value": "package com.github.games647.fastlogin.core;\n\nimport java.util.Map;\n\npublic class SharedConfig {\n\n private final Map<String, Object> configValues;\n\n public SharedConfig(... | java | chosen |
[
{
"from": "system",
"value": "Add a todo to re-enable WebSocket CSRF\n"
},
{
"from": "human",
"value": "package org.araymond.joal.web.config.security;\n\nimport org.araymond.joal.web.annotations.ConditionalOnWebUi;\nimport org.springframework.context.annotation.Configuration;\nimport org.springf... | java | chosen |
[
{
"from": "system",
"value": "Access static variable through class, not instance\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional inf... | java | chosen |
[
{
"from": "system",
"value": "Edit find command message example\n"
},
{
"from": "human",
"value": "package tars.logic.commands;\n\nimport java.util.Set;\n\n/**\n * Finds and lists all tasks in address book whose name contains any of the argument keywords.\n * Keyword matching is case sensitive.\... | java | chosen |
[
{
"from": "system",
"value": "[GSCOLLECT-622] Rename collection parameters to iterable.\n\ngit-svn-id: c173b60cd131fd691c78c4467fb70aa9fb29b506@18 d5c9223b-1aff-41ac-aadd-f810b4a99ac4\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2011 Goldman Sachs.\n *\n * Licensed under the Apache Licens... | java | chosen |
[
{
"from": "system",
"value": "Revert \"[FIND-324] Update username attribute name\"\n\nThis reverts commit 745eb3437d844b7fa7071a60763a34f3de31269a.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Hewlett-Packard Development Company, L.P.\n * Licensed under the MIT License (the \"License... | java | chosen |
[
{
"from": "system",
"value": "Remove redundant method. Use your first lambda expression.\n"
},
{
"from": "human",
"value": "package pl.niekoniecznie.polar.filesystem;\n\nimport java.io.IOException;\nimport java.util.ArrayList;\nimport java.util.List;\n\n/**\n * Created by ak on 07.04.15.\n */\np... | java | chosen |
[
{
"from": "system",
"value": "Make the stack trace visible in the logs when a test fails without mutation\n"
},
{
"from": "human",
"value": "package org.pitest.coverage.execute;\n\nimport org.pitest.testapi.Description;\nimport org.pitest.testapi.TestListener;\nimport org.pitest.testapi.TestResu... | java | chosen |
[
{
"from": "system",
"value": "Fix test on Java 10\n\ngit-svn-id: c1447309447e562cc43d70ade9fe6c70ff9b4cec@1830541 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. ... | java | chosen |
[
{
"from": "system",
"value": "Remove doc reference to missing class.\n"
},
{
"from": "human",
"value": "/*\n *******************************************************************************\n * Copyright (c) 2016 IBM Corp. and others\n *\n * Licensed under the Apache License, Version 2.0 (the \"L... | java | chosen |
[
{
"from": "system",
"value": "Remove other type of sicknote categories\n"
},
{
"from": "human",
"value": "package org.synyx.urlaubsverwaltung.sicknote;\n\n/**\n * Describes the category of sick note.\n */\npublic enum SickNoteCategory {\n\n SICK_NOTE(\"application.data.sicknotetype.sicknote\"... | java | chosen |
[
{
"from": "system",
"value": "Structure view contains value of \\def or \\let definition.\n"
},
{
"from": "human",
"value": "package nl.rubensten.texifyidea.structure;\n\nimport nl.rubensten.texifyidea.psi.LatexCommands;\nimport org.jetbrains.annotations.NotNull;\nimport org.jetbrains.annotation... | java | chosen |
[
{
"from": "system",
"value": "Add cors filter into query-side\n"
},
{
"from": "human",
"value": "package br.holandajunior.workaday;\n\nimport org.apache.activemq.broker.BrokerService;\nimport org.springframework.boot.SpringApplication;\nimport org.springframework.boot.autoconfigure.SpringBootApp... | java | chosen |
[
{
"from": "system",
"value": "Set useSSL=false on mysql connections\n"
},
{
"from": "human",
"value": "package com.elmakers.mine.bukkit.data;\n\nimport java.sql.Connection;\nimport java.sql.DriverManager;\nimport java.sql.SQLException;\n\nimport org.bukkit.configuration.ConfigurationSection;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Create framework for the servlet that will obtain the keyword campaigns from datastore.\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 ... | java | chosen |
[
{
"from": "system",
"value": "Add unit test to show that the callback method is called.\n"
},
{
"from": "human",
"value": "package com.iluwatar.callback;\n\nimport org.junit.Test;\n\nimport com.iluwatar.callback.App;\n\n/**\n * \n * Application test\n *\n */\npublic class AppTest {\n\n\t@Test\n\... | java | chosen |
[
{
"from": "system",
"value": "Add method that takes a password.\n"
},
{
"from": "human",
"value": "package com.box.androidsdk.content;\n\nimport com.box.androidsdk.content.models.BoxSession;\nimport com.box.androidsdk.content.models.BoxSharedLinkSession;\nimport com.box.androidsdk.content.reques... | java | chosen |
[
{
"from": "system",
"value": "Fix bug when user enter \"/\" or \"\\\" as directory\n\n#221\n"
},
{
"from": "human",
"value": "//@@author A0139961U\npackage seedu.tache.logic.parser;\n\nimport static seedu.tache.commons.core.Messages.MESSAGE_INVALID_DIRECTORY;\n\nimport java.io.File;\n\nimport se... | java | chosen |
[
{
"from": "system",
"value": "Use instanceof to avoid ClassCastException before explicit casting\n"
},
{
"from": "human",
"value": "package casting;\n\n/**\n * Casting Objects\n * - Casting object to superclass doesn't require explicit cast\n * - Casting object to subclass requires explicit cast... | java | chosen |
[
{
"from": "system",
"value": "Add supported for YYYY/MM/DD and YYYY-MM-DD formats.\n"
},
{
"from": "human",
"value": "package net.openhft.chronicle.wire;\n\nimport org.junit.Test;\n\nimport static net.openhft.chronicle.wire.MilliTimestampLongConverter.INSTANCE;\nimport static org.junit.Assert.as... | java | chosen |
[
{
"from": "system",
"value": "Throw if there are two metric sets with the same id.\n"
},
{
"from": "human",
"value": "// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.vespa.model.admin.monitoring.builder;\n\... | java | chosen |
[
{
"from": "system",
"value": "Use the hosts for each application\n"
},
{
"from": "human",
"value": "package se.arbetsformedlingen.venice.probe;\n\nimport se.arbetsformedlingen.venice.common.Application;\nimport se.arbetsformedlingen.venice.common.Host;\nimport se.arbetsformedlingen.venice.common... | java | chosen |
[
{
"from": "system",
"value": "Add encoded and decoded image dimensions\n\nReviewed By: oprisnik\n\nDifferential Revision: D18244312\n\nfbshipit-source-id: ee618aa0ef1a638e81922c33e0e0da27eea62f67\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * T... | java | chosen |
[
{
"from": "system",
"value": "Simplify box2d debug renderer init\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014-2015 See AUTHORS file.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You ... | java | chosen |
[
{
"from": "system",
"value": "Add utility methods for interface\n"
},
{
"from": "human",
"value": "package com.dtolabs.rundeck.core.dispatcher;\n\n/**\n * Created by greg on 5/26/16.\n */\npublic interface MutableDataContext extends DataContext, Mergable<DataContext> {\n void merge(DataContex... | java | chosen |
[
{
"from": "system",
"value": "Change int to long to pass id correctly\n"
},
{
"from": "human",
"value": "package org.qtrp.nadir.Activity;\n\nimport android.content.Intent;\nimport android.os.Bundle;\nimport android.support.design.widget.FloatingActionButton;\nimport android.support.design.widget... | java | chosen |
[
{
"from": "system",
"value": "Add second test for Y\n"
},
{
"from": "human",
"value": "/*\n * algorithms Copyright (C) 2015 Ratchet Robotics\n * This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.\n * This is free software, and you are welcome to redistribute it\n... | java | chosen |
[
{
"from": "system",
"value": "Use a List<String> rather than hard-coding newlines\n"
},
{
"from": "human",
"value": "package uk.ac.ic.wlgitbridge.snapshot.base;\n\nimport com.google.gson.JsonElement;\nimport uk.ac.ic.wlgitbridge.git.exception.SnapshotAPIException;\n\nimport java.util.Arrays;\nim... | java | chosen |
[
{
"from": "system",
"value": "Remove (nonexistant) method getname on mode objects"
},
{
"from": "human",
"value": "/*******************************************************************************\n * Copyright (c) 2014 Codenvy, S.A.\n * All rights reserved. This program and the accompanying mate... | java | chosen |
[
{
"from": "system",
"value": "Apply spotless java google code format\n"
},
{
"from": "human",
"value": "/*\n * Axelor Business Solutions\n *\n * Copyright (C) 2019 Axelor (<http://axelor.com>).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms o... | java | chosen |
[
{
"from": "system",
"value": "Add commented-out sealed and permits clause\n"
},
{
"from": "human",
"value": "package com.github.sormuras.bach.project;\n\nimport java.util.List;\nimport java.util.Map;\n\n/** A nominal space for modules. */\npublic interface Space {\n\n /**\n * Returns the list... | java | chosen |
[
{
"from": "system",
"value": "Fix bug where folders don't show up in \"save as\" dialog, preventing navigation into subfolders\n\ngit-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@13067 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3\n"
},
{
"from": "human",
"value": "/*\n * FindBugs - Find Bugs in Java... | java | chosen |
[
{
"from": "system",
"value": "Add missing javadoc and block constructors\n\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017 Daniel Pedraza-Arcega\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": "Allow HSQLDB to specify file path\n"
},
{
"from": "human",
"value": "package org.stevewinfield.suja.idk.storage;\n\npublic class HSQLDBStorageDriver implements StorageDriver {\n @Override\n public String getDriverName() {\n return \"hsqldb\";\n }\n\n... | java | chosen |
[
{
"from": "system",
"value": "Fix history file parser to allow nonexistent file.\n"
},
{
"from": "human",
"value": "\n/*\n * Copyright (C) 2015 Archie L. Cobbs. All rights reserved.\n */\n\npackage org.jsimpledb.cli.cmd;\n\nimport java.io.File;\nimport java.util.EnumSet;\nimport java.util.Map;\n... | java | chosen |
[
{
"from": "system",
"value": "Stop to writing to STD_OUT in tests\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2002-2012 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the Li... | java | chosen |
[
{
"from": "system",
"value": "Clarify AccessMode alternative in else.\n"
},
{
"from": "human",
"value": "package io.collap.bryg.compiler.ast.expression;\n\nimport io.collap.bryg.compiler.ast.AccessMode;\nimport io.collap.bryg.compiler.parser.BrygMethodVisitor;\nimport io.collap.bryg.compiler.par... | java | chosen |
[
{
"from": "system",
"value": "Allow GoCD to run on JDK 14\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2020 ThoughtWorks, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain ... | java | chosen |
[
{
"from": "system",
"value": "Use correct method for retrieving country code\n\nalso work around bug in CountryCode related to e.g. turkish locales\n"
},
{
"from": "human",
"value": "package com.youcruit.onfido.api.serialization;\n\nimport java.lang.reflect.Type;\n\nimport com.google.gson.JsonDe... | java | chosen |
[
{
"from": "system",
"value": "MAke list of ignored files by file iterator configurable\n"
},
{
"from": "human",
"value": "package dk.statsbiblioteket.newspaper.md5checker;\n\nimport dk.statsbiblioteket.medieplatform.autonomous.Batch;\nimport dk.statsbiblioteket.medieplatform.autonomous.iterator.... | java | chosen |
[
{
"from": "system",
"value": "Fix text typo in javadoc\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2015 Index Data\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 helper method to return domain name\n"
},
{
"from": "human",
"value": "// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.vespa.athenz.api;\n\n\n/**\n * @author bjorncs\n */\n... | java | chosen |
[
{
"from": "system",
"value": "Fix the lunch URL for Byns Bistro\n\nNo change to the parser, the page format is completely changed so I\nwill handle it separately.\n"
},
{
"from": "human",
"value": "package net.rebworks.lunchy.domain.places;\n\nimport net.rebworks.lunchy.domain.Place;\nimport net... | java | chosen |
[
{
"from": "system",
"value": "Remove 0x0a char at the end of authorization header value\n"
},
{
"from": "human",
"value": "package com.khmelenko.lab.travisclient.util;\n\nimport android.util.Base64;\n\n/**\n * Provides util methods related with encryption/decryption\n *\n * @author Dmytro Khmele... | java | chosen |
[
{
"from": "system",
"value": "Change commit to apply (SharedPreferences)\n"
},
{
"from": "human",
"value": "package hrv.band.aurora.view.fragment;\n\nimport android.app.AlertDialog;\nimport android.app.Dialog;\nimport android.app.DialogFragment;\nimport android.content.DialogInterface;\nimport a... | java | chosen |
[
{
"from": "system",
"value": "Set message to null rather than creating an empty MessageReference. Fixes a NPE.\n"
},
{
"from": "human",
"value": "package me.st28.flexseries.flexcore.debug;\n\nimport me.st28.flexseries.flexcore.message.MessageReference;\n\n/**\n * Represents the output of {@link... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Fix: Add new measure -> headCircumference\"\n\nThis reverts commit 152b8e73235be97cd989e9b39498fc351a71fc8c.\n"
},
{
"from": "human",
"value": "package sizebay.catalog.client.model;\n\nimport lombok.*;\n\n@Getter\n@Setter\n@EqualsAndHashCode\n@ToString\npub... | java | chosen |
[
{
"from": "system",
"value": "engine: Delete vnic profiles when removing a network\n\nThe patch removes vnic profiles when the network is\nbeing deleted from the system.\n\nChange-Id: I6472fb81262d7eb2cf6886a42ba17a637c804b22\nSigned-off-by: Moti Asayag <da1debb83a8e12b6e8822edf2c275f55cc51b720@redhat.com>\... | java | chosen |
[
{
"from": "system",
"value": "Add stop for unregister event bus\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016, The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.... | java | chosen |
[
{
"from": "system",
"value": "Use include patterns for swagger to avoid unintended includes\n\nReferences #14379\n"
},
{
"from": "human",
"value": "package net.contargo.iris.config;\n\nimport com.mangofactory.swagger.configuration.SpringSwaggerConfig;\nimport com.mangofactory.swagger.models.dto.... | java | chosen |
[
{
"from": "system",
"value": "Add rename key option so that its not forgotten later\n"
},
{
"from": "human",
"value": "package org.jusecase.properties.ui;\n\nimport javax.swing.*;\n\npublic class KeyListMenu extends JPopupMenu {\n public KeyListMenu() {\n JMenuItem newKey = new JMenuIt... | java | chosen |
[
{
"from": "system",
"value": "Use notifyAll() to update the period in blocked waitPeriod\n"
},
{
"from": "human",
"value": "package ru.nsu.ccfit.bogush.factory.thing.periodical;\n\nimport org.apache.logging.log4j.LogManager;\nimport org.apache.logging.log4j.Logger;\n\npublic class SimplePeriodic... | java | chosen |
[
{
"from": "system",
"value": "Add REASON_AGENT status update reasons\n"
},
{
"from": "human",
"value": "package com.hubspot.mesos.protos;\n\npublic enum MesosTaskStatusReason {\n REASON_COMMAND_EXECUTOR_FAILED, REASON_CONTAINER_LAUNCH_FAILED, REASON_CONTAINER_LIMITATION, REASON_CONTAINER_LIMIT... | java | chosen |
[
{
"from": "system",
"value": "Remove unused parameters from FramgentMvpDelegate\n"
},
{
"from": "human",
"value": "package com.alapshin.arctor.delegate;\n\nimport android.os.Bundle;\nimport android.support.annotation.Nullable;\nimport android.view.View;\n\nimport com.alapshin.arctor.presenter.Pr... | java | chosen |
[
{
"from": "system",
"value": "Remove common prefix from value type enum values\n"
},
{
"from": "human",
"value": "package nl.gmta.btrfs.structure.stream;\n\nenum BtrfsValueType {\n BTRFS_TLV_U8 (0x00),\n BTRFS_TLV_U16 (0x01),\n BTRFS_TLV_U32 (0x02),\n BTRFS_TLV_U64 ... | java | chosen |
[
{
"from": "system",
"value": "Move ViewExceptionMapper to an ExtendedExceptionMapper\n"
},
{
"from": "human",
"value": "package io.dropwizard.views;\n\nimport javax.ws.rs.WebApplicationException;\nimport javax.ws.rs.core.MediaType;\nimport javax.ws.rs.core.Response;\nimport javax.ws.rs.ext.Excep... | java | chosen |
[
{
"from": "system",
"value": "Complete the implementation of the Downloader, what a horrible thing :facepalm:\n"
},
{
"from": "human",
"value": "package com.bignerdranch.android.photogallery;\n\nimport android.os.HandlerThread;\nimport android.util.Log;\n\npublic class ThumbnailDownloader<T> ext... | java | chosen |
[
{
"from": "system",
"value": "Throw exception if target method marked with OnAction has invalid parameters\n"
},
{
"from": "human",
"value": "package io.tjeubaoit.android.mvc.annotation;\n\nimport java.lang.reflect.Method;\nimport java.util.HashMap;\nimport java.util.Map;\n\nimport io.tjeubaoit.... | java | chosen |
[
{
"from": "system",
"value": "Improve parameterized test with sources\n"
},
{
"from": "human",
"value": "package org.synyx.urlaubsverwaltung.calendar;\n\nimport org.junit.jupiter.api.BeforeEach;\nimport org.junit.jupiter.api.Test;\nimport org.junit.jupiter.params.ParameterizedTest;\nimport org.j... | java | chosen |
[
{
"from": "system",
"value": "Fix \"amount from\" for \"Small orders\"\n"
},
{
"from": "human",
"value": "package org.camunda.bpm.demo.orderconfirmation.config;\n\nimport org.camunda.bpm.demo.orderconfirmation.bean.RuleEntryDAO;\nimport org.camunda.bpm.demo.orderconfirmation.model.DiscountRuleEn... | java | chosen |
[
{
"from": "system",
"value": "Make NC a functional interface.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Adaptris Ltd.\n * \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain ... | java | chosen |
[
{
"from": "system",
"value": "Add addAll method for keyboardrow\n"
},
{
"from": "human",
"value": "package org.telegram.telegrambots.meta.api.objects.replykeyboard.buttons;\n\nimport org.telegram.telegrambots.meta.api.interfaces.Validable;\nimport org.telegram.telegrambots.meta.exceptions.Telegr... | java | chosen |
[
{
"from": "system",
"value": "Add Preconditions NPE check to pool release method\n\nReviewed By: oprisnik\n\nDifferential Revision: D14706933\n\nfbshipit-source-id: 5ef5a1dbee73ce1ec11533efeb61845fa15a61a5\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) Facebook, Inc. and its affiliates.... | java | chosen |
[
{
"from": "system",
"value": "Enable StrictMode for debug builds\n"
},
{
"from": "human",
"value": "package com.wkovacs64.mtorch;\n\nimport android.app.Application;\n\nimport timber.log.Timber;\n\npublic class CustomApplication extends Application {\n\n @Override\n public void onCreate() {... | java | chosen |
[
{
"from": "system",
"value": "Set a unique id to each Trackable Brand\n"
},
{
"from": "human",
"value": "package cgeo.geocaching.connector.trackable;\n\nimport cgeo.geocaching.CgeoApplication;\nimport cgeo.geocaching.R;\n\nimport org.eclipse.jdt.annotation.NonNull;\n\npublic enum TrackableBrand ... | java | chosen |
[
{
"from": "system",
"value": "Fix build error in test\n"
},
{
"from": "human",
"value": "/**\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for\n * license information.\n */\n\npackage com.microsoft.azure;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Change the implementation string to \"Path\"\n"
},
{
"from": "human",
"value": "package authoring.data;\n\nimport com.syntacticsugar.vooga.util.ResourceManager;\n\npublic class TileData {\n\n\tprivate static final String PATH = ResourceManager.getString(\"Path_name\... | java | chosen |
[
{
"from": "system",
"value": "Clean up enumerations in Bats Hotspot FIX Proxy 4.0\n"
},
{
"from": "human",
"value": "package com.paritytrading.philadelphia.hotspot;\n\n/**\n * Enumerations for Bats Hotspot FIX Proxy 4.0.\n */\npublic class HotspotEnumerations {\n\n /**\n * Values for CxlR... | java | chosen |
[
{
"from": "system",
"value": "Allow this ROD to consist of just the positions\n\n\ngit-svn-id: 4561c0a8f080806b19201efb9525134c00b76d40@1497 348d0f76-0448-11de-a6fe-93d51630548a\n"
},
{
"from": "human",
"value": "package org.broadinstitute.sting.gatk.refdata;\r\n\r\nimport org.broadinstitute.sti... | java | chosen |
[
{
"from": "system",
"value": "Fix breaking change in RN 0.47\n"
},
{
"from": "human",
"value": "package com.jamesisaac.rnbackgroundtask;\n\nimport android.app.Application;\nimport com.evernote.android.job.JobManager;\nimport com.facebook.react.ReactPackage;\nimport com.facebook.react.bridge.Java... | java | chosen |
[
{
"from": "system",
"value": "Complete the renaming by renaming the class, not just the file.\n"
},
{
"from": "human",
"value": "import org.apache.hadoop.io.IntWritable;\nimport org.apache.hadoop.io.Text;\nimport org.apache.hadoop.mapred.JobConf;\nimport org.apache.hadoop.mapred.Partitioner;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Clean local db and webapp references\n"
},
{
"from": "human",
"value": "package org.openmrs.reference.page;\n\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.Properties;\n\npublic class TestProperties {\... | java | chosen |
[
{
"from": "system",
"value": "Fix double screenshot preference when switching apps\n"
},
{
"from": "human",
"value": "package org.irmacard.cardemu.preferences;\n\nimport android.preference.PreferenceFragment;\n\nimport org.irmacard.cardemu.R;\n\npublic class ScreenshotPreferenceFragment extends ... | java | chosen |
[
{
"from": "system",
"value": "Rename config method and make an immutable copy\n"
},
{
"from": "human",
"value": "package com.salesforce.storm.spout.sideline;\n\nimport com.salesforce.storm.spout.sideline.config.SidelineSpoutConfig;\nimport com.salesforce.storm.spout.sideline.handler.SidelineSpou... | java | chosen |
[
{
"from": "system",
"value": "Set compatible_with=appengine on targets depended on by App Engine apps or by the App Engine runtime itself.\n\nThis CL has no immediate impact on the targets, but it has two consequences moving forward:\n- When google3 moves to Java 8, compatible_with=appengine targets will re... | java | chosen |
[
{
"from": "system",
"value": "Add stuff to make the xml body writer happy.\n"
},
{
"from": "human",
"value": "package org.rhq.metrics.restServlet;\n\n/**\n * Just a simple representation of a Link\n * @author Heiko W. Rupp\n */\npublic class SimpleLink {\n private final String rel;\n priva... | java | chosen |
[
{
"from": "system",
"value": "[18039] Refactor Redmine env constant names"
},
{
"from": "human",
"value": "package info.elexis.server.core.redmine.internal;\n\npublic class Constants {\n\t\n\t/**\n\t * Expected environment variable containing the api key to use for the redmine connection\n\t */\... | java | chosen |
[
{
"from": "system",
"value": "Fix wrong @Value for spark context configuration.\n"
},
{
"from": "human",
"value": "package org.talend.dataprep.dataset.configuration;\n\nimport java.util.UUID;\n\nimport org.apache.spark.SparkConf;\nimport org.apache.spark.SparkContext;\nimport org.springframework... | java | chosen |
[
{
"from": "system",
"value": "DanielWagnerHall: Use a file detector for Sauce tests\n\ngit-svn-id: aa1aa1384423cb28c2b1e29129bb3a91de1d9196@15219 07704840-8298-11de-bf8c-fd130f914ac9\n"
},
{
"from": "human",
"value": "package org.openqa.selenium.testing.drivers;\n\nimport com.google.common.base.... | java | chosen |
[
{
"from": "system",
"value": "Add new versions of Marionette for specific version test\n"
},
{
"from": "human",
"value": "/*\n * (C) Copyright 2016 Boni Garcia (http://bonigarcia.github.io/)\n *\n * All rights reserved. This program and the accompanying materials\n * are made available under the... | java | chosen |
[
{
"from": "system",
"value": "Add a fourth graph annotation style which highlights optional segments in blue.\n\ngit-svn-id: a0d2519504059b70a86a1ce51b726c2279190bad@25234 6e01202a-0783-4428-890a-84243c50cc2b\n"
},
{
"from": "human",
"value": "package org.concord.datagraph.analysis;\n\nimport ja... | java | chosen |
[
{
"from": "system",
"value": "Add content types to POST\n"
},
{
"from": "human",
"value": "package org.cryptonit.cloud.timestamping;\n\nimport java.io.IOException;\nimport javax.servlet.http.HttpServletRequest;\nimport javax.ws.rs.POST;\nimport javax.ws.rs.Path;\nimport javax.ws.rs.core.Context;... | java | chosen |
[
{
"from": "system",
"value": "Add get String from resource\n"
},
{
"from": "human",
"value": "package com.naijab.nextzytimeline.utility;\n\nimport android.content.Context;\nimport android.support.annotation.NonNull;\n\nimport com.naijab.nextzytimeline.R;\n\npublic class StringUtility {\n\n @N... | java | chosen |
[
{
"from": "system",
"value": "Make entity fall if there is no solid block below it.\n"
},
{
"from": "human",
"value": "package de.craften.plugins.educraft.luaapi.functions;\n\nimport de.craften.plugins.educraft.luaapi.EduCraftApiFunction;\nimport org.bukkit.Location;\nimport org.bukkit.block.Blo... | java | chosen |
[
{
"from": "system",
"value": "Add test for unsupported remove method\n"
},
{
"from": "human",
"value": "package org.nibor.autolink;\n\nimport org.junit.Test;\n\nimport java.util.Iterator;\nimport java.util.NoSuchElementException;\n\nimport static org.junit.Assert.*;\n\npublic class LinkExtractor... | java | chosen |
[
{
"from": "system",
"value": "StringTable: Revert to using ResourceUtil to load icons"
},
{
"from": "human",
"value": "/*******************************************************************************\n * Copyright (c) 2015-2016 Oak Ridge National Laboratory.\n * All rights reserved. This program... | java | chosen |
[
{
"from": "system",
"value": "Use file path to find catalog.xml file\n"
},
{
"from": "human",
"value": "package au.gov.ga.geodesy.support.spring;\n\nimport java.io.FileNotFoundException;\n\nimport org.springframework.context.annotation.Bean;\nimport org.springframework.context.annotation.Configu... | java | chosen |
[
{
"from": "system",
"value": "Change year to the current one\n\nThis was an error in previous commit.\n\nChange-Id: I1e76eb98e416e109e395d0ce4e41d30b271e4543\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2016 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"Lic... | java | chosen |
[
{
"from": "system",
"value": "Fix @GirafiStudios named sheep being able to be killed and triggering the entity display name filter\n"
},
{
"from": "human",
"value": "package joshie.progression.criteria.filters.entity;\n\nimport joshie.progression.api.criteria.ProgressionRule;\nimport joshie.prog... | java | chosen |
[
{
"from": "system",
"value": "Update point to fix equality problems.\n"
},
{
"from": "human",
"value": "package com.censoredsoftware.library.schematic;\n\npublic class Point {\n private final int X, Y, Z;\n private final World world;\n\n public Point(int X, int Y, int Z, World world) {\... | java | chosen |
[
{
"from": "system",
"value": "Allow EntityStateChanged for a procman in tests.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2018, TeamDev. All rights reserved.\n *\n * Redistribution and use in source and/or binary forms, with or without\n * modification, must retain the above copyright n... | java | chosen |
[
{
"from": "system",
"value": "Move tests to java 7\n"
},
{
"from": "human",
"value": "package edu.umass.cs.ciir.jfoley.chai.collections;\n\nimport org.junit.Test;\n\nimport java.util.Arrays;\nimport java.util.Set;\nimport java.util.stream.Collectors;\n\nimport static org.junit.Assert.assertEqual... | java | chosen |
[
{
"from": "system",
"value": "Fix save issue on configuration change"
},
{
"from": "human",
"value": "package org.jenkinsci.plugins.systemmessage;\r\n\r\nimport org.kohsuke.stapler.DataBoundConstructor;\r\n\r\nimport hudson.Extension;\r\nimport hudson.model.PageDecorator;\r\n\r\n@Extension\r\npu... | java | chosen |
[
{
"from": "system",
"value": "Set default page size to 100\n"
},
{
"from": "human",
"value": "package io.georocket.storage.indexed;\n\nimport io.georocket.constants.AddressConstants;\nimport io.georocket.storage.AsyncCursor;\nimport io.georocket.storage.MetadataStore;\nimport io.vertx.core.Async... | java | chosen |
[
{
"from": "system",
"value": "Add ProteomeMembership as valid search by field.\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.geneproduct;\n\n/**\n * Enumeration of all the parameters accepted by the gene product search endpoint\n */\npublic enum GeneProductParameters {\n TYPE_P... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.