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
9d48ec9715004dd2c6a1c997116a83ce41ef9358
src/com/haxademic/core/math/easing/LinearFloat.java
src/com/haxademic/core/math/easing/LinearFloat.java
package com.haxademic.core.math.easing; public class LinearFloat implements IEasingValue { public float _val, _target, _inc; public int _delay; public LinearFloat( float value, float inc ) { _val = value; _target = value; _inc = inc; _delay = 0; } public float value() { return _val; } publ...
package com.haxademic.core.math.easing; public class LinearFloat implements IEasingValue { public float _val, _target, _inc; public int _delay; public LinearFloat( float value, float inc ) { _val = value; _target = value; _inc = inc; _delay = 0; } public float value() { return _val; } publ...
Align easing float classes API
Align easing float classes API
Java
mit
cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic
59d31c5af17044644572a6f985c779904557e3d3
java/com/google/copybara/ValidationException.java
java/com/google/copybara/ValidationException.java
/* * Copyright (C) 2016 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) 2016 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 ...
Introduce format-string version for rethrow VE
Introduce format-string version for rethrow VE We currently have the ValidationException(String, Exception) constructor, which prevents us from overloading a format String version. This introduces a VE(Exception, String, args) so that VE(String, Exception) can be deprecated. Once gone, we'll introduce VE(String, args)...
Java
apache-2.0
google/copybara,google/copybara,google/copybara
197864c6808149bb2d61a0c164b97c1b34074cfd
mod/resolver/src/main/com/thaiopensource/resolver/BasicResolver.java
mod/resolver/src/main/com/thaiopensource/resolver/BasicResolver.java
package com.thaiopensource.resolver; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.io.IOException; /** * */ public class BasicResolver implements Resolver { static private final BasicResolver theInstance = new BasicResolver(); protected BasicResolver() { } publi...
package com.thaiopensource.resolver; import java.net.URI; import java.net.URISyntaxException; import java.net.URL; import java.io.IOException; /** * */ public class BasicResolver implements Resolver { static private final BasicResolver theInstance = new BasicResolver(); protected BasicResolver() { } publi...
Add note that we need to handle HTTP redirection
Add note that we need to handle HTTP redirection
Java
bsd-3-clause
brand/jing-trang,brand/jing-trang,hanshuebner/jing-trang,brand/jing-trang,hanshuebner/jing-trang,hanshuebner/jing-trang
6d19cc0079fa4b7147182f69a283611b65848d69
src/codechicken/lib/render/ColourMultiplier.java
src/codechicken/lib/render/ColourMultiplier.java
package codechicken.lib.render; import codechicken.lib.colour.ColourRGBA; public class ColourMultiplier implements CCRenderState.IVertexOperation { private static ColourMultiplier instance = new ColourMultiplier(-1); public static ColourMultiplier instance(int colour) { instance.colour = colour; ...
package codechicken.lib.render; import codechicken.lib.colour.ColourRGBA; public class ColourMultiplier implements CCRenderState.IVertexOperation { private static ColourMultiplier instance = new ColourMultiplier(-1); public static ColourMultiplier instance(int colour) { instance.colour = colour; ...
Fix colour not being set when a colour multiplier with white was added
Fix colour not being set when a colour multiplier with white was added
Java
lgpl-2.1
TheCBProject/CodeChickenLib,alexbegt/CodeChickenLib,Chicken-Bones/CodeChickenLib,KJ4IPS/CodeChickenLib
bf8ad36cd78d423f1cbaefe75d80653547c0febf
gradle/DumpOpenFiles.java
gradle/DumpOpenFiles.java
import java.time.format.*; import java.time.*; import java.io.*; import java.nio.file.*; import java.net.*; import java.util.*; public class DumpOpenFiles { public static void main(String[] args) throws Exception { String url = "http://localhost:" + parsePort() + "/dump"; System.out.println("Sendin...
import java.time.format.*; import java.time.*; import java.io.*; import java.nio.file.*; import java.net.*; import java.util.*; public class DumpOpenFiles { public static void main(String[] args) throws Exception { String url = "http://localhost:" + parsePort() + "/dump"; System.out.println("Sendin...
Revert "Not fail the build if file-leak-detector server down"
Revert "Not fail the build if file-leak-detector server down" This reverts commit f4003e6e794f75517f160c46e19bed52fc5a0165.
Java
apache-2.0
blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpira...
1553ad3adffb152a151962b3b12918c0634850ed
libs/voice/src/main/java/com/africastalking/IVoice.java
libs/voice/src/main/java/com/africastalking/IVoice.java
package com.africastalking; import retrofit2.Call; import retrofit2.http.*; interface IVoice { @FormUrlEncoded @POST("call") Call<String> call(@Field("username") String username, @Field("to") String to, @Field("from") String from); @GET("/queueStatus") Call<String> queueSta...
package com.africastalking; import retrofit2.Call; import retrofit2.http.*; interface IVoice { @FormUrlEncoded @POST("call") Call<String> call(@Field("username") String username, @Field("to") String to, @Field("from") String from); @FormUrlEncoded @POST("/queueStatus") ...
Fix HTTP method on voice fetch queued calls
Fix HTTP method on voice fetch queued calls
Java
mit
AfricasTalkingLtd/africastalking-java,AfricasTalkingLtd/africastalking-java,aksalj/africastalking-java,AfricasTalkingLtd/africastalking-java,aksalj/africastalking-java,aksalj/africastalking-java
fd62bb9304147125a6ee70cebeaa34add1b35d4a
javatests/com/google/gerrit/acceptance/api/plugin/PluginLoaderIT.java
javatests/com/google/gerrit/acceptance/api/plugin/PluginLoaderIT.java
// Copyright (C) 2019 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
// Copyright (C) 2019 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
Migrate from strongly discouraged @Test(expected = ...) to assertThrows(...).
Migrate from strongly discouraged @Test(expected = ...) to assertThrows(...). We got an internal auto-generated cleanup CL. Release-Notes: skip Change-Id: I40bfdf671f7ef25b23c79a60e505cd5d6a54eb82
Java
apache-2.0
GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit
37e7bcc3c1389e93b8504c1deab0543d16f5e736
src/main/java/com/foundationdb/qp/operator/OperatorCursor.java
src/main/java/com/foundationdb/qp/operator/OperatorCursor.java
/** * Copyright (C) 2009-2013 FoundationDB, LLC * * 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 version 3 of the License, or * (at your option) any later version. * * Thi...
/** * Copyright (C) 2009-2013 FoundationDB, LLC * * 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 version 3 of the License, or * (at your option) any later version. * * Thi...
Remove the code instead of having the compiler do this.
Remove the code instead of having the compiler do this.
Java
agpl-3.0
jaytaylor/sql-layer,shunwang/sql-layer-1,wfxiang08/sql-layer-1,ngaut/sql-layer,relateiq/sql-layer,wfxiang08/sql-layer-1,wfxiang08/sql-layer-1,relateiq/sql-layer,shunwang/sql-layer-1,qiuyesuifeng/sql-layer,shunwang/sql-layer-1,qiuyesuifeng/sql-layer,relateiq/sql-layer,qiuyesuifeng/sql-layer,wfxiang08/sql-layer-1,shunwan...
08732041f7ccf35adc848a1f0dc188d8cfe4d578
src/main/java/me/hugmanrique/pokedata/tiles/TilesetHeader.java
src/main/java/me/hugmanrique/pokedata/tiles/TilesetHeader.java
package me.hugmanrique.pokedata.tiles; import lombok.Getter; import me.hugmanrique.pokedata.Data; import me.hugmanrique.pokedata.roms.ROM; /** * http://datacrystal.romhacking.net/wiki/Pok%C3%A9mon_3rd_Generation#Maps * @author Hugmanrique * @since 02/07/2017 */ @Getter public class TilesetHeader extends Data { ...
package me.hugmanrique.pokedata.tiles; import lombok.Getter; import me.hugmanrique.pokedata.Data; import me.hugmanrique.pokedata.roms.ROM; /** * http://datacrystal.romhacking.net/wiki/Pok%C3%A9mon_3rd_Generation#Maps * @author Hugmanrique * @since 02/07/2017 */ @Getter public class TilesetHeader extends Data { ...
Remove tileset load debug message
Remove tileset load debug message
Java
mit
hugmanrique/PokeData
2d4a29cf310251e95e5a5c400e10b6bd9ad0375d
src/test/java/com/flexibledeveloper/observer/ObserverTest.java
src/test/java/com/flexibledeveloper/observer/ObserverTest.java
package com.flexibledeveloper.observer; import org.junit.Test; /** * Created by kharyam on 5/17/14. */ public class ObserverTest { @Test public void nominalBehavior() { ConcreteSubject subject = new ConcreteSubject(); Data originalData = new Data("Original Value 1","Original Value 2","Original Value 3"...
package com.flexibledeveloper.observer; import org.junit.Test; /** * Created by kharyam on 5/17/14. */ public class ObserverTest { @Test public void nominalBehavior() { System.out.println("Creating Subject"); ConcreteSubject subject = new ConcreteSubject(); Data originalData = new Data("Original V...
Test the removal of an observer.
Test the removal of an observer.
Java
mit
kharyam/ObserverExample
4e1e46cb989f56f8d69375f33cabbf565200fcdb
src/main/java/com/elmakers/mine/bukkit/action/BaseTeleportAction.java
src/main/java/com/elmakers/mine/bukkit/action/BaseTeleportAction.java
package com.elmakers.mine.bukkit.action; import com.elmakers.mine.bukkit.api.action.CastContext; import org.bukkit.Location; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.entity.Entity; public abstract class BaseTeleportAction extends BaseSpellAction { protected int verticalSearchDistanc...
package com.elmakers.mine.bukkit.action; import com.elmakers.mine.bukkit.api.action.CastContext; import com.elmakers.mine.bukkit.api.spell.SpellResult; import org.bukkit.Location; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.entity.Entity; public abstract class BaseTeleportAction extends Ba...
Add require_build parameter to teleport actions
Add require_build parameter to teleport actions
Java
mit
elBukkit/MagicLib,elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin
0453806963d3424a888c6800bcef29b04887c47e
src/main/java/de/schlegel11/eventdispatcher/EventListenerWrapper.java
src/main/java/de/schlegel11/eventdispatcher/EventListenerWrapper.java
package de.schlegel11.eventdispatcher; import java.util.EventListener; import java.util.Objects; /** * Created by schlegel11 on 05.11.14. */ final class EventListenerWrapper { public final static int INFINITE_CALLS = -1; private final EventListener listener; private final int maxCalls; private int ...
package de.schlegel11.eventdispatcher; import java.util.EventListener; import java.util.Objects; /** * Created by schlegel11 on 05.11.14. */ final class EventListenerWrapper { public static final EventListenerWrapper DUMMY_ELW = new EventListenerWrapper(); public final static int INFINITE_CALLS = -1; p...
Add final modifier to method arguments. Add dummy object which represents an empty elw.
Add final modifier to method arguments. Add dummy object which represents an empty elw.
Java
mit
schlegel11/EventDispatcher
bf40f7087907537acd4b87577ba8fc16849e6087
src/main/java/org/restheart/extensions/Service.java
src/main/java/org/restheart/extensions/Service.java
/* * RESTHeart - the Web API for MongoDB * Copyright (C) SoftInstigate Srl * * 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 version 3 of the * License, or (at your option)...
/* * RESTHeart - the Web API for MongoDB * Copyright (C) SoftInstigate Srl * * 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 version 3 of the * License, or (at your option)...
Add annotation for service extension
Add annotation for service extension
Java
agpl-3.0
SoftInstigate/restheart,SoftInstigate/restheart,SoftInstigate/restheart,SoftInstigate/restheart
e77acdd0299c4e29b4229b98bcfefe867578607a
src/main/java/stream/flarebot/flarebot/objects/RestActionWrapper.java
src/main/java/stream/flarebot/flarebot/objects/RestActionWrapper.java
package stream.flarebot.flarebot.objects; import net.dv8tion.jda.core.requests.RestAction; import stream.flarebot.flarebot.commands.Command; public class RestActionWrapper { private final RestAction action; private final Class<? extends Command> origin; public RestActionWrapper(RestAction action, Class<...
package stream.flarebot.flarebot.objects; import net.dv8tion.jda.core.requests.RestAction; import stream.flarebot.flarebot.commands.Command; public class RestActionWrapper { private final RestAction action; private final Class<? extends Command> origin; public RestActionWrapper(RestAction action, Class<...
Implement to equals and hashcode
Implement to equals and hashcode
Java
mit
FlareBot/FlareBot,weeryan17/FlareBot,binaryoverload/FlareBot
886b25c9e31ea3b191be3c21b5cb9e105f4f3bc1
test/net/fortuna/ical4j/model/parameter/AltRepTest.java
test/net/fortuna/ical4j/model/parameter/AltRepTest.java
/* * $Id: AltRepTest.java [23-Apr-2004] * * Copyright (c) 2004, Ben Fortuna All rights reserved. */ package net.fortuna.ical4j.model.parameter; import java.net.URI; import java.net.URISyntaxException; import net.fortuna.ical4j.model.Parameter; import net.fortuna.ical4j.model.ParameterFactoryImpl; import junit.fr...
/* * $Id: AltRepTest.java [23-Apr-2004] * * Copyright (c) 2004, Ben Fortuna All rights reserved. */ package net.fortuna.ical4j.model.parameter; import java.net.URI; import java.net.URISyntaxException; import net.fortuna.ical4j.model.Parameter; import net.fortuna.ical4j.model.ParameterFactoryImpl; import junit.fr...
Update invalid URI to correctly throw exception
Update invalid URI to correctly throw exception
Java
bsd-3-clause
amannm/ical4j,amannm/ical4j,tschaible/ical4j,ical4j/ical4j,voronaam/ical4j,ical4j/ical4j,amannm/ical4j,tschaible/ical4j,voronaam/ical4j,ical4j/ical4j,ariordan/ical4j,ariordan/ical4j,ariordan/ical4j,tschaible/ical4j,voronaam/ical4j
9a4e7f6051b88cfaf87a4a5fe4d2f356a727af35
app/src/main/java/br/com/bloder/blorm/MainActivity.java
app/src/main/java/br/com/bloder/blorm/MainActivity.java
package br.com.bloder.blorm; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import br.com.bloder.blormlib.Blorm; import br.com.bloder.blormlib.validation.Action; import static br.com.bloder.blormlib...
package br.com.bloder.blorm; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.widget.Button; import android.widget.CheckBox; import android.widget.EditText; import android.widget.Toast; import br.com.bloder.blormlib.Blorm; import br.com.bloder.blormlib.validation.Action; impo...
Add checkbox validation in main activity
Add checkbox validation in main activity
Java
mit
bloder/Blorm
6c8b68183d1c2bfca0340e312575717d362d3b28
ReactAndroid/src/main/java/com/facebook/react/fabric/FabricBinder.java
ReactAndroid/src/main/java/com/facebook/react/fabric/FabricBinder.java
/** * Copyright (c) 2014-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.react.fabric; public interface FabricBinder { void setBinding(FabricBinding binding); }
/** * Copyright (c) 2014-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.react.fabric; public interface FabricBinder<T extends FabricBinding> { void setBinding(T binding); }
Initialize FabricXX C++ code and register rootview
Initialize FabricXX C++ code and register rootview Summary: This diff initializes Fabric C++ UIManager code from java, it also registers android RootViews inside C++. Reviewed By: shergin Differential Revision: D8794819 fbshipit-source-id: b4d1d0958a3f8e01d4a51be957d9a2e2f442489e
Java
bsd-3-clause
pandiaraj44/react-native,exponentjs/react-native,hammerandchisel/react-native,javache/react-native,janicduplessis/react-native,pandiaraj44/react-native,hoangpham95/react-native,arthuralee/react-native,javache/react-native,janicduplessis/react-native,arthuralee/react-native,myntra/react-native,exponentjs/react-native,ja...
84e6295f27c44e1aacc0f76bd8c5144a5789477e
src/main/java/mezz/jei/TooltipEventHandler.java
src/main/java/mezz/jei/TooltipEventHandler.java
package mezz.jei; import javax.annotation.Nonnull; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.util.EnumChatFormatting; import net.minecraftforge.event.entity.player.ItemTooltipEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import me...
package mezz.jei; import javax.annotation.Nonnull; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.util.EnumChatFormatting; import net.minecraftforge.event.entity.player.ItemTooltipEvent; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import me...
Make mod name tooltip italic
Make mod name tooltip italic
Java
mit
Adaptivity/JustEnoughItems,mezz/JustEnoughItems,way2muchnoise/JustEnoughItems,Adaptivity/JustEnoughItems,mezz/JustEnoughItems
cbde377559c912cf28458234e0bcbd3b7b0bc7c4
src/main/java/water/api/TypeaheadFileRequest.java
src/main/java/water/api/TypeaheadFileRequest.java
package water.api; import java.io.File; import com.google.gson.*; public class TypeaheadFileRequest extends TypeaheadRequest { public TypeaheadFileRequest() { super("Provides a simple JSON array of filtered local files.",""); } @Override protected JsonArray serve(String filter, int limit) { File b...
package water.api; import java.io.File; import com.google.gson.*; public class TypeaheadFileRequest extends TypeaheadRequest { public TypeaheadFileRequest() { super("Provides a simple JSON array of filtered local files.",""); } @Override protected JsonArray serve(String filter, int limit) { File b...
Fix NPE for mispelled/missing directories in type-ahead file lookup
Fix NPE for mispelled/missing directories in type-ahead file lookup
Java
apache-2.0
100star/h2o,elkingtonmcb/h2o-2,h2oai/h2o,rowhit/h2o-2,eg-zhang/h2o-2,100star/h2o,h2oai/h2o-2,elkingtonmcb/h2o-2,100star/h2o,h2oai/h2o,calvingit21/h2o-2,eg-zhang/h2o-2,h2oai/h2o-2,elkingtonmcb/h2o-2,rowhit/h2o-2,rowhit/h2o-2,eg-zhang/h2o-2,rowhit/h2o-2,calvingit21/h2o-2,eg-zhang/h2o-2,h2oai/h2o-2,vbelakov/h2o,111t8e/h2o...
02d5a5ca2e3c5330000cd43e7219206b504064e9
src/main/java/de/croesch/diff/subject/BasicSubject.java
src/main/java/de/croesch/diff/subject/BasicSubject.java
package de.croesch.diff.subject; import de.croesch.diff.subject.api.Subject; /** * The basic implementation of a Subject, contains code that all Subjects share. * * @param <CT> the type of the content this subject represents */ public abstract class BasicSubject<CT extends Object> implements Subject { /** the r...
package de.croesch.diff.subject; import de.croesch.diff.subject.api.Subject; /** * The basic implementation of a Subject, contains code that all Subjects share. * * @param <CT> the type of the content this subject represents */ public abstract class BasicSubject<CT extends Object> implements Subject { /** the r...
Implement toString() for debug purposes.
Implement toString() for debug purposes.
Java
bsd-3-clause
croesch/oblodiff,croesch/diff
0330ac5e6e4b3ff5701a7e299e1ae3d53c6c90d2
src/test/java/ee/shy/storage/FileStorageTest.java
src/test/java/ee/shy/storage/FileStorageTest.java
package ee.shy.storage; import org.junit.Before; import java.nio.file.Path; import java.util.Arrays; public class FileStorageTest extends DataStorageTest { private Path storageDirectory; @Before public void setUp() throws Exception { storageDirectory = temporaryDirectory.newDirectory("storage");...
package ee.shy.storage; import org.apache.commons.io.IOUtils; import org.junit.Before; import org.junit.Test; import java.nio.file.Path; import java.util.Arrays; public class FileStorageTest extends DataStorageTest { private Path storageDirectory; @Before public void setUp() throws Exception { s...
Add test for hash mismatch checking
Add test for hash mismatch checking
Java
mit
sim642/shy,sim642/shy
f47e311b15312fae789367de5e8ef7f7cf2f15c8
src/test/java/xyz/openmodloader/test/OMLTestMod.java
src/test/java/xyz/openmodloader/test/OMLTestMod.java
package xyz.openmodloader.test; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.List; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import xyz.openmodloader.modloader.Mod; public class OMLTestMod implements Mod { privat...
package xyz.openmodloader.test; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.util.List; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import xyz.openmodloader.modloader.Mod; public class OMLTestMod implements Mod { privat...
Allow disabling of the test mod by setting a system property
Allow disabling of the test mod by setting a system property Simply add the JVM flag "-Doml.testmod.disable=true", and get rid of all the log spam
Java
mit
Strikingwolf/OpenModLoader
0e25ed73e5ee7ef489daf51ef5720bc580cc009e
src/main/java/com/github/blindpirate/gogradle/core/mode/BuildMode.java
src/main/java/com/github/blindpirate/gogradle/core/mode/BuildMode.java
package com.github.blindpirate.gogradle.core.mode; import com.github.blindpirate.gogradle.core.dependency.GolangDependencySet; import static com.github.blindpirate.gogradle.core.dependency.GolangDependencySet.merge; public enum BuildMode { DEVELOP { @Override public GolangDependencySet determine(...
package com.github.blindpirate.gogradle.core.mode; import com.github.blindpirate.gogradle.core.dependency.GolangDependencySet; import static com.github.blindpirate.gogradle.core.dependency.GolangDependencySet.merge; public enum BuildMode { DEVELOP { @Override public GolangDependencySet determine(...
Adjust order of dependency set in DEVELOP mode
Adjust order of dependency set in DEVELOP mode
Java
apache-2.0
gogradle/gogradle,blindpirate/gogradle,gogradle/gogradle,blindpirate/gogradle,gogradle/gogradle,gogradle/gogradle
2ca428e2c4e0be9c9df0aeff88025a9200d6b74a
Magic/src/main/java/com/elmakers/mine/bukkit/entity/EntityWolfData.java
Magic/src/main/java/com/elmakers/mine/bukkit/entity/EntityWolfData.java
package com.elmakers.mine.bukkit.entity; import org.bukkit.DyeColor; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.entity.Entity; import org.bukkit.entity.Wolf; import com.elmakers.mine.bukkit.api.magic.MageController; public class EntityWolfData extends EntityAnimalData { private boole...
package com.elmakers.mine.bukkit.entity; import org.bukkit.DyeColor; import org.bukkit.configuration.ConfigurationSection; import org.bukkit.entity.Entity; import org.bukkit.entity.Wolf; import com.elmakers.mine.bukkit.api.magic.MageController; public class EntityWolfData extends EntityAnimalData { private boole...
Fix NPE in applying wolf entity data from config
Fix NPE in applying wolf entity data from config
Java
mit
elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin
aeff47a69b40e9a2283108cd3e5f43bbd29f16d0
src/main/java/com/avairebot/orion/commands/CommandHandler.java
src/main/java/com/avairebot/orion/commands/CommandHandler.java
package com.avairebot.orion.commands; import net.dv8tion.jda.core.entities.Message; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; public class CommandHandler { private static final Map<List<String>, CommandContainer> commands = new HashMap<>(); public s...
package com.avairebot.orion.commands; import net.dv8tion.jda.core.entities.Message; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; public class CommandHandler { private static final Map<List<String>, CommandContainer> commands = new HashMap<>(); public s...
Add getCommand handler for strings
Add getCommand handler for strings
Java
mit
AvaIre/AvaIre,AvaIre/AvaIre
afbd9574fbdd65d7be83cc431304908f55c3fb26
src/main/java/info/u_team/u_team_core/container/FluidSlot.java
src/main/java/info/u_team/u_team_core/container/FluidSlot.java
package info.u_team.u_team_core.container; import info.u_team.u_team_core.api.fluid.IFluidHandlerModifiable; import net.minecraftforge.fluids.FluidStack; public class FluidSlot { private final IFluidHandlerModifiable fluidHandler; private final int index; private final int x; private final int y; public Flui...
package info.u_team.u_team_core.container; import info.u_team.u_team_core.api.fluid.IFluidHandlerModifiable; import net.minecraftforge.fluids.FluidStack; public class FluidSlot { private final IFluidHandlerModifiable fluidHandler; private final int index; private final int x; private final int y; public Flui...
Add isEnable method to the slot for render things
Add isEnable method to the slot for render things
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
fc8a2c0fdfec8db082507999a655e1a67ec29312
src/main/java/net/liquidpineapple/pang/SoundEffect.java
src/main/java/net/liquidpineapple/pang/SoundEffect.java
package net.liquidpineapple.pang; import lombok.Getter; /** * @author Govert de Gans * @date 2016-10-25 */ public final class SoundEffect { public static final SoundEffect COLLECT_COIN = new SoundEffect("coin"); public static final SoundEffect COLLECT_BOMB = new SoundEffect("genericPowerup"); public static f...
package net.liquidpineapple.pang; /** * @author Govert de Gans * @date 2016-10-25 */ public final class SoundEffect { public static final SoundEffect COLLECT_COIN = new SoundEffect("coin"); public static final SoundEffect COLLECT_BOMB = new SoundEffect("genericPowerup"); public static final SoundEffect COLLEC...
Write getName() manually instead of using lombok to please PMD
Write getName() manually instead of using lombok to please PMD
Java
mit
Fastjur/SEM-Project,Fastjur/SEM-Project
33a2e650fecc572ca5ac0b1aadf10da37dee3d45
katapotter/src/main/java/com/flipper83/katapotter/BasketCalculator.java
katapotter/src/main/java/com/flipper83/katapotter/BasketCalculator.java
package com.flipper83.katapotter; import java.util.List; public class BasketCalculator { public int calculatePrice(List<String> books) { return 0; } }
package com.flipper83.katapotter; import java.util.List; public class BasketCalculator { private static final int BOOK_PRICE = 8; public int calculatePrice(List<String> books) { int amount = BOOK_PRICE * books.size(); return amount; } }
Return valid total amount for a basket with one book
[Green] Return valid total amount for a basket with one book
Java
apache-2.0
flipper83/KattaPotter
5dcec307c1cb638d5d56b05fd84a70bfa5cd6043
src/main/java/io/appium/java_client/CommandExecutionHelper.java
src/main/java/io/appium/java_client/CommandExecutionHelper.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * You may obtain a copy of the License at * * http://www.apache....
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * You may obtain a copy of the License at * * http://www.apache....
Remove redundant type parameter extension of Object
Remove redundant type parameter extension of Object
Java
apache-2.0
TikhomirovSergey/java-client,SrinivasanTarget/java-client,SrinivasanTarget/java-client,TikhomirovSergey/java-client,SrinivasanTarget/java-client,saikrishna321/java-client,appium/java-client,TikhomirovSergey/java-client,saikrishna321/java-client,TikhomirovSergey/java-client,appium/java-client,saikrishna321/java-client,S...
28537f81932c87e99e6ae99bf65a5cc3d98b6549
butterknife/src/main/java/butterknife/InjectView.java
butterknife/src/main/java/butterknife/InjectView.java
package butterknife; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.RetentionPolicy.RUNTIME; @Retention(RUNTIME) @Target(FIELD) public @interface InjectView { int value(); }
package butterknife; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.RetentionPolicy.CLASS; @Retention(CLASS) @Target(FIELD) public @interface InjectView { int value(); }
Reduce the retention of the annotation to compile-time only.
Reduce the retention of the annotation to compile-time only.
Java
apache-2.0
JasonWKS/butterknife,chuangWu/butterknife,kevinmost/butterknife,oguzbabaoglu/butterfork,littlezan/butterknife,Orbar/butterknife,treejames/butterknife,KristenXu/butterknife,renatohsc/butterknife,tanweijiu/butterknife,ChinaKim/butterknife,NortonAhu/butterknife,rajyvan/butterknife,yuanbo1026/butterknife,wuseal/butterknife...
eac95dda71d81dfefbf99364ae448def49714cc1
src/main/java/edu/cwru/sicu_sms/TemporalPlot.java
src/main/java/edu/cwru/sicu_sms/TemporalPlot.java
/* *\ ** SICU Stress Measurement System ** ** Project P04 | C380 Team A ** ** EBME 380: Biomedical Engineering Design Experience ** ** ...
/* *\ ** SICU Stress Measurement System ** ** Project P04 | C380 Team A ** ** EBME 380: Biomedical Engineering Design Experience ** ** ...
Add 'temporalChart' as FXML-injected field
Add 'temporalChart' as FXML-injected field
Java
apache-2.0
SICU-Stress-Measurement-System/frontend-java
17c68b621e5b869802dadae1857baa158572800f
src/test/java/com/springapp/batch/CompareEntryTest.java
src/test/java/com/springapp/batch/CompareEntryTest.java
package com.springapp.batch; import com.springapp.batch.bo.Person; import org.joda.time.DateTime; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.runners.MockitoJUnitRunner; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; @RunWith(Mo...
package com.springapp.batch; import com.springapp.batch.bo.Person; import org.joda.time.DateTime; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.runners.MockitoJUnitRunner; import static org.junit.Assert.fail; import static org.mockito.Mockito.mock; import static o...
Add new test to see if we are failing correctly
Add new test to see if we are failing correctly
Java
mit
rafelbev/address-book
03dabdb0fd6af5ef5784d795d3953ca4e7175ce5
android/src/com/gdxjam/base/android/AndroidLauncher.java
android/src/com/gdxjam/base/android/AndroidLauncher.java
package com.gdxjam.base.android; import android.os.Bundle; import com.badlogic.gdx.backends.android.AndroidApplication; import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration; import com.gdxjam.Main; public class AndroidLauncher extends AndroidApplication { @Override protected void onCreate (Bund...
package com.gdxjam.base.android; import android.os.Bundle; import com.badlogic.gdx.backends.android.AndroidApplication; import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration; import com.gdxjam.Main; public class AndroidLauncher extends AndroidApplication { @Override protected void onCreate (Bund...
Revert "Android build now uses immersive mode."
Revert "Android build now uses immersive mode." This reverts commit fee8b18cf00d8d566e35ae2d97d413d1f15c36af.
Java
mit
lanen/GDXJam,Twiebs/GDXJam,Twiebs/GDXJam,lanen/GDXJam,libgdx-jam/GDXJam,libgdx-jam/GDXJam,Twiebs/GDXJam,lanen/GDXJam,libgdx-jam/GDXJam
5953acb8d720489d63f0bb8fe61da2180bf0926c
src/main/java/com/github/aureliano/verbum_domini/domain/bean/IBean.java
src/main/java/com/github/aureliano/verbum_domini/domain/bean/IBean.java
package com.github.aureliano.verbum_domini.domain.bean; import java.io.Serializable; public interface IBean extends Serializable { public abstract <T extends Object> T toResource(); }
package com.github.aureliano.verbum_domini.domain.bean; import java.io.Serializable; public interface IBean extends Serializable { public abstract Integer getId(); public abstract <T extends Object> T toResource(); }
Define id reader as contract method.
Define id reader as contract method.
Java
mit
aureliano/verbum-domini,aureliano/verbum-domini,aureliano/verbum-domini,aureliano/verbum-domini
854c6cfbccf355bf1474a37da908ad27aba735a3
src/main/java/com/skelril/skree/content/world/VoidTerrainGenerator.java
src/main/java/com/skelril/skree/content/world/VoidTerrainGenerator.java
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package com.skelril.skree.content.world; import com.flowpowered.math.vector.Vector3i; import org.spongepowere...
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package com.skelril.skree.content.world; import org.spongepowered.api.world.World; import org.spongepowered.a...
Revert changes to the Void Terrain Generator
Revert changes to the Void Terrain Generator
Java
mpl-2.0
Skelril/Skree
e84bc6206d32e5d399232303652c497bcc462857
src/test/java/com/alexrnl/commons/utils/object/ComparisonErrorTest.java
src/test/java/com/alexrnl/commons/utils/object/ComparisonErrorTest.java
package com.alexrnl.commons.utils.object; import static org.junit.Assert.fail; import org.junit.Before; import org.junit.Test; /** * Test suite for the {@link ComparisonError} class. * @author Alex */ public class ComparisonErrorTest { /** * Set up attributes. */ @Before public void setUp () { } /** ...
package com.alexrnl.commons.utils.object; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; import org.junit.Test; /** * Test suite for the {@link ComparisonError} class. * @author Alex */ public class ComparisonErrorTest { /** A blank error */ private final ComparisonError...
Implement tests of ComparisonError class
Implement tests of ComparisonError class
Java
bsd-3-clause
AlexRNL/Commons
d3d430827feea3a415a0709bd4f750b3c70d9b3b
common/cpw/mods/fml/common/event/FMLPostInitializationEvent.java
common/cpw/mods/fml/common/event/FMLPostInitializationEvent.java
package cpw.mods.fml.common.event; import cpw.mods.fml.common.LoaderState.ModState; public class FMLPostInitializationEvent extends FMLStateEvent { public FMLPostInitializationEvent(Object... data) { super(data); } @Override public ModState getModState() { return ModState.POST...
package cpw.mods.fml.common.event; import com.google.common.base.Throwables; import cpw.mods.fml.common.Loader; import cpw.mods.fml.common.LoaderState.ModState; public class FMLPostInitializationEvent extends FMLStateEvent { public FMLPostInitializationEvent(Object... data) { super(data); } ...
Add in a convenience method for getting a class instance based on existence of another Mod. Useful for soft dependencies.
Add in a convenience method for getting a class instance based on existence of another Mod. Useful for soft dependencies.
Java
lgpl-2.1
aerospark/FML,aerospark/FML,aerospark/FML,MinecraftForge/FML
988d0803be88a9c4dae67961267dc2440c80851c
android/src/main/java/org/vovkasm/WebImage/WebImagePackage.java
android/src/main/java/org/vovkasm/WebImage/WebImagePackage.java
package org.vovkasm.WebImage; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.Collections; import java.u...
package org.vovkasm.WebImage; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.Collections; import java.util.List; public class WebImagePackage implements ...
Fix for RN 0.47 breaking change.
Fix for RN 0.47 breaking change.
Java
mit
vovkasm/react-native-web-image,vovkasm/react-native-web-image,vovkasm/react-native-web-image,vovkasm/react-native-web-image
5b012c8cf95a79e9901278e6b3f30fbc7e31cd55
blormlib/src/main/java/br/com/bloder/blormlib/Blorm.java
blormlib/src/main/java/br/com/bloder/blormlib/Blorm.java
package br.com.bloder.blormlib; import android.view.View; import java.util.ArrayList; import java.util.List; import br.com.bloder.blormlib.validation.Validate; import br.com.bloder.blormlib.validation.Validation; /** * Created by bloder on 05/06/16. */ public class Blorm { public static class Builder { pr...
package br.com.bloder.blormlib; import android.view.View; import java.util.ArrayList; import java.util.List; import br.com.bloder.blormlib.validation.Validate; import br.com.bloder.blormlib.validation.Validation; /** * Created by bloder on 05/06/16. */ public class Blorm { public static class Builder { pr...
Add on click listener in on submit function
Add on click listener in on submit function
Java
mit
bloder/Blorm
576bdab0b3efbbee9cab32db37bedd4b8e7c29b4
src/main/java/com/mooo/aimmac23/hub/proxy/ReliableCapabilityMatcher.java
src/main/java/com/mooo/aimmac23/hub/proxy/ReliableCapabilityMatcher.java
package com.mooo.aimmac23.hub.proxy; import java.util.Map; import org.openqa.grid.internal.utils.CapabilityMatcher; public class ReliableCapabilityMatcher implements CapabilityMatcher { private CapabilityMatcher innerMatcher; private ReliableProxy proxy; public ReliableCapabilityMatcher(ReliableProxy proxy, Ca...
package com.mooo.aimmac23.hub.proxy; import java.util.Map; import org.openqa.grid.internal.utils.CapabilityMatcher; public class ReliableCapabilityMatcher implements CapabilityMatcher { private CapabilityMatcher innerMatcher; private ReliabilityAwareProxy proxy; public ReliableCapabilityMatcher(ReliabilityAwar...
Use the interface for this
Use the interface for this
Java
mit
aimmac23/selenium-reliable-node-plugin
04e78dc0a0650f8d53fc16bd7132d2f8b3a56035
src/test/java/io/github/jordao76/quotes/QuoteControllerTest.java
src/test/java/io/github/jordao76/quotes/QuoteControllerTest.java
package io.github.jordao76.quotes; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*; import org.junit.*; import org.junit.runner.*; import org.springframework.beans.factory.annotation.*; import org.sp...
package io.github.jordao76.quotes; import static org.hamcrest.Matchers.*; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*; import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*; import org.junit.*; import org.junit.runner.*; import org.springframework.be...
Check for some JSON content in the test
Check for some JSON content in the test
Java
mit
jordao76/quotes,Laesod/quotes
18f6dbe50163cd8a3af56aeb1248aacec5f507f2
src/org/usfirst/frc/team2503/r2016/component/Intake.java
src/org/usfirst/frc/team2503/r2016/component/Intake.java
package org.usfirst.frc.team2503.r2016.component; import edu.wpi.first.wpilibj.DigitalInput; import edu.wpi.first.wpilibj.SpeedController; public class Intake extends SpeedControllerComponent { public enum IntakeMode { UNKNOWN, STOPPED, INBOUND, OUTBOUND, FIRE } public DigitalInput limitSwitch; priv...
package org.usfirst.frc.team2503.r2016.component; import edu.wpi.first.wpilibj.DigitalInput; import edu.wpi.first.wpilibj.SpeedController; public class Intake extends SpeedControllerComponent { public enum IntakeMode { UNKNOWN, STOPPED, INBOUND, OUTBOUND, FIRE } public DigitalInput limitSwitch; priv...
Use this. notation instead of expecting things to autocomplete to ivs
Use this. notation instead of expecting things to autocomplete to ivs
Java
mit
frc2503/r2016
340beac18fd1de100b2f3ee521034a0dd35f4d9f
src/com/devinhartzell/chess/gui/PawnPromotionWindow.java
src/com/devinhartzell/chess/gui/PawnPromotionWindow.java
package com.devinhartzell.chess.gui; import javax.swing.JFrame; public class PawnPromotionWindow extends JFrame { private static final long serialVersionUID = -1686304609750241736L; public PawnPromotionWindow() { getContentPane().setLayout(null); setSize(400, 200); } }
package com.devinhartzell.chess.gui; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.JTextArea; public class PawnPromotionWindow extends JFrame { private static final long serialVersionUID = -1686304609750241736L; public PawnPromotionWindow() { super("Pawn Promotion"); getContentPan...
Add a pawn promotion window with no functionality
Add a pawn promotion window with no functionality
Java
epl-1.0
dchotzen-hartzell/Chess
f6c16e6fafa73fd8a1cf1c5f01b030dc845ebbb4
src/java/com/threerings/media/SafeScrollPane.java
src/java/com/threerings/media/SafeScrollPane.java
// // $Id: SafeScrollPane.java,v 1.6 2002/11/05 21:03:31 mdb Exp $ package com.threerings.media; import java.awt.Component; import java.awt.Point; import javax.swing.JComponent; import javax.swing.JScrollPane; import javax.swing.JViewport; /** * A scroll pane that is safe to use in frame managed views. */ public ...
// // $Id: SafeScrollPane.java,v 1.7 2003/03/22 01:56:09 mdb Exp $ package com.threerings.media; import java.awt.Component; import java.awt.Dimension; import java.awt.Point; import javax.swing.JComponent; import javax.swing.JScrollPane; import javax.swing.JViewport; /** * A scroll pane that is safe to use in frame...
Allow preferred width or height to be overridden since it seems that JScrollPane will happily return some insane value when it's wrapping an empty JList.
Allow preferred width or height to be overridden since it seems that JScrollPane will happily return some insane value when it's wrapping an empty JList. git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@2314 542714f4-19e9-0310-aa3c-eee0fc999fb1
Java
lgpl-2.1
threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya
3feea3eb6bf633b9f7ede2b88235a293c0e2305b
src/main/groovy/transform/Generated.java
src/main/groovy/transform/Generated.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")...
/* * 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")...
Remove author tags from javadoc
Remove author tags from javadoc
Java
apache-2.0
traneHead/groovy-core,apache/groovy,traneHead/groovy-core,apache/incubator-groovy,jwagenleitner/incubator-groovy,shils/groovy,jwagenleitner/incubator-groovy,paulk-asert/groovy,shils/incubator-groovy,avafanasiev/groovy,shils/groovy,shils/incubator-groovy,shils/groovy,jwagenleitner/incubator-groovy,russel/groovy,apache/i...
c723c42d1772c0538eebefd78e2a41d6cc4285d3
src/jorphan/org/apache/jorphan/test/UnitTestManager.java
src/jorphan/org/apache/jorphan/test/UnitTestManager.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 ...
Document that this part of the unit test code must remain in src/
Document that this part of the unit test code must remain in src/ git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/trunk@602096 13f79535-47bb-0310-9956-ffa450edef68 Former-commit-id: cc2bf2cbe435b46f10d576d25c73048cd4ac9736
Java
apache-2.0
etnetera/jmeter,benbenw/jmeter,etnetera/jmeter,etnetera/jmeter,apache/jmeter,apache/jmeter,benbenw/jmeter,apache/jmeter,ham1/jmeter,etnetera/jmeter,etnetera/jmeter,benbenw/jmeter,ham1/jmeter,apache/jmeter,ham1/jmeter,ham1/jmeter,apache/jmeter,benbenw/jmeter,ham1/jmeter
99f10a26298202038ec4326219860eaadf0dadaf
src/main/java/sizebay/catalog/client/model/Modeling.java
src/main/java/sizebay/catalog/client/model/Modeling.java
package sizebay.catalog.client.model; import java.util.*; import com.fasterxml.jackson.annotation.JsonValue; import lombok.*; @Getter @Setter public class Modeling { private Long id; private String name; private Gender gender; private String gMerchantBrandName; private String gMerchantAgeGroup; priv...
package sizebay.catalog.client.model; import java.util.*; import com.fasterxml.jackson.annotation.JsonValue; import lombok.*; @Getter @Setter public class Modeling { private Long id; private String name; private Gender gender; private String gMerchantBrandName; private String gMerchantAgeGroup; priv...
Add type id attribute in modeling
Fix: Add type id attribute in modeling
Java
apache-2.0
sizebay/Sizebay-Catalog-API-Client,sizebay/Sizebay-Catalog-API-Client
446fc4073de4e0bdf034f0d3143dfc1ea82466b3
thingif/src/main/java/com/kii/thingif/command/Action.java
thingif/src/main/java/com/kii/thingif/command/Action.java
package com.kii.thingif.command; /** * Marks a class as group of actions of command. The class implements Acton defines single actions * as fields of the class. * <p>The class must define {@link ActionAnnotation} for each field of the class, SDK uses the * defined annotations to serialize the class to json data or...
package com.kii.thingif.command; /** * Represents base cass of Action. */ public interface Action{ }
Revert "Add description of serialize and deserialize(not completed)"
Revert "Add description of serialize and deserialize(not completed)" This reverts commit d8f815db25d72e626d93953dae220a99d8510daa.
Java
mit
KiiPlatform/thing-if-AndroidSDK,KiiPlatform/thing-if-AndroidSDK
75638b6ab1dd7af0d56065529961b43d79668835
v2f-core/src/test/java/net/pdp7/v2f/core/RouterTest.java
v2f-core/src/test/java/net/pdp7/v2f/core/RouterTest.java
package net.pdp7.v2f.core; import junit.framework.TestCase; import net.pdp7.v2f.core.Router.ListTableRoute; public class RouterTest extends TestCase { public void testRouter() { ListTableRoute route = (ListTableRoute) new Router(null, null).findRoute("/table_name/"); assertEquals("table_name", route.table); } ...
package net.pdp7.v2f.core; import junit.framework.TestCase; import net.pdp7.v2f.core.Router.ListTableRoute; public class RouterTest extends TestCase { public void testRouter() { ListTableRoute route = (ListTableRoute) new Router(null, null, null).findRoute("/table_name/"); assertEquals("table_name", route.table...
Fix broken build due to not running tests before committing :(
Fix broken build due to not running tests before committing :(
Java
apache-2.0
alexpdp7/v2f,alexpdp7/v2f,alexpdp7/v2f
c354f7ff9cccf6a0667648bb02d74a61ecfb11e2
src/gov/nih/nci/calab/ui/core/BaseForwardAction.java
src/gov/nih/nci/calab/ui/core/BaseForwardAction.java
/* The caLAB Software License, Version 0.5 Copyright 2006 SAIC. This software was developed in conjunction with the National Cancer Institute, and so to the extent government employees are co-authors, any rights in such works shall be subject to Title 17 of the United States Code, section 105. */ package gov...
/* The caLAB Software License, Version 0.5 Copyright 2006 SAIC. This software was developed in conjunction with the National Cancer Institute, and so to the extent government employees are co-authors, any rights in such works shall be subject to Title 17 of the United States Code, section 105. */ package gov...
Set loginRequired to false. For users without login, this is required for "back" link on some pages to function.
Set loginRequired to false. For users without login, this is required for "back" link on some pages to function. SVN-Revision: 10730
Java
bsd-3-clause
NCIP/cananolab,NCIP/cananolab,NCIP/cananolab
156b8da310ead5d0ff8f050e71766786c4564642
app/src/main/java/com/andela/webservice/MainActivity.java
app/src/main/java/com/andela/webservice/MainActivity.java
package com.andela.webservice; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_m...
package com.andela.webservice; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.method.ScrollingMovementMethod; import android.view.Menu; import android.view.MenuItem; import android.widget.TextView; public class MainActivity extends AppCompatActivity { private TextVi...
Inflate the Menu, set the textView to scroll vertically
Inflate the Menu, set the textView to scroll vertically
Java
mit
andela-wakinsanmi/WebService
fb9867332588c499f86ee40c8f2e9e01fbce65af
src/core/org/apache/jmeter/report/core/SampleWriter.java
src/core/org/apache/jmeter/report/core/SampleWriter.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 ...
Use a more descriptive variable name and point out, that the parameter must not be null.
Use a more descriptive variable name and point out, that the parameter must not be null. git-svn-id: 5ccfe34f605a6c2f9041ff2965ab60012c62539a@1721006 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
max3163/jmeter,etnetera/jmeter,hemikak/jmeter,ra0077/jmeter,vherilier/jmeter,ubikfsabbe/jmeter,etnetera/jmeter,vherilier/jmeter,d0k1/jmeter,d0k1/jmeter,etnetera/jmeter,max3163/jmeter,ra0077/jmeter,max3163/jmeter,ubikfsabbe/jmeter,ubikloadpack/jmeter,ubikloadpack/jmeter,max3163/jmeter,ra0077/jmeter,d0k1/jmeter,ubikloadp...
33d8a1c85e66a43f49d9f982dbe877563a5a2ce2
src/net/piemaster/jario/systems/CollisionMeshSystem.java
src/net/piemaster/jario/systems/CollisionMeshSystem.java
package net.piemaster.jario.systems; import net.piemaster.jario.components.CollisionMesh; import net.piemaster.jario.components.Transform; import com.artemis.ComponentMapper; import com.artemis.Entity; import com.artemis.EntityProcessingSystem; public class CollisionMeshSystem extends EntityProcessingSystem...
package net.piemaster.jario.systems; import net.piemaster.jario.components.CollisionMesh; import net.piemaster.jario.components.Transform; import com.artemis.ComponentMapper; import com.artemis.Entity; import com.artemis.EntityProcessingSystem; public class CollisionMeshSystem extends EntityProcessingSystem...
Debug update continued: Removed the cost of mesh position to ints.
Debug update continued: Removed the cost of mesh position to ints.
Java
bsd-2-clause
artemis-esf/piemaster-jario
d780b22ac0fc52366d449b82c9c1fbe1c94b74c0
processor/src/test/fixtures/input/AnnotationsOnModel.java
processor/src/test/fixtures/input/AnnotationsOnModel.java
import arez.annotations.Action; import arez.annotations.ArezComponent; import arez.annotations.Memoize; import arez.annotations.Observable; import javax.annotation.Nonnull; @ArezComponent public abstract class AnnotationsOnModel { @Observable @Nonnull @SuppressWarnings( "ThisANnotationShouldNotBeCopied" ) publ...
import arez.annotations.Action; import arez.annotations.ArezComponent; import arez.annotations.Memoize; import arez.annotations.Observable; import javax.annotation.Nonnull; @ArezComponent public abstract class AnnotationsOnModel { public @interface DoNotCopyThisAnnotation { } @Observable @Nonnull @DoNotCo...
Use an explicit annotation in test for non copying annotation
Use an explicit annotation in test for non copying annotation
Java
apache-2.0
realityforge/arez,realityforge/arez,realityforge/arez
730217340d915ef229ea30df1a19961240411303
fund/src/main/java/cl/fatman/capital/fund/FomentUnit.java
fund/src/main/java/cl/fatman/capital/fund/FomentUnit.java
package cl.fatman.capital.fund; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; import org.hibernate.annotations.GenericGenerator; import java.time.LocalDate; @Entity @Table(name = "foment_unit") ...
package cl.fatman.capital.fund; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import java.time.LocalDate; @Entity @Table(name = "foment_unit") public class FomentUnit { @Id private String id; private double value; @Column(unique =...
Change id to String type to avoid data duplication.
Change id to String type to avoid data duplication.
Java
mit
mparra-mpz/Capital
ade035ee101a229f12e34bc2708d857cc6dcad8d
app/src/org/commcare/utils/ConnectivityStatus.java
app/src/org/commcare/utils/ConnectivityStatus.java
package org.commcare.utils; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.provider.Settings; /** * @author Phillip Mates (pmates@dimagi.com) */ public class ConnectivityStatus { public static boolean isAirplaneModeOn(Context context) { ...
package org.commcare.utils; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.provider.Settings; /** * @author Phillip Mates (pmates@dimagi.com) */ public class ConnectivityStatus { public static boolean isAirplaneModeOn(Context context) { ...
Fix for Connectivity status check
Fix for Connectivity status check Updates connectivity status check to match best practice from https://developer.android.com/training/monitoring-device-state/connectivity-monitoring.html#DetermineType
Java
apache-2.0
dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android
c5b5026f578e28f62aef659f7b7a3baeadaf6986
src/main/java/xyz/upperlevel/uppercore/util/ExternalJarUtil.java
src/main/java/xyz/upperlevel/uppercore/util/ExternalJarUtil.java
package xyz.upperlevel.uppercore.util; import java.io.File; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.reflect.Method; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; public final class ExternalJarUtil { private static ...
package xyz.upperlevel.uppercore.util; import java.io.File; import java.lang.invoke.MethodHandle; import java.lang.invoke.MethodHandles; import java.lang.reflect.Method; import java.net.MalformedURLException; import java.net.URL; import java.net.URLClassLoader; public final class ExternalJarUtil { private static ...
Add semi-compatibility with Java 9+
Add semi-compatibility with Java 9+
Java
mit
upperlevel/uppercore
3cf3e8c11e0201561ea852c8eb39b85efe241ec5
src/main/java/org/ohdsi/webapi/util/SessionUtils.java
src/main/java/org/ohdsi/webapi/util/SessionUtils.java
package org.ohdsi.webapi.util; import org.apache.commons.lang3.RandomStringUtils; /** * */ public final class SessionUtils { public static final String sessionId(){ return RandomStringUtils.randomAlphanumeric(10); } }
package org.ohdsi.webapi.util; import org.ohdsi.sql.SqlTranslate; /** * */ public final class SessionUtils { public static final String sessionId() { return SqlTranslate.generateSessionId(); } }
Use SqlTranslate to generate random since there is some additional logic involved (e.g. non-numeric initial character)
Use SqlTranslate to generate random since there is some additional logic involved (e.g. non-numeric initial character)
Java
apache-2.0
leeevans/WebAPI,OHDSI/WebAPI,wenzhang61/WebAPI,rkboyce/WebAPI,OHDSI/WebAPI,OHDSI/WebAPI
9826d1c1abdc668ae8310908dd1146dee4145b5b
src/main/java/com/bigcommerce/api/resources/Resource.java
src/main/java/com/bigcommerce/api/resources/Resource.java
package com.bigcommerce.api.resources; import java.util.List; import com.bigcommerce.api.Filter; import com.bigcommerce.api.Response; public interface Resource { public List<? extends Response> listAll(); public List<? extends Response> listAll(Filter filter); public Response getOne(Integer Id); }
package com.bigcommerce.api.resources; import java.util.List; import com.bigcommerce.api.Filter; import com.bigcommerce.api.Form; import com.bigcommerce.api.Response; public interface Resource { public List<? extends Response> listAll(); public List<? extends Response> listAll(Filter filter); public Response getO...
Update (PUT) a resource API call is added.
Update (PUT) a resource API call is added.
Java
mit
yjenith/bigcommerce-api-java-lite
be2ab563eb76f906598f1ee05afbb25e963fbef3
src/main/java/com/nincraft/ninbot/command/DabCommand.java
src/main/java/com/nincraft/ninbot/command/DabCommand.java
package com.nincraft.ninbot.command; import com.nincraft.ninbot.util.MessageUtils; import lombok.val; import net.dv8tion.jda.core.entities.Message; import net.dv8tion.jda.core.events.message.MessageReceivedEvent; public class DabCommand extends AbstractCommand { public DabCommand() { length = 3; ...
package com.nincraft.ninbot.command; import com.nincraft.ninbot.util.MessageUtils; import lombok.val; import net.dv8tion.jda.core.entities.Message; import net.dv8tion.jda.core.events.message.MessageReceivedEvent; public class DabCommand extends AbstractCommand { public DabCommand() { length = 3; ...
Fix dab command failing on users with multiple words in their name
Fix dab command failing on users with multiple words in their name Closes #22
Java
mit
Nincodedo/Ninbot
acd5d05f7b31d7eff93f036f6b0e4c523768cbd2
src/main/java/de/st_ddt/crazyutil/geo/block/GeoBlock.java
src/main/java/de/st_ddt/crazyutil/geo/block/GeoBlock.java
package de.st_ddt.crazyutil.geo.block; import org.bukkit.Location; import org.bukkit.block.Block; import de.st_ddt.crazyutil.geo.location.GeoLocation; public class GeoBlock extends GeoLocation { protected int material; protected byte data; // protected BlockState state; public GeoBlock(final Block block) { ...
package de.st_ddt.crazyutil.geo.block; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.block.Block; import de.st_ddt.crazyutil.geo.location.GeoLocation; public class GeoBlock extends GeoLocation { protected Material material; protected byte data; // protected BlockState state; public ...
Store Material instead of materialid
Store Material instead of materialid
Java
apache-2.0
ST-DDT/CrazyGeo
8b499fcd0a102f585eb9ec14575260e61d4363d6
src/main/java/org/vaadin/viritin/layouts/MMarginInfo.java
src/main/java/org/vaadin/viritin/layouts/MMarginInfo.java
package org.vaadin.viritin.layouts; import com.vaadin.shared.ui.MarginInfo; public class MMarginInfo extends MarginInfo { private static final long serialVersionUID = -3559703824387291269L; public MMarginInfo(boolean enabled) { super(enabled); } public MMarginInfo(int bitMask) { su...
package org.vaadin.viritin.layouts; import com.vaadin.shared.ui.MarginInfo; public class MMarginInfo extends MarginInfo { private static final long serialVersionUID = -3559703824387291269L; public MMarginInfo(boolean enabled) { super(enabled); } @Deprecated public MMarginInfo(int bitMa...
Mark overriden deprecated method as deprected
Mark overriden deprecated method as deprected
Java
apache-2.0
viritin/viritin,viritin/viritin,pbaris/viritin,pbaris/viritin
5ae42990004cb642c03b2e870402ebf4dc418259
src/main/java/com/elmakers/mine/bukkit/action/builtin/CheckBlockAction.java
src/main/java/com/elmakers/mine/bukkit/action/builtin/CheckBlockAction.java
package com.elmakers.mine.bukkit.action.builtin; import com.elmakers.mine.bukkit.action.BaseSpellAction; import com.elmakers.mine.bukkit.api.action.CastContext; import com.elmakers.mine.bukkit.api.block.MaterialBrush; import com.elmakers.mine.bukkit.api.spell.SpellResult; import org.bukkit.block.Block; public class C...
package com.elmakers.mine.bukkit.action.builtin; import com.elmakers.mine.bukkit.action.BaseSpellAction; import com.elmakers.mine.bukkit.api.action.CastContext; import com.elmakers.mine.bukkit.api.block.MaterialBrush; import com.elmakers.mine.bukkit.api.spell.SpellResult; import org.bukkit.block.Block; public class C...
Use STOP instead of CANCELLED to cancel an action stack
Use STOP instead of CANCELLED to cancel an action stack
Java
mit
elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin
731b6785009f625c93ca2f796dccc8b5f3a966e4
sources/scalac/transformer/matching/TestRegTraverser.java
sources/scalac/transformer/matching/TestRegTraverser.java
package scalac.transformer.matching ; import scalac.ast.Tree; import scalac.util.Name; import scalac.symtab.Symbol ; import scalac.ast.Traverser ; import Tree.Ident; import Tree.Bind; public class TestRegTraverser extends Traverser { boolean result; public TestRegTraverser() { super(); result = false; ...
/* ____ ____ ____ ____ ______ *\ ** / __// __ \/ __// __ \/ ____/ SOcos COmpiles Scala ** ** __\_ \/ /_/ / /__/ /_/ /\_ \ (c) 2002, LAMP/EPFL ** ** /_____/\____/\___/\____/____/ ** ** ...
Allow non-recursive bindings for the "old" patt...
Allow non-recursive bindings for the "old" patt... Allow non-recursive bindings for the "old" pattern matcher.
Java
apache-2.0
lrytz/scala,shimib/scala,shimib/scala,martijnhoekstra/scala,jvican/scala,scala/scala,scala/scala,felixmulder/scala,scala/scala,jvican/scala,lrytz/scala,martijnhoekstra/scala,slothspot/scala,lrytz/scala,felixmulder/scala,lrytz/scala,martijnhoekstra/scala,felixmulder/scala,shimib/scala,scala/scala,lrytz/scala,scala/scala...
27d16454737bc4dcd7ecb056e14efe02f9acbae9
src/test/java/pt/fccn/mobile/arquivo/suite/TestSuite.java
src/test/java/pt/fccn/mobile/arquivo/suite/TestSuite.java
package pt.fccn.mobile.arquivo.suite; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; import pt.fccn.mobile.arquivo.tests.FullTextSearchTest; import pt.fccn.mobile.arquivo.tests.URLSearchTest; import pt.fccn.mobile.arquivo.tests.imagesearch.ImageAdvancedSe...
//package pt.fccn.mobile.arquivo.suite; // //import org.junit.runner.RunWith; //import org.junit.runners.Suite; //import org.junit.runners.Suite.SuiteClasses; // //import pt.fccn.mobile.arquivo.tests.FullTextSearchTest; //import pt.fccn.mobile.arquivo.tests.URLSearchTest; //import pt.fccn.mobile.arquivo.tests.imagesear...
Remove mobile test suite because tests can be executed with wildcard.
Remove mobile test suite because tests can be executed with wildcard.
Java
apache-2.0
arquivo/functional-tests,arquivo/functional-tests
0f9feb95d836c423b4194196fb3a2215658df996
core/src/uk/co/alynn/games/ld30/SuperimposedWave.java
core/src/uk/co/alynn/games/ld30/SuperimposedWave.java
package uk.co.alynn.games.ld30; import java.util.List; import uk.co.alynn.games.ld30.world.Planet; import uk.co.alynn.games.ld30.world.Adversary; public class SuperimposedWave extends Wave { private final Wave m_left; private final Wave m_right; public SuperimposedWave(Wave left, Wave right) { ...
package uk.co.alynn.games.ld30; import java.util.List; import uk.co.alynn.games.ld30.world.Planet; import uk.co.alynn.games.ld30.world.Adversary; public class SuperimposedWave extends Wave { private final Wave m_left; private final Wave m_right; public SuperimposedWave(Wave left, Wave right) { ...
Fix the spawning bug with autogenerated levels
Fix the spawning bug with autogenerated levels
Java
mit
prophile/ludum-dare-30,prophile/ludum-dare-30
5fb12bce2a02600a742b47f84f0754a321eed3bd
src/org/bouncycastle/asn1/ConstructedOctetStream.java
src/org/bouncycastle/asn1/ConstructedOctetStream.java
package org.bouncycastle.asn1; import java.io.InputStream; import java.io.IOException; class ConstructedOctetStream extends InputStream { private final ASN1ObjectParser _parser; private boolean _first = true; private InputStream _currentStream; ConstructedOctetStream( ...
package org.bouncycastle.asn1; import java.io.InputStream; import java.io.IOException; class ConstructedOctetStream extends InputStream { private final ASN1ObjectParser _parser; private boolean _first = true; private InputStream _currentStream; ConstructedOctetStream( ...
Handle empty "component" streams Implement read(byte[],int,int) as optimisation
Handle empty "component" streams Implement read(byte[],int,int) as optimisation
Java
mit
sake/bouncycastle-java
40281afc1a5c9295eef58dd80920edaf384a544f
wrappers/java/src/test/java/org/hyperledger/indy/sdk/pool/ClosePoolTest.java
wrappers/java/src/test/java/org/hyperledger/indy/sdk/pool/ClosePoolTest.java
package org.hyperledger.indy.sdk.pool; import org.hyperledger.indy.sdk.IndyException; import org.hyperledger.indy.sdk.IndyIntegrationTest; import org.hyperledger.indy.sdk.utils.PoolUtils; import org.junit.Test; import java.io.IOException; import java.util.concurrent.ExecutionException; import static org.junit.Assert...
package org.hyperledger.indy.sdk.pool; import org.hyperledger.indy.sdk.ErrorCode; import org.hyperledger.indy.sdk.ErrorCodeMatcher; import org.hyperledger.indy.sdk.IndyException; import org.hyperledger.indy.sdk.IndyIntegrationTest; import org.hyperledger.indy.sdk.utils.PoolUtils; import org.junit.Test; import java.io...
Add more tests for ClosePool.
[java] Add more tests for ClosePool.
Java
apache-2.0
korsimoro/indy-sdk,Artemkaaas/indy-sdk,srottem/indy-sdk,anastasia-tarasova/indy-sdk,srottem/indy-sdk,peacekeeper/indy-sdk,Artemkaaas/indy-sdk,peacekeeper/indy-sdk,srottem/indy-sdk,Artemkaaas/indy-sdk,srottem/indy-sdk,korsimoro/indy-sdk,srottem/indy-sdk,peacekeeper/indy-sdk,srottem/indy-sdk,peacekeeper/indy-sdk,MRJCrunc...
38816bff00d3000ac5f87eaee21f5bd326653c7c
src/net/bettyluke/tracinstant/data/AuthenticatedHttpRequester.java
src/net/bettyluke/tracinstant/data/AuthenticatedHttpRequester.java
package net.bettyluke.tracinstant.data; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.net.URLConnection; import net.bettyluke.tracinstant.prefs.SiteSettings; public final class AuthenticatedHttpRequester { private AuthenticatedHttpRequester() {} public static Input...
package net.bettyluke.tracinstant.data; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.net.URLConnection; import net.bettyluke.tracinstant.prefs.SiteSettings; public final class AuthenticatedHttpRequester { private AuthenticatedHttpRequester() {} public static Input...
Comment how to port to new Base64 encoder in Java 8 and 9
Comment how to port to new Base64 encoder in Java 8 and 9
Java
lgpl-2.1
lukeu/TracInstant,lukeu/TracInstant
373879aefeb4141d9797349788a97bc580d3be01
library/src/main/java/io/jasonsparc/chemistry/util/ViewTypes.java
library/src/main/java/io/jasonsparc/chemistry/util/ViewTypes.java
package io.jasonsparc.chemistry.util; import android.support.annotation.AnyRes; import android.support.v7.widget.RecyclerView; import io.jasonsparc.chemistry.ViewType; /** * Created by jason on 11/07/2016. */ @UtilityClass public final class ViewTypes { /** * An invalid view type, disguised to be valid. The va...
package io.jasonsparc.chemistry.util; import android.support.annotation.AnyRes; import android.support.v7.widget.RecyclerView; import io.jasonsparc.chemistry.ViewType; /** * Created by jason on 11/07/2016. */ @UtilityClass public final class ViewTypes { /** * An invalid view type, disguised to be valid. The va...
Add a utility for checking valid view types
Add a utility for checking valid view types
Java
apache-2.0
jasonsparc/Chemistry
ebf4ad26a5c0925157e24e85703989f8e30d637b
build-logic/src/main/java/org/ehcache/build/conventions/JacocoConvention.java
build-logic/src/main/java/org/ehcache/build/conventions/JacocoConvention.java
package org.ehcache.build.conventions; import org.gradle.api.Plugin; import org.gradle.api.Project; import org.gradle.api.tasks.testing.Test; import org.gradle.testing.jacoco.plugins.JacocoPlugin; import org.gradle.testing.jacoco.plugins.JacocoTaskExtension; import org.gradle.testing.jacoco.tasks.JacocoReport; public...
package org.ehcache.build.conventions; import org.gradle.api.Plugin; import org.gradle.api.Project; import org.gradle.api.tasks.testing.Test; import org.gradle.testing.jacoco.plugins.JacocoPlugin; import org.gradle.testing.jacoco.plugins.JacocoPluginExtension; import org.gradle.testing.jacoco.plugins.JacocoTaskExtensi...
Upgrade to Jacoco 0.8.8 for Java 18 compatibility.
Upgrade to Jacoco 0.8.8 for Java 18 compatibility.
Java
apache-2.0
chrisdennis/ehcache3,albinsuresh/ehcache3,ehcache/ehcache3,cljohnso/ehcache3,cljohnso/ehcache3,albinsuresh/ehcache3,ehcache/ehcache3,AbfrmBlr/ehcache3,jhouserizer/ehcache3,jhouserizer/ehcache3,chrisdennis/ehcache3,AbfrmBlr/ehcache3
f841e248bb9c34cac4b9c8796cfa5fc04f1e4c66
cipango-diameter/src/main/java/org/cipango/diameter/router/DefaultRouter.java
cipango-diameter/src/main/java/org/cipango/diameter/router/DefaultRouter.java
// ======================================================================== // Copyright 2010 NEXCOM Systems // ------------------------------------------------------------------------ // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Licen...
// ======================================================================== // Copyright 2010 NEXCOM Systems // ------------------------------------------------------------------------ // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the Licen...
Fix CIPANGO-99: Creating a DiameterServletRequest without specifying the destinationhost field leads to a null pointer exception when sending a the request
Fix CIPANGO-99: Creating a DiameterServletRequest without specifying the destinationhost field leads to a null pointer exception when sending a the request
Java
apache-2.0
Whitewolfza/cipango,Whitewolfza/cipango,jleren/cipango,Whitewolfza/cipango,jleren/cipango,tjpdj1988/cipango,jleren/cipango,tjpdj1988/cipango,Whitewolfza/cipango,tjpdj1988/cipango,tjpdj1988/cipango,jleren/cipango,jleren/cipango,tjpdj1988/cipango,Whitewolfza/cipango
3474ac2f726df685479e89e6c9a72175d5c7b17e
src/main/java/com/faforever/client/fx/contextmenu/ShowPlayerInfoMenuItem.java
src/main/java/com/faforever/client/fx/contextmenu/ShowPlayerInfoMenuItem.java
package com.faforever.client.fx.contextmenu; import com.faforever.client.domain.PlayerBean; import com.faforever.client.i18n.I18n; import com.faforever.client.player.PlayerInfoWindowController; import com.faforever.client.player.SocialStatus; import com.faforever.client.theme.UiService; import com.faforever.client.uti...
package com.faforever.client.fx.contextmenu; import com.faforever.client.domain.PlayerBean; import com.faforever.client.i18n.I18n; import com.faforever.client.player.PlayerInfoWindowController; import com.faforever.client.theme.UiService; import com.faforever.client.util.Assert; import lombok.RequiredArgsConstructor; ...
Allow players to see their own stats
Allow players to see their own stats
Java
mit
FAForever/downlords-faf-client,FAForever/downlords-faf-client,FAForever/downlords-faf-client
1c940f07e782b551f2693c456b1f908501148ca8
src/main/java/top/quantic/sentry/discord/core/CommandContext.java
src/main/java/top/quantic/sentry/discord/core/CommandContext.java
package top.quantic.sentry.discord.core; import joptsimple.OptionSet; import sx.blah.discord.handle.obj.IMessage; public class CommandContext { private IMessage message; private String prefix; private Command command; private String[] args; private OptionSet optionSet; public IMessage getMes...
package top.quantic.sentry.discord.core; import joptsimple.OptionSet; import sx.blah.discord.handle.obj.IMessage; public class CommandContext { private IMessage message; private String prefix; private Command command; private String[] args; private OptionSet optionSet; public IMessage getMes...
Add method to get a command's content after the prefix
Add method to get a command's content after the prefix
Java
apache-2.0
quanticc/sentry,quanticc/sentry,quanticc/sentry
32d7a975850b4d59ffdc51d3f9916b078a3eeb01
src/revert/MainScene/notifications/WorldNotification.java
src/revert/MainScene/notifications/WorldNotification.java
package revert.MainScene.notifications; /** * Notification type of the game's scoring mechanics * * @author nhydock */ public class WorldNotification { private static final String SCORE_FMT = "$\n%d"; private static final String TIME_FMT = "%02d"; public final String score; public final String time; publ...
package revert.MainScene.notifications; /** * Notification type of the game's scoring mechanics * * @author nhydock */ public class WorldNotification { private static final String SCORE_FMT = "$\n%d"; private static final String TIME_FMT = "%02d"; public final String score; public final String time; publ...
Fix time display to be in seconds instead of ms
Fix time display to be in seconds instead of ms
Java
mit
nhydock/revert
30f74ac44c4ea93c84d856fc166cbbb71ef921a2
common/net/minecraftforge/common/ForgeInternalHandler.java
common/net/minecraftforge/common/ForgeInternalHandler.java
package net.minecraftforge.common; import java.util.UUID; import net.minecraft.src.*; import net.minecraftforge.event.*; import net.minecraftforge.event.entity.*; import net.minecraftforge.event.world.WorldEvent; public class ForgeInternalHandler { @ForgeSubscribe(priority = EventPriority.HIGHEST) public voi...
package net.minecraftforge.common; import java.util.UUID; import net.minecraft.src.*; import net.minecraftforge.event.*; import net.minecraftforge.event.entity.*; import net.minecraftforge.event.world.WorldEvent; public class ForgeInternalHandler { @ForgeSubscribe(priority = EventPriority.HIGHEST) public voi...
Make Item.createEntity only call when its specifically a EntityItem, not a subclass of it.
Make Item.createEntity only call when its specifically a EntityItem, not a subclass of it.
Java
lgpl-2.1
CrafterKina/MinecraftForge,Mathe172/MinecraftForge,simon816/MinecraftForge,Zaggy1024/MinecraftForge,Theerapak/MinecraftForge,Ghostlyr/MinecraftForge,jdpadrnos/MinecraftForge,blay09/MinecraftForge,bonii-xx/MinecraftForge,fcjailybo/MinecraftForge,karlthepagan/MinecraftForge,Vorquel/MinecraftForge,brubo1/MinecraftForge,Ra...
a7cfa1841a2c4da7cb71a5304c1947a2cad75e09
src/test/java/io/induct/yle/YleApiTestingBase.java
src/test/java/io/induct/yle/YleApiTestingBase.java
package io.induct.yle; import com.google.inject.Guice; import com.google.inject.Injector; import io.induct.daniel.DanielModule; import io.induct.yle.ioc.YleApiModule; import org.junit.BeforeClass; import java.io.ByteArrayInputStream; import java.io.InputStream; /** * @since 2015-05-09 */ public abstract class YleA...
package io.induct.yle; import com.google.inject.Guice; import com.google.inject.Injector; import io.induct.daniel.DanielModule; import io.induct.yle.ioc.YleApiModule; import org.junit.AfterClass; import org.junit.BeforeClass; import sun.net.www.http.HttpClient; import java.io.ByteArrayInputStream; import java.io.Inpu...
Clean up HttpClient after tests.
Clean up HttpClient after tests.
Java
mit
esuomi/yle-api,esuomi/yle-api
4cc70b107095b2f0b44db229f9c72830140cb492
src/RampOptionsPanel.java
src/RampOptionsPanel.java
import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; /** * Created by smurphy on 2/24/15. */ public class RampOptionsPanel extends OptionsPanel { JComboBox drop; RampSimulator rs; public RampOptionsPanel(RampSimulator rs){ this.rs = rs; this.se...
import javax.swing.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; /** * Created by smurphy on 2/24/15. */ public class RampOptionsPanel extends OptionsPanel { JComboBox drop; RampSimulator rs; public RampOptionsPanel(RampSimulator rs){ this.rs = rs; this.se...
Test commit of the Ramp Options Panel
Test commit of the Ramp Options Panel
Java
mit
Clam99/PhysicsSim
6d00e5b684abfc8441525607eeac53469a06b2fd
gwt-material/src/main/java/gwt/material/design/client/base/mixin/TextMixin.java
gwt-material/src/main/java/gwt/material/design/client/base/mixin/TextMixin.java
package gwt.material.design.client.base.mixin; /* * #%L * GwtBootstrap3 * %% * Copyright (C) 2013 GwtBootstrap3 * %% * 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://...
package gwt.material.design.client.base.mixin; /* * #%L * GwtBootstrap3 * %% * Copyright (C) 2013 GwtBootstrap3 * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://...
Use setInnerText only which already solves XSS Attacks (Avoid duplication)
Use setInnerText only which already solves XSS Attacks (Avoid duplication)
Java
apache-2.0
GwtMaterialDesign/gwt-material,guibertjulien/gwt-material,GwtMaterialDesign/gwt-material,GwtMaterialDesign/gwt-material,marcrh/gwt-material,guibertjulien/gwt-material,guibertjulien/gwt-material,marcrh/gwt-material,marcrh/gwt-material
a65dd8dc3df3569c3e5fddcc5413acf7db0ef29d
src/test/java/specs/VariableSpecs.java
src/test/java/specs/VariableSpecs.java
package specs; import static com.greghaskins.spectrum.Spectrum.beforeEach; import static com.greghaskins.spectrum.Spectrum.describe; import static com.greghaskins.spectrum.Spectrum.it; import static junit.framework.TestCase.assertNull; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Mat...
package specs; import static com.greghaskins.spectrum.Spectrum.beforeAll; import static com.greghaskins.spectrum.Spectrum.beforeEach; import static com.greghaskins.spectrum.Spectrum.describe; import static com.greghaskins.spectrum.Spectrum.it; import static junit.framework.TestCase.assertNull; import static org.hamcre...
Clarify specs for Variable helper
Clarify specs for Variable helper
Java
mit
greghaskins/spectrum
0bddababba1a9127834a073c543a9ff13dd24e24
src/main/java/rsc/publisher/PublisherSubscribeOnValue.java
src/main/java/rsc/publisher/PublisherSubscribeOnValue.java
package rsc.publisher; import java.util.Objects; import org.reactivestreams.Subscriber; import rsc.flow.Cancellation; import rsc.scheduler.Scheduler; import rsc.util.EmptySubscription; import rsc.util.ExceptionHelper; /** * Publisher indicating a scalar/empty source that subscribes on the specified scheduler. * ...
package rsc.publisher; import java.util.Objects; import org.reactivestreams.Subscriber; import rsc.flow.Cancellation; import rsc.scheduler.Scheduler; /** * Publisher indicating a scalar/empty source that subscribes on the specified scheduler. * * @param <T> */ final class PublisherSubscribeOnValue<T> extends P...
Remove unused worker (and thus a worker leak)
Remove unused worker (and thus a worker leak)
Java
apache-2.0
reactor/reactive-streams-commons,reactor/reactive-streams-commons
91d344fed44084daba3dd16aefaefb4f289de652
src/main/java/us/crast/mondochest/persist/PlayerState.java
src/main/java/us/crast/mondochest/persist/PlayerState.java
package us.crast.mondochest.persist; import org.bukkit.Location; import org.bukkit.entity.Player; public class PlayerState { private Location lastClickedMaster; private State state = State.NORMAL; public PlayerState(Player player) {} /* Getters/Setters */ public Location getLastClickedMaster() { return lastC...
package us.crast.mondochest.persist; import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.entity.Player; import org.bukkit.util.Vector; public class PlayerState { private String lastClickedWorld; private Vector lastClickedVector; private State state = State.NORMAL; public PlayerState(Player p...
Clean up possible World memory leak in storing locations.
Clean up possible World memory leak in storing locations.
Java
bsd-3-clause
crast/MondoChest,crast/MondoChest
ccdadc3fcbd18a58acff554d5254f20b6b5b1f22
src/info/ata4/unity/cli/extract/TextAssetHandler.java
src/info/ata4/unity/cli/extract/TextAssetHandler.java
/* ** 2013 July 01 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. */ package info.ata4.u...
/* ** 2013 July 01 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** May you do good and not evil. ** May you find forgiveness for yourself and forgive others. ** May you share freely, never taking more than you give. */ package info.ata4.u...
Write strings directly and don't convert them to UTF-8
Write strings directly and don't convert them to UTF-8
Java
unlicense
ata4/disunity,v2tmobile/disunity,tomagoyaky/disunity,zchen39/disunity,catinred2/disunity,kennytm/disunity,zchen39/disunity,zhangf911/disunity,yclhehe/disunity,KitoHo/disunity,zodsoft/disunity,hozmaster/disunity,hozmaster/disunity,tomagoyaky/disunity,v2tmobile/disunity,zhangf911/disunity,summertriangle-dev/disunity,Kito...
2cb41daee524d01ee3324fd7996ff49a0bb40822
src/main/java/sg/ncl/testbed_interface/JpaConfig.java
src/main/java/sg/ncl/testbed_interface/JpaConfig.java
package sg.ncl.testbed_interface; import org.springframework.context.annotation.Configuration; import org.springframework.data.jpa.repository.config.EnableJpaRepositories; import org.springframework.transaction.annotation.EnableTransactionManagement; /** * @author Christopher Zhong */ @Configuration @EnableJpaRepos...
package sg.ncl.testbed_interface; import org.springframework.context.annotation.Configuration; import org.springframework.data.jpa.repository.config.EnableJpaAuditing; import org.springframework.data.jpa.repository.config.EnableJpaRepositories; import org.springframework.transaction.annotation.EnableTransactionManagem...
Enable auditing of entities (DEV-15)
Enable auditing of entities (DEV-15)
Java
apache-2.0
nus-ncl/services-in-one,nus-ncl/services-in-one
d90c9afc45b3b0c03f8b28e88eecab8d5d91c27d
server/src/test/java/org/realityforge/replicant/server/transport/TestFilter.java
server/src/test/java/org/realityforge/replicant/server/transport/TestFilter.java
package org.realityforge.replicant.server.transport; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonTypeName; @JsonAutoDetect( fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE, setterVisibility = JsonAutoDetect.Visi...
package org.realityforge.replicant.server.transport; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonTypeName; import java.io.Serializable; @JsonAutoDetect( fieldVisibility = JsonAutoDetect.Visibility.ANY, getterVisibility = JsonAutoDetect.Visibility.NONE, setterVis...
Make class serializable to make testing easier
Make class serializable to make testing easier
Java
apache-2.0
realityforge/replicant,realityforge/replicant
63e960351c65d6396a3f67fa18006b65ba787949
android/src/main/java/com/attehuhtakangas/navigationbar/NavigationBarPackage.java
android/src/main/java/com/attehuhtakangas/navigationbar/NavigationBarPackage.java
package com.attehuhtakangas.navigationbar; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.ArrayList; im...
package com.attehuhtakangas.navigationbar; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.ArrayList; im...
Fix react native support for v0.47 on the proper file
Fix react native support for v0.47 on the proper file
Java
mit
jazmon/react-native-onscreen-navbar,jazmon/react-native-onscreen-navbar
85019acd9fa4f7f962adcb335f8acc1651a93aaa
log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/Plugin.java
log4j-core/src/main/java/org/apache/logging/log4j/core/config/plugins/Plugin.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 n...
/* * 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 n...
Refactor magic strings into a constant.
Refactor magic strings into a constant. git-svn-id: de5ce936019686f47409c93bcc5e202a9739563b@1594249 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
lburgazzoli/logging-log4j2,codescale/logging-log4j2,pisfly/logging-log4j2,renchunxiao/logging-log4j2,apache/logging-log4j2,jsnikhil/nj-logging-log4j2,jsnikhil/nj-logging-log4j2,codescale/logging-log4j2,MagicWiz/log4j2,MagicWiz/log4j2,GFriedrich/logging-log4j2,codescale/logging-log4j2,lburgazzoli/apache-logging-log4j2,j...
fdb8a03c25c21292b44478392c4e967ad1a7af53
android_mobile/src/main/java/com/alexstyl/specialdates/search/BackKeyEditText.java
android_mobile/src/main/java/com/alexstyl/specialdates/search/BackKeyEditText.java
package com.alexstyl.specialdates.search; import android.content.Context; import android.util.AttributeSet; import android.view.KeyEvent; import android.widget.EditText; public class BackKeyEditText extends EditText { public BackKeyEditText(Context context, AttributeSet attrs) { super(context, attrs); ...
package com.alexstyl.specialdates.search; import android.content.Context; import android.util.AttributeSet; import android.view.KeyEvent; import android.widget.EditText; public class BackKeyEditText extends android.support.v7.widget.AppCompatEditText { public BackKeyEditText(Context context, AttributeSet attrs) {...
Extend AppCompatEditText instead of system EditText
Extend AppCompatEditText instead of system EditText
Java
mit
alexstyl/Memento-Namedays,auricgoldfinger/Memento-Namedays,alexstyl/Memento-Namedays,auricgoldfinger/Memento-Namedays,alexstyl/Memento-Calendar,alexstyl/Memento-Calendar,alexstyl/Memento-Calendar
f85dae52934c54c9caf560aafe16c3070d38b651
app/src/main/java/com/kickstarter/libs/RxUtils.java
app/src/main/java/com/kickstarter/libs/RxUtils.java
package com.kickstarter.libs; import android.util.Pair; import rx.Observable; public class RxUtils { private RxUtils() { throw new AssertionError(); } public static <F, S> Observable<Pair<F, S>> combineLatestPair(final Observable<F> ob1, final Observable<S> ob2) { return Observable.combineLatest(ob1, ...
package com.kickstarter.libs; import android.util.Pair; import rx.Observable; public class RxUtils { private RxUtils() { throw new AssertionError(); } public static <F, S> Observable<Pair<F, S>> combineLatestPair(final Observable<F> ob1, final Observable<S> ob2) { return Observable.combineLatest(ob1, ...
Add a lil comment explaining takeWhen
Add a lil comment explaining takeWhen
Java
apache-2.0
kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss
f8284e7cced0096b2e6606ab47f2c29769b471fd
src/main/java/edu/hm/hafner/analysis/registry/CppLintDescriptor.java
src/main/java/edu/hm/hafner/analysis/registry/CppLintDescriptor.java
package edu.hm.hafner.analysis.registry; import edu.hm.hafner.analysis.IssueParser; import edu.hm.hafner.analysis.parser.CppLintParser; /** * A descriptor for Cpplint. * * @author Lorenz Munsch */ class CppLintDescriptor extends ParserDescriptor { private static final String ID = "cpplint"; private static...
package edu.hm.hafner.analysis.registry; import edu.hm.hafner.analysis.IssueParser; import edu.hm.hafner.analysis.parser.CppLintParser; /** * A descriptor for Cpplint. * * @author Lorenz Munsch */ class CppLintDescriptor extends ParserDescriptor { private static final String ID = "cpplint"; private static...
Add a help for cpplint.
Add a help for cpplint.
Java
mit
jenkinsci/analysis-model,jenkinsci/analysis-model,jenkinsci/analysis-model,jenkinsci/analysis-model
77d797b631032285cdecb6cdcdcdc396d33bc179
src/main/java/org/kuali/kra/iacuc/personnel/IacucProtocolPerson.java
src/main/java/org/kuali/kra/iacuc/personnel/IacucProtocolPerson.java
/* * Copyright 2005-2010 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php * * Unless re...
/* * Copyright 2005-2010 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php * * Unless re...
Implement COI event type of "IACUC Protocol"
KCIAC-332: Implement COI event type of "IACUC Protocol"
Java
agpl-3.0
mukadder/kc,UniversityOfHawaiiORS/kc,geothomasp/kcmit,UniversityOfHawaiiORS/kc,mukadder/kc,jwillia/kc-old1,ColostateResearchServices/kc,jwillia/kc-old1,mukadder/kc,iu-uits-es/kc,geothomasp/kcmit,ColostateResearchServices/kc,kuali/kc,jwillia/kc-old1,geothomasp/kcmit,geothomasp/kcmit,ColostateResearchServices/kc,jwillia/...
87f0a20fe145b2ac65ab7e6cbfbc90b4cd0c49c3
src/main/java/vg/civcraft/mc/civmodcore/chatDialog/ChatListener.java
src/main/java/vg/civcraft/mc/civmodcore/chatDialog/ChatListener.java
package vg.civcraft.mc.civmodcore.chatDialog; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerQuitEvent; import org.bukkit.event.server.TabCompleteEvent; public class ChatListener imple...
package vg.civcraft.mc.civmodcore.chatDialog; import java.util.Collections; import java.util.List; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerQuitEvent; import org.bukkit.event.ser...
FIx exception in dialog tab completion
FIx exception in dialog tab completion
Java
bsd-3-clause
psygate/CivModCore,psygate/CivModCore
9bb5ecdcef02e643f577dd85261979ae074c6528
app/src/main/java/be/digitalia/fosdem/livedata/LiveDataFactory.java
app/src/main/java/be/digitalia/fosdem/livedata/LiveDataFactory.java
package be.digitalia.fosdem.livedata; import android.os.Handler; import android.os.Looper; import android.os.SystemClock; import androidx.annotation.NonNull; import androidx.lifecycle.LiveData; import java.util.concurrent.TimeUnit; public class LiveDataFactory { static final Handler handler = new Handler(Looper.ge...
package be.digitalia.fosdem.livedata; import android.os.Handler; import android.os.Looper; import android.os.SystemClock; import androidx.annotation.NonNull; import androidx.lifecycle.LiveData; import java.util.concurrent.TimeUnit; public class LiveDataFactory { static final Handler handler = new Handler(Looper.ge...
Revert "Delay IntervalLiveData refresh to allow the previous result to be dispatched on active even when it's already expired"
Revert "Delay IntervalLiveData refresh to allow the previous result to be dispatched on active even when it's already expired" This reverts commit 2f166836
Java
apache-2.0
cbeyls/fosdem-companion-android
f7d61248ae9f06d79d176355c2f90052b62fb2e2
common/net/silentchaos512/lib/recipe/RecipeBaseSL.java
common/net/silentchaos512/lib/recipe/RecipeBaseSL.java
package net.silentchaos512.lib.recipe; import net.minecraft.inventory.InventoryCrafting; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.IRecipe; import net.minecraft.util.ResourceLocation; import net.silentchaos512.lib.util.StackHelper; public class RecipeBaseSL extends net.minecraftforge.reg...
package net.silentchaos512.lib.recipe; import net.minecraft.inventory.InventoryCrafting; import net.minecraft.item.ItemStack; import net.minecraft.item.crafting.IRecipe; import net.minecraft.util.ResourceLocation; import net.silentchaos512.lib.util.StackHelper; public class RecipeBaseSL extends net.minecraftforge.reg...
Hide custom recipes in recipe book
Hide custom recipes in recipe book
Java
mit
SilentChaos512/SilentLib,SilentChaos512/SilentLib
3d722a200ef4603afffa2fa1f0db5bd2df9c1464
software/nbia-web/src/gov/nih/nci/nbia/beans/basket/ZipManagerProgressManager.java
software/nbia-web/src/gov/nih/nci/nbia/beans/basket/ZipManagerProgressManager.java
package gov.nih.nci.nbia.beans.basket; import gov.nih.nci.nbia.zip.ZipManager; import com.icesoft.faces.async.render.SessionRenderer; /** * This listens to zip progress and tell ICEfaces to push a change * to the UI as progress increases. * * <p>This object is a result of switching to ICEfaces which * ...
package gov.nih.nci.nbia.beans.basket; import gov.nih.nci.nbia.zip.ZipManager; import com.icesoft.faces.async.render.SessionRenderer; /** * This listens to zip progress and tell ICEfaces to push a change * to the UI as progress increases. * * <p>This object is a result of switching to ICEfaces which ...
Change for fixing session ID fixation problem.
Change for fixing session ID fixation problem.
Java
bsd-3-clause
NCIP/national-biomedical-image-archive,NCIP/national-biomedical-image-archive,NCIP/national-biomedical-image-archive,NCIP/national-biomedical-image-archive,NCIP/national-biomedical-image-archive
2d19c04c93ef7cdec4f07e1b4d8ae99def8dbed0
src/main/java/gr/iti/mklab/simmo/core/Annotatable.java
src/main/java/gr/iti/mklab/simmo/core/Annotatable.java
package gr.iti.mklab.simmo.core; import org.mongodb.morphia.annotations.Embedded; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; /** * An Annotatable abstract class implemented by objects that can be annotated * * @author kandreadou * @version 1.0.0 * @since July 3, 2014 ...
package gr.iti.mklab.simmo.core; import org.mongodb.morphia.annotations.Embedded; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; /** * An Annotatable abstract class implemented by objects that can be annotated * * @author kandreadou * @version 1.0.0 * @since July 3, 2014 ...
Add getter in annotable class
Add getter in annotable class
Java
apache-2.0
MKLab-ITI/simmo
1d43d69899afcb7faff1132af17201fcb557837e
src/main/java/org/ndexbio/model/object/NetworkSet.java
src/main/java/org/ndexbio/model/object/NetworkSet.java
package org.ndexbio.model.object; import java.util.ArrayList; import java.util.List; import java.util.UUID; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @JsonIgnoreProperties(ignoreUnknown = true) public class NetworkSet extends NdexExternalObject { private String name; private String descriptio...
package org.ndexbio.model.object; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; @JsonIgnoreProperties(ignoreUnknown = true) public class NetworkSet extends NdexExternalObject { ...
Add showcase flag in networkset.
Add showcase flag in networkset.
Java
bsd-3-clause
ndexbio/ndex-object-model
55b3b57033343c67d09116aeb5b0217b67d127fc
fizzbuzz/src/test/java/remonsinnema/blog/fizzbuzz/FizzBuzzTest.java
fizzbuzz/src/test/java/remonsinnema/blog/fizzbuzz/FizzBuzzTest.java
package remonsinnema.blog.fizzbuzz; import static org.junit.Assert.assertEquals; import org.junit.Test; public class FizzBuzzTest { private final FizzBuzz fizzbuzz = new FizzBuzz(); @Test public void test() { assertFizzBuzz("1", 1); assertFizzBuzz("2", 2); assertFizzBuzz("Fizz", 3...
package remonsinnema.blog.fizzbuzz; import static org.junit.Assert.assertEquals; import org.junit.Test; public class FizzBuzzTest { private final FizzBuzz fizzbuzz = new FizzBuzz(); @Test public void test() { assertFizzBuzz("1", 1); assertFizzBuzz("2", 2); assertFizzBuzz("Fizz", 3...
Add test for simultaneous Fizz and Buzz
Add test for simultaneous Fizz and Buzz
Java
mit
RemonSinnema/blog
0e18a4de0668f1d9ca30b9c45c7b852769cf0fc7
dionysus-webapp/src/main/java/com/huixinpn/dionysus/controller/LoginController.java
dionysus-webapp/src/main/java/com/huixinpn/dionysus/controller/LoginController.java
package com.huixinpn.dionysus.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annot...
package com.huixinpn.dionysus.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annot...
Update login controller for register
Update login controller for register
Java
apache-2.0
luj1985/dionysus,luj1985/dionysus,luj1985/dionysus
6452ee6950aa8c387397348976918cbb758fe0c4
android/src/main/java/com/reactnative/googlefit/GoogleFitPackage.java
android/src/main/java/com/reactnative/googlefit/GoogleFitPackage.java
/** * Copyright (c) 2017-present, Stanislav Doskalenko - doskalenko.s@gmail.com * All rights reserved. * * This source code is licensed under the MIT-style license found in the * LICENSE file in the root directory of this source tree. * * Based on Asim Malik's android source code, copyright (c) 2015 * **/ pac...
/** * Copyright (c) 2017-present, Stanislav Doskalenko - doskalenko.s@gmail.com * All rights reserved. * * This source code is licensed under the MIT-style license found in the * LICENSE file in the root directory of this source tree. * * Based on Asim Malik's android source code, copyright (c) 2015 * **/ pac...
Fix backward compatibility for RN < 0.47
Fix backward compatibility for RN < 0.47
Java
mit
StasDoskalenko/react-native-google-fit,StasDoskalenko/react-native-google-fit