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 |
|---|---|---|---|---|---|---|---|---|---|
14a1d1514e1ae168f27177fc641bc2e13b9e6210 | Android/Sample/web.about/src/main/java/net/wequick/example/small/web/about/MainActivity.java | Android/Sample/web.about/src/main/java/net/wequick/example/small/web/about/MainActivity.java | package net.wequick.example.small.web.about;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import net.wequick.small.Small;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceSta... | package net.wequick.example.small.web.about;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import net.wequick.small.Small;
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceSta... | Fix the crash while running web.about module alone | Fix the crash while running web.about module alone
| Java | apache-2.0 | wequick/Small,wequick/Small,zhaoya188/Small,wequick/Small,zhaoya188/Small,zhaoya188/Small,zhaoya188/Small,wequick/Small,wequick/Small |
27dc9e2e29421230bc2ece601b0b9bcf88a3ad8f | platform/lang-api/src/com/intellij/lang/LanguageDocumentation.java | platform/lang-api/src/com/intellij/lang/LanguageDocumentation.java | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
/*
* @author max
*/
package com.intellij.lang;
import com.intellij.lang.documentation.CompositeDocumentationProvider;
import com.intellij.lang.documentation.DocumentationProvi... | Reimplement CompositeDocumentationProvider building so that it can be cached | Reimplement CompositeDocumentationProvider building so that it can be cached
GitOrigin-RevId: 424ed3d9dd2e37601eb808304b2c91db795e9f94 | Java | apache-2.0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... |
0d5e8f1fce86a259d6003fb073049f6382e44908 | xfire-generator/src/test/jsr181/jaxb/globalweather/GlobalWeatherCustomImpl.java | xfire-generator/src/test/jsr181/jaxb/globalweather/GlobalWeatherCustomImpl.java |
package jsr181.jaxb.globalweather;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.ParameterStyle;
import javax.jws.soap.SOAPBinding.Style;
import javax.jws.soap.SOAPBinding.Use;
import org.codehaus.xfire.fault.XFireFault;
@WebService(serviceName = "GlobalWeather", ... |
package jsr181.jaxb.globalweather;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.ParameterStyle;
import javax.jws.soap.SOAPBinding.Style;
import javax.jws.soap.SOAPBinding.Use;
@WebService(serviceName = "GlobalWeather", targetNamespace = "http://www.webserviceX.NET... | Fix test which didn't compile | Fix test which didn't compile
git-svn-id: 9326b53cbc4a8f4c3d02979b62b178127d5150fe@1158 c7d0bf07-ec0d-0410-b2cc-d48fa9be22ba
| Java | mit | eduardodaluz/xfire,eduardodaluz/xfire |
e14c4bcb2ee086030063f50db4a39960e8d25238 | modello/modello-core/src/main/java/org/codehaus/modello/metadata/AbstractMetaDataPlugin.java | modello/modello-core/src/main/java/org/codehaus/modello/metadata/AbstractMetaDataPlugin.java | package org.codehaus.modello.metadata;
/*
* LICENSE
*/
import org.codehaus.modello.AbstractLogEnabled;
import org.codehaus.modello.Model;
import org.codehaus.modello.ModelClass;
import org.codehaus.modello.ModelField;
import org.codehaus.modello.ModelloException;
import java.util.Map;
/**
* @author <a href="mail... | package org.codehaus.modello.metadata;
/*
* LICENSE
*/
import org.codehaus.modello.AbstractLogEnabled;
import org.codehaus.modello.Model;
import org.codehaus.modello.ModelClass;
import org.codehaus.modello.ModelField;
import org.codehaus.modello.ModelloException;
import java.util.Map;
/**
* @author <a href="mail... | Remove methods implementation that must be do in subclasses. | Remove methods implementation that must be do in subclasses.
| Java | mit | codehaus-plexus/modello |
e3776143987aa701d4485247b0d0c7101c48002d | src/main/java/ru/ming13/muzei/earthview/api/WallpaperOperator.java | src/main/java/ru/ming13/muzei/earthview/api/WallpaperOperator.java | package ru.ming13.muzei.earthview.api;
import android.support.annotation.NonNull;
import android.util.Base64;
import java.util.Locale;
import ru.ming13.muzei.earthview.model.Wallpaper;
import ru.ming13.muzei.earthview.util.DataUris;
import ru.ming13.muzei.earthview.util.Strings;
final class WallpaperOperator
{
pub... | package ru.ming13.muzei.earthview.api;
import android.support.annotation.NonNull;
import android.util.Base64;
import java.util.Locale;
import ru.ming13.muzei.earthview.model.Wallpaper;
import ru.ming13.muzei.earthview.util.DataUris;
import ru.ming13.muzei.earthview.util.Strings;
final class WallpaperOperator
{
pub... | Add space after copyright symbol in description. | Add space after copyright symbol in description.
| Java | apache-2.0 | ming13/muzei-earth-view,ming13/muzei-earth-view |
8c880a8416c7636a3202b32d3db4869b77827e6b | app/src/main/java/com/ibm/mil/smartringer/IncomingCallReceiver.java | app/src/main/java/com/ibm/mil/smartringer/IncomingCallReceiver.java | package com.ibm.mil.smartringer;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.telephony.PhoneStateListener;
import android.telephony.TelephonyManager;
import android.util.Log;
public class IncomingCallReceiver extends BroadcastReceiver {
p... | package com.ibm.mil.smartringer;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.telephony.PhoneStateListener;
import android.telephony.TelephonyManager;
import android.util.Log;
public class IncomingCallReceiver extends BroadcastReceiver {
p... | Remove unnecessary access modifiers from nested private class | Remove unnecessary access modifiers from nested private class
| Java | apache-2.0 | jpetitto/android-smart-ringer |
4d3ccd071cea934e10c7fa9060ef7472dea3d2ca | src/Sort.java | src/Sort.java |
public class Sort {
}
|
public class Sort {
public enum DIRECTION {ASCENDING,DESCENDING};
public void sort(Table _targetTable, DIRECTION d) {
}
}
| Revert "Revert "Started the sort method"" | Revert "Revert "Started the sort method""
This reverts commit 30061f6de74fdec4a7e818ac38712c39e68671a2.
| Java | mit | AlanCILee/DataStructureProject |
c6198a0b1e184ebd06d0df1ef9df8f204b1a8d1e | backend/src/main/java/com/google/slurp/servlets/ServerListener.java | backend/src/main/java/com/google/slurp/servlets/ServerListener.java | package com.google.slurp.servlets;
import java.io.IOException;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;
import com.google.auth.oauth2.GoogleCredentials;
import com.google.firebase.FirebaseApp;
import com.google.firebase.Firebas... | package com.google.slurp.servlets;
import java.io.IOException;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;
import com.google.auth.oauth2.GoogleCredentials;
import com.google.firebase.FirebaseApp;
import com.google.firebase.Firebas... | Delete FirebaseApp on server shutdown | Delete FirebaseApp on server shutdown
| Java | apache-2.0 | googleinterns/SLURP,googleinterns/SLURP,googleinterns/SLURP |
c500064089802f50be6aae50cca2e841097dbbed | governator-core/src/test/java/com/netflix/governator/ShutdownHookModuleTest.java | governator-core/src/test/java/com/netflix/governator/ShutdownHookModuleTest.java | package com.netflix.governator;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.inject.Singleton;
import org.testng.annotations.Test;
public class Sh... | package com.netflix.governator;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.inject.Singleton;
import org.testng.annotations.Test;
public class Sh... | Disable test that calls System.exit | Disable test that calls System.exit
| Java | apache-2.0 | tcellucci/governator,bondj/governator,twicksell/governator,drtechniko/governator,tcellucci/governator,skinzer/governator,drtechniko/governator,elandau/governator,bondj/governator,twicksell/governator,drtechniko/governator,Netflix/governator,skinzer/governator,elandau/governator,elandau/governator,tcellucci/governator,N... |
570805eb348e575f27d392708f09597a4feb63ab | test/org/apache/TestAll.java | test/org/apache/TestAll.java | package org.apache;
import org.apache.catalina.ha.session.TestSerializablePrincipal;
import org.apache.catalina.startup.TestTomcat;
import org.apache.catalina.tribes.test.TribesTestSuite;
import org.apache.el.lang.TestELSupport;
import org.apache.el.TestELEvaluation;
import org.apache.tomcat.util.http.TestCookies;
imp... | package org.apache;
import org.apache.catalina.connector.TestRequest;
import org.apache.catalina.ha.session.TestSerializablePrincipal;
import org.apache.catalina.startup.TestTomcat;
import org.apache.catalina.tribes.test.TribesTestSuite;
import org.apache.el.lang.TestELSupport;
import org.apache.el.TestELEvaluation;
i... | Add missing test Re-arrange to try and make it easier to see what is what | Add missing test
Re-arrange to try and make it easier to see what is what
git-svn-id: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@799384 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | apache/tomcat,Nickname0806/Test_Q4,apache/tomcat,Nickname0806/Test_Q4,apache/tomcat,Nickname0806/Test_Q4,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4 |
a0ce35b0347e16eb0af941ca352135451e49ea74 | oxLdap/src/main/java/org/xdi/ldap/model/CustomEntry.java | oxLdap/src/main/java/org/xdi/ldap/model/CustomEntry.java | /*
* oxCore is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
*
* Copyright (c) 2014, Gluu
*/
package org.xdi.ldap.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import org.gluu.site.ldap.persistence.annotation.LdapAttributesL... | /*
* oxCore is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text.
*
* Copyright (c) 2014, Gluu
*/
package org.xdi.ldap.model;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import org.gluu.site.ldap.persistence.annotation.LdapAttributesL... | Add utility method to get attribute value | Add utility method to get attribute value | Java | mit | madumlao/oxCore,GluuFederation/oxCore |
6d3e0ef6cb2ef109c9da01382b525187690fa80c | slack-api-model/src/main/java/com/slack/api/model/view/ViewState.java | slack-api-model/src/main/java/com/slack/api/model/view/ViewState.java | package com.slack.api.model.view;
import com.slack.api.model.block.composition.PlainTextObject;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
import java.util.Map;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class... | package com.slack.api.model.view;
import com.slack.api.model.block.composition.PlainTextObject;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
import java.util.Map;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class... | Add missing fields in view.state.values | Add missing fields in view.state.values
| Java | mit | seratch/jslack,seratch/jslack,seratch/jslack,seratch/jslack |
ea763b7498fe60d114beb5495fde81c00ef6d3fd | src/main/java/com/github/mrloyal/flatexcelmapper/FlatExcelMapper.java | src/main/java/com/github/mrloyal/flatexcelmapper/FlatExcelMapper.java | package com.github.mrloyal.flatexcelmapper;
import org.apache.poi.xssf.usermodel.XSSFSheet;
import java.io.File;
import java.util.List;
public class FlatExcelMapper {
public <T extends Object>List<T> read(String fileName, int sheetIndex, Class<T> clazz){
List<T> list = null;
return list;
}
... | package com.github.mrloyal.flatexcelmapper;
import org.apache.poi.xssf.usermodel.XSSFRow;
import org.apache.poi.xssf.usermodel.XSSFSheet;
import java.io.File;
import java.util.List;
public class FlatExcelMapper {
public <T extends Object>List<T> read(String fileName, int sheetIndex, Class<T> clazz){
Lis... | Add signature for reading one row | Add signature for reading one row
| Java | mit | MrLoyal/flat-excel-mapper |
dafc667d2242401ec1980a28c73bcd61d67b063b | src/main/java/info/u_team/u_team_core/container/FluidContainer.java | src/main/java/info/u_team/u_team_core/container/FluidContainer.java | package info.u_team.u_team_core.container;
import net.minecraft.inventory.container.*;
public abstract class FluidContainer extends Container {
public FluidContainer(ContainerType<?> type, int id) {
super(type, id);
}
}
| package info.u_team.u_team_core.container;
import java.util.List;
import com.google.common.collect.Lists;
import net.minecraft.inventory.container.*;
import net.minecraft.util.NonNullList;
import net.minecraftforge.fluids.FluidStack;
public abstract class FluidContainer extends Container {
private final NonNullL... | Add some more methods to the fluid container | Add some more methods to the fluid container | Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
fe35c1c3aed03cfd5332c78dd38423a726c71d93 | src/main/ed/security/Security.java | src/main/ed/security/Security.java | // Security.java
package ed.security;
import ed.js.engine.*;
public class Security {
public final static boolean OFF = Boolean.getBoolean( "NO-SECURITY" );
final static boolean TEST_BYPASS = Boolean.getBoolean("ed.js.engine.SECURITY_BYPASS");
final static String SECURE[] = new String[]{
Conver... | // Security.java
package ed.security;
import ed.js.engine.*;
public class Security {
public final static boolean OFF = Boolean.getBoolean( "NO-SECURITY" );
final static String SECURE[] = new String[]{
Convert.DEFAULT_PACKAGE + "._data_corejs_" ,
Convert.DEFAULT_PACKAGE + "._data_sites_adm... | Remove the security bypass hack. It's not needed anymore. | Remove the security bypass hack. It's not needed anymore.
| Java | apache-2.0 | babble/babble,babble/babble,babble/babble,babble/babble,babble/babble,babble/babble |
811c1d4e195f23b5d889ceff974e95a82dcfc461 | src/som/VMOptions.java | src/som/VMOptions.java | package som;
import java.util.Arrays;
public class VMOptions {
public static final String STANDARD_PLATFORM_FILE = "core-lib/Platform.som";
public static final String STANDARD_KERNEL_FILE = "core-lib/Kernel.som";
public String platformFile = STANDARD_PLATFORM_FILE;
public String kernelFile = STANDAR... | package som;
import java.util.Arrays;
public class VMOptions {
public static final String STANDARD_PLATFORM_FILE = "core-lib/Platform.som";
public static final String STANDARD_KERNEL_FILE = "core-lib/Kernel.som";
public String platformFile = STANDARD_PLATFORM_FILE;
public String kernelFile = STANDAR... | Fix bug in handling arguments | Fix bug in handling arguments
Signed-off-by: Stefan Marr <46f1a0bd5592a2f9244ca321b129902a06b53e03@stefan-marr.de>
| Java | mit | VAISHALI-DHANOA/SOMns,MetaConc/SOMns,smarr/SOMns,smarr/SOMns,richard-roberts/SOMns,smarr/SOMns,MetaConc/SOMns,richard-roberts/SOMns,smarr/SOMns,VAISHALI-DHANOA/SOMns,richard-roberts/SOMns,smarr/SOMns,richard-roberts/SOMns,richard-roberts/SOMns,smarr/SOMns,VAISHALI-DHANOA/SOMns,richard-roberts/SOMns,richard-roberts/SOMn... |
7d773973c34942508241a3ea890e804d21b926ab | src/main/java/org/javacs/Main.java | src/main/java/org/javacs/Main.java | package org.javacs;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.javacs.lsp.*;
public class Main {
private static final Logger LOG = Logger.getLogger("main");
public static void setRootFormat() {
var root = Logger.getLogger("");
for (var h : root.getHandlers())... | package org.javacs;
import java.util.Arrays;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.javacs.lsp.*;
public class Main {
private static final Logger LOG = Logger.getLogger("main");
public static void setRootFormat() {
var root = Logger.getLogger("");
for (va... | Add '--quiet' option for standalone usage | Add '--quiet' option for standalone usage
What
===
Add '--quiet' option for standalone usage. When provided the logger will
be turned off resulting in no information writing to stderr.
Why
===
When using standalone with IDEs like vim and plugins like vim-lsc the
stderr of the command will be outputted into the termin... | Java | mit | georgewfraser/vscode-javac,georgewfraser/vscode-javac,georgewfraser/vscode-javac |
678136314a9ec1548c58ea4ba6d227492f56fd6f | Team7Project/src/ca/ualberta/team7project/network/ElasticSearchSearchResponse.java | Team7Project/src/ca/ualberta/team7project/network/ElasticSearchSearchResponse.java | package ca.ualberta.team7project.network;
public class ElasticSearchSearchResponse {
}
| package ca.ualberta.team7project.network;
import java.util.ArrayList;
import java.util.Collection;
/*
* Represents a search response from ElasticSearch.
* Taken from https://github.com/zjullion/PicPosterComplete
* which is taken from https://github.com/rayzhangcl/ESDemo
*/
public class ElasticSearchSearchResponse... | Add new changes to ElasticSearchOperation class | Add new changes to ElasticSearchOperation class
| Java | apache-2.0 | CMPUT301W14T07/Team7Project,CMPUT301W14T07/Team7Project |
0911322da92ca9d3db2abcedb811c97357b07f8e | BaragonAgentService/src/main/java/com/hubspot/baragon/agent/resources/RenderedConfigsResource.java | BaragonAgentService/src/main/java/com/hubspot/baragon/agent/resources/RenderedConfigsResource.java | package com.hubspot.baragon.agent.resources;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.inject.Inject;
impo... | package com.hubspot.baragon.agent.resources;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.google.inject.Inject;
impo... | Make GET to /renderedConfigs/{serviceId} at the Agent level not require authentication | Make GET to /renderedConfigs/{serviceId} at the Agent level not require authentication
| Java | apache-2.0 | HubSpot/Baragon,HubSpot/Baragon,HubSpot/Baragon |
c535e5450e909e53a6ed7c17e6bea79150b5dddc | src/test/java/info/u_team/u_team_test/init/TestBiomes.java | src/test/java/info/u_team/u_team_test/init/TestBiomes.java | package info.u_team.u_team_test.init;
import info.u_team.u_team_core.util.registry.BaseRegistryUtil;
import info.u_team.u_team_test.TestMod;
import info.u_team.u_team_test.biome.BasicBiome;
import net.minecraft.world.biome.Biome;
import net.minecraftforge.event.RegistryEvent.Register;
import net.minecraftforge.eventbu... | package info.u_team.u_team_test.init;
import info.u_team.u_team_core.util.registry.BaseRegistryUtil;
import info.u_team.u_team_test.TestMod;
import info.u_team.u_team_test.biome.BasicBiome;
import net.minecraft.world.biome.Biome;
import net.minecraftforge.event.RegistryEvent.Register;
import net.minecraftforge.eventbu... | Test deferred registry with biomes | Test deferred registry with biomes | Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
28a756e3292a514216b2e149ee6c5b885e2ea59d | src/main/java/com/ilyamur/osgi/helloworld/impl/Activator.java | src/main/java/com/ilyamur/osgi/helloworld/impl/Activator.java | package com.ilyamur.osgi.helloworld.impl;
import com.ilyamur.osgi.helloworld.service.OsgiHelloworldService;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import java.util.Hashtable;
public class Activator implements BundleActivator {
@Override
public void start(BundleCo... | package com.ilyamur.osgi.helloworld.impl;
import com.ilyamur.osgi.helloworld.service.OsgiHelloworldService;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import java.util.Hashtable;
public class Activator implements BundleActivator {
public void start(BundleContext bundleCo... | Fix sources to correspond with language level | Fix sources to correspond with language level
| Java | mit | MuravevIV/osgi-helloworld |
3af6ec2f9cf9bf41d738fd4999283c6d368712ff | Dendrite/src/com/deuteriumlabs/dendrite/unittest/PageIdTest.java | Dendrite/src/com/deuteriumlabs/dendrite/unittest/PageIdTest.java | package com.deuteriumlabs.dendrite.unittest;
import static org.junit.Assert.*;
import org.junit.Test;
public class PageIdTest {
@Test
public void test() {
fail("Not yet implemented");
}
}
| package com.deuteriumlabs.dendrite.unittest;
import static org.junit.Assert.assertNotNull;
import org.junit.Test;
import com.deuteriumlabs.dendrite.model.PageId;
public class PageIdTest {
@Test
public void testDefaultConstructor() {
final PageId pageId = new PageId();
assertNotNull(pageId);
... | Add test for default constructor | Add test for default constructor
| Java | mit | MattHeard/Dendrite,MattHeard/Dendrite,MattHeard/Dendrite |
968b20007737bd1eeef3707a6addd025868723f1 | app/src/main/java/org/msf/records/model/Patient.java | app/src/main/java/org/msf/records/model/Patient.java | package org.msf.records.model;
import java.io.Serializable;
/**
* Created by Gil on 03/10/2014.
*/
public class Patient implements Serializable {
public String id;
public String given_name;
public String family_name;
public String important_information;
/**
* Accepted values:
* susp... | package org.msf.records.model;
import java.io.Serializable;
/**
* Created by Gil on 03/10/2014.
*/
public class Patient implements Serializable {
public String id;
public String uuid;
public String given_name;
public String family_name;
public String important_information;
/**
* Acce... | Add uuid to the patient bean in Android | Add uuid to the patient bean in Android
| Java | apache-2.0 | luisfdeandrade/client,viniciusboson/client,luisfdeandrade/client,luisfdeandrade/client,viniciusboson/client,jvanz/client,pedromarins/client,projectbuendia/client,christianrafael/client,christianrafael/client,llvasconcellos/client,projectbuendia/client,viniciusboson/client,llvasconcellos/client,projectbuendia/client,pro... |
9da11f83d497cfa7a2403177f113d5ad8a7f4750 | src/main/java/com/maginatics/jdbclint/Utils.java | src/main/java/com/maginatics/jdbclint/Utils.java | /*
* Copyright 2012 - 2014 Maginatics, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | /*
* Copyright 2012 - 2014 Maginatics, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | Make utility constructor truly uninstantiable | Make utility constructor truly uninstantiable
| Java | apache-2.0 | maginatics/jdbclint |
555c4a6844a4e10cce2c3835d5a47f9e21f694e4 | src/main/java/com/censoredsoftware/censoredlib/util/Spigots.java | src/main/java/com/censoredsoftware/censoredlib/util/Spigots.java | package com.censoredsoftware.censoredlib.util;
import org.bukkit.Effect;
import org.bukkit.Location;
public class Spigots
{
public static void playParticle(Location location, Effect effect, int offsetX, int offsetY, int offsetZ, float speed, int particles, int viewRadius)
{
location.getWorld().spigot().playEffect... | package com.censoredsoftware.censoredlib.util;
import org.bukkit.Effect;
import org.bukkit.Location;
public class Spigots
{
public static void playParticle(Location location, Effect effect, int offsetX, int offsetY, int offsetZ, float speed, int particles, int viewRadius)
{
try
{
location.getWorld().spigot()... | Fix for spigot API not being finished yet. | Fix for spigot API not being finished yet.
| Java | apache-2.0 | DemigodsRPG/CensoredLib |
0b8df731587e607db6444ddf437d2eaf1f933b27 | src/main/java/mil/dds/anet/beans/search/AbstractSearchQuery.java | src/main/java/mil/dds/anet/beans/search/AbstractSearchQuery.java | package mil.dds.anet.beans.search;
public abstract class AbstractSearchQuery implements ISearchQuery {
private String text;
private int pageNum;
private int pageSize;
public AbstractSearchQuery() {
this.pageNum = 0;
this.pageSize = 10;
}
@Override
public String getText() {
return text;
}
@Override
... | package mil.dds.anet.beans.search;
public abstract class AbstractSearchQuery implements ISearchQuery {
private String text;
private int pageNum;
private int pageSize;
public AbstractSearchQuery() {
this.pageNum = 0;
this.pageSize = 10;
}
@Override
public String getText() {
return text;
}
@Override
... | Allow pageSize to be zero (0) on searches | Allow pageSize to be zero (0) on searches
This is to be able to return all results, needed e.g. for reports or graphs.
| Java | mit | NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet |
2bd50372a55493c65491288dcfde30df43bef08f | src/main/java/org/sweetiebelle/mcprofiler/bukkit/PermissionsController.java | src/main/java/org/sweetiebelle/mcprofiler/bukkit/PermissionsController.java | package org.sweetiebelle.mcprofiler.bukkit;
import java.util.UUID;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import org.bukkit.plugin.RegisteredServiceProvider;
import net.milkbowl.vault.chat.Chat;
/**
* This class will allow for multiple Permissions Plugins to be easi... | package org.sweetiebelle.mcprofiler.bukkit;
import java.util.UUID;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.OfflinePlayer;
import org.bukkit.plugin.RegisteredServiceProvider;
import net.milkbowl.vault.chat.Chat;
/**
* This class will allow for multiple Permissions Plugins to be easi... | Fix not being able to /status offline players | Fix not being able to /status offline players
| Java | mit | PonyvilleSquare/MCProfiler,shroomdog27/MCProfiler |
b15f11b6a02e16103f434a4a2a64a0bdd7f863e9 | 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: 7c053b8fbd1fb5868f764c6f9536fc6a9bbe7da9@634114 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | kschroeder/jmeter,ThiagoGarciaAlves/jmeter,d0k1/jmeter,hemikak/jmeter,ra0077/jmeter,vherilier/jmeter,ra0077/jmeter,fj11/jmeter,ubikfsabbe/jmeter,fj11/jmeter,ThiagoGarciaAlves/jmeter,thomsonreuters/jmeter,etnetera/jmeter,ubikloadpack/jmeter,vherilier/jmeter,ThiagoGarciaAlves/jmeter,ubikloadpack/jmeter,tuanhq/jmeter,kyro... |
ea4d58b379e218d83be6735d8fccc924e1fca8c2 | app/plugins/Global.java | app/plugins/Global.java | package plugins;
import com.google.inject.Guice;
import com.google.inject.Injector;
import io.sphere.sdk.client.PlayJavaClient;
import play.Application;
import play.GlobalSettings;
public class Global extends GlobalSettings {
private Injector injector;
@Override
public void onStart(final Application app... | package plugins;
import com.google.inject.Guice;
import com.google.inject.Injector;
import controllers.CountryOperations;
import io.sphere.sdk.client.PlayJavaClient;
import play.Application;
import play.GlobalSettings;
public class Global extends GlobalSettings {
private Injector injector;
@Override
pub... | Check default country is defined before starting app. | Check default country is defined before starting app.
| Java | apache-2.0 | commercetools/commercetools-sunrise-java,sphereio/commercetools-sunrise-java,sphereio/sphere-sunrise,rfuertesp/pruebas2,sphereio/sphere-sunrise,sphereio/commercetools-sunrise-java,sphereio/sphere-sunrise,sphereio/commercetools-sunrise-java,commercetools/commercetools-sunrise-java,sphereio/commercetools-sunrise-java,rfu... |
27ab65fd8dd2b17ad6579acd5c44435c2971b31b | Java/src/net/megaroid/math/Factors.java | Java/src/net/megaroid/math/Factors.java | package net.megaroid.math;
public class Factors {
}
| package net.megaroid.math;
public class Factors {
private int mNumber;
public Factors(int number) {
mNumber = number;
}
public int getNumber() {
return mNumber;
}
}
| Add a member, a Constructor and a method | Add a member, a Constructor and a method | Java | mit | xmenta/megaroid,xmenta/megaroid,xmenta/megaroid |
a1112bb070cabe7de61ce483a20b1e386d23768d | shared/src/main/java/com/github/sulir/runtimesearch/shared/SearchOptions.java | shared/src/main/java/com/github/sulir/runtimesearch/shared/SearchOptions.java | package com.github.sulir.runtimesearch.shared;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
public class SearchOptions implements Serializable {
public static final String PROPERTY_PREFIX = "runtimesearch.";
private static final long serialVersionUI... | package com.github.sulir.runtimesearch.shared;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.Properties;
public class SearchOptions implements Serializable {
public static final String PROPERTY_PREFIX = "runtimesearch.";
private static final long serialVersionUI... | Fix NullPointerException when searched text is not set via a system property | Fix NullPointerException when searched text is not set via a system property
| Java | apache-2.0 | sulir/runtimesearch |
15a68473790ca0d9b8299fc13bd8ec1ebb0b75a1 | src/drive/java/org/joda/time/field/DriveDividedDateTimeField.java | src/drive/java/org/joda/time/field/DriveDividedDateTimeField.java | package org.joda.time.field;
import org.joda.time.DateTimeFieldType;
import org.joda.time.chrono.IslamicChronology;
public class DriveDividedDateTimeField {
static DividedDateTimeField rdtf = new DividedDateTimeField(
DateTimeFieldType.dayOfMonth().getField(IslamicChronology.getInstance()),
... | package org.joda.time.field;
import org.joda.time.DateTimeFieldType;
import org.joda.time.chrono.IslamicChronology;
public class DriveDividedDateTimeField {
static DividedDateTimeField rdtf = new DividedDateTimeField(
DateTimeFieldType.dayOfMonth().getField(IslamicChronology.getInstance()),
... | Add new jpf test cases | Add new jpf test cases
| Java | apache-2.0 | Alexey-N-Chernyshov/IU_AST_Mutation_Score,Alexey-N-Chernyshov/IU_AST_Mutation_Score |
0800673f97793f88693b5cfa03626336c249a5aa | src/main/java/top/quantic/sentry/discord/core/CommandContext.java | src/main/java/top/quantic/sentry/discord/core/CommandContext.java | package top.quantic.sentry.discord.core;
import joptsimple.OptionSet;
import sx.blah.discord.handle.obj.IMessage;
public class CommandContext {
private IMessage message;
private String prefix;
private Command command;
private String[] args;
private OptionSet optionSet;
public IMessage getMes... | package top.quantic.sentry.discord.core;
import joptsimple.OptionSet;
import sx.blah.discord.handle.obj.IMessage;
public class CommandContext {
private IMessage message;
private String prefix;
private Command command;
private String[] args;
private OptionSet optionSet;
public IMessage getMes... | Fix potential NPE with command context | Fix potential NPE with command context
| Java | apache-2.0 | quanticc/sentry,quanticc/sentry,quanticc/sentry |
258ac421fb643d56725d353d07101e0c1dd2c8b6 | src/main/java/techcable/minecraft/npclib/NPCLib.java | src/main/java/techcable/minecraft/npclib/NPCLib.java | package techcable.minecraft.npclib;
import techcable.minecraft.npclib.citizens.CitizensNPCRegistry;
import net.citizensnpcs.api.CitizensAPI;
public class NPCLib {
private NPCLib() {};
public static NPCRegistry getNPCRegistry() {
if (hasCitizens()) {
return CitizensNPCRegistry.getRegistry();
} ... | package techcable.minecraft.npclib;
import techcable.minecraft.npclib.citizens.CitizensNPCRegistry;
import net.citizensnpcs.api.CitizensAPI;
public class NPCLib {
private NPCLib() {};
public static NPCRegistry getNPCRegistry() {
if (hasCitizens()) {
return CitizensNPCRegistry.getRegistry();
} ... | Add support for named registries | Add support for named registries
| Java | mit | TechzoneMC/NPCLib,ProgrammerDan/NPCLib |
fe803fa0027a406850462a11a278d54f2cfd12f2 | 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... | Fix the two checkstyle errors originating out of the additional assertion | [TACHYON-1559] Fix the two checkstyle errors originating out of the additional assertion
| Java | apache-2.0 | jswudi/alluxio,Reidddddd/alluxio,Alluxio/alluxio,bf8086/alluxio,ChangerYoung/alluxio,Reidddddd/alluxio,apc999/alluxio,wwjiang007/alluxio,maobaolong/alluxio,Reidddddd/mo-alluxio,madanadit/alluxio,apc999/alluxio,riversand963/alluxio,apc999/alluxio,Alluxio/alluxio,bf8086/alluxio,maobaolong/alluxio,apc999/alluxio,yuluo-din... |
b95512545ade73a18f180231b4742f61982c07d0 | iclij/iclij-common/iclij-config/src/main/java/roart/iclij/config/MLConfig.java | iclij/iclij-common/iclij-config/src/main/java/roart/iclij/config/MLConfig.java | package roart.iclij.config;
public class MLConfig {
// load before evolve or use
private Boolean load;
// enable evolve or use
private Boolean enable;
// ml persistence
private Boolean persistml;
public Boolean getLoad() {
return load;
}
public void setLoad(... | package roart.iclij.config;
public class MLConfig {
// load before evolve or use
private Boolean load;
// enable evolve or use
private Boolean enable;
public Boolean getLoad() {
return load;
}
public void setLoad(Boolean load) {
this.load = load;
}
publi... | Remove this, use only enable, for Machine learning persist (I114). | Remove this, use only enable, for Machine learning persist (I114).
| Java | agpl-3.0 | rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat |
da4145532cfebb8b39d36c83591c6adc70f11384 | src/test/java/com/moonillusions/propertynavigation/PropertyNavigationTest.java | src/test/java/com/moonillusions/propertynavigation/PropertyNavigationTest.java | package com.moonillusions.propertynavigation;
import static com.moonillusions.propertynavigation.PropertyNavigation.of;
import static com.moonillusions.propertynavigation.PropertyNavigation.prop;
import static org.hamcrest.Matchers.equalTo;
import static org.junit.Assert.assertThat;
import org.junit.Test;
public cla... | package com.moonillusions.propertynavigation;
import static com.moonillusions.propertynavigation.PropertyNavigation.of;
import static com.moonillusions.propertynavigation.PropertyNavigation.prop;
import static org.hamcrest.Matchers.equalTo;
import static org.junit.Assert.assertThat;
import org.junit.Ignore;
import or... | Test for using final classes in the middle of the path | Test for using final classes in the middle of the path
| Java | apache-2.0 | Arch-vile/PropertyNavigation |
2083565c7785246ad323570ccbab48934097375f | UniversalImageLoader/src/com/nostra13/universalimageloader/utils/FileUtils.java | UniversalImageLoader/src/com/nostra13/universalimageloader/utils/FileUtils.java | package com.nostra13.universalimageloader.utils;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
/**
* Provides operations with files
*
* @author Sergey Tarasevich (nostra13[at]gmail[dot]com)
*/
public final class FileUtils {
private FileUtils() {
}
publi... | package com.nostra13.universalimageloader.utils;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
/**
* Provides operations with files
*
* @author Sergey Tarasevich (nostra13[at]gmail[dot]com)
*/
public final class FileUtils {
private static final int BUFFER_SIZ... | Copy files with 8KB buffer size (instead of 1KB) | Copy files with 8KB buffer size (instead of 1KB) | Java | apache-2.0 | yigeyidian/Android-Universal-Image-Loader,SyllaJay/Android-Universal-Image-Loader,jjzhoujun/Android-Universal-Image-Loader,wmg494005678/Android-Universal-Image-Loader,RadiateWSG/Android-Universal-Image-Loader,jekey/Android-Universal-Image-Loader,mpoozd/Android-Universal-Image-Loader,RomzesRover/Android-Universal-Image-... |
50aa429f80204a4fd1008c6be95938079acb8b11 | plugin/src/main/java/org/eobjects/build/AbstractDotnetMojo.java | plugin/src/main/java/org/eobjects/build/AbstractDotnetMojo.java | package org.eobjects.build;
import java.io.File;
import java.util.Map;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugins.annotations.Parameter;
public abstract class AbstractDotnetMojo extends AbstractMojo {
@Parameter(defaultValue = PluginHelper.PROPERTY_BASEDIR, readonly = true)
... | package org.eobjects.build;
import java.io.File;
import java.util.Map;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugins.annotations.Parameter;
public abstract class AbstractDotnetMojo extends AbstractMojo {
@Parameter(defaultValue = PluginHelper.PROPERTY_BASEDIR, readonly = true)
... | Revert "Use central definition of property." | Revert "Use central definition of property."
This reverts commit d7b11332176807582a776b1463ab19fcfb2f257a.
| Java | apache-2.0 | kaspersorensen/dotnet-maven-plugin,kaspersorensen/dotnet-maven-plugin |
c672bfae82ee2cb46f5c604a0ad7aa5fc028474a | src/main/java/org/javacs/Lib.java | src/main/java/org/javacs/Lib.java | package org.javacs;
import java.io.File;
import java.lang.System;
import java.util.Optional;
import java.nio.file.*;
class Lib {
static Optional<Path> srcZipPath() {
return Optional.ofNullable(System.getenv("JAVA_HOME"))
.flatMap(home -> Optional.of(Paths.get(home).resolve("lib/src.zip")))
... | package org.javacs;
import java.io.File;
import java.lang.System;
import java.util.Optional;
import java.util.Arrays;
import java.nio.file.*;
class Lib {
static Optional<Path> srcZipPath() {
return Optional.ofNullable(System.getenv("JAVA_HOME"))
.map(home -> {
return Arrays.asL... | Support other locations for finding src.zip | Support other locations for finding src.zip
What
===
Support other locations for finding src.zip so that it is found it if
lives at either:
- JAVA_HOME/lib/src.zip
- JAVA_HOME/src.zip
Why
===
I've observed in testing that some installations of JVMs include src.zip
in the root, others in a lib/src.zip.
| Java | mit | georgewfraser/vscode-javac,georgewfraser/vscode-javac,georgewfraser/vscode-javac |
ee9eb5b59fbce645cf5c24b927a60f70d1014a96 | src/main/java/com/googlesource/gerrit/plugins/webhooks/Module.java | src/main/java/com/googlesource/gerrit/plugins/webhooks/Module.java | // Copyright (C) 2017 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | // Copyright (C) 2017 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | Remove binding to singleton as Configuration has already Singleton scope | Remove binding to singleton as Configuration has already Singleton scope
Change-Id: Ia43162be3ea477e10401c914f424949de4e18d6e
Signed-off-by: Jacek Centkowski <ce4a73803a80af51ece4477dad59cc7b1801c73e@collab.net>
| Java | apache-2.0 | GerritCodeReview/plugins_webhooks |
03c9b539688b48a22775b66a7c274b7e82d36e93 | test/source/se/ericthelin/fractions/GreatestCommonDivisorTest.java | test/source/se/ericthelin/fractions/GreatestCommonDivisorTest.java | package se.ericthelin.fractions;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
public class GreatestCommonDivisorTest {
@Test
public void returnsFirstWhenSecondIsZero() {
assertThat(GreatestCommonDivisor.of(6, 0), is(6));
}
@Test
public void re... | package se.ericthelin.fractions;
import org.junit.Test;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;
public class GreatestCommonDivisorTest {
@Test
public void returnsFirstWhenSecondIsZero() {
assertThat(GreatestCommonDivisor.of(6, 0), is(6));
}
@Test
public void re... | Check that GreatestCommonDivisor accepts arguments in reverse order | Check that GreatestCommonDivisor accepts arguments in reverse order
| Java | mit | eric-thelin/fractions |
fdf7c277f0ba34555996c8c8ba85c2fa99bf1313 | src/main/java/com/btk5h/skriptmirror/ParseOrderWorkarounds.java | src/main/java/com/btk5h/skriptmirror/ParseOrderWorkarounds.java | package com.btk5h.skriptmirror;
import ch.njol.skript.Skript;
import ch.njol.skript.lang.SyntaxElement;
import ch.njol.skript.lang.SyntaxElementInfo;
import java.util.Arrays;
import java.util.Collection;
import java.util.Optional;
public class ParseOrderWorkarounds {
private static String[] PARSE_ORDER = {
"... | package com.btk5h.skriptmirror;
import ch.njol.skript.Skript;
import ch.njol.skript.lang.SyntaxElement;
import ch.njol.skript.lang.SyntaxElementInfo;
import java.util.Arrays;
import java.util.Collection;
import java.util.Optional;
public class ParseOrderWorkarounds {
private static String[] PARSE_ORDER = {
"... | Reorder custom effects and conditions | Reorder custom effects and conditions
| Java | mit | btk5h/skript-mirror |
45f9131840400ac3a391b5c5b71a248f95148593 | src/main/java/beaform/entities/Formula.java | src/main/java/beaform/entities/Formula.java | package beaform.entities;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import org.hibernate.annotations.GenericGenerator;
@Entity
public class Formula {
@Id @GeneratedValue(generator = "uuid")
@GenericGenerator(name="uuid", strategy="uuid2")
private Stri... | package beaform.entities;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import org.hibernate.annotations.GenericGenerator;
@Entity
public class Formula {
@Id @GeneratedValue(generator = "uuid")
@GenericGenerator(name="uuid", strategy="uuid2")
private Stri... | Add a more useful toString method for a formula | Add a more useful toString method for a formula
| Java | mit | stevenpost/beaform |
62b15beb956ea2fd560b9b759f4ad6f4de1caef3 | integration-tests/main/src/test/java/io/quarkus/it/main/DynamicTestsTestCase.java | integration-tests/main/src/test/java/io/quarkus/it/main/DynamicTestsTestCase.java | package io.quarkus.it.main;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import java.util.Arrays;
import java.util.List;
import javax.inject.Inject;
import org.junit.jupiter.api.DynamicTest;
import org.junit.jupiter.api.Test;
import org.j... | package io.quarkus.it.main;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import java.util.Arrays;
import java.util.List;
import javax.inject.Inject;
import org.junit.jupiter.api.DynamicTest;
import org.junit.jupiter.api.Test;
import org.j... | Use the actual DynamicTest type | Use the actual DynamicTest type
? was only used with the previous solution,
with the new solution, code can refer to the type
without any problem
| Java | apache-2.0 | quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus |
9a632c422be355c67553bbb3cfae3e6d6be6e9a2 | src/main/java/com/github/arteam/jdbi3/strategies/TimedAnnotationNameStrategy.java | src/main/java/com/github/arteam/jdbi3/strategies/TimedAnnotationNameStrategy.java | package com.github.arteam.jdbi3.strategies;
import com.codahale.metrics.MetricRegistry;
import com.codahale.metrics.annotation.Timed;
import org.jdbi.v3.core.extension.ExtensionMethod;
import org.jdbi.v3.core.statement.StatementContext;
import java.lang.reflect.Method;
/**
* Takes into account the {@link Timed} ann... | package com.github.arteam.jdbi3.strategies;
import com.codahale.metrics.MetricRegistry;
import com.codahale.metrics.annotation.Timed;
import org.jdbi.v3.core.extension.ExtensionMethod;
import org.jdbi.v3.core.statement.StatementContext;
import java.lang.reflect.Method;
/**
* Takes into account the {@link Timed} ann... | Add support for annotating the class as `@Timed` | Add support for annotating the class as `@Timed`
| Java | apache-2.0 | arteam/metrics-jdbi3 |
cc8e6862f94289e3990e10ce1db386aaee6589ef | src/java/net/sf/picard/cmdline/CreateHtmlDocForStandardOptions.java | src/java/net/sf/picard/cmdline/CreateHtmlDocForStandardOptions.java | /*
* The MIT License
*
* Copyright (c) 2010 The Broad Institute
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use... | /*
* The MIT License
*
* Copyright (c) 2010 The Broad Institute
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use... | Fix HTML help generation for TMP_DIR so it has a more generic default value. | Fix HTML help generation for TMP_DIR so it has a more generic default value.
| Java | mit | annkupi/picard,broadinstitute/picard,broadinstitute/picard,broadinstitute/picard,annkupi/picard,nh13/picard,alecw/picard,nh13/picard,alecw/picard,annkupi/picard,alecw/picard,broadinstitute/picard,annkupi/picard,nh13/picard,alecw/picard,broadinstitute/picard,nh13/picard |
738422dde62499d351d129c149efa4e638409996 | src/main/java/com/lhkbob/entreri/task/Timers.java | src/main/java/com/lhkbob/entreri/task/Timers.java | package com.lhkbob.entreri.task;
import com.lhkbob.entreri.EntitySystem;
public final class Timers {
public static Task fixedDelta(double dt) {
return new FixedDeltaTask(dt);
}
public static Task measuredDelta() {
return new MeasuredDeltaTask();
}
private static class FixedDelta... | package com.lhkbob.entreri.task;
import java.util.Collections;
import java.util.Set;
import com.lhkbob.entreri.ComponentData;
import com.lhkbob.entreri.EntitySystem;
public final class Timers {
public static Task fixedDelta(double dt) {
return new FixedDeltaTask(dt);
}
public static Task measur... | Make the timing tasks parallel aware. | Make the timing tasks parallel aware.
| Java | bsd-2-clause | antag99/entreri |
0ef8bd255ae45af70532033e824a295a032c7716 | src/assettocorsa/servermanager/services/IAppSettingsService.java | src/assettocorsa/servermanager/services/IAppSettingsService.java | package assettocorsa.servermanager.services;
import java.io.FileNotFoundException;
import java.io.IOException;
/**
* Created by pete on 3/04/2015.
*/
public interface IAppSettingsService {
public void loadAppSettings() throws IOException, IOException;
public void storeAppSettings() throws IOException;
... | package assettocorsa.servermanager.services;
import java.io.FileNotFoundException;
import java.io.IOException;
/**
* Created by pete on 3/04/2015.
*/
public interface IAppSettingsService {
public void loadAppSettings() throws IOException;
public void storeAppSettings() throws IOException;
public String... | Remove double up on exception list for load settings | Remove double up on exception list for load settings
| Java | bsd-2-clause | p3t3c/AssettoCorsaServerManager,p3t3c/AssettoCorsaServerManager |
3e0297c5d39881bd07056aac258fd6d2cfe86a68 | vaadin-components-gwt/src/main/java/com/vaadin/components/grid/GridEntryPoint.java | vaadin-components-gwt/src/main/java/com/vaadin/components/grid/GridEntryPoint.java | package com.vaadin.components.grid;
import com.google.gwt.core.client.EntryPoint;
/**
* Exports vaadin grid.
*/
public class GridEntryPoint implements EntryPoint {
@Override
public void onModuleLoad() {
}
}
| package com.vaadin.components.grid;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.Scheduler;
import com.google.gwt.user.client.ui.RootPanel;
import com.vaadin.client.BrowserInfo;
/**
* Exports vaadin grid.
*/
public class GridEntryPoint implements EntryPoint {
@Override
pu... | Remove browser specific selectors from the body element | Remove browser specific selectors from the body element
Change-Id: I2f38067cc33fc2c2c8e0e2a311a43213f73ad3c8
| Java | apache-2.0 | shahrzadmn/vaadin-grid,manolo/components,jforge/components,shahrzadmn/vaadin-grid,shahrzadmn/vaadin-grid,shahrzadmn/vaadin-grid,manolo/components,jforge/components,manolo/components,jforge/components |
75e972693c3cc1d0fc39ff4ae0af62dc34ec3694 | src/main/java/valandur/webapi/servlet/registry/RegistryServlet.java | src/main/java/valandur/webapi/servlet/registry/RegistryServlet.java | package valandur.webapi.servlet.registry;
import org.eclipse.jetty.http.HttpMethod;
import org.spongepowered.api.CatalogType;
import org.spongepowered.api.Sponge;
import valandur.webapi.api.annotation.WebAPIEndpoint;
import valandur.webapi.api.annotation.WebAPIServlet;
import valandur.webapi.api.servlet.WebAPIBaseServ... | package valandur.webapi.servlet.registry;
import org.eclipse.jetty.http.HttpMethod;
import org.spongepowered.api.CatalogType;
import org.spongepowered.api.Sponge;
import valandur.webapi.api.annotation.WebAPIEndpoint;
import valandur.webapi.api.annotation.WebAPIServlet;
import valandur.webapi.api.servlet.WebAPIBaseServ... | Return "ok" field in json response | fix(registry): Return "ok" field in json response
| Java | mit | Valandur/Web-API,Valandur/Web-API,Valandur/Web-API |
3f6a8afc49aa83d74a1541e88daf65cca593473d | ode/app/managers/nodes/UserManager.java | ode/app/managers/nodes/UserManager.java | package managers.nodes;
import com.fasterxml.jackson.databind.JsonNode;
import play.libs.F.Promise;
public class UserManager extends LabeledNodeWithPropertiesManager {
public UserManager() {
this.label = "User";
}
@Override
protected Promise<Boolean> create(JsonNode properties, String locat... | package managers.nodes;
import com.fasterxml.jackson.databind.JsonNode;
import play.libs.F.Promise;
public class UserManager extends LabeledNodeWithPropertiesManager {
public UserManager() {
this.label = "User";
}
// CREATE
@Override
protected Promise<Boolean> create(JsonNode propertie... | Enable operations that write to the DB to be rolled back on error by wrapping them in transactions. | WIP: Enable operations that write to the DB to be rolled back on error
by wrapping them in transactions.
Add comments to indicate purpose of groups of related `UserManager`
methods.
| Java | agpl-3.0 | itsjeyd/ODE,itsjeyd/ODE,itsjeyd/ODE,itsjeyd/ODE |
ca8fda69cf446d47d4244872775574549240b100 | library/src/main/java/com/githang/statusbar/StatusBarCompatM.java | library/src/main/java/com/githang/statusbar/StatusBarCompatM.java | package com.githang.statusbar;
import android.annotation.TargetApi;
import android.os.Build;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
/**
* 兼容M版本
*
* @author 黄浩杭 (huanghaohang@parkingwang.com)
* @version 2016-06-20
* @since 2016-06-20
*/
class StatusBarCompatM {
... | package com.githang.statusbar;
import android.annotation.TargetApi;
import android.os.Build;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
/**
* 兼容M版本
*
* @author 黄浩杭 (huanghaohang@parkingwang.com)
* @version 2016-06-20
* @since 2016-06-20
*/
class StatusBarCompatM {
... | Remove the shadow below status bar that occurs in version greater than M. | Remove the shadow below status bar that occurs in version greater than M.
| Java | apache-2.0 | msdx/status-bar-compat |
7d6d0dd2662a773f8f1f7cedf33e627f88ebec29 | model/src/main/java/pw/scho/battleship/model/BoardRandomizer.java | model/src/main/java/pw/scho/battleship/model/BoardRandomizer.java | package pw.scho.battleship.model;
import java.util.Random;
public class BoardRandomizer {
private final Random random = new Random();
private Board board;
public Board randomizeWithStandardShips() {
return randomize(new int[]{2, 2, 2, 2, 3, 3, 3, 4, 4, 5});
}
public Board randomize(int[... | package pw.scho.battleship.model;
import java.util.Random;
public class BoardRandomizer {
private final Random random = new Random();
private Board board;
public Board randomizeWithStandardShips() {
return randomize(new int[]{2, 2, 3, 3, 4, 5});
}
public Board randomize(int[] shipSizes)... | Reduce number of placed ships | Reduce number of placed ships
| Java | mit | scho/battleship,scho/battleship |
b84feccf966aab44ca51536b2268d6391c7318a3 | src/com/googlecode/networklog/DatePickerFragment.java | src/com/googlecode/networklog/DatePickerFragment.java | /* (C) 2012 Pragmatic Software
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package com.googlecode.networklog;
import android.app.DatePickerDialog;
import a... | /* (C) 2012 Pragmatic Software
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/
*/
package com.googlecode.networklog;
import android.app.DatePickerDialog;
import a... | Fix issue with DatePicker rotation in FROYO/GINGERBREAD | Fix issue with DatePicker rotation in FROYO/GINGERBREAD
| Java | mpl-2.0 | pragma-/networklog,vaginessa/networklog,vaginessa/networklog,langlebenem88/iptableslog,TheMadGeek/iptableslog,stark2/iptableslog,vaginessa/networklog,TheMadGeek/iptableslog,pragma-/networklog,pragma-/networklog,vaginessa/networklog,RyanTech/networklog,RyanTech/networklog,snehesht/networklog,snehesht/networklog,langlebe... |
01ff6661e8268b8b2789a32e65c275f0fbda3f1e | src/main/src/org/openspaces/pu/container/support/CompoundProcessingUnitContainer.java | src/main/src/org/openspaces/pu/container/support/CompoundProcessingUnitContainer.java | /*
* Copyright 2006-2007 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 2006-2007 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... | Allow extracting Processing Unit Containers from a Compound Processing Unit Container | GS-8956: Allow extracting Processing Unit Containers from a Compound Processing Unit Container
svn path=/trunk/openspaces/; revision=89106
Former-commit-id: acf333707ebb008757b03896f93f1d252dca2b62 | Java | apache-2.0 | Gigaspaces/xap-openspaces,Gigaspaces/xap-openspaces,Gigaspaces/xap-openspaces |
efdf6c6ed7ebd2e996d8f30627819b1dcb5c837c | structurizr-examples/src/com/structurizr/example/structurizr/UploadToStructurizr.java | structurizr-examples/src/com/structurizr/example/structurizr/UploadToStructurizr.java | package com.structurizr.example.structurizr;
import com.structurizr.Workspace;
import com.structurizr.api.StructurizrClient;
public class UploadToStructurizr extends AbstractStructurizrWorkspace {
public static void main(String[] args) throws Exception {
new UploadToStructurizr().run();
}
void r... | package com.structurizr.example.structurizr;
import com.structurizr.Workspace;
import com.structurizr.api.StructurizrClient;
import java.io.File;
public class UploadToStructurizr extends AbstractStructurizrWorkspace {
public static void main(String[] args) throws Exception {
new UploadToStructurizr().ru... | Save Structurizr workspaces to a persistent directory. | Save Structurizr workspaces to a persistent directory.
| Java | apache-2.0 | structurizr/java,klu2/structurizr-java |
0d1f0fa79d2cf381ed15b98ada4f9bec28f6c749 | providence-tools-common/src/main/java/net/morimekta/providence/tools/common/Utils.java | providence-tools-common/src/main/java/net/morimekta/providence/tools/common/Utils.java | package net.morimekta.providence.tools.common;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
/**
* General utility methods.
*/
public class Utils {
public static String getVersionString() throws IOException {
Properties properties = new Properties();
try (I... | package net.morimekta.providence.tools.common;
import java.io.IOException;
import java.io.InputStream;
import java.io.UncheckedIOException;
import java.util.Properties;
/**
* General utility methods.
*/
public class Utils {
private transient volatile static String versionString = null;
public static String... | Read version string only once. | Read version string only once.
| Java | apache-2.0 | morimekta/thrift-j2,morimekta/providence,morimekta/providence |
467183f35ebfb9dfa1b1574233235e2b3f3cc09c | src/test/java/de/swm/nis/logicaldecoding/application/RefreshCacheApplicationTests.java | src/test/java/de/swm/nis/logicaldecoding/application/RefreshCacheApplicationTests.java | /*
Copyright (c) 2016 Sebastian Schmidt
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribut... | /*
Copyright (c) 2016 Sebastian Schmidt
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | Migrate to Spring Boot 1.4.0 | Migrate to Spring Boot 1.4.0 | Java | mit | sebastian-r-schmidt/logicaldecoding |
cbaa4b9979fc4e2d04b302a7d9eeccb3d7068f4f | src/main/java/edu/harvard/iq/dataverse/DataverseUserServiceBean.java | src/main/java/edu/harvard/iq/dataverse/DataverseUserServiceBean.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 edu.harvard.iq.dataverse;
import java.util.List;
import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import ja... | /*
* 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 edu.harvard.iq.dataverse;
import java.util.List;
import javax.ejb.Stateless;
import javax.ejb.TransactionAttribute;
import ja... | Check if a username exists. | Check if a username exists. | Java | apache-2.0 | jacksonokuhn/dataverse,bmckinney/dataverse-canonical,bmckinney/dataverse-canonical,jacksonokuhn/dataverse,ekoi/DANS-DVN-4.6.1,quarian/dataverse,quarian/dataverse,leeper/dataverse-1,majorseitan/dataverse,quarian/dataverse,jacksonokuhn/dataverse,bmckinney/dataverse-canonical,leeper/dataverse-1,leeper/dataverse-1,jacksono... |
3777a48249b51eeb6e540bf168046b49193721ef | app/playRepository/hooks/UpdateLastPushedDate.java | app/playRepository/hooks/UpdateLastPushedDate.java | /**
* Yobi, Project Hosting SW
*
* Copyright 2013 NAVER Corp.
* http://yobi.io
*
* @Author kjkmadness
*
* 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/l... | /**
* Yobi, Project Hosting SW
*
* Copyright 2013 NAVER Corp.
* http://yobi.io
*
* @Author kjkmadness
*
* 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/l... | Fix blocking if users push simultaneously | git: Fix blocking if users push simultaneously
If many git clients push commits into same repository simultaneously,
many of them are blocked because of project table's
OptimisticLockException.
Solution:
* Refresh the project before update it.
* Use synchronized block.
| Java | apache-2.0 | bloodybear/yona,naver/yobi,naver/yobi,doortts/fork-yobi,ahb0327/yobi,Limseunghwan/oss,oolso/yobi,violetag/demo,ihoneymon/yobi,oolso/yobi,Limseunghwan/oss,doortts/fork-yobi,brainagenet/yobi,doortts/forked-for-history,bloodybear/yona,ihoneymon/yobi,doortts/fork-yobi,ChangsungKim/TestRepository01,oolso/yobi,yona-projects/... |
b86689b5641800e2bb5231595a786d1be55db3ab | seaglass/trunk/seaglass/src/main/java/com/seaglass/state/ToolBarWindowIsActiveState.java | seaglass/trunk/seaglass/src/main/java/com/seaglass/state/ToolBarWindowIsActiveState.java | /*
* Copyright (c) 2009 Kathryn Huxtable and Kenneth Orr.
*
* This file is part of the SeaGlass Pluggable Look and Feel.
*
* 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:... | /*
* Copyright (c) 2009 Kathryn Huxtable and Kenneth Orr.
*
* This file is part of the SeaGlass Pluggable Look and Feel.
*
* 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:... | Use Window instead of JFrame to find top-level parent. | Use Window instead of JFrame to find top-level parent. | Java | apache-2.0 | khuxtable/seaglass,archit47/seaglass |
480f69be57766aa1604a0385ed91ddfc36fb4233 | src/main/java/com/github/fluxw42/thistothat/Main.java | src/main/java/com/github/fluxw42/thistothat/Main.java | package com.github.fluxw42.thistothat;
import com.github.fluxw42.thistothat.conf.ConfigurationImpl;
import java.io.File;
/**
* Date: 2/2/16 - 11:51 PM
*
* @author Jeroen Meulemeester
*/
public class Main {
public static void main(final String[] args) throws Exception {
final File configFile = args =... | package com.github.fluxw42.thistothat;
import com.github.fluxw42.thistothat.conf.ConfigurationImpl;
import java.io.File;
/**
* Date: 2/2/16 - 11:51 PM
*
* @author Jeroen Meulemeester
*/
public class Main {
/**
* The default config file
*/
private static final File DEFAULT_CONFIG = new File("co... | Use the new location of the default config file | Use the new location of the default config file
| Java | mit | fluxw42/this-to-that |
aa410dca00379db701b86f93b41b35ca4fa7174f | bits/src/main/java/dk/aau/kah/bits/helpers/ConfigurationLoader.java | bits/src/main/java/dk/aau/kah/bits/helpers/ConfigurationLoader.java | package dk.aau.kah.bits.helpers;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import com.google.gson.Gson;
import dk.aau.kah.bits.database.DatabaseConfig;
public class ConfigurationLoader {
public static DatabaseConfig load(String JSONFile) throws FileNotFoundExc... | package dk.aau.kah.bits.helpers;
import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import com.google.gson.Gson;
import dk.aau.kah.bits.database.DatabaseConfig;
public class ConfigurationLoader {
public static DatabaseConfig load(String JSONFile) throws FileNotFoundExc... | Update the name of some functions | Update the name of some functions | Java | apache-2.0 | kimajakobsen/BITS,kimajakobsen/BITS |
ed7951bfb1db8cfac46593bfa5f3e9971d5f5dd4 | to.etc.domui/src/to/etc/domui/trouble/MultipleParameterException.java | to.etc.domui/src/to/etc/domui/trouble/MultipleParameterException.java | /*
* DomUI Java User Interface library
* Copyright (c) 2010 by Frits Jalvingh, Itris B.V.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or ... | /*
* DomUI Java User Interface library
* Copyright (c) 2010 by Frits Jalvingh, Itris B.V.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or ... | Rebase exception: this is not an UI exception | Rebase exception: this is not an UI exception | Java | lgpl-2.1 | fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui |
8b65bd5e5df923fc71f1e8f6c83fc22688b6f26b | src/main/java/starpunk/Main.java | src/main/java/starpunk/Main.java | package starpunk;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.badlogic.gdx.graphics.g2d.BitmapFont;
import com.badlogic.gdx.tools.imagepacker.TexturePacker;
public class Main
{
public static void main( final String[] args ... | package starpunk;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.badlogic.gdx.tools.imagepacker.TexturePacker2;
public class Main
{
public static void main( final String[] args )
{
final TexturePacker2.Settings settings... | Upgrade to on-deprecated texture packer | Upgrade to on-deprecated texture packer
| Java | apache-2.0 | realityforge-experiments/star-punk,realityforge-experiments/star-punk,realityforge-experiments/star-punk |
abba08a6a535c202af9c8e2a5e79680b8789b34e | CECProject/src/tests/AllTests.java | CECProject/src/tests/AllTests.java | package tests;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
@RunWith(Suite.class)
@SuiteClasses({
EmailBuilderTests.class,
EmailTests.class })
public class AllTests {
}
| package tests;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
@RunWith(Suite.class)
@SuiteClasses({
EmailBuilderTests.class,
EmailTests.class,
EmailSortingTests.class })
public class AllTests {
}
| Add the sorting test class to the test suite. | Add the sorting test class to the test suite. | Java | mit | amishwins/project-cec-2013,amishwins/project-cec-2013 |
3b916a1ed542165d33893be606bf5b7f698dee1d | overcast-scraper/src/main/java/me/ryanw/overcast/impl/OvercastAPI.java | overcast-scraper/src/main/java/me/ryanw/overcast/impl/OvercastAPI.java | package me.ryanw.overcast.impl;
import me.ryanw.overcast.api.OvercastFriend;
import me.ryanw.overcast.api.OvercastPlayer;
import me.ryanw.overcast.impl.object.ParsedPlayer;
import org.jsoup.Connection;
import org.jsoup.Jsoup;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
public class... | package me.ryanw.overcast.impl;
import me.ryanw.overcast.api.OvercastFriend;
import me.ryanw.overcast.api.OvercastPlayer;
import me.ryanw.overcast.impl.object.ParsedPlayer;
import org.jsoup.Connection;
import org.jsoup.Jsoup;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
public class... | Add connection timeout & user agent | Add connection timeout & user agent
| Java | mit | augustt198/OvercastStats |
ced78610b536eeb3b4d175ad0a88aca001d21e4f | paystack/src/main/java/co/paystack/android/api/service/ApiService.java | paystack/src/main/java/co/paystack/android/api/service/ApiService.java | package co.paystack.android.api.service;
import java.util.HashMap;
import co.paystack.android.api.model.TokenApiResponse;
import retrofit2.Call;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
/**
* ApiService
*/
public interface ApiService {
/**
* call for c... | package co.paystack.android.api.service;
import java.util.HashMap;
import co.paystack.android.api.model.ChargeApiResponse;
import co.paystack.android.api.model.TokenApiResponse;
import co.paystack.android.api.model.ValidateApiResponse;
import retrofit2.Call;
import retrofit2.http.FieldMap;
import retrofit2.http.FormU... | Add Charge and Validate Endpoints | Add Charge and Validate Endpoints
| Java | apache-2.0 | PaystackHQ/paystack-android,PaystackHQ/paystack-android,PaystackHQ/paystack-android |
33447d0361900ca5fa94c3a37857a921d1799eb8 | src/test/java/is/ru/sparkIt/ChuckJokeTest.java | src/test/java/is/ru/sparkIt/ChuckJokeTest.java | package is.ru.sparkit;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
public class ChuckJokeTest {
final ChuckJoke chuck = new ChuckJoke();
@Test
public void chuckNorrisNameInRandomJoke(){
String name = "Chuck Norris";
a... | package is.ru.sparkit;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import org.junit.Test;
public class ChuckJokeTest {
final ChuckJoke chuck = new ChuckJoke();
@Test
public void chuckNorrisNameInRandomJoke(){
String name = "Chuck Norris";
a... | Use a shorter joke for test | Use a shorter joke for test
| Java | mit | arnlaugsson/sparkIt,arnlaugsson/sparkIt,agirmar92/sparkIt,arnlaugsson/sparkIt,agirmar92/sparkIt |
5804c0911bd934b8e8f7579472bc40421bc7b2fa | src/com/mick88/dittimetable/DatabaseHelper.java | src/com/mick88/dittimetable/DatabaseHelper.java | package com.mick88.dittimetable;
import android.content.Context;
import com.michaldabski.msqlite.MSQLiteOpenHelper;
import com.mick88.dittimetable.timetable.Timetable;
public class DatabaseHelper extends MSQLiteOpenHelper
{
private static final String name = "timetables.db";
private static final int version = 1;
... | package com.mick88.dittimetable;
import java.util.List;
import android.content.Context;
import com.michaldabski.msqlite.MSQLiteOpenHelper;
import com.mick88.dittimetable.timetable.Timetable;
public class DatabaseHelper extends MSQLiteOpenHelper
{
private static final String name = "timetables.db";
private static ... | Add methods to save and load timetable | Add methods to save and load timetable
| Java | mit | ShayOLeary/dit-timetables,mick88/dit-timetables,codingbat/dit-timetables |
f2cc6cb153c57d013e54b9e705785dcd99c5ed41 | src/main/java/com/devcru/journowatch/api/services/VenueService.java | src/main/java/com/devcru/journowatch/api/services/VenueService.java | package com.devcru.journowatch.api.services;
import org.springframework.beans.factory.annotation.Autowired;
import com.devcru.journowatch.api.daoimpl.VenueDaoImpl;
import com.devcru.journowatch.api.objects.Venue;
public class VenueService {
@Autowired
VenueDaoImpl vd;
public boolean createVenue(Ve... | package com.devcru.journowatch.api.services;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.devcru.journowatch.api.daoimpl.VenueDaoImpl;
import com.devcru.journowatch.api.objects.Venue;
@Service
public class VenueService {
@Autow... | Add other DaoImpl beans in rest-dispatcher-servlet.xml 4 | Add other DaoImpl beans in rest-dispatcher-servlet.xml 4
| Java | apache-2.0 | unprofessional/journowatch-spring-api-xml,unprofessional/journowatch-spring-api-xml |
f3656b3f26d3f2b4a55293617e81acd1146392f8 | src/org/jreform/types/DateType.java | src/org/jreform/types/DateType.java | package org.jreform.types;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.jreform.InputDataType;
public final class DateType implements InputDataType<Date>
{
private DateFormat dateFormat;
private DateType(String dateFor... | package org.jreform.types;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import org.jreform.InputDataType;
public final class DateType implements InputDataType<Date>
{
private DateFormat dateFormat;
private DateType(String dateFor... | Set date format leniency to false. | Set date format leniency to false.
| Java | apache-2.0 | grignaak/jReform |
7f5ca544d81d3cbdf1c9c0d3101f1c699ffde17c | src/java/ie/omk/smpp/event/QueueFullException.java | src/java/ie/omk/smpp/event/QueueFullException.java | package ie.omk.smpp.event;
public class QueueFullException extends RuntimeException {
static final long serialVersionUID = 1L;
}
| package ie.omk.smpp.event;
public class QueueFullException extends RuntimeException {
static final long serialVersionUID = 1L;
public QueueFullException() {
super();
}
public QueueFullException(String message, Throwable cause) {
super(message, cause);
}
public Qu... | Add standard constructors from parent class. | Add standard constructors from parent class.
| Java | bsd-3-clause | oranoceallaigh/smppapi,oranoceallaigh/smppapi,oranoceallaigh/smppapi |
a4d0fa4b2d4da62a36f39745e9559736f188c9f5 | src/problems/LongestSubstringWORepeating.java | src/problems/LongestSubstringWORepeating.java | package problems;
import java.util.HashMap;
public class LongestSubstringWORepeating {
public int lengthOfLongestSubstring(String s) {
int len = s.length();
int l = 0, r = 0;
int max = 0; // max length
HashMap<Character, Character> hs = new HashMap<Character, Character>();
... | package problems;
import java.util.HashSet;
public class LongestSubstringWORepeating {
public int lengthOfLongestSubstring(String s) {
int len = s.length();
int l = 0, r = 0;
int max = 0; // max length
HashSet<Character> hs = new HashSet<Character>();
for (r = 0; r < len; ... | Update Longest Substring Without Repeating | Update Longest Substring Without Repeating
| Java | apache-2.0 | alyiwang/LeetCode |
9649799af5c33c301d4e2bbc434879d4379938de | examples/core/advanced-di/src/main/java/InstanceInjectorExample.java | examples/core/advanced-di/src/main/java/InstanceInjectorExample.java | import io.datakernel.di.annotation.Inject;
import io.datakernel.di.annotation.Provides;
import io.datakernel.di.core.Injector;
import io.datakernel.di.core.InstanceInjector;
import io.datakernel.launcher.Launcher;
@SuppressWarnings("FinalClass")
public final class InstanceInjectorExample extends Launcher {
@Inject
S... | import io.datakernel.di.annotation.Inject;
import io.datakernel.di.annotation.Provides;
import io.datakernel.di.core.Injector;
import io.datakernel.di.core.InstanceInjector;
import io.datakernel.launcher.Launcher;
@SuppressWarnings("FinalClass")
public final class InstanceInjectorExample extends Launcher {
//[START R... | Add tags to InstanceInjector example | Add tags to InstanceInjector example
| Java | apache-2.0 | softindex/datakernel,softindex/datakernel,softindex/datakernel |
87a8a986c945190af9a25cd362bfa2657ce17662 | core/src/test/java/com/vladmihalcea/book/hpjp/hibernate/statistics/TransactionStatistics.java | core/src/test/java/com/vladmihalcea/book/hpjp/hibernate/statistics/TransactionStatistics.java | package com.vladmihalcea.book.hpjp.hibernate.statistics;
import org.hibernate.stat.internal.ConcurrentStatisticsImpl;
import java.util.concurrent.atomic.AtomicLong;
/**
* <code>TransactionStatistics</code> - Transaction Statistics
*
* @author Vlad Mihalcea
*/
public class TransactionStatistics extends Concurrent... | package com.vladmihalcea.book.hpjp.hibernate.statistics;
import org.hibernate.stat.internal.ConcurrentStatisticsImpl;
import java.util.concurrent.atomic.AtomicLong;
/**
* <code>TransactionStatistics</code> - Transaction Statistics
*
* @author Vlad Mihalcea
*/
public class TransactionStatistics extends Concurrent... | Add finally block as well | Add finally block as well
| Java | apache-2.0 | vladmihalcea/high-performance-java-persistence,vladmihalcea/high-performance-java-persistence |
d648b85ec7675c1596fbeeb1591cddc993e6a58c | parity-net/src/main/java/org/jvirtanen/parity/net/pmr/PMRParser.java | parity-net/src/main/java/org/jvirtanen/parity/net/pmr/PMRParser.java | package org.jvirtanen.parity.net.pmr;
import static org.jvirtanen.parity.net.pmr.PMR.*;
import com.paritytrading.nassau.MessageListener;
import java.io.IOException;
import java.nio.ByteBuffer;
/**
* A parser for inbound messages.
*/
public class PMRParser implements MessageListener {
private Order order;
... | package org.jvirtanen.parity.net.pmr;
import static org.jvirtanen.parity.net.pmr.PMR.*;
import com.paritytrading.nassau.MessageListener;
import java.io.IOException;
import java.nio.ByteBuffer;
/**
* A parser for inbound messages.
*/
public class PMRParser implements MessageListener {
private Order order;
... | Simplify PMR parser in network protocols | Simplify PMR parser in network protocols
| Java | apache-2.0 | paritytrading/parity,pmcs/parity,pmcs/parity,paritytrading/parity |
0cc7614c754f1b0b9b4fc50cf9726cfa7427c16e | src/main/java/org/microworld/mangopay/exceptions/MangopayException.java | src/main/java/org/microworld/mangopay/exceptions/MangopayException.java | /**
* Copyright (C) 2015 MicroWorld (contact@microworld.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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | /**
* Copyright (C) 2015 MicroWorld (contact@microworld.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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | Add constructor taking a String directly. | Add constructor taking a String directly.
| Java | apache-2.0 | MicroWorld/mangopay-client |
edb9cf672d235836383234485ccb37cf81fbebcb | src/com/facebook/buck/core/description/arg/CommonDescriptionArg.java | src/com/facebook/buck/core/description/arg/CommonDescriptionArg.java | /*
* Copyright 2017-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | /*
* Copyright 2017-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | Mark rule name as non-configurable | Mark rule name as non-configurable
Summary:
This diff effectively changes nothing because, `name` attribute is fetched from unconfigured graph node from hash map by string, and it will simply fail if `name` is `select` (see also D17633433).
But it's still better to add the annotation
* for documentation
* for compati... | Java | apache-2.0 | zpao/buck,nguyentruongtho/buck,kageiit/buck,Addepar/buck,JoelMarcey/buck,zpao/buck,Addepar/buck,Addepar/buck,Addepar/buck,nguyentruongtho/buck,nguyentruongtho/buck,facebook/buck,JoelMarcey/buck,kageiit/buck,zpao/buck,Addepar/buck,kageiit/buck,Addepar/buck,zpao/buck,facebook/buck,JoelMarcey/buck,facebook/buck,nguyentruo... |
3e099d1191524b3d4eaf077f6c7d145c43234c0d | src/main/java/com/pyamsoft/pydroid/base/Presenter.java | src/main/java/com/pyamsoft/pydroid/base/Presenter.java | /*
* Copyright 2016 Peter Kenji Yamanaka
*
* 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 2016 Peter Kenji Yamanaka
*
* 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... | Document the various named methods in the presenter | Document the various named methods in the presenter
| Java | apache-2.0 | pyamsoft/pydroid |
ca86588623f3dbc6de360dce90ecb091bbee6620 | Bukkit/StarQuest/src/main/java/com/starquestminecraft/bukkit/SQBase.java | Bukkit/StarQuest/src/main/java/com/starquestminecraft/bukkit/SQBase.java | package com.starquestminecraft.bukkit;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.server.ServiceRegisterEvent;
import org.bukkit.event.server.ServiceUnregisterEvent;
import org.bukkit.plugin.java.JavaPlugin;
import net.milkbowl.vault.chat.Chat;
import net.milk... | package com.starquestminecraft.bukkit;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.server.ServiceRegisterEvent;
import org.bukkit.event.server.ServiceUnregisterEvent;
import org.bukkit.plugin.java.JavaPlugin;
import net.milkbowl.vault.chat.Chat;
import net.milk... | Update only the changed Vault service | [StarQuest] Update only the changed Vault service
| Java | mit | zreed/StarQuestCode |
c5456b93b48ef2fc90b60d90ee2f763d31f7f1f3 | src/main/java/co/phoenixlab/discord/api/event/MessageReceivedEvent.java | src/main/java/co/phoenixlab/discord/api/event/MessageReceivedEvent.java | package co.phoenixlab.discord.api.event;
import co.phoenixlab.discord.api.entities.Message;
public class MessageReceivedEvent {
private final Message message;
public MessageReceivedEvent(Message message) {
this.message = message;
}
public Message getMessage() {
return message;
}... | package co.phoenixlab.discord.api.event;
import co.phoenixlab.discord.api.entities.Message;
public class MessageReceivedEvent {
private final Message message;
public MessageReceivedEvent(Message message) {
this.message = message;
}
public Message getMessage() {
return message;
}... | Add toString to help with eventbus debug | Add toString to help with eventbus debug
| Java | mit | vincentzhang96/VahrhedralBot |
0e1eaf2497a0b5a4501d5a5ec263eaa2471a628f | another-simple-server/src/main/java/org/yukung/sandbox/http/Main.java | another-simple-server/src/main/java/org/yukung/sandbox/http/Main.java | package org.yukung.sandbox.http;
import java.io.IOException;
import java.io.InputStream;
import java.net.ServerSocket;
import java.net.Socket;
/**
* @author yukung
*/
public class Main {
public static void main(String[] args) throws IOException {
System.out.println("start >>>");
try (
... | package org.yukung.sandbox.http;
import static org.yukung.sandbox.http.HttpRequest.CRLF;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStreamWriter;
import java.net.ServerSocket;
import java.net.Socket;
/**
* @author yukung
*/
public class Main {
pu... | Return the status line of response header. | Return the status line of response header.
| Java | mit | yukung/playground,yukung/playground,yukung/playground,yukung/playground |
c4fd8a558de7af7fae7f351f6e08771cc95297f0 | java/CovariantArrayDemo.java | java/CovariantArrayDemo.java | public class CovariantArrayDemo {
static class Animal {}
static class Dog extends Animal {}
static class Cat extends Animal {}
public static void main(String[] args) {
Animal[] animals = new Dog[10]; // Covariance, hmmm
try {
animals[0] = new Cat();
} catch (A... | public class CovariantArrayDemo {
public static void main(String[] args) {
Animal[] animals = new Sheep[10]; // Covariance, sadly
try {
animals[0] = new Cow("Bessie");
} catch (ArrayStoreException e) {
System.out.println("Runtime type checking!");
}
... | Use existing classes for the covariance example | Use existing classes for the covariance example
| Java | mit | rtoal/polyglot,rtoal/polyglot,rtoal/polyglot,rtoal/polyglot,rtoal/polyglot,rtoal/polyglot,rtoal/ple,rtoal/polyglot,rtoal/ple,rtoal/ple,rtoal/ple,rtoal/ple,rtoal/ple,rtoal/polyglot,rtoal/polyglot,rtoal/ple,rtoal/ple,rtoal/ple,rtoal/ple,rtoal/ple,rtoal/ple,rtoal/polyglot,rtoal/polyglot,rtoal/polyglot,rtoal/polyglot,rtoal... |
e8f8c9058ced7fe3acd6864ec836d6243a3633f5 | indexer-service/src/main/java/fr/animenfance/partenaire/controller/PartenaireIndexerService.java | indexer-service/src/main/java/fr/animenfance/partenaire/controller/PartenaireIndexerService.java | package fr.animenfance.partenaire.controller;
import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE;
import java.util.List;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import... | package fr.animenfance.partenaire.controller;
import static org.springframework.http.MediaType.APPLICATION_JSON_VALUE;
import static org.springframework.web.bind.annotation.RequestMethod.GET;
import java.util.List;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.Request... | Rollback to @RequestMapping to comply with feign validation. | Rollback to @RequestMapping to comply with feign validation.
| Java | mit | michaelcoll/anim-enfance-back |
04890d8fa647c6e392b33d1a9edfe7bf79d9300d | pm-server/src/main/java/com/pm/server/player/GhostRepositoryImpl.java | pm-server/src/main/java/com/pm/server/player/GhostRepositoryImpl.java | package com.pm.server.player;
import java.util.List;
import org.springframework.stereotype.Repository;
@Repository
public class GhostRepositoryImpl implements GhostRepository {
private List<Ghost> ghosts;
public Ghost getGhostById(Integer id) {
for(Ghost ghost : ghosts) {
if(ghost.getId() == id) {
retu... | package com.pm.server.player;
import java.util.ArrayList;
import java.util.List;
import org.springframework.stereotype.Repository;
@Repository
public class GhostRepositoryImpl implements GhostRepository {
private List<Ghost> ghosts;
GhostRepositoryImpl() {
ghosts = new ArrayList<Ghost>();
}
public Ghost get... | Initialize ghost list in GhostRespository | Initialize ghost list in GhostRespository
| Java | mit | pacmacro/pm-server,pacmacro/pm-server,pacmacro/pm-server |
e239b4f93be4a1a892adff4a13fe081e0d907d1a | python/src/com/jetbrains/python/buildout/config/BuildoutCfgFileType.java | python/src/com/jetbrains/python/buildout/config/BuildoutCfgFileType.java | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.jetbrains.python.buildout.config;
import com.intellij.openapi.fileTypes.LanguageFileType;
import com.intellij.openapi.util.NlsSafe;
import icons.PythonIcons;
import o... | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.jetbrains.python.buildout.config;
import com.intellij.openapi.fileTypes.LanguageFileType;
import com.intellij.openapi.util.NlsSafe;
import icons.PythonIcons;
import o... | Replace `@Nullable` with `@NotNull` since method actually always returns non-null value | Replace `@Nullable` with `@NotNull` since method actually always returns non-null value
GitOrigin-RevId: 4e67fd4f27ef4779939739b978c319a2aacbe78c | Java | apache-2.0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... |
5338323cba67040342a8a682526d14db03513398 | src/main/java/name/webdizz/fabric8/ci/cd/ping/DynamicPingController.java | src/main/java/name/webdizz/fabric8/ci/cd/ping/DynamicPingController.java | package name.webdizz.fabric8.ci.cd.ping;
import org.springframework.core.env.Environment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotati... | package name.webdizz.fabric8.ci.cd.ping;
import org.springframework.core.env.Environment;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotati... | Add hostname to be printed on ping | Add hostname to be printed on ping
| Java | apache-2.0 | webdizz/fabric8-ci-cd |
bc3032593b4e32d4487df926f77536920b61f393 | src/test/java/io/github/bonigarcia/wdm/test/docker/DockerSafariTest.java | src/test/java/io/github/bonigarcia/wdm/test/docker/DockerSafariTest.java | /*
* (C) Copyright 2021 Boni Garcia (https://bonigarcia.github.io/)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | /*
* (C) Copyright 2021 Boni Garcia (https://bonigarcia.github.io/)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | Change SUT URL in Docker Safari test (due to DST Root CA X3 Expiration) | Change SUT URL in Docker Safari test (due to DST Root CA X3 Expiration)
| Java | apache-2.0 | bonigarcia/webdrivermanager,bonigarcia/webdrivermanager,bonigarcia/webdrivermanager |
950e795e5301400d838c8e3f51762d2d338bd12d | tools/stress/src/org/apache/cassandra/stress/settings/ConnectionAPI.java | tools/stress/src/org/apache/cassandra/stress/settings/ConnectionAPI.java | package org.apache.cassandra.stress.settings;
/*
*
* 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 Ap... | package org.apache.cassandra.stress.settings;
/*
*
* 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 Ap... | Add dummy connection api type | Add dummy connection api type | Java | apache-2.0 | LatencyUtils/cassandra-stress2,LatencyUtils/cassandra-stress2,LatencyUtils/cassandra-stress2 |
e1f19d48cae63c7b8abd51a00a96523eea0435dd | engine/src/main/java/org/terasology/persistence/typeHandling/extensionTypes/PrefabTypeHandler.java | engine/src/main/java/org/terasology/persistence/typeHandling/extensionTypes/PrefabTypeHandler.java | /*
* Copyright 2013 MovingBlocks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | /*
* Copyright 2013 MovingBlocks
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in... | Fix a crash when a null Prefab field gets synchronized. | Fix a crash when a null Prefab field gets synchronized.
| Java | apache-2.0 | kartikey0303/Terasology,kartikey0303/Terasology,DPirate/Terasology,Vizaxo/Terasology,Nanoware/Terasology,DPirate/Terasology,Vizaxo/Terasology,kaen/Terasology,MovingBlocks/Terasology,Malanius/Terasology,Nanoware/Terasology,MovingBlocks/Terasology,kaen/Terasology,Nanoware/Terasology,MovingBlocks/Terasology,Malanius/Teras... |
48205d660f67fa6ee48d62aae7edab19cf15907b | lesson001/chapter006/task01/src/main/java/ru/spoddubnyak/CheckString.java | lesson001/chapter006/task01/src/main/java/ru/spoddubnyak/CheckString.java | package ru.spoddubnyak;
public class CheckString {
public String sub;
public String origin;
public CheckString(String origin, String sub) {
this.sub = sub;
this.origin = origin;
}
public boolean checkLineEntyAnotherLine() {
char[] subArray = this.sub.toCharArray();
char[] o... | package ru.spoddubnyak;
public class CheckString {
public String sub;
public String origin;
public CheckString(String origin, String sub) {
this.sub = sub;
this.origin = origin;
}
public boolean checkLineEntyAnotherLine() {
char[] subArray = this.sub.toCharArray();
char[] o... | Update job task 6.1 lesson 1 | Update job task 6.1 lesson 1
| Java | apache-2.0 | forvvard09/job4j_CoursesJunior |
6bfa86b9b37ca43dd1460dbf421ed13310014d8c | java/squeek/harvestcraftwaila/fixers/IconFixer.java | java/squeek/harvestcraftwaila/fixers/IconFixer.java | package squeek.harvestcraftwaila.fixers;
import net.minecraft.block.Block;
import net.minecraft.util.Icon;
import net.minecraftforge.client.event.TextureStitchEvent;
import net.minecraftforge.event.EventPriority;
import net.minecraftforge.event.ForgeSubscribe;
import assets.pamharvestcraft.PamHarvestCraft;
import cpw.... | package squeek.harvestcraftwaila.fixers;
import net.minecraft.block.Block;
import net.minecraft.util.Icon;
import net.minecraftforge.client.event.TextureStitchEvent;
import net.minecraftforge.event.EventPriority;
import net.minecraftforge.event.ForgeSubscribe;
import assets.pamharvestcraft.BlockPamCrop;
import assets.... | Use the first HarvestCraft crop's texture in its iconArray (asparagus) as the crops block's blockIcon | Use the first HarvestCraft crop's texture in its iconArray (asparagus) as the crops block's blockIcon
| Java | unlicense | squeek502/HarvestCraftWaila |
4de8cbc9b0e78fc88911558f215db157a1f72f57 | jump-leveleditor/src/main/java/com/bitdecay/jump/leveleditor/Launcher.java | jump-leveleditor/src/main/java/com/bitdecay/jump/leveleditor/Launcher.java | package com.bitdecay.jump.leveleditor;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
public class Launcher {
public static void main(String[] arg) {
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();... | package com.bitdecay.jump.leveleditor;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
public class Launcher {
public static void main(String[] arg) {
LwjglApplicationConfiguration config = new LwjglApplicationConfiguration();... | Disable resize. Change launcher window name | Disable resize. Change launcher window name
| Java | mit | MondayHopscotch/Jump,bitDecayGames/Jump |
5e2f07fed9400c1d7c5266fbbddbc6fd0919b798 | app/src/main/java/com/algar/ifuckforwind/fragment/SettingsFragment.java | app/src/main/java/com/algar/ifuckforwind/fragment/SettingsFragment.java | package com.algar.ifuckforwind.fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.algar.ifuckforwind.R;
import com.takisoft.fix.support.v7.preference.PreferenceFragmentCompat;
/**
* C... | package com.algar.ifuckforwind.fragment;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.algar.ifuckforwind.R;
import com.takisoft.fix.support.v7.preference.PreferenceFragmentCompat;
/**
* C... | Add import statement for v14. | Add import statement for v14. | Java | apache-2.0 | daniellAlgar/IFuckForWind |
ebf28d12921317b87289ed6ef33208f36f68359f | src/main/java/org/synyx/urlaubsverwaltung/mail/config/UrlaubsverwaltungMailConfigurationProperties.java | src/main/java/org/synyx/urlaubsverwaltung/mail/config/UrlaubsverwaltungMailConfigurationProperties.java | package org.synyx.urlaubsverwaltung.mail.config;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.validation.annotation.Validated;
import javax.validation.constraints.NotEmpty;
@Validated
@ConfigurationProperties(prefix = "uv.mail")
public class Urlaubsverwaltung... | package org.synyx.urlaubsverwaltung.mail.config;
import org.hibernate.validator.constraints.URL;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.validation.annotation.Validated;
import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmp... | Add uv.mail validation with email and notempty | Add uv.mail validation with email and notempty
| Java | apache-2.0 | synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung |
0c9cd65c1d995b22abb2944cf22b6b63791ff079 | euler/java/src/test/java/com/ejpm/euler/math/prime/PrimeNumberTest.java | euler/java/src/test/java/com/ejpm/euler/math/prime/PrimeNumberTest.java | package com.ejpm.euler.math.prime;
import com.ejpm.euler.math.prime.PrimeNumber;
import java.util.Arrays;
import java.util.Collection;
import static org.hamcrest.core.Is.is;
import static org.hamcrest.core.IsEqual.equalTo;
import org.junit.Test;
import static org.junit.Assert.*;
import org.junit.runner.RunWith;
impor... | package com.ejpm.euler.math.prime;
import java.util.Arrays;
import java.util.Collection;
import static org.hamcrest.core.Is.is;
import static org.hamcrest.core.IsEqual.equalTo;
import org.junit.Test;
import static org.junit.Assert.*;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.... | Remove comment from package change | Remove comment from package change
| Java | mit | edmathew/playground,edmathew/playground |
a867d240eba806b6aecabfa170b7cac2dfe82c2c | src/main/java/com/mpalourdio/hello/Application.java | src/main/java/com/mpalourdio/hello/Application.java | package com.mpalourdio.hello;
import app.config.WebSecurityConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Import;
import org.springframew... | package com.mpalourdio.hello;
import app.config.WebSecurityConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Import;
import org.springframew... | Sort beans names in stream | Sort beans names in stream
| Java | mit | mpalourdio/SpringBootTemplate,mpalourdio/SpringBootTemplate |
0055c11820fceb9673531ecbd2a869a0149ba904 | modules/activiti-engine/src/main/java/org/activiti/engine/impl/persistence/entity/MembershipEntityImpl.java | modules/activiti-engine/src/main/java/org/activiti/engine/impl/persistence/entity/MembershipEntityImpl.java | /* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | /* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribut... | Fix for create membership issue when used in TaskListener::notify() | Fix for create membership issue when used in TaskListener::notify()
| Java | apache-2.0 | stefan-ziel/Activiti,stefan-ziel/Activiti,Activiti/Activiti,stefan-ziel/Activiti,stefan-ziel/Activiti,Activiti/Activiti |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.