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 |
|---|---|---|---|---|---|---|---|---|---|
3510978fa5a61698ad439dd2a833fd74d6abd85e | src/main/java/org/apache/hadoop/hive/ql/io/parquet/timestamp/NanoTimeUtils.java | src/main/java/org/apache/hadoop/hive/ql/io/parquet/timestamp/NanoTimeUtils.java | package org.apache.hadoop.hive.ql.io.parquet.timestamp;
import org.apache.hadoop.hive.common.type.Timestamp;
import static java.lang.Math.toIntExact;
import static java.util.concurrent.TimeUnit.SECONDS;
public final class NanoTimeUtils
{
private NanoTimeUtils() {}
private static final int JULIAN_EPOCH_OFFSE... | package org.apache.hadoop.hive.ql.io.parquet.timestamp;
import org.apache.hadoop.hive.common.type.Timestamp;
import static java.lang.Math.floorDiv;
import static java.lang.Math.floorMod;
import static java.lang.Math.toIntExact;
import static java.util.concurrent.TimeUnit.SECONDS;
public final class NanoTimeUtils
{
... | Fix Parquet encoding for timestamps before epoch | Fix Parquet encoding for timestamps before epoch
| Java | apache-2.0 | electrum/presto-hive-apache |
dea28eda9c2dd59174ab143ce5b6ae4c0f83f619 | src/main/java/org/realityforge/replicant/shared/transport/ReplicantContext.java | src/main/java/org/realityforge/replicant/shared/transport/ReplicantContext.java | package org.realityforge.replicant.shared.transport;
public class ReplicantContext
{
/**
* Key used to retrieve an opaque identifier for the session from the ReplicantContextHolder.
* Used to pass data from the servlet to the EJB.
*/
public static final String SESSION_ID_KEY = "SessionID";
/**
* Key ... | package org.realityforge.replicant.shared.transport;
public final class ReplicantContext
{
/**
* Key used to retrieve an opaque identifier for the session from the ReplicantContextHolder.
* Used to pass data from the servlet to the EJB.
*/
public static final String SESSION_ID_KEY = "SessionID";
/**
... | Make sure you can not instantiate class | Make sure you can not instantiate class
| Java | apache-2.0 | realityforge/replicant,realityforge/replicant |
1184705b3ba2d3e704a79462491089464e0ca0f4 | OpERP/src/main/java/devopsdistilled/operp/server/data/service/EntityService.java | OpERP/src/main/java/devopsdistilled/operp/server/data/service/EntityService.java | package devopsdistilled.operp.server.data.service;
import java.io.Serializable;
import org.springframework.data.jpa.repository.JpaRepository;
public interface EntityService<T, ID extends Serializable> extends
JpaRepository<T, ID>, Serializable {
}
| package devopsdistilled.operp.server.data.service;
import java.io.Serializable;
import org.springframework.data.jpa.repository.JpaRepository;
import devopsdistilled.operp.server.data.entity.Entiti;
public interface EntityService<E extends Entiti, ID extends Serializable> extends
JpaRepository<E, ID>, Serializable... | Change argument type to "E extends Entiti" instead of "T" | Change argument type to "E extends Entiti" instead of "T"
OPEN - task 32: Add "Create Item" functionalities
http://github.com/DevOpsDistilled/OpERP/issues/issue/32 | Java | mit | DevOpsDistilled/OpERP,njmube/OpERP |
44163f95473ca9741f24b8a387bb461e8a9a982d | log/src/main/java/com/axway/ats/log/autodb/events/EndAfterClassEvent.java | log/src/main/java/com/axway/ats/log/autodb/events/EndAfterClassEvent.java | /*
* Copyright 2017 Axway Software
*
* 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 t... | /*
* Copyright 2017 Axway Software
*
* 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 t... | Add comment for event state | Add comment for event state | Java | apache-2.0 | Axway/ats-framework,Axway/ats-framework,Axway/ats-framework |
804819bced4f8046a638f1081cf75ee09b0b64bb | core/src/main/java/org/bouncycastle/util/test/UncloseableOutputStream.java | core/src/main/java/org/bouncycastle/util/test/UncloseableOutputStream.java | package org.bouncycastle.util.test;
import java.io.FilterOutputStream;
import java.io.IOException;
import java.io.OutputStream;
public class UncloseableOutputStream extends FilterOutputStream
{
public UncloseableOutputStream(OutputStream s)
{
super(s);
}
public void close()
{
thro... | package org.bouncycastle.util.test;
import java.io.FilterOutputStream;
import java.io.IOException;
import java.io.OutputStream;
/**
* This is a testing utility class to check the property that an {@link OutputStream} is never
* closed in some particular context - typically when wrapped by another {@link OutputStrea... | Add javadoc to make clear this is for testing only | Add javadoc to make clear this is for testing only | Java | mit | bcgit/bc-java,bcgit/bc-java,bcgit/bc-java |
2cb9d38da192fabd49af66fa1a92b5a9b8075457 | src/main/java/me/pagar/BankAccountType.java | src/main/java/me/pagar/BankAccountType.java | package me.pagar;
import com.google.gson.annotations.SerializedName;
public enum BankAccountType {
@SerializedName("conta_corrente")
CONTA_CORRENTE,
@SerializedName("conta_poupanca")
CONTA_POUPANCA,
@SerializedName("conta_corrente_conjunta")
CONTA_CORRENTE_CONJUNTA,
@SerializedName("conta_... | package me.pagar;
import com.google.gson.annotations.SerializedName;
public enum BankAccountType {
@SerializedName("conta_corrente")
CORRENTE,
@SerializedName("conta_poupanca")
POUPANCA,
@SerializedName("conta_corrente_conjunta")
CORRENTE_CONJUNTA,
@SerializedName("conta_poupanca_conjunta"... | Remove CONTA_ from BankAccountTyp enum values as requested | Remove CONTA_ from BankAccountTyp enum values as requested
| Java | unlicense | pagarme/pagarme-java,pagarme/pagarme-java |
e1b796a9a5e6bffe47f63c9c7b781e32187f378d | subprojects/platform-jvm/src/main/java/org/gradle/jvm/toolchain/package-info.java | subprojects/platform-jvm/src/main/java/org/gradle/jvm/toolchain/package-info.java | /*
* Copyright 2014 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 applica... | /*
* Copyright 2014 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 applica... | Remove Incubating annotation from toolchain package | Remove Incubating annotation from toolchain package
Fixes #15812
| Java | apache-2.0 | gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpira... |
77d5514f4d1768f0c4fc1341e672a84545ce9dac | src/main/java/com/github/blindpirate/gogradle/task/AbstractGolangTask.java | src/main/java/com/github/blindpirate/gogradle/task/AbstractGolangTask.java | /*
* Copyright 2016-2017 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 ... | /*
* Copyright 2016-2017 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 ... | Set group for go tasks | Set group for go tasks
Signed-off-by: Bo Zhang <384d347ab7eb84d725fe9c738f01a77b523e2fe5@gmail.com>
| Java | apache-2.0 | gogradle/gogradle,blindpirate/gogradle,gogradle/gogradle,blindpirate/gogradle,gogradle/gogradle,gogradle/gogradle |
e0ff9ec98c4174b08623c5589cb9e5c407819cfb | src/test/java/com/adaptionsoft/games/uglytrivia/GameCorrectAnswerTest.java | src/test/java/com/adaptionsoft/games/uglytrivia/GameCorrectAnswerTest.java | package com.adaptionsoft.games.uglytrivia;
import org.junit.Test;
import static org.junit.Assert.fail;
public class GameCorrectAnswerTest {
@Test
public void placeMeUnderTest(){
fail("Place Game.correctAnswer under test");
}
}
| package com.adaptionsoft.games.uglytrivia;
import org.junit.Ignore;
import org.junit.Test;
import static org.mockito.Mockito.*;
public class GameCorrectAnswerTest {
@Test
public void correctAnswerShouldGetACoin() {
Player player = mock(Player.class);
Game game = createGameWithSinglePlayer(pl... | Test that correct answer gets a coin | Test that correct answer gets a coin
| Java | bsd-3-clause | codecop/ugly-trivia-kata |
8ee4b5f961a7ee6710a994ca546a35b2cd811a73 | utils/src/main/java/com/janosgyerik/utils/objectstore/api/ObjectStore.java | utils/src/main/java/com/janosgyerik/utils/objectstore/api/ObjectStore.java | package com.janosgyerik.utils.objectstore.api;
import java.io.IOException;
import java.util.Optional;
/**
* Store key-value pairs in some backend.
*
* @param <K> type of keys
* @param <V> type of values
*/
public interface ObjectStore<K, V> {
void write(K key, V value) throws StoreWriteException;
Optio... | package com.janosgyerik.utils.objectstore.api;
import java.util.Optional;
/**
* Store key-value pairs in some backend.
*
* @param <K> type of keys
* @param <V> type of values
*/
public interface ObjectStore<K, V> {
void write(K key, V value);
Optional<V> read(K key);
}
| Remove unnecessary throws and imports | Remove unnecessary throws and imports
| Java | mit | janosgyerik/java-tools |
686151a7f9eb8c430edb8a01d8f75d915d8460b2 | tests/src/cgeo/geocaching/SettingsTest.java | tests/src/cgeo/geocaching/SettingsTest.java | package cgeo.geocaching;
import static org.assertj.core.api.Assertions.assertThat;
import cgeo.geocaching.connector.gc.GCConstants;
import cgeo.geocaching.maps.mapsforge.MapsforgeMapProvider;
import cgeo.geocaching.settings.Settings;
import android.annotation.TargetApi;
import android.test.ActivityInstrumentationTes... | package cgeo.geocaching;
import static org.assertj.core.api.Assertions.assertThat;
import cgeo.geocaching.connector.gc.GCConstants;
import cgeo.geocaching.maps.mapsforge.MapsforgeMapProvider;
import cgeo.geocaching.settings.Settings;
import android.annotation.TargetApi;
import android.test.ActivityInstrumentationTes... | Remove useless assertion in test | Remove useless assertion in test
| Java | apache-2.0 | Bananeweizen/cgeo,madankb/cgeo,yummy222/cgeo,superspindel/cgeo,kumy/cgeo,rsudev/c-geo-opensource,matej116/cgeo,KublaikhanGeek/cgeo,SammysHP/cgeo,madankb/cgeo,matej116/cgeo,KublaikhanGeek/cgeo,tobiasge/cgeo,Bananeweizen/cgeo,madankb/cgeo,auricgoldfinger/cgeo,S-Bartfast/cgeo,SammysHP/cgeo,cgeo/cgeo,lewurm/cgeo,marco-dev/... |
26efc82f66abaa87bcb21a2d7cd56b6620998746 | src/main/java/de/retest/recheck/configuration/ProjectConfigurationUtil.java | src/main/java/de/retest/recheck/configuration/ProjectConfigurationUtil.java | package de.retest.recheck.configuration;
import static de.retest.recheck.RecheckProperties.RETEST_FOLDER_NAME;
import java.nio.file.Path;
import java.util.Optional;
public class ProjectConfigurationUtil {
private ProjectConfigurationUtil() {}
public static Optional<Path> findProjectConfigurationFolder() {
retu... | package de.retest.recheck.configuration;
import static de.retest.recheck.RecheckProperties.RETEST_FOLDER_NAME;
import java.nio.file.Path;
import java.util.Optional;
public class ProjectConfigurationUtil {
private ProjectConfigurationUtil() {}
public static Optional<Path> findProjectConfigurationFolder() {
retu... | Add method to return optional path from absolute path of suite ignore | Add method to return optional path from absolute path of suite ignore
| Java | agpl-3.0 | retest/recheck,retest/recheck |
74a77e605a00212b40499b7669705ee6eaad2e1d | geojson-core/src/main/java/me/itszooti/geojson/GeoPolygon.java | geojson-core/src/main/java/me/itszooti/geojson/GeoPolygon.java | package me.itszooti.geojson;
import java.util.ArrayList;
import java.util.List;
public class GeoPolygon extends GeoGeometry {
private List<GeoPosition> exterior;
private List<List<GeoPosition>> interiors;
public GeoPolygon(List<GeoPosition> exterior) {
this.exterior = new ArrayList<GeoPosition>(exterior);
t... | package me.itszooti.geojson;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
public class GeoPolygon extends GeoGeometry {
private List<GeoPosition> exterior;
private List<List<GeoPosition>> interiors;
public GeoPolygon(List<GeoPosition> exterior) {
this.exterior = new ArrayList<Ge... | Add array constructor to polygon | Add array constructor to polygon
| Java | mit | itszootime/geojson-java |
816c6239c4bab98562198b2dd4f87d1b2f7f7df6 | Atarashii/src/net/somethingdreadful/MAL/LogoutConfirmationDialogFragment.java | Atarashii/src/net/somethingdreadful/MAL/LogoutConfirmationDialogFragment.java | package net.somethingdreadful.MAL;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import android.view.ContextThemeWrapper;
import com.actionbarsherlock.app.SherlockDialo... | package net.somethingdreadful.MAL;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.app.Dialog;
import android.content.DialogInterface;
import android.os.Bundle;
import android.view.ContextThemeWrapper;
import com.actionbarsherlock.app.SherlockDialogFragment;
public class Logout... | Fix Logout Dialog Recreating Home | Fix Logout Dialog Recreating Home
The logout dialog was launching a new instance of the home
activity every time it was dismissed by touching outside the
dialog instead of through the proper Cancel button. This
commit is just a quick fix to fix that.
| Java | bsd-2-clause | ratan12/Atarashii,AnimeNeko/Atarashii,AnimeNeko/Atarashii,ratan12/Atarashii |
f5fe811381ca83fd7f91aa8de9ff0b6dc98a4b3c | src/main/java/org/stevewinfield/suja/idk/dedicated/commands/defaults/StopCommand.java | src/main/java/org/stevewinfield/suja/idk/dedicated/commands/defaults/StopCommand.java | package org.stevewinfield.suja.idk.dedicated.commands.defaults;
import org.apache.log4j.Logger;
import org.stevewinfield.suja.idk.Bootloader;
import org.stevewinfield.suja.idk.dedicated.commands.IDedicatedServerCommand;
public class StopCommand implements IDedicatedServerCommand {
@Override
public void execu... | package org.stevewinfield.suja.idk.dedicated.commands.defaults;
import org.apache.log4j.Logger;
import org.stevewinfield.suja.idk.Bootloader;
import org.stevewinfield.suja.idk.dedicated.commands.IDedicatedServerCommand;
import org.stevewinfield.suja.idk.game.rooms.RoomInstance;
import org.stevewinfield.suja.idk.networ... | Save users and rooms before exiting the Server. | Save users and rooms before exiting the Server.
| Java | apache-2.0 | SteveWinfield/IDK-Server-Java,SteveWinfield/IDK-Server-Java,SteveWinfield/IDK-Server-Java |
058021756d88d5b5f68070e2307e734fda86938d | utils/src/main/java/fr/unice/polytech/al/trafficlight/utils/enums/TrafficLightId.java | utils/src/main/java/fr/unice/polytech/al/trafficlight/utils/enums/TrafficLightId.java | package fr.unice.polytech.al.trafficlight.utils.enums;
/**
* Created by nathael on 27/10/16.
*/
public class TrafficLightId {
private final String id;
public TrafficLightId(String id) {
this.id = id;
}
@Override
public boolean equals(Object obj) {
if(obj instanceof String)
... | package fr.unice.polytech.al.trafficlight.utils.enums;
/**
* Created by nathael on 27/10/16.
*/
public class TrafficLightId {
private final String id;
public TrafficLightId(String id) {
this.id = id;
}
public String getId() {
return id;
}
@Override
public boolean equals... | Add a getter to the id | Add a getter to the id
| Java | mit | Lydwen/CentralTrafficLightManagement-SmartCity,Lydwen/CentralTrafficLightManagement-SmartCity |
28c9307a1fd11487c5487be7184fd73517642d3c | annotations/src/main/java/io/sundr/builder/internal/BuildableRepository.java | annotations/src/main/java/io/sundr/builder/internal/BuildableRepository.java | /*
* Copyright 2015 The original 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 app... | /*
* Copyright 2015 The original 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 app... | Fix isBuildable() in buildable repository. | Fix isBuildable() in buildable repository.
| Java | apache-2.0 | rhuss/sundrio,iocanel/sundrio,sundrio/sundrio,sundrio/sundrio,oscerd/sundrio |
05802397941dc2966b145a9a1d399889c4e660b8 | core/src/main/java/org/jeecqrs/commands/registry/AutoDiscoverCommandHandlerRegistry.java | core/src/main/java/org/jeecqrs/commands/registry/AutoDiscoverCommandHandlerRegistry.java | package org.jeecqrs.commands.registry;
import java.util.Iterator;
import java.util.logging.Logger;
import javax.annotation.PostConstruct;
import javax.enterprise.inject.Instance;
import javax.inject.Inject;
import org.jeecqrs.commands.CommandHandler;
/**
*
*/
public class AutoDiscoverCommandHandlerRegistry<C> exten... | package org.jeecqrs.commands.registry;
import java.util.Iterator;
import java.util.logging.Logger;
import javax.annotation.PostConstruct;
import javax.enterprise.inject.Instance;
import javax.inject.Inject;
import org.jeecqrs.commands.CommandHandler;
/**
*
*/
public class AutoDiscoverCommandHandlerRegistry<C> exten... | Add selection option for instances of CommandHandlers | Add selection option for instances of CommandHandlers | Java | mit | JEEventStore/JEECQRS |
127f64dc8a79c163342b554c0872b37ae120de91 | quickgo-solr-indexing/src/main/java/uk/ac/ebi/quickgo/indexer/QuickGOIndexerProcess.java | quickgo-solr-indexing/src/main/java/uk/ac/ebi/quickgo/indexer/QuickGOIndexerProcess.java | package uk.ac.ebi.quickgo.indexer;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
/**
* Process to index all the information in Solr
*
* @a... | package uk.ac.ebi.quickgo.indexer;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
/**... | Move from using Log4j to Simple Logging Facade For Java (SLF4J) | Move from using Log4j to Simple Logging Facade For Java (SLF4J) | Java | apache-2.0 | ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE |
27aac1467258c035b4c2de16dfbbb72c5b9443cd | client-gwt/src/main/java/org/realityforge/replicant/client/gwt/ReplicantDaggerModule.java | client-gwt/src/main/java/org/realityforge/replicant/client/gwt/ReplicantDaggerModule.java | package org.realityforge.replicant.client.gwt;
import dagger.Module;
import dagger.Provides;
import javax.annotation.Nonnull;
import javax.inject.Singleton;
import org.realityforge.replicant.client.EntitySubscriptionManager;
import org.realityforge.replicant.client.EntitySubscriptionManagerImpl;
import org.realityforg... | package org.realityforge.replicant.client.gwt;
import dagger.Module;
import dagger.Provides;
import javax.annotation.Nonnull;
import javax.inject.Singleton;
import org.realityforge.replicant.client.EntitySubscriptionManager;
import org.realityforge.replicant.client.EntitySubscriptionManagerImpl;
import org.realityforg... | Update docs to be less incorrect | Update docs to be less incorrect
| Java | apache-2.0 | realityforge/replicant,realityforge/replicant |
7c0a3f263ba92defb1a111032f1edf2b771a5bd4 | src/se/chalmers/watchme/notifications/NotificationService.java | src/se/chalmers/watchme/notifications/NotificationService.java | /**
* NotificationService.java
*
* @author Johan
*/
package se.chalmers.watchme.notifications;
import java.util.Calendar;
import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
public class NotificationService extends Service {
private final IBinder binder... | /**
* NotificationService.java
*
* @author Johan
*/
package se.chalmers.watchme.notifications;
import java.util.Calendar;
import android.app.Service;
import android.content.Intent;
import android.os.Binder;
import android.os.IBinder;
import android.util.Log;
public class NotificationService extends Service {
pri... | Fix incorrect name of start command callback | Fix incorrect name of start command callback
| Java | mit | johanbrook/watchme |
f05f617e164a06a7fa89dc1360b63626bb82669e | wdtk-wikibaseapi/src/main/java/org/wikidata/wdtk/wikibaseapi/package-info.java | wdtk-wikibaseapi/src/main/java/org/wikidata/wdtk/wikibaseapi/package-info.java | /**
* Components for accessing the Web API of a Wikibase website, such as wikidata.org.
*
* @author Markus Kroetzsch
*
*/
package org.wikidata.wdtk.wikibaseapi; | /**
* Components for accessing the Web API of a Wikibase website, such as wikidata.org.
*
* @author Markus Kroetzsch
*
*/
package org.wikidata.wdtk.wikibaseapi;
/*
* #%L
* Wikidata Toolkit Wikibase API
* %%
* Copyright (C) 2014 Wikidata Toolkit Developers
* %%
* Licensed under the Apache License, Versio... | Add license information to file. | Add license information to file. | Java | apache-2.0 | monkey2000/Wikidata-Toolkit,noa/Wikidata-Toolkit,dswarm/Wikidata-Toolkit,dswarm/Wikidata-Toolkit,noa/Wikidata-Toolkit,notconfusing/Wikidata-Toolkit,noa/Wikidata-Toolkit,notconfusing/Wikidata-Toolkit,Wikidata/Wikidata-Toolkit,zazi/Wikidata-Toolkit,Wikidata/Wikidata-Toolkit,noa/Wikidata-Toolkit,monkey2000/Wikidata-Toolki... |
d042b90239d2c995b69ea5352d72373faa5a72cc | java/src/main/java/com/google/appengine/tools/cloudstorage/oauth/AppIdentityAccessTokenProvider.java | java/src/main/java/com/google/appengine/tools/cloudstorage/oauth/AppIdentityAccessTokenProvider.java | package com.google.appengine.tools.cloudstorage.oauth;
import com.google.appengine.api.appidentity.AppIdentityService;
import com.google.appengine.api.appidentity.AppIdentityService.GetAccessTokenResult;
import com.google.appengine.api.appidentity.AppIdentityServiceFactory;
import com.google.appengine.api.utils.System... | package com.google.appengine.tools.cloudstorage.oauth;
import com.google.appengine.api.appidentity.AppIdentityService;
import com.google.appengine.api.appidentity.AppIdentityService.GetAccessTokenResult;
import com.google.appengine.api.appidentity.AppIdentityServiceFactory;
import com.google.appengine.api.utils.System... | Move check for development environment into the getNewAccessToken method. | Move check for development environment into the getNewAccessToken method.
Revision created by MOE tool push_codebase.
MOE_MIGRATION=7102
| Java | apache-2.0 | GoogleCloudPlatform/appengine-gcs-client,GoogleCloudPlatform/appengine-gcs-client,aozarov/appengine-gcs-client,aozarov/appengine-gcs-client,GoogleCloudPlatform/appengine-gcs-client,aozarov/appengine-gcs-client |
16dcf21c0a7be110d4cbb0a2b63bceba45d89019 | OpERP/src/main/java/devopsdistilled/operp/server/ServerApp.java | OpERP/src/main/java/devopsdistilled/operp/server/ServerApp.java | package devopsdistilled.operp.server;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URL;
import java.util.Properties;
import org.springframework.context.ApplicationContext;
impo... | package devopsdistilled.operp.server;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URL;
import java.util.Properties;
import org.springframework.context.ApplicationContext;
impo... | Print stack trace upon error | Print stack trace upon error | Java | mit | njmube/OpERP,DevOpsDistilled/OpERP |
58da5df3790f5771b84697663241d6e640bbb68f | tools/nibrs-staging-data/src/main/java/org/search/nibrs/stagingdata/service/ArrestReportService.java | tools/nibrs-staging-data/src/main/java/org/search/nibrs/stagingdata/service/ArrestReportService.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-... | Add @Transactional to the save method. | Add @Transactional to the save method. | Java | apache-2.0 | SEARCH-NCJIS/nibrs,SEARCH-NCJIS/nibrs,SEARCH-NCJIS/nibrs,SEARCH-NCJIS/nibrs,SEARCH-NCJIS/nibrs |
1bf1fe25ed6321de309f48f25f27451af5f745c5 | contract-spel/src/main/java/com/github/sebhoss/contract/verifier/SpELBasedContractContextFactory.java | contract-spel/src/main/java/com/github/sebhoss/contract/verifier/SpELBasedContractContextFactory.java | /*
* Copyright © 2012 Sebastian Hoß <mail@shoss.de>
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
*/
package com.github.sebhoss.contract.verifi... | /*
* Copyright © 2012 Sebastian Hoß <mail@shoss.de>
* This work is free. You can redistribute it and/or modify it under the
* terms of the Do What The Fuck You Want To Public License, Version 2,
* as published by Sam Hocevar. See http://www.wtfpl.net/ for more details.
*/
package com.github.sebhoss.contract.verifi... | Set current instance as root object | Set current instance as root object
Signed-off-by: Sebastian Hoß <1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@shoss.de> | Java | unlicense | sebhoss/annotated-contracts |
ad31246916924f8338d1d6e1cf0154435605103d | core/src/main/java/detective/common/httpclient/IdleConnectionMonitorThread.java | core/src/main/java/detective/common/httpclient/IdleConnectionMonitorThread.java | package detective.common.httpclient;
import java.util.concurrent.TimeUnit;
import org.apache.http.conn.HttpClientConnectionManager;
public class IdleConnectionMonitorThread extends Thread {
private final HttpClientConnectionManager connMgr;
private volatile boolean shutdown;
public IdleConnectionMonitorThrea... | package detective.common.httpclient;
import java.util.concurrent.TimeUnit;
import org.apache.http.conn.HttpClientConnectionManager;
public class IdleConnectionMonitorThread extends Thread {
private final HttpClientConnectionManager connMgr;
private volatile boolean shutdown;
public IdleConnectionMonitorThrea... | Change the background thread to daemon thread so that a script closes all other threads closes as well | Change the background thread to daemon thread so that a script closes
all other threads closes as well | Java | apache-2.0 | detectiveframework/detective |
f7398392eb9a93a32c87b13a37f917461dee02e6 | data-model/src/main/java/org/pdxfinder/repositories/OntologyTermRepository.java | data-model/src/main/java/org/pdxfinder/repositories/OntologyTermRepository.java | package org.pdxfinder.repositories;
import org.pdxfinder.dao.OntologyTerm;
import org.springframework.data.neo4j.annotation.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import jav... | package org.pdxfinder.repositories;
import org.pdxfinder.dao.OntologyTerm;
import org.springframework.data.neo4j.annotation.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import jav... | Add findAll() and direct/indirect mapping number getter | Add findAll() and direct/indirect mapping number getter
| Java | apache-2.0 | PDXFinder/pdxfinder,PDXFinder/pdxfinder,PDXFinder/pdxfinder,PDXFinder/pdxfinder |
9d46e55257521413d7171958d674a800332840e6 | config-provisioning/src/main/java/com/yahoo/config/provision/zone/ZoneApi.java | config-provisioning/src/main/java/com/yahoo/config/provision/zone/ZoneApi.java | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.provision.zone;
import com.yahoo.config.provision.CloudName;
import com.yahoo.config.provision.Environment;
import com.yahoo.config.provision.RegionName;
import com.yahoo.config.provision.S... | // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.provision.zone;
import com.yahoo.config.provision.CloudName;
import com.yahoo.config.provision.Environment;
import com.yahoo.config.provision.RegionName;
import com.yahoo.config.provision.S... | Add method to get SystemName.Environment.RegionName | Add method to get SystemName.Environment.RegionName
| 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 |
dfacca1b1abeb077453a679a98de4c8f563b3548 | core/server/master/src/main/java/alluxio/master/file/BlockDeletionContext.java | core/server/master/src/main/java/alluxio/master/file/BlockDeletionContext.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... | Replace lambda with method reference | [SMALLFIX] Replace lambda with method reference
replace lambda with method reference in
/alluxio/core/server/master/src/main/java/alluxio/master/file/BlockDeletionContext.java#registerBlocksForDeletion
Change
blockIds.forEach(id -> registerBlockForDeletion(id));
to
blockIds.forEach(this::registerBlockForDeletion);
p... | Java | apache-2.0 | bf8086/alluxio,bf8086/alluxio,wwjiang007/alluxio,wwjiang007/alluxio,calvinjia/tachyon,wwjiang007/alluxio,maobaolong/alluxio,EvilMcJerkface/alluxio,EvilMcJerkface/alluxio,maobaolong/alluxio,Alluxio/alluxio,wwjiang007/alluxio,calvinjia/tachyon,maobaolong/alluxio,wwjiang007/alluxio,calvinjia/tachyon,maobaolong/alluxio,cal... |
5d8d752d36382aac67db1263f6c125a764e90e4c | engine/src/main/java/org/terasology/world/propagation/PropagatorWorldView.java | engine/src/main/java/org/terasology/world/propagation/PropagatorWorldView.java | /*
* Copyright 2013 MovingBlocks
*
* 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 t... | /*
* Copyright 2013 MovingBlocks
*
* 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 t... | Tweak javadoc for propogater world view interface | Tweak javadoc for propogater world view interface
| Java | apache-2.0 | MovingBlocks/Terasology,Malanius/Terasology,Nanoware/Terasology,Malanius/Terasology,MovingBlocks/Terasology,Nanoware/Terasology,Nanoware/Terasology,MovingBlocks/Terasology |
1570a9789530d83c373bd1ac7140b00be78288d9 | gstrap-gae-test/src/main/java/com/voodoodyne/gstrap/gae/test/GAEExtension.java | gstrap-gae-test/src/main/java/com/voodoodyne/gstrap/gae/test/GAEExtension.java | package com.voodoodyne.gstrap.gae.test;
import com.voodoodyne.gstrap.test.util.TestInfoContextAdapter;
import org.junit.jupiter.api.extension.AfterEachCallback;
import org.junit.jupiter.api.extension.BeforeEachCallback;
import org.junit.jupiter.api.extension.ExtensionContext;
import org.junit.jupiter.api.extension.Ext... | package com.voodoodyne.gstrap.gae.test;
import com.voodoodyne.gstrap.test.util.TestInfoContextAdapter;
import org.junit.jupiter.api.extension.AfterEachCallback;
import org.junit.jupiter.api.extension.BeforeEachCallback;
import org.junit.jupiter.api.extension.ExtensionContext;
import org.junit.jupiter.api.extension.Ext... | Allow queue xml path to be set by prior extensions | Allow queue xml path to be set by prior extensions
| Java | mit | stickfigure/gstrap-gae |
ae7185b80cb54f8eadeebda6a4045311e75803a8 | core/src/main/java/com/github/weisj/darklaf/settings/ThemeSettingsMenuItem.java | core/src/main/java/com/github/weisj/darklaf/settings/ThemeSettingsMenuItem.java | /*
* MIT License
*
* Copyright (c) 2020 Jannis Weis
*
* 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 rights to use, copy, modify,... | /*
* MIT License
*
* Copyright (c) 2020 Jannis Weis
*
* 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 rights to use, copy, modify,... | Remove static access on instance. | Remove static access on instance.
| Java | mit | weisJ/darklaf,weisJ/darklaf,weisJ/darklaf,weisJ/darklaf |
b051489a2d4af2c4a3ef18f7b9a2ca0d176ad6db | src/main/java/org/scijava/notebook/converter/StringToHTMLNotebookConverter.java | src/main/java/org/scijava/notebook/converter/StringToHTMLNotebookConverter.java | /*-
* #%L
* SciJava polyglot kernel for Jupyter.
* %%
* Copyright (C) 2017 Hadrien Mary
* %%
* 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/L... | /*-
* #%L
* SciJava polyglot kernel for Jupyter.
* %%
* Copyright (C) 2017 Hadrien Mary
* %%
* 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/L... | Fix converter to escape HTML characters | Fix converter to escape HTML characters
| Java | apache-2.0 | scijava/scijava-jupyter-kernel,hadim/scijava-jupyter-kernel,hadim/scijava-jupyter-kernel,scijava/scijava-jupyter-kernel |
1df3b8ae40c3bf878ea687b39734398dcda10296 | src/polyglot/frontend/VisitorPass.java | src/polyglot/frontend/VisitorPass.java | package jltools.frontend;
import jltools.ast.*;
import jltools.util.*;
/** A pass which runs a visitor. */
public class VisitorPass extends AbstractPass
{
Job job;
NodeVisitor v;
public VisitorPass(Job job) {
this(job, null);
}
public VisitorPass(Job job, NodeVisitor v) {
this.job = job;
this... | package jltools.frontend;
import jltools.ast.*;
import jltools.util.*;
/** A pass which runs a visitor. */
public class VisitorPass extends AbstractPass
{
Job job;
NodeVisitor v;
public VisitorPass(Job job) {
this(job, null);
}
public VisitorPass(Job job, NodeVisitor v) {
this.job = job;
this... | Call NodeVisitor.begin() before visiting ast. | Call NodeVisitor.begin() before visiting ast.
| Java | lgpl-2.1 | liujed/polyglot-eclipse,blue-systems-group/project.maybe.polyglot,xcv58/polyglot,xcv58/polyglot,xcv58/polyglot,liujed/polyglot-eclipse,xcv58/polyglot,liujed/polyglot-eclipse,blue-systems-group/project.maybe.polyglot,blue-systems-group/project.maybe.polyglot,liujed/polyglot-eclipse,blue-systems-group/project.maybe.polyg... |
8b911a2da6ebca1129e63ec8d1a4ca1e20a42579 | src/main/java/hu/webarticum/treeprinter/decorator/TrackingTreeNodeDecorator.java | src/main/java/hu/webarticum/treeprinter/decorator/TrackingTreeNodeDecorator.java | package hu.webarticum.treeprinter.decorator;
import hu.webarticum.treeprinter.TreeNode;
public class TrackingTreeNodeDecorator extends AbstractTreeNodeDecorator {
public final TrackingTreeNodeDecorator parent;
public final int index;
public TrackingTreeNodeDecorator(TreeNode baseNode) {
... | package hu.webarticum.treeprinter.decorator;
import hu.webarticum.treeprinter.TreeNode;
public class TrackingTreeNodeDecorator extends AbstractTreeNodeDecorator {
public final TrackingTreeNodeDecorator parent;
public final int index;
public TrackingTreeNodeDecorator(TreeNode baseNode) {
... | Rename a variable in TrackingTreeNodeDecocator | Rename a variable in TrackingTreeNodeDecocator | Java | apache-2.0 | davidsusu/tree-printer |
d4bc9a780347deb5fcce302cffc31731c9fbb012 | JECP-ME/src/com/annimon/jecp/me/JecpMidlet.java | JECP-ME/src/com/annimon/jecp/me/JecpMidlet.java | package com.annimon.jecp.me;
import com.annimon.jecp.ApplicationListener;
import javax.microedition.midlet.MIDlet;
/**
*
* @author aNNiMON
*/
public abstract class JecpMidlet extends MIDlet implements ApplicationListener {
protected final void startApp() {
onCreate();
}
protect... | package com.annimon.jecp.me;
import com.annimon.jecp.ApplicationListener;
import javax.microedition.midlet.MIDlet;
/**
*
* @author aNNiMON
*/
public abstract class JecpMidlet extends MIDlet implements ApplicationListener {
protected final void startApp() {
onStartApp();
}
prote... | Fix method name in Java ME library | Fix method name in Java ME library | Java | apache-2.0 | aNNiMON/JECP |
a8ff01c81135e1a102f20241ad81ec0753088842 | src/test/java/org/tenidwa/collections/utils/CollectorsTest.java | src/test/java/org/tenidwa/collections/utils/CollectorsTest.java | package org.tenidwa.collections.utils;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import java.util.Arrays;
import java.util.LinkedHashSet;
import org.junit.Assert;
import org.junit.Test;
public final class CollectorsTest {
@Test
public void toImmutableSet() ... | package org.tenidwa.collections.utils;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import java.util.Arrays;
import java.util.LinkedHashSet;
import org.junit.Assert;
import org.junit.Test;
public final class CollectorsTest {
@Test
public void toImmutableSet() ... | Change the way an expected set is instantated in a test | Change the way an expected set is instantated in a test
| Java | mit | Suseika/collections-utils |
169a5645eff54588c5bfa0c212e1aa6e95e8ce61 | support/cas-server-support-json-service-registry/src/test/java/org/apereo/cas/services/JsonServiceRegistryDaoTests.java | support/cas-server-support-json-service-registry/src/test/java/org/apereo/cas/services/JsonServiceRegistryDaoTests.java | package org.apereo.cas.services;
import org.apereo.cas.util.services.RegisteredServiceJsonSerializer;
import org.junit.Before;
import org.junit.Test;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.core.io.ClassPathResource;
import static org.junit.Assert.*;
import static org.... | package org.apereo.cas.services;
import org.apereo.cas.util.services.RegisteredServiceJsonSerializer;
import org.junit.Before;
import org.junit.Test;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;
import ... | Clean up transformations of multimaps into JSON | Clean up transformations of multimaps into JSON
| Java | apache-2.0 | robertoschwald/cas,William-Hill-Online/cas,tduehr/cas,GIP-RECIA/cas,dodok1/cas,dodok1/cas,William-Hill-Online/cas,robertoschwald/cas,GIP-RECIA/cas,Unicon/cas,prigaux/cas,tduehr/cas,rrenomeron/cas,Unicon/cas,doodelicious/cas,GIP-RECIA/cas,robertoschwald/cas,Unicon/cas,dodok1/cas,rrenomeron/cas,GIP-RECIA/cas,William-Hill... |
7c4715eab346827d70f33e404dde83bab07b9dd6 | presto-raptor/src/main/java/com/facebook/presto/raptor/storage/StorageModule.java | presto-raptor/src/main/java/com/facebook/presto/raptor/storage/StorageModule.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... | Remove unused StorageManager H2 database | Remove unused StorageManager H2 database
| Java | apache-2.0 | aleph-zero/presto,ocono-tech/presto,nezihyigitbasi/presto,zjshen/presto,shubham166/presto,martint/presto,siddhartharay007/presto,toyama0919/presto,sumanth232/presto,siddhartharay007/presto,mandusm/presto,Teradata/presto,EvilMcJerkface/presto,mpilman/presto,lingochamp/presto,smartnews/presto,smartnews/presto,facebook/pr... |
b6e8f5aa326dfe9f1eec94290c910f044b9585c4 | microservice-vote/vote-service-application/src/main/java/com/ibm/ws/microprofile/sample/conference/vote/model/Attendee.java | microservice-vote/vote-service-application/src/main/java/com/ibm/ws/microprofile/sample/conference/vote/model/Attendee.java | /*
* (C) Copyright IBM Corporation 2016
*
* 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 agre... | /*
* (C) Copyright IBM Corporation 2016
*
* 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 agre... | Put the setName method back again | Put the setName method back again
| Java | apache-2.0 | microprofile/microprofile-conference,karianna/microprofile-conference,microprofile/microprofile-conference,AndyGee/microprofile-conference,karianna/microprofile-conference,microprofile/microprofile-conference,microprofile/microprofile-conference,karianna/microprofile-conference,karianna/microprofile-conference,katheris... |
4e1cdda325f6ddc55cf0f923fb721012eb39e9c4 | ifs-web-service/ifs-competition-mgt-service/src/main/java/org/innovateuk/ifs/publiccontent/saver/section/SummaryFormSaver.java | ifs-web-service/ifs-competition-mgt-service/src/main/java/org/innovateuk/ifs/publiccontent/saver/section/SummaryFormSaver.java | package org.innovateuk.ifs.publiccontent.saver.section;
import org.innovateuk.ifs.commons.error.Error;
import org.innovateuk.ifs.competition.publiccontent.resource.FundingType;
import org.innovateuk.ifs.competition.publiccontent.resource.PublicContentResource;
import org.innovateuk.ifs.competition.publiccontent.resou... | package org.innovateuk.ifs.publiccontent.saver.section;
import org.innovateuk.ifs.commons.error.Error;
import org.innovateuk.ifs.competition.publiccontent.resource.FundingType;
import org.innovateuk.ifs.competition.publiccontent.resource.PublicContentResource;
import org.innovateuk.ifs.competition.publiccontent.resou... | Fix submit action on public content summary page | INFUND-6916: Fix submit action on public content summary page
Former-commit-id: 40219267cb97ce2dc784fb07b1a11ffa35ca9743 | Java | mit | InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service |
0b939787f12fec3c842ecaaecc3cff2003611da5 | richsobjects-api-provider-base-tests/src/main/java/com/github/ryanbrainard/richsobjects/api/client/SfdcApiTestSessionProvider.java | richsobjects-api-provider-base-tests/src/main/java/com/github/ryanbrainard/richsobjects/api/client/SfdcApiTestSessionProvider.java | package com.github.ryanbrainard.richsobjects.api.client;
/**
* @author Ryan Brainard
*/
public class SfdcApiTestSessionProvider implements SfdcApiSessionProvider {
@Override
public String getAccessToken() {
return System.getProperty("sfdc.test.sessionId");
}
@Override
public String ... | package com.github.ryanbrainard.richsobjects.api.client;
/**
* @author Ryan Brainard
*/
public class SfdcApiTestSessionProvider implements SfdcApiSessionProvider {
@Override
public String getAccessToken() {
return getSystemPropertyOrEnvVar("sfdc.test.sessionId", "SFDC_TEST_SESSION_ID");
}
... | Allow test session and endpoint to come from env vars | Allow test session and endpoint to come from env vars
| Java | mit | ryanbrainard/richsobjects |
5db6cc1cba1ebf2ed9460db600df97693f87b740 | spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/testing/springbootapplications/jmx/MyJmxTests.java | spring-boot-project/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/testing/springbootapplications/jmx/MyJmxTests.java | /*
* Copyright 2012-2022 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | /*
* Copyright 2012-2022 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
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Remove redundant @ExtendWith(SpringExtension.class) for sample | Remove redundant @ExtendWith(SpringExtension.class) for sample
See gh-32476
| Java | apache-2.0 | scottfrederick/spring-boot,wilkinsona/spring-boot,wilkinsona/spring-boot,scottfrederick/spring-boot,vpavic/spring-boot,scottfrederick/spring-boot,dreis2211/spring-boot,wilkinsona/spring-boot,vpavic/spring-boot,vpavic/spring-boot,mdeinum/spring-boot,htynkn/spring-boot,aahlenst/spring-boot,mdeinum/spring-boot,spring-proj... |
4ea47c5590caa4898d2243f5ab3bdc687511f488 | src/main/java/com/gabrielavara/choiceplayer/playlist/PlaylistSelectionChangedListener.java | src/main/java/com/gabrielavara/choiceplayer/playlist/PlaylistSelectionChangedListener.java | package com.gabrielavara.choiceplayer.playlist;
import com.gabrielavara.choiceplayer.dto.Mp3;
import com.gabrielavara.choiceplayer.messages.SelectionChangedMessage;
import com.gabrielavara.choiceplayer.messenger.Messenger;
import com.gabrielavara.choiceplayer.util.Opinion;
import com.gabrielavara.choiceplayer.views.Pl... | package com.gabrielavara.choiceplayer.playlist;
import com.gabrielavara.choiceplayer.dto.Mp3;
import com.gabrielavara.choiceplayer.messages.SelectionChangedMessage;
import com.gabrielavara.choiceplayer.messenger.Messenger;
import com.gabrielavara.choiceplayer.util.Opinion;
import com.gabrielavara.choiceplayer.views.Pl... | Fix for changing selection with mouse | Fix for changing selection with mouse
| Java | apache-2.0 | gabrielavara/music-player |
086667cfe873843cee4d467569b4754f70ce9844 | src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/UpdatedTileType.java | src/main/java/com/github/steveice10/mc/protocol/data/game/world/block/UpdatedTileType.java | package com.github.steveice10.mc.protocol.data.game.world.block;
public enum UpdatedTileType {
MOB_SPAWNER,
COMMAND_BLOCK,
BEACON,
SKULL,
CONDUIT,
BANNER,
STRUCTURE_BLOCK,
END_GATEWAY,
SIGN,
SHULKER_BOX,
BED;
}
| package com.github.steveice10.mc.protocol.data.game.world.block;
public enum UpdatedTileType {
MOB_SPAWNER,
COMMAND_BLOCK,
BEACON,
SKULL,
CONDUIT,
BANNER,
STRUCTURE_BLOCK,
END_GATEWAY,
SIGN,
@Deprecated
SHULKER_BOX,
BED,
JIGSAW_BLOCK,
CAMPFIRE;
}
| Add new Types for UpdatedTiles | Add new Types for UpdatedTiles
| Java | mit | Steveice10/MCProtocolLib,ReplayMod/MCProtocolLib |
605168476d699811a86c78b915a1436488a5ffca | src/test/java/nl/hsac/fitnesse/fixture/util/HtmlCleanerTest.java | src/test/java/nl/hsac/fitnesse/fixture/util/HtmlCleanerTest.java | package nl.hsac.fitnesse.fixture.util;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
public class HtmlCleanerTest {
private final HtmlCleaner cleaner = new HtmlCleaner();
@Test
public void testCleanUrl() {
assertEquals("http://hall... | package nl.hsac.fitnesse.fixture.util;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;
public class HtmlCleanerTest {
private final HtmlCleaner cleaner = new HtmlCleaner();
@Test
public void testCleanUrl() {
assertEquals("http://hall... | Add test to ensure extra content after <a></a> is also extracted | Add test to ensure extra content after <a></a> is also extracted
| Java | apache-2.0 | fhoeben/hsac-fitnesse-fixtures,fhoeben/hsac-fitnesse-fixtures,fhoeben/hsac-fitnesse-fixtures,fhoeben/hsac-fitnesse-fixtures |
c09edc79abd67a80b492af992e3f9a144f17f1cd | mifos/test/org/mifos/framework/components/configuration/ConfigurationTestSuite.java | mifos/test/org/mifos/framework/components/configuration/ConfigurationTestSuite.java | package org.mifos.framework.components.configuration;
import junit.framework.Test;
import junit.framework.TestSuite;
import org.mifos.application.master.business.TestMifosCurrency;
import org.mifos.framework.components.configuration.business.TestConfiguration;
import org.mifos.framework.components.configuration.persi... | package org.mifos.framework.components.configuration;
import junit.framework.Test;
import junit.framework.TestSuite;
import org.mifos.application.master.business.TestMifosCurrency;
import org.mifos.framework.components.configuration.business.TestConfiguration;
import org.mifos.framework.components.configuration.cache... | Revert 11533 now that TestKey is checked in. | Revert 11533 now that TestKey is checked in.
git-svn-id: 6bd94cac40bd5c1df74b384d972046d926de6ffa@11535 a8845c50-7012-0410-95d3-8e1449b9b1e4
| Java | apache-2.0 | jpodeszwik/mifos,jpodeszwik/mifos,vorburger/mifos-head,maduhu/mifos-head,vorburger/mifos-head,jpodeszwik/mifos,vorburger/mifos-head,maduhu/head,AArhin/head,maduhu/mifos-head,maduhu/mifos-head,AArhin/head,maduhu/mifos-head,AArhin/head,AArhin/head,maduhu/head,vorburger/mifos-head,jpodeszwik/mifos,maduhu/head,maduhu/head,... |
5b63aa453f1e5a5a7022b115c89633518caa7cb8 | apt/src/main/java/net/wizardsoflua/annotation/GenerateLuaDoc.java | apt/src/main/java/net/wizardsoflua/annotation/GenerateLuaDoc.java | package net.wizardsoflua.annotation;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.SOURCE;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
@Retention(SOURCE)
@Target(TYPE)
public @interface GenerateLuaDoc {
/**
* The name of th... | package net.wizardsoflua.annotation;
import static java.lang.annotation.ElementType.TYPE;
import java.lang.annotation.Target;
/**
* We use class retention, because otherwise this annotation is not available on unchanged classes
* during eclipses incremental compilation.
*
* @author Adrodoc
*/
@Target(TYPE)
pub... | Fix incremental compilation for lua classes that require a superclass name resolution | Fix incremental compilation for lua classes that require a superclass name resolution
| Java | apache-2.0 | mkarneim/luamod |
22125d8b84dc6a6ccf7eb72e34fd30642cfb883c | src/main/java/ip/cl/clipapp/Application.java | src/main/java/ip/cl/clipapp/Application.java | package ip.cl.clipapp;
import java.net.URI;
import java.net.URISyntaxException;
import javax.sql.DataSource;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceBuilder;
import o... | package ip.cl.clipapp;
import java.net.URI;
import java.net.URISyntaxException;
import javax.sql.DataSource;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import ... | Remove default while label error page | Remove default while label error page
| Java | mit | pzn/clipapp,pzn/clipapp |
eb96745cf26dda4e032e81abddec336d9487914c | command-side/src/main/java/br/holandajunior/workday/repositories/IUserRepository.java | command-side/src/main/java/br/holandajunior/workday/repositories/IUserRepository.java | package br.holandajunior.workday.repositories;
import br.holandajunior.workday.models.User;
import org.springframework.data.jpa.repository.JpaRepository;
/**
* Created by holandajunior on 29/04/17.
*/
public interface IUserRepository extends JpaRepository< User, Long > {}
| package br.holandajunior.workday.repositories;
import br.holandajunior.workday.models.repository.User;
import org.springframework.data.jpa.repository.JpaRepository;
/**
* Created by holandajunior on 29/04/17.
*/
public interface IUserRepository extends JpaRepository< User, Long > {
User findByUsername( String ... | Add into repository to find user by username | Add into repository to find user by username
| Java | mit | holandajunior/workaday,holandajunior/workaday |
0106d6cdc21f6fa01fb22f95ec9503257e621a45 | test/runtime/src/java/com/amd/aparapi/test/runtime/CallStaticFromAnonymousKernel.java | test/runtime/src/java/com/amd/aparapi/test/runtime/CallStaticFromAnonymousKernel.java | package com.amd.aparapi.test.runtime;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import com.amd.aparapi.Kernel;
class AnotherClass{
static public int foo(int i) {
return i + 42;
}
};
public class CallStaticFromAnonymousKernel {
static final int size = 256;
f... | package com.amd.aparapi.test.runtime;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
import com.amd.aparapi.Kernel;
class AnotherClass{
static public int foo(int i) {
return i + 42;
}
};
public class CallStaticFromAnonymousKernel {
static final int size = 256;
f... | Add verification that the code ran on GPU. Otherwise we get a false positive. | Add verification that the code ran on GPU. Otherwise we get a false positive.
| Java | apache-2.0 | Syncleus/aparapi,Syncleus/aparapi,Syncleus/aparapi,Syncleus/aparapi |
bd0ef055fd5ba2b6aa87aef53c6f87cdc85ecfbf | OpERP/src/main/java/devopsdistilled/operp/client/items/ListItemPaneControllerImpl.java | OpERP/src/main/java/devopsdistilled/operp/client/items/ListItemPaneControllerImpl.java | package devopsdistilled.operp.client.items;
import java.util.Vector;
import javax.inject.Inject;
import devopsdistilled.operp.server.data.service.items.ItemService;
public class ListItemPaneControllerImpl implements ListItemPaneController {
@Inject
private ListItemModel model;
@Inject
private ItemService item... | package devopsdistilled.operp.client.items;
import javax.inject.Inject;
import devopsdistilled.operp.server.data.service.items.ItemService;
public class ListItemPaneControllerImpl implements ListItemPaneController {
@Inject
private ListItemModel model;
@Inject
private ItemService itemService;
@Override
publ... | Remove columnNames loading from loadData() | Remove columnNames loading from loadData() | Java | mit | DevOpsDistilled/OpERP,njmube/OpERP |
ee2353ed1cf75ff87c17ce87fab66326d561821c | src/functions/src/test/java/org/apache/jmeter/functions/TestJavascriptFunctionWithRhino.java | src/functions/src/test/java/org/apache/jmeter/functions/TestJavascriptFunctionWithRhino.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 override annotations to make error prone happy | Add override annotations to make error prone happy
| Java | apache-2.0 | apache/jmeter,apache/jmeter,apache/jmeter,apache/jmeter,apache/jmeter |
ab8d715f67f1521bae7d609c5635df23fbce9641 | app/src/main/java/com/example/android/androidsimulator/activities/SelectedMessageContact.java | app/src/main/java/com/example/android/androidsimulator/activities/SelectedMessageContact.java | package com.example.android.androidsimulator.activities;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import com.example.android.androidsimulator.R;
public class SelectedMessageContact extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
... | package com.example.android.androidsimulator.activities;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextWatcher;
import android.view.View;
import andr... | Add method of sendMessageButton - Enabled/Disabled | Add method of sendMessageButton - Enabled/Disabled
| Java | mit | malucs-developer/Android-Simulator |
a5cdd8451d6246ce7795eda7a83f9802d8cbfaab | buildSrc/src/main/java/trang/TrangPlugin.java | buildSrc/src/main/java/trang/TrangPlugin.java | package trang;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
import org.gradle.api.Task;
/**
* Used for converting .rnc files to .xsd files.
* @author Rob Winch
*/
public class TrangPlugin implements Plugin<Project> {
@Override
public void apply(Project project) {
Task rncToXsd = project.getTask... | package trang;
import org.gradle.api.Plugin;
import org.gradle.api.Project;
/**
* Used for converting .rnc files to .xsd files.
* @author Rob Winch
*/
public class TrangPlugin implements Plugin<Project> {
@Override
public void apply(Project project) {
project.getTasks().register("rncToXsd", RncToXsd.class, rnc... | Create the rncToXsd Task lazily | Create the rncToXsd Task lazily
| Java | apache-2.0 | rwinch/spring-security,fhanik/spring-security,jgrandja/spring-security,spring-projects/spring-security,rwinch/spring-security,rwinch/spring-security,fhanik/spring-security,jgrandja/spring-security,djechelon/spring-security,fhanik/spring-security,fhanik/spring-security,eddumelendez/spring-security,eddumelendez/spring-se... |
dde8aa01b8ef4e30f314ccf260fe4d057a254ff6 | blueflood-core/src/test/java/com/rackspacecloud/blueflood/service/RollupServiceTest.java | blueflood-core/src/test/java/com/rackspacecloud/blueflood/service/RollupServiceTest.java | package com.rackspacecloud.blueflood.service;
import com.rackspacecloud.blueflood.utils.Util;
import org.junit.Assert;
import org.junit.Ignore;
import org.junit.Test;
import java.util.Collection;
import java.util.Collections;
public class RollupServiceTest {
@Test
public void testRollupServiceWithDefaultCon... | package com.rackspacecloud.blueflood.service;
import com.rackspacecloud.blueflood.utils.Util;
import org.junit.*;
import java.io.IOException;
import java.util.Collection;
import java.util.Collections;
public class RollupServiceTest {
@Before
public void setup() throws IOException {
Configuration.get... | Clean up the configuration before and after the test. | Clean up the configuration before and after the test.
| Java | apache-2.0 | VinnyQ/blueflood,shintasmith/blueflood,ChandraAddala/blueflood,VinnyQ/blueflood,izrik/blueflood,goru97/blueflood,rackerlabs/blueflood,goru97/blueflood,rackerlabs/blueflood,goru97/blueflood,izrik/blueflood,shintasmith/blueflood,rackerlabs/blueflood,goru97/blueflood,VinnyQ/blueflood,ChandraAddala/blueflood,ChandraAddala/... |
afa312b5591cb154364620dbadb935d029d23100 | core/data/src/test/java/imagej/data/autoscale/ConfidenceIntervalAutoscaleMethodTest.java | core/data/src/test/java/imagej/data/autoscale/ConfidenceIntervalAutoscaleMethodTest.java | package imagej.data.autoscale;
import static org.junit.Assert.assertTrue;
import net.imglib2.img.Img;
import net.imglib2.img.array.ArrayImgs;
import net.imglib2.ops.util.Tuple2;
import net.imglib2.type.numeric.RealType;
import net.imglib2.type.numeric.integer.ByteType;
import org.junit.Test;
import org.scijava.Contex... | package imagej.data.autoscale;
import static org.junit.Assert.assertEquals;
import net.imglib2.img.Img;
import net.imglib2.img.array.ArrayImgs;
import net.imglib2.ops.util.Tuple2;
import net.imglib2.type.numeric.RealType;
import net.imglib2.type.numeric.integer.ByteType;
import org.junit.Test;
import org.scijava.Cont... | Improve confidence interval test code | Improve confidence interval test code
| Java | bsd-2-clause | TehSAUCE/imagej,TehSAUCE/imagej,biovoxxel/imagej,biovoxxel/imagej,TehSAUCE/imagej,biovoxxel/imagej |
b463141053f5724b297fb02e5aa691027c9cd7e7 | src/org/bouncycastle/cms/CMSPBEKey.java | src/org/bouncycastle/cms/CMSPBEKey.java | package org.bouncycastle.cms;
import java.security.AlgorithmParameters;
import java.security.InvalidAlgorithmParameterException;
import java.security.spec.InvalidParameterSpecException;
import javax.crypto.interfaces.PBEKey;
import javax.crypto.spec.PBEParameterSpec;
public abstract class CMSPBEKey
implements PB... | package org.bouncycastle.cms;
import java.security.AlgorithmParameters;
import java.security.InvalidAlgorithmParameterException;
import java.security.spec.InvalidParameterSpecException;
import javax.crypto.interfaces.PBEKey;
import javax.crypto.spec.PBEParameterSpec;
public abstract class CMSPBEKey
implements PB... | Add cast so code compiles properly under source 1.4 | Add cast so code compiles properly under source 1.4
| Java | mit | sake/bouncycastle-java |
3c14cfba975acbea1b226f14bbf154c51e8a5ff1 | core/src/main/java/org/testcontainers/dockerclient/UnixSocketConfigurationStrategy.java | core/src/main/java/org/testcontainers/dockerclient/UnixSocketConfigurationStrategy.java | package org.testcontainers.dockerclient;
import com.github.dockerjava.api.DockerClient;
import com.github.dockerjava.core.DockerClientBuilder;
import com.github.dockerjava.core.DockerClientConfig;
public class UnixSocketConfigurationStrategy implements DockerConfigurationStrategy {
@Override
public DockerCli... | package org.testcontainers.dockerclient;
import com.github.dockerjava.api.DockerClient;
import com.github.dockerjava.core.DockerClientBuilder;
import com.github.dockerjava.core.DockerClientConfig;
public class UnixSocketConfigurationStrategy implements DockerConfigurationStrategy {
public static final String SOC... | Update log wording for Unix socket config strategy | Update log wording for Unix socket config strategy
| Java | mit | outofcoffee/testcontainers-java,testcontainers/testcontainers-java,gorelikov/testcontainers-java,barrycommins/testcontainers-java,barrycommins/testcontainers-java,testcontainers/testcontainers-java,outofcoffee/testcontainers-java,gorelikov/testcontainers-java,gorelikov/testcontainers-java,rnorth/test-containers,rnorth/... |
da4050375ab93a4927a1b21fcab4b97fe8b3eca3 | configserver/src/main/java/com/yahoo/vespa/config/server/maintenance/ZooKeeperDataMaintainer.java | configserver/src/main/java/com/yahoo/vespa/config/server/maintenance/ZooKeeperDataMaintainer.java | // Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.server.maintenance;
import com.yahoo.path.Path;
import com.yahoo.vespa.config.server.ApplicationRepository;
import com.yahoo.vespa.curator.Curator;
import java.... | // Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.server.maintenance;
import com.yahoo.path.Path;
import com.yahoo.vespa.config.server.ApplicationRepository;
import com.yahoo.vespa.curator.Curator;
import java.... | Remove unused zk data for default flavor override | Remove unused zk data for default flavor override
| 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 |
0416c04f5931a1437dce3a190bfe7e9feb48858e | sli/api/src/main/java/org/slc/sli/api/resources/config/CustomJacksonContextResolver.java | sli/api/src/main/java/org/slc/sli/api/resources/config/CustomJacksonContextResolver.java | package org.slc.sli.api.resources.config;
import javax.ws.rs.Produces;
import javax.ws.rs.ext.ContextResolver;
import javax.ws.rs.ext.Provider;
import org.codehaus.jackson.map.ObjectMapper;
import org.codehaus.jackson.map.SerializationConfig;
import org.springframework.stereotype.Component;
import org.slc.sli.api.re... | package org.slc.sli.api.resources.config;
import javax.ws.rs.Produces;
import javax.ws.rs.ext.ContextResolver;
import javax.ws.rs.ext.Provider;
import org.codehaus.jackson.map.ObjectMapper;
import org.codehaus.jackson.map.SerializationConfig;
import org.springframework.stereotype.Component;
import org.slc.sli.api.re... | Add XML to @produces for ContextResolver | Add XML to @produces for ContextResolver
| Java | apache-2.0 | inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service |
d97612dd4b37b4bb4ced0b72bd93d72b9112e293 | src/main/java/com/hubspot/jinjava/lib/exptest/IsSameAsExpTest.java | src/main/java/com/hubspot/jinjava/lib/exptest/IsSameAsExpTest.java | package com.hubspot.jinjava.lib.exptest;
import com.hubspot.jinjava.doc.annotations.JinjavaDoc;
import com.hubspot.jinjava.doc.annotations.JinjavaParam;
import com.hubspot.jinjava.doc.annotations.JinjavaSnippet;
import com.hubspot.jinjava.interpret.InterpretException;
import com.hubspot.jinjava.interpret.JinjavaInterp... | package com.hubspot.jinjava.lib.exptest;
import com.hubspot.jinjava.doc.annotations.JinjavaDoc;
import com.hubspot.jinjava.doc.annotations.JinjavaParam;
import com.hubspot.jinjava.doc.annotations.JinjavaSnippet;
import com.hubspot.jinjava.interpret.InterpretException;
import com.hubspot.jinjava.interpret.JinjavaInterp... | Convert more tabs to spaces to resolve errors | Convert more tabs to spaces to resolve errors
| Java | apache-2.0 | HubSpot/jinjava,HubSpot/jinjava,Mogztter/jinjava,Mogztter/jinjava,jaredstehler/jinjava,jaredstehler/jinjava |
53e97837afba384281072531ee8e8156fdc222e2 | modules/tasks/tasks/src/main/java/org/motechproject/tasks/osgi/ChannelServiceRegistrationListener.java | modules/tasks/tasks/src/main/java/org/motechproject/tasks/osgi/ChannelServiceRegistrationListener.java | package org.motechproject.tasks.osgi;
import org.eclipse.gemini.blueprint.service.exporter.OsgiServiceRegistrationListener;
import org.motechproject.tasks.service.ChannelService;
import org.osgi.framework.BundleContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.a... | package org.motechproject.tasks.osgi;
import org.eclipse.gemini.blueprint.service.exporter.OsgiServiceRegistrationListener;
import org.motechproject.tasks.service.ChannelService;
import org.osgi.framework.BundleContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.a... | Fix task channel registration when installing module from UI | Fix task channel registration when installing module from UI
I noticed that when we install a new module via UI, its
channel does not get registered. The reason for that is that when
entities bundle is getting restarted, what unregisters the ChannelService,
the ChannelService did not get registered back on, due to the... | Java | bsd-3-clause | smalecki/motech,LukSkarDev/motech,pgesek/motech,kmadej/motech,tstalka/motech,tectronics/motech,sebbrudzinski/motech,frankhuster/motech,kmadej/motech,kmadej/motech,justin-hayes/motech,ngraczewski/motech,LukSkarDev/motech,LukSkarDev/motech,jefeweisen/motech,adamkalmus/motech,jefeweisen/motech,pgesek/motech,justin-hayes/m... |
ccf9e97d5547b72982b43abfe6ecc9761efa94c2 | src/test/java/se/kits/gakusei/controller/CourseControllerTest.java | src/test/java/se/kits/gakusei/controller/CourseControllerTest.java | package se.kits.gakusei.controller;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.MockitoAnnotations;
import org.mockito.runners.MockitoJUnitRunner;
import org.springframework.http... | package se.kits.gakusei.controller;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.MockitoAnnotations;
import org.mockito.runners.MockitoJUnitRunner;
import org.springframework.http... | Change test names to follow convention | Change test names to follow convention
| Java | mit | kits-ab/gakusei,kits-ab/gakusei,kits-ab/gakusei |
e597a9ff70cb9f3b1b86b9d3dd519eefc37a1cb0 | backend/src/main/java/org/openmhealth/data/generator/service/FileSystemDataPointWritingServiceImpl.java | backend/src/main/java/org/openmhealth/data/generator/service/FileSystemDataPointWritingServiceImpl.java | /*
* Copyright 2014 Open mHealth
*
* 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 2014 Open mHealth
*
* 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 newline delimiters to filesystem writer and work around Jackson closing a writer it doesn't own. | Add newline delimiters to filesystem writer and work around Jackson closing a writer it doesn't own.
| Java | apache-2.0 | openmhealth/sample-data-generator,openmhealth/sample-data-generator |
c16475dad2afbde177508715c51f4421341951fe | src/com/pilot51/voicenotify/MainActivity.java | src/com/pilot51/voicenotify/MainActivity.java | package com.pilot51.voicenotify;
import android.content.Intent;
import android.os.Bundle;
import android.preference.Preference;
import android.preference.Preference.OnPreferenceClickListener;
import android.preference.PreferenceActivity;
public class MainActivity extends PreferenceActivity {
@Override
protected voi... | package com.pilot51.voicenotify;
import android.content.Intent;
import android.os.Bundle;
import android.preference.Preference;
import android.preference.PreferenceActivity;
public class MainActivity extends PreferenceActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedIn... | Fix crash in 1.6 at Accessibility settings intent. | Fix crash in 1.6 at Accessibility settings intent.
Check SDK version & launch intent differently for 1.6.
Instead of OnPreferenceClickListener, use .setIntent on preference.
| Java | apache-2.0 | pilot51/voicenotify |
03d817c853ccfdbe7cddf8103948bc342350907c | applicationinsights-android/src/main/java/com/microsoft/applicationinsights/logging/InternalLogging.java | applicationinsights-android/src/main/java/com/microsoft/applicationinsights/logging/InternalLogging.java | package com.microsoft.applicationinsights.logging;
import android.util.Log;
import com.microsoft.applicationinsights.library.ApplicationInsights;
public class InternalLogging {
private static final String PREFIX = InternalLogging.class.getPackage().getName();
private InternalLogging() {
//... | package com.microsoft.applicationinsights.logging;
import android.util.Log;
import com.microsoft.applicationinsights.library.ApplicationInsights;
public class InternalLogging {
private static final String PREFIX = InternalLogging.class.getPackage().getName();
private InternalLogging() {
//... | Add empty space to logging output | Add empty space to logging output
| Java | mit | Microsoft/ApplicationInsights-Android,tsdl2013/ApplicationInsights-Android,Microsoft/ApplicationInsights-Android,Microsoft/ApplicationInsights-Android,tsdl2013/ApplicationInsights-Android,tsdl2013/ApplicationInsights-Android |
28078cb22cde99650f39669819f683ba7cda5f2a | mockui-find/src/main/java/com/autonomy/abc/selenium/find/filters/ParametricFilterNode.java | mockui-find/src/main/java/com/autonomy/abc/selenium/find/filters/ParametricFilterNode.java | package com.autonomy.abc.selenium.find.filters;
import com.hp.autonomy.frontend.selenium.util.ElementUtil;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import java.util.List;
import static com.sun.xml.internal.ws.spi.db.BindingContextFactory.LOG... | package com.autonomy.abc.selenium.find.filters;
import com.hp.autonomy.frontend.selenium.util.ElementUtil;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import java.util.List;
public class ParametricFilterNode extends FilterNode {
Parametr... | Remove bad import to fix build | Remove bad import to fix build
| Java | mit | hpautonomy/find,hpautonomy/find,hpe-idol/find,hpe-idol/find,hpe-idol/find,hpautonomy/find,hpe-idol/java-powerpoint-report,hpe-idol/find,hpe-idol/java-powerpoint-report,hpautonomy/find,hpe-idol/find,hpautonomy/find |
52ec6e59fb34f50759d187edaecd77c7349d5b5f | org.ektorp/src/main/java/org/ektorp/http/IdleConnectionMonitor.java | org.ektorp/src/main/java/org/ektorp/http/IdleConnectionMonitor.java | package org.ektorp.http;
import java.util.concurrent.*;
import java.util.concurrent.atomic.*;
import org.apache.http.conn.*;
public class IdleConnectionMonitor {
private final static long DEFAULT_IDLE_CHECK_INTERVAL = 30;
private final static ScheduledExecutorService executorService = Executors.newScheduledThre... | package org.ektorp.http;
import java.lang.ref.WeakReference;
import java.util.concurrent.*;
import java.util.concurrent.atomic.*;
import org.apache.http.conn.*;
public class IdleConnectionMonitor {
private final static long DEFAULT_IDLE_CHECK_INTERVAL = 30;
private final static ScheduledExecutorService executor... | Fix memory leak in cleanup task | Fix memory leak in cleanup task
| Java | apache-2.0 | helun/Ektorp,YannRobert/Ektorp,taktik/Ektorp,maoueh/Ektorp,helun/Ektorp,maoueh/Ektorp,couchbaselabs/Ektorp,couchbaselabs/Ektorp,Arcticwolf/Ektorp,taktik/Ektorp,YannRobert/Ektorp,Arcticwolf/Ektorp |
6e4abfbfcc6ae88b96890689ff7d2955cbc8b3d4 | src/test/java/test/issues/strava/Issue67.java | src/test/java/test/issues/strava/Issue67.java | /**
*
*/
package test.issues.strava;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import java.util.Arrays;
import java.util.List;
import javastrava.api.v3.model.StravaComment;
import javastrava.api.v3.rest.API;
import javastrava.api.v3.rest.ActivityAPI;
import org.juni... | /**
*
*/
package test.issues.strava;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import java.util.Arrays;
import java.util.List;
import javastrava.api.v3.model.StravaComment;
import javastrava.api.v3.rest.API;
import javastrava.api.v3.rest.ActivityAPI;
import org.juni... | Enforce name conventions for test-created activities | Enforce name conventions for test-created activities | Java | apache-2.0 | danshannon/javastrava-test |
d8380a5157f4e361905363bf798122948234efc0 | resource-server/src/main/java/org/openmhealth/dsu/repository/CustomDataPointRepository.java | resource-server/src/main/java/org/openmhealth/dsu/repository/CustomDataPointRepository.java | /*
* Copyright 2014 Open mHealth
*
* 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 2014 Open mHealth
*
* 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 an insert method to the custom data point repository. | Add an insert method to the custom data point repository.
| Java | apache-2.0 | smalldatalab/omh-dsu,openmhealth/omh-dsu-ri,smalldatalab/omh-dsu,openmhealth/omh-dsu-ri,smalldatalab/omh-dsu,smalldatalab/omh-dsu |
96f095ed19b465ccf71930e7becb2de0686e3c4b | fabric-zookeeper-commands/src/main/java/org/fusesource/fabric/zookeeper/commands/List.java | fabric-zookeeper-commands/src/main/java/org/fusesource/fabric/zookeeper/commands/List.java | /**
* Copyright (C) 2011, FuseSource Corp. All rights reserved.
* http://fusesource.com
*
* The software in this package is published under the terms of the
* CDDL license a copy of which has been included with this distribution
* in the license.txt file.
*/
package org.fusesource.fabric.zookeeper.commands;
im... | /**
* Copyright (C) 2011, FuseSource Corp. All rights reserved.
* http://fusesource.com
*
* The software in this package is published under the terms of the
* CDDL license a copy of which has been included with this distribution
* in the license.txt file.
*/
package org.fusesource.fabric.zookeeper.commands;
im... | Improve list command to show values, to use / by default, etc | Improve list command to show values, to use / by default, etc
| Java | apache-2.0 | rajdavies/fabric8,mwringe/fabric8,joelschuster/fuse,mwringe/fabric8,ffang/fuse-1,sobkowiak/fabric8,jludvice/fabric8,dejanb/fuse,gashcrumb/fabric8,rnc/fabric8,punkhorn/fabric8,dejanb/fuse,chirino/fabric8,KurtStam/fabric8,PhilHardwick/fabric8,sobkowiak/fabric8,Jitendrakry/fuse,gnodet/fuse,janstey/fuse-1,jimmidyson/fabric... |
faee3d6f80584a96e0eb8a62a46e3e732189682a | robozonky-strategy-natural/src/main/java/com/github/robozonky/strategy/natural/GeneratedStrategyVerifier.java | robozonky-strategy-natural/src/main/java/com/github/robozonky/strategy/natural/GeneratedStrategyVerifier.java | package com.github.robozonky.strategy.natural;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.StandardCharsets;
/**
* Used for testing of strategies generated by natural-strategy-setup.
*/
public class GeneratedStrategyVerifier {
public stati... | /*
* Copyright 2017 The RoboZonky Project
*
* 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 ... | Bring the verifier up to code conventions | Bring the verifier up to code conventions
| Java | apache-2.0 | RoboZonky/robozonky,triceo/robozonky,RoboZonky/robozonky,triceo/robozonky,triceo/zonkybot,triceo/zonkybot |
823cb41dde8f28f188bbf314d5cd16e84da0e974 | engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/nLayout/area/impl/HtmlRegionArea.java | engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/nLayout/area/impl/HtmlRegionArea.java | /***********************************************************************
* Copyright (c) 2009 Actuate Corporation.
* 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) 2009 Actuate Corporation.
* 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
* ... | Fix T41937: NPE when render report with large line height and letter spacing styles in item | Fix T41937: NPE when render report with large line height and letter spacing styles in item
| Java | epl-1.0 | Charling-Huang/birt,rrimmana/birt-1,rrimmana/birt-1,rrimmana/birt-1,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,sguan-actuate/birt,sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,sguan-actuate/birt,sguan-actuate/birt,sguan-actuate/birt |
d42930c9ffcffdc47b7d33aa5cefae989111f850 | d04/d04s01/d04s01e03-task-executors/src/main/java/com/nokia/springboot/training/d04/s01/service/ProductService.java | d04/d04s01/d04s01e03-task-executors/src/main/java/com/nokia/springboot/training/d04/s01/service/ProductService.java | package com.nokia.springboot.training.d04.s01.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.concurrent.ListenableFuture;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ExecutionExceptio... | package com.nokia.springboot.training.d04.s01.service;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.concurrent.ListenableFuture;
import java.util.concurrent.Complet... | Use a logger instead of System.out, display the class name | [improve] Use a logger instead of System.out, display the class name
| Java | apache-2.0 | bogdansolga/nokia-spring-boot-training,bogdansolga/nokia-spring-boot-training |
0a2bc6bf8105841c34b45fbb4e8e43a6d4a2e34b | backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/GetConfigurationValueParameters.java | backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/queries/GetConfigurationValueParameters.java | package org.ovirt.engine.core.common.queries;
public class GetConfigurationValueParameters extends VdcQueryParametersBase {
private static final long serialVersionUID = -5889171970595969719L;
public GetConfigurationValueParameters(ConfigurationValues cVal) {
_configValue = cVal;
}
private Con... | package org.ovirt.engine.core.common.queries;
public class GetConfigurationValueParameters extends VdcQueryParametersBase {
private static final long serialVersionUID = -5889171970595969719L;
public GetConfigurationValueParameters(ConfigurationValues cVal) {
this(cVal, null);
}
private Config... | Change GetConfiguration query not to refresh session | common: Change GetConfiguration query not to refresh session
Bug-Url: https://bugzilla.redhat.com/1168842
Change-Id: I9ec8cb46e3fba206d9e1a93df9f985d5c2477fa8
Signed-off-by: Yair Zaslavsky <e2db7378c71f96998c1e6c0ce01fa87adf291bd0@redhat.com>
| Java | apache-2.0 | yingyun001/ovirt-engine,zerodengxinchao/ovirt-engine,yingyun001/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,yingyun001/ovirt-engine,yingyun001/ovirt-engine,walteryang47/ovirt-engine,eayun/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine,yingyun001/ovirt-engine,zerodengxinchao/ovirt-... |
66b88beec05a0bf6762f4c92a8646dfb732a6ed6 | ifs-web-service/ifs-front-door-service/src/test/java/org/innovateuk/ifs/competition/status/PublicContentStatusTextTest.java | ifs-web-service/ifs-front-door-service/src/test/java/org/innovateuk/ifs/competition/status/PublicContentStatusTextTest.java | package org.innovateuk.ifs.competition.status;
import org.junit.Assert;
import org.junit.Test;
public class PublicContentStatusTextTest {
PublicContentStatusText publicContentStatusText;
@Test
public void getPredicate() throws Exception {
}
@Test
public void getHeader() throws Exception {
... | package org.innovateuk.ifs.competition.status;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class PublicContentStatusTextTest {
PublicContentStatusText publicContentStatusText;
@Test
public void getHeader() throws Exception {
assertEquals("Closing soon", publicCont... | Update to PublicContentStatusText unit test. | Update to PublicContentStatusText unit test.
| Java | mit | InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service |
fbd5fa946dada2daa23c7174a09feb9668e2cc58 | src/main/java/org/monospark/actionpermissions/ActionPermissions.java | src/main/java/org/monospark/actionpermissions/ActionPermissions.java | package org.monospark.actionpermissions;
import org.spongepowered.api.plugin.Plugin;
@Plugin(id = "actionpermissions", name = "ActionPermissions", version = "1.0")
public class ActionPermissions {
}
| package org.monospark.actionpermissions;
import java.nio.file.Path;
import org.monospark.actionpermissions.config.ConfigParseException;
import org.monospark.actionpermissions.group.Group;
import org.monospark.actionpermissions.handler.ActionHandler;
import org.spongepowered.api.Sponge;
import org.spongepowered.api.co... | Load the group config on startup | Load the group config on startup | Java | mit | Monospark/ActionControl |
bb226f2b27f91a39bdc1db2db9c6e23664d3dd94 | src/upgrades/SpeedShotUpgrade.java | src/upgrades/SpeedShotUpgrade.java | package edu.stuy.starlorn.upgrades;
public class SpeedShotUpgrade extends GunUpgrade {
public SpeedShotUpgrade() {
super();
_name = "Speed Shot";
_description = "Shot Speed x 2!";
}
@Override
public double getShotSpeed(double shotspeed) {
return shotspeed * 2;
}
... | package edu.stuy.starlorn.upgrades;
public class SpeedShotUpgrade extends GunUpgrade {
public SpeedShotUpgrade() {
super();
_name = "Speed Shot";
_description = "Shot Speed x 2!";
}
@Override
public double getShotSpeed(double shotspeed) {
return shotspeed * 2;
}
... | Add a slight cooldown buff to speedshot to make it less crappy | Add a slight cooldown buff to speedshot to make it less crappy
| Java | mit | Hypersonic/Starlorn |
61c53b5c19cbe54179b018f885622a2878718251 | src/main/java/digital/loom/rhizome/authentication/CookieReadingAuth0AuthenticationFilter.java | src/main/java/digital/loom/rhizome/authentication/CookieReadingAuth0AuthenticationFilter.java | package digital.loom.rhizome.authentication;
import java.util.regex.Pattern;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import com.auth0.jwt.internal.org.apache.commons.lang3.StringUtils;
import com.auth0.spring.security.api.Auth0AuthenticationFilter;
import com.google.common.bas... | package digital.loom.rhizome.authentication;
import java.util.regex.Pattern;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletRequest;
import com.auth0.jwt.internal.org.apache.commons.lang3.StringUtils;
import com.auth0.spring.security.api.Auth0AuthenticationFilter;
import com.google.common.bas... | Fix NPE if no auth info provided | Fix NPE if no auth info provided
| Java | apache-2.0 | kryptnostic/rhizome,kryptnostic/rhizome |
9d0a5d5dfb78664010fa7cf79b177e2a19d3561c | app/src/main/java/com/veyndan/redditclient/post/mutator/Mutators.java | app/src/main/java/com/veyndan/redditclient/post/mutator/Mutators.java | package com.veyndan.redditclient.post.mutator;
import com.google.common.collect.ImmutableList;
import com.veyndan.redditclient.post.model.Post;
import java.util.List;
import rx.functions.Action1;
public final class Mutators {
/**
* All available mutator factories.
* <p>
* Note that the order of ... | package com.veyndan.redditclient.post.mutator;
import com.google.common.collect.ImmutableList;
import com.veyndan.redditclient.post.model.Post;
import java.util.List;
import rx.functions.Action1;
public final class Mutators {
/**
* All available mutator factories.
* <p>
* Note that the order of ... | Stop mutating a post after the first applicable mutation | Stop mutating a post after the first applicable mutation
| Java | mit | veyndan/paper-for-reddit,veyndan/paper-for-reddit,veyndan/reddit-client |
9642538b4ce6fa49579193585ee0c3769404258a | asm-monitor/src/main/java/com/ca/apm/swat/epaplugins/asm/har/Log.java | asm-monitor/src/main/java/com/ca/apm/swat/epaplugins/asm/har/Log.java | package com.ca.apm.swat.epaplugins.asm.har;
import org.eclipse.swt.browser.Browser;
public interface Log {
public String getVersion();
public Creator getCreator();
@OptionalItem
public Browser getBrowser();
@IterableClass(type = Page.class)
@OptionalItem
public Iterable<Page> getPages();
... | package com.ca.apm.swat.epaplugins.asm.har;
public interface Log {
public String getVersion();
public Creator getCreator();
@OptionalItem
public Browser getBrowser();
@IterableClass(type = Page.class)
@OptionalItem
public Iterable<Page> getPages();
@OptionalItem
@IterableClass(type ... | Remove the import org.eclipse.swt.browser.Browser - instead it shoult be the Browser interface that is in this package | Remove the import org.eclipse.swt.browser.Browser - instead it shoult be
the Browser interface that is in this package | Java | epl-1.0 | CA-APM/ca-apm-fieldpack-asm,CA-APM/ca-apm-fieldpack-asm |
7b8c0a30f03f4285883ad58586b7fc793783f8aa | gremlin-console/src/test/java/com/tinkerpop/gremlin/console/plugin/SugarGremlinPluginTest.java | gremlin-console/src/test/java/com/tinkerpop/gremlin/console/plugin/SugarGremlinPluginTest.java | package com.tinkerpop.gremlin.console.plugin;
import com.tinkerpop.gremlin.tinkergraph.structure.TinkerFactory;
import com.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph;
import org.codehaus.groovy.tools.shell.Groovysh;
import org.codehaus.groovy.tools.shell.IO;
import org.junit.Test;
import java.util.HashMap;
i... | package com.tinkerpop.gremlin.console.plugin;
import com.tinkerpop.gremlin.process.graph.GraphTraversal;
import com.tinkerpop.gremlin.tinkergraph.structure.TinkerFactory;
import org.codehaus.groovy.tools.shell.Groovysh;
import org.codehaus.groovy.tools.shell.IO;
import org.junit.Test;
import java.util.HashMap;
import... | Make travis happy - maybe. | Make travis happy - maybe.
| Java | apache-2.0 | krlohnes/tinkerpop,robertdale/tinkerpop,PommeVerte/incubator-tinkerpop,velo/incubator-tinkerpop,krlohnes/tinkerpop,dalaro/incubator-tinkerpop,mike-tr-adamson/incubator-tinkerpop,edgarRd/incubator-tinkerpop,apache/incubator-tinkerpop,Lab41/tinkerpop3,apache/tinkerpop,RedSeal-co/incubator-tinkerpop,gdelafosse/incubator-t... |
925306e213212ff25305786bf9c362f59cf98ed5 | library/src/com/litl/leveldb/NativeObject.java | library/src/com/litl/leveldb/NativeObject.java | package com.litl.leveldb;
import java.io.Closeable;
import java.util.concurrent.atomic.AtomicInteger;
abstract class NativeObject implements Closeable {
protected long mPtr;
private AtomicInteger mRefCount = new AtomicInteger();
protected NativeObject() {
// The Java wrapper counts as one referen... | package com.litl.leveldb;
import java.io.Closeable;
import java.util.concurrent.atomic.AtomicInteger;
import android.util.Log;
abstract class NativeObject implements Closeable {
private static final String TAG = NativeObject.class.getSimpleName();
protected long mPtr;
private AtomicInteger mRefCount = ne... | Add a warning if resources are leaked. | Add a warning if resources are leaked.
Print a warning if a NativeObject is finalized before its native
resource is closed
| Java | bsd-3-clause | litl/android-leveldb,michalliu/android-leveldb,litl/android-leveldb,michalliu/android-leveldb,michalliu/android-leveldb,michalliu/android-leveldb,litl/android-leveldb,michalliu/android-leveldb,litl/android-leveldb,litl/android-leveldb,michalliu/android-leveldb |
293cb712fa5ea9b509d132f030b68d7f9679e4eb | apps/BLEPotController/app/src/main/java/org/kikermo/blepotcontroller/activity/MainActivity.java | apps/BLEPotController/app/src/main/java/org/kikermo/blepotcontroller/activity/MainActivity.java | package org.kikermo.blepotcontroller.activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.SeekBar;
import android.widget.TextView;
import org.kikermo.blepotcontroller.R;
public class MainActivity extends AppCompatActivity implements SeekBar.OnSeekBarChangeListene... | package org.kikermo.blepotcontroller.activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.SeekBar;
import android.widget.TextView;
import org.kikermo.blepotcontroller.R;
public class MainActivity extends AppCompatActivity implements SeekBar.OnSeekBarChangeListene... | Add simple UI for first example | Add simple UI for first example
| Java | apache-2.0 | kikermo/PotsOverBLE |
6dc2f0793c4bc7e906aa5f93d64ff80d0c6a801c | common/src/test/java/dk/statsbiblioteket/doms/transformers/common/TrivialUuidFileReaderTest.java | common/src/test/java/dk/statsbiblioteket/doms/transformers/common/TrivialUuidFileReaderTest.java | package dk.statsbiblioteket.doms.transformers.common;
import junit.framework.TestCase;
import org.junit.Test;
import java.io.File;
import java.io.IOException;
import java.util.List;
/**
* Test file reader.
*/
public class TrivialUuidFileReaderTest extends TestCase {
@Test
public void testReadUuids() throws... | package dk.statsbiblioteket.doms.transformers.common;
import junit.framework.TestCase;
import org.junit.Test;
import java.io.File;
import java.io.IOException;
import java.util.List;
/**
* Test file reader.
*/
public class TrivialUuidFileReaderTest extends TestCase {
@Test
public void testReadUuids() throws... | Make test independent of current working directory | Make test independent of current working directory
| Java | apache-2.0 | statsbiblioteket/doms-transformers,statsbiblioteket/doms-transformers,statsbiblioteket/doms-transformers |
610a3d60ebbbbd207c5146257125c918fcb07464 | OpERP/src/main/java/devopsdistilled/operp/server/data/service/items/impl/CategoryServiceImpl.java | OpERP/src/main/java/devopsdistilled/operp/server/data/service/items/impl/CategoryServiceImpl.java | package devopsdistilled.operp.server.data.service.items.impl;
import javax.inject.Inject;
import org.springframework.stereotype.Service;
import devopsdistilled.operp.server.data.entity.items.Category;
import devopsdistilled.operp.server.data.repo.items.CategoryRepository;
import devopsdistilled.operp.server.data.ser... | package devopsdistilled.operp.server.data.service.items.impl;
import javax.inject.Inject;
import org.springframework.stereotype.Service;
import devopsdistilled.operp.server.data.entity.items.Category;
import devopsdistilled.operp.server.data.repo.items.CategoryRepository;
import devopsdistilled.operp.server.data.ser... | Correct logic for is isCategoryNameValidForCategory() | Correct logic for is isCategoryNameValidForCategory()
Long.equals(Long) isn't equals to (Long == Long)?
OPEN - task 54: Create Category CRUD packages
http://github.com/DevOpsDistilled/OpERP/issues/issue/54 | Java | mit | DevOpsDistilled/OpERP,njmube/OpERP |
9242fda718834e52f23ad391dc74e66b4da86aa3 | alien4cloud-core/src/main/java/alien4cloud/metaproperty/MetaPropertyAggregationBuilderHelper.java | alien4cloud-core/src/main/java/alien4cloud/metaproperty/MetaPropertyAggregationBuilderHelper.java | package alien4cloud.metaproperty;
import com.google.common.collect.Lists;
import org.elasticsearch.mapping.IFacetBuilderHelper;
import org.elasticsearch.mapping.TermsFilterBuilderHelper;
import org.elasticsearch.search.aggregations.AggregationBuilder;
import org.elasticsearch.search.aggregations.AggregationBuilders;
i... | package alien4cloud.metaproperty;
import com.google.common.collect.Lists;
import org.elasticsearch.index.query.ExistsQueryBuilder;
import org.elasticsearch.index.query.QueryBuilder;
import org.elasticsearch.index.query.QueryBuilders;
import org.elasticsearch.mapping.IFacetBuilderHelper;
import org.elasticsearch.mappin... | Fix for String MetaProps facet searches | Fix for String MetaProps facet searches
| Java | apache-2.0 | alien4cloud/alien4cloud,alien4cloud/alien4cloud,alien4cloud/alien4cloud,alien4cloud/alien4cloud |
c523a25baac4fade8b5b2588a836bdb2da24b958 | samples/wiremock-jetty/src/test/java/com/example/WiremockForDocsMockServerApplicationTests.java | samples/wiremock-jetty/src/test/java/com/example/WiremockForDocsMockServerApplicationTests.java | package com.example;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
import org.springframework.cloud.contract.... | package com.example;
import static org.assertj.core.api.Assertions.assertThat;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBootTest... | Fix test that missed a re-factor | Fix test that missed a re-factor
| Java | apache-2.0 | spring-cloud/spring-cloud-contract,spring-cloud/spring-cloud-contract,pfrank13/spring-cloud-contract,pfrank13/spring-cloud-contract,spring-cloud/spring-cloud-contract |
73e70a9527c55b28b2411d8dec01263d5be6f54d | src/com/sample/hba/LauncherActivity.java | src/com/sample/hba/LauncherActivity.java | package com.sample.hba;
import android.app.Activity;
import android.os.Bundle;
public class LauncherActivity extends Activity
{
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentVi... | package com.sample.hba;
import android.app.Activity;
import android.os.Bundle;
public class LauncherActivity extends Activity
{
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentVi... | Add a sample method with some Javadoc. | Add a sample method with some Javadoc.
| Java | apache-2.0 | twaddington/hello-build-automation |
e9b9e850dc43acb35bf5220c2e8c1b831e53acb5 | src/main/java/org/bitsofinfo/hazelcast/discovery/docker/swarm/DockerSwarmDiscoveryStrategyFactory.java | src/main/java/org/bitsofinfo/hazelcast/discovery/docker/swarm/DockerSwarmDiscoveryStrategyFactory.java | package org.bitsofinfo.hazelcast.discovery.docker.swarm;
import com.hazelcast.config.properties.PropertyDefinition;
import com.hazelcast.logging.ILogger;
import com.hazelcast.spi.discovery.DiscoveryNode;
import com.hazelcast.spi.discovery.DiscoveryStrategy;
import com.hazelcast.spi.discovery.DiscoveryStrategyFactory;
... | package org.bitsofinfo.hazelcast.discovery.docker.swarm;
import com.hazelcast.config.properties.PropertyDefinition;
import com.hazelcast.logging.ILogger;
import com.hazelcast.spi.discovery.DiscoveryNode;
import com.hazelcast.spi.discovery.DiscoveryStrategy;
import com.hazelcast.spi.discovery.DiscoveryStrategyFactory;
... | Add STRICT_DOCKER_SERVICE_NAME_COMPARISON to Collection of PropertyDefinition | Add STRICT_DOCKER_SERVICE_NAME_COMPARISON to Collection of PropertyDefinition
| Java | apache-2.0 | bitsofinfo/hazelcast-docker-swarm-discovery-spi |
cd7e6d59174a29c7f526242bfaef630ed331c9ed | appium/sample-scripts/java/src/test/java/com/testdroid/appium/ios/sample/IosAppiumExampleTest.java | appium/sample-scripts/java/src/test/java/com/testdroid/appium/ios/sample/IosAppiumExampleTest.java | package com.testdroid.appium.ios.sample;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import com.testdroid.appium.BaseIOSTest;
import java.util.concurrent.TimeUnit;
public... | package com.testdroid.appium.ios.sample;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import com.testdroid.appium.BaseIOSTest;
import java.util.concurrent.TimeUnit;
public... | Replace deprecated By.name locators with By.xpath | Replace deprecated By.name locators with By.xpath
| Java | apache-2.0 | piotr-kostecki-bitbar/testdroid-samples,LasseHall/testdroid-samples,aknackiron/testdroid-samples,aknackiron/testdroid-samples,aknackiron/testdroid-samples,LasseHall/testdroid-samples,LasseHall/testdroid-samples,sagge/testdroid-samples,LasseHall/testdroid-samples,sagge/testdroid-samples,piotr-kostecki-bitbar/testdroid-s... |
69fe94c17e841252b92fe8d8efbf6a6b2c741e9e | test-infra/src/main/java/com/datastax/oss/driver/api/testinfra/ccm/DefaultCcmBridgeBuilderCustomizer.java | test-infra/src/main/java/com/datastax/oss/driver/api/testinfra/ccm/DefaultCcmBridgeBuilderCustomizer.java | /*
* Copyright DataStax, 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 in wri... | /*
* Copyright DataStax, 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 in wri... | Enable SASI indexes when running mapper tests against C* 4 | Enable SASI indexes when running mapper tests against C* 4
| Java | apache-2.0 | datastax/java-driver,datastax/java-driver |
cfb49f8eb36e4c6166363712db3a226c2dbcd7ef | src/main/java/com/routeme/AppConfig.java | src/main/java/com/routeme/AppConfig.java | package common;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
@Configuration
@EnableAutoConfiguration
@ComponentScan
publ... | package com.routeme;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class AppConfig {
public static void main(String[] args) {
SpringApplication.run(AppConfig.class, args);
}
} | Simplify annotations with the all inclusive @SprintBootApplication | ROUT-4: Simplify annotations with the all inclusive @SprintBootApplication
| Java | apache-2.0 | heshamMassoud/RouteMe-API |
f46cc1d999ffada45307bed58010162d998daca6 | presentation/src/main/java/com/fernandocejas/android10/sample/presentation/view/activity/UserListActivity.java | presentation/src/main/java/com/fernandocejas/android10/sample/presentation/view/activity/UserListActivity.java | /**
* Copyright (C) 2014 android10.org. All rights reserved.
* @author Fernando Cejas (the android10 coder)
*/
package com.fernandocejas.android10.sample.presentation.view.activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.Window;
import com.fernan... | /**
* Copyright (C) 2014 android10.org. All rights reserved.
* @author Fernando Cejas (the android10 coder)
*/
package com.fernandocejas.android10.sample.presentation.view.activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.Window;
import com.fernan... | Remove unused initialization code from user list activity. | Remove unused initialization code from user list activity. | Java | apache-2.0 | sangupandi/Android-CleanArchitecture,icefoggy/Android-CleanArchitecture,xiaoshi316/Android-CleanArchitecture,bigant88/Android-CleanArchitecture,a19920714liou/Android-CleanArchitecture,mustafaguven/Android-CleanArchitecture,Ryfthink/Android-CleanArchitecture,sitexa/Android-CleanArchitecture,timvanginderen/Android-CleanA... |
2521b269cbcf74100fcc0a65b183d723ea94d635 | src/test/java/com/grayben/riskExtractor/htmlScorer/scorers/elementScorers/SegmentationElementScorerTest.java | src/test/java/com/grayben/riskExtractor/htmlScorer/scorers/elementScorers/SegmentationElementScorerTest.java | package com.grayben.riskExtractor.htmlScorer.scorers.elementScorers;
import com.grayben.riskExtractor.htmlScorer.scorers.Scorer;
import com.grayben.riskExtractor.htmlScorer.scorers.ScorerTest;
import org.jsoup.nodes.Element;
import org.jsoup.parser.Tag;
import org.junit.After;
import org.junit.Before;
import org.junit... | package com.grayben.riskExtractor.htmlScorer.scorers.elementScorers;
import com.grayben.riskExtractor.htmlScorer.scorers.Scorer;
import com.grayben.riskExtractor.htmlScorer.scorers.ScorerTest;
import org.jsoup.nodes.Element;
import org.jsoup.parser.Tag;
import org.junit.After;
import org.junit.Before;
import org.junit... | Align test with new base class | Align test with new base class
| Java | mit | grayben/10K-item-extractor,grayben/10K-item-extractor |
8208f619605e312a500c11470e9f4a4b08f182b6 | guice/webapp/src/main/java/com/peterphi/std/guice/web/rest/templating/thymeleaf/ThymeleafCurrentUserUtils.java | guice/webapp/src/main/java/com/peterphi/std/guice/web/rest/templating/thymeleaf/ThymeleafCurrentUserUtils.java | package com.peterphi.std.guice.web.rest.templating.thymeleaf;
import com.google.inject.Provider;
import com.peterphi.std.guice.common.auth.iface.CurrentUser;
import org.joda.time.DateTime;
import java.time.Instant;
import java.util.Date;
public class ThymeleafCurrentUserUtils
{
private final Provider<CurrentUser> p... | package com.peterphi.std.guice.web.rest.templating.thymeleaf;
import com.google.inject.Provider;
import com.peterphi.std.guice.common.auth.iface.CurrentUser;
import org.joda.time.DateTime;
import java.time.Instant;
import java.util.Date;
public class ThymeleafCurrentUserUtils
{
private final Provider<CurrentUser> p... | Allow currentUser.username, etc. from within templates (rather than currentUser.user.username) | Allow currentUser.username, etc. from within templates (rather than currentUser.user.username)
| Java | mit | petergeneric/stdlib,petergeneric/stdlib,petergeneric/stdlib |
24cb1d5a1531a95ccafeaf7c9badee24fc18ac1f | guvnor-webapp/src/main/java/org/drools/guvnor/client/widgets/decoratedgrid/CellHeightCalculatorImplMozilla.java | guvnor-webapp/src/main/java/org/drools/guvnor/client/widgets/decoratedgrid/CellHeightCalculatorImplMozilla.java | /*
* Copyright 2011 JBoss 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 JBoss 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 ... | Fix cosmetic issue on FF | dtable: Fix cosmetic issue on FF | Java | apache-2.0 | mbiarnes/guvnor,wmedvede/guvnor,psiroky/guvnor,baldimir/guvnor,Rikkola/guvnor,psiroky/guvnor,hxf0801/guvnor,baldimir/guvnor,yurloc/guvnor,Rikkola/guvnor,wmedvede/guvnor,etirelli/guvnor,adrielparedes/guvnor,Rikkola/guvnor,adrielparedes/guvnor,nmirasch/guvnor,mbiarnes/guvnor,hxf0801/guvnor,wmedvede/guvnor,kiereleaseuser/... |
fc6c716038aae9378334a857bdac2b726555230c | net.stickycode.mockwire/sticky-mockwire-guice2/src/test/java/net/stickycode/mockwire/guice2/MockwireTckTest.java | net.stickycode.mockwire/sticky-mockwire-guice2/src/test/java/net/stickycode/mockwire/guice2/MockwireTckTest.java | /**
* Copyright (c) 2010 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) 2010 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... | Cut down version of the full test suite pending scanning and configured support | Cut down version of the full test suite pending scanning and configured support | Java | apache-2.0 | tectronics/stickycode,walterDurin/stickycode,tectronics/stickycode,walterDurin/stickycode,walterDurin/stickycode,tectronics/stickycode |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.