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
5a8b53a1e0e481f82c53e5fac84986e6ecc27dac
ontology-common/src/main/java/uk/ac/ebi/quickgo/ontology/common/coterms/CoTermRepoConfig.java
ontology-common/src/main/java/uk/ac/ebi/quickgo/ontology/common/coterms/CoTermRepoConfig.java
package uk.ac.ebi.quickgo.ontology.common.coterms; import java.io.IOException; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.io.Resource; /** * Configuration c...
package uk.ac.ebi.quickgo.ontology.common.coterms; import java.io.IOException; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.io.Resource; /** * Configuration c...
Replace constructors with static factory methods.
Replace constructors with static factory methods.
Java
apache-2.0
ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE
5f1d4ca7b633046b3b862904d8ac6ce59b3b72f7
java/squeek/speedometer/SpeedometerKeyHandler.java
java/squeek/speedometer/SpeedometerKeyHandler.java
package squeek.speedometer; import net.minecraft.client.Minecraft; import net.minecraft.client.settings.KeyBinding; import org.lwjgl.input.Keyboard; import squeek.speedometer.gui.screen.ScreenSpeedometerSettings; import cpw.mods.fml.client.registry.ClientRegistry; import cpw.mods.fml.common.eventhandler.SubscribeEvent...
package squeek.speedometer; import net.minecraft.client.Minecraft; import net.minecraft.client.settings.KeyBinding; import org.lwjgl.input.Keyboard; import squeek.speedometer.gui.screen.ScreenSpeedometerSettings; import cpw.mods.fml.client.registry.ClientRegistry; import cpw.mods.fml.common.eventhandler.SubscribeEvent...
Fix special keys opening menu when key is unbound
Backport: Fix special keys opening menu when key is unbound (backport of daec4de7bf091f84a789c90d3956f5aa91486203 to affected branches)
Java
unlicense
squeek502/Squeedometer
dc9170ed78fddaa52568103592c2bb58533c8f0c
src/main/java/com/jaiwo99/cards/service/JiangDealServiceImpl.java
src/main/java/com/jaiwo99/cards/service/JiangDealServiceImpl.java
package com.jaiwo99.cards.service; import com.jaiwo99.cards.deal.JiangDealStrategy; import com.jaiwo99.cards.domain.Jiang; import com.jaiwo99.cards.repository.CardDealRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** ...
package com.jaiwo99.cards.service; import com.jaiwo99.cards.deal.JiangDealStrategy; import com.jaiwo99.cards.domain.Jiang; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * @author liang - jaiwo99@gmail.com */ @Service public ...
Clean up: removed unused field
Clean up: removed unused field
Java
cc0-1.0
jaiwo99/cards,jaiwo99/cards
402c890bf5660475ad4054196fb08ef8040a8335
src/main/java/de/prob2/ui/consoles/groovy/GroovyConsoleStage.java
src/main/java/de/prob2/ui/consoles/groovy/GroovyConsoleStage.java
package de.prob2.ui.consoles.groovy; import java.io.IOException; import com.google.inject.Inject; import com.google.inject.Singleton; import de.prob2.ui.prob2fx.CurrentStage; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.stage.Stage; import org.slf4j.Logger; import org.slf4j.LoggerFactory; ...
package de.prob2.ui.consoles.groovy; import java.io.IOException; import com.google.inject.Inject; import com.google.inject.Singleton; import de.prob2.ui.prob2fx.CurrentStage; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.stage.Stage; import org.slf4j.Logger; import org.slf4j.LoggerFactory; ...
Fix Groovy console interpreter not being set properly
Fix Groovy console interpreter not being set properly
Java
epl-1.0
bendisposto/prob2-ui,bendisposto/prob2-ui,bendisposto/prob2-ui,bendisposto/prob2-ui
e84d8a8e6f6c4b1e788194d0a9a7112981294ea6
src/main/java/xyz/brassgoggledcoders/moarlibs/MoarLibModBase.java
src/main/java/xyz/brassgoggledcoders/moarlibs/MoarLibModBase.java
package xyz.brassgoggledcoders.moarlibs; import net.minecraft.creativetab.CreativeTabs; import xyz.brassgoggledcoders.boilerplate.BoilerplateModBase; import xyz.brassgoggledcoders.moarlibs.api.IMoarRegister; import xyz.brassgoggledcoders.moarlibs.registries.BlockContainerRegistry; public abstract class MoarLibModBase...
package xyz.brassgoggledcoders.moarlibs; import net.minecraft.creativetab.CreativeTabs; import net.minecraftforge.fml.common.event.FMLPreInitializationEvent; import xyz.brassgoggledcoders.boilerplate.BoilerplateModBase; import xyz.brassgoggledcoders.moarlibs.api.IMoarRegister; import xyz.brassgoggledcoders.moarlibs.re...
Change MoarLibsModBase to force loading of ModuleHandler
Change MoarLibsModBase to force loading of ModuleHandler
Java
mit
BrassGoggledCoders/OpenTransport,BrassGoggledCoders/MoarLibs
929b0670f161e401242989cf87b4a987942dd5d6
src/test/java/hudson/plugins/scm_sync_configuration/util/ScmSyncConfigurationPluginBaseTest.java
src/test/java/hudson/plugins/scm_sync_configuration/util/ScmSyncConfigurationPluginBaseTest.java
package hudson.plugins.scm_sync_configuration.util; import static org.hamcrest.CoreMatchers.notNullValue; import static org.hamcrest.CoreMatchers.nullValue; import static org.junit.Assert.assertThat; import hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin; import hudson.plugins.test.utils.scms.Sc...
package hudson.plugins.scm_sync_configuration.util; import static org.hamcrest.CoreMatchers.notNullValue; import static org.hamcrest.CoreMatchers.nullValue; import static org.junit.Assert.assertThat; import hudson.plugins.scm_sync_configuration.ScmSyncConfigurationPlugin; import hudson.plugins.test.utils.scms.Sc...
Make class abstract so it is not run by test runner
Make class abstract so it is not run by test runner Only subclasses of ScmSyncConfigurationPluginBaseTest should be run by the test runner.
Java
mit
jenkinsci/scm-sync-configuration-plugin,jenkinsci/scm-sync-configuration-plugin,jenkinsci/scm-sync-configuration-plugin
d15bc4a6a100181e39f5bc1514fa73cb270a6c95
opendaylight/adsal/protocol_plugins/stub/src/main/java/org/opendaylight/controller/protocol_plugins/stub/internal/StubNodeFactory.java
opendaylight/adsal/protocol_plugins/stub/src/main/java/org/opendaylight/controller/protocol_plugins/stub/internal/StubNodeFactory.java
/* * Copyright (c) 2014 Cisco Systems, Inc. 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 */ package org....
/* * Copyright (c) 2014 Cisco Systems, Inc. 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 */ package org....
Fix checkstyle if-statements must use braces adsal/protocol_plugins
Fix checkstyle if-statements must use braces adsal/protocol_plugins Change-Id: I2110c4623f141e738b368d0bce0695ebc98809ff Signed-off-by: Thanh Ha <09ea4d3a79c8bee41a16519f6a431f6bc0fd8d6f@linuxfoundation.org>
Java
epl-1.0
Johnson-Chou/test,my76128/controller,aryantaheri/monitoring-controller,mandeepdhami/controller,mandeepdhami/controller,Johnson-Chou/test,522986491/controller,aryantaheri/monitoring-controller,tx1103mark/controller,my76128/controller,mandeepdhami/controller,aryantaheri/monitoring-controller,opendaylight/controller,tx110...
623326c3fe15ab3c365ffba81f78ced5003a8193
org.jrebirth.af/core/src/test/java/org/jrebirth/af/core/command/basic/multi/MultiCommandTest.java
org.jrebirth.af/core/src/test/java/org/jrebirth/af/core/command/basic/multi/MultiCommandTest.java
package org.jrebirth.af.core.command.basic.multi; import org.jrebirth.af.core.command.basic.BasicCommandTest; import org.junit.Test; //@Ignore("JavaFX can't be run in headless mode yet") public class MultiCommandTest extends BasicCommandTest { @Test public void sequentialTest1() { System....
package org.jrebirth.af.core.command.basic.multi; import org.jrebirth.af.core.command.basic.BasicCommandTest; import org.junit.Ignore; import org.junit.Test; @Ignore("JavaFX can't be run in headless mode yet") public class MultiCommandTest extends BasicCommandTest { @Test public void sequentialTe...
Disable test untestable without x server
Disable test untestable without x server
Java
apache-2.0
Rizen59/JRebirth,Rizen59/JRebirth,JRebirth/JRebirth,JRebirth/JRebirth
aa162d5dc42d067814d088e14309c23b7942af32
tests/extensions/emfdomain/tools.vitruv.extensions.emf.monitorededitor.tests/src/tools/vitruv/domains/emf/monitorededitor/test/utils/BasicTestCase.java
tests/extensions/emfdomain/tools.vitruv.extensions.emf.monitorededitor.tests/src/tools/vitruv/domains/emf/monitorededitor/test/utils/BasicTestCase.java
/******************************************************************************* * Copyright (c) 2014 Felix Kutzner. * 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 ...
/******************************************************************************* * Copyright (c) 2014 Felix Kutzner. * 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 ...
Disable debug output in EMF monitored editor tests
Disable debug output in EMF monitored editor tests Fixes #160
Java
epl-1.0
vitruv-tools/Vitruv
19b3255c9873c443952d29cdee3ffb9bee17fde8
src/floobits/common/protocol/send/InitialBase.java
src/floobits/common/protocol/send/InitialBase.java
package floobits.common.protocol.send; import com.intellij.openapi.application.ApplicationInfo; import floobits.common.protocol.Base; public abstract class InitialBase implements Base { public String platform = System.getProperty("os.name"); public String version = "0.10"; String client = ApplicationInfo....
package floobits.common.protocol.send; import com.intellij.openapi.application.ApplicationInfo; import floobits.common.Constants; import floobits.common.protocol.Base; public abstract class InitialBase implements Base { public String platform = System.getProperty("os.name"); public String version = Constants....
Use constants for version. Updates version.
Use constants for version. Updates version.
Java
apache-2.0
Floobits/floobits-intellij
d26c5d08eee3927e9984274dda554682a5b13ce4
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetErratumByIdForHostQuery.java
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/GetErratumByIdForHostQuery.java
package org.ovirt.engine.core.bll; import org.ovirt.engine.core.bll.host.provider.HostProviderProxy; import org.ovirt.engine.core.bll.provider.ProviderProxyFactory; import org.ovirt.engine.core.common.businessentities.Provider; import org.ovirt.engine.core.common.businessentities.VdsStatic; import org.ovirt.engine.cor...
package org.ovirt.engine.core.bll; import javax.inject.Inject; import org.ovirt.engine.core.bll.host.provider.HostProviderProxy; import org.ovirt.engine.core.bll.provider.ProviderProxyFactory; import org.ovirt.engine.core.common.businessentities.Provider; import org.ovirt.engine.core.common.businessentities.VdsStatic...
Use injection instead of static access
engine: Use injection instead of static access Change-Id: I952ff108e4fc8cdcbd9050206e045e22e1f2684d Signed-off-by: Moti Asayag <da1debb83a8e12b6e8822edf2c275f55cc51b720@redhat.com>
Java
apache-2.0
OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine
01f17010a645702a55d9b28ceee63611c282acfd
src/core/org/apache/jmeter/testbeans/gui/TypeEditor.java
src/core/org/apache/jmeter/testbeans/gui/TypeEditor.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 ...
Allow descriptor to be passed to TextAreaEditor (for eventual use in SyntaxTextArea setup)
Allow descriptor to be passed to TextAreaEditor (for eventual use in SyntaxTextArea setup) git-svn-id: 5ccfe34f605a6c2f9041ff2965ab60012c62539a@1501283 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
DoctorQ/jmeter,kyroskoh/jmeter,vherilier/jmeter,kyroskoh/jmeter,thomsonreuters/jmeter,kyroskoh/jmeter,ThiagoGarciaAlves/jmeter,max3163/jmeter,ra0077/jmeter,kschroeder/jmeter,irfanah/jmeter,max3163/jmeter,thomsonreuters/jmeter,ubikfsabbe/jmeter,fj11/jmeter,max3163/jmeter,liwangbest/jmeter,ra0077/jmeter,liwangbest/jmeter...
589f7ef9a237378f0b85f7867759d0c2de69c059
src/main/java/com/auth0/net/Request.java
src/main/java/com/auth0/net/Request.java
package com.auth0.net; import com.auth0.exception.APIException; import com.auth0.exception.Auth0Exception; import java.util.concurrent.CompletableFuture; /** * Class that represents an HTTP Request that can be executed. * * @param <T> the type of payload expected in the response after the execution. */ public in...
package com.auth0.net; import com.auth0.exception.APIException; import com.auth0.exception.Auth0Exception; import java.util.concurrent.CompletableFuture; /** * Class that represents an HTTP Request that can be executed. * * @param <T> the type of payload expected in the response after the execution. */ public in...
Fix JavaDoc tags for Java8
Fix JavaDoc tags for Java8
Java
mit
auth0/auth0-api-java,auth0/auth0-java
6059dc2b63e2d88875b8c9e65b13d2af91cadd26
src/main/java/ee/tuleva/onboarding/config/MDCFilter.java
src/main/java/ee/tuleva/onboarding/config/MDCFilter.java
package ee.tuleva.onboarding.config; import java.io.IOException; import java.security.Principal; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; import lombok.extern.slf4j.S...
package ee.tuleva.onboarding.config; import io.sentry.Sentry; import java.io.IOException; import java.security.Principal; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServletRequest; imp...
Add personal id as a Sentry scope tag so its searchable
Add personal id as a Sentry scope tag so its searchable
Java
mit
TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service
3d28302ccd38ab334ae9a83c1868456843ae3ffd
src/node/company/TransactionContentGenerator.java
src/node/company/TransactionContentGenerator.java
package node.company; import org.joda.time.DateTime; import data.trainnetwork.BookableSection; import transaction.FailedTransactionException; import transaction.TransactionContent; import transaction.Vault; public abstract class TransactionContentGenerator extends TransactionContent<String, Vault<BookableSection>> {...
package node.company; import java.util.Map; import org.joda.time.DateTime; import data.trainnetwork.BookableSection; import transaction.FailedTransactionException; import transaction.TransactionContent; import transaction.Vault; public abstract class TransactionContentGenerator extends TransactionContent<String, Va...
Extend test code to verify behaviour of vaults with transactions
Extend test code to verify behaviour of vaults with transactions
Java
mit
balazspete/multi-hop-train-journey-booking
395c608b30d384d743f2e1c4085c4beed2a10305
parity-reporter/src/main/java/org/jvirtanen/parity/reporter/Display.java
parity-reporter/src/main/java/org/jvirtanen/parity/reporter/Display.java
package org.jvirtanen.parity.reporter; import static org.jvirtanen.lang.Strings.*; import org.jvirtanen.parity.net.ptr.PTR; import org.jvirtanen.parity.net.ptr.PTRListener; import java.util.Locale; class Display implements PTRListener { private static final double PRICE_FACTOR = 10000.0; private static fin...
package org.jvirtanen.parity.reporter; import static org.jvirtanen.lang.Strings.*; import java.util.Locale; import org.jvirtanen.parity.net.ptr.PTR; import org.jvirtanen.parity.net.ptr.PTRListener; class Display implements PTRListener { private static final double PRICE_FACTOR = 10000.0; private static fin...
Clean up imports in trade reporter
Clean up imports in trade reporter
Java
apache-2.0
pmcs/parity,paritytrading/parity,pmcs/parity,paritytrading/parity
4e5807ba272580dbc6e94859819d0a6f33ce6a5d
test/fitnesse/slim/instructions/MakeInstructionTest.java
test/fitnesse/slim/instructions/MakeInstructionTest.java
package fitnesse.slim.instructions; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.*; public class MakeInstructionTest { private static final String...
package fitnesse.slim.instructions; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.mockito.Mockito.*; public class MakeInstructionTest { private static final String ID = "id_1"; private ...
Simplify test setup a bit
Simplify test setup a bit
Java
epl-1.0
hansjoachim/fitnesse,amolenaar/fitnesse,hansjoachim/fitnesse,jdufner/fitnesse,rbevers/fitnesse,rbevers/fitnesse,hansjoachim/fitnesse,amolenaar/fitnesse,jdufner/fitnesse,amolenaar/fitnesse,jdufner/fitnesse,rbevers/fitnesse
5a001eaf055065dd08e86159e31a665adc1d7341
src/se/raddo/raddose3D/WriterString.java
src/se/raddo/raddose3D/WriterString.java
package se.raddo.raddose3D; /** * WriterString writes all received data to a string. */ public class WriterString extends Writer { /** All received data is kept in a Stringbuffer. */ private final StringBuffer data = new StringBuffer(); /** After close() is called further data results in RuntimeExceptions....
package se.raddo.raddose3D; /** * WriterString writes all received data to a string. */ public class WriterString extends Writer { /** All received data is kept in a Stringbuffer. */ private final StringBuffer data = new StringBuffer(); /** After close() is called further data results in RuntimeExceptions....
Optimize StringBuffer if string is final.
Optimize StringBuffer if string is final.
Java
agpl-3.0
GarmanGroup/RADDOSE-3D,GarmanGroup/RADDOSE-3D,GarmanGroup/RADDOSE-3D,GarmanGroup/RADDOSE-3D
de738db5298dd40bf9b2b1023d89e345913f759a
client-gwt/src/main/java/org/realityforge/replicant/client/runtime/gwt/GwtReplicantClientSystemImpl.java
client-gwt/src/main/java/org/realityforge/replicant/client/runtime/gwt/GwtReplicantClientSystemImpl.java
package org.realityforge.replicant.client.runtime.gwt; import com.google.gwt.event.shared.EventBus; import com.google.gwt.user.client.Timer; import javax.annotation.Nonnull; import javax.inject.Inject; import javax.inject.Singleton; import org.realityforge.replicant.client.runtime.DataLoaderEntry; import org.realityfo...
package org.realityforge.replicant.client.runtime.gwt; import com.google.gwt.event.shared.EventBus; import com.google.gwt.user.client.Timer; import javax.annotation.Nonnull; import javax.inject.Inject; import javax.inject.Singleton; import org.realityforge.replicant.client.runtime.DataLoaderEntry; import org.realityfo...
Remove reference to removed class
Remove reference to removed class
Java
apache-2.0
realityforge/replicant,realityforge/replicant
c4327be086d272b5ea7201b74e592cdefa2ae992
subprojects/build-scan-performance/src/templates/with-verbose-junit/Test.java
subprojects/build-scan-performance/src/templates/with-verbose-junit/Test.java
package ${packageName}; import static org.junit.Assert.*; public class ${testClassName} { private final ${productionClassName} production = new ${productionClassName}("value"); @org.junit.Test public void testOne() throws Exception { for (int i = 0; i < 500; i++) { System.out.println...
package ${packageName}; import static org.junit.Assert.*; public class ${testClassName} { private final ${productionClassName} production = new ${productionClassName}("value"); @org.junit.Test public void testOne() throws Exception { for (int i = 0; i < 500; i++) { System.out.println...
Make tests more realistic by doing some “work” other than writing console output.
Make tests more realistic by doing some “work” other than writing console output.
Java
apache-2.0
lsmaira/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,lsmaira/gradle,robinverduijn/gradle,gstevey/gradle,lsmaira/gradle,gstevey/gradle,gradle/gradle,gradle/gradle,lsmaira/gradle,lsmaira/gradle,gstevey/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,lsmaira/gradle,gradle/gradle,robinverduijn/gradl...
e92505e4172f1021c8794c84b544b5d2fc6e288f
src/main/java/redux/api/enhancer/Middleware.java
src/main/java/redux/api/enhancer/Middleware.java
package redux.api.enhancer; import redux.api.Dispatcher; import redux.api.StateProvider; /** * A middleware is an interface that composes a {@link Dispatcher} to return a new dispatch function. It often turns * async actions into actions. * * @see <a href="http://redux.js.org/docs/advanced/Middleware.html">http:/...
package redux.api.enhancer; import redux.api.Dispatcher; import redux.api.StateProvider; /** * A middleware is an interface that composes a {@link Dispatcher} to return a new dispatch function. It often turns * async actions into actions. * * @see <a href="http://redux.js.org/docs/advanced/Middleware.html">http:/...
Rename `next` to `dispatcher` to avoid confusion from JS source.
Rename `next` to `dispatcher` to avoid confusion from JS source.
Java
mit
jvm-redux/jvm-redux-api
3fa0dd1c2183fd00f8ec7162936dfdf63a34f858
data-service/src/main/java/org/ihtsdo/buildcloud/service/build/transform/RepeatableRelationshipUUIDTransform.java
data-service/src/main/java/org/ihtsdo/buildcloud/service/build/transform/RepeatableRelationshipUUIDTransform.java
package org.ihtsdo.buildcloud.service.build.transform; import org.ihtsdo.buildcloud.service.build.RF2Constants; import org.ihtsdo.buildcloud.service.helper.Type5UuidFactory; import java.io.UnsupportedEncodingException; import java.security.NoSuchAlgorithmException; public class RepeatableRelationshipUUIDTransform im...
package org.ihtsdo.buildcloud.service.build.transform; import org.ihtsdo.buildcloud.service.build.RF2Constants; import org.ihtsdo.buildcloud.service.helper.Type5UuidFactory; import java.io.UnsupportedEncodingException; import java.security.NoSuchAlgorithmException; public class RepeatableRelationshipUUIDTransform im...
Allow SCTID in relationship file to be actually null, not just "null"
Allow SCTID in relationship file to be actually null, not just "null"
Java
apache-2.0
IHTSDO/snomed-release-service,IHTSDO/snomed-release-service
38fd8c9cd1c97434e02d26965d0017d137269c67
server/src/test/java/fgis/server/support/geojson/GjGeometryTest.java
server/src/test/java/fgis/server/support/geojson/GjGeometryTest.java
package fgis.server.support.geojson; import org.geolatte.geom.Geometry; import org.testng.annotations.Test; import static org.testng.Assert.*; public final class GjGeometryTest extends AbstractGjElementTest { @Test public void geometry() throws Exception { final Geometry geometry = fromWkT( "POINT (1 ...
package fgis.server.support.geojson; import org.geolatte.geom.Geometry; import org.testng.annotations.Test; import static org.testng.Assert.*; public final class GjGeometryTest extends AbstractGjElementTest { @Test public void basic() throws Exception { final Geometry geometry = fromWkT( "POINT (1 1)"...
Rename tests with more sensible names
Rename tests with more sensible names
Java
apache-2.0
RHoKAustralia/melb-fgis-java,RHoKAustralia/melb-fgis-java,RHoKAustralia/melb-fgis-java,RHoKAustralia/melb-fgis-java
1d09160893eabc5a710d67c96bf3975b3a95eef3
src/main/java/io/gravitee/repository/api/ApplicationRepository.java
src/main/java/io/gravitee/repository/api/ApplicationRepository.java
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.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 requ...
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.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 requ...
Add service to retrieve list of Applications by team
Add service to retrieve list of Applications by team
Java
apache-2.0
gravitee-io/gravitee-repository
0862bb8c849a3af559f50c8efab3ad61370ef5f6
reactive-streams-operators/reactive-streams-operators/deployment/src/main/java/org/jboss/shamrock/rsops/ReactiveStreamsOperatorsProcessor.java
reactive-streams-operators/reactive-streams-operators/deployment/src/main/java/org/jboss/shamrock/rsops/ReactiveStreamsOperatorsProcessor.java
package org.jboss.shamrock.rsops; import io.smallrye.reactive.streams.Engine; import org.eclipse.microprofile.reactive.streams.ReactiveStreamsFactory; import org.eclipse.microprofile.reactive.streams.core.ReactiveStreamsFactoryImpl; import org.eclipse.microprofile.reactive.streams.spi.ReactiveStreamsEngine; import org...
package org.jboss.shamrock.rsops; import io.smallrye.reactive.streams.Engine; import org.eclipse.microprofile.reactive.streams.ReactiveStreamsFactory; import org.eclipse.microprofile.reactive.streams.core.ReactiveStreamsFactoryImpl; import org.eclipse.microprofile.reactive.streams.spi.ReactiveStreamsEngine; import org...
Use the new SPI support in the SmallRye Reactive Streams Operators processor
Use the new SPI support in the SmallRye Reactive Streams Operators processor
Java
apache-2.0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
39d21adfeb1f70f6bbb036b4b5f7eb930881eab1
spring-security-cas-extension/src/main/java/com/kakawait/spring/security/cas/web/authentication/DefaultProxyCallbackAndServiceAuthenticationDetails.java
spring-security-cas-extension/src/main/java/com/kakawait/spring/security/cas/web/authentication/DefaultProxyCallbackAndServiceAuthenticationDetails.java
package com.kakawait.spring.security.cas.web.authentication; import org.springframework.security.cas.ServiceProperties; import org.springframework.security.web.util.UrlUtils; import org.springframework.web.util.UriComponentsBuilder; import javax.servlet.http.HttpServletRequest; /** * @author Thibaud Leprêtre */ cl...
package com.kakawait.spring.security.cas.web.authentication; import org.springframework.security.cas.ServiceProperties; import org.springframework.security.web.util.UrlUtils; import org.springframework.util.StringUtils; import org.springframework.web.util.UriComponentsBuilder; import javax.servlet.http.HttpServletReq...
Use null if query strings are empty
Use null if query strings are empty Using `UrlUtils.buildFullRequestUrl()` if query string equals to `""` that will append `?` (but without any query string) at the end of the request. fixes #44
Java
mit
kakawait/cas-security-spring-boot-starter,kakawait/cas-security-spring-boot-starter,kakawait/cas-security-spring-boot-starter
a4edc1c88ed73ea1bc35c7dd140f350b90949e63
LetterGame/src/test/java/fr/esiea/unique/binome/name/dictionary/PiocheTest.java
LetterGame/src/test/java/fr/esiea/unique/binome/name/dictionary/PiocheTest.java
package fr.esiea.unique.binome.name.dictionary; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import org.junit.Test; /** * * @author Florent * */ public class PiocheTest { private Pioche pioche = new Pioche(); @Test public void testMeilleurLettre() { char l1 = 'a...
package fr.esiea.unique.binome.name.dictionary; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertTrue; import org.junit.Test; /** * * @author Florent * */ public class PiocheTest { private Pioche pioche = new Pioche(); @Test p...
Test du random de la pioche
Test du random de la pioche
Java
mit
RaphIancu/LetterGame-IANCU-COULON
09240c56f36dea23571ce8796b1732bbdc498e1e
jar-service/src/main/java/com/sixsq/slipstream/resource/MeteringRedirector.java
jar-service/src/main/java/com/sixsq/slipstream/resource/MeteringRedirector.java
package com.sixsq.slipstream.resource; import org.restlet.Context; import org.restlet.Request; import org.restlet.Response; import org.restlet.data.Reference; import org.restlet.routing.Redirector; public class MeteringRedirector extends Redirector { public MeteringRedirector(Context context, String targetPattern, ...
package com.sixsq.slipstream.resource; import org.restlet.Context; import org.restlet.Request; import org.restlet.Response; import org.restlet.data.Reference; import org.restlet.routing.Redirector; public class MeteringRedirector extends Redirector { public MeteringRedirector(Context context, String targetPattern, ...
Add query fragment to target
Add query fragment to target
Java
apache-2.0
slipstream/SlipStreamServer,slipstream/SlipStreamServer,slipstream/SlipStreamServer,slipstream/SlipStreamServer
37d57af6ecd1dedae3b3efac42c3ce97b08b1a4f
common/src/main/java/us/myles/ViaVersion/commands/defaultsubs/DisplayLeaksSubCmd.java
common/src/main/java/us/myles/ViaVersion/commands/defaultsubs/DisplayLeaksSubCmd.java
package us.myles.ViaVersion.commands.defaultsubs; import io.netty.util.ResourceLeakDetector; import us.myles.ViaVersion.api.command.ViaCommandSender; import us.myles.ViaVersion.api.command.ViaSubCommand; public class DisplayLeaksSubCmd extends ViaSubCommand { @Override public String name() { return "d...
package us.myles.ViaVersion.commands.defaultsubs; import io.netty.util.ResourceLeakDetector; import us.myles.ViaVersion.api.command.ViaCommandSender; import us.myles.ViaVersion.api.command.ViaSubCommand; public class DisplayLeaksSubCmd extends ViaSubCommand { @Override public String name() { return "d...
Change ResourceLeakDetector to PARANOID for displayleaks
Change ResourceLeakDetector to PARANOID for displayleaks
Java
mit
MylesIsCool/ViaVersion
8bd7ef57c89abab13f89ee667f2c2df000dcce2c
online-local/src/net/myrrix/online/partition/PartitionLoaderImpl.java
online-local/src/net/myrrix/online/partition/PartitionLoaderImpl.java
/* * Copyright Myrrix Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
/* * Copyright Myrrix Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
Use some Guava .net classes to clean up code a little
Use some Guava .net classes to clean up code a little
Java
apache-2.0
rajatchhajed/myrrix-recommender,rajatchhajed/myrrix-recommender,rajatchhajed/myrrix-recommender
c7ff8ea8646193e2db3688c4fefb26dba34ce1f7
generator/templates/javadoc_added_deprecated.java
generator/templates/javadoc_added_deprecated.java
{%- if (see is defined and see is not none) or (deprecated is defined and deprecated is not none) or (since is defined and since is not none) %} {%- if begin is defined %} {{spacing}}{{begin}} {%- endif %} {%- if deprecated is defined and deprecated is not none and since is defined and since is not none %} {{spacing}} ...
{%- if (see is defined and see is not none) or (deprecated is defined and deprecated is not none) or (since is defined and since is not none) %} {%- if begin is defined %} {{spacing}}{{begin}} {%- endif %} {%- if deprecated is defined and deprecated is not none %} {{spacing}} * @since in SmartDeviceLink {{history[0].si...
Refactor since & deprecated generation format
Refactor since & deprecated generation format
Java
bsd-3-clause
smartdevicelink/sdl_android
3fc3401c0865510c906f41d78a4651fe36656b5a
transport/src/main/java/com/sun/nio/sctp/HandlerResult.java
transport/src/main/java/com/sun/nio/sctp/HandlerResult.java
/* * Copyright 2011 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
/* * Copyright 2011 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
Remove bad Javadoc in SCTP classes.
Remove bad Javadoc in SCTP classes.
Java
apache-2.0
ngocdaothanh/netty,Mounika-Chirukuri/netty,kvr000/netty,chrisprobst/netty,carlbai/netty,huuthang1993/netty,codevelop/netty,Kingson4Wu/netty,woshilaiceshide/netty,sammychen105/netty,lukw00/netty,KatsuraKKKK/netty,Kalvar/netty,Spikhalskiy/netty,develar/netty,shuangqiuan/netty,mcobrien/netty,xiexingguang/netty,eincs/netty...
5586df81c6a3c342cb5f115b49016f92f2376090
jokelib/src/main/java/com/jmlb0003/jokes/gradlejokesproject/Joker.java
jokelib/src/main/java/com/jmlb0003/jokes/gradlejokesproject/Joker.java
package com.jmlb0003.jokes.gradlejokesproject; public final class Joker { private Joker() { } public static String getJoke() { return "This is totally a funny joke"; } }
package com.jmlb0003.jokes.gradlejokesproject; import java.util.ArrayList; import java.util.List; import java.util.Random; public final class Joker { private List<String> jokes; public Joker() { jokes = new ArrayList<>(); jokes.add("This is totally a funny joke"); jokes.add("This is ...
Add more jokes to show and make the returned joke random
Add more jokes to show and make the returned joke random
Java
mit
Jamargle/GradleJokesProject,Jamargle/GradleJokesProject
6894f6b1824faaa90899e39720f107af4ac7bd33
src/main/java/com/oreilly/learningsparkexamples/java/BasicFlatMap.java
src/main/java/com/oreilly/learningsparkexamples/java/BasicFlatMap.java
/** * Illustrates a simple flatMap in Java to extract the words */ package com.oreilly.learningsparkexamples.java; import java.util.Arrays; import java.util.List; import org.apache.commons.lang.StringUtils; import org.apache.spark.api.java.JavaRDD; import org.apache.spark.api.java.JavaSparkContext; import org.apac...
/** * Illustrates a simple flatMap in Java to extract the words */ package com.oreilly.learningsparkexamples.java; import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.apache.commons.lang.StringUtils; import org.apache.spark.api.java.JavaRDD; import org.apac...
Make the basicflatmap example be a wordcount example
Make the basicflatmap example be a wordcount example
Java
mit
zaxliu/learning-spark,huydx/learning-spark,holdenk/learning-spark-examples,diogoaurelio/learning-spark,junwucs/learning-spark,mohitsh/learning-spark,UsterNes/learning-spark,negokaz/learning-spark,GatsbyNewton/learning-spark,junwucs/learning-spark,jaehyuk/learning-spark,JerryTseng/learning-spark,coursera4ashok/learning-...
2738d7122b4de353a277e70cd374f9c212139a90
src/org/mtransit/parser/mt/data/MServiceDate.java
src/org/mtransit/parser/mt/data/MServiceDate.java
package org.mtransit.parser.mt.data; public class MServiceDate implements Comparable<MServiceDate> { public String serviceId; public int calendarDate; public MServiceDate(String serviceId, int calendarDate) { this.serviceId = serviceId; this.calendarDate = calendarDate; } @Override public int compareTo(MS...
package org.mtransit.parser.mt.data; public class MServiceDate implements Comparable<MServiceDate> { public String serviceId; public int calendarDate; public MServiceDate(String serviceId, int calendarDate) { this.serviceId = serviceId; this.calendarDate = calendarDate; } @Override public int compareTo(MS...
Fix service date sorting when multiple services / day.
Fix service date sorting when multiple services / day.
Java
apache-2.0
mtransitapps/parser,mtransitapps/parser
1412d5fee9495f39e3b80e7e30c4fc9419e5bb9d
model-implementation/src/test/java/org/verapdf/model/impl/BaseTest.java
model-implementation/src/test/java/org/verapdf/model/impl/BaseTest.java
package org.verapdf.model.impl; import org.junit.Assert; import org.junit.Test; import org.verapdf.model.ModelHelper; import java.net.URISyntaxException; import java.net.URL; import java.nio.file.Path; import java.nio.file.Paths; import java.util.List; /** * @author Evgeniy Muravitskiy */ public abstract class Ba...
package org.verapdf.model.impl; import org.junit.Assert; import org.junit.Test; import org.verapdf.model.ModelHelper; import java.net.URISyntaxException; import java.net.URL; import java.nio.file.Path; import java.nio.file.Paths; import java.util.List; /** * @author Evgeniy Muravitskiy */ public abstract class Ba...
Add new test for all classes
Add new test for all classes
Java
mpl-2.0
carlwilson/veraPDF-library
b6de7b132a0733737658b7ba5d1262f825ad9ca4
src/test/java/com/clxcommunications/xms/ApiErrorTest.java
src/test/java/com/clxcommunications/xms/ApiErrorTest.java
package com.clxcommunications.xms; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import org.apache.commons.lang3.RandomStringUtils; import org.apache.commons.lang3.StringEscapeUtils; import org.junit.Test; public class ApiErrorTest { private final ApiObjectMapper json = new...
package com.clxcommunications.xms; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import org.apache.commons.lang3.StringEscapeUtils; import org.junit.runner.RunWith; import com.pholser.junit.quickcheck.Property; import com.pholser.junit.quickcheck.runner.JUnitQuickcheck; @Run...
Use JUnit QuickCheck in ApiError test
Use JUnit QuickCheck in ApiError test
Java
apache-2.0
clxcommunications/sdk-xms-java
9f1e43a060919eb5537d26f540610a22a7df5e07
log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/JmxRuntimeInputArgumentsLookup.java
log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/JmxRuntimeInputArgumentsLookup.java
package org.apache.logging.log4j.core.lookup; import java.lang.management.ManagementFactory; import java.util.List; import java.util.Map; import org.apache.logging.log4j.core.config.plugins.Plugin; /** * Maps JVM input arguments (but not main arguments) using JMX to acquire JVM arguments. * * @see java.lang.mana...
package org.apache.logging.log4j.core.lookup; import java.lang.management.ManagementFactory; import java.util.List; import java.util.Map; import org.apache.logging.log4j.core.config.plugins.Plugin; /** * Maps JVM input arguments (but not main arguments) using JMX to acquire JVM arguments. * * @see java.lang.mana...
Add lookup for JVM arguments. Add missing ctor.
[LOG4J2-787] Add lookup for JVM arguments. Add missing ctor. git-svn-id: de5ce936019686f47409c93bcc5e202a9739563b@1619302 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
lburgazzoli/logging-log4j2,apache/logging-log4j2,renchunxiao/logging-log4j2,renchunxiao/logging-log4j2,ChetnaChaudhari/logging-log4j2,GFriedrich/logging-log4j2,xnslong/logging-log4j2,neuro-sys/logging-log4j2,lburgazzoli/apache-logging-log4j2,GFriedrich/logging-log4j2,codescale/logging-log4j2,lburgazzoli/apache-logging-...
819c26290e12689bb95d1aba7ae0cfbf81e8a9b3
tests/src/test/java/com/gopivotal/cloudfoundry/test/buildpack/AbstractAutoReconfigurationTest.java
tests/src/test/java/com/gopivotal/cloudfoundry/test/buildpack/AbstractAutoReconfigurationTest.java
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Test grails app with all non-relational services
Test grails app with all non-relational services
Java
apache-2.0
cloudfoundry/java-buildpack-system-test,kelapure/java-buildpack-system-test,cloudfoundry/java-buildpack-system-test
93776d6ef33c3522219e133cbf29bec62649620f
jxmpp-core/src/main/java/org/jxmpp/stringprep/XmppStringprepException.java
jxmpp-core/src/main/java/org/jxmpp/stringprep/XmppStringprepException.java
/** * * Copyright © 2014-2015 Florian Schmaus * * 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 la...
/** * * Copyright © 2014-2015 Florian Schmaus * * 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 la...
Make stringprep exception extend IOException
Make stringprep exception extend IOException
Java
apache-2.0
Flowdalic/jxmpp,igniterealtime/jxmpp,igniterealtime/jxmpp,igniterealtime/jxmpp,Flowdalic/jxmpp,Flowdalic/jxmpp,ishan1604/jxmpp
ec33ed8a50d966bd54c8622eebce9b6aa2667e43
src/main/ServerResponse.java
src/main/ServerResponse.java
import java.io.IOException; import java.net.*; public class ServerResponse { public static void response(URL url) throws IOException { HttpURLConnection connection = (HttpURLConnection) url.openConnection(); } }
package com.complet; import java.io.IOException; import java.net.*; public class ServerResponse { public static void response(URL url) throws IOException { HttpURLConnection connection = (HttpURLConnection) url.openConnection(); try { connection.connect(); } catch (Exception exp) { System.err.pr...
Call the connect method -of HttpUrlConnection Class- to initiate the connection, catch exceptions, define the package
Call the connect method -of HttpUrlConnection Class- to initiate the connection, catch exceptions, define the package
Java
apache-2.0
milouk/Web_Crawler
08404b9c96dcacfea352e99bed646be378d4250b
app/src/main/java/com/henriquenfaria/popularmovies/data/MoviesDbHelper.java
app/src/main/java/com/henriquenfaria/popularmovies/data/MoviesDbHelper.java
package com.henriquenfaria.popularmovies.data; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import com.henriquenfaria.popularmovies.data.MoviesContract.MovieEntry; public class MoviesDbHelper extends SQLiteOpenHelper { private s...
package com.henriquenfaria.popularmovies.data; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import com.henriquenfaria.popularmovies.data.MoviesContract.MovieEntry; public class MoviesDbHelper extends SQLiteOpenHelper { private s...
Change db name to favorite_movies.db
Change db name to favorite_movies.db
Java
apache-2.0
henriquenfaria/popular-movies-stage-2
0b9c49410e6f0b4d360bac02afeadd7c1bfaecd2
goci-interfaces/goci-curation/src/main/java/uk/ac/ebi/spot/goci/curation/model/StudyFileSummary.java
goci-interfaces/goci-curation/src/main/java/uk/ac/ebi/spot/goci/curation/model/StudyFileSummary.java
package uk.ac.ebi.spot.goci.curation.model; /** * Created by emma on 15/04/2016. * * @author emma * <p> * An object to represent details we have about a study file */ public class StudyFileSummary { private String fileName; public StudyFileSummary(String fileName) { this.fileNam...
package uk.ac.ebi.spot.goci.curation.model; /** * Created by emma on 15/04/2016. * * @author emma * <p> * An object to represent details we have about a study file */ public class StudyFileSummary { private String fileName; private String link; public StudyFileSummary(String fi...
Add file link as attribute
Add file link as attribute
Java
apache-2.0
EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci,EBISPOT/goci
2b088b8e39529605b76f5d9d8d50da91ef5561da
jena-arq/src/test/java/org/apache/jena/riot/lang/TS_Lang.java
jena-arq/src/test/java/org/apache/jena/riot/lang/TS_Lang.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...
Stop error messages (from TestPipedRDFIterators) appearing in the console output.
Stop error messages (from TestPipedRDFIterators) appearing in the console output. git-svn-id: bc509ec38c1227b3e85ea1246fda136342965d36@1444626 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
apache/jena,tr3vr/jena,samaitra/jena,tr3vr/jena,jianglili007/jena,apache/jena,CesarPantoja/jena,tr3vr/jena,samaitra/jena,atsolakid/jena,atsolakid/jena,samaitra/jena,CesarPantoja/jena,apache/jena,kamir/jena,tr3vr/jena,jianglili007/jena,apache/jena,jianglili007/jena,CesarPantoja/jena,jianglili007/jena,apache/jena,kidaa/j...
b65c1af09bb81f1ed9566db0f189e9a530523d23
src/cjl_magistri/LoremIpsumText.java
src/cjl_magistri/LoremIpsumText.java
package cjl_magistri; /** * Created with IntelliJ IDEA. * User: larry * Date: 6/20/15 * Time: 5:57 PM * To change this template use File | Settings | File Templates. */ public class LoremIpsumText { public LoremIpsumText(String textSource) { //To change body of created methods use File | Settings | F...
package cjl_magistri; /** * Created with IntelliJ IDEA. * User: larry * Date: 6/20/15 * Time: 5:57 PM * To change this template use File | Settings | File Templates. */ public class LoremIpsumText { private final String _source; public LoremIpsumText(String textSource) { _source = textSource; ...
Write silly implementation to turn test green.
Write silly implementation to turn test green.
Java
apache-2.0
mrwizard82d1/lorem_ipsum_java,mrwizard82d1/lorem_ipsum_java
e53d1134f043ef04469210421488065343bd9df1
src/main/java/com/epimorphics/dclib/values/ValueGeoPoint.java
src/main/java/com/epimorphics/dclib/values/ValueGeoPoint.java
/****************************************************************** * File: ValueGeoPoint.java * Created by: Dave Reynolds * Created on: 1 Dec 2014 * * (c) Copyright 2014, Epimorphics Limited * *****************************************************************/ package com.epimorphics.dclib.values; im...
/****************************************************************** * File: ValueGeoPoint.java * Created by: Dave Reynolds * Created on: 1 Dec 2014 * * (c) Copyright 2014, Epimorphics Limited * *****************************************************************/ package com.epimorphics.dclib.values; im...
Add support for truncated grid references
Add support for truncated grid references
Java
apache-2.0
epimorphics/dclib
1433361b7aac7423652e7faf884f9afa842d1db4
tests/sources/basic/30-mpi/src/main/java/testMPI/MainItf.java
tests/sources/basic/30-mpi/src/main/java/testMPI/MainItf.java
package testMPI; import integratedtoolkit.types.annotations.Constraints; import integratedtoolkit.types.annotations.Parameter; import integratedtoolkit.types.annotations.parameter.Direction; import integratedtoolkit.types.annotations.parameter.Stream; import integratedtoolkit.types.annotations.parameter.Type; import i...
package testMPI; import integratedtoolkit.types.annotations.Constraints; import integratedtoolkit.types.annotations.Parameter; import integratedtoolkit.types.annotations.parameter.Direction; import integratedtoolkit.types.annotations.parameter.Stream; import integratedtoolkit.types.annotations.parameter.Type; import i...
Remove public from MPI test interface
Remove public from MPI test interface git-svn-id: 6cb0c57df7a4a7d32342646683f5f1b5f4d88845@2773 9ab3861e-6c05-4e1b-b5ef-99af60850597
Java
apache-2.0
mF2C/COMPSs,mF2C/COMPSs,mF2C/COMPSs,mF2C/COMPSs,mF2C/COMPSs,mF2C/COMPSs
2a3e9218e331362b7df25283dbad22140c3bc228
aQute.libg/src/aQute/lib/exceptions/Exceptions.java
aQute.libg/src/aQute/lib/exceptions/Exceptions.java
package aQute.lib.exceptions; public class Exceptions { static RuntimeException singleton = new RuntimeException(); public static RuntimeException duck(Throwable t) { Exceptions.<RuntimeException> asUncheckedException0(t); return singleton; } @SuppressWarnings("unchecked") private static <E extends Throwabl...
package aQute.lib.exceptions; public class Exceptions { private Exceptions() {} public static RuntimeException duck(Throwable t) { Exceptions.<RuntimeException> throwsUnchecked(t); throw new AssertionError("unreachable"); } @SuppressWarnings("unchecked") private static <E extends Throwable> void throwsUnchec...
Fix so it actually throws the ducked exception
duck: Fix so it actually throws the ducked exception Signed-off-by: BJ Hargrave <3d26bb3930946e3370762d769a073cece444c2d8@bjhargrave.com>
Java
apache-2.0
lostiniceland/bnd,psoreide/bnd,mcculls/bnd,mcculls/bnd,magnet/bnd,psoreide/bnd,psoreide/bnd,lostiniceland/bnd,magnet/bnd,magnet/bnd,mcculls/bnd,lostiniceland/bnd
bd1da66ca88205e37243694e9e0a8091ea0c2e8d
modules/Core/src/test/java/jpower/core/test/RandomTest.java
modules/Core/src/test/java/jpower/core/test/RandomTest.java
package jpower.core.test; import jpower.core.utils.ArrayUtils; import jpower.core.utils.StringUtils; import org.junit.Test; import java.util.stream.Stream; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; public class RandomTest { @Test public void testStringRandomness(...
package jpower.core.test; import jpower.core.utils.ArrayUtils; import jpower.core.utils.StringUtils; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; public class RandomTest { @Test public void testStringRandomness() { int times = 50; ...
Remove a lot of test output that is useless.
Remove a lot of test output that is useless.
Java
mit
DirectMyFile/JPower
5d5ab0f2c8aeba6ad379b06c0e2af2108b1a1354
src/test/java/info/u_team/u_team_test/init/TestDimensions.java
src/test/java/info/u_team/u_team_test/init/TestDimensions.java
package info.u_team.u_team_test.init; import info.u_team.u_team_test.TestMod; import net.minecraftforge.common.DimensionManager; import net.minecraftforge.event.world.RegisterDimensionsEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod.EventBusSubscriber; import net....
package info.u_team.u_team_test.init; import info.u_team.u_team_test.TestMod; import net.minecraftforge.common.DimensionManager; import net.minecraftforge.event.world.RegisterDimensionsEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod.EventBusSubscriber; import net....
Fix the test dimensions class to register a test dimension for our basic mod dimension type
Fix the test dimensions class to register a test dimension for our basic mod dimension type
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
b0736fe78dcb518dda3138127c6b6af51e39884c
tinylog-core-base/src/test/java/org/tinylog/core/test/Log.java
tinylog-core-base/src/test/java/org/tinylog/core/test/Log.java
package org.tinylog.core.test; import java.util.ArrayList; import java.util.List; import org.tinylog.core.Level; /** * Storage for {@link LogEntry LogEntries}. */ public class Log { private Level minLevel; private List<LogEntry> entries; /** */ public Log() { minLevel = Level.INFO; entries = new ArrayLis...
package org.tinylog.core.test; import java.util.ArrayList; import java.util.List; import org.tinylog.core.Level; /** * Storage for {@link LogEntry LogEntries}. */ public class Log { private Level minLevel; private List<LogEntry> entries; /** */ public Log() { minLevel = Level.INFO; entries = new ArrayLis...
Declare add() method in log class as package private
Declare add() method in log class as package private
Java
apache-2.0
pmwmedia/tinylog,pmwmedia/tinylog
757f8f0cb9123d5a8e5d070e884fc7542a66bed8
proxy/src/main/java/net/md_5/bungee/util/CaseInsensitiveHashingStrategy.java
proxy/src/main/java/net/md_5/bungee/util/CaseInsensitiveHashingStrategy.java
package net.md_5.bungee.util; import gnu.trove.strategy.HashingStrategy; class CaseInsensitiveHashingStrategy implements HashingStrategy { static final CaseInsensitiveHashingStrategy INSTANCE = new CaseInsensitiveHashingStrategy(); @Override public int computeHashCode(Object object) { return...
package net.md_5.bungee.util; import gnu.trove.strategy.HashingStrategy; class CaseInsensitiveHashingStrategy implements HashingStrategy { static final CaseInsensitiveHashingStrategy INSTANCE = new CaseInsensitiveHashingStrategy(); @Override public int computeHashCode(Object object) { return...
Fix comparisons of objects in case insensitive hashmap
Fix comparisons of objects in case insensitive hashmap
Java
bsd-3-clause
XMeowTW/BungeeCord,Yive/BungeeCord,xxyy/BungeeCord,LetsPlayOnline/BungeeJumper,BlueAnanas/BungeeCord,XMeowTW/BungeeCord,ConnorLinfoot/BungeeCord,Xetius/BungeeCord,GamesConMCGames/Bungeecord,LetsPlayOnline/BungeeJumper,dentmaged/BungeeCord,LinEvil/BungeeCord,mariolars/BungeeCord,mariolars/BungeeCord,ConnorLinfoot/Bungee...
dd3854112b9d976154508b69ce7f8105d90316fa
test/sample/java/project/SampleJavaProjectTest.java
test/sample/java/project/SampleJavaProjectTest.java
package sample.java.project; import junit.framework.TestCase; /** * A sample JUnit test. * * This test exists as a placeholder for the test unit framework. */ public class SampleJavaProjectTest extends TestCase { /** * JUnit boilerplate. * * @param name the name string */ public Sampl...
package sample.java.project; import junit.framework.TestCase; /** * A sample JUnit test. * * This test exists as a placeholder for the test unit framework. */ public class SampleJavaProjectTest extends TestCase { /** * Holds an instance of the class we are testing. */ private SampleJavaProject ...
Fix up the unit test a bit.
Fix up the unit test a bit.
Java
unlicense
ajcohen63/ajcohen63,RPangularJS/JenkinsTraial,jpenekusu/my-sample-java-project,skeeto/fun-liquid,pjoshi0788/sample-java-project,skeeto/Turkbait,skeeto/fun-liquid,Mounika-Chirukuri/sample-java-project,manjuk41/p1,TheKingOfFasterr/test,srinivasgowda097/sample-java-project,nanthakumare/myproject,nareshreddyp/NareshRepo,wi...
1e23074630de96515cb2888b4c7bba34dd0a141b
52n-sir/src/test/java/org/n52/sir/harvest/JSHarvestTest.java
52n-sir/src/test/java/org/n52/sir/harvest/JSHarvestTest.java
package org.n52.sir.harvest; import java.io.File; import org.junit.Test; import org.n52.sir.datastructure.SirSensor; public class JSHarvestTest { @Test public void harvestJSFile() { File harvestScript = new File(ClassLoader.getSystemResource( "Requests/harvestScript.js").getFile()); } ...
package org.n52.sir.harvest; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertTrue; import java.io.File; import java.util.Collection; import org.junit.Test; import org.n52.sir.datastructure.SirSearchResultElement; import org...
Test sensor JS harvest unit test
Test sensor JS harvest unit test
Java
apache-2.0
52North/OpenSensorSearch,nuest/OpenSensorSearch,52North/OpenSensorSearch,nuest/OpenSensorSearch,52North/OpenSensorSearch,nuest/OpenSensorSearch
14035edcca3b6d3046cf5af06030dae61746b87b
byte-buddy-dep/src/test/java/net/bytebuddy/description/type/PackageDescriptionForLoadedPackageTest.java
byte-buddy-dep/src/test/java/net/bytebuddy/description/type/PackageDescriptionForLoadedPackageTest.java
package net.bytebuddy.description.type; public class PackageDescriptionForLoadedPackageTest extends AbstractPackageDescriptionTest { protected PackageDescription describe(Class<?> type) { return new PackageDescription.ForLoadedPackage(type.getPackage()); } }
package net.bytebuddy.description.type; public class PackageDescriptionForLoadedPackageTest extends AbstractPackageDescriptionTest { protected PackageDescription describe(Class<?> type) { return TypeDescription.ForLoadedType.of(type).getPackage(); } }
Fix test for loaded package description.
Fix test for loaded package description.
Java
apache-2.0
raphw/byte-buddy,raphw/byte-buddy,raphw/byte-buddy
6e67b627d6d59c8e39d58cea46ec8080ec1376c0
UtilSet/src/com/navercorp/utilset/common/ProcessorUtils.java
UtilSet/src/com/navercorp/utilset/common/ProcessorUtils.java
package com.navercorp.utilset.common; import java.io.File; import java.io.FileFilter; import java.util.regex.Pattern; class ProcessorUtils { /** http://stackoverflow.com/questions/7962155/how-can-you-detect-a-dual-core-cpu-on-an-android-device-from-code * Gets the number of cores available in this device, across...
package com.navercorp.utilset.common; import java.io.File; import java.io.FileFilter; import java.util.regex.Pattern; class ProcessorUtils { /** http://stackoverflow.com/questions/7962155/how-can-you-detect-a-dual-core-cpu-on-an-android-device-from-code * Gets the number of cores available in this device, across...
Change korean comment to english one
[issue-3] Change korean comment to english one
Java
apache-2.0
naver/android-utilset
acd94d25a0c4deeba63a3b755d091ed43f305fee
src/test/java/com/hectorlopezfernandez/pebblestripes/CustomPebbleServlet.java
src/test/java/com/hectorlopezfernandez/pebblestripes/CustomPebbleServlet.java
package com.hectorlopezfernandez.pebblestripes; import javax.servlet.ServletConfig; import com.mitchellbosecke.pebble.PebbleEngine; import com.mitchellbosecke.pebble.loader.ClasspathLoader; import com.mitchellbosecke.pebble.loader.Loader; public class CustomPebbleServlet extends PebbleServlet { protected...
package com.hectorlopezfernandez.pebblestripes; import javax.servlet.ServletConfig; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import com.mitchellbosecke.pebble.PebbleEngine; import com.mitchellbosecke.pebble.loader.ClasspathLoader; import com.mitchellbosecke....
Fix tests that broke with latest change
Fix tests that broke with latest change
Java
mit
hectorlf/pebble-stripes-extension
a516fe8dec9d578dc2fe7e88be06d492eeb2f968
src/main/java/common/AppConfig.java
src/main/java/common/AppConfig.java
import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @Configuration @EnableAutoConfiguration @ComponentScan public class AppConf...
package common; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @Configuration @EnableAutoConfiguration @ComponentScan publ...
Add new package name after relocation of application runner
ROUT-7: Add new package name after relocation of application runner
Java
apache-2.0
heshamMassoud/RouteMe-API
c49b797d61e07f5986536a006a850569bb67a9d8
ResultsWizard2/src/mathsquared/resultswizard2/AdminGuiFrame.java
ResultsWizard2/src/mathsquared/resultswizard2/AdminGuiFrame.java
package mathsquared.resultswizard2; import java.awt.BorderLayout; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; /** * Runs the GUI by which an event administrator can input results. * * @author MathSquared * */ public class AdminGuiFrame extends JFrame { pri...
package mathsquared.resultswizard2; import java.awt.BorderLayout; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border.EmptyBorder; /** * Runs the GUI by which an event administrator can input results. * * @author Mat...
Add OIS/OOS to constructor and add fields
AGF: Add OIS/OOS to constructor and add fields
Java
mit
MathSquared/ResultsWizard2
252f3a5a92b428f70e931fd99da3efa529130ebd
fml/common/cpw/mods/fml/common/event/FMLServerStartingEvent.java
fml/common/cpw/mods/fml/common/event/FMLServerStartingEvent.java
package cpw.mods.fml.common.event; import net.minecraft.server.MinecraftServer; import cpw.mods.fml.common.LoaderState.ModState; public class FMLServerStartingEvent extends FMLStateEvent { private MinecraftServer server; public FMLServerStartingEvent(Object... data) { super(data); this.s...
package cpw.mods.fml.common.event; import net.minecraft.server.MinecraftServer; import net.minecraft.src.CommandHandler; import net.minecraft.src.ICommand; import cpw.mods.fml.common.LoaderState.ModState; public class FMLServerStartingEvent extends FMLStateEvent { private MinecraftServer server; public FMLS...
Add in a helper on the server start event for adding commands to the server.
Add in a helper on the server start event for adding commands to the server.
Java
lgpl-2.1
Theerapak/MinecraftForge,blay09/MinecraftForge,luacs1998/MinecraftForge,karlthepagan/MinecraftForge,dmf444/MinecraftForge,ThiagoGarciaAlves/MinecraftForge,Vorquel/MinecraftForge,mickkay/MinecraftForge,CrafterKina/MinecraftForge,shadekiller666/MinecraftForge,jdpadrnos/MinecraftForge,brubo1/MinecraftForge,RainWarrior/Min...
8344814053d23023072379ec508dcca7897ef193
common/Compat/Compat17/src/main/java/com/ptsmods/morecommands/mixin/compat/compat17/plus/MixinFarmlandBlock.java
common/Compat/Compat17/src/main/java/com/ptsmods/morecommands/mixin/compat/compat17/plus/MixinFarmlandBlock.java
package com.ptsmods.morecommands.mixin.compat.compat17.plus; import com.ptsmods.morecommands.api.IMoreGameRules; import net.minecraft.block.BlockState; import net.minecraft.block.FarmlandBlock; import net.minecraft.entity.Entity; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import org.spo...
package com.ptsmods.morecommands.mixin.compat.compat17.plus; import com.ptsmods.morecommands.api.IMoreGameRules; import net.minecraft.block.BlockState; import net.minecraft.block.FarmlandBlock; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import org.spongepowered.asm.mixin.Mixin; import o...
Fix farmland blocks being trampled by any entity
Fix farmland blocks being trampled by any entity
Java
cc0-1.0
PlanetTeamSpeakk/MoreCommands
e979ddb32b7bbb75c21cca5a820ad5035af19a5b
src/main/java/li/l1t/tingo/rest/TeacherController.java
src/main/java/li/l1t/tingo/rest/TeacherController.java
package li.l1t.tingo.rest; import li.l1t.tingo.model.dto.TeacherDto; import li.l1t.tingo.service.TeacherService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.util...
package li.l1t.tingo.rest; import li.l1t.tingo.exception.JsonPropagatingException; import li.l1t.tingo.model.Teacher; import li.l1t.tingo.model.dto.TeacherDto; import li.l1t.tingo.service.TeacherService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PathV...
Add teacher by id API
Add teacher by id API
Java
apache-2.0
xxyy/tingo,xxyy/tingo,xxyy/sic,xxyy/sic,xxyy/sic,xxyy/tingo
6dcca37e4d5ef5bf237db94db4fa525743a5cc5d
name.abuchen.portfolio/src/name/abuchen/portfolio/util/Isin.java
name.abuchen.portfolio/src/name/abuchen/portfolio/util/Isin.java
package name.abuchen.portfolio.util; public class Isin { private static final String CHARACTERS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; //$NON-NLS-1$ public static final String PATTERN = "[A-Z]{2}[A-Z0-9]{9}\\d"; //$NON-NLS-1$ private Isin() { } public static final boolean isValid(String is...
package name.abuchen.portfolio.util; public class Isin { private static final String CHARACTERS = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; //$NON-NLS-1$ public static final String PATTERN = "[A-Z]{2}[A-Z0-9]{9}\\d"; //$NON-NLS-1$ private Isin() { } public static final boolean isValid(String is...
Remove unused conditon which cant hold anyway
Remove unused conditon which cant hold anyway
Java
epl-1.0
buchen/portfolio,sebasbaumh/portfolio,buchen/portfolio,buchen/portfolio,sebasbaumh/portfolio,buchen/portfolio,sebasbaumh/portfolio,sebasbaumh/portfolio
f26c6bcfa96a0f01eefe787e80ada938b06caa22
src/test/java/fi/jgke/tagger/unit/domain/TypeTest.java
src/test/java/fi/jgke/tagger/unit/domain/TypeTest.java
/* * Copyright 2016 Jaakko Hannikainen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
/* * Copyright 2016 Jaakko Hannikainen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
Fix the test for Type
Fix the test for Type
Java
apache-2.0
jgke/tagger,jgke/tagger
df9dc0d0de804db93e389749ee5d7690756f3503
src/test/java/ca/corefacility/bioinformatics/irida/ria/integration/pages/sequencingRuns/SequencingRunsListPage.java
src/test/java/ca/corefacility/bioinformatics/irida/ria/integration/pages/sequencingRuns/SequencingRunsListPage.java
package ca.corefacility.bioinformatics.irida.ria.integration.pages.sequencingRuns; import java.util.List; import java.util.stream.Collectors; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ca....
package ca.corefacility.bioinformatics.irida.ria.integration.pages.sequencingRuns; import ca.corefacility.bioinformatics.irida.ria.integration.pages.AbstractPage; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.slf4j.Logger; import org.slf4j.Logger...
Check to make sure the table is loaded
Check to make sure the table is loaded
Java
apache-2.0
phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida
b6a6b3e35061790321038b83300f574ce4a7d3a3
src/main/java/bio/terra/cli/command/config/getvalue/Logging.java
src/main/java/bio/terra/cli/command/config/getvalue/Logging.java
package bio.terra.cli.command.config.getvalue; import bio.terra.cli.context.GlobalContext; import java.util.concurrent.Callable; import org.slf4j.LoggerFactory; import picocli.CommandLine.Command; /** This class corresponds to the fourth-level "terra config get-value logging" command. */ @Command(name = "logging", de...
package bio.terra.cli.command.config.getvalue; import bio.terra.cli.context.GlobalContext; import java.util.concurrent.Callable; import org.slf4j.LoggerFactory; import picocli.CommandLine.Command; /** This class corresponds to the fourth-level "terra config get-value logging" command. */ @Command(name = "logging", de...
Use log dir from global context instead of hard-coded string.
Use log dir from global context instead of hard-coded string.
Java
bsd-3-clause
DataBiosphere/terra-cli,DataBiosphere/terra-cli
3a5b703be3781ddd323c60a1ba3a7b57064fd577
src/main/java/org/kurento/modulecreator/definition/Type.java
src/main/java/org/kurento/modulecreator/definition/Type.java
package org.kurento.modulecreator.definition; public abstract class Type extends NamedElement { protected ModuleDefinition module; public Type(String name, String doc) { super(name, doc); } public ModuleDefinition getModule() { return module; } public void setModule(ModuleDefinition module) { this.modu...
package org.kurento.modulecreator.definition; public abstract class Type extends NamedElement { protected transient ModuleDefinition module; public Type(String name, String doc) { super(name, doc); } public ModuleDefinition getModule() { return module; } public void setModule(ModuleDefinition module) { ...
Solve infinite loop causing OutOfMemory or StackOverflow
Bug-fix: Solve infinite loop causing OutOfMemory or StackOverflow Change-Id: Ib503a4c513d6edc8418ce60b3dec2c1eaaf7a1f1
Java
apache-2.0
TribeMedia/kurento-module-creator,Kurento/kurento-module-creator,shelsonjava/kurento-module-creator,Kurento/kurento-module-creator,TribeMedia/kurento-module-creator,shelsonjava/kurento-module-creator
9a471ad97df297bae24d0fedebd2c33a98fb4f52
src/main/java/org/webbitserver/handler/PathMatchHandler.java
src/main/java/org/webbitserver/handler/PathMatchHandler.java
package org.webbitserver.handler; import org.webbitserver.HttpControl; import org.webbitserver.HttpHandler; import org.webbitserver.HttpRequest; import org.webbitserver.HttpResponse; import java.net.URI; import java.util.regex.Matcher; import java.util.regex.Pattern; public class PathMatchHandler implements HttpHand...
package org.webbitserver.handler; import org.webbitserver.HttpControl; import org.webbitserver.HttpHandler; import org.webbitserver.HttpRequest; import org.webbitserver.HttpResponse; import java.net.URI; import java.util.regex.Matcher; import java.util.regex.Pattern; public class PathMatchHandler implements HttpHand...
Throw HTTP error 400 on misformerd URI.
Throw HTTP error 400 on misformerd URI.
Java
bsd-3-clause
lostdj/webbit,lostdj/webbit,lostdj/webbit
e4a5a9f77ae6399213134acb22d28715b980c393
src/main/java/xyz/brassgoggledcoders/steamagerevolution/modules/alchemical/multiblocks/vat/tileentities/TileEntityVatFluidInput.java
src/main/java/xyz/brassgoggledcoders/steamagerevolution/modules/alchemical/multiblocks/vat/tileentities/TileEntityVatFluidInput.java
package xyz.brassgoggledcoders.steamagerevolution.modules.alchemical.multiblocks.vat.tileentities; import com.teamacronymcoders.base.multiblock.validation.IMultiblockValidator; import net.minecraft.util.EnumFacing; import net.minecraftforge.common.capabilities.Capability; import net.minecraftforge.fluids.capability.Ca...
package xyz.brassgoggledcoders.steamagerevolution.modules.alchemical.multiblocks.vat.tileentities; import javax.annotation.Nonnull; import javax.annotation.Nullable; import com.teamacronymcoders.base.multiblock.validation.IMultiblockValidator; import net.minecraft.util.EnumFacing; import net.minecraftforge.common.ca...
Fix vat input also being an output
Fix vat input also being an output
Java
mit
BrassGoggledCoders/SteamAgeRevolution
72a7f4e864f479fa5edbe17f3f98af152002b4d5
src/com/nullprogram/chess/Chess.java
src/com/nullprogram/chess/Chess.java
package com.nullprogram.chess; import com.nullprogram.chess.gui.ChessFrame; import com.nullprogram.chess.boards.StandardBoard; import com.nullprogram.chess.ai.Minimax; /** * Main class for the Chess game application. */ public final class Chess { /** * Hidden constructor. */ protected Chess() { ...
package com.nullprogram.chess; import javax.swing.UIManager; import com.nullprogram.chess.gui.ChessFrame; import com.nullprogram.chess.boards.StandardBoard; import com.nullprogram.chess.ai.Minimax; /** * Main class for the Chess game application. */ public final class Chess { /** * Hidden constructor. ...
Switch to the not-ugly native look-and-feel.
Switch to the not-ugly native look-and-feel.
Java
unlicense
skeeto/october-chess-engine
fd97f072096de0ff83c2000e80df11cabd939594
spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/reactive/WebTestClientSecurityConfiguration.java
spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/reactive/WebTestClientSecurityConfiguration.java
/* * Copyright 2012-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
/* * Copyright 2012-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Use meaningful name for MockServerConfigurer bean
Use meaningful name for MockServerConfigurer bean Closes gh-14512
Java
apache-2.0
chrylis/spring-boot,scottfrederick/spring-boot,spring-projects/spring-boot,kdvolder/spring-boot,mbenson/spring-boot,dreis2211/spring-boot,joshiste/spring-boot,spring-projects/spring-boot,drumonii/spring-boot,lburgazzoli/spring-boot,hello2009chen/spring-boot,wilkinsona/spring-boot,drumonii/spring-boot,donhuvy/spring-boo...
7946069a3dc07050ee51fedf3d23362668f77b4f
source/src/main/java/net/hexid/hexbot/bot/cmd/BotCommand.java
source/src/main/java/net/hexid/hexbot/bot/cmd/BotCommand.java
package net.hexid.hexbot.bot.cmd; import java.util.ArrayList; public abstract class BotCommand implements net.hexid.hexbot.bot.Bot { protected ArrayList<String> botArgs; public BotCommand(ArrayList<String> botArgs) { this.botArgs = botArgs; } public void processExitCode(int exitCode) {} }
package net.hexid.hexbot.bot.cmd; import java.util.ArrayList; public abstract class BotCommand implements net.hexid.hexbot.bot.Bot { protected ArrayList<String> botArgs; public BotCommand(ArrayList<String> botArgs) { this.botArgs = botArgs; } public void processExitCode(int exitCode) { System.out.println("Ex...
Print out exit code for command line bots
Print out exit code for command line bots
Java
bsd-3-clause
hexid/HexBot,hexid/HexBot,hexid/HexBot
dcfe23d95478ad612e53d1a8c53c041091b1e2b1
FrontEnd/src/test/java/rabbit/RabbitMqConfigTest.java
FrontEnd/src/test/java/rabbit/RabbitMqConfigTest.java
package rabbit; import org.junit.Test; import static org.junit.Assert.assertTrue; public class RabbitMqConfigTest { /** * Retrieve host. */ @Test public void retrieveHost() { RabbitMqConfig rmqConf = new RabbitMqConfig(); String host = rmqConf.getHost(); assertTrue(host...
package rabbit; import org.junit.Test; import static org.junit.Assert.assertTrue; public class RabbitMqConfigTest { /** * Retrieve host. */ @Test public void retrieveHost() { RabbitMqConfig rmqConf = new RabbitMqConfig(); String host = rmqConf.getHost(); assertTrue(host...
Add unit test for config data for rabbitmq.
Add unit test for config data for rabbitmq.
Java
apache-2.0
IrimieBogdan/DistributedMonitoring,IrimieBogdan/DistributedMonitoring,IrimieBogdan/DistributedMonitoring
e913c97677029b5a17945adb5c5d151d7f5673df
src/main/java/com/trickl/crawler/protocol/http/TaskHttpClient.java
src/main/java/com/trickl/crawler/protocol/http/TaskHttpClient.java
package com.trickl.crawler.protocol.http; import org.apache.droids.protocol.http.DroidsHttpClient; import org.apache.http.client.HttpRequestRetryHandler; public class TaskHttpClient extends DroidsHttpClient { @Override protected HttpRequestRetryHandler createHttpRequestRetryHandler() { return new TaskHttpRe...
package com.trickl.crawler.protocol.http; import org.apache.droids.protocol.http.DroidsHttpClient; import static org.apache.droids.protocol.http.DroidsHttpClient.MAX_BODY_LENGTH; import org.apache.http.client.HttpRequestRetryHandler; import org.apache.http.params.HttpParams; public class TaskHttpClient extends Droids...
Increase mask size of processed HTML from 0.5Mb to 2Mb
Increase mask size of processed HTML from 0.5Mb to 2Mb
Java
apache-2.0
trickl/trickl-crawler,trickl/trickl-crawler
eccd1f9ce716a2163b27337a40d78f53432ff241
oxService/src/main/java/org/gluu/service/util/PageService.java
oxService/src/main/java/org/gluu/service/util/PageService.java
package org.gluu.service.util; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import javax.ejb.Stateless; import javax.inject.Named; import javax.servlet.http.HttpServletRequest; /** * Created by eugeniuparvan on 12/22/16. * * @author Yuriy Movchan */ @Stateless @Named pub...
package org.gluu.service.util; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import javax.enterprise.context.ApplicationScoped; import javax.inject.Named; import javax.servlet.http.HttpServletRequest; /** * Created by eugeniuparvan on 12/22/16. * * @author Yuriy Movchan *...
Add CDI annotation to allow scan it
Add CDI annotation to allow scan it
Java
mit
GluuFederation/oxCore
134f75f4304caeb4e8dcdb4bbffca44a8fbdde1f
axelor-auth/src/main/java/com/axelor/auth/AuthUtils.java
axelor-auth/src/main/java/com/axelor/auth/AuthUtils.java
package com.axelor.auth; import org.apache.shiro.SecurityUtils; import org.apache.shiro.subject.Subject; import com.axelor.auth.db.User; public class AuthUtils { public static Subject getSubject() { return SecurityUtils.getSubject(); } public static User getUser() { Subject subject = getSubject(); if (su...
package com.axelor.auth; import org.apache.shiro.SecurityUtils; import org.apache.shiro.UnavailableSecurityManagerException; import org.apache.shiro.subject.Subject; import com.axelor.auth.db.User; public class AuthUtils { public static Subject getSubject() { try { return SecurityUtils.getSubject(); } catc...
Handle unavailable security manager error.
Handle unavailable security manager error.
Java
agpl-3.0
donsunsoft/axelor-development-kit,donsunsoft/axelor-development-kit,marioestradarosa/axelor-development-kit,axelor/axelor-development-kit,axelor/axelor-development-kit,marioestradarosa/axelor-development-kit,marioestradarosa/axelor-development-kit,axelor/axelor-development-kit,donsunsoft/axelor-development-kit,donsunso...
2c155e361eeaca4e6f453f785abb82b7b57cdb46
src/main/java/de/vorb/platon/web/api/common/ByteArrayConverter.java
src/main/java/de/vorb/platon/web/api/common/ByteArrayConverter.java
/* * Copyright 2016-2017 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 app...
/* * Copyright 2016-2017 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 app...
Use Lombok for hidden constructor
Use Lombok for hidden constructor
Java
apache-2.0
pvorb/platon,pvorb/platon,pvorb/platon
1bb1cf55b8e2ce0dbad0074efb416a2835623499
java/com/google/copybara/profiler/RecordingListener.java
java/com/google/copybara/profiler/RecordingListener.java
/* * Copyright (C) 2019 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) 2019 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 ...
Synchronize list to avoid race condition
Synchronize list to avoid race condition BUG=242327275 PiperOrigin-RevId: 475630314 Change-Id: I01ba41cd1d8e998e59adf3746abcc838f0861701
Java
apache-2.0
google/copybara,google/copybara,google/copybara
8402d0d7aedac9147e3c9cfb24385ab0ebd84403
dbpool/src/main/java/com/proofpoint/dbpool/MySqlDataSource.java
dbpool/src/main/java/com/proofpoint/dbpool/MySqlDataSource.java
package com.proofpoint.dbpool; import com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource; import static java.lang.Math.ceil; import static java.util.concurrent.TimeUnit.SECONDS; public class MySqlDataSource extends ManagedDataSource { public MySqlDataSource(MySqlDataSourceConfig config) { su...
package com.proofpoint.dbpool; import com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource; import static java.lang.Math.ceil; import static java.util.concurrent.TimeUnit.SECONDS; public class MySqlDataSource extends ManagedDataSource { public MySqlDataSource(MySqlDataSourceConfig config) { su...
Set username, password and don't set socket timeout
Set username, password and don't set socket timeout
Java
apache-2.0
electrum/airlift,martint/airlift,electrum/airlift,airlift/airlift-rack,johngmyers/platform-rack,johngmyers/airlift,mono-plane/airlift,johngmyers/platform,gwittel/platform,dain/airlift,johngmyers/platform,haozhun/airlift,electrum/airlift,dain/airlift,cberner/airlift,airlift/airlift,haozhun/airlift,airlift/airlift-rack,d...
09a3b79f4c98a5f608b8309383f9ffc25a1aefb9
src/main/java/infra/config/WebMvcConfig.java
src/main/java/infra/config/WebMvcConfig.java
package infra.config; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.EnableWebMvc; import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; ...
package infra.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.EnableWebMvc; import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; import org.springframework.web....
Add WebContentInterceptor in Spring MVC config
Add WebContentInterceptor in Spring MVC config
Java
apache-2.0
AgileSpirit/SmartSession,AgileSpirit/SmartSession
c7c7b40b8cb391baa07080ce9c23ce6db1bcaf80
src/main/java/info/tehnut/xtones/network/ConfigSyncHandler.java
src/main/java/info/tehnut/xtones/network/ConfigSyncHandler.java
package info.tehnut.xtones.network; import info.tehnut.xtones.client.XtonesClient; import net.minecraft.client.Minecraft; import net.minecraftforge.fml.common.network.simpleimpl.IMessage; import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler; import net.minecraftforge.fml.common.network.simpleimpl.Me...
package info.tehnut.xtones.network; import info.tehnut.xtones.client.XtonesClient; import net.minecraftforge.fml.client.FMLClientHandler; import net.minecraftforge.fml.common.network.simpleimpl.IMessage; import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler; import net.minecraftforge.fml.common.netwo...
Use FMLClientHandler for consistency's sake, and add missing SideOnly annotation
Use FMLClientHandler for consistency's sake, and add missing SideOnly annotation
Java
mit
TehNut/Xtones
5023772e434982f3b129af6022e2a46793a8e7f1
web/src/main/java/org/cbioportal/web/DocRedirectController.java
web/src/main/java/org/cbioportal/web/DocRedirectController.java
package org.cbioportal.web; import org.springframework.stereotype.Controller; import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springf...
package org.cbioportal.web; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.servlet.mvc.support.RedirectAttributes; import org.springframework.web.servlet.view.Redire...
Add additional swagger UI redirects
Add additional swagger UI redirects - cbioportal.org/api/ - cbioportal.org/api/swagger-ui.html
Java
agpl-3.0
onursumer/cbioportal,onursumer/cbioportal,cBioPortal/cbioportal,onursumer/cbioportal,cBioPortal/cbioportal,cBioPortal/cbioportal,cBioPortal/cbioportal,onursumer/cbioportal,cBioPortal/cbioportal,onursumer/cbioportal,onursumer/cbioportal,cBioPortal/cbioportal
2e345e6823a76c70ee00421ebcb6dbd81be3fd6b
tinylog-core/src/main/java9/module-info.java
tinylog-core/src/main/java9/module-info.java
/* * Copyright 2020 Martin Winandy * * 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 w...
/* * Copyright 2020 Martin Winandy * * 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 w...
Use imports for services in module information
Use imports for services in module information
Java
apache-2.0
pmwmedia/tinylog,pmwmedia/tinylog
c961f2e5dfc264e755fd304e5d7a37e15165ddfe
core/src/test/java/ciir/jfoley/chai/IntMathTest.java
core/src/test/java/ciir/jfoley/chai/IntMathTest.java
package ciir.jfoley.chai; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; public class IntMathTest { @Test public void testNearestPowerOfTwo() throws Exception { assertEquals(1, IntMath.nearestPowerOfTwo(0));...
package ciir.jfoley.chai; import org.junit.Test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; public class IntMathTest { @Test public void testNearestPowerOfTwo() throws Exception { assertEquals(1, IntMath.nearestPowerOfTwo(0));...
Change exception wanted by IntMath test
Change exception wanted by IntMath test
Java
bsd-3-clause
jjfiv/chai
1f6d53a209a39d4cb39e3e8bbcb0c20d7f6fa26b
java/client/test/org/openqa/selenium/interactions/touch/TouchTests.java
java/client/test/org/openqa/selenium/interactions/touch/TouchTests.java
/* Copyright 2012 Selenium committers Copyright 2012 Software Freedom Conservancy 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...
/* Copyright 2012 Selenium committers Copyright 2012 Software Freedom Conservancy 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...
Remove Driver after touch test
Remove Driver after touch test
Java
apache-2.0
cisco-open-source/selenium,cisco-open-source/selenium,cisco-open-source/selenium,cisco-open-source/selenium,cisco-open-source/selenium,cisco-open-source/selenium,cisco-open-source/selenium,cisco-open-source/selenium,cisco-open-source/selenium
96df08e67493fddbc4a097c00b425e3a98b5dd17
mache-observable/src/main/java/com/excelian/mache/events/MQFactory.java
mache-observable/src/main/java/com/excelian/mache/events/MQFactory.java
package com.excelian.mache.events; import java.io.Closeable; import java.io.IOException; import javax.jms.JMSException; /** * Type to specify the contract for message queue factories for the different * supported messaging platforms. * @param <K> the type of the keys */ public interface MQFactory<K> extends Close...
package com.excelian.mache.events; import java.io.Closeable; import java.io.IOException; import javax.jms.JMSException; /** * Type to specify the contract for message queue factories for the different * supported messaging platforms. * @param <K> the type of the keys */ public interface MQFactory<K> extends Close...
Remove public from interface method declaration
Remove public from interface method declaration
Java
apache-2.0
Excelian/Mache,Excelian/Mache,Excelian/Mache,Excelian/Mache,Excelian/Mache
bf2dfd5bd2977f5afb22de8dfa61d26b25d09bf6
trunk/mobility/src/test/java/es/tid/ps/mobility/jobs/CdrParserTest.java
trunk/mobility/src/test/java/es/tid/ps/mobility/jobs/CdrParserTest.java
package es.tid.ps.mobility.jobs; import static org.junit.Assert.assertEquals; import org.junit.Test; import es.tid.ps.mobility.data.BaseProtocol.Date; import es.tid.ps.mobility.data.BaseProtocol.Time; import es.tid.ps.mobility.data.MxCdrUtil; /** * * @author sortega */ public class CdrParserTest { @Test p...
package es.tid.ps.mobility.jobs; import static org.junit.Assert.assertEquals; import org.junit.Test; import es.tid.ps.mobility.data.BaseProtocol.Date; import es.tid.ps.mobility.data.BaseProtocol.Time; import es.tid.ps.mobility.data.MxCdrUtil; import es.tid.ps.mobility.parser.CdrParser; /** * * @author sortega */ ...
Add missing import in unit test file.
Add missing import in unit test file.
Java
apache-2.0
telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform
bf56aa46d5a9138ea873f904fd9b47043fb4c7dd
core/src/test/java/arez/MessageCollector.java
core/src/test/java/arez/MessageCollector.java
package arez; import java.io.File; import javax.annotation.Nonnull; import org.realityforge.braincheck.GuardMessageCollector; import org.testng.ITestContext; import org.testng.ITestListener; import org.testng.ITestResult; import org.testng.TestListenerAdapter; import static org.testng.Assert.*; public final class Mes...
package arez; import java.io.File; import javax.annotation.Nonnull; import org.realityforge.braincheck.AbstractTestNGMessageCollector; import org.realityforge.braincheck.GuardMessageCollector; import static org.testng.Assert.*; public final class MessageCollector extends AbstractTestNGMessageCollector { @Override...
Move to support provided by latest Braincheck
Move to support provided by latest Braincheck
Java
apache-2.0
realityforge/arez,realityforge/arez,realityforge/arez
1fd1712fb0e91b6583520ffb240aae361fbf9321
src/main/java/io/github/trevornelson/Dashboards.java
src/main/java/io/github/trevornelson/Dashboards.java
package io.github.trevornelson; import com.google.api.server.spi.config.Api; import com.google.api.server.spi.config.ApiMethod; import com.google.api.server.spi.config.ApiMethod.HttpMethod; import com.google.api.server.spi.response.UnauthorizedException; import com.google.appengine.api.users.User; import io.github.tre...
package io.github.trevornelson; import com.google.api.server.spi.config.Api; import com.google.api.server.spi.config.ApiMethod; import com.google.api.server.spi.config.ApiMethod.HttpMethod; import com.google.api.server.spi.response.UnauthorizedException; import com.google.appengine.api.users.User; import io.github.tre...
Add unauthorized exception to CreateAccount api method
Add unauthorized exception to CreateAccount api method
Java
apache-2.0
trevornelson/java-analytics-dashboard,trevornelson/java-analytics-dashboard,trevornelson/java-analytics-dashboard
53961016be9d76fafc304090f325f273db8216bd
src/main/java/com/archivesmc/inter/listeners/ConnectListener.java
src/main/java/com/archivesmc/inter/listeners/ConnectListener.java
package com.archivesmc.inter.listeners; import com.archivesmc.inter.Plugin; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerLoginEvent; public class ConnectListener implements Listener { private Plugin plugin; ...
package com.archivesmc.inter.listeners; import com.archivesmc.inter.Plugin; import org.bukkit.event.EventHandler; import org.bukkit.event.EventPriority; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerLoginEvent; public class ConnectListener implements Listener { private Plugin plugin; ...
Fix the failure to detect a player that's kicked on join
Fix the failure to detect a player that's kicked on join
Java
artistic-2.0
TheArchives/Inter-Bukkit
e31e576cba1d428958c97ae4ab0af4c9e36371da
src/main/java/ee/shy/cli/command/branch/RemoveCommand.java
src/main/java/ee/shy/cli/command/branch/RemoveCommand.java
package ee.shy.cli.command.branch; import ee.shy.cli.Command; import ee.shy.core.Repository; import java.io.IOException; /** * Command for removing branches. */ public class RemoveCommand implements Command { @Override public void execute(String[] args) throws IOException { Repository.newExisting()...
package ee.shy.cli.command.branch; import ee.shy.cli.Command; import ee.shy.core.Repository; import java.io.IOException; /** * Command for removing branches. */ public class RemoveCommand implements Command { @Override public void execute(String[] args) throws IOException { Repository repository = ...
Fix current branch being removable
Fix current branch being removable
Java
mit
sim642/shy,sim642/shy
783fd1063a156b30488b5db7804912e5588ecc1f
src/test/java/Test/SemantTest.java
src/test/java/Test/SemantTest.java
package Test; import absyn.Exp; import env.Env; import error.CompilerError; import java_cup.runtime.Symbol; import org.assertj.core.api.JUnitSoftAssertions; import org.junit.Rule; import org.junit.Test; import parse.Lexer; import parse.Parser; import types.*; import java.io.IOException; import java.io.StringReader; ...
package Test; import absyn.Exp; import env.Env; import error.CompilerError; import java_cup.runtime.Symbol; import org.assertj.core.api.JUnitSoftAssertions; import org.junit.Rule; import org.junit.Test; import parse.Lexer; import parse.Parser; import types.*; import java.io.IOException; import java.io.StringReader; ...
Add tests of semantic analysis of literals
Add tests of semantic analysis of literals
Java
mit
romildo/eplan,romildo/eplan
b69da1755754d0bb1226791566de6eac4e302dfa
src/peergos/server/tests/RemoteUserTests.java
src/peergos/server/tests/RemoteUserTests.java
package peergos.server.tests; import org.junit.*; import org.junit.runner.*; import org.junit.runners.*; import peergos.shared.*; import peergos.shared.user.*; import peergos.shared.user.fs.*; import java.net.*; import java.util.*; @RunWith(Parameterized.class) public class RemoteUserTests { private final Netwo...
package peergos.server.tests; import org.junit.*; import org.junit.runner.*; import org.junit.runners.*; import peergos.shared.*; import peergos.shared.user.*; import peergos.shared.user.fs.*; import java.net.*; import java.util.*; @RunWith(Parameterized.class) public class RemoteUserTests { private final Netwo...
Add example to clean a broken directory
Add example to clean a broken directory
Java
agpl-3.0
Peergos/Peergos,Peergos/Peergos,ianopolous/Peergos,ianopolous/Peergos,ianopolous/Peergos,Peergos/Peergos
c104b10094411f22a9c65ce64910d31e5b0df438
precipice-core/src/main/java/net/uncontended/precipice/Status.java
precipice-core/src/main/java/net/uncontended/precipice/Status.java
/* * Copyright 2016 Timothy Brooks * * 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 i...
/* * Copyright 2016 Timothy Brooks * * 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 i...
Remove cancelled from default status
Remove cancelled from default status
Java
apache-2.0
tbrooks8/Precipice,tbrooks8/Precipice
9d26c331d3fed3c15fd5ee189795b85c11e58e78
src/main/java/techcable/minecraft/combattag/listeners/PlayerListener.java
src/main/java/techcable/minecraft/combattag/listeners/PlayerListener.java
package techcable.minecraft.combattag.listeners; import org.bukkit.Bukkit; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerMoveEvent; import com.trc202.CombatTag.CombatTag; import techcable.minecraft.combattag.PluginCompatibility; import techcable.minecraf...
package techcable.minecraft.combattag.listeners; import org.bukkit.Bukkit; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.player.PlayerMoveEvent; import org.bukkit.util.Vector; import com.trc202.CombatTag.CombatTag; import techcable.minecraft.combattag.PluginCompatibi...
Use velocity to bounce players back
Use velocity to bounce players back
Java
cc0-1.0
ProgrammerDan/Combat-Tag-Reloaded
aba534ae132e2ba4901986547c96f47c34baf269
src/main/java/com/m4gik/presentation/DistributedTransactionUI.java
src/main/java/com/m4gik/presentation/DistributedTransactionUI.java
package com.m4gik.presentation; import java.util.logging.Logger; import javax.servlet.annotation.WebServlet; import com.vaadin.annotations.Theme; import com.vaadin.annotations.VaadinServletConfiguration; import com.vaadin.server.VaadinRequest; import com.vaadin.server.VaadinServlet; import com.vaadin.ui.UI; @Theme(...
/** * Project Distributed Transactions. * Copyright Michał Szczygieł, 2013. * Created at Dec 28, 2013. */ package com.m4gik.presentation; import java.util.logging.Logger; import javax.servlet.annotation.WebServlet; import com.vaadin.annotations.Theme; import com.vaadin.annotations.VaadinServletConfiguration; imp...
Add comments to UI class
Add comments to UI class
Java
apache-2.0
M4GiK/Distributed-Transactions
a94f2ec22f0d3106782ce9bac4809361b1d33a3c
src/test/java/com/hamishrickerby/http_server/AppArgumentsTest.java
src/test/java/com/hamishrickerby/http_server/AppArgumentsTest.java
package com.hamishrickerby.http_server; import junit.framework.TestCase; /** * Created by rickerbh on 15/08/2016. */ public class AppArgumentsTest extends TestCase { public void testEmptyArgumentsAre0Long() { String[] inputArgs = new String[0]; AppArguments args = new AppArguments(inputArgs); ...
package com.hamishrickerby.http_server; import junit.framework.TestCase; /** * Created by rickerbh on 15/08/2016. */ public class AppArgumentsTest extends TestCase { public void testEmptyInputReturnsValidArguments() { String[] inputArgs = new String[0]; AppArguments args = new AppArguments(input...
Rename and refactor argument tests
Rename and refactor argument tests
Java
mit
rickerbh/http_server_java,rickerbh/http_server_java
c4a8d3c0959155029678d0d17a270cc1c812d066
src/android/AppSettings.java
src/android/AppSettings.java
package org.apache.cordova.appsettings; import java.util.Locale; import android.app.Activity; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaPlugin; import org.json.JSONArray; import org.json.JSONExcepti...
package org.apache.cordova.appsettings; import java.util.Locale; import android.app.Activity; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import org.apache.cordova.CallbackContext; import org.apache.cordova.CordovaPlugin; import org.json.JSONArray; import org.json.JSONExcepti...
Update android src to seralize all metadata
Update android src to seralize all metadata
Java
apache-2.0
greg-laughlin-hs/app-settings-reader,greg-laughlin-hs/app-settings-reader
a60add1b23bce507a47df91da3e4115194138f85
tool/src/main/java/uk/ac/ox/oucs/vle/WebAppForbiddenException.java
tool/src/main/java/uk/ac/ox/oucs/vle/WebAppForbiddenException.java
package uk.ac.ox.oucs.vle; import java.util.HashMap; import java.util.Map; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; public class WebAppForbiddenException extends WebApplicationException { private static final Map<String, String> myMap = new H...
package uk.ac.ox.oucs.vle; import java.util.HashMap; import java.util.Map; import javax.ws.rs.WebApplicationException; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; public class WebAppForbiddenException extends WebApplicationException { private static final Map<String, String> myMap = new H...
Add note about why we force the media type.
Add note about why we force the media type.
Java
apache-2.0
ox-it/wl-course-signup,ox-it/wl-course-signup,ox-it/wl-course-signup,ox-it/wl-course-signup,ox-it/wl-course-signup
47c53e6eeee2ad9160919c0c7da9c26bc9420de0
api/src/main/java/com/creatubbles/api/model/search/SearchCategoryImage.java
api/src/main/java/com/creatubbles/api/model/search/SearchCategoryImage.java
package com.creatubbles.api.model.search; import com.creatubbles.api.model.ImageLinks; import com.fasterxml.jackson.annotation.JsonProperty; public class SearchCategoryImage { @JsonProperty("image") private ImageLinks image; public ImageLinks getImage() { return image; } @Override pu...
package com.creatubbles.api.model.search; import com.creatubbles.api.model.ImageLinks; import com.fasterxml.jackson.annotation.JsonProperty; public class SearchCategoryImage { @JsonProperty("links") private ImageLinks links; public ImageLinks getLinks() { return links; } @Override pu...
Rename category image links field
[179] Rename category image links field
Java
mit
creatubbles/ctb-api-android