conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Increment minor version to 2.13 to prepare for a new release.\n\n-------------\nCreated by MOE: https://github.com/google/moe\nMOE_MIGRATED_REVID=155003222\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2015 Google Inc. All Rights Reserved.\n *\n * Licensed un... | java | chosen |
[
{
"from": "system",
"value": "Use library to print matrices.\n"
},
{
"from": "human",
"value": "import org.junit.Test;\n\nimport static org.junit.Assert.*;\n\npublic class Q6Test {\n\n interface RotateMatrix90 {\n void rotate90(int[][] mat);\n }\n\n public void testRotateMatrix90... | java | chosen |
[
{
"from": "system",
"value": "Revert \"- Update to work with images smaller than large definition, otherwise import fail\"\n\nThis reverts commit 23e5a075d09962427f477c600b27aec766086cdf.\n"
},
{
"from": "human",
"value": "package com.salesmanager.shop.model.catalog.product;\n\nimport java.io.Se... | java | chosen |
[
{
"from": "system",
"value": "Make test use new way to start slideshow activity\n"
},
{
"from": "human",
"value": "package de.fu_berlin.cdv.chasingpictures.activity;\n\nimport android.content.Intent;\nimport android.test.ActivityInstrumentationTestCase2;\n\nimport java.util.List;\n\nimport de.fu... | java | chosen |
[
{
"from": "system",
"value": "Fix password complexity validation: length between 8 and 255\n"
},
{
"from": "human",
"value": "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choose Tools | Templates\n * and open the template i... | java | chosen |
[
{
"from": "system",
"value": "JBEHAVE-243: Verify content of table as string.\n\ngit-svn-id: 1c3b30599278237804f5418c838e2a3e6391d478@1570 df8dfae0-ecdd-0310-b8d8-a050f7ac8317\n"
},
{
"from": "human",
"value": "package org.jbehave.scenario.definition;\n\nimport static java.util.Arrays.asList;\n... | java | chosen |
[
{
"from": "system",
"value": "Remove unnecessary call to getBodyAs()\n"
},
{
"from": "human",
"value": "package com.timehop.droidcon2014retrofitsample.data.foursquare.api;\n\nimport retrofit.ErrorHandler;\nimport retrofit.RetrofitError;\n\npublic class FoursquareErrorHandler implements ErrorHand... | java | chosen |
[
{
"from": "system",
"value": "Add local configuration to run unit tests\n"
},
{
"from": "human",
"value": "package io.gravitee.gateway.platforms.jetty;\n\nimport io.gravitee.gateway.core.PlatformContext;\nimport io.gravitee.gateway.core.Reactor;\nimport io.gravitee.gateway.core.Registry;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Fix a bug by missing the canceled status type\n"
},
{
"from": "human",
"value": "package fr.inria.spirals.jtravis.entities;\n\n/**\n * Business object to deal with status of the build or of the job in Travis CI API\n *\n * @author Simon Urli\n */\npublic enum BuildS... | java | chosen |
[
{
"from": "system",
"value": "Use all available memory for FPSet in FPSet tests.\n\n[Tests][TLC]"
},
{
"from": "human",
"value": "// Copyright (c) 2012 Markus Alexander Kuppe. All rights reserved.\npackage tlc2.tool.fp;\n\nimport java.io.IOException;\n\npublic class MultiThreadedMSBDiskFPSetTest... | java | chosen |
[
{
"from": "system",
"value": "Add the selector into process()\n"
},
{
"from": "human",
"value": "package fr.polytech.devops.g1.stataspoon.processors.operators.binary;\n\nimport spoon.processing.AbstractProcessor;\nimport spoon.reflect.code.BinaryOperatorKind;\nimport spoon.reflect.code.CtBinaryO... | java | chosen |
[
{
"from": "system",
"value": "Add toString, equals, hashcode overrides for scheduled executor\n"
},
{
"from": "human",
"value": "package execution;\n\nimport java.io.File;\n\nimport static spark.Spark.get;\nimport static spark.Spark.port;\n\n/**\n *\n * @author Jacob Rachiele\n * Jun. 14... | java | chosen |
[
{
"from": "system",
"value": "Change recursive type to Boolean\n"
},
{
"from": "human",
"value": "// Copyright 2019 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.vespa.hosted.controller.api.integration.configserver;\n\nimp... | java | chosen |
[
{
"from": "system",
"value": "Remove accidental use of java8 sdk.\n"
},
{
"from": "human",
"value": "package com.github.peterpaul.fn;\n\nimport javax.annotation.Nonnull;\nimport java.util.function.*;\n\npublic class Container<T> extends Supplier<Option<T>> {\n private T value;\n\n public v... | java | chosen |
[
{
"from": "system",
"value": "Change the way to set the default preferences\n\nChange-Id: I2d68b53b5030fbf04e2a2b190d3e3e7abacbfb1c\nSigned-off-by: Olivier Prouvost <922fcad8957c9a47efb13ab034b8bf0240ed7092@opcoach.com>\n"
},
{
"from": "human",
"value": "package com.opcoach.e4.preferences.exampl... | java | chosen |
[
{
"from": "system",
"value": "Send errorHandler messages through a logger (to change the log level if necessary)\n"
},
{
"from": "human",
"value": "package net.kencochrane.raven.logback;\n\nimport ch.qos.logback.core.CoreConstants;\nimport ch.qos.logback.core.status.Status;\nimport ch.qos.logbac... | java | chosen |
[
{
"from": "system",
"value": "Use DynamicScene, and load `boxes' example from XML file.\n\n\ngit-svn-id: a58cbee154157db216ea9cabc74ae3f0d9b0b68c@1311 3ab4d77f-209f-454f-af32-ffe4b78d429c\n"
},
{
"from": "human",
"value": "package de.kleppmann.maniation;\n\nimport de.kleppmann.maniation.dynamics... | java | chosen |
[
{
"from": "system",
"value": "Clean treatment files during read\n"
},
{
"from": "human",
"value": "package org.pdxfinder.dataloaders.updog;\n\nimport org.springframework.stereotype.Service;\nimport tech.tablesaw.api.Table;\n\nimport java.util.Map;\n\n@Service\npublic class TableSetCleaner {\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Fix checkstyle warnings in netconf-mapping-api.\n\nChange-Id: Ic0e339063aa79bc0c0338c33486e43fcdd29ef56\nSigned-off-by: Marian Dubai <cea8f5d408a6d9ff5b3cceec2a764cb46df038f1@cisco.com>\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2013 Cisco Systems, Inc.... | java | chosen |
[
{
"from": "system",
"value": "Clear language build console before building.\n"
},
{
"from": "human",
"value": "package org.metaborg.spoofax.eclipse.meta.build;\n\nimport java.io.PrintStream;\n\nimport org.apache.tools.ant.DefaultLogger;\nimport org.eclipse.ui.console.MessageConsole;\nimport org.... | java | chosen |
[
{
"from": "system",
"value": "Add secret key list unit test\n"
},
{
"from": "human",
"value": "package com.emc.ecs.managementClient;\n\nimport static org.junit.Assert.*;\n\nimport org.junit.After;\nimport org.junit.Before;\nimport org.junit.Test;\n\nimport com.emc.ecs.serviceBroker.EcsManagement... | java | chosen |
[
{
"from": "system",
"value": "Fix for NPE attempting to add listener for non-gae project\n"
},
{
"from": "human",
"value": "/*******************************************************************************\n * Copyright 2013 Google Inc. All Rights Reserved.\n *\n * All rights reserved. This progr... | java | chosen |
[
{
"from": "system",
"value": "Add comment for pure functions\n\n"
},
{
"from": "human",
"value": "package de.stevenschwenke.java.writingawesomejavacodeworkshop.part1JavaLanguageAndMethods.c04_purefunctions;\n\n/**\n * Pure functions can be used to write maintainable code that is much easier to d... | java | chosen |
[
{
"from": "system",
"value": "Set max inactive interval to 30 days\n"
},
{
"from": "human",
"value": "package com.jolocom.webidproxy;\r\n\r\nimport java.io.IOException;\r\n\r\nimport javax.servlet.ServletException;\r\nimport javax.servlet.http.HttpServletRequest;\r\nimport javax.servlet.http.Htt... | java | chosen |
[
{
"from": "system",
"value": "Add container entry list and serialization logic\n"
},
{
"from": "human",
"value": "package io.sigpipe.sing.graph;\n\npublic class DataContainer {\n\n public void merge(DataContainer container) {\n\n }\n\n public void clear() {\n\n }\n\n}\n"
},
{
... | java | chosen |
[
{
"from": "system",
"value": "Change the Export label to match style directives\n"
},
{
"from": "human",
"value": "package com.codenvy.ide.ext.datasource.client.sqllauncher;\n\nimport com.google.gwt.i18n.client.LocalizableResource.DefaultLocale;\nimport com.google.gwt.i18n.client.Messages;\n\n@D... | java | chosen |
[
{
"from": "system",
"value": "Update vaccine order requisition line item service\n"
},
{
"from": "human",
"value": "package org.openlmis.vaccine.service.VaccineOrderRequisitionServices;\n\nimport org.openlmis.vaccine.domain.VaccineOrderRequisition.VaccineOrderRequisitionLineItem;\nimport org.ope... | java | chosen |
[
{
"from": "system",
"value": "Clear image cache for onLowMemory()\n"
},
{
"from": "human",
"value": "package edu.rutgers.css.Rutgers;\n\nimport android.app.Application;\nimport android.content.Context;\nimport android.util.Log;\n\nimport edu.rutgers.css.Rutgers.api.Analytics;\n\npublic class MyA... | java | chosen |
[
{
"from": "system",
"value": "Add metrics for indexing documents\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2016-2021 Flux Capacitor.\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": "Add dynamic changable brainfuck arraylength\n"
},
{
"from": "human",
"value": "package dk.dtu.brainfuckcomp;\n\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBrainfuck bf = new Brainfuck(7);\n\t\t\n\t\tString str... | java | chosen |
[
{
"from": "system",
"value": "Add PrettyPrint for comp operators\n"
},
{
"from": "human",
"value": "import ast.*;\n\npublic class PrettyPrinter{\n\tpublic static String visit(Exp e){\n\t\tswitch(e.getClass().getSimpleName()) {\n\t\t\tcase \"Add\":\n\t\t\t\treturn \"(\"+ visit(((Bin)e).getLeft())... | java | chosen |
[
{
"from": "system",
"value": "Use block item in generic as we only use block item instances"
},
{
"from": "human",
"value": "package info.u_team.u_team_core.util.registry;\n\nimport java.util.function.Supplier;\n\nimport net.minecraft.block.Block;\nimport net.minecraft.item.Item;\nimport net.min... | java | chosen |
[
{
"from": "system",
"value": "Extend CustomGroovyNodeBuilder now as discussed on mailing list with Mauro.\n\ngit-svn-id: 12c26961da91f742cc34db10acb570e5af7eb648@2774 ac66bb80-72f5-0310-8d68-9f556cfffb23\n"
},
{
"from": "human",
"value": "/********************************************************... | java | chosen |
[
{
"from": "system",
"value": "Fix a problem where else rendering is messed up when an if is inside an if\n"
},
{
"from": "human",
"value": "/*\n * JBoss, Home of Professional Open Source.\n * Copyright 2014 Red Hat, Inc., and individual contributors\n * as indicated by the @author tags.\n *\n * ... | java | chosen |
[
{
"from": "system",
"value": "Add color sensor and setup loop to show sensor values\n"
},
{
"from": "human",
"value": "/* @(#)Main.java\n */\n/**\n *\n *\n * @author <a href=\"mailto:shannog@CF405-17.cs.wwu.edu\">Geoff Peter Shannon</a>\n */\npackage wall_follower;\n\nimport lejos.hardware.port.... | java | chosen |
[
{
"from": "system",
"value": "Add Neil Fincham's Lighthouse server to the random rotation - lighthouseprojects.io\n\nFixes issue #144.\n"
},
{
"from": "human",
"value": "package lighthouse;\n\nimport com.google.common.collect.*;\n\nimport java.util.*;\n\n/**\n * Hard-coded list of project server... | java | chosen |
[
{
"from": "system",
"value": "Fix implementation of sample application\n"
},
{
"from": "human",
"value": "package com.growthbeat.growthbeatsample;\n\nimport android.app.Activity;\nimport android.os.Bundle;\nimport android.view.Menu;\n\nimport com.growthbeat.Growthbeat;\nimport com.growthbeat.ana... | java | chosen |
[
{
"from": "system",
"value": "Set default output to root\n"
},
{
"from": "human",
"value": "import java.io.File;\n\n/**\n * Each instance of this class represents a You-Get process.\n * \n * @author Zhen Chen\n *\n */\n\npublic class YouGet implements Downloader {\n\tprivate static final String ... | java | chosen |
[
{
"from": "system",
"value": "Update loot table register to the new system"
},
{
"from": "human",
"value": "package info.u_team.u_team_core.intern.init;\n\nimport info.u_team.u_team_core.UCoreMod;\nimport info.u_team.u_team_core.intern.loot.SetTileEntityNBTLootFunction;\nimport net.minecraft.blo... | java | chosen |
[
{
"from": "system",
"value": "Revert \"disable test to test the codecov integration with gitter\"\n\nThis reverts commit bf534fa05ced8a2da868e174be9e8f685a218867.\n"
},
{
"from": "human",
"value": "package com.github.bogdanlivadariu.reporting.junit.builder;\n\nimport static org.junit.Assert.asse... | java | chosen |
[
{
"from": "system",
"value": "Update mod dependency info for Forestry 4, thanks @mezz\n"
},
{
"from": "human",
"value": "package modtweaker2;\n\npublic class ModProps {\n\n\tpublic static final String NAME = \"Mod Tweaker 2\", name = NAME;\n\tpublic static final String MODID = \"modtweaker2\", m... | java | chosen |
[
{
"from": "system",
"value": "Clean up unfinished idea in comment\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2013 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 obtai... | java | chosen |
[
{
"from": "system",
"value": "Fix updates of entities with polymorphic records\n"
},
{
"from": "human",
"value": "package org.marsik.elshelves.api.entities;\n\nimport lombok.Data;\nimport lombok.EqualsAndHashCode;\nimport lombok.NoArgsConstructor;\nimport org.marsik.elshelves.ember.EmberModel;\n... | java | chosen |
[
{
"from": "system",
"value": "Remove an unused import preventing compile with OpenJDK.\n\nImport can't be resolved if using OpenJDK, but turns out it was unused\nanyhow.\n"
},
{
"from": "human",
"value": "package liquibase.integration.cdi;\n\nimport com.sun.xml.internal.ws.util.QNameMap;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Fix crash on certain types of error response.\n"
},
{
"from": "human",
"value": "package com.newsblur.network.domain;\n\n/**\n * A generic response to an API call that only encapsuates success versus failure.\n */\npublic class NewsBlurResponse {\n\n\tpublic boolean... | java | chosen |
[
{
"from": "system",
"value": "Change quality status by new json result\n"
},
{
"from": "human",
"value": "package com.tw.go.task.sonarqualitygate;\n\nimport org.json.JSONArray;\nimport org.json.JSONObject;\n\n/**\n * Created by MarkusW on 22.10.2015.\n */\npublic class SonarParser\n{\n privat... | java | chosen |
[
{
"from": "system",
"value": "Improve message in @Disabled test\n"
},
{
"from": "human",
"value": "/*\n * (C) Copyright 2020 Boni Garcia (http://bonigarcia.github.io/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance wit... | java | chosen |
[
{
"from": "system",
"value": "Add method to retrieve the next tick mark\n"
},
{
"from": "human",
"value": "package io.sigpipe.sing.dataset;\n\nimport java.util.Iterator;\nimport java.util.NavigableSet;\nimport java.util.TreeSet;\n\nimport io.sigpipe.sing.dataset.feature.Feature;\n\npublic class ... | java | chosen |
[
{
"from": "system",
"value": "Add presenter methods to retrieve books by type"
},
{
"from": "human",
"value": "package com.verybadalloc.designlib.presenters;\n\n\nimport com.hannesdorfmann.mosby.mvp.MvpBasePresenter;\nimport com.verybadalloc.designlib.model.Book;\nimport com.verybadalloc.designl... | java | chosen |
[
{
"from": "system",
"value": "Allow multiple reasons for performance.\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 information reg... | java | chosen |
[
{
"from": "system",
"value": "Increase watermark by one everytime when an entry is written\n"
},
{
"from": "human",
"value": "package uk.gov;\n\nimport org.postgresql.util.PGobject;\n\nimport java.nio.charset.Charset;\nimport java.sql.PreparedStatement;\nimport java.sql.ResultSet;\nimport java.s... | java | chosen |
[
{
"from": "system",
"value": "Add parameters to raw type\n"
},
{
"from": "human",
"value": "package fitnesse.fixtures;\n\nimport java.util.Map;\nimport java.util.TreeMap;\n\npublic class HashFixture {\n\n private Map hash;\n\n public void sendAsHash(Map hash) {\n this.hash = hash;\n }\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Add new getter for qualifiedName\n\nChange-Id: I2a68a1c5f4bbc2f0cad4f92e47b0d1a062cd45ed\n"
},
{
"from": "human",
"value": "package org.kurento.modulecreator.definition;\n\npublic abstract class Type extends NamedElement {\n\n protected transient ModuleDefinition m... | java | chosen |
[
{
"from": "system",
"value": "Use the Charset constants in the JDK's StandardCharsets class instead of c.g.c.base.Charsets. The c.g.common.base.Charsets is scheduled for deletion.\n\nMore information: []\n\nTested:\n TAP train for global presubmit queue\n [] Some tests failed; test failures are bel... | java | chosen |
[
{
"from": "system",
"value": "Add support for Android TV YouTube app\n"
},
{
"from": "human",
"value": "package com.peterjosling.scroball.transforms;\n\nimport com.google.common.collect.ImmutableList;\nimport com.google.common.collect.ImmutableMultimap;\nimport com.peterjosling.scroball.Track;\n... | java | chosen |
[
{
"from": "system",
"value": "Add another, uh, unit test.\n"
},
{
"from": "human",
"value": "package unstar;\n\nimport org.junit.Test;\nimport static org.junit.Assert.*;\n\npublic class CrackerTest {\n\n @Test\n public void digitTest() {\n assertEquals(36, Cracker.DIGITS.length);\n ... | java | chosen |
[
{
"from": "system",
"value": "Include all test cases in one test class"
},
{
"from": "human",
"value": "package com.sibisoft.faizaniftikhartdd;\r\n\r\nimport static org.junit.Assert.*;\r\n\r\nimport org.junit.Test;\r\n\r\npublic class DollarTest \r\n{\r\n\t@Test\r\n\tpublic void testMultiplicati... | java | chosen |
[
{
"from": "system",
"value": "[log] Make branch colors a bit more calm\n"
},
{
"from": "human",
"value": "package com.intellij.vcs.log.graph.render;\n\nimport com.intellij.vcs.log.graph.elements.Branch;\nimport org.jetbrains.annotations.NotNull;\n\nimport java.awt.*;\nimport java.util.HashMap;\n... | java | chosen |
[
{
"from": "system",
"value": "Add useful addAll() metric to the suite\n"
},
{
"from": "human",
"value": "package com.custardsource.parfait.timing;\n\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\n\npublic class ThreadMetricSuite {\n private final List<Thr... | java | chosen |
[
{
"from": "system",
"value": "Remove reference to removed view\n"
},
{
"from": "human",
"value": "package org.vaadin.alump.searchdropdown.demo;\n\nimport javax.servlet.annotation.WebServlet;\n\nimport com.vaadin.annotations.Push;\nimport com.vaadin.annotations.Theme;\nimport com.vaadin.annotatio... | java | chosen |
[
{
"from": "system",
"value": "Update test codes to fit test target."
},
{
"from": "human",
"value": "package net.folab.fo.jast;\n\nimport static org.junit.Assert.*;\nimport static org.hamcrest.CoreMatchers.*;\nimport net.folab.fo.bytecode.ByteArrayClassLoader;\nimport net.folab.fo.jast.AstVisito... | java | chosen |
[
{
"from": "system",
"value": "Add possibility to use custom Interceptors\n"
},
{
"from": "human",
"value": "package org.knowm.xchange.interceptor;\n\nimport com.google.common.base.Suppliers;\nimport java.util.Collection;\nimport java.util.ServiceLoader;\nimport java.util.function.Supplier;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Add bearer tag to auth\n"
},
{
"from": "human",
"value": "package com.google.rolecall.authentication;\n\nimport com.google.rolecall.Constants;\nimport javax.servlet.http.HttpServletRequest;\nimport org.springframework.security.web.authentication.preauth.AbstractPreA... | java | chosen |
[
{
"from": "system",
"value": "Add shutdown code for logback's async appender"
},
{
"from": "human",
"value": " package basearch.integration;\r\n\r\nimport javax.servlet.ServletContextEvent;\r\nimport javax.servlet.ServletContextListener;\r\n\r\nimport org.slf4j.Logger;\r\nimport org.slf4j.Logger... | java | chosen |
[
{
"from": "system",
"value": "Return custom icon for custom events\n"
},
{
"from": "human",
"value": "package com.alexstyl.specialdates.events.peopleevents;\n\nimport com.alexstyl.specialdates.R;\nimport com.alexstyl.resources.StringResources;\nimport com.alexstyl.specialdates.events.database.Ev... | java | chosen |
[
{
"from": "system",
"value": "Set default table prefix as ` localhost.` "
},
{
"from": "human",
"value": "package com.coding4people.mosquitoreport.api.factories;\n\nimport java.util.Optional;\n\nimport javax.inject.Inject;\n\nimport org.glassfish.hk2.api.Factory;\n\nimport com.amazonaws.services... | java | chosen |
[
{
"from": "system",
"value": "Fix a rather embarrassing bug where HubMagic's pinging functionality would shut down after five minutes.\n"
},
{
"from": "human",
"value": "/**\n * Copyright © 2014 tuxed <write@imaginarycode.com>\n * This work is free. You can redistribute it and/or modify it under... | java | chosen |
[
{
"from": "system",
"value": "Fix clb analysis command name\n"
},
{
"from": "human",
"value": "package org.gbif.checklistbank.cli.analysis;\n\nimport org.gbif.cli.Command;\nimport org.gbif.cli.service.ServiceCommand;\n\nimport com.google.common.util.concurrent.Service;\nimport org.kohsuke.MetaIn... | java | chosen |
[
{
"from": "system",
"value": "Put license header in correct spot\n"
},
{
"from": "human",
"value": "package org.apache.camel.http.common;\n\n/**\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * th... | java | chosen |
[
{
"from": "system",
"value": "Add logging when flavors are updated\n"
},
{
"from": "human",
"value": "package enmasse.storage.controller.admin;\n\nimport com.fasterxml.jackson.databind.JsonNode;\nimport enmasse.storage.controller.model.FlavorConfig;\nimport enmasse.storage.controller.model.parse... | java | chosen |
[
{
"from": "system",
"value": "Add missing header and remove author tag.\n\ngit-svn-id: c3eb811ccca381e673aa62a65336ec26649ed58c@769115 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "package org.apache.sling.commons.json;\n\nimport junit.framework.TestCase;\n\n/**\n * @au... | java | chosen |
[
{
"from": "system",
"value": "Support grabbing avatars from new SCN"
},
{
"from": "human",
"value": "package com.sap.mentors.lemonaid.external;\n\nimport org.springframework.stereotype.Component;\n\n@Component\npublic class ScnImage {\n\n\tpublic String getProfilePhoto(final String scnUrl) {\n\t... | java | chosen |
[
{
"from": "system",
"value": "[Fluid] Allow placing PsiReferences on FluidElements\n"
},
{
"from": "human",
"value": "package com.cedricziel.idea.fluid.lang.psi.impl;\n\nimport com.cedricziel.idea.fluid.lang.psi.FluidElement;\nimport com.intellij.extapi.psi.ASTWrapperPsiElement;\nimport com.inte... | java | chosen |
[
{
"from": "system",
"value": "Change default theme to Holo Light\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2013 Simon Marquis (http://www.simon-marquis.fr)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n * use this file except in compliance w... | java | chosen |
[
{
"from": "system",
"value": "Add support for scrolling to top and bottom in VerticalScrollSpec\n\nSummary: as title\n\nReviewed By: mihaelao\n\nDifferential Revision: D33711690\n\nfbshipit-source-id: 44d52eaaea775acf80db530af2990acd236415b8\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c... | java | chosen |
[
{
"from": "system",
"value": "Make sanitization method more safe\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2016 Bryan Kelly\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n * use this file except in compliance with the License.\n *\n * You may ob... | java | chosen |
[
{
"from": "system",
"value": "[Misc] Clean up unused imports (was supposed to be done in branch).\n"
},
{
"from": "human",
"value": "package org.talend.dataprep.configuration;\n\nimport java.util.List;\n\nimport com.fasterxml.jackson.datatype.jdk8.Jdk8Module;\nimport com.fasterxml.jackson.dataty... | java | chosen |
[
{
"from": "system",
"value": "Change argument to \"init\" for creating schema"
},
{
"from": "human",
"value": "package devopsdistilled.operp.server;\n\nimport org.springframework.context.ApplicationContext;\nimport org.springframework.context.annotation.AnnotationConfigApplicationContext;\n\nimp... | java | chosen |
[
{
"from": "system",
"value": "Remove constant that is not used anymore.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2005-2014 Red Hat, Inc.\n *\n * Red Hat licenses this file to you under the Apache License, version\n * 2.0 (the \"License\"); you may not use this file except in complianc... | java | chosen |
[
{
"from": "system",
"value": "Remove unused comparators after SortOrder refactoring\n"
},
{
"from": "human",
"value": "package de.danoeh.antennapod.core.util.comparator;\n\nimport java.util.Collections;\nimport java.util.Comparator;\n\nimport de.danoeh.antennapod.core.feed.FeedItem;\n\n/** Compa... | java | chosen |
[
{
"from": "system",
"value": "Fix to bracket ordering in tree representation\n"
},
{
"from": "human",
"value": "package upparse.corpus;\n\n/**\n * Data structure representing a bracket, not including a category label\n * @author eponvert@utexas.edu (Elias Ponvert)\n */\npublic class UnlabeledBra... | java | chosen |
[
{
"from": "system",
"value": "Add call to Components.getInstance to robotInit.\n\nThis call will create all subsystems at robot init time.\n"
},
{
"from": "human",
"value": "/*----------------------------------------------------------------------------*/\n/* Copyright (c) FIRST 2008. All Rights ... | java | chosen |
[
{
"from": "system",
"value": "Updated: Make sure nick has prefix if you're going to cut it off (TagAPI)\n"
},
{
"from": "human",
"value": "package org.royaldev.royalcommands.listeners;\n\nimport org.bukkit.event.EventHandler;\nimport org.bukkit.event.Listener;\nimport org.kitteh.tag.PlayerReceiv... | java | chosen |
[
{
"from": "system",
"value": "Fix the test class to compile\n"
},
{
"from": "human",
"value": "package radicalzephyr.boot_junit.test;\n\nimport static org.junit.Assert.assertEquals;\nimport org.junit.Test;\nimport net.zephyrizing.http_server.Calculator;\n\npublic class CalculatorTest {\n @Tes... | java | chosen |
[
{
"from": "system",
"value": "Add exit with status 1 on caught exception\nRefactor\n"
},
{
"from": "human",
"value": "package ru.nsu.ccfit.bogush;\n\nimport org.apache.logging.log4j.LogManager;\nimport org.apache.logging.log4j.Logger;\nimport ru.nsu.ccfit.bogush.view.FactoryView;\n\npublic class... | java | chosen |
[
{
"from": "system",
"value": "Add a white space after left brackets\n"
},
{
"from": "human",
"value": "/**\n * DocumentValidator\n * Copyright (c) 2013-, Takahiko Ito, All rights reserved.\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the ... | java | chosen |
[
{
"from": "system",
"value": "Add some error handling around releasing wake locks\n"
},
{
"from": "human",
"value": "package com.markupartist.sthlmtraveling.service;\n\nimport android.app.IntentService;\nimport android.content.Context;\nimport android.content.Intent;\nimport android.os.PowerMana... | java | chosen |
[
{
"from": "system",
"value": "Add ANALYTICS_SCOPE constant to constants file\n"
},
{
"from": "human",
"value": "package io.github.trevornelson;\n\n/**\n * Contains the client IDs and scopes for allowed clients consuming the helloworld API.\n */\npublic class Constants {\n public static final St... | java | chosen |
[
{
"from": "system",
"value": "Make sure we always call onCompleted when responding to rpcs.\n"
},
{
"from": "human",
"value": "package polyglot.server;\n\nimport io.grpc.stub.StreamObserver;\nimport polyglot.HelloProto.HelloRequest;\nimport polyglot.HelloProto.HelloResponse;\nimport polyglot.Hel... | java | chosen |
[
{
"from": "system",
"value": "[ALLUXIO-1776] Add unit tests for IdUtils\n"
},
{
"from": "human",
"value": "/*\n * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0\n * (the “License”). You may not use this work except in compliance with the License, which is\n ... | java | chosen |
[
{
"from": "system",
"value": "Fix 'bug' with kit toString\n\nWas always returning null. Not good for debugging.\n"
},
{
"from": "human",
"value": "/**\n * The MIT License (MIT)\n * \n * Copyright (c) 2015 Sekai Kyoretsuna\n * \n * Permission is hereby granted, free of charge, to any person obtai... | java | chosen |
[
{
"from": "system",
"value": "Remove CDI producer for io.vertx.reactivex.ext.web.Router"
},
{
"from": "human",
"value": "package io.quarkus.vertx.web.runtime;\n\nimport javax.enterprise.context.ApplicationScoped;\nimport javax.enterprise.inject.Produces;\nimport javax.inject.Singleton;\n\nimport... | java | chosen |
[
{
"from": "system",
"value": "Add trace message stating codec installation is complete\n"
},
{
"from": "human",
"value": "package io.liveoak.container.service;\n\nimport org.jboss.msc.service.Service;\nimport org.jboss.msc.service.StartContext;\nimport org.jboss.msc.service.StartException;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Change the toString value for NOT_APPLICABLE to not 'applicable'\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.geneproduct.common;\n\n\n/**\n * An enumeration of the possible states of proteome membership a gene product can have.\n * @author Tony Ward... | java | chosen |
[
{
"from": "system",
"value": "Change to use m2m.eclipse.org:1883 as default mqtt broker rather than\nlocalhost:1883."
},
{
"from": "human",
"value": "/****************************************************************************\n * Copyright (c) 2004 Composent, Inc. and others.\n * All rights re... | java | chosen |
[
{
"from": "system",
"value": "Revert previous commit, fix build.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2011 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 License.... | java | chosen |
[
{
"from": "system",
"value": "Change lock name to use a name for this app\n"
},
{
"from": "human",
"value": "package com.markupartist.sthlmtraveling.service;\n\nimport android.app.IntentService;\nimport android.content.Context;\nimport android.content.Intent;\nimport android.os.PowerManager;\nim... | java | chosen |
[
{
"from": "system",
"value": "Fix Markdown integration tests due to server changes\n"
},
{
"from": "human",
"value": "package org.sagebionetworks.markdown;\n\nimport static org.junit.Assert.assertEquals;\n\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.springframework.bean... | java | chosen |
[
{
"from": "system",
"value": "Break infinite loop with Gradle 5.6 when adding configuration for core bom support\n"
},
{
"from": "human",
"value": "package netflix.nebula.dependency.recommender;\n\nimport netflix.nebula.dependency.recommender.provider.RecommendationProviderContainer;\nimport org... | java | chosen |
[
{
"from": "system",
"value": "Add a DataHandler object as part of the interface\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017 Max Schafer, Ammar Mahdi, Riley Dixon, Steven Weikai Lu, Jiaxiong Yang\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy of ... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.