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
b900fc04b666933709a66e6164cdc5ba29f5ae11
generators/server/templates/src/test/java/package/cucumber/stepdefs/_StepDefs.java
generators/server/templates/src/test/java/package/cucumber/stepdefs/_StepDefs.java
package <%=packageName%>.cucumber.stepdefs; import <%=packageName%>.<%= mainClass %>; import org.springframework.boot.test.SpringApplicationContextLoader; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.web.WebAppConfiguration; import org.springframework.test.web....
package <%=packageName%>.cucumber.stepdefs; import <%=packageName%>.<%= mainClass %>; import org.springframework.test.context.ContextConfiguration; import org.springframework.test.context.web.WebAppConfiguration; import org.springframework.test.web.servlet.ResultActions; import org.springframework.boot.test.context....
Fix cucumber tests after SB1.5.1 upgrade
Fix cucumber tests after SB1.5.1 upgrade
Java
apache-2.0
ctamisier/generator-jhipster,rifatdover/generator-jhipster,stevehouel/generator-jhipster,JulienMrgrd/generator-jhipster,deepu105/generator-jhipster,danielpetisme/generator-jhipster,sohibegit/generator-jhipster,duderoot/generator-jhipster,JulienMrgrd/generator-jhipster,robertmilowski/generator-jhipster,dimeros/generator...
501269a1fbcdd52ef5c29c2cf2a6ad6f4c939c69
Client/src/main/java/org/xdi/oxauth/client/fido/u2f/RegistrationRequestService.java
Client/src/main/java/org/xdi/oxauth/client/fido/u2f/RegistrationRequestService.java
/* * oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2014, Gluu */ package org.xdi.oxauth.client.fido.u2f; import org.xdi.oxauth.model.fido.u2f.protocol.RegisterRequestMessage; import org.xdi.oxauth.model.fido.u2f.protocol.RegisterStatus; ...
/* * oxAuth is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2014, Gluu */ package org.xdi.oxauth.client.fido.u2f; import org.xdi.oxauth.model.fido.u2f.protocol.RegisterRequestMessage; import org.xdi.oxauth.model.fido.u2f.protocol.RegisterStatus; ...
Add enrollment_code to U2F client
Add enrollment_code to U2F client
Java
mit
GluuFederation/oxAuth,GluuFederation/oxAuth,madumlao/oxAuth,madumlao/oxAuth,madumlao/oxAuth,GluuFederation/oxAuth,madumlao/oxAuth,GluuFederation/oxAuth,madumlao/oxAuth,GluuFederation/oxAuth
63ab1cc158b822e9762f1cb5a83066fe6674c7ff
src/com/google/javascript/jscomp/gwt/super/com/google/javascript/jscomp/Tracer.java
src/com/google/javascript/jscomp/gwt/super/com/google/javascript/jscomp/Tracer.java
/* * Copyright 2015 The Closure Compiler Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
/* * Copyright 2015 The Closure Compiler Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
Enable time tracking in the performance tracker
GWT: Enable time tracking in the performance tracker ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130721094
Java
apache-2.0
vobruba-martin/closure-compiler,monetate/closure-compiler,tdelmas/closure-compiler,Pimm/closure-compiler,ChadKillingsworth/closure-compiler,Pimm/closure-compiler,ChadKillingsworth/closure-compiler,ChadKillingsworth/closure-compiler,Yannic/closure-compiler,mprobst/closure-compiler,vobruba-martin/closure-compiler,google/...
c7cbdd73b95c5f2f148a4155ead6585bd441d428
wikipedia-it/src/main/java/org/wikipedia/test/WikipediaZeroTests.java
wikipedia-it/src/main/java/org/wikipedia/test/WikipediaZeroTests.java
package org.wikipedia.test; import android.content.*; import android.test.*; import org.mediawiki.api.json.*; import org.wikipedia.WikipediaApp; import org.wikipedia.zero.*; import java.util.concurrent.*; public class WikipediaZeroTests extends ActivityUnitTestCase<TestDummyActivity> { private static final int T...
package org.wikipedia.test; import android.content.*; import android.test.*; import java.util.HashMap; import org.mediawiki.api.json.*; import org.wikipedia.WikipediaApp; import org.wikipedia.zero.*; import java.util.concurrent.*; public class WikipediaZeroTests extends ActivityUnitTestCase<TestDummyActivity> { ...
Make W0 task handler test play more nicely.
Make W0 task handler test play more nicely. Change-Id: I19bacffb3c7b2cea75fc9efd54af104fcb89f4c4
Java
apache-2.0
reproio/apps-android-wikipedia,dbrant/apps-android-wikipedia,Duct-and-rice/KrswtkhrWiki4Android,wikimedia/apps-android-wikipedia,carloshwa/apps-android-wikipedia,carloshwa/apps-android-wikipedia,wikimedia/apps-android-wikipedia,Wikinaut/wikipedia-app,Wikinaut/wikipedia-app,SAGROUP2/apps-android-wikipedia,SAGROUP2/apps-...
41e62cfeebea6e49860735826f08c14377fe1191
src/main/java/sssj/index/Index.java
src/main/java/sssj/index/Index.java
package sssj.index; import java.util.Map; import sssj.base.Vector; public interface Index { /** * Queries the current index with the vector passed as parameter. * * @param v * the query vector * @param addToIndex * a boolean indicating whether to add the query vector to the in...
package sssj.index; import java.util.Map; import sssj.base.Vector; public interface Index { /** * Queries the current index with the vector passed as parameter. * * @param v * the query vector * @param addToIndex * a boolean indicating whether to add the query vector to the in...
Remove abstract from interface declaration
Remove abstract from interface declaration
Java
apache-2.0
gdfm/sssj,gdfm/sssj,gdfm/sssj
bef500c3a00384f2c41c43e40f2859727dd6c567
xstream/src/java/com/thoughtworks/xstream/core/util/ClassStack.java
xstream/src/java/com/thoughtworks/xstream/core/util/ClassStack.java
package com.thoughtworks.xstream.core.util; public final class ClassStack { private Class[] stack; private int pointer; public ClassStack(int initialCapacity) { stack = new Class[initialCapacity]; } public void push(Class value) { if (pointer + 1 >= stack.length) { re...
package com.thoughtworks.xstream.core.util; public final class ClassStack { private Class[] stack; private int pointer; public ClassStack(int initialCapacity) { stack = new Class[initialCapacity]; } public void push(Class value) { if (pointer + 1 >= stack.length) { re...
Drop references from popped classes.
Drop references from popped classes. git-svn-id: fe6d842192ccfb78748eb71580d1ce65f168b559@704 9830eeb5-ddf4-0310-9ef7-f4b9a3e3227e
Java
bsd-3-clause
Groostav/xstream,Groostav/xstream,emopers/xstream,tenghuihua/xstream,emopers/xstream,tenghuihua/xstream,vkscool/xstream,vkscool/xstream
2ce3c3076c456495ef9b84b910255a4fa0b771cf
app/src/main/java/com/satsumasoftware/timetable/ui/SplashActivity.java
app/src/main/java/com/satsumasoftware/timetable/ui/SplashActivity.java
package com.satsumasoftware.timetable.ui; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import com.satsumasoftware.timetable.R; import com.satsumasoftware.timetable.TimetableApplication; import com.satsumasoftware.timetable.framework.Timetable; public class...
package com.satsumasoftware.timetable.ui; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import com.satsumasoftware.timetable.R; import com.satsumasoftware.timetable.TimetableApplication; import com.satsumasoftware.timetable.frame...
Use startActivityForResult when creating the first Timetable
Use startActivityForResult when creating the first Timetable
Java
apache-2.0
FarbodSalamat-Zadeh/TimetableApp,FarbodSalamat-Zadeh/TimetableApp
87e308ad16e0e9649efa773f5056f373c7b95336
rxjava-core/src/main/java/rx/util/Exceptions.java
rxjava-core/src/main/java/rx/util/Exceptions.java
/** * Copyright 2013 Netflix, 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 t...
/** * Copyright 2013 Netflix, 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 t...
Add Error propagation now that we use Throwable.
Add Error propagation now that we use Throwable.
Java
apache-2.0
lijunhuayc/RxJava,Turbo87/RxJava,devagul93/RxJava,kuanghao/RxJava,nvoron23/RxJava,fjg1989/RxJava,dromato/RxJava,weikipeng/RxJava,picnic106/RxJava,randall-mo/RxJava,nvoron23/RxJava,lijunhuayc/RxJava,ChenWenHuan/RxJava,ronenhamias/RxJava,rabbitcount/RxJava,akarnokd/RxJava,KevinTCoughlin/RxJava,randall-mo/RxJava,YlJava110...
c8388bc87f327c998f1b1ccd954b69c186c36415
src/main/java/com/twu/biblioteca/menu/QuitAction.java
src/main/java/com/twu/biblioteca/menu/QuitAction.java
package com.twu.biblioteca.menu; public class QuitAction implements Action { @Override public String toString() { return "Quit"; } @Override public void performAction() { System.exit(0); } }
package com.twu.biblioteca.menu; public class QuitAction implements Action { @Override public String toString() { return "Quit"; } @Override public void performAction() { } }
Quit operation does not perform any action
Quit operation does not perform any action
Java
apache-2.0
HariniVS/twu-biblioteca-harinivs
fcaee664625b7620cb9e9e4fa175f136feff1b6a
Magic/src/main/java/com/elmakers/mine/bukkit/magic/command/config/AsyncProcessor.java
Magic/src/main/java/com/elmakers/mine/bukkit/magic/command/config/AsyncProcessor.java
package com.elmakers.mine.bukkit.magic.command.config; import java.util.logging.Level; import org.bukkit.ChatColor; import org.bukkit.command.CommandSender; import org.bukkit.plugin.Plugin; import com.elmakers.mine.bukkit.api.magic.MageController; public class AsyncProcessor { public static void success(MageCon...
package com.elmakers.mine.bukkit.magic.command.config; import java.util.logging.Level; import org.bukkit.ChatColor; import org.bukkit.command.CommandSender; import org.bukkit.plugin.Plugin; import com.elmakers.mine.bukkit.api.magic.Mage; import com.elmakers.mine.bukkit.api.magic.MageController; public class AsyncPr...
Allow chat component processing in async result messaging
Allow chat component processing in async result messaging
Java
mit
elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin
a319ce6d2641dc82d8e7864d98b31e509ea158ff
MZS_JVM/src/mzsJVM/Event/Module_OnClientLeave.java
MZS_JVM/src/mzsJVM/Event/Module_OnClientLeave.java
package mzsJVM.Event; import mzsJVM.Entities.PlayerEntity; import mzsJVM.GameObject.PlayerGO; import mzsJVM.IScriptEventHandler; import mzsJVM.Repository.PlayerRepository; import org.nwnx.nwnx2.jvm.*; @SuppressWarnings("unused") public class Module_OnClientLeave implements IScriptEventHandler { @Override public void...
package mzsJVM.Event; import mzsJVM.Entities.PlayerEntity; import mzsJVM.GameObject.PlayerGO; import mzsJVM.IScriptEventHandler; import mzsJVM.Repository.PlayerRepository; import org.nwnx.nwnx2.jvm.*; @SuppressWarnings("unused") public class Module_OnClientLeave implements IScriptEventHandler { @Override public void...
Fix for exception on client leave for DMs
Fix for exception on client leave for DMs
Java
mit
zunath/MZS_JVM
257653e5e318e528ed2cc3be40cc1295d50db95d
annotations/src/main/java/org/realityforge/arez/annotations/Observable.java
annotations/src/main/java/org/realityforge/arez/annotations/Observable.java
package org.realityforge.arez.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Methods marked with this annotation are observable values within Arez. * * <p>The method should only invo...
package org.realityforge.arez.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Methods marked with this annotation are observable values within Arez. * * <p>The method should only invo...
Add the ability to override the property name
Add the ability to override the property name
Java
apache-2.0
realityforge/arez,realityforge/arez,realityforge/arez
418eee3ed7e58ec8761db8de632096e14f8f8b23
app/src/main/java/lib/morkim/mfw/ui/Presenter.java
app/src/main/java/lib/morkim/mfw/ui/Presenter.java
package lib.morkim.mfw.ui; import android.content.Context; import java.util.Observable; import java.util.Observer; import lib.morkim.mfw.app.AppContext; import lib.morkim.mfw.domain.Model; import lib.morkim.mfw.usecase.UseCase; import lib.morkim.mfw.usecase.UseCaseProgress; import lib.morkim.mfw.usecase.UseCaseResul...
package lib.morkim.mfw.ui; import android.content.Context; import lib.morkim.mfw.app.AppContext; public abstract class Presenter { private AppContext appContext; protected Viewable viewable; public Presenter(Viewable viewable) { this.viewable = viewable; this.appContext = viewable.getMorkimContext(); } ...
Remove view model in presenter
Remove view model in presenter
Java
mit
alkammar/morkim
a0ede41c3dd8ac047c6d24291b8465fe5c776e2f
App/src/main/java/tw/wancw/curator/api/CuratorApi.java
App/src/main/java/tw/wancw/curator/api/CuratorApi.java
package tw.wancw.curator.api; import com.loopj.android.http.AsyncHttpClient; import com.loopj.android.http.RequestParams; public class CuratorApi { private static final String API_END_POINT = "http://curator.im/api/"; private static final AsyncHttpClient client = new AsyncHttpClient(); private final St...
package tw.wancw.curator.api; import com.loopj.android.http.AsyncHttpClient; import com.loopj.android.http.RequestParams; public class CuratorApi { private static final String API_END_POINT = "http://curator.im/api/"; private static final AsyncHttpClient client = new AsyncHttpClient(); private final St...
Support `page` parameter in stream API.
Support `page` parameter in stream API.
Java
mit
wancw/curator-android
2ed8bf676ebb2b05c16405cd6bbcd1de57e69368
rocketmq-example/src/main/java/com/alibaba/rocketmq/example/verify/SelectPartition.java
rocketmq-example/src/main/java/com/alibaba/rocketmq/example/verify/SelectPartition.java
package com.alibaba.rocketmq.example.verify; import com.alibaba.rocketmq.common.UtilAll; import org.apache.commons.cli.*; public class SelectPartition { public static void main(String[] args) throws ParseException { Options options = new Options(); Option option = new Option("p", "path", true, "P...
package com.alibaba.rocketmq.example.verify; import com.alibaba.rocketmq.common.UtilAll; import org.apache.commons.cli.*; public class SelectPartition { public static void main(String[] args) throws ParseException { Options options = new Options(); Option option = new Option("p", "path", true, "P...
Add test to show disk usage ratio per partition.
Add test to show disk usage ratio per partition.
Java
apache-2.0
lizhanhui/Alibaba_RocketMQ,lizhanhui/Alibaba_RocketMQ,lizhanhui/Alibaba_RocketMQ
78281963bb5812e48955ad34ed5e6457ba6b8512
src/test/java/ro/stancalau/lombok/base/PersonBaseEqualsAndHashTest.java
src/test/java/ro/stancalau/lombok/base/PersonBaseEqualsAndHashTest.java
package ro.stancalau.lombok.base; import org.junit.Before; import org.junit.Test; import ro.stancalau.lombok.api.ImmutablePerson; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; public abstract class PersonBaseEqualsAndHashTest<T extends ImmutablePerson> implements PersonFactor...
package ro.stancalau.lombok.base; import org.junit.Before; import org.junit.Test; import ro.stancalau.lombok.api.ImmutablePerson; import static org.junit.Assert.*; public abstract class PersonBaseEqualsAndHashTest<T extends ImmutablePerson> implements PersonFactory<T> { private T person; private T samePerso...
Add transitive test for equals and hashcode test.
Add transitive test for equals and hashcode test.
Java
apache-2.0
stancalau/lombok
e4db9e64197a2f6eaef8f3a1ae3d33fc5ab2a2a8
lib/android/app/src/main/java/com/reactnativenavigation/presentation/OverlayManager.java
lib/android/app/src/main/java/com/reactnativenavigation/presentation/OverlayManager.java
package com.reactnativenavigation.presentation; import android.view.ViewGroup; import com.reactnativenavigation.utils.CommandListener; import com.reactnativenavigation.viewcontrollers.ViewController; import java.util.HashMap; public class OverlayManager { private final HashMap<String, ViewController> overlayReg...
package com.reactnativenavigation.presentation; import android.support.annotation.Nullable; import android.view.ViewGroup; import com.reactnativenavigation.utils.CommandListener; import com.reactnativenavigation.viewcontrollers.ViewController; import java.util.HashMap; public class OverlayManager { private fina...
Handle NPE when showing Overlay before setRoot is called
Handle NPE when showing Overlay before setRoot is called Rejecting the promise is a temporary solution, Overlay should not be coupled to root.
Java
mit
thanhzusu/react-native-navigation,thanhzusu/react-native-navigation,Jpoliachik/react-native-navigation,guyca/react-native-navigation,Jpoliachik/react-native-navigation,Jpoliachik/react-native-navigation,ceyhuno/react-native-navigation,thanhzusu/react-native-navigation,wix/react-native-navigation,chicojasl/react-native-...
eb67ba1ce6f831a73028034524ccf0ef70272e37
service-userlayer/src/main/java/org/oskari/map/userlayer/service/UserLayerDbService.java
service-userlayer/src/main/java/org/oskari/map/userlayer/service/UserLayerDbService.java
package org.oskari.map.userlayer.service; import fi.nls.oskari.domain.map.userlayer.UserLayer; import fi.nls.oskari.domain.map.userlayer.UserLayerData; import fi.nls.oskari.domain.map.userlayer.UserLayerStyle; import fi.nls.oskari.service.OskariComponent; import fi.nls.oskari.service.ServiceException; import java.uti...
package org.oskari.map.userlayer.service; import fi.nls.oskari.domain.map.userlayer.UserLayer; import fi.nls.oskari.domain.map.userlayer.UserLayerData; import fi.nls.oskari.domain.map.userlayer.UserLayerStyle; import fi.nls.oskari.service.OskariComponent; import fi.nls.oskari.service.ServiceException; import java.uti...
Remove empty lines that make it harder to read
Remove empty lines that make it harder to read
Java
mit
nls-oskari/oskari-server,nls-oskari/oskari-server,nls-oskari/oskari-server
d57a6cffbee08821982a93586c3a93a0f3d5d82d
src/test/java/com/mdsol/mauth/MAuthRequestSignerTest.java
src/test/java/com/mdsol/mauth/MAuthRequestSignerTest.java
package com.mdsol.mauth; import static org.junit.Assert.fail; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import java.io.IOException; import java.lang.SecurityException; import java.util.UUID; /** * Tests for {@link com.mdsol.mauth.MAuthRequestSigner} * * @author Jona...
package com.mdsol.mauth; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import org.apache.commons.io.IOUtils; import org.junit.Before; import org.junit.BeforeClass; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import java.util.Map; import ...
Add time test and use fixed UUID and key
Add time test and use fixed UUID and key
Java
mit
mdsol/mauth-java-client,mdsol/mauth-java-client
c214b6428eed17de89f649fdb8d9e92aecf28409
src/main/java/absyn/VarSimple.java
src/main/java/absyn/VarSimple.java
package absyn; import env.Env; import javaslang.collection.Tree; import parse.Loc; import semantic.SemanticHelper; import types.INT; import types.Type; public class VarSimple extends Var { public final String name; public VarSimple(Loc loc, String name) { super(loc); this.name = name; } @Ov...
package absyn; import env.Env; import javaslang.collection.Tree; import parse.Loc; import types.FUNCTION; import types.Type; import static semantic.SemanticHelper.undefined; import static semantic.SemanticHelper.error; public class VarSimple extends Var { public final String name; public VarSimple(Loc loc, S...
Fix semantic analysis of simple variables
Fix semantic analysis of simple variables Functions cannot be used as variable.
Java
mit
romildo/eplan,romildo/eplan
644b3df5e8b9a15433ddb776c275d19df338971f
src/main/java/eu/euregjug/site/Application.java
src/main/java/eu/euregjug/site/Application.java
/* * Copyright 2015-2016 EuregJUG. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
/* * Copyright 2015-2016 EuregJUG. * * 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...
Enable LoadTimeWeaving to support internal calls to proxied methods
Enable LoadTimeWeaving to support internal calls to proxied methods
Java
apache-2.0
EuregJUG-Maas-Rhine/site,EuregJUG-Maas-Rhine/site,EuregJUG-Maas-Rhine/site
c012b7dc43ab102e06fa66324a015f137ed6ce14
alura/algoritmos/TestaOrdenacao.java
alura/algoritmos/TestaOrdenacao.java
public class TestaOrdenacao { public static void main(String[] args) { Produto produtos[] = { new Produto("Lamborghini", 1000000), new Produto("Jipe", 46000), new Produto("Brasília", 16000), new Produto("Smart", 46000), new Produto("Fusca", 17000) }; for(int atual = 0; atu...
public class TestaOrdenacao { public static void main(String[] args) { Produto produtos[] = { new Produto("Lamborghini", 1000000), new Produto("Jipe", 46000), new Produto("Brasília", 16000), new Produto("Smart", 46000), new Produto("Fusca", 17000) }; ordena(produtos, produ...
Insert new files, Alura, Projeto de Algoritmos 1, Aula 21
Insert new files, Alura, Projeto de Algoritmos 1, Aula 21
Java
mit
fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs,fabriciofmsilva/labs
703f4293b47298437fd2ec4150f956c7a531b246
src/paprika/neo4j/ARGB8888Query.java
src/paprika/neo4j/ARGB8888Query.java
package paprika.neo4j; import org.neo4j.cypher.CypherException; import org.neo4j.graphdb.Result; import org.neo4j.graphdb.Transaction; import java.io.IOException; /** * Created by antonin on 16-05-03. */ public class ARGB8888Query extends Query { private ARGB8888Query(QueryEngine queryEngine) { super(...
package paprika.neo4j; import org.neo4j.cypher.CypherException; import org.neo4j.graphdb.Result; import org.neo4j.graphdb.Transaction; import java.io.IOException; /** * Created by antonin on 16-05-03. */ public class ARGB8888Query extends Query { private ARGB8888Query(QueryEngine queryEngine) { super(...
Add details to the query ARGB_8888
Add details to the query ARGB_8888
Java
agpl-3.0
GeoffreyHecht/paprika,GeoffreyHecht/paprika
0e294318ad013cb51f2d90f3d48633ce1d29e338
siia-examples-parent/webapp/src/main/java/com/manning/siia/TripQuoteRequestProcessor.java
siia-examples-parent/webapp/src/main/java/com/manning/siia/TripQuoteRequestProcessor.java
package com.manning.siia; import siia.booking.domain.trip.LegQuoteCommand; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.xml.transform.StringResult; import org.springframework.xml.transform.StringSource; import javax.xml.transform.Source; public clas...
package com.manning.siia; import siia.booking.domain.trip.LegQuoteCommand; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.xml.transform.StringResult; import org.springframework.xml.transform.StringSource; import javax.xml.transform.Source; public clas...
Fix for handling HTTP requests properly
Fix for handling HTTP requests properly
Java
apache-2.0
spring-projects/Spring-Integration-in-Action,zhouyinyan/Spring-Integration-in-Action,pkdevbox/Spring-Integration-in-Action
1c66a63112d7b93146bc2241eefeca4543fe7a37
reports-rest/src/main/java/org/jboss/da/rest/Root.java
reports-rest/src/main/java/org/jboss/da/rest/Root.java
package org.jboss.da.rest; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; /** * * @author Jozef Mrazek <jmrazek@redhat.com> * */ @Path("/") public class Root { @GET @Produces(MediaType.TEXT_HTML) public String getDescription() { ...
package org.jboss.da.rest; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; /** * * @author Jozef Mrazek <jmrazek@redhat.com> * */ @Path("/") public class Root { @GET @Produces(MediaType.TEXT_HTML) public String getDescription() { ...
Fix the doc url from root
Fix the doc url from root
Java
apache-2.0
janinko/dependency-analysis,janinko/dependency-analysis,janinko/dependency-analysis,project-ncl/dependency-analysis,janinko/dependency-analysis,project-ncl/dependency-analysis,project-ncl/dependency-analysis,janinko/dependency-analysis
6474d7e7434cf144d2b4274dcef9c0ec9ccee013
src/main/java/com/easternedgerobotics/rov/fx/CpuInformationView.java
src/main/java/com/easternedgerobotics/rov/fx/CpuInformationView.java
package com.easternedgerobotics.rov.fx; import javafx.scene.Parent; import javafx.scene.control.Label; import javafx.scene.layout.HBox; import javafx.scene.layout.VBox; import javax.inject.Inject; public class CpuInformationView implements View { private static final int LABEL_SPACING = 5; final Label frequ...
package com.easternedgerobotics.rov.fx; import javafx.geometry.Pos; import javafx.scene.Node; import javafx.scene.Parent; import javafx.scene.control.Label; import javafx.scene.layout.HBox; import javafx.scene.layout.VBox; import javafx.scene.text.Font; import javafx.scene.text.FontWeight; import javax.inject.Inject;...
Adjust CpuInfo view to match style of SensorView
Adjust CpuInfo view to match style of SensorView
Java
mit
EasternEdgeRobotics/2016,EasternEdgeRobotics/2016,EasternEdgeRobotics/2016,EasternEdgeRobotics/2016
be0b7252dcb6120ec0c420a35f01ee72604d5aa0
src/main/java/info/maccac/recorder/client/TestResultsClientImpl.java
src/main/java/info/maccac/recorder/client/TestResultsClientImpl.java
package info.maccac.recorder.client; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.intellij.openapi.diagnostic.Logger; import info.maccac.recorder.TestResults; public class TestResultsClientImpl implements TestResultsClient { private static final Logger logger = Logger.getInstance("...
package info.maccac.recorder.client; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.intellij.notification.Notification; import com.intellij.notification.NotificationType; import com.intellij.notification.Notifications; import com.intellij.openapi.diagnostic.Logger; import info.maccac.recor...
Send results to an external service
Send results to an external service
Java
apache-2.0
maccac/idea-test-recorder-plugin,maccac/idea-test-recorder-plugin
0c2e31ce3e57f10e07b6f00668036cdb488aa752
src/com/haxademic/core/image/filters/shaders/BaseFilter.java
src/com/haxademic/core/image/filters/shaders/BaseFilter.java
package com.haxademic.core.image.filters.shaders; import com.haxademic.core.system.FileUtil; import processing.core.PApplet; import processing.core.PGraphics; import processing.opengl.PShader; public class BaseFilter { protected PShader shader; public BaseFilter(PApplet p, String shaderFilePath) { shader = p.l...
package com.haxademic.core.image.filters.shaders; import com.haxademic.core.system.FileUtil; import processing.core.PApplet; import processing.core.PGraphics; import processing.opengl.PShader; public class BaseFilter { protected PShader shader; protected float time; public BaseFilter(PApplet p, String shaderFil...
Add time to all shaders, since most of them need it
Add time to all shaders, since most of them need it
Java
mit
cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic
4cd030518cf2ec49b725484af16e8f37ebb258a2
src/org/graphstream/gama/extension/IKeywordGSAdditional.java
src/org/graphstream/gama/extension/IKeywordGSAdditional.java
package org.graphstream.gama.extension; import msi.gama.common.interfaces.IKeyword; public class IKeywordGSAdditional implements IKeyword { // New commands public static final String ADD = "gs_add"; public static final String ADD_ATTRIBUTE = "gs_add_attribute"; public static final String ADD_SENDER = "gs_add_se...
package org.graphstream.gama.extension; import msi.gama.common.interfaces.IKeyword; public class IKeywordGSAdditional implements IKeyword { // New commands public static final String ADD_EDGE = "gs_add_edge"; public static final String ADD_EDGE_ATTRIBUTE = "gs_add_edge_attribute"; public static final String ADD...
Update with new commands and new facets
Update with new commands and new facets
Java
apache-2.0
graphstream/gs-gama
246c62e9bf2e8f1f98e2d8fada06e6dbefef500e
code/framework/java-server/src/main/java/io/github/ibuildthecloud/gdapi/util/ProxyUtils.java
code/framework/java-server/src/main/java/io/github/ibuildthecloud/gdapi/util/ProxyUtils.java
package io.github.ibuildthecloud.gdapi.util; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.Map; import org.apache.commons.lang3.StringUtils; public class ProxyUtils { @SuppressWarnings("unchecked") public static <T> T proxy(fina...
package io.github.ibuildthecloud.gdapi.util; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.Map; import org.apache.commons.lang3.StringUtils; public class ProxyUtils { @SuppressWarnings("unchecked") public static <T> T proxy(fina...
Support enums in proxying request objects
Support enums in proxying request objects
Java
apache-2.0
vincent99/cattle,rancher/cattle,cloudnautique/cattle,cjellick/cattle,cloudnautique/cattle,rancherio/cattle,rancherio/cattle,cjellick/cattle,cjellick/cattle,vincent99/cattle,cjellick/cattle,vincent99/cattle,rancherio/cattle,cloudnautique/cattle,cloudnautique/cattle,rancher/cattle,rancher/cattle
fd76f985a3c389caffd5e82460a61d232c2fc603
src/main/java/com/infinityraider/agricraft/content/core/ItemAgriNugget.java
src/main/java/com/infinityraider/agricraft/content/core/ItemAgriNugget.java
package com.infinityraider.agricraft.content.core; import com.infinityraider.agricraft.reference.Names; import com.infinityraider.infinitylib.item.ItemBase; import net.minecraft.item.ItemGroup; import net.minecraft.item.ItemStack; import net.minecraft.item.Items; import net.minecraft.tileentity.AbstractFurnaceTileEnti...
package com.infinityraider.agricraft.content.core; import com.infinityraider.agricraft.reference.Names; import com.infinityraider.infinitylib.item.ItemBase; import net.minecraft.item.ItemGroup; import net.minecraft.item.ItemStack; import net.minecraft.item.Items; import net.minecraftforge.common.ForgeHooks; public cl...
Make coal nugget burn time pass through the Forge hook
Make coal nugget burn time pass through the Forge hook
Java
mit
AgriCraft/AgriCraft,InfinityRaider/AgriCraft
224773dfaf6fb2facfa7ed7e5473e0361d936187
app/android/Sensorama/app/src/main/java/com/barvoy/sensorama/SRAPIPerms.java
app/android/Sensorama/app/src/main/java/com/barvoy/sensorama/SRAPIPerms.java
// Copyright (c) 2015, Wojciech Adam Koszek <wojciech@koszek.com> // All rights reserved. package com.barvoy.sensorama; public class SRAPIPerms { public static final String parseAPIID = "PARSE_API_ID"; public static final String parseCLIID = "PARSE_CLIENT_ID"; }
// Copyright (c) 2015, Wojciech Adam Koszek <wojciech@koszek.com> // All rights reserved. package com.barvoy.sensorama; public class SRAPIPerms { public static final String parseAPIID = "UNUSED_PARSE_API_ID"; public static final String parseCLIID = "UNUSED_PARSE_CLIENT_ID"; }
Mark this file as unused for now.
Mark this file as unused for now.
Java
bsd-2-clause
wkoszek/sensorama,wkoszek/sensorama
a81bfd86a95a235f56710f2e511856a3d80eaad1
src/test/java/org/jboss/loom/migrators/_ext/ExternalMigratorsLoaderTest.java
src/test/java/org/jboss/loom/migrators/_ext/ExternalMigratorsLoaderTest.java
package org.jboss.loom.migrators._ext; import java.io.File; import org.apache.commons.io.FileUtils; import org.jboss.loom.conf.GlobalConfiguration; import org.jboss.loom.utils.Utils; import org.junit.Test; /** * * @author Ondrej Zizka, ozizka at redhat.com */ public class ExternalMigratorsLoaderTest { pub...
package org.jboss.loom.migrators._ext; import java.io.File; import java.util.Map; import org.apache.commons.io.FileUtils; import org.jboss.loom.conf.GlobalConfiguration; import org.jboss.loom.utils.Utils; import org.junit.Test; /** * * @author Ondrej Zizka, ozizka at redhat.com */ public class ExternalMigratorsLoa...
Improve ext migr loading test
Improve ext migr loading test
Java
apache-2.0
OndraZizka/jboss-migration,OndraZizka/jboss-migration,OndraZizka/jboss-migration
2cb1a2c317cb9343f45731e1b5c7f599cc419851
src/main/java/net/tropicraft/core/common/block/TropicsFlowerBlock.java
src/main/java/net/tropicraft/core/common/block/TropicsFlowerBlock.java
package net.tropicraft.core.common.block; import net.minecraft.block.BlockState; import net.minecraft.block.FlowerBlock; import net.minecraft.potion.Effect; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.shapes.ISelectionContext; import net.minecraft.util.math.shapes.VoxelShape; import net.min...
package net.tropicraft.core.common.block; import net.minecraft.block.BlockState; import net.minecraft.block.FlowerBlock; import net.minecraft.potion.Effect; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.Vec3d; import net.minecraft.util.math.shapes.ISelectionContext; import net.minecraft.util....
Fix flower block selection boxes not being offset
Fix flower block selection boxes not being offset
Java
mpl-2.0
Tropicraft/Tropicraft,Tropicraft/Tropicraft,Tropicraft/Tropicraft
337aa7f2aa4893e055674230d5fcaa23eb0ffdb2
parity-net/src/main/java/org/jvirtanen/parity/net/pmd/PMDException.java
parity-net/src/main/java/org/jvirtanen/parity/net/pmd/PMDException.java
package org.jvirtanen.parity.net.pmd; import org.jvirtanen.parity.net.ProtocolException; public class PMDException extends ProtocolException { public PMDException(String message) { super(message); } }
package org.jvirtanen.parity.net.pmd; import org.jvirtanen.parity.net.ProtocolException; /** * Indicates a protocol error while handling the PMD protocol. */ public class PMDException extends ProtocolException { /** * Construct an instance with the specified detail message. * * @param message th...
Add documentation for PMD exception in network protocols
Add documentation for PMD exception in network protocols
Java
apache-2.0
pmcs/parity,paritytrading/parity,pmcs/parity,paritytrading/parity
38174f09b32189c45761f41d819b74fa41c15346
Quicklook/quicklooklib/src/main/java/cl/uchile/ing/adi/quicklooklib/fragments/WebFragment.java
Quicklook/quicklooklib/src/main/java/cl/uchile/ing/adi/quicklooklib/fragments/WebFragment.java
package cl.uchile.ing.adi.quicklooklib.fragments; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.webkit.WebView; import cl.uchile.ing.adi.quicklooklib.R; /** * Created by dudu on 04-01-2016. */ public class WebFragment extends Q...
package cl.uchile.ing.adi.quicklooklib.fragments; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.webkit.WebView; import cl.uchile.ing.adi.quicklooklib.R; /** * Created by dudu on 04-01-2016. */ public class WebFragment extends Q...
Hide zoom buttons fixed (Only on android >3.0)
Hide zoom buttons fixed (Only on android >3.0)
Java
mit
Ucampus/quicklook,FCFM-ADI/quicklook,FCFM-ADI/quicklook,Ucampus/quicklook
8b48f237418ff9833cf7c9484ab760bdb535e219
src/main/java/com/bwssystems/HABridge/plugins/moziot/MozIotCommandDetail.java
src/main/java/com/bwssystems/HABridge/plugins/moziot/MozIotCommandDetail.java
package com.bwssystems.HABridge.plugins.moziot; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class MozIotCommandDetail { @SerializedName("on") @Expose private boolean on; @SerializedName("level") @Expose private String level; @SerializedNam...
package com.bwssystems.HABridge.plugins.moziot; import com.google.gson.annotations.Expose; import com.google.gson.annotations.SerializedName; public class MozIotCommandDetail { @SerializedName("on") @Expose private boolean on; @SerializedName("level") @Expose private String level; @SerializedNam...
Fix the bad practice "Comparison of String objects using == or !=".
Fix the bad practice "Comparison of String objects using == or !=".
Java
apache-2.0
bwssytems/ha-bridge,bwssytems/ha-bridge,bwssytems/amazon-echo-bridge-compact,bwssytems/amazon-echo-bridge-compact,bwssytems/ha-bridge,bwssytems/amazon-echo-bridge-compact
42d883f162373828ed55e7dcda9ed4c6efec3f3c
src/libbluray/bdj/java/com/aacsla/bluray/online/DeviceAttribute.java
src/libbluray/bdj/java/com/aacsla/bluray/online/DeviceAttribute.java
/* * This file is part of libbluray * Copyright (C) 2012 libbluray * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any l...
/* * This file is part of libbluray * Copyright (C) 2012 libbluray * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any l...
Return empty ID instead of null
Return empty ID instead of null
Java
lgpl-2.1
ace20022/libbluray,mwgoldsmith/bluray,ShiftMediaProject/libbluray,tourettes/libbluray,ShiftMediaProject/libbluray,ace20022/libbluray,Azzuro/libbluray,mwgoldsmith/bluray,Azzuro/libbluray,tourettes/libbluray,tourettes/libbluray,Azzuro/libbluray,mwgoldsmith/bluray,ShiftMediaProject/libbluray,tourettes/libbluray,ace20022/l...
57636be0202a309bbc0dc77e970796c739a41801
src/main/java/com/github/lunatrius/core/world/chunk/ChunkHelper.java
src/main/java/com/github/lunatrius/core/world/chunk/ChunkHelper.java
package com.github.lunatrius.core.world.chunk; import net.minecraft.util.math.BlockPos; import java.util.Random; public class ChunkHelper { private static final Random RANDOM = new Random(); public static boolean isSlimeChunk(final long seed, final BlockPos pos) { final long x = pos.getX() >> 4; ...
package com.github.lunatrius.core.world.chunk; import net.minecraft.util.math.BlockPos; import java.util.Random; public class ChunkHelper { private static final Random RANDOM = new Random(); public static boolean isSlimeChunk(final long seed, final BlockPos pos) { final int x = pos.getX() >> 4; ...
Use the proper formula for the random seed. The coordinates are multiplied as ints and are cast to longs for the final addition.
Use the proper formula for the random seed. The coordinates are multiplied as ints and are cast to longs for the final addition.
Java
mit
Lunatrius/LunatriusCore
1ce3db491ea2597f0467c6fc7ac1f2160507130a
src/main/java/org/dynmap/DynmapWebChatEvent.java
src/main/java/org/dynmap/DynmapWebChatEvent.java
package org.dynmap; import org.bukkit.event.Cancellable; import org.bukkit.event.Event; /** * Custom Bukkit event, corresponding to the receiving of a web-chat message from a web UI user * * This interface is Bukkit specific. */ public class DynmapWebChatEvent extends Event implements Cancellable { public sta...
package org.dynmap; import org.bukkit.event.Cancellable; import org.bukkit.event.Event; import org.bukkit.event.HandlerList; /** * Custom Bukkit event, corresponding to the receiving of a web-chat message from a web UI user * * This interface is Bukkit specific. */ @SuppressWarnings("serial") public class DynmapW...
Update events for 1.1 event system (breaks 1.0 compatibility)
Update events for 1.1 event system (breaks 1.0 compatibility)
Java
apache-2.0
webbukkit/dynmap-api,KovuTheHusky/dynmap-api
224cd904cc20c1835a0f152d6549a1e340920c65
OpERP/src/main/java/devopsdistilled/operp/client/abstracts/TaskPane.java
OpERP/src/main/java/devopsdistilled/operp/client/abstracts/TaskPane.java
package devopsdistilled.operp.client.abstracts; public abstract class TaskPane extends ViewPane { @Override public abstract String toString(); }
package devopsdistilled.operp.client.abstracts; import java.awt.Dimension; import java.awt.Font; import java.awt.Graphics; import java.awt.Image; import java.awt.image.BufferedImage; import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.SwingConstants; public abstract ...
Add methods for imageResizing and setting button size
Add methods for imageResizing and setting button size
Java
mit
DevOpsDistilled/OpERP,njmube/OpERP
ed5c2d2e6c24b19f47b9f11ec0572d1df0641fd8
platform/platform-impl/src/com/intellij/openapi/wm/impl/status/AutoShowProcessPopupAction.java
platform/platform-impl/src/com/intellij/openapi/wm/impl/status/AutoShowProcessPopupAction.java
/* * Copyright 2000-2010 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.wm.impl.status; import com.intellij.openapi.actionSystem.AnActionEvent; import com.intellij.openapi.project.DumbAwareToggleAction; import com.intelli...
Make auto-show background tasks action dumb aware
Make auto-show background tasks action dumb aware GitOrigin-RevId: 4d969343628f81fc3821394908929264116269b7
Java
apache-2.0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
b2d1b1531f6f7322f785db472270c6a0d0741a09
axelor-studio/src/main/java/com/axelor/studio/db/repo/SelectionBuilderRepo.java
axelor-studio/src/main/java/com/axelor/studio/db/repo/SelectionBuilderRepo.java
/* * Axelor Business Solutions * * Copyright (C) 2021 Axelor (<http://axelor.com>). * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed...
/* * Axelor Business Solutions * * Copyright (C) 2021 Axelor (<http://axelor.com>). * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed...
Fix removal of selection builder
Studio: Fix removal of selection builder
Java
agpl-3.0
axelor/axelor-business-suite,axelor/axelor-business-suite,axelor/axelor-business-suite
b52a593757121974c533208f4812ed92b65b1321
Server/src/main/java/org/gluu/oxauth/ws/rs/controller/HealthCheckController.java
Server/src/main/java/org/gluu/oxauth/ws/rs/controller/HealthCheckController.java
package org.gluu.oxauth.ws.rs.controller; import javax.enterprise.context.ApplicationScoped; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; /** * Health check controller * * @author Yuriy Movchan * @version Jul 24, 2020 *...
package org.gluu.oxauth.ws.rs.controller; import javax.enterprise.context.ApplicationScoped; import javax.inject.Inject; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import org.gluu.persist.PersistenceEntryManager; /** * He...
Add db status to health check
Add db status to health check
Java
mit
GluuFederation/oxAuth,GluuFederation/oxAuth,GluuFederation/oxAuth,GluuFederation/oxAuth,GluuFederation/oxAuth
4bd2eb02d1c69eb5716281df2a4b977db3f325fd
gws-core/src/main/java/au/gov/ga/geodesy/domain/service/SiteLogReceivedNotificationService.java
gws-core/src/main/java/au/gov/ga/geodesy/domain/service/SiteLogReceivedNotificationService.java
package au.gov.ga.geodesy.domain.service; import org.springframework.stereotype.Component; import au.gov.ga.geodesy.domain.model.event.Event; import au.gov.ga.geodesy.domain.model.event.SiteLogReceived; @Component public class SiteLogReceivedNotificationService extends EventNotificationService<SiteLogReceived> { ...
package au.gov.ga.geodesy.domain.service; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Component; import com.fasterxml.jackson.annotation.JsonFilter; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import ...
Drop siteLogText from SiteLogReceived SNS msg
Drop siteLogText from SiteLogReceived SNS msg
Java
bsd-3-clause
GeoscienceAustralia/Geodesy-Web-Services,GeoscienceAustralia/geodesy-domain-model,GeoscienceAustralia/Geodesy-Web-Services,GeoscienceAustralia/Geodesy-Web-Services,GeoscienceAustralia/geodesy-domain-model,GeoscienceAustralia/Geodesy-Web-Services
f13971f60b1ce4423ca9d0e840cc224473c182df
eclipse-unix-plugin/src/main/java/gr/aueb/dmst/istlab/unixtools/plugin/Activator.java
eclipse-unix-plugin/src/main/java/gr/aueb/dmst/istlab/unixtools/plugin/Activator.java
/* * Copyright 2015 The ISTLab. Use of this source code is governed by a GNU AFFERO GPL 3.0 license * that can be found in the LICENSE file. */ package gr.aueb.dmst.istlab.unixtools.plugin; import org.eclipse.ui.plugin.AbstractUIPlugin; import org.osgi.framework.BundleContext; import gr.aueb.dmst.istlab.unixtools...
/* * Copyright 2015 The ISTLab. Use of this source code is governed by a GNU AFFERO GPL 3.0 license * that can be found in the LICENSE file. */ package gr.aueb.dmst.istlab.unixtools.plugin; import org.eclipse.ui.plugin.AbstractUIPlugin; import org.osgi.framework.BundleContext; import gr.aueb.dmst.istlab.unixtools...
Fix issue with config file not loading correctly
Fix issue with config file not loading correctly
Java
agpl-3.0
istlab/eclipse-unix
9566c3a6d2950e2b95303b39668d10a2f2aa6982
app/src/main/java/com/syntactec/subreddify/services/SchedulerService.java
app/src/main/java/com/syntactec/subreddify/services/SchedulerService.java
package com.syntactec.subreddify.services; import android.app.AlarmManager; import android.app.IntentService; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.SystemClock; import android.preference.PreferenceManager; import android.util.Log; /** * Thi...
package com.syntactec.subreddify.services; import android.app.AlarmManager; import android.app.IntentService; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.SystemClock; import android.preference.PreferenceManager; import android.util.Log; /** * Thi...
Move static initialization into onCreate() method.
GH-2: Move static initialization into onCreate() method.
Java
mit
Syntactec/subreddify-android
ad944f01ae79c6de348c044dba5766f39d59a278
app/src/main/java/org/blitzortung/android/app/controller/NotificationHandler.java
app/src/main/java/org/blitzortung/android/app/controller/NotificationHandler.java
package org.blitzortung.android.app.controller; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import org.blitzortung.android.app.Main; import org.blitzortung.android.app.R; public class Notific...
package org.blitzortung.android.app.controller; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.TaskStackBuilder; import android.content.Context; import android.content.Intent; import org.blitzortung.android.app.Main; import org.blitzortung...
Use NotificationBuilder instead of the Notification to create a new Notification
Use NotificationBuilder instead of the Notification to create a new Notification
Java
apache-2.0
wuan/bo-android,d3xter/bo-android,d3xter/bo-android
583860fa43f1a77e0db01a24b84b39ea38dac602
osm-mosque-qa-persistence/src/main/java/com/gurkensalat/osm/repository/LinkedPlaceRepository.java
osm-mosque-qa-persistence/src/main/java/com/gurkensalat/osm/repository/LinkedPlaceRepository.java
package com.gurkensalat.osm.repository; import com.gurkensalat.osm.entity.LinkedPlace; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.data.repository.query....
package com.gurkensalat.osm.repository; import com.gurkensalat.osm.entity.LinkedPlace; import org.springframework.data.jpa.repository.Modifying; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.data.repository.query....
Use proper syntax for boolean attributes
Use proper syntax for boolean attributes
Java
apache-2.0
osmmosques/osm-mosques,osmmosques/osm-mosques,osmmosques/osm-mosques,osmmosques/osm-mosques
09554e9fad0ca9d565008433dc7bfc87781060cd
presto-main/src/test/java/com/facebook/presto/operator/aggregation/TestCountColumnAggregation.java
presto-main/src/test/java/com/facebook/presto/operator/aggregation/TestCountColumnAggregation.java
package com.facebook.presto.operator.aggregation; import com.facebook.presto.block.Block; import com.facebook.presto.block.BlockBuilder; import static com.facebook.presto.operator.aggregation.CountColumnAggregation.COUNT_COLUMN; import static com.facebook.presto.tuple.TupleInfo.SINGLE_LONG; public class TestCountCo...
package com.facebook.presto.operator.aggregation; import com.facebook.presto.block.Block; import com.facebook.presto.block.BlockBuilder; import static com.facebook.presto.operator.aggregation.CountColumnAggregation.COUNT_COLUMN; import static com.facebook.presto.tuple.TupleInfo.SINGLE_LONG; public class TestCountCo...
Fix broken tests for count column
Fix broken tests for count column
Java
apache-2.0
EvilMcJerkface/presto,ajoabraham/presto,yuananf/presto,wyukawa/presto,hulu/presto,chrisunder/presto,troels/nz-presto,hgschmie/presto,zhenxiao/presto,EvilMcJerkface/presto,wagnermarkd/presto,rockerbox/presto,harunurhan/presto,nileema/presto,cosinequanon/presto,Yaliang/presto,mode/presto,stewartpark/presto,fiedukow/prest...
a5a6c96e53174654b5d9b3adbc7b8facd995fe76
core/src/test/java/com/google/errorprone/refaster/testdata/template/WildcardUnificationTemplate.java
core/src/test/java/com/google/errorprone/refaster/testdata/template/WildcardUnificationTemplate.java
/* * Copyright 2014 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
/* * Copyright 2014 Google Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
Remove type parameters from IterableSubject, MultisetSubject, and MultimapSubject.
Remove type parameters from IterableSubject, MultisetSubject, and MultimapSubject. See https://github.com/google/truth/issues/192 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=109722143
Java
apache-2.0
cushon/error-prone,Anish2/error-prone,google/error-prone,Anish2/error-prone,Anish2/error-prone,Anish2/error-prone,cushon/error-prone,google/error-prone,cushon/error-prone,cushon/error-prone
c92a37d987734153174b7c642913e0dd7c76b294
src/main/java/controller/ProtocolController.java
src/main/java/controller/ProtocolController.java
package controller; import constant.Urls; import domain.Protocol; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import repository.ProtocolRepository; import ...
package controller; import constant.Urls; import domain.Protocol; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import repository.ProtocolRepository; import ...
Add method to get protocol list
Add method to get protocol list
Java
mit
GreyTeardrop/typeground,GreyTeardrop/typeground,GreyTeardrop/typeground
1eca8a3398679dce7675e72d91527ac05335bd54
storm-core/src/jvm/backtype/storm/spout/RawMultiScheme.java
storm-core/src/jvm/backtype/storm/spout/RawMultiScheme.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...
/** * 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...
Fix Kafka spout to maintain backward compatibility
[STORM-1499] Fix Kafka spout to maintain backward compatibility STORM-1220 introduced some changes where in one place it passes ByteBuffer as is instead of byte[]. Existing bolts (0.10.0) expects a byte[] and fails with "java.lang.RuntimeException: java.lang.ClassCastException: java.nio.HeapByteBuffer cannot be cast t...
Java
apache-2.0
raviperi/storm,kevinconaway/storm,carl34/storm,knusbaum/incubator-storm,ujfjhz/storm,roshannaik/storm,Crim/storm,kevinconaway/storm,kamleshbhatt/storm,F30/storm,ujfjhz/storm,hmcl/storm-apache,adityasharad/storm,cluo512/storm,sakanaou/storm,sakanaou/storm,hmcc/storm,adityasharad/storm,kishorvpatil/incubator-storm,kamles...
0d507fcec765fcbc388b4fe1cd82d941dcba128d
src/test/java/com/xtremelabs/robolectric/RobolectricTestRunnerClassloaderSetup.java
src/test/java/com/xtremelabs/robolectric/RobolectricTestRunnerClassloaderSetup.java
package com.xtremelabs.robolectric; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import com.xtremelabs.robolectric.bytecode.RobolectricClassLoader; @RunWith(WithTestDefaultsRunner.class) public class RobolectricTestRunnerClassloaderSetup { @Test public void testUsing...
package com.xtremelabs.robolectric; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import com.xtremelabs.robolectric.bytecode.RobolectricClassLoader; @RunWith(WithTestDefaultsRunner.class) public class RobolectricTestRunnerClassLoaderSetup { @Test public void testUsing...
Fix test class spelling, formatting
Fix test class spelling, formatting
Java
mit
diegotori/robolectric,MIPS/external-robolectric,macklinu/robolectric,rburgst/robolectric,karlicoss/robolectric,daisy1754/robolectric,VikingDen/robolectric,rossimo/robolectric,tjohn/robolectric,charlesmunger/robolectric,IllusionRom-deprecated/android_platform_external_robolectric,plackemacher/robolectric,yuzhong-google/...
8874287e72d93f81632d46a93e35802663457d33
hydra-data/src/test/java/com/addthis/hydra/data/query/TestOpDateFormat.java
hydra-data/src/test/java/com/addthis/hydra/data/query/TestOpDateFormat.java
package com.addthis.hydra.data.query; import org.junit.Test; public class TestOpDateFormat extends TestOp { @Test public void testOpDateFormat() throws Exception { doOpTest( new DataTableHelper(). tr().td("140101"). tr().td("140108"), ...
package com.addthis.hydra.data.query; import org.joda.time.format.DateTimeFormat; import org.junit.Test; public class TestOpDateFormat extends TestOp { @Test public void testConvertDatesInPlace() throws Exception { doOpTest( new DataTableHelper(). tr().td("1401...
Fix OpDateFormat test in other time zones and separate into dedicated methods
Fix OpDateFormat test in other time zones and separate into dedicated methods
Java
apache-2.0
mythguided/hydra,mythguided/hydra,mythguided/hydra,mythguided/hydra
2502f084f94aa9c4ae4d6d4861a7cf3eaee2efd3
log/src/main/java/com/axway/ats/log/autodb/events/StartAfterClassEvent.java
log/src/main/java/com/axway/ats/log/autodb/events/StartAfterClassEvent.java
/* * Copyright 2017 Axway Software * * 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 t...
/* * Copyright 2017 Axway Software * * 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 t...
Add comment for event state
Add comment for event state
Java
apache-2.0
Axway/ats-framework,Axway/ats-framework,Axway/ats-framework
078acfd57de804149d5c2354531a1299a82aa96b
src/java/com/hypirion/beckon/SignalFolder.java
src/java/com/hypirion/beckon/SignalFolder.java
package com.hyprion.beckon; import sun.misc.Signal; import sun.misc.SignalHandler; import java.util.List; import java.util.concurrent.Callable; public class SignalFolder implements SignalHandler { final private Callable[] fns; public SignalFolder(List funs) { fns = new Callable[funs.size()]; ...
package com.hyprion.beckon; import sun.misc.Signal; import sun.misc.SignalHandler; import java.util.List; import java.util.concurrent.Callable; public class SignalFolder implements SignalHandler { final private Callable[] fns; public SignalFolder(List funs) { fns = new Callable[funs.size()]; ...
Allow caller to return any kind of value.
Allow caller to return any kind of value.
Java
epl-1.0
hyPiRion/beckon
0cfb6a869191fc6602109a634377a88759ce41f0
src/BSChecker/Error.java
src/BSChecker/Error.java
package BSChecker; import java.util.ArrayList; /** * * @author tedpyne * Defines abstract class for types of grammatical errors */ public abstract class Error { /** * @param text The block of text to find errors in * @return an ArrayList of int[2] pointers to the start and end indices of the roor in the submi...
package BSChecker; import java.util.ArrayList; import java.util.Comparator; /** * * @author tedpyne * Defines abstract class for types of grammatical errors */ public abstract class Error { /** * @param text The block of text to find errors in * @return an ArrayList of int[2] pointers to the start and end ind...
Sort method for list of errors
Sort method for list of errors
Java
bsd-3-clause
MXProgrammingClub/BSChecker,MXProgrammingClub/Codestellation2016
4b52f6281f2ec44ea6eef35a60e01a49e858197b
parfait-core/src/test/java/com/custardsource/parfait/CompositeMonitoringViewTest.java
parfait-core/src/test/java/com/custardsource/parfait/CompositeMonitoringViewTest.java
package com.custardsource.parfait; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import java.util.Collection; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; public class Co...
package com.custardsource.parfait; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import java.util.Collection; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.verify; import stati...
Make test names more readable and add missing test case (Cowan's review comments)
Make test names more readable and add missing test case (Cowan's review comments)
Java
apache-2.0
timols/parfait,performancecopilot/parfait,performancecopilot/parfait,akshayahn/parfait
db4f2ef3af0531bda30e7733343ead84a6c108b5
jgiven-tests/src/test/java/com/tngtech/jgiven/report/html5/Html5AppStage.java
jgiven-tests/src/test/java/com/tngtech/jgiven/report/html5/Html5AppStage.java
package com.tngtech.jgiven.report.html5; import static org.assertj.core.api.Assertions.assertThat; import com.tngtech.jgiven.CurrentStep; import com.tngtech.jgiven.Stage; import com.tngtech.jgiven.annotation.ExpectedScenarioState; import com.tngtech.jgiven.attachment.Attachment; import com.tngtech.jgiven.attachment.M...
package com.tngtech.jgiven.report.html5; import static org.assertj.core.api.Assertions.assertThat; import com.tngtech.jgiven.CurrentStep; import com.tngtech.jgiven.Stage; import com.tngtech.jgiven.annotation.ExpectedScenarioState; import com.tngtech.jgiven.attachment.Attachment; import com.tngtech.jgiven.attachment.M...
Add bigger timeout for xpath element locator
Add bigger timeout for xpath element locator Signed-off-by: Andru Stefanescu <7ddc31439e278e07060dec99cf8ddedbee60ab4a@cam.ac.uk>
Java
apache-2.0
TNG/JGiven,TNG/JGiven,TNG/JGiven,TNG/JGiven
5e4d38512a9e6f3c0ff098f599f0851ca0e99e5b
python/src/com/jetbrains/python/codeInsight/PyGotoTargetRendererProvider.java
python/src/com/jetbrains/python/codeInsight/PyGotoTargetRendererProvider.java
package com.jetbrains.python.codeInsight; import com.intellij.codeInsight.navigation.GotoTargetRendererProvider; import com.intellij.ide.util.PsiElementListCellRenderer; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiNamedElement; import com.jetbrains.python.psi.PyElement; /** * @author yole */ publ...
package com.jetbrains.python.codeInsight; import com.intellij.codeInsight.navigation.GotoTargetRendererProvider; import com.intellij.ide.util.PsiElementListCellRenderer; import com.intellij.psi.PsiElement; import com.intellij.psi.PsiNamedElement; import com.jetbrains.python.psi.PyElement; /** * @author yole */ publ...
Create Test: refactoring + small fixes
Create Test: refactoring + small fixes
Java
apache-2.0
wreckJ/intellij-community,mglukhikh/intellij-community,petteyg/intellij-community,SerCeMan/intellij-community,ahb0327/intellij-community,TangHao1987/intellij-community,gnuhub/intellij-community,vladmm/intellij-community,allotria/intellij-community,asedunov/intellij-community,robovm/robovm-studio,Lekanich/intellij-commu...
04ce6d407b453983740c1621fb37196abda0c38a
src/main/java/com/intel/alex/Utils/ExcelUtil.java
src/main/java/com/intel/alex/Utils/ExcelUtil.java
package com.intel.alex.Utils; /** * Created by root on 3/7/16. */ public class ExcelUtil { }
package com.intel.alex.Utils; import jxl.Workbook; import jxl.write.*; import java.io.*; import java.lang.*; /** * Created by root on 3/7/16. */ public class ExcelUtil { private final String logDir; public ExcelUtil(String logDir) { this.logDir = logDir; } public void csv2Excel() { ...
Add the function of generating excel file.
Add the function of generating excel file.
Java
apache-2.0
LifengWang/ReportGen,LifengWang/ReportGen,LifengWang/ReportGen
8ff86e9ab80e52932d96cedc1cd712bc998dfdec
test-application/src/main/java/net/redwarp/library/testapplication/DetailActivity.java
test-application/src/main/java/net/redwarp/library/testapplication/DetailActivity.java
package net.redwarp.library.testapplication; import android.os.Build; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.MenuItem; import android.widget.TextView; import butterknife.Bind; import butterknife.ButterKnife; public class DetailActivity extends AppCompatActivit...
package net.redwarp.library.testapplication; import android.os.Bundle; import android.support.v4.app.ActivityCompat; import android.support.v7.app.AppCompatActivity; import android.view.MenuItem; import android.widget.TextView; import butterknife.Bind; import butterknife.ButterKnife; public class DetailActivity ext...
Use ActivityCompat instead of reinventing the wheel
Use ActivityCompat instead of reinventing the wheel
Java
apache-2.0
redwarp/Android-LazyDatabase,tsdl2013/Android-LazyDatabase,redwarp/Android-LazyDatabase,tsdl2013/Android-LazyDatabase
3cf3094fbc81457b08a1f8c15fb2430e46ccf91a
src/org/robockets/stronghold/robot/intake/ChevalDeFrise.java
src/org/robockets/stronghold/robot/intake/ChevalDeFrise.java
package org.robockets.stronghold.robot.intake; import org.robockets.stronghold.robot.Robot; import org.robockets.stronghold.robot.drivetrain.AssistedDrive; import org.robockets.stronghold.robot.drivetrain.AssistedRotateType; import org.robockets.stronghold.robot.drivetrain.AssistedTranslateType; import edu.wpi.first....
package org.robockets.stronghold.robot.intake; import org.robockets.stronghold.robot.Robot; import org.robockets.stronghold.robot.drivetrain.AssistedDrive; import org.robockets.stronghold.robot.drivetrain.AssistedRotateType; import org.robockets.stronghold.robot.drivetrain.AssistedTranslateType; import edu.wpi.first....
Update cheval de frise to be used with updated intake
Update cheval de frise to be used with updated intake
Java
mit
Team4761/2016-Robot-Code
221898fc654b059107898cfc65df82d89ed6eeeb
hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/its/InitIts.java
hooks-its/src/main/java/com/googlesource/gerrit/plugins/hooks/its/InitIts.java
// Copyright (C) 2013 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) 2013 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
Remove custom YesNoEnum and use yesno method from ConsoleUI
Remove custom YesNoEnum and use yesno method from ConsoleUI There is no need to reimplement the yes/no functionality. Change-Id: I0e9050a38b9785e93b6549d27455f356e828d2de Signed-off-by: Edwin Kempin <b444e279ad95fdef4fbdd82c813b624595df204a@sap.com>
Java
apache-2.0
GerritCodeReview/plugins_hooks-its,uoa-group-applications/hooks-its
09d9b0e677a1b035a6c921b1dfb06789ced5afd4
mobile/src/test/java/com/alexstyl/specialdates/events/DateDisplayStringCreatorTest.java
mobile/src/test/java/com/alexstyl/specialdates/events/DateDisplayStringCreatorTest.java
package com.alexstyl.specialdates.events; import com.alexstyl.specialdates.date.DateDisplayStringCreator; import com.alexstyl.specialdates.date.Date; import org.junit.BeforeClass; import org.junit.Test; import static org.fest.assertions.api.Assertions.assertThat; public class DateDisplayStringCreatorTest { priv...
package com.alexstyl.specialdates.events; import com.alexstyl.specialdates.date.DateDisplayStringCreator; import com.alexstyl.specialdates.date.Date; import org.junit.BeforeClass; import org.junit.Test; import static com.alexstyl.specialdates.date.DateConstants.MAY; import static org.fest.assertions.api.Assertions.a...
Replace magic numbers with constants
Replace magic numbers with constants
Java
mit
pchrysa/Memento-Calendar,pchrysa/Memento-Calendar,pchrysa/Memento-Calendar
3f8f52d55ffd5e9cca9cce04e7b3fc0d305f9d09
presto-main/src/main/java/com/facebook/presto/failureDetector/FailureDetectorModule.java
presto-main/src/main/java/com/facebook/presto/failureDetector/FailureDetectorModule.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Use a private I/O thread pool for failure detector
Use a private I/O thread pool for failure detector
Java
apache-2.0
bd-dev-mobileum/presto,bd-dev-mobileum/presto,bd-dev-mobileum/presto,bd-dev-mobileum/presto,bd-dev-mobileum/presto
1231b55752fffd47f3a318def77b466b6e64f801
MFIblocks/experiments/src/main/java/il/ac/technion/ie/experiments/Utils/ExpFileUtils.java
MFIblocks/experiments/src/main/java/il/ac/technion/ie/experiments/Utils/ExpFileUtils.java
package il.ac.technion.ie.experiments.Utils; import org.apache.log4j.Logger; import java.io.File; import java.io.IOException; /** * Created by I062070 on 10/09/2015. */ public class ExpFileUtils { static final Logger logger = Logger.getLogger(ExpFileUtils.class); public static File createFile(String pathT...
package il.ac.technion.ie.experiments.Utils; import org.apache.commons.io.FileUtils; import org.apache.log4j.Logger; import java.io.File; import java.io.IOException; /** * Created by I062070 on 10/09/2015. */ public class ExpFileUtils { static final Logger logger = Logger.getLogger(ExpFileUtils.class); pu...
Add a generic method that creates an output file
Add a generic method that creates an output file
Java
mit
sapirgolan/MFIBlocking,sapirgolan/MFIBlocking,sapirgolan/MFIBlocking,sapirgolan/MFIBlocking,sapirgolan/MFIBlocking,sapirgolan/MFIBlocking,sapirgolan/MFIBlocking
ce7d5b37eedbd714180641556ea1c2923153b8a0
src/main/java/com/web4enterprise/pdf/core/font/Font.java
src/main/java/com/web4enterprise/pdf/core/font/Font.java
package com.web4enterprise.pdf.core.font; import java.util.HashMap; import java.util.Map; import com.web4enterprise.pdf.core.BoundingBox; public abstract class Font { protected static Map<String, Font> fonts = new HashMap<>(); protected static Map<Byte, Integer> widths = new HashMap<>(); protected static Map<Byt...
package com.web4enterprise.pdf.core.font; import java.util.HashMap; import java.util.Map; import com.web4enterprise.pdf.core.BoundingBox; public abstract class Font { protected static Map<String, Font> fonts = new HashMap<>(); protected static Map<Byte, Integer> widths = new HashMap<>(); protected static Map<Byt...
Handle case when getting the width of a text, if a letter is not recognized, the width is not incremented instead of throwing a NullPointerException.
Handle case when getting the width of a text, if a letter is not recognized, the width is not incremented instead of throwing a NullPointerException.
Java
apache-2.0
web4enterprise/simplypdf-core,web4enterprise/simplypdf-core,web4enterprise/simplypdf-core
a59cf1be1cb5e85e5687b48b8607f7b6b2887d25
examples/binary/src/main/java/binary/ServerMain.java
examples/binary/src/main/java/binary/ServerMain.java
package binary; import quark.concurrent.Context; import binary.Binary; public class ServerMain { public static void main(String[] args) { quark.Runtime runtime = Context.runtime(); runtime.serveWS("ws://127.0.0.1:8910/binary", new Binary(runtime)); } }
package binary; import quark.concurrent.Context; import binary.Binary; public class ServerMain { public static void main(String[] args) { quark.Runtime runtime = Context.runtime(); System.out.println("Java binary server starting"); runtime.serveWS("ws://127.0.0.1:8910/binary", new Binary(...
Add binary server output on start
Add binary server output on start
Java
apache-2.0
datawire/quark,bozzzzo/quark,datawire/quark,datawire/quark,datawire/quark,datawire/quark,bozzzzo/quark,datawire/quark,bozzzzo/quark,bozzzzo/quark
cb6e44ad90cbf12f0569ec2a5777f74425d5d1be
findbugs/test/TwoStreams.java
findbugs/test/TwoStreams.java
import java.io.*; public class TwoStreams { public void twoStreamsWrong() throws IOException { BufferedReader r = null; Writer w = null; try { r = new BufferedReader(new InputStreamReader(new FileInputStream("hello"))); String l = r.readLine(); w = new OutputStreamWriter(new FileOutputStream("blah"));...
import java.io.*; public class TwoStreams { int x; public void twoStreamsWrong() throws IOException { BufferedReader r = null; Writer w = null; try { r = new BufferedReader(new InputStreamReader(new FileInputStream("hello"))); String l = r.readLine(); w = new OutputStreamWriter(new FileOutputStream("...
Check for potential null pointer exception
Check for potential null pointer exception git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@2103 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
Java
lgpl-2.1
johnscancella/spotbugs,KengoTODA/spotbugs,johnscancella/spotbugs,sewe/spotbugs,sewe/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,sewe/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,sewe/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs,KengoTODA/spotbugs,johnscancella/spotbugs
012bd58071ecf2eded4258c0225267cc93246cac
base/src/main/java/com/thoughtworks/go/utils/AssertJava8.java
base/src/main/java/com/thoughtworks/go/utils/AssertJava8.java
/* * Copyright 2017 ThoughtWorks, 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 agr...
/* * Copyright 2017 ThoughtWorks, 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 agr...
Allow running on java 8-10
Allow running on java 8-10
Java
apache-2.0
varshavaradarajan/gocd,ibnc/gocd,GaneshSPatil/gocd,gocd/gocd,arvindsv/gocd,marques-work/gocd,naveenbhaskar/gocd,naveenbhaskar/gocd,varshavaradarajan/gocd,arvindsv/gocd,gocd/gocd,varshavaradarajan/gocd,GaneshSPatil/gocd,arvindsv/gocd,Skarlso/gocd,marques-work/gocd,jyotisingh/gocd,ketan/gocd,ketan/gocd,varshavaradarajan/...
5e5f467f62d2392cfe1d3af921ca569123435e4a
common-core-jackson-serialization-open/src/test/java/com/bbn/bue/common/serialization/jackson/TestSerialization.java
common-core-jackson-serialization-open/src/test/java/com/bbn/bue/common/serialization/jackson/TestSerialization.java
package com.bbn.bue.common.serialization.jackson; import com.bbn.bue.common.evaluation.FMeasureCounts; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; imp...
package com.bbn.bue.common.serialization.jackson; import com.bbn.bue.common.evaluation.FMeasureCounts; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; imp...
Fix Jackson serialization test for changes to Jackson serialization wrpaper
Fix Jackson serialization test for changes to Jackson serialization wrpaper
Java
mit
BBN-E/bue-common-open,rgabbard-bbn/bue-common-open,rgabbard-bbn/bue-common-open,BBN-E/bue-common-open
65751ed4f9b03a5891635c1462ecebeebbaffa57
score-lang-compiler/src/main/java/org/openscore/lang/compiler/SlangCompiler.java
score-lang-compiler/src/main/java/org/openscore/lang/compiler/SlangCompiler.java
/* * (c) Copyright 2014 Hewlett-Packard Development Company, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * The Apache License is available at * http://www.apache.org/licenses/LICENSE-2....
/* * (c) Copyright 2014 Hewlett-Packard Development Company, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * The Apache License is available at * http://www.apache.org/licenses/LICENSE-2....
Add & update Java Docs
Add & update Java Docs Signed-off-by: Orit Stone <530a3c863b274210fbf305df5a70e325b4dbcb5a@hp.com>
Java
apache-2.0
natabeck/cloud-slang,jrosadohp/cloud-slang,narry/cloud-slang,narry/cloud-slang,natabeck/cloud-slang,jrosadohp/cloud-slang,shajyhia/score-language,CloudSlang/cloud-slang,CloudSlang/cloud-slang,shajyhia/score-language,CloudSlang/cloud-slang,CloudSlang/cloud-slang
0c8ac6d786dad38c138a0726293547e689eb22e3
src/com/usepropeller/routable/RouterActivity.java
src/com/usepropeller/routable/RouterActivity.java
package com.usepropeller.routable; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; public class RouterActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Intent intent = g...
package com.usepropeller.routable; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; public class RouterActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Intent intent = g...
Change protocol format to use the FULL url instead of just the path
Change protocol format to use the FULL url instead of just the path
Java
mit
walfud/routable-android,ch8908/routable-android,HKMOpen/routable-android,clayallsopp/routable-android,it114/routable-android,ivanyang1984/routable-android
ab9918701e4ed8f118af875fd692b7934ac2e62f
src/edu/usc/glidein/service/impl/SiteService.java
src/edu/usc/glidein/service/impl/SiteService.java
package edu.usc.glidein.service.impl; import java.rmi.RemoteException; import org.apache.axis.message.addressing.EndpointReferenceType; import org.globus.wsrf.ResourceContext; import edu.usc.glidein.stubs.types.EmptyObject; import edu.usc.glidein.stubs.types.Site; public class SiteService { private SiteResource g...
package edu.usc.glidein.service.impl; import java.rmi.RemoteException; import org.apache.axis.message.addressing.EndpointReferenceType; import org.globus.wsrf.ResourceContext; import edu.usc.glidein.stubs.RemoveRequest; import edu.usc.glidein.stubs.types.EmptyObject; import edu.usc.glidein.stubs.types.Site; public ...
Add delegated credential to remove operation
Add delegated credential to remove operation git-svn-id: bdb5f82b9b83a1400e05d69d262344b821646179@1376 e217846f-e12e-0410-a4e5-89ccaea66ff7
Java
apache-2.0
juve/corral,juve/corral,juve/corral
930b261e3ca7c427def162b5c5f8f91c63aa4116
src/main/java/com/socrata/ssync/PatchBuilder.java
src/main/java/com/socrata/ssync/PatchBuilder.java
package com.socrata.ssync; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.io.*; public class PatchBuilder { private final OutputStreamWriteHelper out; private final int maxDataBlockSize; // Does NOT take ownership of the outputstream! public PatchBuilde...
package com.socrata.ssync; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.io.*; public class PatchBuilder { private final OutputStreamWriteHelper out; private final int blockSize; // Does NOT take ownership of the outputstream! public PatchBuilder(Outpu...
Remove one last vestage of compressed data chunks
Remove one last vestage of compressed data chunks We used to allow data chunks to be up to twice the size of the block size to allow for incompressible chunks. Since compression is gone, so can that be.
Java
apache-2.0
socrata-platform/ssync,socrata-platform/ssync
2bb2c59a649f2e5072c25d14224717ecf3586327
common-core-open/src/test/java/com/bbn/bue/common/primitives/DoubleUtilsTest.java
common-core-open/src/test/java/com/bbn/bue/common/primitives/DoubleUtilsTest.java
package com.bbn.bue.common.primitives; import org.junit.Test; import static org.junit.Assert.assertEquals; /** * Created by rgabbard on 1/25/16. */ public class DoubleUtilsTest { private static final double EPSILON = 1e-6; @Test(expected = IllegalArgumentException.class) public void testBadBounds() { D...
package com.bbn.bue.common.primitives; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; /** * Created by rgabbard on 1/25/16. */ public class DoubleUtilsTest { private static final double EPSILON = 1e-6; @Test(expected = IllegalArgumentException.c...
Add clipping test cases for infinities and NaN
Add clipping test cases for infinities and NaN
Java
mit
BBN-E/bue-common-open,rgabbard-bbn/bue-common-open,BBN-E/bue-common-open,rgabbard-bbn/bue-common-open
2b27ae4a24b9df5d80c78ac073ed89dc8499e79a
owsi-core/owsi-core-components/owsi-core-component-jpa-more/src/main/java/fr/openwide/core/jpa/more/business/search/query/AbstractSearchQuery.java
owsi-core/owsi-core-components/owsi-core-component-jpa-more/src/main/java/fr/openwide/core/jpa/more/business/search/query/AbstractSearchQuery.java
package fr.openwide.core.jpa.more.business.search.query; import java.util.List; import java.util.Map; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import org.springframework.transaction.annotation.Transactional; import com.google.common.collect.ImmutableList; import com.googl...
package fr.openwide.core.jpa.more.business.search.query; import java.util.List; import java.util.Map; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import fr.openwide.core.jpa.more.b...
Remove default implementation of fullList()
Remove default implementation of fullList() Using a limit of Long.MAX_VALUE can degrade performances
Java
apache-2.0
openwide-java/owsi-core-parent,openwide-java/owsi-core-parent,openwide-java/owsi-core-parent,openwide-java/owsi-core-parent
5f2f578133e9e87aa89c0ad30ce674c34a82add2
framework/src/main/java/org/apache/felix/framework/util/IteratorToEnumeration.java
framework/src/main/java/org/apache/felix/framework/util/IteratorToEnumeration.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...
/* * 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...
Make iterator member final to prevent visibility issues.
Make iterator member final to prevent visibility issues. git-svn-id: e057f57e93a604d3b43d277ae69bde5ebf332112@618089 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
apache/felix-dev,apache/felix-dev,apache/felix-dev,apache/felix-dev
ee2f45ee7613ca7e72dabd62b0047e042addb742
src/main/java/net/imagej/ops/viewOp/DefaultView.java
src/main/java/net/imagej/ops/viewOp/DefaultView.java
package net.imagej.ops.viewOp; import net.imagej.ops.Computer; import net.imagej.ops.ViewOps.View; public interface DefaultView<I, O> extends View, Computer<I, O> { // NB: Marker interface }
package net.imagej.ops.viewOp; import net.imagej.ops.view.ViewOps; import net.imagej.ops.view.ViewOps.View; import net.imglib2.Interval; import net.imglib2.RandomAccessible; import net.imglib2.view.IntervalView; import net.imglib2.view.Views; import org.scijava.ItemIO; import org.scijava.plugin.Parameter; import org....
Add default implementation of View interface.
Add default implementation of View interface.
Java
bsd-2-clause
imagej/imagej-ops,gab1one/imagej-ops,stelfrich/imagej-ops
2bb041e7be8610b3da2f4ba7ed35b1f929c719b1
src/main/java/nom/bdezonia/zorbage/type/data/universal/InternalRepresentation.java
src/main/java/nom/bdezonia/zorbage/type/data/universal/InternalRepresentation.java
package nom.bdezonia.zorbage.type.data.universal; public interface InternalRepresentation { void setInternalRep(TensorOctonionRepresentation rep); void setSelf(TensorOctonionRepresentation rep); }
/* * Zorbage: an algebraic data hierarchy for use in numeric processing. * * Copyright (C) 2016-2017 Barry DeZonia * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must ret...
Add a header to a file that needs it
Add a header to a file that needs it
Java
bsd-3-clause
bdezonia/zorbage,bdezonia/zorbage
34617f7ea5a05d8b5be1113e38a6499485bfcacc
src/Main.java
src/Main.java
import javafx.application.Application; import javafx.scene.control.Alert; import javafx.scene.control.ButtonType; import javafx.stage.Stage; import model.ModelDatabase; import view.View; /** * Created by Thagus on 01/09/16. */ public class Main extends Application{ private Stage window; private ModelDatabase...
import javafx.application.Application; import javafx.scene.control.Alert; import javafx.scene.control.ButtonType; import javafx.stage.Stage; import model.ModelDatabase; import view.View; /** * Created by Thagus on 01/09/16. */ public class Main extends Application{ private Stage window; private ModelDatabase...
Exit whole system when closing main window
Exit whole system when closing main window
Java
apache-2.0
Thagus/Spatia
b1c5381fb3c6c0d0d7c9bfc4614cbfd322786fe0
src/main/java/com/apifest/client/RevokeUserTokensRequest.java
src/main/java/com/apifest/client/RevokeUserTokensRequest.java
/* * Copyright 2014, ApiFest 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 law or agreed to...
/* * Copyright 2014, ApiFest 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 law or agreed to...
Change the field name so the serialized field name matches the one the server expects
Change the field name so the serialized field name matches the one the server expects
Java
apache-2.0
apifest/apifest-client
58c43727ebbcbed6253e4bfd50e4cee7d8eef58e
src/main/java/de/meldanor/VaadinChart/charts/CircleChart.java
src/main/java/de/meldanor/VaadinChart/charts/CircleChart.java
package de.meldanor.VaadinChart.charts; import java.util.Collection; import com.vaadin.annotations.JavaScript; @JavaScript("circlechart_connector.min.js") public abstract class CircleChart extends Chart { private static final long serialVersionUID = 6506866186112698558L; protected CircleChart() { /...
package de.meldanor.VaadinChart.charts; import java.util.Collection; import com.vaadin.annotations.JavaScript; @JavaScript("circlechart_connector.min.js") public abstract class CircleChart extends Chart { private static final long serialVersionUID = 6506866186112698558L; protected CircleChart() { /...
Add missing remove function for series
Add missing remove function for series
Java
mit
Meldanor/VaadinChart,Meldanor/VaadinChart
5b8f56e4de09485576b4f183b194437d48415473
firebase-web/src/main/java/io/spine/web/firebase/FirebaseQueryProcessingResult.java
firebase-web/src/main/java/io/spine/web/firebase/FirebaseQueryProcessingResult.java
/* * Copyright (c) 2000-2018 TeamDev Ltd. All rights reserved. * TeamDev PROPRIETARY and CONFIDENTIAL. * Use is subject to license terms. */ package io.spine.web.firebase; import io.spine.web.QueryProcessingResult; import javax.servlet.ServletResponse; import java.io.IOException; /** * A result of a query proc...
/* * Copyright (c) 2000-2018 TeamDev Ltd. All rights reserved. * TeamDev PROPRIETARY and CONFIDENTIAL. * Use is subject to license terms. */ package io.spine.web.firebase; import io.spine.web.QueryProcessingResult; import javax.servlet.ServletResponse; import java.io.IOException; /** * A result of a query proc...
Add a formal doc for an overridden method.
Add a formal doc for an overridden method.
Java
apache-2.0
SpineEventEngine/gae-java,SpineEventEngine/gae-java
1fde695a1625d503e54d90719c87460cf6f5a4c1
addressbook-web-tests/src/test/java/kurs/zadania/adressbook/appmanager/NavigationHelper.java
addressbook-web-tests/src/test/java/kurs/zadania/adressbook/appmanager/NavigationHelper.java
package kurs.zadania.adressbook.appmanager; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class NavigationHelper extends HelperBase{ public NavigationHelper(WebDriver wd) { super(wd); } // public void gotoGroupPage() { click(By...
package kurs.zadania.adressbook.appmanager; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class NavigationHelper extends HelperBase{ public NavigationHelper(WebDriver wd) { super(wd); } public void gotoGroupPage() { clic...
Revert "Revert "Revert "optimization of the transition between the pages"""
Revert "Revert "Revert "optimization of the transition between the pages""" This reverts commit 4ad3b97fcc8ee3476a910d0a891eb66b069f2843.
Java
apache-2.0
wozniakpiotr/java_training,wozniakpiotr/java_training,wozniakpiotr/java_training
97fbcc7fd794b8c3fbabbce95fe4c255b0ba6361
coin-selfservice-war/src/main/java/nl/surfnet/coin/selfservice/api/rest/UsersController.java
coin-selfservice-war/src/main/java/nl/surfnet/coin/selfservice/api/rest/UsersController.java
package nl.surfnet.coin.selfservice.api.rest; import nl.surfnet.coin.selfservice.domain.CoinUser; import nl.surfnet.coin.selfservice.util.SpringSecurity; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.st...
package nl.surfnet.coin.selfservice.api.rest; import nl.surfnet.coin.selfservice.domain.CoinUser; import nl.surfnet.coin.selfservice.util.SpringSecurity; import org.owasp.esapi.waf.internal.InterceptingHTTPServletRequest; import org.springframework.http.HttpStatus; import org.springframework.http.MediaType; import or...
Fix issue with the `switch-to-idp` controller mapping
Fix issue with the `switch-to-idp` controller mapping Since the switch-to-idp path variable can be an url, including forward slashes, it doesn’t match the specified `RequestMapping`. So this changes the `RequestMapping` to match the complete path, including all slashes.
Java
apache-2.0
OpenConext/OpenConext-dashboard,OpenConext/OpenConext-dashboard,OpenConext/OpenConext-dashboard,cybera/OpenConext-dashboard,cybera/OpenConext-dashboard,OpenConext/OpenConext-dashboard,cybera/OpenConext-dashboard,cybera/OpenConext-dashboard
fcd0acef18a66e07b455a3f078501671bf5e83c1
extensions/mutiny/deployment/src/main/java/io/quarkus/mutiny/deployment/MutinyProcessor.java
extensions/mutiny/deployment/src/main/java/io/quarkus/mutiny/deployment/MutinyProcessor.java
package io.quarkus.mutiny.deployment; import java.util.concurrent.ExecutorService; import io.quarkus.deployment.Feature; import io.quarkus.deployment.annotations.BuildStep; import io.quarkus.deployment.annotations.ExecutionTime; import io.quarkus.deployment.annotations.Record; import io.quarkus.deployment.builditem.E...
package io.quarkus.mutiny.deployment; import java.util.concurrent.ExecutorService; import io.quarkus.deployment.Feature; import io.quarkus.deployment.annotations.BuildStep; import io.quarkus.deployment.annotations.ExecutionTime; import io.quarkus.deployment.annotations.Record; import io.quarkus.deployment.builditem.E...
Move Mutiny infrastructure initialization to STATIC_INIT
Move Mutiny infrastructure initialization to STATIC_INIT
Java
apache-2.0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
0acd23674466fb586c445a8764f4c36f2fdd04cd
retrofit/src/main/java/retrofit2/http/FormUrlEncoded.java
retrofit/src/main/java/retrofit2/http/FormUrlEncoded.java
/* * Copyright (C) 2013 Square, 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 agre...
/* * Copyright (C) 2013 Square, 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 agre...
Change old IETF reference link
Change old IETF reference link Old link will throw 404, so it could be replaced with new working one
Java
apache-2.0
square/retrofit,square/retrofit,square/retrofit,ze-pequeno/retrofit,ze-pequeno/retrofit,ze-pequeno/retrofit,square/retrofit,ze-pequeno/retrofit
39cdb2604b3bed9e2cc70e9ea51c864e7e0d2979
sources/thirdpartylib/src/main/java/com/github/vedenin/thirdpartylib/htmlparser/TagAtom.java
sources/thirdpartylib/src/main/java/com/github/vedenin/thirdpartylib/htmlparser/TagAtom.java
package com.github.vedenin.thirdpartylib.htmlparser; import com.github.vedenin.thirdpartylib.annotations.Atom; import com.github.vedenin.thirdpartylib.annotations.BoilerPlate; import org.jsoup.parser.Tag; /** * This Atom pattern (pattern that extends a Proxy pattern that have only minimal methods from original class...
package com.github.vedenin.thirdpartylib.htmlparser; import com.github.vedenin.thirdpartylib.annotations.Atom; import com.github.vedenin.thirdpartylib.annotations.BoilerPlate; import com.github.vedenin.thirdpartylib.annotations.Reference; import org.jsoup.parser.Tag; /** * This Atom pattern (pattern that extends a P...
Create atom-proxy for third party libs
Create atom-proxy for third party libs
Java
apache-2.0
Vedenin/useful-links
e52bc2326bc9248470772ef8dc72a2ba5e3c3578
app/src/main/java/com/elpatika/stepic/view/SplashActivity.java
app/src/main/java/com/elpatika/stepic/view/SplashActivity.java
package com.elpatika.stepic.view; import android.os.Bundle; import android.os.Handler; import com.elpatika.stepic.R; import com.elpatika.stepic.base.BaseFragmentActivity; public class SplashActivity extends BaseFragmentActivity { // Splash screen wait time private static final int SPLASH_TIME_OUT = 3000; ...
package com.elpatika.stepic.view; import android.os.Bundle; import android.os.Handler; import com.elpatika.stepic.R; import com.elpatika.stepic.base.BaseFragmentActivity; public class SplashActivity extends BaseFragmentActivity { // Splash screen wait time private static final int SPLASH_TIME_OUT = 3000; ...
Fix bug with second start splash activity
Fix bug with second start splash activity
Java
apache-2.0
StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepic-android
64a816c25d3aa3f0697e43de6303b8bfb36e3170
src/main/java/org/skife/jdbi/v2/ListContainerBuilder.java
src/main/java/org/skife/jdbi/v2/ListContainerBuilder.java
package org.skife.jdbi.v2; import java.util.ArrayList; import java.util.List; class ListContainerBuilder implements ContainerBuilder<List<?>> { private final ArrayList<Object> list; ListContainerBuilder() { this.list = new ArrayList(); } public ListContainerBuilder add(Object it) { ...
package org.skife.jdbi.v2; import java.util.ArrayList; import java.util.List; class ListContainerBuilder implements ContainerBuilder<List<?>> { private final ArrayList<Object> list; ListContainerBuilder() { this.list = new ArrayList<Object>(); } @Override public ListContainerBuilder ...
Put @Override annotations back in now that jdbi is 1.6 only
Put @Override annotations back in now that jdbi is 1.6 only
Java
apache-2.0
stevenschlansker/jdbi,omidp/jdbi,hgschmie/jdbi,pennello/jdbi,BernhardBln/jdbi,11xor6/jdbi,HubSpot/jdbi,voidifremoved/jdbi,BernhardBln/jdbi,hgschmie/jdbi,jdbi/jdbi,stevenschlansker/jdbi,kentyeh/jdbi,john9x/jdbi,omidp/jdbi,christophercurrie/jdbi,zanebenefits/jdbi,zanebenefits/jdbi,voidifremoved/jdbi,kentyeh/jdbi,christop...
1f739f5afe8a0ef874ad8cacc786f467f8dff1a7
Phosphor/src/java/util/Collection.java
Phosphor/src/java/util/Collection.java
package java.util; import edu.columbia.cs.psl.phosphor.struct.ControlTaintTagStack; import edu.columbia.cs.psl.phosphor.struct.TaintedBooleanWithObjTag; public interface Collection<E> extends Iterable<E> { int size(); boolean isEmpty(); boolean contains(Object o); Iterator<E> iterator(); Objec...
package java.util; import edu.columbia.cs.psl.phosphor.struct.ControlTaintTagStack; import edu.columbia.cs.psl.phosphor.struct.TaintedBooleanWithObjTag; import java.util.stream.Stream; public interface Collection<E> extends Iterable<E> { int size(); boolean isEmpty(); boolean contains(Object o); I...
Add stream() method to collection compile-time interface
Add stream() method to collection compile-time interface
Java
mit
Programming-Systems-Lab/phosphor,Programming-Systems-Lab/phosphor,Programming-Systems-Lab/phosphor
3ac471e19f17e7c155464da385b21d5f1d6f2211
src/main/java/com/ezardlabs/dethsquare/Camera.java
src/main/java/com/ezardlabs/dethsquare/Camera.java
package com.ezardlabs.dethsquare; public final class Camera extends Script { public final RectF bounds = new RectF(); public static Camera main; public Camera(boolean main) { if (main) Camera.main = this; } public void update() { bounds.left = transform.position.x; bounds.top = transform.position.y; bou...
package com.ezardlabs.dethsquare; public final class Camera extends Script { public final RectF bounds = new RectF(); public static Camera main; private boolean isMain = false; public Camera(boolean main) { isMain = main; } @Override public void start() { if (isMain) main = this; } public void update()...
Move setting of main camera from constructor to start method
Move setting of main camera from constructor to start method
Java
mit
8-Bit-Warframe/Dethsquare-Engine-core
40f687aa78412bcfeae18e3b40c5790e96719685
web/src/main/java/org/springframework/security/web/csrf/MissingCsrfTokenException.java
web/src/main/java/org/springframework/security/web/csrf/MissingCsrfTokenException.java
/* * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Improve CSRF missing error message
Improve CSRF missing error message Fixes gh-3738
Java
apache-2.0
SanjayUser/SpringSecurityPro,mdeinum/spring-security,thomasdarimont/spring-security,djechelon/spring-security,spring-projects/spring-security,SanjayUser/SpringSecurityPro,mdeinum/spring-security,kazuki43zoo/spring-security,rwinch/spring-security,wkorando/spring-security,SanjayUser/SpringSecurityPro,rwinch/spring-securi...
d257b060a3e029ea77391ba95badf731b261cc36
example/application/simpleapp/integtests/src/test/java/domainapp/integtests/specs/RunSpecs.java
example/application/simpleapp/integtests/src/test/java/domainapp/integtests/specs/RunSpecs.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"); yo...
/** * 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"); yo...
Replace deprecated @Cucumber.Options with @CucumberOptions
Replace deprecated @Cucumber.Options with @CucumberOptions
Java
apache-2.0
peridotperiod/isis,apache/isis,estatio/isis,apache/isis,apache/isis,estatio/isis,kidaa/isis,apache/isis,oscarbou/isis,peridotperiod/isis,niv0/isis,howepeng/isis,sanderginn/isis,incodehq/isis,estatio/isis,kidaa/isis,peridotperiod/isis,kidaa/isis,niv0/isis,peridotperiod/isis,incodehq/isis,apache/isis,estatio/isis,oscarbo...
5b8ab10f350fcdbedfc35282493eb408fcd9e52f
dropwizard-lifecycle/src/main/java/io/dropwizard/lifecycle/ServerLifecycleListener.java
dropwizard-lifecycle/src/main/java/io/dropwizard/lifecycle/ServerLifecycleListener.java
package io.dropwizard.lifecycle; import org.eclipse.jetty.server.Server; import java.util.EventListener; public interface ServerLifecycleListener extends EventListener { void serverStarted(Server server); }
package io.dropwizard.lifecycle; import org.eclipse.jetty.server.Connector; import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.ServerConnector; import java.util.EventListener; public interface ServerLifecycleListener extends EventListener { void serverStarted(Server server); default int ...
Add helper functions for getting the local and admin ports from a server instance
Add helper functions for getting the local and admin ports from a server instance
Java
apache-2.0
dropwizard/dropwizard,nickbabcock/dropwizard,qinfchen/dropwizard,nickbabcock/dropwizard,nickbabcock/dropwizard,dropwizard/dropwizard,mosoft521/dropwizard,cvent/dropwizard,shawnsmith/dropwizard,dotCipher/dropwizard,patrox/dropwizard,evnm/dropwizard,evnm/dropwizard,takecy/dropwizard,Alexey1Gavrilov/dropwizard,tburch/drop...
a97317ae6fe022f32b195072d50924faa0d9e7bf
src/main/java/com/blamejared/mcbot/commands/CommandLMGTFY.java
src/main/java/com/blamejared/mcbot/commands/CommandLMGTFY.java
package com.blamejared.mcbot.commands; import com.blamejared.mcbot.commands.api.Command; import com.blamejared.mcbot.commands.api.CommandBase; import com.blamejared.mcbot.commands.api.CommandContext; import com.blamejared.mcbot.commands.api.CommandException; import com.blamejared.mcbot.commands.api.Flag; import com.go...
package com.blamejared.mcbot.commands; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import com.blamejared.mcbot.commands.api.Command; import com.blamejared.mcbot.commands.api.CommandBase; import com.blamejared.mcbot.commands.api.CommandContext; import com.blamejared.mcbot.commands.api.Comm...
Fix URL encoding of lmgtfy output
Fix URL encoding of lmgtfy output
Java
mit
jaredlll08/MCBot
dd45fb970e4e00a71b404c72f6cc026200b80def
src/main/java/com/faforever/api/data/domain/MapStatistics.java
src/main/java/com/faforever/api/data/domain/MapStatistics.java
package com.faforever.api.data.domain; import com.yahoo.elide.annotation.Include; import lombok.Setter; import org.hibernate.annotations.Immutable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.JoinColumn; im...
package com.faforever.api.data.domain; import com.yahoo.elide.annotation.Include; import lombok.Setter; import org.hibernate.annotations.Immutable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.FetchType; import javax.persistence.Id; import javax.persistence.JoinColumn; im...
Set return type to Integer
Set return type to Integer
Java
mit
FAForever/faf-java-api,micheljung/faf-java-api,micheljung/faf-java-api,FAForever/faf-java-api,FAForever/faf-java-api