conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Revert \"optimization of the transition between the pages\"\n\nThis reverts commit c4bc2d8c0db6a599fbeeb725de931f99b7edcfd2.\n"
},
{
"from": "human",
"value": "package kurs.zadania.adressbook.appmanager;\n\nimport org.openqa.selenium.By;\nimport org.openqa.selenium.... | java | chosen |
[
{
"from": "system",
"value": "Update LS Schleswig feed URL"
},
{
"from": "human",
"value": "/*\n * substitution-schedule-parser - Java library for parsing schools' substitution schedules\n * Copyright (c) 2017 Johan v. Forstner\n *\n * This Source Code Form is subject to the terms of the Mozilla... | java | chosen |
[
{
"from": "system",
"value": "Add Insert Realm in Presenter\n"
},
{
"from": "human",
"value": "package com.naijab.nextzytimeline.ui.people.addform;\n\nimport com.naijab.nextzytimeline.base.BaseMvpPresenter;\n\nimport io.realm.Realm;\n\npublic class AddPeopleFragmentPresenter extends BaseMvpPres... | java | chosen |
[
{
"from": "system",
"value": "Add test for building search requests\n"
},
{
"from": "human",
"value": "package org.tearsofaunicorn.auspost.domestic.postcode.search.model;\n\nimport org.junit.Test;\n\nimport static org.junit.Assert.*;\n\n/**\n * _TODO:_ Write summary\n */\npublic class SearchRequ... | java | chosen |
[
{
"from": "system",
"value": "gwt: Use new services.py reply format for login().\n"
},
{
"from": "human",
"value": "package ro.pub.cs.vmchecker.client.service.json;\n\nimport ro.pub.cs.vmchecker.client.model.AuthenticationResponse;\nimport ro.pub.cs.vmchecker.client.model.User;\n\nimport com.goo... | java | chosen |
[
{
"from": "system",
"value": "Replace T with void in create method.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016, Frederik Boster\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may... | java | chosen |
[
{
"from": "system",
"value": "Add method to get default file provider.\n"
},
{
"from": "human",
"value": "package com.github.aureliano.achmed.os;\n\nimport com.github.aureliano.achmed.command.CommandResponse;\nimport com.github.aureliano.achmed.os.pkg.IPackageManager;\nimport com.github.aurelian... | java | chosen |
[
{
"from": "system",
"value": "Change url path for simplifying"
},
{
"from": "human",
"value": "package com.sakamichi46.api;\n\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport com.sakamichi46.model.Member;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.stream.Collect... | java | chosen |
[
{
"from": "system",
"value": "Implement localization and fix existing localization to match changes\n"
},
{
"from": "human",
"value": "/* This file is part of MusicalRegions for Bukkit, licensed under the MIT License (MIT).\n *\n * Copyright (c) JCThePants (www.jcwhatever.com)\n *\n * Permission... | java | chosen |
[
{
"from": "system",
"value": "Fix silly bug where non-empty argument lists didn't work.\n"
},
{
"from": "human",
"value": "/* © 2012 David Given\n * This file is made available under the terms of the two-clause BSD\n * license. See the file COPYING in the distribution directory for the\n * full ... | java | chosen |
[
{
"from": "system",
"value": "Update entity renderer to use the new events"
},
{
"from": "human",
"value": "package info.u_team.u_team_test.init;\n\nimport info.u_team.u_team_core.util.registry.ClientRegistry;\nimport info.u_team.u_team_test.entity.render.TestLivingEntityRenderer;\nimport net.mi... | java | chosen |
[
{
"from": "system",
"value": "Add @Before method so that all extending tests cleanup the Redis database before executing\nThis makes sure we work starting from an empty database\n"
},
{
"from": "human",
"value": "package com.github.gabrielruiu.spring.cloud.config.redis;\n\nimport org.junit.runne... | java | chosen |
[
{
"from": "system",
"value": "Load dspace configFile before calling super.init()\n\nPrevents singletons from being initialized before DSpace config is\navailable\n"
},
{
"from": "human",
"value": "/*\n */\npackage org.datadryad.rest.servlet;\nimport com.sun.jersey.spi.container.servlet.ServletCo... | java | chosen |
[
{
"from": "system",
"value": "Remove duplicate word \"searchable\" in class Javadoc.\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.annotation.service.search;\n\nimport uk.ac.ebi.quickgo.annotation.common.document.AnnotationFields;\nimport uk.ac.ebi.quickgo.common.SearchableDocumen... | java | chosen |
[
{
"from": "system",
"value": "Add @NonNull to message parameter of overridden method log\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017 Martin Kamp Jensen\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with t... | java | chosen |
[
{
"from": "system",
"value": "Remove unused Joystick import from the main robot class.\n"
},
{
"from": "human",
"value": "/*----------------------------------------------------------------------------*/\n/* Copyright (c) FIRST 2008. All Rights Reserved. */\n/* Open So... | java | chosen |
[
{
"from": "system",
"value": "Add boolean return value to addProject\n"
},
{
"from": "human",
"value": "package com.example.beer.dao;\n\nimport javax.ejb.Singleton;\nimport javax.persistence.EntityManager;\nimport javax.persistence.NoResultException;\nimport javax.persistence.PersistenceContext;... | java | chosen |
[
{
"from": "system",
"value": "Fix to remove '-' when no run specified\n\n\ngit-svn-id: 907e4e34b61c8b36c3c46852ca75613c7936718f@672 52670e78-85c4-11dd-9ffd-cdf95c2cae98\n"
},
{
"from": "human",
"value": "// Copyright 2011 Google Inc. All Rights Reserved.\n\npackage org.cachebench;\n\nimport org.... | java | chosen |
[
{
"from": "system",
"value": "Make example integration test pass.\n"
},
{
"from": "human",
"value": "import org.junit.*;\n\nimport play.test.*;\nimport play.libs.F.*;\n\nimport static play.test.Helpers.*;\nimport static org.fest.assertions.Assertions.*;\n\n\npublic class IntegrationTest {\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Move the package as well as the group"
},
{
"from": "human",
"value": "package net.stickycode.stereotype.resource;\n\nimport net.stickycode.stereotype.ConfiguredComponent;\n\n/**\n * Interface used to mark of point where an external resource should be injected.\n * ... | java | chosen |
[
{
"from": "system",
"value": "Add 'opens' for reflective access\n"
},
{
"from": "human",
"value": "/*module io.xlate.validation {\n exports io.xlate.validation.constraints;\n\n requires jakarta.el.api;\n requires java.instrument;\n requires java.logging;\n requires java.management... | java | chosen |
[
{
"from": "system",
"value": "Add node and dpid information to L3 Forwarding API\n\nChange-Id: I06186d17b3a26e262caee612d9221994adc8ca1c\nSigned-off-by: Dave Tucker <38bd290b0ce167c92fc77aa50ad43e0fe89e0f98@redhat.com>\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2014 Red Hat, Inc.\n ... | java | chosen |
[
{
"from": "system",
"value": "Remove unused import in HelloWorld sample\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2016, WSO2 Inc. (http://wso2.com) All Rights Reserved.\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 hint on improved API in 7.2\n"
},
{
"from": "human",
"value": "package com.camunda.bpm.demo.extension_attributes_for_user_tasks;\n\nimport java.util.Collection;\nimport java.util.Date;\n\nimport org.camunda.bpm.engine.delegate.DelegateTask;\nimport org.camunda.b... | java | chosen |
[
{
"from": "system",
"value": "Add a helper method for auto-hiding and resizing the parent of a node\n"
},
{
"from": "human",
"value": "package moe.tristan.easyfxml.util;\n\nimport javafx.scene.Node;\nimport javafx.scene.layout.AnchorPane;\n\n/**\n * Small DOM-related utils for JavaFX nodes.\n */... | java | chosen |
[
{
"from": "system",
"value": "Improve efficiency by merging two loops accessing the same data into one loop\n"
},
{
"from": "human",
"value": "package com.google.sps.data;\n\nimport java.util.Iterator;\nimport java.util.LinkedHashSet;\nimport java.util.List;\nimport java.util.stream.Collectors;\... | java | chosen |
[
{
"from": "system",
"value": "Throw exception if null is provided as service interfaces array."
},
{
"from": "human",
"value": "/**\n * This file is part of Everit - Component Metadata.\n *\n * Everit - Component Metadata is free software: you can redistribute it and/or modify\n * it under the t... | java | chosen |
[
{
"from": "system",
"value": "Create a build for artifacts epic and feature for mock\n"
},
{
"from": "human",
"value": "package com.modesteam.urutau.builder;\n\nimport com.modesteam.urutau.model.Artifact;\nimport com.modesteam.urutau.model.User;\n\npublic class ArtifactBuilder {\n\tprivate Strin... | java | chosen |
[
{
"from": "system",
"value": "Fix failing tests due to test set up changes and make a start on MibResponse object to be used to restrict what is returned from the filter service\n"
},
{
"from": "human",
"value": "package uk.gov.dvla.services.filter;\r\n\r\nimport uk.gov.dvla.domain.ServiceResult... | java | chosen |
[
{
"from": "system",
"value": "Fix OpenFlow packets getting stuffed with \\0 bytes.\n"
},
{
"from": "human",
"value": "package eu.netide.lib.netip;\n\nimport org.jboss.netty.buffer.ChannelBuffer;\nimport org.jboss.netty.buffer.ChannelBuffers;\nimport org.projectfloodlight.openflow.protocol.OFMess... | java | chosen |
[
{
"from": "system",
"value": "Enable DB2Collector error path tests\n"
},
{
"from": "human",
"value": "package io.vertx.db2client.tck;\n\nimport java.util.function.BiConsumer;\nimport java.util.function.Function;\nimport java.util.function.Supplier;\n\nimport org.junit.ClassRule;\nimport org.juni... | java | chosen |
[
{
"from": "system",
"value": "Optimize plugin loading, add error messages\n"
},
{
"from": "human",
"value": "import java.io.*;\nimport java.net.*;\nimport java.util.*;\nimport java.net.ServerSocket;\n\npublic class JMP {\n public static void main(String[] args) throws IOException {\n S... | java | chosen |
[
{
"from": "system",
"value": "Remove trailing white spaces on all lines.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2010 Media Service Provider 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 Li... | java | chosen |
[
{
"from": "system",
"value": "Copy and paste is the devil"
},
{
"from": "human",
"value": "package stream.flarebot.flarebot.mod.modlog;\n\npublic enum ModAction {\n\n BAN(true, ModlogEvent.USER_BANNED),\n FORCE_BAN(true, ModlogEvent.USER_BANNED),\n TEMP_BAN(true, ModlogEvent.USER_TEMP_B... | java | chosen |
[
{
"from": "system",
"value": "[MMOCKRM-10] Add stubMethods for all new methods added to the interface of ArtifactStore to prevent LinkageErrors\n\ngit-svn-id: bd1f34fbfec48d91264778014075c1f6aa6d3f05@18309 52ab4f32-60fc-0310-b215-8acea882cd1b\n"
},
{
"from": "human",
"value": "package org.codeha... | java | chosen |
[
{
"from": "system",
"value": "Fix NPE when trying to reference delta port statistics via REST API\n\nChange-Id: Ic195d06e55bd4d8379ac28938e93105d6d181bf6\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014-present Open Networking Foundation\n *\n * Licensed under the Apache License, Version... | java | chosen |
[
{
"from": "system",
"value": "[JUnit] Use explicit encoding when getting bytes from String\n"
},
{
"from": "human",
"value": "package cucumber.runtime.junit;\n\nimport cucumber.runtime.io.Resource;\nimport cucumber.runtime.model.CucumberFeature;\nimport cucumber.runtime.model.FeatureParser;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Use computeIfAbsent to avoid concurrency issues\n\n(cherry picked from commit a79513112c7e3b46370deca6d3bb1b47432df00b)\n"
},
{
"from": "human",
"value": "package liquibase.executor;\n\nimport liquibase.database.Database;\nimport liquibase.exception.UnexpectedLiquib... | java | chosen |
[
{
"from": "system",
"value": "Make our attribute references final.\n"
},
{
"from": "human",
"value": "//\n// $Id$\n//\n// Nexus Core - a framework for developing distributed applications\n// http://github.com/samskivert/nexus/blob/master/LICENSE\n\npackage com.samskivert.nexus.distrib;\n\n/**\n ... | java | chosen |
[
{
"from": "system",
"value": "Allow for getting the inverse of a priority\n"
},
{
"from": "human",
"value": "package com.github.qrokodial.sparkle.events.util;\n\npublic enum Priority {\n /**\n * For core functionality. Do not use unless you know exactly what you're doing. If unsure, use {... | java | chosen |
[
{
"from": "system",
"value": "Change worldObj variable to world\n"
},
{
"from": "human",
"value": "package com.slugterra.entity.protoform;\r\n\r\nimport java.util.Random;\r\n\r\nimport net.minecraft.entity.EntityAgeable;\r\nimport net.minecraft.entity.SharedMonsterAttributes;\r\nimport net.minec... | java | chosen |
[
{
"from": "system",
"value": "Replace calculation with ready method\n"
},
{
"from": "human",
"value": "package io.fotoapparat.util;\n\nimport java.util.Comparator;\n\nimport io.fotoapparat.parameter.Size;\n\n/**\n * Comparator based on area of the given {@link Size} objects.\n */\npublic class C... | java | chosen |
[
{
"from": "system",
"value": "Drop <p> tags and replace </p> with <br>\n\nThis was causing an excessive amount of bottom padding"
},
{
"from": "human",
"value": "package com.github.mobile.android.util;\n\nimport android.text.Html.ImageGetter;\n\n/**\n * Html Utilities\n */\npublic class Html {\n... | java | chosen |
[
{
"from": "system",
"value": "Remove default serializer, caller must specify classname of serializer implementation\n"
},
{
"from": "human",
"value": "package com.graphicsengine.scene;\n\nimport com.graphicsengine.json.JSONSceneFactory;\n\n/**\n * Creates the sceneserializer implementations\n * ... | java | chosen |
[
{
"from": "system",
"value": "Check return value of read operation\n"
},
{
"from": "human",
"value": "package org.helioviewer.jhv.view.jp2view.io;\n\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.nio.ByteBuffer;\nimport java.nio.channels.ByteChannel;\n\nimport javax.annot... | java | chosen |
[
{
"from": "system",
"value": "Create and drop schema changes are done\n"
},
{
"from": "human",
"value": "package com.cloudskol.moviedroid.provider;\n\nimport android.content.Context;\nimport android.database.sqlite.SQLiteDatabase;\nimport android.database.sqlite.SQLiteOpenHelper;\nimport android... | java | chosen |
[
{
"from": "system",
"value": "Implement lots of new methods\n\nSigned-off-by: Nuno Azevedo <8c1e4f9df2ead62a44323c12422702b1d8dd9c90@gmail.com>\n"
},
{
"from": "human",
"value": "import Ice.Current;\nimport VideoStreaming.Stream;\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic cla... | java | chosen |
[
{
"from": "system",
"value": "Add Servlet Request Parameters Supports\n"
},
{
"from": "human",
"value": "package org.qfox.jestful.form;\n\nimport org.qfox.jestful.core.BeanContainer;\nimport org.qfox.jestful.core.Initialable;\nimport org.qfox.jestful.core.annotation.DELETE;\nimport org.qfox.jest... | java | chosen |
[
{
"from": "system",
"value": "Stop sorting sessions by ID (column removed)."
},
{
"from": "human",
"value": "package io.miti.beetle.cache;\n\nimport io.miti.beetle.model.Session;\n\nimport java.util.List;\n\npublic final class SessionCache {\n /** The one instance of the cache object. */\n pri... | java | chosen |
[
{
"from": "system",
"value": "Test for constructor and getId() by Sagel\n"
},
{
"from": "human",
"value": "package com.taxtelecom.chelnyedu.dropwizard;\n\nimport static org.fest.assertions.api.Assertions.assertThat;\nimport javax.ws.rs.core.Response;\nimport org.junit.Test;\nimport com.taxteleco... | java | chosen |
[
{
"from": "system",
"value": "Add res clear to example\n"
},
{
"from": "human",
"value": "package org.postgresql;\npublic class DriverClass {\npublic static String connectClass=\"org.postgresql.jdbc2.Connection\";\n}\n"
},
{
"from": "gpt",
"value": "package org.postgresql;\npublic cl... | java | chosen |
[
{
"from": "system",
"value": "Support @ColumnName on Constructor params.\n"
},
{
"from": "human",
"value": "package com.hubspot.rosetta.jackson;\n\nimport com.fasterxml.jackson.databind.PropertyNamingStrategy;\nimport com.fasterxml.jackson.databind.cfg.MapperConfig;\nimport com.fasterxml.jackson... | java | chosen |
[
{
"from": "system",
"value": "Update the permissions advisor to update rights\n"
},
{
"from": "human",
"value": "package uk.ac.ox.oucs.oauth.advisor;\n\nimport org.sakaiproject.authz.api.SecurityAdvisor;\n\nimport java.util.HashSet;\nimport java.util.Set;\n\n/**\n * Advisor used during test phas... | java | chosen |
[
{
"from": "system",
"value": "Apply cause message to the exception\n"
},
{
"from": "human",
"value": "package com.amebame.triton.service.cassandra;\n\nimport com.amebame.triton.exception.TritonRuntimeException;\n\npublic class TritonCassandraException extends TritonRuntimeException {\n\n\tprivat... | java | chosen |
[
{
"from": "system",
"value": "Include enum integer value logic in java SDK template.\n"
},
{
"from": "human",
"value": "package net.avalara.avatax.rest.client.enums;\n\n/*\n * AvaTax Software Development Kit for Java JRE based environments\n *\n * (c) 2004-2018 Avalara, Inc.\n *\n * For the full... | java | chosen |
[
{
"from": "system",
"value": "Use array of TimeRanges to store availability\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 o... | java | chosen |
[
{
"from": "system",
"value": "Add a constructor with Throwable\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 DataGenerator Contributors\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 * Yo... | java | chosen |
[
{
"from": "system",
"value": "DRILL-3819: Remove redundant check to ignore files beginning with '.'\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 wor... | java | chosen |
[
{
"from": "system",
"value": "Fix exporting number format builder via module information\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2020 Martin Winandy\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with\n * the L... | java | chosen |
[
{
"from": "system",
"value": "Set anti-aliasing ON for rounded corner boxes.\n"
},
{
"from": "human",
"value": "package org.openlca.app.editors.graphical.model;\n\nimport org.eclipse.draw2d.Graphics;\nimport org.eclipse.draw2d.IFigure;\nimport org.eclipse.draw2d.LineBorder;\nimport org.eclipse.d... | java | chosen |
[
{
"from": "system",
"value": "Write test: restyling newline char should not throw exception\n"
},
{
"from": "human",
"value": "package org.fxmisc.richtext.model;\n\nimport static org.junit.Assert.*;\n\nimport org.junit.Test;\n\npublic class ParagraphTest {\n\n // Tests that when concatenating... | java | chosen |
[
{
"from": "system",
"value": "Add some more startup logging\n"
},
{
"from": "human",
"value": "package pl.mkrystek.mkbot;\n\nimport static org.springframework.boot.Banner.Mode.OFF;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.boot.builder.SpringApplica... | java | chosen |
[
{
"from": "system",
"value": "Make NameTag available to modules\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 MovingBlocks\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": "Initialize Spass, add excute function and test method\n"
},
{
"from": "human",
"value": "package com.cordova.plugin.samsung.pass;\n\nimport org.apache.cordova.CordovaPlugin;\nimport org.apache.cordova.CallbackContext;\n\nimport com.samsung.android.sdk.SsdkUnsupporte... | java | chosen |
[
{
"from": "system",
"value": "Put back ClearCredential in Guice loading process\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2013 Netflix, 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... | java | chosen |
[
{
"from": "system",
"value": "Add an absent copyright notice\n"
},
{
"from": "human",
"value": "package com.microsoft.alm.plugin.idea.common.settings;\n\nimport com.intellij.util.messages.Topic;\nimport org.jetbrains.annotations.NotNull;\n\npublic interface SettingsChangedNotifier {\n Topic<S... | java | chosen |
[
{
"from": "system",
"value": "Improve getAcceptedParameterTypes method along the lines of the respective improvement in the ActivateMethod class in Rev. 982605\n\ngit-svn-id: e057f57e93a604d3b43d277ae69bde5ebf332112@982613 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/... | java | chosen |
[
{
"from": "system",
"value": "Add a prevention from NPE\n"
},
{
"from": "human",
"value": "package com.Acrobot.ChestShop.Listeners.Player;\n\nimport org.bukkit.event.EventHandler;\nimport org.bukkit.event.Listener;\nimport org.bukkit.event.inventory.InventoryType;\nimport org.bukkit.event.player... | java | chosen |
[
{
"from": "system",
"value": "Update AceQLManager form to new L&L"
},
{
"from": "human",
"value": "/*\n * This file is part of AceQL HTTP.\n * AceQL HTTP: SQL Over HTTP \n * Copyright (C) 2021, KawanSoft SAS\n * (http://www.kawansoft.com). All rights reserved... | java | chosen |
[
{
"from": "system",
"value": "Add a constructor to datasetvalidation\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2015 LinkedIn Corp. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the... | java | chosen |
[
{
"from": "system",
"value": "Add missing creation and deletion SQLite invocations\n"
},
{
"from": "human",
"value": "package com.satsumasoftware.timetable.db;\n\nimport android.content.Context;\nimport android.database.sqlite.SQLiteDatabase;\nimport android.database.sqlite.SQLiteOpenHelper;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Change taskpane upon navigation menu selection"
},
{
"from": "human",
"value": "package devopsdistilled.operp.client.main;\n\nimport javax.inject.Inject;\nimport javax.swing.JComponent;\nimport javax.swing.JScrollPane;\nimport javax.swing.event.TreeSelectionEvent;\n... | java | chosen |
[
{
"from": "system",
"value": "Allow child classes to obtain db\n"
},
{
"from": "human",
"value": "package ru.ydn.wicket.wicketorientdb;\n\nimport org.apache.wicket.Application;\nimport org.apache.wicket.IApplicationListener;\n\nimport com.orientechnologies.orient.core.db.record.ODatabaseRecord;\... | java | chosen |
[
{
"from": "system",
"value": "Correct icon for web module\n"
},
{
"from": "human",
"value": "package com.intellij.openapi.module;\n\nimport com.intellij.ide.util.projectWizard.ModuleBuilder;\nimport com.intellij.openapi.application.ApplicationInfo;\nimport com.intellij.openapi.application.ex.App... | java | chosen |
[
{
"from": "system",
"value": "UPDATE: Use \":visible\" instead of \"android:visible\" to avoid confusion.\n"
},
{
"from": "human",
"value": "package com.oasisfeng.android.databinding.adapters;\n\nimport android.databinding.BindingAdapter;\nimport android.view.View;\n\n/**\n * Binding adapter for... | java | chosen |
[
{
"from": "system",
"value": "GS-8654: Add machine isolation API\nshorter key\n\nsvn path=/trunk/openspaces/; revision=83620\n\n\nFormer-commit-id: 2bab1678ffd82133a8e8506c17b9d505eb44706b"
},
{
"from": "human",
"value": "package org.openspaces.admin.internal.pu.elastic;\r\n\r\nimport java.util.... | java | chosen |
[
{
"from": "system",
"value": "Add Java test to read/write forces table from C3D along with markers table.\n"
},
{
"from": "human",
"value": "import java.io.File;\nimport org.opensim.modeling.*;\n\nclass TestDataAdapter {\n public static void test_C3DFileAdapter() {\n C3DFileAdapter c3d... | java | chosen |
[
{
"from": "system",
"value": "Add a todo comment for forms test case\n"
},
{
"from": "human",
"value": "package com.ushahidi.android.data.api.model;\n\nimport com.ushahidi.android.BuildConfig;\nimport com.ushahidi.android.data.api.BaseApiTestCase;\n\nimport org.junit.Before;\nimport org.junit.Te... | java | chosen |
[
{
"from": "system",
"value": "Make repositories return the id of a newly inserted row\n"
},
{
"from": "human",
"value": "package de.philipphager.disclosure.database.util;\n\nimport java.util.List;\nimport rx.Observable;\n\npublic interface Repository<T> {\n void add(T item);\n\n void add(Itera... | java | chosen |
[
{
"from": "system",
"value": "Increment visitors package because of newly added visitors\n"
},
{
"from": "human",
"value": "/*\n * #%L\n * ACS AEM Commons Bundle\n * %%\n * Copyright (C) 2016 Adobe\n * %%\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use t... | java | chosen |
[
{
"from": "system",
"value": "Add alternative undefined season which some media has\n"
},
{
"from": "human",
"value": "package com.proxerme.library.parameters;\n\nimport android.support.annotation.IntDef;\n\nimport java.lang.annotation.ElementType;\nimport java.lang.annotation.Retention;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Support loading classes that use system classloader\n"
},
{
"from": "human",
"value": "package fi.evident.apina.java.reader;\n\nimport fi.evident.apina.java.model.JavaClass;\n\nimport java.io.FileNotFoundException;\nimport java.io.IOException;\nimport java.io.InputS... | java | chosen |
[
{
"from": "system",
"value": "Fix package private modifier presence\n"
},
{
"from": "human",
"value": "package me.august.lumen.common;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic enum Modifier {\n\n PUBLIC(0x0001),\n PRIVATE(0x0002),\n PROTECTED(0x004),\n PACKAGE... | java | chosen |
[
{
"from": "system",
"value": "Remove unneeded specific test method\n"
},
{
"from": "human",
"value": "/*\n * =============================================================================\n * \n * Copyright (c) 2011-2013, The THYMELEAF team (http://www.thymeleaf.org)\n * \n * Licensed under t... | java | chosen |
[
{
"from": "system",
"value": "Fix Place spell with copy\n"
},
{
"from": "human",
"value": "package com.elmakers.mine.bukkit.plugins.magic.spells;\n\nimport org.bukkit.block.Block;\n\nimport com.elmakers.mine.bukkit.blocks.BlockList;\nimport com.elmakers.mine.bukkit.blocks.MaterialBrush;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Replace inner row/col by coord + add a coord-based constructor.\n"
},
{
"from": "human",
"value": "package org.goplayer.move;\n\nimport org.goplayer.util.Coord;\n\npublic class StoneMove implements IMove {\n\tprivate final Coord coord;\n\n\tpublic StoneMove(int row,... | java | chosen |
[
{
"from": "system",
"value": "Move some class references to imports.\n"
},
{
"from": "human",
"value": "package gx.realtime;\n\nimport gx.realtime.RealtimeLoader.InitializeModelCallback;\nimport gx.realtime.RealtimeLoader.HandleErrorsCallback;\n\n/**\n * Options (key/value) for the RealtimeLoade... | java | chosen |
[
{
"from": "system",
"value": "Call prompts on Swing thread\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2014 Red Hat, Inc. and/or its affiliates.\n *\n * Licensed under the Eclipse Public License version 1.0, available at\n * http://www.eclipse.org/legal/epl-v10.html\n */\npackage org.jbo... | java | chosen |
[
{
"from": "system",
"value": "Solve problem 65 (regex one-liner FTW!)\n"
},
{
"from": "human",
"value": "package leetcode;\n\n/**\n * https://leetcode.com/problems/valid-number/\n */\npublic class Problem65 {\n public boolean isNumber(String s) {\n return s.matches(\"\\\\s*(?:-|\\\\+)?... | java | chosen |
[
{
"from": "system",
"value": "Allow plugin to be disabled\n"
},
{
"from": "human",
"value": "package helpers;\n\nimport play.Play;\nimport play.libs.Codec;\nimport play.mvc.Http;\n\n/**\n * @author jtremeaux\n */\npublic class BasicAuthHelper {\n public static void unauthorized(Http.Response ... | java | chosen |
[
{
"from": "system",
"value": "Fix Sina App domain error\n"
},
{
"from": "human",
"value": "package io.github.izzyleung.zhihudailypurify.support;\n\nimport java.text.SimpleDateFormat;\n\npublic final class Constants {\n private Constants() {\n\n }\n\n public static final class Url {\n ... | java | chosen |
[
{
"from": "system",
"value": "Use new EntityAttributeCreationEvent for registering entity attributes"
},
{
"from": "human",
"value": "package info.u_team.u_team_test.init;\n\nimport info.u_team.u_team_test.entity.TestLivingEntity;\nimport net.minecraft.entity.ai.attributes.GlobalEntityTypeAttrib... | java | chosen |
[
{
"from": "system",
"value": "Use this instead of getBaseContext() (I did not realize services had a context of their own)\n"
},
{
"from": "human",
"value": "package com.expidev.gcmapp.service;\n\nimport android.app.IntentService;\nimport android.content.Intent;\nimport android.util.Log;\n\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Fix potential NPE in grenade spell.\n"
},
{
"from": "human",
"value": "package com.elmakers.mine.bukkit.plugins.magic.spells;\n\nimport org.bukkit.Location;\nimport org.bukkit.block.Block;\nimport org.bukkit.entity.EntityType;\nimport org.bukkit.entity.TNTPrimed;\ni... | java | chosen |
[
{
"from": "system",
"value": "Remove modificator from interface method\n"
},
{
"from": "human",
"value": "package ru.yandex.qatools.allure.data.providers;\n\nimport java.io.File;\n\n/**\n * @author Dmitry Baev charlie@yandex-team.ru\n * Date: 06.12.13\n */\npublic interface DataProvider ... | java | chosen |
[
{
"from": "system",
"value": "Fix typo, add beacon service bean\n"
},
{
"from": "human",
"value": "package com.aemreunal.config.controller;\n\n/*\n ***************************\n * Copyright (c) 2014 *\n * *\n * This code belongs to: *\n * *\... | java | chosen |
[
{
"from": "system",
"value": "Add test for shortened save command\n"
},
{
"from": "human",
"value": "package guitests;\n\nimport static seedu.ezdo.commons.core.Messages.MESSAGE_INVALID_COMMAND_FORMAT;\n\nimport org.junit.Test;\n\nimport seedu.ezdo.logic.commands.SaveCommand;\n\npublic class Save... | java | chosen |
[
{
"from": "system",
"value": "Test calling just defined function\n"
},
{
"from": "human",
"value": "package com.jedrzejewski.slisp.interpreter.specialforms;\n\nimport com.jedrzejewski.slisp.TestUtils;\nimport com.jedrzejewski.slisp.interpreter.Interpreter;\nimport com.jedrzejewski.slisp.parser.l... | java | chosen |
[
{
"from": "system",
"value": "Use GwtTestWrapper for GWT tests\n"
},
{
"from": "human",
"value": "/*******************************************************************************\r\n * Copyright 2011 See AUTHORS file.\r\n * \r\n * Licensed under the Apache License, Version 2.0 (the \"License\");... | java | chosen |
[
{
"from": "system",
"value": "Add a missing SDK suppression for migration test on platform backend.\n\nTest: Presubmit\n\nChange-Id: I743e5f77a088e7f260d6cc18541b7d9a204dc1f5\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2021 The Android Open Source Project\n *\n * Licensed under the Apach... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.