conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Add contraints from parent class.\n"
},
{
"from": "human",
"value": "package assignment2;\n\nimport be.ac.ua.ansymo.adbc.annotations.invariant;\n\n@invariant(\"$this.isTwoOrNoLeaf() == true\")\npublic class FullBinTree extends BinTree {\n\n\tpublic FullBinTree(long ... | java | chosen |
[
{
"from": "system",
"value": "[BACKLOG-19262] Fix to check style violation\n"
},
{
"from": "human",
"value": "/*! ******************************************************************************\n *\n * Pentaho Data Integration\n *\n * Copyright (C) 2017 by Hitachi Vantara : http://www.pentaho.com... | java | chosen |
[
{
"from": "system",
"value": "Simplify Binding logic -- no need for abstract methods, a custom constructor does the job nicely\n"
},
{
"from": "human",
"value": "package com.jeromecompsci.dgui;\n\nimport java.lang.reflect.InvocationTargetException;\n\n/**\n * @author Derek Wang\n */\nabstract cl... | java | chosen |
[
{
"from": "system",
"value": "Add availability2 comand, this command uses curl to do the availability check.\n"
},
{
"from": "human",
"value": "package executors;\n\n/**\n * Transform user commands in Nmap commands\n */\npublic class CommandCreator {\n\n public String createCommand(String use... | java | chosen |
[
{
"from": "system",
"value": "Remove unused code block which is not affect hash calculation\n"
},
{
"from": "human",
"value": "package com.iyzipay;\n\nimport com.iyzipay.exception.HttpClientException;\n\nimport javax.xml.bind.DatatypeConverter;\nimport java.security.MessageDigest;\nimport java.s... | java | chosen |
[
{
"from": "system",
"value": "Remove now-unnecessary brackets from subtype test\n\nThey were needed to disambiguate the types from expressions, but that's\nfixed now, so they're not needed anymore.\n"
},
{
"from": "human",
"value": "import static semantics.Util.head;\n\n\npublic class Subtypes f... | java | chosen |
[
{
"from": "system",
"value": "Add a util method so JS can get the annotations GWT does to a byte[] object.\n"
},
{
"from": "human",
"value": "package peergos.shared.user;\n\nimport jsinterop.annotations.*;\n\nimport java.util.*;\nimport java.util.concurrent.*;\n\npublic class JavaScriptPoster im... | java | chosen |
[
{
"from": "system",
"value": "Introduce new \"toAxisMessage()\" to create a Axis message from a DOM\ndocument. Use this new function instead of \"toSOAPMessage()\". This\nresolves a problem in Java 6 which has a built-in xml.SOAPMessage\nimplementation. This implementation is in conflict with the previous\n... | java | chosen |
[
{
"from": "system",
"value": "Throw an exception if the test importer cannot handle an import.\n"
},
{
"from": "human",
"value": "package io.bit3.jsass;\n\nimport io.bit3.jsass.importer.Import;\nimport io.bit3.jsass.importer.Importer;\n\nimport org.apache.commons.io.IOUtils;\n\nimport java.io.IO... | java | chosen |
[
{
"from": "system",
"value": "Refactor variable to inline creation\n"
},
{
"from": "human",
"value": "package com.google.sps.servlets;\n\nimport com.google.appengine.api.datastore.DatastoreService;\nimport com.google.appengine.api.datastore.DatastoreServiceConfig;\nimport com.google.appengine.ap... | java | chosen |
[
{
"from": "system",
"value": "Use Optional and supplier to match the servlet filter\n"
},
{
"from": "human",
"value": "import com.sun.jersey.api.client.ClientHandlerException;\nimport com.sun.jersey.api.client.ClientRequest;\nimport com.sun.jersey.api.client.ClientResponse;\nimport com.sun.jerse... | java | chosen |
[
{
"from": "system",
"value": "Set explicit polyfill version for tests"
},
{
"from": "human",
"value": "/*******************************************************************************\r\n * Copyright 2014, 2020 gwt-ol\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\... | java | chosen |
[
{
"from": "system",
"value": "Support port mappings from origin\n"
},
{
"from": "human",
"value": "package io.core9.proxy;\n\nimport java.net.InetSocketAddress;\nimport java.net.UnknownHostException;\nimport java.util.Map;\nimport java.util.TreeMap;\n\nimport org.littleshoot.proxy.HostResolver;\... | java | chosen |
[
{
"from": "system",
"value": "Fix length calculation in the exception path\n"
},
{
"from": "human",
"value": "/*\nCopyright 2011 Frederic Langlet\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 a... | java | chosen |
[
{
"from": "system",
"value": "Allow specifying username and password for HSQLDB\n"
},
{
"from": "human",
"value": "package org.stevewinfield.suja.idk.storage;\n\nimport org.stevewinfield.suja.idk.Bootloader;\n\npublic class HSQLDBStorageDriver implements StorageDriver {\n @Override\n publi... | java | chosen |
[
{
"from": "system",
"value": "Handle the case where jna cannot be loaded because it is in use by another classloader.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2011 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not... | java | chosen |
[
{
"from": "system",
"value": "Increase lock timeout to 5 min\n"
},
{
"from": "human",
"value": "package com.netflix.exhibitor.core.config;\n\nimport java.util.concurrent.TimeUnit;\n\npublic class AutoManageLockArguments\n{\n private final String prefix;\n private final int timeoutMs;\n ... | java | chosen |
[
{
"from": "system",
"value": "Add new external event for pause/resume bundle\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2010-2013 Ning, Inc.\n *\n * Ning licenses this file to you under the Apache License, version 2.0\n * (the \"License\"); you may not use this file except in compliance... | java | chosen |
[
{
"from": "system",
"value": "Fix the missing getter for proper Jackson desserialization of truffle compilation result\n"
},
{
"from": "human",
"value": "package org.adridadou.ethereum.propeller.solidity;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\nimport org.adridadou.ethe... | java | chosen |
[
{
"from": "system",
"value": "Add two properties to annotation\n"
},
{
"from": "human",
"value": "package org.roklib.webapps.uridispatching.parameter.annotation;\n\nimport java.lang.annotation.*;\n\n/**\n * @author Roland Krüger\n */\n@Retention(RetentionPolicy.RUNTIME)\n@Target(ElementType.METH... | java | chosen |
[
{
"from": "system",
"value": "Create version 0.9.11 before integrating file upload functionality\n"
},
{
"from": "human",
"value": "package org.beanmaker;\n\n/**\n * This class gives information about the VERSION of this library.\n */\npublic class Version {\n private static final String PRE... | java | chosen |
[
{
"from": "system",
"value": "Adjust which log messages can be filtered out\n"
},
{
"from": "human",
"value": "package io.quarkus.runtime.logging;\n\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.logging.Filter;\nimport java.util.logging.Level;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Allow users to read the name\n"
},
{
"from": "human",
"value": "package se.arbetsformedlingen.venice.probe;\n\nimport java.util.Objects;\n\npublic class Application {\n private String application;\n\n Application(String application) {\n this.application... | java | chosen |
[
{
"from": "system",
"value": "Add simple client test with stubbed result\n"
},
{
"from": "human",
"value": "package com.tempoiq;\n\nimport java.io.IOException;\nimport org.junit.*;\nimport static org.junit.Assert.*;\n\npublic class DataPointReadTest {\n\n @Test\n public void smokeTest() throws... | java | chosen |
[
{
"from": "system",
"value": "Move @ComponentDependency to the field as that is the latest recomendation\n"
},
{
"from": "human",
"value": "package arez.doc.examples.at_component_dependency;\n\nimport arez.annotations.ArezComponent;\nimport arez.annotations.ComponentDependency;\nimport arez.anno... | java | chosen |
[
{
"from": "system",
"value": "Implement the methods for the asserts\n"
},
{
"from": "human",
"value": "/**\n * Created with IntelliJ IDEA.\n * User: jhasmanyquiroz\n * Date: 11/10/15\n * Time: 11:00 AM\n * To change this template use File | Settings | File Templates.\n */\npackage steps;\n\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Switch to applet (Game -> GameApplet extension)\n"
},
{
"from": "human",
"value": "package j2048.jgamegui;\n\nimport java.awt.Color;\n\nimport jgame.GContainer;\nimport jgame.GRootContainer;\nimport jgame.Game;\n\n/**\n * The driver class for a 2048 game.\n * \n * @... | java | chosen |
[
{
"from": "system",
"value": "Improve thread safety with additional checks and a synchronized map.\n"
},
{
"from": "human",
"value": "package io.collap.bryg.environment;\n\nimport io.collap.bryg.Template;\n\nimport java.util.HashMap;\nimport java.util.Map;\n\npublic class StandardEnvironment imp... | java | chosen |
[
{
"from": "system",
"value": "Increment minor version to 2.9 to prepare for a new release.\n\n-------------\nCreated by MOE: https://github.com/google/moe\nMOE_MIGRATED_REVID=148830554\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2015 Google Inc. All Rights Reserved.\n *\n * Licensed und... | java | chosen |
[
{
"from": "system",
"value": "Remove @InheritConstructors from AsciidoctorExtensionException: no longer needed\n"
},
{
"from": "human",
"value": "package org.asciidoctor.groovydsl;\n\nimport groovy.transform.InheritConstructors;\n\n/**\n * Generic exception to manage Asciidoctor Extension DSL pr... | java | chosen |
[
{
"from": "system",
"value": "Add headers and format code\n"
},
{
"from": "human",
"value": "package es.bsc.compss.nio.commands;\n\npublic abstract class RetriableCommand implements Command {\n\n private static int MAX_RETRIES = 3;\n private int retries = 0;\n\n\n public void increaseRe... | java | chosen |
[
{
"from": "system",
"value": "Set explicit container factory for Kafka consumer.\n"
},
{
"from": "human",
"value": "package eu.nimble.core.infrastructure.identity.messaging;\n\nimport eu.nimble.core.infrastructure.identity.config.KafkaConfig;\nimport org.apache.kafka.clients.consumer.ConsumerRec... | java | chosen |
[
{
"from": "system",
"value": "Add maxHttpConnections for Influxdb 0.9.0 code path\n\nChange-Id: Ief4759610c3b8570ed58170265e069458d731540\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2014 Hewlett-Packard Development Company, L.P.\n *\n * Licensed under the Apache License, Version 2.0 ... | java | chosen |
[
{
"from": "system",
"value": "Increase signature verification test timeout\n"
},
{
"from": "human",
"value": "package com.braintreepayments.api.internal;\n\nimport android.os.SystemClock;\nimport android.support.test.runner.AndroidJUnit4;\nimport android.test.suitebuilder.annotation.LargeTest;\n... | java | chosen |
[
{
"from": "system",
"value": "Order tags in the menu in alphabetical order\n"
},
{
"from": "human",
"value": "package models;\r\n\r\nimport java.util.ArrayList;\r\nimport java.util.HashMap;\r\nimport java.util.List;\r\nimport java.util.Map;\r\n\r\nimport javax.persistence.*;\r\n\r\nimport play.d... | java | chosen |
[
{
"from": "system",
"value": "Set Id to be AutoGenerated\n\nOPEN - task 78: Proposed Business modules architecture \nhttp://github.com/DevOpsDistilled/OpERP/issues/issue/78"
},
{
"from": "human",
"value": "package devopsdistilled.operp.server.data.entity.party;\n\nimport java.util.Date;\n\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Fix drawer width double / int issues\n"
},
{
"from": "human",
"value": "package com.reactnativenavigation.params.parsers;\n\nimport android.os.Bundle;\nimport android.support.annotation.Nullable;\n\nimport com.reactnativenavigation.params.NavigationParams;\nimport c... | java | chosen |
[
{
"from": "system",
"value": "Add todo for no expectations defined case\n"
},
{
"from": "human",
"value": "package com.github.liucijus.jinsist.expectations;\n\nimport com.github.liucijus.jinsist.matchers.Arguments;\n\nimport java.lang.reflect.Method;\nimport java.util.ArrayList;\nimport java.uti... | java | chosen |
[
{
"from": "system",
"value": "Fix mistake in previous commit.\n\nMeant to change the type, not the name, duh :P\n"
},
{
"from": "human",
"value": "class RedeclaredField {\n public static void main(String[] args) {\n }\n}\n\nclass RedeclaredFieldTest {\n int a;\n int b; // Redeclared ... | java | chosen |
[
{
"from": "system",
"value": "Change address types to literals."
},
{
"from": "human",
"value": "/* Copyright 2005 I Serv Consultoria Empresarial Ltda.\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": "Fix test of HttpVerbValidator. PATCH and HEAD are valid http verbs\n"
},
{
"from": "human",
"value": "package gp.e3.autheo.authorization.infrastructure.validators;\n\nimport static org.junit.Assert.*;\n\nimport org.junit.Test;\n\npublic class HttpVerbValidatorTest {... | java | chosen |
[
{
"from": "system",
"value": "Fix jboss-all generation. Name should be attribute\n"
},
{
"from": "human",
"value": "package org.bedework.util.deployment;\n\nimport org.w3c.dom.Element;\nimport org.w3c.dom.Node;\n\nimport java.io.File;\nimport java.util.List;\n\n/** Represent a jboss-web.xml file... | java | chosen |
[
{
"from": "system",
"value": "Add group for testing packages\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 Google Inc. 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 License.\n ... | java | chosen |
[
{
"from": "system",
"value": "Make the internal MatcherType of the BlockType MatcherType a constant"
},
{
"from": "human",
"value": "package org.monospark.spongematchers.type;\n\nimport java.util.Map;\n\nimport org.monospark.spongematchers.matcher.SpongeMatcher;\nimport org.monospark.spongematch... | java | chosen |
[
{
"from": "system",
"value": "issue: Fix FK error while deleting a label.\n\nFK(foreign key) error occurs while deleting a label\nif an issue to which the label assigned exists.\n\nCascading also may solve this problem, but it causes the failure of the\nproject deleting test.\n"
},
{
"from": "human"... | java | chosen |
[
{
"from": "system",
"value": "Disable cleaning of staged participants when retain interval specified is 0 days.\n"
},
{
"from": "human",
"value": "package com.krishagni.catissueplus.core.biospecimen.services.impl;\n\nimport org.springframework.beans.factory.annotation.Autowired;\nimport org.spri... | java | chosen |
[
{
"from": "system",
"value": "Comment out non-deterministically failing test\n"
},
{
"from": "human",
"value": "package org.spoofax.jsglr2.integrationtest.grammars;\n\nimport java.io.IOException;\nimport org.junit.Test;\nimport org.spoofax.jsglr2.integrationtest.BaseTestWithSdf3ParseTables;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Order method parameters more consistent\n"
},
{
"from": "human",
"value": "package com.basgeekball.screenshotsnanny.core;\n\nimport android.os.Handler;\n\nimport com.basgeekball.screenshotsnanny.activityassistant.ActivityHelper;\nimport com.basgeekball.screenshotsna... | java | chosen |
[
{
"from": "system",
"value": "Remove the trailing slash on the base url.\n"
},
{
"from": "human",
"value": "package ca.corefacility.bioinformatics.irida.web.controller.test.integration.util;\n\npublic class ITestSystemProperties {\n\tpublic static final String APP_PORT = System.getProperty(\"jet... | java | chosen |
[
{
"from": "system",
"value": "Make sure to return null for anonymous users\n"
},
{
"from": "human",
"value": "package io.quarkus.resteasy.runtime.standalone;\n\nimport java.security.Principal;\n\nimport javax.ws.rs.core.SecurityContext;\n\nimport io.quarkus.security.identity.CurrentIdentityAssoc... | java | chosen |
[
{
"from": "system",
"value": "Change java client MIN_BUFFER_SIZE to 1MB\n"
},
{
"from": "human",
"value": "package seaweedfs.client;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\n\nimport java.nio.Buffer;\nimport java.nio.ByteBuffer;\nimport java.util.ArrayList;\nimport java.util... | java | chosen |
[
{
"from": "system",
"value": "Create channels with correct default affiliations\n"
},
{
"from": "human",
"value": "package org.buddycloud.channelserver.pubsub.publishmodel;\n\npublic enum PublishModels {\n\t\n publishers,\n subscribers,\n open;\n\n\tpublic static PublishModels createFro... | java | chosen |
[
{
"from": "system",
"value": "Add swagger doc for StromaeAPI\n"
},
{
"from": "human",
"value": "package fr.insee.pogues.webservice.rest;\n\nimport javax.ws.rs.GET;\nimport javax.ws.rs.Path;\n\nimport org.apache.log4j.Logger;\n\n/**\n * Main WebService class of the StromaePublishing service\n * \... | java | chosen |
[
{
"from": "system",
"value": "TAP5-1126: Add a new validator, \"none\", used when overriding the @Validate annotation\n\ngit-svn-id: d9b8539636d91aff9cd33ed5cd52a0cf73394897@940984 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "// Copyright 2010 The Apache Software Found... | java | chosen |
[
{
"from": "system",
"value": "Generalize list version of EuclideanDistance to any type of solution.\n\nThe implementation already allows that, but the generics unnecessarily\nconstrain it.\n"
},
{
"from": "human",
"value": "package org.uma.jmetal.util.distance.impl;\n\nimport org.uma.jmetal.solu... | java | chosen |
[
{
"from": "system",
"value": "OAK-5793: Improve coverage for security code in oak-core\n\nMissing license header\n\ngit-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1784852 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "package org.apache.jackrabbit.oak.spi.security.... | java | chosen |
[
{
"from": "system",
"value": "Add support driver for APM Jennifer - Fix for codacy\n\n\nFormer-commit-id: ac6d25e4c4b8afd3c10b685230b26f6c8ad6e4da"
},
{
"from": "human",
"value": "/*\n * DBeaver - Universal Database Manager\n * Copyright (C) 2010-2021 DBeaver Corp and others\n *\n * Licensed und... | java | chosen |
[
{
"from": "system",
"value": "BootService: Add a check to appease LINT/Android Studio\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2015 Willi Ye\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the Licens... | java | chosen |
[
{
"from": "system",
"value": "Fix return type of with* method in DTO\n"
},
{
"from": "human",
"value": "package com.codenvy.ide.ext.datasource.shared.request;\n\nimport java.util.List;\n\nimport com.codenvy.dto.shared.DTO;\n\n@DTO\npublic interface SelectResultDTO extends RequestResultDTO {\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Remove setter as would want this object to be immutable\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.spot.goci.model;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\n\n/**\n * Created by emma on 22/04/2016.\n *\n * @author emma\n * ... | java | chosen |
[
{
"from": "system",
"value": "TCOMP-69: Remove some code which solve the problem should be done by\nstudio team"
},
{
"from": "human",
"value": "// ============================================================================\n//\n// Copyright (C) 2006-2015 Talend Inc. - www.talend.com\n//\n// T... | java | chosen |
[
{
"from": "system",
"value": "[fa] Bring back the accidentally removed comment\n"
},
{
"from": "human",
"value": "/* LanguageTool, a natural language style checker \n * Copyright (C) 2014 Daniel Naber (http://www.danielnaber.de)\n * \n * This library is free software; you can redistribute it and... | java | chosen |
[
{
"from": "system",
"value": "Create Service if cloud Space"
},
{
"from": "human",
"value": "/*\r\n * Copyright (C) 2016 Thinkenterprise\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 License.\r\n * You ... | java | chosen |
[
{
"from": "system",
"value": "[validation] Use exceptions to get the error message.\n"
},
{
"from": "human",
"value": "package edu.kit.iti.formal.pse.worthwhile.validation;\n\nimport org.eclipse.xtext.nodemodel.SyntaxErrorMessage;\nimport org.eclipse.xtext.parser.antlr.SyntaxErrorMessageProvider... | java | chosen |
[
{
"from": "system",
"value": "Extend AbstractTestCase instead of TestBase when creating and using your own mainWindow\n\nsvn changeset:22078/svn branch:6.7\n"
},
{
"from": "human",
"value": "package com.vaadin.tests.components.treetable;\n\nimport com.vaadin.terminal.ExternalResource;\nimport co... | java | chosen |
[
{
"from": "system",
"value": "Add support for using environment variables for configuration\n"
},
{
"from": "human",
"value": "package net.rebworks.lunchy;\n\nimport com.fasterxml.jackson.databind.SerializationFeature;\nimport io.dropwizard.Application;\nimport io.dropwizard.client.JerseyClientB... | java | chosen |
[
{
"from": "system",
"value": "Add new \"critically low\" foreground trim level\n\nDifferential Revision: D10369483\n\nfbshipit-source-id: c4a55701c31e8a9375f0ab6a9238e5247758d57d\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is lice... | java | chosen |
[
{
"from": "system",
"value": "Update SessioHistoryListener to create a LinkedList\n"
},
{
"from": "human",
"value": "package org.chtijbug.drools.platform.core.droolslistener;\n\nimport org.chtijbug.drools.entity.history.HistoryEvent;\nimport org.chtijbug.drools.runtime.DroolsChtijbugException;\n... | java | chosen |
[
{
"from": "system",
"value": "Use configuration class from Application object\n"
},
{
"from": "human",
"value": "package io.dropwizard.migrations;\n\nimport io.dropwizard.Bundle;\nimport io.dropwizard.Configuration;\nimport io.dropwizard.db.DatabaseConfiguration;\nimport io.dropwizard.setup.Boot... | java | chosen |
[
{
"from": "system",
"value": "Fix cucumber tests after SB1.5.1 upgrade\n"
},
{
"from": "human",
"value": "package <%=packageName%>.cucumber.stepdefs;\n\nimport <%=packageName%>.<%= mainClass %>;\n\nimport org.springframework.boot.test.SpringApplicationContextLoader;\nimport org.springframework.t... | java | chosen |
[
{
"from": "system",
"value": "Add enrollment_code to U2F client"
},
{
"from": "human",
"value": "/*\n * oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.\n *\n * Copyright (c) 2014, Gluu\n */\n\npackage org.xdi.oxauth.client.fido.u2f;\n\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Make doc and naming consistent.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2018, TeamDev. 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 and the fol... | java | chosen |
[
{
"from": "system",
"value": "GWT: Enable time tracking in the performance tracker\n\n-------------\nCreated by MOE: https://github.com/google/moe\nMOE_MIGRATED_REVID=130721094\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 The Closure Compiler Authors.\n *\n * Licensed under the Apach... | java | chosen |
[
{
"from": "system",
"value": "Make W0 task handler test play more nicely.\n\nChange-Id: I19bacffb3c7b2cea75fc9efd54af104fcb89f4c4\n"
},
{
"from": "human",
"value": "package org.wikipedia.test;\n\nimport android.content.*;\nimport android.test.*;\nimport org.mediawiki.api.json.*;\nimport org.wiki... | java | chosen |
[
{
"from": "system",
"value": "Remove abstract from interface declaration\n"
},
{
"from": "human",
"value": "package sssj.index;\n\nimport java.util.Map;\n\nimport sssj.base.Vector;\n\npublic interface Index {\n\n /**\n * Queries the current index with the vector passed as parameter.\n * \n ... | java | chosen |
[
{
"from": "system",
"value": "Drop references from popped classes.\n\ngit-svn-id: fe6d842192ccfb78748eb71580d1ce65f168b559@704 9830eeb5-ddf4-0310-9ef7-f4b9a3e3227e\n"
},
{
"from": "human",
"value": "package com.thoughtworks.xstream.core.util;\n\npublic final class ClassStack {\n\n private Cla... | java | chosen |
[
{
"from": "system",
"value": "Use startActivityForResult when creating the first Timetable\n"
},
{
"from": "human",
"value": "package com.satsumasoftware.timetable.ui;\n\nimport android.content.Intent;\nimport android.os.Bundle;\nimport android.support.v7.app.AppCompatActivity;\n\nimport com.sat... | java | chosen |
[
{
"from": "system",
"value": "[22030] Install missing jbig2-imageio compression format"
},
{
"from": "human",
"value": "package ch.elexis.core.pdfbox;\n\nimport javax.imageio.spi.IIORegistry;\nimport javax.imageio.spi.ImageReaderSpi;\n\nimport org.apache.pdfbox.jbig2.JBIG2ImageReaderSpi;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Add Error propagation now that we use Throwable.\n"
},
{
"from": "human",
"value": "/**\n * Copyright 2013 Netflix, Inc.\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": "Quit operation does not perform any action\n"
},
{
"from": "human",
"value": "package com.twu.biblioteca.menu;\n\npublic class QuitAction implements Action {\n\n @Override\n public String toString() {\n return \"Quit\";\n }\n\n @Override\n publ... | java | chosen |
[
{
"from": "system",
"value": "Allow chat component processing in async result messaging\n"
},
{
"from": "human",
"value": "package com.elmakers.mine.bukkit.magic.command.config;\n\nimport java.util.logging.Level;\n\nimport org.bukkit.ChatColor;\nimport org.bukkit.command.CommandSender;\nimport o... | java | chosen |
[
{
"from": "system",
"value": "Fix for exception on client leave for DMs\n"
},
{
"from": "human",
"value": "package mzsJVM.Event;\nimport mzsJVM.Entities.PlayerEntity;\nimport mzsJVM.GameObject.PlayerGO;\nimport mzsJVM.IScriptEventHandler;\nimport mzsJVM.Repository.PlayerRepository;\nimport org.n... | java | chosen |
[
{
"from": "system",
"value": "Add the ability to override the property name\n"
},
{
"from": "human",
"value": "package org.realityforge.arez.annotations;\n\nimport java.lang.annotation.ElementType;\nimport java.lang.annotation.Retention;\nimport java.lang.annotation.RetentionPolicy;\nimport java... | java | chosen |
[
{
"from": "system",
"value": "Add program INI path constant\n"
},
{
"from": "human",
"value": "package droplauncher.util;\n\nimport java.util.logging.Level;\n\n/**\n * Constants class for global constants.\n */\npublic class Constants {\n\n public static final String PROGRAM_NAME = \"DropLaunch... | java | chosen |
[
{
"from": "system",
"value": "Remove view model in presenter\n"
},
{
"from": "human",
"value": "package lib.morkim.mfw.ui;\n\nimport android.content.Context;\n\nimport java.util.Observable;\nimport java.util.Observer;\n\nimport lib.morkim.mfw.app.AppContext;\nimport lib.morkim.mfw.domain.Model;\... | java | chosen |
[
{
"from": "system",
"value": "Fix crash when clearing cache\n"
},
{
"from": "human",
"value": "package com.lukekorth.photo_paper.services;\n\nimport android.app.IntentService;\nimport android.content.Intent;\n\nimport com.lukekorth.photo_paper.WallpaperApplication;\nimport com.lukekorth.photo_pa... | java | chosen |
[
{
"from": "system",
"value": "Support `page` parameter in stream API.\n"
},
{
"from": "human",
"value": "package tw.wancw.curator.api;\n\nimport com.loopj.android.http.AsyncHttpClient;\nimport com.loopj.android.http.RequestParams;\n\npublic class CuratorApi {\n\n private static final String A... | java | chosen |
[
{
"from": "system",
"value": "Add test to show disk usage ratio per partition.\n"
},
{
"from": "human",
"value": "package com.alibaba.rocketmq.example.verify;\n\nimport com.alibaba.rocketmq.common.UtilAll;\nimport org.apache.commons.cli.*;\n\npublic class SelectPartition {\n public static voi... | java | chosen |
[
{
"from": "system",
"value": "Add transitive test for equals and hashcode test.\n"
},
{
"from": "human",
"value": "package ro.stancalau.lombok.base;\n\nimport org.junit.Before;\nimport org.junit.Test;\nimport ro.stancalau.lombok.api.ImmutablePerson;\n\nimport static org.junit.Assert.assertFalse;... | java | chosen |
[
{
"from": "system",
"value": "Handle NPE when showing Overlay before setRoot is called\n\nRejecting the promise is a temporary solution, Overlay should not be coupled to root.\n"
},
{
"from": "human",
"value": "package com.reactnativenavigation.presentation;\n\nimport android.view.ViewGroup;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Remove empty lines that make it harder to read\n"
},
{
"from": "human",
"value": "package org.oskari.map.userlayer.service;\n\nimport fi.nls.oskari.domain.map.userlayer.UserLayer;\nimport fi.nls.oskari.domain.map.userlayer.UserLayerData;\nimport fi.nls.oskari.domain... | java | chosen |
[
{
"from": "system",
"value": "Revert \"marked class as abstract\"\n\nThis reverts commit 738a1bf038f65217efa5ffca4b28f8088fb4a29d.\n"
},
{
"from": "human",
"value": "package org.codehaus.groovy.grails.orm.hibernate;\n\npublic abstract class AbstractJavaClass {\n}\n"
},
{
"from": "gpt",
... | java | chosen |
[
{
"from": "system",
"value": "Change get's output to format Mustache can use\n"
},
{
"from": "human",
"value": "package com.google.sps.servlets;\n\nimport java.io.IOException;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.List;\nimport com.google.gson.Gson;\nimport jav... | java | chosen |
[
{
"from": "system",
"value": "Add time test and use fixed UUID and key\n"
},
{
"from": "human",
"value": "package com.mdsol.mauth;\n\nimport static org.junit.Assert.fail;\n\nimport org.junit.Rule;\nimport org.junit.Test;\nimport org.junit.rules.ExpectedException;\n\nimport java.io.IOException;\n... | java | chosen |
[
{
"from": "system",
"value": "Change commit_begin channel to commit_requested\n"
},
{
"from": "human",
"value": "package com.vsct.dt.haas.admin.nsq.producer;\n\nimport com.fasterxml.jackson.core.JsonProcessingException;\nimport com.fasterxml.jackson.databind.ObjectMapper;\nimport com.github.brai... | java | chosen |
[
{
"from": "system",
"value": "Fix semantic analysis of simple variables\n\nFunctions cannot be used as variable.\n"
},
{
"from": "human",
"value": "package absyn;\n\nimport env.Env;\nimport javaslang.collection.Tree;\nimport parse.Loc;\nimport semantic.SemanticHelper;\nimport types.INT;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Enable LoadTimeWeaving to support internal calls to proxied methods\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 w... | java | chosen |
[
{
"from": "system",
"value": "Fix a package path mistake"
},
{
"from": "human",
"value": "package ogr.sipc.se.plugin;\n\npublic interface Plugin {\n\t\n\tpublic void getURL() ;\n\t\n\tpublic void onEnable() ;\n\t\n}\n"
},
{
"from": "gpt",
"value": "package org.sipc.se.plugin;\n\npubl... | java | chosen |
[
{
"from": "system",
"value": "Insert new files, Alura, Projeto de Algoritmos 1, Aula 21\n"
},
{
"from": "human",
"value": "public class TestaOrdenacao {\n\n public static void main(String[] args) {\n\n Produto produtos[] = {\n new Produto(\"Lamborghini\", 1000000),\n new Produto(\"... | java | chosen |
[
{
"from": "system",
"value": "Make block comment a JavaDoc comment\n\ngit-svn-id: ef215b97ec449bc9c69e2ae1448853f14b3d8f41@1651134 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor lic... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.