conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Disable Bouncycastle JSSE native test\n\nIssue tracked in https://github.com/quarkusio/quarkus/issues/17046\n"
},
{
"from": "human",
"value": "package io.quarkus.it.bouncycastle;\n\nimport org.junit.jupiter.api.Test;\n\nimport io.quarkus.test.junit.NativeImageTest;\... | java | chosen |
[
{
"from": "system",
"value": "Use ConcurrentHashMap for possible concurrent execution in the future\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015-2017 the original author or authors.\n *\n * All rights reserved. This program and the accompanying materials are\n * made available under ... | java | chosen |
[
{
"from": "system",
"value": "Remove onModule method that is no longer needed.\n"
},
{
"from": "human",
"value": "/**\n * Licensed to Elasticsearch under one or more contributor\n * license agreements. See the NOTICE file distributed with\n * this work for additional information regarding copyri... | java | chosen |
[
{
"from": "system",
"value": "Allow standard authservice host port to be overridden\n\nThis makes it easier to connect to the standard authservice through\nalternative hosts and ports if needed\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017-2018, EnMasse authors.\n * License: Apache Li... | java | chosen |
[
{
"from": "system",
"value": "Use referer to detect where to take the user after login\n"
},
{
"from": "human",
"value": "package fi.nls.oskari.spring.security.database;\n\nimport fi.nls.oskari.log.LogFactory;\nimport fi.nls.oskari.log.Logger;\nimport fi.nls.oskari.spring.security.OskariUserHelp... | java | chosen |
[
{
"from": "system",
"value": "Add an uninject in the wizard dispose\n\n(Fix https://opcoach.atlassian.net/browse/FOR-127)\n\nChange-Id: I6494b5646a52bee20c12a2656aa9c7189a90b0ec\nSigned-off-by: Olivier Prouvost <922fcad8957c9a47efb13ab034b8bf0240ed7092@opcoach.com>\n"
},
{
"from": "human",
"valu... | java | chosen |
[
{
"from": "system",
"value": "Add combination code to runner\n"
},
{
"from": "human",
"value": "package ir_course;\n\n/**\n * Created by martin on 4/9/14.\n */\npublic class SearchSuite {\n\n public static final String corpusPath = \"corpus_part2.xml\";\n private static String[] defaults =... | java | chosen |
[
{
"from": "system",
"value": "Update noop journal to use JournalContext\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\... | java | chosen |
[
{
"from": "system",
"value": "Add gzip constructor arg to partitioned s3 chronicle\n"
},
{
"from": "human",
"value": "package org.ds.chronos.aws;\n\nimport org.ds.chronos.api.Chronicle;\nimport org.ds.chronos.api.PartitionPeriod;\nimport org.ds.chronos.api.PartitionedChronicle;\n\nimport com.ama... | java | chosen |
[
{
"from": "system",
"value": "Remove unused persistententity utils code\n"
},
{
"from": "human",
"value": "package internal.org.springframework.content.rest.utils;\n\nimport org.springframework.data.mapping.PersistentEntity;\nimport org.springframework.data.mapping.PersistentProperty;\nimport or... | java | chosen |
[
{
"from": "system",
"value": "Throw NPE instead of ServiceRuntimeException, more fitting\n"
},
{
"from": "human",
"value": "package fi.nls.oskari.mybatis;\n\nimport fi.nls.oskari.service.ServiceRuntimeException;\nimport org.apache.ibatis.mapping.Environment;\nimport org.apache.ibatis.session.Con... | java | chosen |
[
{
"from": "system",
"value": "Check configuration objects passed to the constructor are not null.\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.annotation.service.statistics;\n\nimport java.util.List;\n\n/**\n * A source of {@link RequiredStatistics} instances.\n *\n * @author Ton... | java | chosen |
[
{
"from": "system",
"value": "Simplify the construction of change events and make them protected\n"
},
{
"from": "human",
"value": "package org.realityforge.replicant.client;\n\nimport javax.annotation.Nonnull;\nimport javax.annotation.Nullable;\n\n/**\n * An event indicating that an imitation h... | java | chosen |
[
{
"from": "system",
"value": "Reduce MissingPropertyExceptions in Groovy script execution\n\n- Refactoring of groovy.lang.Script.getProperty logic in Gradle's\n Groovy Script subclass to avoid unnecessary MissingPropertyException\n in binding variable lookup.\n\n+review REVIEW-5778\n"
},
{
"from":... | java | chosen |
[
{
"from": "system",
"value": "Add a correct toString() method\n\ngit-svn-id: 7e8def7d4256e953abb468098d8cb9b4faff0c63@5801 12255794-1b5b-4525-b599-b0510597569d\n"
},
{
"from": "human",
"value": "package com.arondor.common.reflection.bean.config;\n\nimport java.util.Map;\n\nimport javax.persisten... | java | chosen |
[
{
"from": "system",
"value": "Manage quoted variables (because having the name of a Java keyword) "
},
{
"from": "human",
"value": "package com.redhat.ceylon.eclipse.core.debug;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport org.eclipse.debug.core.DebugException;\nimport org.ec... | java | chosen |
[
{
"from": "system",
"value": "Tidy up the magic glow layer\n"
},
{
"from": "human",
"value": "package com.minelittlepony.client.render;\n\nimport net.minecraft.client.render.RenderLayer;\nimport net.minecraft.client.render.RenderPhase;\nimport net.minecraft.client.render.VertexFormats;\n\npublic... | java | chosen |
[
{
"from": "system",
"value": "JRUBY_RACK-14: Add override for both Servlet and HttpServlet service methods (Michael Pitman)\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2007-2009 Sun Microsystems, Inc.\n * This source code is available under the MIT license.\n * See the file LICENSE.txt f... | java | chosen |
[
{
"from": "system",
"value": "Use JpaRepository instead of CrudRepository."
},
{
"from": "human",
"value": "/*\n * Copyright 2016 SEARCH-The National Consortium for Justice Information and Statistics\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use th... | java | chosen |
[
{
"from": "system",
"value": "Solve problem 153 (log n)\n"
},
{
"from": "human",
"value": "package leetcode;\n\n/**\n * https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/\n */\npublic class Problem153 {\n public int findMin(int[] nums) {\n int min = nums[0];\n f... | java | chosen |
[
{
"from": "system",
"value": "Solve problem 701 (my 600th problem :)\n"
},
{
"from": "human",
"value": "package leetcode;\n\n/**\n * https://leetcode.com/problems/insert-into-a-binary-search-tree/\n */\npublic class Problem701 {\n public static class TreeNode {\n int val;\n Tree... | java | chosen |
[
{
"from": "system",
"value": "Remove unnecessary Thread objects creation in ExecutorService\n"
},
{
"from": "human",
"value": "package edu.javacourse.threads;\n\nimport java.util.concurrent.ExecutorService;\nimport java.util.concurrent.Executors;\n\n/**\n * @author Artem Pronchakov | email/xmpp:... | java | chosen |
[
{
"from": "system",
"value": "Fix mem build - implement no-op method.\n"
},
{
"from": "human",
"value": "package com.splicemachine.derby.impl.sql;\n\nimport java.sql.SQLException;\nimport java.util.Properties;\n\nimport com.splicemachine.backup.BackupManager;\nimport com.splicemachine.db.authent... | java | chosen |
[
{
"from": "system",
"value": "Improve forming of exception message\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017, TeamDev Ltd. All rights reserved.\n *\n * Redistribution and use in source and/or binary forms, with or without\n * modification, must retain the above copyright notice an... | java | chosen |
[
{
"from": "system",
"value": "Rename generic arguments to silence sonar\n\nChange-Id: Ie578bbfb3a82e7c33cdd4c9abd4d8d43d2e0d35e\nSigned-off-by: Robert Varga <b8bd3df785fdc0ff42dd1710c5d91998513c57ef@cisco.com>\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2013 Cisco Systems, Inc. and o... | java | chosen |
[
{
"from": "system",
"value": "Fix velocity equality so our INVALID checks work correctly\n"
},
{
"from": "human",
"value": "package org.headsupdev.agile.storage.resource;\n\n/**\n * A simple class representing a velocity of time done over a number of days\n * <p/>\n * Created: 14/03/2013\n *\n *... | java | chosen |
[
{
"from": "system",
"value": "Revise to work with changes with IDATBuilder\n"
},
{
"from": "human",
"value": "package cafe.test;\n\nimport java.io.IOException;\n\nimport cafe.image.png.IDATBuilder;\nimport cafe.image.png.IDATReader;\nimport cafe.string.StringUtils;\n\npublic class TestIDATReader... | java | chosen |
[
{
"from": "system",
"value": "Use bean instead of class when registering REST\n"
},
{
"from": "human",
"value": "package ua.in.directdemocracy.service.application.standalone.authentication;\r\n\r\nimport org.glassfish.jersey.server.ResourceConfig;\r\nimport org.springframework.beans.factory.anno... | java | chosen |
[
{
"from": "system",
"value": "Fix SQLiteDiskIOException while running tests\n"
},
{
"from": "human",
"value": "package io.requery.test;\n\nimport android.content.Context;\nimport android.support.test.InstrumentationRegistry;\nimport android.support.test.runner.AndroidJUnit4;\nimport io.requery.a... | java | chosen |
[
{
"from": "system",
"value": "Change truncate to delete from in db abstraction. Truncate is not getting rolled back in the new h2 db version, leaving things in a dirty state after failed block application.\n"
},
{
"from": "human",
"value": "package nxt.db;\n\nimport nxt.Nxt;\n\nimport java.sql.C... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Make test fail to test Travis\"\n\nThis reverts commit 2edaf89d9e9faa0d2f4b38d0d733ace14739d091.\n"
},
{
"from": "human",
"value": "/*\n * This Java source file was generated by the Gradle 'init' task.\n */\nimport org.junit.Test;\nimport static org.junit.A... | java | chosen |
[
{
"from": "system",
"value": "Drop @Requirement RuntimeInformation because we don't need it\n"
},
{
"from": "human",
"value": "package com.lassekoskela.maven;\n\nimport org.apache.maven.AbstractMavenLifecycleParticipant;\nimport org.apache.maven.MavenExecutionException;\nimport org.apache.maven.... | java | chosen |
[
{
"from": "system",
"value": "Make prefix placeholder \"{%}\" for everything\n\n"
},
{
"from": "human",
"value": "package stream.flarebot.flarebot.util;\n\nimport net.dv8tion.jda.core.entities.TextChannel;\nimport stream.flarebot.flarebot.FlareBot;\n\nimport java.util.regex.Matcher;\n\npublic cl... | java | chosen |
[
{
"from": "system",
"value": "Fix java modules sample on Windows\n"
},
{
"from": "human",
"value": "package org.gradle.sample.integtest.app;\n\nimport org.junit.jupiter.api.Test;\n\nimport java.io.ByteArrayOutputStream;\nimport java.io.PrintStream;\n\nimport org.gradle.sample.app.Main;\n\nimport... | java | chosen |
[
{
"from": "system",
"value": "Resolve bug with immutable map in rem-image.\n\nChange-Id: Icb28f94059f3d577124984503020fd62f54e0c7a\n"
},
{
"from": "human",
"value": "package com.bq.oss.corbel.resources.rem.util;\n\nimport java.util.Optional;\n\nimport javax.ws.rs.core.MultivaluedMap;\n\nimport c... | java | chosen |
[
{
"from": "system",
"value": "Fix null Charset encoding that was breaking tests :)\n"
},
{
"from": "human",
"value": "package org.ocpsoft.rewrite.transform.minify;\n\nimport java.nio.charset.Charset;\n\nimport org.ocpsoft.rewrite.transform.Transformer;\n\n/**\n * A {@link Transformer} implementa... | java | chosen |
[
{
"from": "system",
"value": "Add userExists check, start registration if fail\n"
},
{
"from": "human",
"value": "package io.github.shark_app.shark;\n\nimport android.support.v7.app.AppCompatActivity;\nimport android.os.Bundle;\n\npublic class ShareActivity extends AppCompatActivity {\n\n @Ov... | java | chosen |
[
{
"from": "system",
"value": "Move local image logic to helper method\n"
},
{
"from": "human",
"value": "package com.example.profbola.bakingtime.utils;\n\nimport android.content.ContentValues;\nimport android.content.Context;\nimport android.database.Cursor;\nimport android.os.Parcelable;\n\nimp... | java | chosen |
[
{
"from": "system",
"value": "Update redis config from deprecated - pooling enabled by default\n"
},
{
"from": "human",
"value": "package fi.nls.oskari.spring.session;\n\nimport fi.nls.oskari.util.PropertyUtil;\nimport org.springframework.context.annotation.Bean;\nimport org.springframework.cont... | java | chosen |
[
{
"from": "system",
"value": "Use the spring component as well to allow for migrations"
},
{
"from": "human",
"value": "package net.stickycode.bootstrap.spring3;\n\nimport net.stickycode.stereotype.StickyComponent;\nimport net.stickycode.stereotype.StickyPlugin;\n\nimport org.springframework.con... | java | chosen |
[
{
"from": "system",
"value": "Add methods extended from android.app.Service and LocationListener\n"
},
{
"from": "human",
"value": "package es.craftmanship.toledo.katangapp.utils;\n\n/**\n * Created by cristobal on 3/2/16.\n */\npublic class GPSTracker {\n\n}\n"
},
{
"from": "gpt",
"... | java | chosen |
[
{
"from": "system",
"value": "Revert \"added ability to create default config on scenario click\"\n\nThis reverts commit a00819be4a76bb766e4ff57f61e06f4c7ac1c1f8.\n"
},
{
"from": "human",
"value": "package org.perfcake.pc4idea.configuration;\n\nimport com.intellij.execution.actions.Configuration... | java | chosen |
[
{
"from": "system",
"value": "Fix noisy processor propertycount output\n"
},
{
"from": "human",
"value": "package main.java.org.wikidata.analyzer.Processor;\n\nimport org.wikidata.wdtk.datamodel.interfaces.*;\n\n/**\n * This processor simply outputs status lines to the console.\n *\n * @author A... | java | chosen |
[
{
"from": "system",
"value": "Build view: fix api breaking change\n"
},
{
"from": "human",
"value": "// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.\npackage com.intellij.build.events;\n\nimport org.jetb... | java | chosen |
[
{
"from": "system",
"value": "Add vaccine to every vaccine package\n"
},
{
"from": "human",
"value": "package org.openlmis.stock.repository.mapper;\n\nimport org.apache.ibatis.annotations.Select;\nimport org.openlmis.stock.domain.Manufacturer;\nimport org.openlmis.stock.domain.VaccinePackaging;\... | java | chosen |
[
{
"from": "system",
"value": "Sort target funds alphabetically & show all of them in the dropdown list.\n"
},
{
"from": "human",
"value": "package ee.tuleva.onboarding;\n\nimport org.springframework.stereotype.Controller;\nimport org.springframework.web.bind.annotation.RequestMapping;\nimport or... | java | chosen |
[
{
"from": "system",
"value": "Install cmdline tools on first dialog show\n"
},
{
"from": "human",
"value": "package org.jmeterplugins.repository;\n\nimport org.apache.jmeter.gui.plugin.MenuCreator;\nimport org.apache.jorphan.logging.LoggingManager;\nimport org.apache.log.Logger;\n\nimport javax.... | java | chosen |
[
{
"from": "system",
"value": "Replace use of Spring's ClassUtils\n"
},
{
"from": "human",
"value": "/*\n * This file is part of Bisq.\n *\n * Bisq is free software: you can redistribute it and/or modify it\n * under the terms of the GNU Affero General Public License as published by\n * the Free ... | java | chosen |
[
{
"from": "system",
"value": "Remove unnecessary variables and organize imports\n"
},
{
"from": "human",
"value": "package com.github.emalock3.camel.issues;\n\nimport org.apache.camel.EndpointInject;\nimport org.apache.camel.Produce;\nimport org.apache.camel.ProducerTemplate;\nimport org.apache.... | java | chosen |
[
{
"from": "system",
"value": "Load resources from all layout* directories\n"
},
{
"from": "human",
"value": "package com.xtremelabs.droidsugar.view;\n\nimport java.io.File;\n\npublic class ResourceLoader {\n public final ViewLoader viewLoader;\n public final StringResourceLoader stringReso... | java | chosen |
[
{
"from": "system",
"value": "Allow to avoid translation of classname\n"
},
{
"from": "human",
"value": "package ru.ydn.wicket.wicketorientdb.utils;\n\nimport java.util.List;\n\nimport org.apache.wicket.markup.html.form.IChoiceRenderer;\nimport org.apache.wicket.model.IModel;\n\nimport ru.ydn.wi... | java | chosen |
[
{
"from": "system",
"value": "Add URL to bank model\n"
},
{
"from": "human",
"value": "package com.centralnabanka.model;\n\nimport lombok.Data;\nimport lombok.EqualsAndHashCode;\nimport lombok.NoArgsConstructor;\n\nimport javax.persistence.Entity;\nimport java.math.BigDecimal;\n\n@Data\n@NoArgsC... | java | chosen |
[
{
"from": "system",
"value": "Add file name parsing helper\n"
},
{
"from": "human",
"value": "package com.github.sormuras.bach.internal;\n\nimport java.util.List;\nimport java.util.stream.Collectors;\n\npublic interface StringSupport {\n static String join(List<String> strings) {\n return st... | java | chosen |
[
{
"from": "system",
"value": "Make Togglz compatible to not embedded Tomcat\n"
},
{
"from": "human",
"value": "package de.otto.edison.togglz.configuration;\n\n\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.boot.context.embedded.FilterRegistrationBean;\ni... | java | chosen |
[
{
"from": "system",
"value": "Fix double negative typo in Javadoc comment.\n\nRELNOTES: N/A\n\n-------------\nCreated by MOE: https://github.com/google/moe\nMOE_MIGRATED_REVID=155023665\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017 Google Inc. All Rights Reserved.\n *\n * Licensed und... | java | chosen |
[
{
"from": "system",
"value": "Change method signature to accept any interface implementation\n"
},
{
"from": "human",
"value": "package com.mercateo.common.rest.schemagen.link;\n\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Optional;\n\nimport javax.ws.rs.core.Link;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Add basic functionality to display some test data\n"
},
{
"from": "human",
"value": "package com.example.todocloud.fragment;\n\nimport android.support.v4.app.Fragment;\n\npublic class TodoListFragmentTest extends Fragment {\n}\n"
},
{
"from": "gpt",
"val... | java | chosen |
[
{
"from": "system",
"value": "Set the ManagedObject to empty\n"
},
{
"from": "human",
"value": "package org.pentaho.ui.xul.swing.tags;\n\nimport java.awt.GridBagLayout;\n\nimport javax.swing.JPanel;\n\nimport org.pentaho.ui.xul.XulComponent;\nimport org.pentaho.ui.xul.XulDomContainer;\nimport or... | java | chosen |
[
{
"from": "system",
"value": "Add unit test for FSADictionary\n"
},
{
"from": "human",
"value": "package org.cogroo.dictionary.impl;\n\nimport static org.junit.Assert.*;\n\nimport java.io.IOException;\nimport java.io.InputStream;\n\nimport org.junit.Test;\n\npublic class FSADictionaryTest {\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Replace tabs/spaces with only spaces"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2009-2013 Typesafe Inc. <http://www.typesafe.com>\n */\npackage play.core.server;\n\n/**\n * A server that can be stopped.\n */\npublic interface ServerWithStop {\n\n /**\n... | java | chosen |
[
{
"from": "system",
"value": "Update error message display methods to take formatting arguments\n"
},
{
"from": "human",
"value": "package de.fu_berlin.cdv.chasingpictures.util;\n\nimport android.content.Context;\nimport android.support.annotation.StringRes;\nimport android.widget.Toast;\n\n/**\... | java | chosen |
[
{
"from": "system",
"value": "Hide the root panel during the looper post to avoid rendering widgets while computing the layout\n"
},
{
"from": "human",
"value": "package org.nibiru.ui.gwt.loop;\n\nimport static com.google.common.base.Preconditions.checkNotNull;\n\nimport javax.inject.Inject;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Set default for STATS to true to get byte counts for messages\n\n\ngit-svn-id: f22e84ca493ccad7df8d2727bca69d1c9fc2e5c5@2714 aaf88347-d911-0410-b711-e54d386773bb\n"
},
{
"from": "human",
"value": "package ibis.impl.tcp;\n\nimport ibis.util.TypedProperties;\n\ninterf... | java | chosen |
[
{
"from": "system",
"value": "Append to VEC4Address object defs commit (fix broken build)."
},
{
"from": "human",
"value": "/*******************************************************************************\n * This file is part of TERMINAL RECALL\n * Copyright (c) 2012-2014 Chuck Ritola\n * Part ... | java | chosen |
[
{
"from": "system",
"value": "Support for Attribute in prov-n and round trip testing (usage and generation)\n"
},
{
"from": "human",
"value": "package org.openprovenance.prov.xml;\nimport java.util.List;\nimport java.util.LinkedList;\n\nimport javax.xml.namespace.QName;\nimport java.util.Hashtab... | java | chosen |
[
{
"from": "system",
"value": "[FIND-204] Fix bug that prevented JSON to Java\n\nThere was a bug with the constructor for TagName which prevented using\njackson to map from JSON to Java.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Hewlett-Packard Development Company, L.P.\n * License... | java | chosen |
[
{
"from": "system",
"value": "PROC-690: Fix to use ImmutableSet to avoid being modified via getter\n"
},
{
"from": "human",
"value": "package com.indeed.proctor.common.dynamic;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\nimport com.fasterxml.jackson.annotation.JsonTypeName;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Improve CRUD test for OGM\n\nSeparate work in different transactions\nTest persist/merge/load existing/load empty\n"
},
{
"from": "human",
"value": "package org.hibernate.ogm.test.simpleentity;\n\nimport org.hibernate.Session;\nimport org.hibernate.Transaction;\n\n/... | java | chosen |
[
{
"from": "system",
"value": "Work around dll version conflicts w/ jnidispatch.dll in Domino progdir"
},
{
"from": "human",
"value": "package com.mindoo.domino.jna.xsp.internal;\n\nimport org.eclipse.core.runtime.Plugin;\nimport org.osgi.framework.BundleContext;\n\npublic class DominoJNAActivato... | java | chosen |
[
{
"from": "system",
"value": "Set default for server port.\n"
},
{
"from": "human",
"value": "package de.otto.edison.status.configuration;\n\nimport de.otto.edison.status.domain.SystemInfo;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.boot.autoconfigure... | java | chosen |
[
{
"from": "system",
"value": "Add Super Awesome String Scanner Stuff\n"
},
{
"from": "human",
"value": "package jpower.core.utils;\n\nimport java.util.Scanner;\nimport java.util.regex.Pattern;\n\n/**\n * Scans a String for Patterns\n */\npublic class StringScanner\n{\n private Scanner scanner;... | java | chosen |
[
{
"from": "system",
"value": "Test for SVN commit parser\n"
},
{
"from": "human",
"value": "package sherlock;\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.List;\nimport java.util.stream.Collectors... | java | chosen |
[
{
"from": "system",
"value": "Set image title in list container views\n"
},
{
"from": "human",
"value": "package com.wrapp.android.webimageexample;\n\nimport android.view.View;\nimport android.view.ViewGroup;\nimport android.widget.BaseAdapter;\n\npublic class WebImageListAdapter extends BaseAda... | java | chosen |
[
{
"from": "system",
"value": "Change javadoc similarityThreshold -> Predicate.\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.ontology.common.coterm;\n\nimport java.util.List;\nimport java.util.function.Predicate;\nimport org.springframework.data.repository.Repository;\n\n/**\n * R... | java | chosen |
[
{
"from": "system",
"value": "Change class description to be indipendent against the EventStream implementation\n"
},
{
"from": "human",
"value": "package com.suse.saltstack.netapi.event;\n\n/**\n * Defines a client notification interface for SSE stream events.\n */\npublic interface EventListen... | java | chosen |
[
{
"from": "system",
"value": "Fix link in menu on main page.\n"
},
{
"from": "human",
"value": "/*\n * To change this template, choose Tools | Templates\n * and open the template in the editor.\n */\npackage hudson.plugins.disk_usage;\n\nimport hudson.Extension;\nimport hudson.model.ManagementLi... | java | chosen |
[
{
"from": "system",
"value": "Add description and builder to the sample\n"
},
{
"from": "human",
"value": "package ca.antonious.sample.models;\n\nimport android.app.Activity;\n\n/**\n * Created by George on 2017-01-01.\n */\n\npublic class Sample {\n private String title;\n private Class<?... | java | chosen |
[
{
"from": "system",
"value": "Remove unused annotations for test enchantments"
},
{
"from": "human",
"value": "package info.u_team.u_team_test.init;\n\nimport info.u_team.u_team_core.util.registry.BaseRegistryUtil;\nimport info.u_team.u_team_test.TestMod;\nimport info.u_team.u_team_test.enchantm... | java | chosen |
[
{
"from": "system",
"value": "Read plugin version from VERSION file\n"
},
{
"from": "human",
"value": "package com.github.sherter.googlejavaformatgradleplugin;\n\nimport dagger.Module;\nimport dagger.Provides;\nimport org.gradle.api.Project;\nimport org.gradle.api.logging.Logger;\n\nimport javax... | java | chosen |
[
{
"from": "system",
"value": "philadelphia-core: Remove public modifier on interface\n"
},
{
"from": "human",
"value": "package com.paritytrading.philadelphia;\n\nimport java.io.IOException;\n\n/**\n * The interface for inbound messages.\n */\npublic interface FIXMessageListener {\n\n /**\n ... | java | chosen |
[
{
"from": "system",
"value": "Use StringBuffer to avoid string concatenation while inline printing.\n\nsvn path=/spoofax/trunk/spoofax/org.spoofax.interpreter/; revision=17214\n"
},
{
"from": "human",
"value": "package org.spoofax.interpreter.terms;\n\npublic class InlinePrinter implements ITerm... | java | chosen |
[
{
"from": "system",
"value": "Update plugin version to 1.0.3"
},
{
"from": "human",
"value": "package io.tehtotalpwnage.pvptoggle.utils;\n\npublic class PluginInfo {\n\tpublic static final String AUTHOR = \"TehTotalPwnage\";\n\tpublic static final String DESCRIPTION = \"A simple command to toggl... | java | chosen |
[
{
"from": "system",
"value": "Reduce hashtags noise in Facebook message\n"
},
{
"from": "human",
"value": "package com.jvm_bloggers.core.social.fb;\n\nimport org.springframework.stereotype.Component;\n\nimport static java.lang.String.format;\n\n@Component\nclass FacebookMessageGenerator {\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Make app module field private.\n"
},
{
"from": "human",
"value": "package com.battlelancer.seriesguide.modules;\n\nimport android.app.Application;\nimport dagger.Module;\nimport dagger.Provides;\nimport javax.inject.Singleton;\n\n@Module\npublic class AppModule {\n\... | java | chosen |
[
{
"from": "system",
"value": "Set dummy comment for data one of nodes."
},
{
"from": "human",
"value": "/*\n * DataOneOf.java\n *\n */\n\npackage de.uni_stuttgart.vis.vowl.owl2vowl.model.nodes.datatypes;\n\nimport de.uni_stuttgart.vis.vowl.owl2vowl.model.nodes.BaseNode;\n\nimport java.util.Array... | java | chosen |
[
{
"from": "system",
"value": "[MNG-6977] Use hyphen when creating builder threads (names)\n"
},
{
"from": "human",
"value": "package org.apache.maven.lifecycle.internal;\n\n/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTI... | java | chosen |
[
{
"from": "system",
"value": "Handle case of no roles in claims if not authenticated\n"
},
{
"from": "human",
"value": "/*\n * ApiController.java\n *\n * Copyright (C) 2017 [ A Legge Up ]\n *\n * This software may be modified and distributed under the terms\n * of the MIT license. See the LICEN... | java | chosen |
[
{
"from": "system",
"value": "Fix test to work with new AsyncAppender\n\nThis is supremely dirty. I'd rather do it differently, but didn't want\nto pollute the public API of AsyncAppender to do it.\n"
},
{
"from": "human",
"value": "package com.codahale.dropwizard.logging;\n\nimport ch.qos.logba... | java | chosen |
[
{
"from": "system",
"value": "Add documentation to MediaType class"
},
{
"from": "human",
"value": "/*\n * Copyright (c) Oct 1, 2018 StarChart Labs Authors.\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v... | java | chosen |
[
{
"from": "system",
"value": "Add private constructor for utility class\n"
},
{
"from": "human",
"value": "package com.rbase.rcommander;\n\nimport java.io.File;\nimport java.nio.file.Paths;\n\npublic class RCommanderPaths {\n\n private static final String RBTI_DIRECTORY = \"C:\\\\RBTI\";\n ... | java | chosen |
[
{
"from": "system",
"value": "Add addNotify() which just calls super.addNotify() to fix applet problem\n"
},
{
"from": "human",
"value": "package java.awt;\n\n\n/**\n * Canvas - \n *\n * Copyright (c) 1998\n * Transvirtual Technologies, Inc. All rights reserved.\n *\n * See the file \"lice... | java | chosen |
[
{
"from": "system",
"value": "Fix RelativePane breaking father-child contract\n\n"
},
{
"from": "human",
"value": "package fr.ourten.brokkgui.panel;\n\nimport fr.ourten.brokkgui.component.GuiNode;\nimport fr.ourten.brokkgui.data.RelativeBindingHelper;\n\n/**\n * @author Ourten 9 oct. 2016\n */\n... | java | chosen |
[
{
"from": "system",
"value": "Adjust field name of GoTask\n"
},
{
"from": "human",
"value": "package com.github.blindpirate.gogradle.task.go;\n\nimport groovy.lang.Closure;\nimport org.gradle.api.Task;\nimport org.gradle.api.internal.tasks.ContextAwareTaskAction;\nimport org.gradle.api.internal.... | java | chosen |
[
{
"from": "system",
"value": "Fix Projectile Entity position bug\n\n"
},
{
"from": "human",
"value": "package com.infinityraider.infinitylib.entity;\n\n\nimport net.minecraft.nbt.CompoundTag;\nimport net.minecraft.network.protocol.Packet;\nimport net.minecraft.world.entity.Entity;\nimport net.mi... | java | chosen |
[
{
"from": "system",
"value": "Remove Contact Deletion from ContactModification\n"
},
{
"from": "human",
"value": "package ru.stqua.pft.addressbook.tests;\n\nimport org.testng.annotations.Test;\nimport ru.stqua.pft.addressbook.model.ContactData;\n\n/**\n * Created by Alexander Gorny on 1/29/2017.... | java | chosen |
[
{
"from": "system",
"value": "Fix memory leak, added a missing release() after using ByteBuf\n"
},
{
"from": "human",
"value": "package com.notnoop.apns.internal.netty.encoding;\n\nimport io.netty.buffer.ByteBuf;\nimport io.netty.channel.ChannelHandlerContext;\nimport io.netty.handler.codec.Fixe... | java | chosen |
[
{
"from": "system",
"value": "Change to run with PowerMockRunner\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 obtain a cop... | java | chosen |
[
{
"from": "system",
"value": "Fix closing of OrientDB in test case\n"
},
{
"from": "human",
"value": "package com.orientechnologies.orient.core.sql.executor;\n\nimport com.orientechnologies.orient.core.db.ODatabase;\nimport com.orientechnologies.orient.core.db.ODatabaseType;\nimport com.orientec... | java | chosen |
[
{
"from": "system",
"value": "Mark the getZonedDateTime method with @XmlTransient. The JAXB parsers are seeing the getX and setX methods and assume there's a state property of type ZonedDateTime. The old JAXB implementations (java 8) don't handle the java.time stuff at all. This fixes the JAXB problem for a... | java | chosen |
[
{
"from": "system",
"value": "Set executor container to latest\n"
},
{
"from": "human",
"value": "package org.apache.mesos.logstash.common;\n\npublic interface LogstashConstants {\n String FRAMEWORK_NAME = \"logstash\";\n int FAILOVER_TIMEOUT = 300000;\n String EXECUTOR_IMAGE_NAME = \"m... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.