commit stringlengths 40 40 | old_file stringlengths 4 236 | new_file stringlengths 4 236 | old_contents stringlengths 1 3.26k | new_contents stringlengths 16 4.43k | subject stringlengths 16 624 | message stringlengths 17 3.29k | lang stringclasses 5
values | license stringclasses 13
values | repos stringlengths 5 91.5k |
|---|---|---|---|---|---|---|---|---|---|
751b246b70a86733886159954e60dc7dd706917b | presto-product-tests/src/main/java/io/prestosql/tests/hive/HiveProductTest.java | presto-product-tests/src/main/java/io/prestosql/tests/hive/HiveProductTest.java | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Verify Hive version major in product tests | Verify Hive version major in product tests
| Java | apache-2.0 | treasure-data/presto,losipiuk/presto,11xor6/presto,ebyhr/presto,smartnews/presto,dain/presto,dain/presto,treasure-data/presto,treasure-data/presto,Praveen2112/presto,martint/presto,ebyhr/presto,hgschmie/presto,losipiuk/presto,treasure-data/presto,hgschmie/presto,electrum/presto,losipiuk/presto,Praveen2112/presto,Pravee... |
bd0ca70a2c8df7b4e2ac425c35c55cac507c1d99 | spring-web/src/test/java/org/springframework/http/client/OkHttpClientHttpRequestFactoryTests.java | spring-web/src/test/java/org/springframework/http/client/OkHttpClientHttpRequestFactoryTests.java | /*
* Copyright 2002-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | /*
* Copyright 2002-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Add missing super in test | Add missing super in test
Closes gh-814
| Java | apache-2.0 | spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework |
15a57a6e9b86626a4bd79b15be52e0edd65a3930 | src/test/java/com/rarchives/ripme/tst/ripper/rippers/ErotivRipperTest.java | src/test/java/com/rarchives/ripme/tst/ripper/rippers/ErotivRipperTest.java | package com.rarchives.ripme.tst.ripper.rippers;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import com.rarchives.ripme.ripper.rippers.ErotivRipper;
import org.junit.jupiter.api.Test;
public class ErotivRipperTest extends RippersTest {
@Test
public void testGetGID() throw... | package com.rarchives.ripme.tst.ripper.rippers;
import java.io.IOException;
import java.net.URL;
import com.rarchives.ripme.ripper.rippers.ErotivRipper;
import org.junit.jupiter.api.Test;
public class ErotivRipperTest extends RippersTest {
@Test
public void testGetGID() throws IOException {
URL url =... | Fix indentation, remove unused import, avoid deprecated method | Fix indentation, remove unused import, avoid deprecated method
| Java | mit | rephormat/ripme,sleaze/ripme,rephormat/ripme,rephormat/ripme,sleaze/ripme,sleaze/ripme |
258041fde644c7c65ea3d3c75c0d39741824439f | navalplanner-business/src/main/java/org/navalplanner/business/resources/entities/ResourceEnum.java | navalplanner-business/src/main/java/org/navalplanner/business/resources/entities/ResourceEnum.java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.navalplanner.business.resources.entities;
import java.util.List;
/**
*
* @author Diego Pino Garcia<dpino@igalia.com>
*/
public enum ResourceEnum {
RESOURCE(Resource.class),
WORKER(Worker.class)... | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.navalplanner.business.resources.entities;
import java.util.List;
/**
*
* @author Diego Pino Garcia<dpino@igalia.com>
*/
public enum ResourceEnum {
RESOURCE(Resource.class),
WORKER(Worker.class)... | Fix bug to let add a CriterionSatisfaction to Resource super class or subclass. | ItEr16S10ClasificacionTraballoItEr15S13: Fix bug to let add a CriterionSatisfaction to Resource super class or
subclass.
If a CriterionType has in the resource column an enum matching the Resource super class, it has to be possible to
assign it to a subclass of Resource (Worker).
| Java | agpl-3.0 | LibrePlan/libreplan,Marine-22/libre,dgray16/libreplan,poum/libreplan,LibrePlan/libreplan,LibrePlan/libreplan,poum/libreplan,Marine-22/libre,PaulLuchyn/libreplan,poum/libreplan,poum/libreplan,LibrePlan/libreplan,dgray16/libreplan,dgray16/libreplan,Marine-22/libre,poum/libreplan,dgray16/libreplan,PaulLuchyn/libreplan,dgr... |
469504786fcbd573e553388bbb1826a7675e3cf7 | python/src/com/jetbrains/python/documentation/doctest/PyDocstringLanguageDialect.java | python/src/com/jetbrains/python/documentation/doctest/PyDocstringLanguageDialect.java | package com.jetbrains.python.documentation.doctest;
import com.intellij.lang.InjectableLanguage;
import com.intellij.lang.Language;
import com.jetbrains.python.PythonLanguage;
/**
* User : ktisha
*/
public class PyDocstringLanguageDialect extends Language implements InjectableLanguage {
public static PyDocstringL... | package com.jetbrains.python.documentation.doctest;
import com.intellij.codeInsight.intention.impl.QuickEditAction;
import com.intellij.lang.InjectableLanguage;
import com.intellij.lang.Language;
import com.jetbrains.python.PythonLanguage;
/**
* User : ktisha
*/
public class PyDocstringLanguageDialect extends Langu... | Edit injection language fragment action is not available for Python Docstring language | Edit injection language fragment action is not available for Python Docstring language
| Java | apache-2.0 | da1z/intellij-community,FHannes/intellij-community,slisson/intellij-community,suncycheng/intellij-community,michaelgallacher/intellij-community,semonte/intellij-community,alphafoobar/intellij-community,tmpgit/intellij-community,ahb0327/intellij-community,fengbaicanhe/intellij-community,clumsy/intellij-community,petteyg... |
b53d645ecf8845798ca96c5761404937f9561904 | backend/src/main/java/org/luxons/sevenwonders/config/TopicSubscriptionInterceptor.java | backend/src/main/java/org/luxons/sevenwonders/config/TopicSubscriptionInterceptor.java | package org.luxons.sevenwonders.config;
import java.security.Principal;
import org.luxons.sevenwonders.validation.DestinationAccessValidator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.messaging.Message;
import org.springframework.messaging.MessageChannel;
import org.spr... | package org.luxons.sevenwonders.config;
import org.luxons.sevenwonders.errors.ApiMisuseException;
import org.luxons.sevenwonders.validation.DestinationAccessValidator;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.messaging.Message;
import org.springframework.messaging.Messa... | Improve forbidden subscription exception message | Improve forbidden subscription exception message
| Java | mit | luxons/seven-wonders,luxons/seven-wonders,luxons/seven-wonders |
46ff885a8ca55bebfd75c4a9b1a39b5540f81d68 | android/src/main/java/com/geektime/rnonesignalandroid/ReactNativeOneSignalPackage.java | android/src/main/java/com/geektime/rnonesignalandroid/ReactNativeOneSignalPackage.java | package com.geektime.rnonesignalandroid;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.JavaScriptModule;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
import java.util.ArrayList;
impo... | package com.geektime.rnonesignalandroid;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.JavaScriptModule;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
import java.util.ArrayList;
impo... | Remove depreciated createJSModules @ovveride marker | Remove depreciated createJSModules @ovveride marker | Java | mit | geektimecoil/react-native-onesignal,geektimecoil/react-native-onesignal,geektimecoil/react-native-onesignal |
dab73c8d81fc32648578cfdbc352e6c13cb2fa20 | hibernate-ogm-core/src/test/java/org/hibernate/ogm/test/simpleentity/BootstrapTest.java | hibernate-ogm-core/src/test/java/org/hibernate/ogm/test/simpleentity/BootstrapTest.java | package org.hibernate.ogm.test.simpleentity;
import org.hibernate.Session;
/**
* @author Emmanuel Bernard
*/
public class BootstrapTest extends OgmTestCase {
public void testBootstrap() throws Exception {
final Session session = openSession();
session.close();
}
@Override
protected Class<?>[] getAnnotated... | package org.hibernate.ogm.test.simpleentity;
import org.hibernate.Session;
import org.hibernate.Transaction;
/**
* @author Emmanuel Bernard
*/
public class BootstrapTest extends OgmTestCase {
public void testBootstrap() throws Exception {
final Session session = openSession();
Hypothesis hyp = new Hypothesis(... | Improve test to add insertion and subsequent read | Improve test to add insertion and subsequent read
| Java | lgpl-2.1 | Sanne/hibernate-ogm,DavideD/hibernate-ogm,mp911de/hibernate-ogm,tempbottle/hibernate-ogm,gunnarmorling/hibernate-ogm,emmanuelbernard/hibernate-ogm-old,uugaa/hibernate-ogm,emmanuelbernard/hibernate-ogm,tempbottle/hibernate-ogm,hibernate/hibernate-ogm,mp911de/hibernate-ogm,ZJaffee/hibernate-ogm,gunnarmorling/hibernate-og... |
73796df2726163534a503f014a02022888d90d80 | integration-tests/mailer/src/test/java/io/quarkus/it/mailer/FakeMailerTestResource.java | integration-tests/mailer/src/test/java/io/quarkus/it/mailer/FakeMailerTestResource.java | package io.quarkus.it.mailer;
import java.util.HashMap;
import java.util.Map;
import org.testcontainers.containers.GenericContainer;
import org.testcontainers.containers.wait.strategy.Wait;
import io.quarkus.test.common.QuarkusTestResourceLifecycleManager;
public class FakeMailerTestResource implements QuarkusTestR... | package io.quarkus.it.mailer;
import java.util.HashMap;
import java.util.Map;
import org.testcontainers.containers.FixedHostPortGenericContainer;
import org.testcontainers.containers.GenericContainer;
import org.testcontainers.containers.wait.strategy.Wait;
import io.quarkus.test.common.QuarkusTestResourceLifecycleM... | Use fixed port for mailer test | Use fixed port for mailer test
This is done to avoid the flakiness we are seeing in CI
| Java | apache-2.0 | quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus |
4e5dafa6ae4fd55e4f2585289157cde9c5046e10 | src/org/adaptlab/chpir/android/participanttracker/validators/CaregiverIdValidator.java | src/org/adaptlab/chpir/android/participanttracker/validators/CaregiverIdValidator.java | package org.adaptlab.chpir.android.participanttracker.validators;
/**
* Created by mn127 on 3/3/15.
*/
public class CaregiverIdValidator extends ParticipantIdValidator {
@Override
public boolean validate(String value) {
if (value.length() > 0) {
return value.charAt(0) == 'E' && super.val... | package org.adaptlab.chpir.android.participanttracker.validators;
public class CaregiverIdValidator extends ParticipantIdValidator {
@Override
public boolean validate(String value) {
if (value.length() > 0) {
return value.charAt(0) == 'E' && super.validate(value);
}
return... | Clean up comments for caregiver id validator | Clean up comments for caregiver id validator
| Java | mit | mnipper/ParticipantTracker,mnipper/ParticipantTracker |
1819ea00d05c9db3d9688f1d66fef30dcb3f2485 | terminal/src/com/google/idea/blaze/terminal/DefaultTerminalLocationCustomizer.java | terminal/src/com/google/idea/blaze/terminal/DefaultTerminalLocationCustomizer.java | /*
* Copyright 2017 The Bazel Authors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | /*
* Copyright 2017 The Bazel Authors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Set PWD env var when customizing Terminal plugin working directory. | Set PWD env var when customizing Terminal plugin working directory.
PiperOrigin-RevId: 359567768
| Java | apache-2.0 | bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij |
6e67a65974b4d7b97d8db964f9d2cef565736ded | checklistbank-ws/src/test/java/org/gbif/checklistbank/ws/resources/WsAppTest.java | checklistbank-ws/src/test/java/org/gbif/checklistbank/ws/resources/WsAppTest.java | package org.gbif.checklistbank.ws.resources;
import java.security.Permission;
import org.gbif.ws.app.Application;
import org.junit.Test;
import static org.junit.Assert.fail;
public class WsAppTest {
/**
* Test the startup of the webapp.
* We expect a SecurityException raised as the Application stops becau... | package org.gbif.checklistbank.ws.resources;
import java.security.Permission;
import org.gbif.ws.app.Application;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.fail;
public class WsAppTest {
private SecurityManager sm;
@Before
public void init(){
... | Remove custom security manager after test finishes | Remove custom security manager after test finishes
| Java | apache-2.0 | gbif/checklistbank,gbif/checklistbank |
99e02d36d8b954dd44d31700555aa617afa5a665 | JmsCommon/src/main/java/name/wramner/jmstools/messages/MessageProvider.java | JmsCommon/src/main/java/name/wramner/jmstools/messages/MessageProvider.java | /*
* Copyright 2016 Erik Wramner.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | /*
* Copyright 2016 Erik Wramner.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agr... | Rename property names to follow JMS standard for identifiers. | Rename property names to follow JMS standard for identifiers.
| Java | apache-2.0 | erik-wramner/JmsTools,erik-wramner/JmsTools |
2aecb50948c0c10434addebd7ff7b7b05745b82c | OpERP/src/main/java/devopsdistilled/operp/client/abstracts/EntityModel.java | OpERP/src/main/java/devopsdistilled/operp/client/abstracts/EntityModel.java | package devopsdistilled.operp.client.abstracts;
import java.io.Serializable;
import java.util.List;
import devopsdistilled.operp.server.data.entity.Entiti;
import devopsdistilled.operp.server.data.service.EntityService;
public interface EntityModel<E extends Entiti, ES extends EntityService<E, ID>, EO extends Entity... | package devopsdistilled.operp.client.abstracts;
import java.io.Serializable;
import java.util.List;
import devopsdistilled.operp.server.data.entity.Entiti;
import devopsdistilled.operp.server.data.service.EntityService;
public interface EntityModel<E extends Entiti, ES extends EntityService<E, ID>, EO extends Entity... | Add saveAndUpdateModel() method to save entity and update the model | Add saveAndUpdateModel() method to save entity and update the model | Java | mit | DevOpsDistilled/OpERP,njmube/OpERP |
2e1077b8b07b10eb3b5a1c697949295b357f27ff | georocket-server/src/main/java/io/georocket/index/xml/XMLBoundingBoxIndexerFactory.java | georocket-server/src/main/java/io/georocket/index/xml/XMLBoundingBoxIndexerFactory.java | package io.georocket.index.xml;
import io.georocket.index.generic.BoundingBoxIndexerFactory;
/**
* Create instances of {@link BoundingBoxIndexer}
* @author Michel Kraemer
*/
public class XMLBoundingBoxIndexerFactory extends BoundingBoxIndexerFactory implements XMLIndexerFactory {
@Override
public XMLIndexer cr... | package io.georocket.index.xml;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import io.georocket.index.generic.BoundingBoxIndexerFactory;
/**
* Create instances of {@link BoundingBoxIndexer}
* @author Michel Kraemer
*/
public class XMLBoundingBoxIndexerFactory extends Bound... | Add possibility to override the default BoundingBoxIndexer | Add possibility to override the default BoundingBoxIndexer
| Java | apache-2.0 | georocket/georocket,andrej-sajenko/georocket,andrej-sajenko/georocket,georocket/georocket |
e0bbd5cc36fbaa35cf1259ccca9c82ab25d0df54 | examples/explorer/EntityNode.java | examples/explorer/EntityNode.java | /*
* Copyright 2011 Splunk, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"): you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | /*
* Copyright 2011 Splunk, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"): you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | Add path property to base entity node. | Add path property to base entity node.
| Java | apache-2.0 | splunk/splunk-sdk-java,splunk/splunk-sdk-java,splunk/splunk-sdk-java,dkelmer/splunk-sdk-java,splunk/splunk-sdk-java,dkelmer/splunk-sdk-java,dkelmer/splunk-sdk-java,dkelmer/splunk-sdk-java,dkelmer/splunk-sdk-java,splunk/splunk-sdk-java,splunk/splunk-sdk-java |
5f082b9af72cbf9e50a1565f553123acc5da4ef7 | film-rest-service/src/main/java/io/github/web/rest/service/FilmsRestController.java | film-rest-service/src/main/java/io/github/web/rest/service/FilmsRestController.java | package io.github.web.rest.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bin... | package io.github.web.rest.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind... | Enable CrossOrigin in REST service for films | Enable CrossOrigin in REST service for films
| Java | apache-2.0 | bonigarcia/web-programming-examples,bonigarcia/web-programming-examples,bonigarcia/web-programming-examples,bonigarcia/web-programming-examples |
54c48af3c55a18d15485ba76411023111459a9ce | tests/src/test/java/alluxio/client/cli/fs/command/LeaderCommandIntegrationTest.java | tests/src/test/java/alluxio/client/cli/fs/command/LeaderCommandIntegrationTest.java | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | /*
* The Alluxio Open Foundation licenses this work under the Apache License, version 2.0
* (the "License"). You may not use this work except in compliance with the License, which is
* available at www.apache.org/licenses/LICENSE-2.0
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI... | Validate only last line for leader command test | Validate only last line for leader command test
This is to deflake leader command integration test.
The reason for failure is that error output contains some netty error
trace that we can't control. When netty receives a command for a stream
that is closed or being closed, such traces are written to sys::err. In
this... | Java | apache-2.0 | maobaolong/alluxio,bf8086/alluxio,EvilMcJerkface/alluxio,calvinjia/tachyon,Alluxio/alluxio,EvilMcJerkface/alluxio,calvinjia/tachyon,bf8086/alluxio,wwjiang007/alluxio,EvilMcJerkface/alluxio,wwjiang007/alluxio,Alluxio/alluxio,Alluxio/alluxio,EvilMcJerkface/alluxio,EvilMcJerkface/alluxio,madanadit/alluxio,madanadit/alluxi... |
ed0f157e956e6753c6522f3e9fb4730915fa6071 | utils/metrics/metrics/src/main/java/com/ea/orbit/metrics/jvm/ThreadCPUUsageSet.java | utils/metrics/metrics/src/main/java/com/ea/orbit/metrics/jvm/ThreadCPUUsageSet.java | package com.ea.orbit.metrics.jvm;
import com.codahale.metrics.Gauge;
import com.codahale.metrics.Metric;
import com.codahale.metrics.MetricSet;
import java.lang.management.ManagementFactory;
import java.lang.management.ThreadInfo;
import java.lang.management.ThreadMXBean;
import java.util.HashMap;
import java.util.Ma... | package com.ea.orbit.metrics.jvm;
import com.codahale.metrics.Gauge;
import com.codahale.metrics.Metric;
import com.codahale.metrics.MetricSet;
import java.lang.management.ManagementFactory;
import java.lang.management.ThreadInfo;
import java.lang.management.ThreadMXBean;
import java.util.HashMap;
import java.util.Ma... | Fix Thread CPU time metric name. | Fix Thread CPU time metric name.
| Java | bsd-3-clause | quilombodigital/orbit,JoeHegarty/orbit,DanielSperry/orbit,FieldFlux/orbit,akydd/orbit |
094e6624ffd9ed6bdf0a0ca3e30c39003bd2204b | cream-it/cream-it-entity/src/test/java/fr/liglab/adele/cream/it/entity/test/EntityBaseCommonConfig.java | cream-it/cream-it-entity/src/test/java/fr/liglab/adele/cream/it/entity/test/EntityBaseCommonConfig.java | package fr.liglab.adele.cream.it.entity.test;
import fr.liglab.adele.cream.testing.helpers.ContextBaseTest;
import java.util.Arrays;
import java.util.List;
/**
* Created by aygalinc on 26/08/16.
*/
public abstract class EntityBaseCommonConfig extends ContextBaseTest {
@Override
protected List<String> get... | package fr.liglab.adele.cream.it.entity.test;
import fr.liglab.adele.cream.testing.helpers.ContextBaseTest;
import java.util.Arrays;
import java.util.List;
/**
* Created by aygalinc on 26/08/16.
*/
public abstract class EntityBaseCommonConfig extends ContextBaseTest {
@Override
protected List<String> get... | Add extra export package due to windows | Add extra export package due to windows
| Java | apache-2.0 | aygalinc/Context-SOCM,aygalinc/Context-SOCM |
37eee0a8a597efae04476781e435b44066f0f1e9 | src/main/java/edu/northwestern/bioinformatics/studycalendar/dao/PlannedActivityDao.java | src/main/java/edu/northwestern/bioinformatics/studycalendar/dao/PlannedActivityDao.java | package edu.northwestern.bioinformatics.studycalendar.dao;
import edu.northwestern.bioinformatics.studycalendar.domain.PlannedActivity;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* @author Rhett Sutphin
*/
@Transactional (readOnly=true)
public class PlannedActivityD... | package edu.northwestern.bioinformatics.studycalendar.dao;
import edu.northwestern.bioinformatics.studycalendar.domain.PlannedActivity;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* @author Rhett Sutphin
*/
@Transactional (readOnly=true)
public class PlannedActivityD... | Add javadoc to planned activity dao. | Add javadoc to planned activity dao.
git-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@2431 0d517254-b314-0410-acde-c619094fa49f
| Java | bsd-3-clause | NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror |
56381cd64940269c1bca4397a12de665f6ccc96d | app/src/main/java/org/wikipedia/activity/FragmentUtil.java | app/src/main/java/org/wikipedia/activity/FragmentUtil.java | package org.wikipedia.activity;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import org.wikipedia.activity.CallbackFragment.Callback;
public final class FragmentUtil {
@Nullable public static Callback getCallback(@NonNull Fragment ... | package org.wikipedia.activity;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import org.wikipedia.activity.CallbackFragment.Callback;
public final class FragmentUtil {
@Nullable public static Callback getCallback(@NonNull Fragment ... | Check hosting Fragment for callback | Check hosting Fragment for callback
The Support Library now allows a Fragment to request its hosting
Fragment, if any. Update FragmentUtil.getCallback() to check the host's
instance after checking for an explicitly set target Fragment.
Change-Id: I582b3fc0e975d426c4ced494d8551a77f12b372f
| Java | apache-2.0 | anirudh24seven/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,anirudh24seven/apps-android-wikipedia,dbrant/apps-android-wikipedia,anirudh24seven/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,wikimedia/apps-android-wikipedia,anirudh24seven/app... |
936987c951fcd2ff64fbfed9f89c5d6a835b443b | bbvm-core/src/test/java/me/wener/bbvm/vm/BasmSpecTest.java | bbvm-core/src/test/java/me/wener/bbvm/vm/BasmSpecTest.java | package me.wener.bbvm.vm;
import me.wener.bbvm.asm.ParseException;
import org.junit.Test;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
/**
* @author wener
* @since 15/12/18
*/
public class BasmSpecTest {
@Test
public void in() throws IOException, ParseException {
... | package me.wener.bbvm.vm;
import me.wener.bbvm.asm.ParseException;
import org.junit.Test;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
/**
* @author wener
* @since 15/12/18
*/
public class BasmSpecTest {
@Test
public void in() throws IOException, ParseException {
... | Add file basic graph basm test. | Add file basic graph basm test.
| Java | apache-2.0 | wenerme/bbvm,wenerme/bbvm |
1a28308d9e27e044cf0555545e8bcf953a095264 | src/main/java/com/graywolf336/trailingperspective/workers/HomeSendingWorker.java | src/main/java/com/graywolf336/trailingperspective/workers/HomeSendingWorker.java | package com.graywolf336.trailingperspective.workers;
import org.bukkit.ChatColor;
import com.graywolf336.trailingperspective.TrailingPerspectiveMain;
import com.graywolf336.trailingperspective.enums.Settings;
import com.graywolf336.trailingperspective.interfaces.ITrailer;
import com.graywolf336.trailingperspective.in... | package com.graywolf336.trailingperspective.workers;
import org.bukkit.ChatColor;
import com.graywolf336.trailingperspective.TrailingPerspectiveMain;
import com.graywolf336.trailingperspective.enums.Settings;
import com.graywolf336.trailingperspective.interfaces.ITrailer;
import com.graywolf336.trailingperspective.in... | Fix the home sending worker being too generic on how it sends people home | Fix the home sending worker being too generic on how it sends people home
| Java | mit | graywolf336/TrailingPerspective |
23ab2a44fa62192f8e51838610be78465ac4a7e1 | src/test/java/de/plushnikov/intellij/plugin/inspection/BuilderInspectionTest.java | src/test/java/de/plushnikov/intellij/plugin/inspection/BuilderInspectionTest.java | package de.plushnikov.intellij.plugin.inspection;
import com.intellij.codeInspection.InspectionProfileEntry;
public class BuilderInspectionTest extends LombokInspectionTest {
@Override
protected String getTestDataPath() {
return TEST_DATA_INSPECTION_DIRECTORY + "/builder";
}
@Override
protected Inspec... | package de.plushnikov.intellij.plugin.inspection;
import com.intellij.codeInspection.InspectionProfileEntry;
public class BuilderInspectionTest extends LombokInspectionTest {
@Override
protected String getTestDataPath() {
return TEST_DATA_INSPECTION_DIRECTORY + "/builder";
}
@Override
protected Inspec... | Remove todo because it is implemented now | Remove todo because it is implemented now
| Java | bsd-3-clause | mplushnikov/lombok-intellij-plugin,mplushnikov/lombok-intellij-plugin |
f268c54d0f0b4bd9cc3367f997e89d37ce876e83 | src/main/java/com/hubspot/dropwizard/guice/DropwizardEnvironmentModule.java | src/main/java/com/hubspot/dropwizard/guice/DropwizardEnvironmentModule.java | package com.hubspot.dropwizard.guice;
import com.google.common.base.Optional;
import com.google.inject.AbstractModule;
import com.google.inject.Provider;
import com.google.inject.Provides;
import com.yammer.dropwizard.config.Configuration;
import com.yammer.dropwizard.config.Environment;
public class DropwizardEnviro... | package com.hubspot.dropwizard.guice;
import com.google.common.base.Optional;
import com.google.inject.AbstractModule;
import com.google.inject.CreationException;
import com.google.inject.Provider;
import com.google.inject.Provides;
import com.google.inject.spi.Message;
import com.yammer.dropwizard.config.Configuratio... | Throw exceptions if accessing configuration/environment during bootstrap phase. | Throw exceptions if accessing configuration/environment during bootstrap phase.
| Java | apache-2.0 | HubSpot/dropwizard-guice,ingenieux/dropwizard-governator,puneetjaiswal/dropwizard-guice,oillio/dropwizard-guice,mwei1us/dropwizard-guice,alexan/dropwizard-guice,thomas-p-wilson/dropwizard-guice |
14b193bfc795857d359c7f9df2c996446f71e82f | src/main/java/net/floodlightcontroller/prediction/TopologyGraphResource.java | src/main/java/net/floodlightcontroller/prediction/TopologyGraphResource.java | package net.floodlightcontroller.prediction;
import java.io.FileNotFoundException;
import java.io.UnsupportedEncodingException;
import org.restlet.resource.Get;
import org.restlet.resource.Post;
import org.restlet.resource.ServerResource;
public class TopologyGraphResource extends ServerResource {
@Get("json")
... | package net.floodlightcontroller.prediction;
import org.json.JSONObject;
import org.restlet.resource.Get;
import org.restlet.resource.Post;
import org.restlet.resource.ServerResource;
import java.io.FileNotFoundException;
import java.io.UnsupportedEncodingException;
public class TopologyGraphResource extends ServerR... | Create the POST route handler | Create the POST route handler
| Java | apache-2.0 | thisthat/floodlight-controller,thisthat/floodlight-controller,thisthat/floodlight-controller,thisthat/floodlight-controller,thisthat/floodlight-controller |
a79ffcd91aa7720703bf88895aa0665257850932 | src/main/java/net/mcft/copy/betterstorage/addon/armourersworkshop/AWDataManager.java | src/main/java/net/mcft/copy/betterstorage/addon/armourersworkshop/AWDataManager.java | package net.mcft.copy.betterstorage.addon.armourersworkshop;
import net.minecraft.entity.Entity;
import riskyken.armourersWorkshop.api.client.render.IEquipmentRenderHandler;
import riskyken.armourersWorkshop.api.client.render.IEquipmentRenderManager;
import riskyken.armourersWorkshop.api.common.equipment.EnumEquipment... | package net.mcft.copy.betterstorage.addon.armourersworkshop;
import net.minecraft.entity.Entity;
import net.minecraft.tileentity.TileEntity;
import riskyken.armourersWorkshop.api.client.render.IEquipmentRenderHandler;
import riskyken.armourersWorkshop.api.client.render.IEquipmentRenderManager;
import riskyken.armourer... | Update to new Armourer's Workshop API | Update to new Armourer's Workshop API
| Java | mit | TehStoneMan/BetterStorage,Adaptivity/BetterStorage,KingDarkLord/BetterStorage,CannibalVox/BetterStorage,TehStoneMan/BetterStorageToo,copygirl/BetterStorage,RX14/BetterStorage,Bunsan/BetterStorage,skyem123/BetterStorage,AnodeCathode/BetterStorage |
5a9747b64736e3b10b6b393083270583cf22f7e9 | app/src/main/java/it/playfellas/superapp/logic/master/Master1Controller.java | app/src/main/java/it/playfellas/superapp/logic/master/Master1Controller.java | package it.playfellas.superapp.logic.master;
import it.playfellas.superapp.events.EventFactory;
import it.playfellas.superapp.events.game.StartGameEvent;
import it.playfellas.superapp.logic.Config1;
import it.playfellas.superapp.network.TenBus;
/**
* Created by affo on 31/07/15.
*/
public class Master1Controller ex... | package it.playfellas.superapp.logic.master;
import it.playfellas.superapp.events.EventFactory;
import it.playfellas.superapp.events.game.StartGameEvent;
import it.playfellas.superapp.logic.Config1;
import it.playfellas.superapp.network.TenBus;
/**
* Created by affo on 31/07/15.
*/
public class Master1Controller ex... | Fix bug that led to togglegame at each error | Fix bug that led to togglegame at each error
| Java | apache-2.0 | playfellas/superapp |
ac142a6ce0c948aeb07837f7e8704dad4d3e3134 | spring-security-oauth2/src/main/java/org/springframework/security/oauth2/common/util/SerializationUtils.java | spring-security-oauth2/src/main/java/org/springframework/security/oauth2/common/util/SerializationUtils.java | package org.springframework.security.oauth2.common.util;
import java.io.*;
public class SerializationUtils {
public static byte[] serialize(Object state) {
ObjectOutputStream oos = null;
try {
ByteArrayOutputStream bos = new ByteArrayOutputStream(512);
oos = new ObjectOutputStream(bos);
oos.writeObject... | package org.springframework.security.oauth2.common.util;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import org.springframework.core.ConfigurableObjectInputStream;
public class Serializatio... | Use thread context class loader to load classes during deserialization | Use thread context class loader to load classes during deserialization
Previously, SerializationUtils used a standard ObjectInputStream for
deserialization. For this to work, the type being deserialized had to
be available to SerializationUtils' ClassLoader. This doesn't hold
true in environments where there are multi... | Java | apache-2.0 | gharizanov92/spring-security-oauth,spring-projects/spring-security-oauth,Fitzoh/spring-security-oauth,marcosbarbero/spring-security-oauth,michaelwoodson/spring-security-oauth,ollie314/spring-security-oauth,jgrandja/spring-security-oauth,ollie314/spring-security-oauth,Fitzoh/spring-security-oauth,gharizanov92/spring-sec... |
e718e678a936f1719131adf48b15b905571b97aa | omni-cx2x/src/cx2x/xcodeml/transformation/Transformer.java | omni-cx2x/src/cx2x/xcodeml/transformation/Transformer.java | /*
* This file is released under terms of BSD license
* See LICENSE file for more information
*/
package cx2x.xcodeml.transformation;
import java.util.Map;
/**
* Transformer interface
*
* Transformer stores all the transformation to be applied by a translator.
*
* @author clementval
*/
public interface Tra... | /*
* This file is released under terms of BSD license
* See LICENSE file for more information
*/
package cx2x.xcodeml.transformation;
import java.util.Map;
/**
* Transformer interface
*
* Transformer stores all the transformation to be applied by a translator.
*
* @author clementval
*/
public interface Tra... | Add getter for module cache | Add getter for module cache
| Java | bsd-2-clause | clementval/claw-compiler,clementval/claw-compiler |
7365f1ad3a75b478bcdecca65676d7857b843699 | presto-hive/src/main/java/com/facebook/presto/hive/HiveHdfsConfiguration.java | presto-hive/src/main/java/com/facebook/presto/hive/HiveHdfsConfiguration.java | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Reduce allocation of hadoop configuration objects | Reduce allocation of hadoop configuration objects
| Java | apache-2.0 | ajoabraham/presto,nakajijiji/presto,Nasdaq/presto,idemura/presto,miquelruiz/presto,losipiuk/presto,treasure-data/presto,cosinequanon/presto,yuananf/presto,zhenyuy-fb/presto,takari/presto,hgschmie/presto,yuananf/presto,haitaoyao/presto,miniway/presto,nileema/presto,joy-yao/presto,kined/presto,gh351135612/presto,mbeitchm... |
623f62fe513b19bad39be2002c482e23bc8a4a07 | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ProxyResponse.java | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/configserver/ProxyResponse.java | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.configserver;
import com.yahoo.container.jdisc.HttpResponse;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.charset.StandardChars... | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.configserver;
import com.yahoo.container.jdisc.HttpResponse;
import java.io.IOException;
import java.io.OutputStream;
import java.util.Optional;
/**
* @a... | Use byte array for proxy response | Use byte array for proxy response
| Java | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
fa7a7f2fe5099655a14fd7a5afe38473507951d9 | src/test/java/com/grayben/riskExtractor/headingMarker/elector/ElectedTextListTest.java | src/test/java/com/grayben/riskExtractor/headingMarker/elector/ElectedTextListTest.java | package com.grayben.riskExtractor.headingMarker.elector;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Created by beng on 28/11/2015.
*/
@Ignore
public class ElectedTextListTest {
@Before
public void setUp() throws ... | package com.grayben.riskExtractor.headingMarker.elector;
import com.grayben.riskExtractor.headingMarker.TextCandidate;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.Mockito;
import java.util.List;
import static org.junit.A... | Add some tests to ElectedTextList class | Add some tests to ElectedTextList class
| Java | mit | grayben/10K-item-extractor,grayben/10K-item-extractor |
4dac1d69dc2c17d665bc41826c3ef6886c8c8e8d | cas-server-support-oauth/src/main/java/org/jasig/cas/support/oauth/scope/handler/support/AbstractScopeHandler.java | cas-server-support-oauth/src/main/java/org/jasig/cas/support/oauth/scope/handler/support/AbstractScopeHandler.java | /*
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in c... | /*
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in c... | Fix nullpointerexception when using OSF scopes. | Fix nullpointerexception when using OSF scopes.
| Java | apache-2.0 | CenterForOpenScience/cas-overlay,CenterForOpenScience/cas-overlay |
ea5a91827f5000724450788e66a43d24aa73d84f | falcon-sample/src/main/java/com/jraska/falcon/sample/FloatingViewActivity.java | falcon-sample/src/main/java/com/jraska/falcon/sample/FloatingViewActivity.java | package com.jraska.falcon.sample;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Point;
import android.os.Build;
import android.os.Bundle;
import android.view.Display;
import android.view.Menu;
import android.view.WindowManager;
public class FloatingViewActivity extends SampleActi... | package com.jraska.falcon.sample;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Point;
import android.os.Build;
import android.os.Bundle;
import android.view.Display;
import android.view.Menu;
import android.view.WindowManager;
public class FloatingViewActivity extends SampleActi... | Allow to start infinite number of activities | Allow to start infinite number of activities
| Java | apache-2.0 | jraska/Falcon |
d21785edd010cbd26e632c0295f2602481ac9421 | li.strolch.service/src/main/java/li/strolch/execution/policy/RemoveActivityArchival.java | li.strolch.service/src/main/java/li/strolch/execution/policy/RemoveActivityArchival.java | package li.strolch.execution.policy;
import li.strolch.agent.api.ComponentContainer;
import li.strolch.model.activity.Activity;
import li.strolch.persistence.api.StrolchTransaction;
public class RemoveActivityArchival extends ActivityArchivalPolicy {
public RemoveActivityArchival(ComponentContainer container, Strol... | package li.strolch.execution.policy;
import li.strolch.agent.api.ComponentContainer;
import li.strolch.model.activity.Activity;
import li.strolch.persistence.api.StrolchTransaction;
public class RemoveActivityArchival extends ActivityArchivalPolicy {
public RemoveActivityArchival(ComponentContainer container, Strol... | Allow to archive activities in state CLOSED | [Fix] Allow to archive activities in state CLOSED
| Java | apache-2.0 | eitchnet/strolch,4treesCH/strolch,eitchnet/strolch,4treesCH/strolch,4treesCH/strolch,eitchnet/strolch,eitchnet/strolch,4treesCH/strolch |
128d59716db088eeb7de8c320f3b13dfd6588130 | android/modules/ui/src/java/ti/modules/titanium/ui/android/TiPreferencesFragment.java | android/modules/ui/src/java/ti/modules/titanium/ui/android/TiPreferencesFragment.java | package ti.modules.titanium.ui.android;
import org.appcelerator.kroll.common.Log;
import org.appcelerator.titanium.TiApplication;
import org.appcelerator.titanium.util.TiRHelper;
import android.os.Bundle;
import android.preference.PreferenceFragment;
public class TiPreferencesFragment extends PreferenceFragment {
... | package ti.modules.titanium.ui.android;
import org.appcelerator.kroll.common.Log;
import org.appcelerator.titanium.TiApplication;
import org.appcelerator.titanium.util.TiRHelper;
import android.os.Bundle;
import android.preference.PreferenceFragment;
public class TiPreferencesFragment extends PreferenceFragment {
... | Allow for setting of the Title | [TIMOB-19435] Allow for setting of the Title
| Java | apache-2.0 | bhatfield/titanium_mobile,rblalock/titanium_mobile,mano-mykingdom/titanium_mobile,linearhub/titanium_mobile,bhatfield/titanium_mobile,benbahrenburg/titanium_mobile,prop/titanium_mobile,benbahrenburg/titanium_mobile,kopiro/titanium_mobile,falkolab/titanium_mobile,kopiro/titanium_mobile,benbahrenburg/titanium_mobile,Ange... |
674d7ada0578d9cdfe98b68056d709a87e7ee960 | data-service/src/main/java/org/ihtsdo/buildcloud/service/fileprocessing/InputSources.java | data-service/src/main/java/org/ihtsdo/buildcloud/service/fileprocessing/InputSources.java | package org.ihtsdo.buildcloud.service.fileprocessing;
public enum InputSources {
TERM_SERVER("terminology-server"), REFSET_TOOL("reference-set-tool"), MAPPING_TOOLS("mapping-tools"), MANUAL("manual");
private String sourceName;
InputSources(String sourceName) {
this.sourceName = sourceName;
... | package org.ihtsdo.buildcloud.service.fileprocessing;
public enum InputSources {
TERM_SERVER("terminology-server"), REFSET_TOOL("reference-set-tool"), MAPPING_TOOLS("mapping-tools"), MANUAL("manual"), EXTERNALY_MAINTAINED("externally-maintained");
private String sourceName;
InputSources(String sourceNam... | Add externally maintained source type | Add externally maintained source type
| Java | apache-2.0 | IHTSDO/snomed-release-service,IHTSDO/snomed-release-service |
648d78f9544d14b48b518f3976efd93d3eb3f07f | modules/siddhi-core/src/main/java/io/siddhi/core/exception/StoreQueryRuntimeException.java | modules/siddhi-core/src/main/java/io/siddhi/core/exception/StoreQueryRuntimeException.java | /*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.or... | /*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.or... | Refactor Store Query to On-Demand Query with backward compatibility. | Refactor Store Query to On-Demand Query with backward compatibility.
| Java | apache-2.0 | mohanvive/siddhi,wso2/siddhi,suhothayan/siddhi,dilini-muthumala/siddhi,suhothayan/siddhi,grainier/siddhi,grainier/siddhi,wso2/siddhi,mohanvive/siddhi,dilini-muthumala/siddhi |
e4e23cbe132dcea66b3579864040b0cb72fdef82 | core/citrus-api/src/main/java/com/consol/citrus/TestActionRunner.java | core/citrus-api/src/main/java/com/consol/citrus/TestActionRunner.java | package com.consol.citrus;
/**
* @author Christoph Deppisch
*/
public interface TestActionRunner {
/**
* Runs given test action.
* @param action
* @param <T>
* @return
*/
default <T extends TestAction> T run(T action) {
return run((TestActionBuilder<T>) () -> action);
}
... | package com.consol.citrus;
/**
* @author Christoph Deppisch
*/
public interface TestActionRunner {
/**
* Runs given test action.
* @param action
* @param <T>
* @return
*/
default <T extends TestAction> T run(T action) {
return run((TestActionBuilder<T>) () -> action);
}
... | Add short hand for run methods on test action runner | refactor(citrus-3.0): Add short hand for run methods on test action runner
| Java | apache-2.0 | christophd/citrus,christophd/citrus |
46dfcdbc53671c78f37a74fa23edf2471bd9405a | src/main/java/com/homeadvisor/kafdrop/config/SchemaRegistryConfiguration.java | src/main/java/com/homeadvisor/kafdrop/config/SchemaRegistryConfiguration.java | package com.homeadvisor.kafdrop.config;
import org.hibernate.validator.constraints.NotBlank;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util... | package com.homeadvisor.kafdrop.config;
import org.hibernate.validator.constraints.NotBlank;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;
@Configuration
public class SchemaRegi... | Remove list-parsing code from schema registry config parser | Remove list-parsing code from schema registry config parser
| Java | apache-2.0 | HomeAdvisor/Kafdrop,HomeAdvisor/Kafdrop,HomeAdvisor/Kafdrop |
46925c6c31af8c38d1f6d190a8b1c3bdeea17380 | src/main/java/ca/corefacility/bioinformatics/irida/repositories/SampleRepository.java | src/main/java/ca/corefacility/bioinformatics/irida/repositories/SampleRepository.java | package ca.corefacility.bioinformatics.irida.repositories;
import org.springframework.data.repository.PagingAndSortingRepository;
import ca.corefacility.bioinformatics.irida.exceptions.EntityNotFoundException;
import ca.corefacility.bioinformatics.irida.model.Project;
import ca.corefacility.bioinformatics.irida.model... | package ca.corefacility.bioinformatics.irida.repositories;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import ca.corefacility.bioinformatics.irida.exceptions.EntityNotFoundException;
import ca.corefacility.bioinformatics.irida.model.Proj... | Add query for getting sample by external identifier. | Add query for getting sample by external identifier.
| Java | apache-2.0 | phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida |
8326be3ab40df5ec7e4105a3b95c461dea4d8dd7 | portfolio/src/main/java/com/google/sps/servlets/TextInputServlet.java | portfolio/src/main/java/com/google/sps/servlets/TextInputServlet.java | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | // Copyright 2019 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | Add servlet to handle text request submissions and send to Dialogflow | Add servlet to handle text request submissions and send to Dialogflow
| Java | apache-2.0 | googleinterns/step43-2020,googleinterns/step43-2020,googleinterns/step43-2020,googleinterns/step43-2020 |
c1da98bc7e31b7b8b0bf922563eb023745663da5 | src/main/java/org/zalando/problem/spring/web/advice/validation/ValidationAdviceTrait.java | src/main/java/org/zalando/problem/spring/web/advice/validation/ValidationAdviceTrait.java | package org.zalando.problem.spring.web.advice.validation;
import org.zalando.problem.spring.web.advice.AdviceTrait;
/**
* @see AdviceTrait
*/
public interface ValidationAdviceTrait extends
ConstraintViolationAdviceTrait,
MethodArgumentNotValidAdviceTrait {
}
| package org.zalando.problem.spring.web.advice.validation;
import org.zalando.problem.spring.web.advice.AdviceTrait;
/**
* Advice trait to handle any validation exceptions.
* <p>
* Be careful if you use {@link org.springframework.validation.beanvalidation.MethodValidationPostProcessor}
* in order to validate metho... | Add some tips when using Spring method validation | Add some tips when using Spring method validation
related to #85 discussion
| Java | mit | zalando/problem-spring-web,zalando/problem-spring-web |
6a5f9744888984aaa1cb210d9e91ce97e07de8f7 | src/pl/charmas/serializablegenerator/typeserializers/serializers/UnknownTypeSerializer.java | src/pl/charmas/serializablegenerator/typeserializers/serializers/UnknownTypeSerializer.java | /*
* Copyright (C) 2013 Michał Charmas (http://blog.charmas.pl)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | /*
* Copyright (C) 2013 Michał Charmas (http://blog.charmas.pl)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | Add missing cast for unknown types | Add missing cast for unknown types
| Java | apache-2.0 | davidliu/android-serializable-intellij-plugin |
f23a36fff7b08030b49247a547264607dbcdba59 | xchange-bitbay/src/main/java/org/knowm/xchange/bitbay/v3/service/BitbayTradeServiceRaw.java | xchange-bitbay/src/main/java/org/knowm/xchange/bitbay/v3/service/BitbayTradeServiceRaw.java | package org.knowm.xchange.bitbay.v3.service;
import java.io.IOException;
import java.util.UUID;
import java.util.regex.Pattern;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.bitbay.v3.dto.trade.BitbayUserTrades;
import org.knowm.xchange.bitbay.v3.dto.trade.BitbayUserTradesQuery;
import org.knowm.xchange.... | package org.knowm.xchange.bitbay.v3.service;
import java.io.IOException;
import java.util.UUID;
import org.knowm.xchange.Exchange;
import org.knowm.xchange.bitbay.v3.dto.trade.BitbayUserTrades;
import org.knowm.xchange.bitbay.v3.dto.trade.BitbayUserTradesQuery;
import org.knowm.xchange.exceptions.ExchangeException;
im... | Use compact JSON instead of replacing whitespaces in String | [Bitbay] Use compact JSON instead of replacing whitespaces in String
| Java | mit | andre77/XChange,stachon/XChange,douggie/XChange,timmolter/XChange |
84b90e27801f32afe480b22d5a443bd30d6c5e87 | samples/InstanceOfMethodCheck.java | samples/InstanceOfMethodCheck.java | /*
* Copyright 2020 The JSpecify Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | /*
* Copyright 2020 The JSpecify Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... | Check Foo.class.isInstance instead of Object.class.isInstance. | Check Foo.class.isInstance instead of Object.class.isInstance.
See
https://github.com/jspecify/jspecify/issues/164#issuecomment-775868055
I'm going to remove this sample entirely, but I'm first improving it in
this commit: If someone wants to keep a local copy, we might as well
make it as useful as we can.
| Java | apache-2.0 | jspecify/jspecify |
476a2314be0dafa3975b1f29a69ce4917a1a7425 | src/main/java/de/pitkley/jenkins/plugins/dockerswarmslave/DockerSwarmSlaveRunListener.java | src/main/java/de/pitkley/jenkins/plugins/dockerswarmslave/DockerSwarmSlaveRunListener.java | package de.pitkley.jenkins.plugins.dockerswarmslave;
import hudson.Extension;
import hudson.model.Build;
import hudson.model.Project;
import hudson.model.Run;
import hudson.model.listeners.RunListener;
@Extension
public class DockerSwarmSlaveRunListener extends RunListener<Run<?, ?>> {
@Override
public void o... | package de.pitkley.jenkins.plugins.dockerswarmslave;
import hudson.Extension;
import hudson.model.AbstractBuild;
import hudson.model.AbstractProject;
import hudson.model.BuildableItemWithBuildWrappers;
import hudson.model.Run;
import hudson.model.listeners.RunListener;
@Extension
public class DockerSwarmSlaveRunListe... | Use abstract classes in the runlistener | Use abstract classes in the runlistener
| Java | mit | pitkley/docker-swarm-slave |
62a51ba326aaa8023d57afaf51cd521161709a4e | KeywordSearch/test/unit/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchTestSuite.java | KeywordSearch/test/unit/src/org/sleuthkit/autopsy/keywordsearch/KeywordSearchTestSuite.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.sleuthkit.autopsy.keywordsearch;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.... | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.sleuthkit.autopsy.keywordsearch;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.... | Clean up the debug output line | 3124: Clean up the debug output line
| Java | apache-2.0 | esaunders/autopsy,rcordovano/autopsy,wschaeferB/autopsy,esaunders/autopsy,wschaeferB/autopsy,esaunders/autopsy,APriestman/autopsy,APriestman/autopsy,wschaeferB/autopsy,rcordovano/autopsy,rcordovano/autopsy,millmanorama/autopsy,APriestman/autopsy,wschaeferB/autopsy,dgrove727/autopsy,APriestman/autopsy,dgrove727/autopsy,... |
55e99c2d332c42474f37b1c5aae62ea94678e6be | config-model/src/main/java/com/yahoo/vespa/model/application/validation/ValidationId.java | config-model/src/main/java/com/yahoo/vespa/model/application/validation/ValidationId.java | // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.application.validation;
import java.util.Optional;
/**
* Ids of validations that can be overridden
*
* @author bratseth
*/
public enum ValidationId {
indexingChange(... | // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.model.application.validation;
import java.util.Optional;
/**
* Ids of validations that can be overridden
*
* @author bratseth
*/
public enum ValidationId {
indexingChange(... | Add validation id for staging tests. | Add validation id for staging tests.
| Java | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
80d79dbd86bc51e2a8fc3f45152da04ddf107854 | src/codeu/chat/util/Tokenizer.java | src/codeu/chat/util/Tokenizer.java | package codeu.chat.util;
public final class Tokenizer {
public Tokenizer(String source) {
}
public String next() throws IOException {
}
}
| package codeu.chat.util;
import java.io.IOException;
public final class Tokenizer {
public Tokenizer(String source) {
}
public String next() throws IOException {
return "";
}
}
| Test commit attempt 2 :| | Test commit attempt 2 :|
| Java | apache-2.0 | ditadewindita/CodeUSummer2017,ditadewindita/CodeUSummer2017 |
2cbdc5fa72ffc43c18d366088670f4442d23ae80 | src/com/xrtb/bidder/MimeTypes.java | src/com/xrtb/bidder/MimeTypes.java | package com.xrtb.bidder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class MimeTypes {
static Map<String,String> mimes = new HashMap();
static List<String> types = new ArrayList();
static {
add("gif","image/gif");
add("png","image/png");
add("gif... | package com.xrtb.bidder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* A simple class to encode mime types in the embedded web server, RTBServer.java
* @author Ben M. Faul
*
*/
public class MimeTypes {
/** The mime types hash */
static Map<String,Strin... | Fix the unchecked type and add javadoc | Fix the unchecked type and add javadoc
| Java | apache-2.0 | benmfaul/XRTB,benmfaul/XRTB,benmfaul/XRTB,benmfaul/XRTB |
aaecc04457ec139293fb4e262a2180e69006db37 | src/play/test/MorphiaFixtures.java | src/play/test/MorphiaFixtures.java | package play.test;
import java.util.List;
import play.Play;
import play.modules.morphia.Model;
import play.modules.morphia.MorphiaPlugin;
import play.test.Fixtures;
import com.google.code.morphia.Datastore;
public class MorphiaFixtures extends Fixtures {
private static Datastore ds() {
return MorphiaP... | package play.test;
import java.util.List;
import play.Play;
import play.modules.morphia.Model;
import play.modules.morphia.MorphiaPlugin;
import play.test.Fixtures;
import com.google.code.morphia.Datastore;
public class MorphiaFixtures extends Fixtures {
private static Datastore ds() {
return MorphiaP... | Revert "reverse changes to MorhiaFixtures which is specific to 1.2.1" | Revert "reverse changes to MorhiaFixtures which is specific to 1.2.1"
This reverts commit 4e00685568a7eb9edcf39bd20d2c5272f5d365aa.
| Java | apache-2.0 | greenlaw110/play-morphia,greenlaw110/play-morphia,jamesward/play-morphia,greenlaw110/play-morphia |
b8da8545a837e33d5c8fe46e38dc10aa91642211 | src/com/antonyt/coveredimageview/example/CoveredImageViewActivity.java | src/com/antonyt/coveredimageview/example/CoveredImageViewActivity.java |
package com.antonyt.coveredimageview.example;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import com.antonyt.coveredimageview.CoveredImageView;
import com.antonyt.coveredimageview.R;
/**
* Example activity to demonstrate the {@link Cove... |
package com.antonyt.coveredimageview.example;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView.ScaleType;
import com.antonyt.coveredimageview.CoveredImageView;
import com.antonyt.coveredimageview.R;
/**
* Exam... | Use ScaleType.FIT_START to align graph and plot better. | Use ScaleType.FIT_START to align graph and plot better.
| Java | mit | antonyt/CoveredImageView |
9cbf6d7223b5948bcc33ea6dc4c094e42b42c545 | src/main/java/blue/lapis/common/economy/EconomyAccount.java | src/main/java/blue/lapis/common/economy/EconomyAccount.java | /*
* LapisCommons
* Copyright (c) 2014, LapisDev <https://github.com/LapisDev>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the ri... | /*
* LapisCommons
* Copyright (c) 2014, LapisDev <https://github.com/LapisDev>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the ri... | Rename cash flow getter to getHistory | Rename cash flow getter to getHistory
| Java | mit | LapisBlue/Commons |
5aa212840690f5db8ce7c554d244591ad2dcde3f | common/src/main/java/cc/blynk/common/handlers/common/encoders/MessageEncoder.java | common/src/main/java/cc/blynk/common/handlers/common/encoders/MessageEncoder.java | package cc.blynk.common.handlers.common.encoders;
import cc.blynk.common.enums.Command;
import cc.blynk.common.model.messages.Message;
import cc.blynk.common.model.messages.MessageBase;
import cc.blynk.common.utils.Config;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.h... | package cc.blynk.common.handlers.common.encoders;
import cc.blynk.common.enums.Command;
import cc.blynk.common.model.messages.Message;
import cc.blynk.common.model.messages.MessageBase;
import cc.blynk.common.utils.Config;
import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.h... | Correct message body length for unicode chars. | Correct message body length for unicode chars.
| Java | mit | johan--/blynk-server,HaiJiaoXinHeng/blynk-server,johan--/blynk-server,HaiJiaoXinHeng/blynk-server,HaiJiaoXinHeng/blynk-server,johan--/blynk-server |
f289588147c3b5919b9f10ccc6166257f55d5054 | platform/lang-api/src/com/intellij/codeInsight/completion/CompletionExtension.java | platform/lang-api/src/com/intellij/codeInsight/completion/CompletionExtension.java | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInsight.completion;
import com.intellij.lang.Language;
import com.intellij.lang.LanguageExtension;
import com.intellij.lang.MetaLanguage;
import gnu.trov... | // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.codeInsight.completion;
import com.intellij.lang.Language;
import com.intellij.lang.LanguageExtension;
import com.intellij.lang.MetaLanguage;
import gnu.trov... | Check metalanguage applicability in getAllBaseLanguageIdsWithAny() | Check metalanguage applicability in getAllBaseLanguageIdsWithAny()
GitOrigin-RevId: f76645e6ba0672f74059aa8b4ec97855d6a5527c | Java | apache-2.0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... |
4e95e9774f8a234c082349353ffcb44510c14181 | portability-core/src/test/java/org/dataportabilityproject/job/CrypterImplTest.java | portability-core/src/test/java/org/dataportabilityproject/job/CrypterImplTest.java | package org.dataportabilityproject.job;
import static com.google.common.truth.Truth.assertThat;
import javax.crypto.KeyGenerator;
import javax.crypto.SecretKey;
import org.junit.Test;
public class CrypterImplTest {
@Test
public void testRoundTripSecretKey() throws Exception {
KeyGenerator generator = KeyGene... | package org.dataportabilityproject.job;
import static com.google.common.truth.Truth.assertThat;
import javax.crypto.KeyGenerator;
import javax.crypto.SecretKey;
import org.junit.Test;
public class CrypterImplTest {
@Test
public void testRoundTripSecretKey() throws Exception {
KeyGenerator generator = KeyGene... | Add special charecters to the test as per chuy's request | Add special charecters to the test as per chuy's request
| Java | apache-2.0 | google/data-transfer-project,google/data-transfer-project,google/data-transfer-project,google/data-transfer-project,google/data-transfer-project |
dfe5280dc3a1191f31e287d56cc0937ec3b1f09d | src/codechicken/lib/world/TileChunkLoadHook.java | src/codechicken/lib/world/TileChunkLoadHook.java | package codechicken.lib.world;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import net.minecraft.tileentity.TileEntity;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.event.world.ChunkEvent;
public class TileChunkLoadHook
{
private static boolean init;
public static void... | package codechicken.lib.world;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import net.minecraft.tileentity.TileEntity;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.event.world.ChunkEvent;
import java.util.ArrayList;
import java.util.List;
public class TileChunkLoadHook
{
... | Fix ConcurrentModificationException in tile chunk load hook | Fix ConcurrentModificationException in tile chunk load hook
| Java | lgpl-2.1 | Chicken-Bones/CodeChickenLib,TheCBProject/CodeChickenLib,alexbegt/CodeChickenLib |
05846c309012d9e15f0d7c440cca18c671d4ad49 | client/src/main/java/org/robockets/runqueue/client/Main.java | client/src/main/java/org/robockets/runqueue/client/Main.java | package org.robockets.runqueue.client;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import org.robockets.runqueue.client.controllers.Controllers;
public class Main {
public static void main(String args[]) {
try { // Nimbus theme
for (UIManager.LookAndFeelInfo info : UIMana... | package org.robockets.runqueue.client;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import org.robockets.runqueue.client.controllers.Controllers;
public class Main {
public static void main(String args[]) {
try { // Nimbus theme
for (UIManager.LookAndFeelInfo info : UIMana... | Print stack trace if Nimbus is not avaible | Print stack trace if Nimbus is not avaible
| Java | mit | Team4761/Run-Queue |
3b128584f1420cab8480b87bcb8b1bde28816540 | aswb/src/com/google/idea/blaze/android/run/binary/mobileinstall/StudioDeployerExperiment.java | aswb/src/com/google/idea/blaze/android/run/binary/mobileinstall/StudioDeployerExperiment.java | /*
* Copyright 2020 The Bazel Authors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | /*
* Copyright 2020 The Bazel Authors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Make Studio deployer specific to workstations | Make Studio deployer specific to workstations
(cherry picked from commit 5c3291237d53cce00f68a6f209136951fc2a66fe)
| Java | apache-2.0 | bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij |
65b2abcf4833c672dda37880393a3a9348f76f4e | nifty-load-tester/src/main/java/com/facebook/nifty/perf/LoadTesterNettyConfigProvider.java | nifty-load-tester/src/main/java/com/facebook/nifty/perf/LoadTesterNettyConfigProvider.java | /*
* Copyright (C) 2012-2013 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | /*
* Copyright (C) 2012-2013 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | Add missing import to fix build | Add missing import to fix build
| Java | apache-2.0 | electrum/nifty,andrewcox/nifty,facebook/nifty,szulijun/nifty,javazhangtao/nifty,buzzxu/nifty,alandau/nifty,ivmaykov/nifty |
91e69c90a4058b12f7de1748a7ff9cf2d8def610 | silenceengine/src/main/java/com/shc/silenceengine/core/gameloops/VariableTimeSteppedLoop.java | silenceengine/src/main/java/com/shc/silenceengine/core/gameloops/VariableTimeSteppedLoop.java | package com.shc.silenceengine.core.gameloops;
import com.shc.silenceengine.core.IGameLoop;
import com.shc.silenceengine.core.SilenceEngine;
import com.shc.silenceengine.graphics.opengl.GLContext;
import com.shc.silenceengine.utils.TimeUtils;
import static com.shc.silenceengine.graphics.IGraphicsDevice.Constants.*;
/... | package com.shc.silenceengine.core.gameloops;
import com.shc.silenceengine.core.IGameLoop;
import com.shc.silenceengine.core.SilenceEngine;
import com.shc.silenceengine.graphics.opengl.GLContext;
import com.shc.silenceengine.utils.TimeUtils;
import static com.shc.silenceengine.graphics.IGraphicsDevice.Constants.*;
/... | Fix exception in initialization error in GameLoop | Fix exception in initialization error in GameLoop
| Java | mit | sriharshachilakapati/SilenceEngine,sriharshachilakapati/SilenceEngine |
316a67256e845aa84f6551edf6cc3c117acd2ff2 | src/main/java/module-info.java | src/main/java/module-info.java |
/**
* See {@link org.cojen.tupl.Database} to get started with Tupl.
*/
module org.cojen.tupl {
exports org.cojen.tupl;
exports org.cojen.tupl.ext;
exports org.cojen.tupl.io;
exports org.cojen.tupl.repl;
exports org.cojen.tupl.tools;
exports org.cojen.tupl.util;
requires transitive java.l... |
/**
* See {@link org.cojen.tupl.Database} to get started with Tupl.
*/
module org.cojen.tupl {
exports org.cojen.tupl;
exports org.cojen.tupl.ext;
exports org.cojen.tupl.io;
exports org.cojen.tupl.repl;
exports org.cojen.tupl.tools;
exports org.cojen.tupl.util;
requires jdk.unsupported;
... | Remove transitive modifier from dependencies. | Remove transitive modifier from dependencies.
| Java | agpl-3.0 | cojen/Tupl |
a527a21a77165b113d615fe4b1984cc7a9e3aa12 | src/main/java/com/hp/autonomy/types/requests/idol/actions/answer/params/GetResourcesSortParam.java | src/main/java/com/hp/autonomy/types/requests/idol/actions/answer/params/GetResourcesSortParam.java | /*
* Copyright 2015 Hewlett-Packard Development Company, L.P.
* Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
*/
package com.hp.autonomy.types.requests.idol.actions.answer.params;
@SuppressWarnings({"WeakerAccess", "unused"})
public enum GetResourc... | /*
* Copyright 2015 Hewlett-Packard Development Company, L.P.
* Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
*/
package com.hp.autonomy.types.requests.idol.actions.answer.params;
@SuppressWarnings({"WeakerAccess", "unused"})
public enum GetResourc... | Add support for AnswerServer likelihood | Add support for AnswerServer likelihood
[rev. matthew.gordon]
| Java | mit | hpe-idol/java-aci-types,hpautonomy/java-aci-types,hpe-idol/java-aci-types,hpautonomy/java-aci-types |
7f8898a4ba9bcfa83b43ceac628b226ba601115d | app/src/main/java/com/jonasgerdes/schauburgr/usecase/home/movies/movie_list/MovieListAdapter.java | app/src/main/java/com/jonasgerdes/schauburgr/usecase/home/movies/movie_list/MovieListAdapter.java | package com.jonasgerdes.schauburgr.usecase.home.movies.movie_list;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.jonasgerdes.schauburgr.R;
import com.jonasgerdes.schauburgr.model.Movie;
import java.util.ArrayList... | package com.jonasgerdes.schauburgr.usecase.home.movies.movie_list;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.jonasgerdes.schauburgr.R;
import com.jonasgerdes.schauburgr.model.Movie;
import java.util.ArrayList... | Add automatic refresh of movies when new data is available | Add automatic refresh of movies when new data is available
| Java | mit | JGerdes/Schauburgr |
d1d48deebe6875b48eb03e234b7cad3733722183 | motech-pillreminder-api/src/main/java/org/motechproject/server/pillreminder/util/Util.java | motech-pillreminder-api/src/main/java/org/motechproject/server/pillreminder/util/Util.java | package org.motechproject.server.pillreminder.util;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
public class Util {
public static DateTime currentDateTime() {
return new DateTime(DateTimeZone.UTC);... | package org.motechproject.server.pillreminder.util;
import org.joda.time.DateTime;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
public class Util {
public static DateTime currentDateTime() {
return new DateTime();
}
public static Date newDate(int year, in... | Remove UTC from time util<Manohar/Shruthi> | Remove UTC from time util<Manohar/Shruthi>
| Java | bsd-3-clause | LukSkarDev/motech,adamkalmus/motech,jefeweisen/motech,jefeweisen/motech,pgesek/motech,wstrzelczyk/motech,sebbrudzinski/motech,motech/motech-server-pillreminder,tectronics/motech,koshalt/motech,pgesek/motech,wstrzelczyk/motech,motech/motech-campaign-demo,wstrzelczyk/motech,smalecki/motech,tectronics/motech,motech/motech... |
365d6e1c306549c07c1449d7d5e7cea5a8bc2634 | src/main/java/com/alexrnl/subtitlecorrector/correctionstrategy/AbstractStrategy.java | src/main/java/com/alexrnl/subtitlecorrector/correctionstrategy/AbstractStrategy.java | package com.alexrnl.subtitlecorrector.correctionstrategy;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.logging.Logger;
import com.alexrnl.subtitlecorrector.service.SessionParameters;
/**
* Abstract strategy implementation.<br />
* Provide a basic body for the actual... | package com.alexrnl.subtitlecorrector.correctionstrategy;
import java.util.Collections;
import java.util.List;
import java.util.Objects;
import java.util.logging.Logger;
import com.alexrnl.subtitlecorrector.service.SessionParameters;
/**
* Abstract strategy implementation.<br />
* Provide a basic body for the actu... | Replace empty list creation with Collections.emptyList() | Replace empty list creation with Collections.emptyList()
| Java | bsd-3-clause | AlexRNL/SubtitleCorrector |
759173d16e6310bac1d60aa25a4da8f05c57fdc5 | src/main/java/io/github/nucleuspowered/nucleus/modules/admin/config/AdminConfig.java | src/main/java/io/github/nucleuspowered/nucleus/modules/admin/config/AdminConfig.java | /*
* This file is part of Nucleus, licensed under the MIT License (MIT). See the LICENSE.txt file
* at the root of this project for more details.
*/
package io.github.nucleuspowered.nucleus.modules.admin.config;
import ninja.leaping.configurate.objectmapping.Setting;
import ninja.leaping.configurate.objectmapping.s... | /*
* This file is part of Nucleus, licensed under the MIT License (MIT). See the LICENSE.txt file
* at the root of this project for more details.
*/
package io.github.nucleuspowered.nucleus.modules.admin.config;
import ninja.leaping.configurate.objectmapping.Setting;
import ninja.leaping.configurate.objectmapping.s... | Set separate game mode permissions default to true. | Set separate game mode permissions default to true.
I meant to do this ages ago.
| Java | mit | OblivionNW/Nucleus,OblivionNW/Nucleus,NucleusPowered/Nucleus,NucleusPowered/Nucleus,NucleusPowered/Nucleus,NucleusPowered/Nucleus |
383c1668739c9ec3e47ad21ee0137465591e2401 | src/main/java/com/theaccountant/accountabilityhack/processor/FteAantalProcessor.java | src/main/java/com/theaccountant/accountabilityhack/processor/FteAantalProcessor.java | package com.theaccountant.accountabilityhack.processor;
import com.theaccountant.accountabilityhack.data.SchoolEntry;
import com.theaccountant.accountabilityhack.data.SchoolRegistry;
import java.io.IOException;
public final class FteAantalProcessor implements Processor {
public void process(final SchoolRegistry... | package com.theaccountant.accountabilityhack.processor;
import com.theaccountant.accountabilityhack.data.SchoolEntry;
import com.theaccountant.accountabilityhack.data.SchoolRegistry;
import java.io.IOException;
public final class FteAantalProcessor implements Processor {
public void process(final SchoolRegistry... | Use builder to create object. | Use builder to create object.
| Java | mit | effibennekers/theaccountant |
f71610678ea5cf14091853d0c2b82dd84c303e9e | flux-file-watcher-core/src/main/java/com/codenvy/flux/watcher/core/spi/RepositoryWatchingService.java | flux-file-watcher-core/src/main/java/com/codenvy/flux/watcher/core/spi/RepositoryWatchingService.java | /*******************************************************************************
* Copyright (c) 2014 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
*... | /*******************************************************************************
* Copyright (c) 2014 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
*... | Remove project parameter from watching service | Remove project parameter from watching service | Java | epl-1.0 | Serli/flux-file-watcher |
5496bc5145c56db3913b0e99eb34b4a7d8e339c4 | src/main/java/dk/in2isoft/onlineobjects/apps/reader/perspective/StatementPerspective.java | src/main/java/dk/in2isoft/onlineobjects/apps/reader/perspective/StatementPerspective.java | package dk.in2isoft.onlineobjects.apps.reader.perspective;
public class StatementPerspective {
private String text;
private long id;
private boolean found;
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public long getId() {
return id;
}
public void... | package dk.in2isoft.onlineobjects.apps.reader.perspective;
public class StatementPerspective {
private String text;
private long id;
private boolean found;
private int firstPosition;
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public long getId() {
... | Store first position of statements | Store first position of statements
| Java | unlicense | Humanise/hui,Humanise/hui,Humanise/hui,Humanise/hui,Humanise/hui,Humanise/hui,Humanise/hui |
1742ca274729122707b79b2621e384ef0c866e4b | library/src/main/java/com/github/javiersantos/materialstyleddialogs/UtilsLibrary.java | library/src/main/java/com/github/javiersantos/materialstyleddialogs/UtilsLibrary.java | package com.github.javiersantos.materialstyleddialogs;
import android.content.Context;
import android.os.Build;
import android.support.annotation.ColorRes;
import android.util.TypedValue;
class UtilsLibrary {
static int getPrimaryColor(Context context) {
TypedValue typedValue = new TypedValue();
... | package com.github.javiersantos.materialstyleddialogs;
import android.content.Context;
import android.os.Build;
import android.support.annotation.ColorRes;
import android.support.v4.content.ContextCompat;
import android.util.TypedValue;
class UtilsLibrary {
static int getPrimaryColor(Context context) {
T... | Update method to get color | Update method to get color
| Java | apache-2.0 | javiersantos/MaterialStyledDialogs |
42e877df3207e1e5a8060218b1ac34772e1a21a3 | jmetal-core/src/test/java/org/uma/jmetal/util/solutionattribute/impl/GenericSolutionAttributeTest.java | jmetal-core/src/test/java/org/uma/jmetal/util/solutionattribute/impl/GenericSolutionAttributeTest.java | package org.uma.jmetal.util.solutionattribute.impl;
import org.junit.Test;
import org.uma.jmetal.solution.DoubleSolution;
import static org.junit.Assert.*;
/**
* @author Antonio J. Nebro <antonio@lcc.uma.es>
*/
public class GenericSolutionAttributeTest {
@Test
public void shouldDefaultConstructorCreateASolutio... | // This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it wi... | Add copyrigth comments to some classes | Add copyrigth comments to some classes
| Java | mit | matthieu-vergne/jMetal |
8b9ff43bfcecfd8b34293c5d36c87e60d31032bb | app/src/main/java/com/fernandocejas/android10/rx/sample/activity/SampleActivityObservableTransfor.java | app/src/main/java/com/fernandocejas/android10/rx/sample/activity/SampleActivityObservableTransfor.java | /**
* Copyright (C) 2015 android10.org. All rights reserved.
* @author Fernando Cejas (the android10 coder)
*/
package com.fernandocejas.android10.rx.sample.activity;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import butterknife.ButterKnife;... | /**
* Copyright (C) 2015 android10.org. All rights reserved.
* @author Fernando Cejas (the android10 coder)
*/
package com.fernandocejas.android10.rx.sample.activity;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Button;
i... | Add click events for buttons. | Add click events for buttons.
| Java | apache-2.0 | android10/Android-ReactiveProgramming,hejunbinlan/Android-ReactiveProgramming |
074f79c8ec3be84a94d2fe6d257c1eaf4ed9b81d | tools/nibrs-fbi-service/src/test/java/org/search/nibrs/route/NibrsRouteApplicationTests.java | tools/nibrs-fbi-service/src/test/java/org/search/nibrs/route/NibrsRouteApplicationTests.java | /*
* Copyright 2016 SEARCH-The National Consortium for Justice Information and Statistics
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-... | /*
* Copyright 2016 SEARCH-The National Consortium for Justice Information and Statistics
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-... | Test the Autowired bean of context. | Test the Autowired bean of context. | Java | apache-2.0 | SEARCH-NCJIS/nibrs,SEARCH-NCJIS/nibrs,SEARCH-NCJIS/nibrs,SEARCH-NCJIS/nibrs,SEARCH-NCJIS/nibrs |
d1ea81d2e57764c8454241573aa71dfd29b1b4f2 | yuzhouwan-site/yuzhouwan-site-service/src/test/java/com/yuzhouwan/site/service/rpc/core/RPCTest.java | yuzhouwan-site/yuzhouwan-site-service/src/test/java/com/yuzhouwan/site/service/rpc/core/RPCTest.java | package com.yuzhouwan.site.service.rpc.core;
import com.yuzhouwan.site.api.rpc.service.IRPCService;
import com.yuzhouwan.site.api.rpc.service.Server;
import com.yuzhouwan.site.service.rpc.service.RPCServiceImpl;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* Copyright @ 2017 yuzhouwan.com... | package com.yuzhouwan.site.service.rpc.core;
import com.yuzhouwan.site.api.rpc.service.IRPCService;
import com.yuzhouwan.site.api.rpc.service.Server;
import com.yuzhouwan.site.service.rpc.service.RPCServiceImpl;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
/**
* Copyright @ 2017 yuzhouwan.com... | Add retry strategy for RPC server | Add retry strategy for RPC server
| Java | apache-2.0 | asdf2014/yuzhouwan,asdf2014/yuzhouwan,asdf2014/yuzhouwan,asdf2014/yuzhouwan,asdf2014/yuzhouwan,asdf2014/yuzhouwan,asdf2014/yuzhouwan |
c3a7a564456e63a1c26c0613b67fb27a12ddd433 | components/camel-aws/src/main/java/org/apache/camel/component/aws/common/AwsExchangeUtil.java | components/camel-aws/src/main/java/org/apache/camel/component/aws/common/AwsExchangeUtil.java | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | /**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... | Revert "Fix over writing previous addToResult calls" | Revert "Fix over writing previous addToResult calls"
This reverts commit 45c375c38e1a02347c17d172a6bd7dc68aebcdd4.
| Java | apache-2.0 | pkletsko/camel,jkorab/camel,driseley/camel,chirino/camel,jkorab/camel,tlehoux/camel,hqstevenson/camel,mgyongyosi/camel,bhaveshdt/camel,christophd/camel,lburgazzoli/camel,gautric/camel,NickCis/camel,anton-k11/camel,adessaigne/camel,Thopap/camel,gnodet/camel,tdiesler/camel,JYBESSON/camel,ssharma/camel,prashant2402/camel,... |
b5dd966b7e2ad25ca077ca12e276ff41380c667f | source/demyo-dao/src/main/java/org/demyo/dao/IModelRepo.java | source/demyo-dao/src/main/java/org/demyo/dao/IModelRepo.java | package org.demyo.dao;
import org.demyo.model.IModel;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.NoRepositoryBean;
/**
* Base interface for manipulation of models.
*
* @param <M> The model type (an {@link IModel}).
*/
@NoRepositoryBean
public interfa... | package org.demyo.dao;
import java.util.List;
import org.demyo.model.IModel;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Slice;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.NoRepositoryBean;
/**
* Base interface fo... | Return Slices rather than Pages. | Return Slices rather than Pages.
| Java | agpl-3.0 | The4thLaw/demyo,The4thLaw/demyo,The4thLaw/demyo,The4thLaw/demyo |
308e6ca41192444297dfaf5affab28f2d17610c8 | addOns/wappalyzer/src/test/java/org/zaproxy/zap/extension/wappalyzer/WappalyzerAppsJsonParseUnitTest.java | addOns/wappalyzer/src/test/java/org/zaproxy/zap/extension/wappalyzer/WappalyzerAppsJsonParseUnitTest.java | /*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2019 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... | /*
* Zed Attack Proxy (ZAP) and its related class files.
*
* ZAP is an HTTP/HTTPS proxy for assessing web application security.
*
* Copyright 2019 The ZAP Development Team
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* Yo... | Tweak UnitTest to collect all failing patterns | wappalyzer: Tweak UnitTest to collect all failing patterns
Signed-off-by: kingthorin <83ea41af2b636790c02743e48206546e1fa891e4@users.noreply.github.com> | Java | apache-2.0 | secdec/zap-extensions,psiinon/zap-extensions,thc202/zap-extensions,thc202/zap-extensions,zapbot/zap-extensions,secdec/zap-extensions,denniskniep/zap-extensions,denniskniep/zap-extensions,thc202/zap-extensions,secdec/zap-extensions,psiinon/zap-extensions,kingthorin/zap-extensions,psiinon/zap-extensions,zaproxy/zap-exten... |
285032cc20b5420ec627bd5622140bd790cd644c | validation-policy/src/main/java/eu/europa/esig/dss/validation/process/qmatrix/EIDASUtils.java | validation-policy/src/main/java/eu/europa/esig/dss/validation/process/qmatrix/EIDASUtils.java | package eu.europa.esig.dss.validation.process.qmatrix;
import java.util.Date;
import javax.xml.bind.DatatypeConverter;
public final class EIDASUtils {
private EIDASUtils() {
}
/**
* Start date of the eIDAS regulation
*/
private final static Date EIDAS_DATE = DatatypeConverter.parseDateTime("2016-07-01T00:0... | package eu.europa.esig.dss.validation.process.qmatrix;
import java.util.Date;
import javax.xml.bind.DatatypeConverter;
public final class EIDASUtils {
private EIDASUtils() {
}
/**
* Start date of the eIDAS regulation
*
* Regulation was signed in Brussels : 1st of July 00:00 Brussels = 30th of June 22:00 ... | Fix eIDAS date (Brussels date is used) | Fix eIDAS date (Brussels date is used)
| Java | lgpl-2.1 | zsoltii/dss,alisdev/dss,openlimit-signcubes/dss,esig/dss,openlimit-signcubes/dss,alisdev/dss,zsoltii/dss,esig/dss |
f8f3e901ad491137d71d7de12a6411c1374f099a | src/test/java/io/github/bonigarcia/wdm/test/FirefoxTest.java | src/test/java/io/github/bonigarcia/wdm/test/FirefoxTest.java | /*
* (C) Copyright 2015 Boni Garcia (http://bonigarcia.github.io/)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser General Public License
* (LGPL) version 2.1 which accompanies this distribution, and is available at
* http://www.gnu.org/l... | /*
* (C) Copyright 2015 Boni Garcia (http://bonigarcia.github.io/)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser General Public License
* (LGPL) version 2.1 which accompanies this distribution, and is available at
* http://www.gnu.org/l... | Enable FirefoxText (WebDriver 2.53.1 is working again with Firefox 47.0.1) | Enable FirefoxText (WebDriver 2.53.1 is working again with Firefox 47.0.1)
| Java | apache-2.0 | bonigarcia/webdrivermanager,bonigarcia/webdrivermanager,bonigarcia/webdrivermanager |
146ebbc4bd9259e3fea4e35bfe8a225804e55b85 | RealWorldAppInjector/src/main/java/it/cosenonjaviste/daggermock/realworldapp/MainActivityBindingModule.java | RealWorldAppInjector/src/main/java/it/cosenonjaviste/daggermock/realworldapp/MainActivityBindingModule.java | package it.cosenonjaviste.daggermock.realworldapp;
import android.app.Activity;
import dagger.Binds;
import dagger.Module;
import dagger.android.ActivityKey;
import dagger.android.AndroidInjector;
import dagger.multibindings.IntoMap;
import it.cosenonjaviste.daggermock.realworldapp.main.MainActivity;
import it.coseno... | package it.cosenonjaviste.daggermock.realworldapp;
import dagger.Binds;
import dagger.Module;
import dagger.android.AndroidInjector;
import dagger.multibindings.ClassKey;
import dagger.multibindings.IntoMap;
import it.cosenonjaviste.daggermock.realworldapp.main.MainActivity;
import it.cosenonjaviste.daggermock.realwor... | Fix compilation error in RealWorldAppInjector | Fix compilation error in RealWorldAppInjector
| Java | apache-2.0 | fabioCollini/DaggerMock,fabioCollini/DaggerMock |
49aa2ef845dc03fcbe710be214597737e23f8854 | services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/bridge/db/sqlite/query/GetOldestProjectName.java | services/git-bridge/src/main/java/uk/ac/ic/wlgitbridge/bridge/db/sqlite/query/GetOldestProjectName.java | package uk.ac.ic.wlgitbridge.bridge.db.sqlite.query;
import uk.ac.ic.wlgitbridge.bridge.db.sqlite.SQLQuery;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
* Created by winston on 23/08/2016.
*/
public class GetOldestProjectName implements SQLQuery<String> {
private static final String GET_OLDEST... | package uk.ac.ic.wlgitbridge.bridge.db.sqlite.query;
import uk.ac.ic.wlgitbridge.bridge.db.sqlite.SQLQuery;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
* Created by winston on 23/08/2016.
*/
public class GetOldestProjectName implements SQLQuery<String> {
private static final String GET_OLDEST... | Fix query for oldest (un-swapped) project | Fix query for oldest (un-swapped) project
| Java | agpl-3.0 | sharelatex/sharelatex |
9a35544c9c0942cac9b809e4f0d9242713c79952 | server/src/test/java/com/orientechnologies/orient/test/server/network/http/HttpServerTest.java | server/src/test/java/com/orientechnologies/orient/test/server/network/http/HttpServerTest.java | package com.orientechnologies.orient.test.server.network.http;
import com.orientechnologies.orient.core.record.impl.ODocument;
import org.apache.http.HttpResponse;
import org.junit.Assert;
import org.junit.Test;
public class HttpServerTest extends BaseHttpDatabaseTest {
@Test
public void testGetServer() throws Ex... | package com.orientechnologies.orient.test.server.network.http;
import com.orientechnologies.orient.core.record.impl.ODocument;
import org.apache.http.HttpResponse;
import org.junit.Assert;
import org.junit.Test;
import java.io.IOException;
public class HttpServerTest extends BaseHttpDatabaseTest {
@Test
public v... | Add test cases for HTTP server-level commands | Add test cases for HTTP server-level commands
| Java | apache-2.0 | orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb |
07ff0e0b366e8bfd48bdb183c914caabbb9efd3e | org.eclipse.dawnsci.analysis.api/src/org/eclipse/dawnsci/analysis/api/EventTracker.java | org.eclipse.dawnsci.analysis.api/src/org/eclipse/dawnsci/analysis/api/EventTracker.java | /*-
* Copyright 2015 Diamond Light Source Ltd.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.eclipse... | /*-
* Copyright 2015 Diamond Light Source Ltd.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.eclipse... | Add new tracking methods to API | Add new tracking methods to API | Java | epl-1.0 | xen-0/dawnsci,jamesmudd/dawnsci,colinpalmer/dawnsci,belkassaby/dawnsci,jonahkichwacoders/dawnsci,Anthchirp/dawnsci,jonahkichwacoders/dawnsci,willrogers/dawnsci,willrogers/dawnsci,jamesmudd/dawnsci,DawnScience/dawnsci,Anthchirp/dawnsci,colinpalmer/dawnsci,eclipse/dawnsci,PeterC-DLS/org.eclipse.dataset,PeterC-DLS/org.ecl... |
cdf7a6eae39e30ccd15a97f96cd852f35b021c44 | config-options/cdi-injection/src/main/java/org/wildfly/swarm/examples/jaxrs/cdi/Controller.java | config-options/cdi-injection/src/main/java/org/wildfly/swarm/examples/jaxrs/cdi/Controller.java | package org.wildfly.swarm.examples.jaxrs.cdi;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import org.wildfly.swarm.cdi.ConfigValue;
/**
* @author Heiko Braun
*/
@Appli... | package org.wildfly.swarm.examples.jaxrs.cdi;
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import org.wildfly.swarm.spi.runtime.annotations.ConfigurationValue;
/**
* @au... | Modify example as @ConfigurationValue package is now different | Modify example as @ConfigurationValue package is now different
| Java | apache-2.0 | mstahv/wildfly-swarm-examples,emag/wildfly-swarm-examples,wildfly-swarm/wildfly-swarm-examples,wildfly-swarm/wildfly-swarm-examples,emag/wildfly-swarm-examples,emag/wildfly-swarm-examples,mstahv/wildfly-swarm-examples,emag/wildfly-swarm-examples,wildfly-swarm/wildfly-swarm-examples,emag/wildfly-swarm-examples,wildfly-s... |
be71c1678d4e68a9073ae2673cc5b1faf4cb614e | struts2-jquery-plugin/src/test/java/com/jgeppert/struts2/jquery/components/AbstractComponentBaseTest.java | struts2-jquery-plugin/src/test/java/com/jgeppert/struts2/jquery/components/AbstractComponentBaseTest.java | package com.jgeppert.struts2.jquery.components;
import org.apache.struts2.conversion.StrutsTypeConverterHolder;
import org.junit.jupiter.api.BeforeEach;
import com.opensymphony.xwork2.DefaultTextProvider;
import com.opensymphony.xwork2.conversion.impl.XWorkConverter;
import com.opensymphony.xwork2.ognl.OgnlUtil;
impo... | package com.jgeppert.struts2.jquery.components;
import com.opensymphony.xwork2.DefaultTextProvider;
import com.opensymphony.xwork2.conversion.impl.XWorkConverter;
import com.opensymphony.xwork2.ognl.DefaultOgnlBeanInfoCacheFactory;
import com.opensymphony.xwork2.ognl.DefaultOgnlExpressionCacheFactory;
import com.opens... | Set default cache factories for ognl utils in integration tests | Set default cache factories for ognl utils in integration tests
| Java | apache-2.0 | sdutry/struts2-jquery,struts-community-plugins/struts2-jquery,sdutry/struts2-jquery,struts-community-plugins/struts2-jquery,struts-community-plugins/struts2-jquery,sdutry/struts2-jquery |
bfa56fe46570dacf436eafb3f4cfe573107c0723 | uportal-war/src/main/java/org/apereo/portal/portlets/backgroundpreference/BackgroundSetSelectionStrategy.java | uportal-war/src/main/java/org/apereo/portal/portlets/backgroundpreference/BackgroundSetSelectionStrategy.java | /**
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in ... | /**
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in ... | Add since annotation to getImageCaptions | UP-4802: Add since annotation to getImageCaptions
| Java | apache-2.0 | bjagg/uPortal,groybal/uPortal,jhelmer-unicon/uPortal,phillips1021/uPortal,bjagg/uPortal,jhelmer-unicon/uPortal,stalele/uPortal,GIP-RECIA/esup-uportal,GIP-RECIA/esup-uportal,stalele/uPortal,GIP-RECIA/esco-portail,Jasig/uPortal,stalele/uPortal,groybal/uPortal,mgillian/uPortal,mgillian/uPortal,ChristianMurphy/uPortal,phil... |
b4a242fcd1c72eb862da223bc02de0dc4191aa0d | protonj2-clients/amqperative-client/src/main/java/org/messaginghub/amqperative/impl/sasl/AnonymousMechanism.java | protonj2-clients/amqperative-client/src/main/java/org/messaginghub/amqperative/impl/sasl/AnonymousMechanism.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Add back the empty initial response for ANONYMOUS | Add back the empty initial response for ANONYMOUS | Java | apache-2.0 | tabish121/proton4j |
61fedf3a76c4aff20ce73cd53b142beb3ba33b03 | src/main/java/com/mitchellbosecke/pebble/boot/autoconfigure/PebbleTemplateAvailabilityProvider.java | src/main/java/com/mitchellbosecke/pebble/boot/autoconfigure/PebbleTemplateAvailabilityProvider.java | package com.mitchellbosecke.pebble.boot.autoconfigure;
import org.springframework.boot.autoconfigure.template.TemplateAvailabilityProvider;
import org.springframework.boot.bind.RelaxedPropertyResolver;
import org.springframework.core.env.Environment;
import org.springframework.core.env.PropertyResolver;
import org.spr... | package com.mitchellbosecke.pebble.boot.autoconfigure;
import org.springframework.boot.autoconfigure.template.TemplateAvailabilityProvider;
import org.springframework.boot.bind.RelaxedPropertyResolver;
import org.springframework.core.env.Environment;
import org.springframework.core.env.PropertyResolver;
import org.spr... | Fix issue with loading error templates for specific error codes. | Fix issue with loading error templates for specific error codes.
| Java | bsd-3-clause | hectorlf/pebble-spring-boot-starter |
c84289948b9d60f3eead81965d25a6d8c2a275d3 | lightning-gradle-plugin/src/integrationTest/java/uk/co/automatictester/lightning/gradle/plugin/GradleCompatibilityTest.java | lightning-gradle-plugin/src/integrationTest/java/uk/co/automatictester/lightning/gradle/plugin/GradleCompatibilityTest.java | package uk.co.automatictester.lightning.gradle.plugin;
import org.gradle.testkit.runner.BuildResult;
import org.gradle.testkit.runner.GradleRunner;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import java.io.File;
import static org.gradle.internal.impldep.org.hamcrest.MatcherAssert... | package uk.co.automatictester.lightning.gradle.plugin;
import org.gradle.testkit.runner.BuildResult;
import org.gradle.testkit.runner.GradleRunner;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;
import java.io.File;
import static org.gradle.internal.impldep.org.hamcrest.MatcherAssert... | Drop Gradle 4.0 compatibility test - we are using Gradle 4.8 wrapper anyway | Drop Gradle 4.0 compatibility test - we are using Gradle 4.8 wrapper anyway
| Java | mit | automatictester/lightning,automatictester/lightning |
21f43e9e8f45ad5409a66d5841685c1624abf7e1 | co.nfigured.example/configured-example-api-v1/src/main/java/co/nfigured/example/helloworld/v1/CountingWorld.java | co.nfigured.example/configured-example-api-v1/src/main/java/co/nfigured/example/helloworld/v1/CountingWorld.java | /**
* Copyright (c) 2011 RedEngine Ltd, http://www.RedEngine.co.nz. All rights reserved.
*
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License Version 2.0.
* You may obtain a copy of the Apache License Version 2.0 at h... | /**
* Copyright (c) 2011 RedEngine Ltd, http://www.RedEngine.co.nz. All rights reserved.
*
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License Version 2.0.
* You may obtain a copy of the Apache License Version 2.0 at h... | Include a stop and start to ensure client and server are really talking to each other | Include a stop and start to ensure client and server are really talking to each other | Java | apache-2.0 | walterDurin/stickycode,tectronics/stickycode,walterDurin/stickycode,walterDurin/stickycode,tectronics/stickycode,tectronics/stickycode |
dc5c0e0ab2c3a5e86cecb61c60e1fc3f2bc9fd27 | src/main/java/ee/tuleva/onboarding/auth/session/GenericSessionStore.java | src/main/java/ee/tuleva/onboarding/auth/session/GenericSessionStore.java | package ee.tuleva.onboarding.auth.session;
import java.io.Serializable;
import java.util.Optional;
import javax.servlet.http.HttpSession;
import org.springframework.stereotype.Component;
import org.springframework.web.context.request.RequestContextHolder;
import org.springframework.web.context.request.ServletRequestAt... | package ee.tuleva.onboarding.auth.session;
import java.io.Serial;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.Optional;
import org.springframework.context.annotation.Scope;
import org.springframework.context.annotation.ScopedProxyMode;
import org.springframework.stereo... | Replace manual session handling with spring session scoped bean | Replace manual session handling with spring session scoped bean
| Java | mit | TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service |
743b130c89f9b3717e72f06d536ad9246888db44 | modules/locationtextfield/src/main/java/org/vaadin/addons/locationtextfield/LocationProvider.java | modules/locationtextfield/src/main/java/org/vaadin/addons/locationtextfield/LocationProvider.java | /*
*
* * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* * this work for additional information regarding copyright ownership.
* * The ASF licenses this file to You under the Apache License, Version 2.0
* * (the "L... | /*
*
* * Licensed to the Apache Software Foundation (ASF) under one or more
* * contributor license agreements. See the NOTICE file distributed with
* * this work for additional information regarding copyright ownership.
* * The ASF licenses this file to You under the Apache License, Version 2.0
* * (the "L... | Allow for specifying a subclass of GeocodedLocation | Allow for specifying a subclass of GeocodedLocation
| Java | apache-2.0 | markathomas/LocationTextField |
70afdd20f35286f2e6d63d573bd1b4675c90620e | codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlRequestLauncherConstants.java | codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlRequestLauncherConstants.java | package com.codenvy.ide.ext.datasource.client.sqllauncher;
import com.google.gwt.i18n.client.Messages;
public interface SqlRequestLauncherConstants extends Messages {
@DefaultMessage("Open SQL editor")
String menuEntryOpenSqlEditor();
@DefaultMessage("SQL editor")
String sqlEditorWindowTitle();
... | package com.codenvy.ide.ext.datasource.client.sqllauncher;
import com.google.gwt.i18n.client.LocalizableResource.DefaultLocale;
import com.google.gwt.i18n.client.Messages;
@DefaultLocale("en")
public interface SqlRequestLauncherConstants extends Messages {
@DefaultMessage("Open SQL editor")
String menuEntryO... | Fix plural form for number of rows message | Fix plural form for number of rows message
| Java | epl-1.0 | codenvy/plugin-datasource,codenvy/plugin-datasource |
b3f1fe26e587a2e8c6b4412c580d8e47d706d219 | bisectPlugin/bisectPlugin-server/src/main/java/org/tkirill/teamcity/bisectPlugin/BisectController.java | bisectPlugin/bisectPlugin-server/src/main/java/org/tkirill/teamcity/bisectPlugin/BisectController.java | package org.tkirill.teamcity.bisectPlugin;
import jetbrains.buildServer.controllers.BaseFormXmlController;
import jetbrains.buildServer.serverSide.SBuildServer;
import jetbrains.buildServer.web.openapi.WebControllerManager;
import org.jdom.Element;
import org.springframework.web.servlet.ModelAndView;
import javax.ser... | package org.tkirill.teamcity.bisectPlugin;
import jetbrains.buildServer.controllers.BaseFormXmlController;
import jetbrains.buildServer.serverSide.CustomDataStorage;
import jetbrains.buildServer.serverSide.SBuild;
import jetbrains.buildServer.serverSide.SBuildServer;
import jetbrains.buildServer.web.openapi.WebControl... | Store the flag designating that bisect is running. | Store the flag designating that bisect is running.
| Java | mit | tkirill/tc-bisect,tkirill/tc-bisect |
89bb76eccf3150c5067ffc2a07e8daff5517dce7 | VideoLocker/src/main/java/org/edx/mobile/module/db/impl/DbOperationSingleValueByRawQuery.java | VideoLocker/src/main/java/org/edx/mobile/module/db/impl/DbOperationSingleValueByRawQuery.java | package org.edx.mobile.module.db.impl;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
class DbOperationSingleValueByRawQuery<T> extends DbOperationBase<T> {
private String sqlQuery;
private String[] selectionArgs;
private Class<T> columnType;
... | package org.edx.mobile.module.db.impl;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
class DbOperationSingleValueByRawQuery<T> extends DbOperationBase<T> {
private String sqlQuery;
private String[] selectionArgs;
private Class<T> columnType;
... | Fix cursor not closed in database single value query | Fix cursor not closed in database single value query
The cursor was closed too late in DbOperationSingleValueByRawQuery,
after the value was returned. The only case where it was closed was when
there was an unsupported column type specified. This commit fixes this
issue.
| Java | apache-2.0 | adoosii/edx-app-android,knehez/edx-app-android,edx/edx-app-android,Rawneed/edx-app-android,Rawneed/edx-app-android,edx/edx-app-android,edx/edx-app-android,Rawneed/edx-app-android,knehez/edx-app-android,ariestiyansyah/indonesiax-android,adoosii/edx-app-android,edx/edx-app-android,ariestiyansyah/indonesiax-android,ariest... |
3691c8ff3073b97e83ba3b06fdc88890507becd9 | com.github.thomasfischl.aihome.controller/src/main/java/com/github/thomasfischl/aihome/controller/SensorDataProcessorService.java | com.github.thomasfischl.aihome.controller/src/main/java/com/github/thomasfischl/aihome/controller/SensorDataProcessorService.java | package com.github.thomasfischl.aihome.controller;
import java.io.File;
import com.github.thomasfischl.aihome.communication.sensor.SensorDataGroup;
import com.github.thomasfischl.aihome.controller.rule.RuleEngine;
public class SensorDataProcessorService extends AbstractPipelineService {
private RuleEngin... | package com.github.thomasfischl.aihome.controller;
import java.io.File;
import com.github.thomasfischl.aihome.communication.sensor.SensorDataGroup;
import com.github.thomasfischl.aihome.controller.rule.RuleEngine;
public class SensorDataProcessorService extends AbstractPipelineService {
private RuleEngin... | Use other location for rule.config file | Use other location for rule.config file | Java | apache-2.0 | thomasfischl/ai-home,thomasfischl/ai-home |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.