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
d41d79bc430a07e9c1ebb9fdd80f995ef5f58336
src/main/java/org/monospark/spongematchers/parser/element/ListElementParser.java
src/main/java/org/monospark/spongematchers/parser/element/ListElementParser.java
package org.monospark.spongematchers.parser.element; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.monospark.spongematchers.util.PatternBuilder; import com.google.common.collect.Lists; public final class ListElementParser extends StringElementParser { @Overri...
package org.monospark.spongematchers.parser.element; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.monospark.spongematchers.util.PatternBuilder; import com.google.common.collect.Lists; public final class ListElementParser extends StringElementParser { @Overri...
Fix some bugs in the list parser regex
Fix some bugs in the list parser regex
Java
mit
Monospark/SpongeMatchers
f458afb945d99e34e4172b84d853a674897a4802
bind-event/src/main/java/jp/glassmoon/app/App.java
bind-event/src/main/java/jp/glassmoon/app/App.java
package jp.glassmoon.app; import java.io.File; import jp.glassmoon.events.GerritEvent; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.gerrit.server.events.PatchSetCreatedEvent; public class App { public static void main( String...
package jp.glassmoon.app; import java.io.File; import jp.glassmoon.events.GerritEvent; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.google.gerrit.server.events.ChangeEvent; import com.google.gerrit.server.events.PatchSetCreatedEvent; pu...
Change type to abstract class
Change type to abstract class
Java
apache-2.0
rinrinne/bind-event-sample
3f8240d1f3d666b9c6e589b095ce00e9d165f8ae
common/src/main/java/com/datatorrent/common/util/ScheduledThreadPoolExecutor.java
common/src/main/java/com/datatorrent/common/util/ScheduledThreadPoolExecutor.java
/* * Copyright (c) 2012 Malhar, Inc. * All Rights Reserved. */ package com.malhartech.util; import java.util.concurrent.ThreadFactory; import java.util.concurrent.atomic.AtomicInteger; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * * @author Chetan Narsude <chetan@malhar-inc.com> */ public cla...
/* * Copyright (c) 2012 Malhar, Inc. * All Rights Reserved. */ package com.malhartech.util; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * * @author Chetan Narsude <chetan@malhar-inc.com> */ public class ScheduledThreadPoolExecutor extends java.util.concurrent.ScheduledThreadPoolExecutor imple...
Move out reusable thread factory.
Move out reusable thread factory.
Java
apache-2.0
andyperlitch/incubator-apex-core,MalharJenkins/incubator-apex-core,deepak-narkhede/apex-core,devtagare/incubator-apex-core,vrozov/incubator-apex-core,tushargosavi/apex-core,mt0803/incubator-apex-core,mattqzhang/apex-core,vrozov/apex-core,ishark/incubator-apex-core,PramodSSImmaneni/apex-core,PramodSSImmaneni/incubator-a...
f2a5b6162f129cf3d49cdfad425ce3a3cc796788
java/client/test/org/openqa/selenium/testing/drivers/SauceBackedDriverSupplier.java
java/client/test/org/openqa/selenium/testing/drivers/SauceBackedDriverSupplier.java
package org.openqa.selenium.testing.drivers; import com.google.common.base.Supplier; import org.openqa.selenium.Capabilities; import org.openqa.selenium.WebDriver; public class SauceBackedDriverSupplier implements Supplier<WebDriver> { private final Capabilities capabilities; public SauceBackedDriverSupplier(C...
package org.openqa.selenium.testing.drivers; import com.google.common.base.Supplier; import org.openqa.selenium.Capabilities; import org.openqa.selenium.WebDriver; import org.openqa.selenium.remote.LocalFileDetector; public class SauceBackedDriverSupplier implements Supplier<WebDriver> { private final Capabilitie...
Use a file detector for Sauce tests
DanielWagnerHall: Use a file detector for Sauce tests git-svn-id: 4179480af2c2519a5eb5e1e9b541cbdf5cf27696@15219 07704840-8298-11de-bf8c-fd130f914ac9
Java
apache-2.0
virajs/selenium-1,winhamwr/selenium,winhamwr/selenium,virajs/selenium-1,virajs/selenium-1,winhamwr/selenium,winhamwr/selenium,virajs/selenium-1,winhamwr/selenium,winhamwr/selenium,winhamwr/selenium,virajs/selenium-1,winhamwr/selenium,virajs/selenium-1,virajs/selenium-1,virajs/selenium-1,virajs/selenium-1
fbfe9d492a0872d6e123daade32ea5404842ecb3
src/main/java/net/openhft/chronicle/wire/AbstractMarshallableCfg.java
src/main/java/net/openhft/chronicle/wire/AbstractMarshallableCfg.java
/* * Copyright 2016 higherfrequencytrading.com * * 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 2016 higherfrequencytrading.com * * 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...
Add support for unexpected fields and improved out of order.
Add support for unexpected fields and improved out of order.
Java
apache-2.0
OpenHFT/Chronicle-Wire,OpenHFT/Chronicle-Wire
457d8e383c98a1e7ac247e391a5e2c1df9c9c6b1
src/test/java/com/easternedgerobotics/rov/math/MovingAverageTest.java
src/test/java/com/easternedgerobotics/rov/math/MovingAverageTest.java
package com.easternedgerobotics.rov.math; import org.junit.Test; import rx.observers.TestSubscriber; import rx.schedulers.TestScheduler; import rx.subjects.TestSubject; @SuppressWarnings("checkstyle:MagicNumber") public final class MovingAverageTest { @Test public final void averageCalculationDoesReturnTheCor...
package com.easternedgerobotics.rov.math; import org.junit.Test; import rx.observers.TestSubscriber; import rx.schedulers.TestScheduler; import rx.subjects.TestSubject; @SuppressWarnings("checkstyle:MagicNumber") public final class MovingAverageTest { @Test public final void averageCalculationDoesReturnTheCor...
Update moving average tests to show floating point truncation
Update moving average tests to show floating point truncation
Java
mit
EasternEdgeRobotics/2016,EasternEdgeRobotics/2016,EasternEdgeRobotics/2016,EasternEdgeRobotics/2016
b006596e2e12677e9dad2481e8b88ae3eac30ce5
src/forager/events/ForagerEventMap.java
src/forager/events/ForagerEventMap.java
package forager.events; import galileo.event.EventMap; public class ForagerEventMap extends EventMap { public ForagerEventMap() { addMapping(1, JoinEvent.class); addMapping(2, TaskSpec.class); } }
package forager.events; import galileo.event.EventMap; public class ForagerEventMap extends EventMap { public ForagerEventMap() { addMapping(JoinEvent.class); addMapping(TaskRequest.class); addMapping(TaskSpec.class); } }
Update for new ID-less addMapping()
Update for new ID-less addMapping()
Java
bsd-2-clause
malensek/forager,malensek/forager
4cf41f5b834e91eaf3c2348295f1bea9090719d9
src/oe/packet/PacketHandler.java
src/oe/packet/PacketHandler.java
package oe.packet; import net.minecraft.network.INetworkManager; import net.minecraft.network.packet.Packet250CustomPayload; import cpw.mods.fml.common.network.IPacketHandler; import cpw.mods.fml.common.network.Player; public class PacketHandler implements IPacketHandler { @Override public void onPacketData(IN...
package oe.packet; import net.minecraft.network.INetworkManager; import net.minecraft.network.packet.Packet250CustomPayload; import cpw.mods.fml.common.network.IPacketHandler; import cpw.mods.fml.common.network.Player; public class PacketHandler implements IPacketHandler { @Override public void onPacketData(IN...
Remove Debug code in packet handler
Remove Debug code in packet handler
Java
mit
ictrobot/Open-Exchange
40b8e3b1ee7f94ec019ca4211d7b75b74077dd48
ReferenceLibrary/src/main/java/referencelibrary/ui/command/GenerateBibTexCommand.java
ReferenceLibrary/src/main/java/referencelibrary/ui/command/GenerateBibTexCommand.java
package referencelibrary.ui.command; import referencelibrary.App; import referencelibrary.io.IO; /** * Created by petri on 16.4.2016. */ public class GenerateBibTexCommand extends Command { public GenerateBibTexCommand(App app, IO io) { super(app, io); } @Override public void execute() { ...
package referencelibrary.ui.command; import referencelibrary.App; import referencelibrary.io.IO; /** * Created by petri on 16.4.2016. */ public class GenerateBibTexCommand extends Command { private static final String BIBTEX_FILE_ENDING = ".bib"; public GenerateBibTexCommand(App app, IO io) { supe...
Add .bib ending to generated files
Add .bib ending to generated files
Java
mit
Mahtimursut/ohtu
349fac9d1a31e63b253b515e07823781fb483940
guacamole-ext/src/main/java/org/apache/guacamole/properties/URIGuacamoleProperty.java
guacamole-ext/src/main/java/org/apache/guacamole/properties/URIGuacamoleProperty.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 ...
Return null for null property values.
GUACAMOLE-678: Return null for null property values.
Java
apache-2.0
mike-jumper/incubator-guacamole-client,glyptodon/guacamole-client,glyptodon/guacamole-client,mike-jumper/incubator-guacamole-client,glyptodon/guacamole-client,mike-jumper/incubator-guacamole-client,mike-jumper/incubator-guacamole-client,glyptodon/guacamole-client,glyptodon/guacamole-client
37d9e35c93aa983dea28d44aa662dde09a0337e7
src/test/java/com/conveyal/gtfs/util/UtilTest.java
src/test/java/com/conveyal/gtfs/util/UtilTest.java
package com.conveyal.gtfs.util; import org.junit.Test; import static com.conveyal.gtfs.util.Util.human; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; /** * A test suite to verify the functionality of methods in the Util class. */ public class UtilTest { /** ...
package com.conveyal.gtfs.util; import org.junit.Before; import org.junit.Test; import static com.conveyal.gtfs.util.Util.human; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; /** * A test suite to verify the functionality of methods in the Util class. */ public class ...
Set locale to US on humanize test
Set locale to US on humanize test
Java
bsd-2-clause
conveyal/gtfs-lib
411e10eb4d75b41dd3b916074bb9ee1c595eb7b8
modules/core/src/main/java/org/openlmis/core/upload/BudgetHandler.java
modules/core/src/main/java/org/openlmis/core/upload/BudgetHandler.java
package org.openlmis.core.upload; import org.openlmis.core.domain.BaseModel; import org.openlmis.core.domain.Budget; import org.openlmis.core.service.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @Component public class BudgetHandler extends Abstrac...
package org.openlmis.core.upload; import org.openlmis.core.domain.BaseModel; import org.openlmis.core.domain.Budget; import org.openlmis.core.service.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; @Component public class BudgetHandler extends Abstrac...
Fix compiler error on validate budget handler
Fix compiler error on validate budget handler
Java
agpl-3.0
vimsvarcode/elmis,kelvinmbwilo/vims,USAID-DELIVER-PROJECT/elmis,vimsvarcode/elmis,USAID-DELIVER-PROJECT/elmis,vimsvarcode/elmis,kelvinmbwilo/vims,USAID-DELIVER-PROJECT/elmis,kelvinmbwilo/vims,jasolangi/jasolangi.github.io,OpenLMIS/open-lmis,USAID-DELIVER-PROJECT/elmis,OpenLMIS/open-lmis,kelvinmbwilo/vims,vimsvarcode/el...
17d32fce4a067c2d2b32fa881838850e9be64741
sampleapp/src/it/java/edu/samplu/mainmenu/test/TermLookUpLegacyIT.java
sampleapp/src/it/java/edu/samplu/mainmenu/test/TermLookUpLegacyIT.java
/** * Copyright 2005-2011 The Kuali Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl2.php * * Unless required by a...
/** * Copyright 2005-2011 The Kuali Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl2.php * * Unless required by a...
Disable term lookup smoke test to avoid any server impact till fixed.
KULRICE-9047: Disable term lookup smoke test to avoid any server impact till fixed. git-svn-id: 2a5d2b5a02908a0c4ba7967b726d8c4198d1b9ed@37464 7a7aa7f6-c479-11dc-97e2-85a2497f191d
Java
apache-2.0
ricepanda/rice-git3,kuali/rice-playground,ricepanda/rice-git3,kuali/rice-playground,ricepanda/rice-git3,kuali/rice-playground,kuali/rice-playground,ricepanda/rice-git2,ricepanda/rice-git2,ricepanda/rice-git2,ricepanda/rice-git3,ricepanda/rice-git2
1d5931bf442ccf80e15d5b818980ac87e5bd1156
src/main/java/com/github/aureliano/verbum_domini/helper/UrlHelper.java
src/main/java/com/github/aureliano/verbum_domini/helper/UrlHelper.java
package com.github.aureliano.verbum_domini.helper; import javax.servlet.ServletRequest; import javax.servlet.http.HttpServletRequest; import org.apache.commons.lang.StringUtils; public final class UrlHelper { private UrlHelper() { super(); } public static String join(Object...tokens) { return "/" + StringU...
package com.github.aureliano.verbum_domini.helper; import javax.servlet.ServletRequest; import javax.servlet.http.HttpServletRequest; import org.apache.commons.lang.StringUtils; public final class UrlHelper { private UrlHelper() { super(); } public static String join(Object...tokens) { return "/" + StringU...
Build URL with server context path.
Build URL with server context path.
Java
mit
aureliano/verbum-domini,aureliano/verbum-domini,aureliano/verbum-domini,aureliano/verbum-domini
fa1ed734a1d019a527c61d468615bc46b495b420
src/main/java/net/openright/infrastructure/rest/JsonGetController.java
src/main/java/net/openright/infrastructure/rest/JsonGetController.java
package net.openright.infrastructure.rest; import java.io.IOException; import java.io.Writer; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.json.JSONObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class JsonGetController implements Ge...
package net.openright.infrastructure.rest; import java.io.IOException; import java.io.Writer; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.json.JSONObject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class JsonGetController implements Ge...
Use json.toString instead of json when printing object.
Use json.toString instead of json when printing object.
Java
mit
olillevik/my-server-seed,olillevik/my-server-seed,steria/openright-simple-server-seed,jhannes/openright-conferencer,steria/openright-simple-server-seed,jhannes/openright-conferencer,steria/openright-simple-server-seed,jhannes/openright-conferencer,olillevik/my-server-seed
8d90e270a5ba089ee70b8d4419a14182d0b77fdc
api-query/src/main/java/org/openweathermap/api/query/AbstractQuery.java
api-query/src/main/java/org/openweathermap/api/query/AbstractQuery.java
/* * Copyright 2021, Yurii Serhiichuk * * 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 2021, Yurii Serhiichuk * * 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...
Make `baseUrl` non-final as we should be able to override it.
Make `baseUrl` non-final as we should be able to override it.
Java
apache-2.0
xSAVIKx/openweathermap-java-api,xSAVIKx/openweathermap-java-api
1bdc92116a8b1b21bf2742247e1121d1ffa02524
oryx-common/src/test/java/com/cloudera/oryx/common/random/RandomManagerRandomTest.java
oryx-common/src/test/java/com/cloudera/oryx/common/random/RandomManagerRandomTest.java
/* * Copyright (c) 2014, Cloudera, Inc. All Rights Reserved. * * Cloudera, Inc. 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/LICE...
/* * Copyright (c) 2014, Cloudera, Inc. All Rights Reserved. * * Cloudera, Inc. 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/LICE...
Disable random test for Jenkins
Disable random test for Jenkins
Java
apache-2.0
nvoron23/oryx,brummell/oryx,SwathiMystery/oryx,oncewang/oryx2,brummell/oryx,feynmanliang/oryx,OryxProject/oryx,feynmanliang/oryx,SevenYoung/oryx,jordancheah/oryx,bikash/oryx-1,nvoron23/oryx,srowen/oryx,oncewang/oryx2,SevenYoung/oryx,bikash/oryx-1,srowen/oryx,dsdinter/oryx,ChuyuHsu/oryx,OryxProject/oryx,santoshsahoo/ory...
4bb566b0b02f1b1d4b7053508fc890cb479ded5b
src/main/java/com/pinterest/secor/io/impl/AdgearDeliveryJsonReader.java
src/main/java/com/pinterest/secor/io/impl/AdgearDeliveryJsonReader.java
package com.pinterest.secor.io.impl; import com.pinterest.secor.common.SecorConfig; import com.pinterest.secor.io.AdgearReader; import com.pinterest.secor.io.KeyValue; import net.minidev.json.JSONObject; import net.minidev.json.JSONValue; // Converts delivery JSON to Beh TSV public class AdgearDeliveryJsonReader imp...
package com.pinterest.secor.io.impl; import com.pinterest.secor.common.SecorConfig; import com.pinterest.secor.io.AdgearReader; import com.pinterest.secor.io.KeyValue; import net.minidev.json.JSONObject; import net.minidev.json.JSONValue; // Converts delivery JSON to Beh TSV public class AdgearDeliveryJsonReader imp...
Write buyer ID when converting delivery logs.
Write buyer ID when converting delivery logs.
Java
apache-2.0
adgear/secor,adgear/secor
6340d0d14107b1e827108db52ce18ed6c6c630a7
18/E18_10/E18_10.java
18/E18_10/E18_10.java
/* Write a recursive method that finds the number of occurrences of a specified letter in a string using the following method header: public static int count(String str, char a) For example, count("Welcome", 'e') returns 2. Write a test program that prompts the user to enter a string and a character, and di...
/* Write a recursive method that finds the number of occurrences of a specified letter in a string using the following method header: public static int count(String str, char a) For example, count("Welcome", 'e') returns 2. Write a test program that prompts the user to enter a string and a character, and di...
Use auxilliary recursive method to eliminate need to create new strings via substring method
Use auxilliary recursive method to eliminate need to create new strings via substring method
Java
mit
maxalthoff/intro-to-java-exercises
25b668549190a78a9f7ac57359d8f1a8c2feb646
desktop/src/main/java/bisq/desktop/util/validation/RevolutValidator.java
desktop/src/main/java/bisq/desktop/util/validation/RevolutValidator.java
/* * This file is part of Bisq. * * Bisq is free software: you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or (at * your option) any later version. * * Bisq is distributed in the ...
/* * This file is part of Bisq. * * Bisq is free software: you can redistribute it and/or modify it * under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or (at * your option) any later version. * * Bisq is distributed in the ...
Allow Revolut username to be minimum 3 characters
Allow Revolut username to be minimum 3 characters
Java
agpl-3.0
bitsquare/bitsquare,bisq-network/exchange,bisq-network/exchange,bitsquare/bitsquare
93904eb7fb1435bfcaa8418c3b0f22c89d7efdf0
src/test/java/com/marcospassos/phpserializer/adapter/MapAdapterTest.java
src/test/java/com/marcospassos/phpserializer/adapter/MapAdapterTest.java
package com.marcospassos.phpserializer.adapter; import static org.mockito.Mockito.inOrder; import static org.mockito.Mockito.mock; import com.marcospassos.phpserializer.Context; import com.marcospassos.phpserializer.Writer; import java.util.HashMap; import java.util.Map; import org.junit.Test; import org.mockito.InOr...
package com.marcospassos.phpserializer.adapter; import static org.mockito.Mockito.inOrder; import static org.mockito.Mockito.mock; import com.marcospassos.phpserializer.Context; import com.marcospassos.phpserializer.Writer; import java.util.HashMap; import java.util.Map; import org.junit.Test; import org.mockito.InOr...
Fix test for unordered map making it order-insensitive
Fix test for unordered map making it order-insensitive
Java
mit
marcospassos/java-php-serializer,marcospassos/java-php-serializer
5c1395d38328e6a4cbb990affbeeeec7d60262b8
library/src/main/java/com/novoda/downloadmanager/WaitForLockRunnable.java
library/src/main/java/com/novoda/downloadmanager/WaitForLockRunnable.java
package com.novoda.downloadmanager; import com.novoda.notils.logger.simple.Log; class WaitForLockRunnable { interface Action { void performAction(); } static WaitForLockAndThenPerformActionRunnable waitFor(Object lock) { return new WaitForLockAndThenPerformActionRunnable(lock); } ...
package com.novoda.downloadmanager; import com.novoda.notils.logger.simple.Log; class WaitForLockRunnable { interface Action { void performAction(); } private WaitForLockRunnable() { // Uses static factory method. } static WaitForLockAndThenPerformActionRunnable waitFor(Object l...
Add private constructor for factory.
Add private constructor for factory.
Java
apache-2.0
novoda/download-manager
eb6557e2342b3605b434ba151ba54bdb61f2d96b
cdm/src/test/java/thredds/catalog2/TestAll.java
cdm/src/test/java/thredds/catalog2/TestAll.java
package thredds.catalog2; import junit.framework.*; import thredds.catalog2.simpleImpl.*; import thredds.catalog2.xml.parser.TestCatalogParser; /** * _more_ * * @author edavis * @since 4.0 */ public class TestAll extends TestCase { public TestAll( String name ) { super( name ); } public static Test ...
package thredds.catalog2; import junit.framework.*; import thredds.catalog2.simpleImpl.*; import thredds.catalog2.xml.parser.TestCatalogParser; /** * _more_ * * @author edavis * @since 4.0 */ public class TestAll extends TestCase { public TestAll( String name ) { super( name ); } public static Test ...
Work on thredds.catalog2: working on unit tests.
Work on thredds.catalog2: working on unit tests.
Java
bsd-3-clause
Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java
45c375c38e1a02347c17d172a6bd7dc68aebcdd4
components/camel-aws/src/main/java/org/apache/camel/component/aws/common/AwsExchangeUtil.java
components/camel-aws/src/main/java/org/apache/camel/component/aws/common/AwsExchangeUtil.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...
Fix over writing previous addToResult calls
Fix over writing previous addToResult calls I noticed that multiple calls to the addToResult method in the org.apache.camel.component.aws.ddb.AbstractDdbCommand within the child class org.apache.camel.component.aws.ddb.ScanCommand caused the next call to over write the previous calls to addToResult in the header resul...
Java
apache-2.0
RohanHart/camel,chirino/camel,christophd/camel,tlehoux/camel,jkorab/camel,drsquidop/camel,sverkera/camel,jamesnetherton/camel,gautric/camel,snurmine/camel,tadayosi/camel,jonmcewen/camel,bgaudaen/camel,pkletsko/camel,zregvart/camel,prashant2402/camel,arnaud-deprez/camel,pmoerenhout/camel,apache/camel,sirlatrom/camel,all...
0c04f830cf2b4aa5ba85712b78fc9dcea94b9ab0
src/main/java/se/kits/gakusei/content/repository/GrammarTextRepository.java
src/main/java/se/kits/gakusei/content/repository/GrammarTextRepository.java
package se.kits.gakusei.content.repository; import org.springframework.data.repository.CrudRepository; import se.kits.gakusei.content.model.GrammarText; public interface GrammarTextRepository extends CrudRepository<GrammarText, String> { }
package se.kits.gakusei.content.repository; import org.springframework.data.repository.CrudRepository; import se.kits.gakusei.content.model.GrammarText; import java.util.List; public interface GrammarTextRepository extends CrudRepository<GrammarText, String> { List<GrammarText> findByInflectionMethod(String inf...
Add method for finding grammarText using inflectionMethod
Add method for finding grammarText using inflectionMethod
Java
mit
kits-ab/gakusei,kits-ab/gakusei,kits-ab/gakusei
f913deb21cfb3642a47c024ece51ff0228cde089
xcodeml-transform/src/x2x/translator/xcodeml/transformation/DependentTransformationGroup.java
xcodeml-transform/src/x2x/translator/xcodeml/transformation/DependentTransformationGroup.java
package x2x.translator.xcodeml.transformation; import java.util.ArrayList; import x2x.translator.xcodeml.xelement.XcodeProg; import x2x.translator.xcodeml.transformer.Transformer; /** * An dependent transformation group check wether it can be transformed with * another pending transformation in the pipeline. Each ...
package x2x.translator.xcodeml.transformation; import java.util.ArrayList; import x2x.translator.xcodeml.xelement.XcodeProg; import x2x.translator.xcodeml.transformer.Transformer; /** * An dependent transformation group check wether it can be transformed with * another pending transformation in the pipeline. Each ...
Add transformation in the pipeline according to their position
Add transformation in the pipeline according to their position
Java
bsd-2-clause
clementval/claw-compiler,clementval/claw-compiler
d31b150b42a4f0378c5edad8fc3eb8c293ef2115
android/src/main/java/com/novadart/reactnativenfc/ReactNativeNFCPackage.java
android/src/main/java/com/novadart/reactnativenfc/ReactNativeNFCPackage.java
package com.novadart.reactnativenfc; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.ArrayList; import j...
package com.novadart.reactnativenfc; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.ArrayList; import j...
Handle Android RN 0.47 breaking change
Handle Android RN 0.47 breaking change https://github.com/facebook/react-native/commit/ce6fb337a146e6f261f2afb564aa19363774a7a8
Java
mit
markvl91/react-native-nfc,markvl91/react-native-nfc,Novadart/react-native-nfc,Novadart/react-native-nfc
75fdfecf4b1ec8ef9f3d089b5378b6cb5cf2d28a
src/main/java/com/hp/autonomy/frontend/find/configuration/AbstractPersistentStateCondition.java
src/main/java/com/hp/autonomy/frontend/find/configuration/AbstractPersistentStateCondition.java
/* * Copyright 2014-2015 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.hp.autonomy.frontend.find.configuration; import org.springframework.context.annotation.Condition; import org.springfra...
/* * Copyright 2014-2015 Hewlett-Packard Development Company, L.P. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. */ package com.hp.autonomy.frontend.find.configuration; import org.springframework.context.annotation.Condition; import org.springfra...
Rename property in case it ever becomes more general than Redis
Rename property in case it ever becomes more general than Redis
Java
mit
LinkPowerHK/find,hpe-idol/find,hpe-idol/find,hpe-idol/find,hpe-idol/find,LinkPowerHK/find,LinkPowerHK/find,hpautonomy/find,hpe-idol/find,hpautonomy/find,LinkPowerHK/find,hpe-idol/java-powerpoint-report,hpautonomy/find,hpautonomy/find,hpautonomy/find,LinkPowerHK/find,hpe-idol/java-powerpoint-report
7a30eef3673621b57a3dce3e7adced48b3944a08
konashi-android-sdk/src/main/java/com/uxxu/konashi/lib/KonashiErrorType.java
konashi-android-sdk/src/main/java/com/uxxu/konashi/lib/KonashiErrorType.java
package com.uxxu.konashi.lib; import info.izumin.android.bletia.BletiaErrorType; /** * Created by izumin on 9/16/15. */ public enum KonashiErrorType implements BletiaErrorType{ INVALID_PARAMETER, NOT_ENABLED_UART, NOT_ENABLED_I2C; @Override public int getCode() { return -1; } @...
package com.uxxu.konashi.lib; import info.izumin.android.bletia.BletiaErrorType; /** * Created by izumin on 9/16/15. */ public enum KonashiErrorType implements BletiaErrorType{ INVALID_PARAMETER, NOT_ENABLED_UART, NOT_ENABLED_I2C, INVALID_PIN_NUMBER, INVALID_MODE, INVALID_PULLUP_PARAM, I...
Add ErrorType refer to issue
Add ErrorType refer to issue
Java
apache-2.0
YUKAI/konashi-android-sdk,kiryuxxu/konashi-android-sdk,YUKAI/konashi-android-sdk
526accbdf5aee139bb7b5a9adcce426940842b7b
src/main/java/io/macintosh/scratch/params/MyMath.java
src/main/java/io/macintosh/scratch/params/MyMath.java
package io.macintosh.scratch.params; public class MyMath { public int sum(int[] vals) { int sum = 0; for(int val : vals) { sum += val; } return sum; } public int avg(int[] vals) { int sum = sum(vals); int avg = sum / vals.length; // simple; no rounding return avg; } }
package io.macintosh.scratch.params; public class MyMath { public int sum(int[] vals) { int sum = 0; for(int val : vals) { sum += val; } return sum; } public int avg(int[] vals) { int avg = 0; if(vals.length > 0) { avg = sum(vals) / vals.length; // simple; no rounding } return avg; } }
Add protection for zero-length array.
Add protection for zero-length array.
Java
apache-2.0
macintoshio/param-tests
ac57607317021ae13b0f157514a22fd8e7b17a6f
java/src/sorting/StupidSort.java
java/src/sorting/StupidSort.java
package sorting; import java.util.Comparator; public class StupidSort { public static void main(String[] args) { Comparator<Integer> ascending = new Comparator<Integer>() { @Override public int compare(Integer foo, Integer bar) { return foo - bar; } }; int[] array = {5, 4, 3, 2, 1}; stup...
package sorting; import java.util.Comparator; public class StupidSort { public static void swap(int[] array, int foo, int bar) { int temp = array[foo]; array[foo] = array[bar]; array[bar] = temp; } public static void stupidSort(int[] array, Comparator<Integer> comparator) { for (int i = 0; i < arr...
Drop main function as we are moving to Junit.
Drop main function as we are moving to Junit.
Java
mit
kowshik/big-o,guitilangyin0000/big-o,guitilangyin0000/big-o,kowshik/big-o
82614e8ded7b854465cd842346e27ec2b82aacb3
src/org/traccar/api/BaseResource.java
src/org/traccar/api/BaseResource.java
/* * Copyright 2015 Anton Tananaev (anton.tananaev@gmail.com) * * 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 b...
/* * Copyright 2015 - 2016 Anton Tananaev (anton.tananaev@gmail.com) * * 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 req...
Implement OPTIONS verb API handler
Implement OPTIONS verb API handler
Java
apache-2.0
AnshulJain1985/Roadcast-Tracker,stalien/traccar_test,vipien/traccar,ninioe/traccar,tsmgeek/traccar,tananaev/traccar,orcoliver/traccar,jon-stumpf/traccar,tsmgeek/traccar,ninioe/traccar,tsmgeek/traccar,renaudallard/traccar,al3x1s/traccar,5of9/traccar,tananaev/traccar,jssenyange/traccar,al3x1s/traccar,jon-stumpf/traccar,s...
0f17bdf5a3ad54f89b2d8e9570423227cc3a2bd2
src/main/java/com/parallax/server/common/cloudsession/service/impl/DatabaseMaintenanceServiceImpl.java
src/main/java/com/parallax/server/common/cloudsession/service/impl/DatabaseMaintenanceServiceImpl.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.parallax.server.common.cloudsession.service.impl; import com.google.inject.Inject; import com.parallax.server.common.cloud...
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package com.parallax.server.common.cloudsession.service.impl; import com.google.inject.Inject; import com.parallax.server.common.cloud...
Fix sleeping database connection bug
Fix sleeping database connection bug
Java
mit
parallaxinc/Cloud-Session,parallaxinc/Cloud-Session
fcf57f6698166e3a1851d45b5458191987435c5a
engine/src/main/java/uk/org/sappho/code/change/management/data/ChangedFile.java
engine/src/main/java/uk/org/sappho/code/change/management/data/ChangedFile.java
package uk.org.sappho.code.change.management.data; import net.sf.oval.constraint.NotEmpty; import net.sf.oval.constraint.NotNull; public class ChangedFile { @NotNull @NotEmpty private final String filename; @NotNull @NotEmpty private final Boolean isCreate; public ChangedFile(String file...
package uk.org.sappho.code.change.management.data; import net.sf.oval.constraint.NotEmpty; import net.sf.oval.constraint.NotNull; public class ChangedFile { @NotNull @NotEmpty private String filename; @NotNull @NotEmpty private Boolean isCreate; public ChangedFile() { } public C...
Add no-params constructor to fix data file read issue.
CHM-57: Add no-params constructor to fix data file read issue.
Java
agpl-3.0
sappho/code-heatmap
a71a8badd7e7404daec7de325126d22a6192fd19
underfs/cosn/src/main/java/alluxio/underfs/cosn/CosNUnderFileSystemFactory.java
underfs/cosn/src/main/java/alluxio/underfs/cosn/CosNUnderFileSystemFactory.java
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
Add import statement to make link in Java doc workable
[SMALLFIX] Add import statement to make link in Java doc workable Add import statement to make link in Java doc workable pr-link: Alluxio/alluxio#12982 change-id: cid-b74e33f50b1ecfa5d859b2ce3a78929474c81e34
Java
apache-2.0
wwjiang007/alluxio,Alluxio/alluxio,calvinjia/tachyon,Alluxio/alluxio,Alluxio/alluxio,bf8086/alluxio,wwjiang007/alluxio,calvinjia/tachyon,bf8086/alluxio,maobaolong/alluxio,maobaolong/alluxio,calvinjia/tachyon,wwjiang007/alluxio,maobaolong/alluxio,calvinjia/tachyon,bf8086/alluxio,wwjiang007/alluxio,wwjiang007/alluxio,cal...
b47ef1de3a258d654e2b082e65ca060fd71cd0a4
code/Client/src/Logger.java
code/Client/src/Logger.java
import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; public class Logger { private String filename; Logger(String filename) { this.filename = filename; } public void append(String line) { try(PrintWriter out = new PrintWriter(new BufferedWriter(ne...
import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; public class Logger { private PrintWriter out; Logger(String filename) { try { out = new PrintWriter(new BufferedWriter(new FileWriter(filename, true))); } catch (IOException e) { e.printStac...
Fix logger for java 1.6
Fix logger for java 1.6
Java
mit
ryanseys/bomberman
9831aafb7dd4947d2847e589f5222130d4b32a42
server/src/main/java/de/fau/amos/virtualledger/server/auth/KeycloakUtilizer.java
server/src/main/java/de/fau/amos/virtualledger/server/auth/KeycloakUtilizer.java
package de.fau.amos.virtualledger.server.auth; import org.keycloak.KeycloakPrincipal; import org.keycloak.KeycloakSecurityContext; import org.keycloak.representations.AccessToken; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.stereotype.Component; @Component public...
package de.fau.amos.virtualledger.server.auth; import org.keycloak.KeycloakPrincipal; import org.keycloak.KeycloakSecurityContext; import org.keycloak.representations.AccessToken; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.stereotype.Component; @Component public...
Add method to get complete Authorization Header for adorsys
Add method to get complete Authorization Header for adorsys
Java
apache-2.0
BankingBoys/amos-ss17-proj7,BankingBoys/amos-ss17-proj7
f04d984022765e7e3deadf0e671129be340bfd3d
orca-core/src/main/java/com/netflix/spinnaker/orca/pipeline/expressions/whitelisting/InstantiationTypeRestrictor.java
orca-core/src/main/java/com/netflix/spinnaker/orca/pipeline/expressions/whitelisting/InstantiationTypeRestrictor.java
/* * Copyright 2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
/* * Copyright 2017 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
Whitelist `DayOfWeek` enum for expressions
fix(expressions): Whitelist `DayOfWeek` enum for expressions
Java
apache-2.0
ajordens/orca,spinnaker/orca,robfletcher/orca,ajordens/orca,ttomsu/orca,ajordens/orca,duftler/orca,ttomsu/orca,robfletcher/orca,ajordens/orca,duftler/orca,robfletcher/orca,duftler/orca,spinnaker/orca,duftler/orca,ttomsu/orca,robfletcher/orca,spinnaker/orca,ttomsu/orca
6a61d66c9990696e63181ce1d13c24120d4814ff
jextend-jdk/src/test/java/uk/co/littlemike/jextend/impl/jdk/MethodLookupTest.java
jextend-jdk/src/test/java/uk/co/littlemike/jextend/impl/jdk/MethodLookupTest.java
package uk.co.littlemike.jextend.impl.jdk; import org.junit.Test; public class MethodLookupTest { private void privateMethod() { } @Test(expected = MethodLookupException.class) public void throwsExceptionWhenAttemptingToLookupPrivateMethod() throws Exception { MethodLookup lookup = new Metho...
package uk.co.littlemike.jextend.impl.jdk; import org.junit.Test; public class MethodLookupTest { private void privateMethod() { } @Test(expected = MethodLookupException.class) public void throwsExceptionWhenAttemptingToLookupPrivateMethodOnDifferentClass() throws Exception { MethodLookup lo...
Add test for privileged private method lookup failure
Add test for privileged private method lookup failure
Java
bsd-2-clause
LittleMikeDev/jextend
5392bd974ed2dca92b275e2d822f07978ec2430e
src/android/LaunchNative.java
src/android/LaunchNative.java
package edu.berkeley.eecs.emission.cordova.launchnative; import org.apache.cordova.*; import org.json.JSONArray; import org.json.JSONException; import android.content.Intent; public class LaunchNative extends CordovaPlugin { @Override public boolean execute(String action, JSONArray data, CallbackContext call...
package edu.berkeley.eecs.emission.cordova.launchnative; import org.apache.cordova.*; import org.json.JSONArray; import org.json.JSONException; import android.content.Intent; public class LaunchNative extends CordovaPlugin { @Override public boolean execute(String action, JSONArray data, CallbackContext call...
Read the correct package name
Read the correct package name We can't read the package name from the cordova interface since that is in the org.apache.cordova package. Instead, we get it from the cordova activity. So as long as the new screen is in the same package as the cordova activity, we are fine.
Java
bsd-3-clause
e-mission/cordova-launch-native-screen,e-mission/cordova-launch-native-screen
8090d15fcc680b8d00e2d07e278bf26a7a0be93f
src/main/java/com/brysonm/uconomy/ItemUtils.java
src/main/java/com/brysonm/uconomy/ItemUtils.java
package com.brysonm.uconomy; import org.apache.commons.lang.StringUtils; import org.bukkit.Material; import java.util.ArrayList; import java.util.List; public class ItemUtils { public static String toFriendlyName(Material material) { String materialName = material.name().toLowerCase(); if(!mat...
package com.brysonm.uconomy; import org.apache.commons.lang.StringUtils; import org.bukkit.Material; import java.util.ArrayList; import java.util.List; public class ItemUtils { public static String toFriendlyName(Material material) { String materialName = material.name().toLowerCase(); if(!mat...
Fix name with '_' in them being blank.
Fix name with '_' in them being blank.
Java
mit
bm/uConomy
8128911d7704390ab747cab7f6b0254aa8384965
src/main/java/com/alexrnl/jbetaseries/JBetaSeries.java
src/main/java/com/alexrnl/jbetaseries/JBetaSeries.java
package com.alexrnl.jbetaseries; import java.util.logging.Logger; /** * Entry point of the interface to the BetaSeries API.<br /> * @author Alex */ public class JBetaSeries { /** Logger */ private static Logger lg = Logger.getLogger(JBetaSeries.class.getName()); /** The key to use for the API */ private Stri...
package com.alexrnl.jbetaseries; import java.util.logging.Logger; /** * Entry point of the interface to the BetaSeries API.<br /> * @author Alex */ public final class JBetaSeries { /** Logger */ private static Logger lg = Logger.getLogger(JBetaSeries.class.getName()); /** The key to use for the API */ privat...
Add constructors to main class
Add constructors to main class
Java
bsd-3-clause
AlexRNL/jSeries
efa9be9470987633079eb9e37370fc2bf33ace66
solutions/java/ConvertArray.java
solutions/java/ConvertArray.java
import java.util.Arrays; public class ConvertArray { public int getOriginalIndex(int currentIndex, int length) { return (currentIndex % 3) * length + currentIndex/3; } public int[] convert(int[] input) { for (int i = 0; i < input.length; ++i) { int originalIndex = getOriginalIndex(i, input.length/3); ...
import java.util.Arrays; public class ConvertArray { public int getOriginalIndex(int currentIndex, int length) { return (currentIndex % 3) * length + currentIndex/3; } public int[] convert(int[] input) { // When array size is less than 3, returns an error. if (input.length % 3 != 0 ) { System.out.pr...
Update to handle an edge case
Update to handle an edge case Added an update to handle the case when array size is not a multiple of 3. Without this the program will run into an infinite loop!
Java
mit
caoglish/code-problems,blakeembrey/code-problems,blakeembrey/code-problems,caoglish/code-problems,blakeembrey/code-problems,blakeembrey/code-problems,caoglish/code-problems,caoglish/code-problems,blakeembrey/code-problems,blakeembrey/code-problems,caoglish/code-problems,caoglish/code-problems,blakeembrey/code-problems,...
a8dc750a493c97bf87a9c4757f45b5006087eae0
src/jxfdl/utils/Base64GZip.java
src/jxfdl/utils/Base64GZip.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package jxfdl.utils; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.util.logging.Level; import java.util.logging.Logger; import java.util.zip.GZIPInputStream; im...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package jxfdl.utils; import java.io.IOException; import java.io.InputStream; import java.util.logging.Level; import java.util.logging.Logger; import java.util.zip.GZIPInputStream; import org.apache.commons.codec.binary....
Use Apache Commons Base64 library instead of sun.misc.BASE64
Use Apache Commons Base64 library instead of sun.misc.BASE64 This will enable use on Android
Java
mit
unamanic/jXFDL
1634592660ecb378bd8477aa60d352d0808ab7c1
src/main/java/water/fvec/NFSFileVec.java
src/main/java/water/fvec/NFSFileVec.java
package water.fvec; import java.io.File; import org.apache.hadoop.fs.FileStatus; import water.*; import water.persist.PersistHdfs; import water.persist.PersistNFS; // A distributed file-backed Vector // public class NFSFileVec extends FileVec { // Make a new NFSFileVec key which holds the filename implicitly. ...
package water.fvec; import java.io.File; import water.*; import water.persist.PersistNFS; // A distributed file-backed Vector // public class NFSFileVec extends FileVec { // Make a new NFSFileVec key which holds the filename implicitly. // This name is used by the DVecs to load data on-demand. public static K...
Remove unused Key.make for Hadoop FileStatus.
Remove unused Key.make for Hadoop FileStatus.
Java
apache-2.0
eg-zhang/h2o-2,eg-zhang/h2o-2,h2oai/h2o,100star/h2o,calvingit21/h2o-2,calvingit21/h2o-2,calvingit21/h2o-2,calvingit21/h2o-2,vbelakov/h2o,111t8e/h2o-2,111t8e/h2o-2,vbelakov/h2o,rowhit/h2o-2,h2oai/h2o,100star/h2o,h2oai/h2o,vbelakov/h2o,vbelakov/h2o,100star/h2o,h2oai/h2o,elkingtonmcb/h2o-2,rowhit/h2o-2,elkingtonmcb/h2o-2,...
326220d709b6c859707494a06245b32c79a8a9c3
src/Entities/GameBaseEntity.java
src/Entities/GameBaseEntity.java
package Entities; import org.jsfml.graphics.Sprite; /** * Created by steven on 10/10/14. */ public abstract class GameBaseEntity extends Sprite{ // Angle of the entity relative to origin private int angle; // Radius of the entity relative to origin private int radius; public GameBaseEntity() {...
package Entities; import org.jsfml.graphics.Sprite; /** * Created by steven on 10/10/14. */ public abstract class GameBaseEntity extends Sprite{ // Angle of the entity relative to origin private int angle; // Radius of the entity relative to origin private int radius; // Allow to know if the en...
Add isVisible and isAlive attributs with getters and setters.
Add isVisible and isAlive attributs with getters and setters.
Java
mit
FuriousCatInteractive/AlektoroZombie,Shask/GameJam-October-2014
5f9bcca478589f976e3e89b1726c65e702c322a3
src/main/java/com/hp/autonomy/frontend/find/configuration/FindConfigFileService.java
src/main/java/com/hp/autonomy/frontend/find/configuration/FindConfigFileService.java
package com.hp.autonomy.frontend.find.configuration; import com.fasterxml.jackson.databind.ObjectMapper; import com.hp.autonomy.frontend.configuration.AbstractAuthenticatingConfigFileService; import com.hp.autonomy.frontend.configuration.Authentication; public class FindConfigFileService extends AbstractAuthenticatin...
package com.hp.autonomy.frontend.find.configuration; import com.hp.autonomy.frontend.configuration.AbstractAuthenticatingConfigFileService; public class FindConfigFileService extends AbstractAuthenticatingConfigFileService<FindConfig> { @Override public FindConfig preUpdate(final FindConfig config) { ...
Remove method which went away.
Remove method which went away.
Java
mit
LinkPowerHK/find,hpautonomy/find,hpe-idol/find,hpautonomy/find,LinkPowerHK/find,LinkPowerHK/find,LinkPowerHK/find,hpe-idol/java-powerpoint-report,hpe-idol/find,hpe-idol/java-powerpoint-report,hpe-idol/find,hpe-idol/find,LinkPowerHK/find,hpe-idol/find,hpautonomy/find,hpautonomy/find,hpautonomy/find
208888028f9702676ba4bf009803248c458266fe
config-model/src/main/java/com/yahoo/vespa/model/admin/LogserverContainerCluster.java
config-model/src/main/java/com/yahoo/vespa/model/admin/LogserverContainerCluster.java
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.model.admin; import com.yahoo.config.model.deploy.DeployState; import com.yahoo.config.model.producer.AbstractConfigProducer; import com.yahoo.container.handler.ThreadpoolConfig; imp...
// Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.model.admin; import com.yahoo.config.model.deploy.DeployState; import com.yahoo.config.model.producer.AbstractConfigProducer; import com.yahoo.container.handler.ThreadpoolConfig; imp...
Reduce max heap from 512m to 384m
Reduce max heap from 512m to 384m
Java
apache-2.0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
6bafb14b90f04b9fa5026d2010c84f0f2e60661d
view/src/main/java/org/xcolab/view/pages/members/users/utils/MemberListCsvWriter.java
view/src/main/java/org/xcolab/view/pages/members/users/utils/MemberListCsvWriter.java
package org.xcolab.view.pages.members.users.utils; import org.xcolab.client.members.pojo.Member; import org.xcolab.view.util.CsvResponseWriter; import java.io.IOException; import java.util.Arrays; import java.util.List; import java.util.function.Function; import javax.servlet.http.HttpServletResponse; public class ...
package org.xcolab.view.pages.members.users.utils; import org.xcolab.client.members.pojo.Member; import org.xcolab.view.util.CsvResponseWriter; import java.io.IOException; import java.util.Arrays; import java.util.List; import java.util.function.Function; import javax.servlet.http.HttpServletResponse; public class ...
Add bio to member CSV export
[COLAB-2348] Add bio to member CSV export
Java
mit
CCI-MIT/XCoLab,CCI-MIT/XCoLab,CCI-MIT/XCoLab,CCI-MIT/XCoLab
f016fbb381f3aaa01b3d69d31c34513b50bc7457
ickprotocol/core/src/main/java/com/ickstream/protocol/service/core/ServiceResponse.java
ickprotocol/core/src/main/java/com/ickstream/protocol/service/core/ServiceResponse.java
/* * Copyright (C) 2013 ickStream GmbH * All rights reserved */ package com.ickstream.protocol.service.core; public class ServiceResponse { private String id; private String name; private String type; private String url; public String getId() { return id; } public void setId(S...
/* * Copyright (C) 2013 ickStream GmbH * All rights reserved */ package com.ickstream.protocol.service.core; public class ServiceResponse { private String id; private String name; private String type; private String url; private String addServiceUrl; public String getId() { return ...
Add addServiceUrl attribute to result from findServices and findAllServices
Add addServiceUrl attribute to result from findServices and findAllServices
Java
bsd-3-clause
bluegaspode/ickstream-java-common,ickStream/ickstream-java-common
47fd8765bc10c6439f7e3601484e6bc6462f8988
src/main/java/app/util/Path.java
src/main/java/app/util/Path.java
package app.util; /** * Created by james on 11/25/16. */ public class Path { public static final String STATIC = "/public"; public static class Web { public static final String INDEX = "/"; public static final String LOGIN = "/login"; public static final String LOGOUT = "/logout"; ...
package app.util; /** * Created by james on 11/25/16. */ public class Path { public static final String STATIC = "/public"; public static class Web { public static final String INDEX = "/"; public static final String LOGIN = "/login"; public static final String LOGOUT = "/logout"; ...
Add URLs for POSTs that lead to Actions.
Add URLs for POSTs that lead to Actions.
Java
mit
jkpr/clueless,jkpr/clueless,jkpr/clueless
22777274d770efd5a94969a4586fd99c679548f9
src/test/java/com/springapp/batch/CompareEntryTest.java
src/test/java/com/springapp/batch/CompareEntryTest.java
package com.springapp.batch; import com.springapp.batch.bo.BookEntry; import org.joda.time.DateTime; import org.joda.time.Days; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.runners.MockitoJUnitRunner; import org.slf4j.Logger; import org.slf4j.LoggerFactory; impor...
package com.springapp.batch; import com.springapp.batch.bo.BookEntry; import org.joda.time.DateTime; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.runners.MockitoJUnitRunner; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; @RunWith...
Remove redundant imports and logging
Remove redundant imports and logging
Java
mit
rafelbev/address-book
ee1ffa2706e4f2f3c200d461ea9d06d40aae68dc
Server/src/org/openas2/message/FileAttribute.java
Server/src/org/openas2/message/FileAttribute.java
package org.openas2.message; public interface FileAttribute { public static final String MA_FILEPATH = "filepath"; public static final String MA_FILENAME = "filename"; public static final String MA_PENDING = "pending"; public static final String MA_PENDINGINFO = "pendinginfo"; public static final Stri...
package org.openas2.message; public interface FileAttribute { public static final String MA_FILEPATH = "filepath"; public static final String MA_FILENAME = "filename"; public static final String MA_PENDING = "pending"; public static final String MA_PENDINGINFO = "pendinginfo"; public static final Stri...
Add error and sent directory identifiers
Add error and sent directory identifiers
Java
bsd-2-clause
OpenAS2/OpenAs2App,OpenAS2/OpenAs2App,igwtech/OpenAs2App,igwtech/OpenAs2App,igwtech/OpenAs2App,igwtech/OpenAs2App,OpenAS2/OpenAs2App,OpenAS2/OpenAs2App
03bccdb9a70104c73164420015e6e822d9feb31e
src/main/java/io/airlift/compress/Compressor.java
src/main/java/io/airlift/compress/Compressor.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Add method to obtain max compressed length
Add method to obtain max compressed length
Java
apache-2.0
dain/aircompressor,airlift/aircompressor
34c6947f3b887bc448fd9e373f3bd9ed955443ee
fund/src/main/java/cl/fatman/capital/fund/App.java
fund/src/main/java/cl/fatman/capital/fund/App.java
package cl.fatman.capital.fund; /** * Hello world! * */ public class App { public static void main( String[] args ) { System.out.println( "Hello World!" ); } }
package cl.fatman.capital.fund; import java.time.LocalDate; public class App { public static void main( String[] args ) { Controller control = Controller.getInstance(); control.setUp(); System.out.println( "Starting application that load the funds data in the database."); LocalDate...
Add the application that load fund data in the database.
Add the application that load fund data in the database.
Java
mit
mparra-mpz/Capital
3e001f6022dde2fdad9714a5abd28ddbaf678f7d
src/rest-test/java/edu/kit/ipd/crowdcontrol/objectservice/rest/resources/DummyRunner.java
src/rest-test/java/edu/kit/ipd/crowdcontrol/objectservice/rest/resources/DummyRunner.java
package edu.kit.ipd.crowdcontrol.objectservice.rest.resources; import org.junit.runner.Description; import org.junit.runner.Runner; import org.junit.runner.notification.RunNotifier; /** * @author Niklas Keller * @link http://stackoverflow.com/a/10931907/2373138 */ public class DummyRunner extends Runner { @Ove...
package edu.kit.ipd.crowdcontrol.objectservice.rest.resources; import org.junit.runner.Description; import org.junit.runner.Runner; import org.junit.runner.notification.RunNotifier; /** * @author Niklas Keller * @link http://stackoverflow.com/a/10931907/2373138 */ public class DummyRunner extends Runner { publ...
Add constructor for dummy runner
Add constructor for dummy runner
Java
apache-2.0
coolcrowd/object-service,coolcrowd/ObjectService,coolcrowd/ObjectService,coolcrowd/object-service,coolcrowd/object-service,coolcrowd/object-service,coolcrowd/ObjectService,coolcrowd/ObjectService
efa32f814e5b50408668537f40fd84abddd80235
libraries/core/src/test/java/com/paritytrading/nassau/binaryfile/BinaryFILEReaderTest.java
libraries/core/src/test/java/com/paritytrading/nassau/binaryfile/BinaryFILEReaderTest.java
package com.paritytrading.nassau.binaryfile; import static com.paritytrading.nassau.binaryfile.BinaryFILEStatus.*; import static java.util.Arrays.*; import static org.junit.Assert.*; import com.paritytrading.nassau.Messages; import com.paritytrading.nassau.Strings; import java.io.InputStream; import org.junit.After; ...
package com.paritytrading.nassau.binaryfile; import static com.paritytrading.nassau.binaryfile.BinaryFILEStatus.*; import static java.util.Arrays.*; import static org.junit.Assert.*; import com.paritytrading.nassau.Messages; import com.paritytrading.nassau.Strings; import java.io.InputStream; import org.junit.After; ...
Use try-with-resources to close as application code should.
Use try-with-resources to close as application code should.
Java
apache-2.0
paritytrading/nassau,pmcs/nassau,paritytrading/nassau,pmcs/nassau
9c8a4687d2914a6f49d834cb250ed37bd8f2a8f7
dss-demo-webapp/src/main/java/eu/europa/esig/dss/web/controller/GlobalExceptionHandler.java
dss-demo-webapp/src/main/java/eu/europa/esig/dss/web/controller/GlobalExceptionHandler.java
package eu.europa.esig.dss.web.controller; import javax.servlet.http.HttpServletRequest; import org.springframework.core.annotation.AnnotationUtils; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.ann...
package eu.europa.esig.dss.web.controller; import javax.servlet.http.HttpServletRequest; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.core.annotation.AnnotationUtils; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation....
Add logger for uncatched exceptions
Add logger for uncatched exceptions
Java
lgpl-2.1
esig/dss,openlimit-signcubes/dss,zsoltii/dss,alisdev/dss,esig/dss,alisdev/dss,openlimit-signcubes/dss,zsoltii/dss
58844ab0b332f9a085adf512f3e369964abdaacc
verticalstepper/src/test/java/com/snowble/android/verticalstepper/RobolectricTestUtils.java
verticalstepper/src/test/java/com/snowble/android/verticalstepper/RobolectricTestUtils.java
package com.snowble.android.verticalstepper; import android.app.Activity; import org.robolectric.Robolectric; public class RobolectricTestUtils { public static VerticalStepper.LayoutParams createTestLayoutParams(Activity activity, int leftM...
package com.snowble.android.verticalstepper; import android.app.Activity; import org.robolectric.Robolectric; public class RobolectricTestUtils { public static VerticalStepper.LayoutParams createTestLayoutParams(Activity activity, int leftMar...
Set test width/height via attributes
Set test width/height via attributes
Java
apache-2.0
snowble/vertical-stepper
c3771e98db0cedca36aa0abbee6bdd27ac6d62c1
src/li/seiji/minichess/Game.java
src/li/seiji/minichess/Game.java
package li.seiji.minichess; import li.seiji.minichess.move.Move; import li.seiji.minichess.player.IPlayer; public class Game { private Board state = new Board(); private IPlayer white; private IPlayer black; public Game(IPlayer white, IPlayer black) { state.initialize(); this.white =...
package li.seiji.minichess; import li.seiji.minichess.move.Move; import li.seiji.minichess.player.IPlayer; public class Game { private Board state = new Board(); private IPlayer white; private IPlayer black; public Game(IPlayer white, IPlayer black) { state.initialize(); this.white =...
Add a nice log to the game
Add a nice log to the game
Java
mit
seijikun/MiniChess,seijikun/MiniChess
0ad05c76d2e40c71599aa46957affb9c03748c9a
src/test/java/guitests/ViewCommandTest.java
src/test/java/guitests/ViewCommandTest.java
package guitests; import static org.junit.Assert.assertEquals; import java.util.Set; import org.junit.Test; import javafx.scene.Node; import javafx.scene.control.TitledPane; public class ViewCommandTest extends TaskManagerGuiTest { protected final String TASK_LIST_FXML_ID = "#taskListView"; @Test pub...
package guitests; import static org.junit.Assert.assertEquals; import java.util.Set; import org.junit.Test; import javafx.scene.Node; import javafx.scene.control.TitledPane; import seedu.address.logic.commands.ViewCommand; public class ViewCommandTest extends TaskManagerGuiTest { protected final String TASK_...
Add tests for View Command
Add tests for View Command
Java
mit
CS2103JAN2017-W13-B2/main,CS2103JAN2017-W13-B2/main
ab2b3e25577008321f5d24cd63a9661fd87fe722
backend/src/main/java/com/drumonii/loltrollbuild/api/admin/AdminAuthenticationRestController.java
backend/src/main/java/com/drumonii/loltrollbuild/api/admin/AdminAuthenticationRestController.java
package com.drumonii.loltrollbuild.api.admin; import com.drumonii.loltrollbuild.api.status.BadRequestException; import com.drumonii.loltrollbuild.security.AdminUserDetails; import org.springframework.security.core.annotation.AuthenticationPrincipal; import org.springframework.security.core.userdetails.User; import org...
package com.drumonii.loltrollbuild.api.admin; import com.drumonii.loltrollbuild.api.status.BadRequestException; import com.drumonii.loltrollbuild.security.AdminUserDetails; import org.springframework.security.core.annotation.AuthenticationPrincipal; import org.springframework.security.core.userdetails.User; import org...
Simplify get AdminUserDetails from nullable UserDetails
Simplify get AdminUserDetails from nullable UserDetails
Java
mit
drumonii/LeagueTrollBuild,drumonii/LeagueTrollBuild,drumonii/LeagueTrollBuild,drumonii/LeagueTrollBuild
868707eab02399cb588c3e43ebb245278b760b29
atlasdb-cassandra/src/main/java/com/palantir/atlasdb/keyvalue/cassandra/CassandraServerVersion.java
atlasdb-cassandra/src/main/java/com/palantir/atlasdb/keyvalue/cassandra/CassandraServerVersion.java
/** * Copyright 2016 Palantir Technologies * * Licensed under the BSD-3 License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/BSD-3-Clause * * Unless required by applicable law or agreed to in wri...
/** * Copyright 2016 Palantir Technologies * * Licensed under the BSD-3 License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/BSD-3-Clause * * Unless required by applicable law or agreed to in wri...
Add comment explaining the version
Add comment explaining the version
Java
apache-2.0
EvilMcJerkface/atlasdb,EvilMcJerkface/atlasdb,EvilMcJerkface/atlasdb,palantir/atlasdb,palantir/atlasdb,palantir/atlasdb
38f55c8473ad69bc6e52e89f5f5b803f77558632
provider/src/main/java/com/github/terma/gigaspacewebconsole/provider/executor/DatabaseExecutor.java
provider/src/main/java/com/github/terma/gigaspacewebconsole/provider/executor/DatabaseExecutor.java
/* Copyright 2015-2017 Artem Stasiuk Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softw...
/* Copyright 2015-2017 Artem Stasiuk Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softw...
Add support converter configuration for database
Add support converter configuration for database
Java
apache-2.0
terma/gigaspace-web-console,terma/gigaspace-web-console,terma/gigaspace-web-console,terma/gigaspace-web-console
948088dde543747f8876cd4cf752fbb94b0b7797
src/main/java/fr/vidal/oss/jaxb/atom/core/LinkRel.java
src/main/java/fr/vidal/oss/jaxb/atom/core/LinkRel.java
package fr.vidal.oss.jaxb.atom.core; public enum LinkRel { alternate, source, related, self, inline; }
package fr.vidal.oss.jaxb.atom.core; public enum LinkRel { alternate, source, related, self, inline, first, last, previous, next; }
Add RFC5005 link relations for feed paging
Add RFC5005 link relations for feed paging for further information you can refer yourself to this RFC : https://tools.ietf.org/html/rfc5005 and IANA relations listing http://www.iana.org/assignments/link-relations/link-relations.xhtml
Java
mit
vidal-community/atom-jaxb,softwarevidal/atom-jaxb
e928594f205e612a7eb8fac68c456e5ff06a24d7
projects/OG-Financial/src/main/java/com/opengamma/financial/conversion/LabelledMatrix1DConverter.java
projects/OG-Financial/src/main/java/com/opengamma/financial/conversion/LabelledMatrix1DConverter.java
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.conversion; import java.util.HashMap; import java.util.Map; import com.opengamma.financial.analytics.LabelledMatrix1D; /** * */ public class Lab...
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.conversion; import java.util.HashMap; import java.util.Map; import com.opengamma.financial.analytics.LabelledMatrix1D; /** * */ public class Lab...
Include valueName in results for consistency with other converters
Include valueName in results for consistency with other converters
Java
apache-2.0
nssales/OG-Platform,jeorme/OG-Platform,McLeodMoores/starling,DevStreet/FinanceAnalytics,jerome79/OG-Platform,DevStreet/FinanceAnalytics,nssales/OG-Platform,codeaudit/OG-Platform,ChinaQuants/OG-Platform,nssales/OG-Platform,jeorme/OG-Platform,McLeodMoores/starling,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,jeorme/O...
3ec1e14127601c58a338bfb419a64d942da59a02
src/main/java/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/create/CreateIndexURLIndexStore.java
src/main/java/uk/ac/ic/wlgitbridge/writelatex/model/db/sql/update/create/CreateIndexURLIndexStore.java
package uk.ac.ic.wlgitbridge.writelatex.model.db.sql.update.create; import uk.ac.ic.wlgitbridge.writelatex.model.db.sql.SQLUpdate; import java.sql.PreparedStatement; import java.sql.SQLException; /** * Created by Winston on 21/02/15. */ public class CreateIndexURLIndexStore implements SQLUpdate { public stati...
package uk.ac.ic.wlgitbridge.writelatex.model.db.sql.update.create; import uk.ac.ic.wlgitbridge.writelatex.model.db.sql.SQLUpdate; import java.sql.PreparedStatement; import java.sql.SQLException; /** * Created by Winston on 21/02/15. */ public class CreateIndexURLIndexStore implements SQLUpdate { public stati...
Add IF NOT EXISTS to index creation sql statement.
Add IF NOT EXISTS to index creation sql statement.
Java
mit
overleaf/writelatex-git-bridge,winstonli/writelatex-git-bridge,overleaf/writelatex-git-bridge,winstonli/writelatex-git-bridge
f61aec81af69ffbb1f3d5d496b1d3b6895edcc64
web/src/main/java/com/intuso/housemate/web/client/bootstrap/widget/application/instance/AccessWidget.java
web/src/main/java/com/intuso/housemate/web/client/bootstrap/widget/application/instance/AccessWidget.java
package com.intuso.housemate.web.client.bootstrap.widget.application.instance; import com.intuso.housemate.web.client.bootstrap.extensions.CommandToggleSwitch; import com.intuso.housemate.web.client.object.GWTProxyApplicationInstance; import com.intuso.housemate.web.client.object.GWTProxyCommand; /** * Created with ...
package com.intuso.housemate.web.client.bootstrap.widget.application.instance; import com.intuso.housemate.web.client.bootstrap.extensions.CommandToggleSwitch; import com.intuso.housemate.web.client.object.GWTProxyApplicationInstance; import com.intuso.housemate.web.client.object.GWTProxyCommand; /** * Created with ...
Fix allowing/rejecting application access through ui
Fix allowing/rejecting application access through ui
Java
apache-2.0
Intuso/housemate,Intuso/housemate,Intuso/housemate
aa127c5db2a3cab3c2046b53aac59d99516306bf
src/main/java/com/carpentersblocks/entity/item/EntityBase.java
src/main/java/com/carpentersblocks/entity/item/EntityBase.java
package com.carpentersblocks.entity.item; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.world.World; import com.carpentersblocks.util.protection.IProtected; import com.carpentersblocks.util.protection.ProtectedObject; ...
package com.carpentersblocks.entity.item; import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.world.World; import com.carpentersblocks.util.protection.IProtected; import com.carpentersblocks.util.protection.ProtectedObject; ...
Fix broken tiles (dev bug only).
Fix broken tiles (dev bug only).
Java
lgpl-2.1
Mineshopper/carpentersblocks,Techern/carpentersblocks,burpingdog1/carpentersblocks
bd28156d296adf44d5e498ebc72e7a6293680514
src/main/java/com/skogsrud/halvard/sparkjava/spike/Launch.java
src/main/java/com/skogsrud/halvard/sparkjava/spike/Launch.java
package com.skogsrud.halvard.sparkjava.spike; import com.fasterxml.jackson.databind.ObjectMapper; import static spark.Spark.before; import static spark.SparkBase.port; public class Launch { public static void main(String[] args) throws Exception { new Launch().run(); } public void run() throws E...
package com.skogsrud.halvard.sparkjava.spike; import com.fasterxml.jackson.databind.ObjectMapper; import spark.SparkBase; import static spark.Spark.before; import static spark.SparkBase.port; public class Launch { public static void main(String[] args) throws Exception { new Launch().run(); } pu...
Read port from environment variable or system property
Read port from environment variable or system property
Java
mit
halvards/sparkjava-spike
a79a4150c61ca75a490caedde92fbcea3df3cb08
_shared/java-simple/App.java
_shared/java-simple/App.java
{{java_copyright}} package {{reversed_domain}}; import java.util.ArrayList; import java.util.Collections; import java.util.List; final class Container { public Container() { } public void addName(String name) { _names.add(name); } public List<String> names() { return ...
{{java_copyright}} package {{reversed_domain}}; import java.util.ArrayList; import java.util.Collections; import java.util.List; final class Container { public Container() { } public void addName(String name) { _names.add(name); } public List<String> names() { return ...
Add 'final' in a few places
Add 'final' in a few places
Java
mit
rcook/ptool-templates,rcook/ptool-templates,rcook/ptool-templates,rcook/ptool-templates,rcook/ptool-templates,rcook/ptool-templates,rcook/ptool-templates,rcook/ptool-templates
e8364f0a2fa4749040acf8d4b091973c05a6403c
app/src/main/java/com/beepscore/android/sunshine/DetailActivity.java
app/src/main/java/com/beepscore/android/sunshine/DetailActivity.java
package com.beepscore.android.sunshine; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; public class DetailActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCr...
package com.beepscore.android.sunshine; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.Menu; import android.view.MenuItem; public class DetailActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCr...
Fix warning ActionBarActivity is deprecated. Replace ActionBarActivity from new project template with AppCompatActivity.
Fix warning ActionBarActivity is deprecated. Replace ActionBarActivity from new project template with AppCompatActivity. References http://stackoverflow.com/questions/29890530/actionbaractivity-is-deprecated-android-studio?rq=1 http://android-developers.blogspot.com/2015/04/android-support-library-221.html
Java
mit
beepscore/Sunshine
c82beaa8e9380ec257a4bb296f981cde865ff6d1
src/main/java/ee/tuleva/onboarding/auth/session/GenericSessionStore.java
src/main/java/ee/tuleva/onboarding/auth/session/GenericSessionStore.java
package ee.tuleva.onboarding.auth.session; import java.io.Serial; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import java.util.Optional; import org.springframework.stereotype.Component; import org.springframework.web.context.annotation.SessionScope; @Component @SessionScope public cla...
package ee.tuleva.onboarding.auth.session; import java.io.Serial; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import java.util.Optional; import org.springframework.context.annotation.Scope; import org.springframework.context.annotation.ScopedProxyMode; import org.springframework.stereo...
Revert "Use composed annotation for readability"
Revert "Use composed annotation for readability" This reverts commit a5d03f60e8ee9c33dc22da29615a6ae86c9bf6e4.
Java
mit
TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service
47dd8c7616abecd4a2b9fcfc2835e65edc998245
atlassian-plugins-spring/src/main/java/com/atlassian/plugin/spring/SpringAwarePackageScannerConfiguration.java
atlassian-plugins-spring/src/main/java/com/atlassian/plugin/spring/SpringAwarePackageScannerConfiguration.java
package com.atlassian.plugin.spring; import com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration; import org.springframework.web.context.ServletContextAware; import javax.servlet.ServletContext; /** * Spring-aware extension of the package scanner configuration that instructs spring to inject ...
package com.atlassian.plugin.spring; import com.atlassian.plugin.osgi.container.impl.DefaultPackageScannerConfiguration; import org.springframework.web.context.ServletContextAware; import javax.servlet.ServletContext; /** * Spring-aware extension of the package scanner configuration that instructs spring to inject ...
Make sure Spring config provides both constructors
Make sure Spring config provides both constructors git-svn-id: 3d1f0b8d955af71bf8e09c956c180519124e4717@26448 2c54a935-e501-0410-bc05-97a93f6bca70
Java
bsd-3-clause
mrdon/PLUG
7b2a645d9e31b3278a3135872a427ee4722c8ae0
src/org/robockets/stronghold/robot/drivetrain/Joyride.java
src/org/robockets/stronghold/robot/drivetrain/Joyride.java
package org.robockets.stronghold.robot.drivetrain; import org.robockets.stronghold.robot.OI; import org.robockets.stronghold.robot.Robot; import edu.wpi.first.wpilibj.command.Command; /** * */ public class Joyride extends Command { double stick; double leftTrigger; double rightTrigger; public Joyride() { ...
package org.robockets.stronghold.robot.drivetrain; import org.robockets.stronghold.robot.OI; import org.robockets.stronghold.robot.Robot; import edu.wpi.first.wpilibj.command.Command; /** * */ public class Joyride extends Command { double stick; double leftTrigger; double rightTrigger; public Joyride() { ...
Change drive controls to use second joystick
Change drive controls to use second joystick
Java
mit
Team4761/2016-Robot-Code
733e99f958a44c2c4131bce8f0a26c9f3b6f2c84
src/main/java/com/movisens/xs/api/models/Study.java
src/main/java/com/movisens/xs/api/models/Study.java
package com.movisens.xs.api.models; import javax.annotation.Generated; import com.google.gson.annotations.Expose; @Generated("org.jsonschema2pojo") public class Study { @Expose private long id; @Expose private String name; /** * * @return The id */ public long getId() { return id; } /** * * ...
package com.movisens.xs.api.models; import javax.annotation.Generated; import com.google.gson.annotations.Expose; @Generated("org.jsonschema2pojo") public class Study { @Expose private Integer id; @Expose private String name; /** * * @return The id */ public Integer getId() { return id; } /** *...
Make study id types compatible
Make study id types compatible
Java
apache-2.0
movisens/movisensxs-api
d07a169601e4c9d2ad706389eec83dc4bdf4f893
platform-tests/src/test/java/org/junit/platform/commons/support/ClassSupportTests.java
platform-tests/src/test/java/org/junit/platform/commons/support/ClassSupportTests.java
/* * Copyright 2015-2018 the original author or authors. * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v2.0 which * accompanies this distribution and is available at * * http://www.eclipse.org/legal/epl-v20.html */ packag...
/* * Copyright 2015-2018 the original author or authors. * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v2.0 which * accompanies this distribution and is available at * * http://www.eclipse.org/legal/epl-v20.html */ packag...
Check arguments of methods for null safety for ClassSupport
Check arguments of methods for null safety for ClassSupport #1670
Java
epl-1.0
junit-team/junit-lambda,sbrannen/junit-lambda
2618ba5aee11274f3714d72af94f9d8f0fc562cd
cas-server-core-configuration/src/main/java/org/apereo/cas/configuration/model/core/web/security/AdminPagesSecurityProperties.java
cas-server-core-configuration/src/main/java/org/apereo/cas/configuration/model/core/web/security/AdminPagesSecurityProperties.java
package org.apereo.cas.configuration.model.core.web.security; import org.springframework.core.io.Resource; /** * This is {@link AdminPagesSecurityProperties}. * * @author Misagh Moayyed * @since 5.0.0 */ public class AdminPagesSecurityProperties { private String ip = "127\\.0\\.0\\.1"; private String a...
package org.apereo.cas.configuration.model.core.web.security; import org.springframework.core.io.Resource; /** * This is {@link AdminPagesSecurityProperties}. * * @author Misagh Moayyed * @since 5.0.0 */ public class AdminPagesSecurityProperties { private String ip = "127\\.0\\.0\\.1|0:0:0:0:0:0:0:1"; ...
Support ipv6 for status endpoint security
Support ipv6 for status endpoint security
Java
apache-2.0
leleuj/cas,philliprower/cas,fogbeam/cas_mirror,philliprower/cas,apereo/cas,apereo/cas,pdrados/cas,Jasig/cas,rkorn86/cas,leleuj/cas,pdrados/cas,leleuj/cas,philliprower/cas,apereo/cas,Jasig/cas,Jasig/cas,philliprower/cas,rkorn86/cas,fogbeam/cas_mirror,leleuj/cas,fogbeam/cas_mirror,pdrados/cas,rkorn86/cas,fogbeam/cas_mirr...
31146b32c87402f011aa78acb79190c589d4df4d
app/controllers/Entries.java
app/controllers/Entries.java
package controllers; import helper.JsonLinker; import java.util.List; import java.util.Optional; import models.Entry; import play.mvc.Controller; import play.mvc.Result; public class Entries extends Controller { public static Result list() { final List<Entry> entries = Entry.find.all(); return ok(...
package controllers; import helper.JsonLinker; import java.util.List; import java.util.Objects; import java.util.Optional; import models.Entry; import play.mvc.Controller; import play.mvc.Result; public class Entries extends Controller { public static Result list() { final List<Entry> entries = Entry.find...
DELETE Request for single entry
DELETE Request for single entry * Adapted Entries class
Java
apache-2.0
gtrefs/majug-play
2eb715f20a6fe1df7d6f2ed84a4aaeabba00b5fe
extensions/resteasy-reactive/quarkus-resteasy-reactive-qute/runtime/src/main/java/io/quarkus/resteasy/reactive/qute/runtime/TemplateResponseUniHandler.java
extensions/resteasy-reactive/quarkus-resteasy-reactive-qute/runtime/src/main/java/io/quarkus/resteasy/reactive/qute/runtime/TemplateResponseUniHandler.java
package io.quarkus.resteasy.reactive.qute.runtime; import static io.quarkus.resteasy.reactive.qute.runtime.Util.*; import static io.quarkus.resteasy.reactive.qute.runtime.Util.toUni; import org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext; import org.jboss.resteasy.reactive.server.spi.ServerRest...
package io.quarkus.resteasy.reactive.qute.runtime; import static io.quarkus.resteasy.reactive.qute.runtime.Util.*; import static io.quarkus.resteasy.reactive.qute.runtime.Util.toUni; import javax.ws.rs.core.MediaType; import org.jboss.resteasy.reactive.server.core.ResteasyReactiveRequestContext; import org.jboss.res...
Set content-type for Qute templates in RESTEasy Reactive
Set content-type for Qute templates in RESTEasy Reactive Fixes: #25932
Java
apache-2.0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
f31d85dc943f028dbb09b47ee3643a24460261fc
components/org.wso2.carbon.identity.oidc.session/src/main/java/org/wso2/carbon/identity/oidc/session/internal/OIDCSessionManagementComponentServiceHolder.java
components/org.wso2.carbon.identity.oidc.session/src/main/java/org/wso2/carbon/identity/oidc/session/internal/OIDCSessionManagementComponentServiceHolder.java
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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...
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. 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...
Add data holder for realm service
Add data holder for realm service
Java
apache-2.0
darshanasbg/identity-inbound-auth-oauth,wso2-extensions/identity-inbound-auth-oauth,darshanasbg/identity-inbound-auth-oauth,chirankavinda123/identity-inbound-auth-oauth,chirankavinda123/identity-inbound-auth-oauth,IsuraD/identity-inbound-auth-oauth,wso2-extensions/identity-inbound-auth-oauth,IsuraD/identity-inbound-aut...
33f1769c7f2484f7336b673f8ad783a8ddd2d1dd
src/test/java/org/ow2/chameleon/core/ChameleonTest.java
src/test/java/org/ow2/chameleon/core/ChameleonTest.java
package org.ow2.chameleon.core; import org.apache.commons.io.FileUtils; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.osgi.framework.BundleException; import java.io.File; import static org.fest.assertions.Assertions.assertThat; /** * Check the behavior of the Chameleon class. ...
package org.ow2.chameleon.core; import org.apache.commons.io.FileUtils; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.osgi.framework.BundleException; import java.io.File; import static org.fest.assertions.Assertions.assertThat; /** * Check the behavior of the Chameleon class. ...
Check the initialization form a configuration
Check the initialization form a configuration Signed-off-by: Clement Escoffier <6397137e57d1f87002962a37058f2a1c76fca9db@gmail.com>
Java
apache-2.0
ow2-chameleon/core,ow2-chameleon/core
8b3d793eb65866ebe08b726c7f7557b08f1fcaf1
src/main/DatabaseConnection.java
src/main/DatabaseConnection.java
public class DatabaseConnection { }
import java.sql.*; import java.util.ArrayList; public class DatabaseConnection { public static Connection dbcon; public static void InsertData(ArrayList<String> array, String path) { try { Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); dbcon = DriverManager.getConnection("jdbc:sqlserver://serv...
Create connection with Database in java
Create connection with Database in java
Java
apache-2.0
milouk/Web_Crawler
bde081d8a93d131d2aa779ba6cfb83bfdeb7f3bc
core/src/main/java/JwtArrayUtils.java
core/src/main/java/JwtArrayUtils.java
package pdi.jwt; public final class JwtArrayUtils { private JwtArrayUtils() {} /** * A constant time equals comparison - does not terminate early if * test will fail. For best results always pass the expected value * as the first parameter. * * Ported from BouncyCastle to remove the ...
package pdi.jwt; public final class JwtArrayUtils { private JwtArrayUtils() {} /** * A constant time equals comparison - does not terminate early if * test will fail. For best results always pass the expected value * as the first parameter. * * Ported from BouncyCastle to remove the ...
Add link to BouncyCastle reference implementation
Add link to BouncyCastle reference implementation
Java
apache-2.0
pauldijou/jwt-scala,pauldijou/jwt-scala
da595760fb328e6f5dad549b8833d4e3403d47a7
src/com/adrienbrault/jastermind/server/CodeMakerService.java
src/com/adrienbrault/jastermind/server/CodeMakerService.java
package com.adrienbrault.jastermind.server; import com.adrienbrault.jastermind.model.CodePeg; import java.net.Socket; import java.util.Random; /** * Created by IntelliJ IDEA. * * @Author: adrienbrault * @Date: 04/06/11 12:26 */ public class CodeMakerService implements Runnable { final static int CODE_SIZE ...
package com.adrienbrault.jastermind.server; import com.adrienbrault.jastermind.model.CodePeg; import com.adrienbrault.jastermind.model.Peg; import java.net.Socket; import java.util.Random; /** * Created by IntelliJ IDEA. * * @Author: adrienbrault * @Date: 04/06/11 12:26 */ public class CodeMakerService implemen...
Use of peg interface in server
Use of peg interface in server
Java
mit
adrienbrault/SUPINFO-B2-Java-JasterMind
f77963ce52a4f9310b38cf2b0d23687bfe567dc3
src/main/java/com/gitrekt/resort/model/entities/Package.java
src/main/java/com/gitrekt/resort/model/entities/Package.java
package com.gitrekt.resort.model.entities; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "resort.guest_packages") //Class for a gues...
package com.gitrekt.resort.model.entities; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name = "resort.packages") public class Package { ...
Fix minor issues in package class
Fix minor issues in package class
Java
mit
maillouxc/git-rekt
3b49370c063c5df209a238afdf5a2298b861ebe7
src/main/java/org/kohsuke/github/GHContent.java
src/main/java/org/kohsuke/github/GHContent.java
package org.kohsuke.github; /** * A Content of a repository. * * @author Alexandre COLLIGNON */ public final class GHContent { private GHRepository owner; private String type; private String encoding; private long size; private String name; private String path; private String content; ...
package org.kohsuke.github; /** * A Content of a repository. * * @author Alexandre COLLIGNON */ public final class GHContent { private GHRepository owner; private String type; private String encoding; private long size; private String sha; private String name; private String path; ...
Add the ability to retrieve the sha of the content.
Add the ability to retrieve the sha of the content.
Java
mit
dblevins/github-api,christiansahlstrom93/github-api,lucamilanesio/github-api,recena/github-api,henryju/github-api,mmitche/github-api,torodev/github-api,Shredder121/github-api,gitminingOrg/github-api,jeffnelson/github-api,stephenc/github-api,PankajHingane-REISysIn/KnowledgeArticleExportImport,pomes/github-api,gecko655/g...
df8a20cd6798b61c0f40efc317e6f92b5dc61c05
src/org/sablecc/sablecc/lrautomaton/Action.java
src/org/sablecc/sablecc/lrautomaton/Action.java
/* This file is part of SableCC ( http://sablecc.org ). * * See the NOTICE file distributed with this work for copyright information. * * 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 * ...
/* This file is part of SableCC ( http://sablecc.org ). * * See the NOTICE file distributed with this work for copyright information. * * 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 * ...
Use null as indicator for unconditional action.
Use null as indicator for unconditional action. Signed-off-by: Etienne M. Gagnon <bf06ec0eb40152cd863534753d026b021022c851@j-meg.com>
Java
apache-2.0
jdassonvil/sablecc,jdassonvil/sablecc,privat/sablecc,privat/sablecc,privat/sablecc,privat/sablecc,jdassonvil/sablecc,jdassonvil/sablecc,jdassonvil/sablecc,privat/sablecc
8aa76ebd4b562e8aa599855d84aec833aed4f7ed
src/test/java/authzserver/AuthzServerApplicationTest.java
src/test/java/authzserver/AuthzServerApplicationTest.java
package authzserver; import static org.junit.Assert.*; public class AuthzServerApplicationTest { }
package authzserver; import authzserver.AuthzServerApplication.Oauth2ServerConfig; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.test.ConfigFileApplicationContextInitializer; import org.springframework.boot.test.Integr...
Add integration test so that flyway creates schema on bamboo.
Add integration test so that flyway creates schema on bamboo.
Java
apache-2.0
OpenConext/OpenConext-authorization-server,OpenConext/OpenConext-authorization-server,OpenConext/OpenConext-authorization-server
52055b68bccbdf724d6b2c47053df25c304589ac
src/test/java/net/openhft/chronicle/wire/HexDumpTest.java
src/test/java/net/openhft/chronicle/wire/HexDumpTest.java
package net.openhft.chronicle.wire; import net.openhft.chronicle.bytes.Bytes; import net.openhft.chronicle.bytes.HexDumpBytes; import org.junit.Test; import static junit.framework.TestCase.assertEquals; public class HexDumpTest { @Test public void testEndian() { Bytes b = new HexDumpBytes(); ...
package net.openhft.chronicle.wire; import net.openhft.chronicle.bytes.Bytes; import net.openhft.chronicle.bytes.HexDumpBytes; import org.junit.Test; import java.nio.ByteOrder; import static junit.framework.TestCase.assertEquals; public class HexDumpTest { @Test public void testEndian() { if (ByteOr...
Add a test showing HexDumpBytes is little endian (on machines which are little endian)
Add a test showing HexDumpBytes is little endian (on machines which are little endian)
Java
apache-2.0
OpenHFT/Chronicle-Wire,OpenHFT/Chronicle-Wire
df8d93f03f1a23dbbac8ebd6d6cc3f51d2f736d9
src/main/java/org/dynmap/Log.java
src/main/java/org/dynmap/Log.java
package org.dynmap; import java.util.logging.Level; import java.util.logging.Logger; public class Log { protected static Logger log = Logger.getLogger("Minecraft"); protected static String prefix = "[dynmap] "; public static boolean verbose = false; public static void setLogger(Logger logger, String p...
package org.dynmap; import java.util.logging.Level; import java.util.logging.Logger; public class Log { protected static Logger log = Logger.getLogger("Dynmap"); protected static String prefix = ""; public static boolean verbose = false; public static void setLogger(Logger logger, String pre) { ...
Switch logger to default to dynmap-specific logger
Switch logger to default to dynmap-specific logger
Java
apache-2.0
instantdelay/DynmapCore,KovuTheHusky/DynmapCore,KovuTheHusky/DynmapCore,instantdelay/DynmapCore,mikeprimm/DynmapCore,mikeprimm/DynmapCore,instantdelay/DynmapCore,webbukkit/DynmapCore,mikeprimm/DynmapCore,KovuTheHusky/DynmapCore,KovuTheHusky/DynmapCore,webbukkit/DynmapCore,webbukkit/DynmapCore,mikeprimm/DynmapCore,webbu...
a4fac8433d983ed5b0ad06f8d37152e4c6b26661
src/main/java/me/mrten/mysqlapi/queries/CreateTableQuery.java
src/main/java/me/mrten/mysqlapi/queries/CreateTableQuery.java
package me.mrten.mysqlapi.queries; import java.util.ArrayList; import java.util.List; public class CreateTableQuery { private String table; private boolean ifNotExists = false; private List<String> columns = new ArrayList<String>(); private String primaryKey; public CreateTableQuery(String table...
package me.mrten.mysqlapi.queries; import java.util.ArrayList; import java.util.List; public class CreateTableQuery { private String table; private boolean ifNotExists = false; private List<String> columns = new ArrayList<String>(); private String primaryKey; public CreateTableQuery(...
Remove last comma if no primary key is set
Remove last comma if no primary key is set
Java
apache-2.0
Mrtenz/MySQLAPI
8193901af15efca28d7ad471071b476a635d8b47
DynamicAnalyzer/src/main/java/testclasses/SimpleCastFail1.java
DynamicAnalyzer/src/main/java/testclasses/SimpleCastFail1.java
package testclasses; public class SimpleCastSuccess1 { public static void main(String[] args) { } /** * x has Type TOP, y has typ PUBLIC, return value is dynamic */ public static int m(int x, int y) { int z = castTopToDyn(x); z += castPubToDyn(y); if (z >= 0) { retu...
package testclasses; import de.unifreiburg.cs.proglang.jgs.support.Casts; public class SimpleCastFail1 { public static void main(String[] args) { } /** * x has Type TOP, y has typ PUBLIC, return value is dynamic */ public static int m(int x, int y) { int z = Casts.cast("[top] ~> ?", x)...
Add a frist DynamicAnalyzer test for casts
Add a frist DynamicAnalyzer test for casts
Java
bsd-3-clause
luminousfennell/gradual-java,mueller91/gradual-java,luminousfennell/jgs,luminousfennell/gradual-java,mueller91/gradual-java,luminousfennell/jgs
1f7edea8e31e537b6a99c8d5c7160e8d59350204
src/radicalzephyr/WebFX.java
src/radicalzephyr/WebFX.java
package radicalzephyr; public class WebFX { }
package radicalzephyr; import java.util.ArrayList; import java.util.Map; import java.util.Map.Entry; import java.util.List; import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.web.WebView; import javafx.scene.web.WebEngine; import javafx.stage.Stage; public class WebFX extends Appli...
Implement first pass at JavaFX Application shim
Implement first pass at JavaFX Application shim
Java
epl-1.0
RadicalZephyr/webfx
75c754be7562ef658a80fbdc302857449f44bb4f
client-hc/src/test/java/com/graphhopper/api/GHMRequestTest.java
client-hc/src/test/java/com/graphhopper/api/GHMRequestTest.java
package com.graphhopper.api; import com.graphhopper.util.shapes.GHPoint; import org.junit.Test; import static junit.framework.TestCase.assertTrue; import static org.junit.Assert.assertFalse; public class GHMRequestTest { @Test public void testCompact() { GHMRequest request = new GHMRequest(); ...
package com.graphhopper.api; import com.graphhopper.util.shapes.GHPoint; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; public class GHMRequestTest { @Test public void testCompact() { GHMRequest...
Update another test, trigger build
Update another test, trigger build
Java
apache-2.0
graphhopper/graphhopper,fbonzon/graphhopper,graphhopper/graphhopper,graphhopper/graphhopper,boldtrn/graphhopper,fbonzon/graphhopper,fbonzon/graphhopper,boldtrn/graphhopper,boldtrn/graphhopper,boldtrn/graphhopper,fbonzon/graphhopper,graphhopper/graphhopper
fa8570b6d44335bee21a54245477965bc7ac12ea
14-redis-repositories/src/main/java/example/Person.java
14-redis-repositories/src/main/java/example/Person.java
package example; import java.util.Collections; import java.util.Map; import org.springframework.data.annotation.Id; import org.springframework.data.annotation.Reference; import org.springframework.data.keyvalue.annotation.KeySpace; import org.springframework.data.redis.core.index.Indexed; import lombok.Data; @Data ...
package example; import java.util.Collections; import java.util.Map; import org.springframework.data.annotation.Id; import org.springframework.data.annotation.Reference; import org.springframework.data.redis.core.RedisHash; import org.springframework.data.redis.core.index.Indexed; import lombok.Data; @Data @RedisHa...
Use the @RedisHash annotation instead of @KeySpace.
Use the @RedisHash annotation instead of @KeySpace. Redis Repositories use @RedisHash to identify the repository belongs to the Redis module and to create the appropriate repository type. We now use the @RedisHash annotation instead of the previous @KeySpace annotation.
Java
apache-2.0
springone2gx2015/whats-new-in-spring-data,springone2gx2015/whats-new-in-spring-data
d44ccf14bdc71543d773be0ab69b6d151ea4a8e7
src/main/java/com/timostaudinger/dailydose/trigger/Trigger.java
src/main/java/com/timostaudinger/dailydose/trigger/Trigger.java
package com.timostaudinger.dailydose.trigger; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import javax.servlet.annotation.WebListener; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; @WebListener public class Trigger implements S...
package com.timostaudinger.dailydose.trigger; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import javax.servlet.annotation.WebListener; import java.time.Duration; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.ZonedDateTime; import java.util.concurr...
Configure Timer. Calculate inital delay in order to start the execution daily at 9am EST.
Configure Timer. Calculate inital delay in order to start the execution daily at 9am EST.
Java
mit
TimoSta/daily-dose,TimoSta/daily-dose,TimoSta/daily-dose
16d5fbc8f8d4b0123bd398069e424fbe5c2b5fc1
ui/src/bamboo/crawl/AgencyDAO.java
ui/src/bamboo/crawl/AgencyDAO.java
package bamboo.crawl; import bamboo.pandas.PandasAgency; import org.skife.jdbi.v2.sqlobject.Bind; import org.skife.jdbi.v2.sqlobject.BindBean; import org.skife.jdbi.v2.sqlobject.SqlBatch; import org.skife.jdbi.v2.sqlobject.SqlQuery; import org.skife.jdbi.v2.sqlobject.helpers.MapResultAsBean; import java.util.List; p...
package bamboo.crawl; import bamboo.pandas.PandasAgency; import org.skife.jdbi.v2.sqlobject.Bind; import org.skife.jdbi.v2.sqlobject.BindBean; import org.skife.jdbi.v2.sqlobject.SqlBatch; import org.skife.jdbi.v2.sqlobject.SqlQuery; import org.skife.jdbi.v2.sqlobject.helpers.MapResultAsBean; import java.util.List; p...
Use 'on duplicate key update' rather than 'replace into'
Use 'on duplicate key update' rather than 'replace into' 'relace into' fires triggers and constraints. :(
Java
apache-2.0
nla/bamboo,nla/bamboo,nla/bamboo,nla/bamboo
8cef0068b16bffdf028ea466a3e56dac3e6366b3
vm/src/org/mozartoz/truffle/nodes/call/TailCallCatcherNode.java
vm/src/org/mozartoz/truffle/nodes/call/TailCallCatcherNode.java
package org.mozartoz.truffle.nodes.call; import org.mozartoz.truffle.nodes.OzNode; import org.mozartoz.truffle.runtime.TailCallException; import com.oracle.truffle.api.frame.VirtualFrame; import com.oracle.truffle.api.profiles.BranchProfile; public class TailCallCatcherNode extends OzNode { @Child CallNode callNod...
package org.mozartoz.truffle.nodes.call; import org.mozartoz.truffle.nodes.OzNode; import org.mozartoz.truffle.runtime.TailCallException; import com.oracle.truffle.api.frame.VirtualFrame; import com.oracle.truffle.api.profiles.BranchProfile; public class TailCallCatcherNode extends OzNode { @Child CallNode callNod...
Make sure there is no leak in tail calls
Make sure there is no leak in tail calls * The JVM usually just null out firstException since it's not used later, but better be clear.
Java
bsd-2-clause
eregon/mozart-graal,mistasse/mozart-graal,eregon/mozart-graal,eregon/mozart-graal,eregon/mozart-graal,mistasse/mozart-graal,eregon/mozart-graal,eregon/mozart-graal,mistasse/mozart-graal,mistasse/mozart-graal,mistasse/mozart-graal
73317c4427e25c131a95095781b8ddb3c95d133e
src/java/org/apache/cassandra/gms/ApplicationState.java
src/java/org/apache/cassandra/gms/ApplicationState.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 ...
Add gossip padding for 1.1 This puts us at 5 new states for trunk, and thus no more can be added or we exceed the previous padding.
Add gossip padding for 1.1 This puts us at 5 new states for trunk, and thus no more can be added or we exceed the previous padding.
Java
apache-2.0
thobbs/cassandra,krummas/cassandra,gdusbabek/cassandra,AtwooTM/cassandra,mt0803/cassandra,juiceblender/cassandra,strapdata/cassandra,kangkot/stratio-cassandra,mt0803/cassandra,DavidHerzogTU-Berlin/cassandraToRun,Stratio/stratio-cassandra,dkua/cassandra,bpupadhyaya/cassandra,Jollyplum/cassandra,DavidHerzogTU-Berlin/cass...