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 |
|---|---|---|---|---|---|---|---|---|---|
a59f98bf0a1f62ade907a32a1148506d5c0b3d5b | src/java/org/jivesoftware/openfire/clearspace/ClearspaceAuthProvider.java | src/java/org/jivesoftware/openfire/clearspace/ClearspaceAuthProvider.java | /**
* $Revision$
* $Date$
*
* Copyright (C) 2006 Jive Software. All rights reserved.
*
* This software is published under the terms of the GNU Public License (GPL),
* a copy of which is included in this distribution.
*/
package org.jivesoftware.openfire.clearspace;
import org.jivesoftware.openfire.auth.AuthPro... | /**
* $Revision$
* $Date$
*
* Copyright (C) 2006 Jive Software. All rights reserved.
*
* This software is published under the terms of the GNU Public License (GPL),
* a copy of which is included in this distribution.
*/
package org.jivesoftware.openfire.clearspace;
import org.jivesoftware.openfire.auth.AuthPro... | Create CSAuthProvider to integrate with Clearspace. JM-1224 | Create CSAuthProvider to integrate with Clearspace. JM-1224
git-svn-id: 2e83ce7f183c9abd424edb3952fab2cdab7acd7f@9941 b35dd754-fafc-0310-a699-88a17e54d16e
| Java | apache-2.0 | Gugli/Openfire,speedy01/Openfire,igniterealtime/Openfire,speedy01/Openfire,Gugli/Openfire,igniterealtime/Openfire,Gugli/Openfire,akrherz/Openfire,GregDThomas/Openfire,magnetsystems/message-openfire,akrherz/Openfire,guusdk/Openfire,igniterealtime/Openfire,speedy01/Openfire,akrherz/Openfire,guusdk/Openfire,akrherz/Openfi... |
ea1aaccaa362d43de27d0e62a6c972a996f3faf7 | memento-processor/src/test/java/com/github/mttkay/memento/MementoProcessorTest.java | memento-processor/src/test/java/com/github/mttkay/memento/MementoProcessorTest.java | package com.github.mttkay.memento;
import static com.google.testing.compile.JavaSourceSubjectFactory.javaSource;
import com.google.testing.compile.CompilationFailureException;
import com.google.testing.compile.JavaFileObjects;
import com.sun.tools.internal.xjc.util.NullStream;
import org.junit.Before;
import org.juni... | package com.github.mttkay.memento;
import static com.google.testing.compile.JavaSourceSubjectFactory.javaSource;
import com.google.testing.compile.CompilationFailureException;
import com.google.testing.compile.JavaFileObjects;
import com.sun.tools.internal.xjc.util.NullStream;
import org.junit.Before;
import org.juni... | Move to spec inspired test names (truth always wins.) | Move to spec inspired test names (truth always wins.) | Java | apache-2.0 | mttkay/memento,hgl888/memento,Applied-Duality/memento |
52f58b3594ce7c8f687b45d71c7528fbb905f35e | src/data_test/java/info/u_team/u_team_test/data/provider/TestBlockTagsProvider.java | src/data_test/java/info/u_team/u_team_test/data/provider/TestBlockTagsProvider.java | package info.u_team.u_team_test.data.provider;
import info.u_team.u_team_core.data.*;
public class TestBlockTagsProvider extends CommonBlockTagsProvider {
public TestBlockTagsProvider(GenerationData data) {
super(data);
}
@Override
protected void registerTags() {
}
}
| package info.u_team.u_team_test.data.provider;
import static info.u_team.u_team_test.init.TestTags.Blocks.*;
import info.u_team.u_team_core.data.*;
import net.minecraft.block.Blocks;
import net.minecraft.tags.*;
public class TestBlockTagsProvider extends CommonBlockTagsProvider {
public TestBlockTagsPro... | Add some stuff to the block tags provider | Add some stuff to the block tags provider
| Java | apache-2.0 | MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core |
27c766d6417d952589d4e05213ad86aaa7528448 | src/org/bouncycastle/crypto/params/GOST3410ValidationParameters.java | src/org/bouncycastle/crypto/params/GOST3410ValidationParameters.java | package org.bouncycastle.crypto.params;
public class GOST3410ValidationParameters
{
private int x0;
private int c;
private long x0L;
private long cL;
public GOST3410ValidationParameters(
int x0,
int c)
{
this.x0 = x0;
this.c = c;
}
public GOST3410Val... | package org.bouncycastle.crypto.params;
public class GOST3410ValidationParameters
{
private int x0;
private int c;
private long x0L;
private long cL;
public GOST3410ValidationParameters(
int x0,
int c)
{
this.x0 = x0;
this.c = c;
}
public GOST3410Val... | Implement hashCode() corresponding to the equals() implementation | Implement hashCode() corresponding to the equals() implementation
| Java | mit | sake/bouncycastle-java |
8edeccf13b6ceb2c98a2a4f09d6f0bbc7a1a1f7a | src/main/java/com/sdl/selenium/web/button/SimpleUploadButton.java | src/main/java/com/sdl/selenium/web/button/SimpleUploadButton.java | package com.sdl.selenium.web.button;
import com.sdl.selenium.web.WebLocator;
import org.apache.log4j.Logger;
public class SimpleUploadButton extends WebLocator {
private static final Logger logger = Logger.getLogger(SimpleUploadButton.class);
public SimpleUploadButton() {
setClassName("SimpleUploadBu... | package com.sdl.selenium.web.button;
import com.sdl.selenium.web.WebLocator;
import org.apache.log4j.Logger;
public class SimpleUploadButton extends WebLocator {
private static final Logger logger = Logger.getLogger(SimpleUploadButton.class);
public SimpleUploadButton() {
setClassName("SimpleUploadBu... | Remove methods type(String text) and typeKeys(String text) from WebLocator | Remove methods type(String text) and typeKeys(String text) from WebLocator
| Java | mit | sdl/Testy,sdl/Testy,sdl/Testy,sdl/Testy |
43fa635dbc6fa17b60d37c81b10e24cba415ea4c | Android/Shopr/src/main/java/com/uwetrottmann/shopr/loaders/ItemLoader.java | Android/Shopr/src/main/java/com/uwetrottmann/shopr/loaders/ItemLoader.java |
package com.uwetrottmann.shopr.loaders;
import android.content.Context;
import com.uwetrottmann.shopr.model.Item;
import com.uwetrottmann.shopr.utils.Lists;
import java.math.BigDecimal;
import java.util.List;
/**
* Returns a list of items based on the current user model.
*/
public class ItemLoader extends Generi... |
package com.uwetrottmann.shopr.loaders;
import android.content.Context;
import com.uwetrottmann.shopr.algorithm.AdaptiveSelection;
import com.uwetrottmann.shopr.algorithm.model.Attributes;
import com.uwetrottmann.shopr.model.Item;
import com.uwetrottmann.shopr.utils.Lists;
import java.math.BigDecimal;
import java.u... | Integrate recommender into item loader. | Integrate recommender into item loader.
| Java | apache-2.0 | UweTrottmann/Shopr,adiguzel/Shopr |
a43b20287c340e235c7ddd22aadce3ca69568c41 | app/src/main/java/kennewickpractice/com/kegetapumpkin/model/Story.java | app/src/main/java/kennewickpractice/com/kegetapumpkin/model/Story.java | package kennewickpractice.com.kegetapumpkin.model;
import kennewickpractice.com.kegetapumpkin.R;
/**
* Created by ken.wagner on 11/5/2015.
*/
public class Story {
private Page[] mPages;
public Story() {
mPages = new Page[7]; //based on how many pages made
mPages[0] = new Page();
mP... | package kennewickpractice.com.kegetapumpkin.model;
import kennewickpractice.com.kegetapumpkin.R;
/**
* Created by ken.wagner on 11/5/2015.
*/
public class Story {
private Page[] mPages;
public Story() {
mPages = new Page[7]; //based on how many pages made
mPages[0] = new Page();
mP... | Add to the mess and more | Add to the mess and more
| Java | mit | kenxwagner/K_and_EGetAPumpkin |
c8cd38f1945514686f4daac825183ac46ac7e863 | aura/src/test/java/org/auraframework/perf/test/components/PerfLoadComponentTest.java | aura/src/test/java/org/auraframework/perf/test/components/PerfLoadComponentTest.java | package org.auraframework.perf.test.components;
import java.net.URLEncoder;
import java.util.logging.Logger;
import org.auraframework.def.ComponentDef;
import org.auraframework.def.DefDescriptor;
import org.auraframework.perf.core.ComponentPerfAbstractTestCase;
public final class PerfLoadComponentTest extends Compon... | package org.auraframework.perf.test.components;
import org.auraframework.def.ComponentDef;
import org.auraframework.def.DefDescriptor;
import org.auraframework.perf.core.ComponentPerfAbstractTestCase;
import org.openqa.selenium.By;
import java.net.URLEncoder;
import java.util.logging.Logger;
public final class PerfL... | Add a wait for component render to webdriver tests | Add a wait for component render to webdriver tests
| Java | apache-2.0 | navyliu/aura,DebalinaDey/AuraDevelopDeb,TribeMedia/aura,lhong375/aura,forcedotcom/aura,navyliu/aura,SalesforceSFDC/aura,lcnbala/aura,SalesforceSFDC/aura,TribeMedia/aura,igor-sfdc/aura,badlogicmanpreet/aura,igor-sfdc/aura,SalesforceSFDC/aura,navyliu/aura,forcedotcom/aura,SalesforceSFDC/aura,forcedotcom/aura,navyliu/aura... |
112007e9d66293308ba5e94410c74284ab947ea9 | test/com/axiastudio/zoefx/core/script/JSScriptEngineImplTest.java | test/com/axiastudio/zoefx/core/script/JSScriptEngineImplTest.java | package com.axiastudio.zoefx.core.script;
import com.axiastudio.zoefx.core.Utilities;
import org.junit.BeforeClass;
import org.junit.Test;
/**
* User: tiziano
* Date: 14/04/14
* Time: 16:48
*/
public class JSScriptEngineImplTest {
@BeforeClass
public static void setUpClass() {
JSEngineImpl engine... | package com.axiastudio.zoefx.core.script;
import com.axiastudio.zoefx.core.Utilities;
import org.junit.BeforeClass;
import org.junit.Test;
/**
* User: tiziano
* Date: 14/04/14
* Time: 16:48
*/
public class JSScriptEngineImplTest {
@BeforeClass
public static void setUpClass() {
JSEngineImpl engine... | Fix in JS Engine test. | Fix in JS Engine test.
| Java | bsd-3-clause | axiastudio/zoefx-core |
d0db7ec4bd115325b77a5484bb6fb1d15387ed4a | android/src/main/java/io/rumors/reactnativesettings/RNSettingsPackage.java | android/src/main/java/io/rumors/reactnativesettings/RNSettingsPackage.java |
package io.rumors.reactnativesettings;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
import... |
package io.rumors.reactnativesettings;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
import... | Remove override of createJSModules (RN 0.47 compatibility) | Remove override of createJSModules (RN 0.47 compatibility)
The current release for React Native 0.47 has removed the createJSModules method in ReactPackage. Therefore any overrides of this method will need to be removed from the library, or this will cause a compilation error.
See: 75fd2ec54dffad8326e8bf9a8dcacfb22... | Java | mit | rmrs/react-native-settings,rmrs/react-native-settings,rmrs/react-native-settings |
6720cce2aac186655f68be6538265f9b67b7e0f1 | src/main/java/com/kiselev/reflection/ui/field/FieldUtils.java | src/main/java/com/kiselev/reflection/ui/field/FieldUtils.java | package com.kiselev.reflection.ui.field;
import com.kiselev.reflection.ui.annotation.AnnotationsUtils;
import com.kiselev.reflection.ui.indent.IndentUtils;
import com.kiselev.reflection.ui.modifier.ModifiersUtils;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.List;
public cla... | package com.kiselev.reflection.ui.field;
import com.kiselev.reflection.ui.annotation.AnnotationsUtils;
import com.kiselev.reflection.ui.generic.GenericsUtils;
import com.kiselev.reflection.ui.indent.IndentUtils;
import com.kiselev.reflection.ui.modifier.ModifiersUtils;
import java.lang.reflect.Field;
import j... | Add generic type to fields | Add generic type to fields | Java | mit | vadim8kiselev/reflection-ui |
001fa062b0c7d96af0322d98aeba7d6cfa275b5f | src/main/java/com/coding4people/mosquitoreport/api/models/Focus.java | src/main/java/com/coding4people/mosquitoreport/api/models/Focus.java | package com.coding4people.mosquitoreport.api.models;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBHashKey;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBRangeKey;
import com.amazonaws.services.dynamodbv2.datamodel... | package com.coding4people.mosquitoreport.api.models;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBHashKey;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBRangeKey;
import com.amazonaws.services.dynamodbv2.datamodel... | Add notes and thumbs up into focus | Add notes and thumbs up into focus | Java | mit | coding4people/mosquito-report-api |
fe9a70cef51f6310c1161f738d3247e1ebaa307d | src/test/java/com/ning/http/client/async/grizzly/GrizzlyByteBufferCapacityTest.java | src/test/java/com/ning/http/client/async/grizzly/GrizzlyByteBufferCapacityTest.java | /*
* Copyright (c) 2011 Sonatype, Inc. All rights reserved.
*
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License Version 2.0.
* You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses... | /*
* Copyright (c) 2011 Sonatype, Inc. All rights reserved.
*
* This program is licensed to you under the Apache License Version 2.0,
* and you may not use this file except in compliance with the Apache License Version 2.0.
* You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses... | Disable the test as it fail | Disable the test as it fail
| Java | apache-2.0 | junjiemars/async-http-client,bomgar/async-http-client,liuyb02/async-http-client,Aulust/async-http-client,dotta/async-http-client,drmaas/async-http-client,elijah513/async-http-client,jxauchengchao/async-http-client,typesafehub/async-http-client,stepancheg/async-http-client,thinker-fang/async-http-client,wyyl1/async-http... |
35fa21db58d34e4da40346c51bda3b3bbd1a98ba | jetserver/src/main/java/org/menacheri/convert/flex/SerializationContextProvider.java | jetserver/src/main/java/org/menacheri/convert/flex/SerializationContextProvider.java | package org.menacheri.convert.flex;
import flex.messaging.io.SerializationContext;
/**
* This class provides threadlocal contexts on demand to the serializer and
* deserializer class. This context object is necessary for blazeds to do
* serialization.
*
* @author Abraham Menacherry
*
*/
public class Serializ... | package org.menacheri.convert.flex;
import flex.messaging.io.SerializationContext;
/**
* This class provides threadlocal contexts on demand to the serializer and
* deserializer class. This context object is necessary for blazeds to do
* serialization.
*
* @author Abraham Menacherry
*
*/
public cl... | Put back in the serialization context | Put back in the serialization context | Java | mit | rayue/java-game-server,feamorx86/java-game-server,niuqinghua/java-game-server,feamorx86/java-game-server,wuzhenda/java-game-server,menacher/java-game-server,menacher/java-game-server,chongtianfeiyu/java-game-server,menacher/java-game-server,cancobanoglu/java-game-server,rayue/java-game-server,niuqinghua/java-game-serve... |
cf40aed5fa1f908f3d49b29d29a02825cd133876 | src/main/java/org/pinae/ndb/common/NodeRedirect.java | src/main/java/org/pinae/ndb/common/NodeRedirect.java | package org.pinae.ndb.common;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
/**
* ndb输出重定向
*
* ndb执行结果重定向输出: 文件/网络
*
* @author Huiyugeng
*
*
*/
public class NodeRedirect {
@SuppressWarnings("unchecked")
public void redirect(String redirect, Object result) {
NodeWriter wri... | package org.pinae.ndb.common;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
/**
* ndb输出重定向
*
* ndb执行结果重定向输出: 文件/网络
*
* @author Huiyugeng
*
*
*/
public class NodeRedirect {
@SuppressWarnings("unchecked")
public void redirect(String target, Object ndb) {
NodeWriter writer =... | Add operate output redirect to screen | Add operate output redirect to screen | Java | apache-2.0 | PinaeOS/ndb-java,node-db/ndb-java |
c7b74cb6719b799a89cc4e88c19591c9075e15d6 | mywebio-examples/src/main/java/io/myweb/examples/VibratorExample.java | mywebio-examples/src/main/java/io/myweb/examples/VibratorExample.java | package io.myweb.examples;
import android.content.Context;
import android.os.Vibrator;
import org.json.JSONArray;
import org.json.JSONException;
import io.myweb.api.GET;
import io.myweb.http.Response;
public class VibratorExample {
@GET("/vibrator/*toggle?:pattern=[500,1000]&:repeat=0")
public Response vibrator(C... | package io.myweb.examples;
import android.content.Context;
import android.os.Vibrator;
import org.json.JSONArray;
import org.json.JSONException;
import io.myweb.api.GET;
import io.myweb.http.Response;
public class VibratorExample {
@GET("/vibrator/*toggle?:pattern=[500,1000,500,1000,500,1000]&:repeat=-1")
public ... | Stop vibrations in default vibration example | Stop vibrations in default vibration example
| Java | mit | mywebio/mywebio-sdk,mywebio/mywebio-sdk,mywebio/mywebio-sdk |
44479e90bbcd4f96330dc726c41069d7c93965b2 | src/com/edinarobotics/zephyr/Zephyr.java | src/com/edinarobotics/zephyr/Zephyr.java | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | Change teleop to drive with the new Gamepad class. | Change teleop to drive with the new Gamepad class.
| Java | bsd-3-clause | TheGreenMachine/Zephyr-Java |
79bce2c3929384c07b13690dabc38e6b2fde682f | src/main/java/org/cyclops/cyclopscore/client/gui/component/button/GuiButtonText.java | src/main/java/org/cyclops/cyclopscore/client/gui/component/button/GuiButtonText.java | package org.cyclops.cyclopscore.client.gui.component.button;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.FontRenderer;
/**
* An button with text.
* @author rubensworks
*
*/
public class GuiButtonText extends GuiButtonExtended {
/**
* Make a new instance.
* @param id The ID.
* @p... | package org.cyclops.cyclopscore.client.gui.component.button;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.FontRenderer;
/**
* An button with text.
* @author rubensworks
*
*/
public class GuiButtonText extends GuiButtonExtended {
/**
* Make a new instance.
* @param id The I... | Add simplified text button constructor | Add simplified text button constructor
| Java | mit | CyclopsMC/CyclopsCore |
b134ede57ed2f7cd5eac1d5e274ee512d4c27623 | library/src/main/java/com/jakewharton/notificationcompat2/NotificationCompatICS.java | library/src/main/java/com/jakewharton/notificationcompat2/NotificationCompatICS.java | package com.jakewharton.notificationcompat2;
import android.app.Notification;
class NotificationCompatICS implements NotificationCompat2.NotificationCompatImpl {
static Notification.Builder createBuilder(NotificationCompat2.Builder b) {
Notification.Builder builder = NotificationCompatHC.createBuilder(b);... | package com.jakewharton.notificationcompat2;
import android.app.Notification;
class NotificationCompatICS implements NotificationCompat2.NotificationCompatImpl {
static Notification.Builder createBuilder(NotificationCompat2.Builder b) {
Notification.Builder builder = NotificationCompatHC.createBuilder(b);... | Use `getNotification` rather than `build` for ICS. | Use `getNotification` rather than `build` for ICS.
| Java | apache-2.0 | Udinic/NotificationCompat2,Udinic/NotificationCompat2 |
ba4654cf8250921bc2f9c5a1d01dd443a8d2958d | src/test/java/com/adaptionsoft/games/uglytrivia/GameCorrectAnswerTest.java | src/test/java/com/adaptionsoft/games/uglytrivia/GameCorrectAnswerTest.java | package com.adaptionsoft.games.uglytrivia;
import org.junit.Ignore;
import org.junit.Test;
import static org.mockito.Mockito.*;
public class GameCorrectAnswerTest {
@Test
public void correctAnswerShouldGetACoin() {
Player player = mock(Player.class);
Game game = createGameWithSinglePlayer(pl... | package com.adaptionsoft.games.uglytrivia;
import org.hamcrest.core.Is;
import org.junit.Ignore;
import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
import static org.mockito.Mockito.*;
public class GameCorrectAnswerTest {
@Test
public void correctAnswerS... | Test that player is can leave penalty box when lucky, but ignored because of defect | Test that player is can leave penalty box when lucky, but ignored because of defect
| Java | bsd-3-clause | codecop/ugly-trivia-kata |
130beeffacb4272f31f3ecaaf081b87e67391b43 | src/main/java/com/witchworks/common/core/event/HarvestDropsEvent.java | src/main/java/com/witchworks/common/core/event/HarvestDropsEvent.java | package com.witchworks.common.core.event;
import com.witchworks.common.item.ModItems;
import net.minecraft.block.BlockNewLeaf;
import net.minecraft.block.BlockPlanks;
import net.minecraft.init.Blocks;
import net.minecraft.item.ItemStack;
import net.minecraftforge.event.world.BlockEvent;
import net.minecraftforge.fml.c... | package com.witchworks.common.core.event;
import com.witchworks.common.item.ModItems;
import net.minecraft.init.Blocks;
import net.minecraft.item.ItemStack;
import net.minecraftforge.event.world.BlockEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
/**... | Revert "Oak apple logic now works on dark oak leaves only" | Revert "Oak apple logic now works on dark oak leaves only"
This reverts commit fc3cb3d98aa025ccfc256fa7c1dff2b2d26c7216.
| Java | mit | Um-Mitternacht/Witchworks |
184880110203a6a1ead7372b04e19bf4e79803ef | src/main/java/com/infinityraider/infinitylib/reference/Constants.java | src/main/java/com/infinityraider/infinitylib/reference/Constants.java | package com.infinityraider.infinitylib.reference;
public class Constants {
/**
* The number of units in a block.
*/
public static final int WHOLE = 16;
/**
* The value of 1/16 as represented in float form. Pre-calculated as to cut
* back on calculations.
*/
public static final... | package com.infinityraider.infinitylib.reference;
public class Constants {
/**
* The number of units in a block.
*/
public static final int WHOLE = 16;
/**
* The value of 1/16 as represented in float form. Pre-calculated as to cut
* back on calculations.
*/
public static final... | Add some more useful constants | Add some more useful constants
| Java | mit | InfinityRaider/InfinityLib |
889912dd08f39afd1211282d249208eb6b530dfe | src/main/java/com/github/cstroe/svndumpgui/internal/writer/AbstractSvnDumpWriter.java | src/main/java/com/github/cstroe/svndumpgui/internal/writer/AbstractSvnDumpWriter.java | package com.github.cstroe.svndumpgui.internal.writer;
import com.github.cstroe.svndumpgui.api.SvnDumpWriter;
import com.github.cstroe.svndumpgui.internal.AbstractSvnDumpConsumer;
import java.io.OutputStream;
import java.io.PrintStream;
public abstract class AbstractSvnDumpWriter extends AbstractSvnDumpConsumer imple... | package com.github.cstroe.svndumpgui.internal.writer;
import com.github.cstroe.svndumpgui.api.SvnDumpWriter;
import com.github.cstroe.svndumpgui.internal.AbstractSvnDumpConsumer;
import java.io.OutputStream;
import java.io.PrintStream;
public abstract class AbstractSvnDumpWriter extends AbstractSvnDumpConsumer imple... | Remove unused field and accessor. | Remove unused field and accessor.
| Java | agpl-3.0 | cstroe/svndumpgui,cstroe/svndumpapi,cstroe/svndumpgui,cstroe/svndumpapi |
82fb1b1486e2cd391bdd3e505cbb397eee73341e | src/main/java/com/speedledger/measure/jenkins/ElasticsearchPlugin.java | src/main/java/com/speedledger/measure/jenkins/ElasticsearchPlugin.java | package com.speedledger.measure.jenkins;
import hudson.Plugin;
import hudson.model.Descriptor;
import hudson.model.Items;
import net.sf.json.JSONObject;
import org.kohsuke.stapler.StaplerRequest;
import javax.servlet.ServletException;
import java.io.IOException;
/**
* Elasticsearch plugin to Jenkins.
* Reports bui... | package com.speedledger.measure.jenkins;
import hudson.Plugin;
import hudson.model.Descriptor;
import hudson.model.Items;
import net.sf.json.JSONObject;
import org.kohsuke.stapler.StaplerRequest;
import javax.servlet.ServletException;
import java.io.IOException;
/**
* Elasticsearch plugin to Jenkins.
* Reports bui... | Fix reading wrong keys from config form response | Fix reading wrong keys from config form response
| Java | mit | speedledger/elasticsearch-jenkins |
fbb533cb423030210df05aea94313cc4652c0f8c | src/main/java/org/synyx/urlaubsverwaltung/person/MailNotification.java | src/main/java/org/synyx/urlaubsverwaltung/person/MailNotification.java | package org.synyx.urlaubsverwaltung.person;
/**
* Describes which kind of mail notifications a person can have.
*/
public enum MailNotification {
NOTIFICATION_USER,
NOTIFICATION_DEPARTMENT_HEAD,
NOTIFICATION_SECOND_STAGE_AUTHORITY,
NOTIFICATION_BOSS_ALL,
NOTIFICATION_BOSS_DEPARTMENTS,
NOTIFI... | package org.synyx.urlaubsverwaltung.person;
/**
* Describes which kind of mail notifications a person can have.
*
* <ul>
* <li>
* {@link #NOTIFICATION_USER}: Default notifications, every user get these notifications. It's not possible to
* disable them.
* Not used for filtering recip... | Improve javadoc of mail notification enum | Improve javadoc of mail notification enum
| Java | apache-2.0 | synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung |
721dfd419360ff98cd76cd6076027939d33704b1 | org.csstudio.display.builder.rcp/src/org/csstudio/display/builder/rcp/OpenDisplayFile.java | org.csstudio.display.builder.rcp/src/org/csstudio/display/builder/rcp/OpenDisplayFile.java | /*******************************************************************************
* Copyright (c) 2015-2016 Oak Ridge National Laboratory.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, ... | /*******************************************************************************
* Copyright (c) 2015-2016 Oak Ridge National Laboratory.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, ... | Use *.bob over *.opi when called from alarm UI, cmd line | OpenFile: Use *.bob over *.opi when called from alarm UI, cmd line | Java | epl-1.0 | ESSICS/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,ESSICS/org.csstudio.display... |
2e1e0fe976d7bd794f09af4da0f414a769efd2b1 | Minter/src/main/java/com/hida/model/NotEnoughPermutationsException.java | Minter/src/main/java/com/hida/model/NotEnoughPermutationsException.java | package com.hida.model;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
/**
* An exception used to display how many permutations actually remain and the requested amount
* that caused an error.
* @author lruffin
*/
@ResponseStatus(value = HttpStatus.BAD_R... | package com.hida.model;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
/**
* An exception used to display how many permutations actually remain and the requested amount
* that caused an error.
* @author lruffin
*/
@ResponseStatus(value = HttpStatus.BAD_R... | Remove commented code in NotEnoughPermutationEx | Remove commented code in NotEnoughPermutationEx
| Java | apache-2.0 | HawaiiStateDigitalArchives/PID-webservice,HawaiiStateDigitalArchives/PID-webservice,Khyzad/PID-webservice,Khyzad/PID-webservice |
a1d591b16a661449fddccfaa94994f25218a1918 | webbridge/src/main/java/plugins/webbridge/api/WebBridgeListener.java | webbridge/src/main/java/plugins/webbridge/api/WebBridgeListener.java | package plugins.webbridge.api;
import logbook.api.APIListenerSpi;
import logbook.proxy.RequestMetaData;
import logbook.proxy.ResponseMetaData;
import okhttp3.MediaType;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.RequestBody;
import plugins.webbridge.bean.WebBridgeConfig;
import javax.json.Jso... | package plugins.webbridge.api;
import logbook.api.APIListenerSpi;
import logbook.proxy.RequestMetaData;
import logbook.proxy.ResponseMetaData;
import okhttp3.MediaType;
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.RequestBody;
import plugins.webbridge.bean.WebBridgeConfig;
import javax.json.Jso... | Rename the WebBridge payload property: date -> time | Rename the WebBridge payload property: date -> time
| Java | mit | rsky/logbook-kai-plugins |
0ce55ae521b7f1c751a8141bfa0a8eaa3b8dd4dd | src/common/me/nallar/tickthreading/minecraft/commands/TPSCommand.java | src/common/me/nallar/tickthreading/minecraft/commands/TPSCommand.java | package me.nallar.tickthreading.minecraft.commands;
import java.util.List;
import me.nallar.tickthreading.minecraft.TickManager;
import me.nallar.tickthreading.minecraft.TickThreading;
import net.minecraft.command.ICommandSender;
public class TPSCommand extends Command {
public static String name = "tps";
... | package me.nallar.tickthreading.minecraft.commands;
import java.util.List;
import me.nallar.tickthreading.minecraft.TickManager;
import me.nallar.tickthreading.minecraft.TickThreading;
import net.minecraft.command.ICommandSender;
public class TPSCommand extends Command {
public static String name = "tps";
... | Fix for / by 0 in /tps | Fix for / by 0 in /tps
Signed-off-by: Ross Allan <ca2c77e14df1e7ee673215c1ef658354e220f471@gmail.com>
| Java | mit | nallar/TickThreading |
0cd4a0b4c7337e80335d494733c1f42251fc3ccb | src/main/java/com/elmakers/mine/bukkit/action/builtin/CoverAction.java | src/main/java/com/elmakers/mine/bukkit/action/builtin/CoverAction.java | package com.elmakers.mine.bukkit.action.builtin;
import com.elmakers.mine.bukkit.action.CompoundAction;
import com.elmakers.mine.bukkit.api.action.CastContext;
import com.elmakers.mine.bukkit.api.spell.SpellResult;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
public class CoverAction extends Comp... | package com.elmakers.mine.bukkit.action.builtin;
import com.elmakers.mine.bukkit.action.CompoundAction;
import com.elmakers.mine.bukkit.api.action.CastContext;
import com.elmakers.mine.bukkit.api.spell.SpellResult;
import org.bukkit.block.Block;
import org.bukkit.block.BlockFace;
import org.bukkit.configuration.Config... | Add target_above option to Cover action | Add target_above option to Cover action
| Java | mit | elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin |
e508a55f2c1528f070843022aac44807cf62bdef | src/main/java/io/parsingdata/metal/expression/value/reference/Len.java | src/main/java/io/parsingdata/metal/expression/value/reference/Len.java | package io.parsingdata.metal.expression.value.reference;
import static io.parsingdata.metal.Util.checkNotNull;
import io.parsingdata.metal.data.Environment;
import io.parsingdata.metal.data.ParseValue;
import io.parsingdata.metal.encoding.Encoding;
import io.parsingdata.metal.expression.value.ConstantFactory;
import ... | package io.parsingdata.metal.expression.value.reference;
import static io.parsingdata.metal.Util.checkNotNull;
import io.parsingdata.metal.data.Environment;
import io.parsingdata.metal.data.ParseValue;
import io.parsingdata.metal.encoding.Encoding;
import io.parsingdata.metal.expression.value.ConstantFactory;
import ... | Return zero length when value is null | Return zero length when value is null
| Java | apache-2.0 | parsingdata/metal,gertjanal/metal,ccreeten/metal |
5aa58c586c06847a9d4450a0f9395bdea58b3c3e | src/main/java/org/commonwl/view/workflow/QueuedWorkflowRepository.java | src/main/java/org/commonwl/view/workflow/QueuedWorkflowRepository.java | package org.commonwl.view.workflow;
import org.commonwl.view.git.GitDetails;
import org.springframework.data.mongodb.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
/**
* Stores workflows in the queue waiting for cwltool
*/
public interface QueuedWorkflowRepository extends P... | package org.commonwl.view.workflow;
import org.commonwl.view.git.GitDetails;
import org.springframework.data.mongodb.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import java.util.Date;
import java.util.List;
/**
* Stores workflows in the queue waiting for cwltool
*/
publ... | Add delete by date retrieved on method to queued workflow repository | Add delete by date retrieved on method to queued workflow repository
| Java | apache-2.0 | common-workflow-language/cwlviewer,common-workflow-language/cwlviewer,common-workflow-language/cwlviewer,common-workflow-language/cwlviewer |
092755b8636acd04f1cef1291a1cf334f8c0ecb7 | with-jetty/src/main/java/com/aspectran/with/jetty/JettyServer.java | with-jetty/src/main/java/com/aspectran/with/jetty/JettyServer.java | package com.aspectran.with.jetty;
import com.aspectran.core.component.bean.ablility.DisposableBean;
import com.aspectran.core.component.bean.ablility.InitializableBean;
import com.aspectran.core.util.logging.Log;
import com.aspectran.core.util.logging.LogFactory;
import org.eclipse.jetty.server.Server;
import org.ecli... | package com.aspectran.with.jetty;
import com.aspectran.core.component.bean.ablility.DisposableBean;
import com.aspectran.core.component.bean.ablility.InitializableBean;
import com.aspectran.core.util.logging.Log;
import com.aspectran.core.util.logging.LogFactory;
import org.eclipse.jetty.server.Server;
import org.ecli... | Add a property that allows the web server to start automatically during initialization | Add a property that allows the web server to start automatically during initialization
| Java | apache-2.0 | aspectran/aspectran,aspectran/aspectran |
8c4e9b7302b56f4b9b9f3ab60f57b0f41f74513b | ajah-user-social/src/main/java/com/ajah/user/social/UserFollow.java | ajah-user-social/src/main/java/com/ajah/user/social/UserFollow.java | /*
* Copyright 2014 Eric F. Savage, code@efsavage.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | /*
* Copyright 2014 Eric F. Savage, code@efsavage.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | Add comment field and some transient helpers | Add comment field and some transient helpers
| Java | apache-2.0 | efsavage/ajah |
2857a7bf741fb9a4b1083cf27b4adb01827a169d | src/edu/northwestern/bioinformatics/studycalendar/web/template/SelectArmController.java | src/edu/northwestern/bioinformatics/studycalendar/web/template/SelectArmController.java | package edu.northwestern.bioinformatics.studycalendar.web.template;
import edu.northwestern.bioinformatics.studycalendar.web.ReturnSingleObjectController;
import edu.northwestern.bioinformatics.studycalendar.domain.Arm;
import edu.northwestern.bioinformatics.studycalendar.utils.accesscontrol.AccessControl;
import edu.... | package edu.northwestern.bioinformatics.studycalendar.web.template;
import edu.northwestern.bioinformatics.studycalendar.web.ReturnSingleObjectController;
import edu.northwestern.bioinformatics.studycalendar.domain.Arm;
import edu.northwestern.bioinformatics.studycalendar.utils.accesscontrol.AccessControl;
import edu.... | Use base because everyone can use the template view | Use base because everyone can use the template view
| Java | bsd-3-clause | NCIP/psc,NCIP/psc,NCIP/psc,NCIP/psc |
0538d4bcaba5da966ea3590aa8b2faf5395404f0 | OpenEdXMobile/src/main/java/org/edx/mobile/view/custom/EdxWebView.java | OpenEdXMobile/src/main/java/org/edx/mobile/view/custom/EdxWebView.java | package org.edx.mobile.view.custom;
import android.annotation.SuppressLint;
import android.content.Context;
import android.util.AttributeSet;
import android.webkit.WebSettings;
import android.webkit.WebView;
import org.edx.mobile.BuildConfig;
import org.edx.mobile.R;
public class EdxWebView extends WebView {
@Su... | package org.edx.mobile.view.custom;
import android.annotation.SuppressLint;
import android.content.Context;
import android.util.AttributeSet;
import android.webkit.WebSettings;
import android.webkit.WebView;
import org.edx.mobile.BuildConfig;
import org.edx.mobile.R;
public class EdxWebView extends WebView {
@Su... | Enable hardware acceleration for all WebView | Enable hardware acceleration for all WebView
- LEARNER-7224
| Java | apache-2.0 | edx/edx-app-android,edx/edx-app-android,edx/edx-app-android,edx/edx-app-android,edx/edx-app-android,edx/edx-app-android |
4ba50774398bb343f78dd4ccb568bada191a106f | ip-messaging/media/retrieve-message-media/retrieve-message-media.java | ip-messaging/media/retrieve-message-media/retrieve-message-media.java | if (message.hasMedia()) {
Message.Media media = message.getMedia();
String sid = media.getSid();
String type = media.getType();
String fn = media.getFileName();
long size = media.getSize();
Timber.d("This is a media message with SID "+sid+", type "+type+", name "+fn+", and size "+size);
i... | if (message.hasMedia()) {
message.getMediaContentTemporaryUrl(new CallbackListener<String>() {
@Override
public void onSuccess(String mediaContentUrl) {
Log.d("TAG", mediaContentUrl);
}
});
} | Update Android retrieve conversations media example | Update Android retrieve conversations media example
| Java | mit | TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets,TwilioDevEd/api-snippets |
b093a40ab8bbae9f7510d126ce1400a475f921d9 | service-routing/src/main/java/fi/nls/oskari/routing/RoutingService.java | service-routing/src/main/java/fi/nls/oskari/routing/RoutingService.java | package fi.nls.oskari.routing;
import com.ibatis.common.resources.Resources;
import com.ibatis.sqlmap.client.SqlMapClient;
import com.ibatis.sqlmap.client.SqlMapClientBuilder;
import java.io.Reader;
public class RoutingService {
private SqlMapClient client = null;
private static String SQL_MAP_LOCATION = "ME... | package fi.nls.oskari.routing;
import com.ibatis.common.resources.Resources;
import com.ibatis.sqlmap.client.SqlMapClient;
import com.ibatis.sqlmap.client.SqlMapClientBuilder;
import java.io.Reader;
public class RoutingService {
private SqlMapClient client = null;
private static String SQL_MAP_LOCATION = "ME... | Use local variable instead of member variable | Use local variable instead of member variable
| Java | mit | uhef/Oskari-Routing,uhef/Oskari-Routing,uhef/Oskari-Routing,uhef/Oskari-Routing |
c30fa7882352bd84b0ecd4592b830fc085c95708 | configserver/src/main/java/com/yahoo/vespa/config/server/maintenance/SessionsMaintainer.java | configserver/src/main/java/com/yahoo/vespa/config/server/maintenance/SessionsMaintainer.java | // Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.server.maintenance;
import com.yahoo.log.LogLevel;
import com.yahoo.vespa.config.server.ApplicationRepository;
import com.yahoo.vespa.curator.Curator;
import com.yahoo.vespa.f... | // Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.server.maintenance;
import com.yahoo.log.LogLevel;
import com.yahoo.vespa.config.server.ApplicationRepository;
import com.yahoo.vespa.curator.Curator;
import com.yahoo.vespa.f... | Add iteration to log message | Add iteration to log message
| Java | apache-2.0 | vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa |
f74a4299c7ca048f619c0c316557fe3c3efd2ea6 | src/main/java/org/fluentd/logger/sender/ConstantDelayReconnector.java | src/main/java/org/fluentd/logger/sender/ConstantDelayReconnector.java | package org.fluentd.logger.sender;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Deque;
import java.util.LinkedList;
/**
* Calculate exponential delay for reconnecting
*/
public class ConstantDelayReconnector implements Reconnector {
private static final Logger LOG = LoggerFactory.g... | package org.fluentd.logger.sender;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Deque;
import java.util.LinkedList;
/**
* Calculate exponential delay for reconnecting
*/
public class ConstantDelayReconnector implements Reconnector {
private static final Logger LOG = LoggerFactory.g... | Use constants if the variable can't be modified | Use constants if the variable can't be modified
| Java | apache-2.0 | cosmo0920/fluent-logger-java,fluent/fluent-logger-java,benkiefer/fluent-logger-java,yyuu/fluent-logger-java |
174f046ee672feef3210662e006aba0629f4c3ac | src/main/java/valandur/webapi/serialize/view/data/FlyingDataView.java | src/main/java/valandur/webapi/serialize/view/data/FlyingDataView.java | package valandur.webapi.serialize.view.data;
import org.spongepowered.api.data.manipulator.mutable.entity.FlyingData;
import valandur.webapi.api.serialize.BaseView;
public class FlyingDataView extends BaseView<FlyingData> {
public boolean flying;
public FlyingDataView(FlyingData value) {
... | package valandur.webapi.serialize.view.data;
import com.fasterxml.jackson.annotation.JsonValue;
import org.spongepowered.api.data.manipulator.mutable.entity.FlyingData;
import valandur.webapi.api.serialize.BaseView;
public class FlyingDataView extends BaseView<FlyingData> {
@JsonValue
public boolean... | Remove wrapping element from flying data | fix(view): Remove wrapping element from flying data
| Java | mit | Valandur/Web-API,Valandur/Web-API,Valandur/Web-API |
6160ebff942b77ac7597265e65360512faa8b3dc | web/src/test/java/com/epam/rft/atsy/cucumber/util/CommonStepDefs.java | web/src/test/java/com/epam/rft/atsy/cucumber/util/CommonStepDefs.java | package com.epam.rft.atsy.cucumber.util;
import static com.epam.rft.atsy.cucumber.util.DriverProvider.getDriver;
import org.openqa.selenium.By;
import cucumber.api.java.en.Given;
public class CommonStepDefs {
@Given("The user signed in")
public void loggedIn() {
getDriver().get("http://localhost:8080/atsy/... | package com.epam.rft.atsy.cucumber.util;
import static com.epam.rft.atsy.cucumber.util.DriverProvider.getDriver;
import static com.epam.rft.atsy.cucumber.util.DriverProvider.waitForPageLoadAfter;
import org.openqa.selenium.By;
import cucumber.api.java.en.Given;
public class CommonStepDefs {
@Given("The user sign... | Add wait for page load condition when user signs in | Add wait for page load condition when user signs in
| Java | apache-2.0 | epam-debrecen-rft-2015/atsy,epam-debrecen-rft-2015/atsy,epam-debrecen-rft-2015/atsy |
50311bed8d87e452ff0e69838ba312c4fe899b2d | java/org/apache/tomcat/util/descriptor/Constants.java | java/org/apache/tomcat/util/descriptor/Constants.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | Add new constant missed in previous commit | Add new constant missed in previous commit
git-svn-id: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@1589992 13f79535-47bb-0310-9956-ffa450edef68
| Java | apache-2.0 | apache/tomcat,apache/tomcat,Nickname0806/Test_Q4,apache/tomcat,Nickname0806/Test_Q4,apache/tomcat,Nickname0806/Test_Q4,apache/tomcat,Nickname0806/Test_Q4 |
358defbb6dd3b08405d9feebe6221e80d80489c2 | modules/core/src/main/java/org/projectodd/wunderboss/codecs/Codecs.java | modules/core/src/main/java/org/projectodd/wunderboss/codecs/Codecs.java | /*
* Copyright 2014 Red Hat, Inc, and individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | /*
* Copyright 2014 Red Hat, Inc, and individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | Return a set of codecs instead of a collection to strip the duplicates. | Return a set of codecs instead of a collection to strip the duplicates.
Each codec is in the map twice, once for name and once for
content-type. We don't need both copies returned.
| Java | apache-2.0 | projectodd/wunderboss,projectodd/wunderboss,projectodd/wunderboss-release,projectodd/wunderboss-release,projectodd/wunderboss-release,projectodd/wunderboss |
8b227ae6fd0877f69d57f9443f8ff58445bae852 | Paco-Server/src/com/google/sampling/experiential/server/stats/usage/UsageStatsBlobWriter.java | Paco-Server/src/com/google/sampling/experiential/server/stats/usage/UsageStatsBlobWriter.java | package com.google.sampling.experiential.server.stats.usage;
import java.io.IOException;
import java.util.logging.Logger;
public class UsageStatsBlobWriter {
private static final Logger log = Logger.getLogger(UsageStatsBlobWriter.class.getName());
public UsageStatsBlobWriter() {
}
public String writeStats... | package com.google.sampling.experiential.server.stats.usage;
import java.io.IOException;
import java.util.logging.Logger;
public class UsageStatsBlobWriter {
private static final Logger log = Logger.getLogger(UsageStatsBlobWriter.class.getName());
public UsageStatsBlobWriter() {
}
public String writeStats... | Switch back to usage stas cronjob | Switch back to usage stas cronjob | Java | apache-2.0 | google/paco,kehollin/paco,h/paco,kehollin/paco,hlecuanda/paco,hlecuanda/paco,google/paco,kehollin/paco,google/paco,kehollin/paco,hlecuanda/paco,h/paco,hlecuanda/paco,hlecuanda/paco,kehollin/paco,hlecuanda/paco,google/paco,h/paco,h/paco,hlecuanda/paco,h/paco,h/paco,google/paco,google/paco,google/paco,kehollin/paco,kehol... |
3a28eac6c49bdf2acfc5bde4ed7f6e317f39f3ab | ui-tests/src/test/java/io/syndesis/qe/steps/other/DropBoxSteps.java | ui-tests/src/test/java/io/syndesis/qe/steps/other/DropBoxSteps.java | package io.syndesis.qe.steps.other;
import com.dropbox.core.DbxException;
import cucumber.api.java.en.When;
import io.syndesis.qe.utils.DropBoxUtils;
import org.assertj.core.api.Assertions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import java.i... | package io.syndesis.qe.steps.other;
import com.dropbox.core.DbxException;
import cucumber.api.java.en.When;
import io.syndesis.qe.utils.DropBoxUtils;
import io.syndesis.qe.utils.TestUtils;
import org.assertj.core.api.Assertions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.... | Add wait for file to appear in Dropbox | fix(ui): Add wait for file to appear in Dropbox
| Java | apache-2.0 | mcada/syndesis-qe,mcada/syndesis-qe,mcada/syndesis-qe |
ba8be10537747206877b02b50b4d1a5e9f974819 | src/main/java/edu/northwestern/bioinformatics/studycalendar/xml/writers/AddXmlSerializer.java | src/main/java/edu/northwestern/bioinformatics/studycalendar/xml/writers/AddXmlSerializer.java | package edu.northwestern.bioinformatics.studycalendar.xml.writers;
import edu.northwestern.bioinformatics.studycalendar.domain.delta.Add;
import edu.northwestern.bioinformatics.studycalendar.domain.delta.Change;
import edu.northwestern.bioinformatics.studycalendar.domain.Study;
import edu.northwestern.bioinformatics.s... | package edu.northwestern.bioinformatics.studycalendar.xml.writers;
import edu.northwestern.bioinformatics.studycalendar.domain.delta.Add;
import edu.northwestern.bioinformatics.studycalendar.domain.delta.Change;
import edu.northwestern.bioinformatics.studycalendar.domain.Study;
import edu.northwestern.bioinformatics.s... | Add change will now de-serialize a PlanTreeNode children when readElement is called. | Add change will now de-serialize a PlanTreeNode children when readElement is called.
git-svn-id: 4b387fe5ada7764508e2ca96c335714e4c1692c6@2230 0d517254-b314-0410-acde-c619094fa49f
| Java | bsd-3-clause | NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror,NUBIC/psc-mirror |
22281b52343efe85767e6b3305519d1766f961d0 | workcraft/WorkcraftCore/src/org/workcraft/presets/PresetDialog.java | workcraft/WorkcraftCore/src/org/workcraft/presets/PresetDialog.java | package org.workcraft.presets;
import org.workcraft.gui.dialogs.ModalDialog;
import org.workcraft.utils.DesktopApi;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionListener;
import java.io.File;
public abstract class PresetDialog<T> extends ModalDialog<PresetManager<T>> {
public PresetDialo... | package org.workcraft.presets;
import org.workcraft.gui.dialogs.ModalDialog;
import org.workcraft.utils.DesktopApi;
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionListener;
import java.io.File;
import java.net.URI;
public abstract class PresetDialog<T> extends ModalDialog<PresetManager<T>> {
... | Enable linking external URI to Help button | Enable linking external URI to Help button
| Java | mit | danilovesky/workcraft,danilovesky/workcraft,workcraft/workcraft,workcraft/workcraft,workcraft/workcraft,danilovesky/workcraft,workcraft/workcraft,danilovesky/workcraft |
e8e144ca6a919376f3e5b091e48266181bd4e725 | napkin/src/main/java/com/github/aleksandermielczarek/napkin/Napkin.java | napkin/src/main/java/com/github/aleksandermielczarek/napkin/Napkin.java | package com.github.aleksandermielczarek.napkin;
import android.content.Context;
/**
* Created by Aleksander Mielczarek on 14.05.2016.
*/
public class Napkin {
private Napkin() {
}
public static <T> T provideComponent(Context context) {
Context applicationContext = context.getApplicationContex... | package com.github.aleksandermielczarek.napkin;
import android.content.Context;
/**
* Created by Aleksander Mielczarek on 14.05.2016.
*/
public class Napkin {
private Napkin() {
}
public static <T> T provideComponent(Context context) {
Context applicationContext = context.getApplicationContex... | Add new method for component retrieve | Add new method for component retrieve
| Java | apache-2.0 | AleksanderMielczarek/Napkin |
368854f495865683da111ee54d882a5e37a33457 | nimble-core/src/main/java/com/lenguyenthanh/nimble/view/ViewHelper.java | nimble-core/src/main/java/com/lenguyenthanh/nimble/view/ViewHelper.java | package com.lenguyenthanh.nimble.view;
import android.app.Activity;
import android.content.Context;
import android.content.ContextWrapper;
public class ViewHelper {
private ViewHelper() {
}
private static ViewHelper instance;
public synchronized static ViewHelper getInstance() {
if(instance == null){
... | package com.lenguyenthanh.nimble.view;
import android.app.Activity;
import android.content.Context;
import android.content.ContextWrapper;
public final class ViewHelper {
private static ViewHelper instance;
private ViewHelper() {
}
public static ViewHelper getInstance() {
synchronized (ViewHelper.class... | Fix potential bugs follow PMD | Fix potential bugs follow PMD
| Java | apache-2.0 | lenguyenthanh/nimble |
6adfa690d106f16ca2ba42ec8b96ad1594e8c50b | server/src/main/java/org/realityforge/replicant/server/ChannelLink.java | server/src/main/java/org/realityforge/replicant/server/ChannelLink.java | package org.realityforge.replicant.server;
import javax.annotation.Nonnull;
/**
* A representation indicating that an entity message will cause another channel to be subscribed.
*/
public final class ChannelLink
{
@Nonnull
private final ChannelDescriptor _sourceChannel;
@Nonnull
private final ChannelDescrip... | package org.realityforge.replicant.server;
import javax.annotation.Nonnull;
/**
* A representation indicating that an entity message will cause another channel to be subscribed.
*/
public final class ChannelLink
{
@Nonnull
private final ChannelDescriptor _sourceChannel;
@Nonnull
private final ChannelDescrip... | Remove checks that are not valid as we already have graph links between typed graphs and instanced graphs and will probably have links between type graphs sooner rather than later | Remove checks that are not valid as we already have graph links between typed graphs and instanced graphs and will probably have links between type graphs sooner rather than later
| Java | apache-2.0 | realityforge/replicant,realityforge/replicant |
d52ba8d2d7f02b6a68e2d1f642d67ce57066e5f1 | src/main/java/jwbroek/id3/v2/FrameReader.java | src/main/java/jwbroek/id3/v2/FrameReader.java | /*
* Cuelib library for manipulating cue sheets.
* Copyright (C) 2007-2009 Jan-Willem van den Broek
*
* 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 L... | /*
* Cuelib library for manipulating cue sheets.
* Copyright (C) 2007-2009 Jan-Willem van den Broek
*
* 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 L... | Reformat code, remove hardcoded path. | Reformat code, remove hardcoded path.
| Java | lgpl-2.1 | RomanHargrave/cuelib |
aa2811e8044032fb66e22361dbd424e58a43f5d7 | org.metaborg.spoofax.core/src/main/java/org/metaborg/spoofax/core/shell/ShellFacetFromESV.java | org.metaborg.spoofax.core/src/main/java/org/metaborg/spoofax/core/shell/ShellFacetFromESV.java | package org.metaborg.spoofax.core.shell;
import javax.annotation.Nullable;
import org.metaborg.spoofax.core.esv.ESVReader;
import org.spoofax.interpreter.terms.IStrategoAppl;
public class ShellFacetFromESV {
public static @Nullable ShellFacet create(IStrategoAppl esv) {
IStrategoAppl shellTerm = ESVRead... | package org.metaborg.spoofax.core.shell;
import javax.annotation.Nullable;
import org.metaborg.spoofax.core.esv.ESVReader;
import org.spoofax.interpreter.terms.IStrategoAppl;
public class ShellFacetFromESV {
public static @Nullable ShellFacet create(IStrategoAppl esv) {
IStrategoAppl shellTerm = ESVRead... | Add default values for command prefix and evaluation method | Add default values for command prefix and evaluation method
| Java | apache-2.0 | metaborg/spoofax,metaborg/spoofax,metaborg/spoofax,metaborg/spoofax |
9722c95c3bb49060dd556154374d7f63be0040fb | app/src/main/java/com/averi/worldscribe/activities/SettingsActivity.java | app/src/main/java/com/averi/worldscribe/activities/SettingsActivity.java | package com.averi.worldscribe.activities;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import com.averi.worldscribe.R;
public class SettingsActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState... | package com.averi.worldscribe.activities;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.widget.Spinner;
import com.averi.worldscribe.R;
import com.averi.worldscribe.adapters.AppThemeArrayAdapter;
public class SettingsActivity exten... | Set adapter for select app theme spinner | Set adapter for select app theme spinner
| Java | mit | MarquisLP/World-Scribe,MarquisLP/WorldScribe |
34926044e0ad27111493acd7d5d3dbb252aaf9ab | server/src/main/java/io/spine/system/server/SystemGateway.java | server/src/main/java/io/spine/system/server/SystemGateway.java | /*
* Copyright 2018, TeamDev. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR... | /*
* Copyright 2018, TeamDev. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR... | Make doc more strictly correct. | Make doc more strictly correct.
| Java | apache-2.0 | SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java |
3142b05031db2b65ecda574e418fb287b465e082 | src/main/java/com/avairebot/orion/commands/interaction/HugCommand.java | src/main/java/com/avairebot/orion/commands/interaction/HugCommand.java | package com.avairebot.orion.commands.interaction;
import com.avairebot.orion.Orion;
import com.avairebot.orion.contracts.commands.InteractionCommand;
import java.util.Arrays;
import java.util.List;
public class HugCommand extends InteractionCommand {
public HugCommand(Orion orion) {
super(orion, "hugs")... | package com.avairebot.orion.commands.interaction;
import com.avairebot.orion.Orion;
import com.avairebot.orion.contracts.commands.InteractionCommand;
import java.util.Arrays;
import java.util.List;
public class HugCommand extends InteractionCommand {
public HugCommand(Orion orion) {
super(orion, "hugs")... | Add new image to hug interaction | Add new image to hug interaction
| Java | mit | AvaIre/AvaIre,AvaIre/AvaIre |
d0e1fe756241d6235e920f16c3987f9ff83d7543 | src/main/java/ml/duncte123/skybot/unstable/utils/ComparatingUtils.java | src/main/java/ml/duncte123/skybot/unstable/utils/ComparatingUtils.java | /*
* Skybot, a multipurpose discord bot
* Copyright (C) 2017 - 2019 Duncan "duncte123" Sterken & Ramid "ramidzkh" Khan
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either... | /*
* Skybot, a multipurpose discord bot
* Copyright (C) 2017 - 2019 Duncan "duncte123" Sterken & Ramid "ramidzkh" Khan
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either... | Add error log for execCheck | Add error log for execCheck
| Java | agpl-3.0 | duncte123/SkyBot,duncte123/SkyBot,duncte123/SkyBot,duncte123/SkyBot |
803987497eab9c188f4abfcd0dc49b4d311d3dad | src/main/java/simplemods/cheesemod/blocks/BlockHotPepperCheeseOre.java | src/main/java/simplemods/cheesemod/blocks/BlockHotPepperCheeseOre.java | package simplemods.cheesemod.blocks;
import java.util.Random;
import simplemods.cheesemod.BaseMod;
import simplemods.cheesemod.CommonProxy;
import simplemods.cheesemod.inventory.CCreativeTabs;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.item.Item;
/**
* No, th... | package simplemods.cheesemod.blocks;
import java.util.Random;
import simplemods.cheesemod.BaseMod;
import simplemods.cheesemod.CommonProxy;
import simplemods.cheesemod.inventory.CCreativeTabs;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.item.Item;
imp... | Fix hot pepper cheese hardness bug | Fix hot pepper cheese hardness bug | Java | lgpl-2.1 | cdbbnnyCode/cheese-mod |
9ae188deaa3c7ab817f1d78ef4d7f75b813665da | src/main/java/org/ambraproject/wombat/controller/StaticContentController.java | src/main/java/org/ambraproject/wombat/controller/StaticContentController.java | /*
* $HeadURL$
* $Id$
* Copyright (c) 2006-2013 by Public Library of Science http://plos.org http://ambraproject.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/... | /*
* $HeadURL$
* $Id$
* Copyright (c) 2006-2013 by Public Library of Science http://plos.org http://ambraproject.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/... | Use wild card for static content controller to support multiple pages | DPRO-769: Use wild card for static content controller to support multiple pages
| Java | mit | PLOS/wombat,PLOS/wombat,PLOS/wombat,PLOS/wombat |
48b63d01d00c791088b24057751ed1de79811964 | src/com/openxc/measurements/ClimateMode.java | src/com/openxc/measurements/ClimateMode.java | package com.openxc.measurements;
import java.util.Locale;
import com.openxc.units.State;
/**
* The ClimateMode measurement is used to start the AC/Heater/Fan
*/
public class ClimateMode extends BaseMeasurement<State<ClimateMode.ClimateControls>> {
public final static String ID = "climate_mode";
public enum C... | package com.openxc.measurements;
import java.util.Locale;
import com.openxc.units.State;
/**
* The ClimateMode measurement is used to start the AC/Heater/Fan
*/
public class ClimateMode extends BaseMeasurement<State<ClimateMode.ClimateControls>> {
public final static String ID = "climate_mode";
public enum C... | Remove int enum values, as they are unneeded | Remove int enum values, as they are unneeded
| Java | bsd-3-clause | openxc/nonstandard-android-measurements,openxc/nonstandard-android-measurements |
8dab1377351b3a570adfc5b54f642f5a4ec5e47a | subprojects/build-scan-performance/src/templates/with-verbose-junit/Test.java | subprojects/build-scan-performance/src/templates/with-verbose-junit/Test.java | package ${packageName};
import static org.junit.Assert.*;
public class ${testClassName} {
private final ${productionClassName} production = new ${productionClassName}("value");
@org.junit.Test
public void testOne() {
for (int i = 0; i < 500; i++) {
System.out.println("Some test outpu... | package ${packageName};
import static org.junit.Assert.*;
public class ${testClassName} {
private final ${productionClassName} production = new ${productionClassName}("value");
@org.junit.Test
public void testOne() throws Exception {
for (int i = 0; i < 500; i++) {
System.out.println... | Introduce pause in the output so as not to overwhelm the IPC mechanism between test worker and build host. | Introduce pause in the output so as not to overwhelm the IPC mechanism between test worker and build host.
| Java | apache-2.0 | lsmaira/gradle,gradle/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,gstevey/gradle,robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,lsmaira/gradle,robinverduijn/gradle,gstevey/gradle,blindpirate/gradle,gstevey/gradle,lsmaira/gradle,gradle/gradle,lsmaira/gradle,robinverduijn... |
6946b796312c6565bd783db75a545460962db4fe | metrics/src/main/java/de/is24/util/monitoring/metrics/MetricsPlugin.java | metrics/src/main/java/de/is24/util/monitoring/metrics/MetricsPlugin.java | package de.is24.util.monitoring.metrics;
import com.codahale.metrics.MetricRegistry;
import de.is24.util.monitoring.AbstractMonitorPlugin;
import java.util.concurrent.TimeUnit;
public class MetricsPlugin extends AbstractMonitorPlugin {
private MetricRegistry metricRegistry;
public MetricsPlugin(MetricRegistry m... | package de.is24.util.monitoring.metrics;
import com.codahale.metrics.MetricRegistry;
import de.is24.util.monitoring.AbstractMonitorPlugin;
import java.util.concurrent.TimeUnit;
public class MetricsPlugin extends AbstractMonitorPlugin {
private MetricRegistry metricRegistry;
public MetricsPlugin(MetricRegistry m... | Add prefixes for timers and counters to emulate StatsD behavior. | Add prefixes for timers and counters to emulate StatsD behavior.
| Java | apache-2.0 | ImmobilienScout24/appmon4j |
b702a433154f291bfa9bbc14f63e692187ac6cf8 | src/com/rudeshko/csscomb/CssCombAction.java | src/com/rudeshko/csscomb/CssCombAction.java | package com.rudeshko.csscomb;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.LangDataKeys;
import com.intellij.psi.PsiFile;
public class CssCombAction extends AnAction {
public void actionPerformed(AnActionEvent e... | package com.rudeshko.csscomb;
import com.intellij.lang.css.CSSLanguage;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.actionSystem.LangDataKeys;
import com.intellij.psi.PsiFile;
public class CssCombAction extends AnAction {
p... | Correct way to detect file language | Correct way to detect file language
| Java | mit | anton-rudeshko/CSSReorder |
579e13798bdf797be00dd5abc7b8dc3264f52130 | MatCalciteTest/src/com/github/vlsi/mat/tests/calcite/GetByKeyTests.java | MatCalciteTest/src/com/github/vlsi/mat/tests/calcite/GetByKeyTests.java | package com.github.vlsi.mat.tests.calcite;
import org.junit.Test;
import java.sql.SQLException;
public class GetByKeyTests extends SampleHeapDumpTests {
@Test
public void testHashMapByKey() throws SQLException {
returnsInOrder("select getByKey(m.this, 'GMT') v from java.util.HashMap m where getSize(m.this) =... | package com.github.vlsi.mat.tests.calcite;
import org.junit.Ignore;
import org.junit.Test;
import java.sql.SQLException;
public class GetByKeyTests extends SampleHeapDumpTests {
@Test
public void testHashMapByKey() throws SQLException {
returnsInOrder("select getByKey(m.this, 'GMT') v from java.util.HashMap ... | Use @Ignore instead of commenting @Test | Use @Ignore instead of commenting @Test
| Java | apache-2.0 | vlsi/mat-calcite-plugin,vlsi/mat-calcite-plugin |
cd67c373916105315ab493122dbef015a7d9ecec | codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/shared/DatabaseDTO.java | codenvy-ext-datasource-core/src/main/java/com/codenvy/ide/ext/datasource/shared/DatabaseDTO.java | /*
* CODENVY CONFIDENTIAL
* __________________
*
* [2013] - [2014] Codenvy, S.A.
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Codenvy S.A. and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Coden... | /*
* CODENVY CONFIDENTIAL
* __________________
*
* [2013] - [2014] Codenvy, S.A.
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains
* the property of Codenvy S.A. and its suppliers,
* if any. The intellectual and technical concepts contained
* herein are proprietary to Coden... | Add more information in the dataabse DTO | Add more information in the dataabse DTO | Java | epl-1.0 | codenvy/plugin-datasource,codenvy/plugin-datasource |
986af7039d9defc2ec486f5b97e5cc4e25c69a41 | pvn-template-app/src/main/java/com/incoming/example/incomingpvntemplate/PVNTemplateSettings.java | pvn-template-app/src/main/java/com/incoming/example/incomingpvntemplate/PVNTemplateSettings.java | /*******************************************************************************
* Copyright (c) Incoming Pty. Ltd. 2015
******************************************************************************/
package com.incoming.example.incomingpvntemplate;
import android.app.Activity;
import android.os.Bundle;
import andr... | /*******************************************************************************
* Copyright (c) Incoming Pty. Ltd. 2015
******************************************************************************/
package com.incoming.example.incomingpvntemplate;
import android.app.Activity;
import android.os.Bundle;
import andr... | Apply default preference values in xml to preference store | Apply default preference values in xml to preference store
| Java | apache-2.0 | incoming-inc/android-template-app |
7eb7fe1fd462d54c41c5d84504fceb84413ab130 | bootstrap/src/main/java/com/proofpoint/bootstrap/LifeCycleMethodsMap.java | bootstrap/src/main/java/com/proofpoint/bootstrap/LifeCycleMethodsMap.java | /*
* Copyright 2010 Proofpoint, 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 agree... | /*
* Copyright 2010 Proofpoint, 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 agree... | Reduce contention during lifecycle tracking | Reduce contention during lifecycle tracking
| Java | apache-2.0 | proofpoint/platform,johngmyers/platform,gwittel/platform,gwittel/platform,proofpoint/platform,gwittel/platform,proofpoint/platform,johngmyers/platform,johngmyers/platform |
cc51240c60a6d3f3a75084a5a4015d6bff5f33af | proctor-common/src/main/java/com/indeed/proctor/common/dynamic/TestNamePatternFilter.java | proctor-common/src/main/java/com/indeed/proctor/common/dynamic/TestNamePatternFilter.java | package com.indeed.proctor.common.dynamic;
import com.indeed.proctor.common.model.ConsumableTestDefinition;
import com.sun.javaws.exceptions.InvalidArgumentException;
import java.util.regex.Pattern;
import java.util.regex.PatternSyntaxException;
public class TestNamePatternFilter implements DynamicFilter {
priva... | package com.indeed.proctor.common.dynamic;
import com.indeed.proctor.common.model.ConsumableTestDefinition;
import java.util.regex.Pattern;
import java.util.regex.PatternSyntaxException;
public class TestNamePatternFilter implements DynamicFilter {
private final Pattern pattern;
/**
* Construct the fil... | Fix compile error due to invalid import | PROC-361: Fix compile error due to invalid import
| Java | apache-2.0 | indeedeng/proctor,indeedeng/proctor |
909dfc5cc69189112d4ecf1a6242543863ccc850 | src/main/java/com/grayben/riskExtractor/htmlScorer/elementScorers/SegmentationElementScorer.java | src/main/java/com/grayben/riskExtractor/htmlScorer/elementScorers/SegmentationElementScorer.java | package com.grayben.riskExtractor.htmlScorer.elementScorers;
import org.jsoup.nodes.Element;
import org.jsoup.parser.Tag;
/**
* Score the segmentation of an {@link org.jsoup.nodes.Element} based upon the {@link org.jsoup.parser.Tag} it contains.
*/
public class SegmentationElementScorer implements Scorer<Element> {... | package com.grayben.riskExtractor.htmlScorer.elementScorers;
import org.jsoup.nodes.Element;
import org.jsoup.parser.Tag;
/**
* Score the segmentation of an {@link org.jsoup.nodes.Element} based upon the {@link org.jsoup.parser.Tag} it contains.
*/
public class SegmentationElementScorer implements Scorer<Element> {... | Clean up, make scoring function utterly useless for testing fun | Clean up, make scoring function utterly useless for testing fun
| Java | mit | grayben/10K-item-extractor,grayben/10K-item-extractor |
90626e884d8bd123aa222b00f5ef3fba08a11712 | HappyBrackets/src/test/java/net/happybrackets/extras/assignment_autograding/TestBeadsChecker.java | HappyBrackets/src/test/java/net/happybrackets/extras/assignment_autograding/TestBeadsChecker.java | package net.happybrackets.extras.assignment_autograding;
import java.io.IOException;
/**
* Created by ollie on 8/08/2016.
*/
public class TestBeadsChecker {
public static void main(String[] args) throws IOException {
ExampleBeadsCheckable checkable = new ExampleBeadsCheckable();
BeadsChecker c... | package net.happybrackets.extras.assignment_autograding;
import java.io.IOException;
/**
* Created by ollie on 8/08/2016.
*/
public class TestBeadsChecker {
public static void main(String[] args) throws IOException {
ExampleBeadsCheckable checkable = new ExampleBeadsCheckable();
BeadsChecker c... | Put Test Results from BeadsChecker Test into build dir. | Put Test Results from BeadsChecker Test into build dir.
| Java | apache-2.0 | orsjb/HappyBrackets,orsjb/HappyBrackets,orsjb/HappyBrackets,orsjb/HappyBrackets,orsjb/HappyBrackets,orsjb/HappyBrackets |
4851829b5d2b6932c94b2e0b59f006a371943c4c | src/main/java/com/carrot/carrotshop/listener/PlayerConnexionListener.java | src/main/java/com/carrot/carrotshop/listener/PlayerConnexionListener.java | package com.carrot.carrotshop.listener;
import org.spongepowered.api.event.Listener;
import org.spongepowered.api.event.Order;
import org.spongepowered.api.event.network.ClientConnectionEvent;
import org.spongepowered.api.text.Text;
import org.spongepowered.api.text.action.TextActions;
import org.spongepowered.api.tex... | package com.carrot.carrotshop.listener;
import org.spongepowered.api.event.Listener;
import org.spongepowered.api.event.Order;
import org.spongepowered.api.event.network.ClientConnectionEvent;
import org.spongepowered.api.text.Text;
import org.spongepowered.api.text.action.TextActions;
import org.spongepowered.api.tex... | Change command name in hint | Change command name in hint
| Java | mit | TheoKah/CarrotShop |
6c8f7135982091656d6c41950659e342a59d281c | worker-document-shared/src/main/java/com/hpe/caf/worker/document/DocumentWorkerFailure.java | worker-document-shared/src/main/java/com/hpe/caf/worker/document/DocumentWorkerFailure.java | /*
* copyright 2016 Hewlett Packard Enterprise
*/
package com.hpe.caf.worker.document;
public final class DocumentWorkerFailure
{
public String workerName;
public String failureId;
public String failureMessage;
public String failureStack;
}
| /*
* copyright 2016 Hewlett Packard Enterprise
*/
package com.hpe.caf.worker.document;
public final class DocumentWorkerFailure
{
public String failureId;
public String failureMessage;
public String failureStack;
}
| Revert "CAF-1888: Updated to include workerName variable for reporting functionality" | Revert "CAF-1888: Updated to include workerName variable for reporting functionality"
This reverts commit 43ede1993e9bbe1bcbc161594c62b2f175ad782e.
| Java | apache-2.0 | CAFDataProcessing/worker-document |
004dc1e9963d32967697ef143bf631d8f96fa5f8 | android/src/au/id/swords/third2/ThirdUtil.java | android/src/au/id/swords/third2/ThirdUtil.java | /*
*
* third: That's How I Roll Dice
* A dice roller for roleplaying nerds.
* http://swords.id.au/third/
*
* Copyright (c) 2010, Brendan Jurd <bj@swords.id.au>
* All rights reserved.
*
* third is open-source, licensed under the Simplified BSD License, a copy of
* which can be found in the file L... | /*
*
* third: That's How I Roll Dice
* A dice roller for roleplaying nerds.
* http://swords.id.au/third/
*
* Copyright (c) 2010, Brendan Jurd <bj@swords.id.au>
* All rights reserved.
*
* third is open-source, licensed under the Simplified BSD License, a copy of
* which can be found in the file L... | Add utility method for making primitive int arrays. | Add utility method for making primitive int arrays.
In another astounding feat of unhelpfulness, Java has no built-in way of
getting a primitive array of integers out of a Collection of Integers.
I figure this isn't the only time I'm going to need this, so I made a
method in ThirdUtil.
| Java | bsd-2-clause | direvus/third,direvus/third |
bf24ebb97868f99ae9aafd2c320490e0bc90c987 | test/unit/edu/northwestern/bioinformatics/studycalendar/testing/StudyCalendarTestCase.java | test/unit/edu/northwestern/bioinformatics/studycalendar/testing/StudyCalendarTestCase.java | package edu.northwestern.bioinformatics.studycalendar.testing;
import junit.framework.TestCase;
import java.lang.reflect.Method;
import java.util.Set;
import java.util.HashSet;
import org.easymock.classextension.EasyMock;
/**
* @author Rhett Sutphin
*/
public abstract class StudyCalendarTestCase extends TestCase ... | package edu.northwestern.bioinformatics.studycalendar.testing;
import edu.nwu.bioinformatics.commons.testing.CoreTestCase;
import junit.framework.TestCase;
import java.lang.reflect.Method;
import java.util.Set;
import java.util.HashSet;
import org.easymock.classextension.EasyMock;
/**
* @author Rhett Sutphin
*/
... | Extend CoreTestCase for access to assertPositve/Negative, others | Extend CoreTestCase for access to assertPositve/Negative, others
| Java | bsd-3-clause | NCIP/psc,NCIP/psc,NCIP/psc,NCIP/psc |
14c072ea0053bd64d9c443769cba4c9c48b404bf | demos/helpdesk/src/main/java/org/switchyard/quickstarts/demos/helpdesk/HelpDeskServiceProcess.java | demos/helpdesk/src/main/java/org/switchyard/quickstarts/demos/helpdesk/HelpDeskServiceProcess.java | /*
* JBoss, Home of Professional Open Source
* Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @author tags. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This copyrighted material is made a... | /*
* JBoss, Home of Professional Open Source
* Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
* as indicated by the @author tags. All rights reserved.
* See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* This copyrighted material is made a... | Add BPM annotations to mark methods as process action triggers | SWITCHYARD-329: Add BPM annotations to mark methods as process action triggers
| Java | apache-2.0 | igarashitm/switchyard,cunningt/switchyard,bfitzpat/switchyard,igarashitm/switchyard,KurtStam/quickstarts,KurtStam/quickstarts,igarashitm/switchyard,tadayosi/switchyard,igarashitm/switchyard,tadayosi/switchyard,bfitzpat/switchyard,jboss-switchyard/switchyard,jboss-switchyard/switchyard,cunningt/switchyard,tadayosi/switc... |
bf22f661b22a84874691fcef059d788fa4ea86ef | collageview/src/main/java/com/lopei/collageview/RectangleImageView.java | collageview/src/main/java/com/lopei/collageview/RectangleImageView.java | package com.lopei.collageview;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ImageView;
import com.lopei.collageview.CollageView.ImageForm;
/**
* Created by alan on 08.12.16.
*/
public class RectangleImageView extends ImageView {
private ImageForm imageForm = ImageFor... | package com.lopei.collageview;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.ImageView;
import com.lopei.collageview.CollageView.ImageForm;
/**
* Created by alan on 08.12.16.
*/
public class RectangleImageView extends androidx.appcompat.widget.AppCompatImageView {
pri... | Make rectangle image view extend AppCompatImageView | Make rectangle image view extend AppCompatImageView
| Java | apache-2.0 | lopei/collageview |
69ec3f362c98d35e84b3ba6099bf922920a44088 | grader/src/main/java/edu/pdx/cs410J/grader/poa/ui/POASubmissionsPanel.java | grader/src/main/java/edu/pdx/cs410J/grader/poa/ui/POASubmissionsPanel.java | package edu.pdx.cs410J.grader.poa.ui;
import com.google.inject.Singleton;
import edu.pdx.cs410J.grader.poa.POASubmissionsView;
import javax.swing.*;
import javax.swing.event.ListSelectionEvent;
import java.awt.*;
import java.util.List;
import java.util.Vector;
@Singleton
public class POASubmissionsPanel extends JPan... | package edu.pdx.cs410J.grader.poa.ui;
import com.google.inject.Singleton;
import edu.pdx.cs410J.grader.poa.POASubmissionsView;
import javax.swing.*;
import javax.swing.event.ListSelectionEvent;
import java.awt.*;
import java.util.List;
import java.util.Vector;
@Singleton
public class POASubmissionsPanel extends JPan... | Fix an issue with submission selection by just using the index of the selected submission. | Fix an issue with submission selection by just using the index of the selected submission.
| Java | apache-2.0 | DavidWhitlock/PortlandStateJava,DavidWhitlock/PortlandStateJava |
7b2de0a0a54ade4977015ae44cc57dc9eac1ed5b | client/src/main/java/org/realityforge/replicant/client/EntityLocator.java | client/src/main/java/org/realityforge/replicant/client/EntityLocator.java | package org.realityforge.replicant.client;
import arez.component.NoSuchEntityException;
import java.util.List;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
/**
* The service interface for looking up entities by type+id.
* This is used from within the entities during linking phase.
*/
public i... | package org.realityforge.replicant.client;
import arez.component.NoSuchEntityException;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
/**
* The service interface for looking up entities by type+id.
* This is used from within the entities during linking phase.
*/
public interface EntityLocator
... | Rename method findByID to findById | Rename method findByID to findById
| Java | apache-2.0 | realityforge/replicant,realityforge/replicant |
de5e5970935f47b9d2141b91d0373925581b9604 | management/server/subutai-common/src/main/java/io/subutai/common/peer/RegistrationData.java | management/server/subutai-common/src/main/java/io/subutai/common/peer/RegistrationData.java | package io.subutai.common.peer;
import org.codehaus.jackson.annotate.JsonIgnore;
/**
* Registration DTO
*/
public class RegistrationData
{
private PeerInfo peerInfo;
@JsonIgnore
private String keyPhrase;
private RegistrationStatus status;
private Encrypted data;
public RegistrationData()... | package io.subutai.common.peer;
import org.codehaus.jackson.annotate.JsonIgnore;
/**
* Registration DTO
*/
public class RegistrationData
{
private PeerInfo peerInfo;
@JsonIgnore
private String keyPhrase;
private RegistrationStatus status;
private Encrypted data;
private String token;
... | Add token to be transfered between registered peers | KURJUN-136: Add token to be transfered between registered peers | Java | apache-2.0 | subutai-io/base,subutai-io/Subutai,subutai-io/Subutai,subutai-io/Subutai,subutai-io/base,subutai-io/Subutai,subutai-io/base,subutai-io/Subutai,subutai-io/Subutai,subutai-io/base |
0c116fc1d7e9a47d7bd6ddb1d81cc3eedeccb75f | spring-social-facebook/src/main/java/org/springframework/social/facebook/api/Reference.java | spring-social-facebook/src/main/java/org/springframework/social/facebook/api/Reference.java | /*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Fix MappingInstantiationException for no default constructor | Fix MappingInstantiationException for no default constructor
| Java | apache-2.0 | dtrunk90/spring-social-facebook,rams2588/spring-social-facebook,spring-projects/spring-social-facebook,spring-projects/spring-social-facebook,dtrunk90/spring-social-facebook,rams2588/spring-social-facebook |
53205f1fabd084dbbe0df095f0b01ae63e0dfca1 | viewcelladapter/src/main/java/ca/antonious/viewcelladapter/decorators/SectionDecorator.java | viewcelladapter/src/main/java/ca/antonious/viewcelladapter/decorators/SectionDecorator.java | package ca.antonious.viewcelladapter.decorators;
import ca.antonious.viewcelladapter.sections.AbstractSection;
/**
* Created by George on 2016-12-17.
*/
public abstract class SectionDecorator extends AbstractSection {
private AbstractSection decoratedSection;
public SectionDecorator(AbstractSection decora... | package ca.antonious.viewcelladapter.decorators;
import ca.antonious.viewcelladapter.internal.SectionObserver;
import ca.antonious.viewcelladapter.sections.AbstractSection;
/**
* Created by George on 2016-12-17.
*/
public abstract class SectionDecorator extends AbstractSection implements SectionObserver {
priv... | Update section decorator to handle notifications | Update section decorator to handle notifications
| Java | mit | gantonious/ViewCellAdapter,gantonious/ViewCellAdapter |
ecace3ce31c9bc4b4ab927b43c48645806ac02dc | source/src/main/java/com/linkedin/uif/source/extractor/extract/restapi/SalesforceSource.java | source/src/main/java/com/linkedin/uif/source/extractor/extract/restapi/SalesforceSource.java | package com.linkedin.uif.source.extractor.extract.restapi;
import java.io.IOException;
import com.linkedin.uif.configuration.WorkUnitState;
import com.linkedin.uif.source.extractor.Extractor;
import com.linkedin.uif.source.extractor.exception.ExtractPrepareException;
import com.linkedin.uif.source.extractor.extract.B... | package com.linkedin.uif.source.extractor.extract.restapi;
import java.io.IOException;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.linkedin.uif.configuration.WorkUnitState;
import com.linkedin.uif.source.extractor.Extractor;
import com.linkedin.uif.source.extractor... | Use Logging instead of printStackTrace() | Use Logging instead of printStackTrace()
RB=279101
R=stakiar,kgoodhop,lqiao,ynli
A=ynli
| Java | apache-2.0 | yukuai518/gobblin,ydai1124/gobblin-1,pcadabam/gobblin,lbendig/gobblin,yukuai518/gobblin,abti/gobblin,aditya1105/gobblin,sahilTakiar/gobblin,arjun4084346/gobblin,jordancheah/gobblin,mwol/gobblin,jack-moseley/gobblin,chavdar/gobblin-1,jenniferzheng/gobblin,jinhyukchang/gobblin,linkedin/gobblin,ibuenros/gobblin,the100rabh... |
c512b522c0ed8c43cd304002d25f9cc0998ad048 | parity-match/src/main/java/org/jvirtanen/parity/match/MarketListener.java | parity-match/src/main/java/org/jvirtanen/parity/match/MarketListener.java | package org.jvirtanen.parity.match;
/**
* <code>MarketListener</code> is the interface for outbound events from the
* matching engine.
*/
public interface MarketListener {
/**
* Match an incoming order to a resting order in the order book. The match
* occurs at the price of the order in the order boo... | package org.jvirtanen.parity.match;
/**
* The interface for outbound events from the matching engine.
*/
public interface MarketListener {
/**
* Match an incoming order to a resting order in the order book. The match
* occurs at the price of the order in the order book.
*
* @param restingOrd... | Tweak documentation for market listener in matching engine | Tweak documentation for market listener in matching engine
| Java | apache-2.0 | paritytrading/parity,pmcs/parity,paritytrading/parity,pmcs/parity |
bd3d020c3da0aa47c1c2ccf2c274cf18c417d6d3 | app/src/main/java/org/wikipedia/dataclient/mwapi/EditorTaskCounts.java | app/src/main/java/org/wikipedia/dataclient/mwapi/EditorTaskCounts.java | package org.wikipedia.dataclient.mwapi;
import android.support.annotation.Nullable;
import com.google.gson.annotations.SerializedName;
import java.util.List;
import java.util.Map;
@SuppressWarnings("unused")
public class EditorTaskCounts {
@Nullable private Counts counts;
@Nullable private List<String> targ... | package org.wikipedia.dataclient.mwapi;
import android.support.annotation.Nullable;
import com.google.gson.annotations.SerializedName;
import java.util.List;
import java.util.Map;
@SuppressWarnings("unused")
public class EditorTaskCounts {
@Nullable private Counts counts;
@Nullable private Targets targetsPa... | Complete the model structure of editor task API response. | Complete the model structure of editor task API response.
Change-Id: Ic74903da379ed4d4910790cda1ea55c80bf84ef7
| Java | apache-2.0 | wikimedia/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia |
f5bc1bd1bea60c0bbb8ad46d60d98dec33046f4f | src/main/java/com/afterkraft/kraftrpg/entity/party/RPGPartyManager.java | src/main/java/com/afterkraft/kraftrpg/entity/party/RPGPartyManager.java | /*
* Copyright 2014 Gabriel Harris-Rouquette
*
* 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 o... | /*
* Copyright 2014 Gabriel Harris-Rouquette
*
* 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 o... | Refactor PartyManager as per API. | Refactor PartyManager as per API.
| Java | mit | AfterKraft/KraftRPG |
d0a7f679571cf97a002c0d8afe7e8ad888911abf | src/main/java/se/christianjensen/maintenance/MaintenanceConfiguration.java | src/main/java/se/christianjensen/maintenance/MaintenanceConfiguration.java | package se.christianjensen.maintenance;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.dropwizard.Configuration;
import io.dropwizard.client.JerseyClientConfiguration;
import se.christianjensen.maintenance.representation.config.UserConfiguration;
import javax.validation.Valid;
import javax.validation... | package se.christianjensen.maintenance;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.dropwizard.Configuration;
import se.christianjensen.maintenance.representation.config.UserConfiguration;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
public class MaintenanceConfigur... | Remove JerseyClientConfig from Config class | Remove JerseyClientConfig from Config class
| Java | apache-2.0 | Krillsson/sys-api,Krillsson/sys-api |
763578bfe3522b556a9a7c593cae181bad1b3fe7 | geneproduct-common/src/main/java/uk/ac/ebi/quickgo/geneproduct/common/ProteomeMembership.java | geneproduct-common/src/main/java/uk/ac/ebi/quickgo/geneproduct/common/ProteomeMembership.java | package uk.ac.ebi.quickgo.geneproduct.common;
import java.util.function.Supplier;
/**
* An enumeration of the possible states of proteome membership a gene product can have.
* @author Tony Wardell
* Date: 06/03/2018
* Time: 10:33
* Created with IntelliJ IDEA.
*/
public enum ProteomeMembership {
REFERENCE, C... | package uk.ac.ebi.quickgo.geneproduct.common;
/**
* An enumeration of the possible states of proteome membership a gene product can have.
* @author Tony Wardell
* Date: 06/03/2018
* Time: 10:33
* Created with IntelliJ IDEA.
*/
public enum ProteomeMembership {
REFERENCE("Reference"),
COMPLETE("Complete")... | Change the name of the method used to get the string representation of the ProteomeMemberhip emum - we are no longer going to rely on the library generated version. Provide the value to use | Change the name of the method used to get the string representation of the ProteomeMemberhip emum - we are no longer going to rely on the library generated version. Provide the value to use
| Java | apache-2.0 | ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE |
d0db2fa007600c53b186866e744598897a588cb8 | org.jrebirth/core/src/main/java/org/jrebirth/core/concurrent/RunInto.java | org.jrebirth/core/src/main/java/org/jrebirth/core/concurrent/RunInto.java | /**
* Get more info at : www.jrebirth.org .
* Copyright JRebirth.org © 2011-2013
* Contact : sebastien.bordes@jrebirth.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | /**
* Get more info at : www.jrebirth.org .
* Copyright JRebirth.org © 2011-2013
* Contact : sebastien.bordes@jrebirth.org
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
... | Document and inherit please :D | Document and inherit please :D | Java | apache-2.0 | amischler/JRebirth,Rizen59/JRebirth,JRebirth/JRebirth,Rizen59/JRebirth,JRebirth/JRebirth,amischler/JRebirth |
da61f2cc7c8c2f0896d84b720d23b4e71e1d800d | RangeBarSample/src/main/java/com/appyvet/rangebarsample/RecyclerViewActivity.java | RangeBarSample/src/main/java/com/appyvet/rangebarsample/RecyclerViewActivity.java | package com.appyvet.rangebarsample;
import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
impo... | package com.appyvet.rangebarsample;
import android.app.Activity;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
impo... | Use stable ids for the RecyclerView adapter | Use stable ids for the RecyclerView adapter
| Java | apache-2.0 | oli107/material-range-bar |
7500220568918ec9dd09636c9f694a2431c0d1af | src/main/java/net/bourgau/philippe/concurrency/kata/TextLineProtocol.java | src/main/java/net/bourgau/philippe/concurrency/kata/TextLineProtocol.java | package net.bourgau.philippe.concurrency.kata;
import org.apache.commons.io.IOUtils;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.Socket;
public class TextLineProtocol implements AutoCloseable {
private final So... | package net.bourgau.philippe.concurrency.kata;
import org.apache.commons.io.IOUtils;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.Socket;
import java.net.SocketException;
import java.net.SocketTimeoutException;
publ... | Make reading from sockets more robust | Make reading from sockets more robust
- throw SocketException if nothing could be read from the socket
- use timeout version of socket read
| Java | mit | philou/concurrency-kata,philou/concurrency-kata |
abbb318062cb3473f76f054bb5ca73484c8e7128 | src/main/java/org/ratchetrobotics/algorithms/ai/planning/ActionThing.java | src/main/java/org/ratchetrobotics/algorithms/ai/planning/ActionThing.java | package org.ratchetrobotics.algorithms.ai.planning;
/**
* Documentation here.
*
* @author Liam Marshall
* @version 1.0
*/
public class ActionThing {
public ActionThing(StaticPosition position) {
}
}
| package org.ratchetrobotics.algorithms.ai.planning;
import org.apache.commons.math3.geometry.euclidean.threed.Vector3D;
/**
* Documentation here.
*
* @author Liam Marshall
* @version 1.0
*/
public class ActionThing {
public ActionThing(Vector3D position) {
}
}
| Use Vector3D instead of unimplemented custom class | Use Vector3D instead of unimplemented custom class
| Java | bsd-3-clause | FTC-6806/algorithms,ratchetrobotics/algorithms |
db6dc563305c6ec2118bec2f7f7dabe690c547a3 | agent/src/main/java/com/code_intelligence/jazzer/runtime/SignalHandler.java | agent/src/main/java/com/code_intelligence/jazzer/runtime/SignalHandler.java | // Copyright 2021 Code Intelligence GmbH
//
// 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 2021 Code Intelligence GmbH
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... | Fix signal handling with --nohooks | runtime: Fix signal handling with --nohooks
| Java | apache-2.0 | CodeIntelligenceTesting/jazzer,CodeIntelligenceTesting/jazzer,CodeIntelligenceTesting/jazzer,CodeIntelligenceTesting/jazzer,CodeIntelligenceTesting/jazzer |
58d5915d70c356c150fcdd0cdce940a831014449 | android/AndroidScriptingEnvironment/src/com/google/ase/interpreter/sh/ShInterpreterProcess.java | android/AndroidScriptingEnvironment/src/com/google/ase/interpreter/sh/ShInterpreterProcess.java | /*
* Copyright (C) 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | /*
* Copyright (C) 2009 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | Add missing call to start shell scripts. | Add missing call to start shell scripts.
| Java | apache-2.0 | olapaola/olapaola-android-scripting,jeremiahmarks/sl4a,Lh4cKg/sl4a,giuliolunati/sl4a,cristiana214/cristianachavez214-cristianachavez,barbarubra/Don-t-know-What-i-m-doing.,cristiana214/cristianachavez214-cristianachavez,mSenyor/sl4a,kjc88/sl4a,SatoshiNXSimudrone/sl4a-damon-clone,vlinhd11/vlinhd11-android-scripting,kerr-... |
aa10ac1ec3010aa471fe7570cdcf2dc52e9c6ecd | ribbon-transport/src/test/java/com/netflix/client/netty/udp/HelloUdpServerExternalResource.java | ribbon-transport/src/test/java/com/netflix/client/netty/udp/HelloUdpServerExternalResource.java | package com.netflix.client.netty.udp;
import io.netty.channel.socket.DatagramPacket;
import io.reactivex.netty.protocol.udp.server.UdpServer;
import java.net.DatagramSocket;
import java.net.SocketException;
import org.junit.rules.ExternalResource;
public class HelloUdpServerExternalResource extends ExternalResource... | package com.netflix.client.netty.udp;
import io.netty.channel.socket.DatagramPacket;
import io.reactivex.netty.protocol.udp.server.UdpServer;
import java.net.DatagramSocket;
import java.net.SocketException;
import org.junit.rules.ExternalResource;
public class HelloUdpServerExternalResource extends ExternalResource... | Move server config from before() to start() | Move server config from before() to start()
| Java | apache-2.0 | bondj/ribbon,drtechniko/ribbon,roykachouh/ribbon,drmaas/ribbon,elandau/ribbon,spencergibb/ribbon,robertroeser/ribbon,enriclluelles/ribbon,brajput24/ribbon,Netflix/ribbon,elandau/ribbon |
1d525e1a1e5093469248d3e7a07d8e4e8456d601 | notification-application/src/main/java/com/smoketurner/notification/application/health/RiakHealthCheck.java | notification-application/src/main/java/com/smoketurner/notification/application/health/RiakHealthCheck.java | /**
* Copyright 2016 Smoke Turner, LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | /**
* Copyright 2016 Smoke Turner, LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | Add a proper Riak health check | Add a proper Riak health check
| Java | apache-2.0 | smoketurner/notification,smoketurner/notification |
28b431182b8b677db861a576dbf23b8c135f1502 | metrics-core/src/main/java/com/codahale/metrics/SlidingWindowReservoir.java | metrics-core/src/main/java/com/codahale/metrics/SlidingWindowReservoir.java | package com.codahale.metrics;
import static java.lang.Math.min;
/**
* A {@link Reservoir} implementation backed by a sliding window that stores the last {@code N}
* measurements.
*/
public class SlidingWindowReservoir implements Reservoir {
private final long[] measurements;
private long count;
/**
... | package com.codahale.metrics;
import static java.lang.Math.min;
/**
* A {@link Reservoir} implementation backed by a sliding window that stores the last {@code N}
* measurements.
*/
public class SlidingWindowReservoir implements Reservoir {
private final long[] measurements;
private boolean fullWindow;
pr... | Fix for ArrayOutOfBoundsException if reservoir has too many samples and causes integer overflow. | Fix for ArrayOutOfBoundsException if reservoir has too many samples and
causes integer overflow. | Java | apache-2.0 | mt0803/metrics,mattnelson/metrics,cirrus-dev/metrics,signalfx/metrics,ind9/metrics,valery1707/dropwizard-metrics,thelastpickle/metrics,slovdahl/metrics,gburton1/metrics,dropwizard/metrics,chenxianghua2014/metrics,ohr/metrics,ChetnaChaudhari/metrics,kevintvh/metrics,slachiewicz/metrics,dropwizard/metrics,randomstatistic... |
51e7232c8c515e02aae97c32e10b0e6407665fca | src/javahl/org/tigris/subversion/svnclientadapter/javahl/JhlLogMessageCallback.java | src/javahl/org/tigris/subversion/svnclientadapter/javahl/JhlLogMessageCallback.java | package org.tigris.subversion.svnclientadapter.javahl;
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
import org.tigris.subversion.javahl.ChangePath;
import org.tigris.subversion.javahl.LogMessageCallback;
import org.tigris.subversion.javahl.Revision;
public class JhlLogMessageCallback im... | package org.tigris.subversion.svnclientadapter.javahl;
import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
import org.tigris.subversion.javahl.ChangePath;
import org.tigris.subversion.javahl.LogMessageCallback;
import org.tigris.subversion.javahl.Revision;
public class JhlLogMessageCallback im... | Check if stack is empty before popping off a message. | Check if stack is empty before popping off a message.
| Java | apache-2.0 | subclipse/svnclientadapter |
ef79f03adb371650ebfe78d7376273f30a777f08 | junit5-spring/src/main/java/io/github/bonigarcia/MessageComponent.java | junit5-spring/src/main/java/io/github/bonigarcia/MessageComponent.java | /*
* (C) Copyright 2017 Boni Garcia (http://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 require... | /*
* (C) Copyright 2017 Boni Garcia (http://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 require... | Unify variable names in components(junit5-spring) | Unify variable names in components(junit5-spring)
| Java | apache-2.0 | bonigarcia/mastering-junit5,bonigarcia/mastering-junit5 |
6f3f60963cbf969e8a34ac6c47b79b7febd78b0d | geneproduct-common/src/main/java/uk/ac/ebi/quickgo/geneproduct/common/GeneProductRepository.java | geneproduct-common/src/main/java/uk/ac/ebi/quickgo/geneproduct/common/GeneProductRepository.java | package uk.ac.ebi.quickgo.geneproduct.common;
import uk.ac.ebi.quickgo.geneproduct.common.document.GeneProductDocument;
import java.util.List;
import java.util.Optional;
import org.springframework.data.solr.repository.SolrCrudRepository;
/**
* Gene product repository interface exposing methods for performing search... | package uk.ac.ebi.quickgo.geneproduct.common;
import uk.ac.ebi.quickgo.geneproduct.common.document.GeneProductDocument;
import java.util.List;
import java.util.Optional;
import org.springframework.data.solr.repository.SolrCrudRepository;
/**
* Gene product repository interface exposing methods for performing search... | Use findById as lookup method name. | Use findById as lookup method name.
| Java | apache-2.0 | ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE |
16a66ede553c5686835ff5c2132914c388689c54 | r01/src/main/java/edu/virginia/psyc/r01/persistence/AnxietyIdentity.java | r01/src/main/java/edu/virginia/psyc/r01/persistence/AnxietyIdentity.java | package edu.virginia.psyc.r01.persistence;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.mindtrails.domain.questionnaire.LinkedQuestionnaireData;
import javax.persistence.Entity;
import javax.persistence.Table;
/**
* Created by dan on 8/27/15.
*/
@Entity
@Table(name="AnxietyIdentity")
@EqualsAndH... | package edu.virginia.psyc.r01.persistence;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.mindtrails.domain.questionnaire.LinkedQuestionnaireData;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
/**
* Created by dan on 8/27/15.
*/
@Enti... | Add @NotNull validation to the Anxiety Identity java file. Keep the form hydration logic in the HTML, because the radio button options are HTML elements, not Strings. Migrating that logic to the Java file would be a pain. | Add @NotNull validation to the Anxiety Identity java file. Keep the form hydration logic in the HTML, because the radio button options are HTML elements, not Strings. Migrating that logic to the Java file would be a pain.
| Java | mit | danfunk/MindTrails,danfunk/MindTrails,danfunk/MindTrails,danfunk/MindTrails |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.