conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Revert \"Added exception is scan rank is 0 which it is when scanning broken.\"\n\nThis reverts commit 5b0d56cecfec5abfff80fb28173ff07807c657cd.\n"
},
{
"from": "human",
"value": "package org.eclipse.scanning.api.scan.rank;\r\n\r\nimport org.eclipse.scanning.api.poin... | java | chosen |
[
{
"from": "system",
"value": "Remove comment superseded by support library changes\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 Juliane Lehmann <jl@lambdasoup.com>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compli... | java | chosen |
[
{
"from": "system",
"value": "Fix particle data being marked as non-null.\n"
},
{
"from": "human",
"value": "package com.github.steveice10.mc.protocol.data.game.world.particle;\n\nimport lombok.AllArgsConstructor;\nimport lombok.Data;\nimport lombok.NonNull;\n\n@Data\n@AllArgsConstructor\npublic... | java | chosen |
[
{
"from": "system",
"value": "Make test use configuration logic\n"
},
{
"from": "human",
"value": "package io.iron.ironmq;\n\nimport java.io.IOException;\n\nimport org.junit.Assert;\nimport org.junit.Assume;\nimport org.junit.Before;\nimport org.junit.Test;\n\npublic class IronMQTest {\n priv... | java | chosen |
[
{
"from": "system",
"value": "Use sulfuras handler in main class\n"
},
{
"from": "human",
"value": "package com.gildedrose;\n\nimport com.gildedrose.handler.FactoryHandler;\nimport com.gildedrose.handler.ItemHandler;\n\nimport static com.gildedrose.ItemOperations.decreaseSellin;\n\nclass GildedR... | java | chosen |
[
{
"from": "system",
"value": "Add final to method parameters\n"
},
{
"from": "human",
"value": "package rod;\n\npublic class DummyAnalyzer implements Analyzer {\n\n private ObservationToCommandMapping observationToCommand;\n\n public void setObservationToCommand(ObservationToCommandMapping... | java | chosen |
[
{
"from": "system",
"value": "Fix typo \"erroreous\" -> \"erroneous\" (twice)s.\n\n\ngit-svn-id: 169764d5f12c41a1cff66b81d896619f3ce5473d@750 5e0a886f-7f45-49c5-bc19-40643649e37f\n"
},
{
"from": "human",
"value": "package kawa.lang;\n\n/**\n * Class used to mark an erroreous expression\n * @auth... | java | chosen |
[
{
"from": "system",
"value": "Remove log-level prefix from incoming Sbt log messages\n\nTo avoid a double log-level prefix to all messages, remove the one coming in\nfrom Sbt. The one that Maven generates will do fine.\n"
},
{
"from": "human",
"value": "package sbt_inc;\n\nimport org.apache.mav... | java | chosen |
[
{
"from": "system",
"value": "Reduce primes calculated by a factor of ten.\n"
},
{
"from": "human",
"value": "package com.rmd.personal.projecteuler;\r\n\r\nimport java.util.Date;\r\nimport java.util.LinkedList;\r\nimport java.util.List;\r\n\r\npublic final class Common {\r\n\r\n private stati... | java | chosen |
[
{
"from": "system",
"value": "IFS-5895: Add support for totals to other costs rows\n"
},
{
"from": "human",
"value": "package org.innovateuk.ifs.project.grantofferletter.viewmodel;\n\nimport java.math.BigDecimal;\nimport java.util.Collection;\nimport java.util.List;\nimport java.util.Map;\n\nimp... | java | chosen |
[
{
"from": "system",
"value": "Add error handling for missing resource\n"
},
{
"from": "human",
"value": "package org.commcare.utils;\n\nimport android.content.Context;\n\nimport org.commcare.util.ArrayDataSource;\n\n/**\n * ArrayDataSource that uses the Android 'values' resources\n */\n\npublic ... | java | chosen |
[
{
"from": "system",
"value": "Fix current script repl include\n"
},
{
"from": "human",
"value": "package com.juliacomputing.jldt.eclipse.ui.console;\n\nimport org.eclipse.core.runtime.CoreException;\nimport org.eclipse.core.runtime.IProgressMonitor;\nimport org.eclipse.debug.core.ILaunch;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Use DrawableCompat to tint drawables\n"
},
{
"from": "human",
"value": "package io.github.hidroh.materialistic;\n\nimport android.content.Context;\nimport android.graphics.PorterDuff;\nimport android.graphics.drawable.Drawable;\nimport android.support.v4.content.Con... | java | chosen |
[
{
"from": "system",
"value": "Add margin to the bottommost message\n"
},
{
"from": "human",
"value": "package com.zulip.android.viewholders;\n\nimport android.content.Context;\nimport android.graphics.Rect;\nimport android.support.v7.widget.RecyclerView;\nimport android.util.TypedValue;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Edit GUI robot sleep time\n"
},
{
"from": "human",
"value": "package guitests.guihandles;\n\nimport guitests.GuiRobot;\nimport javafx.stage.Stage;\n\n/**\n * A handle to the Command Box in the GUI.\n */\npublic class CommandBoxHandle extends GuiHandle{\n\n public... | java | chosen |
[
{
"from": "system",
"value": "Use L&F that is available on JDK 1.3\n\ngit-svn-id: fe6d842192ccfb78748eb71580d1ce65f168b559@1344 9830eeb5-ddf4-0310-9ef7-f4b9a3e3227e\n"
},
{
"from": "human",
"value": "package com.thoughtworks.acceptance;\n\nimport javax.swing.DefaultListModel;\nimport javax.swing... | java | chosen |
[
{
"from": "system",
"value": "Include a missing asObject(Float obj) method.\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2011 Jeppetto and Jonathan Thompson\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance wit... | java | chosen |
[
{
"from": "system",
"value": "Make ScatterShot not use derp angles\n"
},
{
"from": "human",
"value": "package edu.stuy.starlorn.upgrades;\n\npublic class ScatterShotUpgrade extends GunUpgrade {\n\n public ScatterShotUpgrade() {\n super();\n _name = \"Scattershot\";\n _des... | java | chosen |
[
{
"from": "system",
"value": "Return back input stream in getContent\n"
},
{
"from": "human",
"value": "package id.kodekreatif.cordova.PDFDigiSign;\n\nimport java.io.InputStream;\nimport java.io.IOException;\nimport java.io.OutputStream;\n\nimport org.spongycastle.asn1.ASN1ObjectIdentifier;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Make CXF serialize date type in pre-defined format.\n"
},
{
"from": "human",
"value": "package com.zyeeda.framework.cxf;\r\n\r\nimport org.codehaus.jackson.jaxrs.JacksonJaxbJsonProvider;\r\nimport org.codehaus.jackson.map.ObjectMapper;\r\nimport org.codehaus.jackson... | java | chosen |
[
{
"from": "system",
"value": "Remove code which is already defined in base class\n"
},
{
"from": "human",
"value": "package org.edx.mobile.view;\n\nimport android.os.Bundle;\nimport android.view.Menu;\nimport android.view.MenuItem;\nimport org.edx.mobile.R;\nimport org.edx.mobile.base.BaseFragme... | java | chosen |
[
{
"from": "system",
"value": "Fix RavenFactoryTest to match the servlet test\n"
},
{
"from": "human",
"value": "package net.kencochrane.raven;\n\nimport org.hamcrest.Matchers;\nimport org.testng.annotations.Test;\n\nimport java.util.ServiceLoader;\n\nimport static org.hamcrest.MatcherAssert.asse... | java | chosen |
[
{
"from": "system",
"value": "Use logger instead of system out\n"
},
{
"from": "human",
"value": "/**\n * Copyright (c) Anton Johansson <antoon.johansson@gmail.com>\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": "Deploy a single listener for UDP as port reuse is not supported.\n"
},
{
"from": "human",
"value": "package com.codingchili.router;\n\nimport com.codingchili.router.configuration.ListenerSettings;\nimport com.codingchili.router.configuration.RouterContext;\nimport c... | java | chosen |
[
{
"from": "system",
"value": "Add session utility functions.\nRe-implement power resource so it loads devices instead of systems\n"
},
{
"from": "human",
"value": "package com.intuso.housemate.client.v1_0.rest;\n\nimport com.intuso.housemate.client.v1_0.api.object.System;\nimport com.intuso.hous... | java | chosen |
[
{
"from": "system",
"value": "Change the way to start ActivityC\n"
},
{
"from": "human",
"value": "package com.chanryma.fetchtopactivity;\n\nimport android.app.Activity;\nimport android.content.Intent;\nimport android.os.Bundle;\nimport android.view.View;\n\npublic class ActivityB extends Activi... | java | chosen |
[
{
"from": "system",
"value": "Add ability to name actions\n"
},
{
"from": "human",
"value": "package org.realityforge.arez.annotations;\n\nimport java.lang.annotation.ElementType;\nimport java.lang.annotation.Retention;\nimport java.lang.annotation.RetentionPolicy;\nimport java.lang.annotation.T... | java | chosen |
[
{
"from": "system",
"value": "Define renderer for deployment list view\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2014 Ushahidi.\n *\n * This program is free software: you can redistribute it and/or modify it under\n * the terms of the GNU Affero General Public License as published ... | java | chosen |
[
{
"from": "system",
"value": "Add a getter for the synapses input.\n"
},
{
"from": "human",
"value": "package org.neuralnetwork.synapse;\n\npublic abstract class AbstractSynapse<InputType, ValueType> {\n\tprivate final InputType input;\n\n\tpublic AbstractSynapse(InputType input) {\n\t\tthis.inp... | java | chosen |
[
{
"from": "system",
"value": "Replace \\n with %n so that tests work on Windows.\n"
},
{
"from": "human",
"value": "package cucumber.runtime.java.test;\n\nimport cucumber.api.java.en.Given;\nimport cucumber.api.java.en.Then;\nimport cucumber.api.java.en.When;\n\nimport java.util.HashMap;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Increase protocol version number (enforcing UTF-8 now)"
},
{
"from": "human",
"value": "package ch.tkuhn.nanopub.server;\n\npublic class NanopubServerUtils extends org.nanopub.extra.server.NanopubServerUtils {\n\n\t// Version numbers have the form MAJOR.MINOR (for e... | java | chosen |
[
{
"from": "system",
"value": "Make /mcnotify match the process of the other commands for getting the\nmcMMOPlayer object."
},
{
"from": "human",
"value": "package com.gmail.nossr50.commands;\n\nimport org.bukkit.command.Command;\nimport org.bukkit.command.CommandExecutor;\nimport org.bukkit.comm... | java | chosen |
[
{
"from": "system",
"value": "Add constants that can be used for an image when there isn't one avalable.\n"
},
{
"from": "human",
"value": "package com.jayseeofficial.marvel.rest.model;\n\nimport org.apache.commons.lang3.builder.ToStringBuilder;\n\nimport java.io.Serializable;\n\npublic class Im... | java | chosen |
[
{
"from": "system",
"value": "Resolve bug with twitter authorization.\n"
},
{
"from": "human",
"value": "package org.kefirsf.tk;\n\nimport twitter4j.Twitter;\nimport twitter4j.TwitterException;\n\n/**\n * Utilities for twitter.\n * @author Vitalii Samolovskikh aka Kefir\n */\npublic final class ... | java | chosen |
[
{
"from": "system",
"value": "Use syntax error when validating\n"
},
{
"from": "human",
"value": "package org.geotools.ysld.validate;\n\nimport org.geotools.filter.text.cql2.CQLException;\nimport org.geotools.filter.text.ecql.ECQL;\nimport org.opengis.filter.Filter;\nimport org.yaml.snakeyaml.ev... | java | chosen |
[
{
"from": "system",
"value": "Change AABB pool cleanup timing\n\nSigned-off-by: Ross Allan <ca2c77e14df1e7ee673215c1ef658354e220f471@gmail.com>\n"
},
{
"from": "human",
"value": "package me.nallar.patched;\r\n\r\nimport net.minecraft.network.TcpConnection;\r\nimport net.minecraft.server.ThreadMi... | java | chosen |
[
{
"from": "system",
"value": "Mark the unused Servlet Container callback methods as final to ensure subclasses do not rely upon them.\n"
},
{
"from": "human",
"value": "package org.springframework.security.ui;\n\nimport org.springframework.core.Ordered;\n\n\nimport javax.servlet.http.HttpServlet... | java | chosen |
[
{
"from": "system",
"value": "Throw the execution error of not a 404"
},
{
"from": "human",
"value": "package com.scoopit.example;\n\nimport com.scoopit.client.ScoopApiExecutionException;\nimport com.scoopit.client.ScoopClient;\nimport com.scoopit.model.Post;\nimport com.scoopit.model.Topic;\nim... | java | chosen |
[
{
"from": "system",
"value": "Add method onShow(boolean) to LayoutPanelbased page. It indicates the first show of the page.\n\ngit-svn-id: 1119f77b1e9a9b65230954af94f4d37570a443ef@918 7ef67a20-634e-90e6-9ab5-3f2075439470\n"
},
{
"from": "human",
"value": "package com.inepex.ineFrame.client.page;... | java | chosen |
[
{
"from": "system",
"value": "Add Logging configuration into Kie-ML server\n"
},
{
"from": "human",
"value": "package org.kie.server.swarm.ml;\n\n\nimport java.util.Arrays;\n\nimport org.kie.server.swarm.AbstractKieServerMain;\nimport org.wildfly.swarm.Swarm;\nimport org.wildfly.swarm.jaxrs.JAXR... | java | chosen |
[
{
"from": "system",
"value": "Fix unit test build failure\n\nWe didn't catch the failure because we tested against the fork instead\nof master. I think.\n"
},
{
"from": "human",
"value": "/*\n * Licensed to Elasticsearch under one or more contributor\n * license agreements. See the NOTICE file d... | java | chosen |
[
{
"from": "system",
"value": "Tweak pressure plate inventory rendering.\n"
},
{
"from": "human",
"value": "package carpentersblocks.renderer;\n\nimport net.minecraft.block.Block;\nimport net.minecraft.client.renderer.RenderBlocks;\nimport cpw.mods.fml.relauncher.Side;\nimport cpw.mods.fml.relaun... | java | chosen |
[
{
"from": "system",
"value": "[JAX-RS] Fix visibility of fields in the ResourceMethodInfo DTO\n"
},
{
"from": "human",
"value": "package org.osgi.service.jaxrs.runtime.dto;\n\nimport org.osgi.dto.DTO;\n\n/**\n * Represents information about a JAX-RS resource method.\n *\n * @NotThreadSafe\n * @a... | java | chosen |
[
{
"from": "system",
"value": "Add AARCH64 as an architecture to support Arm64 platform\n\nWe failed to generate aarch64 rpm when using the nebula ospackage\nplugin. Adding aarch64 as a supported arch should fix the issue.\n"
},
{
"from": "human",
"value": "package org.redline_rpm.header;\n\npubl... | java | chosen |
[
{
"from": "system",
"value": "Fix compilation issue on not latest JDKs\n"
},
{
"from": "human",
"value": "/*\n * (c) 2015 CenturyLink. 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 Licens... | java | chosen |
[
{
"from": "system",
"value": "Allow underscores and dashes in element names\n"
},
{
"from": "human",
"value": "package com.marklogic.hector;\n\nimport com.marklogic.spring.batch.columnmap.ColumnMapSerializer;\nimport org.apache.commons.lang3.StringEscapeUtils;\n\nimport java.util.Map;\n\n\npubli... | java | chosen |
[
{
"from": "system",
"value": "Remove semicolon! minor, minor, and even more minor.\n"
},
{
"from": "human",
"value": "package org.ingrahamrobotics.robottables.api;\n\npublic enum UpdateAction {\n /**\n * Used when a key is assigned a value for the first time in this client\n */\n N... | java | chosen |
[
{
"from": "system",
"value": "Support expanding prompting macro not from EDT (GO-9289)\n\nGitOrigin-RevId: fdded0455fbeb18873b49c90e2084b6fc2ecf487"
},
{
"from": "human",
"value": "/*\n * Copyright 2000-2011 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"... | java | chosen |
[
{
"from": "system",
"value": "Remove accidentally committed div by 1024 added for debugging purpose\nonly"
},
{
"from": "human",
"value": "// Copyright (c) 2012 Microsoft Corporation. All rights reserved.\n\npackage tlc2.tool.fp;\n\nimport java.io.IOException;\n\nimport tlc2.tool.fp.DiskFPSet;\... | java | chosen |
[
{
"from": "system",
"value": "Add a regex constant for checking empty field.\n"
},
{
"from": "human",
"value": "package com.basgeekball.awesomevalidation.utility;\n\npublic class RegexTemplate {\n\n public static final String TELEPHONE = \"(^\\\\+)?[0-9()-]*\";\n\n private RegexTemplate() ... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Update GitHub blog feed URL\"\n\nThis reverts commit 5b7a1ba116731b0e7302ff27b385504876ddd04e.\n"
},
{
"from": "human",
"value": "package com.gh4a.model;\n\nimport io.reactivex.Single;\nimport retrofit2.Response;\nimport retrofit2.http.GET;\nimport retrofit... | java | chosen |
[
{
"from": "system",
"value": "Handle up button in about screen toolbar\n"
},
{
"from": "human",
"value": "package net.squanchy.about;\n\nimport android.os.Bundle;\nimport android.support.annotation.Nullable;\nimport android.support.v7.widget.Toolbar;\n\nimport net.squanchy.R;\nimport net.squanch... | java | chosen |
[
{
"from": "system",
"value": "Breaking: Remove `@Override` of `createJSModules()`, removed in RN 0.47\n"
},
{
"from": "human",
"value": "package com.fabricio.vergal.RNWorkers;\n\nimport com.facebook.react.ReactPackage;\nimport com.facebook.react.bridge.JavaScriptModule;\nimport com.facebook.reac... | java | chosen |
[
{
"from": "system",
"value": "Fix crash in FAB background tint\nam: 9d42ab847a\n\n* commit '9d42ab847a9187fe54c53553a0593fad0aea9263':\n Fix crash in FAB background tint\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2014 The Android Open Source Project\n *\n * Licensed under the Apach... | java | chosen |
[
{
"from": "system",
"value": "Disable int tag collectors test\n"
},
{
"from": "human",
"value": "package edu.columbia.cs.psl.test.phosphor;\n\nimport org.junit.Test;\n\nimport java.util.Arrays;\nimport java.util.List;\nimport java.util.function.Supplier;\nimport java.util.stream.Collectors;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Update log inactivity to match fragment support.\n"
},
{
"from": "human",
"value": "package com.salvadordalvik.something;\n\nimport android.app.Activity;\nimport android.os.Bundle;\n\n/**\n * Created by matthewshepard on 1/31/14.\n */\npublic class LoginActivity ext... | java | chosen |
[
{
"from": "system",
"value": "Switch state immediately to DEAD state/do not schedule it\n"
},
{
"from": "human",
"value": "package org.zalando.nakadi.service.subscription.state;\n\nimport org.zalando.nakadi.service.subscription.StreamingContext;\n\nimport javax.annotation.Nullable;\nimport java.... | java | chosen |
[
{
"from": "system",
"value": "Set current time and date\n"
},
{
"from": "human",
"value": "package com.example.android.sunshine.app;\n\nimport android.app.Activity;\nimport android.os.Bundle;\nimport android.support.wearable.view.WatchViewStub;\nimport android.widget.TextView;\n\npublic class Ma... | java | chosen |
[
{
"from": "system",
"value": "Implement localization and fix existing localization to match changes\n"
},
{
"from": "human",
"value": "/* This file is part of RentalRooms for Bukkit, licensed under the MIT License (MIT).\n *\n * Copyright (c) JCThePants (www.jcwhatever.com)\n *\n * Permission is... | java | chosen |
[
{
"from": "system",
"value": "Fix evaluating complex spell properties on load\n"
},
{
"from": "human",
"value": "package com.elmakers.mine.bukkit.magic;\n\nimport java.util.HashSet;\nimport java.util.Set;\nimport javax.annotation.Nonnull;\nimport javax.annotation.Nullable;\n\nimport com.elmakers... | java | chosen |
[
{
"from": "system",
"value": "[android] Fix Android Expo Client crash when opening old experiences\n"
},
{
"from": "human",
"value": "// Copyright 2015-present 650 Industries. All rights reserved.\n\npackage host.exp.exponent.branch;\n\nimport android.app.Activity;\nimport android.app.Applicatio... | java | chosen |
[
{
"from": "system",
"value": "Use hasItem rather than contains\n"
},
{
"from": "human",
"value": "package net.kencochrane.raven;\n\nimport org.testng.annotations.Test;\n\nimport java.util.ServiceLoader;\n\nimport static org.hamcrest.MatcherAssert.assertThat;\nimport static org.hamcrest.Matchers.... | java | chosen |
[
{
"from": "system",
"value": "Swap deprecation warnings for deprecation\n"
},
{
"from": "human",
"value": "/*\n * #%L\n * Simmetrics Core\n * %%\n * Copyright (C) 2014 - 2015 Simmetrics Authors\n * %%\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this ... | java | chosen |
[
{
"from": "system",
"value": "Add task creation through JMS\n"
},
{
"from": "human",
"value": "package com.epam.cdp.jee.todo.jms.listener;\n\nimport lombok.extern.slf4j.Slf4j;\n\nimport javax.ejb.ActivationConfigProperty;\nimport javax.ejb.MessageDriven;\nimport javax.jms.Message;\nimport javax.... | java | chosen |
[
{
"from": "system",
"value": "Update test class with getExternalContext.\n\ngit-svn-id: 1a1fa68050bcaed5349a5b70a2a7ea3fbc73e3e8@949908 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributo... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Remove \"test\" prefix from test methods for consistency\"\n\nThis reverts commit 815ef75aa72e0af0998f27663ddb6c38d6afc5ba.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015-2017 the original author or authors.\n *\n * All rights reserved. This progr... | java | chosen |
[
{
"from": "system",
"value": "Change HTTP error for fallback: did not match standards.\n"
},
{
"from": "human",
"value": "package net.chibidevteam.apiversioning.controller;\n\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.http.HttpStatus;\nimport org.spri... | java | chosen |
[
{
"from": "system",
"value": "Use for-loop instead of while+iterator\n"
},
{
"from": "human",
"value": "package mib.microservice.commons.kafka;\n\nimport mib.microservice.commons.events.IEventConsumer;\nimport mib.microservice.commons.events.base.EventBase;\nimport kafka.consumer.ConsumerIterato... | java | chosen |
[
{
"from": "system",
"value": "Disable services except Userwebservice temporarily\n"
},
{
"from": "human",
"value": "/*\r\n * oxTrust is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.\r\n *\r\n * Copyright (c) 2014, Gluu\r\n */\r\n\r\npackage org.glu... | java | chosen |
[
{
"from": "system",
"value": "[TEXT-113] Add an interpolator string lookup. No long needs to subclass\nStrLookup."
},
{
"from": "human",
"value": "/*\r\n * Licensed to the Apache Software Foundation (ASF) under one or more\r\n * contributor license agreements. See the NOTICE file distributed wit... | java | chosen |
[
{
"from": "system",
"value": "Use file scope cache to detect main function in file\n"
},
{
"from": "human",
"value": "package org.jetbrains.kotlin.ui.launch;\n\nimport org.eclipse.core.expressions.PropertyTester;\nimport org.eclipse.core.resources.IFile;\nimport org.eclipse.core.runtime.IAdaptab... | java | chosen |
[
{
"from": "system",
"value": "Check if package protected visibility works\n"
},
{
"from": "human",
"value": "package com.proxerme.library.result.success;\n\nimport android.support.annotation.NonNull;\n\nimport com.afollestad.bridge.annotations.Body;\nimport com.proxerme.library.entity.News;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Split up testGetImages due to reason relating to NoSuchElementException\n"
},
{
"from": "human",
"value": "package com.clackathon.vuzii.api.instagram;\n\nimport org.junit.Test;\n\npublic class InstagramImageProviderTest {\n\n\t@Test\n\tpublic void testGetImages() th... | java | chosen |
[
{
"from": "system",
"value": "Add fader to the pagerAdapter\n"
},
{
"from": "human",
"value": "package dk.cmol.arduinorgb_controller;\n\nimport android.support.v4.app.Fragment;\nimport android.support.v4.app.FragmentManager;\nimport android.support.v4.app.FragmentPagerAdapter;\n\npublic class Me... | java | chosen |
[
{
"from": "system",
"value": "Revert \"ECP-1091: adds doc code BANCA to sync\"\n\nThis reverts commit 19e718aef4476fc16c30874c0a55c4bc7cc0f279.\n"
},
{
"from": "human",
"value": "package org.estatio.module.application.app;\n\nimport java.util.Arrays;\nimport java.util.List;\n\nimport org.apache.... | java | chosen |
[
{
"from": "system",
"value": "Add getters and setters for staff availability\n"
},
{
"from": "human",
"value": "package nuclibook.models;\n\nimport com.j256.ormlite.field.DatabaseField;\n\npublic class StaffAvailabilities {\n\n @DatabaseField(generatedId = true)\n private Integer id;\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Implement the getInstance() for the factory.\n"
},
{
"from": "human",
"value": "/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\... | java | chosen |
[
{
"from": "system",
"value": "Add protected log instance for subclass use (fix SiteDao not compiling)\n\nSVN-Revision: 90\n"
},
{
"from": "human",
"value": "package gov.nih.nci.cabig.caaers.dao;\n\nimport org.springframework.orm.hibernate3.support.HibernateDaoSupport;\nimport gov.nih.nci.cabig.c... | java | chosen |
[
{
"from": "system",
"value": "Make only left-button, unmasked clicks operate conflict buttons"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2013 Aaron Madlon-Kay <aaron@madlon-kay.com>\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of ... | java | chosen |
[
{
"from": "system",
"value": "Change specific driver version in Opera test\n"
},
{
"from": "human",
"value": "/*\r\n * (C) Copyright 2015 Boni Garcia (http://bonigarcia.github.io/)\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file excep... | java | chosen |
[
{
"from": "system",
"value": "Add getter to make Jackson happy\n"
},
{
"from": "human",
"value": "package com.hubspot.blazar.base;\n\nimport com.fasterxml.jackson.annotation.JsonCreator;\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.google.common.base.Predicate;\n\nimport ja... | java | chosen |
[
{
"from": "system",
"value": "Include approved/rejected/etc. in LabelInfo from /detail\n\nChange-Id: I7b630fa66cc2224fcdc3df3a2b881e4dd1cc3700\n"
},
{
"from": "human",
"value": "// Copyright (C) 2013 The Android Open Source Project\n//\n// Licensed under the Apache License, Version 2.0 (the \"Li... | java | chosen |
[
{
"from": "system",
"value": "Check for null before calling toString\n"
},
{
"from": "human",
"value": "package lt.nsg.jdbcglass.resultset;\n\nimport org.slf4j.Logger;\n\nimport java.sql.ResultSet;\nimport java.sql.ResultSetMetaData;\nimport java.sql.SQLException;\nimport java.util.ArrayList;\ni... | java | chosen |
[
{
"from": "system",
"value": "Add guard against production deletions\n"
},
{
"from": "human",
"value": "package ai.vespa.hosted.plugin;\n\nimport org.apache.maven.plugins.annotations.Mojo;\nimport org.apache.maven.plugins.annotations.Parameter;\n\n/**\n * Deploys a Vespa application package to t... | java | chosen |
[
{
"from": "system",
"value": "Add support for declaring admin menus directly in spring.xml without creating a class\n\ngit-svn-id: 8def386c603904b39326d3fc08add479b8279298@3699 fd808399-8219-4f14-9d4c-37719d9ec93d\n"
},
{
"from": "human",
"value": "package no.kantega.publishing.api.ui;\n\nimport... | java | chosen |
[
{
"from": "system",
"value": "Handle multiples of Fizz and Buzz"
},
{
"from": "human",
"value": "package remonsinnema.blog.fizzbuzz;\n\nimport java.util.Arrays;\nimport java.util.Collection;\n\n\npublic class FizzBuzz {\n\n private final Collection<Term> terms = Arrays.asList(new Term(3, \"Fizz... | java | chosen |
[
{
"from": "system",
"value": "Allow the topology to be rebuilt if needed\n\nChange-Id: Ie03c862a14ec3a9b0c117bd9a802ee2b9b815cc7\n"
},
{
"from": "human",
"value": "package monasca.common.streaming.storm;\n\nimport org.testng.annotations.AfterSuite;\nimport org.testng.annotations.BeforeSuite;\nim... | java | chosen |
[
{
"from": "system",
"value": "Check posix calls work on this platform\n"
},
{
"from": "human",
"value": "/**\n * Copyright (c) 2016, University of Glasgow. All Rights Reserved.\n *\n * Cloudera, Inc. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"). You may n... | java | chosen |
[
{
"from": "system",
"value": "Add constant name for attribute.value\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2012 Canoo Engineering AG.\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": "Insert source id in Relation\n"
},
{
"from": "human",
"value": "package com.sandjelkovic.dispatchd.api.dto;\n\nimport lombok.AllArgsConstructor;\nimport lombok.Data;\nimport lombok.RequiredArgsConstructor;\n\n/**\n * Created by stefan on 21.1.17..\n */\n\n@Data\n@Re... | java | chosen |
[
{
"from": "system",
"value": "Allow a type to have - in it's name which is not in spec but required for backward compatability.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 higherfrequencytrading.com\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you ma... | java | chosen |
[
{
"from": "system",
"value": "Remove the need for @Configuration annotation. Simplify!\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2015 Red Hat, Inc, and individual contributors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file exc... | java | chosen |
[
{
"from": "system",
"value": "Make unit test more stable"
},
{
"from": "human",
"value": "package at.ac.tuwien.kr.alpha.common;\n\nimport at.ac.tuwien.kr.alpha.grounder.parser.ProgramParser;\nimport org.junit.Test;\n\nimport static org.junit.Assert.assertEquals;\n\n/**\n * Copyright (c) 2018, th... | java | chosen |
[
{
"from": "system",
"value": "Insert new access token for testing.\n"
},
{
"from": "human",
"value": "package com.uwetrottmann.getglue;\n\nimport junit.framework.TestCase;\nimport org.apache.oltu.oauth2.common.exception.OAuthProblemException;\nimport org.apache.oltu.oauth2.common.exception.OAuth... | java | chosen |
[
{
"from": "system",
"value": "Add a register method and a getRegister Method"
},
{
"from": "human",
"value": "package info.u_team.u_team_core.util.registry;\n\nimport java.util.function.Supplier;\n\nimport net.minecraft.entity.*;\nimport net.minecraft.entity.EntityType.Builder;\nimport net.minec... | java | chosen |
[
{
"from": "system",
"value": "Replace usage of Math.sqrt in with Math.log\n\nLogFontScalar.java was (erroneously?) using Math.sqrt instead of Math.log to compute the leftSpan."
},
{
"from": "human",
"value": "package com.kennycason.kumo.font.scale;\n\n/**\n * Created by kenny on 6/30/14.\n */\np... | java | chosen |
[
{
"from": "system",
"value": "Make builder interface protected again\n"
},
{
"from": "human",
"value": "package lib.morkim.mfw.usecase;\n\n\npublic class TaskRequest {\n\n\tpublic static abstract class RequestBuilder<Req> implements Builder<Req> {\n\n\t}\n\n\tpublic interface Builder<Req> {\n\t\... | java | chosen |
[
{
"from": "system",
"value": "Include logger name for java util log handler\n\nWhen using the log4j java util logger bridge handler, logs now show\n`asciidoctor` instead of `unknown.jul.logger` for logger name.\n\nfixes #833\n"
},
{
"from": "human",
"value": "package org.asciidoctor.jruby.log.in... | java | chosen |
[
{
"from": "system",
"value": "Add dummy tag buttons in the menu\n"
},
{
"from": "human",
"value": "package com.soofw.trk;\n\nimport android.app.AlertDialog;\nimport android.app.AlertDialog.Builder;\nimport android.app.Dialog;\nimport android.content.Context;\nimport android.content.DialogInterfa... | java | chosen |
[
{
"from": "system",
"value": "Update task 5.3 lesson 1\n"
},
{
"from": "human",
"value": "package ru.spoddubnyak;\n\n public class ArrayRemovingDuplicates {\n public String[] sourceArray;\n \n public ArrayRemovingDuplicates(String[] sourceArray){\n this.sourceArray = sourceArray; ... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.