conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Reduce internal token expiration time"
},
{
"from": "human",
"value": "package me.deftware.client.framework.MC_OAuth;\n\nimport java.util.concurrent.Executors;\nimport java.util.concurrent.TimeUnit;\n\npublic class StaticOAuth {\n\n\tprivate static String token = \"... | java | chosen |
[
{
"from": "system",
"value": "Add a new constant for ten minutes, so that we can use it in the config\n"
},
{
"from": "human",
"value": "package edu.berkeley.eecs.cfc_tracker;\n\npublic final class Constants {\n\tpublic static String LONGITUDE = \"longitude\";\n\tpublic static String LATITUDE = ... | java | chosen |
[
{
"from": "system",
"value": "Add constant for hints generated during offline matching"
},
{
"from": "human",
"value": "package won.matcher.service.common.event;\n\nimport won.matcher.service.common.mailbox.PriorityAtomEventMailbox;\n\n/**\n * Indicates how this event was generated and associate... | java | chosen |
[
{
"from": "system",
"value": "Set up the expense class with all its needed members\n"
},
{
"from": "human",
"value": "package com.example.assignment1;\n\npublic class TravelExpense {\n\n}\n"
},
{
"from": "gpt",
"value": "package com.example.assignment1;\n\nimport java.util.Calendar;\... | java | chosen |
[
{
"from": "system",
"value": "Add \" (unsupported)\" in toString().\n"
},
{
"from": "human",
"value": "package mjc.types;\n\n/**\n * UnsupportedType represents an unsupported type.\n *\n * There are only two static instances of this type, one for void and one for\n * String[]. These types appear... | java | chosen |
[
{
"from": "system",
"value": "Clean up duplicate code in controllers\n"
},
{
"from": "human",
"value": "package org.apereo.cas.web.report;\n\nimport org.springframework.cloud.bus.BusProperties;\nimport org.springframework.cloud.config.server.config.ConfigServerProperties;\n\nimport java.util.Map... | java | chosen |
[
{
"from": "system",
"value": "Resolve XXE vulnerability in XML validation\n"
},
{
"from": "human",
"value": "package manage.validations;\n\nimport org.everit.json.schema.FormatValidator;\nimport org.xml.sax.SAXException;\n\nimport javax.xml.parsers.DocumentBuilderFactory;\nimport javax.xml.parse... | java | chosen |
[
{
"from": "system",
"value": "Fix wrong interface being provided\n"
},
{
"from": "human",
"value": "package com.netflix.discovery.providers;\n\nimport com.google.inject.Inject;\nimport com.google.inject.Provider;\nimport com.netflix.discovery.DefaultEurekaClientConfig;\nimport com.netflix.discov... | java | chosen |
[
{
"from": "system",
"value": "Groid: Add numObjectTypes to constructor parameters\n"
},
{
"from": "human",
"value": "package com.provinggrounds.match3things.game;\n\n\n/*\n * Represents a game grid. Contains a rectangular grid of numbers.\n * All numbers must be positive integers greater than 0,... | java | chosen |
[
{
"from": "system",
"value": "Check signed jar on testmod\n"
},
{
"from": "human",
"value": "package info.u_team.u_team_test;\r\n\r\nimport net.minecraftforge.fml.common.Mod;\r\n\r\n@Mod(TestMod.MODID)\r\npublic class TestMod {\r\n\t\r\n\tpublic static final String MODID = \"uteamtest\";\r\n\t\r... | java | chosen |
[
{
"from": "system",
"value": "Change to Exception with message\n\nOPEN - task 66: Update Item functionalities implementation \nhttp://github.com/DevOpsDistilled/OpERP/issues/issue/66"
},
{
"from": "human",
"value": "package devopsdistilled.operp.client.items.exceptions;\n\npublic class ProductBr... | java | chosen |
[
{
"from": "system",
"value": "Change to convert to geolocation\n"
},
{
"from": "human",
"value": "package com.google.sps.data;\n\n/** User representing a location **/\npublic class User {\n\n private MapLocation geolocation;\n private int zipCode;\n\n /** Creates a user with a geolocation\n ... | java | chosen |
[
{
"from": "system",
"value": "Add appropriate accessor for Ingest Jobs\n"
},
{
"from": "human",
"value": "package model.job.type;\n\nimport model.job.PiazzaJobType;\nimport model.job.metadata.ResourceMetadata;\n\npublic class IngestJob implements PiazzaJobType {\n\tpublic final String type = \"i... | java | chosen |
[
{
"from": "system",
"value": "Remove redundant type in declaration\n"
},
{
"from": "human",
"value": "package org.folio.okapi.util;\n\nimport io.vertx.core.CompositeFuture;\nimport io.vertx.core.Future;\nimport io.vertx.core.Handler;\nimport java.util.LinkedList;\nimport java.util.List;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Change default encoding for json\n"
},
{
"from": "human",
"value": "package com.pyknic.servicekit.encode;\n\nimport com.google.gson.Gson;\nimport com.pyknic.servicekit.Service;\n\nimport java.util.Map;\n\n/**\n * An encoder that parses the result of a service to the... | java | chosen |
[
{
"from": "system",
"value": "Set preload default to false\n"
},
{
"from": "human",
"value": "package dmillerw.lore.core.proxy;\n\nimport cpw.mods.fml.client.FMLClientHandler;\nimport cpw.mods.fml.common.FMLCommonHandler;\nimport cpw.mods.fml.common.event.FMLPreInitializationEvent;\nimport dmill... | java | chosen |
[
{
"from": "system",
"value": "Increase timeout to avoid SQLITE_BUSY\n"
},
{
"from": "human",
"value": "package yanagishima.provider;\n\nimport me.geso.tinyorm.TinyORM;\n\nimport javax.inject.Inject;\nimport javax.inject.Provider;\nimport java.sql.Connection;\n\npublic class TinyORMProvider imple... | java | chosen |
[
{
"from": "system",
"value": "Add a test to show JSON at the root.\n"
},
{
"from": "human",
"value": "package hello.controllers;\n\nimport static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;\n\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\nimport org.spri... | java | chosen |
[
{
"from": "system",
"value": "Update of sorted merge step test case\n\ngit-svn-id: 51b39fcfd0d3a6ea7caa15377cad4af13b9d2664@4016 5fb7f6ec-07c1-534a-b4ca-9155e429e800\n"
},
{
"from": "human",
"value": "package org.pentaho.di.run.sortedmerge;\r\n\r\nimport junit.framework.TestCase;\r\n\r\nimport o... | java | chosen |
[
{
"from": "system",
"value": "Use Types.NULL for null objects\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2004 - 2014 Brian McCallister\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 * Y... | java | chosen |
[
{
"from": "system",
"value": "Use array instead of hashmap in Server Networking\n"
},
{
"from": "human",
"value": "package ethanjones.modularworld.networking.server;\n\nimport com.badlogic.gdx.net.Socket;\nimport ethanjones.modularworld.core.logging.Log;\nimport ethanjones.modularworld.networkin... | java | chosen |
[
{
"from": "system",
"value": "Throw a specific exception instead of a generic one\n"
},
{
"from": "human",
"value": "package me.devsaki.hentoid.parsers;\n\nimport android.webkit.URLUtil;\n\nimport java.util.List;\n\nimport me.devsaki.hentoid.database.domains.Content;\nimport me.devsaki.hentoid.d... | java | chosen |
[
{
"from": "system",
"value": "Add feature: error handling for paste command\n"
},
{
"from": "human",
"value": "package me.jacobcrofts.simplestructureloader.commands;\n\nimport java.io.IOException;\n\nimport org.bukkit.command.Command;\nimport org.bukkit.command.CommandExecutor;\nimport org.bukki... | java | chosen |
[
{
"from": "system",
"value": "Fix issue where add account would not appear\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2012 Brian Muramatsu\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n... | java | chosen |
[
{
"from": "system",
"value": "Add message for Invalid dates\n"
},
{
"from": "human",
"value": "package seedu.doist.commons.core;\n\n/**\n * Container for user visible messages.\n */\npublic class Messages {\n public static final String MESSAGE_UNKNOWN_COMMAND = \"Unknown command\";\n publi... | java | chosen |
[
{
"from": "system",
"value": "Drop log entry when closing the Kubernetes client\n\nIf we start logging something for every client we close, shutdown will\nbe far too verbose.\n"
},
{
"from": "human",
"value": "package io.quarkus.kubernetes.client.runtime;\n\nimport javax.annotation.PreDestroy;\n... | java | chosen |
[
{
"from": "system",
"value": "Set and Register view & model\n\nOPEN - task 86: Create Business(Sales-Purchases) Module \nhttp://github.com/DevOpsDistilled/OpERP/issues/issue/86"
},
{
"from": "human",
"value": "package devopsdistilled.operp.client.business.sales.panes.controllers.impl;\n\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Add release attribute to change log\n"
},
{
"from": "human",
"value": "package grails.plugin.mongogee;\n\nimport java.lang.annotation.ElementType;\nimport java.lang.annotation.Retention;\nimport java.lang.annotation.RetentionPolicy;\nimport java.lang.annotation.Targ... | java | chosen |
[
{
"from": "system",
"value": "Add debugging to update LED paths\n"
},
{
"from": "human",
"value": "package com.gmail.alexellingsen.g2skintweaks;\n\nimport android.content.BroadcastReceiver;\nimport android.content.Context;\nimport android.content.Intent;\n\npublic class UpdateLedPaths extends Br... | java | chosen |
[
{
"from": "system",
"value": "Replace localhost lookup with static IP to fix test.\n\nCalling InetAddress.getLocalHost() will cause a lookup to occur that may\nfail with a java.net.UnknownHostException if the system the test is\nrunning on is not configured correctly.\n\nThis is often fixed by echoing \"127... | java | chosen |
[
{
"from": "system",
"value": "Fix Checkstyle issues / add missing license header\n"
},
{
"from": "human",
"value": "package org.apache.camel.component.zookeeper.ha;\n\nimport org.apache.camel.ha.CamelClusterService;\nimport org.apache.camel.impl.ha.ClusteredRoutePolicyFactory;\nimport org.apache... | java | chosen |
[
{
"from": "system",
"value": "Tweak to hard code values to make test pass\n"
},
{
"from": "human",
"value": "package hello;\n\nimport org.springframework.web.bind.annotation.RequestMapping;\nimport org.springframework.web.bind.annotation.RestController;\n\nimport java.util.ArrayList;\nimport jav... | java | chosen |
[
{
"from": "system",
"value": "Remove @Deprecated from org.springframework.mock.jndi package\n\nThis commit removes the @Deprecated declaration on the\norg.springframework.mock.jndi package, since such usage results in a\ncompiler warning on JDK 9+ which breaks Spring's JDK 9 and JDK 11 CI\nbuilds.\n\nhttps:... | java | chosen |
[
{
"from": "system",
"value": "Put the category tabs on the left and scroll them if they are too many.\n\n\ngit-svn-id: 64ebf368729f38804935acb7146e017e0f909c6b@907 6335cc39-0255-0410-8fd6-9bcaacd3b74c\n"
},
{
"from": "human",
"value": "//\n// $Id: BrowsePanel.java,v 1.2 2002/02/22 07:06:33 mdb E... | java | chosen |
[
{
"from": "system",
"value": "Use `long` for NativeID incrementer\n"
},
{
"from": "human",
"value": "package com.getbeamapp.transit;\n\npublic abstract class AbstractTransitContext extends TransitProxy {\n\n public AbstractTransitContext() {\n super(null);\n this.rootContext = t... | java | chosen |
[
{
"from": "system",
"value": "Remove self-closure of <p/> tag in Javadoc comment\n"
},
{
"from": "human",
"value": "package com.grayben.riskExtractor.htmlScorer.partScorers;\n\n\n/**\n * Element scorer interface. Provide an implementing class to\n * {@link com.grayben.riskExtractor.htmlScorer.Sc... | java | chosen |
[
{
"from": "system",
"value": "Fix volume button scrolling on phones.\n"
},
{
"from": "human",
"value": "package cc.hughes.droidchatty;\n\nimport android.content.SharedPreferences;\nimport android.os.Bundle;\nimport android.preference.PreferenceManager;\nimport android.support.v4.app.FragmentActi... | java | chosen |
[
{
"from": "system",
"value": "Fix minor issue (jackson security)\n"
},
{
"from": "human",
"value": "package fr.insee.rmes.api.utils;\n\nimport javax.ws.rs.core.MediaType;\n\nimport org.apache.logging.log4j.LogManager;\nimport org.apache.logging.log4j.Logger;\n\nimport com.fasterxml.jackson.datab... | java | chosen |
[
{
"from": "system",
"value": "Fix random7 implementation to generate values 1-25 instead of 6-30\n"
},
{
"from": "human",
"value": "import java.util.Random;\n\npublic class Program {\n public static void main(String[] args) {\n }\n \n public static int random5() {\n return new... | java | chosen |
[
{
"from": "system",
"value": "[HOPS-808] Fix performance degradation due to safemode and enable namenode resource monitoring\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2015 hops.io.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this fi... | java | chosen |
[
{
"from": "system",
"value": "Update to the latest spy API\n"
},
{
"from": "human",
"value": "package org.realityforge.arez.extras.spy;\n\nimport java.util.Collections;\nimport java.util.List;\nimport javax.annotation.Nonnull;\nimport javax.annotation.Nullable;\nimport org.realityforge.arez.Comp... | java | chosen |
[
{
"from": "system",
"value": "Add test for initializing ctor with empty String.\n\nShould treat this like the default constructor\n* invalidString is null\n* message is the default"
},
{
"from": "human",
"value": "package com.skraylabs.poker.model;\n\nimport static org.hamcrest.CoreMatchers.equa... | java | chosen |
[
{
"from": "system",
"value": "Remove reference that our forthcoming Copybara config doesn't like.\n\nRELNOTES=n/a\n\n-------------\nCreated by MOE: https://github.com/google/moe\nMOE_MIGRATED_REVID=315774875\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2019 The Dagger Authors.\n *\n *... | java | chosen |
[
{
"from": "system",
"value": "Set hostname only when not already present"
},
{
"from": "human",
"value": "/*\n Copyright 2016 Nationale-Nederlanden\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 Y... | java | chosen |
[
{
"from": "system",
"value": "Fix the data point mapper Javadoc\n"
},
{
"from": "human",
"value": "package org.openmhealth.shim.common;\n\n\nimport org.openmhealth.schema.domain.omh.DataPoint;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\n\n/**\n * A mapper that takes a generic input... | java | chosen |
[
{
"from": "system",
"value": "Add some comments and code format"
},
{
"from": "human",
"value": "package persistence;\n\n\nimport javax.inject.Inject;\nimport javax.persistence.EntityManager;\nimport javax.validation.ConstraintValidator;\nimport javax.validation.ConstraintValidatorContext;\n\n\n... | java | chosen |
[
{
"from": "system",
"value": "Fix render layer adder in obf environments\n"
},
{
"from": "human",
"value": "package tehnut.lib.util;\n\nimport net.minecraft.client.Minecraft;\nimport net.minecraft.client.renderer.entity.RenderManager;\nimport net.minecraft.client.renderer.entity.RenderPlayer;\ni... | java | chosen |
[
{
"from": "system",
"value": "Reset object output stream so there are no duplicate messages when we\nwriteObject.\n"
},
{
"from": "human",
"value": "package radlab.rain.util;\n\nimport java.io.ObjectOutputStream;\nimport java.net.Socket;\n\nimport org.json.JSONObject;\n\nimport radlab.rain.Respo... | java | chosen |
[
{
"from": "system",
"value": "Add property limboPath to repository configuration.\n"
},
{
"from": "human",
"value": "package com.github.aureliano.edocs.common.config;\n\npublic class FileRepositoryConfiguration {\n\n\tprivate String rootPath;\n\t\n\tpublic FileRepositoryConfiguration() {}\n\t\n\... | java | chosen |
[
{
"from": "system",
"value": "Use new style try finally to close resources\n"
},
{
"from": "human",
"value": "package ch.johannes;\n\nimport java.io.BufferedInputStream;\nimport java.io.ByteArrayOutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\n\npublic class FileUtil {\n\... | java | chosen |
[
{
"from": "system",
"value": "Update the Depth constants to match the changes in client adapter and JavaHL\n"
},
{
"from": "human",
"value": "/*******************************************************************************\n * Copyright (c) 2004, 2006 Subclipse project and others.\n * All rights... | java | chosen |
[
{
"from": "system",
"value": "Set name of executor to 'taskExecutor' (@EnableAsync default)\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015-2016 EuregJUG.\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": "Update test case to show the problem is that we don't track the return value of unknown methods that happen to return a Connection\n\ngit-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@14309 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3\n"
},
{
"from": "human",
"value": "p... | java | chosen |
[
{
"from": "system",
"value": "Set Date when persisting Transaction"
},
{
"from": "human",
"value": "package devopsdistilled.operp.server.data.service.account.impl;\n\nimport org.springframework.data.jpa.repository.JpaRepository;\n\nimport devopsdistilled.operp.server.data.entity.account.Transact... | java | chosen |
[
{
"from": "system",
"value": "Add pending error code to service-integration-sdk\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017 AppDirect, Inc. and/or its affiliates\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance ... | java | chosen |
[
{
"from": "system",
"value": "Remove entire package name, otherwise Eclipse cannot link console output to source\n"
},
{
"from": "human",
"value": "package collabode;\n\n/**\n * Debugging support.\n */\npublic class Debug {\n \n /**\n * Announce the current method on {@link System#out}... | java | chosen |
[
{
"from": "system",
"value": "Change Player data members to protected\n"
},
{
"from": "human",
"value": "package com.pm.server.player;\n\nimport org.apache.logging.log4j.LogManager;\nimport org.apache.logging.log4j.Logger;\nimport org.springframework.stereotype.Component;\n\nimport com.pm.server... | java | chosen |
[
{
"from": "system",
"value": "Check if debug file exists"
},
{
"from": "human",
"value": "package fr.minepod.launcher;\r\n\r\nimport java.awt.HeadlessException;\r\nimport java.io.IOException;\r\n\r\npublic class CrashReport {\r\n\tpublic static String DebugFilePath = Config.DebugFilePath;\r\n\t\... | java | chosen |
[
{
"from": "system",
"value": "Change New Constructor for GuiKomponente\n"
},
{
"from": "human",
"value": "package de.dhbw.wi13c.jguicreator.data.util;\n\nimport java.awt.Color;\nimport java.awt.Dimension;\n\nimport javax.swing.JPanel;\n\npublic abstract class GUIKomponente extends JPanel\n{\n\tG... | java | chosen |
[
{
"from": "system",
"value": "Fix named arg calls, adding support for qualified/base type expressions\n"
},
{
"from": "human",
"value": "package ceylon.language;\n\n/**\n * Class to facilitate method calls using named arguments. This will be \n * removed/replace after M1.\n *\n * @param <R> The ... | java | chosen |
[
{
"from": "system",
"value": "Add 255 color value mapper helper\n"
},
{
"from": "human",
"value": "package com.haxademic.core.draw.color;\n\nimport processing.core.PApplet;\n\nimport com.haxademic.core.app.P;\n\npublic class ColorUtil {\n\t\n\tpublic static int colorWithIntAndAlpha( PApplet p, i... | java | chosen |
[
{
"from": "system",
"value": "Add start time to heartbeat.\n"
},
{
"from": "human",
"value": "package hello;\n\nimport lombok.Data;\nimport org.springframework.web.bind.annotation.RequestMapping;\nimport org.springframework.web.bind.annotation.RestController;\n\nimport java.net.UnknownHostExcept... | java | chosen |
[
{
"from": "system",
"value": "Add some stock to repository if it's empty\n"
},
{
"from": "human",
"value": "package com.querins.StockMarket.services;\n\nimport com.querins.StockMarket.model.Quote;\nimport com.querins.StockMarket.model.Stock;\nimport com.querins.StockMarket.repositories.StockRepo... | java | chosen |
[
{
"from": "system",
"value": "Fix read max-data-per-node correctly in memory connector config\n"
},
{
"from": "human",
"value": "/*\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy... | java | chosen |
[
{
"from": "system",
"value": "Reformat code and optimize imports.\n"
},
{
"from": "human",
"value": "package org.ops4j.pax.web.service.internal.model;\n\nimport javax.servlet.Filter;\n\npublic class FilterModel extends BasicModel\n{\n\n private final Filter m_filter;\n private final String... | java | chosen |
[
{
"from": "system",
"value": "Add conditionnalOn to EndpointObfuscator ensure it won't be avaiable in non-web context\n"
},
{
"from": "human",
"value": "package org.araymond.joal.web.config;\n\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.boot.autoconfig... | java | chosen |
[
{
"from": "system",
"value": "Add headers and format code\n"
},
{
"from": "human",
"value": "package es.bsc.compss.types.execution;\n\nimport java.util.List;\n\n\npublic interface InvocationParamCollection<T extends InvocationParam> extends InvocationParam {\n\n public List<T> getCollectionPa... | java | chosen |
[
{
"from": "system",
"value": "Fix incorrect expected value assigned\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 requery.io\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": "Add validation to logout request\n"
},
{
"from": "human",
"value": "/*\n * The MIT License (MIT)\n *\n * Copyright (c) 2016 Vincent Zhang/PhoenixLAB\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated ... | java | chosen |
[
{
"from": "system",
"value": "Revert \"remove the special toString() in order to sync with ESH\"\n"
},
{
"from": "human",
"value": "/**\r\n * Copyright (c) 2010-2015, openHAB.org and others.\r\n *\r\n * All rights reserved. This program and the accompanying materials\r\n * are made available und... | java | chosen |
[
{
"from": "system",
"value": "Use an identity with test data."
},
{
"from": "human",
"value": "package com.facetedworlds.honeydolist.collaboration;\n\nimport android.app.Activity;\n\nimport com.facetedworlds.honeydolist.ActivityTaskDispatcher;\nimport com.updatecontrols.correspondence.Community;... | java | chosen |
[
{
"from": "system",
"value": "Save and restore workbench state.\n\ngit-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@4697 28e8926c-6b08-0410-baaa-805c5e19b8d6\n"
},
{
"from": "human",
"value": "package org.objectweb.proactive.ic2d;\n\nimport org.eclipse.ui.IWorkbenchPreferenceConstants;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Use correct hash for missing files\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 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": "Handle selectBy for profile items. PL-11101.\n"
},
{
"from": "human",
"value": "package com.amee.domain;\n\nimport java.util.Date;\n\npublic class ProfileItemsFilter extends LimitFilter {\n\n private Date startDate = new Date();\n private Date endDate = null;\... | java | chosen |
[
{
"from": "system",
"value": "Use the TTF version of the font in Java.\n\nWindows (XP anyway) seems not to support OpenType fonts. Yay!\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2010 The PlayN Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may no... | java | chosen |
[
{
"from": "system",
"value": "Use initial capacity of 1. Max is often just 1 or maybe 2. LJMC might get slower, but everyone should use less RAM and some might get faster. Any slowdown should only affect startup, not long-term performance of a simulation.\n"
},
{
"from": "human",
"value": "/*... | java | chosen |
[
{
"from": "system",
"value": "Add condition to webMvcMetricsFilter bean\n\nCo-authored-by: Marco Geweke <8bae85dbfa00ce59d1b81e4121747343f331087b@otto.de>\n"
},
{
"from": "human",
"value": "package de.otto.edison.metricsconfiguration;\n\nimport io.micrometer.core.instrument.MeterRegistry;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Sort the child nodes in the labelling visitor, to make sure that they are sorted\n"
},
{
"from": "human",
"value": "package signature;\n\nimport java.util.Arrays;\n\npublic class CanonicalLabellingVisitor implements DAGVisitor {\n \n private int[] labelling;\n... | java | chosen |
[
{
"from": "system",
"value": "Remove redundant modifier from interface fields and method\n"
},
{
"from": "human",
"value": "package com.young.simpledict.dict;\n\nimport com.young.simpledict.dict.model.DictDetail;\n\n/**\n * Author: taylorcyang\n * Date: 2014-10-21\n * Time: 19:00\n * Life wi... | java | chosen |
[
{
"from": "system",
"value": "Make unit test output neater.\n"
},
{
"from": "human",
"value": "package org.kohsuke.github;\n\nimport java.io.IOException;\nimport org.junit.Test;\n\n/**\n * @author Martin van Zijl\n */\npublic class GHIssueEventTest extends AbstractGitHubApiTestBase {\n\n @Tes... | java | chosen |
[
{
"from": "system",
"value": "Update KYD to KYDC listing to be conform ISO_4217\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 b... | java | chosen |
[
{
"from": "system",
"value": "Add approximation of libsodium's sodium_memzero.\n"
},
{
"from": "human",
"value": "package com.bendoerr.saltedmocha;\n\nimport static com.bendoerr.saltedmocha.CryptoException.exceptionOf;\n\npublic class Util {\n\n public static final int MAX_ARRAY_SIZE;\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Fix ding sound's resource name\n"
},
{
"from": "human",
"value": "/*\r\n * Copyright (c) 2010 Célio Cidral Junior\r\n * \r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the Licen... | java | chosen |
[
{
"from": "system",
"value": "Use ant filtering for MC version number.\n"
},
{
"from": "human",
"value": "package invtweaks.forge.asm;\n\nimport cpw.mods.fml.relauncher.IFMLLoadingPlugin;\n\nimport java.util.Map;\n\n@IFMLLoadingPlugin.MCVersion(\"1.5.2\")\n@IFMLLoadingPlugin.TransformerExclusion... | java | chosen |
[
{
"from": "system",
"value": "Change game name to Fishy\n"
},
{
"from": "human",
"value": "package nl.github.martijn9612.fishy;\n\nimport java.util.logging.Level;\nimport java.util.logging.Logger;\nimport org.newdawn.slick.AppGameContainer;\nimport org.newdawn.slick.BasicGame;\nimport org.newdaw... | java | chosen |
[
{
"from": "system",
"value": "Optimize merge step of Merge sort.\n\nA merge is necessary only when the last element of the sorted left\nsub-array is greater than or equal to the first element of the sorted\nright sub-array.\n"
},
{
"from": "human",
"value": "package com.varunvats.practice.sortin... | java | chosen |
[
{
"from": "system",
"value": "Remove \"sh\" command from script execution\n"
},
{
"from": "human",
"value": "package x1125io.initdlight;\n\nimport android.content.BroadcastReceiver;\nimport android.content.Context;\nimport android.content.Intent;\nimport android.util.Log;\n\npublic class BootRec... | java | chosen |
[
{
"from": "system",
"value": "Print the most AMAZING text ever!!!!1!\n"
},
{
"from": "human",
"value": "package dk.statsbiblioteket.demo;\n\npublic class Main {\n\n public static void main(String[] args) {\n System.out.println(\"This is the Demo of the Git\");\n System.out.print... | java | chosen |
[
{
"from": "system",
"value": "Allow null as defining class.\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2008 XStream Committers.\n * All rights reserved.\n *\n * The software in this package is published under the terms of the BSD\n * style license a copy of which has been included w... | java | chosen |
[
{
"from": "system",
"value": "Add respacing test with varying group sizes\n"
},
{
"from": "human",
"value": "package com.mssngvwls;\n\nimport static org.assertj.core.api.Assertions.assertThat;\nimport static org.mockito.Mockito.when;\n\nimport org.junit.Test;\nimport org.junit.runner.RunWith;\ni... | java | chosen |
[
{
"from": "system",
"value": "Initialize mail addresses to prevent crashes\n"
},
{
"from": "human",
"value": "package de.fau.cs.mad.fablab.android.model;\n\nimport de.fau.cs.mad.fablab.rest.core.MailAddresses;\nimport de.fau.cs.mad.fablab.rest.myapi.DataApi;\nimport retrofit.Callback;\nimport re... | java | chosen |
[
{
"from": "system",
"value": "Update Plugin state entity refactoring\n"
},
{
"from": "human",
"value": "package com.epam.ta.reportportal.ws.model.integration;\n\nimport com.epam.ta.reportportal.ws.annotations.NotEmpty;\nimport com.fasterxml.jackson.annotation.JsonInclude;\n\nimport javax.validat... | java | chosen |
[
{
"from": "system",
"value": "Add attribute ancestor to operating system type.\n"
},
{
"from": "human",
"value": "package com.github.aureliano.achmed.resources.types;\n\npublic enum OperatingSystemFamily {\n\n\tDEBIAN,\n\tUBUNTU,\n\tRPM,\n\tAPP\n}"
},
{
"from": "gpt",
"value": "packa... | java | chosen |
[
{
"from": "system",
"value": "Return null in view factory if the view enum was not found\n"
},
{
"from": "human",
"value": "package com.cube.storm.ui.lib.factory;\n\nimport com.cube.storm.ui.view.View;\nimport com.cube.storm.ui.view.holder.Holder;\n\n/**\n * This is the factory class which is us... | java | chosen |
[
{
"from": "system",
"value": "Add bytebuffer overload to native library.\n"
},
{
"from": "human",
"value": "package nanomsg;\n\nimport com.sun.jna.Native;\nimport com.sun.jna.Pointer;\nimport com.sun.jna.ptr.PointerByReference;\nimport com.sun.jna.ptr.IntByReference;\n\n\npublic class NativeLibr... | java | chosen |
[
{
"from": "system",
"value": "Add new method newBufferedWriter with a CharsetEncoder\n"
},
{
"from": "human",
"value": "package stexfires.io;\n\nimport stexfires.core.Record;\n\nimport java.io.BufferedReader;\nimport java.io.BufferedWriter;\nimport java.io.IOException;\nimport java.nio.charset.C... | java | chosen |
[
{
"from": "system",
"value": "Add null check in case user isn't logged in\n"
},
{
"from": "human",
"value": "package edu.asu.scrapbook.digital.util;\r\n\r\nimport com.google.appengine.api.users.UserService;\r\nimport com.google.appengine.api.users.UserServiceFactory;\r\n\r\nimport edu.asu.scrapb... | java | chosen |
[
{
"from": "system",
"value": "Implement assert statement for catalog-entities command\n"
},
{
"from": "human",
"value": "package brooklyn.cli;\n\nimport brooklyn.rest.BrooklynService;\nimport org.junit.Assert;\nimport org.testng.annotations.AfterClass;\nimport org.testng.annotations.BeforeClass;... | java | chosen |
[
{
"from": "system",
"value": "Fix Jackson no suitable constructor found\n"
},
{
"from": "human",
"value": "package com.github.couchmove.pojo;\n\nimport com.couchbase.client.java.Bucket;\nimport lombok.Builder;\nimport lombok.Data;\nimport lombok.EqualsAndHashCode;\nimport org.jetbrains.annotatio... | java | chosen |
[
{
"from": "system",
"value": "Fix typo in error message.\n\n\ngit-svn-id: 169764d5f12c41a1cff66b81d896619f3ce5473d@2638 5e0a886f-7f45-49c5-bc19-40643649e37f\n"
},
{
"from": "human",
"value": "package kawa.standard;\nimport gnu.expr.*;\nimport gnu.lists.*;\nimport kawa.lang.*;\n\npublic class thi... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.