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 |
|---|---|---|---|---|---|---|---|---|---|
c9cddc4e10b9a7d474eccf80efe968fb654b841b | sunshine-core/src/main/java/io/github/tatools/sunshine/core/SunshineSuitePrintable.java | sunshine-core/src/main/java/io/github/tatools/sunshine/core/SunshineSuitePrintable.java | package io.github.tatools.sunshine.core;
import java.util.List;
/**
* @author Dmytro Serdiuk (dmytro.serdiuk@gmail.com)
* @version $Id$
* @since 0.1
*/
public final class SunshineSuitePrintable implements SunshineSuite {
private final SunshineSuite sunshineSuite;
public SunshineSuitePrintable(SunshineSu... | package io.github.tatools.sunshine.core;
import java.util.List;
/**
* @author Dmytro Serdiuk (dmytro.serdiuk@gmail.com)
* @version $Id$
* @since 0.1
*/
public final class SunshineSuitePrintable implements SunshineSuite {
private final SunshineSuite sunshineSuite;
public SunshineSuitePrintable(SunshineSu... | Print found classes count and their names | Print found classes count and their names
Affects #16
| Java | apache-2.0 | tatools/sunshine,tatools/sunshine |
e10ea25b947329672325eaf7307d026c074de723 | src/main/java/info/u_team/u_team_core/util/registry/BlockDeferredRegister.java | src/main/java/info/u_team/u_team_core/util/registry/BlockDeferredRegister.java | package info.u_team.u_team_core.util.registry;
import java.util.function.Supplier;
import info.u_team.u_team_core.api.registry.IUBlockRegistryType;
import net.minecraft.block.Block;
import net.minecraft.item.*;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.eventbus.api.IEventBus;
import net.mi... | package info.u_team.u_team_core.util.registry;
import java.util.function.Supplier;
import info.u_team.u_team_core.api.registry.IUBlockRegistryType;
import net.minecraft.block.Block;
import net.minecraft.item.*;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.eventbus.api.IEventBus;
import net.mi... | Remove unused item deferred register in block deferred register | Remove unused item deferred register in block deferred register | Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
c967a82bed6905aed8b0e0ab5bae3cb45ca8c628 | tensorflow/lite/java/src/test/java/org/tensorflow/lite/TensorFlowLiteTest.java | tensorflow/lite/java/src/test/java/org/tensorflow/lite/TensorFlowLiteTest.java | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | Fix brittle TFLite Java version test | Fix brittle TFLite Java version test
Mirror the native TF test for version checking.
PiperOrigin-RevId: 305948727
Change-Id: I18169d0a1b6b0deaefed7984237ea76481c2c59b
| Java | apache-2.0 | Intel-tensorflow/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_saved_model,yongtang/tensorflow,freedomtan/tensorflow,davidzchen/tensorflow,paolodedios/tensorflow,annarev/tensorflow,sa... |
593173208354cff5d4a3ff9125b52790e9b8fc24 | skyve-ee/src/skyve/modules/admin/User/actions/New.java | skyve-ee/src/skyve/modules/admin/User/actions/New.java | package modules.admin.User.actions;
import modules.admin.domain.Contact;
import modules.admin.domain.Contact.ContactType;
import modules.admin.domain.User;
import modules.admin.domain.User.WizardState;
import org.skyve.metadata.controller.ServerSideAction;
import org.skyve.metadata.controller.ServerSideActionResult;
... | package modules.admin.User.actions;
import org.skyve.metadata.controller.ServerSideAction;
import org.skyve.metadata.controller.ServerSideActionResult;
import org.skyve.web.WebContext;
import modules.admin.domain.Contact;
import modules.admin.domain.Contact.ContactType;
import modules.admin.domain.User;
import module... | Remove confusing contact name placeholder value during new user creation. | Remove confusing contact name placeholder value during new user creation.
| Java | lgpl-2.1 | skyvers/skyve,skyvers/wildcat,skyvers/skyve,skyvers/wildcat,skyvers/wildcat,skyvers/skyve,skyvers/skyve,skyvers/skyve,skyvers/skyve,skyvers/skyve,skyvers/wildcat,skyvers/wildcat |
bc3914579d1550d4a9d10b995db935c60d472f79 | src/integration_test/java/info/u_team/u_team_test/integration/TestIntegrationCall.java | src/integration_test/java/info/u_team/u_team_test/integration/TestIntegrationCall.java | package info.u_team.u_team_test.integration;
import org.apache.logging.log4j.*;
import info.u_team.u_team_core.api.integration.*;
@Integration("uteamcore")
public class TestIntegrationCall implements IModIntegration {
public static final Logger LOGGER = LogManager.getLogger("IntegrationCall");
static {
LOGGE... | package info.u_team.u_team_test.integration;
import org.apache.logging.log4j.*;
import info.u_team.u_team_core.api.integration.*;
import info.u_team.u_team_test.TestMod;
@Integration(modid = TestMod.MODID, integration = "uteamcore")
public class TestIntegrationCall implements IModIntegration {
public static final... | Add the new modid field in the integration call | Add the new modid field in the integration call | Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
38dc757b4284b50549b86fbac5e7f5a91f467bd7 | src/edu/stuy/commands/DriveManualJoystickControl.java | src/edu/stuy/commands/DriveManualJoystickControl.java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.stuy.commands;
import edu.wpi.first.wpilibj.Compressor;
import java.lang.Math;
/**
*
* @author Kevin Wang
*/
public class DriveManualJoystickControl extends CommandBase {
public DriveManualJoyst... | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.stuy.commands;
import edu.wpi.first.wpilibj.Compressor;
import java.lang.Math;
/**
*
* @author Kevin Wang
*/
public class DriveManualJoystickControl extends CommandBase {
public DriveManualJoyst... | Remove compressor disablement while driving | Remove compressor disablement while driving
| Java | bsd-3-clause | Team694/joebot |
399e1090967d8ecfa59da2119f83ed23b413f50d | src/test/java/by/triumgroup/recourse/supplier/entity/model/EntityIntegerPKSupplier.java | src/test/java/by/triumgroup/recourse/supplier/entity/model/EntityIntegerPKSupplier.java | package by.triumgroup.recourse.supplier.entity.model;
import by.triumgroup.recourse.entity.model.BaseEntity;
import org.springframework.data.util.Pair;
public interface EntityIntegerPKSupplier<E extends BaseEntity<Integer>> extends EntitySupplier<E, Integer>{
@Override
default Integer getAnyId(){
retu... | package by.triumgroup.recourse.supplier.entity.model;
import by.triumgroup.recourse.entity.model.BaseEntity;
import org.springframework.data.util.Pair;
import java.util.Random;
public interface EntityIntegerPKSupplier<E extends BaseEntity<Integer>> extends EntitySupplier<E, Integer>{
@Override
default Intege... | Add random id generating for tests | Add random id generating for tests
| Java | mit | TriumGroup/ReCourse,TriumGroup/ReCourse,TriumGroup/ReCourse |
eac323a711796de5e21cfba11f4bfa576e4f00d3 | core/src/com/galvarez/ttw/model/components/Diplomacy.java | core/src/com/galvarez/ttw/model/components/Diplomacy.java | package com.galvarez.ttw.model.components;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.Map;
import com.artemis.Component;
import com.artemis.Entity;
import com.galvarez.ttw.model.DiplomaticSystem.Action;
import com.galvarez.ttw.model.DiplomaticSystem.State;
public final class Diplomacy exten... | package com.galvarez.ttw.model.components;
import java.util.ArrayList;
import java.util.EnumSet;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import com.artemis.Component;
import com.artemis.Entity;
import com.galvarez.ttw.model.DiplomaticSystem.Action;
import com... | Add helper method to get all the empires we have some relation with. | Add helper method to get all the empires we have some relation with. | Java | lgpl-2.1 | guillaume-alvarez/ShapeOfThingsThatWere |
c0fbca61ad5d5b95e7fa64eee0be4b7c7bd0833d | navigation/integration-tests/safeargs-testapp/src/main/java/androidx/navigation/Foo.java | navigation/integration-tests/safeargs-testapp/src/main/java/androidx/navigation/Foo.java | /*
* Copyright 2019 The Android Open Source 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 applica... | /*
* Copyright 2019 The Android Open Source 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 applica... | Update language to comply with Android's inclusive language guidance | Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference
BUG=161896447
Test: ./gradlew bOS
Change-Id: I3479185e782542fc3d5164ba00c04888806e0068
| Java | apache-2.0 | androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/andro... |
a8f7d3fddd9012bd48f9ba2b0248f22552c8915b | mobile/src/main/java/com/wakatime/android/support/log/CrashlyticsTree.java | mobile/src/main/java/com/wakatime/android/support/log/CrashlyticsTree.java | package com.wakatime.android.support.log;
import android.util.Log;
import com.crashlytics.android.Crashlytics;
import timber.log.Timber;
/**
* @author Joao Pedro Evangelista
*/
public class CrashlyticsTree extends Timber.Tree {
private static String formatMessage(String message, Throwable throwable) {
... | package com.wakatime.android.support.log;
import android.util.Log;
import com.crashlytics.android.Crashlytics;
import timber.log.Timber;
/**
* @author Joao Pedro Evangelista
*/
public class CrashlyticsTree extends Timber.Tree {
private static String formatMessage(String message, Throwable throwable) {
... | Make Crashlytics Tree handle only errors | Make Crashlytics Tree handle only errors
| Java | apache-2.0 | joaoevangelista/wakatime-android-client,joaoevangelista/wakatime-android-client |
5ad13b3321de06f72dbf87840360e2d09f66ed74 | src/main/java/com/jmb/springfactory/service/productionschedule/ProductionScheduleServiceImpl.java | src/main/java/com/jmb/springfactory/service/productionschedule/ProductionScheduleServiceImpl.java | package com.jmb.springfactory.service.productionschedule;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.jmb.springfactory.dao.GenericMySQLService;
import com.jmb.springfactory.dao.productionschedule.ProductionScheduleMySQLService;
import com.j... | package com.jmb.springfactory.service.productionschedule;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.jmb.springfactory.dao.GenericMySQLService;
import com.jmb.springfactory.dao.productionschedule.ProductionScheduleMySQLService;
import com.j... | Set schedule status as OPEN when it is created | Set schedule status as OPEN when it is created
| Java | apache-2.0 | JuanmaBM/Spring-Factory |
0faec47ffceada0c9909fb28e794366f752d5fe5 | src/test/java/com/github/valfirst/jbehave/junit/monitoring/IgnoredTestsTest.java | src/test/java/com/github/valfirst/jbehave/junit/monitoring/IgnoredTestsTest.java | package com.github.valfirst.jbehave.junit.monitoring;
import org.junit.Ignore;
import org.junit.Test;
import static org.junit.Assert.assertTrue;
/**
* Class IgnoredTestsTest.
*
* The purpose of this class is to see how an IDE behaves when there is a unit test that passes and a test is ignored.
*
* The result in... | package com.github.valfirst.jbehave.junit.monitoring;
import org.junit.Ignore;
import org.junit.Test;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
/**
* Class IgnoredTestsTest.
*
* The purpose of this class is to see how an IDE behaves when there is a unit test that passes and a... | Use Assert.fail instead of Assert.assertTrue(false) | Use Assert.fail instead of Assert.assertTrue(false)
| Java | mit | valfirst/jbehave-junit-runner,codecentric/jbehave-junit-runner |
fb0774f1838552fe450351325e6e1330442c8962 | src/main/java/App.java | src/main/java/App.java | import parse.GreetParser;
public class App {
public String getGreeting() {
return "Hello world.";
}
/**
* Main entry point to G2Tutorial.
*
* @param args commandline arguments
*/
public static void main(String[] args) {
if (args.length > 0 && args[0].equals("greet")) {
GreetParser p... | import backend.Core;
import java.io.IOException;
import parse.GreetParser;
public class App {
public String getGreeting() {
return "Hello world.";
}
/**
* Main entry point to G2Tutorial.
*
* @param args commandline arguments
*/
public static void main(String[] args) {
if (args.length < 1)... | Add init as a command | Add init as a command
resolves #5
| Java | epl-1.0 | ECSE456-G29/Untitled |
2c09c06a4d6fafe77fca64763c0201c0eba31e4b | ReactAndroid/src/main/java/com/facebook/react/fabric/ReactNativeConfig.java | ReactAndroid/src/main/java/com/facebook/react/fabric/ReactNativeConfig.java | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.fabric;
// This is a wrapper for the ReactNativeConfig object in C++
public interface ReactNativeConfig... | /**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.fabric;
// This is a wrapper for the ReactNativeConfig object in C++
public interface ReactNativeConfig... | Enable support for using new MobileConfigNativeModule in RN Core/Fabric C++ | Enable support for using new MobileConfigNativeModule in RN Core/Fabric C++
Summary: Enable support for using new MobileConfigNativeModule in RN Core/Fabric C++. Hack will be removed as part of T40273916 once MobileConfigNativeModule has rolled out to 100% of users and FbReactMobileConfigModule has been removed.
Revi... | Java | mit | myntra/react-native,arthuralee/react-native,hammerandchisel/react-native,javache/react-native,janicduplessis/react-native,exponent/react-native,janicduplessis/react-native,myntra/react-native,janicduplessis/react-native,facebook/react-native,arthuralee/react-native,hoangpham95/react-native,facebook/react-native,hoangph... |
c6ab795d746b335b2d6cc397df6b4949e38cf423 | plugin/trino-mongodb/src/test/java/io/trino/plugin/mongodb/MongoServer.java | plugin/trino-mongodb/src/test/java/io/trino/plugin/mongodb/MongoServer.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... | Increase startup attempts from 1 to 3 in MongoDB container | Increase startup attempts from 1 to 3 in MongoDB container
| Java | apache-2.0 | dain/presto,dain/presto,dain/presto,dain/presto,smartnews/presto,smartnews/presto,Praveen2112/presto,ebyhr/presto,smartnews/presto,Praveen2112/presto,ebyhr/presto,smartnews/presto,ebyhr/presto,ebyhr/presto,Praveen2112/presto,Praveen2112/presto,smartnews/presto,ebyhr/presto,dain/presto,Praveen2112/presto |
db9abedae4a59f6a4d470dc783e0d3bae19cc8ec | app/src/main/java/com/sys1yagi/databindingsample/databinding/ImageLoadAdapter.java | app/src/main/java/com/sys1yagi/databindingsample/databinding/ImageLoadAdapter.java | package com.sys1yagi.databindingsample.databinding;
import com.squareup.picasso.Picasso;
import com.sys1yagi.databindingsample.tools.RoundedCornerTransformation;
import android.content.Context;
import android.databinding.BindingAdapter;
import android.widget.ImageView;
public class ImageLoadAdapter {
@BindingAd... | package com.sys1yagi.databindingsample.databinding;
import com.squareup.picasso.Picasso;
import com.sys1yagi.databindingsample.tools.RoundedCornerTransformation;
import android.content.Context;
import android.databinding.BindingAdapter;
import android.widget.ImageView;
public class ImageLoadAdapter {
@BindingAd... | Revert namespace. Should write to distinguish the android namespace. | Revert namespace. Should write to distinguish the android namespace.
| Java | apache-2.0 | yetone/data-binding-sample,sys1yagi/data-binding-sample,tomoima525/data-binding-sample |
53d84558c8e755e8cf956bafd14e2dc73ed9572c | bundles/jcr/oak-server/src/main/java/org/apache/sling/oak/server/package-info.java | bundles/jcr/oak-server/src/main/java/org/apache/sling/oak/server/package-info.java | /**
* Contains in implementation of a SlingRepository based on Apache Oak.
* The package is not exported.
*/
package org.apache.sling.oak.server;
| /*
* 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 SF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may... | Add missing license headers to org.apache.sling.jcr.oak.server | Add missing license headers to org.apache.sling.jcr.oak.server
git-svn-id: 6eed74fe9a15c8da84b9a8d7f2960c0406113ece@1668819 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | klcodanr/sling,mikibrv/sling,sdmcraft/sling,anchela/sling,Nimco/sling,Nimco/sling,tteofili/sling,plutext/sling,plutext/sling,sdmcraft/sling,nleite/sling,ffromm/sling,labertasch/sling,trekawek/sling,trekawek/sling,JEBailey/sling,mikibrv/sling,Sivaramvt/sling,labertasch/sling,ffromm/sling,mcdan/sling,cleliameneghin/sling... |
774e9807e653371cd7ac0e24b4e3f8528d7ece11 | app/src/main/java/zero/zd/zquestionnaire/MainActivity.java | app/src/main/java/zero/zd/zquestionnaire/MainActivity.java | package zero.zd.zquestionnaire;
import android.os.Bundle;
import android.os.Environment;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import java.io.File;
public class MainActivity extends AppCompatActivity {
private static final String TAG = MainActivity.c... | package zero.zd.zquestionnaire;
import android.os.Bundle;
import android.os.Environment;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.View;
import java.io.File;
public class MainActivity extends AppCompatActivity {
private static final String TAG = MainActivity.c... | Add Logs on Files Creation of Folders | :speaker: Add Logs on Files Creation of Folders
| Java | mit | zd-zero/ZQuestionnaire |
8d50dbba17b305d8082f8906b150ea99488bc9c0 | d02/d02s04/src/main/java/net/safedata/springboot/training/d02/s04/exceptions/ExceptionHandlers.java | d02/d02s04/src/main/java/net/safedata/springboot/training/d02/s04/exceptions/ExceptionHandlers.java | package net.safedata.springboot.training.d02.s04.exceptions;
import net.safedata.springboot.training.d02.s04.dto.MessageDTO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.w... | package net.safedata.springboot.training.d02.s04.exceptions;
import net.safedata.springboot.training.d02.s04.dto.MessageDTO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.w... | Use the specifiers in the JCC order | [clean] Use the specifiers in the JCC order
| Java | apache-2.0 | bogdansolga/spring-boot-training,bogdansolga/spring-boot-training |
ac7e27dfa92266e31527e7c61c37badbba2d5458 | LoC/src/bogush/LineCounter.java | LoC/src/bogush/LineCounter.java | package bogush;
import java.io.*;
import java.nio.file.Path;
class LineCounter {
static int count(Path file) throws IOException {
try (InputStream is = new BufferedInputStream(new FileInputStream(file.toFile()))) {
boolean empty = true;
byte bytes[] = new byte[1024];
in... | package bogush;
import java.io.*;
import java.nio.file.Path;
class LineCounter {
static int count(Path file) throws IOException {
try (InputStream is = new BufferedInputStream(new FileInputStream(file.toFile()))) {
boolean empty = true;
byte bytes[] = new byte[1024];
in... | Fix to count 0 on empty files and (amount of line-breaks + 1) on non-empty files | Fix to count 0 on empty files and (amount of line-breaks + 1) on non-empty files
| Java | mit | RoyPy/15201-bogush |
f2d8db51f14386c5833d992691d12058c45da612 | android/src/main/java/com/rt2zz/reactnativecontacts/ReactNativeContacts.java | android/src/main/java/com/rt2zz/reactnativecontacts/ReactNativeContacts.java | package com.rt2zz.reactnativecontacts;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.JavaScriptModule;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
import java.util.ArrayList;
import... | package com.rt2zz.reactnativecontacts;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.JavaScriptModule;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
import java.util.ArrayList;
import... | Fix Compilation Error in React Native 0.47.0 | Fix Compilation Error in React Native 0.47.0 | Java | mit | rt2zz/react-native-contacts,rt2zz/react-native-contacts,rt2zz/react-native-contacts,rt2zz/react-native-contacts |
62af7e0646040c1709980d3dd0f775493967ea3a | concepts/src/main/java/org/opendaylight/yangtools/concepts/Registration.java | concepts/src/main/java/org/opendaylight/yangtools/concepts/Registration.java | /*
* Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
packa... | /*
* Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
package org.... | Add registration interface contract definition | Add registration interface contract definition
This clarifies the contractual details of Registration interface.
Notably it clarifies that the close() method is non-blocking.
Change-Id: Ie898c4ae2baf40c6d40e83a583f5046a9c1e0d84
Signed-off-by: Robert Varga <b8bd3df785fdc0ff42dd1710c5d91998513c57ef@cisco.com>
| Java | epl-1.0 | opendaylight/yangtools,opendaylight/yangtools,NovusTheory/yangtools,522986491/yangtools |
0c682b0051e0b94823611c2f45c8087ced237798 | WahrDiscordApi/src/main/java/co/phoenixlab/discord/api/endpoints/UsersEndpoint.java | WahrDiscordApi/src/main/java/co/phoenixlab/discord/api/endpoints/UsersEndpoint.java | /*
* The MIT License (MIT)
*
* Copyright (c) 2016 Vincent Zhang/PhoenixLAB
*
* 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 u... | /*
* The MIT License (MIT)
*
* Copyright (c) 2016 Vincent Zhang/PhoenixLAB
*
* 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 u... | Add endpoint for updating own presence | Add endpoint for updating own presence
| Java | mit | vincentzhang96/WahrBot |
2a1daf806d87f20213613b0b06a40ef1b0743ce0 | asdi-resources/src/main/java/flyway/asdistats/V1_0__add_statsgrid_to_geoportal.java | asdi-resources/src/main/java/flyway/asdistats/V1_0__add_statsgrid_to_geoportal.java | package flyway.asdistats;
import fi.nls.oskari.domain.map.view.Bundle;
import org.flywaydb.core.api.migration.BaseJavaMigration;
import org.flywaydb.core.api.migration.Context;
import org.oskari.helpers.AppSetupHelper;
/**
* Add statsgrid bundle to views that don't have it.
*/
public class V1_0__add_statsgrid_to_ge... | package flyway.asdistats;
import org.flywaydb.core.api.migration.BaseJavaMigration;
import org.flywaydb.core.api.migration.Context;
import org.oskari.helpers.AppSetupHelper;
/**
* Add statsgrid bundle to views that don't have it.
*/
public class V1_0__add_statsgrid_to_geoportal extends BaseJavaMigration {
publ... | Use string version so we dont need import | Use string version so we dont need import
| Java | mit | arctic-sdi/oskari-server-extensions,arctic-sdi/oskari-server-extensions |
5333efcced4cf88ce29bf0c41138d1774f1fafbf | org.spoofax.jsglr2.integration/src/main/java/org/spoofax/jsglr2/testset/TestSetInput.java | org.spoofax.jsglr2.integration/src/main/java/org/spoofax/jsglr2/testset/TestSetInput.java | package org.spoofax.jsglr2.testset;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import java.util.Scanner;
import org.spoofax.jsglr2.testset.testinput.TestInput;
public abstract class TestSetInput<ContentType, Input extends TestInput<ContentType>> {
public enum Type {
S... | package org.spoofax.jsglr2.testset;
import java.io.IOException;
import java.io.InputStream;
import java.util.List;
import java.util.Scanner;
import org.spoofax.jsglr2.testset.testinput.TestInput;
public abstract class TestSetInput<ContentType, Input extends TestInput<ContentType>> {
public enum Type {
S... | Replace unicode characters in benchmark data | Replace unicode characters in benchmark data
| Java | apache-2.0 | metaborg/jsglr,metaborg/jsglr,metaborg/jsglr,metaborg/jsglr |
6946b0951e03821c0ca8a9380b45b7905a999488 | src/main/java/org/cyclops/cyclopscore/metadata/RegistryExportableItemTranslationKeys.java | src/main/java/org/cyclops/cyclopscore/metadata/RegistryExportableItemTranslationKeys.java | package org.cyclops.cyclopscore.metadata;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.registries.ForgeRegistries;
/**
* Item translation key exporter.
*... | package org.cyclops.cyclopscore.metadata;
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.registries.ForgeRegistries;
/**
* Item translation key exporter.
*... | Fix incorrect translation key metadata export | Fix incorrect translation key metadata export
| Java | mit | CyclopsMC/CyclopsCore |
33fee0267cab6204d58bc5bd3b85b8101aac12e8 | org.eclipse.dawnsci.analysis.api/src/org/eclipse/dawnsci/analysis/api/processing/IOperationBean.java | org.eclipse.dawnsci.analysis.api/src/org/eclipse/dawnsci/analysis/api/processing/IOperationBean.java | /*-
* Copyright 2016 Diamond Light Source Ltd.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.eclips... | /*-
* Copyright 2016 Diamond Light Source Ltd.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*/
package org.eclips... | Change persistence to processing for clarity | Change persistence to processing for clarity
Signed-off-by: Jacob Filik <3a868c14e39a7f9b8bacb473ae15a5c5ce613b42@diamond.ac.uk> | Java | epl-1.0 | eclipse/dawnsci,belkassaby/dawnsci,jamesmudd/dawnsci,DawnScience/dawnsci,jamesmudd/dawnsci,jamesmudd/dawnsci,xen-0/dawnsci |
b2b6dd8646fb7f37451ece00aaa6aef1bd631211 | src/main/java/com/mangopay/entities/subentities/PayInPaymentDetailsDirectDebit.java | src/main/java/com/mangopay/entities/subentities/PayInPaymentDetailsDirectDebit.java | package com.mangopay.entities.subentities;
import com.mangopay.core.Dto;
import com.mangopay.core.interfaces.IPayInPaymentDetails;
import com.mangopay.core.enumerations.DirectDebitType;
/**
* Class representing the Direct-Debit type for mean of payment in PayIn entity.
*/
public class PayInPaymentDetailsDirectDebit... | package com.mangopay.entities.subentities;
import com.mangopay.core.Dto;
import com.mangopay.core.interfaces.IPayInPaymentDetails;
import com.mangopay.core.enumerations.DirectDebitType;
/**
* Class representing the Direct-Debit type for mean of payment in PayIn entity.
*/
public class PayInPaymentDetailsDirectDebit... | Add StatementDescriptor field for direct debits | Add StatementDescriptor field for direct debits | Java | mit | Mangopay/mangopay2-java-sdk,Mangopay/mangopay2-java-sdk |
777de997d53cefc96305f87919c20d0ceba1788b | src/main/java/in/twizmwaz/cardinal/module/modules/appliedRegion/type/UseRegion.java | src/main/java/in/twizmwaz/cardinal/module/modules/appliedRegion/type/UseRegion.java | package in.twizmwaz.cardinal.module.modules.appliedRegion.type;
import in.twizmwaz.cardinal.module.modules.appliedRegion.AppliedRegion;
import in.twizmwaz.cardinal.module.modules.filter.FilterModule;
import in.twizmwaz.cardinal.module.modules.filter.FilterState;
import in.twizmwaz.cardinal.module.modules.regions.Regio... | package in.twizmwaz.cardinal.module.modules.appliedRegion.type;
import in.twizmwaz.cardinal.module.modules.appliedRegion.AppliedRegion;
import in.twizmwaz.cardinal.module.modules.filter.FilterModule;
import in.twizmwaz.cardinal.module.modules.filter.FilterState;
import in.twizmwaz.cardinal.module.modules.regions.Regio... | Fix use regions cancelling interaction with blocks | Fix use regions cancelling interaction with blocks
| Java | mit | dentmaged/CardinalPGM,dentmaged/Cardinal-Plus,twizmwazin/CardinalPGM,Electroid/ExperimentalPGM,dentmaged/CardinalPGM,SungMatt/CardinalPGM,TheMolkaPL/CardinalPGM,Pablete1234/CardinalPGM,dentmaged/Cardinal-Dev,Alan736/NotCardinalPGM,iPGz/CardinalPGM,angelitorb99/CardinalPGM,TheMolkaPL/CardinalPGM,Electroid/ExperimentalPG... |
9c1728416cf6773e510fc8c8843055189e1b03a4 | public/java/test/org/broadinstitute/sting/gatk/walkers/CNV/SymbolicAllelesIntegrationTest.java | public/java/test/org/broadinstitute/sting/gatk/walkers/CNV/SymbolicAllelesIntegrationTest.java | package org.broadinstitute.sting.gatk.walkers.CNV;
import org.broadinstitute.sting.WalkerTest;
import org.testng.annotations.Test;
import java.util.Arrays;
public class SymbolicAllelesIntegrationTest extends WalkerTest {
public static String baseTestString(String reference, String VCF) {
return "-T Comb... | package org.broadinstitute.sting.gatk.walkers.CNV;
import org.broadinstitute.sting.WalkerTest;
import org.testng.annotations.Test;
import java.util.Arrays;
public class SymbolicAllelesIntegrationTest extends WalkerTest {
public static String baseTestString(String reference, String VCF) {
return "-T Comb... | Revert "Updating md5 for fixed file" because this was fixed properly in unstable (but will break SnpEff if put into Stable). | Revert "Updating md5 for fixed file" because this was fixed properly in unstable (but will break SnpEff if put into Stable).
This reverts commit 6b4182c6ab3e214da4c73bc6f3687ac6d1c0b72c.
| Java | mit | iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller... |
769cea653b2f3154f4c2497fc3c9606db2c77c4c | OpERP/src/main/java/devopsdistilled/operp/server/data/repo/items/ItemRepository.java | OpERP/src/main/java/devopsdistilled/operp/server/data/repo/items/ItemRepository.java | package devopsdistilled.operp.server.data.repo.items;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import devopsdistilled.operp.server.data.entity.items.Brand;
import devopsdistilled.operp.server.data.entity.items.Item;
import ... | package devopsdistilled.operp.server.data.repo.items;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import devopsdistilled.operp.server.data.entity.items.Brand;
import devopsdistilled.operp.server.data.entity.items.Item;
import devopsdistilled.operp.se... | Change return type of declared method to new unique constraints | Change return type of declared method to new unique constraints
OPEN - task 32: Add "Create Item" functionalities
http://github.com/DevOpsDistilled/OpERP/issues/issue/32 | Java | mit | njmube/OpERP,DevOpsDistilled/OpERP |
8e31e0e7feabbaa6cc974126ce97937cb53ab7e3 | src/test/java/com/nulabinc/backlog4j/internal/json/AbstractJSONImplTest.java | src/test/java/com/nulabinc/backlog4j/internal/json/AbstractJSONImplTest.java | package com.nulabinc.backlog4j.internal.json;
import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.TimeZone;
/**
* @author nulab-inc
*/
public abstract class AbstractJSONImplTest {
protected InternalFactoryJSONImpl factor... | package com.nulabinc.backlog4j.internal.json;
import java.io.CharArrayWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.TimeZone;
/**
* @author nulab-inc
*/
public abstract class AbstractJSONImplTest {
protected InternalFactoryJSONImpl factory = new InternalFactoryJSONImpl(... | Fix to work in Windows | Fix to work in Windows
https://github.com/nulab/backlog4j/issues/49 | Java | mit | nulab/backlog4j |
3ca33b43dddcf6addc4241cb58e1bdd313ea91a3 | src/main/java/io/gravitee/repository/model/Member.java | src/main/java/io/gravitee/repository/model/Member.java | /**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* 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 requ... | /**
* Copyright (C) 2015 The Gravitee team (http://gravitee.io)
*
* 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 requ... | Add created_at and updated_at fields | feat(membership): Add created_at and updated_at fields
| Java | apache-2.0 | gravitee-io/gravitee-repository |
3ef747eca9e3a22507e196aa41cb03fa11173477 | src/main/com/faveset/khttp/InvalidRequestException.java | src/main/com/faveset/khttp/InvalidRequestException.java | // Copyright 2014, Kevin Ko <kevin@faveset.com>
package com.faveset.khttp;
class InvalidRequestException extends Exception {
public InvalidRequestException(String reason) {
super(reason);
}
}
| // Copyright 2014, Kevin Ko <kevin@faveset.com>
package com.faveset.khttp;
class InvalidRequestException extends Exception {
private int mErrorCode;
public InvalidRequestException(String reason) {
super(reason);
}
public InvalidRequestException(String reason, int errorCode) {
super(r... | Add http error code to constructor. | Add http error code to constructor.
| Java | bsd-3-clause | kevinko/mahttp,kevinko/mahttp |
01b2278b044c1426c7882adbed0195921c23c198 | src/main/java/seedu/taskell/logic/commands/Command.java | src/main/java/seedu/taskell/logic/commands/Command.java | package seedu.taskell.logic.commands;
import seedu.taskell.commons.core.EventsCenter;
import seedu.taskell.commons.core.Messages;
import seedu.taskell.commons.events.ui.IncorrectCommandAttemptedEvent;
import seedu.taskell.model.Model;
/**
* Represents a command with hidden internal logic and the ability to be execut... | package seedu.taskell.logic.commands;
import seedu.taskell.commons.core.EventsCenter;
import seedu.taskell.commons.core.Messages;
import seedu.taskell.commons.events.ui.IncorrectCommandAttemptedEvent;
import seedu.taskell.commons.events.ui.JumpToListRequestEvent;
import seedu.taskell.model.Model;
/**
* Represents a ... | Add method to scroll to selected index | Add method to scroll to selected index
| Java | mit | CS2103AUG2016-W15-C3/main |
c7bfe994f1bfd119a71e501ad09f1186bae0695d | liquibase-core/src/main/java/liquibase/database/typeconversion/core/Postgres83TypeConverter.java | liquibase-core/src/main/java/liquibase/database/typeconversion/core/Postgres83TypeConverter.java | package liquibase.database.typeconversion.core;
import liquibase.database.Database;
import liquibase.database.structure.type.UUIDType;
import liquibase.exception.DatabaseException;
public class Postgres83TypeConverter extends PostgresTypeConverter {
@Override
public int getPriority() {
retu... | package liquibase.database.typeconversion.core;
import liquibase.database.Database;
import liquibase.database.structure.type.UUIDType;
import liquibase.exception.DatabaseException;
public class Postgres83TypeConverter extends PostgresTypeConverter {
@Override
public int getPriority() {
retu... | Check for null database to allow ValidatingVisitorTest to pass | Check for null database to allow ValidatingVisitorTest to pass
git-svn-id: a91d99a4c51940524e539abe295d6ea473345dd2@1386 e6edf6fb-f266-4316-afb4-e53d95876a76
| Java | apache-2.0 | vfpfafrf/liquibase,ivaylo5ev/liquibase,maberle/liquibase,evigeant/liquibase,iherasymenko/liquibase,cleiter/liquibase,instantdelay/liquibase,lazaronixon/liquibase,EVODelavega/liquibase,instantdelay/liquibase,CoderPaulK/liquibase,rkrzewski/liquibase,C0mmi3/liquibase,instantdelay/liquibase,talklittle/liquibase,klopfdreh/l... |
085fe36d8703125f1c7541670bbf2715e31bd641 | skuldsku-testrunner/src/main/java/no/steria/skuldsku/testrunner/common/HttpClientIdentifierMapper.java | skuldsku-testrunner/src/main/java/no/steria/skuldsku/testrunner/common/HttpClientIdentifierMapper.java | package no.steria.skuldsku.testrunner.common;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import no.steria.skuldsku.testrunner.httprunner.result.HttpCallResult;
public final class HttpClientIdentifierMapper implements ClientIdentifierMapper {
private final Map<String, String> map;
... | package no.steria.skuldsku.testrunner.common;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import no.steria.skuldsku.testrunner.httprunner.result.HttpCallResult;
public final class HttpClientIdentifierMapper implements ClientIdentifierMapper {
private final Map<String, String> map;
... | Use expected identifier as actual if no match can be found. | Use expected identifier as actual if no match can be found.
| Java | lgpl-2.1 | steria/skuldsku,steria/skuldsku,steria/skuldsku |
edc48a04fb928fdf9cea2755f5b76a9afb3fe044 | storio/src/main/java/com/pushtorefresh/storio/db/operation/delete/DeleteCollectionOfObjectsResult.java | storio/src/main/java/com/pushtorefresh/storio/db/operation/delete/DeleteCollectionOfObjectsResult.java | package com.pushtorefresh.storio.db.operation.delete;
import android.support.annotation.NonNull;
import java.util.Collections;
import java.util.Map;
public class DeleteCollectionOfObjectsResult<T> {
@NonNull private final Map<T, DeleteResult> results;
public DeleteCollectionOfObjectsResult(@NonNull Map<T, ... | package com.pushtorefresh.storio.db.operation.delete;
import android.support.annotation.NonNull;
import java.util.Collections;
import java.util.Map;
public class DeleteCollectionOfObjectsResult<T> {
@NonNull private final Map<T, DeleteResult> results;
public DeleteCollectionOfObjectsResult(@NonNull Map<T, ... | Add @NonNull annotations for wasDeleted() and wasNotDeleted() | Add @NonNull annotations for wasDeleted() and wasNotDeleted() | Java | apache-2.0 | ysnows/storio,talenguyen/storio,TonyTangAndroid/storio,hai-nguyen/storio,gostik/tweets-key-value,talenguyen/storio,WeRockStar/storio,sylsi/storio,gostik/tweets-key-value,hai-nguyen/storio,adamin1990/storio,geralt-encore/storio,murugespandian/storio,pushtorefresh/storio,WeRockStar/storio,TonyTangAndroid/storio,awesome-n... |
e8c9816c81bec5099ab32962ac018001ded6a96b | optaplanner-benchmark/src/main/java/org/optaplanner/benchmark/impl/report/ReportHelper.java | optaplanner-benchmark/src/main/java/org/optaplanner/benchmark/impl/report/ReportHelper.java | package org.optaplanner.benchmark.impl.report;
public class ReportHelper {
/**
* Escape illegal HTML element id characters, such as a dot.
* <p/>
* This escape function guarantees that 2 distinct strings will result into 2 distinct escape strings
* (presuming that both have been escaped by thi... | package org.optaplanner.benchmark.impl.report;
public class ReportHelper {
/**
* Escape illegal HTML element id characters, such as a dot.
* <p/>
* This escape function guarantees that 2 distinct strings will result into 2 distinct escape strings
* (presuming that both have been escaped by thi... | Improve escapeHtmlId with unicode escape numbers and space and () | Improve escapeHtmlId with unicode escape numbers and space and ()
| Java | apache-2.0 | kunallimaye/optaplanner,bernardator/optaplanner,snurkabill/optaplanner,DieterDePaepe/optaplanner,snurkabill/optaplanner,tkobayas/optaplanner,bernardator/optaplanner,droolsjbpm/optaplanner,tkobayas/optaplanner,baldimir/optaplanner,oskopek/optaplanner,codeaudit/optaplanner,droolsjbpm/optaplanner,gsheldon/optaplanner,droo... |
01c14cb85bdf4de7e06b65e6ad1147d6e522166e | geolocation-guice/src/test/java/com/edulify/modules/geolocation/GeolocationServiceTest.java | geolocation-guice/src/test/java/com/edulify/modules/geolocation/GeolocationServiceTest.java | package com.edulify.modules.geolocation;
import org.junit.Assert;
import org.junit.Test;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.TimeUnit;
import static org.mockito.Mockito.*;
/**
* @deprecated Deprecated as of 2.2.0. Source should be removed.
*/
@Deprecated
public class Geoloca... | package com.edulify.modules.geolocation;
import org.junit.Assert;
import org.junit.Test;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.TimeUnit;
import static org.mockito.Mockito.*;
/**
* @deprecated Deprecated as of 2.2.0. Source should be removed.
*/
@Deprecated
public class Geoloca... | Adjust test for concurrent environment | Adjust test for concurrent environment
| Java | apache-2.0 | sovaalexandr/play-geolocation-module.edulify.com,sovaalexandr/play-geolocation-module.edulify.com |
8f773c99a2e2af1043b97fa471c6e6ac93af81cc | src/main/java/org/springframework/data/cloudant/core/DateTimeDataAdapter.java | src/main/java/org/springframework/data/cloudant/core/DateTimeDataAdapter.java | package org.springframework.data.cloudant.core;
import com.google.gson.*;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import org.joda.time.format.DateTimeFormatter;
import org.joda.time.format.ISODateTimeFormat;
import java.lang.reflect.Type;
/**
* Created by kevin on 7/14/15.
*/
public class... | package org.springframework.data.cloudant.core;
import com.google.gson.*;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import org.joda.time.format.DateTimeFormat;
import org.joda.time.format.DateTimeFormatter;
import org.joda.time.format.ISODateTimeFormat;
import java.lang.reflect.Type;
import ja... | Enable deserializer to support multi date formats | Enable deserializer to support multi date formats
| Java | apache-2.0 | SeniorAdvisor/spring-data-cloudant,SeniorAdvisor/spring-data-cloudant |
d890da91b3a9978e233ba321045d3b689ebe454f | azure-client-authentication/src/test/java/com/microsoft/azure/credentials/UserTokenCredentialsTests.java | azure-client-authentication/src/test/java/com/microsoft/azure/credentials/UserTokenCredentialsTests.java | /**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
*/
package com.microsoft.azure.credentials;
public class UserTokenCredentialsTests {
}
| /**
*
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*
*/
package com.microsoft.azure.credentials;
import com.microsoft.aad.adal4j.AuthenticationResult;
import org.junit.Assert;
import org.junit.Test;
i... | Add a test for user credentials | Add a test for user credentials
| Java | mit | navalev/azure-sdk-for-java,Azure/azure-sdk-for-java,navalev/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,Azure/azure-sdk-for-java,navalev/azure-sdk-for-java,navalev/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-ja... |
e91efeab9668f1d9a15f44b97c30228ecf7450c4 | rabix-executor/src/main/java/org/rabix/executor/pathmapper/local/LocalPathMapper.java | rabix-executor/src/main/java/org/rabix/executor/pathmapper/local/LocalPathMapper.java | package org.rabix.executor.pathmapper.local;
import java.io.File;
import java.io.IOException;
import java.util.Map;
import org.rabix.bindings.mapper.FileMappingException;
import org.rabix.bindings.mapper.FilePathMapper;
import org.rabix.executor.config.StorageConfiguration;
import com.google.inject.Inject;
public c... | package org.rabix.executor.pathmapper.local;
import java.io.File;
import java.io.IOException;
import java.nio.file.Paths;
import java.util.Map;
import org.rabix.bindings.mapper.FileMappingException;
import org.rabix.bindings.mapper.FilePathMapper;
import org.rabix.executor.config.StorageConfiguration;
import com.goo... | Fix issue with Windows paths | Fix issue with Windows paths
| Java | apache-2.0 | rabix/bunny,rabix/bunny,rabix/bunny,rabix/bunny,rabix/bunny |
74ff2d2fd3575da37ad16dfe122e4e568ba57e47 | src/main/java/de/schunterkino/kinoapi/websocket/messages/christie/LampOffMessage.java | src/main/java/de/schunterkino/kinoapi/websocket/messages/christie/LampOffMessage.java | package de.schunterkino.kinoapi.websocket.messages.christie;
import java.time.Instant;
import java.time.ZoneId;
import java.time.format.DateTimeFormatter;
import de.schunterkino.kinoapi.websocket.messages.BaseMessage;
public class LampOffMessage extends BaseMessage {
public String timestamp;
public LampOffMessage... | package de.schunterkino.kinoapi.websocket.messages.christie;
import java.time.Instant;
import de.schunterkino.kinoapi.websocket.messages.BaseMessage;
public class LampOffMessage extends BaseMessage {
public String timestamp;
public LampOffMessage(Instant lampOffTime) {
super("playback", "lamp_off");
this.t... | Fix timestamp format in lamp_off message | Fix timestamp format in lamp_off message
| Java | apache-2.0 | SchunterKino/kinoapi |
ea995e6cab14e1c03a9086e73dd6b3faf77034ae | dynamo-core/src/main/java/dynamo/backlog/tasks/files/MoveFileTaskExecutor.java | dynamo-core/src/main/java/dynamo/backlog/tasks/files/MoveFileTaskExecutor.java | package dynamo.backlog.tasks.files;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.StandardCopyOption;
import dynamo.manager.DownloadableManager;
public class MoveFileTaskExecutor extends FileOperationTaskExecutor<MoveFileTask> {
private Path source;
priva... | package dynamo.backlog.tasks.files;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.StandardCopyOption;
import dynamo.manager.DownloadableManager;
public class MoveFileTaskExecutor extends FileOperationTaskExecutor<MoveFileTask> {
private Path source;
priva... | Replace move by copy then delete | Replace move by copy then delete
| Java | apache-2.0 | mozvip/dynamo,mozvip/dynamo,mozvip/dynamo,mozvip/dynamo,mozvip/dynamo |
2f7cf98f120bad2cb78555782ab0efc942216c3a | lib-dempsyimpl/src/main/java/com/nokia/dempsy/messagetransport/blockingqueue/BlockingQueueDestination.java | lib-dempsyimpl/src/main/java/com/nokia/dempsy/messagetransport/blockingqueue/BlockingQueueDestination.java | /*
* Copyright 2012 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 2012 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... | Fix a NPE plaguing tests that use the BlockingQueue transport. | Fix a NPE plaguing tests that use the BlockingQueue transport.
| Java | apache-2.0 | jimfcarroll/dempsy,Dempsy/Dempsy |
4702a9d6121920ce0266a1fbb75f4b766da47219 | thingif/src/main/java/com/kii/thingif/command/Action.java | thingif/src/main/java/com/kii/thingif/command/Action.java | package com.kii.thingif.command;
/**
* Represents base cass of Action.
*/
public interface Action{
}
| package com.kii.thingif.command;
/**
* Marks a class as group of actions of command. The class implements Acton defines single actions
* as fields of the class.
* <p>The class must define {@link ActionAnnotation} for each field of the class, SDK uses the
* defined annotations to serialize the class to json data or... | Add description of serialize and deserialize(not completed) | Add description of serialize and deserialize(not completed)
| Java | mit | KiiPlatform/thing-if-AndroidSDK,KiiPlatform/thing-if-AndroidSDK |
9e2975ac0accc9228ca1101c44ad3102b8ba9722 | backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetImagesListQueryBase.java | backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetImagesListQueryBase.java | package org.ovirt.engine.core.bll;
import java.util.List;
import org.ovirt.engine.core.common.businessentities.storage.RepoImage;
import org.ovirt.engine.core.common.queries.GetImagesListParametersBase;
import org.ovirt.engine.core.compat.Guid;
public abstract class GetImagesListQueryBase<P extends GetImagesListPar... | package org.ovirt.engine.core.bll;
import java.util.ArrayList;
import java.util.List;
import org.ovirt.engine.core.common.businessentities.storage.RepoImage;
import org.ovirt.engine.core.common.queries.GetImagesListParametersBase;
import org.ovirt.engine.core.compat.Guid;
public abstract class GetImagesListQueryBas... | Fix ISO Domain List refresh NPE | core: Fix ISO Domain List refresh NPE
Fix ISO DomainList refresh NPE when no ISO domain
is configured.
Change-Id: Ied2b1490d8f66bb40f6f456d2d39bb05120e97d3
Bug-Url: https://bugzilla.redhat.com/1291202
Signed-off-by: Marek Libra <e8e92ef0eef30bdb5bafbacaf4ac8261fffd12ff@redhat.com>
| Java | apache-2.0 | yapengsong/ovirt-engine,eayun/ovirt-engine,yapengsong/ovirt-engine,eayun/ovirt-engine,yapengsong/ovirt-engine,walteryang47/ovirt-engine,walteryang47/ovirt-engine,walteryang47/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine,yingyun001/ovirt-engine,yingyun001/ovirt-engine,walteryang47/ovirt-engine,zerodengxi... |
4870b09309293fb053f743068f603747177088eb | org.metaborg.spoofax.core/src/main/java/org/metaborg/spoofax/core/messages/ISourceRegion.java | org.metaborg.spoofax.core/src/main/java/org/metaborg/spoofax/core/messages/ISourceRegion.java | package org.metaborg.spoofax.core.messages;
public interface ISourceRegion {
public int startOffset();
public int startRow();
public int startColumn();
public int endOffset();
public int endRow();
public int endColumn();
}
| package org.metaborg.spoofax.core.messages;
/**
* Interface for representing a finite region in source code text. A region has:
* <ul>
* <li>Offset - number of characters from the beginning of the source text, with interval [0,#chars).</li>
* <li>Row - row or line in the source text, with interval [0,#rows).</li>
... | Clarify intervals of source region. | Clarify intervals of source region.
| Java | apache-2.0 | metaborg/spoofax-eclipse,metaborg/spoofax,metaborg/spoofax,metaborg/spoofax,metaborg/spoofax |
3cacc6a79f4089f03e05891bc7fe401a827c6bc5 | src/main/java/com/kevinsimard/lambda/function/Example.java | src/main/java/com/kevinsimard/lambda/function/Example.java | package com.kevinsimard.lambda.function;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
@SuppressWarnings("unused")
public class Example implements RequestHandler<Example.Request, Example.Response> {
public Response handleRequest(Request request... | package com.kevinsimard.lambda.function;
import com.amazonaws.services.lambda.runtime.Context;
import com.amazonaws.services.lambda.runtime.RequestHandler;
@SuppressWarnings("unused")
public class Example implements RequestHandler<Example.Request, Example.Response> {
public Response handleRequest(Request request... | Update Request & Response classes | Update Request & Response classes
| Java | mit | kevinsimard/aws-lambda-example |
defe2fafb2832cd5966d957d6dfc4b0fb7ff8b99 | src/test/java/com/bitmovin/bitcodin/api/test/Settings.java | src/test/java/com/bitmovin/bitcodin/api/test/Settings.java | package com.bitmovin.bitcodin.api.test;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.io.InputStreamReader;
import com.bitmovin.bitcodin.api.output.FTPOutputConfig;
import com.bitmovin.bitcodin.api.output.S3OutputConfig;
import com.google.gson.Gson;
impor... | package com.bitmovin.bitcodin.api.test;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.InputStream;
import java.io.InputStreamReader;
import com.bitmovin.bitcodin.api.output.FTPOutputConfig;
import com.bitmovin.bitcodin.api.output.S3OutputConfig;
import com.google.gson.Gson;
impor... | Use local_settings.json when ci settings are not available | Use local_settings.json when ci settings are not available
| Java | unlicense | bitmovin/bitcodin-java |
0264817436bd4339b33b6c766ca7d67fd6b21b2a | mg-bootstrap/lib/src/main/java/com/miguelgaeta/bootstrap/mg_preference/MGPrefStoreTypeByeStream.java | mg-bootstrap/lib/src/main/java/com/miguelgaeta/bootstrap/mg_preference/MGPrefStoreTypeByeStream.java | package com.miguelgaeta.bootstrap.mg_preference;
import android.content.Context;
import java.lang.reflect.Type;
import lombok.NonNull;
/**
* Created by Miguel Gaeta on 9/25/15.
*/
public class MGPrefStoreTypeByeStream implements MGPrefStoreInterface {
@Override
public void init(@NonNull Context context) ... | package com.miguelgaeta.bootstrap.mg_preference;
import android.content.Context;
import com.esotericsoftware.kryo.Kryo;
import java.lang.reflect.Type;
import lombok.Getter;
import lombok.NonNull;
/**
* Created by Miguel Gaeta on 9/25/15.
*/
public class MGPrefStoreTypeByeStream implements MGPrefStoreInterface {
... | Add kryo thread pool instance. | Add kryo thread pool instance.
| Java | apache-2.0 | mrkcsc/android-mg-bootstrap,mrkcsc/android-mg-bootstrap |
548e94455ddd384cc110f0372ed1d9d8b2ad509a | src/org/cryptonit/IOBuffer.java | src/org/cryptonit/IOBuffer.java | package org.cryptonit;
import javacard.framework.JCSystem;
public class IOBuffer {
private FileIndex index = null;
private byte [] buffer = null;
public IOBuffer(FileIndex index) {
this.index = index;
this.buffer = JCSystem.makeTransientByteArray((short)256, JCSystem.CLEAR_ON_DESELECT);
... | package org.cryptonit;
import javacard.framework.JCSystem;
public class IOBuffer {
private FileIndex index = null;
private byte [] buffer = null;
private boolean [] bools = null;
public IOBuffer(FileIndex index) {
this.index = index;
this.bools = JCSystem.makeTransientBooleanArray((sh... | Add array of booleans to maintain state | Add array of booleans to maintain state
| Java | agpl-3.0 | mbrossard/cryptonit-applet |
e2aec8257a095b9c55df82efcf6b2cd0957d3cfe | OpERP/src/main/java/devopsdistilled/operp/server/data/repo/items/ProductRepository.java | OpERP/src/main/java/devopsdistilled/operp/server/data/repo/items/ProductRepository.java | package devopsdistilled.operp.server.data.repo.items;
import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import devopsdistilled.operp.server.data.entity.items.Product;
import devopsdistilled.operp.server.data.repo.items.custom.Produc... | package devopsdistilled.operp.server.data.repo.items;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import devopsdistilled.operp.server.data.entity.items.Product;
import devopsdistilled.operp.server.data.repo.items.custom.ProductRepositoryCustom;
@Rep... | Change return type to Product for findByProductName() | Change return type to Product for findByProductName()
ProductName is unique by constraint
OPEN - task 51: Create CRUD packages for Product entity
http://github.com/DevOpsDistilled/OpERP/issues/issue/51 | Java | mit | DevOpsDistilled/OpERP,njmube/OpERP |
8bf9ad277a3177bf974fc0bc4ea6f8fa88ff2796 | trab1/ServerApp/src/serverapp/DeviceLib.java | trab1/ServerApp/src/serverapp/DeviceLib.java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package serverapp;
import java.util.StringTokenizer;
import Hardware.windmill;
/**
*
* @author André
*/
public class DeviceLib {
private windmill lib;
public DeviceLib() {
//AULA 3 - inicializa... | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package serverapp;
import java.util.StringTokenizer;
import Hardware.windmill;
/**
*
* @author André
*/
public class DeviceLib {
private windmill lib;
public DeviceLib() {
//AULA 3 - inicializa... | Update ServerApp :+1: :rocket: ->18 | Update ServerApp :+1: :rocket: ->18
| Java | mit | jmdbo/IS,jmdbo/IS,jmdbo/IS,jmdbo/IS,jmdbo/IS |
49833ac6ea151f9957f7911e5025c0c3d70c0e65 | jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/SynchronousEventListener.java | jackrabbit-core/src/main/java/org/apache/jackrabbit/core/observation/SynchronousEventListener.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 ... | Duplicate entries in the index - javadoc | JCR-2357: Duplicate entries in the index
- javadoc
git-svn-id: 02b679d096242155780e1604e997947d154ee04a@828343 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | apache/jackrabbit,apache/jackrabbit,apache/jackrabbit |
97ba77380bd601be0bd52a1625398517cd9bf37b | web/src/test/java/uk/ac/ebi/atlas/search/analyticsindex/baseline/BaselineAnalyticsSearchDaoTest.java | web/src/test/java/uk/ac/ebi/atlas/search/analyticsindex/baseline/BaselineAnalyticsSearchDaoTest.java | package uk.ac.ebi.atlas.search.analyticsindex.baseline;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import org.springframework.web.client.RestTemplate;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
... | package uk.ac.ebi.atlas.search.analyticsindex.baseline;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
import org.springframework.web.client.RestTemplate;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
... | Fix unit test after adding separate baseline/proteomics filtering | Fix unit test after adding separate baseline/proteomics filtering
| Java | apache-2.0 | gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas |
f04e482a92c8faca43c3d4f098488cc4e54236d2 | src/java/test/org/jaxen/javabean/DocumentNavigatorTest.java | src/java/test/org/jaxen/javabean/DocumentNavigatorTest.java | package org.jaxen.javabean;
import junit.framework.TestCase;
public class DocumentNavigatorTest
extends TestCase
{
public void testNothing()
throws Exception
{
JavaBeanXPath xpath = new JavaBeanXPath( "brother[position()<4]/name" );
Person bob = new Person( "bob", 30 );
... | package org.jaxen.javabean;
import junit.framework.TestCase;
import org.jaxen.saxpath.helpers.XPathReaderFactory;
public class DocumentNavigatorTest
extends TestCase
{
protected void setUp() throws Exception
{
System.setProperty( XPathReaderFactory.DRIVER_PROPERTY,
"" ... | Set property in case it has been set wrong previously | Set property in case it has been set wrong previously
git-svn-id: 7abf240ce0ec4644a9bf59262a41ad5796234f37@372 43379f7c-b030-0410-81db-e0b70742847c
| Java | bsd-3-clause | ukcrpb6/jaxen-wmb-extensions,appcelerator/jaxen_titanium |
754cc91b0bbd3f0b01cb67fdf45bbb2ec0377222 | guice/common/src/main/java/com/peterphi/std/guice/common/serviceprops/net/NetworkConfigReloadModule.java | guice/common/src/main/java/com/peterphi/std/guice/common/serviceprops/net/NetworkConfigReloadModule.java | package com.peterphi.std.guice.common.serviceprops.net;
import com.google.inject.AbstractModule;
public class NetworkConfigReloadModule extends AbstractModule
{
@Override
protected void configure()
{
bind(NetworkConfigReloadDaemon.class).asEagerSingleton();
}
}
| package com.peterphi.std.guice.common.serviceprops.net;
import com.google.inject.AbstractModule;
import com.google.inject.Provides;
import com.google.inject.Singleton;
import com.peterphi.std.guice.config.rest.iface.ConfigRestService;
import com.peterphi.std.guice.restclient.JAXRSProxyClientFactory;
public class Netw... | Add explicit jax-rs client provider for ConfigRestService so that scan.packages doesn't have to include ConfigRestService | Add explicit jax-rs client provider for ConfigRestService so that scan.packages doesn't have to include ConfigRestService
| Java | mit | petergeneric/stdlib,petergeneric/stdlib,petergeneric/stdlib |
166d088c08434ed613ef2f79166cea8b6d3ce3b8 | score-lang-content-verifier/src/main/java/org/openscore/lang/tools/build/tester/parse/SlangTestCase.java | score-lang-content-verifier/src/main/java/org/openscore/lang/tools/build/tester/parse/SlangTestCase.java | package org.openscore.lang.tools.build.tester.parse;
import java.io.Serializable;
import java.util.Map;
/**
* Created by stoneo on 3/15/2015.
**/
public class SlangTestCase {
private final String description;
private final String testSuits;
private final String systemPropertiesFile;
private fina... | package org.openscore.lang.tools.build.tester.parse;
import org.apache.commons.collections4.CollectionUtils;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
/**
* Created by stoneo on 3/15/2015.
**/
public class SlangTestCase {
private final String descrip... | Change testSuites to be a list with default value | Change testSuites to be a list with default value
Signed-off-by: Orit Stone <530a3c863b274210fbf305df5a70e325b4dbcb5a@hp.com>
| Java | apache-2.0 | natabeck/cloud-slang,jrosadohp/cloud-slang,jrosadohp/cloud-slang,CloudSlang/cloud-slang,CloudSlang/cloud-slang,CloudSlang/cloud-slang,CloudSlang/cloud-slang,natabeck/cloud-slang,narry/cloud-slang,shajyhia/score-language,shajyhia/score-language,narry/cloud-slang |
7118bdc3834da1b4b7b98cf13dc99ced236cfe12 | AutoRest/Generators/Java/Azure.Java.Tests/src/test/java/fixtures/azurespecials/HeaderOperationsTests.java | AutoRest/Generators/Java/Azure.Java.Tests/src/test/java/fixtures/azurespecials/HeaderOperationsTests.java | package fixtures.azurespecials;
import com.microsoft.rest.ServiceResponse;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
public class HeaderOperationsTests {
private static AutoRestAzureSpecialParametersTestClient client;
@BeforeClass
public static void setup() {
c... | package fixtures.azurespecials;
import com.microsoft.rest.ServiceResponseWithHeaders;
import fixtures.azurespecials.models.HeaderCustomNamedRequestIdHeaders;
import org.junit.Assert;
import org.junit.BeforeClass;
import org.junit.Test;
public class HeaderOperationsTests {
private static AutoRestAzureSpecialParame... | Add test on response typed headers | Add test on response typed headers
| Java | mit | xingwu1/autorest,sergey-shandar/autorest,ljhljh235/AutoRest,jianghaolu/AutoRest,jhendrixMSFT/autorest,vishrutshah/autorest,veronicagg/autorest,hovsepm/AutoRest,jhendrixMSFT/autorest,dsgouda/autorest,balajikris/autorest,yugangw-msft/autorest,AzCiS/autorest,begoldsm/autorest,Azure/azure-sdk-for-java,brodyberg/autorest,br... |
5f977548c2ade70f23d6769461527f98fb0eba1d | org.spoofax.jsglr2/src/main/java/org/spoofax/jsglr2/recovery/RecoveryMessages.java | org.spoofax.jsglr2/src/main/java/org/spoofax/jsglr2/recovery/RecoveryMessages.java | package org.spoofax.jsglr2.recovery;
import org.metaborg.parsetable.productions.IProduction;
import org.spoofax.jsglr2.messages.Message;
import org.spoofax.jsglr2.messages.SourceRegion;
import org.spoofax.jsglr2.parser.Position;
public class RecoveryMessages {
public static Message get(IProduction production, Po... | package org.spoofax.jsglr2.recovery;
import org.metaborg.parsetable.productions.IProduction;
import org.metaborg.parsetable.symbols.ILiteralSymbol;
import org.spoofax.jsglr2.messages.Message;
import org.spoofax.jsglr2.messages.SourceRegion;
import org.spoofax.jsglr2.parser.Position;
public class RecoveryMessages {
... | Simplify retrieval of literal for insertion recovery messages | Simplify retrieval of literal for insertion recovery messages
| Java | apache-2.0 | metaborg/jsglr,metaborg/jsglr,metaborg/jsglr,metaborg/jsglr |
ef42bb720ad3a97b18eb4157cd80291373375923 | text-adventure-core/src/test/java/com/github/verhagen/textadventure/core/domain/TextVisitorTest.java | text-adventure-core/src/test/java/com/github/verhagen/textadventure/core/domain/TextVisitorTest.java | package com.github.verhagen.textadventure.core.domain;
import static org.testng.Assert.assertEquals;
import org.testng.annotations.Test;
import com.github.verhagen.textadventure.core.impl.domain.Item;
import com.github.verhagen.textadventure.core.impl.domain.Room;
import com.github.verhagen.textadventure.core.impl.d... | package com.github.verhagen.textadventure.core.domain;
import static org.testng.Assert.assertEquals;
import org.testng.annotations.Test;
import com.github.verhagen.textadventure.core.impl.domain.Item;
import com.github.verhagen.textadventure.core.impl.domain.Room;
import com.github.verhagen.textadventure.core.impl.d... | Update test cases asserts, to update TextVisitor creating better description | Update test cases asserts, to update TextVisitor creating better
description | Java | epl-1.0 | verhagen/text-adventure |
12046a341b8dbd0de3fc41b3a595bf8081a602b4 | src/jwampsharp.defaultBinding/src/main/java/co/codesharp/jwampsharp/defaultBinding/DefaultWampChannelFactory.java | src/jwampsharp.defaultBinding/src/main/java/co/codesharp/jwampsharp/defaultBinding/DefaultWampChannelFactory.java | package co.codesharp.jwampsharp.defaultBinding;
import co.codesharp.jwampsharp.api.client.WampChannel;
import co.codesharp.jwampsharp.api.client.WampChannelFactoryImpl;
import co.codesharp.jwampsharp.core.binding.WampTextBinding;
import co.codesharp.jwampsharp.defaultBinding.jsr.WebsocketWampTextConnection;
import ja... | package co.codesharp.jwampsharp.defaultBinding;
import co.codesharp.jwampsharp.api.client.WampChannel;
import co.codesharp.jwampsharp.api.client.WampChannelFactoryImpl;
import co.codesharp.jwampsharp.core.binding.WampTextBinding;
import co.codesharp.jwampsharp.defaultBinding.jsr.WebsocketWampTextConnection;
import ja... | Use the same reference for all method calls | Use the same reference for all method calls
| Java | bsd-2-clause | Code-Sharp/JWampSharp |
c4f7bec9be6250a0ea06db550c6ff24fd9b13aba | subprojects/shipkit/src/main/groovy/org/shipkit/internal/gradle/util/CannotPushToGithubException.java | subprojects/shipkit/src/main/groovy/org/shipkit/internal/gradle/util/CannotPushToGithubException.java | package org.shipkit.internal.gradle.util;
import org.gradle.api.GradleException;
import org.shipkit.gradle.git.GitPushTask;
public class CannotPushToGithubException extends RuntimeException {
public static final String GH_WRITE_TOKEN_NOT_SET_MSG = "Cannot push to remote repository. GH_WRITE_TOKEN not set or you d... | package org.shipkit.internal.gradle.util;
import org.gradle.api.GradleException;
import org.shipkit.gradle.git.GitPushTask;
public class CannotPushToGithubException extends RuntimeException {
public static final String GH_WRITE_TOKEN_NOT_SET_MSG = "Cannot push to remote repository. GH_WRITE_TOKEN env variable not... | Make error message more specific. | Make error message more specific.
| Java | mit | mockito/shipkit,mockito/shipkit,mockito/mockito-release-tools,mockito/mockito-release-tools |
e9d093db97ebc9d0fb7bc901e85481094b8009f9 | core/src/main/java/com/orientechnologies/orient/core/db/tool/importer/OAbstractCollectionConverter.java | core/src/main/java/com/orientechnologies/orient/core/db/tool/importer/OAbstractCollectionConverter.java | package com.orientechnologies.orient.core.db.tool.importer;
import com.orientechnologies.orient.core.db.record.OIdentifiable;
/** Created by tglman on 28/07/17. */
public abstract class OAbstractCollectionConverter<T> implements OValuesConverter<T> {
private final OConverterData converterData;
protected OAbstrac... | package com.orientechnologies.orient.core.db.tool.importer;
import com.orientechnologies.orient.core.db.record.OIdentifiable;
/** Created by tglman on 28/07/17. */
public abstract class OAbstractCollectionConverter<T> implements OValuesConverter<T> {
private final OConverterData converterData;
protected OAbstrac... | Fix import with links in embedded collections of maps | Fix import with links in embedded collections of maps
| Java | apache-2.0 | orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb |
29199ad924a6c899cf8c20684736ea8d65e6cc8b | src/pt/up/fe/comp/utils/SymbolTable.java | src/pt/up/fe/comp/utils/SymbolTable.java | package pt.up.fe.comp.utils;
import java.util.Stack;
public class SymbolTable<T> {
public SymbolTable(boolean lazy) {
_lazy = lazy;
beginScope();
}
public void beginScope() {
_scopes.add(new Scope<T>(_lazy));
}
public void endScope() {
// do not delete "global" s... | package pt.up.fe.comp.utils;
import java.util.Stack;
public class SymbolTable<T> {
public SymbolTable(boolean lazy) {
_lazy = lazy;
beginScope();
}
public void beginScope() {
_scopes.add(new Scope<T>(_lazy));
}
public void endScope() {
// do not delete "global" s... | Add check for redeclared symbols. | Add check for redeclared symbols.
| Java | mit | migulorama/AutoAnalyze,migulorama/AutoAnalyze |
94988c44bb1c444cfebe54271fe60329a1f3eba4 | src/com/woopra/WoopraEvent.java | src/com/woopra/WoopraEvent.java | package com.woopra;
import java.util.Properties;
/**
* @author Woopra on 1/26/2013
*
*/
public class WoopraEvent {
private String eventName = null;
private Properties properties = null;
public WoopraEvent(String eventName) {
super(eventName, new Properties();
}
public WoopraEvent(String eventName, Propert... | package com.woopra;
import java.util.Properties;
/**
* @author Woopra on 1/26/2013
*
*/
public class WoopraEvent {
private String eventName = null;
private Properties properties = null;
public WoopraEvent(String eventName) {
super(eventName, new Properties();
}
public WoopraEvent(String eventName, Propert... | Fix event name not being added in constructor. | Fix event name not being added in constructor. | Java | mit | Woopra/woopra-android-sdk,Istikana/woopra-android-sdk |
ce50f8c6901d78da3be9d295241518723acb4ecf | spring-cloud-kubernetes-discovery/src/main/java/io/fabric8/spring/cloud/discovery/KubernetesDiscoveryProperties.java | spring-cloud-kubernetes-discovery/src/main/java/io/fabric8/spring/cloud/discovery/KubernetesDiscoveryProperties.java | /*
* Copyright (C) 2016 to 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 require... | /*
* Copyright (C) 2016 to 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 require... | Use the application name as the default local service id in KubernetesDiscovery. | Use the application name as the default local service id in KubernetesDiscovery.
| Java | apache-2.0 | spring-cloud-incubator/spring-cloud-kubernetes |
3c34128dec117065d5507da924b24153f9002c39 | java/tests/PriorityQueueTest.java | java/tests/PriorityQueueTest.java | import datastructures.PriorityQueue;
import java.util.*;
public class PriorityQueueTest {
public static void main(String[] args) throws Exception {
for (int i = 0; i < 5; i ++) {
testRandomSort(10000 + ((int) (Math.random() * 10000)));
}
}
private static void testRandomSort(int... | import datastructures.PriorityQueue;
import java.util.*;
public class PriorityQueueTest {
public static void main(String[] args) throws Exception {
for (int i = 0; i < 5; i ++) {
testRandomSort(10000 + ((int) (Math.random() * 10000)));
testRandomSortAndInsert(10000 + ((int) (Math.ra... | Add sort and insert heap test | Add sort and insert heap test
| Java | mit | vinnyoodles/algorithms,vinnyoodles/algorithms,vinnyoodles/algorithms |
a645ccffb31faa41573f969aef19d3c976f222be | src/data/trainnetwork/Seat.java | src/data/trainnetwork/Seat.java | package data.trainnetwork;
import java.io.Serializable;
import java.math.BigInteger;
import java.security.SecureRandom;
/**
* A class representing a Seat within section
* @author Balazs Pete
*
*/
public class Seat implements Serializable {
private String id, sectionId = null;
/**
* Create a new Seat
* @... | package data.trainnetwork;
import java.io.Serializable;
import java.math.BigInteger;
import java.security.SecureRandom;
/**
* A class representing a Seat within section
* @author Balazs Pete
*
*/
public class Seat implements Serializable {
/**
*
*/
private static final long serialVersionUID = 31972027429... | Add serial id to seat | Add serial id to seat
| Java | mit | balazspete/multi-hop-train-journey-booking |
35b865636b2ec174e37f46694eda0e31d34fa452 | rollbar-java/src/main/java/com/rollbar/jvmti/CacheFrame.java | rollbar-java/src/main/java/com/rollbar/jvmti/CacheFrame.java | package com.rollbar.jvmti;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
/**
* CacheFrame is a frame generated from the native interface to hold a method and a list of local
* variables for later use.
*/
public final class Ca... | package com.rollbar.jvmti;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
/**
* CacheFrame is a frame generated from the native interface to hold a method and a list of local
* variables for later use.
*/
public final class Ca... | Make the findbugs checker happy | Make the findbugs checker happy
| Java | mit | rollbar/rollbar-java,rollbar/rollbar-java,rollbar/rollbar-java |
41ff89d2fc2c479973f48aaa3ff164cfab0830be | MainConsole.java | MainConsole.java | package tetris.game;
import java.awt.*;
import javax.swing.*;
public class MainConsole{
private JFrame frame;
private Canvas canvas;
public MainConsole(){
frame = new JFrame("Tetris");
frame.setSize((Canvas.WIDTH + 7) * Canvas.SIDE_OF_SQUARE,
(Canvas.HEIGHT + 1) * Canvas.SIDE... | package tetris.game;
import java.awt.*;
import javax.swing.*;
public class MainConsole{
private JFrame frame;
private Canvas canvas;
public MainConsole(){
frame = new JFrame("Tetris");
frame.setSize((Canvas.WIDTH + 7) * Canvas.SIDE_OF_SQUARE,
(Canvas.HEIGHT + 1) * Canvas.SIDE... | Update description with Canvas class | Update description with Canvas class | Java | mit | bill176/tetris,bill176/tetris |
14e5bf73f64b29d1f14045479a43ef33834a7550 | java/quantize/QuantizerMap.java | java/quantize/QuantizerMap.java | /*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | /*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Remove `HashMap.merge`, which is absent in Java7. | Remove `HashMap.merge`, which is absent in Java7.
PiperOrigin-RevId: 445068304
| Java | apache-2.0 | material-foundation/material-color-utilities,material-foundation/material-color-utilities,material-foundation/material-color-utilities,material-foundation/material-color-utilities |
876590f85df7ec1d839e194511e1139a84da6fa3 | json-invoice-processor/src/main/java/it/gov/aifa/invoice_processor/service/persistence/InvoiceVersionRepository.java | json-invoice-processor/src/main/java/it/gov/aifa/invoice_processor/service/persistence/InvoiceVersionRepository.java | package it.gov.aifa.invoice_processor.service.persistence;
import org.springframework.data.repository.PagingAndSortingRepository;
import it.gov.aifa.invoice_processor.entity.invoice.InvoiceVersion;
public interface InvoiceVersionRepository extends PagingAndSortingRepository<InvoiceVersion, String> {
} | package it.gov.aifa.invoice_processor.service.persistence;
import org.springframework.data.repository.CrudRepository;
import it.gov.aifa.invoice_processor.entity.invoice.InvoiceVersion;
public interface InvoiceVersionRepository extends CrudRepository<InvoiceVersion, String> {
} | Use a CrudRepository instead of a PagingAndSortingRepository | Use a CrudRepository instead of a PagingAndSortingRepository | Java | mit | aifa-gov-it/invoices-processor,aifa-gov-it/invoices-processor |
15360ca3852bd597b4ba645bb3b770edb86bcc53 | junit-commons/src/test/java/org/junit/gen5/commons/util/FindClassesInPackageTest.java | junit-commons/src/test/java/org/junit/gen5/commons/util/FindClassesInPackageTest.java | /*
* Copyright 2015 the original author or authors.
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
* accompanies this distribution and is available at
*
* http://www.eclipse.org/legal/epl-v10.html
*/
package org... | /*
* Copyright 2015 the original author or authors.
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
* accompanies this distribution and is available at
*
* http://www.eclipse.org/legal/epl-v10.html
*/
package org... | Remove printing to System.out in test | Remove printing to System.out in test
| Java | epl-1.0 | marcphilipp/junit-lambda,sbrannen/junit-lambda,junit-team/junit-lambda,marcphilipp/junit5 |
7928935c295b8dced20be734a7434d83bbac90e3 | beaform-core/src/test/java/beaform/events/StoreEventTest.java | beaform-core/src/test/java/beaform/events/StoreEventTest.java | package beaform.events;
import static org.junit.Assert.assertEquals;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import beaform.utilities.SystemTime;
import beaform.utilities.TimeSource;
public class StoreEventTest {
@Before
p... | package beaform.events;
import static org.junit.Assert.assertEquals;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import beaform.utilities.SystemTime;
public class StoreEventTest {
@Before
public void setup() {
SystemTime.set... | Use a lambda as it is a lot shorter | Use a lambda as it is a lot shorter
| Java | mit | stevenpost/beaform |
bd323db81c99499e40faa25762dfd5e57e5682e9 | java/src/collections/PreorderIterator.java | java/src/collections/PreorderIterator.java | package collections;
import java.util.Iterator;
import java.util.NoSuchElementException;
import java.util.Stack;
import binarytrees.TreeNode;
public class PreorderIterator<T> implements Iterator<T> {
private T nextItem;
private final Stack<TreeNode<T>> stack;
public PreorderIterator(TreeNode<T> rootNode) {
thi... | package collections;
import java.util.Iterator;
import java.util.NoSuchElementException;
import java.util.Stack;
import binarytrees.TreeNode;
/**
* An iterator that iterates through a binary tree in pre-order.
*/
public class PreorderIterator<T> implements Iterator<T> {
private T nextItem;
private final Stack<Tr... | Add comment for pre-order iteration. | [Java] Add comment for pre-order iteration.
| Java | mit | kowshik/big-o,guitilangyin0000/big-o,kowshik/big-o,guitilangyin0000/big-o |
e7b4f83f811096bdcacd92f86d434432d81b0c31 | common/src/main/java/org/commacq/CsvLineCallbackWriter.java | common/src/main/java/org/commacq/CsvLineCallbackWriter.java | package org.commacq;
import java.io.PrintWriter;
import java.io.Writer;
/**
* Contains a large buffer. Reuse these objects.
*/
public class CsvLineCallbackWriter extends CsvLineCallbackAbstractSimple {
private final PrintWriter printWriter;
public CsvLineCallbackWriter(Writer writer) {
printWriter = new Pri... | package org.commacq;
import java.io.PrintWriter;
import java.io.Writer;
/**
* Contains a large buffer. Reuse these objects.
*/
public class CsvLineCallbackWriter implements CsvLineCallback {
private final PrintWriter printWriter;
public CsvLineCallbackWriter(Writer writer) {
printWriter = new PrintWriter(wr... | Correct Http Csv output so that it contains the csv column headings. | Correct Http Csv output so that it contains the csv column headings. | Java | mit | daveboden/CommaCQ,daveboden/CommaCQ,daveboden/CommaCQ,daveboden/CommaCQ |
e83af87949a109a22b1a04f3786c569c693da454 | dConnectDevicePlugin/dConnectDeviceUVC/app/src/main/java/org/deviceconnect/android/deviceplugin/uvc/profile/UVCServiceInformationProfile.java | dConnectDevicePlugin/dConnectDeviceUVC/app/src/main/java/org/deviceconnect/android/deviceplugin/uvc/profile/UVCServiceInformationProfile.java | /*
UVCServiceInformationProfile.java
Copyright (c) 2015 NTT DOCOMO,INC.
Released under the MIT license
http://opensource.org/licenses/mit-license.php
*/
package org.deviceconnect.android.deviceplugin.uvc.profile;
import org.deviceconnect.android.profile.DConnectProfileProvider;
import org.deviceconnect.android.p... | /*
UVCServiceInformationProfile.java
Copyright (c) 2015 NTT DOCOMO,INC.
Released under the MIT license
http://opensource.org/licenses/mit-license.php
*/
package org.deviceconnect.android.deviceplugin.uvc.profile;
import android.content.Intent;
import android.os.Bundle;
import org.deviceconnect.android.deviceplu... | Implement Service Information API of UVC Device Plug-in. | Implement Service Information API of UVC Device Plug-in.
| Java | mit | DeviceConnect/DeviceConnect-Android,TakayukiHoshi1984/DeviceConnect-Android,TakayukiHoshi1984/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,TakayukiHoshi1984/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,TakayukiHoshi1984/DeviceConnect-Android,TakayukiHoshi1984/DeviceConnect-Android,DeviceConnec... |
92c8c0f64b881c534b288f4b862ad4df5315e96b | src/main/java/org/synyx/urlaubsverwaltung/user/UserSettingsAwareSessionLocaleResolver.java | src/main/java/org/synyx/urlaubsverwaltung/user/UserSettingsAwareSessionLocaleResolver.java | package org.synyx.urlaubsverwaltung.user;
import org.springframework.web.servlet.i18n.SessionLocaleResolver;
import javax.servlet.http.HttpServletRequest;
import java.security.Principal;
import java.util.Locale;
class UserSettingsAwareSessionLocaleResolver extends SessionLocaleResolver {
private final UserSetti... | package org.synyx.urlaubsverwaltung.user;
import org.springframework.web.servlet.i18n.SessionLocaleResolver;
import javax.annotation.Nonnull;
import javax.servlet.http.HttpServletRequest;
import java.security.Principal;
import java.util.Locale;
class UserSettingsAwareSessionLocaleResolver extends SessionLocaleResolv... | Add @Nonnull annotation to determineDefaultLocale | Add @Nonnull annotation to determineDefaultLocale
| Java | apache-2.0 | synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung |
e959de1702295077f02169fecfdcc0fd648e9621 | src/main/java/com/RNWebIntent/RNWebIntentModule.java | src/main/java/com/RNWebIntent/RNWebIntentModule.java | package com.ivanph.webintent;
import android.content.Intent;
import android.net.Uri;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.r... | package com.ivanph.webintent;
import android.content.Intent;
import android.net.Uri;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.r... | Check that an app able to handle the Intent exists | Check that an app able to handle the Intent exists
Prevents the app from crashing if an intent is send
with no app able to handle it | Java | mit | ivanph/react-native-webintent,ivanph/react-native-webintent |
352f0b3a737a2790047a7e5fd590b2a5420c7149 | src/main/java/eu/rekawek/coffeegb/timer/Counter.java | src/main/java/eu/rekawek/coffeegb/timer/Counter.java | package eu.rekawek.coffeegb.timer;
import eu.rekawek.coffeegb.Gameboy;
import eu.rekawek.coffeegb.cpu.SpeedMode;
public class Counter {
private final int frequency;
private final SpeedMode speedMode;
private int clocks;
private int counter;
public Counter(int frequency, SpeedMode speedMode) {... | package eu.rekawek.coffeegb.timer;
import eu.rekawek.coffeegb.Gameboy;
import eu.rekawek.coffeegb.cpu.SpeedMode;
public class Counter {
private final int frequency;
private final SpeedMode speedMode;
private int clocks;
private int counter;
public Counter(int frequency, SpeedMode speedMode) {... | Reset internal DIV clock on resetting the counter. | Reset internal DIV clock on resetting the counter.
| Java | mit | trekawek/coffee-gb,trekawek/coffee-gb |
ff495edc51298c2975ffc5176569fff0deea61e7 | karma-common/src/main/java/edu/isi/karma/imp/Import.java | karma-common/src/main/java/edu/isi/karma/imp/Import.java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.isi.karma.imp;
import java.io.IOException;
import org.json.JSONException;
import edu.isi.karma.rep.RepFactory;
import edu.isi.karma.rep.Worksheet;
import edu.isi.karma.rep.Workspace;
import edu.isi.karma.w... | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.isi.karma.imp;
import java.io.IOException;
import org.json.JSONException;
import edu.isi.karma.rep.RepFactory;
import edu.isi.karma.rep.Worksheet;
import edu.isi.karma.rep.Workspace;
import edu.isi.karma.w... | Set a max length for worksheet name | Set a max length for worksheet name
| Java | apache-2.0 | sylvanmist/Web-Karma,usc-isi-i2/Web-Karma,rpiotti/Web-Karma,usc-isi-i2/Web-Karma,rpiotti/Web-Karma,sylvanmist/Web-Karma,rpiotti/Web-Karma,sylvanmist/Web-Karma,usc-isi-i2/Web-Karma,rpiotti/Web-Karma,usc-isi-i2/Web-Karma,rpiotti/Web-Karma,sylvanmist/Web-Karma,sylvanmist/Web-Karma,usc-isi-i2/Web-Karma |
48f893d2c15fc8e1fa1f979bc17dcf6061823ee8 | src/main/java/gui/sub_controllers/PanningController.java | src/main/java/gui/sub_controllers/PanningController.java | package gui.sub_controllers;
import gui.GraphDrawer;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.scene.control.ScrollBar;
/**
* Created by TUDelft SID on 29-5-2017.
*/
public class PanningController {
private ScrollBar scrollbar;
private GraphDrawer dr... | package gui.sub_controllers;
import gui.GraphDrawer;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.scene.control.ScrollBar;
/**
* Created by TUDelft SID on 29-5-2017.
*/
public class PanningController {
private ScrollBar scrollbar;
private GraphDrawer dr... | Fix bug with scrollbar in TB10 | Fix bug with scrollbar in TB10
| Java | apache-2.0 | ProgrammingLife2017/DynamiteAndButterflies |
a23f6997f1f7ae38a56ffe961590ce167175f6b4 | src/main/java/org/monospark/actioncontrol/kind/Kind.java | src/main/java/org/monospark/actioncontrol/kind/Kind.java | package org.monospark.actioncontrol.kind;
import org.monospark.actioncontrol.kind.matcher.KindMatcher;
public abstract class Kind implements KindMatcher {
private String name;
private int variant;
private KindType<?,?> type;
protected Kind(String name, int variant, KindType<?,?> type) {
this.name = name;
... | package org.monospark.actioncontrol.kind;
import org.monospark.actioncontrol.kind.matcher.KindMatcher;
public abstract class Kind implements KindMatcher {
private String name;
private int variant;
private KindType<?,?> type;
protected Kind(String name, int variant, KindType<?,?> type) {
this.name = name;
... | Fix string representation of kinds | Fix string representation of kinds | Java | mit | Monospark/ActionControl |
babbf7df84832652e8046adad0148d214cacf30e | src/main/java/de/flux/playground/deckcompare/Deckcompare.java | src/main/java/de/flux/playground/deckcompare/Deckcompare.java | package de.flux.playground.deckcompare;
import java.io.File;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.stereot... | package de.flux.playground.deckcompare;
import java.io.File;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.stereot... | Make package private methods public | Make package private methods public
| Java | apache-2.0 | JLengenfeld/deckcompare,JLengenfeld/deckcompare,JLengenfeld/deckcompare |
457877124764b0e40b52c1e1e53380ca37ecb19f | zuul-core/src/main/java/com/netflix/zuul/util/ProxyUtils.java | zuul-core/src/main/java/com/netflix/zuul/util/ProxyUtils.java | package com.netflix.zuul.util;
import com.netflix.client.http.HttpResponse;
import com.netflix.zuul.message.http.HttpRequestMessage;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
/**
* User: michaels@netflix.co... | package com.netflix.zuul.util;
import com.netflix.client.http.HttpResponse;
import com.netflix.zuul.message.http.HttpRequestMessage;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner;
/**
* User: michaels@netflix.co... | Stop stripping out the Server header from response from origins. Should overwrite this in a zuul filter if we don't want to use the Server header from origin, rather than removing it by default. | Stop stripping out the Server header from response from origins. Should overwrite this in a zuul filter if we don't want to use the Server header from origin, rather than removing it by default.
| Java | apache-2.0 | NiteshKant/zuul,Netflix/zuul,NiteshKant/zuul |
435a2760df87d569678b2c9469612e010209db3e | spatial-extras-test/src/test/java/org/googlecode/lucene/spatial/strategy/prefix/RecursiveGridStrategyWithExtrasTestCase.java | spatial-extras-test/src/test/java/org/googlecode/lucene/spatial/strategy/prefix/RecursiveGridStrategyWithExtrasTestCase.java | package org.googlecode.lucene.spatial.strategy.prefix;
import com.googlecode.lucene.spatial.base.context.JtsSpatialContext;
import org.apache.lucene.spatial.base.prefix.GeohashSpatialPrefixGrid;
import org.apache.lucene.spatial.strategy.SimpleSpatialFieldInfo;
import org.apache.lucene.spatial.strategy.prefix.Recursive... | package org.googlecode.lucene.spatial.strategy.prefix;
import com.googlecode.lucene.spatial.base.context.JtsSpatialContext;
import org.apache.lucene.spatial.base.prefix.GeohashSpatialPrefixGrid;
import org.apache.lucene.spatial.strategy.SimpleSpatialFieldInfo;
import org.apache.lucene.spatial.strategy.prefix.Recursive... | Test polygon indexing using state polys & bbox queries. Fails right now. | Test polygon indexing using state polys & bbox queries. Fails right now.
| Java | apache-2.0 | ryantxu/spatial-solr-sandbox,varsis/spatial4j,jdeolive/spatial4j,jdeolive/spatial4j |
1365bd28c1e958b9705c2c4315e7b123ef136700 | google/src/com/kevinquan/google/activityrecoginition/AbstractActivityRecognitionCallback.java | google/src/com/kevinquan/google/activityrecoginition/AbstractActivityRecognitionCallback.java | /*
* Copyright 2014 Kevin Quan (kevin.quan@gmail.com)
*
* 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 appli... | /*
* Copyright 2014 Kevin Quan (kevin.quan@gmail.com)
*
* 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 applic... | Update to latest Google Play Services APIs | Update to latest Google Play Services APIs | Java | apache-2.0 | kquan/android-utils |
3a3b073c7d90ad30b47841e9857e3c210274dbc9 | org.spoofax.interpreter.core/src/main/java/org/spoofax/interpreter/library/ssl/SSL_immutable_relation_values_set.java | org.spoofax.interpreter.core/src/main/java/org/spoofax/interpreter/library/ssl/SSL_immutable_relation_values_set.java | package org.spoofax.interpreter.library.ssl;
import io.usethesource.capsule.Set;
import org.spoofax.interpreter.core.IContext;
import org.spoofax.interpreter.library.AbstractPrimitive;
import org.spoofax.interpreter.stratego.Strategy;
import org.spoofax.interpreter.terms.IStrategoTerm;
public class SSL_immutable_rel... | package org.spoofax.interpreter.library.ssl;
import io.usethesource.capsule.Set;
import org.spoofax.interpreter.core.IContext;
import org.spoofax.interpreter.library.AbstractPrimitive;
import org.spoofax.interpreter.stratego.Strategy;
import org.spoofax.interpreter.terms.IStrategoTerm;
public class SSL_immutable_rel... | Fix bug where two primitives use the same name | Fix bug where two primitives use the same name
| Java | apache-2.0 | metaborg/mb-exec,metaborg/mb-exec,metaborg/mb-exec |
d41a67673cb93ecb547b79eb721e34f7782f80b1 | testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ee/appclient/basic/AppClientStateSingleton.java | testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/ee/appclient/basic/AppClientStateSingleton.java | package org.jboss.as.test.integration.ee.appclient.basic;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import javax.ejb.ConcurrencyManagement;
import javax.ejb.ConcurrencyManagementType;
import javax.ejb.Singleton;
/**
* @author Stuart Douglas
*/
@Singleton
@ConcurrencyManageme... | package org.jboss.as.test.integration.ee.appclient.basic;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import javax.ejb.ConcurrencyManagement;
import javax.ejb.ConcurrencyManagementType;
import javax.ejb.Singleton;
import org.jboss.logging.Logger;
/**
* @author Stuart Douglas
... | Add some temporary debug logging to figure out test failures | Add some temporary debug logging to figure out test failures
| Java | lgpl-2.1 | rhusar/wildfly,golovnin/wildfly,rhusar/wildfly,wildfly/wildfly,jstourac/wildfly,rhusar/wildfly,pferraro/wildfly,xasx/wildfly,99sono/wildfly,pferraro/wildfly,99sono/wildfly,golovnin/wildfly,jstourac/wildfly,99sono/wildfly,pferraro/wildfly,wildfly/wildfly,jstourac/wildfly,wildfly/wildfly,rhusar/wildfly,tomazzupan/wildfly... |
3ef9bf72d41dc7556682842947e19183d8e75456 | applications/plugins/org.csstudio.opibuilder.adl2boy/src/org/csstudio/opibuilder/adl2boy/translator/Composite2Model.java | applications/plugins/org.csstudio.opibuilder.adl2boy/src/org/csstudio/opibuilder/adl2boy/translator/Composite2Model.java | package org.csstudio.opibuilder.adl2boy.translator;
import org.csstudio.opibuilder.model.AbstractWidgetModel;
import org.csstudio.utility.adlparser.fileParser.ADLWidget;
import org.eclipse.swt.graphics.RGB;
public class Composite2Model extends AbstractADL2Model {
public Composite2Model(ADLWidget adlWidget, RGB[] co... | package org.csstudio.opibuilder.adl2boy.translator;
import org.csstudio.opibuilder.model.AbstractContainerModel;
import org.csstudio.opibuilder.model.AbstractWidgetModel;
import org.csstudio.opibuilder.widgets.model.GroupingContainerModel;
import org.csstudio.opibuilder.widgets.model.LabelModel;
import org.csstudio.op... | Add the first round of handling code. | Add the first round of handling code.
| Java | epl-1.0 | css-iter/cs-studio,ControlSystemStudio/cs-studio,css-iter/cs-studio,ControlSystemStudio/cs-studio,ESSICS/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,ESSICS/cs-studio,ControlSystemStudio/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,ControlSystemStudio/cs-studio,ControlSystemStudio/... |
91a28a547497c78d665d28c0369c2f0816f133a1 | BaragonService/src/main/java/com/hubspot/baragon/service/config/PurgeCacheConfiguration.java | BaragonService/src/main/java/com/hubspot/baragon/service/config/PurgeCacheConfiguration.java | package com.hubspot.baragon.service.config;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hubspot.baragon.models.BaragonService;
@JsonIgnor... | package com.hubspot.baragon.service.config;
import java.util.ArrayList;
import java.util.List;
import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hubspot.baragon.models.BaragonService;
@JsonIgnor... | Update null handling for enabledTemplates and excludedServiceIds | Update null handling for enabledTemplates and excludedServiceIds
| Java | apache-2.0 | HubSpot/Baragon,HubSpot/Baragon,HubSpot/Baragon |
12497f0e8eeee48ca4203ee4a193111af784ff34 | Sources/com/kaviju/accesscontrol/model/KAAccessListItem.java | Sources/com/kaviju/accesscontrol/model/KAAccessListItem.java | package com.kaviju.accesscontrol.model;
import org.apache.log4j.Logger;
@SuppressWarnings("serial")
public class KAAccessListItem extends com.kaviju.accesscontrol.model.base._KAAccessListItem {
@SuppressWarnings("unused")
private static Logger log = Logger.getLogger(KAAccessListItem.class);
}
| package com.kaviju.accesscontrol.model;
import org.apache.log4j.Logger;
import com.webobjects.foundation.NSArray;
@SuppressWarnings("serial")
public class KAAccessListItem extends com.kaviju.accesscontrol.model.base._KAAccessListItem {
@SuppressWarnings("unused")
private static Logger log = Logger.getLogger(KAAcce... | Add a way to get all the users with a specific role. | Add a way to get all the users with a specific role.
| Java | apache-2.0 | Kaviju/KAAccessControl,Kaviju/KAAccessControl |
8f76aa7d83b992166cd47b68fecf862f8e7cb0b6 | app/src/main/java/me/mattlogan/pancakes/MainActivity.java | app/src/main/java/me/mattlogan/pancakes/MainActivity.java | package me.mattlogan.pancakes;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.ViewGroup;
import me.mattlogan.library.ViewStack;
import me.mattlogan.library.ViewStackDelegate;
public class MainActivity extends AppCompatActivity
implement... | package me.mattlogan.pancakes;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.ViewGroup;
import me.mattlogan.library.ViewStack;
import me.mattlogan.library.ViewStackDelegate;
public class MainActivity extends AppCompatActivity
implements ViewStackActivity, View... | Update app module with bundle tag | Update app module with bundle tag
| Java | mit | digitalbuddha/Pancakes,mattlogan/Pancakes |
315443819f42faac0d431405f0a5ae362a49aa70 | spring-content-autoconfigure/src/main/java/internal/org/springframework/content/s3/boot/autoconfigure/S3ContentAutoConfiguration.java | spring-content-autoconfigure/src/main/java/internal/org/springframework/content/s3/boot/autoconfigure/S3ContentAutoConfiguration.java | package internal.org.springframework.content.s3.boot.autoconfigure;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.... | package internal.org.springframework.content.s3.boot.autoconfigure;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.... | Rename the autoconfigured AmazonS3 bean | Rename the autoconfigured AmazonS3 bean
- to avoid conflict with spring cloud aws messaging
Fixes #622
| Java | apache-2.0 | paulcwarren/spring-content,paulcwarren/spring-content,paulcwarren/spring-content |
b1203a36e9bc48346ff5ce71e9be4414e0ba24c5 | flux-file-watcher-core/src/main/java/com/codenvy/flux/watcher/core/spi/RepositoryProvider.java | flux-file-watcher-core/src/main/java/com/codenvy/flux/watcher/core/spi/RepositoryProvider.java | /*******************************************************************************
* Copyright (c) 2014 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
*... | /*******************************************************************************
* Copyright (c) 2014 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
*... | Add methods to add and remove a project from a repository | Add methods to add and remove a project from a repository | Java | epl-1.0 | Serli/flux-file-watcher |
608e0348f4a9c8b91e0c1237b6c0ed6893d909b0 | src/main/java/net/ihiroky/niotty/buffer/EncodeBufferGroup.java | src/main/java/net/ihiroky/niotty/buffer/EncodeBufferGroup.java | package net.ihiroky.niotty.buffer;
import java.util.ArrayDeque;
import java.util.Deque;
import java.util.Iterator;
/**
* @author Hiroki Itoh
*/
public class EncodeBufferGroup implements Iterable<EncodeBuffer> {
private Deque<EncodeBuffer> group = new ArrayDeque<>();
public void addLast(EncodeBuffer encode... | package net.ihiroky.niotty.buffer;
import java.util.ArrayDeque;
import java.util.Deque;
import java.util.Iterator;
/**
* @author Hiroki Itoh
*/
public class EncodeBufferGroup implements Iterable<EncodeBuffer> {
private Deque<EncodeBuffer> group = new ArrayDeque<>();
public void addLast(EncodeBuffer encode... | Add method to count filled bytes | Add method to count filled bytes
Calculate the sum of element's filledBytes().
| Java | mit | ihiroky/niotty |
2474400842ee520901850fa797d9a9ff7be655e4 | src/test/java/com/llnw/storage/client/MockEndpointFactory.java | src/test/java/com/llnw/storage/client/MockEndpointFactory.java | package com.llnw.storage.client;
import com.google.common.collect.Lists;
import com.llnw.storage.client.io.ActivityCallback;
import javax.annotation.Nullable;
import java.io.File;
import java.io.IOException;
import java.util.List;
public class MockEndpointFactory extends EndpointFactory {
public MockEndpointFac... | package com.llnw.storage.client;
import com.google.common.collect.Lists;
import com.google.common.io.Files;
import com.llnw.storage.client.io.ActivityCallback;
import javax.annotation.Nullable;
import java.io.File;
import java.io.IOException;
import java.util.List;
public class MockEndpointFactory extends EndpointF... | Allow for destination file in mock endpoint | Allow for destination file in mock endpoint
| Java | mit | Orchestrate-Cloud-Storage/StorageClient |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.