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
b7f8bbddf7e78b85de835ccee451a62c14e166b9
gerrit/src/main/java/com/ruesga/rview/gerrit/filter/IsType.java
gerrit/src/main/java/com/ruesga/rview/gerrit/filter/IsType.java
/* * Copyright (C) 2016 Jorge Ruesga * * 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) 2016 Jorge Ruesga * * 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...
Add new assignee 'is' types
Add new assignee 'is' types Signed-off-by: Jorge Ruesga <33f927344e079e00d3fa45d8833b04e735223eec@ruesga.com>
Java
apache-2.0
jruesga/rview,jruesga/rview,jruesga/rview
94a5f3dbc7685691f504fff67f5aedab27e845fd
src/main/java/org/jboss/netty/handler/codec/frame/TooLongFrameException.java
src/main/java/org/jboss/netty/handler/codec/frame/TooLongFrameException.java
/* * Copyright 2011 The Netty Project * * The Netty Project licenses this file to you 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 re...
/* * Copyright 2011 The Netty Project * * The Netty Project licenses this file to you 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 re...
Adjust javadocs as the usage has changed
Adjust javadocs as the usage has changed
Java
apache-2.0
KeyNexus/netty,CliffYuan/netty,KeyNexus/netty,CliffYuan/netty
e204cfd9bee3f55f1ba3c290ce73c4733cfafbfb
sagan-site/src/main/java/sagan/docs/support/DocsController.java
sagan-site/src/main/java/sagan/docs/support/DocsController.java
package sagan.docs.support; import sagan.projects.Project; import sagan.projects.support.ProjectMetadataService; import sagan.support.nav.NavSection; import java.util.List; import java.util.stream.Collectors; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Control...
package sagan.docs.support; import sagan.projects.Project; import sagan.projects.support.ProjectMetadataService; import sagan.support.nav.NavSection; import java.util.List; import java.util.stream.Collectors; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Control...
Sort projects alphabetically on /docs page
Sort projects alphabetically on /docs page
Java
bsd-3-clause
andriykonoz/sagan,gregturn/sagan,mbateman/sagan,spring-io/sagan,seoilhyun/sagan,dharmaraju/sagan,dharmaraju/sagan,seoilhyun/sagan,vizewang/sagan,andriykonoz/sagan,yhj630520/sagan,TabberGit/sagan,rwinch/sagan,dlizarra/sagan,BHASKARSDEN277GITHUB/sagan,dlizarra/sagan,dvaughn555/sagan,dsyer/sagan,dharmaraju/sagan,mbateman/...
9f5ad5b12c1602bad56c1fe3ee91cb86c02e4449
src/main/java/com/github/lookout/metrics/agent/ReportAgent.java
src/main/java/com/github/lookout/metrics/agent/ReportAgent.java
package com.github.lookout.metrics.agent; import com.timgroup.statsd.NonBlockingStatsDClient; import com.timgroup.statsd.StatsDClient; import java.io.IOException; import java.lang.instrument.Instrumentation; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.concurrent.TimeUnit; publ...
package com.github.lookout.metrics.agent; import com.timgroup.statsd.NonBlockingStatsDClient; import com.timgroup.statsd.StatsDClient; import java.io.IOException; import java.lang.instrument.Instrumentation; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.concurrent.TimeUnit; publ...
Fix the agent not starting if args are not supplied
Fix the agent not starting if args are not supplied
Java
bsd-2-clause
petere/cassandra-statsd-agent,lookout/cassandra-statsd-agent
f076c265eae512086bbdb61e17aafb530759a48c
test/com/facebook/buck/jvm/java/testdata/missing_deps/Test.java
test/com/facebook/buck/jvm/java/testdata/missing_deps/Test.java
package com.example.buck.library; import com.foo.missing.Dep; public class Test {}
package com.example.buck.library; import com.foo.missing.Dep; public class Test { Dep d = null; }
Add usage of missing Dep so linters won't remove it from test
Add usage of missing Dep so linters won't remove it from test Summary: google formatter removes this import unless its used. Reviewed By: philipjameson fbshipit-source-id: 06c0854797
Java
apache-2.0
JoelMarcey/buck,JoelMarcey/buck,nguyentruongtho/buck,brettwooldridge/buck,nguyentruongtho/buck,romanoid/buck,SeleniumHQ/buck,brettwooldridge/buck,facebook/buck,JoelMarcey/buck,SeleniumHQ/buck,JoelMarcey/buck,rmaz/buck,Addepar/buck,zpao/buck,zpao/buck,romanoid/buck,brettwooldridge/buck,Addepar/buck,zpao/buck,kageiit/buc...
78cddedf39239d50fbb33b7c5bf3bca68233709d
src/main/java/org/joow/elevator2/Actions.java
src/main/java/org/joow/elevator2/Actions.java
package org.joow.elevator2; import com.google.common.base.Optional; import com.google.common.base.Predicate; import com.google.common.collect.Collections2; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; public class Actions { public final List<Action> actions = new CopyOnWriteArrayList<...
package org.joow.elevator2; import com.google.common.base.Optional; import com.google.common.base.Predicate; import com.google.common.collect.Collections2; import java.util.List; import java.util.concurrent.CopyOnWriteArrayList; public class Actions { private final List<Action> actions = new CopyOnWriteArrayList...
Use FloorPredicate class to remove actions at given floor.
Use FloorPredicate class to remove actions at given floor.
Java
bsd-2-clause
joow/CodeElevator,joow/CodeElevator
5ec2c14f2c54e81b16a92af7a276c95b510d86c3
src/testsuite/test/InterfaceProActiveTest.java
src/testsuite/test/InterfaceProActiveTest.java
/* * Created on Aug 8, 2003 * * To change the template for this generated file go to * Window - Preferences - Java - Code Generation - Code and Comments */ package testsuite.test; import org.objectweb.proactive.core.node.Node; /** * @author adicosta * * To change the template for this generated type comment ...
/* * Created on Aug 8, 2003 * * To change the template for this generated file go to * Window - Preferences - Java - Code Generation - Code and Comments */ package testsuite.test; import org.objectweb.proactive.core.node.Node; /** * @author adicosta * * To change the template for this generated type comment ...
Add access to the node from manager
Add access to the node from manager git-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@579 28e8926c-6b08-0410-baaa-805c5e19b8d6
Java
agpl-3.0
zeineb/scheduling,sandrineBeauche/scheduling,jrochas/scheduling,laurianed/scheduling,sgRomaric/scheduling,marcocast/scheduling,sgRomaric/scheduling,lpellegr/scheduling,ow2-proactive/scheduling,lpellegr/scheduling,zeineb/scheduling,laurianed/scheduling,mbenguig/scheduling,sgRomaric/scheduling,fviale/scheduling,lpellegr/...
ba59c99193fc30c0f54ffb7eb5cdb885aacb552a
src/main/java/com/ttaylorr/uhc/coloredarrows/ColoredArrowsPlugin.java
src/main/java/com/ttaylorr/uhc/coloredarrows/ColoredArrowsPlugin.java
package com.ttaylorr.uhc.coloredarrows; import com.ttaylorr.uhc.coloredarrows.listeners.ProjectileLandListener; import com.ttaylorr.uhc.coloredarrows.listeners.ProjectileLaunchListener; import org.bukkit.Color; import org.bukkit.event.Listener; import org.bukkit.plugin.java.JavaPlugin; import java.util.ArrayList; im...
package com.ttaylorr.uhc.coloredarrows; import com.ttaylorr.uhc.coloredarrows.listeners.ProjectileLandListener; import com.ttaylorr.uhc.coloredarrows.listeners.ProjectileLaunchListener; import org.bukkit.Color; import org.bukkit.event.Listener; import org.bukkit.plugin.java.JavaPlugin; import java.util.ArrayList; im...
Save the defualt config onEnable(), and save onDisable()
Save the defualt config onEnable(), and save onDisable()
Java
mit
UltrahardcoreStats/ColoredArrows
cefe2cf59a90662a4c707366a99f4221fc32cba5
src/test/java/com/github/vbauer/herald/ext/spring/SpringBootTest.java
src/test/java/com/github/vbauer/herald/ext/spring/SpringBootTest.java
package com.github.vbauer.herald.ext.spring; import com.github.vbauer.herald.core.BasicTest; import com.github.vbauer.herald.ext.spring.bean.CheckerBean; import com.github.vbauer.herald.ext.spring.context.SpringBootTestContext; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.fa...
package com.github.vbauer.herald.ext.spring; import com.github.vbauer.herald.core.BasicTest; import com.github.vbauer.herald.ext.spring.bean.CheckerBean; import com.github.vbauer.herald.ext.spring.context.SpringBootTestContext; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.fa...
Add unit test for LogAutoConfiguration
Add unit test for LogAutoConfiguration
Java
apache-2.0
vbauer/herald,vbauer/herald
3dc6cec0ff3d1e94fcaa35059a76adf4c3af7c7f
tenacity-client/src/main/java/com/yammer/tenacity/client/TenacityClient.java
tenacity-client/src/main/java/com/yammer/tenacity/client/TenacityClient.java
package com.yammer.tenacity.client; import com.google.common.base.Optional; import com.google.common.collect.ImmutableList; import com.sun.jersey.api.client.Client; import javax.ws.rs.core.MediaType; import java.net.URI; public class TenacityClient { private final Client client; public TenacityClient(Client...
package com.yammer.tenacity.client; import com.google.common.base.Optional; import com.google.common.collect.ImmutableList; import com.sun.jersey.api.client.Client; import javax.ws.rs.core.MediaType; import java.net.URI; public class TenacityClient { private final Client client; public static final String TE...
Make the tenacity propertykeys resource path a publicly accessible static final.
Make the tenacity propertykeys resource path a publicly accessible static final.
Java
apache-2.0
jplock/tenacity,yammer/tenacity,yonglehou/tenacity,Trundle/tenacity,skinzer/tenacity,mauricionr/tenacity,samaitra/tenacity
fd2291d623cbba391ef0676745ca5236bc880ae2
src/main/java/de/retest/recheck/Rehub.java
src/main/java/de/retest/recheck/Rehub.java
package de.retest.recheck; import java.util.prefs.Preferences; import de.retest.recheck.auth.RehubAuthenticationHandler; import de.retest.recheck.auth.RetestAuthentication; import de.retest.recheck.persistence.CloudPersistence; public class Rehub { private Rehub() { } public static void init() { final Retest...
package de.retest.recheck; import java.util.prefs.Preferences; import de.retest.recheck.Properties.FileOutputFormat; import de.retest.recheck.auth.RehubAuthenticationHandler; import de.retest.recheck.auth.RetestAuthentication; import de.retest.recheck.persistence.CloudPersistence; public class Rehub { private Rehu...
Enable cloud persistence for rehub
Enable cloud persistence for rehub
Java
agpl-3.0
retest/recheck,retest/recheck
513a71ad7c6874bc530a3fc9bad17ffd27d600d8
projects/samskivert/src/java/com/samskivert/swing/util/Task.java
projects/samskivert/src/java/com/samskivert/swing/util/Task.java
// // $Id: Task.java,v 1.1 2000/12/06 03:25:19 mdb Exp $ package com.samskivert.swing.util; /** * A swing application requests that a task be invoked by the task * master. The task master invokes the task on a separate thread and * informs the swing application when the task has completed via the task * observer ...
// // $Id: Task.java,v 1.2 2000/12/07 05:41:30 mdb Exp $ package com.samskivert.swing.util; /** * A swing application requests that a task be invoked by the task * master. The task master invokes the task on a separate thread and * informs the swing application when the task has completed via the task * observer ...
Allow tasks to throw an exception so that it can be caught and passed to the task observer.
Allow tasks to throw an exception so that it can be caught and passed to the task observer. git-svn-id: 64ebf368729f38804935acb7146e017e0f909c6b@24 6335cc39-0255-0410-8fd6-9bcaacd3b74c
Java
lgpl-2.1
samskivert/samskivert,samskivert/samskivert
057ccdbd74bc1cb9d62bcffb01ffdbff110276dc
src/main/java/com/codicesoftware/plugins/hudson/util/SelectorParametersResolver.java
src/main/java/com/codicesoftware/plugins/hudson/util/SelectorParametersResolver.java
package com.codicesoftware.plugins.hudson.util; import hudson.Util; import hudson.model.ParameterValue; import java.util.HashMap; import java.util.List; import java.util.Map; public class SelectorParametersResolver { private SelectorParametersResolver() { } public static String resolve(String text, List<Pa...
package com.codicesoftware.plugins.hudson.util; import hudson.EnvVars; import hudson.Util; import hudson.model.ParameterValue; import java.util.HashMap; import java.util.List; import java.util.Map; public class SelectorParametersResolver { private SelectorParametersResolver() { } public static String resol...
Expand environment variables when resolving parameters in selector
Expand environment variables when resolving parameters in selector Signed-off-by: Miguel González <967cccf84fe94e619b35e1dff246b8b33dcf8eed@unity3d.com>
Java
mit
jenkinsci/plasticscm-plugin,jenkinsci/plasticscm-plugin
841771a62044ff7a9a8742b2eb7d4a69da70a398
portlets/contests-portlet/src/main/java/org/xcolab/portlets/contests/ContestsBean.java
portlets/contests-portlet/src/main/java/org/xcolab/portlets/contests/ContestsBean.java
package org.xcolab.portlets.contests; import java.io.Serializable; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewScoped; import com.ext.portlet.model.Contest; import com.ext.portlet.service.ContestLocalServiceUtil; im...
package org.xcolab.portlets.contests; import java.io.Serializable; import java.util.ArrayList; import java.util.Collections; import java.util.List; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewScoped; import com.ext.portlet.model.Contest; import com.ext.portlet.service.ContestLocalServiceUtil; im...
Hide private contests from contest portlet
Hide private contests from contest portlet
Java
mit
CCI-MIT/XCoLab,CCI-MIT/XCoLab,CCI-MIT/XCoLab,CCI-MIT/XCoLab
64ed666b9a3feed341fe2e5abcb608bc0e23e941
android/muteswan/src/org/muteswan/client/data/MuteswanServer.java
android/muteswan/src/org/muteswan/client/data/MuteswanServer.java
package org.muteswan.client.data; import org.json.JSONException; import org.json.JSONObject; public class MuteswanServer { private String hostname; private ServerInfo serverInfo; public class ServerInfo { public String Name = ""; public void setName(String arg) { this.Name = arg; } public S...
package org.muteswan.client.data; import org.json.JSONException; import org.json.JSONObject; import org.muteswan.client.MuteLog; public class MuteswanServer { private String hostname; private ServerInfo serverInfo; public class ServerInfo { public String Name = ""; public void setName(String arg) { ...
Fix empty servername problem when initially adding server.
Fix empty servername problem when initially adding server.
Java
agpl-3.0
jamesunger/muteswan,jamesunger/muteswan,jamesunger/muteswan,jamesunger/muteswan,jamesunger/muteswan,jamesunger/muteswan
cf903058a7f516914f72c6bb99c892f760eeeda7
src/main/java/fr/insee/pogues/transforms/PipeLine.java
src/main/java/fr/insee/pogues/transforms/PipeLine.java
package fr.insee.pogues.transforms; import org.apache.commons.io.IOUtils; import java.io.IOException; import java.io.InputStream; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.List; import java.util.Map; public class PipeLine { private String output; private List<Runnable> t...
package fr.insee.pogues.transforms; import org.apache.commons.io.IOUtils; import java.io.IOException; import java.io.InputStream; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.List; import java.util.Map; public class PipeLine { private String output; private List<Runnable> t...
Enhance exception handling in transformation pipeline
Enhance exception handling in transformation pipeline
Java
mit
InseeFr/Pogues-Back-Office,InseeFr/Pogues-Back-Office
7b6754e3a37fb82e4c101fafc0257c03ae437282
org.cohorte.studio.eclipse.ui.node/src/org/cohorte/studio/eclipse/ui/node/Activator.java
org.cohorte.studio.eclipse.ui.node/src/org/cohorte/studio/eclipse/ui/node/Activator.java
package org.cohorte.studio.eclipse.ui.node; import org.eclipse.ui.plugin.AbstractUIPlugin; import org.osgi.framework.BundleContext; /** * The activator class controls the plug-in life cycle */ public class Activator extends AbstractUIPlugin { // The plug-in ID public static final String PLUGIN_ID = "org.cohorte....
package org.cohorte.studio.eclipse.ui.node; import org.eclipse.ui.plugin.AbstractUIPlugin; import org.osgi.framework.BundleContext; /** * The activator class controls the plug-in life cycle */ public class Activator extends AbstractUIPlugin { // The plug-in ID public static final String PLUGIN_ID = "org.cohorte....
Fix plug-in ID to match bundle's symbolic name.
Fix plug-in ID to match bundle's symbolic name.
Java
epl-1.0
cohorte/cohorte-studio
2093264f42807b842370dd6686e684865f127ff3
project-generator/src/test/resources/io/syndesis/project/converter/test-Application.java
project-generator/src/test/resources/io/syndesis/project/converter/test-Application.java
package io.syndesis.project.converter; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class Application { /** * A main method to start this application. */ public static void main(String[] args) {...
package io.syndesis.example; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class Application { /** * A main method to start this application. */ public static void main(String[] args) { S...
Fix up package name in test for generated project
fix(project-generator): Fix up package name in test for generated project
Java
apache-2.0
chirino/ipaas-rest,KurtStam/ipaas-rest,KurtStam/syndesis-rest,KurtStam/ipaas-rest,KurtStam/syndesis-rest,KurtStam/ipaas-rest,rhuss/ipaas-rest,rhuss/ipaas-rest,redhat-ipaas/ipaas-api-java,redhat-ipaas/ipaas-rest,rhuss/ipaas-rest,KurtStam/syndesis-rest,redhat-ipaas/ipaas-api-java,redhat-ipaas/ipaas-rest,chirino/ipaas-res...
ef9b074d8f70bfda28b073d3136cfca3fb56e47e
plugins/infinispan110/src/main/java/org/radargun/service/Infinispan110ServerLifecycle.java
plugins/infinispan110/src/main/java/org/radargun/service/Infinispan110ServerLifecycle.java
package org.radargun.service; import java.util.concurrent.ExecutionException; import org.radargun.traits.Clustered; public class Infinispan110ServerLifecycle extends Infinispan100ServerLifecycle { public Infinispan110ServerLifecycle(InfinispanServerService service) { super(service); } @Override p...
package org.radargun.service; public class Infinispan110ServerLifecycle extends Infinispan100ServerLifecycle { public Infinispan110ServerLifecycle(InfinispanServerService service) { super(service); } }
Remove stopping Infinispan by Rest API
Remove stopping Infinispan by Rest API
Java
apache-2.0
radargun/radargun,radargun/radargun,radargun/radargun,radargun/radargun
03cab833e3d1a4117adc763620f7a1c78ee2cc95
shim-server/src/test/java/org/openmhealth/shim/common/mapper/DataPointMapperUnitTests.java
shim-server/src/test/java/org/openmhealth/shim/common/mapper/DataPointMapperUnitTests.java
package org.openmhealth.shim.common.mapper; import com.fasterxml.jackson.databind.ObjectMapper; import static org.openmhealth.schema.configuration.JacksonConfiguration.newObjectMapper; /** * @author Emerson Farrugia */ public abstract class DataPointMapperUnitTests { protected static final ObjectMapper objec...
package org.openmhealth.shim.common.mapper; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.core.io.ClassPathResource; import java.io.IOException; import java.io.InputStream; import static java.lang.String.format; import static org.openmh...
Add unit test support to load class path resources as JSON nodes
Add unit test support to load class path resources as JSON nodes
Java
apache-2.0
openmhealth/shimmer,openmhealth/shimmer,openmhealth/shimmer,openmhealth/shimmer
13a763edae1e262296d9b240a65fbbfe2d16af6e
wicket-bean-validation/src/main/java/org/apache/wicket/bean/validation/SizeTagModifier.java
wicket-bean-validation/src/main/java/org/apache/wicket/bean/validation/SizeTagModifier.java
package org.apache.wicket.bean.validation; import javax.validation.constraints.Size; import org.apache.wicket.markup.ComponentTag; import org.apache.wicket.markup.html.form.FormComponent; /** * A tag modifier that adds the {@code maxlength} attribute to the {@code input} tag with the max * value from the {@link Si...
package org.apache.wicket.bean.validation; import javax.validation.constraints.Size; import org.apache.wicket.markup.ComponentTag; import org.apache.wicket.markup.html.form.FormComponent; /** * A tag modifier that adds the {@code maxlength} and {@code minlength} attributes to the {@code input} * and {@code textar...
Add 'minlength' to <input> or <textarea> if Size.min() is bigger than 0
Add 'minlength' to <input> or <textarea> if Size.min() is bigger than 0 Fixes #144
Java
apache-2.0
AlienQueen/wicket,klopfdreh/wicket,apache/wicket,aldaris/wicket,aldaris/wicket,klopfdreh/wicket,bitstorm/wicket,apache/wicket,mosoft521/wicket,selckin/wicket,mosoft521/wicket,dashorst/wicket,AlienQueen/wicket,mosoft521/wicket,aldaris/wicket,aldaris/wicket,AlienQueen/wicket,apache/wicket,bitstorm/wicket,klopfdreh/wicket...
99f01bdc90a54b8c0050e1101ca95eb2fe4e7eb6
core/src/main/java/de/danoeh/antennapod/core/util/playback/IPlayer.java
core/src/main/java/de/danoeh/antennapod/core/util/playback/IPlayer.java
package de.danoeh.antennapod.core.util.playback; import android.content.Context; import android.view.SurfaceHolder; import java.io.IOException; public interface IPlayer { boolean canSetPitch(); boolean canSetSpeed(); boolean canDownmix(); float getCurrentPitchStepsAdjustment(); int getCurrentPosition(); f...
package de.danoeh.antennapod.core.util.playback; import android.content.Context; import android.view.SurfaceHolder; import java.io.IOException; public interface IPlayer { boolean canSetPitch(); boolean canSetSpeed(); boolean canDownmix(); float getCurrentPitchStepsAdjustment(); int getCurrentPosition(); f...
Add throws to avoid interface clash
Add throws to avoid interface clash
Java
mit
mfietz/AntennaPod,johnjohndoe/AntennaPod,mfietz/AntennaPod,johnjohndoe/AntennaPod,mfietz/AntennaPod,johnjohndoe/AntennaPod,johnjohndoe/AntennaPod,mfietz/AntennaPod
92e8a93a3de25790cdec71eda969dc5bf0222122
ukelonn.bundle/src/main/java/no/priv/bang/ukelonn/impl/KarafReleaseLiquibaseLockCommand.java
ukelonn.bundle/src/main/java/no/priv/bang/ukelonn/impl/KarafReleaseLiquibaseLockCommand.java
/* * Copyright 2016-2017 Steinar Bang * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
/* * Copyright 2016-2017 Steinar Bang * * 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...
Make Sonar stop insisting that a console command should output messages using a log framework.
Make Sonar stop insisting that a console command should output messages using a log framework.
Java
apache-2.0
steinarb/ukelonn,steinarb/ukelonn,steinarb/ukelonn
ec64c568bece0aa1ddcceb584bfbe976ef20956c
mathosphere-core/src/test/java/com/formulasearchengine/mathosphere/mlp/cli/CliParamsTest.java
mathosphere-core/src/test/java/com/formulasearchengine/mathosphere/mlp/cli/CliParamsTest.java
package com.formulasearchengine.mathosphere.mlp.cli; import org.junit.Test; import static org.junit.Assert.*; public class CliParamsTest { @Test public void help() { String[] args = {"help"}; CliParams params = CliParams.from(args); assertEquals("help", params.getCommand()); } @Test public vo...
package com.formulasearchengine.mathosphere.mlp.cli; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; public class CliParamsTest { @Test public void help() { String[] args = {"help"}; CliParams para...
Test setting texvcinfo url from cli
Test setting texvcinfo url from cli
Java
apache-2.0
TU-Berlin/mathosphere,TU-Berlin/mathosphere
485ae96ffddccd69c7de4c55fa74e89e2886135b
wikipedia/src/main/java/org/wikipedia/settings/PreferenceActivityWithBack.java
wikipedia/src/main/java/org/wikipedia/settings/PreferenceActivityWithBack.java
package org.wikipedia.settings; import android.os.Build; import android.os.Bundle; import android.preference.PreferenceActivity; import android.view.MenuItem; public class PreferenceActivityWithBack extends PreferenceActivity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanc...
package org.wikipedia.settings; import android.os.Build; import android.os.Bundle; import android.preference.PreferenceActivity; import android.view.MenuItem; public class PreferenceActivityWithBack extends PreferenceActivity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanc...
Fix possible crash with <4.0 devices when opening More.
Fix possible crash with <4.0 devices when opening More. OTRS: https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom&TicketID=7601473 Change-Id: I673e26d0288c71940f551ad9cdb72db262dbe406
Java
apache-2.0
carloshwa/apps-android-wikipedia,reproio/apps-android-wikipedia,dbrant/apps-android-wikipedia,carloshwa/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,reproio/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,anirudh24seven/apps-android-wikipedia,wikimedia/apps-android-wikipedia,BrunoMRodrigues/apps-androi...
a70eeb99d640a2d0dd93e52065ba60c913cfa619
core/src/main/java/com/airbnb/aerosolve/core/transforms/DeleteStringFeatureFamilyTransform.java
core/src/main/java/com/airbnb/aerosolve/core/transforms/DeleteStringFeatureFamilyTransform.java
package com.airbnb.aerosolve.core.transforms; import com.airbnb.aerosolve.core.FeatureVector; import java.util.Map; import java.util.Set; import com.typesafe.config.Config; /** * "field1" specifies the string column to be deleted */ public class DeleteStringFeatureFamilyTransform implements Transform { private ...
package com.airbnb.aerosolve.core.transforms; import com.airbnb.aerosolve.core.FeatureVector; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import com.typesafe.config.Config; /** * "field1" specifies the string column to be deleted */ public class DeleteStringFeature...
Add ability to delete multiple string familes at once
Add ability to delete multiple string familes at once
Java
apache-2.0
airbnb/aerosolve,ralic/aerosolve,TDDFT/aerosolve,TDDFT/aerosolve,airbnb/aerosolve,ralic/aerosolve
dcee3b0d595ae941cb33162dfab94a0b68dd4f46
servlet/src/main/java/io/undertow/servlet/api/LifecycleInterceptor.java
servlet/src/main/java/io/undertow/servlet/api/LifecycleInterceptor.java
package io.undertow.servlet.api; import javax.servlet.Filter; import javax.servlet.Servlet; import javax.servlet.ServletException; /** * Class that is run around invocations of servlet and filter lifecycle methods (init and destroy). * * Note that this only deals with lifecycle methods that are defined by the serv...
package io.undertow.servlet.api; import javax.servlet.Filter; import javax.servlet.Servlet; import javax.servlet.ServletException; /** * Class that is run around invocations of servlet and filter lifecycle methods (init and destroy). * * Note that this only deals with lifecycle methods that are defined by the serv...
Add exception to method signature
Add exception to method signature
Java
apache-2.0
emag/codereading-undertow,rhusar/undertow,msfm/undertow,stuartwdouglas/undertow,stuartwdouglas/undertow,golovnin/undertow,pedroigor/undertow,aldaris/undertow,aradchykov/undertow,wildfly-security-incubator/undertow,pferraro/undertow,ctomc/undertow,jamezp/undertow,yonglehou/undertow,undertow-io/undertow,popstr/undertow,b...
562717b3d956243cde5669618ff90f9472a7825e
samples/wiremock-jetty/src/test/java/com/example/WiremockForDocsMockServerApplicationTests.java
samples/wiremock-jetty/src/test/java/com/example/WiremockForDocsMockServerApplicationTests.java
package com.example; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.context.SpringBootTest...
package com.example; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.context.SpringBootTest...
Fix test when it runs as well
Fix test when it runs as well
Java
apache-2.0
pfrank13/spring-cloud-contract,pfrank13/spring-cloud-contract,spring-cloud/spring-cloud-contract,spring-cloud/spring-cloud-contract,spring-cloud/spring-cloud-contract
b645dd29469a1b18369c7f1c16f4023cdc0f5aa2
src/main/java/com/snowplowanalytics/snowplow/tracker/LinkedHashMap.java
src/main/java/com/snowplowanalytics/snowplow/tracker/LinkedHashMap.java
/* * Copyright (c) 2014 Snowplow Analytics Ltd. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org...
/* * Copyright (c) 2014 Snowplow Analytics Ltd. All rights reserved. * * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License Version 2.0. * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org...
Check for empty string insertion as well
Check for empty string insertion as well - Fixes #21
Java
apache-2.0
dstendardi/snowplow-java-tracker,snowplow/snowplow-java-tracker,dstendardi/snowplow-java-tracker
3ba64d80ce598f2f59ac7afbd5b6676ccc385f52
java/com/google/protobuf/contrib/j2cl/runtime/super/com/google/protobuf/ProtocolMessageEnum.java
java/com/google/protobuf/contrib/j2cl/runtime/super/com/google/protobuf/ProtocolMessageEnum.java
/* * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writi...
/* * Copyright 2019 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writi...
Remove JsType annotation which can unnecessarily add to code size with bridges and make the proto Java enums accessible from JS.
Remove JsType annotation which can unnecessarily add to code size with bridges and make the proto Java enums accessible from JS. PiperOrigin-RevId: 466748192
Java
apache-2.0
google/j2cl-protobuf,google/j2cl-protobuf,google/j2cl-protobuf
ac095e2503d62b8703fffae8b7bdd8422557c690
mockui/src/main/java/com/autonomy/abc/selenium/page/connections/wizard/ConnectorIndexStepTab.java
mockui/src/main/java/com/autonomy/abc/selenium/page/connections/wizard/ConnectorIndexStepTab.java
package com.autonomy.abc.selenium.page.connections.wizard; import com.autonomy.abc.selenium.page.SAASPageBase; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.WebD...
package com.autonomy.abc.selenium.page.connections.wizard; import com.autonomy.abc.selenium.page.SAASPageBase; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.ui.ExpectedConditions; import org.openqa.selenium.support.ui.WebD...
Change the way Connector Index Tab finds the 'select index' button'
Change the way Connector Index Tab finds the 'select index' button'
Java
mit
hpe-idol/find,hpe-idol/java-powerpoint-report,hpautonomy/find,hpautonomy/find,hpe-idol/find,hpe-idol/find,hpe-idol/find,hpe-idol/find,hpautonomy/find,hpautonomy/find,hpautonomy/find,hpe-idol/java-powerpoint-report
9a920b215b8b9357aa4ba94ea0494375f73ab7f4
src/ast/Member.java
src/ast/Member.java
package ast; import symbols.value.Value; public class Member extends Lvalue { private Lvalue _lvalue; private String _identifier; private Call _call; private Expression _expression; private boolean _isLValue; public Member(Lvalue lvalue, String identifier, Call call, Expression expression) ...
package ast; import symbols.value.Value; public class Member extends Lvalue { private Lvalue _lvalue; private final IdentifierExpression _identifier; private Call _call; private Expression _expression; private boolean _isLValue; public Member(Lvalue lvalue, IdentifierExpression identifier, ...
Change identifier from String to IndentifierExpression] Add the methods to manage the changes.
[Method: Change identifier from String to IndentifierExpression] Add the methods to manage the changes.
Java
agpl-3.0
kostasDrk/metafox,kostasDrk/metafox
bb08ddc3a97b9796aaab230215dfc9e34663c9b7
src/main/java/com/amee/platform/resource/dataitemvalue/DataItemValuesResource.java
src/main/java/com/amee/platform/resource/dataitemvalue/DataItemValuesResource.java
package com.amee.platform.resource.dataitemvalue; import com.amee.base.resource.*; import com.amee.base.validation.ValidationException; import com.amee.domain.DataItemValuesFilter; import com.amee.domain.item.data.DataItem; import java.util.Date; import java.util.Map; public interface DataItemValuesResource { p...
package com.amee.platform.resource.dataitemvalue; import com.amee.base.resource.*; import com.amee.base.validation.ValidationException; import com.amee.domain.DataItemValuesFilter; import com.amee.domain.item.data.DataItem; import java.util.Date; import java.util.Map; public interface DataItemValuesResource { s...
Remove redundant access modifiers from interface. PL-11162.
Remove redundant access modifiers from interface. PL-11162.
Java
mit
OpenAMEE/amee.platform.api
6c711425721d113512ddc07cb00177c38618e61a
MashupClient/app/src/main/java/cvut/arenaq/mashup/AlchemyApi/GetRankedTaxonomy.java
MashupClient/app/src/main/java/cvut/arenaq/mashup/AlchemyApi/GetRankedTaxonomy.java
package cvut.arenaq.mashup.AlchemyApi; import java.util.List; public class GetRankedTaxonomy { private String status; private String language; private List<Taxonomy> taxonomy; public String getStatus() { return status; } public String getLanguage() { return lang...
package cvut.arenaq.mashup.AlchemyApi; import java.util.List; public class GetRankedTaxonomy { private String status; private String statusInfo; private String language; private List<Taxonomy> taxonomy; public String getStatus() { return status; } public String getS...
Add additional field to result model class of Alchemy api
Add additional field to result model class of Alchemy api
Java
mit
arenaq/via-mashup
03010fc19411bd76963ae3e0c5224fee9eac75a1
core/src/test/java/org/thinkinghub/gateway/core/WeixinApiTest.java
core/src/test/java/org/thinkinghub/gateway/core/WeixinApiTest.java
package org.thinkinghub.gateway.core; import org.junit.Test; import org.thinkinghub.gateway.api.WeixinApi; import static org.junit.Assert.assertEquals; public class WeixinApiTest { private static final String AUTHORIZE_URL = "https://open.weixin.qq.com/connect/qrconnect?appid=%s&redirect_uri=%s&response_type=co...
package org.thinkinghub.gateway.core; import com.github.scribejava.core.model.OAuthConfig; import org.junit.Test; import org.thinkinghub.gateway.api.WeixinApi; import static org.junit.Assert.assertEquals; public class WeixinApiTest { private final String AUTHORIZE_URL = "https://open.weixin.qq.com/connect/qrcon...
Refactor the test case for WeixinAPI
Refactor the test case for WeixinAPI
Java
mit
perrywang/OAuthGateway,perrywang/OAuthGateway,perrywang/OAuthGateway
0e96e21df7dbae654384067d4fb0b075dd3624aa
plugins/org.yakindu.sct.generator.java/src/org/yakindu/sct/generator/java/JavaIncludeProvider.java
plugins/org.yakindu.sct.generator.java/src/org/yakindu/sct/generator/java/JavaIncludeProvider.java
/** * Copyright (c) 2018 committers of YAKINDU and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * Contributor...
/** * Copyright (c) 2018 committers of YAKINDU and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * Contributor...
Add return type to Iterable<String>
Add return type to Iterable<String>
Java
epl-1.0
Yakindu/statecharts,Yakindu/statecharts,Yakindu/statecharts,Yakindu/statecharts,Yakindu/statecharts,Yakindu/statecharts,Yakindu/statecharts
51fcdd88c1928c7c2537827e1a224fe171d492a9
uitest/src/com/vaadin/tests/widgetset/client/DelegateWidget.java
uitest/src/com/vaadin/tests/widgetset/client/DelegateWidget.java
/* * Copyright 2000-2013 Vaadin Ltd. * * 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 2000-2013 Vaadin Ltd. * * 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...
Fix random error in DelegateToWidget test
Fix random error in DelegateToWidget test Because of performance fixes to the handling of @DelegateToWidget handling, the order in which property changes are delegated are no longer deterministic. This patch fixes a bug in the test which caused the update to value4 to be ignored if that was the last property to get de...
Java
apache-2.0
travisfw/vaadin,udayinfy/vaadin,Flamenco/vaadin,mstahv/framework,jdahlstrom/vaadin.react,shahrzadmn/vaadin,udayinfy/vaadin,shahrzadmn/vaadin,bmitc/vaadin,jdahlstrom/vaadin.react,sitexa/vaadin,Scarlethue/vaadin,travisfw/vaadin,fireflyc/vaadin,sitexa/vaadin,bmitc/vaadin,kironapublic/vaadin,magi42/vaadin,Flamenco/vaadin,L...
47025defa689cf4af9f79f39f2cf45ba18b7e10b
core/src/main/java/org/elasticsearch/bootstrap/BootstrapInfo.java
core/src/main/java/org/elasticsearch/bootstrap/BootstrapInfo.java
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Remove this: we are gonna manage these right
Remove this: we are gonna manage these right
Java
apache-2.0
palecur/elasticsearch,masterweb121/elasticsearch,strapdata/elassandra5-rc,lmtwga/elasticsearch,SaiprasadKrishnamurthy/elasticsearch,areek/elasticsearch,liweinan0423/elasticsearch,petabytedata/elasticsearch,lks21c/elasticsearch,fernandozhu/elasticsearch,episerver/elasticsearch,wbowling/elasticsearch,mikemccand/elasticse...
d5968e8b1671d760a406281df681c566079e1b85
server/common/nosql/cassandra-dao/src/test/java/org/kaaproject/kaa/server/common/CassandraTestSuite.java
server/common/nosql/cassandra-dao/src/test/java/org/kaaproject/kaa/server/common/CassandraTestSuite.java
/* * Copyright 2014-2016 CyberVision, 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 o...
/* * Copyright 2014-2016 CyberVision, 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 o...
Increase embedded cassandra timeout to 2 min
Increase embedded cassandra timeout to 2 min
Java
apache-2.0
vtkhir/kaa,aglne/kaa,sashadidukh/kaa,rasendubi/kaa,rasendubi/kaa,sashadidukh/kaa,Oleh-Kravchenko/kaa,aglne/kaa,rasendubi/kaa,sashadidukh/kaa,vtkhir/kaa,Oleh-Kravchenko/kaa,rasendubi/kaa,Oleh-Kravchenko/kaa,aglne/kaa,Oleh-Kravchenko/kaa,rasendubi/kaa,aglne/kaa,rasendubi/kaa,sashadidukh/kaa,sashadidukh/kaa,Oleh-Kravchenk...
b36121aa07f283cb1c37d7e4126b7f4bd038ffd2
src/jmh/java/org/apache/poi/benchmark/suite/SSPerformanceBenchmarks.java
src/jmh/java/org/apache/poi/benchmark/suite/SSPerformanceBenchmarks.java
package org.apache.poi.benchmark.suite; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.Setup; import java.io.IOException; import java.util.concurrent.TimeUnit; public class SSPerformanceBenchmarks extends BaseBenchmark { @Setup public void setUp() throws IOException { ...
package org.apache.poi.benchmark.suite; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.Setup; import java.io.IOException; import java.util.concurrent.TimeUnit; public class SSPerformanceBenchmarks extends BaseBenchmark { @Setup public void setUp() throws IOException { ...
Adjust package of SSPerformanceTest for latest Apache POI sources
Adjust package of SSPerformanceTest for latest Apache POI sources
Java
apache-2.0
centic9/poi-benchmark,centic9/poi-benchmark,centic9/poi-benchmark
13b0df5bca5863fef17cc06d6051eed5c2894274
src/test/java/ca/corefacility/bioinformatics/irida/web/controller/test/unit/support/IdentifiableTestEntity.java
src/test/java/ca/corefacility/bioinformatics/irida/web/controller/test/unit/support/IdentifiableTestEntity.java
package ca.corefacility.bioinformatics.irida.web.controller.test.unit.support; import java.util.Date; import ca.corefacility.bioinformatics.irida.model.IridaThing; /** * * @author Franklin Bristow <franklin.bristow@phac-aspc.gc.ca> */ public class IdentifiableTestEntity implements IridaThing, Comparable<Identifi...
package ca.corefacility.bioinformatics.irida.web.controller.test.unit.support; import java.util.Date; import ca.corefacility.bioinformatics.irida.model.IridaThing; /** * * @author Franklin Bristow <franklin.bristow@phac-aspc.gc.ca> */ public class IdentifiableTestEntity implements IridaThing, Comparable<Identifi...
Test entity should not be allowed to change the created date after it's been created.
Test entity should not be allowed to change the created date after it's been created.
Java
apache-2.0
phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida
430cb920cd0b343a9f3d2a4a99e0948172b83859
bottomsheetpickers/src/test/java/com/philliphsu/bottomsheetpickers/view/numberpad/NumberPadTimePickerPresenterTest.java
bottomsheetpickers/src/test/java/com/philliphsu/bottomsheetpickers/view/numberpad/NumberPadTimePickerPresenterTest.java
package com.philliphsu.bottomsheetpickers.view.numberpad; import com.philliphsu.bottomsheetpickers.view.LocaleModel; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.mockito.Mockito; import org.mockito.MockitoAnnotations; public class NumberPadTimePickerPresenterTest { @Mock ...
package com.philliphsu.bottomsheetpickers.view.numberpad; import com.philliphsu.bottomsheetpickers.view.LocaleModel; import org.junit.Before; import org.junit.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import static org.mockito.Mockito.verify; public class NumberPadTimePickerPresenterTest...
Add test to verify enabled states of views when time picker is empty initialized.
Add test to verify enabled states of views when time picker is empty initialized.
Java
apache-2.0
philliphsu/BottomSheetPickers
004685f4b20c8d7b18fa3031fa07a2abf0174e9c
src/main/java/com/github/bot/curiosone/core/analysis/EmotionAnalysis.java
src/main/java/com/github/bot/curiosone/core/analysis/EmotionAnalysis.java
package com.github.bot.curiosone.core.analysis; import com.github.bot.curiosone.core.nlp.Phrase; /** * Handles emotion analysis for a Phrase. * Provides a single public static method to perform to calculate the emotion of a given Phrase. */ public class EmotionAnalysis { /** * Private constructor. */ pr...
package com.github.bot.curiosone.core.analysis; import com.github.bot.curiosone.core.nlp.Phrase; /** * Handles emotion analysis for a Phrase. * Provides a single public static method to perform to calculate the emotion of a given Phrase. */ public class EmotionAnalysis { /** * Private constructor. */ pr...
Add base implementation of getEmotion method
Add base implementation of getEmotion method
Java
mit
curiosone-bot/curiosone-core
08a081037123139319f4cc8a7f0e544e813c1c34
codenvy-ext-datasource-client/src/main/java/com/codenvy/ide/ext/datasource/client/editdatasource/EditDatasourceMessages.java
codenvy-ext-datasource-client/src/main/java/com/codenvy/ide/ext/datasource/client/editdatasource/EditDatasourceMessages.java
/* * Copyright 2014 Codenvy, S.A. * * 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 2014 Codenvy, S.A. * * 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 ...
Change menu text from edit/delete datasource -> manage datasources
Change menu text from edit/delete datasource -> manage datasources
Java
epl-1.0
codenvy/plugin-datasource,codenvy/plugin-datasource
5af45585f5359e2d3e52037f670146c24e0cfca1
security-utils/src/main/java/com/yahoo/security/tls/AuthorizationMode.java
security-utils/src/main/java/com/yahoo/security/tls/AuthorizationMode.java
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.security.tls; import java.util.Arrays; /** * @author bjorncs */ public enum AuthorizationMode { DISABLE("disable"), LOG_ONLY("log_only"), ENFORCE("enforce"); fina...
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.security.tls; import java.util.Arrays; /** * @author bjorncs */ public enum AuthorizationMode { DISABLE("disable"), LOG_ONLY("log_only"), ENFORCE("enforce"); fina...
Define default value for tls authorization mode
Define default value for tls authorization mode
Java
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
e7a7fbeeeb6ebc1e8f2bc152d1b142f4e6590a10
webmagic-core/src/main/java/us/codecraft/webmagic/selector/BaseElementSelector.java
webmagic-core/src/main/java/us/codecraft/webmagic/selector/BaseElementSelector.java
package us.codecraft.webmagic.selector; import org.jsoup.Jsoup; import org.jsoup.nodes.Element; import java.util.ArrayList; import java.util.List; /** * @author code4crafter@gmail.com * @since 0.3.0 */ public abstract class BaseElementSelector implements Selector, ElementSelector { @Override public Strin...
package us.codecraft.webmagic.selector; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import java.util.ArrayList; import java.util.List; /** * @author code4crafter@gmail.com * @since 0.3.0 */ public abstract class BaseElementSelector implements Selector, ElementSelector ...
Enhance Jsoup could parse tr td tag directly
Enhance Jsoup could parse tr td tag directly
Java
apache-2.0
code4craft/webmagic,code4craft/webmagic,code4craft/webmagic,code4craft/webmagic,code4craft/webmagic,code4craft/webmagic,code4craft/webmagic
b09f8dade5d4dfa49f9bdbd4a6b020779863c8a3
app/src/main/java/com/aayaffe/sailingracecoursemanager/communication/ObjectTypes.java
app/src/main/java/com/aayaffe/sailingracecoursemanager/communication/ObjectTypes.java
package com.aayaffe.sailingracecoursemanager.communication; import java.io.Serializable; /** * Created by aayaffe on 30/09/2015. */ public enum ObjectTypes { RaceManager(0), WorkerBoat(1), Buoy(2), FlagBuoy(3), TomatoBuoy(4), TriangleBuoy(5), StartLine(6), FinishLine(7), StartFin...
package com.aayaffe.sailingracecoursemanager.communication; import java.io.Serializable; /** * Created by aayaffe on 30/09/2015. */ public enum ObjectTypes { WorkerBoat, FlagBuoy, TomatoBuoy, TriangleBuoy, StartLine, FinishLine, StartFinishLine, RaceManager, //from here, the releva...
Revert "Revert "Revert "Updated object types in Dev"""
Revert "Revert "Revert "Updated object types in Dev""" This reverts commit 91bd4abec789636041e6ffe2d3481d5e48798534.
Java
apache-2.0
aayaffe/SailingRaceCourseManager,aayaffe/SailingRaceCourseManager
79e4d809b8eb4a6f5b3aa99aa94a1486c5466a15
robolectric/src/main/java/org/robolectric/internal/runtime/RuntimeAdapterFactory.java
robolectric/src/main/java/org/robolectric/internal/runtime/RuntimeAdapterFactory.java
package org.robolectric.internal.runtime; import android.os.Build; import org.robolectric.RuntimeEnvironment; public class RuntimeAdapterFactory { public static RuntimeAdapter getInstance() { int apiLevel = RuntimeEnvironment.getApiLevel(); if (apiLevel <= Build.VERSION_CODES.JELLY_BEAN) { return new...
package org.robolectric.internal.runtime; import android.os.Build; import org.robolectric.RuntimeEnvironment; public class RuntimeAdapterFactory { public static RuntimeAdapter getInstance() { int apiLevel = RuntimeEnvironment.getApiLevel(); if (apiLevel <= Build.VERSION_CODES.JELLY_BEAN) { return new...
Add RuntimeAdapter for API22. Attach has one new String parameter "referrer"
Add RuntimeAdapter for API22. Attach has one new String parameter "referrer"
Java
mit
tmrudick/robolectric,tmrudick/robolectric,rongou/robolectric,charlesmunger/robolectric,lexs/robolectric,rburgst/robolectric,ChengCorp/robolectric,trevorrjohn/robolectric,wyvx/robolectric,fiower/robolectric,tjohn/robolectric,tuenti/robolectric,cesar1000/robolectric,rburgst/robolectric,diegotori/robolectric,rongou/robole...
f40c65f198ebc885999e351d241fd84d2d45f63a
test-parent/connector/src/main/java/com/speedment/test/connector/support/Dummies.java
test-parent/connector/src/main/java/com/speedment/test/connector/support/Dummies.java
/* * * Copyright (c) 2006-2020, Speedment, 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 requi...
/* * * Copyright (c) 2006-2020, Speedment, 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 requi...
Add server property to dummy DBMS
Add server property to dummy DBMS
Java
apache-2.0
speedment/speedment,speedment/speedment
b31219ee378e9b7d9f66ed9086659e00975e3252
src/main/java/com/pholser/junit/quickcheck/internal/extractors/ExtractorRepository.java
src/main/java/com/pholser/junit/quickcheck/internal/extractors/ExtractorRepository.java
package com.pholser.junit.quickcheck.internal.extractors; import java.lang.reflect.Type; import java.util.HashMap; import java.util.List; import java.util.Map; import org.javaruntype.type.Types; import com.pholser.junit.quickcheck.RandomValueExtractor; import com.pholser.junit.quickcheck.RegisterableRandomValueExtra...
package com.pholser.junit.quickcheck.internal.extractors; import java.lang.reflect.Type; import java.util.HashMap; import java.util.List; import java.util.Map; import org.javaruntype.type.Types; import com.pholser.junit.quickcheck.RandomValueExtractor; import com.pholser.junit.quickcheck.RegisterableRandomValueExtra...
Make extractor repo recurse in case of list or array.
Make extractor repo recurse in case of list or array.
Java
mit
pholser/junit-quickcheck
0d441ece80c6e8dbb7b9045a9e2a48d2af0ea992
Snooper/src/main/java/com/prateekj/snooper/infra/CustomBindings.java
Snooper/src/main/java/com/prateekj/snooper/infra/CustomBindings.java
package com.prateekj.snooper.infra; import android.databinding.BindingAdapter; import android.support.v4.view.ViewCompat; import android.support.v7.widget.RecyclerView; import android.widget.ListView; import se.emilsjolander.stickylistheaders.StickyListHeadersAdapter; import se.emilsjolander.stickylistheaders.StickyL...
package com.prateekj.snooper.infra; import android.databinding.BindingAdapter; import android.support.v4.view.ViewCompat; import android.support.v7.widget.RecyclerView; import android.widget.ListView; import se.emilsjolander.stickylistheaders.StickyListHeadersAdapter; import se.emilsjolander.stickylistheaders.StickyL...
Revert "removing data binding warnings"
Revert "removing data binding warnings" This reverts commit df1e2ca5d05839d788c73df62681e060de9760fd.
Java
apache-2.0
jainsahab/AndroidSnooper,jainsahab/AndroidSnooper,jainsahab/AndroidSnooper
4d1435ea7fece72e8956de281e48c6e18612e466
.bach/src/Build.java
.bach/src/Build.java
/* * Bach - Java Shell Builder * Copyright (C) 2020 Christian Stein * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
/* * Bach - Java Shell Builder * Copyright (C) 2020 Christian Stein * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
Create all folders in build program
Create all folders in build program
Java
mit
sormuras/bach,sormuras/bach
726f13b09bd9e326da57c1d986a511b06b5821ea
patterns/src/test/java/name/webdizz/fault/tolerance/timeout/HttpOperationTimeoutTest.java
patterns/src/test/java/name/webdizz/fault/tolerance/timeout/HttpOperationTimeoutTest.java
package name.webdizz.fault.tolerance.timeout; import org.apache.http.client.config.RequestConfig; import org.apache.http.client.methods.HttpGet; import org.apache.http.conn.ConnectTimeoutException; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClientBuilder; import org....
package name.webdizz.fault.tolerance.timeout; import org.apache.http.client.config.RequestConfig; import org.apache.http.client.methods.HttpGet; import org.apache.http.conn.ConnectTimeoutException; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClientBuilder; import org....
Remove socket connection time out configuration
Remove socket connection time out configuration
Java
apache-2.0
webdizz/fault-tolerance-talk
c2dd332d1972566cf2959205018b7378856536b3
RelUI/src/org/reldb/dbrowser/ui/preferences/PreferencePageGeneral.java
RelUI/src/org/reldb/dbrowser/ui/preferences/PreferencePageGeneral.java
package org.reldb.dbrowser.ui.preferences; import org.eclipse.jface.preference.BooleanFieldEditor; import org.eclipse.jface.preference.FieldEditorPreferencePage; import org.eclipse.jface.util.Util; /** * This class creates a preference page */ public class PreferencePageGeneral extends FieldEditorPreferencePage { ...
package org.reldb.dbrowser.ui.preferences; import org.eclipse.jface.preference.BooleanFieldEditor; import org.eclipse.jface.preference.FieldEditorPreferencePage; import org.eclipse.jface.util.Util; /** * This class creates a preference page */ public class PreferencePageGeneral extends FieldEditorPreferencePage { ...
Add preference to not load user's default database.
Add preference to not load user's default database.
Java
apache-2.0
DaveVoorhis/Rel,DaveVoorhis/Rel,DaveVoorhis/Rel,DaveVoorhis/Rel,DaveVoorhis/Rel
f9de1d7c954bb4bda814443e75e706b11a2bcd89
src/test/java/io/github/bonigarcia/wdm/test/MarionetteVersionTest.java
src/test/java/io/github/bonigarcia/wdm/test/MarionetteVersionTest.java
/* * (C) Copyright 2016 Boni Garcia (http://bonigarcia.github.io/) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org/l...
/* * (C) Copyright 2016 Boni Garcia (http://bonigarcia.github.io/) * * All rights reserved. This program and the accompanying materials * are made available under the terms of the GNU Lesser General Public License * (LGPL) version 2.1 which accompanies this distribution, and is available at * http://www.gnu.org/l...
Add version 0.10.0 in test for Marionette versions
Add version 0.10.0 in test for Marionette versions
Java
apache-2.0
bonigarcia/webdrivermanager,bonigarcia/webdrivermanager,bonigarcia/webdrivermanager
8e1f3e687d4e9070609108646cdcb5b014dd3f7c
meta.nabl2.terms/src/main/java/org/metaborg/meta/nabl2/terms/ITermVar.java
meta.nabl2.terms/src/main/java/org/metaborg/meta/nabl2/terms/ITermVar.java
package org.metaborg.meta.nabl2.terms; import com.google.common.collect.ImmutableClassToInstanceMap; public interface ITermVar extends ITerm, IListTerm { String getResource(); String getName(); ITermVar withAttachments(ImmutableClassToInstanceMap<Object> value); }
package org.metaborg.meta.nabl2.terms; import com.google.common.collect.ImmutableClassToInstanceMap; public interface ITermVar extends ITerm, IListTerm { String getResource(); String getName(); ITermVar withAttachments(ImmutableClassToInstanceMap<Object> value); @Override ITermVar withLocked(boole...
Add override to refine return type.
Add override to refine return type.
Java
apache-2.0
metaborg/nabl,metaborg/nabl,metaborg/nabl
d4497af7b0ca4a72f048c133b8bfe80a70e138b8
src/core-module/module-info.java
src/core-module/module-info.java
/* * Copyright (c) 2012-2020, Jan Bernitt * * Licensed under the Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0 */ /** * Defines the API of Silk DI. * * @uses se.jbee.inject.declare.Bundle * @uses se.jbee.inject.declare.ModuleWith */ module se.jbee.inject { exports se.jbee.inject;...
/* * Copyright (c) 2012-2020, Jan Bernitt * * Licensed under the Apache License, Version 2.0, http://www.apache.org/licenses/LICENSE-2.0 */ /** * Defines the API of Silk DI. * * @uses se.jbee.inject.declare.Bundle * @uses se.jbee.inject.declare.ModuleWith */ module se.jbee.inject { exports se.jbee.inject;...
Fix module exports related warning
Fix module exports related warning src\core\se\jbee\inject\bootstrap\Supply.java:52: warning: [exports] class Logger in module java.logging is not indirectly exported using requires transitive public static final Supplier<Logger> LOGGER = (dep, context) //
Java
apache-2.0
jbee/silk
5a311ffd490dd2a1116a932afb10dbb88585628d
src/main/java/org/ucombinator/jaam/visualizer/gui/GUINodeStatus.java
src/main/java/org/ucombinator/jaam/visualizer/gui/GUINodeStatus.java
package org.ucombinator.jaam.visualizer.gui; public class GUINodeStatus { public double left, right, top, bottom; public double x, y, width, height; // The width and height of the node's children within the same level of the hierarchy public double bboxWidth, bboxHeight; public double opacity; ...
package org.ucombinator.jaam.visualizer.gui; public class GUINodeStatus { public double left, right, top, bottom; public double x, y, width, height; // The width and height of the node's children within the same level of the hierarchy public double bboxWidth, bboxHeight; public double opacity; ...
Remove unused constructor and inline single-use method
Remove unused constructor and inline single-use method
Java
bsd-2-clause
Ucombinator/jaam,Ucombinator/jaam
7fea9ddb2277df958751121315a54c360745c747
com.github.sormuras.bach/main/java/com/github/sormuras/bach/project/MainSpace.java
com.github.sormuras.bach/main/java/com/github/sormuras/bach/project/MainSpace.java
package com.github.sormuras.bach.project; import com.github.sormuras.bach.Project; import java.nio.file.Path; import java.util.List; import java.util.Map; /** * A space for main modules. * * @param modules the list of modules to compile * @param moduleSourcePaths the list of module source paths * @param release ...
package com.github.sormuras.bach.project; import com.github.sormuras.bach.Project; import java.nio.file.Path; import java.util.List; import java.util.Map; /** * A space for main modules. * * @param modules the list of modules to compile * @param moduleSourcePaths the list of module source paths * @param release ...
Extend main space with documentation path accessor
Extend main space with documentation path accessor
Java
mit
sormuras/bach,sormuras/bach
8286decd08422329e615ba114ea670c376ee202a
timer/src/org/jeffpiazza/derby/devices/AllDeviceTypes.java
timer/src/org/jeffpiazza/derby/devices/AllDeviceTypes.java
package org.jeffpiazza.derby.devices; import java.lang.reflect.Method; public class AllDeviceTypes { // The universe of all possible device classes @SuppressWarnings(value = "unchecked") public static final Class<? extends TimerDevice>[] allDeviceClasses = (Class<? extends TimerDevice>[]) new Class[]{ ...
package org.jeffpiazza.derby.devices; import java.lang.reflect.Method; public class AllDeviceTypes { // The universe of all possible device classes @SuppressWarnings(value = "unchecked") public static final Class<? extends TimerDevice>[] allDeviceClasses = (Class<? extends TimerDevice>[]) new Class[]{ ...
Add DerbyMagic9600 as another possible timer device (DerbyMagic timer running at 9600 baud).
Add DerbyMagic9600 as another possible timer device (DerbyMagic timer running at 9600 baud).
Java
mit
jeffpiazza/derbynet,jeffpiazza/derbynet,jeffpiazza/derbynet,jeffpiazza/derbynet,jeffpiazza/derbynet,jeffpiazza/derbynet,jeffpiazza/derbynet
e4b63bccc735c2855457aeb33298c3e20a4e3fb1
app/src/main/java/com/bookbase/bookbase/database/DatabaseFactory.java
app/src/main/java/com/bookbase/bookbase/database/DatabaseFactory.java
package com.bookbase.bookbase.database; import android.arch.persistence.room.Room; import android.content.Context; public class DatabaseFactory{ private static DatabaseFactory instance; private static AppDatabase db; private static void createDb(Context context){ if(db == null){ db ...
package com.bookbase.bookbase.database; import android.arch.persistence.room.Room; import android.content.Context; public class DatabaseFactory{ private static DatabaseFactory instance; private static AppDatabase db; private static void createDb(Context context){ if(db == null){ db ...
Move db access off main thread
Move db access off main thread
Java
mit
lachlan-eagling/Bookbase
40b1e07c9844bba3eb163eb2b5892d6f98d92b3c
test/regression/MarkResetTest.java
test/regression/MarkResetTest.java
import java.io.*; public class MarkResetTest { public static void main(String av[]) throws Exception { BufferedInputStream b = new BufferedInputStream(new StringBufferInputStream( "ABCDEF")); b.mark(3); b.read(); b.read(); b.read(); b.reset(); b.mark(-1); ...
import java.io.*; public class MarkResetTest { public static void main(String av[]) throws Exception { // Test BufferedReader final int READLEN = 3; StringReader source = new StringReader ("0123456789ABC"); BufferedReader br = new BufferedReader (source, 5); char buf[] = new char [READLEN]; for (;;) { ...
Add a test for BufferedReader here.
Add a test for BufferedReader here.
Java
lgpl-2.1
kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe,kaffe/kaffe
5766a53fbec9c717c93923a8d291cb0978e7354e
Ants/src/com/ibm/sk/MenuMain.java
Ants/src/com/ibm/sk/MenuMain.java
package com.ibm.sk; import java.util.Arrays; import java.util.stream.Collectors; import com.ibm.sk.ant.AntLoader; import com.ibm.sk.ant.facade.AntFactory; import com.ibm.sk.ff.gui.common.objects.operations.InitMenuData; import com.ibm.sk.handlers.GameMenuHandler; public class MenuMain extends AbstractMain { public...
package com.ibm.sk; import java.util.Arrays; import java.util.stream.Collectors; import com.ibm.sk.ant.AntLoader; import com.ibm.sk.ant.facade.AntFactory; import com.ibm.sk.ff.gui.client.ReplayFileHelper; import com.ibm.sk.ff.gui.common.objects.operations.InitMenuData; import com.ibm.sk.handlers.GameMenuHandler; pub...
Send replay data to menu
Send replay data to menu
Java
epl-1.0
gamefest2017/ants
bc90d0663caadd3df5c5943dc2af5101a4275fc2
config-model/src/main/java/com/yahoo/vespa/model/admin/LogserverContainerCluster.java
config-model/src/main/java/com/yahoo/vespa/model/admin/LogserverContainerCluster.java
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.model.admin; import com.yahoo.config.model.deploy.DeployState; import com.yahoo.config.model.producer.AbstractConfigProducer; import com.yahoo.vespa.model.container.ContainerCluster;...
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.model.admin; import com.yahoo.config.model.deploy.DeployState; import com.yahoo.config.model.producer.AbstractConfigProducer; import com.yahoo.vespa.model.container.ContainerCluster;...
Add access log for logserver container
Add access log for logserver container
Java
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
ab0b6f3ac7cc15e850916780e5e7e5e8dfbf1392
idol/src/test/java/com/hp/autonomy/searchcomponents/idol/test/IdolTestAuthenticationConfiguration.java
idol/src/test/java/com/hp/autonomy/searchcomponents/idol/test/IdolTestAuthenticationConfiguration.java
package com.hp.autonomy.searchcomponents.idol.test; import com.hp.autonomy.frontend.configuration.authentication.CommunityPrincipal; import com.hpe.bigdata.frontend.spring.authentication.AuthenticationInformationRetriever; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.spring...
package com.hp.autonomy.searchcomponents.idol.test; import com.hp.autonomy.frontend.configuration.authentication.CommunityPrincipal; import com.hpe.bigdata.frontend.spring.authentication.AuthenticationInformationRetriever; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.spring...
Enhance mock of idol user for integration tests (ISO-6)
Enhance mock of idol user for integration tests (ISO-6) [rev. matthew.gordon]
Java
mit
hpautonomy/haven-search-components,hpe-idol/haven-search-components,hpautonomy/haven-search-components,hpe-idol/haven-search-components
fc1ca20fdd7fb9047a62c5963296f720222e24d3
core/src/main/java/com/github/arteam/simplejsonrpc/core/domain/Request.java
core/src/main/java/com/github/arteam/simplejsonrpc/core/domain/Request.java
package com.github.arteam.simplejsonrpc.core.domain; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ValueNode; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; /** * Date: 07.06.14 ...
package com.github.arteam.simplejsonrpc.core.domain; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.NullNode; import com.fasterxml.jackson.databind.node.ValueNode; import org.jetbrains.annotations.NotNull; import org.jetb...
Check that request id can be null
Check that request id can be null
Java
mit
arteam/simple-json-rpc
0d9262b170aa6c9c8c247c1d0441e46e8dcd35c9
src/test/java/com/suse/studio/client/test/httpservermock/NotImplementedResponder.java
src/test/java/com/suse/studio/client/test/httpservermock/NotImplementedResponder.java
package com.suse.studio.client.test.httpservermock; import org.simpleframework.http.Response; /** * Convenience responder that always outputs a 501 "Not Implemented" error. */ public class NotImplementedResponder implements Responder { /** * @see com.suse.studio.client.test.httpservermock.Responder#respo...
package com.suse.studio.client.test.httpservermock; import org.simpleframework.http.Response; /** * Convenience responder that always outputs a 501 "Not Implemented" error. */ public class NotImplementedResponder implements Responder { /** * @see com.suse.studio.client.test.httpservermock.Responder#respo...
Fix responder to return the correct code and description
Fix responder to return the correct code and description
Java
mit
susestudio/susestudio-lib-java
46089044db61968182f7d786c358cd82e4dd3a1f
app/src/main/java/com/example/android/quakereport/SettingsActivity.java
app/src/main/java/com/example/android/quakereport/SettingsActivity.java
package com.example.android.quakereport; import android.os.Bundle; import android.preference.PreferenceFragment; import android.support.v7.app.AppCompatActivity; /** * Created by usa19 on 8/7/2017. */ public class SettingsActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedIn...
package com.example.android.quakereport; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.Preference; import android.preference.PreferenceFragment; import android.preference.PreferenceManager; import android.support.v7.app.AppCompatActivity; /** * Created by usa19 on 8/7/...
Add preference summary underneath the setting option
Add preference summary underneath the setting option
Java
apache-2.0
LH3000/UD-QuakeReport
c1fd598841b5e26dea3516950e034d568df407ca
lenskit-core/src/main/java/org/grouplens/lenskit/iterative/TrainingLoopController.java
lenskit-core/src/main/java/org/grouplens/lenskit/iterative/TrainingLoopController.java
package org.grouplens.lenskit.iterative; /** * Training Loop controller for iterative updates */ public interface TrainingLoopController { /** * * @param error The error of the last iteration completed (use {Gustav Lindqvist Double#POSITIVE_INFINITY} before the first iteration). * @return {@code f...
package org.grouplens.lenskit.iterative; /** * Training Loop controller for iterative updates */ public interface TrainingLoopController { /** * Query whether the computation should stop. * * @param error The error of the last iteration completed (use {Gustav Lindqvist Double#POSITIVE_INFINITY} be...
Add a description for the keepTraining method
Add a description for the keepTraining method
Java
lgpl-2.1
vijayvani/Lenskit,kluver/lenskit,linjunleo/lenskit,kluver/lenskit,kluver/lenskit,linjunleo/lenskit,martinlaz/lenskit,vaibhav345/lenskit,chrysalag/lenskit,tajinder-txstate/lenskit,vijayvani/Lenskit,binweiwu/lenskit,kluver/lenskit,chrysalag/lenskit,amaliujia/lenskit,amaliujia/lenskit,blankazucenalg/lenskit,aglne/lenskit,...
9b5e1e98dc99bdf306f416705b1610dafc1601bd
src/main/java/com/mcmoddev/modernmetals/integration/IntegrationManager.java
src/main/java/com/mcmoddev/modernmetals/integration/IntegrationManager.java
package com.mcmoddev.modernmetals.integration; import com.google.common.collect.Lists; import com.mcmoddev.lib.integration.IIntegration; import com.mcmoddev.lib.util.AnnotationChecker; import net.minecraftforge.fml.common.FMLLog; import net.minecraftforge.fml.common.Loader; import net.minecraftforge.fml.common.event....
package com.mcmoddev.modernmetals.integration; import com.google.common.collect.Lists; import com.mcmoddev.modernmetals.ModernMetals; import com.mcmoddev.modernmetals.integration.ModernMetalsPlugin; import com.mcmoddev.lib.integration.IIntegration; import net.minecraftforge.fml.common.Loader; import net.minecraftforg...
Make MMe match BMe and remove references to the removed AnnotationChecker class
Make MMe match BMe and remove references to the removed AnnotationChecker class
Java
lgpl-2.1
jriwanek/ModernMetals
fa72b3c2cf3a465aa00f1893ab8028d9edf38fad
inspector/src/main/java/org/pareto4j/inspector/collections/Profile.java
inspector/src/main/java/org/pareto4j/inspector/collections/Profile.java
/* * Copyright 2014 Johan Parent * * 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 l...
/* * Copyright 2014 Johan Parent * * 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 l...
Use inspector. prefix for "inpsector.fullStacktrace" sys prop
Use inspector. prefix for "inpsector.fullStacktrace" sys prop
Java
apache-2.0
parentjo/pareto4j
58d785ee94f0b6ed34ff4014defe18973c2decaf
src/main/java/info/u_team/u_team_core/inventory/UItemStackHandler.java
src/main/java/info/u_team/u_team_core/inventory/UItemStackHandler.java
package info.u_team.u_team_core.inventory; import info.u_team.u_team_core.api.item.IExtendedItemHandler; import net.minecraft.inventory.ItemStackHelper; import net.minecraft.nbt.CompoundNBT; import net.minecraftforge.items.ItemStackHandler; public class UItemStackHandler extends ItemStackHandler implements IExtendedI...
package info.u_team.u_team_core.inventory; import info.u_team.u_team_core.api.item.IExtendedItemHandler; import net.minecraft.inventory.ItemStackHelper; import net.minecraft.nbt.CompoundNBT; import net.minecraftforge.items.ItemStackHandler; public class UItemStackHandler extends ItemStackHandler implements IExtendedI...
Make onContentsChanged public in the uitemstackhandler
Make onContentsChanged public in the uitemstackhandler
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
c74edbeb427255f520f8bdbbeb5d278003ead728
src/main/java/no/uio/ifi/trackfind/backend/services/GSuiteService.java
src/main/java/no/uio/ifi/trackfind/backend/services/GSuiteService.java
package no.uio.ifi.trackfind.backend.services; import no.uio.ifi.trackfind.backend.dao.Dataset; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpEntity; import org.springframework.stereotype.Service; import org.springframework.web.client.RestTemplate; import java.util...
package no.uio.ifi.trackfind.backend.services; import no.uio.ifi.trackfind.backend.dao.Dataset; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpEntity; import org.springframework.stereotype.Service; import org.springframework.web.client.RestTemplate; import java.util...
Send FAIR attributes to GSuite service.
Send FAIR attributes to GSuite service.
Java
mit
elixir-no-nels/trackfind,elixir-no-nels/trackfind,elixir-no-nels/trackfind
7db480aaa2cb7d54c90bb4d804b5a71cd5295432
src/ethanjones/cubes/launcher/UncaughtExceptionHandler.java
src/ethanjones/cubes/launcher/UncaughtExceptionHandler.java
package ethanjones.cubes.launcher; import javax.swing.JOptionPane; public class UncaughtExceptionHandler implements Thread.UncaughtExceptionHandler { public static final UncaughtExceptionHandler INSTANCE = new UncaughtExceptionHandler(); private UncaughtExceptionHandler() { } @Override public void uncaug...
package ethanjones.cubes.launcher; import javax.swing.JOptionPane; public class UncaughtExceptionHandler implements Thread.UncaughtExceptionHandler { public static final UncaughtExceptionHandler INSTANCE = new UncaughtExceptionHandler(); private UncaughtExceptionHandler() { } @Override public void uncaug...
Print uncaught exceptions to System.err as well as displaying dialog box
Print uncaught exceptions to System.err as well as displaying dialog box
Java
mit
ictrobot/CubesLauncher
e1b679879cd021a909ac1165e29cbebc403b1d41
src/main/java/org/wildfly/common/selector/package-info.java
src/main/java/org/wildfly/common/selector/package-info.java
/* * JBoss, Home of Professional Open Source. * Copyright 2015 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
/* * JBoss, Home of Professional Open Source. * Copyright 2015 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
Remove invalid @deprecated tag from package doc
Remove invalid @deprecated tag from package doc
Java
apache-2.0
wildfly/wildfly-common
daa4cb1c2775bb98f4572e8927476f78a60cf21d
ukelonn.bundle/src/main/java/no/priv/bang/ukelonn/impl/UkelonnUI.java
ukelonn.bundle/src/main/java/no/priv/bang/ukelonn/impl/UkelonnUI.java
package no.priv.bang.ukelonn.impl; import com.vaadin.server.VaadinRequest; import com.vaadin.ui.Button; import com.vaadin.ui.Button.ClickEvent; import com.vaadin.ui.Label; import com.vaadin.ui.Notification; import com.vaadin.ui.UI; import com.vaadin.ui.VerticalLayout; public class UkelonnUI extends UI { private s...
package no.priv.bang.ukelonn.impl; import org.apache.shiro.SecurityUtils; import org.apache.shiro.subject.Subject; import com.vaadin.server.VaadinRequest; import com.vaadin.ui.Button; import com.vaadin.ui.Button.ClickEvent; import com.vaadin.ui.Label; import com.vaadin.ui.Notification; import com.vaadin.ui.UI; import...
Access the shiro username (aka "principal") from the vaadin UI.
Access the shiro username (aka "principal") from the vaadin UI.
Java
apache-2.0
steinarb/ukelonn,steinarb/ukelonn,steinarb/ukelonn
91ff00b5a5af853f0c116314fe0bb0f62471b412
xcodeml-transform/src/x2x/translator/xcodeml/xelement/XintConstant.java
xcodeml-transform/src/x2x/translator/xcodeml/xelement/XintConstant.java
package x2x.translator.xcodeml.xelement; import org.w3c.dom.Element; /** * The XintConstant represents the FintConstant elements (7.1.1) element in * XcodeML intermediate representation. * * Elements: defined in Xconstant * - contains constant value * Attributes: defined in Xconstant * - Optional: type (text),...
package x2x.translator.xcodeml.xelement; import org.w3c.dom.Element; /** * The XintConstant represents the FintConstant elements (7.1.1) element in * XcodeML intermediate representation. * * Elements: defined in Xconstant * - contains constant value * Attributes: defined in Xconstant * - Optional: type (text) ...
Add comment + fix typo
Add comment + fix typo
Java
bsd-2-clause
clementval/claw-compiler,clementval/claw-compiler
35d879912de006cd60602b7ec6be11b46e13cfb8
atk-commons/src/test/java/org/astivetoolkit/util/test/AppLocaleTest.java
atk-commons/src/test/java/org/astivetoolkit/util/test/AppLocaleTest.java
/* * Copyright (C) 2010-2013 by PhonyTive LLC (http://phonytive.com) * http://astivetoolkit.org * * This file is part of Astive Toolkit(ATK) * * 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 Licen...
/* * Copyright (C) 2010-2013 by PhonyTive LLC (http://phonytive.com) * http://astivetoolkit.org * * This file is part of Astive Toolkit(ATK) * * 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 Licen...
Test works only for locale=es_US.
Test works only for locale=es_US.
Java
apache-2.0
ecabrerar/astivetoolkit,PhonyTive/astivetoolkit,fonoster/astivetoolkit,PhonyTive/astivetoolkit,ecabrerar/astivetoolkit,fonoster/astivetoolkit
75d6765eb2eec7015485a81ddffe598fc013faa0
cdm-test/src/test/java/ucar/nc2/dt/grid/TestReadProblem.java
cdm-test/src/test/java/ucar/nc2/dt/grid/TestReadProblem.java
/* * Copyright (c) 1998-2020 John Caron and University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package ucar.nc2.dt.grid; import org.junit.Test; import ucar.unidata.util.test.TestDir; /** Open specific problem dataset with GridDataset.open(). */ public class TestReadP...
/* * Copyright (c) 1998-2020 John Caron and University Corporation for Atmospheric Research/Unidata * See LICENSE for license information. */ package ucar.nc2.dt.grid; import org.junit.Test; import org.junit.experimental.categories.Category; import ucar.unidata.util.test.TestDir; import ucar.unidata.util.test.cate...
Add @Category(NeedsCdmUnitTest.class) to new unit test
Add @Category(NeedsCdmUnitTest.class) to new unit test
Java
bsd-3-clause
Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java
6cd4efde033cc98dbcc53df556128f995f094631
src/main/java/com/johnlpage/mongosyphon/JobDescription.java
src/main/java/com/johnlpage/mongosyphon/JobDescription.java
package com.johnlpage.mongosyphon; import java.io.FileNotFoundException; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Paths; import java.util.Map; import org.bson.Document; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.jso...
package com.johnlpage.mongosyphon; import java.io.FileNotFoundException; import java.io.IOException; import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Paths; import java.util.Map; import org.bson.Document; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.jso...
Add support for line continuation (\ at end of line) for long SQL strings
Add support for line continuation (\ at end of line) for long SQL strings
Java
apache-2.0
johnlpage/MongoSyphon,johnlpage/MongoSyphon
1ae5c67684a0ae0eb9a1054bf7cfff7507ef7c1f
xcodeml-transform/src/x2x/translator/xcodeml/xelement/XbaseElement.java
xcodeml-transform/src/x2x/translator/xcodeml/xelement/XbaseElement.java
package x2x.translator.xcodeml.xelement; import org.w3c.dom.Element; import org.w3c.dom.Node; /** * The XbaseElement represents an element in XcodeML intermediate * representation. */ public class XbaseElement { protected Element baseElement = null; public XbaseElement(Element element){ baseElement = ele...
package x2x.translator.xcodeml.xelement; import org.w3c.dom.Element; import org.w3c.dom.Node; /** * The XbaseElement represents an element in XcodeML intermediate * representation. */ public class XbaseElement { protected Element baseElement = null; public XbaseElement(Element element){ baseElement = ele...
Set the base element to null after deletion
Set the base element to null after deletion
Java
bsd-2-clause
clementval/claw-compiler,clementval/claw-compiler
68ebcd47847183ffb584a0bd894a93a8e9100428
src/edu/pdx/cs399J/xml/ValidateXml.java
src/edu/pdx/cs399J/xml/ValidateXml.java
package edu.pdx.cs399J.xml; import java.io.*; import javax.xml.parsers.*; import org.xml.sax.*; import org.xml.sax.helpers.DefaultHandler; /** * This program parses and XML file and validates it for correctness * against its DTD. */ public class ValidateXml extends DefaultHandler { private static PrintStream er...
package edu.pdx.cs399J.xml; import java.io.*; import javax.xml.parsers.*; import org.xml.sax.*; import org.xml.sax.helpers.DefaultHandler; /** * This program parses and XML file and validates it for correctness * against its DTD. */ public class ValidateXml extends DefaultHandler { private static PrintStream er...
Print line and column numbers
Print line and column numbers
Java
apache-2.0
DavidWhitlock/PortlandStateJava,DavidWhitlock/PortlandStateJava
f9cf92179737ac987764979578cdadb9272095c4
wicket-examples/src/main/java/org/apache/wicket/examples/library/SignOut.java
wicket-examples/src/main/java/org/apache/wicket/examples/library/SignOut.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...
Clear the cookie after logout
Clear the cookie after logout git-svn-id: 5a74b5304d8e7e474561603514f78b697e5d94c4@981321 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
klopfdreh/wicket,freiheit-com/wicket,klopfdreh/wicket,martin-g/wicket-osgi,bitstorm/wicket,dashorst/wicket,aldaris/wicket,bitstorm/wicket,freiheit-com/wicket,aldaris/wicket,zwsong/wicket,apache/wicket,mosoft521/wicket,selckin/wicket,mosoft521/wicket,astrapi69/wicket,topicusonderwijs/wicket,AlienQueen/wicket,apache/wick...
06154ba82b762b1156304d3616a8c73c19133c3c
src/test/java/ml/shifu/shifu/core/ConvergeJudgerTest.java
src/test/java/ml/shifu/shifu/core/ConvergeJudgerTest.java
package ml.shifu.shifu.core; import org.testng.Assert; import org.testng.annotations.Test; public class ConvergeJudgerTest { @Test public void testJudge() { ConvergeJudger judger = new ConvergeJudger(); Assert.assertTrue(judger.judge(1.0, 2.0)); Assert.assertTrue(judger.judge...
package ml.shifu.shifu.core; import org.testng.Assert; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; public class ConvergeJudgerTest { private ConvergeJudger judger; @BeforeClass public void setUp() { this.judger = new ConvergeJudger(); } @Test publi...
Use setup to initialize judger instance.
Use setup to initialize judger instance.
Java
apache-2.0
aglne/shifu,aglne/shifu
361e3e62a21b456df9923dbdafaa0807257c4d8f
test/android/runtime_client_embedded/javatests/src/org/xwalk/runtime/client/embedded/test/PresentationTest.java
test/android/runtime_client_embedded/javatests/src/org/xwalk/runtime/client/embedded/test/PresentationTest.java
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.xwalk.runtime.client.embedded.test; import android.test.suitebuilder.annota...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.xwalk.runtime.client.embedded.test; import android.test.suitebuilder.annota...
Enable test case for presentation API in embedded mode Extension in embedded mode is now avaialble, reopen the test case for presentation API
[Android] Enable test case for presentation API in embedded mode Extension in embedded mode is now avaialble, reopen the test case for presentation API
Java
bsd-3-clause
minggangw/crosswalk,minggangw/crosswalk,bestwpw/crosswalk,crosswalk-project/crosswalk-efl,jpike88/crosswalk,seanlong/crosswalk,hgl888/crosswalk,dreamsxin/crosswalk,rakuco/crosswalk,crosswalk-project/crosswalk,PeterWangIntel/crosswalk,myroot/crosswalk,TheDirtyCalvinist/spacewalk,stonegithubs/crosswalk,XiaosongWei/crossw...
c6979940760923c5ff5e0e056842e3c2381af526
DND/src/edu/teco/dnd/module/UserSuppliedCodeException.java
DND/src/edu/teco/dnd/module/UserSuppliedCodeException.java
package edu.teco.dnd.module; public class UserSuppliedCodeException extends Exception { private static final long serialVersionUID = -851321417787303985L; public UserSuppliedCodeException() { super(); } public UserSuppliedCodeException(String message) { super(message); } public UserSuppliedCodeExcepti...
package edu.teco.dnd.module; public class UserSuppliedCodeException extends Exception { private static final long serialVersionUID = -851321417787303985L; public UserSuppliedCodeException() { super(); } public UserSuppliedCodeException(String message) { super(message); } public UserSuppliedCodeExcepti...
Remove constructor not available in Java 6
Remove constructor not available in Java 6
Java
apache-2.0
DesignAndDeploy/dnd,DesignAndDeploy/dnd,DesignAndDeploy/dnd
2edd4b59612dd2c7bf8f9a62a3f3a489f852ca9b
android/src/main/java/io/rado/backgroundcolor/BackgroundColorPackage.java
android/src/main/java/io/rado/backgroundcolor/BackgroundColorPackage.java
package io.rado.backgroundcolor; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.ArrayList; import java....
package io.rado.backgroundcolor; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.ArrayList; import java....
Remove depreciated createJSModules @overide marker
Remove depreciated createJSModules @overide marker
Java
unlicense
ramilushev/react-native-background-color,ramilushev/react-native-background-color
5c35854561d09811e1d16279f551b6ded1a90595
src/test/java/org/anarres/jdiagnostics/DefaultQueryTest.java
src/test/java/org/anarres/jdiagnostics/DefaultQueryTest.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.anarres.jdiagnostics; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.juni...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package org.anarres.jdiagnostics; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * * @author s...
Fix tests to work with slf4j.
Fix tests to work with slf4j.
Java
apache-2.0
shevek/jdiagnostics,shevek/jdiagnostics
220b5e4a6b17e4c79898ede502c7ce3563a8ed0d
wikipedia/src/main/java/org/wikipedia/settings/PreferenceMultiLine.java
wikipedia/src/main/java/org/wikipedia/settings/PreferenceMultiLine.java
package org.wikipedia.settings; import android.content.ActivityNotFoundException; import android.content.Context; import android.preference.Preference; import android.util.AttributeSet; import android.view.View; import android.widget.TextView; import android.widget.Toast; import org.wikipedia.R; public class Prefere...
package org.wikipedia.settings; import android.content.ActivityNotFoundException; import android.content.Context; import android.preference.Preference; import android.util.AttributeSet; import android.view.View; import android.widget.TextView; import android.widget.Toast; import org.wikipedia.R; public class Prefere...
Fix "logout" preference after crash fix.
Fix "logout" preference after crash fix. (became no longer clickable) Now giving an onClickListener to a preference only if it doesn't already have a listener. Change-Id: I93b25da9485477737f877abae34188d0243bebd4
Java
apache-2.0
SAGROUP2/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,Duct-and-rice/KrswtkhrWiki4Android,dbrant/apps-android-wikipedia,carloshwa/apps-android-wikipedia,wikimedia/apps-android-wikipedia,carloshwa/apps-android-wikipedia,dbrant/apps-android-wikipedia,Wikinaut/wikipedia-app,anirudh24seven/apps-android-wikipedia,p...
a6628877e3fc80edf09f6a491d446d412287f649
hazelcast-client/src/test/java/com/hazelcast/client/quorum/QuorumTestUtil.java
hazelcast-client/src/test/java/com/hazelcast/client/quorum/QuorumTestUtil.java
/* * Copyright (c) 2008-2017, Hazelcast, 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 ...
/* * Copyright (c) 2008-2017, Hazelcast, 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 ...
Fix attempt QuorumTest for clients
Fix attempt QuorumTest for clients Make sure a client uses a single connection to the cluster. So it is aligned with blocked connections.
Java
apache-2.0
juanavelez/hazelcast,emre-aydin/hazelcast,tkountis/hazelcast,dsukhoroslov/hazelcast,mdogan/hazelcast,mesutcelik/hazelcast,Donnerbart/hazelcast,tufangorel/hazelcast,Donnerbart/hazelcast,mesutcelik/hazelcast,dbrimley/hazelcast,tufangorel/hazelcast,dbrimley/hazelcast,emre-aydin/hazelcast,tkountis/hazelcast,emre-aydin/haze...
a29a36a457b30ee4599ff51c9715ac4067389be0
webservice/src/main/java/org/openhds/webservice/CacheResponseWriter.java
webservice/src/main/java/org/openhds/webservice/CacheResponseWriter.java
package org.openhds.webservice; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import javax.servlet.http.HttpServletResponse; import org.apache.commons.io.IOUtils; public class CacheResponseWriter { public static ...
package org.openhds.webservice; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import javax.servlet.http.HttpServletResponse; import org.apache.commons.io.IOUtils; public class CacheResponseWriter { public static ...
Write Http-ErrorCode 404 if cached xml file for task does not exist
Write Http-ErrorCode 404 if cached xml file for task does not exist
Java
bsd-3-clause
SwissTPH/openhds-server,SwissTPH/openhds-server,SwissTPH/openhds-server
c7e76a8978f5208f392ca0850057272858795c42
src/main/java/info/u_team/u_team_core/api/sync/BufferReferenceHolder.java
src/main/java/info/u_team/u_team_core/api/sync/BufferReferenceHolder.java
package info.u_team.u_team_core.api.sync; import java.util.function.*; import net.minecraft.network.PacketBuffer; public abstract class BufferReferenceHolder { private PacketBuffer lastKnownValue; public abstract PacketBuffer get(); public abstract void set(PacketBuffer buffer); public boolean isDirty() ...
package info.u_team.u_team_core.api.sync; import java.util.function.*; import io.netty.buffer.Unpooled; import net.minecraft.network.PacketBuffer; public abstract class BufferReferenceHolder { private PacketBuffer lastKnownValue; public abstract PacketBuffer get(); public abstract void set(PacketBuffer buff...
Add some well used holders (int, long, short)
Add some well used holders (int, long, short)
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
d6943b39ba8a0759728711a578ae1362212f1b49
DND/src/edu/teco/dnd/network/messages/Response.java
DND/src/edu/teco/dnd/network/messages/Response.java
package edu.teco.dnd.network.messages; import java.util.UUID; /** * A Message that is sent as a Response for another Message. * * @author Philipp Adolf */ public abstract class Response extends Message { /** * The UUID of the Message this is a response to. */ private final UUID sourceUUID; /** * Initia...
package edu.teco.dnd.network.messages; import java.util.UUID; import com.google.gson.annotations.SerializedName; /** * A Message that is sent as a Response for another Message. * * @author Philipp Adolf */ public abstract class Response extends Message { /** * The UUID of the Message this is a response to. ...
Fix name of source UUID attribute
Fix name of source UUID attribute
Java
apache-2.0
DesignAndDeploy/dnd,DesignAndDeploy/dnd,DesignAndDeploy/dnd
6e6e74032550756db380e85df0beea1d83ee5f49
CarFactory/src/ru/nsu/ccfit/bogush/Config.java
CarFactory/src/ru/nsu/ccfit/bogush/Config.java
package ru.nsu.ccfit.bogush; public class Config { public int engineStorageSize; public int carBodyStorageSize; public int accessoryStorageSize; public int carStorageSize; public int accessorySuppliers; public int workers; public int carDealers; public boolean logSale; }
package ru.nsu.ccfit.bogush; public class Config { private int engineStorageSize; private int carBodyStorageSize; private int accessoryStorageSize; private int carStorageSize; private int accessorySuppliers; private int workers; private int carDealers; private boolean loggingSales; public int getEngineStora...
Make all fields private Add getters and setters Add toString()
Make all fields private Add getters and setters Add toString()
Java
mit
RoyPy/15201-bogush
aa4243e3866f53fa78a122b35319623c51196787
panifex-platform-module-dashboard-impl/src/main/java/org/panifex/platform/module/dashboard/impl/DashboardSidebar.java
panifex-platform-module-dashboard-impl/src/main/java/org/panifex/platform/module/dashboard/impl/DashboardSidebar.java
package org.panifex.platform.module.dashboard.impl; import java.util.ArrayList; import java.util.Collection; import org.apache.aries.blueprint.annotation.Bean; import org.apache.aries.blueprint.annotation.Service; import org.panifex.platform.module.api.sidebar.Sidebar; import org.panifex.platform.module.api.sidebar.D...
package org.panifex.platform.module.dashboard.impl; import java.util.ArrayList; import java.util.Collection; import org.apache.aries.blueprint.annotation.Bean; import org.apache.aries.blueprint.annotation.Service; import org.panifex.platform.module.api.sidebar.Sidebar; import org.panifex.platform.module.api.sidebar.D...
Add css style to Dashboard sidebar item
Add css style to Dashboard sidebar item
Java
lgpl-2.1
panifex/panifex-platform,panifex/panifex-platform
e624f510a79aaa2b7264b55ce0d59c80a0321ee6
clients/mobile-lib/src/main/java/org/openecard/mobile/activation/EacControllerFactory.java
clients/mobile-lib/src/main/java/org/openecard/mobile/activation/EacControllerFactory.java
/**************************************************************************** * Copyright (C) 2019 ecsec GmbH. * All rights reserved. * Contact: ecsec GmbH (info@ecsec.de) * * This file is part of the Open eCard App. * * GNU General Public License Usage * This file may be used under the terms of the GNU General...
/**************************************************************************** * Copyright (C) 2019 ecsec GmbH. * All rights reserved. * Contact: ecsec GmbH (info@ecsec.de) * * This file is part of the Open eCard App. * * GNU General Public License Usage * This file may be used under the terms of the GNU General...
Make URL a string because of iOS build problems.
Make URL a string because of iOS build problems.
Java
apache-2.0
ecsec/open-ecard,ecsec/open-ecard,ecsec/open-ecard
1a4784b336f186606bfe242cfbfb7ad412c34ee8
ontology-rest/src/main/java/uk/ac/ebi/quickgo/ontology/OntologyREST.java
ontology-rest/src/main/java/uk/ac/ebi/quickgo/ontology/OntologyREST.java
package uk.ac.ebi.quickgo.ontology; import uk.ac.ebi.quickgo.ontology.coterms.CoTermConfig; import uk.ac.ebi.quickgo.ontology.service.ServiceConfig; import uk.ac.ebi.quickgo.rest.controller.SwaggerConfig; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootAppl...
package uk.ac.ebi.quickgo.ontology; import uk.ac.ebi.quickgo.ontology.coterms.CoTermConfig; import uk.ac.ebi.quickgo.ontology.service.ServiceConfig; import uk.ac.ebi.quickgo.rest.controller.SwaggerConfig; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootAppl...
Add configuration for pagaing related properties.
Add configuration for pagaing related properties.
Java
apache-2.0
ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE
c900bd935e75d70db093eedb4e0a7d711afcde0c
org.metaborg.meta.lang.dynsem.interpreter/src/main/java/org/metaborg/meta/lang/dynsem/interpreter/utils/ListUtils.java
org.metaborg.meta.lang.dynsem.interpreter/src/main/java/org/metaborg/meta/lang/dynsem/interpreter/utils/ListUtils.java
package org.metaborg.meta.lang.dynsem.interpreter.utils; import java.util.LinkedList; import com.github.krukow.clj_lang.IPersistentStack; import com.github.krukow.clj_lang.PersistentList; import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary; public class ListUtils { @TruffleBoundary public static <T> ...
package org.metaborg.meta.lang.dynsem.interpreter.utils; import java.util.ArrayList; import java.util.Collections; import com.github.krukow.clj_lang.IPersistentStack; import com.github.krukow.clj_lang.PersistentList; import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary; public class ListUtils { @Truffl...
Fix incorrect implementation of list reversal
Fix incorrect implementation of list reversal
Java
apache-2.0
metaborg/dynsem,metaborg/dynsem
6f361f00110f60a6ad7ee27c3bedaa98bec5f041
core/trino-main/src/main/java/io/trino/execution/scheduler/ErrorCodes.java
core/trino-main/src/main/java/io/trino/execution/scheduler/ErrorCodes.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...
Extend list of error codes treated as out-of-memory
Extend list of error codes treated as out-of-memory
Java
apache-2.0
smartnews/presto,smartnews/presto,smartnews/presto,smartnews/presto,smartnews/presto
ce824bece81a2bfa52cfe56c162d02df936087ab
hello-service-api/src/main/java/zero/downtime/soa/api/HelloServiceApi.java
hello-service-api/src/main/java/zero/downtime/soa/api/HelloServiceApi.java
package zero.downtime.soa.api; import org.apache.camel.builder.RouteBuilder; import org.eclipse.jetty.server.Server; /** * @author magonzal * @version 1.0.0 */ public class HelloServiceApi extends RouteBuilder { @Override public void configure() throws Exception { //@formatter:off restConfiguration().compo...
package zero.downtime.soa.api; import org.apache.camel.builder.RouteBuilder; import org.eclipse.jetty.server.Server; /** * @author magonzal * @version 1.0.0 */ public class HelloServiceApi extends RouteBuilder { @Override public void configure() throws Exception { //@formatter:off restConfiguration().compo...
Fix broken random port stuff
Fix broken random port stuff
Java
apache-2.0
robgmills/zero-downtime-soa,robgmills/zero-downtime-soa