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
dda28827570d3164e573b09bde3f4326a5e9233f
extensions/kubernetes-client/runtime/src/main/java/io/quarkus/kubernetes/client/runtime/KubernetesClientProducer.java
extensions/kubernetes-client/runtime/src/main/java/io/quarkus/kubernetes/client/runtime/KubernetesClientProducer.java
package io.quarkus.kubernetes.client.runtime; import javax.annotation.PreDestroy; import javax.enterprise.inject.Produces; import javax.inject.Singleton; import org.jboss.logging.Logger; import io.fabric8.kubernetes.client.Config; import io.fabric8.kubernetes.client.DefaultKubernetesClient; import io.fabric8.kuberne...
package io.quarkus.kubernetes.client.runtime; import javax.annotation.PreDestroy; import javax.enterprise.inject.Produces; import javax.inject.Singleton; import io.fabric8.kubernetes.client.Config; import io.fabric8.kubernetes.client.DefaultKubernetesClient; import io.fabric8.kubernetes.client.KubernetesClient; impor...
Drop log entry when closing the Kubernetes client
Drop log entry when closing the Kubernetes client If we start logging something for every client we close, shutdown will be far too verbose.
Java
apache-2.0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
457541611c0f95979ab6b9227fc688730439f2d6
gson/src/test/java/com/google/gson/DefaultInetAddressTypeAdapterTest.java
gson/src/test/java/com/google/gson/DefaultInetAddressTypeAdapterTest.java
/* * Copyright (C) 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* * Copyright (C) 2011 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Replace localhost lookup with static IP to fix test.
Replace localhost lookup with static IP to fix test. Calling InetAddress.getLocalHost() will cause a lookup to occur that may fail with a java.net.UnknownHostException if the system the test is running on is not configured correctly. This is often fixed by echoing "127.0.0.1 $HOSTNAME" to /etc/hosts, but in this case...
Java
apache-2.0
DanySK/gson-extras,testcenter/gson,DanySK/gson-extras,mbrukman/gson,google/gson,DanySK/gson-extras,todoooo/gson,gv2011/jsoncore,todoooo/gson,mbrukman/gson,testcenter/gson,todoooo/gson,testcenter/gson,mbrukman/gson
ee2909e8a79e4eddf146390a890ad606f7771891
components/camel-zookeeper/src/test/java/org/apache/camel/component/zookeeper/ha/SpringZooKeeperClusteredRouteConfigurationTest.java
components/camel-zookeeper/src/test/java/org/apache/camel/component/zookeeper/ha/SpringZooKeeperClusteredRouteConfigurationTest.java
package org.apache.camel.component.zookeeper.ha; import org.apache.camel.ha.CamelClusterService; import org.apache.camel.impl.ha.ClusteredRoutePolicyFactory; import org.apache.camel.test.spring.CamelSpringTestSupport; import org.junit.Test; import org.springframework.context.support.AbstractApplicationContext; import ...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
Fix Checkstyle issues / add missing license header
Fix Checkstyle issues / add missing license header
Java
apache-2.0
jonmcewen/camel,anton-k11/camel,davidkarlsen/camel,sverkera/camel,gnodet/camel,zregvart/camel,adessaigne/camel,mcollovati/camel,kevinearls/camel,nicolaferraro/camel,objectiser/camel,christophd/camel,tdiesler/camel,objectiser/camel,nikhilvibhav/camel,punkhorn/camel-upstream,drsquidop/camel,akhettar/camel,kevinearls/came...
7f58e395d3aade1e3e44ceeecc4bc3d924d8962c
spring-test/src/main/java/org/springframework/mock/jndi/package-info.java
spring-test/src/main/java/org/springframework/mock/jndi/package-info.java
/** * <strong>Deprecated</strong> as of Spring Framework 5.2 in favor of complete * solutions from third parties such as * <a href="https://github.com/h-thurow/Simple-JNDI">Simple-JNDI</a>. * * <p>The simplest implementation of the JNDI SPI that could possibly work. * * <p>Useful for setting up a simple JNDI env...
/** * <strong>Deprecated</strong> as of Spring Framework 5.2 in favor of complete * solutions from third parties such as * <a href="https://github.com/h-thurow/Simple-JNDI">Simple-JNDI</a>. * * <p>The simplest implementation of the JNDI SPI that could possibly work. * * <p>Useful for setting up a simple JNDI env...
Remove @Deprecated from org.springframework.mock.jndi package
Remove @Deprecated from org.springframework.mock.jndi package This commit removes the @Deprecated declaration on the org.springframework.mock.jndi package, since such usage results in a compiler warning on JDK 9+ which breaks Spring's JDK 9 and JDK 11 CI builds. https://bugs.openjdk.java.net/browse/JDK-6481080 See g...
Java
apache-2.0
spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework
dcf6d34a9fd7176b9268b345de7ac23e3735d10f
projects/robodj/src/java/robodj/chooser/BrowsePanel.java
projects/robodj/src/java/robodj/chooser/BrowsePanel.java
// // $Id: BrowsePanel.java,v 1.2 2002/02/22 07:06:33 mdb Exp $ package robodj.chooser; import javax.swing.*; import robodj.repository.*; public class BrowsePanel extends JTabbedPane { public BrowsePanel () { EntryList elist; Category[] cats = Chooser.model.getCategories(); // creat...
// // $Id: BrowsePanel.java,v 1.3 2002/11/11 17:04:12 mdb Exp $ package robodj.chooser; import javax.swing.*; import robodj.repository.*; public class BrowsePanel extends JTabbedPane { public BrowsePanel () { EntryList elist; Category[] cats = Chooser.model.getCategories(); // stick...
Put the category tabs on the left and scroll them if they are too many.
Put the category tabs on the left and scroll them if they are too many. git-svn-id: 64ebf368729f38804935acb7146e017e0f909c6b@907 6335cc39-0255-0410-8fd6-9bcaacd3b74c
Java
lgpl-2.1
samskivert/samskivert,samskivert/samskivert
49998bb632b7d3474d99b1ed800d59cdf570f07d
src/cc/hughes/droidchatty/SingleThreadView.java
src/cc/hughes/droidchatty/SingleThreadView.java
package cc.hughes.droidchatty; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.app.FragmentActivity; import android.view.KeyEvent; public class SingleThreadView extends FragmentActivity { public static final String THREAD_I...
package cc.hughes.droidchatty; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.support.v4.app.FragmentActivity; import android.view.KeyEvent; public class SingleThreadView extends FragmentActivity { public static final String THREAD_I...
Fix volume button scrolling on phones.
Fix volume button scrolling on phones.
Java
mit
arhughes/droidchatty
d517f1f862e119596fae626782b04a630ca068b7
src/main/java/fr/insee/rmes/api/utils/ResponseUtils.java
src/main/java/fr/insee/rmes/api/utils/ResponseUtils.java
package fr.insee.rmes.api.utils; import javax.ws.rs.core.MediaType; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.dataformat.xml.XmlMapper; public class ResponseUtils { private static Logger log...
package fr.insee.rmes.api.utils; import javax.ws.rs.core.MediaType; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.dataformat.xml.XmlMapper; public class ResponseUtils { private static Logger log...
Fix minor issue (jackson security)
Fix minor issue (jackson security)
Java
mit
FranckCo/Metadata-API
d6356535ad7f12415b48d440b147bc6d05c3b529
src/main/java/io/hops/DalStorageFactory.java
src/main/java/io/hops/DalStorageFactory.java
/* * Copyright (C) 2015 hops.io. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
/* * Copyright (C) 2015 hops.io. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Fix performance degradation due to safemode and enable namenode resource monitoring
[HOPS-808] Fix performance degradation due to safemode and enable namenode resource monitoring
Java
apache-2.0
hopshadoop/hops-metadata-dal,hopshadoop/hops-metadata-dal,smkniazi/hops-metadata-dal,smkniazi/hops-metadata-dal
cab238f0c2f0fa3c4af9c54691c741cd6f5c0d1e
extras/src/test/java/org/realityforge/arez/extras/spy/NullObserverInfo.java
extras/src/test/java/org/realityforge/arez/extras/spy/NullObserverInfo.java
package org.realityforge.arez.extras.spy; import java.util.Collections; import java.util.List; import javax.annotation.Nonnull; import javax.annotation.Nullable; import org.realityforge.arez.ComputedValue; import org.realityforge.arez.Observable; import org.realityforge.arez.spy.ComponentInfo; import org.realityforge....
package org.realityforge.arez.extras.spy; import java.util.Collections; import java.util.List; import javax.annotation.Nonnull; import javax.annotation.Nullable; import org.realityforge.arez.spy.ComponentInfo; import org.realityforge.arez.spy.ComputedValueInfo; import org.realityforge.arez.spy.ObservableInfo; import o...
Update to the latest spy API
Update to the latest spy API
Java
apache-2.0
realityforge/arez,realityforge/arez,realityforge/arez
17ed0b2c2ba12788f2fe3db3bf10ee381a4fe637
src/test/java/com/skraylabs/poker/model/InvalidCardFormatExceptionTest.java
src/test/java/com/skraylabs/poker/model/InvalidCardFormatExceptionTest.java
package com.skraylabs.poker.model; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.nullValue; import static org.hamcrest.MatcherAssert.assertThat; import org.junit.After; import org.junit.Before; import org.junit.Test; public class ...
package com.skraylabs.poker.model; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.nullValue; import static org.hamcrest.MatcherAssert.assertThat; import org.junit.After; import org.junit.Before; import org.junit.Test; public class ...
Add test for initializing ctor with empty String.
Add test for initializing ctor with empty String. Should treat this like the default constructor * invalidString is null * message is the default
Java
mit
AbeSkray/poker-calculator
7ca0c1bfa2b66b9cac3f1799908ae1ffe9d8eccf
core/src/main/java/nl/nn/adapterframework/configuration/HostnamePropertyPlaceholderConfigurer.java
core/src/main/java/nl/nn/adapterframework/configuration/HostnamePropertyPlaceholderConfigurer.java
/* Copyright 2016 Nationale-Nederlanden 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 Nationale-Nederlanden 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...
Set hostname only when not already present
Set hostname only when not already present
Java
apache-2.0
ibissource/iaf,ibissource/iaf,ibissource/iaf,ibissource/iaf,ibissource/iaf
f310a135519676ac4aba33176e33a0e30b0c5502
java-shim-sdk/src/main/java/org/openmhealth/shim/common/DataPointMapper.java
java-shim-sdk/src/main/java/org/openmhealth/shim/common/DataPointMapper.java
package org.openmhealth.shim.common; import org.openmhealth.schema.domain.omh.DataPoint; import java.util.ArrayList; import java.util.List; /** * A mapper that takes a generic input and creates data points. * * @param <DP> the body type of the data points to create * @param <I> the input type * @author Emerso...
package org.openmhealth.shim.common; import org.openmhealth.schema.domain.omh.DataPoint; import java.util.ArrayList; import java.util.List; /** * A mapper that takes one or more inputs and creates data points. * * @param <DP> the body type of the data points to create * @param <I> the input type * @author Eme...
Fix the data point mapper Javadoc
Fix the data point mapper Javadoc
Java
apache-2.0
openmhealth/shimmer,smalldatalab/omh-shims,Marc-Calis/shimmer,smalldatalab/omh-shims,Marc-Calis/shimmer,Marc-Calis/shimmer,smalldatalab/omh-shims,openmhealth/shimmer,Marc-Calis/shimmer,smalldatalab/omh-shims,openmhealth/shimmer,openmhealth/shimmer
2938fbecdf6732099eb0e7a5c08952bc8c678958
src/main/java/persistence/NotFullValidator.java
src/main/java/persistence/NotFullValidator.java
package persistence; import javax.inject.Inject; import javax.persistence.EntityManager; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; public class NotFullValidator implements ConstraintValidator<NotFull, Department> { @Inject private EntityManager em; //we will...
package persistence; import javax.inject.Inject; import javax.persistence.EntityManager; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; public class NotFullValidator implements ConstraintValidator<NotFull, Department> { // If we need to access the database ...
Add some comments and code format
Add some comments and code format
Java
apache-2.0
lipido/si1415_persistence
478a63e353cf850784df73c7c5f502ed88ae2bed
src/main/java/tehnut/lib/util/RenderHelper.java
src/main/java/tehnut/lib/util/RenderHelper.java
package tehnut.lib.util; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraft.client.renderer.entity.RenderPlayer; import net.minecraft.client.renderer.entity.layers.LayerRenderer; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge...
package tehnut.lib.util; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.entity.RenderManager; import net.minecraft.client.renderer.entity.RenderPlayer; import net.minecraft.client.renderer.entity.layers.LayerRenderer; import net.minecraftforge.fml.common.ObfuscationReflectionHelper; import...
Fix render layer adder in obf environments
Fix render layer adder in obf environments
Java
mit
TehNut/LendingLibrary
86009852399090fb0a532bf6f7d4f1748f07c3fc
src/radlab/rain/util/SocketMetricObjectWriter.java
src/radlab/rain/util/SocketMetricObjectWriter.java
package radlab.rain.util; import java.io.ObjectOutputStream; import java.net.Socket; import org.json.JSONObject; import radlab.rain.ResponseTimeStat; public class SocketMetricObjectWriter extends SocketMetricWriter { private ObjectOutputStream _out = null; public SocketMetricObjectWriter( JSONObject config ) t...
package radlab.rain.util; import java.io.ObjectOutputStream; import java.net.Socket; import org.json.JSONObject; import radlab.rain.ResponseTimeStat; public class SocketMetricObjectWriter extends SocketMetricWriter { private ObjectOutputStream _out = null; public SocketMetricObjectWriter( JSONObject config ) t...
Reset object output stream so there are no duplicate messages when we writeObject.
Reset object output stream so there are no duplicate messages when we writeObject.
Java
bsd-3-clause
mrcaps/rain-workload-toolkit,sguazt/rain-workload-toolkit,sguazt/rain-workload-toolkit,yungsters/rain-workload-toolkit,yungsters/rain-workload-toolkit,mrcaps/rain-workload-toolkit,yungsters/rain-workload-toolkit,mrcaps/rain-workload-toolkit,sguazt/rain-workload-toolkit
6f2260d0ea2046127482442a5deab3891515a725
edocs-common/src/main/java/com/github/aureliano/edocs/common/config/FileRepositoryConfiguration.java
edocs-common/src/main/java/com/github/aureliano/edocs/common/config/FileRepositoryConfiguration.java
package com.github.aureliano.edocs.common.config; public class FileRepositoryConfiguration { private String rootPath; public FileRepositoryConfiguration() {} public String getRootPath() { return rootPath; } public FileRepositoryConfiguration withRootPath(String rootPath) { this.rootPath = rootPath; r...
package com.github.aureliano.edocs.common.config; public class FileRepositoryConfiguration { private String rootPath; private String limboPath; public FileRepositoryConfiguration() {} public String getRootPath() { return rootPath; } public FileRepositoryConfiguration withRootPath(String rootPath) { th...
Add property limboPath to repository configuration.
Add property limboPath to repository configuration.
Java
mit
aureliano/e-docs
e28a8281bf0ef2c55acdababed95af3867b74c01
johannes-code-generator/src/main/java/ch/johannes/FileUtil.java
johannes-code-generator/src/main/java/ch/johannes/FileUtil.java
package ch.johannes; import java.io.BufferedInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; public class FileUtil { public static String readFileInPackage(Object instanceOfPackage, String filename) { try { Package aPackage = instanceO...
package ch.johannes; import java.io.BufferedInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; public class FileUtil { public static String readFileInPackage(Object instanceOfPackage, String filename) { Package aPackage = instanceOfPackage.getClass(...
Use new style try finally to close resources
Use new style try finally to close resources
Java
mit
tschoenti/johannes
47db2f3170c843339b9f3ef65965b4e14cff2cf8
org.tigris.subversion.subclipse.core/src/org/tigris/subversion/subclipse/core/ISVNCoreConstants.java
org.tigris.subversion.subclipse.core/src/org/tigris/subversion/subclipse/core/ISVNCoreConstants.java
/******************************************************************************* * Copyright (c) 2004, 2006 Subclipse project 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, ...
/******************************************************************************* * Copyright (c) 2004, 2006 Subclipse project 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, ...
Update the Depth constants to match the changes in client adapter and JavaHL
Update the Depth constants to match the changes in client adapter and JavaHL
Java
epl-1.0
subclipse/subclipse,subclipse/subclipse,subclipse/subclipse
6377ebd0be12a227bf190acf5f82d225445f8287
src/main/java/eu/euregjug/site/Application.java
src/main/java/eu/euregjug/site/Application.java
/* * Copyright 2015-2016 EuregJUG. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
/* * Copyright 2015-2016 EuregJUG. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
Set name of executor to 'taskExecutor' (@EnableAsync default)
Set name of executor to 'taskExecutor' (@EnableAsync default)
Java
apache-2.0
EuregJUG-Maas-Rhine/site,EuregJUG-Maas-Rhine/site,EuregJUG-Maas-Rhine/site
5638aca636be4449ee3f7f358c334058e7837cd7
OpERP/src/main/java/devopsdistilled/operp/server/data/service/account/impl/TransactionServiceImpl.java
OpERP/src/main/java/devopsdistilled/operp/server/data/service/account/impl/TransactionServiceImpl.java
package devopsdistilled.operp.server.data.service.account.impl; import org.springframework.data.jpa.repository.JpaRepository; import devopsdistilled.operp.server.data.entity.account.Transaction; import devopsdistilled.operp.server.data.service.impl.AbstractEntityService; public abstract class TransactionServiceImpl<...
package devopsdistilled.operp.server.data.service.account.impl; import java.util.Date; import org.springframework.data.jpa.repository.JpaRepository; import devopsdistilled.operp.server.data.entity.account.Transaction; import devopsdistilled.operp.server.data.service.impl.AbstractEntityService; public abstract class...
Set Date when persisting Transaction
Set Date when persisting Transaction
Java
mit
DevOpsDistilled/OpERP,njmube/OpERP
16ebea14d6321dcbd14e58d0f0a8f23f30099967
src/main/java/com/appdirect/sdk/appmarket/events/ErrorCode.java
src/main/java/com/appdirect/sdk/appmarket/events/ErrorCode.java
/* * Copyright 2017 AppDirect, Inc. and/or its affiliates * 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 ...
/* * Copyright 2017 AppDirect, Inc. and/or its affiliates * 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 ...
Add pending error code to service-integration-sdk
Add pending error code to service-integration-sdk
Java
apache-2.0
AppDirect/service-integration-sdk,AppDirect/service-integration-sdk
927e1430cc0e3ffe38bbd47c66e275d80cd518b8
code/data/src/main/java/de/dhbw/wi13c/jguicreator/data/util/GUIKomponente.java
code/data/src/main/java/de/dhbw/wi13c/jguicreator/data/util/GUIKomponente.java
package de.dhbw.wi13c.jguicreator.data.util; import java.awt.Color; import java.awt.Dimension; import javax.swing.JPanel; public abstract class GUIKomponente extends JPanel { GUIKomponente() { setPreferredSize(new Dimension(200, 200)); setOpaque(true); setBackground(Color.RED); setVisible(true); } }
package de.dhbw.wi13c.jguicreator.data.util; import java.awt.Color; import java.awt.Dimension; import javax.swing.JPanel; public abstract class GUIKomponente extends JPanel { protected GUIKomponente() { this(350, 40); } protected GUIKomponente(int pWidth, int pHeigth) { this.setPreferredSize(new Dimension(...
Change New Constructor for GuiKomponente
Change New Constructor for GuiKomponente
Java
apache-2.0
WI13C/Jgui-creator,WI13C/Jgui-creator,WI13C/Jgui-creator
f6ed8ca8d494b35c03113bb82b0045f4daa7de56
runtime/ceylon/language/NamedArgumentCall.java
runtime/ceylon/language/NamedArgumentCall.java
package ceylon.language; /** * Class to facilitate method calls using named arguments. This will be * removed/replace after M1. * * @param <R> The type of result * @param <X> The type of the thing being called */ public abstract class NamedArgumentCall<R,X> { protected final X instance; protected final ...
package ceylon.language; /** * Class to facilitate method calls using named arguments. This will be * removed/replace after M1. * * @param <R> The type of result * @param <X> The type of the thing being called */ public abstract class NamedArgumentCall<R,X> { protected final X instance; protected final ...
Fix named arg calls, adding support for qualified/base type expressions
Fix named arg calls, adding support for qualified/base type expressions
Java
apache-2.0
jvasileff/ceylon.language,lucaswerkmeister/ceylon.language,jvasileff/ceylon.language,ceylon/ceylon.language,unratito/ceylon.language,lucaswerkmeister/ceylon.language,ceylon/ceylon.language,unratito/ceylon.language
bbc08041fa816ea0dea2a7cf1ce008cc098da162
src/com/haxademic/core/draw/color/ColorUtil.java
src/com/haxademic/core/draw/color/ColorUtil.java
package com.haxademic.core.draw.color; import processing.core.PApplet; import com.haxademic.core.app.P; public class ColorUtil { public static int colorWithIntAndAlpha( PApplet p, int color, int alpha ) { // from: http://processing.org/discourse/beta/num_1261125421.html return (color & 0xffffff) | (alpha << 2...
package com.haxademic.core.draw.color; import processing.core.PApplet; import com.haxademic.core.app.P; public class ColorUtil { public static int colorWithIntAndAlpha( PApplet p, int color, int alpha ) { // from: http://processing.org/discourse/beta/num_1261125421.html return (color & 0xffffff) | (alpha << 2...
Add 255 color value mapper helper
Add 255 color value mapper helper
Java
mit
cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic
8cbcc4d4dcca0f784ac23830ae60bad4f5813b5a
src/main/java/com/querins/StockMarket/services/StockService.java
src/main/java/com/querins/StockMarket/services/StockService.java
package com.querins.StockMarket.services; import com.querins.StockMarket.model.Quote; import com.querins.StockMarket.model.Stock; import com.querins.StockMarket.repositories.StockRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.messaging.simp.SimpMessageSendingOpera...
package com.querins.StockMarket.services; import com.querins.StockMarket.model.Quote; import com.querins.StockMarket.model.Stock; import com.querins.StockMarket.repositories.StockRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.messaging.simp.SimpMessageSendingOpera...
Add some stock to repository if it's empty
Add some stock to repository if it's empty
Java
mit
Querins/StockMarket,Querins/StockMarket,Querins/StockMarket,Querins/StockMarket
e22213906f5c0cdb228a210ac3fe7b4afd760273
presto-memory/src/main/java/com/facebook/presto/plugin/memory/MemoryConfig.java
presto-memory/src/main/java/com/facebook/presto/plugin/memory/MemoryConfig.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Fix read max-data-per-node correctly in memory connector config
Fix read max-data-per-node correctly in memory connector config
Java
apache-2.0
nezihyigitbasi/presto,elonazoulay/presto,aleph-zero/presto,wagnermarkd/presto,nezihyigitbasi/presto,damiencarol/presto,youngwookim/presto,erichwang/presto,svstanev/presto,mandusm/presto,stewartpark/presto,ptkool/presto,gh351135612/presto,jiangyifangh/presto,ebyhr/presto,EvilMcJerkface/presto,jxiang/presto,raghavsethi/p...
ec85ae7f3400e19ce3499bb494c4fc3cec55df8a
service/src/main/java/org/ops4j/pax/web/service/internal/model/FilterModel.java
service/src/main/java/org/ops4j/pax/web/service/internal/model/FilterModel.java
package org.ops4j.pax.web.service.internal.model; import javax.servlet.Filter; public class FilterModel extends BasicModel { private final Filter m_filter; private final String[] m_urlPatterns; private final String[] m_servletNames; public FilterModel( final Filter filter, ...
package org.ops4j.pax.web.service.internal.model; import javax.servlet.Filter; public class FilterModel extends BasicModel { private final Filter m_filter; private final String[] m_urlPatterns; private final String[] m_servletNames; public FilterModel( final Filter filter, fi...
Reformat code and optimize imports.
Reformat code and optimize imports.
Java
apache-2.0
lostiniceland/org.ops4j.pax.web,lostiniceland/org.ops4j.pax.web
50fc85941e1a1ea103a5e72aa4b6e80126356cf2
src/main/java/org/araymond/joal/web/config/EndpointObfuscatorConfiguration.java
src/main/java/org/araymond/joal/web/config/EndpointObfuscatorConfiguration.java
package org.araymond.joal.web.config; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.autoconfigure.web.DispatcherServletAutoConfiguration; import org.springframework.boot.web.servlet.ServletRegistrationBean; import org.springframework.context.annotation.Bean; import org.spri...
package org.araymond.joal.web.config; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.autoconfigure.web.DispatcherServletAutoConfiguration; import org.springframework.boot.web.servlet.ServletRegist...
Add conditionnalOn to EndpointObfuscator ensure it won't be avaiable in non-web context
Add conditionnalOn to EndpointObfuscator ensure it won't be avaiable in non-web context
Java
apache-2.0
anthonyraymond/joal,anthonyraymond/joal,anthonyraymond/joal,anthonyraymond/joal
00d92cc7b6979ed4a16e72149ea6c88db9cc603c
compss/runtime/adaptors/commons/src/main/java/es/bsc/compss/types/execution/InvocationParamCollection.java
compss/runtime/adaptors/commons/src/main/java/es/bsc/compss/types/execution/InvocationParamCollection.java
package es.bsc.compss.types.execution; import java.util.List; public interface InvocationParamCollection<T extends InvocationParam> extends InvocationParam { public List<T> getCollectionParameters(); public void addParameter(T param); public int getSize(); }
/* * Copyright 2002-2019 Barcelona Supercomputing Center (www.bsc.es) * * 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 * * Unl...
Add headers and format code
Add headers and format code
Java
apache-2.0
mF2C/COMPSs,mF2C/COMPSs,mF2C/COMPSs,mF2C/COMPSs,mF2C/COMPSs,mF2C/COMPSs
741fbd22b36feed72e1f835cd7911eab06972c3e
WahrDiscordApi/src/main/java/co/phoenixlab/discord/api/request/LogoutRequest.java
WahrDiscordApi/src/main/java/co/phoenixlab/discord/api/request/LogoutRequest.java
/* * The MIT License (MIT) * * Copyright (c) 2016 Vincent Zhang/PhoenixLAB * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to u...
/* * The MIT License (MIT) * * Copyright (c) 2016 Vincent Zhang/PhoenixLAB * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to u...
Add validation to logout request
Add validation to logout request
Java
mit
vincentzhang96/WahrBot
254dfe87df2ae2897e368c3ede10df0f6700a07d
bundles/core/org.openhab.core/src/main/java/org/openhab/core/types/UnDefType.java
bundles/core/org.openhab.core/src/main/java/org/openhab/core/types/UnDefType.java
/** * Copyright (c) 2010-2015, openHAB.org 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 */ pac...
/** * Copyright (c) 2010-2015, openHAB.org 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 */ pac...
Revert "remove the special toString() in order to sync with ESH"
Revert "remove the special toString() in order to sync with ESH"
Java
epl-1.0
aruder77/openhab,dominicdesu/openhab,berndpfrommer/openhab,dmize/openhab,tomtrath/openhab,berndpfrommer/openhab,tomtrath/openhab,openhab/openhab,joek/openhab1-addons,hmerk/openhab,cdjackson/openhab,kreutpet/openhab,paixaop/openhab,kaikreuzer/openhab,ssalonen/openhab,netwolfuk/openhab,paixaop/openhab,openhab/openhab,ste...
27adda4b596010e3956cf0a9c32b7721954ed6cc
examples/honeydolist/honeydolist/src/com/facetedworlds/honeydolist/collaboration/SynchronizationService.java
examples/honeydolist/honeydolist/src/com/facetedworlds/honeydolist/collaboration/SynchronizationService.java
package com.facetedworlds.honeydolist.collaboration; import android.app.Activity; import com.facetedworlds.honeydolist.ActivityTaskDispatcher; import com.updatecontrols.correspondence.Community; import com.updatecontrols.correspondence.CorrespondenceException; import com.updatecontrols.correspondence.binary.BinaryHTT...
package com.facetedworlds.honeydolist.collaboration; import android.app.Activity; import com.facetedworlds.honeydolist.ActivityTaskDispatcher; import com.updatecontrols.correspondence.Community; import com.updatecontrols.correspondence.CorrespondenceException; import com.updatecontrols.correspondence.binary.BinaryHTT...
Use an identity with test data.
Use an identity with test data.
Java
mit
michaellperry/CorrespondenceAndroid
7dd92f81ba0bf43973da733a70d244ce321108a5
subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/DefaultNormalizedFileSnapshot.java
subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/DefaultNormalizedFileSnapshot.java
/* * Copyright 2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Use correct hash for missing files
Use correct hash for missing files
Java
apache-2.0
robinverduijn/gradle,lsmaira/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,lsmaira/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,lsmaira/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/g...
2ec99039bbea606d4f23b209eea5614608a62fcb
src/main/java/signature/CanonicalLabellingVisitor.java
src/main/java/signature/CanonicalLabellingVisitor.java
package signature; import java.util.Arrays; public class CanonicalLabellingVisitor implements DAGVisitor { private int[] labelling; private int currentLabel; public CanonicalLabellingVisitor(int vertexCount) { this.labelling = new int[vertexCount]; Arrays.fill(this.labelling...
package signature; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; public class CanonicalLabellingVisitor implements DAGVisitor { private int[] labelling; private int currentLabel; private Comparator<DAG.Node> comparator; public CanonicalLab...
Sort the child nodes in the labelling visitor, to make sure that they are sorted
Sort the child nodes in the labelling visitor, to make sure that they are sorted
Java
mit
gilleain/signatures
037d7004b0dc0ee3c458fb8826e926e10989f742
app/src/main/java/com/young/simpledict/dict/DictAdapter.java
app/src/main/java/com/young/simpledict/dict/DictAdapter.java
package com.young.simpledict.dict; import com.young.simpledict.dict.model.DictDetail; /** * Author: taylorcyang * Date: 2014-10-21 * Time: 19:00 * Life with passion. Code with creativity! */ public interface DictAdapter { public static final int DICT_YOUDAO_BRIEF = 0; public static final int DICT_YOU...
package com.young.simpledict.dict; import com.young.simpledict.dict.model.DictDetail; /** * Author: taylorcyang * Date: 2014-10-21 * Time: 19:00 * Life with passion. Code with creativity! */ public interface DictAdapter { int DICT_YOUDAO_BRIEF = 0; int DICT_YOUDAO_DETAIL = 1; String getSearchUri...
Remove redundant modifier from interface fields and method
Remove redundant modifier from interface fields and method
Java
mit
LanderlYoung/simple-dict
131563a7007b2bd0e76de20a0441f74be2ee036d
src/main/java/com/bendoerr/saltedmocha/Util.java
src/main/java/com/bendoerr/saltedmocha/Util.java
package com.bendoerr.saltedmocha; import static com.bendoerr.saltedmocha.CryptoException.exceptionOf; public class Util { public static final int MAX_ARRAY_SIZE; static { int max = Integer.MAX_VALUE - 2; try { byte[] bytes = new byte[max]; } catch (java.lang.OutOfMemoryEr...
package com.bendoerr.saltedmocha; import static com.bendoerr.saltedmocha.CryptoException.exceptionOf; public class Util { public static final int MAX_ARRAY_SIZE; static { int max = Integer.MAX_VALUE - 2; try { byte[] bytes = new byte[max]; } catch (java.lang.OutOfMemoryEr...
Add approximation of libsodium's sodium_memzero.
Add approximation of libsodium's sodium_memzero.
Java
isc
bendoerr/saltedmocha
dbfe5c89b226ad29de9efff68d78937d68dca5c9
src/minecraft/invtweaks/forge/asm/FMLPlugin.java
src/minecraft/invtweaks/forge/asm/FMLPlugin.java
package invtweaks.forge.asm; import cpw.mods.fml.relauncher.IFMLLoadingPlugin; import java.util.Map; @IFMLLoadingPlugin.MCVersion("1.5.2") @IFMLLoadingPlugin.TransformerExclusions({"invtweaks.forge.asm.ITAccessTransformer"}) public class FMLPlugin implements IFMLLoadingPlugin { @Override public String[] getL...
package invtweaks.forge.asm; import cpw.mods.fml.relauncher.IFMLLoadingPlugin; import java.util.Map; @IFMLLoadingPlugin.MCVersion("@MCVERSION@") @IFMLLoadingPlugin.TransformerExclusions({"invtweaks.forge.asm.ITAccessTransformer"}) public class FMLPlugin implements IFMLLoadingPlugin { @Override public String[...
Use ant filtering for MC version number.
Use ant filtering for MC version number.
Java
mit
TGNThump/inventory-tweaks,TerraGamingNetwork/inventory-tweaks,TerraGamingNetwork/inventory-tweaks,mrammy/inventory-tweaks,TGNThump/inventory-tweaks,Kobata/inventory-tweaks,PrinceOfAmber/inventory-tweaks,mrammy/inventory-tweaks,asiekierka/inventory-tweaks,PrinceOfAmber/inventory-tweaks,Vexatos/inventory-tweaks,Vexatos/i...
1b61fdb4de96962371ab3277721e3701a3c58a76
src/main/java/nl/github/martijn9612/fishy/Main.java
src/main/java/nl/github/martijn9612/fishy/Main.java
package nl.github.martijn9612.fishy; import java.util.logging.Level; import java.util.logging.Logger; import org.newdawn.slick.AppGameContainer; import org.newdawn.slick.BasicGame; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.SlickException; public class Main ext...
package nl.github.martijn9612.fishy; import java.util.logging.Level; import java.util.logging.Logger; import org.newdawn.slick.AppGameContainer; import org.newdawn.slick.BasicGame; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.SlickException; public class Main ext...
Change game name to Fishy
Change game name to Fishy
Java
mit
martijn9612/fishy
446ab3d510e8399eeed2c3388fc8c788c85fee8e
jvm/src/main/java/com/varunvats/practice/sorting/MergeTopDown.java
jvm/src/main/java/com/varunvats/practice/sorting/MergeTopDown.java
package com.varunvats.practice.sorting; public class MergeTopDown extends MergeBase { public static <T extends Comparable<T>> void sort(T[] a) { final int N = a.length; aux = new Comparable[N]; sort(a, 0, N - 1); } private static <T extends Comparable<T>> void sort(T[] a, int low,...
package com.varunvats.practice.sorting; public class MergeTopDown extends MergeBase { public static <T extends Comparable<T>> void sort(T[] a) { final int N = a.length; aux = new Comparable[N]; sort(a, 0, N - 1); } private static <T extends Comparable<T>> void sort(T[] a, int low,...
Optimize merge step of Merge sort.
Optimize merge step of Merge sort. A merge is necessary only when the last element of the sorted left sub-array is greater than or equal to the first element of the sorted right sub-array.
Java
mit
varunvats/practice
fdf27180aa95d1e48da678ee05a9a9cfcb76da20
src/main/java/dk/statsbiblioteket/demo/Main.java
src/main/java/dk/statsbiblioteket/demo/Main.java
package dk.statsbiblioteket.demo; public class Main { public static void main(String[] args) { System.out.println("This is the Demo of the Git"); System.out.println("This is now real"); } }
package dk.statsbiblioteket.demo; public class Main { public static void main(String[] args) { System.out.println("This is the Demo of the Git"); System.out.println("This is now real"); System.out.println("Print all the lines!!!"); } }
Print the most AMAZING text ever!!!!1!
Print the most AMAZING text ever!!!!1!
Java
apache-2.0
statsbiblioteket/gitDemo
ab911206e85cb67867fdbeeea8b03491d40ba410
xstream/src/java/com/thoughtworks/xstream/core/util/FastField.java
xstream/src/java/com/thoughtworks/xstream/core/util/FastField.java
/* * Copyright (C) 2008 XStream Committers. * All rights reserved. * * The software in this package is published under the terms of the BSD * style license a copy of which has been included with this distribution in * the LICENSE.txt file. * * Created on 13. October 2008 by Joerg Schaible */ package com.though...
/* * Copyright (C) 2008, 2010 XStream Committers. * All rights reserved. * * The software in this package is published under the terms of the BSD * style license a copy of which has been included with this distribution in * the LICENSE.txt file. * * Created on 13. October 2008 by Joerg Schaible */ package com....
Allow null as defining class.
Allow null as defining class.
Java
bsd-3-clause
8nevil8/xstream,hudson/xstream
f578f647dd86f6a91403319d291f4abc16e55db9
src/test/java/com/mssngvwls/PhaseRespacerTests.java
src/test/java/com/mssngvwls/PhaseRespacerTests.java
package com.mssngvwls; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.when; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.runners.MockitoJUnitRunner; @RunWith(MockitoJUnitRunner.class) p...
package com.mssngvwls; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.Mockito.when; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.runners.MockitoJUnitRunner; @RunWith(MockitoJUnitRunner.class) p...
Add respacing test with varying group sizes
Add respacing test with varying group sizes
Java
mit
stuartleyland/mssngvwls
9425e2bd2255686b3d91fd93e7332ce0cc75a00f
app/src/main/java/de/fau/cs/mad/fablab/android/model/MailModel.java
app/src/main/java/de/fau/cs/mad/fablab/android/model/MailModel.java
package de.fau.cs.mad.fablab.android.model; import de.fau.cs.mad.fablab.rest.core.MailAddresses; import de.fau.cs.mad.fablab.rest.myapi.DataApi; import retrofit.Callback; import retrofit.RetrofitError; import retrofit.client.Response; public class MailModel { private String mFeedbackMailAddress; private Strin...
package de.fau.cs.mad.fablab.android.model; import de.fau.cs.mad.fablab.rest.core.MailAddresses; import de.fau.cs.mad.fablab.rest.myapi.DataApi; import retrofit.Callback; import retrofit.RetrofitError; import retrofit.client.Response; public class MailModel { private String mFeedbackMailAddress = ""; private ...
Initialize mail addresses to prevent crashes
Initialize mail addresses to prevent crashes
Java
apache-2.0
fau-fablab/fablab-android,FAU-Inf2/fablab-android,FAU-Inf2/fablab-android,FAU-Inf2/fablab-android,fau-fablab/fablab-android,fau-fablab/fablab-android
9074204bd41a64e073af6b849c5e250c419456c4
src/main/java/com/epam/ta/reportportal/ws/model/integration/UpdatePluginStateRQ.java
src/main/java/com/epam/ta/reportportal/ws/model/integration/UpdatePluginStateRQ.java
package com.epam.ta.reportportal.ws.model.integration; import com.epam.ta.reportportal.ws.annotations.NotEmpty; import com.fasterxml.jackson.annotation.JsonInclude; import javax.validation.constraints.NotNull; import java.io.Serializable; /** * @author <a href="mailto:ivan_budayeu@epam.com">Ivan Budayeu</a> */ @Js...
package com.epam.ta.reportportal.ws.model.integration; import com.fasterxml.jackson.annotation.JsonInclude; import javax.validation.constraints.NotNull; import java.io.Serializable; /** * @author <a href="mailto:ivan_budayeu@epam.com">Ivan Budayeu</a> */ @JsonInclude(JsonInclude.Include.NON_NULL) public class Upda...
Update Plugin state entity refactoring
Update Plugin state entity refactoring
Java
apache-2.0
reportportal/commons-model
37a2b9d2ccc37504d732ef7be2d5567a0b5951d5
src/main/java/com/github/aureliano/achmed/resources/types/OperatingSystemFamily.java
src/main/java/com/github/aureliano/achmed/resources/types/OperatingSystemFamily.java
package com.github.aureliano.achmed.resources.types; public enum OperatingSystemFamily { DEBIAN, UBUNTU, RPM, APP }
package com.github.aureliano.achmed.resources.types; public enum OperatingSystemFamily { DEBIAN(null), UBUNTU(DEBIAN), RPM(null), APP(null); private OperatingSystemFamily ancestor; private OperatingSystemFamily(OperatingSystemFamily ancestor) { this.ancestor = ancestor; } public OperatingSystemFamily ...
Add attribute ancestor to operating system type.
Add attribute ancestor to operating system type.
Java
mit
aureliano/achmed
9b9a1ce56807fa8f1474aeb322fa67b2eac1bb48
src/main/java/com/cube/storm/ui/lib/factory/ViewFactory.java
src/main/java/com/cube/storm/ui/lib/factory/ViewFactory.java
package com.cube.storm.ui.lib.factory; import com.cube.storm.ui.view.View; import com.cube.storm.ui.view.holder.Holder; /** * This is the factory class which is used by Storm to help with getting the correct view holder/controller * for a specific view class name. * * @author Callum Taylor * @project StormUI */...
package com.cube.storm.ui.lib.factory; import com.cube.storm.ui.view.View; import com.cube.storm.ui.view.holder.Holder; /** * This is the factory class which is used by Storm to help with getting the correct view holder/controller * for a specific view class name. * * @author Callum Taylor * @project StormUI */...
Return null in view factory if the view enum was not found
Return null in view factory if the view enum was not found
Java
apache-2.0
3sidedcube/Android-LightningUi
aa1486701f97d2b94c7676b01d52936e28ff1256
src/java/nanomsg/NativeLibrary.java
src/java/nanomsg/NativeLibrary.java
package nanomsg; import com.sun.jna.Native; import com.sun.jna.Pointer; import com.sun.jna.ptr.PointerByReference; import com.sun.jna.ptr.IntByReference; public class NativeLibrary { public static native int nn_socket (int domain, int protocol); public static native int nn_close (int s); public static native i...
package nanomsg; import java.nio.ByteBuffer; import com.sun.jna.Native; import com.sun.jna.Pointer; import com.sun.jna.ptr.PointerByReference; import com.sun.jna.ptr.IntByReference; public class NativeLibrary { public static native int nn_socket (int domain, int protocol); public static native int nn_close (int...
Add bytebuffer overload to native library.
Add bytebuffer overload to native library.
Java
apache-2.0
niwinz/jnanomsg,evacchi/jnanomsg,RepublicWealth/jfuture-nanomsg,niwinz/jnanomsg,evacchi/jnanomsg,RepublicWealth/jfuture-nanomsg
6203c3826c1c19c53f07e80c68575fd260ecfaa5
src/main/java/stexfires/io/BaseRecordFile.java
src/main/java/stexfires/io/BaseRecordFile.java
package stexfires.io; import stexfires.core.Record; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.nio.charset.Charset; import java.nio.file.Files; import java.nio.file.OpenOption; import java.nio.file.Path; import java.util.Objects; /** * @author Mathias Kalb ...
package stexfires.io; import stexfires.core.Record; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.OutputStreamWriter; import java.nio.charset.Charset; import java.nio.charset.CharsetEncoder; import java.nio.file.Files; import java.nio.file.OpenOption; import ...
Add new method newBufferedWriter with a CharsetEncoder
Add new method newBufferedWriter with a CharsetEncoder
Java
mit
TextFileDataTools/text-file-data-tools,stexfires/stexfires,stexfires/stexfires
e9bb7cb745610efe45c0cace95c2f6b7bf1fd162
src/edu/asu/scrapbook/digital/util/UserUtil.java
src/edu/asu/scrapbook/digital/util/UserUtil.java
package edu.asu.scrapbook.digital.util; import com.google.appengine.api.users.UserService; import com.google.appengine.api.users.UserServiceFactory; import edu.asu.scrapbook.digital.dao.UserDAO; import edu.asu.scrapbook.digital.dao.UserDAOFactory; public class UserUtil { public static String getRequestUser...
package edu.asu.scrapbook.digital.util; import com.google.appengine.api.users.User; import com.google.appengine.api.users.UserService; import com.google.appengine.api.users.UserServiceFactory; import edu.asu.scrapbook.digital.dao.UserDAO; import edu.asu.scrapbook.digital.dao.UserDAOFactory; public class Use...
Add null check in case user isn't logged in
Add null check in case user isn't logged in
Java
mit
mcmathews/CSE-360-Digital-Scrapbook,mcmathews/CSE-360-Digital-Scrapbook
29bc02aaa95f5a105fb00d4073bbbe626ca90d4b
sandbox/rest/src/test/java/brooklyn/cli/ClientTest.java
sandbox/rest/src/test/java/brooklyn/cli/ClientTest.java
package brooklyn.cli; import brooklyn.rest.BrooklynService; import org.junit.Assert; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; public class ClientTest { BrooklynService brooklynServer; Client brooklynClient; @BeforeClass ...
package brooklyn.cli; import brooklyn.rest.BrooklynService; import org.testng.annotations.AfterClass; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; import java.io.ByteArrayOutputStream; import java.io.PrintStream; import static org.hamcrest.MatcherAssert.assertThat; import static org....
Implement assert statement for catalog-entities command
Implement assert statement for catalog-entities command
Java
apache-2.0
aledsage/legacy-brooklyn,andreaturli/legacy-brooklyn,aledsage/legacy-brooklyn,andreaturli/legacy-brooklyn,bmwshop/brooklyn,aledsage/legacy-brooklyn,andreaturli/legacy-brooklyn,andreaturli/legacy-brooklyn,neykov/incubator-brooklyn,aledsage/legacy-brooklyn,andreaturli/legacy-brooklyn,aledsage/legacy-brooklyn,bmwshop/broo...
fce503aa5f49f42c3fe23f85738fa0e9e5b27bd4
src/main/java/com/github/couchmove/pojo/ChangeLog.java
src/main/java/com/github/couchmove/pojo/ChangeLog.java
package com.github.couchmove.pojo; import com.couchbase.client.java.Bucket; import lombok.Builder; import lombok.Data; import lombok.EqualsAndHashCode; import org.jetbrains.annotations.NotNull; import java.util.Date; /** * a {@link CouchbaseEntity} representing a change in Couchbase {@link Bucket} * * @author cta...
package com.github.couchmove.pojo; import com.couchbase.client.java.Bucket; import lombok.*; import org.jetbrains.annotations.NotNull; import java.util.Date; import static lombok.AccessLevel.PRIVATE; /** * a {@link CouchbaseEntity} representing a change in Couchbase {@link Bucket} * * @author ctayeb * C...
Fix Jackson no suitable constructor found
Fix Jackson no suitable constructor found
Java
apache-2.0
differentway/couchmove
cf752f01ef49fe6f26789ad3220863f1bd37a44f
raven/src/main/java/net/kencochrane/raven/marshaller/json/MessageInterfaceBinding.java
raven/src/main/java/net/kencochrane/raven/marshaller/json/MessageInterfaceBinding.java
package net.kencochrane.raven.marshaller.json; import com.fasterxml.jackson.core.JsonGenerator; import net.kencochrane.raven.event.interfaces.MessageInterface; import java.io.IOException; public class MessageInterfaceBinding implements InterfaceBinding<MessageInterface> { private static final String MESSAGE_PARA...
package net.kencochrane.raven.marshaller.json; import com.fasterxml.jackson.core.JsonGenerator; import net.kencochrane.raven.event.interfaces.MessageInterface; import java.io.IOException; public class MessageInterfaceBinding implements InterfaceBinding<MessageInterface> { /** * Maximum length for a message....
Set a maximum size for the Message interface
Set a maximum size for the Message interface
Java
bsd-3-clause
littleyang/raven-java,reki2000/raven-java6,buckett/raven-java,galmeida/raven-java,galmeida/raven-java,littleyang/raven-java,buckett/raven-java,reki2000/raven-java6
89f4157fc0007772d5ba0a42b835e7b6ff67b88e
processor/src/main/java/com/michaelrocks/lightsaber/processor/LightsaberParameters.java
processor/src/main/java/com/michaelrocks/lightsaber/processor/LightsaberParameters.java
/* * Copyright 2015 Michael Rozumyanskiy * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/* * Copyright 2015 Michael Rozumyanskiy * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
Add verbose flag to processor parameters
Add verbose flag to processor parameters
Java
apache-2.0
MichaelRocks/lightsaber,MichaelRocks/lightsaber
f1b2f43914fb4d4185e7cd54a8bcd0d336ab9ee2
src/main/java/seedu/address/storage/XmlFileStorage.java
src/main/java/seedu/address/storage/XmlFileStorage.java
package seedu.address.storage; import java.io.File; import java.io.FileNotFoundException; import javax.xml.bind.JAXBException; import seedu.address.commons.exceptions.DataConversionException; import seedu.address.commons.util.XmlUtil; /** * Stores taskmanager data in an XML file */ public class XmlFileStorage { ...
package seedu.address.storage; import java.io.File; import java.io.FileNotFoundException; import javax.xml.bind.JAXBException; import seedu.address.commons.exceptions.DataConversionException; import seedu.address.commons.util.XmlUtil; /** * Stores taskmanager data in an XML file */ public class XmlFileStorage { ...
Rename Address Book to Task Manager
Rename Address Book to Task Manager
Java
mit
CS2103JAN2017-T16-B2/main,CS2103JAN2017-T16-B2/main
8fa08cf8a145cd76ae21c09019c06659ae50ecb9
src/test/java/utask/model/task/DeadlineTest.java
src/test/java/utask/model/task/DeadlineTest.java
package utask.model.task; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.junit.Test; public class DeadlineTest { @Test public void isValidDeadline() { // invalid Deadline assertFalse(Deadline.isValidDeadline("")); // empty string ass...
package utask.model.task; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.junit.Test; import utask.commons.exceptions.IllegalValueException; public class DeadlineTest { @Test public void isValidDeadline() { ...
Add more test cases for Deadline
Add more test cases for Deadline
Java
mit
CS2103JAN2017-W13-B1/main,CS2103JAN2017-W13-B1/main
b97f50bc64ae57ac60b882a9281813c701adc325
src/main/java/Main.java
src/main/java/Main.java
import java.util.Scanner; public class Main { public static void main(String[] args) { printTitle(); titleWait(); System.out.println("You wake up on a beach."); } private static void printTitle() { String banner = "___________ .__ ___________ __ \n"...
import java.util.Scanner; public class Main { public static void main(String[] args) { printTitle(); titleWait(); System.out.println("You wake up on a beach."); } private static void printTitle() { String banner = "___________ .__ ___________ __ \n"...
Add new line print to clearScreen()
Add new line print to clearScreen()
Java
mit
MarkNBroadhead/EpicText
558ee079fd04dfab8e61eca10ee98ab5bac89dfa
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionRegistryFactory.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionRegistryFactory.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 ...
Switch the default registry to ZK based
Switch the default registry to ZK based In branch-2 we want to retain the ZK based registry as the default.
Java
apache-2.0
HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase
8c0623eb7a1a4bf3476b633daf6b08688669fb52
jestful-client-nio/src/main/java/org/qfox/jestful/client/nio/timeout/TimeoutHandler.java
jestful-client-nio/src/main/java/org/qfox/jestful/client/nio/timeout/TimeoutHandler.java
package org.qfox.jestful.client.nio.timeout; import java.net.SocketTimeoutException; import java.nio.channels.SelectionKey; /** * Created by yangchangpei on 17/3/27. */ public abstract class TimeoutHandler implements Comparable<TimeoutHandler> { protected final SelectionKey key; protected final long timeInv...
package org.qfox.jestful.client.nio.timeout; import java.net.SocketTimeoutException; import java.nio.channels.SelectionKey; /** * Created by yangchangpei on 17/3/27. */ public abstract class TimeoutHandler implements Comparable<TimeoutHandler> { protected final SelectionKey key; protected final long timeInv...
Set Default Timeouts For NIO Builder While Creation
Set Default Timeouts For NIO Builder While Creation
Java
apache-2.0
core-lib/jestful
3692e7b9c5728a7ed48a29a7d073f6c1b6ca6cf3
src/test/java/org/jenkinsci/plugins/gitclient/LogHandler.java
src/test/java/org/jenkinsci/plugins/gitclient/LogHandler.java
package org.jenkinsci.plugins.gitclient; import java.util.ArrayList; import java.util.List; import java.util.logging.Handler; import java.util.logging.LogRecord; /** * Recording log handler to allow assertions on logging. Not intended for use * outside this package. Not intended for use outside tests. * * @author...
package org.jenkinsci.plugins.gitclient; import java.util.ArrayList; import java.util.List; import java.util.logging.Handler; import java.util.logging.LogRecord; /** * Recording log handler to allow assertions on logging. Not intended for use * outside this package. Not intended for use outside tests. * * @author...
Use 'contains' instead of indexOf to find substrings
Use 'contains' instead of indexOf to find substrings
Java
mit
MarkEWaite/git-client-plugin,MarkEWaite/git-client-plugin,MarkEWaite/git-client-plugin
13fcfe538becc6a0e72d2c25a26e42f3f395c52c
src/com/growingwiththeweb/algorithms/interviewquestions/dividewithoutdivide/Program.java
src/com/growingwiththeweb/algorithms/interviewquestions/dividewithoutdivide/Program.java
package com.growingwiththeweb.algorithms.interviewquestions.dividewithoutdivide; public class Program { public static void main(String[] args) { assert divide(10,4) == 2; assert divide(11,4) == 2; assert divide(12,4) == 3; assert divide(13,4) == 3; assert divide(130,3) == 43...
package com.growingwiththeweb.algorithms.interviewquestions.dividewithoutdivide; import java.lang.ArithmeticException; public class Program { public static void main(String[] args) { assert divide(10, 4) == 2; assert divide(11, 4) == 2; assert divide(12, 4) == 3; assert divide(13, ...
Add exception for division by zero
Add exception for division by zero
Java
mit
Tyriar/growing-with-the-web,Tyriar/growing-with-the-web,gwtw/growing-with-the-web,gwtw/growing-with-the-web
5723f941778325af836b684580c050b8e713ffd3
src/main/java/org/hcjf/layers/LayerInterface.java
src/main/java/org/hcjf/layers/LayerInterface.java
package org.hcjf.layers; import java.lang.reflect.InvocationHandler; /** * @author javaito * */ public interface LayerInterface extends InvocationHandler { /** * Return the layer implementation name. * @return Layer implementation name. */ String getImplName(); /** * Returns true ...
package org.hcjf.layers; import org.hcjf.layers.distributed.DistributedLayer; import java.lang.reflect.InvocationHandler; /** * @author javaito * */ public interface LayerInterface extends InvocationHandler { /** * Return the layer implementation name. * @return Layer implementation name. */ ...
Add in the layer interface the capability of knows if the implementation is distributed or not.
Add in the layer interface the capability of knows if the implementation is distributed or not.
Java
apache-2.0
javaito/HolandaCatalinaFw,javaito/HolandaCatalinaFw,javaito/HolandaCatalinaFw
5b858eb430b8e4261f443f23ef7ab9707d6183fd
src/src/Tournament.java
src/src/Tournament.java
package src; import java.io.File; import java.io.IOException; import org.ini4j.Wini; public class Tournament { String _userName; String _game; //много параметров, может, их в отдельный класс? String _fullPath; String _tempPath; String _tableCaption; String _judgePath; public Tournam...
package src; import java.io.File; import java.io.IOException; import org.ini4j.Wini; public class Tournament { String _userName; String _game; public Tournament(String userName, String game){ _userName = _userName; _game = game; } }
Remove old unnesessary code (load ini file). Now this operations is in FileWorker.
Remove old unnesessary code (load ini file). Now this operations is in FileWorker.
Java
mit
SarahWhereIsMyTea/Tournament,SarahWhereIsMyTea/Tournament,SarahWhereIsMyTea/Tournament,SarahWhereIsMyTea/Tournament,SarahWhereIsMyTea/Tournament
bed79864bb81120fea596a06875d149b956a012c
mdm/api/src/main/java/com/gentics/mesh/core/data/group/HibGroup.java
mdm/api/src/main/java/com/gentics/mesh/core/data/group/HibGroup.java
package com.gentics.mesh.core.data.group; import com.gentics.mesh.core.data.HibCoreElement; import com.gentics.mesh.core.data.HibNamedElement; import com.gentics.mesh.core.data.user.HibUserTracking; import com.gentics.mesh.core.rest.group.GroupReference; public interface HibGroup extends HibCoreElement, HibUserTracki...
package com.gentics.mesh.core.data.group; import static com.gentics.mesh.core.rest.MeshEvent.GROUP_CREATED; import static com.gentics.mesh.core.rest.MeshEvent.GROUP_DELETED; import static com.gentics.mesh.core.rest.MeshEvent.GROUP_UPDATED; import com.gentics.mesh.ElementType; import com.gentics.mesh.core.TypeInfo; im...
Move group type info to interface
Move group type info to interface
Java
apache-2.0
gentics/mesh,gentics/mesh,gentics/mesh,gentics/mesh
1d9ea628ea3dc870327d08ab168b27e570ceae81
src/test/java/info/u_team/u_team_test/TestMod.java
src/test/java/info/u_team/u_team_test/TestMod.java
package info.u_team.u_team_test; import org.apache.logging.log4j.*; import info.u_team.u_team_core.integration.IntegrationManager; import info.u_team.u_team_core.util.verify.JarSignVerifier; import info.u_team.u_team_test.init.*; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.fml.DistExecuto...
package info.u_team.u_team_test; import org.apache.logging.log4j.*; import info.u_team.u_team_core.construct.ConstructManager; import info.u_team.u_team_core.integration.IntegrationManager; import info.u_team.u_team_core.util.verify.JarSignVerifier; import net.minecraftforge.fml.common.Mod; @Mod(TestMod.MODID) publi...
Add call to construct manager in test mod
Add call to construct manager in test mod
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
863816ac1e2d4f9299b3e58d8b6970a6ff9b0ed5
src/com/simplerecipemanager/resources/HealthCheckResource.java
src/com/simplerecipemanager/resources/HealthCheckResource.java
package com.simplerecipemanager.resources; import java.util.Map; import java.util.Map.Entry; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.core.Response; import com.codahale.metrics.health.HealthCheck.Result; import com.codahale.metrics.health.HealthCheckRegistry; @Path("/healthcheck") public ...
package com.simplerecipemanager.resources; import java.util.Map; import java.util.Map.Entry; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import com.codahale.metrics.annotation.Timed; import com.codahale.metrics.hea...
Use better health check details
Use better health check details
Java
apache-2.0
simple-recipe-manager/srm-api,simple-recipe-manager/srm-api,simple-recipe-manager/srm-api
53f04555e3133720eafa862e48a996571461663d
modules/framework/core/org/apache/lcf/core/interfaces/TimeMarker.java
modules/framework/core/org/apache/lcf/core/interfaces/TimeMarker.java
/* $Id$ */ /** * 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"); y...
/* $Id$ */ /** * 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"); y...
Fix issue with time field string conversion (there wasn't any).
Fix issue with time field string conversion (there wasn't any). git-svn-id: 0503cfb7d358eaa9bd718f348f448f10022ea703@955332 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
kishorejangid/manifoldcf,kishorejangid/manifoldcf,apache/manifoldcf,gladyscarrizales/manifoldcf,kishorejangid/manifoldcf,cogfor/mcf-cogfor,gladyscarrizales/manifoldcf,apache/manifoldcf,apache/manifoldcf,cogfor/mcf-cogfor,kishorejangid/manifoldcf,gladyscarrizales/manifoldcf,cogfor/mcf-cogfor,apache/manifoldcf,kishorejan...
725a69da42dde1c8e5a6c6158d80a6c49e1e6123
modules/cloud-portal-server/src/main/java/de/papke/cloud/portal/auth/HttpSessionConfig.java
modules/cloud-portal-server/src/main/java/de/papke/cloud/portal/auth/HttpSessionConfig.java
package de.papke.cloud.portal.auth; import org.springframework.context.annotation.Bean; import org.springframework.session.data.mongo.JdkMongoSessionConverter; import org.springframework.session.data.mongo.config.annotation.web.http.EnableMongoHttpSession; @EnableMongoHttpSession public class HttpSessionConfig { @...
package de.papke.cloud.portal.auth; import org.springframework.context.annotation.Bean; import org.springframework.session.data.mongo.JdkMongoSessionConverter; import org.springframework.session.data.mongo.config.annotation.web.http.EnableMongoHttpSession; @EnableMongoHttpSession(maxInactiveIntervalInSeconds = HttpSe...
Increase session timeout for mongo http sessions
Increase session timeout for mongo http sessions
Java
mit
chrisipa/cloud-portal,chrisipa/cloud-portal,chrisipa/cloud-portal
02fe6cda31d80e5e53346b01efd18bec67e55919
src/main/java/io/sigpipe/sing/graph/CountContainer.java
src/main/java/io/sigpipe/sing/graph/CountContainer.java
package io.sigpipe.sing.graph; import java.io.IOException; import io.sigpipe.sing.serialization.SerializationInputStream; import io.sigpipe.sing.serialization.SerializationOutputStream; public class CountContainer extends DataContainer { long a; long b; public CountContainer() { } public Coun...
package io.sigpipe.sing.graph; import java.io.IOException; import io.sigpipe.sing.serialization.SerializationInputStream; import io.sigpipe.sing.serialization.SerializationOutputStream; public class CountContainer extends DataContainer { public long a; public long b; public CountContainer() { } ...
Make countcontainer members public for now
Make countcontainer members public for now
Java
bsd-2-clause
malensek/sing
c90511d8dcfe96453d2152a9241c45cffea831bf
src/main/java/com/elderstudios/controller/GuestBookRestController.java
src/main/java/com/elderstudios/controller/GuestBookRestController.java
package com.elderstudios.controller; import com.elderstudios.domain.GuestBookEntry; import com.elderstudios.service.GuestBookService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; im...
package com.elderstudios.controller; import com.elderstudios.domain.GuestBookEntry; import com.elderstudios.service.GuestBookService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; import javax.persistence.criteria.CriteriaBuilder; import java.util.Lis...
Refactor REST controller to use overall @RequestMapping
Refactor REST controller to use overall @RequestMapping
Java
unlicense
TonyJenkins/shiny-barnacle,TonyJenkins/shiny-barnacle
3455f9317da99da472d4f57b664fe6eab3412cc6
src/test/java/io/github/hcoona/utils/NamedMutexTest.java
src/test/java/io/github/hcoona/utils/NamedMutexTest.java
package io.github.hcoona.utils; import org.junit.Assert; import org.junit.Test; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import java.util.concurrent.TimeUnit; public class NamedMutexTest { @Test public void testCannotWai...
package io.github.hcoona.utils; import com.sun.jna.Platform; import org.junit.Assert; import org.junit.Assume; import org.junit.BeforeClass; import org.junit.Test; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import java.util.concur...
Mark it Windows only before Linux implement ready.
Mark it Windows only before Linux implement ready.
Java
mit
hcoona/native-named-mutex
d2edd4b2f537a4198296b815080d70309a29b1e8
src/ca/cumulonimbus/pressurenetsdk/CbWeather.java
src/ca/cumulonimbus/pressurenetsdk/CbWeather.java
package ca.cumulonimbus.pressurenetsdk; public class CbWeather { }
package ca.cumulonimbus.pressurenetsdk; /** * Parent class for all Weather * @author jacob * */ public class CbWeather { private int animateGroupNumber = 0; public int getAnimateGroupNumber() { return animateGroupNumber; } public void setAnimateGroupNumber(int animateGroupNumber) { this.animateGroupNumbe...
Support map positioning in time with slider
Support map positioning in time with slider
Java
mit
krishnanMurali/PressureNet-SDK,Cbsoftware/PressureNet-SDK
02349b71dda26147f756385a109603f576b199c5
src/test/java/com/phsshp/MetricsReporterTest.java
src/test/java/com/phsshp/MetricsReporterTest.java
package com.phsshp; import com.phsshp.testutils.matchers.MetricsMatcher; import org.junit.Test; import java.io.File; import java.util.Arrays; import java.util.List; import static com.phsshp.testutils.matchers.MetricsMatcher.metricsMatching; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcr...
package com.phsshp; import org.junit.Test; import java.io.File; import java.util.Arrays; import java.util.List; import static com.phsshp.testutils.matchers.MetricsMatcher.metricsMatching; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.contains; public class MetricsReporterT...
Refactor test to use matchers
Refactor test to use matchers
Java
mit
phss/java-code-metrics
ef8b934454b6cb5f68fd1a5fa12fb08d221229d1
src/model/ea/operators/BestEnvironmentSelection.java
src/model/ea/operators/BestEnvironmentSelection.java
package model.ea.operators; import helper.ConfigurationHelper; import model.ea.Population; @SuppressWarnings("unused") public class BestSelectionOperator implements IEnvironmentSelectionOperator { private int numberOfSelections = ConfigurationHelper.getInstance().getPropertyInteger("IndividualsPerPopulation", 10); ...
package model.ea.operators; import helper.ConfigurationHelper; import model.ea.Population; public class BestEnvironmentSelection implements IEnvironmentSelection { private int numberOfSelections = ConfigurationHelper.getInstance().getPropertyInteger("IndividualsPerPopulation", 10); /** * Takes the population ...
Comment was added to this operator.
Comment was added to this operator.
Java
mit
ryad-eldajani/ea_nurse_rostering,ryad-eldajani/ea_nurse_rostering
bf3f708b3d1b9401962a767e0b7603d3ff75c45b
app/src/main/java/com/dyhpoon/fodex/data/FodexCursor.java
app/src/main/java/com/dyhpoon/fodex/data/FodexCursor.java
package com.dyhpoon.fodex.data; import android.content.ContentResolver; import android.content.Context; import android.database.Cursor; import android.provider.MediaStore; /** * Created by darrenpoon on 28/1/15. */ public class FodexCursor { public static Cursor allPhotosCursor(Context context) { Conte...
package com.dyhpoon.fodex.data; import android.content.ContentResolver; import android.content.ContentUris; import android.content.Context; import android.database.Cursor; import android.net.Uri; import android.provider.MediaStore; /** * Created by darrenpoon on 28/1/15. */ public class FodexCursor { public st...
Add function to get thumbnail's url with image id.
Add function to get thumbnail's url with image id.
Java
apache-2.0
dyhpoon/Fo.dex
239d394d947d970cb1ffd4db198d659fba21e3e1
OA/src/main/java/com/yao/oa/domains/user/GroupAuthoritiesPK.java
OA/src/main/java/com/yao/oa/domains/user/GroupAuthoritiesPK.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 com.yao.oa.domains.user; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Embeddable; im...
/* * 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 com.yao.oa.domains.user; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Embeddable; im...
Add basic authorization to restful webservices controller.
Add basic authorization to restful webservices controller.
Java
mit
yaoshining/YaoOA
7e76961c0158ded0c957357b5f0d9b499dbcb1ad
src/main/java/org/ambraproject/rhino/view/asset/AssetsAsFigureView.java
src/main/java/org/ambraproject/rhino/view/asset/AssetsAsFigureView.java
package org.ambraproject.rhino.view.asset; import com.google.common.collect.ImmutableList; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonSerializationContext; import org.ambraproject.models.ArticleAsset; import org.ambraproject.rhino.identity.AssetIdentity; import or...
package org.ambraproject.rhino.view.asset; import com.google.common.collect.ImmutableList; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonSerializationContext; import org.ambraproject.models.ArticleAsset; import org.ambraproject.rhino.identity.AssetIdentity; import or...
Move check to constructor for faster failure
Move check to constructor for faster failure
Java
mit
PLOS/rhino,PLOS/rhino,PLOS/rhino,PLOS/rhino,PLOS/rhino
3b8282703a468631d3e96242d80cdc3268ed26f1
src/test/java/seedu/doist/testutil/TaskBuilder.java
src/test/java/seedu/doist/testutil/TaskBuilder.java
package seedu.doist.testutil; import java.util.Date; import seedu.doist.commons.exceptions.IllegalValueException; import seedu.doist.model.tag.Tag; import seedu.doist.model.tag.UniqueTagList; import seedu.doist.model.task.Description; import seedu.doist.model.task.Priority; /** * */ public class TaskBuilder { ...
package seedu.doist.testutil; import java.util.Date; import seedu.doist.commons.exceptions.IllegalValueException; import seedu.doist.model.tag.Tag; import seedu.doist.model.tag.UniqueTagList; import seedu.doist.model.task.Description; import seedu.doist.model.task.Priority; /** * */ public class TaskBuilder { ...
Change class to use new TaskDate
Change class to use new TaskDate
Java
mit
CS2103JAN2017-W13-B4/main,CS2103JAN2017-W13-B4/main
32c440d2296375471ef2d5a95859a9923089882d
src/main/java/nu/yona/server/analysis/rest/AnalysisEngineController.java
src/main/java/nu/yona/server/analysis/rest/AnalysisEngineController.java
/******************************************************************************* * Copyright (c) 2015 Stichting Yona Foundation * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla...
/******************************************************************************* * Copyright (c) 2015 Stichting Yona Foundation * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla...
Add a trailing slash to the analysis engine URL
Add a trailing slash to the analysis engine URL
Java
mpl-2.0
yonadev/yona-server,yonadev/yona-server,yonadev/yona-server,yonadev/yona-server
0091e780511e4daccd1bd0c484ef10651afe04cf
OpERP/src/main/java/devopsdistilled/operp/client/main/NavigationPane.java
OpERP/src/main/java/devopsdistilled/operp/client/main/NavigationPane.java
package devopsdistilled.operp.client.main; import javax.inject.Inject; import javax.swing.JComponent; import javax.swing.JScrollPane; import javax.swing.event.TreeSelectionEvent; import javax.swing.event.TreeSelectionListener; import javax.swing.tree.DefaultMutableTreeNode; import devopsdistilled.operp.client.abstrac...
package devopsdistilled.operp.client.main; import javax.inject.Inject; import javax.swing.JComponent; import javax.swing.JScrollPane; import javax.swing.event.TreeSelectionEvent; import javax.swing.event.TreeSelectionListener; import javax.swing.tree.DefaultMutableTreeNode; import devopsdistilled.operp.client.abstrac...
Make NavigationTree expand by default
Make NavigationTree expand by default
Java
mit
njmube/OpERP,DevOpsDistilled/OpERP
c379a9922b8e26c90034d02b3d13c6f8ab5c63ee
src/main/java/be/yildiz/shared/entity/EntityCreator.java
src/main/java/be/yildiz/shared/entity/EntityCreator.java
/* * This file is part of the Yildiz-Engine project, licenced under the MIT License (MIT) * * Copyright (c) 2017 Grégory Van den Borre * * More infos available: https://www.yildiz-games.be * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documen...
/* * This file is part of the Yildiz-Engine project, licenced under the MIT License (MIT) * * Copyright (c) 2017 Grégory Van den Borre * * More infos available: https://www.yildiz-games.be * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documen...
Fix sonar: add functional interface.
[YIL-83] Fix sonar: add functional interface.
Java
mit
yildiz-online/engine-shared
4ef49fdeed7b8a8e7b17300a0e38ec18cd19a36d
MeetUp/src/main/java/com/tuvistavie/meetup/Config.java
MeetUp/src/main/java/com/tuvistavie/meetup/Config.java
package com.tuvistavie.meetup; /** * Created by daniel on 9/4/13. */ public final class Config { public static final String PROTOCOL = "http"; public static final String HOST = "192.168.100.103"; public static final int PORT = 3000; }
package com.tuvistavie.meetup; /** * Created by daniel on 9/4/13. */ public final class Config { public static final String PROTOCOL = "http"; public static final String HOST = "www16179ui.sakura.ne.jp"; public static final int PORT = 80; }
Fix configuration to use prod sever.
Fix configuration to use prod sever.
Java
mit
Meet-Up/meetup-android,Meet-Up/meetup-android
fdfeb9bc50f423c59717a284bb73e692d59c8c56
dgcj/TemplateDgcjMain.java
dgcj/TemplateDgcjMain.java
package dgcj; public class TemplateDgcjMain { static final Object PROBLEM = new TemplateDgcjProblem(); // PROBLEM NAME goes here public String run() { // long n = ; // long from = 1L * n * ID / NODES; // long to = 1L * n * (ID + 1) / NODES; return null; } static int NODES; static int ID; /** * Argumen...
package dgcj; public class TemplateDgcjMain { // RENAME to Main static final Object PROBLEM = new TemplateDgcjProblem(); // PROBLEM NAME goes here public String run() { // long n = ; // long from = 1L * n * ID / NODES; // long to = 1L * n * (ID + 1) / NODES; return null; } static int NODES; static int ID;...
Fix template to remind about Main filename
Fix template to remind about Main filename
Java
unlicense
mikhail-dvorkin/competitions-distributed,mikhail-dvorkin/competitions-distributed
d4df88509667035076c244e0e6e51ea2761f4050
src/main/java/org/vaadin/viritin/util/Java8LocaleNegotiationStrategy.java
src/main/java/org/vaadin/viritin/util/Java8LocaleNegotiationStrategy.java
package org.vaadin.viritin.util; import java.util.*; import java.util.Locale.LanguageRange; import org.vaadin.viritin.util.VaadinLocale.LocaleNegotiationStrategey; import com.vaadin.server.VaadinRequest; /** * Implementation of {@link LocaleNegotiationStrategey} which uses java 1.8 * {@link Locale#lookup(List, Co...
package org.vaadin.viritin.util; import java.lang.reflect.Method; import java.util.*; import org.vaadin.viritin.util.VaadinLocale.LocaleNegotiationStrategey; import com.vaadin.server.VaadinRequest; /** * Implementation of {@link LocaleNegotiationStrategey} which uses java 1.8 * {@link Locale#lookup(List, Collecti...
Use reflection for java 1.8 classes
Use reflection for java 1.8 classes
Java
apache-2.0
cbmeeks/viritin,pbaris/viritin,qwasli/maddon,viritin/viritin,pbaris/viritin,viritin/viritin
7676972234792779b4089695dd42231bbeeb4bd9
common/src/main/java/org/broadleafcommerce/common/util/TypedPredicate.java
common/src/main/java/org/broadleafcommerce/common/util/TypedPredicate.java
/* * #%L * BroadleafCommerce Common Libraries * %% * Copyright (C) 2009 - 2013 Broadleaf Commerce * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org...
/* * #%L * BroadleafCommerce Common Libraries * %% * Copyright (C) 2009 - 2013 Broadleaf Commerce * %% * 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...
Allow typed predicate to handle nulls
Allow typed predicate to handle nulls
Java
apache-2.0
liqianggao/BroadleafCommerce,lgscofield/BroadleafCommerce,udayinfy/BroadleafCommerce,caosg/BroadleafCommerce,sitexa/BroadleafCommerce,cengizhanozcan/BroadleafCommerce,cloudbearings/BroadleafCommerce,trombka/blc-tmp,sanlingdd/broadleaf,macielbombonato/BroadleafCommerce,caosg/BroadleafCommerce,SerPenTeHoK/BroadleafCommer...
09ad44d687f09a1a6f0ba3efa3eb076ccf46644c
model/src/main/java/pw/scho/battleship/model/Game.java
model/src/main/java/pw/scho/battleship/model/Game.java
package pw.scho.battleship.model; import java.util.UUID; public class Game { private Board firstBoard; private Board secondBoard; private UUID firstPlayerId; private UUID secondPlayerId; private UUID id; public Game() { this.id = UUID.randomUUID(); } public UUID getId() { ...
package pw.scho.battleship.model; import java.util.UUID; public class Game { private Board firstBoard; private Board secondBoard; private Player firstPlayer; private Player secondPlayer; private UUID id; public Game() { this.id = UUID.randomUUID(); } public Player getSecondP...
Replace player ids with player objects
Replace player ids with player objects This is no longer needed, since in memory storage keeps all references
Java
mit
scho/battleship,scho/battleship
c82199c63faacf81d1c48575f0a345faad1c0861
src/test/java/test/PositiveTest.java
src/test/java/test/PositiveTest.java
package test; import java.io.File; import java.io.IOException; import java.net.URISyntaxException; import javax.script.ScriptException; import org.clafer.ast.AstModel; import org.clafer.collection.Triple; import org.clafer.compiler.ClaferCompiler; import org.clafer.compiler.ClaferSolver; import org.clafer.javascript.J...
package test; import java.io.File; import java.io.IOException; import java.net.URISyntaxException; import javax.script.ScriptException; import org.clafer.ast.AstModel; import org.clafer.collection.Triple; import org.clafer.compiler.ClaferCompiler; import org.clafer.compiler.ClaferSolver; import org.clafer.javascript.J...
Test more upto 11 instances for the positive tests.
Test more upto 11 instances for the positive tests.
Java
mit
gsdlab/chocosolver,gsdlab/chocosolver
53fb92074c655d953f190d6cfb6e0d3e678cbcd0
src/main/java/com/crowdin/cli/commands/functionality/PropertiesBuilder.java
src/main/java/com/crowdin/cli/commands/functionality/PropertiesBuilder.java
package com.crowdin.cli.commands.functionality; import com.crowdin.cli.properties.CliProperties; import com.crowdin.cli.properties.Params; import com.crowdin.cli.properties.PropertiesBean; import com.crowdin.cli.utils.file.FileReader; import java.io.File; import java.nio.file.Files; public class PropertiesBuilder { ...
package com.crowdin.cli.commands.functionality; import com.crowdin.cli.properties.CliProperties; import com.crowdin.cli.properties.Params; import com.crowdin.cli.properties.PropertiesBean; import com.crowdin.cli.utils.file.FileReader; import org.apache.commons.lang3.StringUtils; import java.io.File; import java.nio.f...
Fix absolute paths to sources by config params
Fix absolute paths to sources by config params
Java
mit
crowdin/crowdin-cli,crowdin/crowdin-cli
be8450ef815decdbcb14ee5922b0dd9a42d53468
oak-core/src/test/java/org/apache/jackrabbit/oak/spi/security/authentication/ThrowingCallbackHandler.java
oak-core/src/test/java/org/apache/jackrabbit/oak/spi/security/authentication/ThrowingCallbackHandler.java
package org.apache.jackrabbit.oak.spi.security.authentication; import java.io.IOException; import javax.security.auth.callback.Callback; import javax.security.auth.callback.CallbackHandler; import javax.security.auth.callback.UnsupportedCallbackException; /** * Created by angela on 28/02/17. */ class ThrowingCallba...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Improve coverage for security code in oak-core
OAK-5793: Improve coverage for security code in oak-core Missing license header git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1784852 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
anchela/jackrabbit-oak,catholicon/jackrabbit-oak,alexkli/jackrabbit-oak,alexkli/jackrabbit-oak,francescomari/jackrabbit-oak,francescomari/jackrabbit-oak,FlakyTestDetection/jackrabbit-oak,chetanmeh/jackrabbit-oak,stillalex/jackrabbit-oak,alexkli/jackrabbit-oak,FlakyTestDetection/jackrabbit-oak,catholicon/jackrabbit-oak,...
9c6dfcf8f225eaf56ee77780ba741f6b1cd89865
java/com/japlj/healthydiet/api/NutritionUtils.java
java/com/japlj/healthydiet/api/NutritionUtils.java
package com.japlj.healthydiet.api; import com.japlj.healthydiet.food.FoodParameterManager; import net.minecraft.item.ItemFood; import net.minecraft.item.ItemStack; public final class NutritionUtils { private NutritionUtils() { } /* * アイテム item に栄養素情報が設定されているか */ public boolean hasNutritionalInfo(ItemStack i...
package com.japlj.healthydiet.api; import com.japlj.healthydiet.food.FoodParameter; import com.japlj.healthydiet.food.FoodParameterManager; import net.minecraft.item.ItemFood; import net.minecraft.item.ItemStack; public final class NutritionUtils { private NutritionUtils() { } /* * アイテム item に栄養素情報が設定されているか ...
Add an utility function to fetch nutritional values of foods
Add an utility function to fetch nutritional values of foods
Java
mit
JAPLJ/HealthyDiet
a97391befb4b5fcd65fbd0fb3ce6dac6fe9ff378
src/main/java/org/synyx/urlaubsverwaltung/availability/api/TimedAbsence.java
src/main/java/org/synyx/urlaubsverwaltung/availability/api/TimedAbsence.java
package org.synyx.urlaubsverwaltung.availability.api; import org.synyx.urlaubsverwaltung.period.DayLength; import java.math.BigDecimal; /** * Details for a (partial) absence of a person on a day. */ class TimedAbsence { enum Type { VACATION, SICK_NOTE, WORK, FREETIME, ...
package org.synyx.urlaubsverwaltung.availability.api; import org.synyx.urlaubsverwaltung.period.DayLength; import java.math.BigDecimal; /** * Details for a (partial) absence of a person on a day. */ class TimedAbsence { enum Type { VACATION, SICK_NOTE, FREETIME, PUBLIC_HOLIDA...
Remove not used timed absence type 'WORK'
Remove not used timed absence type 'WORK'
Java
apache-2.0
synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung,synyx/urlaubsverwaltung
2be95688dc8ec85382b83f55db9761705b4ef4b5
src/ca/ubc/ece/salt/sdjsb/analysis/learning/apis/TopLevelAPI.java
src/ca/ubc/ece/salt/sdjsb/analysis/learning/apis/TopLevelAPI.java
package ca.ubc.ece.salt.sdjsb.analysis.learning.apis; import java.util.List; import ca.ubc.ece.salt.sdjsb.analysis.learning.apis.Keyword.KeywordType; /** * Defines the default JavaScript API and stores all Node.js packages that * we want to include. */ public class TopLevelAPI extends AbstractAPI { protected Li...
package ca.ubc.ece.salt.sdjsb.analysis.learning.apis; import java.util.List; import ca.ubc.ece.salt.sdjsb.analysis.learning.apis.Keyword.KeywordType; /** * Defines the default JavaScript API and stores all Node.js packages that * we want to include. */ public class TopLevelAPI extends AbstractAPI { protected Lis...
Add getter for packages on AbstractAPI
Add getter for packages on AbstractAPI
Java
apache-2.0
saltlab/Pangor,saltlab/Pangor,qhanam/Pangor,saltlab/Pangor,qhanam/Pangor,qhanam/Pangor,qhanam/Pangor,saltlab/Pangor,saltlab/Pangor,qhanam/Pangor
7476a8d3a70bc0d69a4683afc45e0663640701dc
src/main/java/de/flux/playground/deckcompare/dto/Deck.java
src/main/java/de/flux/playground/deckcompare/dto/Deck.java
package de.flux.playground.deckcompare.dto; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import lomb...
package de.flux.playground.deckcompare.dto; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation....
Add method to extract playable cards form deck
Add method to extract playable cards form deck Without having to take the detour over the sections
Java
apache-2.0
JLengenfeld/deckcompare,JLengenfeld/deckcompare,JLengenfeld/deckcompare
918cf9509487cc466368969bef074842ba6ad75d
src/main/java/edu/harvard/iq/dataverse/EMailValidator.java
src/main/java/edu/harvard/iq/dataverse/EMailValidator.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.harvard.iq.dataverse; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; imp...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package edu.harvard.iq.dataverse; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; imp...
Allow null email to pass EmailValidator
Allow null email to pass EmailValidator Somewhere else will decide if it’s required
Java
apache-2.0
ekoi/DANS-DVN-4.6.1,jacksonokuhn/dataverse,bmckinney/dataverse-canonical,majorseitan/dataverse,majorseitan/dataverse,leeper/dataverse-1,majorseitan/dataverse,quarian/dataverse,quarian/dataverse,JayanthyChengan/dataverse,jacksonokuhn/dataverse,bmckinney/dataverse-canonical,leeper/dataverse-1,JayanthyChengan/dataverse,ja...
2a21334927bca74c23589577ac5082f17512d8c1
src/test/java/net/spy/memcached/ConnectionFactoryTest.java
src/test/java/net/spy/memcached/ConnectionFactoryTest.java
package net.spy.memcached; import junit.framework.TestCase; /** * Test connection factory variations. */ public class ConnectionFactoryTest extends TestCase { // These tests are a little lame. They don't verify anything other than // that the code executes without failure. public void testBinaryEmptyCons() { ...
package net.spy.memcached; import junit.framework.TestCase; /** * Test connection factory variations. */ public class ConnectionFactoryTest extends TestCase { // These tests are a little lame. They don't verify anything other than // that the code executes without failure. public void testBinaryEmptyCons() { ...
Fix a test that broke with the internal queue changes.
Fix a test that broke with the internal queue changes.
Java
mit
tootedom/spymemcached-1,resrugam/java-memcached-client,douxiaozhao/java-memcached-client,tootedom/spymemcached,tootedom/spymemcached-1,douxiaozhao/java-memcached-client,couchbase/spymemcached,tootedom/spymemcached,HubSpot/java-memcached-client,HubSpot/java-memcached-client,tootedom/spymemcached-1,Agilefant/spymemcached...
f172d58ebdbf54443a8a28a9117fb4879a2265fa
src/chile/netty/bio/TimeServerhandlerExecutePool.java
src/chile/netty/bio/TimeServerhandlerExecutePool.java
package chile.netty.bio; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.ExecutorService; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; /** * Created on 2017/3/6. * by huayu. * function : */ public class TimeServerHandlerExecutePool { priva...
package chile.netty.bio; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.ExecutorService; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; /** * Created on 2017/3/6. * by chile. * function : */ public class TimeServerHandlerExecutePool { priva...
Test intellij idea git commit and push to remote ...
Test intellij idea git commit and push to remote ...
Java
mit
chilejiang1024/codes,chilejiang1024/codes,chilejiang1024/codes,chilejiang1024/codes,chilejiang1024/codes,chilejiang1024/codes
336b7d8e660994055dfe4bb29ed4185676bf2aa4
src/main/java/com/amee/domain/ProfileItemService.java
src/main/java/com/amee/domain/ProfileItemService.java
package com.amee.domain; import com.amee.base.domain.ResultsWrapper; import com.amee.domain.data.DataCategory; import com.amee.domain.item.BaseItemValue; import com.amee.domain.item.profile.ProfileItem; import com.amee.domain.item.profile.ProfileItemNumberValue; import com.amee.domain.profile.Profile; import com.amee....
package com.amee.domain; import com.amee.base.domain.ResultsWrapper; import com.amee.domain.data.DataCategory; import com.amee.domain.item.BaseItemValue; import com.amee.domain.item.profile.ProfileItem; import com.amee.domain.item.profile.ProfileItemNumberValue; import com.amee.domain.profile.Profile; import com.amee....
Remove equivalentProfileItemExists method from interface. PL-11206.
Remove equivalentProfileItemExists method from interface. PL-11206.
Java
mit
OpenAMEE/amee.platform.api
39c5b66f157436a4e5e657a67a40e2ea05c1c8d0
src/main/java/com/decker/essentiallib/API/PageAPI.java
src/main/java/com/decker/essentiallib/API/PageAPI.java
package com.decker.essentiallib.API; public class PageAPI { }
package com.decker.essentiallib.API; import com.decker.essentiallib.Page; import com.decker.essentiallib.PageTitleIcon; import com.decker.essentiallib.Reactor; public class PageAPI { public static void reigsterPage(String title, String url, PageTitleIcon icon) { Reactor.getReactor().addSidelistItem(title...
Add register page and pre-load js functions to API
Add register page and pre-load js functions to API
Java
mit
DeckerCHAN/EssentialLib,DeckerCHAN/EssentialLib
6c9cfbe648f862719d449f3187d279b8f409b7bb
components/camel-spring-integration/src/test/java/org/apache/camel/component/spring/integration/MyProcessor.java
components/camel-spring-integration/src/test/java/org/apache/camel/component/spring/integration/MyProcessor.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Revert "CAMEL-14020 - Migrate getOut to getMessage in camel-spring-integration"
Revert "CAMEL-14020 - Migrate getOut to getMessage in camel-spring-integration" This reverts commit d3586cc0af2af7719f5612ab3398d079f398e1ef.
Java
apache-2.0
cunningt/camel,DariusX/camel,alvinkwekel/camel,mcollovati/camel,tadayosi/camel,adessaigne/camel,pmoerenhout/camel,alvinkwekel/camel,ullgren/camel,apache/camel,cunningt/camel,nikhilvibhav/camel,nicolaferraro/camel,mcollovati/camel,pmoerenhout/camel,tdiesler/camel,apache/camel,christophd/camel,gnodet/camel,apache/camel,a...
8682521f7c39ccf9d25e7f945400f412d092f228
Maestro/src/in/co/nebulax/maestro/RegistrationActivity.java
Maestro/src/in/co/nebulax/maestro/RegistrationActivity.java
package in.co.nebulax.maestro; import android.os.Bundle; import com.actionbarsherlock.app.SherlockActivity; public class RegistrationActivity extends SherlockActivity{ @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_registr...
package in.co.nebulax.maestro; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.CheckBox; import android.widget.EditText; import android.widget.TextView; import com.actionbarsherlock.app.She...
Add functionality for prelimnary layout
Add functionality for prelimnary layout
Java
mit
NebulaX/Maestro,NebulaX/Maestro
71737af2aeb7a21b841dbd9c57fc1b6cd855ae78
src/main/java/com/github/ingarabr/mi/EsWriter.java
src/main/java/com/github/ingarabr/mi/EsWriter.java
package com.github.ingarabr.mi; import java.util.Queue; import java.util.concurrent.LinkedBlockingQueue; import org.elasticsearch.client.Client; public class EsWriter implements Runnable { private final Client esClient; private final Queue<String> writeQueue = new LinkedBlockingQueue<String>(); private...
package com.github.ingarabr.mi; import org.elasticsearch.client.Client; import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; public class EsWriter implements Runnable { private final Client esClient; private final BlockingQueue<String> writeQueue = new LinkedBlockingQue...
Use blocking call to queue and null safe it.
Use blocking call to queue and null safe it.
Java
apache-2.0
ingarabr/metric-insights,ingarabr/metric-insights,ingarabr/metric-insights