conversations listlengths 2 3 | source stringclasses 1
value | stack stringclasses 1
value |
|---|---|---|
[
{
"from": "human",
"value": "Add ControlAccessor for vaadin TextField\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright 2009-2013 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 ... | java | chosen |
[
{
"from": "human",
"value": "Add private access for TachyonMaster\n"
},
{
"from": "gpt",
"value": "/*\n * Licensed to the University of California, Berkeley under one or more contributor license\n * agreements. See the NOTICE file distributed with this work for additional information regarding\n... | java | chosen |
[
{
"from": "human",
"value": "Add an alternate placeholder file to the repo\n"
},
{
"from": "gpt",
"value": "package co.uk.jiveelection.campaign;\n\n/**\n * Configuration for the Twitter Jive Bots.\n *\n * Placeholder in SCM, this file needs to be correctly filled out prior to launch.\n */\npubli... | java | chosen |
[
{
"from": "human",
"value": "Add tags model for retrofit\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright (c) 2015 Ushahidi Inc\n *\n * This program is free software: you can redistribute it and/or modify it under\n * the terms of the GNU Affero General Public License as published by the Free\... | java | chosen |
[
{
"from": "human",
"value": "Define a contraharmonic mean algorithm\n"
},
{
"from": "gpt",
"value": "/*\n * Zorbage: an algebraic data hierarchy for use in numeric processing.\n *\n * Copyright (C) 2016-2020 Barry DeZonia\n * \n * Redistribution and use in source and binary forms, with or withou... | java | chosen |
[
{
"from": "human",
"value": "Add custom template failure renderer\n"
},
{
"from": "gpt",
"value": "package com.peterphi.std.guice.web.rest.jaxrs.exception;\n\nimport com.google.inject.Inject;\nimport com.google.inject.Singleton;\nimport com.google.inject.name.Named;\nimport com.peterphi.std.guic... | java | chosen |
[
{
"from": "human",
"value": "Add stringbuffer with sync test\n"
},
{
"from": "gpt",
"value": "package com.yuzhouwan.hacker.algorithms.thread.sync;\n\nimport org.junit.Test;\n\n/**\n * Copyright @ 2017 yuzhouwan.com\n * All right reserved.\n * Function:String Buffer Test\n *\n * @author Benedict ... | java | chosen |
[
{
"from": "human",
"value": "Fix configuration of aliased plugins\n\nNormally Maven tries to look up plugin configuration using plugin\ncoordinates taken from plugin descriptor. This works with pure Maven\nas plugin descriptor always matches <plugin> reference in POM.\nHowever in XMvn they can differ when ... | java | chosen |
[
{
"from": "human",
"value": "Implement a class that holds a directory record.\n\nA record contains the address location and some metadata.\n\ngit-svn-id: 45400e483b316c70cab0969c275555ef2720fd29@2531 123451ca-8445-de46-9d55-352943316053\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright 2009-2010... | java | chosen |
[
{
"from": "human",
"value": "HOTFIX: Add missing file for KeyValue unit test\n\nAuthor: Guozhang Wang <wangguoz@gmail.com>\n\nReviewers: Gwen Shapira\n\nCloses #960 from guozhangwang/KCountP1\n"
},
{
"from": "gpt",
"value": "/**\n * Licensed to the Apache Software Foundation (ASF) under one or m... | java | chosen |
[
{
"from": "human",
"value": "Add servlet for event ranker\n"
},
{
"from": "gpt",
"value": "package com.google.sps.servlets;\n\nimport com.google.appengine.api.users.User;\nimport com.google.appengine.api.users.UserServiceFactory;\nimport com.google.sps.data.Event;\nimport com.google.sps.utilitie... | java | chosen |
[
{
"from": "human",
"value": "Add the sample code for mounting a datastore iso\n"
},
{
"from": "gpt",
"value": "package com.vmware.vim25.mo.samples.vm;\n\nimport com.vmware.vim25.VirtualDevice;\nimport com.vmware.vim25.mo.Folder;\nimport com.vmware.vim25.mo.InventoryNavigator;\nimport com.vmware.... | java | chosen |
[
{
"from": "human",
"value": "Add a class to test both 'call by reference' with 'call by value'."
},
{
"from": "gpt",
"value": "package study.hard.javalib.nativelib;\n\npublic class CallByReferenceVSCallByValueTest2 {\n\n\tpublic static void main(String[] args) {\n\t\tUser user = new User(\"James... | java | chosen |
[
{
"from": "human",
"value": "Test ParameterizedRobolectricTestRunner with Android class parameters\n\nThere is a known issue that the runner does not work when the test parameters are objects of Android classes, and are tests against objects which are created during the tests. This is because the class load... | java | chosen |
[
{
"from": "human",
"value": "Add a simple unit test for SVD."
},
{
"from": "gpt",
"value": "/*\n * This file is part of ELKI:\n * Environment for Developing KDD-Applications Supported by Index-Structures\n * \n * Copyright (C) 2017\n * ELKI Development Team\n * \n * This program is free software... | java | chosen |
[
{
"from": "human",
"value": "Add shell command for check consistency.\n"
},
{
"from": "gpt",
"value": "/*\n * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0\n * (the \"License\"). You may not use this work except in compliance with the License, which is\n * ... | java | chosen |
[
{
"from": "human",
"value": "Add test for Joda LocalDate serialization\n"
},
{
"from": "gpt",
"value": "package com.conveyal.r5.analyst.core;\n\nimport com.conveyal.r5.common.JsonUtilities;\nimport org.joda.time.LocalDate;\nimport org.junit.Test;\n\nimport static org.junit.Assert.assertEquals;\n... | java | chosen |
[
{
"from": "human",
"value": "Add wrapper class for using a formatter as a cleanup action\n"
},
{
"from": "gpt",
"value": "package net.sf.jabref.logic.formatter;\n\nimport net.sf.jabref.logic.FieldChange;\nimport net.sf.jabref.logic.cleanup.CleanupJob;\nimport net.sf.jabref.model.entry.BibEntry;\... | java | chosen |
[
{
"from": "human",
"value": "Add interface for transformed request stream.\n"
},
{
"from": "gpt",
"value": "/*******************************************************************************\n * Copyright (C) 2017 Push Technology Ltd.\n *\n * Licensed under the Apache License, Version 2.0 (the \"L... | java | chosen |
[
{
"from": "human",
"value": "Add demonstration tests for Only/Also\n"
},
{
"from": "gpt",
"value": "/*\n The MIT License\n\n Copyright (c) 2010-2017 Paul R. Holser, Jr.\n\n Permission is hereby granted, free of charge, to any person obtaining\n a copy of this software and associated documentatio... | java | chosen |
[
{
"from": "human",
"value": "Add unit test for the persistence operations in the Fund and Foment Unit\nobjects."
},
{
"from": "gpt",
"value": "package cl.fatman.capital.fund;\n\nimport static org.junit.Assert.*;\nimport org.junit.AfterClass;\nimport org.junit.BeforeClass;\nimport org.junit.Test;... | java | chosen |
[
{
"from": "human",
"value": "Test that demonstrates simple non-dynamic expectations in a mock policy\n"
},
{
"from": "gpt",
"value": "/*\r\n * Copyright 2009 the original author or authors.\r\n *\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this f... | java | chosen |
[
{
"from": "human",
"value": "Add attribute module for loa in Perun\n\nCreate a new module for perun user virtual attribute for loa.\n"
},
{
"from": "gpt",
"value": "package cz.metacentrum.perun.core.impl.modules.attributes;\n\nimport cz.metacentrum.perun.core.api.Attribute;\nimport cz.metacentr... | java | chosen |
[
{
"from": "human",
"value": "Add interface for base events\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright (c) 2012 Mateusz Parzonka, Eric Bodden\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * w... | java | chosen |
[
{
"from": "human",
"value": "Add quick image renaming tool"
},
{
"from": "gpt",
"value": "package org.neu.ccs.mechanical_turk.tools;\n\nimport java.io.File;\nimport java.text.SimpleDateFormat;\n\npublic class ImageRenamer {\n\n\tprivate static final String imageDir = System.getProperty(\"user.ho... | java | chosen |
[
{
"from": "human",
"value": "Add a device upgrade behaviour interface\n\nChange-Id: I43c362a302d3517dda8990e40214ce048b813412\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright 2018-present Open Networking Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * yo... | java | chosen |
[
{
"from": "human",
"value": "Remove duplicates and arrange letters lexicographically\n"
},
{
"from": "gpt",
"value": "package com.rampatra.strings;\n\nimport java.util.Set;\nimport java.util.TreeSet;\nimport java.util.stream.Collectors;\n\n/**\n * @author rampatra\n * @since 2019-04-02\n */\npub... | java | chosen |
[
{
"from": "human",
"value": "Add mock manifest helper class.\n"
},
{
"from": "gpt",
"value": "package atg.tools.ant.mock;\n\nimport atg.tools.ant.util.IdentityFeatureExtractor;\nimport atg.tools.ant.util.ManifestUtils;\nimport atg.tools.ant.util.StringUtils;\n\nimport java.io.BufferedOutputStrea... | java | chosen |
[
{
"from": "human",
"value": "samples: Add Translate API quickstart sample.\n"
},
{
"from": "gpt",
"value": "/*\n Copyright 2016, Google, Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obt... | java | chosen |
[
{
"from": "human",
"value": "Add libraries commons-cli, commons-colection, commons-configuration\r\nCreated service layer: uk.ac.ebi.ae3.indexbuilder.service.ConfigurationService uk.ac.ebi.ae3.indexbuilder.service.IndexBuilderservice\r\nChange structure of resources for the maven bui... | java | chosen |
[
{
"from": "human",
"value": "Add Java Stdin and Stdout 1 solution\n"
},
{
"from": "gpt",
"value": "import java.util.Scanner;\n\n\npublic class JavaStdinAndStdout1 {\n\n public static void main(String[] args) {\n\n Scanner scanner = new Scanner(System.in);\n\n int firstInteger = ... | java | chosen |
[
{
"from": "human",
"value": "Add java solution for 124. Binary Tree Maximum Path Sum\n\n124. Binary Tree Maximum Path Sum: https://leetcode.com/problems/binary-tree-maximum-path-sum/"
},
{
"from": "gpt",
"value": "package leetcode.binary_tree_maximum_path_sum;\n\nimport common.TreeNode;\n\npubli... | java | chosen |
[
{
"from": "human",
"value": "Add two color shader effect wrapper\n"
},
{
"from": "gpt",
"value": "package com.haxademic.core.draw.filters.shaders;\n\nimport processing.core.PApplet;\n\npublic class ColorizeTwoColorsFilter\nextends BaseFilter {\n\n\tpublic static ColorizeTwoColorsFilter instance;... | java | chosen |
[
{
"from": "human",
"value": "Add an ItemStack registry to the API (since Forge deleted theirs).\n"
},
{
"from": "gpt",
"value": "/******************************************************************************\n * Copyright (c) CovertJaguar, 2011-2016 *\n * *\... | java | chosen |
[
{
"from": "human",
"value": "Add consumer test with annotations\n"
},
{
"from": "gpt",
"value": "package de.mvitz.pact.consumer;\n\nimport au.com.dius.pact.consumer.*;\nimport au.com.dius.pact.consumer.dsl.PactDslWithProvider;\nimport au.com.dius.pact.model.PactFragment;\nimport org.junit.*;\n\n... | java | chosen |
[
{
"from": "human",
"value": "Add unit test for LunaHsmLoginParameters test\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright 2016 Datalogics Inc.\n */\n\npackage com.datalogics.pdf.security;\n\nimport static org.junit.Assert.assertEquals;\nimport static org.junit.Assert.assertNull;\n\nimport org... | java | chosen |
[
{
"from": "human",
"value": "Include @DisabledIf and @EnabledIf tests\n"
},
{
"from": "gpt",
"value": "/*\n * (C) Copyright 2020 Boni Garcia (http://bonigarcia.github.io/)\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": "human",
"value": "Add a component that contains a fixed value, as concisely as possible.\n"
},
{
"from": "gpt",
"value": "package com.timgroup.tucker.info.component;\n\nimport com.timgroup.tucker.info.Component;\nimport com.timgroup.tucker.info.Report;\nimport com.timgroup.tucker.info... | java | chosen |
[
{
"from": "human",
"value": "Create Dowload web page java file\n\nUsing AsyncTask"
},
{
"from": "gpt",
"value": "package com.example.root.downloadingwebcontent;\n\nimport android.os.AsyncTask;\nimport android.support.v7.app.AppCompatActivity;\nimport android.os.Bundle;\nimport android.util.Log;\... | java | chosen |
[
{
"from": "human",
"value": "Add custom SLF4J marker to demonstrate LOG4J2-793.\n\ngit-svn-id: de5ce936019686f47409c93bcc5e202a9739563b@1620500 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "gpt",
"value": "/*\n * Licensed to the Apache Software Foundation (ASF) under one or more\n * cont... | java | chosen |
[
{
"from": "human",
"value": "Add empty custom profile view class and TODO.\n"
},
{
"from": "gpt",
"value": "package org.forestguardian.View.CustomViews;\n\nimport android.content.Context;\nimport android.widget.LinearLayout;\n\n/**\n * Created by emma on 10/07/17.\n */\n\n//TODO: complete and re... | java | chosen |
[
{
"from": "human",
"value": "Add problem 3 to unit 3\n"
},
{
"from": "gpt",
"value": "import java.util.Scanner;\n\n/**\n * This program determines if a sentence is a palindrome\n **/\npublic class Sentence_Extract_Words {\n public static boolean is_palindrome(String input) {\n String y... | java | chosen |
[
{
"from": "human",
"value": "KCIAC-332: Implement COI event type of \"IACUC Protocol\"\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright 2005-2010 The Kuali Foundation\n * \n * Licensed under the Educational Community License, Version 2.0 (the \"License\");\n * you may not use this file except i... | java | chosen |
[
{
"from": "human",
"value": "Add an abstract base class\n"
},
{
"from": "gpt",
"value": "package fgis.server.support.geojson;\n\nimport org.geolatte.geom.Geometry;\nimport org.geolatte.geom.codec.Wkt;\nimport org.geolatte.geom.codec.Wkt.Dialect;\nimport static org.testng.Assert.*;\n\npublic abst... | java | chosen |
[
{
"from": "human",
"value": "Solve No.1000 from Baekjoon Online Judge\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright 2017 haeun kim\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... | java | chosen |
[
{
"from": "human",
"value": "Include test to check latest stable version for msedgedriver\n"
},
{
"from": "gpt",
"value": "/*\n * (C) Copyright 2020 Boni Garcia (http://bonigarcia.github.io/)\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file ... | java | chosen |
[
{
"from": "human",
"value": "Create test with missing screenshot\n"
},
{
"from": "gpt",
"value": "package de.retest.recheck.ui.review;\n\nimport static org.assertj.core.api.Assertions.assertThat;\nimport static org.assertj.core.api.Assertions.assertThatCode;\nimport static org.mockito.Mockito.mo... | java | chosen |
[
{
"from": "human",
"value": "Add integration test for roles\n"
},
{
"from": "gpt",
"value": "package net.explorviz.security.server;\n\nimport static io.restassured.RestAssured.*;\nimport static org.hamcrest.CoreMatchers.is;\n\nimport io.restassured.http.Header;\nimport net.explorviz.security.ser... | java | chosen |
[
{
"from": "human",
"value": "[ChocoCubes] Add missing file for executing a reactive module.\n"
},
{
"from": "gpt",
"value": "// Copyright 2016 Pierre Talbot (IRCAM)\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": "human",
"value": "Add test to reproduce the bug that a pending job can not be cancelled.\n\nRefs #2.\n"
},
{
"from": "gpt",
"value": "package nl.esciencecenter.octopus.webservice.job;\n\nimport static org.junit.Assert.assertEquals;\n\nimport java.net.URI;\nimport java.util.ArrayList;\... | java | chosen |
[
{
"from": "human",
"value": "ASN-13: Add unit tests for DecodeResult\n"
},
{
"from": "gpt",
"value": "/*\n * Created by brightSPARK Labs\n * www.brightsparklabs.com\n */\npackage com.brightsparklabs.asanti.model.schema;\n\nimport static org.junit.Assert.*;\n\nimport java.sql.Timestamp;\n\nimport... | java | chosen |
[
{
"from": "human",
"value": "Test compression support in file utils\n"
},
{
"from": "gpt",
"value": "package org.grouplens.lenskit.util.io;\n\nimport org.junit.Rule;\nimport org.junit.Test;\nimport org.junit.rules.TemporaryFolder;\n\nimport java.io.File;\nimport java.io.IOException;\nimport java... | java | chosen |
[
{
"from": "human",
"value": "Put the property names in a shared location."
},
{
"from": "gpt",
"value": "package net.sf.taverna.t2.component.api.config;\n\n/**\n * The names of properties used in JSON configurations associated with\n * components.\n * \n * @author Donal Fellows\n */\npublic inte... | java | chosen |
[
{
"from": "human",
"value": "Create the wicket application to administrate oAuth\n"
},
{
"from": "gpt",
"value": "package uk.ac.ox.oucs.oauth.admin;\n\nimport org.apache.wicket.Page;\nimport org.apache.wicket.protocol.http.WebApplication;\nimport org.apache.wicket.spring.injection.annot.SpringCo... | java | chosen |
[
{
"from": "human",
"value": "[test] Add test for installation of projects with no artifact file\n"
},
{
"from": "gpt",
"value": "/*-\n * Copyright (c) 2014 Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance w... | java | chosen |
[
{
"from": "human",
"value": "Add simple parser tests for the not and isnull operators\n"
},
{
"from": "gpt",
"value": "package no.ssb.vtl.parser;\n\n\nimport org.junit.Test;\n\npublic class BooleanParserTest extends GrammarTest {\n\n @Test\n public void testNot() throws Exception {\n ... | java | chosen |
[
{
"from": "human",
"value": "Make adapter class to treat any List<U> as an IndexedDataSource<U>\n"
},
{
"from": "gpt",
"value": "/*\n * Zorbage: an algebraic data hierarchy for use in numeric processing.\n *\n * Copyright (C) 2016-2019 Barry DeZonia\n * \n * Redistribution and use in source and ... | java | chosen |
[
{
"from": "human",
"value": "Add an ApplicationArchiveProcessor to calculate the final Manifest\ntaking into accout the test class\n"
},
{
"from": "gpt",
"value": "/**\n * Copyright (c) 2000-present Liferay, Inc. All rights reserved.\n *\n * This library is free software; you can redistribute it... | java | chosen |
[
{
"from": "human",
"value": "Add test for FetchJoke Async Task\n"
},
{
"from": "gpt",
"value": "package com.udacity.gradle.builditbigger;\n\nimport android.test.AndroidTestCase;\n\nimport com.udacity.gradle.builditbigger.task.FetchJokeTask;\n\nimport java.util.concurrent.CountDownLatch;\nimport ... | java | chosen |
[
{
"from": "human",
"value": "Enhance access log condition with a header based valve\n"
},
{
"from": "gpt",
"value": "package fr.sewatech.tcutils.valves;\n\nimport java.io.IOException;\n\nimport javax.servlet.ServletException;\n\nimport org.apache.catalina.connector.Request;\nimport org.apache.ca... | java | chosen |
[
{
"from": "human",
"value": "Add admin tool for listing corporate clas\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright 2002-2016 the original author or authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the... | java | chosen |
[
{
"from": "human",
"value": "Disable StringLiteralQuotesAnnotator for multi-PSI files (PY-11658)\n\nPython string literals may be split by other (template) languages in\nmulti-PSI files resulting in string literals that have unmatched\nquotes.\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright 20... | java | chosen |
[
{
"from": "human",
"value": "Add utility for rotating AABBs\n\nThanks paul.\n"
},
{
"from": "gpt",
"value": "package tehnut.lib.mc.util;\n\nimport net.minecraft.util.math.AxisAlignedBB;\n\npublic class BoundHelper {\n\n public static AxisAlignedBB rotate(AxisAlignedBB bounds, AxisRotation rot... | java | chosen |
[
{
"from": "human",
"value": "Add an exception handler to Spring Mvc (handling only RestException\n"
},
{
"from": "gpt",
"value": "package fr.esiea.windmeal.controller.exception.handler;\n\nimport fr.esiea.windmeal.model.exception.RestException;\nimport org.springframework.http.HttpStatus;\nimpor... | java | chosen |
[
{
"from": "human",
"value": "Create a Test for the distance tree evaluation"
},
{
"from": "gpt",
"value": "package org.biojava.nbio.phylo;\n\nimport org.forester.evoinference.matrix.distance.BasicSymmetricalDistanceMatrix;\nimport org.forester.phylogeny.Phylogeny;\nimport org.junit.Test;\n\nimpo... | java | chosen |
[
{
"from": "human",
"value": "Add Bean for batch register on admin tab\n"
},
{
"from": "gpt",
"value": "package org.xcolab.view.pages.contestmanagement.beans;\n\nimport org.hibernate.validator.constraints.Email;\nimport org.hibernate.validator.constraints.NotBlank;\n\nimport java.io.Serializable;... | java | chosen |
[
{
"from": "human",
"value": "aw: Add EME key system tests in android_webview_instrumentation_tests.\n\nReview URL: https://codereview.chromium.org/328713002\n\ngit-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@276932 0039d316-1c4b-4281-b951-d872f2087c98\n"
},
{
"from": "gpt",
"value": "// Cop... | java | chosen |
[
{
"from": "human",
"value": "Add interface for extended reporting of events \n\nNot in all situation, having an EventHandler allows detailed enough\nreporting on events during the build. Therefore add a new interface\nthat additionally allows posting arbitrary objects on the event bus.\n\n--\nChange-Id: I6f... | java | chosen |
[
{
"from": "human",
"value": "Add a test for CharsetConverter."
},
{
"from": "gpt",
"value": "package com.googlecode.jslint4java.cli;\n\nimport static org.hamcrest.CoreMatchers.*;\nimport static org.junit.Assert.*;\n\nimport java.nio.charset.Charset;\nimport java.nio.charset.UnsupportedCharsetExc... | java | chosen |
[
{
"from": "human",
"value": "Add test of Resource model\n"
},
{
"from": "gpt",
"value": "package com.growthbeat.model;\n\nimport static org.junit.Assert.fail;\n\nimport org.junit.Test;\n\nimport com.growthbeat.BaseTest;\nimport com.growthbeat.GrowthbeatException;\n\npublic class ResourceTest ext... | java | chosen |
[
{
"from": "system",
"value": "Add option to set custom splash layout\n"
},
{
"from": "human",
"value": "package com.reactnativenavigation.controllers;\n\nimport android.graphics.Color;\nimport android.os.Bundle;\nimport android.support.annotation.Nullable;\nimport android.support.v7.app.AppCompa... | java | chosen |
[
{
"from": "human",
"value": "Set out structure for private profile\n"
},
{
"from": "gpt",
"value": "package peergos.shared.user;\n\nimport java.nio.file.*;\n\n/** This class stores locations of the different components of a user's profile\n *\n * Each component is a separate file and can thus b... | java | chosen |
[
{
"from": "human",
"value": "Migrate to mvt and vector based wfs plugin\n"
},
{
"from": "gpt",
"value": "package flyway.paikkis;\n\nimport fi.nls.oskari.domain.map.view.Bundle;\nimport fi.nls.oskari.log.LogFactory;\nimport fi.nls.oskari.log.Logger;\nimport fi.nls.oskari.map.view.AppSetupServiceM... | java | chosen |
[
{
"from": "human",
"value": "Add annotation used to mark EJBs that will have changes automagically replicated out\n"
},
{
"from": "gpt",
"value": "package org.realityforge.replicant.example.server.service.tyrelll.replicate;\n\nimport java.lang.annotation.ElementType;\nimport java.lang.annotation... | java | chosen |
[
{
"from": "human",
"value": "[Genomics]: Create the class which will be used to obtain the targets which\nrequires variant recalibration.\n\nCurrently this is done sequentially, as I've yet to find a good way of\nsplitting the VCF files by chromosome.\n"
},
{
"from": "gpt",
"value": "package com... | java | chosen |
[
{
"from": "human",
"value": "Test to ensure map types in ProvidersRegistry\n\nThanks Mike Rheinheimer for the contribution.\n\nSee [WINK-179]\n\ngit-svn-id: 00d204a5454029cb4c4f043d44e9809460a5ea01@815588 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "gpt",
"value": "/********************... | java | chosen |
[
{
"from": "human",
"value": "Revert \"Revert \"tracks multiple source dirs inside maven configuration with new goal addsource\"\"\n\nThis reverts commit 2e51de58e3459e6ef193797b7386dbe18d1f709c.\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright (C) 2011, Neticoa SAS France - Tous droits réservés... | java | chosen |
[
{
"from": "human",
"value": "Create unmarshaller to extract an event from a stream\n"
},
{
"from": "gpt",
"value": "package net.kencochrane.raven.sentrystub.unmarshaller;\n\nimport net.kencochrane.raven.sentrystub.event.Event;\n\nimport java.io.InputStream;\n\npublic interface Unmarshaller {\n ... | java | chosen |
[
{
"from": "human",
"value": "Add a bare data point search service implementation\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright 2015 Open mHealth\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * ... | java | chosen |
[
{
"from": "system",
"value": "Fix @see to external class in api to allow compilation with Java 8\n\nThe recently added GarbageCollectorListener came with a @see to a JGit\nclass. While Java 7 did not error out on that, Java 8 does:\n\n [...]/events/GarbageCollectorListener.java:34: error: reference not fou... | java | chosen |
[
{
"from": "human",
"value": "[YAKHMI-870] SCTUnit: Create abstract SGenGenerator for SCTUnit\n-extracted same code from Generators to AbstractSCTUnitGenerator"
},
{
"from": "gpt",
"value": "package org.yakindu.sct.generator.core;\n\nimport org.eclipse.core.resources.IWorkspaceRoot;\nimport org.e... | java | chosen |
[
{
"from": "human",
"value": "Add a callback for async proposals computation"
},
{
"from": "gpt",
"value": "/*******************************************************************************\n * Copyright (c) 2014 Codenvy, S.A.\n * All rights reserved. This program and the accompanying materials\n ... | java | chosen |
[
{
"from": "human",
"value": "Add test for transforming collection of entities\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright (c) 2016 Henry Addo\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * Y... | java | chosen |
[
{
"from": "human",
"value": "Add smallest oriented bounding box.\n"
},
{
"from": "gpt",
"value": "package net.imagej.ops.geom.geom3d.mesh;\n\nimport net.imagej.ops.Contingent;\nimport net.imagej.ops.Ops;\nimport net.imagej.ops.special.function.AbstractUnaryFunctionOp;\n\nimport org.scijava.plugi... | java | chosen |
[
{
"from": "human",
"value": "Add basic setup class for ASM Injector\n"
},
{
"from": "gpt",
"value": "package reborncore.mixin.implementations.asmInjector;\n\nimport org.apache.logging.log4j.LogManager;\nimport reborncore.mixin.MixinManager;\nimport reborncore.mixin.implementations.prebaker.Mixin... | java | chosen |
[
{
"from": "human",
"value": "Prepare for Jackson POST Test\n"
},
{
"from": "gpt",
"value": "/*\n *\n * * Copyright (C) 2016 Amit Shekhar\n * * Copyright (C) 2011 Android Open Source Project\n * *\n * * Licensed under the Apache License, Version 2.0 (the \"License\");\n * * you m... | java | chosen |
[
{
"from": "human",
"value": "Add a ConfigObject backed ResourceBundle implementation\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright 2010-2012 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 compl... | java | chosen |
[
{
"from": "human",
"value": "Test the CompletableValue version of the ontology injector.\n"
},
{
"from": "gpt",
"value": "package uk.ac.ebi.quickgo.annotation.service.comm.rest.ontology.transformer.completablevalue;\n\nimport uk.ac.ebi.quickgo.annotation.service.comm.rest.ontology.model.BasicOnt... | java | chosen |
[
{
"from": "system",
"value": "Revert \"Switched organization storage back to JSON\"\n\nThis reverts commit 0a1fcfbea514419bd72bfda0c37cd57479e1b491.\n"
},
{
"from": "human",
"value": "/*\n */\npackage org.datadryad.rest.storage.resolvers;\n\nimport org.datadryad.rest.storage.rdbms.DatabaseOrgani... | java | chosen |
[
{
"from": "human",
"value": "Move interface to API plugin"
},
{
"from": "gpt",
"value": "/*-\n * Copyright (c) 2012 Diamond Light Source Ltd.\n *\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * whi... | java | chosen |
[
{
"from": "human",
"value": "Refactor the way we handle c14n of nodesets\n\n\ngit-svn-id: c5bb8e2b15dc16fd1aec0e5653c08870c9ddec7d@351347 13f79535-47bb-0310-9956-ffa450edef68\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright 1999-2004 The Apache Software Foundation.\n *\n * Licensed under the ... | java | chosen |
[
{
"from": "human",
"value": "Add test case that compares 'call by reference vs. call by value'."
},
{
"from": "gpt",
"value": "package study.hard.javalib.nativelib;\n\nimport static org.junit.Assert.*;\n\nimport org.junit.Test;\n\nimport study.hard.javalib.entity.User;\n\npublic class CallByRefe... | java | chosen |
[
{
"from": "system",
"value": "Support spring loaded for remote process.\n"
},
{
"from": "human",
"value": "package org.jetbrains.plugins.groovy.springloaded;\n\nimport com.intellij.debugger.PositionManager;\nimport com.intellij.debugger.PositionManagerFactory;\nimport com.intellij.debugger.engin... | java | chosen |
[
{
"from": "human",
"value": "Fix the segfault happening when write buffering is enabled\n"
},
{
"from": "gpt",
"value": "package org.jboss.shamrock.jpa.runtime.graal.caffeine;\n\nimport com.oracle.svm.core.annotate.Alias;\nimport com.oracle.svm.core.annotate.RecomputeFieldValue;\nimport com.orac... | java | chosen |
[
{
"from": "human",
"value": "Add a CLI to list up openstack router interfaces\n\nChange-Id: I4569c36f773079385f776d50178a321876c8800d\n"
},
{
"from": "gpt",
"value": "/*\n * Copyright 2018-present Open Networking Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")... | java | chosen |
[
{
"from": "human",
"value": "Add utility class for creating Varargs values\n"
},
{
"from": "gpt",
"value": "package net.engin33r.luaspigot.lua;\n\nimport net.engin33r.luaspigot.lua.type.LuaEvent;\nimport org.luaj.vm2.LuaValue;\nimport org.luaj.vm2.Varargs;\n\nimport java.util.Arrays;\n\nimport s... | java | chosen |
[
{
"from": "human",
"value": "Add test for rendering object methods\n"
},
{
"from": "gpt",
"value": "package org.twig.functional;\n\nimport org.junit.Assert;\nimport org.junit.Test;\nimport org.twig.Environment;\nimport org.twig.exception.TwigException;\nimport org.twig.loader.HashMapLoader;\n\ni... | java | chosen |
[
{
"from": "human",
"value": "Verify inlined props override files in @TestPropertySource\n\nThis commit introduces a test to demonstrate that inlined properties\noverride properties loaded from Properties files in\n@TestPropertySource.\n\nIssue: SPR-14068\n"
},
{
"from": "gpt",
"value": "/*\n * C... | java | chosen |
[
{
"from": "human",
"value": "Test suite for thread safety tests\n"
},
{
"from": "gpt",
"value": "/*******************************************************************************\n * Copyright (c) 1998, 2007 Oracle. All rights reserved.\n * This program and the accompanying materials are made ava... | java | chosen |
[
{
"from": "human",
"value": "webadmin: Allow GWT to work with Hibernate\n\nHibernate collections serialization is not supported by GWT.\nThis patch provides serialization techniques to some commonly\nuser Hibernate collections, so that objects can be serialized\nto the browser.\n\nChange-Id: I54f2b14a54d3e9... | java | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.