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
e59cb614c55cfc387915cc5356a4b2d5803a6230
app/src/main/java/io/akessler/elixircounter/MainActivity.java
app/src/main/java/io/akessler/elixircounter/MainActivity.java
package io.akessler.elixircounter; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
package io.akessler.elixircounter; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Bundle; import android.support.v4.app.ActivityCompat; import android.support.v4.content.ContextCompat; import android.support.v7.app.AppCompatActivity; public class Ma...
Add permissions check to allow recording audio with mic
Add permissions check to allow recording audio with mic
Java
mit
akkessler/ElixirCounter
3b5be09dbeaea1ebefd17598c9a4c2a6ad24e8d4
app/src/main/java/xyz/whereuat/whereuat/KeyLocationUtils.java
app/src/main/java/xyz/whereuat/whereuat/KeyLocationUtils.java
package xyz.whereuat.whereuat; import android.content.ContentValues; import android.content.Context; import android.location.Location; import xyz.whereuat.whereuat.db.command.InsertCommand; import xyz.whereuat.whereuat.db.entry.KeyLocationEntry; /** * Created by kangp3 on 4/10/16. */ public class KeyLocationUtils ...
package xyz.whereuat.whereuat; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.location.Location; import xyz.whereuat.whereuat.db.command.InsertCommand; import xyz.whereuat.whereuat.db.entry.KeyLocationEntry; /** * Created by kangp3 on 4/10/16. *...
Add nearest loc utility function
Add nearest loc utility function
Java
apache-2.0
whereuat/whereuat-android
2ea5ca5fe9cdbd0d510555be73ca353dab9ed379
crs577add-demos/src/main/java/com/darwinsys/clientware/UrlRestClient.java
crs577add-demos/src/main/java/com/darwinsys/clientware/UrlRestClient.java
package com.darwinsys.clientware; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; /** * A RESTful (JAX-RS) client NOT using the JAX-RS Client API * In fact, not using anything except Core Java APIs. */ public class...
package com.darwinsys.clientware; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; /** * A RESTful (JAX-RS) client NOT using the JAX-RS Client API * In fact, not using anything except Core Java APIs. */ public class...
Make the simple demo fall back to http
Make the simple demo fall back to http
Java
bsd-2-clause
IanDarwin/crs577add,IanDarwin/crs577add,IanDarwin/crs577add,IanDarwin/crs577add
92c0d6b966cec63b02f7cdef37c400144415d2f4
app/src/main/java/io/github/imsmobile/fahrplan/model/FavoriteModelItem.java
app/src/main/java/io/github/imsmobile/fahrplan/model/FavoriteModelItem.java
package io.github.imsmobile.fahrplan.model; import com.google.common.base.Objects; public class FavoriteModelItem { private final String from; private final String to; FavoriteModelItem(String from, String to) { this.from = from; this.to = to; } public String getFrom() { ...
package io.github.imsmobile.fahrplan.model; import com.google.common.base.Objects; public class FavoriteModelItem { private final String from; private final String to; FavoriteModelItem(String from, String to) { this.from = from; this.to = to; } public String getFrom() { ...
Use auto generated hashcode and equals
Use auto generated hashcode and equals
Java
mit
IMSmobile/Fahrplan
4bb84c22a53353950521db22b089341372620900
src/main/java/sk/tomsik68/mclauncher/impl/versions/mcdownload/ArgumentList.java
src/main/java/sk/tomsik68/mclauncher/impl/versions/mcdownload/ArgumentList.java
package sk.tomsik68.mclauncher.impl.versions.mcdownload; import net.minidev.json.JSONArray; import net.minidev.json.JSONObject; import java.util.*; final class ArgumentList implements Iterable<Argument> { private static final ArgumentList EMPTY = new ArgumentList(Collections.<Argument>emptyList()); private f...
package sk.tomsik68.mclauncher.impl.versions.mcdownload; import net.minidev.json.JSONArray; import net.minidev.json.JSONObject; import java.util.*; final class ArgumentList implements Iterable<Argument> { private static final ArgumentList EMPTY = new ArgumentList(Collections.<Argument>emptyList()); private f...
Fix handling of string-only arguments
Fix handling of string-only arguments
Java
mit
tomsik68/mclauncher-api,tomsik68/mclauncher-api
b0b792d58863b4622cbf4e69198b0e0a90207b1c
org.metaborg.core/src/main/java/org/metaborg/core/tracing/Resolution.java
org.metaborg.core/src/main/java/org/metaborg/core/tracing/Resolution.java
package org.metaborg.core.tracing; import javax.annotation.Nullable; import org.metaborg.core.source.ISourceLocation; import org.metaborg.core.source.ISourceRegion; /** * Represents a resolution produced by reference resolution. */ public class Resolution { /** * Area in the source file to highlight as a ...
package org.metaborg.core.tracing; import javax.annotation.Nullable; import org.metaborg.core.source.ISourceLocation; import org.metaborg.core.source.ISourceRegion; /** * Represents a resolution produced by reference resolution. */ public class Resolution { /** * Area in the source file to highlight as a ...
Add default resolution label based on origin information
Add default resolution label based on origin information
Java
apache-2.0
metaborg/spoofax,metaborg/spoofax,metaborg/spoofax,metaborg/spoofax
64961fa17244d7cecc857c1e9981a0451d5495f8
android/src/com/eegeo/searchmenu/SearchResultsScrollButtonTouchDownListener.java
android/src/com/eegeo/searchmenu/SearchResultsScrollButtonTouchDownListener.java
// Copyright eeGeo Ltd (2012-2015), All Rights Reserved package com.eegeo.searchmenu; import com.eegeo.searchmenu.SearchMenuResultsListAnimationConstants; import android.annotation.SuppressLint; import android.os.Handler; import android.view.MotionEvent; import android.view.View; import android.widget.ListView; pub...
// Copyright eeGeo Ltd (2012-2015), All Rights Reserved package com.eegeo.searchmenu; import com.eegeo.searchmenu.SearchMenuResultsListAnimationConstants; import android.annotation.SuppressLint; import android.os.Handler; import android.view.MotionEvent; import android.view.View; import android.widget.ListView; pub...
Fix for MPLY-7330. ScrollListBy doesnt work with version < 4.4 so disable scrolling on devices before that. Buddy: Tim
Fix for MPLY-7330. ScrollListBy doesnt work with version < 4.4 so disable scrolling on devices before that. Buddy: Tim
Java
bsd-2-clause
wrld3d/wrld-example-app,wrld3d/wrld-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,eegeo/eegeo-example-app,wrld3d/wrld-example-app,eegeo/eegeo-example-app,wrld3d/w...
c3ef064fcc5b17b09b72126642a220af1cc40808
html/src/playn/html/HtmlLayerCanvas.java
html/src/playn/html/HtmlLayerCanvas.java
/** * Copyright 2010 The PlayN Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/** * Copyright 2010 The PlayN Authors * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Use approrpiate transform implementation in canvas backend.
Use approrpiate transform implementation in canvas backend.
Java
apache-2.0
KoriSamui/PlayN,Just-/playn,Just-/playn,Just-/playn,KoriSamui/PlayN,Just-/playn,KoriSamui/PlayN,KoriSamui/PlayN,Just-/playn
851908d53c06ceef09c4d69f4cf66dac3cd1a3c7
libraries/difflib/src/test/java/com/scottbezek/difflib/UnicodeUtilTest.java
libraries/difflib/src/test/java/com/scottbezek/difflib/UnicodeUtilTest.java
package com.scottbezek.difflib; import org.junit.Test; import java.util.Arrays; import java.util.List; import java.util.Locale; import static org.junit.Assert.assertEquals; public class UnicodeUtilTest { @Test public void testSplitNaturalCharactersSimple() throws Exception { List<String> expected =...
package com.scottbezek.difflib; import org.junit.Test; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Locale; import static org.junit.Assert.assertEquals; public class UnicodeUtilTest { @Test public void testSplitNaturalCharactersEmpty() throws Exception { ...
Add a couple more splitNaturalCharacters tests
Add a couple more splitNaturalCharacters tests
Java
apache-2.0
scottbez1/superdiff
b65996f5d74abe8b32ea67f7b8b046f68b862e60
dijkstras/TestDijkstras.java
dijkstras/TestDijkstras.java
package dijkstras; import dijkstras.Dijkstras; // My implementation of Dijkstras algorithm in package dijkstras /* This class test Dijkstras shortest path algorithm */ class TestDijkstras { // Test A public static void testA(){ int N = 6; // No. of vertices int M = 10; // No. of edges int edges[][] =...
package dijkstras; import dijkstras.Dijkstras; // My implementation of Dijkstras algorithm in package dijkstras /* This class test Dijkstras shortest path algorithm */ class TestDijkstras { // Test A public static void testA(){ int N = 7; // No. of vertices int M = 12; // No. of edges int edges[][] =...
Update test case for Dijkstras
Update test case for Dijkstras
Java
mit
rohitkhilnani/Java-holic
6185198e1d4d535edac2c917f5a55bd9f7669f53
src/main/java/de/uni_potsdam/hpi/bpt/bp2014/jconfiguration/Execution.java
src/main/java/de/uni_potsdam/hpi/bpt/bp2014/jconfiguration/Execution.java
package de.uni_potsdam.hpi.bpt.bp2014.jconfiguration; import de.uni_potsdam.hpi.bpt.bp2014.jcore.eventhandling.EventDispatcher; import java.util.List; /** * This class executes configurations. */ public class Execution { /** * This method marks the scenario as deleted if there are no running instances. * *...
package de.uni_potsdam.hpi.bpt.bp2014.jconfiguration; import de.uni_potsdam.hpi.bpt.bp2014.jcore.eventhandling.EventDispatcher; import java.util.List; /** * This class executes configurations. */ public class Execution { /** * This method marks the scenario as deleted if there are no running instances. * *...
Enable scenario deletion via DELETE call at all times (still no button in the frontend unless there are no running instances)
Enable scenario deletion via DELETE call at all times (still no button in the frontend unless there are no running instances)
Java
mit
bptlab/JEngine,bptlab/JEngine,bptlab/JEngine,bptlab/JEngine
5093b7d1e53b190a9d607a7ccd53afa4be658561
src/main/java/org/agmip/acmo/translators/AcmoTranslator.java
src/main/java/org/agmip/acmo/translators/AcmoTranslator.java
package org.agmip.acmo.translators; public interface AcmoTranslator { public boolean execute(String sourceFolder, String destFolder); }
package org.agmip.acmo.translators; import java.io.File; public interface AcmoTranslator { public File execute(String sourceFolder, String destFolder); }
Change excute method return type from boolean to File
Change excute method return type from boolean to File
Java
bsd-3-clause
agmip/acmo,MengZhang/acmo
dfb03a996f9f32bbe6c1006b30b2d467308655d9
Source/library/src/main/java/im/delight/android/ddp/SubscribeListener.java
Source/library/src/main/java/im/delight/android/ddp/SubscribeListener.java
package im.delight.android.ddp; /* * Copyright (c) delight.im <info@delight.im> * * 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 * ...
package im.delight.android.ddp; /* * Copyright (c) delight.im <info@delight.im> * * 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 * ...
Remove unnecessary visibility modifiers in interface
Remove unnecessary visibility modifiers in interface
Java
apache-2.0
delight-im/Android-DDP
8183e740a37445656dfa610e0f7d203e2d765f57
src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/QueueExecutor.java
src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/QueueExecutor.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 ...
Remove @version that uses svn revision as it makes useless differences when comparing svn with github
Remove @version that uses svn revision as it makes useless differences when comparing svn with github git-svn-id: 5ccfe34f605a6c2f9041ff2965ab60012c62539a@1788653 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
vherilier/jmeter,ra0077/jmeter,vherilier/jmeter,vherilier/jmeter,max3163/jmeter,etnetera/jmeter,max3163/jmeter,etnetera/jmeter,ubikloadpack/jmeter,ubikloadpack/jmeter,ubikloadpack/jmeter,etnetera/jmeter,ra0077/jmeter,etnetera/jmeter,ra0077/jmeter,etnetera/jmeter,vherilier/jmeter,max3163/jmeter,ubikloadpack/jmeter,max31...
1eb23656da87950e1a3f1ebed1aad05dfa0da13c
modules/Core/src/main/java/jpower/core/config/ConfigFile.java
modules/Core/src/main/java/jpower/core/config/ConfigFile.java
package jpower.core.config; import jpower.core.load.Loadable; import jpower.core.load.Reloadable; import jpower.core.utils.ExceptionUtils; import java.io.File; import java.io.IOException; import java.nio.file.Path; /** * Configuration File Wrapper */ public class ConfigFile implements Loadable, Reloadable { pri...
package jpower.core.config; import jpower.core.load.Loadable; import jpower.core.load.Reloadable; import jpower.core.utils.ExceptionUtils; import java.io.File; import java.io.IOException; import java.nio.file.Path; /** * Configuration File Wrapper */ public class ConfigFile implements Loadable, Reloadable { pri...
Fix Silly Code and cleanup JavaDoc
Configuration: Fix Silly Code and cleanup JavaDoc
Java
mit
DirectMyFile/JPower
99543b76816d0ad0e1f6ea4547db56527e0ecd4f
core/src/test/java/com/google/common/truth/delegation/DelegationTest.java
core/src/test/java/com/google/common/truth/delegation/DelegationTest.java
/* * Copyright (c) 2011 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
/* * Copyright (c) 2011 Google, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
Add a RunsWith for JUnit4
Add a RunsWith for JUnit4
Java
apache-2.0
dahlstrom-g/truth,google/truth,google/truth,kidaa/truth,google/truth,kidaa/truth,cgruber/truth,hcoles/truth,dahlstrom-g/truth,cgruber/truth,hcoles/truth
0dfb86ff7d5785da086210d337e110462d5729b2
src/main/java/com/antew/redditinpictures/library/json/JsonDeserializer.java
src/main/java/com/antew/redditinpictures/library/json/JsonDeserializer.java
package com.antew.redditinpictures.library.json; import com.antew.redditinpictures.library.enums.Vote; import com.antew.redditinpictures.library.gson.VoteAdapter; import com.antew.redditinpictures.library.logging.Log; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonSyntaxExc...
package com.antew.redditinpictures.library.json; import com.antew.redditinpictures.library.enums.Vote; import com.antew.redditinpictures.library.gson.VoteAdapter; import com.antew.redditinpictures.library.logging.Log; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonSyntaxExc...
Add JSON deserializer which takes a reader
Add JSON deserializer which takes a reader
Java
apache-2.0
antew/RedditInPictures
0aacbad93a0590e01db5d3d765a14a1a08330515
supermarket/src/main/java/com/akikanellis/kata01/offer/OfferStrategies.java
supermarket/src/main/java/com/akikanellis/kata01/offer/OfferStrategies.java
package com.akikanellis.kata01.offer; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.Set; import java.util.stream.Stream; /** * A representation of a collection of {@link com.akikanellis.kata01.offer.OfferStrategies}. */ public final class OfferStrategies { ...
package com.akikanellis.kata01.offer; import java.util.Collection; import java.util.Collections; import java.util.HashSet; import java.util.Set; import java.util.stream.Stream; /** * A representation of a collection of {@link com.akikanellis.kata01.offer.OfferStrategies}. */ public final class OfferStrategies { ...
Use static factory method instead of constructor
Use static factory method instead of constructor
Java
mit
AkiKanellis/kata01-supermarket-pricing,AkiKanellis/kata01-supermarket-pricing
a0d9b0fa023c1ad2fc56a855392fae594afe3ef5
user-experience/src/main/java/router/client/api2/OnChangeCallbackChain.java
user-experience/src/main/java/router/client/api2/OnChangeCallbackChain.java
package router.client.api2; import java.util.List; import java.util.Objects; import javax.annotation.Nonnull; import javax.annotation.Nullable; public final class OnChangeCallbackChain { @Nonnull private final List<RouteEntry<OnChangeCallbackAsync>> _chain; public OnChangeCallbackChain( @Nonnull final List<Rou...
package router.client.api2; import java.util.List; import java.util.Objects; import javax.annotation.Nonnull; import javax.annotation.Nullable; public final class OnChangeCallbackChain { @Nonnull private final List<RouteEntry<OnChangeCallbackAsync>> _chain; public OnChangeCallbackChain( @Nonnull final List<Rou...
Implement missing halt callback method and rename actions
Implement missing halt callback method and rename actions
Java
apache-2.0
realityforge-experiments/gwt-router,realityforge-experiments/gwt-router,realityforge-experiments/gwt-router
93bd200641267abe2ddf9047e13a2652932a0e3f
src/main/java/com/github/vlsidlyarevich/unity/controller/WorkerProfileSearchController.java
src/main/java/com/github/vlsidlyarevich/unity/controller/WorkerProfileSearchController.java
package com.github.vlsidlyarevich.unity.controller; import com.github.vlsidlyarevich.unity.service.WorkerProfileSearchService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.util.Multi...
package com.github.vlsidlyarevich.unity.controller; import com.github.vlsidlyarevich.unity.service.WorkerProfileSearchService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.util.Multi...
Switch to map as request body
Switch to map as request body
Java
apache-2.0
vlsidlyarevich/unity,vlsidlyarevich/unity,vlsidlyarevich/unity,vlsidlyarevich/unity
2a8a6ef690d8bd8e50c9983749ffb30ec6361ea9
placebooks-webapp/src/placebooks/model/json/GeometryJSONDeserializer.java
placebooks-webapp/src/placebooks/model/json/GeometryJSONDeserializer.java
package placebooks.model.json; import java.io.IOException; import org.codehaus.jackson.JsonParser; import org.codehaus.jackson.JsonProcessingException; import org.codehaus.jackson.map.DeserializationContext; import org.codehaus.jackson.map.JsonDeserializer; import com.vividsolutions.jts.geom.Geometry; import com.viv...
package placebooks.model.json; import java.io.IOException; import java.util.logging.Level; import java.util.logging.Logger; import org.codehaus.jackson.JsonParser; import org.codehaus.jackson.JsonProcessingException; import org.codehaus.jackson.map.DeserializationContext; import org.codehaus.jackson.map.JsonDeseriali...
Use null geometry if parsing geometry fails
Use null geometry if parsing geometry fails
Java
agpl-3.0
horizon-institute/placebooks,horizon-institute/placebooks
3c6963ef3c66a42bb10944e8eaed4335a884dba1
org.eclipse.mylyn.ide.tests/src/org/eclipse/mylyn/ide/tests/AllIdeTests.java
org.eclipse.mylyn.ide.tests/src/org/eclipse/mylyn/ide/tests/AllIdeTests.java
/******************************************************************************* * Copyright (c) 2004, 2008 Tasktop Technologies and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distributio...
/******************************************************************************* * Copyright (c) 2004, 2008 Tasktop Technologies and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distributio...
Fix Error: The method addTestSuite(Class<? extends TestCase>) in the type TestSuite is not applicable for the arguments (Class<TaskTemplateVariableResolver>)
Fix Error: The method addTestSuite(Class<? extends TestCase>) in the type TestSuite is not applicable for the arguments (Class<TaskTemplateVariableResolver>) TaskTemplateVariableResolver is now TaskTemplateResolverTest
Java
epl-1.0
gnodet/wikitext
326c5810e7dbc38c5a4a0e08570fc91f7ae99c9b
com.github.sormuras.bach/src/main/java/com/github/sormuras/bach/core/Checksum.java
com.github.sormuras.bach/src/main/java/com/github/sormuras/bach/core/Checksum.java
package com.github.sormuras.bach.core; import com.github.sormuras.bach.Bach; import com.github.sormuras.bach.ToolOperator; import com.github.sormuras.bach.internal.ArgumentsParser; import com.github.sormuras.bach.internal.PathSupport; import java.io.PrintWriter; import java.nio.file.Path; import java.util.Optional; p...
package com.github.sormuras.bach.core; import com.github.sormuras.bach.internal.ArgumentsParser; import com.github.sormuras.bach.internal.PathSupport; import java.io.PrintWriter; import java.nio.file.Path; import java.util.Optional; import java.util.spi.ToolProvider; public class Checksum implements ToolProvider { ...
Reduce dependencies of `checksum` tool
Reduce dependencies of `checksum` tool
Java
mit
sormuras/bach,sormuras/bach
9ecb0a1f8f87246dabd5d1fed62af7bbd2ea6bea
src/main/java/in/twizmwaz/cardinal/module/modules/blitz/BlitzBuilder.java
src/main/java/in/twizmwaz/cardinal/module/modules/blitz/BlitzBuilder.java
package in.twizmwaz.cardinal.module.modules.blitz; import in.twizmwaz.cardinal.match.Match; import in.twizmwaz.cardinal.module.ModuleBuilder; import in.twizmwaz.cardinal.module.ModuleCollection; import in.twizmwaz.cardinal.util.TimeUtils; import org.jdom2.Element; public class BlitzBuilder implements ModuleBuilder { ...
package in.twizmwaz.cardinal.module.modules.blitz; import in.twizmwaz.cardinal.match.Match; import in.twizmwaz.cardinal.module.ModuleBuilder; import in.twizmwaz.cardinal.module.ModuleCollection; import in.twizmwaz.cardinal.util.TimeUtils; import org.jdom2.Element; public class BlitzBuilder implements ModuleBuilder { ...
Fix an NPEs when elements are not present
Fix an NPEs when elements are not present
Java
mit
iPGz/CardinalPGM,Aaron1011/CardinalPGM,dentmaged/CardinalPGM,Alan736/NotCardinalPGM,Electroid/ExperimentalPGM,dentmaged/CardinalPGM,TheMolkaPL/CardinalPGM,Alan736/NotCardinalPGM,dentmaged/Cardinal-Dev,Pablete1234/CardinalPGM,Electroid/ExperimentalPGM,CaptainElliott/CardinalPGM,dentmaged/Cardinal-Dev,SungMatt/CardinalPG...
c550fa5523f333a9b4a908c4b2bd3875c89818e6
src/main/java/nl/r0b3rtk/jmoribus/spring/SpringRunner.java
src/main/java/nl/r0b3rtk/jmoribus/spring/SpringRunner.java
package nl.r0b3rtk.jmoribus.spring; public class SpringRunner { }
package nl.r0b3rtk.jmoribus.spring; public class SpringRunner { public SpringRunner() { // default constructor } }
Add default constructor to test Travis
Add default constructor to test Travis
Java
mit
r0b3rtk/JMoribus-spring
4ef9a06537bfbc4562351b68d74283f9951e3e91
SubSort/src/main/java/org/lodder/subtools/subsort/lib/control/VideoFileFactory.java
SubSort/src/main/java/org/lodder/subtools/subsort/lib/control/VideoFileFactory.java
package org.lodder.subtools.subsort.lib.control; import java.io.File; import java.util.List; import org.lodder.subtools.sublibrary.Manager; import org.lodder.subtools.sublibrary.exception.ControlFactoryException; import org.lodder.subtools.sublibrary.exception.ReleaseControlException; import org.lodder.subtools.subli...
package org.lodder.subtools.subsort.lib.control; import java.io.File; import java.util.List; import org.lodder.subtools.sublibrary.Manager; import org.lodder.subtools.sublibrary.exception.ControlFactoryException; import org.lodder.subtools.sublibrary.exception.ReleaseControlException; import org.lodder.subtools.subli...
Remove logging, no usefull info
Remove logging, no usefull info
Java
mit
phdelodder/SubTools
daf0a3747aa7fed00fe88282a7cab90305e89c8b
app/src/test/java/com/kickstarter/libs/utils/DiscoveryParamsUtilsTest.java
app/src/test/java/com/kickstarter/libs/utils/DiscoveryParamsUtilsTest.java
package com.kickstarter.libs.utils; import com.kickstarter.factories.CategoryFactory; import com.kickstarter.factories.LocationFactory; import com.kickstarter.libs.RefTag; import com.kickstarter.services.DiscoveryParams; import junit.framework.TestCase; import static com.kickstarter.libs.utils.DiscoveryParamsUtils.r...
package com.kickstarter.libs.utils; import com.kickstarter.factories.CategoryFactory; import com.kickstarter.factories.LocationFactory; import com.kickstarter.libs.RefTag; import com.kickstarter.services.DiscoveryParams; import junit.framework.TestCase; public class DiscoveryParamsUtilsTest extends TestCase { pub...
Remove static import in this test.
Remove static import in this test.
Java
apache-2.0
kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss
50fdce65de12e78d2cf124710c36fe08fd9bd070
app/src/main/java/me/dilek/izlek/domain/SeasonCollection.java
app/src/main/java/me/dilek/izlek/domain/SeasonCollection.java
package me.dilek.izlek.domain; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; public class SeasonCollection implements Iterable<Season>, Serializable { private static final long serialVersionUID = -4364084422273324469L; ...
package me.dilek.izlek.domain; import java.io.Serializable; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; public class SeasonCollection implements Iterable<Season>, Serializable { private static final long serialVersionUID = -4364084422273324469L; ...
Fix a trivial indexing issue
Fix a trivial indexing issue
Java
mit
hakandilek/izlek
567d5465a3e652fa6af2ffbc87cd53be5a9a56e9
web/src/main/java/org/mskcc/cbio/oncokb/api/pub/v1/GenesetsApiController.java
web/src/main/java/org/mskcc/cbio/oncokb/api/pub/v1/GenesetsApiController.java
package org.mskcc.cbio.oncokb.api.pub.v1; import org.mskcc.cbio.oncokb.model.Geneset; import org.mskcc.cbio.oncokb.util.ApplicationContextSingleton; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Controller; import java.util.List; /**...
package org.mskcc.cbio.oncokb.api.pub.v1; import io.swagger.annotations.ApiParam; import org.mskcc.cbio.oncokb.model.Geneset; import org.mskcc.cbio.oncokb.util.ApplicationContextSingleton; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.stereotype....
Include swagger definition in the implementation
Include swagger definition in the implementation
Java
agpl-3.0
zhx828/oncokb,zhx828/oncokb,oncokb/oncokb,zhx828/oncokb,oncokb/oncokb,oncokb/oncokb
bdf0c7d035e0518928068039ec4da363abfe97ed
commons/src/main/java/org/eclipse/kapua/commons/configuration/ServiceConfigListResultImpl.java
commons/src/main/java/org/eclipse/kapua/commons/configuration/ServiceConfigListResultImpl.java
/******************************************************************************* * Copyright (c) 2011, 2016 Eurotech and/or its affiliates and others * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this...
/******************************************************************************* * Copyright (c) 2011, 2016 Eurotech and/or its affiliates and others * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this...
Remove "unused" annotation after interface got added
Remove "unused" annotation after interface got added
Java
epl-1.0
LeoNerdoG/kapua,LeoNerdoG/kapua,stzilli/kapua,stzilli/kapua,LeoNerdoG/kapua,stzilli/kapua,stzilli/kapua,LeoNerdoG/kapua,stzilli/kapua,LeoNerdoG/kapua
27674580f3246ebf5c53eca013337d3f685237bf
org.eclipse.winery.common/src/main/java/org/eclipse/winery/common/ids/Namespace.java
org.eclipse.winery.common/src/main/java/org/eclipse/winery/common/ids/Namespace.java
/******************************************************************************* * Copyright (c) 2013 University of Stuttgart. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and the Apache License 2.0 which both accompany ...
/******************************************************************************* * Copyright (c) 2013,2015 University of Stuttgart. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and the Apache License 2.0 which both accom...
Add check for null parameter
Add check for null parameter
Java
apache-2.0
YannicSowoidnich/winery,YannicSowoidnich/winery,YannicSowoidnich/winery,YannicSowoidnich/winery,YannicSowoidnich/winery
9d3f80b2a87476f9a664cbb0b87da6bdc55c2c0e
source/demyo-web/src/main/java/org/demyo/web/controller/api/AuthorAPIController.java
source/demyo-web/src/main/java/org/demyo/web/controller/api/AuthorAPIController.java
package org.demyo.web.controller.api; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.demyo.model.Author; import org.demyo.service.IAuthorService; @Controller @RequestMapping("/a...
package org.demyo.web.controller.api; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import org.demyo.model.Author; import org.demyo.service.IAuthorService; @RestController @R...
Use the Spring shorthand annotations for binding REST controllers
Use the Spring shorthand annotations for binding REST controllers Refs #78
Java
agpl-3.0
The4thLaw/demyo,The4thLaw/demyo,The4thLaw/demyo,The4thLaw/demyo
9a57656c946e138a0eb805aad47724bcfc9ca7c7
src/test/java/org/jboss/loom/migrators/_ext/ExternalMigratorsTestEnv.java
src/test/java/org/jboss/loom/migrators/_ext/ExternalMigratorsTestEnv.java
package org.jboss.loom.migrators._ext; import java.io.File; import java.io.IOException; import org.apache.commons.io.FileUtils; import org.jboss.loom.utils.ClassUtils; import org.junit.AfterClass; import org.junit.BeforeClass; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Base class to prepare exte...
package org.jboss.loom.migrators._ext; import java.io.File; import java.io.IOException; import org.apache.commons.io.FileUtils; import org.jboss.loom.utils.ClassUtils; import org.junit.AfterClass; import org.junit.BeforeClass; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * Base class to prepare exte...
Move test to test src
Move test to test src
Java
apache-2.0
OndraZizka/jboss-migration,OndraZizka/jboss-migration,OndraZizka/jboss-migration
4ea0eee8cc612c507610c420827d489242bc9736
archetypes/itests/src/test/java/org/apache/karaf/archetypes/CommandArchetypeTest.java
archetypes/itests/src/test/java/org/apache/karaf/archetypes/CommandArchetypeTest.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 ...
Update the archetypes itest to reflect the new karaf-command-archetype artifactId
[KARAF-1109] Update the archetypes itest to reflect the new karaf-command-archetype artifactId git-svn-id: 71d8a689455c5fbb0f077bc40adcfc391e14cb9d@1214843 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
grgrzybek/karaf,grgrzybek/karaf,grgrzybek/karaf
57a034613c436ece95aace00837d81389b51db14
gto-support-db/src/androidTest/java/org/ccci/gto/android/common/db/ExpressionTest.java
gto-support-db/src/androidTest/java/org/ccci/gto/android/common/db/ExpressionTest.java
package org.ccci.gto.android.common.db; import android.support.test.runner.AndroidJUnit4; import android.test.InstrumentationTestCase; import org.junit.Test; import org.junit.runner.RunWith; import static org.ccci.gto.android.common.db.TestDao.TestContract.RootTable; import static org.hamcrest.CoreMatchers.is; impor...
package org.ccci.gto.android.common.db; import android.support.test.runner.AndroidJUnit4; import android.test.InstrumentationTestCase; import org.junit.Test; import org.junit.runner.RunWith; import static org.ccci.gto.android.common.db.TestDao.TestContract.RootTable; import static org.hamcrest.CoreMatchers.is; impor...
Add test for count method
Add test for count method
Java
mit
GlobalTechnology/android-gto-support,CruGlobal/android-gto-support,CruGlobal/android-gto-support
0a52c3ceda3b3ef70071227c8740df9b9da9bdf6
app/src/main/java/io/github/plastix/forage/data/local/model/RealmLocation.java
app/src/main/java/io/github/plastix/forage/data/local/model/RealmLocation.java
package io.github.plastix.forage.data.local.model; import android.location.Location; import io.realm.RealmObject; /** * Realm Model "wrapper" to store location data in a Realm. This is required because Realm doesn't * allow third party types such as Android's location type. */ public class RealmLocation extends R...
package io.github.plastix.forage.data.local.model; import android.location.Location; import io.github.plastix.forage.util.LocationUtils; import io.realm.RealmObject; /** * Realm Model "wrapper" to store location data in a Realm. This is required because Realm doesn't * allow third party types such as Android's loc...
Use new buildLocation helper method in LocationUtils
Use new buildLocation helper method in LocationUtils
Java
mpl-2.0
Plastix/Forage,Plastix/Forage
e13237cac1e4856045e02da7d675dccce678afca
e4/com.opcoach.training.e4.rental.ui/src/com/opcoach/training/e4/rental/ui/RentalUIActivator.java
e4/com.opcoach.training.e4.rental.ui/src/com/opcoach/training/e4/rental/ui/RentalUIActivator.java
package com.opcoach.training.e4.rental.ui; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; /** * The activator class controls the plug-in life cycle This class must be * registered as a LifeCycleURI to fill the context */ public class RentalUIActivator implements BundleActivator...
package com.opcoach.training.e4.rental.ui; import org.eclipse.e4.core.contexts.EclipseContextFactory; import org.eclipse.e4.core.contexts.IEclipseContext; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; /** * The activator class controls the plug-in life cycle This class must be ...
Add an E4 context on current plugin.
Add an E4 context on current plugin.
Java
epl-1.0
opcoach/training,opcoach/training
eae3b79c09bbb9d44958789b337e0e22811952ec
src/main/java/com/insane/itsrainingfood/FoodEventHandler.java
src/main/java/com/insane/itsrainingfood/FoodEventHandler.java
package com.insane.itsrainingfood; import net.minecraft.entity.player.EntityPlayer; import cpw.mods.fml.common.eventhandler.SubscribeEvent; import cpw.mods.fml.common.gameevent.TickEvent.PlayerTickEvent; public class FoodEventHandler { public static int ticksSinceLast = 0; @SubscribeEvent public void onPlayerTickE...
package com.insane.itsrainingfood; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.util.MathHelper; import cpw.mods.fml.common.eventhandler.SubscribeEvent; import cpw.mods.fml.common.gameevent.TickEvent.PlayerTickEvent; public class FoodEventHandler { public static int ticksSinceLast = 0; @Sub...
Change from cast to MathHelper
Change from cast to MathHelper
Java
mit
MikeLydeamore/ItsRainingFood
2ae28bd74def24b71e04133246c190ed35fbdf3e
src/main/java/net/openhft/chronicle/network/WanSimulator.java
src/main/java/net/openhft/chronicle/network/WanSimulator.java
package net.openhft.chronicle.network; import net.openhft.chronicle.core.Jvm; /** * Created by peter.lawrey on 16/07/2015. */ public enum WanSimulator { ; private static final int NET_BANDWIDTH = Integer.getInteger("wanMB", 0); private static final int BYTES_PER_MS = NET_BANDWIDTH * 1000; private st...
package net.openhft.chronicle.network; import net.openhft.chronicle.core.Jvm; import java.util.Random; /** * Created by peter.lawrey on 16/07/2015. */ public enum WanSimulator { ; private static final int NET_BANDWIDTH = Integer.getInteger("wanMB", 0); private static final int BYTES_PER_MS = NET_BANDWI...
Add a wan simulator to reproduce timing sensitive issues with a random 0.5 ms delay.
Add a wan simulator to reproduce timing sensitive issues with a random 0.5 ms delay.
Java
apache-2.0
OpenHFT/Chronicle-Network
367779d074ab5c058623580439b4f1bfbf676644
src/main/java/org/cryptonit/cloud/timestamping/Authority.java
src/main/java/org/cryptonit/cloud/timestamping/Authority.java
package org.cryptonit.cloud.timestamping; import org.bouncycastle.util.Store; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.security.*; import java.security.cert.X509Certificate; /** * @author Mathias Brossard */ public class Authority { private static Logger LOGGER; KeyPair key; X...
package org.cryptonit.cloud.timestamping; import org.bouncycastle.tsp.*; import org.bouncycastle.util.Store; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.security.*; import java.security.cert.X509Certificate; /** * @author Mathias Brossard */ public class Authority { private static Logger...
Add prototype for timestamp function
Add prototype for timestamp function
Java
agpl-3.0
mbrossard/cryptonit-cloud,mbrossard/cryptonit-cloud,mbrossard/cryptonit-cloud
b44774f7eec9fed8c01a144d23cfbf447e627f1d
src/main/java/cz/jiripinkas/jsitemapgenerator/HttpClient.java
src/main/java/cz/jiripinkas/jsitemapgenerator/HttpClient.java
package cz.jiripinkas.jsitemapgenerator; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public class HttpClient { /** * HTTP GET to URL, return status * * @param url URL * @return status code (for example 200) * @throws Exception When error */ publ...
package cz.jiripinkas.jsitemapgenerator; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public class HttpClient { /** * HTTP GET to URL, return status * * @param url URL * @return status code (for example 200) * @throws Exception When error */ publ...
Fix ping google / bing functionality so that OkHttp cleans up all resources after itself.
Fix ping google / bing functionality so that OkHttp cleans up all resources after itself.
Java
mit
jirkapinkas/jsitemapgenerator
e5e74541474f466fe01299163bdf26b8ca899f14
rest-common/src/main/java/uk/ac/ebi/quickgo/rest/controller/SwaggerConfig.java
rest-common/src/main/java/uk/ac/ebi/quickgo/rest/controller/SwaggerConfig.java
package uk.ac.ebi.quickgo.rest.controller; import com.google.common.base.Predicates; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.PropertySource; import springfox.documentation.builders.PathSelectors; impo...
package uk.ac.ebi.quickgo.rest.controller; import com.google.common.base.Predicates; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.PropertySource; import springfox.documentation.builders.PathSelectors; impo...
Remove default http status messages from swagger documentation.
Remove default http status messages from swagger documentation.
Java
apache-2.0
ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE
09184bbdcee3f43f9a935d5300c80b54049f95aa
org.metaborg.core/src/main/java/org/metaborg/core/plugin/ServiceModulePluginLoader.java
org.metaborg.core/src/main/java/org/metaborg/core/plugin/ServiceModulePluginLoader.java
package org.metaborg.core.plugin; import java.util.Collection; import java.util.ServiceLoader; import org.metaborg.core.MetaborgException; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; import com.google.inject.Module; /** * Module plugin loader using Java's {@link ServiceLoade...
package org.metaborg.core.plugin; import java.util.Collection; import java.util.ServiceLoader; import org.metaborg.core.MetaborgException; import com.google.common.collect.Iterables; import com.google.common.collect.Lists; import com.google.inject.Module; /** * Module plugin loader using Java's {@link ServiceLoade...
Generalize service module plugin loader, in preparation for same loading mechanism for language specification Module plugins.
Generalize service module plugin loader, in preparation for same loading mechanism for language specification Module plugins.
Java
apache-2.0
metaborg/spoofax,metaborg/spoofax,metaborg/spoofax,metaborg/spoofax
03dbbb9f1eb7967ca2afdae680d7531654733223
analytics-core/src/test/java/com/codenvy/analytics/integration/AllTests.java
analytics-core/src/test/java/com/codenvy/analytics/integration/AllTests.java
/* * CODENVY CONFIDENTIAL * __________________ * * [2012] - [2015] Codenvy, S.A. * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Codenvy S.A. and its suppliers, * if any. The intellectual and technical concepts contained * herein are proprietary to Cod...
/* * CODENVY CONFIDENTIAL * __________________ * * [2012] - [2015] Codenvy, S.A. * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Codenvy S.A. and its suppliers, * if any. The intellectual and technical concepts contained * herein are proprietary to Cod...
Cover workspace metrics with selenium tests
DASHB-681: Cover workspace metrics with selenium tests
Java
epl-1.0
codenvy/codenvy,R-Brain/codenvy,R-Brain/codenvy,codenvy/codenvy,R-Brain/codenvy,codenvy/codenvy,R-Brain/codenvy,codenvy/codenvy,R-Brain/codenvy,R-Brain/codenvy,codenvy/codenvy,codenvy/codenvy
ec9c024c8f6dd8e4baa237040304d433886c8f91
findbugsTestCases/src/java/npe/GuaranteedDereferenceInteractionWithAssertionMethods.java
findbugsTestCases/src/java/npe/GuaranteedDereferenceInteractionWithAssertionMethods.java
package npe; public class GuaranteedDereferenceInteractionWithAssertionMethods { public Object x; public boolean b; public int falsePositive() { if (x == null) System.out.println("x is null"); if (b) { x = bar(); checkForError(); } return x.hashCode(); } public void checkForError() { } ...
package npe; public class GuaranteedDereferenceInteractionWithAssertionMethods { public Object x; public boolean b; public int falsePositive() { if (x == null) System.out.println("x is null"); if (b) { x = bar(); checkForError(); } return x.hashCode(); } int falsePositive2(Object x) { if...
Add another false positive test case
Add another false positive test case git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@6399 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
Java
lgpl-2.1
sewe/spotbugs,spotbugs/spotbugs,sewe/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,KengoTODA/spotbugs,sewe/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs,sewe/spotbugs,johnscancella/spotbugs,johnscancella/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs
5efc1437d1bb5ff0e66719a93e00d814a5866048
api/metrics-api-common/src/main/java/org/hawkular/metrics/api/jaxrs/util/MetricTypeTextConverter.java
api/metrics-api-common/src/main/java/org/hawkular/metrics/api/jaxrs/util/MetricTypeTextConverter.java
/* * Copyright 2014-2015 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://w...
/* * Copyright 2014-2015 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://w...
Throw RuntimeException if new type is not added here also
Throw RuntimeException if new type is not added here also
Java
apache-2.0
ppalaga/hawkular-metrics,pilhuhn/rhq-metrics,spadgett/hawkular-metrics,mwringe/hawkular-metrics,spadgett/hawkular-metrics,hawkular/hawkular-metrics,burmanm/hawkular-metrics,ppalaga/hawkular-metrics,spadgett/hawkular-metrics,jotak/hawkular-metrics,hawkular/hawkular-metrics,pilhuhn/rhq-metrics,ppalaga/hawkular-metrics,sp...
fd9584e6f2043d51f3d8feeae8ce6044056c028e
imagepipeline/src/main/java/com/facebook/imagepipeline/postprocessors/RoundAsCirclePostprocessor.java
imagepipeline/src/main/java/com/facebook/imagepipeline/postprocessors/RoundAsCirclePostprocessor.java
/* * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.imagepipeline.postprocessors; import android.graphics.Bitmap; import com.facebook.cache.common.CacheKey; import com....
/* * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.imagepipeline.postprocessors; import android.graphics.Bitmap; import com.facebook.cache.common.CacheKey; import com....
Update existing native rounding post processor
Update existing native rounding post processor Reviewed By: oprisnik Differential Revision: D9607950 fbshipit-source-id: 080aa9cd339761a48e534c2fd4d3677005063e78
Java
mit
facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco
aa022a5cc8cea308933d2e6721319a0018123c9e
config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/AutoscalingMetrics.java
config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/AutoscalingMetrics.java
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.model.admin.monitoring; import java.util.Arrays; import java.util.Set; import java.util.stream.Collectors; /** * Metrics used for autoscaling * * @author bratseth */ publi...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.model.admin.monitoring; import java.util.Arrays; import java.util.Set; import java.util.stream.Collectors; /** * Metrics used for autoscaling * * @author bratseth */ publi...
Revert "Add queries.rate to the 'autoscaling' consumer."
Revert "Add queries.rate to the 'autoscaling' consumer."
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
f0f3d990eaad1d3754e3d939f0e7ce323b7bc6d7
src/main/java/uni/projects/javafxcrud/Main.java
src/main/java/uni/projects/javafxcrud/Main.java
package uni.projects.javafxcrud; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage; public class Main extends Application { @Override public void start(Stage primaryStage) throws Exception{ Parent roo...
package uni.projects.javafxcrud; import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage; public class Main extends Application { @Override public void start(Stage primaryStage) throws Exception { Parent ro...
Change to class loader instead of contexclassloader, cause the latter is slower.
Change to class loader instead of contexclassloader, cause the latter is slower.
Java
mit
Ostrea/JavaFXCrud
7228d4db754fc0c57f6c2e5ad8d45c0b0b909a08
src/main/java/com/icosillion/podengine/utils/DateUtils.java
src/main/java/com/icosillion/podengine/utils/DateUtils.java
package com.icosillion.podengine.utils; import com.icosillion.podengine.exceptions.DateFormatException; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; public class DateUtils { private static SimpleDateFormat[] dateFormats = { new SimpleDateFormat("EEE, dd ...
package com.icosillion.podengine.utils; import com.icosillion.podengine.exceptions.DateFormatException; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; public class DateUtils { private static SimpleDateFormat[] dateFormats = { new S...
Use US Locale for date parser
Use US Locale for date parser
Java
mit
MarkusLewis/Podcast-Feed-Library,EdgeOwl/Podcast-Feed-Library
40111802e74130b2eda0baaae768e8d58e0dea87
src/test/java/info/novatec/tr/TokenRunApplicationTests.java
src/test/java/info/novatec/tr/TokenRunApplicationTests.java
package info.novatec.tr; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.IntegrationTest; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.springf...
package info.novatec.tr; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.IntegrationTest; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.springframework.test.context.web...
Remove @Ignore annotation which is not needed. The test runs successfully.
Remove @Ignore annotation which is not needed. The test runs successfully.
Java
apache-2.0
tobiasschaefer/token-run,tobiasschaefer/token-run,tobiasschaefer/token-run,tobiasschaefer/token-run
03dd8ef55e56e43bc1793349dba1a7975a292aa7
backend/src/test/java/ch/zuehlke/campplanner/CampplannerApplicationTests.java
backend/src/test/java/ch/zuehlke/campplanner/CampplannerApplicationTests.java
package ch.zuehlke.campplanner; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.springframework.test.context.web.WebAppConfiguration; @RunWith(SpringJUnit4Cla...
package ch.zuehlke.campplanner; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.SpringApplicationConfiguration; import org.springframework.test.context.ActiveProfiles; import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; import org.springframework.test.co...
Use dev profile for integration tests.
Use dev profile for integration tests.
Java
mit
joachimprinzbach/ng2-camp,joachimprinzbach/ng2-camp,joachimprinzbach/ng2-camp,joachimprinzbach/ng2-camp
2ed4bea13d44007854be4260cc20341ae8b71420
genomics/sparkcaller/src/main/java/com/github/sparkcaller/variantdiscovery/VQSRRecalibrationApplier.java
genomics/sparkcaller/src/main/java/com/github/sparkcaller/variantdiscovery/VQSRRecalibrationApplier.java
package com.github.sparkcaller.variantdiscovery; import com.github.sparkcaller.BaseGATKProgram; import com.github.sparkcaller.Utils; import scala.Tuple2; import java.io.File; public class VQSRRecalibrationApplier extends BaseGATKProgram { public VQSRRecalibrationApplier(String pathToReference, String extraArgs, ...
package com.github.sparkcaller.variantdiscovery; import com.github.sparkcaller.BaseGATKProgram; import com.github.sparkcaller.Utils; import scala.Tuple2; import java.io.File; /* * Applies the recalibration targets generated by VQSRTarget generator. * * See: * https://software.broadinstitute.org/gatk/gatkdocs/org...
Add a breif explaination of what the class does.
[Genomics]: Add a breif explaination of what the class does.
Java
mit
UNINETT/daas-apps,UNINETT/daas-apps
8744a8f51c6bc13c1547050065669fe7d505e17f
WahrDiscordApi/src/main/java/co/phoenixlab/discord/api/request/channel/EditChannelPermissionsRequest.java
WahrDiscordApi/src/main/java/co/phoenixlab/discord/api/request/channel/EditChannelPermissionsRequest.java
/* * The MIT License (MIT) * * Copyright (c) 2016 Vincent Zhang/PhoenixLAB * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to u...
/* * The MIT License (MIT) * * Copyright (c) 2016 Vincent Zhang/PhoenixLAB * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to u...
Add type field to edit channel perms request
Add type field to edit channel perms request
Java
mit
vincentzhang96/WahrBot
2d254e7052ec52e9a751b16cd9e832a858d23487
app/src/main/java/com/example/android/sunshine/app/LocationEditTextPreference.java
app/src/main/java/com/example/android/sunshine/app/LocationEditTextPreference.java
package com.example.android.sunshine.app; import android.content.Context; import android.content.res.TypedArray; import android.preference.EditTextPreference; import android.util.AttributeSet; /** * Created by pmatushkin on 8/26/2015. */ public class LocationEditTextPreference extends EditTextPreference { stati...
package com.example.android.sunshine.app; import android.app.AlertDialog; import android.app.Dialog; import android.content.Context; import android.content.res.TypedArray; import android.os.Bundle; import android.preference.EditTextPreference; import android.text.Editable; import android.text.TextWatcher; import andro...
Use custom length attribute to enable or disable OK button in location preference dialog
Use custom length attribute to enable or disable OK button in location preference dialog
Java
apache-2.0
pmatushkin/Sunshine.Advanced
337ef4f699004967b45dcd686ac158e6c1734413
Part_Nine_Servlet/src/test/java/ru/aserdyuchenko/servlet/ServletDeleteUserTest.java
Part_Nine_Servlet/src/test/java/ru/aserdyuchenko/servlet/ServletDeleteUserTest.java
package ru.aserdyuchenko.servlet; import static org.junit.Assert.*; public class ServletDeleteUserTest { }
package ru.aserdyuchenko.servlet; import org.junit.Test; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.sql.SQLException; import java.util.List; import static org.junit.Assert.*; import static o...
Test for add and delete user.
Test for add and delete user.
Java
apache-2.0
anton415/Job4j,anton415/Job4j,anton415/java-courses
9fe97ce4e33898dc3b1370e7ddf072ba45ee0067
src/test/java/syntax/SyntaxTestBase.java
src/test/java/syntax/SyntaxTestBase.java
package syntax; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import org.extendj.JavaChecker; import org.extendj.parser.JavaParser; import static java.nio.charset.StandardCharsets.UTF_8; import static org.junit.Assert.*; public abstract class SyntaxTestBase { private static fi...
package syntax; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Paths; import org.extendj.JavaChecker; import org.extendj.parser.JavaParser; import static java.nio.charset.StandardCharsets.UTF_8; import static org.junit.Assert.*; public abstract class SyntaxTestBase { private static fi...
Add proper classpath to syntax tests
Add proper classpath to syntax tests To prevent unknown type errors being spewed on stderr.
Java
apache-2.0
hartenfels/Jastics,hartenfels/Semantics4J
190624283486d5adca3d221a637187076d0ded2b
OpERP/src/main/java/devopsdistilled/operp/client/items/ItemControllerImpl.java
OpERP/src/main/java/devopsdistilled/operp/client/items/ItemControllerImpl.java
package devopsdistilled.operp.client.items; import javax.inject.Inject; import org.springframework.context.ApplicationContext; import devopsdistilled.operp.client.items.controllers.CreateItemPaneController; import devopsdistilled.operp.server.data.entity.items.Item; import devopsdistilled.operp.server.data.service.i...
package devopsdistilled.operp.client.items; import javax.inject.Inject; import org.springframework.context.ApplicationContext; import devopsdistilled.operp.client.items.controllers.CreateItemPaneController; import devopsdistilled.operp.client.items.controllers.ListItemPaneController; import devopsdistilled.operp.ser...
Define listItems() with new MVC model
Define listItems() with new MVC model OPEN - task 41: Design "ListItemPane" as per new MVC model http://github.com/DevOpsDistilled/OpERP/issues/issue/41
Java
mit
njmube/OpERP,DevOpsDistilled/OpERP
0d447f93c20f49f170c9321af54ff7098fb5d633
src/main/java/com/google/gcs/sdrs/dao/Dao.java
src/main/java/com/google/gcs/sdrs/dao/Dao.java
/* * Copyright 2019 Google LLC. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the “License”); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
/* * Copyright 2019 Google LLC. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the “License”); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
Rename object to entity in interface.
Rename object to entity in interface.
Java
apache-2.0
GoogleCloudPlatform/storage-sdrs,GoogleCloudPlatform/storage-sdrs,GoogleCloudPlatform/storage-sdrs
2ca316e90993e830fcc7cd1337b86766371bfb4c
Client/Client-UI/src/main/java/net/sourceforge/javydreamercsw/client/ui/nodes/actions/CreateTestAction.java
Client/Client-UI/src/main/java/net/sourceforge/javydreamercsw/client/ui/nodes/actions/CreateTestAction.java
package net.sourceforge.javydreamercsw.client.ui.nodes.actions; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.ImageIcon; /** * * @author Javier A. Ortiz Bultron <javier.ortiz.78@gmail.com> */ public class CreateTestAction extends AbstractAction { public CreateTestAct...
package net.sourceforge.javydreamercsw.client.ui.nodes.actions; import com.validation.manager.core.db.TestPlan; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import javax.swing.ImageIcon; import org.openide.util.Utilities; /** * * @author Javier A. Ortiz Bultron <javier.ortiz.78@gmail.com> ...
Fix NPE while creating tests.
Fix NPE while creating tests.
Java
apache-2.0
javydreamercsw/validation-manager
9f4ee5509c8a5ba3bd1288d8246545191e825197
mobile/src/main/java/com/alexstyl/specialdates/events/namedays/NamedayLocale.java
mobile/src/main/java/com/alexstyl/specialdates/events/namedays/NamedayLocale.java
package com.alexstyl.specialdates.events.namedays; import android.support.annotation.RawRes; import com.alexstyl.specialdates.R; import com.novoda.notils.exception.DeveloperError; public enum NamedayLocale { GREEK("gr", true, R.raw.gr_namedays), ROMANIAN("ro", false, R.raw.ro_namedays), RUSSIAN("ru", fal...
package com.alexstyl.specialdates.events.namedays; import android.support.annotation.RawRes; import com.alexstyl.specialdates.R; import com.novoda.notils.exception.DeveloperError; public enum NamedayLocale { GREEK("gr", true, R.raw.gr_namedays), ROMANIAN("ro", false, R.raw.ro_namedays), RUSSIAN("ru", fal...
Use getShortCode() instead of enum name()
Use getShortCode() instead of enum name()
Java
mit
pchrysa/Memento-Calendar,pchrysa/Memento-Calendar,pchrysa/Memento-Calendar
601fb4918265ace2b6d9cc3c820b94093360c81e
src/main/java/com/uwetrottmann/trakt/v2/entities/Username.java
src/main/java/com/uwetrottmann/trakt/v2/entities/Username.java
package com.uwetrottmann.trakt.v2.entities; public class Username { /** * Special user name for the current user (determined by auth data). */ public static final Username ME = new Username("me"); private String encodedUsername; /** * Encodes the username returned from trakt so it is ...
package com.uwetrottmann.trakt.v2.entities; public class Username { /** * Special user name for the current user (determined by auth data). */ public static final Username ME = new Username("me"); private String encodedUsername; /** * Encodes the username returned from trakt so it is ...
Remove spaces in user names.
Remove spaces in user names. - Also ensure multiple consecutive dashes are replaced by just one.
Java
apache-2.0
UweTrottmann/trakt-java
d11217e6923c3c697460fff67711bab04fbd9bcc
src/main/java/totemic_commons/pokefenn/entity/ModEntities.java
src/main/java/totemic_commons/pokefenn/entity/ModEntities.java
package totemic_commons.pokefenn.entity; import cpw.mods.fml.common.registry.EntityRegistry; import totemic_commons.pokefenn.Totemic; import totemic_commons.pokefenn.entity.animal.EntityBuffalo; import totemic_commons.pokefenn.lib.Strings; /** * Created by Pokefenn. * Licensed under MIT (If this is one of my Mods) ...
package totemic_commons.pokefenn.entity; import cpw.mods.fml.common.registry.EntityRegistry; import totemic_commons.pokefenn.Totemic; import totemic_commons.pokefenn.entity.animal.EntityBuffalo; import totemic_commons.pokefenn.lib.Strings; /** * Created by Pokefenn. * Licensed under MIT (If this is one of my Mods) ...
Change Buffalo spawn egg colors
Change Buffalo spawn egg colors
Java
mit
TeamTotemic/Totemic
0c080a079adff4bef5e234ed503b229928144fe9
SingularityService/src/main/java/com/hubspot/singularity/resources/UserResource.java
SingularityService/src/main/java/com/hubspot/singularity/resources/UserResource.java
package com.hubspot.singularity.resources; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import com.google.common.base.Optional; import com.google.inject.Inject; import com.hubspot.singularity.SingularityService; import com.hubspot.singularity.Singula...
package com.hubspot.singularity.resources; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import com.google.common.base.Optional; import com.google.inject.Inject; import com.hubspot.singularity.SingularityService; import c...
Add user id param to getUserSettings
Add user id param to getUserSettings
Java
apache-2.0
andrhamm/Singularity,HubSpot/Singularity,andrhamm/Singularity,hs-jenkins-bot/Singularity,hs-jenkins-bot/Singularity,HubSpot/Singularity,andrhamm/Singularity,andrhamm/Singularity,andrhamm/Singularity,HubSpot/Singularity,HubSpot/Singularity,hs-jenkins-bot/Singularity,HubSpot/Singularity,hs-jenkins-bot/Singularity,hs-jenk...
c98a9834653f190158a737b820ea816df7c2b491
src/main/java/com/mooo/aimmac23/node/VideoRecordController.java
src/main/java/com/mooo/aimmac23/node/VideoRecordController.java
package com.mooo.aimmac23.node; import java.io.File; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.Future; import java.util.concurrent.ThreadFactory; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; public class VideoRecordController { private Thre...
package com.mooo.aimmac23.node; import java.io.File; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.Future; import java.util.concurrent.ThreadFactory; import java.util.concurrent.ThreadPoolExecutor; import java.util.concurrent.TimeUnit; public class VideoRecordController { private Thre...
Add a 1 second sleep before we stop recording, so we can hopefully see the browser closing
Add a 1 second sleep before we stop recording, so we can hopefully see the browser closing
Java
mit
saikrishna321/selenium-video-node,saikrishna321/selenium-video-node,saikrishna321/selenium-video-node
18c81d104222127490e855522e10ff9946b5d33f
src/main/java/info/tehnut/xtones/network/ConfigSyncHandler.java
src/main/java/info/tehnut/xtones/network/ConfigSyncHandler.java
package info.tehnut.xtones.network; import net.minecraftforge.fml.common.FMLCommonHandler; import net.minecraftforge.fml.common.network.simpleimpl.IMessage; import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler; import net.minecraftforge.fml.common.network.simpleimpl.MessageContext; import org.checke...
package info.tehnut.xtones.network; import info.tehnut.xtones.client.XtonesClient; import net.minecraft.client.Minecraft; import net.minecraftforge.fml.common.network.simpleimpl.IMessage; import net.minecraftforge.fml.common.network.simpleimpl.IMessageHandler; import net.minecraftforge.fml.common.network.simpleimpl.Me...
Fix config sync handling not using client task scheduler
Fix config sync handling not using client task scheduler
Java
mit
TehNut/Xtones
db7ff54da2eb4bffc055cb623dd86d9ca1814af9
src/protocolsupport/protocol/packet/middle/clientbound/play/MiddleWorldSound.java
src/protocolsupport/protocol/packet/middle/clientbound/play/MiddleWorldSound.java
package protocolsupport.protocol.packet.middle.clientbound.play; import io.netty.buffer.ByteBuf; import protocolsupport.api.ProtocolType; import protocolsupport.api.ProtocolVersion; import protocolsupport.protocol.packet.middle.ClientBoundMiddlePacket; import protocolsupport.protocol.serializer.StringSerializer; impor...
package protocolsupport.protocol.packet.middle.clientbound.play; import io.netty.buffer.ByteBuf; import protocolsupport.protocol.packet.middle.ClientBoundMiddlePacket; import protocolsupport.protocol.serializer.VarNumberSerializer; public abstract class MiddleWorldSound extends ClientBoundMiddlePacket { protected i...
Update sound changes (mojang rewrted the changes that they done before)
Update sound changes (mojang rewrted the changes that they done before)
Java
agpl-3.0
ridalarry/ProtocolSupport,ProtocolSupport/ProtocolSupport
787b7602d1b2e738b088790d57b842902e3a1ae6
compiler/java/com/google/dart/compiler/ast/DartReturnBlock.java
compiler/java/com/google/dart/compiler/ast/DartReturnBlock.java
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.google.dart.compiler.ast; import com.google.common.collect.Lists; /** * Represents a Dart ...
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. package com.google.dart.compiler.ast; import com.google.common.collect.Lists; /** * Represents a Dart ...
Convert into/from => function syntax
Convert into/from => function syntax R=messick@google.com BUG= TEST= Review URL: https://chromiumcodereview.appspot.com//10818028 git-svn-id: c93d8a2297af3b929165606efe145742a534bc71@9864 260f80e4-7a28-3924-810f-c04153c831b5
Java
bsd-3-clause
dart-lang/sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,dart-lang/sdk,dart-lang/sdk,dart-archive/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dartino/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,dart-archive/dart-sdk,da...
a8bce6d99e94738fd6abf3429de078208d5221a0
controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/MockEnclaveAccessService.java
controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/aws/MockEnclaveAccessService.java
package com.yahoo.vespa.hosted.controller.api.integration.aws; import com.yahoo.config.provision.CloudAccount; import java.util.Set; import java.util.TreeSet; /** * @author jonmv */ public class MockEnclaveAccessService implements EnclaveAccessService { private volatile Set<CloudAccount> currentAccounts; ...
package com.yahoo.vespa.hosted.controller.api.integration.aws; import com.yahoo.config.provision.CloudAccount; import java.util.Set; import java.util.TreeSet; /** * @author jonmv */ public class MockEnclaveAccessService implements EnclaveAccessService { private volatile Set<CloudAccount> currentAccounts = new...
Fix test even more :'(
Fix test even more :'(
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
7d214859a79903726de50af5b9dd08aa2c6f2adf
intermine/web/main/src/org/intermine/webservice/server/user/TokenService.java
intermine/web/main/src/org/intermine/webservice/server/user/TokenService.java
package org.intermine.webservice.server.user; import java.util.Arrays; import java.util.Map; import org.intermine.api.InterMineAPI; import org.intermine.api.profile.Profile; import org.intermine.api.profile.ProfileManager; import org.intermine.webservice.server.core.JSONService; import org.intermine.webservice.server...
package org.intermine.webservice.server.user; import java.util.Arrays; import org.intermine.api.InterMineAPI; import org.intermine.api.profile.Profile; import org.intermine.api.profile.ProfileManager; import org.intermine.webservice.server.core.JSONService; import org.intermine.webservice.server.exceptions.BadRequest...
Support more than one type of token.
Support more than one type of token. This is going to be important for producing decent perma-links to result sets, that can be reliably run at various times in the future by anyone with the link without compromising the user account of the profile involved. Former-commit-id: d0e6996717c9871224411b99f8242a101270b897
Java
lgpl-2.1
julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine
a035e46fa34b725341d620e5fecab038419947fe
jctools-core/src/test/java/org/jctools/queues/QueueSanityTestMpscChunked.java
jctools-core/src/test/java/org/jctools/queues/QueueSanityTestMpscChunked.java
package org.jctools.queues; import java.util.ArrayList; import java.util.Collection; import java.util.Queue; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.jctools.queues.spec.ConcurrentQueueSpec; import org.jctools.queues.spec.Ordering; @RunWith(Parameterized.class) public clas...
package org.jctools.queues; import java.util.ArrayList; import java.util.Collection; import java.util.Queue; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.jctools.queues.spec.ConcurrentQueueSpec; import org.jctools.queues.spec.Ordering; @RunWith(Parameterized.class) public clas...
Add Netty default sizing to test
Add Netty default sizing to test
Java
apache-2.0
JCTools/JCTools
9d9ae961b5cef11e4190e3988e6e5465cf166d00
library/src/main/java/me/proxer/library/api/EnumRetrofitConverterFactory.java
library/src/main/java/me/proxer/library/api/EnumRetrofitConverterFactory.java
package me.proxer.library.api; import me.proxer.library.util.ProxerUtils; import retrofit2.Converter; import retrofit2.Retrofit; import java.lang.annotation.Annotation; import java.lang.reflect.Type; /** * @author Ruben Gees */ final class EnumRetrofitConverterFactory extends Converter.Factory { @Override ...
package me.proxer.library.api; import me.proxer.library.util.ProxerUtils; import retrofit2.Converter; import retrofit2.Retrofit; import java.lang.annotation.Annotation; import java.lang.reflect.Type; /** * @author Ruben Gees */ final class EnumRetrofitConverterFactory extends Converter.Factory { @Override ...
Revert "Try a lambda instead of a method reference for java 8 support"
Revert "Try a lambda instead of a method reference for java 8 support" This reverts commit 84d3e987405adeeab8ab60bd8a4e2e54e227a253.
Java
mit
proxer/ProxerLibJava
e244549f438e69b9029bb4baa8c08b232d25bc77
src/me/jacobcrofts/simplestructureloader/api/StructureAPI.java
src/me/jacobcrofts/simplestructureloader/api/StructureAPI.java
package me.jacobcrofts.simplestructureloader.api; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import org.json.simple.JSONArray; import org.json.simple.parser.JSONParser; import org.json.simple.parser.ParseException; import me.jacobcrofts.sim...
package me.jacobcrofts.simplestructureloader.api; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import org.bukkit.Location; import org.bukkit.block.Block; import org.json.simple.JSONArray; import org.json.simple.parser.JSONParser; import org.js...
Add feature: support for pasting structure at a given location
Add feature: support for pasting structure at a given location
Java
mit
JacobCrofts/structure-loader
7a9e25ce86bc94a43d9f60791ced0d49040f7ea1
eureka-client-archaius2/src/main/java/com/netflix/appinfo/providers/CustomAmazonInfoProviderInstanceConfigFactory.java
eureka-client-archaius2/src/main/java/com/netflix/appinfo/providers/CustomAmazonInfoProviderInstanceConfigFactory.java
package com.netflix.appinfo.providers; import com.netflix.appinfo.AmazonInfo; import com.netflix.appinfo.Ec2EurekaArchaius2InstanceConfig; import com.netflix.appinfo.EurekaInstanceConfig; import com.netflix.archaius.api.Config; import javax.inject.Inject; import javax.inject.Provider; import javax.inject.Singleton; ...
package com.netflix.appinfo.providers; import com.netflix.appinfo.AmazonInfo; import com.netflix.appinfo.Ec2EurekaArchaius2InstanceConfig; import com.netflix.appinfo.EurekaInstanceConfig; import com.netflix.archaius.api.Config; import com.netflix.discovery.DiscoveryManager; import javax.inject.Inject; import javax.in...
Fix DiscoveryManager for DI tests
Fix DiscoveryManager for DI tests
Java
apache-2.0
Netflix/eureka,Netflix/eureka,spencergibb/eureka,spencergibb/eureka,krutsko/eureka,krutsko/eureka
ffe99559bfcae46359251f1e1aedd4bfa9de75ca
ch.elexis.base.ch.labortarif_2009/src/ch/elexis/labortarif2009/data/Constants.java
ch.elexis.base.ch.labortarif_2009/src/ch/elexis/labortarif2009/data/Constants.java
/******************************************************************************* * Copyright (c) 2009-2010, G. Weirich and Elexis * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
/******************************************************************************* * Copyright (c) 2009-2010, G. Weirich and Elexis * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is a...
Fix Einstellungen Abrechnung Fachspezialitäten Liste ist leer
Fix Einstellungen Abrechnung Fachspezialitäten Liste ist leer
Java
epl-1.0
DavidGutknecht/elexis-3-base,DavidGutknecht/elexis-3-base,DavidGutknecht/elexis-3-base,DavidGutknecht/elexis-3-base,DavidGutknecht/elexis-3-base
d5c2354bb34887da7070a40a75f27bf92b59f4b9
tinylog-core-base/src/main/java/org/tinylog/core/runtime/RuntimeProvider.java
tinylog-core-base/src/main/java/org/tinylog/core/runtime/RuntimeProvider.java
/* * Copyright 2020 Martin Winandy * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
/* * Copyright 2020 Martin Winandy * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
Fix potential null pointer exception on runtimes without name
Fix potential null pointer exception on runtimes without name
Java
apache-2.0
pmwmedia/tinylog,pmwmedia/tinylog
c9d76147bce01d5b63b62c12e81ddf46383d4c04
core/src/com/tacktic/inbudget/Item.java
core/src/com/tacktic/inbudget/Item.java
package com.tacktic.inbudget; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.math.MathUtils; import com.badlogic.gdx.math.Rectangle; import io.sphere.sdk.products.ProductProjection; import javax.money.MonetaryAmount; import static com.tacktic.inbudget.BaseScreen.*; import static java.util.Locale.E...
package com.tacktic.inbudget; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.math.MathUtils; import com.badlogic.gdx.math.Rectangle; import io.sphere.sdk.products.ProductProjection; import javax.money.MonetaryAmount; import static com.tacktic.inbudget.BaseScreen.*; import static java.util.Locale.E...
Check when product doesn't have a price.
Check when product doesn't have a price.
Java
mit
lauraluiz/in-budget,lauraluiz/in-budget
6afbc3fbc5419a871a7c60420f38abeb8e908929
service-manager/service-manager-api/src/main/java/com/peterphi/servicemanager/service/rest/resource/type/ProvisionResourceParametersDTO.java
service-manager/service-manager-api/src/main/java/com/peterphi/servicemanager/service/rest/resource/type/ProvisionResourceParametersDTO.java
package com.peterphi.servicemanager.service.rest.resource.type; import com.peterphi.std.util.jaxb.JAXBSerialiser; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import java.util...
package com.peterphi.servicemanager.service.rest.resource.type; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementWrapper; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import java.util.ArrayList; import java.util.List; @XmlRootElement...
Remove debug code to print example provision XML
Remove debug code to print example provision XML
Java
mit
petergeneric/stdlib,petergeneric/stdlib,petergeneric/stdlib
14e000d832ade3df7f9031c9ab2ddeb12f8ec1b2
PermissiveFov/src/prototypev/PermissiveFov/Scenes/GameScene.java
PermissiveFov/src/prototypev/PermissiveFov/Scenes/GameScene.java
package prototypev.PermissiveFov.Scenes; import org.andengine.ui.activity.BaseGameActivity; import prototypev.PermissiveFov.ResourceManagers.GameResourceManager; public class GameScene extends SceneBase { public GameScene(BaseGameActivity activity, GameResourceManager resourceManager) { super(activity, re...
package prototypev.PermissiveFov.Scenes; import org.andengine.extension.tmx.TMXTiledMap; import org.andengine.ui.activity.BaseGameActivity; import prototypev.PermissiveFov.LevelGeneration.Entities.Level; import prototypev.PermissiveFov.LevelGeneration.Generators.LevelGenerator; import prototypev.PermissiveFov.LevelGen...
Integrate level generator with game scene
Integrate level generator with game scene
Java
mit
prototypev/android-side-projects
4bebc3ea417d3fd96d9b3ada326d55b316f50446
edu.kit.ipd.sdq.vitruvius.casestudies.pcmjava.seffstatements/src/edu/kit/ipd/sdq/vitruvius/casestudies/pcmjava/seffstatements/code2seff/Code2SEFFFactory.java
edu.kit.ipd.sdq.vitruvius.casestudies.pcmjava.seffstatements/src/edu/kit/ipd/sdq/vitruvius/casestudies/pcmjava/seffstatements/code2seff/Code2SEFFFactory.java
package edu.kit.ipd.sdq.vitruvius.casestudies.pcmjava.seffstatements.code2seff; import org.palladiosimulator.pcm.repository.BasicComponent; import org.somox.gast2seff.visitors.AbstractFunctionClassificationStrategy; import org.somox.gast2seff.visitors.InterfaceOfExternalCallFinding; import org.somox.gast2seff.visitors...
package edu.kit.ipd.sdq.vitruvius.casestudies.pcmjava.seffstatements.code2seff; import org.palladiosimulator.pcm.repository.BasicComponent; import org.somox.gast2seff.visitors.AbstractFunctionClassificationStrategy; import org.somox.gast2seff.visitors.InterfaceOfExternalCallFinding; import org.somox.gast2seff.visitors...
Fix several warnings in PCM-Java casestudy projects.
Fix several warnings in PCM-Java casestudy projects.
Java
epl-1.0
vitruv-tools/Vitruv
e87c31518418fb2362ce5b446415fe35eb40c09a
plugin/src/main/java/org/spine3/tools/codestyle/JavaSources.java
plugin/src/main/java/org/spine3/tools/codestyle/JavaSources.java
/* * Copyright 2016, TeamDev Ltd. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRES...
/* * Copyright 2016, TeamDev Ltd. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRES...
Fix lack of private constructor in utility method.
Fix lack of private constructor in utility method.
Java
apache-2.0
SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base
513d44e6312acdd0acca78150b6c8daf1b9f90a1
src/test/java/com/github/webdriverextensions/junitrunner/IgnoreBrowserTest.java
src/test/java/com/github/webdriverextensions/junitrunner/IgnoreBrowserTest.java
package com.github.webdriverextensions.junitrunner; import com.github.webdriverextensions.junitrunner.annotations.Firefox; import com.github.webdriverextensions.junitrunner.annotations.IgnoreFirefox; import org.junit.Test; import org.junit.runner.RunWith; @RunWith(WebDriverRunner.class) @Firefox() public class Ignore...
package com.github.webdriverextensions.junitrunner; import static org.junit.Assert.fail; import org.junit.Test; import org.junit.runner.RunWith; import com.github.webdriverextensions.junitrunner.annotations.Firefox; import com.github.webdriverextensions.junitrunner.annotations.IgnoreFirefox; @RunWith(WebDriverRunne...
Use junit assert instead of java keyword
Use junit assert instead of java keyword
Java
apache-2.0
webdriverextensions/webdriverextensions,webdriverextensions/webdriverextensions
3a965be3b9865ddcf4df45b9cd07226086e14292
src/test/java/info/u_team/u_team_test/data/provider/TestLootTablesProvider.java
src/test/java/info/u_team/u_team_test/data/provider/TestLootTablesProvider.java
package info.u_team.u_team_test.data.provider; import java.util.function.BiConsumer; import info.u_team.u_team_core.data.*; import info.u_team.u_team_test.init.TestBlocks; import net.minecraft.util.ResourceLocation; import net.minecraft.world.storage.loot.LootTable; public class TestLootTablesProvider extends Common...
package info.u_team.u_team_test.data.provider; import java.util.function.BiConsumer; import info.u_team.u_team_core.data.*; import info.u_team.u_team_test.init.*; import net.minecraft.util.ResourceLocation; import net.minecraft.world.storage.loot.LootTable; public class TestLootTablesProvider extends CommonLootTable...
Add loot table for basic block
Add loot table for basic block
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
a3d4569b00d282a660a45b3c71c3da49c5a08131
src/test/java/com/hamishrickerby/http_server/DirectoryListingResponseTest.java
src/test/java/com/hamishrickerby/http_server/DirectoryListingResponseTest.java
package com.hamishrickerby.http_server; import junit.framework.TestCase; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * Created by rickerbh on 16/08/2016. */ public class DirectoryListingResponseTest extends TestCase { List<String> listing = new ArrayList<String>(Arrays.asLis...
package com.hamishrickerby.http_server; import junit.framework.TestCase; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * Created by rickerbh on 16/08/2016. */ public class DirectoryListingResponseTest extends TestCase { List<String> listing = new ArrayList<String>(Arrays.asLis...
Make directory listing test helper more generic
Make directory listing test helper more generic
Java
mit
rickerbh/http_server_java,rickerbh/http_server_java
88771c8d4e8bc189fc5381ac6ed2355f90ce87fd
src/main/java/com/emailclue/api/model/EmailSent.java
src/main/java/com/emailclue/api/model/EmailSent.java
package com.emailclue.api.model; import com.fasterxml.jackson.annotation.JsonCreator; public class EmailSent { private final String eventId; @JsonCreator() public EmailSent(String eventId) { this.eventId = eventId; } }
package com.emailclue.api.model; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; public class EmailSent { private final String eventId; @JsonCreator() public EmailSent(@JsonProperty("eventId") String eventId) { this.eventId = eventId; ...
Add getter for eventId so that it is serialised
Add getter for eventId so that it is serialised
Java
mit
emailclue/emailclue-java
33edf964ef71f3ac8d43efb0d0ce170c21775235
org.osgi.service.cdi/src/org/osgi/service/cdi/runtime/dto/template/ContainerTemplateDTO.java
org.osgi.service.cdi/src/org/osgi/service/cdi/runtime/dto/template/ContainerTemplateDTO.java
/* * Copyright (c) OSGi Alliance (2017). All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
/* * Copyright (c) OSGi Alliance (2017). All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
Fix some DTO arrays to lists
[CDI] Fix some DTO arrays to lists
Java
apache-2.0
osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi,osgi/osgi
09197bd9a588600cec8ed5f72fb94730068647ba
whiteboard/forrest2/core/src/core/org/apache/forrest/core/exception/ProcessingException.java
whiteboard/forrest2/core/src/core/org/apache/forrest/core/exception/ProcessingException.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 ...
Append cause error message to our processing error message
Append cause error message to our processing error message git-svn-id: 36dcc065b18e9ace584b1c777eaeefb1d96b1ee8@485910 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
apache/forrest,apache/forrest,apache/forrest,apache/forrest,apache/forrest,apache/forrest
23ecd974c744e58988840be32d98848401a99249
src/test/java/ch/ralscha/extdirectspring_itest/InfoService.java
src/test/java/ch/ralscha/extdirectspring_itest/InfoService.java
/** * Copyright 2010-2012 Ralph Schaer <ralphschaer@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 by...
/** * Copyright 2010-2012 Ralph Schaer <ralphschaer@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 by...
Add a FORM_POST method with streamResponse=true
Add a FORM_POST method with streamResponse=true
Java
apache-2.0
ralscha/extdirectspring
5fbe5b2e04acc36e9b63ce51b3d4bb0e083fef58
kurento-client/src/main/java/org/kurento/client/JsonRpcConnectionListenerKurento.java
kurento-client/src/main/java/org/kurento/client/JsonRpcConnectionListenerKurento.java
package org.kurento.client; import org.kurento.jsonrpc.client.JsonRpcWSConnectionListener; public class JsonRpcConnectionListenerKurento implements JsonRpcWSConnectionListener { private KurentoConnectionListener listener; public JsonRpcConnectionListenerKurento(KurentoConnectionListener listener) { this.li...
package org.kurento.client; import org.kurento.jsonrpc.client.JsonRpcWSConnectionListener; public class JsonRpcConnectionListenerKurento implements JsonRpcWSConnectionListener { private KurentoConnectionListener listener; public JsonRpcConnectionListenerKurento(KurentoConnectionListener listener) { this.lis...
Call disconnected event when reconnecting
[kurento-client] Call disconnected event when reconnecting Change-Id: I0f0388f281fa80a1333f6bd18e60e563d4694cf3
Java
apache-2.0
Kurento/kurento-java,EugenioFidel/kurento-java,EugenioFidel/kurento-java,Kurento/kurento-java,Kurento/kurento-java,EugenioFidel/kurento-java,EugenioFidel/kurento-java,Kurento/kurento-java
71a254cdc3137a23e61cccc1de2bb65df6aa2d32
ontology-rest/src/main/java/uk/ac/ebi/quickgo/ontology/metadata/MetaDataProvider.java
ontology-rest/src/main/java/uk/ac/ebi/quickgo/ontology/metadata/MetaDataProvider.java
package uk.ac.ebi.quickgo.ontology.metadata; import uk.ac.ebi.quickgo.common.loader.GZIPFiles; import uk.ac.ebi.quickgo.rest.metadata.MetaData; import java.nio.file.Path; import java.util.List; import static java.util.stream.Collectors.toList; /** * Populate a MetaData instance with information about the data prov...
package uk.ac.ebi.quickgo.ontology.metadata; import uk.ac.ebi.quickgo.common.loader.GZIPFiles; import uk.ac.ebi.quickgo.rest.metadata.MetaData; import uk.ac.ebi.quickgo.rest.service.ServiceConfigException; import com.google.common.base.Preconditions; import java.nio.file.Path; import java.util.List; import static ja...
Add preconditions, cope with exception during file read.
Add preconditions, cope with exception during file read.
Java
apache-2.0
ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE
44e15e87b93c55867089df87039eb1f7454f2285
src/test/java/io/github/lukehutch/fastclasspathscanner/issues/issue80/Issue80Test.java
src/test/java/io/github/lukehutch/fastclasspathscanner/issues/issue80/Issue80Test.java
package io.github.lukehutch.fastclasspathscanner.issues.issue80; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Test; import io.github.lukehutch.fastclasspathscanner.FastClasspathScanner; import io.github.lukehutch.fastclasspathscanner.utils.ReflectionUtils; public class Issue80Test { ...
package io.github.lukehutch.fastclasspathscanner.issues.issue80; import static org.assertj.core.api.Assertions.assertThat; import org.junit.Test; import io.github.lukehutch.fastclasspathscanner.FastClasspathScanner; public class Issue80Test { @Test public void issue80() { assertThat(new FastClasspat...
Test now works out of the box on JDK9+
Test now works out of the box on JDK9+
Java
mit
lukehutch/fast-classpath-scanner,lukehutch/fast-classpath-scanner,classgraph/classgraph
fe8265c4d9fdea81fcd6ce76c7257b7f3d05fb2a
src/main/java/jp/ac/nii/prl/mape/monitoring/controller/MonitoringController.java
src/main/java/jp/ac/nii/prl/mape/monitoring/controller/MonitoringController.java
package jp.ac.nii.prl.mape.monitoring.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import o...
package jp.ac.nii.prl.mape.monitoring.controller; import java.util.List; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import o...
Create Model with instances and securityGroups
Create Model with instances and securityGroups
Java
mit
prl-tokyo/MAPE-monitoring-service,prl-tokyo/MAPE-monitoring-service
3923f15a59fc13dff2aa181e89dbd4fa6750c107
estatioapp/app/src/main/java/org/estatio/module/application/app/CodaDocCodeService.java
estatioapp/app/src/main/java/org/estatio/module/application/app/CodaDocCodeService.java
package org.estatio.module.application.app; import java.util.Arrays; import java.util.List; import org.apache.isis.applib.annotation.DomainService; import org.apache.isis.applib.annotation.NatureOfService; import org.apache.isis.applib.annotation.Programmatic; @DomainService( nature = NatureOfService.DOMAIN ...
package org.estatio.module.application.app; import java.util.Arrays; import java.util.List; import org.apache.isis.applib.annotation.DomainService; import org.apache.isis.applib.annotation.NatureOfService; import org.apache.isis.applib.annotation.Programmatic; @DomainService( nature = NatureOfService.DOMAIN ...
Revert "ECP-1090: adds doc code MV-DVE for coda docs to sync"
Revert "ECP-1090: adds doc code MV-DVE for coda docs to sync" This reverts commit 451e8d5f601f4a3040c3bf56d2e4900f9ecd68e2.
Java
apache-2.0
estatio/estatio,estatio/estatio,estatio/estatio,estatio/estatio
9796b5619b3a0d4fe28792852900fa8d6b84a606
src/test/java/com/nosoftskills/predcomposer/prediction/ViewGamePredictionsBeanTest.java
src/test/java/com/nosoftskills/predcomposer/prediction/ViewGamePredictionsBeanTest.java
package com.nosoftskills.predcomposer.prediction; import com.nosoftskills.predcomposer.alternatives.PredictionsServiceAlternative; import com.nosoftskills.predcomposer.alternatives.UserContextAlternative; import org.jglue.cdiunit.ActivatedAlternatives; import org.jglue.cdiunit.CdiRunner; import org.jglue.cdiunit.Conte...
package com.nosoftskills.predcomposer.prediction; import com.nosoftskills.predcomposer.alternatives.PredictionsServiceAlternative; import com.nosoftskills.predcomposer.alternatives.UserContextAlternative; import org.jglue.cdiunit.ActivatedAlternatives; import org.jglue.cdiunit.CdiRunner; import org.jglue.cdiunit.InReq...
Improve game prediction bean test
Improve game prediction bean test
Java
apache-2.0
ivannov/predcomposer,ivannov/predcomposer,ivannov/predcomposer
2f264b51b070ff047658cccf4076776328fb9fba
stroom-data/stroom-data-store-api/src/main/java/stroom/data/store/api/DataDownload.java
stroom-data/stroom-data-store-api/src/main/java/stroom/data/store/api/DataDownload.java
package stroom.data.store.api; import stroom.meta.shared.FindMetaCriteria; import stroom.util.shared.ResourcePaths; import stroom.util.shared.RestResource; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.responses.ApiResponse; import...
package stroom.data.store.api; import stroom.meta.shared.FindMetaCriteria; import stroom.util.shared.ResourcePaths; import stroom.util.shared.RestResource; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.responses.ApiResponse; import...
Set class producer type to application/json
Set class producer type to application/json
Java
apache-2.0
gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom,gchq/stroom
30d3197f52e0bdd7f43e8e5eac5ea465b108270d
base/src/main/java/uk/ac/ebi/atlas/experimentpage/context/DifferentialRequestContext.java
base/src/main/java/uk/ac/ebi/atlas/experimentpage/context/DifferentialRequestContext.java
package uk.ac.ebi.atlas.experimentpage.context; import com.google.common.base.MoreObjects; import uk.ac.ebi.atlas.model.experiment.differential.Contrast; import uk.ac.ebi.atlas.model.experiment.differential.DifferentialExperiment; import uk.ac.ebi.atlas.model.experiment.differential.Regulation; import uk.ac.ebi.atlas....
package uk.ac.ebi.atlas.experimentpage.context; import com.google.common.base.MoreObjects; import uk.ac.ebi.atlas.model.experiment.differential.Contrast; import uk.ac.ebi.atlas.model.experiment.differential.DifferentialExperiment; import uk.ac.ebi.atlas.model.experiment.differential.Regulation; import uk.ac.ebi.atlas....
Patch the design of DifferentialHeatMap by providing the getExperiment() that's not needed anywhere else
Patch the design of DifferentialHeatMap by providing the getExperiment() that's not needed anywhere else
Java
apache-2.0
gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas
07434fb2a42020ede01c098f173d0c08073a1fe4
library/src/main/java/ca/antonious/viewcelladapter/decorators/HeaderSectionDecorator.java
library/src/main/java/ca/antonious/viewcelladapter/decorators/HeaderSectionDecorator.java
package ca.antonious.viewcelladapter.decorators; import ca.antonious.viewcelladapter.AbstractSection; import ca.antonious.viewcelladapter.AbstractViewCell; import ca.antonious.viewcelladapter.decorators.SectionDecorator; /** * Created by George on 2016-12-17. */ public class HeaderSectionDecorator extends SectionD...
package ca.antonious.viewcelladapter.decorators; import ca.antonious.viewcelladapter.AbstractSection; import ca.antonious.viewcelladapter.AbstractViewCell; import ca.antonious.viewcelladapter.decorators.SectionDecorator; /** * Created by George on 2016-12-17. */ public class HeaderSectionDecorator extends SectionD...
Fix logic for determining if a header decorator is empty
Fix logic for determining if a header decorator is empty
Java
mit
gantonious/ViewCellAdapter,gantonious/ViewCellAdapter
84c477792c752c71a1760193a706698d45c2c70a
app/src/main/java/com/example/android/miwok/Word.java
app/src/main/java/com/example/android/miwok/Word.java
package com.example.android.miwok; /** * {@link Word} represents a vocabulary word that the user wants to learn. * It contains a default translation and a Miwok translation for that word. */ public class Word { //Default translation for the word private String mDeafaultTranslation; //Miwok translatio...
package com.example.android.miwok; import java.lang.reflect.Constructor; /** * {@link Word} represents a vocabulary word that the user wants to learn. * It contains a default translation and a Miwok translation for that word. */ public class Word { //Default translation for the word private String mDeafa...
Add a second constructor which will have 3 input parameters
Add a second constructor which will have 3 input parameters
Java
apache-2.0
kboul/MiwokApp
9e1f4a9400944377cd38fb8d21d862681581fb64
ginisdk/src/main/java/net/gini/android/authorization/requests/BearerJsonObjectRequest.java
ginisdk/src/main/java/net/gini/android/authorization/requests/BearerJsonObjectRequest.java
package net.gini.android.authorization.requests; import com.android.volley.AuthFailureError; import com.android.volley.Response; import com.android.volley.toolbox.JsonObjectRequest; import net.gini.android.MediaTypes; import net.gini.android.authorization.Session; import org.json.JSONObject; import java.util.HashMa...
package net.gini.android.authorization.requests; import com.android.volley.AuthFailureError; import com.android.volley.NetworkResponse; import com.android.volley.ParseError; import com.android.volley.Response; import com.android.volley.toolbox.HttpHeaderParser; import com.android.volley.toolbox.JsonObjectRequest; imp...
Fix the encoding of API responses.
Fix the encoding of API responses.
Java
mit
gini/gini-sdk-android,gini/gini-sdk-android,gini/gini-sdk-android
2e136f9fd28b947cfecd721fb94cd95f8488b2cb
modules/index-checker/src/main/java/jorgediazest/indexchecker/util/PortletPropsValues.java
modules/index-checker/src/main/java/jorgediazest/indexchecker/util/PortletPropsValues.java
/** * Copyright (c) 2015-present Jorge Díaz All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later...
/** * Copyright (c) 2015-present Jorge Díaz All rights reserved. * * This library is free software; you can redistribute it and/or modify it under * the terms of the GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at your option) * any later...
Fix NPE caused by automatic SF
Fix NPE caused by automatic SF
Java
lgpl-2.1
jorgediaz-lr/index-checker