conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "system",
"value": "Store activity id directly to prevent issues\n"
},
{
"from": "human",
"value": "package com.martindisch.chronoscopy.logic;\n\nimport com.orm.SugarRecord;\n\n/**\n * Represents a usage of an activity, with a date and duration.\n */\npublic class ChrUsage extends Suga... | java | chosen |
[
{
"from": "system",
"value": "Add string representation to enum\n"
},
{
"from": "human",
"value": "package io.undertow.servlet.api;\n\n/**\n * @author Stuart Douglas\n */\npublic enum ServletStackTraces {\n\n NONE,\n LOCAL_ONLY,\n ALL\n}\n"
},
{
"from": "gpt",
"value": "pack... | java | chosen |
[
{
"from": "system",
"value": "Increase test coverage for StringUtil\n"
},
{
"from": "human",
"value": "package tars.commons.util;\n\nimport org.junit.Test;\n\nimport tars.commons.util.StringUtil;\n\nimport static org.junit.Assert.assertFalse;\nimport static org.junit.Assert.assertTrue;\n\npublic... | java | chosen |
[
{
"from": "system",
"value": "Add a space into the end of preamble and request lines to respect the CUDF specification.\n"
},
{
"from": "human",
"value": "package com.zenika.cudf.parser.model;\n\nimport java.util.HashSet;\nimport java.util.Set;\n\n/**\n * @author Antoine Rouaze <antoine.rouaze@z... | java | chosen |
[
{
"from": "system",
"value": "Sort on col num if line num are equal\n"
},
{
"from": "human",
"value": "package com.sleekbyte.tailor.output;\n\npublic class ViolationMessage implements Comparable<ViolationMessage> {\n private final String filePath;\n private final int lineNumber;\n priva... | java | chosen |
[
{
"from": "system",
"value": "Add alias for discrete interpolator\n"
},
{
"from": "human",
"value": "package com.annimon.hotarufx.bundles;\n\nimport com.annimon.hotarufx.lib.Context;\nimport com.annimon.hotarufx.lib.InterpolatorValue;\nimport java.util.HashMap;\nimport java.util.Map;\nimport jav... | java | chosen |
[
{
"from": "system",
"value": "Add method to construct Capsule set from Iterable.\n"
},
{
"from": "human",
"value": "package mb.nabl2.util;\n\nimport java.util.Map.Entry;\n\nimport org.metaborg.util.functions.Function2;\n\nimport io.usethesource.capsule.Map;\n\npublic final class CapsuleUtil {\n\... | java | chosen |
[
{
"from": "system",
"value": "Fix up some raw types\n\ngit-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/trunk@804686 13f79535-47bb-0310-9956-ffa450edef68\n\nFormer-commit-id: a63ffb7f588237f535fcfc739967ddd91ac6bfe2"
},
{
"from": "human",
"value": "/*\n * Licensed to the Apache Softwa... | java | chosen |
[
{
"from": "system",
"value": "Add two utility functions to HaxeDummyNode to detect whether a node is a dummy node.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2000-2013 JetBrains s.r.o.\n * Copyright 2014-2014 AS3Boyan\n * Copyright 2014-2014 Elias Ku\n *\n * Licensed under the Apache Li... | java | chosen |
[
{
"from": "system",
"value": "Store player name as owner by default. Should further help singleplayer ownership issues.\n"
},
{
"from": "human",
"value": "package com.carpentersblocks.util.protection;\n\nimport net.minecraft.entity.player.EntityPlayer;\nimport net.minecraft.entity.player.EntityP... | java | chosen |
[
{
"from": "system",
"value": "Add a long running method for testing"
},
{
"from": "human",
"value": "/**\n * Copyright 2010-2015 Ralph Schaer <ralphschaer@gmail.com>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with ... | java | chosen |
[
{
"from": "system",
"value": "Switch from boolean to enum for memoization argument\n"
},
{
"from": "human",
"value": "package com.hubspot.jinjava.interpret;\n\nimport com.fasterxml.jackson.annotation.JsonValue;\nimport java.util.function.Supplier;\n\npublic class LazyExpression implements Suppli... | java | chosen |
[
{
"from": "system",
"value": "Switch to DNS peer discovery.\n"
},
{
"from": "human",
"value": "package com.msgilligan.peerlist.config;\n\nimport org.bitcoinj.core.NetworkParameters;\nimport org.bitcoinj.net.discovery.DnsDiscovery;\nimport org.bitcoinj.net.discovery.PeerDiscovery;\nimport org.bit... | java | chosen |
[
{
"from": "system",
"value": "Add more detail to unmarshalling errors\n"
},
{
"from": "human",
"value": "package com.dottydingo.hyperion.service.marshall;\n\nimport com.dottydingo.hyperion.exception.BadRequestException;\nimport com.dottydingo.hyperion.exception.InternalException;\nimport com.fas... | java | chosen |
[
{
"from": "system",
"value": "Document class changed for recent model changes.\n"
},
{
"from": "human",
"value": "package de.fh_bielefeld.newsboard.model;\n\nimport java.util.OptionalDouble;\nimport java.util.OptionalInt;\n\n/**\n * Domain class representing a classification of a document or sen... | java | chosen |
[
{
"from": "system",
"value": "Add a method to get savedata from the world quit easy\n"
},
{
"from": "human",
"value": "package info.u_team.u_team_core.util.world;\n\nimport net.minecraft.entity.player.EntityPlayer;\nimport net.minecraft.util.math.*;\n\npublic class WorldUtil {\n\t\n\tpublic stat... | java | chosen |
[
{
"from": "system",
"value": "Add newline after collate comment\n"
},
{
"from": "human",
"value": "//@@author A0121621Y\npackage jfdi.storage.exceptions;\n\nimport jfdi.storage.apis.TaskAttributes;\n\n@SuppressWarnings(\"serial\")\npublic class DuplicateTaskException extends Exception {\n\n p... | java | chosen |
[
{
"from": "system",
"value": "Implement equals/hashCode on test object so equals assertions work across remote connections\n"
},
{
"from": "human",
"value": "/*\n * JBoss, Home of Professional Open Source\n * Copyright 2010, JBoss Inc., and individual contributors as indicated\n * by the @author... | java | chosen |
[
{
"from": "system",
"value": "Fix a typo in Javadoc.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2017, TeamDev Ltd. 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 followin... | java | chosen |
[
{
"from": "system",
"value": "Synchronize DateFormat usages due to it being thread unsafe (Sonar S2885)\n"
},
{
"from": "human",
"value": "package ru.taximaxim.pgsqlblocks.utils;\n\nimport org.apache.log4j.Logger;\n\nimport java.text.ParseException;\nimport java.text.SimpleDateFormat;\nimport ja... | java | chosen |
[
{
"from": "system",
"value": "Fix beginning of time stamp\n"
},
{
"from": "human",
"value": "package ee.tuleva.onboarding.account;\n\nimport ee.tuleva.onboarding.auth.principal.Person;\nimport ee.tuleva.onboarding.epis.EpisService;\nimport ee.tuleva.onboarding.epis.cashflows.CashFlowStatement;\n... | java | chosen |
[
{
"from": "system",
"value": "Fix the JDBC resource's JDNI name\n\nThe leading slash works on Tomcat but fails on Payara.\nIf I remove it, it works on both.\n"
},
{
"from": "human",
"value": "package mx.nic.rdap.server.db;\n\nimport java.sql.Connection;\nimport java.sql.SQLException;\n\nimport j... | java | chosen |
[
{
"from": "system",
"value": "Fix typo from previous commit\n"
},
{
"from": "human",
"value": "package alien4cloud.topology.task;\n\nimport lombok.AllArgsConstructor;\nimport lombok.Getter;\nimport lombok.NoArgsConstructor;\nimport lombok.Setter;\n\n/**\n *\n * Location policy task\n *\n */\n@Ge... | java | chosen |
[
{
"from": "system",
"value": "Remove old norelease comment, the test is okay as it is\n"
},
{
"from": "human",
"value": "/*\n * Licensed to Elasticsearch under one or more contributor\n * license agreements. See the NOTICE file distributed with\n * this work for additional information regarding ... | java | chosen |
[
{
"from": "system",
"value": "Disable OAI-PMH Identify test for baseURL.\n\nRequires non-trivial work with Guice to get the test to work.\n"
},
{
"from": "human",
"value": "package org.gbif.registry.oaipmh;\n\nimport org.gbif.api.service.registry.DatasetService;\nimport org.gbif.api.service.regi... | java | chosen |
[
{
"from": "system",
"value": "Fix - removed \"public\" access modifiers on interface methods\n"
},
{
"from": "human",
"value": "package com.maxmind.geoip2;\n\nimport com.maxmind.geoip2.exception.GeoIp2Exception;\nimport com.maxmind.geoip2.model.CityResponse;\nimport com.maxmind.geoip2.model.Coun... | java | chosen |
[
{
"from": "system",
"value": "Add find course by semester and lecturer\n\n"
},
{
"from": "human",
"value": "package at.ac.tuwien.inso.repository;\n\nimport at.ac.tuwien.inso.entity.*;\n\nimport org.springframework.data.repository.*;\nimport org.springframework.stereotype.Repository;\n\nimport ja... | java | chosen |
[
{
"from": "system",
"value": "fix(json): Fix generator type serializer not serializing properties\n"
},
{
"from": "human",
"value": "package valandur.webapi.json.serializers.world;\n\nimport com.fasterxml.jackson.core.JsonGenerator;\nimport com.fasterxml.jackson.databind.SerializerProvider;\nimp... | java | chosen |
[
{
"from": "system",
"value": "Migrate from ambiguous `new Instant(long)` to `Instant.ofEpochMilli(long)`.\n\nPiperOrigin-RevId: 488644521\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2012 Google Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may... | java | chosen |
[
{
"from": "system",
"value": "Add comments to some classes\n"
},
{
"from": "human",
"value": "package org.uma.jmetal.core;\n\nimport org.uma.jmetal45.util.JMetalException;\n\n/**\n * Interface representing an operator\n * @author Antonio J. Nebro\n * @version 0.1\n */\npublic interface Operator<... | java | chosen |
[
{
"from": "system",
"value": "Enable strict mode in Debug builds\n"
},
{
"from": "human",
"value": "package speciemongo.net.speciemongo;\n\nimport android.app.Application;\n\n/**\n * Created by johannesklein on 10.08.16.\n */\npublic class SgApplication extends Application {\n}\n"
},
{
"... | java | chosen |
[
{
"from": "system",
"value": "Add another polling command test.\n"
},
{
"from": "human",
"value": "package org.jenkinsci.plugins.visualworks_store;\n\nimport hudson.util.ArgumentListBuilder;\nimport org.junit.Test;\n\nimport java.util.Arrays;\nimport java.util.List;\n\nimport static org.junit.As... | java | chosen |
[
{
"from": "system",
"value": "Use correct package name for backup helper (so it will work with the\nbeta, too)."
},
{
"from": "human",
"value": "\r\npackage com.battlelancer.seriesguide;\r\n\r\nimport android.app.backup.BackupAgentHelper;\r\nimport android.app.backup.SharedPreferencesBackupHelpe... | java | chosen |
[
{
"from": "system",
"value": "Fix crash in FAB background tint\n\nCaused by moving the base class to AppCompatImageButton.\nThat class's functionality interferes with FAB.\n\nBUG: 25302006\nChange-Id: I283508caa8ddf5664a5b15209cfff06c464ec187\n"
},
{
"from": "human",
"value": "/*\n * Copyright (... | java | chosen |
[
{
"from": "system",
"value": "Fix compilation with new SDK\n"
},
{
"from": "human",
"value": "package org.jetbrains.jps.cabal;\n\nimport org.jetbrains.annotations.NotNull;\n\nimport java.io.File;\nimport java.io.IOException;\nimport java.lang.reflect.Array;\nimport java.util.ArrayList;\nimport j... | java | chosen |
[
{
"from": "system",
"value": "Add javadoc to planned population dao.\n\ngit-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@2432 0d517254-b314-0410-acde-c619094fa49f\n"
},
{
"from": "human",
"value": "package edu.northwestern.bioinformatics.studycalendar.dao;\n\nimport edu.northwestern.bioinfor... | java | chosen |
[
{
"from": "system",
"value": "Update copyright notice with MIT license"
},
{
"from": "human",
"value": "/*++\r\n\r\nNASM Assembly Language Plugin\r\nCopyright (c) 2017-2018 Aidan Khoury. All rights reserved.\r\n\r\nThis program is free software: you can redistribute it and/or modify\r\nit under ... | java | chosen |
[
{
"from": "system",
"value": "Add 3D Secure charge verification specific fields to charge response\n"
},
{
"from": "human",
"value": "package com.checkout.api.services.charge.response;\n\nimport com.checkout.api.services.card.response.Card;\nimport com.checkout.api.services.charge.request.BaseCh... | java | chosen |
[
{
"from": "system",
"value": "Make some performance tweaks in the damage listener that'll potentially speed things up\n"
},
{
"from": "human",
"value": "package us.crast.flyingtub;\n\nimport org.bukkit.entity.EntityType;\nimport org.bukkit.entity.Player;\nimport org.bukkit.event.EventHandler;\ni... | java | chosen |
[
{
"from": "system",
"value": "Replace equals and compareTo with FastByteComparison\n"
},
{
"from": "human",
"value": "package org.ethereum.db;\n\nimport com.google.common.primitives.UnsignedBytes;\n\nimport java.util.Arrays;\nimport java.util.Comparator;\n\n/**\n * www.ethereumJ.com\n *\n * @aut... | java | chosen |
[
{
"from": "system",
"value": "Add basic competition object without additional info\n"
},
{
"from": "human",
"value": "// Copyright 2021 Google LLC\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// Yo... | java | chosen |
[
{
"from": "system",
"value": "Remove use of deprecated API\n"
},
{
"from": "human",
"value": "package com.github.arteam.jdit.domain.entity;\n\nimport com.google.common.base.Objects;\nimport com.google.common.base.Optional;\n\n/**\n * Date: 2/7/15\n * Time: 4:58 PM\n *\n * @author Artem Prigoda\n... | java | chosen |
[
{
"from": "system",
"value": "EranMes: Allow running the Android tests on a real device by specifying the external IP of the in-process test server.\n\ngit-svn-id: aa1aa1384423cb28c2b1e29129bb3a91de1d9196@14991 07704840-8298-11de-bf8c-fd130f914ac9\n"
},
{
"from": "human",
"value": "/*\r\nCopyrig... | java | chosen |
[
{
"from": "system",
"value": "Remove magic number translations and remove uppercase names.\n"
},
{
"from": "human",
"value": "package com.jme3.input;\n\n/**\n * Response for joystick callback events.\n * @author jayfella\n */\npublic enum JoystickState {\n\n // a list of connected/disconnecte... | java | chosen |
[
{
"from": "system",
"value": "Change name default so that it is easy to detect\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 j... | java | chosen |
[
{
"from": "system",
"value": "Use more compact Jetty Launcher\n\n\ngit-svn-id: ba1d8d5a2a2c535e023d6080c1e5c29aa0f5364e@1318 3a8262b2-faa5-11dc-8610-ff947880b6b2\n"
},
{
"from": "human",
"value": "package org.getahead.dwrdemo.cli;\n\nimport org.directwebremoting.servlet.DwrServlet;\nimport org.m... | java | chosen |
[
{
"from": "system",
"value": "Change conf to java system properties\n"
},
{
"from": "human",
"value": "/**\n * Copyright (C) 2015 Orange\n * \n * This software is distributed under the terms and conditions of the 'Apache-2.0'\n * license which can be found in the file 'LICENSE' in this package d... | java | chosen |
[
{
"from": "system",
"value": "Make it possible to pass in null as the logger, if you don't want to login exceptions when closing a resource. Not really advisable, but useful when testing and should only really be used for that.\n"
},
{
"from": "human",
"value": "package org.carlspring.strongbox.... | java | chosen |
[
{
"from": "system",
"value": "Remove emit of tuple from final flowlet for now\n"
},
{
"from": "human",
"value": "package SimpleWriteAndRead;\n\nimport com.continuuity.api.data.*;\nimport com.continuuity.api.flow.flowlet.*;\nimport com.continuuity.api.flow.flowlet.builders.*;\n\npublic class Read... | java | chosen |
[
{
"from": "system",
"value": "Update visibility of connection in model\n"
},
{
"from": "human",
"value": "import java.sql.Connection;\nimport java.sql.DriverManager;\nimport java.sql.SQLException;\n\n/**\n * Created by nate on 4/10/16.\n */\npublic abstract class Model {\n private Connection ... | java | chosen |
[
{
"from": "system",
"value": "Add constructor also taking status code\n"
},
{
"from": "human",
"value": "// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.\npackage com.yahoo.restapi;\n\nimport com.yahoo.slime.Slime;\n\n/**\n * ... | java | chosen |
[
{
"from": "system",
"value": "Move device/tenant profile entitiy type enums to the end of list.\n"
},
{
"from": "human",
"value": "/**\n * Copyright © 2016-2020 The Thingsboard Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except ... | java | chosen |
[
{
"from": "system",
"value": "Complete removeScoreFromString method to pass unit tests\n"
},
{
"from": "human",
"value": "package com.blocksolid.okrello.display;\n\nimport java.util.regex.Matcher;\nimport java.util.regex.Pattern;\n\n/**\n * Created by Dan Buckland on 02/12/2015.\n */\npublic cla... | java | chosen |
[
{
"from": "system",
"value": "Change Runable function to RunableB"
},
{
"from": "human",
"value": "/*\n * To change this template, choose Tools | Templates\n * and open the template in the editor.\n */\npackage org.lomatek.jslint;\n\nimport java.awt.event.ActionListener;\nimport java.awt.event.A... | java | chosen |
[
{
"from": "system",
"value": "Fix API description for Subscribe Controller\n"
},
{
"from": "human",
"value": "package com.royalrangers.controller;\n\nimport com.royalrangers.dto.ResponseResult;\nimport com.royalrangers.dto.user.EmailDto;\nimport com.royalrangers.service.SubscribeService;\nimport... | java | chosen |
[
{
"from": "system",
"value": "Revert: Improve class loading in GroovyMethodInfo. (cf9bf0e)\n"
},
{
"from": "human",
"value": "package org.jetbrains.plugins.groovy.util;\n\nimport com.intellij.util.containers.ConcurrentHashMap;\nimport org.jetbrains.annotations.NotNull;\n\n/**\n * @author Sergey ... | java | chosen |
[
{
"from": "system",
"value": "Add user service methods signatures.\n"
},
{
"from": "human",
"value": "package com.github.aureliano.edocs.service.bean;\n\npublic class UserServiceBean implements IServiceBean {\n\n}"
},
{
"from": "gpt",
"value": "package com.github.aureliano.edocs.serv... | java | chosen |
[
{
"from": "system",
"value": "Fix for exporting via REST"
},
{
"from": "human",
"value": "package uk.ac.ebi.biosamples.repos;\n\nimport org.springframework.data.rest.core.annotation.RepositoryRestResource;\n\nimport uk.ac.ebi.biosamples.models.NeoSample;\n\n@RepositoryRestResource(path=\"samples... | java | chosen |
[
{
"from": "system",
"value": "Change user's port value style\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) 2016 Lynn\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a co... | java | chosen |
[
{
"from": "system",
"value": "Add new items when button is pressed\n"
},
{
"from": "human",
"value": "package net.emteeware.emteeseason;\n\nimport android.support.v7.app.AppCompatActivity;\nimport android.os.Bundle;\nimport android.view.View;\nimport android.widget.AdapterView;\nimport android.w... | java | chosen |
[
{
"from": "system",
"value": "Use root locale when normalising\n"
},
{
"from": "human",
"value": "package net.squanchy.search.engines;\n\nimport java.text.Normalizer;\nimport java.util.Locale;\nimport java.util.regex.Pattern;\n\nfinal class StringNormalizer {\n\n private static final String E... | java | chosen |
[
{
"from": "system",
"value": "Fix assertion in dnu discovery test\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2000-2016 JetBrains s.r.o.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\").\n * See LICENSE in the project root for license information.\n */\n\npackage ... | java | chosen |
[
{
"from": "system",
"value": "Add utility of bytes to string in netutils\n"
},
{
"from": "human",
"value": "package me.jesensky.dan.playertracker.net;\n\n\nimport java.io.UnsupportedEncodingException;\nimport java.security.MessageDigest;\nimport java.security.NoSuchAlgorithmException;\nimport ja... | java | chosen |
[
{
"from": "system",
"value": "Add throws to the javadoc\n"
},
{
"from": "human",
"value": "package co.paralleluniverse.firebase;\n\n//~--- non-JDK imports --------------------------------------------------------\n\nimport co.paralleluniverse.fibers.SuspendExecution;\n\nimport com.firebase.client... | java | chosen |
[
{
"from": "system",
"value": "Disable failing asserts due to parser generator bug\n"
},
{
"from": "human",
"value": "package org.spoofax.jsglr2.actions;\n\nimport org.spoofax.jsglr2.characters.ICharacters;\nimport org.spoofax.jsglr2.parsetable.IProduction;\nimport org.spoofax.jsglr2.parsetable.P... | java | chosen |
[
{
"from": "system",
"value": "Change working principle of id generating\n"
},
{
"from": "human",
"value": "package org.verapdf.model.tools;\n\nimport org.apache.pdfbox.cos.COSBase;\nimport org.apache.pdfbox.cos.COSObject;\n\n/**\n * Created by Evgeniy Muravitskiy on 4/27/15.\n *<p>\n * This clas... | java | chosen |
[
{
"from": "system",
"value": "Fix to input handler to support space -> underscore conversion.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2013 MovingBlocks\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with th... | java | chosen |
[
{
"from": "system",
"value": "Remove reference to long deprecated Service interface.\n\n\ngit-svn-id: de9d04cf23151003780adc3e4ddb7078e3680318@107893 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "human",
"value": "/*\n * Copyright (C) The Apache Software Foundation. All rights reserved.\... | java | chosen |
[
{
"from": "system",
"value": "Disable test as it sometimes fails on the CI\n\nMotivation:\n\nTemporary disable test that wwas introduced as part of f60d08fd32b7287f65077f99a88bac645834098f as it sometimes fail on the CI. We need to figure out why it fails there (can not reproduce so far even on the CI after... | java | chosen |
[
{
"from": "system",
"value": "parity-client: Simplify command name length calculation\n"
},
{
"from": "human",
"value": "package com.paritytrading.parity.client.command;\n\nimport com.paritytrading.parity.client.TerminalClient;\nimport java.util.Scanner;\n\nclass HelpCommand implements Command {... | java | chosen |
[
{
"from": "system",
"value": "Use BouncyCastle as provider for JKS keystore\n\nFixes an issue where KeyStoreBuilder fails to handle elliptic-curve crypto on older versions of OpenJDK\n"
},
{
"from": "human",
"value": "// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 l... | java | chosen |
[
{
"from": "system",
"value": "Comment for info of save btn\n"
},
{
"from": "human",
"value": "package com.codemagic.powerhour;\n\nimport android.app.Activity;\nimport android.os.Bundle;\nimport android.view.Menu;\nimport android.view.MenuItem;\nimport android.view.View;\nimport android.widget.To... | java | chosen |
[
{
"from": "system",
"value": "Add javadoc to source dao.\n"
},
{
"from": "human",
"value": "package edu.northwestern.bioinformatics.studycalendar.dao;\n\nimport edu.northwestern.bioinformatics.studycalendar.domain.Source;\n\nimport java.util.List;\n\npublic class SourceDao extends StudyCalendarM... | java | chosen |
[
{
"from": "system",
"value": "Revert \"work around EJB's not working\"\n\nThis reverts commit 5436a3e18ae816f62f80db7e5fa8a4b3ec18f6ae.\n"
},
{
"from": "human",
"value": "package com.redhat.chrometwo.api.services;\n\nimport javax.ejb.EJB;\nimport javax.ejb.LocalBean;\nimport javax.ejb.Stateless;... | java | chosen |
[
{
"from": "system",
"value": "Add logging to status queue clearing"
},
{
"from": "human",
"value": "package org.asg.report;\n\nimport org.quartz.Job;\nimport org.quartz.JobExecutionContext;\nimport org.quartz.JobExecutionException;\n\npublic class CleanJob implements Job {\n\n\tpublic void execu... | java | chosen |
[
{
"from": "system",
"value": "Fix controller annotation on Error\n"
},
{
"from": "human",
"value": "package kr.ac.kaist.se.tardis.web.controller;\r\n\r\nimport org.springframework.stereotype.Controller;\r\nimport org.springframework.web.bind.annotation.RequestMapping;\r\nimport org.springframewo... | java | chosen |
[
{
"from": "system",
"value": "Add more tests for GeopointParser\n"
},
{
"from": "human",
"value": "package cgeo.geocaching.test;\r\n\r\nimport cgeo.geocaching.geopoint.GeopointParser;\r\nimport junit.framework.Assert;\r\nimport android.test.AndroidTestCase;\r\n\r\npublic class GeoPointParserTest... | java | chosen |
[
{
"from": "system",
"value": "Use extends AbstractMarshallable in more places.\n"
},
{
"from": "human",
"value": "/*\n * Copyright 2016 higherfrequencytrading.com\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the... | java | chosen |
[
{
"from": "system",
"value": "Add equals() to the unit test to satisfy checkstyle"
},
{
"from": "human",
"value": "/**\n * Copyright 2016 Netflix, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in\n * compliance with the License. Y... | java | chosen |
[
{
"from": "system",
"value": "Fix documentation for plugin state\n"
},
{
"from": "human",
"value": "package com.adaptc.mws.plugins;\n\n/**\n * Represents the current state of a plugin.\n * @author bsaville\n */\npublic enum PluginState {\n\t/**\n\t * The plugin is created and ready for use, but ... | java | chosen |
[
{
"from": "system",
"value": "Return view is set to 'resetPassword'.\n"
},
{
"from": "human",
"value": "package fi.nls.oskari.control.users;\n\nimport org.springframework.stereotype.Controller;\nimport org.springframework.ui.Model;\nimport org.springframework.web.bind.annotation.ModelAttribute;\... | java | chosen |
[
{
"from": "system",
"value": "Clean up execute query methods.\n"
},
{
"from": "human",
"value": "package io.github.vcuswimlab.stackintheflow.controller;\n\nimport io.github.vcuswimlab.stackintheflow.model.JerseyGet;\nimport io.github.vcuswimlab.stackintheflow.model.JerseyResponse;\nimport io.git... | java | chosen |
[
{
"from": "system",
"value": "Fix toTree method for variable declarations\n\nThe type name of the variable may be missing.\n"
},
{
"from": "human",
"value": "package absyn;\n\nimport env.Env;\nimport javaslang.collection.Tree;\nimport parse.Loc;\nimport semantic.SemanticHelper;\nimport types.Typ... | java | chosen |
[
{
"from": "system",
"value": "Update expected number of attributes in datasource test for WF10\n"
},
{
"from": "human",
"value": "package org.wildfly.apigen.test.model;\n\nimport org.jboss.dmr.ModelNode;\nimport org.junit.Assert;\nimport org.junit.Test;\nimport org.wildfly.apigen.test.AbstractTe... | java | chosen |
[
{
"from": "system",
"value": "Change main thread to support upstart\n"
},
{
"from": "human",
"value": "package org.endeavourhealth.hl7receiver;\n\nimport org.endeavourhealth.core.data.config.ConfigManagerException;\nimport org.endeavourhealth.hl7receiver.hl7.HL7Service;\nimport org.slf4j.Logger;... | java | chosen |
[
{
"from": "system",
"value": "Add property to get state map from histories, figure out which HDAs are in what state - ok, failed, etc....\n"
},
{
"from": "human",
"value": "package com.github.jmchilton.blend4j.galaxy.beans;\n\nimport org.codehaus.jackson.annotate.JsonIgnoreProperties;\n\n@JsonIg... | java | chosen |
[
{
"from": "system",
"value": "Use accessor to do encoding\n"
},
{
"from": "human",
"value": "package org.realityforge.replicant.example.server.service.tyrell.replicate;\n\nimport java.util.List;\nimport javax.annotation.Nonnull;\nimport org.realityforge.replicant.server.EntityMessage;\nimport or... | java | chosen |
[
{
"from": "system",
"value": "Add a test case to check identity of result of getClass() and\nclassname.class."
},
{
"from": "human",
"value": "package study.hard.javalib.nativelib;\n\npublic class GetClassTest {\n\n\tpublic static void main(String[] args) {\n\t\tGetClassTest tester = new GetClas... | java | chosen |
[
{
"from": "system",
"value": "Remove resource jar handling. Works now out of the box with latest\nTomcat"
},
{
"from": "human",
"value": "/**\n * Copyright 2010-2012 Ralph Schaer <ralphschaer@gmail.com>\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use... | java | chosen |
[
{
"from": "system",
"value": "Fix missing version information in user-agent header\n\nMotivation:\n\nHttpClient sends the 'user-agent' header with incorrect version\ninformation. It's sending artifactId instead of artifactVersion.\n\nModifications:\n\n- Use artifactVersion instead of artifactId\n- Use corre... | java | chosen |
[
{
"from": "system",
"value": "Correct a misleading class name for the logger.\n"
},
{
"from": "human",
"value": "/* Copyright (c) 2015 Magnet Systems, 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 Li... | java | chosen |
[
{
"from": "system",
"value": "Fix icon (SVG was being rendered HUGE in WebStorm)\n"
},
{
"from": "human",
"value": "package org.frawa.elmtest.run;\n\nimport com.intellij.execution.configurations.ConfigurationFactory;\nimport com.intellij.execution.configurations.ConfigurationType;\nimport com.in... | java | chosen |
[
{
"from": "system",
"value": "Add open session in view filter support to tests\n\n"
},
{
"from": "human",
"value": "package edu.northwestern.bioinformatics.studycalendar.testing;\n\nimport edu.nwu.bioinformatics.commons.testing.DbTestCase;\n\nimport org.springframework.context.ApplicationContext... | java | chosen |
[
{
"from": "system",
"value": "Remove unnecessary comments and add javadoc\n"
},
{
"from": "human",
"value": "package kernitus.plugin.OldCombatMechanics.module;\r\n\r\nimport kernitus.plugin.OldCombatMechanics.OCMMain;\r\nimport org.bukkit.entity.Player;\r\nimport org.bukkit.entity.Projectile;\r\... | java | chosen |
[
{
"from": "system",
"value": "Sort item group so easier to find things\n\n"
},
{
"from": "human",
"value": "package com.cjm721.overloaded;\n\nimport com.cjm721.overloaded.block.ModBlocks;\nimport net.minecraft.item.ItemGroup;\nimport net.minecraft.item.ItemStack;\n\npublic class OverloadedItemGr... | java | chosen |
[
{
"from": "system",
"value": "Throw exception if backlog layer are null\n"
},
{
"from": "human",
"value": "package com.modesteam.urutau.service;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport javax.inject.Inject;\n\nimport com.modesteam.urutau.dao.LayerDAO;\nimport com.modestea... | java | chosen |
[
{
"from": "system",
"value": "Add help menu to menu bar.\n"
},
{
"from": "human",
"value": "package com.github.aureliano.edocs.app.gui.menu;\n\nimport javax.swing.JMenuBar;\n\npublic class MenuBar extends JMenuBar {\n\n\tprivate static final long serialVersionUID = 5179328504511930019L;\n\t\n\tp... | java | chosen |
[
{
"from": "system",
"value": "Make defaul config final so it can't be instantiated\n"
},
{
"from": "human",
"value": "package com.ushahidi.android;\n\n/**\n * Provides config common to all available test\n *\n * @author Henry Addo\n */\npublic class DefaultConfig {\n\n // The api level that R... | java | chosen |
[
{
"from": "system",
"value": "Add another optional=false for the description refset member.\n"
},
{
"from": "human",
"value": "package org.ihtsdo.otf.mapping.rf2.jpa;\n\nimport org.hibernate.search.annotations.ContainedIn;\n\nimport com.fasterxml.jackson.annotation.JsonBackReference;\n\nimport j... | java | chosen |
[
{
"from": "system",
"value": "Use outcome for activity title in said activity\n"
},
{
"from": "human",
"value": "package br.odb.menu;\n\nimport android.app.Activity;\nimport android.graphics.Typeface;\nimport android.os.Bundle;\nimport android.widget.TextView;\n\nimport br.odb.knights.R;\n\npubl... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.