conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Add a link in doc.\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 following\n * di... | java | chosen |
[
{
"from": "system",
"value": "Fix bug in setting attributes\n"
},
{
"from": "human",
"value": "package nl.surfnet.mockoleth.controllers;\n\nimport java.io.UnsupportedEncodingException;\n\nimport org.slf4j.Logger;\nimport org.slf4j.LoggerFactory;\nimport org.springframework.beans.factory.annotati... | java | chosen |
[
{
"from": "system",
"value": "Use ResourceBundle caching instead of static field\n"
},
{
"from": "human",
"value": "// Copyright (c) 2016 Timothy D. Jones\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files ... | java | chosen |
[
{
"from": "system",
"value": "Add suppressing warnings for preferences activity.\n\nChange-Id: I7808e8bbc080b65017dc273e423db51c9151d9f7\n"
},
{
"from": "human",
"value": "/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */\n/*\n * This file is part of the LibreOffic... | java | chosen |
[
{
"from": "system",
"value": "Add permission check to terminal\n"
},
{
"from": "human",
"value": "package com.nitorcreations.willow.servers;\n\nimport java.util.concurrent.TimeUnit;\n\nimport javax.inject.Singleton;\n\nimport org.eclipse.jetty.websocket.servlet.WebSocketServlet;\nimport org.ecli... | java | chosen |
[
{
"from": "system",
"value": "Add copyright notice to new file\n"
},
{
"from": "human",
"value": "package com.yahoo.container.plugin.classanalysis;\n\nimport org.junit.Test;\n\nimport java.util.Set;\n\nimport static java.util.Collections.emptyMap;\nimport static org.hamcrest.Matchers.is;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Fix gold hoe charge level.\n"
},
{
"from": "human",
"value": "package joshie.harvest.api.core;\n\nimport net.minecraft.item.ItemStack;\n\n/** Items that implement this interface are associated with a certain\n * ToolTier, this can affect various things **/\npublic ... | java | chosen |
[
{
"from": "system",
"value": "Use Stream::limit instead of List::subList\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.atlas.solr.query;\n\nimport org.apache.solr.client.solrj.SolrQuery;\nimport uk.ac.ebi.atlas.search.SemanticQueryTerm;\nimport uk.ac.ebi.atlas.species.Species;\n\nimport j... | java | chosen |
[
{
"from": "system",
"value": "Use == instead of .equals\n"
},
{
"from": "human",
"value": "package seedu.todo.commons.core;\n\nimport org.junit.Rule;\nimport org.junit.Test;\nimport org.junit.rules.ExpectedException;\n\nimport seedu.todo.commons.core.Config;\n\nimport static org.junit.Assert.ass... | java | chosen |
[
{
"from": "system",
"value": "Clear offline data on logout\n"
},
{
"from": "human",
"value": "package tr.xip.wanikani.managers;\n\nimport android.content.Context;\nimport android.content.SharedPreferences;\nimport android.os.Environment;\nimport android.preference.PreferenceManager;\n\n/**\n * C... | java | chosen |
[
{
"from": "system",
"value": "Use Upper case for SQL keywords\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 at\n *\n * h... | java | chosen |
[
{
"from": "system",
"value": "Set theme for activator target help.\n"
},
{
"from": "human",
"value": "package sk.henrichg.phoneprofilesplus;\n\nimport android.os.Bundle;\nimport android.support.v7.app.AppCompatActivity;\n\npublic class ActivatorTargetHelpsActivity extends AppCompatActivity {\n\n... | java | chosen |
[
{
"from": "system",
"value": "Add interface method to update solution.\n"
},
{
"from": "human",
"value": "package mb.nabl2.spoofax.analysis;\n\nimport java.util.List;\nimport java.util.Optional;\n\nimport mb.nabl2.constraints.IConstraint;\nimport mb.nabl2.solver.ISolution;\nimport mb.nabl2.terms... | java | chosen |
[
{
"from": "system",
"value": "Fix to division by int warning\n"
},
{
"from": "human",
"value": "package com.johnuckele.vivarium.visualization.animation;\n\nimport java.awt.Graphics2D;\nimport java.awt.Image;\nimport java.awt.image.ImageObserver;\n\nimport javax.swing.ImageIcon;\n\nimport com.joh... | java | chosen |
[
{
"from": "system",
"value": "Fix empty messages listview on resume\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c) 2015 IRCCloud, Ltd.\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 m... | java | chosen |
[
{
"from": "system",
"value": "Tests: Add remove anonymous node properties test\n"
},
{
"from": "human",
"value": "/**\n * Copyright (c) 2016, German Neuroinformatics Node (G-Node)\n *\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modifica... | java | chosen |
[
{
"from": "system",
"value": "Disable test untestable without x server"
},
{
"from": "human",
"value": "package org.jrebirth.af.core.command.basic.multi;\r\n\r\nimport org.jrebirth.af.core.command.basic.BasicCommandTest;\r\n\r\nimport org.junit.Test;\r\n\r\n//@Ignore(\"JavaFX can't be run in hea... | java | chosen |
[
{
"from": "system",
"value": "Fix: Return of boolean expressions should not be wrapped into an \"if-then-else\" statement (squid:S1126)\n"
},
{
"from": "human",
"value": "package se.vidstige.jadb;\n\n/**\n * Created by vidstige on 2014-03-20\n */\npublic class RemoteFile {\n private final Str... | java | chosen |
[
{
"from": "system",
"value": "Fix perspective initialization issue when clicking on top menu navbar\n"
},
{
"from": "human",
"value": "package org.gitcontrib.client.perspectives;\n\nimport javax.annotation.PostConstruct;\nimport javax.enterprise.context.ApplicationScoped;\n\nimport org.uberfire.... | java | chosen |
[
{
"from": "system",
"value": "Add PPC64LE as an architecture to support OpenPower Platforms\n\n- When trying to package rpms of Architecture type ppc64le (OpenPower) a\nfailure occurs stating it is not a supported architecture\n- Added PPC64LE as an architecure type so downstream dependencies of\nredline wi... | java | chosen |
[
{
"from": "system",
"value": "Fix failing test by temporarily removing Config server activation\n"
},
{
"from": "human",
"value": "package com.sandjelkovic.dispatch.config;\n\nimport org.springframework.boot.SpringApplication;\nimport org.springframework.boot.autoconfigure.SpringBootApplication... | java | chosen |
[
{
"from": "system",
"value": "Change default deadline notify setting to true\n"
},
{
"from": "human",
"value": "package com.phicdy.totoanticipation.model.storage;\n\nimport android.content.Context;\nimport android.content.SharedPreferences;\nimport android.support.annotation.NonNull;\n\nimport c... | java | chosen |
[
{
"from": "system",
"value": "Fix compatibility with API v19\n\n- use Interpolator from v7 support library instead of using the APIv21 version\n"
},
{
"from": "human",
"value": "package com.reidzeibel.animatedlistadapter.utils;\n\nimport android.content.Context;\nimport android.view.animation.An... | java | chosen |
[
{
"from": "system",
"value": "Make updateAccessTime() part of the public interface for sessions\n"
},
{
"from": "human",
"value": "package org.realityforge.ssf;\n\nimport javax.annotation.Nonnull;\n\n/**\n * A basic interface defining a session.\n */\npublic interface SessionInfo\n{\n /**\n *... | java | chosen |
[
{
"from": "system",
"value": "Set default encoding of diff file to utf-8 according of issue reported by @yqt: diff file gets wrong encoding\n"
},
{
"from": "human",
"value": "package rb;\r\n\r\nimport java.io.ByteArrayInputStream;\r\nimport java.io.InputStream;\r\n\r\n/**\r\n * Created by Intell... | java | chosen |
[
{
"from": "system",
"value": "Put a runner of bot into runner of server\n"
},
{
"from": "human",
"value": "package gsg.server;\n\nimport gsg.infrastructure.Utils;\nimport gsg.server.logic.GameLoop;\nimport gsg.server.network.ConnectionLoop;\n\n/**\n * @author zkejid@gmail.com\n * Created... | java | chosen |
[
{
"from": "system",
"value": "javadoc: Update test to use contains (exception message changed post JVM 11)\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 * th... | java | chosen |
[
{
"from": "system",
"value": "Rename AnnotationCo_occurringTermsAggregator member variable to something more usable.\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.index.annotation.coterms;\n\nimport uk.ac.ebi.quickgo.index.annotation.Annotation;\n\nimport com.google.common.base.Pr... | java | chosen |
[
{
"from": "system",
"value": "Update the abstract test class's tear down method.\n\nNow it makes sure that after closing the connection the related collections\n(used by other tests) are cleared out.\n"
},
{
"from": "human",
"value": "package com.github.kohanyirobert.mongoroid;\n\nimport org.jun... | java | chosen |
[
{
"from": "system",
"value": "Fix greetings kicking players from servers\n"
},
{
"from": "human",
"value": "package net.silentchaos512.gems.lib;\n\nimport java.util.List;\n\nimport net.minecraft.entity.player.EntityPlayer;\nimport net.minecraft.util.text.TextComponentString;\nimport net.minecraf... | java | chosen |
[
{
"from": "system",
"value": "Use FinancialSecurityUtils instead of code duplication to to the currency lookup.\n"
},
{
"from": "human",
"value": "/**\n * Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies\n *\n * Please see distribution for license.\n */\npackag... | java | chosen |
[
{
"from": "system",
"value": "Add transient qualifier for enum\n"
},
{
"from": "human",
"value": "package org.verapdf.metadata.fixer.impl.fixer;\n\nimport org.verapdf.metadata.fixer.impl.MetadataFixerImpl;\n\n/**\n * @author Evgeniy Muravitskiy\n */\npublic enum MetadataFixerEnum {\n\n\tBOX_INST... | java | chosen |
[
{
"from": "system",
"value": "Add convinience method for Postgres test instance.\n"
},
{
"from": "human",
"value": "package com.palantir.atlasdb.keyvalue.rdbms;\n\nimport javax.sql.DataSource;\n\nimport org.postgresql.jdbc2.optional.PoolingDataSource;\n\nimport com.palantir.atlasdb.keyvalue.api.... | java | chosen |
[
{
"from": "system",
"value": "Add few more help options\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017 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.\n * You ... | java | chosen |
[
{
"from": "system",
"value": "Update new task dialog size after selecting a plugin"
},
{
"from": "human",
"value": "package ee.ut.cs.rum.workspaces.internal.ui.task.newtask.dialog;\r\n\r\nimport org.eclipse.swt.widgets.Shell;\r\n\r\nimport ee.ut.cs.rum.plugins.interfaces.factory.RumPluginConfigu... | java | chosen |
[
{
"from": "system",
"value": "Normalize the variance to 1.0 (from 0.5)\n"
},
{
"from": "human",
"value": "package am.app.mappingEngine.qualityEvaluation.metrics.ufl;\n\nimport java.util.List;\n\nimport am.app.mappingEngine.AbstractMatcher.alignType;\nimport am.app.mappingEngine.qualityEvaluation... | java | chosen |
[
{
"from": "system",
"value": "Fix documentation for PMR parser in network protocols\n"
},
{
"from": "human",
"value": "package org.jvirtanen.parity.net.pmr;\n\nimport static org.jvirtanen.parity.net.pmr.PMR.*;\n\nimport java.io.IOException;\nimport java.nio.ByteBuffer;\nimport org.jvirtanen.nass... | java | chosen |
[
{
"from": "system",
"value": "Fix delete command to delete regardless of whether an SAnnotation has a\nnamespace or not"
},
{
"from": "human",
"value": "/**\n * \n */\npackage de.uni_jena.iaa.linktype.atomic.editors.grapheditor.commands;\n\nimport org.eclipse.gef.commands.Command;\n\nimport de.h... | java | chosen |
[
{
"from": "system",
"value": "Use WFS feature name in UI if the title is empty.\n"
},
{
"from": "human",
"value": "/*\n * DownloadClient Geodateninfrastruktur Bayern\n *\n * (c) 2016 GSt. GDI-BY (gdi.bayern.de)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may... | java | chosen |
[
{
"from": "system",
"value": "Allow presents to be placed inside container items\n"
},
{
"from": "human",
"value": "package net.mcft.copy.betterstorage.item.tile;\n\nimport java.util.List;\n\nimport net.mcft.copy.betterstorage.tile.entity.TileEntityPresent;\nimport net.mcft.copy.betterstorage.ut... | java | chosen |
[
{
"from": "system",
"value": "Add safety check and remove debug message\n"
},
{
"from": "human",
"value": "package com.slugterra.packets;\n\nimport com.slugterra.entity.EntityMecha;\n\nimport io.netty.buffer.ByteBuf;\nimport net.minecraft.entity.player.EntityPlayerMP;\nimport net.minecraftforge.... | java | chosen |
[
{
"from": "system",
"value": "Use existing date to calculate\n"
},
{
"from": "human",
"value": "package com.alexstyl.specialdates.date;\n\nimport android.content.res.Resources;\n\nimport com.alexstyl.specialdates.R;\nimport com.alexstyl.specialdates.contact.Contact;\nimport com.alexstyl.speciald... | java | chosen |
[
{
"from": "system",
"value": "Add constant for FIXT 1.1 to version enumeration\n"
},
{
"from": "human",
"value": "package org.jvirtanen.philadelphia;\n\n/**\n * The protocol version.\n */\npublic enum FIXVersion {\n\n FIX_4_2(\"FIX.4.2\"),\n FIX_4_3(\"FIX.4.3\"),\n FIX_4_4(\"FIX.4.4\");... | java | chosen |
[
{
"from": "system",
"value": "Review: Fix a possible access control bug\n\nCurrently it did not cause a bug but it will do if openning and closing\na thread requires different authority.\n"
},
{
"from": "human",
"value": "package controllers;\n\nimport models.CommentThread;\nimport models.enumer... | java | chosen |
[
{
"from": "system",
"value": "Extend PartyClient, do the right thing with our BootstrapData.\n\n\ngit-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@419 542714f4-19e9-0310-aa3c-eee0fc999fb1\n"
},
{
"from": "human",
"value": "//\n// $Id: MiCasaClient.java,v 1.1 2001/10/09 18:20:08 mdb Exp $\n\n... | java | chosen |
[
{
"from": "system",
"value": "Use TLS for api calls\n"
},
{
"from": "human",
"value": "package com.geeksville.apiproxy;\n\npublic class APIConstants {\n /**\n * The default world wide drone broker\n */\n public static final String DEFAULT_SERVER = \"api.3dr.com\";\n\n public sta... | java | chosen |
[
{
"from": "system",
"value": "Revert \"flush and close writer\"\n\nThis reverts commit f3db49d08480fa1b5d3a493469c8990b04b0a524.\n"
},
{
"from": "human",
"value": "package com.pengyifan.pubtator.io;\n\nimport com.google.common.base.Joiner;\nimport com.pengyifan.pubtator.PubTatorDocument;\n\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Write an error to standard error\n"
},
{
"from": "human",
"value": "package com.bmc.truesight.plugins.activemq;\n\nimport java.util.Date;\n\npublic class PluginSimulator {\n\n public PluginSimulator() {\n\n }\n\n public void writeOutput() {\n Date d ... | java | chosen |
[
{
"from": "system",
"value": "Add basic security annotations to the CRUD service\n"
},
{
"from": "human",
"value": "package de.terrestris.shogun2.service;\n\nimport java.util.List;\n\nimport org.springframework.transaction.annotation.Transactional;\n\nimport de.terrestris.shogun2.model.Persisten... | java | chosen |
[
{
"from": "system",
"value": "Improve handling of not found interfaces\n"
},
{
"from": "human",
"value": "package com.telerik.metadata.parsing;\n\nimport com.telerik.metadata.ClassRepo;\nimport com.telerik.metadata.desc.ClassDescriptor;\nimport com.telerik.metadata.desc.MethodDescriptor;\n\nimpo... | java | chosen |
[
{
"from": "system",
"value": "Resolve concurency on the same object.\n"
},
{
"from": "human",
"value": "package benchmarking;\n\n\nimport converters.JsonConverter;\nimport datamodel.PerformanceSelfMonitoring;\nimport mongo.MongoManager;\n\npublic class Monitoring {\n CpuMonitoring cpuMonitor ... | java | chosen |
[
{
"from": "system",
"value": "Add method to get bounding box\n"
},
{
"from": "human",
"value": "package ethanjones.modularworld.block;\n\nimport ethanjones.modularworld.core.data.DataGroup;\nimport ethanjones.modularworld.graphics.world.BlockTextureHandler;\n\npublic abstract class Block {\n pr... | java | chosen |
[
{
"from": "system",
"value": "Create empty observer to avoid “disposable already set” exception\n"
},
{
"from": "human",
"value": "package de.czyrux.store.util;\n\nimport io.reactivex.ObservableTransformer;\nimport io.reactivex.android.schedulers.AndroidSchedulers;\nimport io.reactivex.functions... | java | chosen |
[
{
"from": "system",
"value": "Fix order of parameters in SSH Process Adapter Options\n"
},
{
"from": "human",
"value": "package jetbrains.buildServer.deployer.agent.ssh;\n\nclass SSHProcessAdapterOptions {\n private boolean myEnableSshAgentForwarding;\n private boolean myFailBuildOnExitCode;\n... | java | chosen |
[
{
"from": "system",
"value": "Allow a map to be viewed as a (K => V).\n"
},
{
"from": "human",
"value": "//\n// $Id$\n\npackage com.threerings.gwt.util;\n\nimport com.google.common.base.Function;\n\n/**\n * A collection of general purpose functions.\n */\npublic class Functions\n{\n /** Imple... | java | chosen |
[
{
"from": "system",
"value": "Comment out parser tests until we have a parser.\n\ngit-svn-id: https://svn.sable.mcgill.ca/mclab/Project@80 89b902b4-d83f-0410-b942-89f7a419ffdb\n\nMigrated from Sable/mclab@900a27853e885c7dc670c2949e1445bc351502a2\n"
},
{
"from": "human",
"value": "package natlab;... | java | chosen |
[
{
"from": "system",
"value": "Add the GAE application version to the tags\n"
},
{
"from": "human",
"value": "package net.kencochrane.raven.appengine.event.helper;\n\nimport com.google.apphosting.api.ApiProxy;\nimport net.kencochrane.raven.event.EventBuilder;\nimport net.kencochrane.raven.event.h... | java | chosen |
[
{
"from": "system",
"value": "Replace property kurento.release.url by bower.release.url\n\nChange-Id: I05d204d870b09e32edcfed7a004dfcedbe6dd3c6\n"
},
{
"from": "human",
"value": "/*\n * (C) Copyright 2014 Kurento (http://kurento.org/)\n *\n * All rights reserved. This program and the accompanyin... | java | chosen |
[
{
"from": "system",
"value": "Replace constructors with static factory methods.\n"
},
{
"from": "human",
"value": "package uk.ac.ebi.quickgo.ontology.common.coterms;\n\nimport java.io.IOException;\nimport org.springframework.beans.factory.annotation.Value;\nimport org.springframework.context.ann... | java | chosen |
[
{
"from": "system",
"value": "Add method to search by experiment name\n"
},
{
"from": "human",
"value": "package sg.ncl.service.experiment.data.jpa;\n\nimport org.springframework.data.jpa.repository.JpaRepository;\n\nimport java.util.List;\n\n/**\n * @author Christopher Zhong\n */\npublic interf... | java | chosen |
[
{
"from": "system",
"value": "Backport: Fix special keys opening menu when key is unbound\n\n(backport of daec4de7bf091f84a789c90d3956f5aa91486203 to affected branches)\n"
},
{
"from": "human",
"value": "package squeek.speedometer;\n\nimport net.minecraft.client.Minecraft;\nimport net.minecraft.... | java | chosen |
[
{
"from": "system",
"value": "Rename attribute name from FILE_OUTPUT to FILE.\n"
},
{
"from": "human",
"value": "package com.github.aureliano.evtbridge.core.config;\n\npublic enum OutputConfigTypes {\n\n\tELASTIC_SEARCH,\n\tFILE_OUTPUT,\n\tSTANDARD_OUTPUT,\n\tJDBC_OUTPUT;\n}"
},
{
"from"... | java | chosen |
[
{
"from": "system",
"value": "Clean up: removed unused field\n"
},
{
"from": "human",
"value": "package com.jaiwo99.cards.service;\n\nimport com.jaiwo99.cards.deal.JiangDealStrategy;\nimport com.jaiwo99.cards.domain.Jiang;\nimport com.jaiwo99.cards.repository.CardDealRepository;\nimport org.spri... | java | chosen |
[
{
"from": "system",
"value": "Fix Groovy console interpreter not being set properly\n"
},
{
"from": "human",
"value": "package de.prob2.ui.consoles.groovy;\n\nimport java.io.IOException;\n\nimport com.google.inject.Inject;\nimport com.google.inject.Singleton;\n\nimport de.prob2.ui.prob2fx.Curren... | java | chosen |
[
{
"from": "system",
"value": "Change MoarLibsModBase to force loading of ModuleHandler\n\n"
},
{
"from": "human",
"value": "package xyz.brassgoggledcoders.moarlibs;\n\nimport net.minecraft.creativetab.CreativeTabs;\nimport xyz.brassgoggledcoders.boilerplate.BoilerplateModBase;\nimport xyz.brassg... | java | chosen |
[
{
"from": "system",
"value": "Fix Flyway dev console link\n"
},
{
"from": "human",
"value": "package io.quarkus.flyway.devconsole;\n\nimport static io.quarkus.deployment.annotations.ExecutionTime.RUNTIME_INIT;\n\nimport io.quarkus.deployment.IsDevelopment;\nimport io.quarkus.deployment.annotatio... | java | chosen |
[
{
"from": "system",
"value": "Make class abstract so it is not run by test runner\n\nOnly subclasses of ScmSyncConfigurationPluginBaseTest should\nbe run by the test runner.\n"
},
{
"from": "human",
"value": "package hudson.plugins.scm_sync_configuration.util;\r\n\r\nimport static org.hamcrest.C... | java | chosen |
[
{
"from": "system",
"value": "Fix checkstyle if-statements must use braces adsal/protocol_plugins\n\nChange-Id: I2110c4623f141e738b368d0bce0695ebc98809ff\nSigned-off-by: Thanh Ha <09ea4d3a79c8bee41a16519f6a431f6bc0fd8d6f@linuxfoundation.org>\n"
},
{
"from": "human",
"value": "/*\n * Copyright (c... | java | chosen |
[
{
"from": "system",
"value": "Add some inherited @NonNull annotation"
},
{
"from": "human",
"value": "package net.ssehub.kernel_haven.fe_analysis.fes;\n\nimport net.ssehub.kernel_haven.SetUpException;\nimport net.ssehub.kernel_haven.analysis.AnalysisComponent;\nimport net.ssehub.kernel_haven.ana... | java | chosen |
[
{
"from": "system",
"value": "Disable debug output in EMF monitored editor tests\n\nFixes #160"
},
{
"from": "human",
"value": "/*******************************************************************************\n * Copyright (c) 2014 Felix Kutzner.\n * All rights reserved. This program and the acc... | java | chosen |
[
{
"from": "system",
"value": "Use constants for version. Updates version.\n"
},
{
"from": "human",
"value": "package floobits.common.protocol.send;\n\nimport com.intellij.openapi.application.ApplicationInfo;\nimport floobits.common.protocol.Base;\n\npublic abstract class InitialBase implements B... | java | chosen |
[
{
"from": "system",
"value": "engine: Use injection instead of static access\n\nChange-Id: I952ff108e4fc8cdcbd9050206e045e22e1f2684d\nSigned-off-by: Moti Asayag <da1debb83a8e12b6e8822edf2c275f55cc51b720@redhat.com>\n"
},
{
"from": "human",
"value": "package org.ovirt.engine.core.bll;\n\nimport o... | java | chosen |
[
{
"from": "system",
"value": "Allow descriptor to be passed to TextAreaEditor (for eventual use in SyntaxTextArea setup)\n\ngit-svn-id: 5ccfe34f605a6c2f9041ff2965ab60012c62539a@1501283 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Software ... | java | chosen |
[
{
"from": "system",
"value": "Fix JavaDoc tags for Java8\n"
},
{
"from": "human",
"value": "package com.auth0.net;\n\nimport com.auth0.exception.APIException;\nimport com.auth0.exception.Auth0Exception;\n\nimport java.util.concurrent.CompletableFuture;\n\n/**\n * Class that represents an HTTP Re... | java | chosen |
[
{
"from": "system",
"value": "Add personal id as a Sentry scope tag so its searchable\n"
},
{
"from": "human",
"value": "package ee.tuleva.onboarding.config;\n\nimport java.io.IOException;\nimport java.security.Principal;\nimport javax.servlet.FilterChain;\nimport javax.servlet.ServletException;... | java | chosen |
[
{
"from": "system",
"value": "Reformat to normal code style\n"
},
{
"from": "human",
"value": "package it.sk.alfresco.clojure;\n\nimport java.io.BufferedReader;\nimport java.io.StringReader;\n\nimport clojure.lang.Compiler;\n\n/**\n * Created by IntelliJ IDEA.\n * User: sku\n * Date: Apr 7, 2010... | java | chosen |
[
{
"from": "system",
"value": "Fix for calories reading type\n"
},
{
"from": "human",
"value": "package com.wolkabout.wolk;\n\n/**\n * All supported reading types.\n */\npublic enum ReadingType {\n\n ACCELERATION(\"ACL\"),\n GYRO(\"GYR\"),\n MAGNET(\"MAG\"),\n LIGHT(\"LT\"),\n TEMP... | java | chosen |
[
{
"from": "system",
"value": "Extend test code to verify behaviour of vaults with transactions\n"
},
{
"from": "human",
"value": "package node.company;\n\nimport org.joda.time.DateTime;\n\nimport data.trainnetwork.BookableSection;\nimport transaction.FailedTransactionException;\nimport transacti... | java | chosen |
[
{
"from": "system",
"value": "Clean up imports in trade reporter\n"
},
{
"from": "human",
"value": "package org.jvirtanen.parity.reporter;\n\nimport static org.jvirtanen.lang.Strings.*;\n\nimport org.jvirtanen.parity.net.ptr.PTR;\nimport org.jvirtanen.parity.net.ptr.PTRListener;\nimport java.uti... | java | chosen |
[
{
"from": "system",
"value": "Simplify test setup a bit\n"
},
{
"from": "human",
"value": "package fitnesse.slim.instructions;\n\nimport org.junit.Before;\nimport org.junit.Test;\n\nimport static org.junit.Assert.assertEquals;\nimport static org.junit.Assert.assertFalse;\nimport static org.junit... | java | chosen |
[
{
"from": "system",
"value": "Optimize StringBuffer if string is final."
},
{
"from": "human",
"value": "package se.raddo.raddose3D;\n\n/**\n * WriterString writes all received data to a string.\n */\npublic class WriterString extends Writer {\n /** All received data is kept in a Stringbuffer. ... | java | chosen |
[
{
"from": "system",
"value": "Remove reference to removed class\n"
},
{
"from": "human",
"value": "package org.realityforge.replicant.client.runtime.gwt;\n\nimport com.google.gwt.event.shared.EventBus;\nimport com.google.gwt.user.client.Timer;\nimport javax.annotation.Nonnull;\nimport javax.inje... | java | chosen |
[
{
"from": "system",
"value": "Make tests more realistic by doing some “work” other than writing console output.\n"
},
{
"from": "human",
"value": "package ${packageName};\n\nimport static org.junit.Assert.*;\n\npublic class ${testClassName} {\n\n private final ${productionClassName} productio... | java | chosen |
[
{
"from": "system",
"value": "Increase the amount of output in build scan performance tests.\n"
},
{
"from": "human",
"value": "package ${packageName};\n\nimport static org.junit.Assert.*;\n\npublic class ${testClassName} {\n\n private final ${productionClassName} production = new ${productio... | java | chosen |
[
{
"from": "system",
"value": "Rename `next` to `dispatcher` to avoid confusion from JS source.\n"
},
{
"from": "human",
"value": "package redux.api.enhancer;\n\nimport redux.api.Dispatcher;\nimport redux.api.StateProvider;\n\n/**\n * A middleware is an interface that composes a {@link Dispatcher... | java | chosen |
[
{
"from": "system",
"value": "Fix typo in GROUP_SIZE sensor description\n"
},
{
"from": "human",
"value": "package brooklyn.entity.trait;\n\nimport brooklyn.entity.Entity;\nimport brooklyn.event.basic.BasicAttributeSensor;\nimport brooklyn.event.basic.BasicNotificationSensor;\n\n/**\n * A collec... | java | chosen |
[
{
"from": "system",
"value": "Make sure @Dependency is marked as final"
},
{
"from": "human",
"value": "package arez.doc.examples.at_dependency;\n\nimport arez.annotations.ArezComponent;\nimport arez.annotations.Dependency;\nimport arez.annotations.Observable;\nimport javax.annotation.Nonnull;\n... | java | chosen |
[
{
"from": "system",
"value": "Allow SCTID in relationship file to be actually null, not just \"null\""
},
{
"from": "human",
"value": "package org.ihtsdo.buildcloud.service.build.transform;\n\nimport org.ihtsdo.buildcloud.service.build.RF2Constants;\nimport org.ihtsdo.buildcloud.service.helper.T... | java | chosen |
[
{
"from": "system",
"value": "Fix needed after rename of method\n"
},
{
"from": "human",
"value": "package org.opencode4workspace.it;\n\nimport java.io.UnsupportedEncodingException;\nimport java.util.List;\n\nimport org.opencode4workspace.WWClient;\nimport org.opencode4workspace.WWException;\nim... | java | chosen |
[
{
"from": "system",
"value": "Disable failing Concordion Login test\n\nWill be (likely) fixed in a pending pull request, but needs to\nbe disabled for now. See RHBZ-1016937.\n"
},
{
"from": "human",
"value": "package org.zanata.feature.security;\n\nimport org.junit.runner.RunWith;\nimport org.ju... | java | chosen |
[
{
"from": "system",
"value": "Rename tests with more sensible names\n"
},
{
"from": "human",
"value": "package fgis.server.support.geojson;\n\nimport org.geolatte.geom.Geometry;\nimport org.testng.annotations.Test;\nimport static org.testng.Assert.*;\n\npublic final class GjGeometryTest\n exten... | java | chosen |
[
{
"from": "system",
"value": "Add service to retrieve list of Applications by team\n"
},
{
"from": "human",
"value": "/**\n * Copyright (C) 2015 The Gravitee team (http://gravitee.io)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except i... | java | chosen |
[
{
"from": "system",
"value": "Use the new SPI support in the SmallRye Reactive Streams Operators processor\n"
},
{
"from": "human",
"value": "package org.jboss.shamrock.rsops;\n\nimport io.smallrye.reactive.streams.Engine;\nimport org.eclipse.microprofile.reactive.streams.ReactiveStreamsFactory;... | java | chosen |
[
{
"from": "system",
"value": "Use null if query strings are empty\n\nUsing `UrlUtils.buildFullRequestUrl()` if query string equals to `\"\"` that will append `?` (but without any query string) at the end of the request.\n\nfixes #44\n"
},
{
"from": "human",
"value": "package com.kakawait.spring.... | java | chosen |
[
{
"from": "system",
"value": "Remove trailing whitespace in line 29\n"
},
{
"from": "human",
"value": "package seedu.ezdo.commons.util;\n\nimport seedu.ezdo.model.todo.ReadOnlyTask;\n\n//@@author A0139177W\n/**\n * Utility method for Recur\n */\npublic class RecurUtil {\n\n /**\n * Checks... | java | chosen |
[
{
"from": "system",
"value": "Use the right file object\n"
},
{
"from": "human",
"value": "package de.onyxbits.raccoon.io;\n\nimport java.io.File;\nimport java.io.FileWriter;\nimport java.io.IOException;\n\n/**\n * A simple session log for recording the files that were downloaded. The log is\n *... | java | chosen |
[
{
"from": "system",
"value": "Test du random de la pioche\n"
},
{
"from": "human",
"value": "package fr.esiea.unique.binome.name.dictionary;\n\nimport static org.junit.Assert.assertFalse;\nimport static org.junit.Assert.assertTrue;\n\nimport org.junit.Test;\n\n/**\n * \n * @author Florent\n *\n ... | java | chosen |
[
{
"from": "system",
"value": "Add query fragment to target\n"
},
{
"from": "human",
"value": "package com.sixsq.slipstream.resource;\n\nimport org.restlet.Context;\nimport org.restlet.Request;\nimport org.restlet.Response;\nimport org.restlet.data.Reference;\nimport org.restlet.routing.Redirecto... | java | chosen |
[
{
"from": "system",
"value": "Change ResourceLeakDetector to PARANOID for displayleaks\n"
},
{
"from": "human",
"value": "package us.myles.ViaVersion.commands.defaultsubs;\n\nimport io.netty.util.ResourceLeakDetector;\nimport us.myles.ViaVersion.api.command.ViaCommandSender;\nimport us.myles.Via... | java | chosen |
[
{
"from": "system",
"value": "Use some Guava .net classes to clean up code a little"
},
{
"from": "human",
"value": "/*\n * Copyright Myrrix Ltd\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You ... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.