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 |
|---|---|---|---|---|---|---|---|---|---|
b51ff5cc660485a7c24667aab450e83d16aabba3 | Chapter5/src/RandomNumber.java | Chapter5/src/RandomNumber.java | /**
* Created by Nathan_Zeplowitz on 4/14/15.
*/
public class RandomNumber {
private int number;
public RandomNumber(){
this.number = (int) (Math.random() * 100);
}
public int getNumber() {
return number;
}
}
| /**
* Created by Nathan_Zeplowitz on 4/14/15.
*/
public class RandomNumber {
private int number;
public RandomNumber(){
this.number = (int) (Math.random() * 100);
}
public int getNumber() {
return number;
}
public String checkGuess(String userGuess) {
int guess = Int... | Add CheckGuess Method to Random Number | Add CheckGuess Method to Random Number
| Java | mit | n-zeplo/TW101_Exercises |
52b845ad513bfcc43f0ae4179d254a964676e7bf | src/de.sormuras.bach/main/java/de/sormuras/bach/util/Tools.java | src/de.sormuras.bach/main/java/de/sormuras/bach/util/Tools.java | package de.sormuras.bach.util;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.ServiceLoader;
import java.util.TreeMap;
import java.util.function.Consumer;
import java.util.spi.ToolProvider;
/** Tool registry. */
public class Tools {
final Map<String, ToolProvider> map;
public To... | package de.sormuras.bach.util;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.ServiceLoader;
import java.util.TreeMap;
import java.util.function.Consumer;
import java.util.spi.ToolProvider;
/** Tool registry. */
public class Tools {
final Map<String, ToolProvider> map;
public To... | Use system (application) class loader to load tool providers | Use system (application) class loader to load tool providers
| Java | mit | sormuras/bach,sormuras/bach |
198ed1dfba63f29d86ee9a5da03921f6253d1d4c | cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/ListRoutesRequestTest.java | cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/ListRoutesRequestTest.java | /*
* Copyright 2013-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | /*
* Copyright 2013-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | Add test for level being omitted on Routes operation. | Add test for level being omitted on Routes operation.
Added testing for the default case.
| Java | apache-2.0 | cloudfoundry/cf-java-client,orange-cloudfoundry/cf-java-client,Orange-OpenSource/cf-java-client,Orange-OpenSource/cf-java-client,orange-cloudfoundry/cf-java-client,cloudfoundry/cf-java-client,alexander071/cf-java-client,alexander071/cf-java-client,cloudfoundry/cf-java-client |
65ce1eb6e951099b85231e4677b908b13719f314 | modules/archive/src/main/java/java/util/jar/JarException.java | modules/archive/src/main/java/java/util/jar/JarException.java | /* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
*
* 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/LIC... | /* Copyright 1998, 2005 The Apache Software Foundation or its licensors, as applicable
*
* 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/LIC... | Add constant SUID and minor reformatting | Add constant SUID and minor reformatting
svn path=/incubator/harmony/enhanced/classlib/trunk/; revision=410556
| Java | apache-2.0 | freeVM/freeVM,freeVM/freeVM,freeVM/freeVM,freeVM/freeVM,freeVM/freeVM |
b4574bd20bca63ff09e8d91b93338293582e21be | mbhd-core/src/main/java/org/multibit/hd/core/dto/WalletMode.java | mbhd-core/src/main/java/org/multibit/hd/core/dto/WalletMode.java | package org.multibit.hd.core.dto;
/**
* <p>Enum to provide the following to various UI models:</p>
* <ul>
* <li>High level wallet type selection (standard, Trezor, KeepKey etc)</li>
* </ul>
*
* <p>This reduces code complexity in factory methods when deciding how to build supporting objects</p>
*
* @since 0.0.1... | package org.multibit.hd.core.dto;
/**
* <p>Enum to provide the following to various UI models:</p>
* <ul>
* <li>High level wallet type selection (standard, Trezor, KeepKey etc)</li>
* </ul>
*
* <p>This reduces code complexity in factory methods when deciding how to build supporting objects</p>
*
* @since 0.0.1... | Add support for brand names in message keys to reduce translation burden | Add support for brand names in message keys to reduce translation burden
| Java | mit | bitcoin-solutions/multibit-hd,akonring/multibit-hd-modified,akonring/multibit-hd-modified,bitcoin-solutions/multibit-hd,akonring/multibit-hd-modified,bitcoin-solutions/multibit-hd |
8bf07a7b7d1930094e87e0a2a783306d1bd2b4f4 | carpooling-web/src/main/java/it/smartcommunitylab/carpooling/mongo/repos/TravelRepository.java | carpooling-web/src/main/java/it/smartcommunitylab/carpooling/mongo/repos/TravelRepository.java | /**
* Copyright 2015 Smart Community Lab
*
* 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 2015 Smart Community Lab
*
* 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 for usage of PagingAndSortingRepository | Fix for usage of PagingAndSortingRepository
| Java | apache-2.0 | smartcommunitylab/sco.carpooling,smartcommunitylab/sco.carpooling,smartcommunitylab/sco.carpooling |
189e5288928ad40192bd1594351746ea5ae7db7f | src/main/java/name/matco/simcity/api/ObjectMapperResolver.java | src/main/java/name/matco/simcity/api/ObjectMapperResolver.java | package name.matco.simcity.api;
import javax.ws.rs.ext.ContextResolver;
import javax.ws.rs.ext.Provider;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
@Provider
public class ObjectMapperResolver implements ContextResolver<ObjectMapper> {
private fin... | package name.matco.simcity.api;
import java.io.IOException;
import javax.ws.rs.core.MultivaluedMap;
import javax.ws.rs.ext.ContextResolver;
import javax.ws.rs.ext.Provider;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.util.DefaultIndenter;
import com.fasterxml.jackson.core.util.... | Improve indentation of JSON content from REST API | Improve indentation of JSON content from REST API
| Java | unlicense | matco/simcity,matco/simcity,matco/simcity |
708ba7b2057884b3abd66778a51378010c635e04 | test/src/org/apache/jmeter/threads/TestJMeterContextService.java | test/src/org/apache/jmeter/threads/TestJMeterContextService.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 ... | Create some tests for JMeterContextService | Create some tests for JMeterContextService
git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/trunk@634114 13f79535-47bb-0310-9956-ffa450edef68
Former-commit-id: b15f11b6a02e16103f434a4a2a64a0bdd7f863e9 | Java | apache-2.0 | benbenw/jmeter,apache/jmeter,etnetera/jmeter,ham1/jmeter,etnetera/jmeter,etnetera/jmeter,benbenw/jmeter,apache/jmeter,etnetera/jmeter,ham1/jmeter,ham1/jmeter,ham1/jmeter,apache/jmeter,etnetera/jmeter,apache/jmeter,benbenw/jmeter,apache/jmeter,benbenw/jmeter,ham1/jmeter |
6d5db695523d5f1a954b9d40b089207d96a64c44 | validation-policy/src/main/java/eu/europa/esig/dss/validation/process/qmatrix/EIDASUtils.java | validation-policy/src/main/java/eu/europa/esig/dss/validation/process/qmatrix/EIDASUtils.java | package eu.europa.esig.dss.validation.process.qmatrix;
import java.util.Date;
import javax.xml.bind.DatatypeConverter;
public final class EIDASUtils {
private EIDASUtils() {
}
/**
* Start date of the eIDAS regularisation
*/
private final static Date EIDAS_DATE = DatatypeConverter.parseDateTime("2016-07-01T... | package eu.europa.esig.dss.validation.process.qmatrix;
import java.util.Date;
import javax.xml.bind.DatatypeConverter;
public final class EIDASUtils {
private EIDASUtils() {
}
/**
* Start date of the eIDAS regulation
*
* Regulation was signed in Brussels : 1st of July 00:00 Brussels = 30th of June 22:00 ... | Fix eIDAS date (Brussels date is used) | Fix eIDAS date (Brussels date is used)
| Java | lgpl-2.1 | zsoltii/dss,esig/dss,zsoltii/dss,openlimit-signcubes/dss,esig/dss,alisdev/dss,openlimit-signcubes/dss,alisdev/dss |
05bc5f01e741bdda863070e043e32005cd661003 | src/test/java/info/u_team/u_team_test/init/TestDimensions.java | src/test/java/info/u_team/u_team_test/init/TestDimensions.java | package info.u_team.u_team_test.init;
import info.u_team.u_team_test.TestMod;
import net.minecraftforge.event.entity.EntityTravelToDimensionEvent;
import net.minecraftforge.event.world.RegisterDimensionsEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod.EventBusSubsc... | package info.u_team.u_team_test.init;
import info.u_team.u_team_test.TestMod;
import net.minecraftforge.event.entity.EntityTravelToDimensionEvent;
import net.minecraftforge.event.entity.player.PlayerEvent.PlayerChangedDimensionEvent;
import net.minecraftforge.event.world.RegisterDimensionsEvent;
import net.minecraftfo... | Fix compile error due to new forge version | Fix compile error due to new forge version
| Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
3dbe6ccdeda092f3c32cb0c81bbe8c5a1af4cccb | fml/src/main/java/cpw/mods/fml/relauncher/FMLSecurityManager.java | fml/src/main/java/cpw/mods/fml/relauncher/FMLSecurityManager.java | package cpw.mods.fml.relauncher;
import java.security.Permission;
/**
* A custom security manager stopping certain events from happening
* unexpectedly.
*
* @author cpw
*
*/
public class FMLSecurityManager extends SecurityManager {
@Override
public void checkPermission(Permission perm)
{
Str... | package cpw.mods.fml.relauncher;
import java.security.Permission;
/**
* A custom security manager stopping certain events from happening
* unexpectedly.
*
* @author cpw
*
*/
public class FMLSecurityManager extends SecurityManager {
@Override
public void checkPermission(Permission perm)
{
Str... | Fix up other exit points. Should stop process hangs for clean exits. | Fix up other exit points. Should stop process hangs for clean exits.
| Java | lgpl-2.1 | Ghostlyr/MinecraftForge,bonii-xx/MinecraftForge,dmf444/MinecraftForge,brubo1/MinecraftForge,simon816/MinecraftForge,karlthepagan/MinecraftForge,shadekiller666/MinecraftForge,mickkay/MinecraftForge,jdpadrnos/MinecraftForge,Mathe172/MinecraftForge,CrafterKina/MinecraftForge,blay09/MinecraftForge,fcjailybo/MinecraftForge,... |
5a9515e2f9c9a5948cfe7760bcc218a402f144bc | src/main/java/org/opencds/cqf/config/STU3LibrarySourceProvider.java | src/main/java/org/opencds/cqf/config/STU3LibrarySourceProvider.java | package org.opencds.cqf.config;
import ca.uhn.fhir.jpa.rp.dstu3.LibraryResourceProvider;
import org.cqframework.cql.cql2elm.FhirLibrarySourceProvider;
import org.cqframework.cql.cql2elm.LibrarySourceProvider;
import org.hl7.elm.r1.VersionedIdentifier;
import org.hl7.fhir.dstu3.model.Attachment;
import org.hl7.fhir.ds... | package org.opencds.cqf.config;
import ca.uhn.fhir.jpa.rp.dstu3.LibraryResourceProvider;
import org.cqframework.cql.cql2elm.FhirLibrarySourceProvider;
import org.cqframework.cql.cql2elm.LibrarySourceProvider;
import org.hl7.elm.r1.VersionedIdentifier;
import org.hl7.fhir.dstu3.model.Attachment;
import org.hl7.fhir.ds... | Put exception eating back in | Put exception eating back in
| Java | apache-2.0 | DBCG/cql_measure_processor,DBCG/cqf-ruler,DBCG/cql_measure_processor,DBCG/cqf-ruler,DBCG/cqf-ruler |
d577a812b889911a588d754aee66d87da471f8d4 | lambda-behave/src/main/java/com/insightfullogic/lambdabehave/expectations/StringExpectation.java | lambda-behave/src/main/java/com/insightfullogic/lambdabehave/expectations/StringExpectation.java | package com.insightfullogic.lambdabehave.expectations;
import org.hamcrest.Matcher;
import org.hamcrest.Matchers;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
/**
* .
*/
public final class StringExpectation extends BoundExpectation<String> {
public StringExpectation(fin... | package com.insightfullogic.lambdabehave.expectations;
import org.hamcrest.Matcher;
import org.hamcrest.Matchers;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
/**
* .
*/
public final class StringExpectation extends BoundExpectation<String> {
public StringExpectation(fin... | Add failure message when testing whether a string matches a regex | Add failure message when testing whether a string matches a regex
| Java | mit | jypma/lambda-behave,dhunziker/lambda-behave,Writtscher/lambda-behave,RichardWarburton/lambda-behave,dhunziker/lambda-behave,ofdrm/lambda-behave,jypma/lambda-behave,Writtscher/lambda-behave,RichardWarburton/lambda-behave,ofdrm/lambda-behave |
6a7a7312a79782d01eb3eb9e0b544fa365a430ff | src/com/facebook/buck/util/zip/collect/ZipEntrySourceFromZip.java | src/com/facebook/buck/util/zip/collect/ZipEntrySourceFromZip.java | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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... | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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... | Use BuckStylePrehashedValue instead of overriding BuckStyleValue | Use BuckStylePrehashedValue instead of overriding BuckStyleValue
Reviewed By: cjhopman
shipit-source-id: e8fa582b5625172ed362e697e82e07477e3c1ebf
| Java | apache-2.0 | Addepar/buck,Addepar/buck,kageiit/buck,JoelMarcey/buck,nguyentruongtho/buck,JoelMarcey/buck,Addepar/buck,Addepar/buck,zpao/buck,JoelMarcey/buck,facebook/buck,zpao/buck,JoelMarcey/buck,Addepar/buck,nguyentruongtho/buck,JoelMarcey/buck,Addepar/buck,JoelMarcey/buck,nguyentruongtho/buck,Addepar/buck,JoelMarcey/buck,kageiit... |
c37384eccc3ccf59efd40d8ef4a91497c6326b60 | core/src/main/java/org/jboss/gwt/elemento/core/LazyElement.java | core/src/main/java/org/jboss/gwt/elemento/core/LazyElement.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
* distributed u... | /*
* 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
* distributed u... | Make API changes backward compatible | Make API changes backward compatible
| Java | apache-2.0 | hal/elemento,hal/elemento |
9fb656f755e64c4a67b593d566f7e012efd8702e | src/test.java | src/test.java | package src;
/**
* Created by roxane on 03/10/2016.
*/
public class test {
public static void main(String[] args) {
System.out.println("Hello world");
}
}
| public class test {
public static void main(String[] args) {
System.out.println("Hello world");
}
}
| Create Java package inside src/ folder | Create Java package inside src/ folder
The package will allow the project to respect standard Java
architecture.
| Java | mit | CRollin/ptiChat |
4d6a47afedc4b2b32d07a3f9db9037b756291415 | plugin-azure-server-base/src/main/java/jetbrains/buildServer/clouds/azure/AzureAgentNameChanger.java | plugin-azure-server-base/src/main/java/jetbrains/buildServer/clouds/azure/AzureAgentNameChanger.java | package jetbrains.buildServer.clouds.azure;
import jetbrains.buildServer.serverSide.BuildAgentEx;
import jetbrains.buildServer.serverSide.BuildServerAdapter;
import jetbrains.buildServer.serverSide.SBuildAgent;
import jetbrains.buildServer.util.StringUtil;
import org.jetbrains.annotations.NotNull;
import java.util.Ma... | package jetbrains.buildServer.clouds.azure;
import jetbrains.buildServer.serverSide.BuildAgentEx;
import jetbrains.buildServer.serverSide.BuildServerAdapter;
import jetbrains.buildServer.serverSide.SBuildAgent;
import jetbrains.buildServer.util.StringUtil;
import org.jetbrains.annotations.NotNull;
import java.util.Ma... | Change build agent name only if it differs | Change build agent name only if it differs
| Java | apache-2.0 | JetBrains/teamcity-azure-plugin,JetBrains/teamcity-azure-plugin,JetBrains/teamcity-azure-plugin |
287f8d077b78720e60d619aa326ed42f07c9912c | src/main/java/ee/ellytr/autoclick/tps/TPSRunnable.java | src/main/java/ee/ellytr/autoclick/tps/TPSRunnable.java | package ee.ellytr.autoclick.tps;
import ee.ellytr.autoclick.EllyCheat;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
public class TPSRunnable implements Runnable {
@Override
public void run() {
for (Player player : Bukkit.getOnlinePlayers()) {
dou... | package ee.ellytr.autoclick.tps;
import ee.ellytr.autoclick.EllyCheat;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
public class TPSRunnable implements Runnable {
@Override
public void run() {
for (Player player : Bukkit.getOnlinePlayers()) {
dou... | Fix TPS warning messages being sent too many times | Fix TPS warning messages being sent too many times
| Java | mit | iEli2tyree011/EllyCheat,Zenzoh/EllyCheat |
10ad7ba7bf6ba5085173ddc0aa7f2b8dfd2effb2 | sample/src/main/java/de/rheinfabrik/heimdalldroid/network/oauth2/TraktTvRefreshAccessTokenGrant.java | sample/src/main/java/de/rheinfabrik/heimdalldroid/network/oauth2/TraktTvRefreshAccessTokenGrant.java | package de.rheinfabrik.heimdalldroid.network.oauth2;
import de.rheinfabrik.heimdall2.OAuth2AccessToken;
import de.rheinfabrik.heimdall2.grants.OAuth2RefreshAccessTokenGrant;
import de.rheinfabrik.heimdalldroid.network.TraktTvApiFactory;
import de.rheinfabrik.heimdalldroid.network.models.RefreshTokenRequestBody;
import... | package de.rheinfabrik.heimdalldroid.network.oauth2;
import de.rheinfabrik.heimdall2.OAuth2AccessToken;
import de.rheinfabrik.heimdall2.grants.OAuth2RefreshAccessTokenGrant;
import de.rheinfabrik.heimdalldroid.network.TraktTvApiFactory;
import de.rheinfabrik.heimdalldroid.network.models.RefreshTokenRequestBody;
import... | Migrate usage of the TokenGrant in the sample | Migrate usage of the TokenGrant in the sample
| Java | apache-2.0 | trivago/Heimdall.droid,rheinfabrik/Heimdall.droid |
f86d224eab6b47ee19629d470553b7476765694d | src/test/java/com/github/havarunner/scenarios/duplicated/VerifyThatTestAreRunOnlyOnceTestSuperClass.java | src/test/java/com/github/havarunner/scenarios/duplicated/VerifyThatTestAreRunOnlyOnceTestSuperClass.java | package com.github.havarunner.scenarios.duplicated;
import com.github.havarunner.annotation.AfterAll;
import org.junit.Test;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
import static org.junit.Assert.assertTrue;
abstract class VerifyThatTestAreRunOnlyOnceTestSuperClass {
protected f... | package com.github.havarunner.scenarios.duplicated;
import org.junit.Test;
import java.util.List;
import java.util.concurrent.atomic.AtomicInteger;
import static org.junit.Assert.assertTrue;
abstract class VerifyThatTestAreRunOnlyOnceTestSuperClass {
protected final AtomicInteger suiteObject;
protected fina... | Remove @AfterAll, did not cause problem after all | Remove @AfterAll, did not cause problem after all | Java | mit | havarunner/havarunner,havarunner/havarunner |
b6a637e7c595877da8b7974f210b285bc2e349f0 | org.csstudio.display.builder.model/src/org/csstudio/display/builder/model/properties/WritePVActionInfo.java | org.csstudio.display.builder.model/src/org/csstudio/display/builder/model/properties/WritePVActionInfo.java | /*******************************************************************************
* Copyright (c) 2015-2016 Oak Ridge National Laboratory.
* 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, ... | /*******************************************************************************
* Copyright (c) 2015-2016 Oak Ridge National Laboratory.
* 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, ... | Use same string representation as BOY | WritePVAction: Use same string representation as BOY
"Write 1 to some_pv" was used in BOY, and this this shows on buttons
that use $(actions) as their label, a different text impacts existing
screens | Java | epl-1.0 | ESSICS/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display... |
ed017c50a91ec7ff328f19771e3b13f966d8cda6 | src/main/java/org/dita/dost/platform/CheckTranstypeAction.java | src/main/java/org/dita/dost/platform/CheckTranstypeAction.java | /*
* This file is part of the DITA Open Toolkit project.
* See the accompanying license.txt file for applicable licenses.
*/
/*
* (c) Copyright IBM Corp. 2008 All Rights Reserved.
*/
package org.dita.dost.platform;
import org.dita.dost.util.StringUtils;
/**
* CheckTranstypeAction class.
*
*/
final class Check... | /*
* This file is part of the DITA Open Toolkit project.
* See the accompanying license.txt file for applicable licenses.
*/
/*
* (c) Copyright IBM Corp. 2008 All Rights Reserved.
*/
package org.dita.dost.platform;
import org.dita.dost.util.StringUtils;
/**
* CheckTranstypeAction class.
*
*/
final class Check... | Add default check type in integration | Add default check type in integration
Fixes broken unit tests from commit bfdda34.
| Java | apache-2.0 | queshaw/dita-ot,queshaw/dita-ot,zanyants/dita-ot,infotexture/dita-ot,zanyants/dita-ot,drmacro/dita-ot,jelovirt/muuntaja,eerohele/dita-ot,Hasimir/dita-ot,queshaw/dita-ot,drmacro/dita-ot,infotexture/dita-ot,eerohele/dita-ot,shaneataylor/dita-ot,drmacro/dita-ot,zanyants/dita-ot,shaneataylor/dita-ot,drmacro/dita-ot,dita-ot... |
15675d7fa1686d3c57a5a21561a28029fa23f8fa | core/src/main/java/arez/Reaction.java | core/src/main/java/arez/Reaction.java | package arez;
import javax.annotation.Nonnull;
import jsinterop.annotations.JsFunction;
/**
* Interface that accepts an {@link Observer} that has been scheduled and
* performs the actions required to run observer.
*
* <p>The interface is marked with the {@link JsFunction} annotation to communicate
* to the GWT2 ... | package arez;
import javax.annotation.Nonnull;
/**
* Interface that accepts an {@link Observer} that has been scheduled and
* performs the actions required to run observer.
*/
@FunctionalInterface
interface Reaction
{
/**
* React to changes, or throw an exception if unable to do so.
*
* @param observer ... | Remove JsFunction as in some cases it increases the code size | Remove JsFunction as in some cases it increases the code size
| Java | apache-2.0 | realityforge/arez,realityforge/arez,realityforge/arez |
88bffc6fde1498220bbac98ac980251d7bb6be25 | src/main/java/com/Acrobot/Breeze/Configuration/FieldParser.java | src/main/java/com/Acrobot/Breeze/Configuration/FieldParser.java | package com.Acrobot.Breeze.Configuration;
import com.Acrobot.Breeze.Configuration.Annotations.ConfigurationComment;
import java.lang.reflect.Field;
/**
* @author Acrobot
*/
public class FieldParser {
/**
* Parses a field into a YAML-compatible string
*
* @param field Field to parse
* @retur... | package com.Acrobot.Breeze.Configuration;
import com.Acrobot.Breeze.Configuration.Annotations.ConfigurationComment;
import java.lang.reflect.Field;
/**
* @author Acrobot
*/
public class FieldParser {
/**
* Parses a field into a YAML-compatible string
*
* @param field Field to parse
* @retur... | Move comments in above config fields. This should help avoid confusions as it matches the class' annotation layout and almost every other plugin does it like this. | Move comments in above config fields.
This should help avoid confusions as it matches the class' annotation layout and almost every other plugin does it like this.
| Java | lgpl-2.1 | ChestShop-authors/ChestShop-3,ChestShop-authors/ChestShop-3 |
da3f70a5f82d635b4a5f287dda4c06c1b9e3affd | codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlRequestLauncherConstants.java | codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/client/sqllauncher/SqlRequestLauncherConstants.java | package com.codenvy.ide.ext.datasource.client.sqllauncher;
import com.google.gwt.i18n.client.LocalizableResource.DefaultLocale;
import com.google.gwt.i18n.client.Messages;
@DefaultLocale("en")
public interface SqlRequestLauncherConstants extends Messages {
@DefaultMessage("Open SQL editor")
String menuEntryO... | package com.codenvy.ide.ext.datasource.client.sqllauncher;
import com.google.gwt.i18n.client.LocalizableResource.DefaultLocale;
import com.google.gwt.i18n.client.Messages;
@DefaultLocale("en")
public interface SqlRequestLauncherConstants extends Messages {
@DefaultMessage("Open SQL editor")
String menuEntryO... | Add string for execution mode | Add string for execution mode | Java | epl-1.0 | codenvy/plugin-datasource,codenvy/plugin-datasource |
63d31e48a14fdf5faef7355cc00c4f96bd266ab2 | Demo/src/main/java/com/braintreepayments/demo/SettingsActivity.java | Demo/src/main/java/com/braintreepayments/demo/SettingsActivity.java | package com.braintreepayments.demo;
import android.app.Activity;
import android.os.Bundle;
import android.view.MenuItem;
import com.braintreepayments.demo.fragments.SettingsFragment;
public class SettingsActivity extends Activity {
@SuppressWarnings("ConstantConditions")
@Override
protected void onCreat... | package com.braintreepayments.demo;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.MenuItem;
import com.braintreepayments.demo.fragments.SettingsFragment;
public class SettingsActivity extends AppCompatActivity {
@SuppressWarnings("ConstantConditions")
@Overri... | Fix crash in demo app settings | Fix crash in demo app settings
| Java | mit | braintree/braintree_android,braintree/braintree_android,braintree/braintree_android,braintree/braintree_android |
0e3fc13a77ed2b09152dc4ffb6f3a1e04932808d | android/titanium/src/org/appcelerator/titanium/ContextSpecific.java | android/titanium/src/org/appcelerator/titanium/ContextSpecific.java | package org.appcelerator.titanium;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface ContextSpecific {
}
| package org.appcelerator.titanium;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface ContextSpecific {
}
| Remove crlf - oops, changed settings on my Win7 dev machine | Remove crlf - oops, changed settings on my Win7 dev machine
| Java | apache-2.0 | perdona/titanium_mobile,bhatfield/titanium_mobile,linearhub/titanium_mobile,perdona/titanium_mobile,pec1985/titanium_mobile,taoger/titanium_mobile,csg-coder/titanium_mobile,ashcoding/titanium_mobile,shopmium/titanium_mobile,openbaoz/titanium_mobile,taoger/titanium_mobile,arnaudsj/titanium_mobile,KangaCoders/titanium_mo... |
439e70fa354b187434410b993539f5bab0ff5cd1 | org/xbill/DNS/ResolveThread.java | org/xbill/DNS/ResolveThread.java | // Copyright (c) 1999 Brian Wellington (bwelling@xbill.org)
// Portions Copyright (c) 1999 Network Associates, Inc.
package org.xbill.DNS;
import java.util.*;
import java.io.*;
import java.net.*;
/**
* A special-purpose thread used by Resolvers (both SimpleResolver and
* ExtendedResolver) to perform asynchronous q... | // Copyright (c) 1999 Brian Wellington (bwelling@xbill.org)
// Portions Copyright (c) 1999 Network Associates, Inc.
package org.xbill.DNS;
import java.util.*;
import java.io.*;
import java.net.*;
/**
* A special-purpose thread used by Resolvers (both SimpleResolver and
* ExtendedResolver) to perform asynchronous q... | Make this a subclass of Thread. | Make this a subclass of Thread.
git-svn-id: becfadaebdf67c7884f0d18099f2460615305e2e@969 c76caeb1-94fd-44dd-870f-0c9d92034fc1
| Java | bsd-2-clause | mohamad-z/dnsjava,jitsi/dnsjava,wmudge/dnsjava,mohamad-z/dnsjava,draekko/dnsjava,draekko/dnsjava,yplo6403/dnsjava,slackwareer/javadns,jitsi/dnsjava,yplo6403/dnsjava,tks-dp/dnsjava,ieugen/dnsjava,dnsjava/dnsjava,tks-dp/dnsjava,wmudge/dnsjava |
ca778ee95c0e3c52065feda21e1e1a4e8c284cd1 | SmartChat/src/main/java/io/smartlogic/smartchat/GcmIntentService.java | SmartChat/src/main/java/io/smartlogic/smartchat/GcmIntentService.java | package io.smartlogic.smartchat;
import android.app.IntentService;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.NotificationCompat;
import android.support.v4.app.TaskStack... | package io.smartlogic.smartchat;
import android.app.IntentService;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.NotificationCompat;
import android.support.v4.app.TaskStack... | Use the media id as notification id | Use the media id as notification id
| Java | mit | smartlogic/smartchat-android,smartlogic/smartchat-android |
b7db350d40f9d53a2f59e2aee7840b8d11e671ef | deltaspike-exception-handling/src/main/java/org/jboss/as/quickstarts/deltaspike/exceptionhandling/util/Resources.java | deltaspike-exception-handling/src/main/java/org/jboss/as/quickstarts/deltaspike/exceptionhandling/util/Resources.java | /*
* JBoss, Home of Professional Open Source
* Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
* contributors by the @authors tag. See the copyright.txt in the
* distribution for a full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* y... | /*
* JBoss, Home of Professional Open Source
* Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual
* contributors by the @authors tag. See the copyright.txt in the
* distribution for a full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* y... | Fix compilation error in deltaspike quickstart | Fix compilation error in deltaspike quickstart
| Java | apache-2.0 | rgupta1234/jboss-eap-quickstarts,trepel/jboss-eap-quickstarts,hguerrero/jboss-eap-quickstarts,praveen20187/jboss-eap-quickstarts,Maarc/jboss-eap-quickstarts,DLT-Solutions-JBoss/jboss-eap-quickstarts,ivanthelad/jboss-eap-quickstarts,jonje/jboss-eap-quickstarts,jgisler/jboss-eap-quickstarts,hslee9397/jboss-eap-quickstart... |
59f5a94352bc2f8dfe6b6033c31701b359f5c19c | src/main/java/ch/rasc/eds/starter/schedule/DisableInactiveUser.java | src/main/java/ch/rasc/eds/starter/schedule/DisableInactiveUser.java | package ch.rasc.eds.starter.schedule;
import java.time.ZoneOffset;
import java.time.ZonedDateTime;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import com.mongodb.client.model.Filters;
impor... | package ch.rasc.eds.starter.schedule;
import java.time.ZoneOffset;
import java.time.ZonedDateTime;
import java.util.Date;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import com.mongodb.clie... | Fix query. Has to use java.util.Date | Fix query. Has to use java.util.Date | Java | apache-2.0 | ralscha/eds-starter6-mongodb,ralscha/eds-starter6-mongodb,ralscha/eds-starter6-mongodb |
8350f22c0f0a7fa5ae57e613621c111df4e48d7d | desktop/src/main/java/bisq/desktop/common/view/CachingViewLoader.java | desktop/src/main/java/bisq/desktop/common/view/CachingViewLoader.java | /*
* This file is part of Bisq.
*
* Bisq is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version.
*
* Bisq is distributed in the ... | /*
* This file is part of Bisq.
*
* Bisq is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or (at
* your option) any later version.
*
* Bisq is distributed in the ... | Set correct type of cache map | Set correct type of cache map
| Java | agpl-3.0 | bitsquare/bitsquare,bitsquare/bitsquare,bisq-network/exchange,bisq-network/exchange |
d70584fdc18d9eadcbc142c12f339e7d24ace996 | commonmark-ext-heading-anchor/src/main/java/org/commonmark/ext/heading/anchor/internal/HeadingIdAttributeProvider.java | commonmark-ext-heading-anchor/src/main/java/org/commonmark/ext/heading/anchor/internal/HeadingIdAttributeProvider.java | package org.commonmark.ext.heading.anchor.internal;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.commonmark.html.AttributeProvider;
import org.commonmark.node.AbstractVisitor;
import org.commonmark.node.Code;
import org.commonmark.node.Heading;
import org.commonmark.node.Node;
i... | package org.commonmark.ext.heading.anchor.internal;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import org.commonmark.html.AttributeProvider;
import org.commonmark.node.AbstractVisitor;
import org.commonmark.node.Code;
import org.commonmark.node.Heading;
import org.commonmark.node.Node;
i... | Remove Java 8 string join method | Remove Java 8 string join method
| Java | bsd-2-clause | commonmark/commonmark-java,commonmark/commonmark-java,vsch/commonmark-java,atlassian/commonmark-java,atlassian/commonmark-java,vsch/commonmark-java,commonmark/commonmark-java,atlassian/commonmark-java,vsch/commonmark-java |
7cd0be634a24b2fbf8e335b2c27b579c1c9ca190 | hbase_sql/src/test/java/com/splicemachine/kafka/TestKafkaCluster.java | hbase_sql/src/test/java/com/splicemachine/kafka/TestKafkaCluster.java | package com.splicemachine.kafka;
import java.io.IOException;
import java.util.Properties;
import kafka.server.KafkaConfig;
import kafka.server.KafkaServerStartable;
import kafka.utils.TestUtils;
public class TestKafkaCluster {
KafkaServerStartable kafkaServer;
public TestKafkaCluster(String connectString) th... | package com.splicemachine.kafka;
import java.io.IOException;
import java.util.Properties;
import kafka.server.KafkaConfig;
import kafka.server.KafkaServerStartable;
import kafka.utils.TestUtils;
public class TestKafkaCluster {
KafkaServerStartable kafkaServer;
public TestKafkaCluster(String connectString) th... | Fix the port to 9092 | Fix the port to 9092
| Java | agpl-3.0 | CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceeng... |
3617ea84c0920554ce4debdf0278e52b116df542 | library/src/main/java/com/m039/estimoto/util/EstimotoServiceUtil.java | library/src/main/java/com/m039/estimoto/util/EstimotoServiceUtil.java | /** EstimotoServiceUtil.java ---
*
* Copyright (C) 2014 Dmitry Mozgin
*
* Author: Dmitry Mozgin <m0391n@gmail.com>
*
*
*/
package com.m039.estimoto.util;
import android.content.Context;
import android.content.Intent;
import com.m039.estimoto.service.EstimotoService;
/**
*
*
* Created: 03/22/14
*
* @auth... | /** EstimotoServiceUtil.java ---
*
* Copyright (C) 2014 Dmitry Mozgin
*
* Author: Dmitry Mozgin <m0391n@gmail.com>
*
*
*/
package com.m039.estimoto.util;
import android.content.Context;
import android.content.Intent;
import com.m039.estimoto.service.EstimotoService;
/**
*
*
* Created: 03/22/14
*
* @auth... | Add hack to stop service | Add hack to stop service
| Java | apache-2.0 | m039/beacon-keeper |
d71851ac95688d6af19939176294444752265c95 | src/main/java/de/retest/recheck/ui/descriptors/ElementUtil.java | src/main/java/de/retest/recheck/ui/descriptors/ElementUtil.java | package de.retest.recheck.ui.descriptors;
import java.util.ArrayList;
import java.util.List;
public class ElementUtil {
private ElementUtil() {}
public static List<Element> flattenAllElements( final List<Element> elements ) {
final List<Element> flattened = new ArrayList<>();
for ( final Element element : el... | package de.retest.recheck.ui.descriptors;
import java.util.ArrayList;
import java.util.List;
public class ElementUtil {
private ElementUtil() {}
public static List<Element> flattenAllElements( final List<? extends Element> elements ) {
final List<Element> flattened = new ArrayList<>();
for ( final Element el... | Use wildcard to also accept e.g. list of `RootElement`s | Use wildcard to also accept e.g. list of `RootElement`s
| Java | agpl-3.0 | retest/recheck,retest/recheck |
54b12d31d7f23bc01dd57229409f6d538cbec322 | experimental/dmicol/dynamicprofile/src/main/java/es/tid/ps/dynamicprofile/categoryextraction/CategoryExtractionReducer.java | experimental/dmicol/dynamicprofile/src/main/java/es/tid/ps/dynamicprofile/categoryextraction/CategoryExtractionReducer.java | package es.tid.ps.dynamicprofile.categoryextraction;
import java.io.IOException;
import org.apache.hadoop.mapreduce.Reducer;
import es.tid.ps.dynamicprofile.dictionary.DictionaryHandler;
import es.tid.ps.kpicalculation.data.WebLog;
public class CategoryExtractionReducer extends
Reducer<CompositeKey, WebLog,... | package es.tid.ps.dynamicprofile.categoryextraction;
import java.io.IOException;
import org.apache.hadoop.mapreduce.Reducer;
import es.tid.ps.dynamicprofile.dictionary.DictionaryHandler;
import es.tid.ps.kpicalculation.data.WebLog;
public class CategoryExtractionReducer extends
Reducer<CompositeKey, WebLog,... | Add configuration parameters to the reducer. | Add configuration parameters to the reducer.
git-svn-id: 41b0c0219f7416f0d477a2a4ae2b791f31fdedae@96 72e40b64-262a-4186-abad-0444e9ae7036
| Java | apache-2.0 | telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform |
c334f19745b252ad5d536b00cd7a032c2e1d603e | Services/ServiceLegacyMavenProxy/src/main/java/fr/synchrotron/soleil/ica/ci/service/legacymavenproxy/HttpArtifactCaller.java | Services/ServiceLegacyMavenProxy/src/main/java/fr/synchrotron/soleil/ica/ci/service/legacymavenproxy/HttpArtifactCaller.java | package fr.synchrotron.soleil.ica.ci.service.legacymavenproxy;
import org.vertx.java.core.Vertx;
import org.vertx.java.core.http.HttpClient;
import org.vertx.java.core.http.HttpServerRequest;
/**
* @author Gregory Boissinot
*/
public class HttpArtifactCaller {
private final Vertx vertx;
private final Strin... | package fr.synchrotron.soleil.ica.ci.service.legacymavenproxy;
import org.vertx.java.core.Vertx;
import org.vertx.java.core.http.HttpClient;
import org.vertx.java.core.http.HttpServerRequest;
/**
* @author Gregory Boissinot
*/
public class HttpArtifactCaller {
private final Vertx vertx;
private final Strin... | Fix regression Use the proxy path | Fix regression
Use the proxy path
| Java | mit | synchrotron-soleil-ica/continuous-materials,synchrotron-soleil-ica/continuous-materials,synchrotron-soleil-ica/continuous-materials |
1e0416239a6ac8b568c8a68da207c1612a4c5d9d | vaadin-javaee-clinic-patient-queue-example-backend/src/main/java/com/clinicpatientqueueexample/messaging/AbstractBroadcaster.java | vaadin-javaee-clinic-patient-queue-example-backend/src/main/java/com/clinicpatientqueueexample/messaging/AbstractBroadcaster.java | package com.clinicpatientqueueexample.messaging;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.function.Consumer;
public a... | package com.clinicpatientqueueexample.messaging;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.function.Consumer;
public a... | Remove listeners object from broadcaster if topic is empty | Remove listeners object from broadcaster if topic is empty
| Java | mit | mrts/vaadin-javaee-clinic-patient-queue-example,mrts/vaadin-javaee-clinic-patient-queue-example,mrts/vaadin-javaee-clinic-patient-queue-example |
9b7e8a21e33fa62e7ec91853ecb0930aadc3d915 | ui-tests/src/test/java/io/syndesis/qe/CucumberTest.java | ui-tests/src/test/java/io/syndesis/qe/CucumberTest.java | package io.syndesis.qe;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
import com.codeborne.selenide.Configuration;
import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
@RunWith(Cucumber.class)
@CucumberOptions(
features = "classpath:features",
tags = {"not @wip",... | package io.syndesis.qe;
import com.codeborne.selenide.Configuration;
import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
import org.junit.BeforeClass;
import org.junit.runner.RunWith;
@RunWith(Cucumber.class)
@CucumberOptions(
features = "classpath:features",
tags = {"not @wip", "... | Revert "[GH-4308] Temporary disable all tests with extensions" | Revert "[GH-4308] Temporary disable all tests with extensions"
This reverts commit 0cbe0a7152891c4bd0e846a7c76bebcf47ab8cec.
| Java | apache-2.0 | mcada/syndesis-qe,mcada/syndesis-qe,mcada/syndesis-qe |
50278a29e2bfbf316845d313abe20a9c12909ef0 | commandline/src/main/java/org/musetest/commandline/Launcher.java | commandline/src/main/java/org/musetest/commandline/Launcher.java | package org.musetest.commandline;
import io.airlift.airline.*;
import org.musetest.core.commandline.*;
import org.reflections.*;
import javax.imageio.spi.*;
import java.util.*;
/**
* @author Christopher L Merrill (see LICENSE.txt for license details)
*/
public class Launcher
{
@SuppressWarnings("unchecked"... | package org.musetest.commandline;
import io.airlift.airline.*;
import org.musetest.core.commandline.*;
import org.reflections.*;
import javax.imageio.spi.*;
import java.util.*;
/**
* @author Christopher L Merrill (see LICENSE.txt for license details)
*/
public class Launcher
{
@SuppressWarnings("unchecked"... | Handle command-line parsing errors separately from command execution errors. | Handle command-line parsing errors separately from command execution errors.
| Java | apache-2.0 | ChrisLMerrill/muse,ChrisLMerrill/muse |
657f27ef5b1cfa3f170c2f20cc3f1abe94439609 | src/main/java/shoehorn/Shoehorn.java | src/main/java/shoehorn/Shoehorn.java | package shoehorn;
import java.util.Map;
/**
* @author Ryan Brainard
*/
public class Shoehorn {
private final Map<String, String> feet;
private final Map<String, String> mappings;
public Shoehorn(Map<String, String> feet, Map<String, String> mappings) {
this.feet = feet;
this.mappings =... | package shoehorn;
import java.util.Map;
/**
* @author Ryan Brainard
*/
public class Shoehorn {
@SuppressWarnings("UnusedDeclaration")
public static void premain(String agentArgs) {
new Shoehorn(System.getenv(), new MappingLoader().load(System.getenv())).shoehorn();
}
private final Map<Stri... | Move premain to the top | Move premain to the top
| Java | mit | ryanbrainard/shoehorn |
7c4141ee2bfc3256ee3ae4ddd55468687abee6a2 | software/nbia-dao/test/gov/nih/nci/nbia/dto/ImageDTOTestCase.java | software/nbia-dao/test/gov/nih/nci/nbia/dto/ImageDTOTestCase.java | /**
*
*/
package gov.nih.nci.nbia.dto;
import junit.framework.TestCase;
/**
* @author lethai
*
*/
public class ImageDTOTestCase extends TestCase {
public void testAccessors() {
String SOPInstanceUID="1.2.3.4.5.6";
String fileName="1.2.3.4.5.6.7.dcm";
Long dicomSize = new Long(514);
... | /**
*
*/
package gov.nih.nci.nbia.dto;
import junit.framework.TestCase;
/**
* @author lethai
*
*/
public class ImageDTOTestCase extends TestCase {
public void testAccessors() {
String SOPInstanceUID="1.2.3.4.5.6";
String fileName="1.2.3.4.5.6.7.dcm";
Long dicomSize = new Long(514);
... | Make it compatible for updated ImageDTO class. | Make it compatible for updated ImageDTO class.
| Java | bsd-3-clause | NCIP/national-biomedical-image-archive,NCIP/national-biomedical-image-archive,NCIP/national-biomedical-image-archive,NCIP/national-biomedical-image-archive,NCIP/national-biomedical-image-archive |
8db6c7aee94f0c11c6529cdb9c17294e5be62239 | src/api/java/info/u_team/u_team_core/api/construct/Construct.java | src/api/java/info/u_team/u_team_core/api/construct/Construct.java | package info.u_team.u_team_core.api.construct;
import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Construct {
boolean client() default false;
String modid() default "";
}
| package info.u_team.u_team_core.api.construct;
import java.lang.annotation.*;
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Construct {
boolean client() default false;
}
| Remove modid stuff for now (might be needed) | Remove modid stuff for now (might be needed) | Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
3df93f83547b79b3f0341118c20da94d381de375 | src/main/java/com/epam/ta/reportportal/dao/WidgetRepository.java | src/main/java/com/epam/ta/reportportal/dao/WidgetRepository.java | /*
* Copyright 2017 EPAM Systems
*
*
* This file is part of EPAM Report Portal.
* https://github.com/reportportal/service-api
*
* Report Portal is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either v... | /*
* Copyright 2017 EPAM Systems
*
*
* This file is part of EPAM Report Portal.
* https://github.com/reportportal/service-api
*
* Report Portal is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either v... | Add method finding all widgets by project id | Add method finding all widgets by project id
| Java | apache-2.0 | reportportal/commons-dao |
8d7c9d0aecc18aba565aed7068a83faef368a9f6 | src/main/java/aeronicamc/mods/mxtune/caps/LivingEntityModCap.java | src/main/java/aeronicamc/mods/mxtune/caps/LivingEntityModCap.java | package aeronicamc.mods.mxtune.caps;
import aeronicamc.mods.mxtune.managers.PlayIdSupplier;
import aeronicamc.mods.mxtune.network.PacketDispatcher;
import aeronicamc.mods.mxtune.network.messages.LivingEntityModCapSync;
import net.minecraft.entity.LivingEntity;
import net.minecraft.util.RegistryKey;
import net.minecraf... | package aeronicamc.mods.mxtune.caps;
import aeronicamc.mods.mxtune.managers.PlayIdSupplier;
import aeronicamc.mods.mxtune.network.PacketDispatcher;
import aeronicamc.mods.mxtune.network.messages.LivingEntityModCapSync;
import net.minecraft.entity.LivingEntity;
import net.minecraft.util.RegistryKey;
import net.minecraf... | Add entity id to sync message. | Add entity id to sync message.
| Java | apache-2.0 | Aeronica/mxTune |
985f609f391e3ea555eba751103bf1f6ab0c9b9f | vsplf-dynamic-i18n-api/src/main/java/org/vsplf/i18n/DynamicI18N.java | vsplf-dynamic-i18n-api/src/main/java/org/vsplf/i18n/DynamicI18N.java | /*
* Copyright (C) 2012 VSPLF Software Foundation (VSF)
*
* 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 applicab... | /*
* Copyright (C) 2012 VSPLF Software Foundation (VSF)
*
* 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 applicab... | Fix a violation of Helper class | Fix a violation of Helper class
| Java | apache-2.0 | vsplf/vsplf-dynamic-i18n |
cb4cab186d70cca58eaf76f160c2d460c18cfc17 | client/src/main/java/replicant/spy/DataLoaderMessageProcessEvent.java | client/src/main/java/replicant/spy/DataLoaderMessageProcessEvent.java | package replicant.spy;
import arez.spy.SerializableEvent;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nonnull;
import org.realityforge.replicant.client.transport.DataLoadStatus;
/**
* Notification when an DataLoader generated an error processing a message from the datasource.
*/
public f... | package replicant.spy;
import arez.spy.SerializableEvent;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nonnull;
import org.realityforge.replicant.client.transport.DataLoadStatus;
/**
* Notification when an DataLoader generated an error processing a message from the datasource.
*/
public f... | Add aditional information to serialization | Add aditional information to serialization
| Java | apache-2.0 | realityforge/replicant,realityforge/replicant |
b15fbe909f2f5188a46dd3fd7990fc1bbe3eb888 | rest-common/src/test/java/uk/ac/ebi/quickgo/rest/period/DayTimeTest.java | rest-common/src/test/java/uk/ac/ebi/quickgo/rest/period/DayTimeTest.java | package uk.ac.ebi.quickgo.rest.period;
import java.time.DayOfWeek;
import java.time.LocalTime;
import org.junit.Test;
/**
* Test instantiation of the DayTime class.
*
* @author Tony Wardell
* Date: 18/04/2017
* Time: 10:43
* Created with IntelliJ IDEA.
*/
public class DayTimeTest {
@Test
public void i... | package uk.ac.ebi.quickgo.rest.period;
import java.time.DayOfWeek;
import java.time.LocalDateTime;
import java.time.LocalTime;
import org.junit.Test;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.core.IsNull.notNullValue;
/**
* Test inst... | Add test case for instantiation successfully. Add test for modify(); | Add test case for instantiation successfully. Add test for modify();
| Java | apache-2.0 | ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE |
801d4dbebe122d94aab34550049ce698a8599b18 | src/main/java/ch/squix/esp8266/fontconverter/rest/time/TimeResource.java | src/main/java/ch/squix/esp8266/fontconverter/rest/time/TimeResource.java | package ch.squix.esp8266.fontconverter.rest.time;
import java.awt.FontFormatException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import org.restlet.resource.Post;
import org.restlet.resource... | package ch.squix.esp8266.fontconverter.rest.time;
import java.awt.FontFormatException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import org.joda.time.DateTime;
import org.joda.time.DateTimeZone;
import org.restlet.resource.Post;
import org.restlet.resource... | Set time to utc time | Set time to utc time
| Java | mit | squix78/esp8266-oled-ssd1306-font-converter,squix78/esp8266-oled-ssd1306-font-converter,squix78/esp8266-oled-ssd1306-font-converter,squix78/esp8266-oled-ssd1306-font-converter,squix78/esp8266-oled-ssd1306-font-converter |
d9bf0fdde78b2d41a8967831c4c88d0b9d9c4a7e | ushahidi/src/main/java/com/ushahidi/android/data/entity/Data.java | ushahidi/src/main/java/com/ushahidi/android/data/entity/Data.java | package com.ushahidi.android.data.entity;
import com.google.gson.annotations.SerializedName;
/**
* @author Ushahidi Team <team@ushahidi.com>
*/
public abstract class Data {
@SerializedName("id")
public Long _id;
}
| package com.ushahidi.android.data.entity;
import com.google.gson.annotations.SerializedName;
/**
* @author Ushahidi Team <team@ushahidi.com>
*/
public abstract class Data {
/**
* The id field has an underscore to ensure any existing id value will be
* replaced. if _id is null then a new entity will b... | Add doc for id field for data entity | Add doc for id field for data entity
| Java | agpl-3.0 | malikov/platform-android,malikov/platform-android |
6763a07ef4936722e33f95a67c69f102259fd20c | java/mil/nga/giat/mage/sdk/datastore/observation/ObservationProperty.java | java/mil/nga/giat/mage/sdk/datastore/observation/ObservationProperty.java | package mil.nga.giat.mage.sdk.datastore.observation;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import java.io.Serializable;
import mil.nga.giat.mage.sdk.datastore.Property;
@DatabaseTable(tableName = "observation_properties")
public class ObservationProperty extends P... | package mil.nga.giat.mage.sdk.datastore.observation;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;
import org.apache.commons.lang3.StringUtils;
import java.io.Serializable;
import java.util.ArrayList;
import mil.nga.giat.mage.sdk.datastore.Property;
@DatabaseTable(tableN... | Add empty check for observation property | Add empty check for observation property
| Java | apache-2.0 | ngageoint/mage-android,ngageoint/mage-android |
0a1c206831a02cc45866c0ddf462979ddfac9862 | clients/unshaded/src/test/java/tachyon/client/ClientUtilsTest.java | clients/unshaded/src/test/java/tachyon/client/ClientUtilsTest.java | /*
* Licensed to the University of California, Berkeley 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 no... | /*
* Licensed to the University of California, Berkeley 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 no... | Add additional test for randomness property | [TACHYON-1559] Add additional test for randomness property
| Java | apache-2.0 | jswudi/alluxio,riversand963/alluxio,Reidddddd/alluxio,jsimsa/alluxio,calvinjia/tachyon,apc999/alluxio,bf8086/alluxio,maboelhassan/alluxio,bf8086/alluxio,PasaLab/tachyon,maboelhassan/alluxio,bf8086/alluxio,jswudi/alluxio,yuluo-ding/alluxio,ShailShah/alluxio,apc999/alluxio,WilliamZapata/alluxio,aaudiber/alluxio,Alluxio/a... |
ad47112e9dbecba84e3bfc775b2881188aef8812 | okapi-core/src/main/java/org/folio/okapi/bean/PermissionList.java | okapi-core/src/main/java/org/folio/okapi/bean/PermissionList.java | package org.folio.okapi.bean;
/**
* List of Permissions (and permission sets) belonging to a module. Used as a
* parameter in the system request to initialize the permission module when a
* module is being enabled for a tenant.
*
* @author heikki
*/
public class PermissionList {
String moduleId; // The module ... | package org.folio.okapi.bean;
/**
* List of Permissions (and permission sets) belonging to a module. Used as a
* parameter in the system request to initialize the permission module when a
* module is being enabled for a tenant.
*
* @author heikki
*/
public class PermissionList {
String moduleId; // The module ... | Fix Okapi-301. null ptr when enabling module without permissionSets | Fix Okapi-301. null ptr when enabling module without permissionSets
When we have a tenantPermissions interface in some other module
| Java | apache-2.0 | folio-org/okapi,folio-org/okapi |
9c5e328772eb25727d8f7edd7619416cde656822 | src/main/java/com/aurea/coverage/parser/IdeaParsers.java | src/main/java/com/aurea/coverage/parser/IdeaParsers.java | package com.aurea.coverage.parser;
import com.aurea.coverage.CoverageIndex;
import com.aurea.coverage.parser.idea.ArchiveHtmlReportParser;
import com.aurea.coverage.parser.idea.HtmlReportParser;
import java.io.InputStream;
import java.nio.file.Path;
public final class IdeaParsers {
private IdeaParsers() {
}
... | package com.aurea.coverage.parser;
import com.aurea.coverage.CoverageIndex;
import com.aurea.coverage.parser.idea.HtmlReportParser;
import java.nio.file.Path;
public final class IdeaParsers {
private IdeaParsers() {
}
public static CoverageIndex fromHtml(Path pathToHtmlReport) {
return new HtmlR... | Archive html is unsupported so far | Archive html is unsupported so far
| Java | mit | Otanikotani/jacoco-parser,Otanikotani/jacoco-parser |
4927245c3a41694db6f97884e7dc0acd3fd7d360 | src/test/java/magic/compiler/TestASM.java | src/test/java/magic/compiler/TestASM.java | package magic.compiler;
import org.junit.Test;
import org.objectweb.asm.ClassWriter;
import org.objectweb.asm.Opcodes;
import static org.junit.Assert.*;
import static org.objectweb.asm.ClassWriter.*;
public class TestASM {
MyClassLoader cl=new MyClassLoader() ;
private static final class MyClassLoader extends C... | package magic.compiler;
import static org.junit.Assert.assertNotNull;
import static org.objectweb.asm.ClassWriter.COMPUTE_FRAMES;
import org.junit.Test;
import org.objectweb.asm.ClassWriter;
import org.objectweb.asm.Opcodes;
import org.objectweb.asm.Type;
import org.objectweb.asm.commons.GeneratorAdapter;
import org.... | Improve ASM example with default constructor | Improve ASM example with default constructor | Java | epl-1.0 | mikera/magic |
9b8c60f11351b9533a48857fd444ae25a634ce3d | src/classpackage/DBConnector.java | src/classpackage/DBConnector.java | package classpackage;
import java.sql.*;
/**
* Created by axelkvistad on 3/18/16.
*/
public class DBConnector {
private String username = "thomjos"; //DataLeser2.lesTekst("Brukernavn: "); // DataLeser2, se nedenfor
private String password = "cinPn2AK";
private String databaseName = "jdbc:mysql://mysql... | package classpackage;
import java.sql.*;
/**
* Created by axelkvistad on 3/18/16.
*/
public class DBConnector {
private String username = "thomjos"; //DataLeser2.lesTekst("Brukernavn: "); // DataLeser2, se nedenfor
private String password = "cinPn2AK";
private String databaseName = "jdbc:mysql://mysql... | Fix so it doesn't create new connection if one has already been created. | Fix so it doesn't create new connection if one has already been created.
| Java | apache-2.0 | Team08DatabaseProject/Healthy-Food-Ltd.,Team08DatabaseProject/Healthy-Food |
2dd7705c3ee08fb5475d5a91ee7b98e38323e0dd | app/src/main/java/in/testpress/testpress/events/SmsReceivingEvent.java | app/src/main/java/in/testpress/testpress/events/SmsReceivingEvent.java | package in.testpress.testpress.events;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.telephony.SmsMessage;
import in.testpress.testpress.R;
import in.testpress.testpress.authenticator.CodeVerificationActivity.Timer;
im... | package in.testpress.testpress.events;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.telephony.SmsMessage;
import in.testpress.testpress.authenticator.CodeVerificationActivity.Timer;
public class SmsReceivingEvent ext... | Modify sms format in sms receiving event | Modify sms format in sms receiving event
SMS parsing logic uses wildcard to ignore institute name. | Java | mit | testpress/android,testpress/android,testpress/android,testpress/android,testpress/android |
4bd73b9c8c672816c9ea31eb2d4329b0cca34c22 | src/edu/usc/glidein/util/Base64.java | src/edu/usc/glidein/util/Base64.java | package edu.usc.glidein.util;
import java.io.IOException;
import sun.misc.BASE64Encoder;
import sun.misc.BASE64Decoder;
/**
* Convert to/from Base64-encoded data
*
* @author Gideon Juve <juve@usc.edu>
*/
public class Base64
{
/**
* Base64-encode a string
* @param string The string to encode
* @return Th... | package edu.usc.glidein.util;
import java.io.IOException;
import sun.misc.BASE64Encoder;
import sun.misc.BASE64Decoder;
/**
* Convert to/from Base64-encoded data
*
* @author Gideon Juve <juve@usc.edu>
*/
public class Base64
{
/**
* Base64-encode a string
* @param string The string to encode
* @return Th... | Use bytes for base-64 encoded data instead of strings | Use bytes for base-64 encoded data instead of strings
git-svn-id: bdb5f82b9b83a1400e05d69d262344b821646179@1345 e217846f-e12e-0410-a4e5-89ccaea66ff7
| Java | apache-2.0 | juve/corral,juve/corral,juve/corral |
d116a2ae5a4d55fc42eb68c8cf667267b302a89a | core/src/com/ychstudio/screens/transitions/SlideLeftTransition.java | core/src/com/ychstudio/screens/transitions/SlideLeftTransition.java | package com.ychstudio.screens.transitions;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.Sprite;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.Interpolation;
public class SlideLeftTransition implements ScreenTransition {
... | package com.ychstudio.screens.transitions;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.math.Interpolation;
public class SlideLeftTransition implements ScreenTransition {
private float duration;
publi... | Improve transition by using batch.draw directly without creating Sprites | Improve transition by using batch.draw directly without creating Sprites | Java | mit | yichen0831/SpaceMission,yichen0831/SpaceMission |
603cfbe46f99949f2dd17984772d73c211463d04 | example/src/main/java/io/github/jakriz/derrick/example/DocsMethods.java | example/src/main/java/io/github/jakriz/derrick/example/DocsMethods.java | package io.github.jakriz.derrick.example;
import io.github.jakriz.derrick.annotation.DerrickInterface;
import io.github.jakriz.derrick.annotation.SourceFrom;
@DerrickInterface(baseUrl = "https://github.com/jakriz/derrick", imports = {"io.github.jakriz.derrick.example.*"})
public interface DocsMethods {
@SourceFr... | package io.github.jakriz.derrick.example;
import io.github.jakriz.derrick.annotation.DerrickInterface;
import io.github.jakriz.derrick.annotation.SourceFrom;
@DerrickInterface(baseUrl = "https://github.com/jakriz/derrick", imports = {"io.github.jakriz.derrick.example.*"})
public interface DocsMethods {
@SourceFr... | Change example id to fit github's naming | Change example id to fit github's naming
| Java | mit | jakriz/derrick,jakriz/derrick |
023302715cb21971dbb51c0ac18fa80acbb33717 | dddsample/src/main/java/se/citerus/dddsample/domain/TrackingId.java | dddsample/src/main/java/se/citerus/dddsample/domain/TrackingId.java | package se.citerus.dddsample.domain;
import org.apache.commons.lang.Validate;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
/**
* Identifies a particular cargo.
* <p/>
* Make sure to put a constraint in the database to make sure TrackingId is unique.
... | package se.citerus.dddsample.domain;
import org.apache.commons.lang.Validate;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
/**
* Uniquely identifies a particular cargo. Automatically generated by the application.
*
*/
public final class TrackingId ... | Implement ValueObject.sameValueAs(), and use that as delegate in equals() | Implement ValueObject.sameValueAs(), and use that as delegate in equals() | Java | mit | stefan-ka/dddsample-core,romank0/dddsample-core,loothingpogixxv/dddsample-core,gacalves/dddsample-core,citerus/dddsample-core,orende/dddsample-core,IzzyXie2010/dddsample-core,citerus/dddsample-core,gacalves/dddsample-core,IzzyXie2010/dddsample-core,romank0/dddsample-core,loothingpogixxv/dddsample-core,orende/dddsample-... |
2addf224fac721e16fb9bced8b861d85f44e9388 | src/test/java/info/u_team/u_team_test/enchantment/AutoSmeltEnchantment.java | src/test/java/info/u_team/u_team_test/enchantment/AutoSmeltEnchantment.java | package info.u_team.u_team_test.enchantment;
import info.u_team.u_team_core.enchantment.UEnchantment;
import net.minecraft.enchantment.EnchantmentType;
import net.minecraft.inventory.EquipmentSlotType;
public class AutoSmeltEnchantment extends UEnchantment {
public AutoSmeltEnchantment(String name) {
super(name,... | package info.u_team.u_team_test.enchantment;
import net.minecraft.enchantment.*;
import net.minecraft.inventory.EquipmentSlotType;
public class AutoSmeltEnchantment extends Enchantment {
public AutoSmeltEnchantment() {
super(Rarity.COMMON, EnchantmentType.DIGGER, new EquipmentSlotType[] { EquipmentSlotType.MAINH... | Remove UEnchantment as its not unnessessary for the autosmelt enchantment using the deferred register | Remove UEnchantment as its not unnessessary for the autosmelt
enchantment using the deferred register | Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
2b748e1fa2cafeb7a492990d5e32c4100525947f | src/main/java/gr8pefish/openglider/common/event/ServerEventHandler.java | src/main/java/gr8pefish/openglider/common/event/ServerEventHandler.java | package gr8pefish.openglider.common.event;
import gr8pefish.openglider.common.capabilities.OpenGliderCapabilities;
import gr8pefish.openglider.common.capabilities.PlayerGlidingCapability;
import gr8pefish.openglider.common.lib.ModInfo;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.Resource... | package gr8pefish.openglider.common.event;
import gr8pefish.openglider.common.capabilities.OpenGliderCapabilities;
import gr8pefish.openglider.common.capabilities.PlayerGlidingCapability;
import gr8pefish.openglider.common.lib.ModInfo;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer... | Update capability attach event to non-deprecated call | Update capability attach event to non-deprecated call
| Java | mit | gr8pefish/OpenGlider |
138a01aaa814c7d39a3d6dee8f09f2fe92cc09f6 | src/main/java/mods/railcraft/api/crafting/ICokeOvenCraftingManager.java | src/main/java/mods/railcraft/api/crafting/ICokeOvenCraftingManager.java | /*------------------------------------------------------------------------------
Copyright (c) CovertJaguar, 2011-2016
This work (the API) is licensed under the "MIT" License,
see LICENSE.md for details.
-----------------------------------------------------------------------------*/
package mods.railcraft.api.cra... | /*------------------------------------------------------------------------------
Copyright (c) CovertJaguar, 2011-2016
This work (the API) is licensed under the "MIT" License,
see LICENSE.md for details.
-----------------------------------------------------------------------------*/
package mods.railcraft.api.cra... | Add a nullable to fluid stack | Add a nullable to fluid stack
Signed-off-by: liach <0428df7f4d1579e7bcd23f3c4e7cd8401bcee5a4@users.noreply.github.com>
| Java | mit | liachmodded/Railcraft-API |
ac004bfc13b6341d756f9192a7def2f6172217d6 | reports-rest/src/main/java/org/jboss/da/rest/reports/model/LookupReport.java | reports-rest/src/main/java/org/jboss/da/rest/reports/model/LookupReport.java | package org.jboss.da.rest.reports.model;
import org.jboss.da.communication.aprox.model.GAV;
import lombok.Getter;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
@RequiredArgsConstructor
public class LookupReport {
@Getter
@Setter
@NonNull
private GAV gav;
@Ge... | package org.jboss.da.rest.reports.model;
import org.jboss.da.communication.aprox.model.GAV;
import lombok.Getter;
import lombok.NonNull;
import lombok.AllArgsConstructor;
import lombok.Setter;
@AllArgsConstructor
public class LookupReport {
@Getter
@Setter
@NonNull
private GAV gav;
@Getter
@... | Allow `bestMatchVersion` to be null | Allow `bestMatchVersion` to be null
DA-82
| Java | apache-2.0 | project-ncl/dependency-analysis,janinko/dependency-analysis,janinko/dependency-analysis,janinko/dependency-analysis,project-ncl/dependency-analysis,janinko/dependency-analysis,project-ncl/dependency-analysis,janinko/dependency-analysis |
05d81ff20390ac802a1ac2e914cf00a113a4b0cd | src/main/java/util/UserAuthUtil.java | src/main/java/util/UserAuthUtil.java | package util;
import com.google.appengine.api.users.User;
import com.google.appengine.api.users.UserService;
import com.google.appengine.api.users.UserServiceFactory;
public class UserAuthUtil {
/**
* Returns a boolean for the user's login status
* @return user login status
*/
public static boolean isUse... | package util;
import com.google.appengine.api.users.User;
import com.google.appengine.api.users.UserService;
import com.google.appengine.api.users.UserServiceFactory;
public class UserAuthUtil {
/**
* Returns a boolean for the user's login status
* @return user login status
*/
public static boolean isUse... | Add javadoc for authentication utility | Add javadoc for authentication utility
| Java | apache-2.0 | googleinterns/step57-2020,googleinterns/step57-2020,googleinterns/step57-2020 |
d1692408611709e1c3354c60bd98eba0266d123f | post-redirect-get/src/main/java/eu/agilejava/mvc/prg/Messages.java | post-redirect-get/src/main/java/eu/agilejava/mvc/prg/Messages.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package eu.agilejava.mvc.prg;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.inject.Name... | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package eu.agilejava.mvc.prg;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.enterprise.... | Refactor and clean up for demo | Refactor and clean up for demo
Messages may be request scoped | Java | mit | ivargrimstad/mvc-samples,ivargrimstad/mvc-samples |
a98c21385c6a9e7ec7ab591e29bf0b463d56db79 | src/main/java/com/elmakers/mine/bukkit/api/spell/SpellTemplate.java | src/main/java/com/elmakers/mine/bukkit/api/spell/SpellTemplate.java | package com.elmakers.mine.bukkit.api.spell;
import java.util.Collection;
import org.bukkit.Color;
import org.bukkit.command.CommandSender;
import org.bukkit.configuration.ConfigurationSection;
import com.elmakers.mine.bukkit.api.block.MaterialAndData;
import com.elmakers.mine.bukkit.api.effect.EffectPlayer;
/**
* ... | package com.elmakers.mine.bukkit.api.spell;
import java.util.Collection;
import org.bukkit.Color;
import org.bukkit.command.CommandSender;
import org.bukkit.configuration.ConfigurationSection;
import com.elmakers.mine.bukkit.api.block.MaterialAndData;
import com.elmakers.mine.bukkit.api.effect.EffectPlayer;
/**
* ... | Add API access to a Spell's hidden flag | Add API access to a Spell's hidden flag
| Java | mit | elBukkit/MagicPlugin,elBukkit/MagicAPI,elBukkit/MagicPlugin,elBukkit/MagicPlugin |
3b954ed97488e2765b9b159645a4bfb68ad4c0de | src/main/java/org/commcare/core/network/CommCareNetworkService.java | src/main/java/org/commcare/core/network/CommCareNetworkService.java | package org.commcare.core.network;
import java.util.List;
import java.util.Map;
import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.HeaderMap;
import retrofit2.http.Multipart;
import... | package org.commcare.core.network;
import java.util.List;
import java.util.Map;
import okhttp3.MultipartBody;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.HeaderMap;
import retrofit2.http.Multipart;
import... | Add PUT method to retrofit server | Add PUT method to retrofit server
| Java | apache-2.0 | dimagi/commcare,dimagi/commcare-core,dimagi/commcare,dimagi/commcare,dimagi/commcare-core,dimagi/commcare-core |
2613ca001c483fa3cae37389724929704c127f47 | finagle-core/src/main/java/com/twitter/finagle/service/RetryBudgets.java | finagle-core/src/main/java/com/twitter/finagle/service/RetryBudgets.java | package com.twitter.finagle.service;
import com.twitter.util.Duration;
import com.twitter.util.Stopwatch$;
/**
* Java APIs for {@link RetryBudget}.
*/
public final class RetryBudgets {
private RetryBudgets() {
throw new IllegalStateException();
}
/**
* See {@link RetryBudget$#Empty()}
*/
public ... | package com.twitter.finagle.service;
import com.twitter.util.Duration;
import com.twitter.util.Stopwatches;
/**
* Java APIs for {@link RetryBudget}.
*/
public final class RetryBudgets {
private RetryBudgets() {
throw new IllegalStateException();
}
/**
* See {@link RetryBudget$#Empty()}
*/
public... | Add Java friendly API for Stopwatch | util-core: Add Java friendly API for Stopwatch
Problem
The `c.t.u.Stopwatch` companion object does not have a Java friendly API.
Solution
Introduce `c.t.u.Stopwatches` for Java users.
Result
Less `MODULE$s`.
RB_ID=808474
TBR=true
| Java | apache-2.0 | sveinnfannar/finagle,mkhq/finagle,adriancole/finagle,spockz/finagle,sveinnfannar/finagle,adriancole/finagle,luciferous/finagle,lukiano/finagle,BuoyantIO/finagle,lukiano/finagle,koshelev/finagle,twitter/finagle,adriancole/finagle,spockz/finagle,BuoyantIO/finagle,koshelev/finagle,koshelev/finagle,spockz/finagle,luciferou... |
b8aee29ea598fb46067242f0aafc55169a0c334e | Android/DoseNet/app/src/main/java/com/navrit/dosenet/Dosimeter.java | Android/DoseNet/app/src/main/java/com/navrit/dosenet/Dosimeter.java | package com.navrit.dosenet;
public class Dosimeter {
String name;
double lastDose_uSv;
String lastTime;
//double lastDose_mRem;
//double distance;
//double lat;
//double lon;
// Image for card view
//List<double> doses_uSv; // For dose over time plots
//List<String> times;
... | package com.navrit.dosenet;
public class Dosimeter {
String name;
double lastDose_uSv;
String lastTime;
double lastDose_mRem;
//double distance;
//double lat;
//double lon;
// Image for card view
//List<double> doses_uSv; // For dose over time plots
//List<String> times;
... | Convert to mRem from uSv | Convert to mRem from uSv
| Java | mit | bearing/dosenet-apps,bearing/dosenet-apps,bearing/dosenet-apps,bearing/dosenet-apps |
37df558427f32e552e50b36dc83e069f89bd9fcf | core-java/src/main/java/org/spine3/lang/MissingEventApplierException.java | core-java/src/main/java/org/spine3/lang/MissingEventApplierException.java | /*
* Copyright 2015, TeamDev Ltd. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRES... | /*
* Copyright 2015, TeamDev Ltd. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRES... | Adjust Javadoc for the exception. | Adjust Javadoc for the exception.
| Java | apache-2.0 | SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java |
0957e8646762c29e146779988026a9d79f79aab6 | litho-core/src/main/java/com/facebook/litho/ComponentLogParams.java | litho-core/src/main/java/com/facebook/litho/ComponentLogParams.java | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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... | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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... | Annotate clean classes as @Nullsafe:: (7/14) libraries/components/litho-core/src/main/java/com/facebook/litho/ | Annotate clean classes as @Nullsafe:: (7/14) libraries/components/litho-core/src/main/java/com/facebook/litho/
Reviewed By: pasqualeanatriello
Differential Revision: D28505831
fbshipit-source-id: e4831c9e49a9c08a495dacb85c3ed82a5ad1b507
| Java | apache-2.0 | facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho |
97091743cef521d8076b27213393b85eb021fb44 | org.jrebirth/core/src/main/java/org/jrebirth/core/concurrent/RunInto.java | org.jrebirth/core/src/main/java/org/jrebirth/core/concurrent/RunInto.java | /**
* Get more info at : www.jrebirth.org .
* Copyright JRebirth.org © 2011-2013
* Contact : sebastien.bordes@jrebirth.org
*
* 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
*
... | /**
* Get more info at : www.jrebirth.org .
* Copyright JRebirth.org © 2011-2013
* Contact : sebastien.bordes@jrebirth.org
*
* 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
*
... | Document and inherit please :D | Document and inherit please :D | Java | apache-2.0 | JRebirth/JRebirth,Rizen59/JRebirth,Rizen59/JRebirth,JRebirth/JRebirth |
3e76650544eccbf7c4365461b8c936a7af78167b | src/main/java/net/rebworks/lunchy/domain/places/BangkokKitchen.java | src/main/java/net/rebworks/lunchy/domain/places/BangkokKitchen.java | package net.rebworks.lunchy.domain.places;
import net.rebworks.lunchy.domain.Place;
import net.rebworks.lunchy.resources.LunchResource;
import javax.inject.Inject;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.UriInfo;
import java.net.URI;
import java.util.Arrays;
import java.util.SortedSet;
import java.ut... | package net.rebworks.lunchy.domain.places;
import net.rebworks.lunchy.domain.Place;
import net.rebworks.lunchy.resources.LunchResource;
import javax.inject.Inject;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.UriInfo;
import java.net.URI;
import java.util.Arrays;
import java.util.SortedSet;
import java.ut... | Fix the name for Bangkok Kitchen | Fix the name for Bangkok Kitchen
| Java | agpl-3.0 | rebasar/lunchy,rebasar/lunchy |
291b98576b6931de818a58b3284c88fa32b088c1 | src/main/java/de/iani/cubequest/quests/EconomyInfluencingAmountQuest.java | src/main/java/de/iani/cubequest/quests/EconomyInfluencingAmountQuest.java | package de.iani.cubequest.quests;
import de.iani.cubequest.Reward;
import de.iani.cubequest.conditions.GameModeCondition;
import de.iani.cubequest.conditions.ServerFlagCondition;
import org.bukkit.GameMode;
public abstract class EconomyInfluencingAmountQuest extends AmountQuest {
public static fin... | package de.iani.cubequest.quests;
import de.iani.cubequest.Reward;
import de.iani.cubequest.conditions.ServerFlagCondition;
public abstract class EconomyInfluencingAmountQuest extends AmountQuest {
public static final String SURVIVAL_ECONOMY_TAG = "survival_economy";
public EconomyInfluen... | Remove duplicate default progress condition. | Remove duplicate default progress condition. | Java | bsd-2-clause | Brokkonaut/CubeQuest |
5dd3fb44ada08511fa97654c9a3686df79dc027c | app/src/main/java/com/cdrussell/caster/rx/casterrxjava/Database.java | app/src/main/java/com/cdrussell/caster/rx/casterrxjava/Database.java | package com.cdrussell.caster.rx.casterrxjava;
import android.os.SystemClock;
import android.util.Log;
class Database {
private static final String TAG = Database.class.getSimpleName();
static String readValue() {
SystemClock.sleep(50);
for (int i = 0; i < 100; i++) {
Log.i(TAG,... | package com.cdrussell.caster.rx.casterrxjava;
import android.os.SystemClock;
import android.util.Log;
/**
* Fake database implementation that is slow to return a value.
*/
class Database {
private static final String TAG = Database.class.getSimpleName();
static String readValue() {
SystemClock.sl... | Add class comment detailing class is a fake database | Add class comment detailing class is a fake database
| Java | apache-2.0 | CDRussell/CasterRxJava |
33106b55d6503c26b56a1a3da7e568762eb4a390 | src/main/java/com/github/macrodata/skyprint/section/RootSection.java | src/main/java/com/github/macrodata/skyprint/section/RootSection.java | package com.github.macrodata.skyprint.section;
import lombok.Setter;
import lombok.ToString;
import java.util.List;
import static com.github.macrodata.skyprint.section.SectionHelper.*;
@ToString
public class RootSection extends Section {
@Setter
private MetadataSection metadata;
@Setter
private St... | package com.github.macrodata.skyprint.section;
import lombok.Setter;
import lombok.ToString;
import javax.xml.transform.stream.StreamSource;
import java.util.List;
import java.util.Map;
import java.util.stream.Stream;
import static com.github.macrodata.skyprint.section.SectionHelper.*;
@ToString
public class RootSe... | Change metadata type to map | Change metadata type to map
| Java | apache-2.0 | MacroData/skyprint |
9b976b7afe97598d7d479b15d39a5784b39db4f1 | fml/src/main/java/cpw/mods/fml/common/launcher/FMLServerTweaker.java | fml/src/main/java/cpw/mods/fml/common/launcher/FMLServerTweaker.java | package cpw.mods.fml.common.launcher;
import cpw.mods.fml.relauncher.FMLLaunchHandler;
import net.minecraft.launchwrapper.LaunchClassLoader;
public class FMLServerTweaker extends FMLTweaker {
@Override
public String getLaunchTarget()
{
return "net.minecraft.server.MinecraftServer";
}
@Ove... | package cpw.mods.fml.common.launcher;
import cpw.mods.fml.relauncher.FMLLaunchHandler;
import net.minecraft.launchwrapper.LaunchClassLoader;
public class FMLServerTweaker extends FMLTweaker {
@Override
public String getLaunchTarget()
{
return "net.minecraft.server.MinecraftServer";
}
@Ove... | Fix server side to write properly | Fix server side to write properly
| Java | lgpl-2.1 | Zaggy1024/MinecraftForge,jdpadrnos/MinecraftForge,fcjailybo/MinecraftForge,bonii-xx/MinecraftForge,CrafterKina/MinecraftForge,simon816/MinecraftForge,Ghostlyr/MinecraftForge,blay09/MinecraftForge,dmf444/MinecraftForge,Mathe172/MinecraftForge,karlthepagan/MinecraftForge,luacs1998/MinecraftForge,ThiagoGarciaAlves/Minecra... |
41ef8fba7ff39aafc8a6911428cd72ae87cac2fb | src/net/java/sip/communicator/impl/neomedia/device/ImageStreamingAuto.java | src/net/java/sip/communicator/impl/neomedia/device/ImageStreamingAuto.java | /*
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.impl.neomedia.device;
import javax.media.*;
import net.java.sip.communicator.impl.neomedia.imgstreaming.*;
import net.java.si... | /*
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.impl.neomedia.device;
import javax.media.*;
import net.java.sip.communicator.impl.neomedia.imgstreaming.*;
import net.java.si... | Change name displayed for desktop streaming device in the media configuration panel. | Change name displayed for desktop streaming device in the media configuration panel.
| Java | apache-2.0 | jitsi/jitsi,ringdna/jitsi,459below/jitsi,dkcreinoso/jitsi,iant-gmbh/jitsi,HelioGuilherme66/jitsi,level7systems/jitsi,Metaswitch/jitsi,Metaswitch/jitsi,jitsi/jitsi,bebo/jitsi,level7systems/jitsi,marclaporte/jitsi,marclaporte/jitsi,459below/jitsi,level7systems/jitsi,laborautonomo/jitsi,gpolitis/jitsi,ibauersachs/jitsi,Me... |
58b21ad6ecee4493fb112aa50b898fe85a9f1972 | devtools/cli/src/main/java/io/quarkus/cli/core/QuarkusCliVersion.java | devtools/cli/src/main/java/io/quarkus/cli/core/QuarkusCliVersion.java | package io.quarkus.cli.core;
import java.io.BufferedReader;
import java.io.IOException;
import java.net.URL;
import java.nio.file.Files;
import java.util.Properties;
import io.smallrye.common.classloader.ClassPathUtils;
import picocli.CommandLine;
public class QuarkusCliVersion implements CommandLine.IVersionProvide... | package io.quarkus.cli.core;
import java.io.BufferedReader;
import java.io.IOException;
import java.net.URL;
import java.nio.file.Files;
import java.util.Properties;
import io.smallrye.common.classloader.ClassPathUtils;
import picocli.CommandLine;
public class QuarkusCliVersion implements CommandLine.IVersionProvide... | Simplify loading of Quarkus CLI version | Simplify loading of Quarkus CLI version
| Java | apache-2.0 | quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus |
d82fbe741450ddd7970f5bdd7d64bd3e94002322 | src/test/java/model/TestFileLink.java | src/test/java/model/TestFileLink.java | package model;
import org.junit.Test;
import static org.junit.Assert.assertNotNull;
/**
* Tests {@link FileLink FileLink} class.
*
* @author Shawn Aten (shawn@filestack.com)
*/
public class TestFileLink {
private static final String API_KEY = "XXXXXXXXXXXXXXXXXXXXXXX";
private static final String HANDLE ... | package model;
import org.junit.Test;
import static org.junit.Assert.assertNotNull;
/**
* Tests {@link FileLink FileLink} class.
*/
public class TestFileLink {
private static final String API_KEY = "XXXXXXXXXXXXXXXXXXXXXXX";
private static final String HANDLE = "XXXXXXXXXXXXXXXXXXXXX";
@Test
publi... | Remove @author annotation in Javadoc. | Remove @author annotation in Javadoc.
| Java | apache-2.0 | filestack/filestack-java,filestack/filestack-java |
b5cb1176ac450412916d54418e250f10a975d4de | src/main/java/com/avairebot/orion/scheduler/GarbageCollectorJob.java | src/main/java/com/avairebot/orion/scheduler/GarbageCollectorJob.java | package com.avairebot.orion.scheduler;
import com.avairebot.orion.Orion;
import com.avairebot.orion.cache.CacheType;
import com.avairebot.orion.cache.adapters.MemoryAdapter;
import com.avairebot.orion.contracts.scheduler.Job;
public class GarbageCollectorJob extends Job {
public GarbageCollectorJob(Orion orion) ... | package com.avairebot.orion.scheduler;
import com.avairebot.orion.Orion;
import com.avairebot.orion.audio.AudioHandler;
import com.avairebot.orion.audio.GuildMusicManager;
import com.avairebot.orion.cache.CacheType;
import com.avairebot.orion.cache.adapters.MemoryAdapter;
import com.avairebot.orion.contracts.scheduler... | Add music manager cleanup to the garbage collector | Add music manager cleanup to the garbage collector
| Java | mit | AvaIre/AvaIre,AvaIre/AvaIre |
1f4712eca3960b4489e6872d7261b1fc17eccf59 | src/main/java/com/ichorcommunity/latch/enums/LockType.java | src/main/java/com/ichorcommunity/latch/enums/LockType.java | package com.ichorcommunity.latch.enums;
public enum LockType {
/*
* Accessible by everyone
*/
PUBLIC,
/*
* Accessible by the group
*/
GUILD,
/*
* Requires a password every time to use
*/
PASSWORD_ALWAYS,
/*
* Requires a password the first time a player ... | package com.ichorcommunity.latch.enums;
public enum LockType {
/*
* Accessible by everyone
*/
PUBLIC,
/*
* Accessible by the group
*/
GUILD,
/*
* Requires a password every time to use
*/
PASSWORD_ALWAYS,
/*
* Requires a password the first time a player ... | Disable donation lock for now | Disable donation lock for now
| Java | mit | IchorPowered/Latch |
e1f457f4fd8dc86d63dcc491852944a76c6dc1fe | app/src/main/java/me/soundlocker/soundlocker/DownloadSongByteData.java | app/src/main/java/me/soundlocker/soundlocker/DownloadSongByteData.java | package me.soundlocker.soundlocker;
import android.os.AsyncTask;
import org.apache.commons.lang3.ArrayUtils;
import java.io.BufferedInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import... | package me.soundlocker.soundlocker;
import android.os.AsyncTask;
import org.apache.commons.lang3.ArrayUtils;
import java.io.BufferedInputStream;
import java.io.ByteArrayOutputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import javax.net.s... | Use HttpsURLConnection for Spotify previews | Use HttpsURLConnection for Spotify previews
| Java | mit | theworldbright/SoundLocker |
89708d4e8ec6e82d59579a5f79b18d7fa8d6e30a | modules/jpm-core/src/main/java/jpaoletti/jpm/core/operations/SelectItemOperation.java | modules/jpm-core/src/main/java/jpaoletti/jpm/core/operations/SelectItemOperation.java | package jpaoletti.jpm.core.operations;
import java.util.List;
import jpaoletti.jpm.core.InstanceId;
import jpaoletti.jpm.core.PMContext;
import jpaoletti.jpm.core.PMException;
/**
*
* @author jpaoletti
*/
public class SelectItemOperation extends OperationCommandSupport {
public SelectItemOperation(String oper... | package jpaoletti.jpm.core.operations;
import java.util.List;
import jpaoletti.jpm.core.InstanceId;
import jpaoletti.jpm.core.PMContext;
import jpaoletti.jpm.core.PMException;
/**
*
* @author jpaoletti
*/
public class SelectItemOperation extends OperationCommandSupport {
public SelectItemOperation(String oper... | Select item dont check for operation existance | Select item dont check for operation existance | Java | agpl-3.0 | jpaoletti/java-presentation-manager,jpaoletti/java-presentation-manager |
889efcbe641ea4964354314f675d3dedd2bda860 | MAGPIE/sample-sensor/src/test/java/ch/hevs/aislab/magpie/test/java/LogicTupleTest.java | MAGPIE/sample-sensor/src/test/java/ch/hevs/aislab/magpie/test/java/LogicTupleTest.java | package ch.hevs.aislab.magpie.test.java;
import org.junit.Test;
import alice.tuprolog.Term;
import ch.hevs.aislab.magpie.event.LogicTupleEvent;
import static junit.framework.TestCase.assertEquals;
public class LogicTupleTest {
@Test
public void createLogicTuple() {
// This method tests if the fol... | package ch.hevs.aislab.magpie.test.java;
import org.junit.Test;
import alice.tuprolog.Term;
import ch.hevs.aislab.magpie.event.LogicTupleEvent;
import static junit.framework.TestCase.assertEquals;
public class LogicTupleTest {
@Test
public void createLogicTuple() {
// This method tests if the fol... | Add test that checks whether the name and the arguments are correct | Add test that checks whether the name and the arguments are correct
| Java | bsd-3-clause | aislab-hevs/magpie |
ac0a1bb4481073804ae2899b43a7c2b46e37acbc | projects/OG-Engine/src/com/opengamma/engine/view/calc/ViewDefinitionChangeListener.java | projects/OG-Engine/src/com/opengamma/engine/view/calc/ViewDefinitionChangeListener.java | /**
* Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.engine.view.calc;
import com.opengamma.core.change.ChangeEvent;
import com.opengamma.core.change.ChangeListener;
/**
* Change listener for a single view def... | /**
* Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.engine.view.calc;
import com.opengamma.core.change.ChangeEvent;
import com.opengamma.core.change.ChangeListener;
/**
* Change listener for a single view def... | Stop throwing when view definition is created | Stop throwing when view definition is created
| Java | apache-2.0 | jerome79/OG-Platform,nssales/OG-Platform,McLeodMoores/starling,McLeodMoores/starling,McLeodMoores/starling,jerome79/OG-Platform,DevStreet/FinanceAnalytics,DevStreet/FinanceAnalytics,nssales/OG-Platform,nssales/OG-Platform,DevStreet/FinanceAnalytics,codeaudit/OG-Platform,codeaudit/OG-Platform,jeorme/OG-Platform,jeorme/O... |
b3846b29a93b496a4b94d569c5fd19832d886ef2 | src/common/me/nallar/patched/storage/PatchAnvilChunkLoaderPending.java | src/common/me/nallar/patched/storage/PatchAnvilChunkLoaderPending.java | package me.nallar.patched.storage;
import me.nallar.tickthreading.patcher.Declare;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.ChunkCoordIntPair;
import net.minecraft.world.chunk.storage.AnvilChunkLoaderPending;
/**
* This patch class doesn't change anything, it's just here so the pre... | package me.nallar.patched.storage;
import me.nallar.tickthreading.patcher.Declare;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.world.ChunkCoordIntPair;
import net.minecraft.world.chunk.storage.AnvilChunkLoaderPending;
public abstract class PatchAnvilChunkLoaderPending extends AnvilChunkLoader... | Remove no longer valid comment for AnvilChunkLoaderPending | Remove no longer valid comment for AnvilChunkLoaderPending
Signed-off-by: Ross Allan <ca2c77e14df1e7ee673215c1ef658354e220f471@gmail.com>
| Java | mit | nallar/TickThreading |
15679a2899b997757cc0cda826183314bef3b9b6 | application/src/main/java/org/mifos/ui/core/controller/SectionForm.java | application/src/main/java/org/mifos/ui/core/controller/SectionForm.java | /*
* Copyright (c) 2005-2010 Grameen Foundation USA
* 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
*
* Unl... | /*
* Copyright (c) 2005-2010 Grameen Foundation USA
* 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
*
* Unl... | Add sections to Question Group | [MIFOS-3150] Add sections to Question Group
| Java | apache-2.0 | jpodeszwik/mifos,AArhin/head,maduhu/mifos-head,AArhin/head,jpodeszwik/mifos,AArhin/head,AArhin/head,maduhu/mifos-head,AArhin/head,maduhu/mifos-head,maduhu/head,vorburger/mifos-head,jpodeszwik/mifos,maduhu/mifos-head,jpodeszwik/mifos,maduhu/head,maduhu/head,maduhu/mifos-head,maduhu/head,vorburger/mifos-head,vorburger/mi... |
08b56c8f87cf0d24d363339b6b950e894d7e8238 | src/main/java/io/github/proxyprint/kitchen/controllers/printshops/ManagerController.java | src/main/java/io/github/proxyprint/kitchen/controllers/printshops/ManagerController.java | package io.github.proxyprint.kitchen.controllers.printshops;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonObject;
import io.github.proxyprint.kitchen.models.printshops.PrintShop;
import io.github.proxyprint.kitchen.models.printshops.pricetable.PaperTableItem;
import io.gi... | package io.github.proxyprint.kitchen.controllers.printshops;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonObject;
import io.github.proxyprint.kitchen.models.printshops.PrintShop;
import io.github.proxyprint.kitchen.models.printshops.pricetable.PaperTableItem;
import io.gi... | Add new entry in pricetable Print&Copy section. | Add new entry in pricetable Print&Copy section.
| Java | apache-2.0 | ProxyPrint/proxyprint-kitchen,ProxyPrint/proxyprint-kitchen,ProxyPrint/proxyprint-kitchen,ProxyPrint/proxyprint-kitchen |
db8f8cfcbfaf5b976a1550ff09953f251890f836 | config-provisioning/src/main/java/com/yahoo/config/provision/security/NodeIdentifier.java | config-provisioning/src/main/java/com/yahoo/config/provision/security/NodeIdentifier.java | // Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.provision.security;
import java.security.cert.X509Certificate;
import java.util.List;
/**
* Identifies Vespa nodes from the their X509 certificate.
*
* @author bjorncs
*/
publi... | // Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.provision.security;
import java.security.cert.X509Certificate;
import java.util.List;
/**
* Identifies Vespa nodes from the their X509 certificate.
*
* @author bjorncs
*/
publi... | Add throws definition to 'identityNode' | Add throws definition to 'identityNode'
This is backward compatible as NodeIdentifierException is an unchecked exception.
| Java | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
38afeeaaab10bf10182a12f935834735bfa8cef0 | src/main/java/com/epimorphics/dclib/framework/MapSource.java | src/main/java/com/epimorphics/dclib/framework/MapSource.java | /******************************************************************
* File: MapSource.java
* Created by: Dave Reynolds
* Created on: 13 Dec 2013
*
* (c) Copyright 2013, Epimorphics Limited
*
*****************************************************************/
package com.epimorphics.dclib.framework;
im... | /******************************************************************
* File: MapSource.java
* Created by: Dave Reynolds
* Created on: 13 Dec 2013
*
* (c) Copyright 2013, Epimorphics Limited
*
*****************************************************************/
package com.epimorphics.dclib.framework;
im... | Change signature so sources can be treated as configurable items | Change signature so sources can be treated as configurable items | Java | apache-2.0 | epimorphics/dclib |
7b2eac341e02d52c0b4b4a1a8517163fe94eecf2 | app/models/Model.java | app/models/Model.java | package models;
import java.util.List;
import java.util.UUID;
import com.fasterxml.jackson.annotation.JsonIgnore;
/**
* The base class for all of the models used by GTFS Data Manager.
* We don't use the Play model object because we're not saving things to a relational database.
* @author mattwigway
*/
public abs... | package models;
import java.util.List;
import java.util.UUID;
import javax.persistence.MappedSuperclass;
import com.fasterxml.jackson.annotation.JsonIgnore;
/**
* The base class for all of the models used by GTFS Data Manager.
* We don't use the Play model object because we're not saving things to a relational da... | Add @MappedSuperclass so user information is serialized. | Add @MappedSuperclass so user information is serialized.
| Java | mit | conveyal/gtfs-data-manager,conveyal/gtfs-data-manager,conveyal/gtfs-data-manager,conveyal/gtfs-data-manager |
bd99ff7a3ec80cb935d4e80964805bf522f0bf61 | src/main/java/org/realityforge/replicant/server/ee/rest/TokenRestService.java | src/main/java/org/realityforge/replicant/server/ee/rest/TokenRestService.java | package org.realityforge.replicant.server.ee.rest;
import javax.inject.Inject;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import org.realityforge.replicant.shared.transport.ReplicantContext;
import org.realityforge.ssf.SessionManager;
/**
* The to... | package org.realityforge.replicant.server.ee.rest;
import javax.ejb.EJB;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import org.realityforge.replicant.shared.transport.ReplicantContext;
import org.realityforge.ssf.SessionManager;
/**
* The token so... | Use an @EJB annotation to comply with Domgen generated code | Use an @EJB annotation to comply with Domgen generated code
| Java | apache-2.0 | realityforge/replicant,realityforge/replicant |
ebf8f3427a82f70a984a0035163a3a3e60e625f8 | src/main/java/com/kilfat/web/model/deserializer/DeserializerHelper.java | src/main/java/com/kilfat/web/model/deserializer/DeserializerHelper.java | package com.kilfat.web.model.deserializer;
import com.fasterxml.jackson.databind.JsonNode;
import com.kilfat.config.ServiceConstants;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
public class DeserializerHelper {
private static final SimpleDateFormat dateFormat = new... | package com.kilfat.web.model.deserializer;
import com.fasterxml.jackson.databind.JsonNode;
import com.kilfat.config.ServiceConstants;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
public class DeserializerHelper {
private static final SimpleDateFormat dateFormat = new... | Change data parser, need to add unix timestamp support | Change data parser, need to add unix timestamp support
| Java | apache-2.0 | KILFaT/BudgetKeeper |
24d2d9f064a81cbff0d6a5a43eb4ed79e4ea3001 | planning/src/main/java/fape/core/planning/search/strategies/flaws/HierarchicalFirstComp.java | planning/src/main/java/fape/core/planning/search/strategies/flaws/HierarchicalFirstComp.java | package fape.core.planning.search.strategies.flaws;
import fape.core.planning.planner.Planner;
import fape.core.planning.search.flaws.flaws.Flaw;
import fape.core.planning.search.flaws.flaws.UnmotivatedAction;
import fape.core.planning.search.flaws.flaws.UnrefinedTask;
import fape.core.planning.states.State;
public c... | package fape.core.planning.search.strategies.flaws;
import fape.core.planning.planner.Planner;
import fape.core.planning.search.flaws.flaws.Flaw;
import fape.core.planning.search.flaws.flaws.Threat;
import fape.core.planning.search.flaws.flaws.UnmotivatedAction;
import fape.core.planning.search.flaws.flaws.UnrefinedTa... | Update default flaw selection strategy on hierarchical domains: threats first, then unrefined tasks. | [planning] Update default flaw selection strategy on hierarchical domains: threats first, then unrefined tasks.
| Java | bsd-2-clause | athy/fape,athy/fape,athy/fape,athy/fape |
1c924f9e0c7000d19fc01e64ad140637a35ec873 | 20160321-fixed-version/src/main/java/com/example/spring/config/MiddleVersionPathStrategy.java | 20160321-fixed-version/src/main/java/com/example/spring/config/MiddleVersionPathStrategy.java | package com.example.spring.config;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.servlet.resource.VersionPathStrategy;
@Slf4j
public class MiddleVersionPathStrategy implements VersionPathStrategy {
private final String prefix;
private final String version;
public MiddleVersionPathStrat... | package com.example.spring.config;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.servlet.resource.VersionPathStrategy;
@Slf4j
public class MiddleVersionPathStrategy implements VersionPathStrategy {
private final String prefix;
private final String version;
public MiddleVersionPathStrat... | Fix fixed version example to handle prefix correctly | Fix fixed version example to handle prefix correctly
| Java | apache-2.0 | ksoichiro/spring-boot-practice,ksoichiro/spring-boot-practice,ksoichiro/spring-boot-practice,ksoichiro/spring-boot-practice |
8d08730b8b89c214623b3aa143439ff2ced36541 | android/lib/src/main/java/com/futurice/rctaudiotoolkit/AudioPackage.java | android/lib/src/main/java/com/futurice/rctaudiotoolkit/AudioPackage.java | package com.futurice.rctaudiotoolkit;
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.futurice.rctaudiotoolkit;
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 ... | Allow compatibility with RN 0.47 | Allow compatibility with RN 0.47 | Java | mit | damianham/react-native-audio-kit,damianham/react-native-audio-kit,damianham/react-native-audio-kit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.