conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Fix so that reactors properly return the EU/t on output.\n"
},
{
"from": "human",
"value": "package openccsensors.common.sensors.industrialcraft;\n\nimport ic2.api.IReactor;\n\nimport java.util.HashMap;\nimport java.util.Map;\n\nimport net.minecraft.src.TileEntity;\... | java | chosen |
[
{
"from": "system",
"value": "Fix openApi gson date format issue\n\n"
},
{
"from": "human",
"value": "package com.ctrip.framework.apollo.openapi.client.constant;\n\npublic interface ApolloOpenApiConstants {\n int DEFAULT_CONNECT_TIMEOUT = 1000; //1 second\n int DEFAULT_READ_TIMEOUT = 5000; //5... | java | chosen |
[
{
"from": "system",
"value": "Rename assertProcessor => assertSuccessfulCompile and add simplified assertSuccessfulCompile that accepts single classname parameter\n"
},
{
"from": "human",
"value": "package org.realityforge.arez.processor;\n\nimport com.google.testing.compile.JavaFileObjects;\nim... | java | chosen |
[
{
"from": "system",
"value": "Disable InventorySorter integration as it crashes\n"
},
{
"from": "human",
"value": "package com.raoulvdberge.refinedstorage.integration.inventorysorter;\n\nimport net.minecraftforge.fml.InterModComms;\nimport net.minecraftforge.fml.ModList;\n\npublic class Inventor... | java | chosen |
[
{
"from": "system",
"value": "Change log level from verbose to error.\n"
},
{
"from": "human",
"value": "package as.leap.sample.todolist;\n\nimport android.app.Application;\n\nimport as.leap.LASConfig;\n\npublic class App extends Application {\n\n public static final String APP_ID = \"Replace... | java | chosen |
[
{
"from": "system",
"value": "Set properties on new files\n\ngit-svn-id: 2afc70380305c7078ac9d33db6a1fb988992b501@1771268 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/* $Id$ */\r\n\r\n/**\r\n* Licensed to the Apache Software Foundation (ASF) under one or more\r\n* con... | java | chosen |
[
{
"from": "system",
"value": "Fix UI asset routing (streams not files, for resources in JAR)\n\n\nFormer-commit-id: 501af0ee4f927b3ebabd521ecc9a65d2e2144083"
},
{
"from": "human",
"value": "package org.deeplearning4j.ui.play.staticroutes;\n\nimport lombok.AllArgsConstructor;\nimport lombok.exter... | java | chosen |
[
{
"from": "system",
"value": "Test for .wfbundle filename, not .scufl2\n\ngit-svn-id: d93a27e49e8366f092fe01955016b9f01f5c8622@14416 bf327186-88b3-11dd-a302-d386e5130c1c\n"
},
{
"from": "human",
"value": "package uk.org.taverna.scufl2.usecases;\n\nimport static org.junit.Assert.assertNotNull;\ni... | java | chosen |
[
{
"from": "system",
"value": "Add abstract method for parsing attributes.\n"
},
{
"from": "human",
"value": "package com.github.aureliano.achmed.resources.properties;\n\npublic interface IResourceProperties {\n\n\tpublic abstract IResourceProperties put(String key, Object value);\n\t\n\tpublic a... | java | chosen |
[
{
"from": "system",
"value": "Add constructor with id, name and is_page values\n"
},
{
"from": "human",
"value": "package awesomefb.facebook;\n\nimport com.mongodb.BasicDBObject;\nimport org.bson.Document;\nimport org.json.JSONObject;\n\n/**\n * Created by earl on 5/25/2015.\n */\npublic class U... | java | chosen |
[
{
"from": "system",
"value": "Check for null to prevent NPE inside Matcher\n"
},
{
"from": "human",
"value": "package pl.jakubchmura.snmp.mib.reference.marker;\n\nimport com.intellij.codeInsight.daemon.RelatedItemLineMarkerInfo;\nimport com.intellij.psi.PsiElement;\nimport org.jetbrains.annotati... | java | chosen |
[
{
"from": "system",
"value": "Allow null peer alias in table\n\nif an identity request fails or doesn’t occur before a message packet\nis available, allow the incomplete peer to be saved. The public key is\nwhat’s important.\n"
},
{
"from": "human",
"value": "package pro.dbro.ble.data.model;\n\n... | java | chosen |
[
{
"from": "system",
"value": "Fix warning on double sampleEnd (which is not true)\n"
},
{
"from": "human",
"value": "package com.googlecode.jmeter.plugins.webdriver.sampler;\n\nimport org.apache.jmeter.samplers.SampleResult;\nimport org.apache.jorphan.logging.LoggingManager;\nimport org.apache.l... | java | chosen |
[
{
"from": "system",
"value": "Fix isValid return statement logic\n"
},
{
"from": "human",
"value": "package com.epam.rft.atsy.service.passwordchange.validation.impl;\n\nimport com.epam.rft.atsy.service.domain.PasswordChangeDTO;\nimport com.epam.rft.atsy.service.passwordchange.validation.Password... | java | chosen |
[
{
"from": "system",
"value": "Delete Cloud Profile in Basic Package"
},
{
"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\... | java | chosen |
[
{
"from": "system",
"value": "Fix expression: brace is missed\n"
},
{
"from": "human",
"value": "package com.intellij.debugger.streams.trace.smart.handler;\n\nimport org.jetbrains.annotations.NotNull;\n\n/**\n * @author Vitaliy.Bibaev\n */\npublic class HashMapVariableImpl extends VariableImpl {... | java | chosen |
[
{
"from": "system",
"value": "Update Page Controller Custom Error\n"
},
{
"from": "human",
"value": "package com.rizki.mufrizal.belajar.oauth2.controller;\n\nimport org.springframework.stereotype.Controller;\nimport org.springframework.web.bind.annotation.RequestMapping;\nimport org.springframew... | java | chosen |
[
{
"from": "system",
"value": "Update tutors for Fall 2016\n"
},
{
"from": "human",
"value": "package Information;\n\npublic enum Tutor {\n KARAN_BOODWA(\"Karan Boodwa\"),\n GIL_DEKEL(\"Gil Dekel\"),\n JONATHAN_GALSURKAR(\"Jonathan Galsurkar\"),\n MICHAEL_GAROD(\"Michael Garod\"),\n ... | java | chosen |
[
{
"from": "system",
"value": "Upgrade Localstack docker image to version 0.12.5\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional info... | java | chosen |
[
{
"from": "system",
"value": "Remove unnecessary line to load configs\n\nRemove line that loads RegistryConfigSettings from RegistryConfigTest.\n\n-------------\nCreated by MOE: https://github.com/google/moe\nMOE_MIGRATED_REVID=148236844\n"
},
{
"from": "human",
"value": "// Copyright 2017 The N... | java | chosen |
[
{
"from": "system",
"value": "IFS-6498: Update to remove permission at the moment\n"
},
{
"from": "human",
"value": "package org.innovateuk.ifs.assessment.dashboard.transactional;\n\nimport org.innovateuk.ifs.assessment.resource.dashboard.ApplicationAssessmentResource;\nimport org.innovateuk.ifs... | java | chosen |
[
{
"from": "system",
"value": "Add the rest of the HTTP request methods\n"
},
{
"from": "human",
"value": "package net.zephyrizing.http_server;\n\nimport java.nio.file.Path;\nimport java.nio.file.Paths;\nimport java.util.List;\n\npublic class HttpRequest {\n public static enum Method {GET, POS... | java | chosen |
[
{
"from": "system",
"value": "XWIKI-6871: Make XWiki Repository protocol more restfull\n"
},
{
"from": "human",
"value": "package org.xwiki.extension.repository.xwiki;\n\n/**\n * Resources to use to access Extension Manager REST service.\n * <p>\n * Resources producing list of result support the... | java | chosen |
[
{
"from": "system",
"value": "Fix Iron Chests not loading\n\n"
},
{
"from": "human",
"value": "package xyz.brassgoggledcoders.opentransport.modules.ironchest;\n\nimport net.minecraftforge.fml.common.event.FMLPreInitializationEvent;\nimport xyz.brassgoggledcoders.boilerplate.module.Module;\nimpor... | java | chosen |
[
{
"from": "system",
"value": "Add some methods to detect user name, language from full path\n"
},
{
"from": "human",
"value": "package src;\n\nimport java.io.File;\nimport java.nio.file.Path;\n\npublic class FileSystemWorker {\n public static String GetExtension(String path){\n int sep... | java | chosen |
[
{
"from": "system",
"value": "Make sure we keep EVENTS below the MAX_EVENTS threshold\n"
},
{
"from": "human",
"value": "package com.peterphi.std.guice.common.logging.appender;\n\nimport org.apache.log4j.AppenderSkeleton;\nimport org.apache.log4j.spi.LoggingEvent;\n\nimport java.util.LinkedList;... | java | chosen |
[
{
"from": "system",
"value": "NXP-11577: Fix Sonar Major violation: Interface Is Type\n"
},
{
"from": "human",
"value": "/*\n * (C) Copyright 2012 Nuxeo SA (http://nuxeo.com/) and contributors.\n *\n * All rights reserved. This program and the accompanying materials\n * are made available under ... | java | chosen |
[
{
"from": "system",
"value": "Fix cli transformation info starts transformation\n\nresolves #224 "
},
{
"from": "human",
"value": "package org.opentosca.toscana.cli.commands.transformation;\n\nimport java.io.IOException;\n\nimport org.opentosca.toscana.cli.ApiController;\n\nimport picocli.Comman... | java | chosen |
[
{
"from": "system",
"value": "Fix entries getting stuck in the pending map.\n\nPending map timestamp should be composite of\n(IntentData.version(), wallclocktime)\n\nChange-Id: I3caf739c4fdb70535696176621649f0842eea467\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2015 Open Networking Labo... | java | chosen |
[
{
"from": "system",
"value": "SO-4029: Add JSON deserialization annotations to collection resource"
},
{
"from": "human",
"value": "/*\n * Copyright 2020 B2i Healthcare Pte Ltd, http://b2i.sg\n * \n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file... | java | chosen |
[
{
"from": "system",
"value": "Fix Exception Message on Key-Valeu Query Service Loader"
},
{
"from": "human",
"value": "/*\n *\n * Copyright (c) 2017 Otávio Santana and others\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the E... | java | chosen |
[
{
"from": "system",
"value": "Fix to remove Activity as necessary arg\n"
},
{
"from": "human",
"value": "package com.peak.salut;\n\nimport android.util.Log;\nimport com.arasthel.asyncjob.AsyncJob;\n\nimport java.io.BufferedInputStream;\nimport java.io.DataInputStream;\nimport java.net.Socket;\n\... | java | chosen |
[
{
"from": "system",
"value": "Reorder methods to match the order TlsProtocolHandler will call them during handshake\n"
},
{
"from": "human",
"value": "package org.bouncycastle.crypto.tls;\n\nimport java.io.IOException;\nimport java.io.InputStream;\n\n/**\n * A generic class for ciphersuites in T... | java | chosen |
[
{
"from": "system",
"value": "Add Test case for Interface with @Singleton annotation\n"
},
{
"from": "human",
"value": "package eu.lestard.easydi;\n\nimport org.junit.Before;\nimport org.junit.Test;\n\nimport static org.assertj.core.api.Assertions.assertThat;\n\n/**\n * This test is used to veri... | java | chosen |
[
{
"from": "system",
"value": "Make base class for data collectors abstract.\n"
},
{
"from": "human",
"value": "package com.soulgalore.web.performance.navigation.datacollector;\n\nimport com.soulgalore.web.performance.navigation.timings.Timing;\nimport org.openqa.selenium.JavascriptExecutor;\n\ni... | java | chosen |
[
{
"from": "system",
"value": "Add NBT block entity inventory deserialization\n"
},
{
"from": "human",
"value": "package com.voxelwind.server.game.level.provider.anvil.util;\n\nimport com.flowpowered.nbt.ByteTag;\nimport com.flowpowered.nbt.CompoundMap;\nimport com.flowpowered.nbt.ShortTag;\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Change for KULPURAP-2710, PO Split validation\n\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2008 The Kuali Foundation.\n * \n * Licensed under the Educational Community License, Version 1.0 (the \"License\");\n * you may not use this file except in complianc... | java | chosen |
[
{
"from": "system",
"value": "Fix a bug in MA tests. Casting version.getMillis to an int resulted in the integer rolling over\n and returning a negative number\n"
},
{
"from": "human",
"value": "package org.motechproject.nms.api.web.contract.mobileAcademy;\n\n/**\n * API response object for get... | java | chosen |
[
{
"from": "system",
"value": "Remove cluster dependency from gossip protocols.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017-present Open Networking Laboratory\n *\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": "[BEAM-8470] Add an assert of equality in the encoders test\n"
},
{
"from": "human",
"value": "package org.apache.beam.runners.spark.structuredstreaming.utils;\n\nimport java.util.ArrayList;\nimport java.util.List;\nimport org.apache.beam.runners.spark.structuredstre... | java | chosen |
[
{
"from": "system",
"value": "Fix type name comparison in credentials test\n"
},
{
"from": "human",
"value": "package com.microsoft.azure.v2.credentials;\n\nimport com.google.common.base.Charsets;\nimport com.google.common.io.CharStreams;\nimport com.microsoft.azure.v2.credentials.http.MockHttpC... | java | chosen |
[
{
"from": "system",
"value": "Rename host role and host service role\n"
},
{
"from": "human",
"value": "// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.vespa.hosted.controller.api.integration.aws;\n\n/**\n * @aut... | java | chosen |
[
{
"from": "system",
"value": "Remove a double call to requestLayout in applyTransformation\n"
},
{
"from": "human",
"value": "package com.desmond.squarecamera;\n\nimport android.support.annotation.NonNull;\nimport android.view.View;\nimport android.view.animation.Animation;\nimport android.view.... | java | chosen |
[
{
"from": "system",
"value": "Fix bug related to timeout()\n"
},
{
"from": "human",
"value": "package com.handson.rx;\n\nimport com.handson.infra.EventStreamClient;\nimport com.handson.infra.RxNettyEventEventStreamClient;\nimport rx.schedulers.Schedulers;\n\nimport java.io.IOException;\n\n\npubl... | java | chosen |
[
{
"from": "system",
"value": "[PAXWEB-955] Fix typo in Accept-Language header\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 of the License ... | java | chosen |
[
{
"from": "system",
"value": "Add debug of all spawned processes\n"
},
{
"from": "human",
"value": "// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\n\npackage com.yahoo.vespa.hosted.node.admin.task.util.process;\n\nimport sta... | java | chosen |
[
{
"from": "system",
"value": "Truncate really long message previews\n"
},
{
"from": "human",
"value": "package ca.corefacility.bioinformatics.irida.ria.web.models.datatables;\n\nimport java.util.Date;\n\nimport ca.corefacility.bioinformatics.irida.model.announcements.Announcement;\nimport ca.cor... | java | chosen |
[
{
"from": "system",
"value": "Add method to get the content as a string which is required for message manipulations in runtime\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n *\n * WSO2 Inc. licenses this file to you under the ... | java | chosen |
[
{
"from": "system",
"value": "Write original coords for versions that support position flags"
},
{
"from": "human",
"value": "package protocolsupport.protocol.packet.middleimpl.clientbound.play.v_1_9_r1__1_9_r2__1_10__1_11;\n\nimport protocolsupport.api.ProtocolVersion;\nimport protocolsupport.p... | java | chosen |
[
{
"from": "system",
"value": "Use a property to set VERIFY_INTEGRITY.\n\n\ngit-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@1027 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3\n"
},
{
"from": "human",
"value": "/*\n * Bytecode Analysis Framework\n * Copyright (C) 2003, University of Maryland\n * \n * ... | java | chosen |
[
{
"from": "system",
"value": "Drop Serializable. \nInterface is new to 2.0, and not implemented except in test code, so no need to do anything further\n\ngit-svn-id: 80d496c472b8b763a5e941dba212da9bf48aeceb@777516 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Lic... | java | chosen |
[
{
"from": "system",
"value": "Add apache headers to interceptor\n\ngit-svn-id: 0f15cb08c8344e4f03ae17f6299848a7299a746f@1506125 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "package org.apache.rave.rest.interceptor;\n\nimport org.apache.cxf.interceptor.Fault;\nimport or... | java | chosen |
[
{
"from": "system",
"value": "[WFLY-4853] Disable transactions for invocations on RemoteStatefulSB\n"
},
{
"from": "human",
"value": "package org.jboss.as.test.clustering.twoclusters.bean.common;\n\nimport org.jboss.as.test.clustering.twoclusters.bean.SerialBean;\n\nimport javax.annotation.PostC... | java | chosen |
[
{
"from": "system",
"value": "Add adapter option number sorting"
},
{
"from": "human",
"value": "package com.sometrik.framework;\r\n\r\nimport android.content.Context;\r\nimport android.widget.ArrayAdapter;\r\nimport android.widget.Spinner;\r\n\r\npublic class FWPicker extends Spinner implements... | java | chosen |
[
{
"from": "system",
"value": "Call super.resolveProxies when loaded with another resource than AbstractSCtResource"
},
{
"from": "human",
"value": "/**\r\n * Copyright (c) 2012 committers of YAKINDU and others.\r\n * All rights reserved. This program and the accompanying materials\r\n * are made... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Fixed ElasticSearchInfoTest after upgrading to 7.3.1\"\n\nThis reverts commit e0ef226b40f560993e7597cd7cd0b12ce66ea877.\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agre... | java | chosen |
[
{
"from": "system",
"value": "Add simplified factory for channel\n"
},
{
"from": "human",
"value": "package org.realityforge.replicant.client;\n\nimport arez.Arez;\nimport arez.annotations.ArezComponent;\nimport arez.annotations.Observable;\nimport java.util.Objects;\nimport javax.annotation.Non... | java | chosen |
[
{
"from": "system",
"value": "Remove scandalous besmirchment of J9\n\nsvn path=/incubator/harmony/enhanced/classlib/trunk/; revision=371901\n"
},
{
"from": "human",
"value": "package java.sql;\r\n\r\n/**\r\n * Stub to keep J9 happy for now\r\n *\r\n */\r\npublic class SQLException extends Exce... | java | chosen |
[
{
"from": "system",
"value": "Fix false boolean match (wrong semantics)\n"
},
{
"from": "human",
"value": "package org.metaborg.meta.lang.dynsem.interpreter.nodes.matching;\n\nimport com.oracle.truffle.api.dsl.Specialization;\nimport com.oracle.truffle.api.source.SourceSection;\n\npublic abstrac... | java | chosen |
[
{
"from": "system",
"value": "Add TODO comment für Postfix\n"
},
{
"from": "human",
"value": "package stexfires.record.mapper.field;\n\nimport org.jetbrains.annotations.NotNull;\nimport stexfires.record.TextField;\n\nimport java.util.Objects;\n\n/**\n * @author Mathias Kalb\n * @since 0.1\n */\n... | java | chosen |
[
{
"from": "system",
"value": "Add util assertion method to check a state.\n\nValidate conditions, that should never occur.\nIf the argument is false, an exception is being thrown.\n"
},
{
"from": "human",
"value": "package de.philipphager.disclosure.util.assertion;\n\npublic final class Assertio... | java | chosen |
[
{
"from": "system",
"value": "Add fluidtank hand filling to boiler\n\n"
},
{
"from": "human",
"value": "package net.qbar.common.block;\n\nimport net.minecraft.block.material.Material;\nimport net.minecraft.tileentity.TileEntity;\nimport net.minecraft.world.World;\nimport net.qbar.common.tile.Til... | java | chosen |
[
{
"from": "system",
"value": "feat(dwell): Add dwell times array to reroute modifications\n"
},
{
"from": "human",
"value": "package com.conveyal.taui.models;\n\nimport java.util.List;\n\n/**\n * Created by matthewc on 3/28/16.\n */\npublic class Reroute extends Modification {\n public String... | java | chosen |
[
{
"from": "system",
"value": "Make unit test vars overridable.\n"
},
{
"from": "human",
"value": "package org.typemeta.funcj.codec.mpack;\n\nimport org.junit.Assert;\nimport org.typemeta.funcj.codec.TestBase;\n\nimport javax.xml.bind.DatatypeConverter;\nimport java.io.*;\n\npublic class MpackCod... | java | chosen |
[
{
"from": "system",
"value": "Fix Texture Loading on Windows\n\n- Fixed Textures not being loaded correctly on Windows.\n"
},
{
"from": "human",
"value": "package com.clashsoft.hypercube.util;\n\nimport javafx.scene.image.Image;\nimport javafx.scene.paint.Color;\nimport javafx.scene.paint.Materi... | java | chosen |
[
{
"from": "system",
"value": "Add more getters to block registry object"
},
{
"from": "human",
"value": "package info.u_team.u_team_core.util.registry;\n\nimport java.util.function.Supplier;\n\nimport net.minecraft.block.Block;\nimport net.minecraft.item.BlockItem;\nimport net.minecraftforge.fml... | java | chosen |
[
{
"from": "system",
"value": "Convert bmp to byte array\n"
},
{
"from": "human",
"value": "// Get JAFFE database from http://www.kasrl.org/jaffe_info.html\n// Extract pics in folder named \"jaffe\"\n// package image_test;\n\nimport java.awt.image.BufferedImage;\nimport java.io.ByteArrayOutputStr... | java | chosen |
[
{
"from": "system",
"value": "Add default time out to Kind 2 web example\n"
},
{
"from": "human",
"value": "package jkind.api.examples;\n\nimport java.io.FileReader;\nimport java.io.IOException;\nimport java.net.URI;\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport jkind.api.xml.Ki... | java | chosen |
[
{
"from": "system",
"value": "Allow clock to be set to current time.\n"
},
{
"from": "human",
"value": "// Prevayler(TM) - The Open-Source Prevalence Layer.\n// Copyright (C) 2001 Klaus Wuestefeld.\n// This library is free software; you can redistribute it and/or modify it under the terms of the... | java | chosen |
[
{
"from": "system",
"value": "Add additional checks in unref()\n\nmake sure no code calls unref() more than it should. Requires taking a\nwider lock, but this isn't performance critical code anyway\n"
},
{
"from": "human",
"value": "package com.litl.leveldb;\n\nimport java.io.Closeable;\nimport ... | java | chosen |
[
{
"from": "system",
"value": "Fix NPE with nullable expressions in custom syntax\n"
},
{
"from": "human",
"value": "package com.btk5h.skriptmirror.skript.custom;\n\nimport org.bukkit.event.Event;\n\nimport ch.njol.skript.lang.Expression;\nimport ch.njol.skript.lang.SkriptParser;\nimport ch.njol.... | java | chosen |
[
{
"from": "system",
"value": "Correct game.tick() implementation and pass failing test\n"
},
{
"from": "human",
"value": "package net.gpdev.gameoflife;\n\npublic class GameOfLife {\n private final int xDim;\n private final int yDim;\n\n private Grid current;\n private Grid next;\n\n ... | java | chosen |
[
{
"from": "system",
"value": "Remove annotation on outdated stuff"
},
{
"from": "human",
"value": "package info.u_team.u_team_test.init;\n\nimport info.u_team.u_team_test.TestMod;\nimport net.minecraftforge.fml.common.Mod.EventBusSubscriber;\nimport net.minecraftforge.fml.common.Mod.EventBusSubs... | java | chosen |
[
{
"from": "system",
"value": "Add call super option for @EqualsAndHashCode to avoid build warning.\n"
},
{
"from": "human",
"value": "package ro.stancalau.lombok.examples.correct;\n\nimport lombok.EqualsAndHashCode;\nimport lombok.Getter;\nimport lombok.Setter;\n\n@Getter\n@Setter\n@EqualsAndHas... | java | chosen |
[
{
"from": "system",
"value": "Fix version number (update major)\n"
},
{
"from": "human",
"value": "/*\r\n * Framework.java\r\n *\r\n * Copyright (c) 2015 Mike Strobel\r\n *\r\n * This source code is subject to terms and conditions of the Apache License, Version 2.0.\r\n * A copy of the license c... | java | chosen |
[
{
"from": "system",
"value": "Use StandardCharsets instead of string value\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * contributor license agreements. See the NOTICE file distributed with\n * this work for additional informati... | java | chosen |
[
{
"from": "system",
"value": "Fix String to Integer conversion bug\n"
},
{
"from": "human",
"value": "package example;\r\n\r\nimport java.io.DataOutputStream;\r\nimport java.io.IOException;\r\nimport java.net.Socket;\r\n\r\n\r\npublic class SocketClient {\r\n\r\n public static void main( Stri... | java | chosen |
[
{
"from": "system",
"value": "Add test for solc backward compatibility\n"
},
{
"from": "human",
"value": "package org.ethereum.solidity;\n\nimport static junit.framework.TestCase.assertEquals;\nimport static org.junit.Assert.assertTrue;\n\nimport org.ethereum.solidity.Abi.Entry;\nimport org.ethe... | java | chosen |
[
{
"from": "system",
"value": "Add delay to camera autoexposure enabling.\n"
},
{
"from": "human",
"value": "/* \n * Copyright (c) 2016 RobotsByTheC. All rights reserved.\n *\n * Open Source Software - may be modified and shared by FRC teams. The code must\n * be accompanied by the BSD license fi... | java | chosen |
[
{
"from": "system",
"value": "[*] Add ripple drawable to cards\n"
},
{
"from": "human",
"value": "package biz.kasual.recyclerfragment.views;\n\nimport android.content.Context;\nimport android.support.v7.widget.CardView;\nimport android.util.AttributeSet;\n\n/**\n * Created by Stephen Vinouze on ... | java | chosen |
[
{
"from": "system",
"value": "Add constant for induction and lower bound\n"
},
{
"from": "human",
"value": "/*\n * This file is released under terms of BSD license\n * See LICENSE file for more information\n */\n\npackage cx2x.translator.common;\n\n/**\n * Contains common constants values of the... | java | chosen |
[
{
"from": "system",
"value": "Fix crash when frames are moving in chunks without nearby players.\n"
},
{
"from": "human",
"value": "package com.rwtema.funkylocomotion.network;\n\nimport cpw.mods.fml.common.network.simpleimpl.IMessage;\nimport cpw.mods.fml.common.network.simpleimpl.SimpleNetworkW... | java | chosen |
[
{
"from": "system",
"value": "Set keywords on all existing Java files.\n"
},
{
"from": "human",
"value": "/**\n * $LastChangedRevision$\n * $HeadURL$\n * $LastChangedDate$\n * $LastChangedBy$\n */\npackage net.sf.cafemocha.application.swing;\n\nimport net.sf.cafemocha.application.Application;\n\... | java | chosen |
[
{
"from": "system",
"value": "Update withId to use the passed parameter"
},
{
"from": "human",
"value": "package com.github.davidmoten.rx;\n\nimport rx.Scheduler;\n\npublic final class Schedulers {\n\n public static Scheduler computation(String id) {\n return new SchedulerWithId(rx.sch... | java | chosen |
[
{
"from": "system",
"value": "Extend namespace class from PropertiedNetworkElement."
},
{
"from": "human",
"value": "package org.ndexbio.model.object.network;\n\nimport com.fasterxml.jackson.annotation.JsonIgnoreProperties;\n\n@JsonIgnoreProperties(ignoreUnknown = true)\npublic class Namespace e... | java | chosen |
[
{
"from": "system",
"value": "Fix wrong return -> continue\n"
},
{
"from": "human",
"value": "package net.simpvp.Events;\n\nimport java.util.UUID;\n\nimport org.bukkit.entity.Player;\nimport org.bukkit.event.EventHandler;\nimport org.bukkit.event.EventPriority;\nimport org.bukkit.event.Listener;... | java | chosen |
[
{
"from": "system",
"value": "Add method to increment metrics\n"
},
{
"from": "human",
"value": "package fault.metrics;\n\nimport fault.concurrent.LongAdder;\n\n/**\n * Created by timbrooks on 6/1/15.\n */\npublic class Second {\n\n private final LongAdder successes = new LongAdder();\n pr... | java | chosen |
[
{
"from": "system",
"value": "Add 'background' attribute for 'table' tag to the whitelist\n"
},
{
"from": "human",
"value": "package com.fsck.k9.message.html;\n\n\nimport org.jsoup.Jsoup;\nimport org.jsoup.nodes.Document;\nimport org.jsoup.safety.Cleaner;\nimport org.jsoup.safety.Whitelist;\n\n\... | java | chosen |
[
{
"from": "system",
"value": "Set default selection to password\n"
},
{
"from": "human",
"value": "package gui;\n\nimport java.awt.GridLayout;\n\nimport javax.swing.JLabel;\nimport javax.swing.JOptionPane;\nimport javax.swing.JPanel;\nimport javax.swing.JPasswordField;\n\nimport controller.Contr... | java | chosen |
[
{
"from": "system",
"value": "Fix list to tuple type\n"
},
{
"from": "human",
"value": "package org.cafebabepy.runtime.object;\n\nimport org.cafebabepy.runtime.PyObject;\nimport org.cafebabepy.runtime.Python;\n\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.List;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Add uuid to the patient bean in Android\n"
},
{
"from": "human",
"value": "package org.msf.records.model;\n\nimport java.io.Serializable;\n\n/**\n * Created by Gil on 03/10/2014.\n */\npublic class Patient implements Serializable {\n\n public String id;\n publ... | java | chosen |
[
{
"from": "system",
"value": "Add more tests for ResponseDefinitionBodyMatcher\n"
},
{
"from": "human",
"value": "package com.github.tomakehurst.wiremock.admin;\n\nimport com.github.tomakehurst.wiremock.admin.model.ResponseDefinitionBodyMatcher;\nimport com.github.tomakehurst.wiremock.http.Respo... | java | chosen |
[
{
"from": "system",
"value": "Remove check for null params in onSubmit\n"
},
{
"from": "human",
"value": "package com.grailbox.twicket;\n\nimport org.apache.wicket.markup.html.basic.Label;\nimport org.apache.wicket.markup.html.form.StatelessForm;\nimport org.apache.wicket.markup.html.form.TextFi... | java | chosen |
[
{
"from": "system",
"value": "Change how game phrases are generated - more streams!\n"
},
{
"from": "human",
"value": "package com.mssngvwls;\n\nimport java.util.Collections;\nimport java.util.LinkedList;\nimport java.util.List;\nimport java.util.Queue;\nimport java.util.stream.Collectors;\n\nim... | java | chosen |
[
{
"from": "system",
"value": "Set a minimum height to prevent the menu from surrendering it's entire space\n"
},
{
"from": "human",
"value": "package org.pentaho.ui.xul.swing.tags;\r\n\r\nimport java.awt.GridBagLayout;\r\nimport java.util.ArrayList;\r\n\r\nimport javax.swing.JMenu;\r\nimport jav... | java | chosen |
[
{
"from": "system",
"value": "Add methods to Auth endpoint\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 docu... | java | chosen |
[
{
"from": "system",
"value": "Make thumb cache key as first large preview cache key\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 Hippo Seven\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": "Fix topRounded method to draw the correct shape\n"
},
{
"from": "human",
"value": "//@author A0116538A\n\npackage bakatxt.gui;\n\nimport java.awt.Color;\nimport java.awt.Graphics;\nimport java.awt.Graphics2D;\nimport java.awt.geom.Path2D;\n\nimport bakatxt.core.Task... | java | chosen |
[
{
"from": "system",
"value": "Add HIDE_DYE item meta flag\n"
},
{
"from": "human",
"value": "package com.laytonsmith.abstraction.enums;\n\nimport com.laytonsmith.annotations.MEnum;\n\n/**\n * A MCItemFlag can hide some Attributes from MCItemStacks, through MCItemMeta.\n */\n@MEnum(\"com.commandh... | java | chosen |
[
{
"from": "system",
"value": "Add copyright header to util package\n"
},
{
"from": "human",
"value": "package com.github.pedrovgs.tuentitv.ui.util;\n\nimport android.content.Context;\n\n/**\n * @author Pedro Vicente Gómez Sánchez.\n */\npublic class Util {\n\n public static int convertDpToPixel... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.