conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Correct link to fix Javadoc warnings\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 Datalogics Inc.\n */\n\npackage com.datalogics.pdf.security;\n\nimport java.security.Key;\nimport java.security.cert.Certificate;\n\n\n/**\n * The basic interface for loggi... | java | chosen |
[
{
"from": "system",
"value": "Fix preflights for all rules\n"
},
{
"from": "human",
"value": "package ch.heigvd.quaris.config;\n\nimport org.springframework.core.Ordered;\nimport org.springframework.core.annotation.Order;\nimport org.springframework.stereotype.Component;\nimport org.springframew... | java | chosen |
[
{
"from": "system",
"value": "Mark enforce-encoding mojo as threadSafe\n"
},
{
"from": "human",
"value": "package net.ltgt.gwt.maven;\n\nimport org.apache.maven.plugin.AbstractMojo;\nimport org.apache.maven.plugin.MojoExecutionException;\nimport org.apache.maven.plugin.MojoFailureException;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Resolve incorrect annotation use (DEV-100)\n"
},
{
"from": "human",
"value": "package sg.ncl.service.user;\n\nimport org.springframework.context.annotation.Bean;\nimport org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseBuilder;\nimport org.springframewor... | java | chosen |
[
{
"from": "system",
"value": "Add method for creating keypair with default size\n"
},
{
"from": "human",
"value": "// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.vespa.athenz.tls;\n\nimport java.security.G... | java | chosen |
[
{
"from": "system",
"value": "Add support for more recent jOOQ distributions\n\nWe've recently added additional distributions to jOOQ:\r\n\r\n- `org.jooq.pro-java-8`: Since jOOQ 3.12, we formally support Java 11+ under the `org.jooq.pro` group ID. Java 8 support will be continued under this new group ID\r\n... | java | chosen |
[
{
"from": "system",
"value": "Update how mockMvc is created\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.spot.goci.curation.controller;\n\nimport org.junit.Before;\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.mockito.runners.MockitoJUnitRunner;\nimport org.spring... | java | chosen |
[
{
"from": "system",
"value": "Remove redundant version flag in help\n"
},
{
"from": "human",
"value": "package com.tmitim.twittercli.commands;\n\nimport java.io.IOException;\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport javax.inject.Inject;\n\nimport com.github.rvesse.airline.an... | java | chosen |
[
{
"from": "system",
"value": "Change the message on completion to connect server.\n"
},
{
"from": "human",
"value": "package com.samsung.sec.dexter.executor.peerreview.cli;\n\nimport com.samsung.sec.dexter.core.util.DexterServerConfig;\nimport com.samsung.sec.dexter.core.util.IDexterClient;\n\np... | java | chosen |
[
{
"from": "system",
"value": "Use snake_case for json keys.\n"
},
{
"from": "human",
"value": "package io.paymenthighway.model.response;\n\nimport com.fasterxml.jackson.annotation.JsonProperty;\n\npublic class MobilePayStatusResponse extends Response {\n @JsonProperty(\"status\") private String... | java | chosen |
[
{
"from": "system",
"value": "Fix request attribute-related race condition in Logback request logging\n"
},
{
"from": "human",
"value": "package io.dropwizard.request.logging.async;\n\nimport ch.qos.logback.access.spi.IAccessEvent;\nimport ch.qos.logback.core.AsyncAppenderBase;\nimport io.dropwi... | java | chosen |
[
{
"from": "system",
"value": "SDC-4476: Sort HDFS Origin file format options\n\nChange-Id: Ib068d6240a49e49594d446d5abed54ceac132d9c\nReviewed-on: https://review.streamsets.net/5240\nReviewed-by: Loretta Chen <86cbbfa5f4e2ea880344e8bdec2e584c20d686d8@streamsets.com>\nTested-by: StreamSets CI <809627f37325a6... | java | chosen |
[
{
"from": "system",
"value": "Add nFrame parameter in putVideoFrameRx method.\n"
},
{
"from": "human",
"value": "/*\n * Kurento Android Media: Android Media Library based on FFmpeg.\n * Copyright (C) 2011 Tikal Technologies\n *\n * This program is free software: you can redistribute it and/or m... | java | chosen |
[
{
"from": "system",
"value": "Use VideoFrame object as param in putVideoFrameRx method.\n"
},
{
"from": "human",
"value": "/*\n * Kurento Android Media: Android Media Library based on FFmpeg.\n * Copyright (C) 2011 Tikal Technologies\n *\n * This program is free software: you can redistribute i... | java | chosen |
[
{
"from": "system",
"value": "Use System.err to more highlight the warning messages\n"
},
{
"from": "human",
"value": "package com.destroystokyo.paperclip;\n\npublic class Main {\n\n public static void main(final String[] args) {\n System.out.println(\"WARNING: Java 9 currently causes ... | java | chosen |
[
{
"from": "system",
"value": "Improve to use with chart generator\n\nRefactor to implements two methods to compare performance between beanutils and simple ( not optimized ) java reflection."
},
{
"from": "human",
"value": "package com.edgardleal.benchmark.example;\n\nimport com.edgardleal.bench... | java | chosen |
[
{
"from": "system",
"value": "Fix rolling over history and write unit test to prevent future bugs\n"
},
{
"from": "human",
"value": "package com.github.games647.lagmonitor;\n\npublic class RollingOverHistory {\n\n private final float[] samples;\n private float total;\n\n private int cur... | java | chosen |
[
{
"from": "system",
"value": "Enable settings to be read without login.\n\n- otherwise name of cloudconductor server could not be shown before login\n"
},
{
"from": "human",
"value": "package de.cinovo.cloudconductor.api.interfaces;\n\nimport de.cinovo.cloudconductor.api.IRestPath;\nimport de.ci... | java | chosen |
[
{
"from": "system",
"value": "Mark abstract since it isn't separately runnable\n\ngit-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@618 0d517254-b314-0410-acde-c619094fa49f\n"
},
{
"from": "human",
"value": "package edu.northwestern.bioinformatics.studycalendar.web;\n\nimport edu.northwestern... | java | chosen |
[
{
"from": "system",
"value": "[improve] Insert several products in the database\n"
},
{
"from": "human",
"value": "package net.safedata.springboot.training.d02.s05.config;\n\nimport net.safedata.springboot.training.d02.s05.model.Product;\nimport net.safedata.springboot.training.d02.s05.service.P... | java | chosen |
[
{
"from": "system",
"value": "Fix decoding of admin authorities from access tokens\n"
},
{
"from": "human",
"value": "package com.digirati.elucidate.infrastructure.security.impl;\n\nimport com.digirati.elucidate.infrastructure.security.UserSecurityDetails;\nimport com.digirati.elucidate.infrastr... | java | chosen |
[
{
"from": "system",
"value": "Fix last repo. Use a limit\n"
},
{
"from": "human",
"value": "package fr.synchrotron.soleil.ica.ci.service.multirepoproxy;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\n/**\n * @author Gregory Boissinot\n */\npublic class RepositoryScanner {\n\n priva... | java | chosen |
[
{
"from": "system",
"value": "Implement the comesep event stream\n\ngit-svn-id: 4e353c0944fe8da334633afc35765ef362dec675@2830 b4e469a2-07ce-4b26-9273-4d7d95a670c7\n"
},
{
"from": "human",
"value": "package org.helioviewer.jhv.plugins.swek.sources.comesep;\n\npublic class ComesepEventStream {\n\n... | java | chosen |
[
{
"from": "system",
"value": "Add checks for indexOf() and lastIndexOf() with empty string arguments\n"
},
{
"from": "human",
"value": "class Str2 {\n\tpublic static void main (String args[]) {\n\t\tString a = \"1\";\n\t\ta += \"2\";\n\t\tSystem.out.println(a);\n\t}\n}\n\n\n/* Expected Output:\n... | java | chosen |
[
{
"from": "system",
"value": "Clean up for autocomplete servlet\n"
},
{
"from": "human",
"value": "package com.screaminggreen.sculptor;\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.ArrayList;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Add Example 9 Lesson 4\n"
},
{
"from": "human",
"value": "package ru.stqua.pft.addressbook.tests;\n\nimport org.testng.Assert;\nimport org.testng.annotations.Test;\nimport ru.stqua.pft.addressbook.model.GroupData;\n\nimport java.util.HashSet;\nimport java.util.List;... | java | chosen |
[
{
"from": "system",
"value": "CSPACE-210: Add new singleton for Intake resource\n"
},
{
"from": "human",
"value": "package org.collectionspace.services.jaxrs;\n\nimport org.collectionspace.services.CollectionObjectResource;\nimport javax.ws.rs.core.Application;\nimport java.util.HashSet;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Add ContactInfo pane to create vendor pane\n\nOPEN - task 79: Create Party Module \nhttp://github.com/DevOpsDistilled/OpERP/issues/issue/79"
},
{
"from": "human",
"value": "package devopsdistilled.operp.client.party.panes.controllers.impl;\n\nimport javax.inject.Inj... | java | chosen |
[
{
"from": "system",
"value": "Allow Pydev launch shortcuts from context of Pydev project selection.\n"
},
{
"from": "human",
"value": "package org.python.pydev.debug.ui;\n\nimport org.eclipse.core.expressions.PropertyTester;\nimport org.eclipse.core.resources.IFile;\nimport org.eclipse.core.runt... | java | chosen |
[
{
"from": "system",
"value": "Set H2 over TLS as the default configuration\n"
},
{
"from": "human",
"value": "package com.github.arteam.dropwizard.http2.client;\n\nimport io.dropwizard.setup.Environment;\nimport org.eclipse.jetty.client.HttpClient;\n\n/**\n * Date: 11/26/15\n * Time: 10:22 AM\n ... | java | chosen |
[
{
"from": "system",
"value": "Implement split image board with a variable number of tiles.\n"
},
{
"from": "human",
"value": "import java.awt.GridLayout;\nimport javax.swing.JButton;\nimport javax.swing.JPanel;\n \n \npublic class Board extends JPanel { \n\t private JButton[][] buttons = new JB... | java | chosen |
[
{
"from": "system",
"value": "Remove duplicate public in interface\n\ninterface can only have public so remove duplicate of that. code\nscanners such as sonar will complain when adding public in this context.\n"
},
{
"from": "human",
"value": "/**\r\n * Copyright (C) 2011 rwoo@gmx.de\r\n *\r\n ... | java | chosen |
[
{
"from": "system",
"value": "Remove deployState parameter, forgotten during rebase to master.\n\n- Was used for spooler only.\n"
},
{
"from": "human",
"value": "// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.ya... | java | chosen |
[
{
"from": "system",
"value": "Fix appRoot for catchall resource.\n"
},
{
"from": "human",
"value": "package com.hubspot.singularity.resources;\n\nimport javax.inject.Singleton;\nimport javax.ws.rs.GET;\nimport javax.ws.rs.Path;\nimport javax.ws.rs.Produces;\nimport javax.ws.rs.core.MediaType;\n\... | java | chosen |
[
{
"from": "system",
"value": "Fix for the failing notfns on Oracle\n"
},
{
"from": "human",
"value": "package edu.duke.cabig.c3pr.dao;\n\nimport java.util.List;\n\nimport org.springframework.transaction.annotation.Transactional;\n\nimport edu.duke.cabig.c3pr.domain.PlannedNotification;\nimport e... | java | chosen |
[
{
"from": "system",
"value": "Fix to make compatible with brave-impl changes. LoggingSpanCollectorImpl is public class and not to be instantiated through com.github.kristofa.brave.Brave anymore.\n"
},
{
"from": "human",
"value": "package com.github.kristofa.brave.resteasyexample;\n\nimport org.s... | java | chosen |
[
{
"from": "system",
"value": "Add factory to avoid referring to impl classes from other modules\n"
},
{
"from": "human",
"value": "/********************************************************************************\n * Copyright (c) 2019 Stephane Bastian\n *\n * This program and the accompanying m... | java | chosen |
[
{
"from": "system",
"value": "Make it a functional interface\n\nSigned-off-by: Jens Reimann <d1bf62d29e711fdf0a5795916341a7b53d204e2a@redhat.com>"
},
{
"from": "human",
"value": "/*******************************************************************************\n * Copyright (c) 2016 Red Hat Inc a... | java | chosen |
[
{
"from": "system",
"value": "Use .class.getName() instead of hardcoded strings in default properties\n"
},
{
"from": "human",
"value": "package mib.microservice.commons.kafka;\n\nimport java.util.Map;\nimport java.util.Properties;\n\n/**\n * Default/fallback config properties for a kafka produc... | java | chosen |
[
{
"from": "system",
"value": "Add DEBUG logging of Cassandra consistency levels\n"
},
{
"from": "human",
"value": "package com.thinkaurelius.titan.diskstorage.cassandra;\n\nimport static com.thinkaurelius.titan.diskstorage.cassandra.AbstractCassandraStoreManager.CASSANDRA_READ_CONSISTENCY;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Disable mem leak check, it is to sensitive\n"
},
{
"from": "human",
"value": "package nl.esciencecenter.e3dchem.knime.silicosit;\n\nimport java.io.File;\nimport java.io.IOException;\n\nimport org.junit.Before;\nimport org.junit.Rule;\nimport org.junit.Test;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Update fix per ceetav's comments."
},
{
"from": "human",
"value": "package com.codahale.metrics;\n\nimport static java.lang.Math.min;\n\n/**\n * A {@link Reservoir} implementation backed by a sliding window that stores the last {@code N}\n * measurements.\n */\npubl... | java | chosen |
[
{
"from": "system",
"value": "CORE-504: Update Java progress events to use floats\n"
},
{
"from": "human",
"value": "/*\n * Created by Michael Carrara <michael.carrara@breadwallet.com> on 5/31/18.\n * Copyright (c) 2018 Breadwinner AG. All right reserved.\n *\n * See the LICENSE file at the pro... | java | chosen |
[
{
"from": "system",
"value": "Handle android EXTERNAL_STORAGE permissions in M\n\nDepend on\n https://www.npmjs.com/package/cordova-plugin-android-support-v4\n"
},
{
"from": "human",
"value": "package com.vaenow.appupdate.android;\n\nimport org.apache.cordova.CallbackContext;\nimport org.apache.... | java | chosen |
[
{
"from": "system",
"value": "Load the index page for *all* requests (except those that should be handled as resources by spring).\n"
},
{
"from": "human",
"value": "package ca.corefacility.bioinformatics.irida.web.controller.thymeleaf;\n\nimport org.springframework.stereotype.Controller;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Change print text with Japanese."
},
{
"from": "human",
"value": "package myproject1;\n\npublic class HelloWorld {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tSystem.out.print(\"Hello World!\");\n\t}\n\n}\n"
},
{
... | java | chosen |
[
{
"from": "system",
"value": "Reorder config groups for better documentation\n"
},
{
"from": "human",
"value": "package io.quarkus.dynamodb.runtime;\n\nimport io.quarkus.runtime.annotations.ConfigItem;\nimport io.quarkus.runtime.annotations.ConfigPhase;\nimport io.quarkus.runtime.annotations.Con... | java | chosen |
[
{
"from": "system",
"value": "Improve test coverage and deprecate some methods.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 higherfrequencytrading.com\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with th... | java | chosen |
[
{
"from": "system",
"value": "Add assert for response status code\n"
},
{
"from": "human",
"value": "package com.skogsrud.halvard.springmvc.spike.controller;\n\nimport com.skogsrud.halvard.springmvc.spike.tomcat.Server;\nimport com.squareup.okhttp.OkHttpClient;\nimport com.squareup.okhttp.Reques... | java | chosen |
[
{
"from": "system",
"value": "Use @RegisterExtension\rin junit5-extension-model project\n"
},
{
"from": "human",
"value": "/*\r\n * (C) Copyright 2017 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 th... | java | chosen |
[
{
"from": "system",
"value": "Decrease retry delay in fault tolerant execution tests\n\nSome tests are written to fail with an external failure what causes\ntasks being retried several times.\n"
},
{
"from": "human",
"value": "/*\n * Licensed under the Apache License, Version 2.0 (the \"License\... | java | chosen |
[
{
"from": "system",
"value": "Rename default -> vespa and add clarifying comment.\n"
},
{
"from": "human",
"value": "// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.vespa.model.admin.monitoring;\n\nimport a... | java | chosen |
[
{
"from": "system",
"value": "Make ports in descriptors be XML IDs"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2011-2012 The University of Manchester\n * \n * See the file \"LICENSE\" for license terms.\n */\npackage org.taverna.server.port_description;\n\nimport javax.xml.bind.annotat... | java | chosen |
[
{
"from": "system",
"value": "Fix by Sylvain on duplicated name for serializers Record and Long\n"
},
{
"from": "human",
"value": "/*\r\n * Copyright 1999-2010 Luca Garulli (l.garulli--at--orientechnologies.com)\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * ... | java | chosen |
[
{
"from": "system",
"value": "Add method to extract active tags from courses when editing\n\n"
},
{
"from": "human",
"value": "package at.ac.tuwien.inso.controller.lecturer.forms;\n\nimport java.util.ArrayList;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\n\nimport a... | java | chosen |
[
{
"from": "system",
"value": "Use a dictionary for metrid ids. There are few unique ones (less than 1k), but many instances.\n"
},
{
"from": "human",
"value": "// Copyright 2020 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage ai.vespa.metri... | java | chosen |
[
{
"from": "system",
"value": "Fix idiotic bug in GetGameId\n\nThe first try to play would always fail.\n"
},
{
"from": "human",
"value": "package br.odb.multiplayer.model;\n\nimport java.util.HashMap;\n\nimport javax.servlet.ServletContext;\n\npublic class ServerContext {\n\tpublic final HashMap... | java | chosen |
[
{
"from": "system",
"value": "Add returnTo param to normal login request\n"
},
{
"from": "human",
"value": "package nl.opengeogroep.safetymaps.server.stripes;\n\nimport net.sourceforge.stripes.action.ActionBean;\nimport net.sourceforge.stripes.action.ActionBeanContext;\nimport net.sourceforge.st... | java | chosen |
[
{
"from": "system",
"value": "Fix 188486 -- remove hard code for the property separator as ';'.\n"
},
{
"from": "human",
"value": "/*******************************************************************************\n * Copyright (c) 2005 Actuate Corporation.\n * All rights reserved. This program an... | java | chosen |
[
{
"from": "system",
"value": "Fix the syntax of unit tests\n"
},
{
"from": "human",
"value": "package co.uk.real_logic.aeron.tools;\n\nimport org.apache.commons.cli.ParseException;\nimport org.junit.Before;\nimport org.junit.Test;\n\nimport static org.hamcrest.core.Is.is;\nimport static org.juni... | java | chosen |
[
{
"from": "system",
"value": "Fix bug when deciding if file is supported."
},
{
"from": "human",
"value": "package net.sourceforge.javydreamercsw.validation.manager.web.file;\n\nimport java.io.File;\nimport java.io.IOException;\nimport org.apache.commons.io.FileUtils;\n\n/**\n *\n * @author Javi... | java | chosen |
[
{
"from": "system",
"value": "Add IF NOT EXISTS to index creation sql statement.\n"
},
{
"from": "human",
"value": "package uk.ac.ic.wlgitbridge.writelatex.model.db.sql.update.create;\n\nimport uk.ac.ic.wlgitbridge.writelatex.model.db.sql.SQLUpdate;\n\nimport java.sql.PreparedStatement;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Add missing border to messages box\n"
},
{
"from": "human",
"value": "package es.ucm.fdi.tp.views.swing;\n\npublic class MessagesBox extends ScrollableTextarea {\n\n\tprivate static final long serialVersionUID = 768586332299945974L;\n\n\t\n\tpublic MessagesBox() {\n... | java | chosen |
[
{
"from": "system",
"value": "Fix incorrect method call after a previous refactoring\n"
},
{
"from": "human",
"value": "package org.metaborg.meta.lang.dynsem.interpreter.nabl2.sg.nodes;\n\nimport org.metaborg.meta.lang.dynsem.interpreter.nabl2.NaBL2SolutionUtils;\nimport org.metaborg.meta.lang.d... | java | chosen |
[
{
"from": "system",
"value": "Use the repackaged versions of classes.\n\ngit-svn-id: ed609ce04ec9e3c0bc25e071e87814dd6d976548@299 c7a0535c-eda6-11de-83d8-6d5adf01d787\n"
},
{
"from": "human",
"value": "/*\n * Mutability Detector\n *\n * Licensed under the Apache License, Version 2.0 (the \"Licen... | java | chosen |
[
{
"from": "system",
"value": "Add a few more changes to be consistent with GenericRecommendedItem, like toString()\n"
},
{
"from": "human",
"value": "/*\n * Copyright Myrrix Ltd\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in comp... | java | chosen |
[
{
"from": "system",
"value": "Add a few more changes to be consistent with GenericRecommendedItem, like toString()"
},
{
"from": "human",
"value": "/*\n * Copyright Myrrix Ltd\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": "Update range to 6 figures\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Ryan Gilera.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy o... | java | chosen |
[
{
"from": "system",
"value": "Make runnabletransformoperation into a class instead"
},
{
"from": "human",
"value": "package protocolsupport.protocol.packet.middleimpl;\n\nimport io.netty.buffer.ByteBuf;\nimport protocolsupport.protocol.packet.PacketType;\n\npublic interface RunnableTransformOper... | java | chosen |
[
{
"from": "system",
"value": "Use fafault values as a constats\n"
},
{
"from": "human",
"value": "package kfs.springutils;\n\nimport java.io.IOException;\nimport org.springframework.context.support.ClassPathXmlApplicationContext;\n\n/**\n *\n * @author pavedrim\n */\npublic class RunApp {\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Add contacts to internal storage\n"
},
{
"from": "human",
"value": "package com.example.android.androidsimulator;\n\nimport android.support.v7.app.AppCompatActivity;\nimport android.os.Bundle;\n\npublic class AddContactsActivity extends AppCompatActivity {\n\n @O... | java | chosen |
[
{
"from": "system",
"value": "Fix a lint warned bug\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2015 Haruki Hasegawa\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may ... | java | chosen |
[
{
"from": "system",
"value": "Add system config type: RH and P2P\n"
},
{
"from": "human",
"value": "package io.subutai.hub.share.dto;\n\n\n/**\n * Created by ${Zubaidullo} on 2/18/16.\n */\npublic enum SystemConfigurationType\n{\n SUBUTAI_SOCIAL, SUBUTAI_SOCIAL_PLUGIN, SUBUTAI_SOCIAL_HUB\n}\n... | java | chosen |
[
{
"from": "system",
"value": "Reformat the code. Mark the type `final`.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2021, TeamDev. 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 Li... | java | chosen |
[
{
"from": "system",
"value": "Fix what seems to be a mistake in fromColorResAndDrawable\n\nBased off the name of the function, it seems that `fromColorResAndDrawable` should take in a `Drawable` object, not a `String` imageUrl."
},
{
"from": "human",
"value": "package com.github.florent37.materi... | java | chosen |
[
{
"from": "system",
"value": "Make test entities for versioned repositories implement an ancestorId field\n\n- required after the working copy refactor\n"
},
{
"from": "human",
"value": "package org.springframework.support;\n\nimport org.springframework.versions.AncestorRootId;\nimport org.sprin... | java | chosen |
[
{
"from": "system",
"value": "Add logging to a target, for creating logfiles for seperate channels\nlater"
},
{
"from": "human",
"value": "package heufybot.core;\n\nimport java.text.DateFormat;\nimport java.text.SimpleDateFormat;\nimport java.util.Date;\n\nimport heufybot.utils.FileUtils;\n\npub... | java | chosen |
[
{
"from": "system",
"value": "Remove toString method, add setters\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.spot.goci.model;\n\nimport javax.persistence.Entity;\nimport javax.persistence.GeneratedValue;\nimport javax.persistence.Id;\n\n/**\n * Created by emma on 27/11/14.\n *\n * @aut... | java | chosen |
[
{
"from": "system",
"value": "Add equals impl to CRRR\n"
},
{
"from": "human",
"value": "package com.palantir.atlasdb.keyvalue.partition;\n\nimport com.palantir.atlasdb.keyvalue.api.RangeRequest;\nimport com.palantir.common.annotation.Immutable;\n\n@Immutable public class ConsistentRingRangeRequ... | java | chosen |
[
{
"from": "system",
"value": "Fix block place packet reading"
},
{
"from": "human",
"value": "package protocolsupport.protocol.transformer.middlepacketimpl.serverbound.play.v_1_4_1_5_1_6_1_7;\n\nimport java.io.IOException;\n\nimport net.minecraft.server.v1_9_R1.BlockPosition;\nimport protocolsup... | java | chosen |
[
{
"from": "system",
"value": "Fix NPE in the enrollmentcoc api\n"
},
{
"from": "human",
"value": "package com.servinglynk.hmis.warehouse.service.converter; \n\nimport com.servinglynk.hmis.warehouse.core.model.EnrollmentCoc;\npublic class EnrollmentCocConverter extends BaseConverter {\n\n publ... | java | chosen |
[
{
"from": "system",
"value": "Add error handling for localization failures\n"
},
{
"from": "human",
"value": "package org.javarosa.xml.util;\n\nimport org.javarosa.core.services.locale.Localization;\n\n/**\n * Invalid structure error that can _potentially_ be recovered from via\n * advanced user... | java | chosen |
[
{
"from": "system",
"value": "Add @DirtiesContext for test preceding the failing test\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015-2017 Hewlett Packard Enterprise Development Company, L.P.\n * Licensed under the MIT License (the \"License\"); you may not use this file except in compl... | java | chosen |
[
{
"from": "system",
"value": "Use SecurityActions to set the TCCL\n"
},
{
"from": "human",
"value": "/*\n * JBoss, Home of Professional Open Source.\n * Copyright 2012 Red Hat, Inc., and individual contributors\n * as indicated by the @author tags.\n *\n * Licensed under the Apache License, Vers... | java | chosen |
[
{
"from": "system",
"value": "Reimplement the QuarkusJTAPlatform to avoid leaking the ORM registry\n"
},
{
"from": "human",
"value": "package io.quarkus.hibernate.orm.runtime.customized;\n\nimport javax.transaction.TransactionManager;\nimport javax.transaction.UserTransaction;\n\nimport org.hibe... | java | chosen |
[
{
"from": "system",
"value": "Convert iterated Python objects to JS.\n"
},
{
"from": "human",
"value": "// JSPyIterableObject.java\n\n/**\n* Copyright (C) 2008 10gen Inc.\n* \n* This program is free software: you can redistribute it and/or modify\n* it under the terms of the GNU Affer... | java | chosen |
[
{
"from": "system",
"value": "Add BirtException declaration on createView method.\n"
},
{
"from": "human",
"value": "/*******************************************************************************\n * Copyright (c) 2007 Actuate Corporation.\n * All rights reserved. This program and the accompan... | java | chosen |
[
{
"from": "system",
"value": "Fix for nightly build test failures\nReviewed by David McCann\n\n\nFormer-commit-id: 564cfc8b000c71aa47ce1164401719ca2f9edd39"
},
{
"from": "human",
"value": "/*******************************************************************************\r\n * Copyright (c) 1998, ... | java | chosen |
[
{
"from": "system",
"value": "[improvement] Remove duplication of code at deprecated Sync service\nAdd new line to the end of file\n"
},
{
"from": "human",
"value": "package com.edulify.modules.geolocation;\n\nimport org.junit.Test;\nimport play.test.WithApplication;\n\nimport java.util.ArrayLis... | java | chosen |
[
{
"from": "system",
"value": "Add function to Virtual Queue Repository interface\n"
},
{
"from": "human",
"value": "/*\nCopyright 2020 Google LLC\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain... | java | chosen |
[
{
"from": "system",
"value": "Disable indentpadding test, note why\n"
},
{
"from": "human",
"value": "package org.spoofax.jsglr2.integrationtest.languages;\n\nimport java.io.IOException;\nimport java.util.stream.Stream;\n\nimport org.junit.jupiter.api.DynamicTest;\nimport org.junit.jupiter.api.T... | java | chosen |
[
{
"from": "system",
"value": "Add handling to @root WebRoute matching so we can send the whole subpath\n"
},
{
"from": "human",
"value": "package io.tetrapod.core.web;\r\n\r\nimport io.tetrapod.protocol.core.WebRoute;\r\n\r\nimport java.util.Map;\r\nimport java.util.concurrent.ConcurrentHashMap;... | java | chosen |
[
{
"from": "system",
"value": "Clean links list for each new cycle."
},
{
"from": "human",
"value": "package com.urlcrawler;\n\nimport java.net.MalformedURLException;\nimport java.net.URL;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.regex.Matcher;\nimport java.util.rege... | java | chosen |
[
{
"from": "system",
"value": "Fix type relationship. And have methods calls each other\n"
},
{
"from": "human",
"value": "package fault;\n\nimport fault.concurrent.DefaultResilientPromise;\nimport fault.concurrent.ResilientFuture;\nimport fault.concurrent.ResilientPromise;\nimport fault.utils.Re... | java | chosen |
[
{
"from": "system",
"value": "Initialize BC Private and Public Key gen test\n"
},
{
"from": "human",
"value": "package sketch.avengergear.com;\n\nimport android.app.Activity;\nimport android.os.Bundle;\n\npublic class sketchUI extends Activity\n{\n /** Called when the activity is first create... | java | chosen |
[
{
"from": "system",
"value": "Change access modifier for builder attributes.\n\nMade fields protected so it can be accessed by subclasses. This is for if a custom subclass of SimpleAdapter is needed.\n\nSigned-off-by: Jhun Mag-atas <81e4780f037db3a872190957a49473577f0839d0@teamcodeflux.com>"
},
{
"f... | java | chosen |
[
{
"from": "system",
"value": "Disable test which is not yet working on CI\n"
},
{
"from": "human",
"value": "package com.gentics.mesh.test.docker;\n\nimport static com.gentics.mesh.test.ClientHelper.call;\nimport static org.junit.Assert.assertEquals;\n\nimport org.junit.ClassRule;\nimport org.ju... | java | chosen |
[
{
"from": "system",
"value": "Mark redundant properties as deprecated\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Eric F. Savage, code@efsavage.com\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with ... | java | chosen |
[
{
"from": "system",
"value": "Replace matrixStack in test living renderer"
},
{
"from": "human",
"value": "package info.u_team.u_team_test.entity.render;\n\nimport com.mojang.blaze3d.vertex.PoseStack;\n\nimport info.u_team.u_team_test.TestMod;\nimport net.minecraft.client.renderer.entity.EntityR... | java | chosen |
[
{
"from": "system",
"value": "Improve sequencing of ToC and Text-highlight tooltips.\n\nPreviously, if the ToC tutorial was shown to the user, then the Highlight\ntutorial wouldn't be shown until the app is destroyed and relaunched,\nwhich is not a predictable interval.\n\nThis patch guarantees that the Hig... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.