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
153e6090d1bf63ca00f09708c4125a183c564017
jps-plugin/com/twitter/intellij/pants/jps/incremental/scala/PantsScalaChunkExclusionService.java
jps-plugin/com/twitter/intellij/pants/jps/incremental/scala/PantsScalaChunkExclusionService.java
// Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). // Licensed under the Apache License, Version 2.0 (see LICENSE). package com.twitter.intellij.pants.jps.incremental.scala; import com.twitter.intellij.pants.jps.incremental.model.JpsPantsProjectExtension; import com.twitter.intellij.pants.jps.increme...
// Copyright 2014 Pants project contributors (see CONTRIBUTORS.md). // Licensed under the Apache License, Version 2.0 (see LICENSE). package com.twitter.intellij.pants.jps.incremental.scala; import org.jetbrains.jps.ModuleChunk; import org.jetbrains.jps.incremental.scala.ChunkExclusionService; public class PantsScal...
Exclude all from scala plugin compilation
Exclude all from scala plugin compilation Some user hit the issue that after pants finishes, scala plugin compiler builder also started to build and cause error. Since all comiplation can/should be handled by pants, we should completely block scala plugin from compiling our code. Testing Done: https://travis-ci.org/w...
Java
apache-2.0
wisechengyi/intellij-pants-plugin,wisechengyi/intellij-pants-plugin,pantsbuild/intellij-pants-plugin,pantsbuild/intellij-pants-plugin,pantsbuild/intellij-pants-plugin,pantsbuild/intellij-pants-plugin,wisechengyi/intellij-pants-plugin,pantsbuild/intellij-pants-plugin,wisechengyi/intellij-pants-plugin
033ffdf8f1e093cea54fb4d295948e119dcd3961
src/main/java/edu/northwestern/bioinformatics/studycalendar/dao/PopulationDao.java
src/main/java/edu/northwestern/bioinformatics/studycalendar/dao/PopulationDao.java
package edu.northwestern.bioinformatics.studycalendar.dao; import edu.northwestern.bioinformatics.studycalendar.domain.Population; import edu.northwestern.bioinformatics.studycalendar.domain.Study; import edu.nwu.bioinformatics.commons.CollectionUtils; import java.util.Set; import java.util.HashSet; import org.sprin...
package edu.northwestern.bioinformatics.studycalendar.dao; import edu.northwestern.bioinformatics.studycalendar.domain.Population; import edu.northwestern.bioinformatics.studycalendar.domain.Study; import edu.nwu.bioinformatics.commons.CollectionUtils; import org.springframework.transaction.annotation.Transactional; ...
Add javadoc to planned population dao.
Add javadoc to planned population dao.
Java
bsd-3-clause
NCIP/psc,NCIP/psc,NCIP/psc,NCIP/psc
ad50f62eeccef4aab0002784ec05f10e95d2b60b
extensions/av1/src/main/java/com/google/android/exoplayer2/ext/av1/Gav1Library.java
extensions/av1/src/main/java/com/google/android/exoplayer2/ext/av1/Gav1Library.java
/* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Remove method for setting custom gav1 libraries
Remove method for setting custom gav1 libraries PiperOrigin-RevId: 273929000
Java
apache-2.0
androidx/media,google/ExoPlayer,ened/ExoPlayer,superbderrick/ExoPlayer,superbderrick/ExoPlayer,amzn/exoplayer-amazon-port,stari4ek/ExoPlayer,amzn/exoplayer-amazon-port,google/ExoPlayer,androidx/media,google/ExoPlayer,androidx/media,stari4ek/ExoPlayer,stari4ek/ExoPlayer,amzn/exoplayer-amazon-port,ened/ExoPlayer,superbde...
f2b3447fbdbe8369bd7612f4b8097ec52bfaffdc
src/main/java/com/restfiddle/config/monitoring/MetricsConfig.java
src/main/java/com/restfiddle/config/monitoring/MetricsConfig.java
package com.restfiddle.config.monitoring; import com.codahale.metrics.ConsoleReporter; import com.codahale.metrics.MetricRegistry; import com.ryantenney.metrics.spring.config.annotation.MetricsConfigurerAdapter; import java.util.concurrent.TimeUnit; /** * Created by santoshm1 on 28/06/14. */ public class MetricsCo...
package com.restfiddle.config.monitoring; import com.codahale.metrics.ConsoleReporter; import com.codahale.metrics.MetricRegistry; import com.ryantenney.metrics.spring.config.annotation.EnableMetrics; import com.ryantenney.metrics.spring.config.annotation.MetricsConfigurerAdapter; import org.springframework.context.an...
Add annotations to begin logging to console
Add annotations to begin logging to console
Java
apache-2.0
chiranjeevjain/restfiddle,AnujaK/restfiddle,niraj-thakur/restfiddle,gnanam336/restfiddle,aashish13/restfiddle,kshiji/restfiddle,gnanam336/restfiddle,kshiji/restfiddle,rka12/restfiddle,onkardevale55/restfiddle1,AnujaK/restfiddle,niraj-thakur/restfiddle,chiranjeevjain/restfiddle,aashish13/restfiddle,onkardevale55/restfid...
5bcdfcff258570092e7210a2fdca36518a5d6a8a
src/main/java/de/evosec/gradle/gitflow/release/ReleasePlugin.java
src/main/java/de/evosec/gradle/gitflow/release/ReleasePlugin.java
package de.evosec.gradle.gitflow.release; import org.eclipse.jgit.transport.CredentialsProvider; import org.gradle.api.Plugin; import org.gradle.api.Project; public class ReleasePlugin implements Plugin<Project> { private ReleaseExtension extension; @Override public void apply(Project project) { ...
package de.evosec.gradle.gitflow.release; import com.github.zafarkhaja.semver.Version; import org.eclipse.jgit.transport.CredentialsProvider; import org.gradle.api.Plugin; import org.gradle.api.Project; import org.gradle.api.plugins.ExtraPropertiesExtension; public class ReleasePlugin implements Plugin<Project> { ...
Set releaseAndroidVersionCode and releaseAndroidVersionName to be used for android builds
Set releaseAndroidVersionCode and releaseAndroidVersionName to be used for android builds
Java
mit
evosec/gradle-gitflow-release,evosec/gradle-gitflow-release
0a5bff436e29f7739ffe2e1e13505eac8fae1d1d
src/lb2xp/TestMBC.java
src/lb2xp/TestMBC.java
package lb2xp; import static org.junit.Assert.fail; import org.junit.Test; public class TestMBC { @Test public void testExpand() { fail( "Not yet implemented" ); } }
package lb2xp; import static org.junit.Assert.assertEquals; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.PrintStream; import java.security.MessageDigest; import org.junit.Test; public class TestMBC { private static String md5( byte[] arr ) thr...
Add initial test case for MBC
Add initial test case for MBC
Java
apache-2.0
kjn/lbzip2-java
760f33f0bc85d4371f1a92224e80e663db376096
src/main/java/org/realityforge/replicant/example/server/service/tyrell/replicate/EntityRouter.java
src/main/java/org/realityforge/replicant/example/server/service/tyrell/replicate/EntityRouter.java
package org.realityforge.replicant.example.server.service.tyrell.replicate; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import javax.annotation.Nonnull; import javax.enterprise.context.Dependent; import org.realityforge.replicant.example.server.entity.tyrell.Building; import org.realit...
package org.realityforge.replicant.example.server.service.tyrell.replicate; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import javax.annotation.Nonnull; import javax.enterprise.context.Dependent; import org.realityforge.replicant.example.server.entity.TyrellRouter; import org.realityfo...
Upgrade to the new Domgen API
Upgrade to the new Domgen API
Java
apache-2.0
realityforge/replicant-example,realityforge/replicant-example,realityforge/replicant-example
e1ef0b8cda49a82afe4a20125383f04cad05f336
example/application/simpleapp/integtests/src/test/java/integration/glue/InMemoryDBForSimpleApp.java
example/application/simpleapp/integtests/src/test/java/integration/glue/InMemoryDBForSimpleApp.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"); yo...
/** * 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"); yo...
Improve the name of a local variable. Seems like copy/paste error
Improve the name of a local variable. Seems like copy/paste error
Java
apache-2.0
sanderginn/isis,apache/isis,incodehq/isis,estatio/isis,peridotperiod/isis,incodehq/isis,howepeng/isis,niv0/isis,niv0/isis,oscarbou/isis,estatio/isis,incodehq/isis,kidaa/isis,howepeng/isis,apache/isis,oscarbou/isis,sanderginn/isis,peridotperiod/isis,kidaa/isis,sanderginn/isis,niv0/isis,howepeng/isis,oscarbou/isis,apache...
27b7f86392c3efd7ec779f2c2ce4488db66cf5de
src/main/java/io/live4/api3/Api3UserUrls.java
src/main/java/io/live4/api3/Api3UserUrls.java
package io.live4.api3; import org.stjs.javascript.annotation.Namespace; @Namespace("live4api") public class Api3UserUrls { public static final String API_3_USER = "/api/3/users"; public static final String BYEMAIL = "/byemail"; public static final String OBJECT = "/object"; public static final String...
package io.live4.api3; import org.stjs.javascript.annotation.Namespace; @Namespace("live4api") public class Api3UserUrls { public static final String API_3_USER = "/api/3/users"; public static final String BYEMAIL = "/byemail"; public static final String OBJECT = "/object"; public static final String...
Revert "check user exists by email"
Revert "check user exists by email" This reverts commit 677654e72d5c40db1f6b4217776bf93bfc76b5f4.
Java
apache-2.0
videogorillas/live4api,videogorillas/live4api
cf49e55d26f0a33f3e9be80b21a8234e57bca59b
src/com/cedricziel/idea/typo3/codeInspection/ExtbasePropertyInjectionInspection.java
src/com/cedricziel/idea/typo3/codeInspection/ExtbasePropertyInjectionInspection.java
package com.cedricziel.idea.typo3.codeInspection; import com.intellij.codeInspection.ProblemsHolder; import com.intellij.psi.PsiElementVisitor; import com.jetbrains.php.lang.documentation.phpdoc.psi.PhpDocType; import com.jetbrains.php.lang.inspections.PhpInspection; import com.jetbrains.php.lang.psi.visitors.PhpEleme...
package com.cedricziel.idea.typo3.codeInspection; import com.intellij.codeInsight.daemon.GroupNames; import com.intellij.codeInspection.ProblemsHolder; import com.intellij.psi.PsiElementVisitor; import com.jetbrains.php.lang.documentation.phpdoc.psi.tags.PhpDocTag; import com.jetbrains.php.lang.inspections.PhpInspecti...
Add extbase @inject performance inspection
Add extbase @inject performance inspection
Java
mit
cedricziel/idea-php-typo3-plugin,cedricziel/idea-php-typo3-plugin,cedricziel/idea-php-typo3-plugin,cedricziel/idea-php-typo3-plugin
38848a976789e35271cc07cc5dae021f6521846f
src/main/java/org/icij/extract/core/Spewer.java
src/main/java/org/icij/extract/core/Spewer.java
package org.icij.extract.core; import java.io.IOException; import java.nio.file.Path; import java.nio.file.FileSystems; import java.nio.charset.Charset; import java.util.logging.Logger; import org.apache.tika.parser.ParsingReader; import org.apache.tika.exception.TikaException; /** * Extract * * @author Matthew...
package org.icij.extract.core; import java.io.IOException; import java.nio.file.Path; import java.nio.file.FileSystems; import java.nio.charset.Charset; import java.util.logging.Logger; import org.apache.tika.parser.ParsingReader; import org.apache.tika.exception.TikaException; /** * Extract * * @author Matthew...
Fix NullPointerException when output base is null
Fix NullPointerException when output base is null
Java
mit
ICIJ/extract,ICIJ/extract
6ba942a3dddc74d86b64efa59feedb0799e026ad
workspace/CardFantasyCore/src/cfvbaibai/cardfantasy/test/FeatureValidationTests.java
workspace/CardFantasyCore/src/cfvbaibai/cardfantasy/test/FeatureValidationTests.java
package cfvbaibai.cardfantasy.test; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; import cfvbaibai.cardfantasy.Randomizer; import cfvbaibai.cardfantasy.StaticRandomizer; import cfvbaibai.cardfantasy.engine.GameEngine; import cfvbaibai.cardfantasy.game.De...
package cfvbaibai.cardfantasy.test; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; import cfvbaibai.cardfantasy.Randomizer; import cfvbaibai.cardfantasy.StaticRandomizer; import cfvbaibai.cardfantasy.engine.GameEngine; import cfvbaibai.cardfantasy.game.De...
Load test Randomizer lazily to avoid confliction in prod runtime.
Load test Randomizer lazily to avoid confliction in prod runtime.
Java
bsd-2-clause
cfvbaibai/CardFantasy,cfvbaibai/CardFantasy
94061feba9588e2eae923bcfaaf2ed008e200c05
titan-test/src/main/java/com/thinkaurelius/titan/diskstorage/DistributedStoreManagerTest.java
titan-test/src/main/java/com/thinkaurelius/titan/diskstorage/DistributedStoreManagerTest.java
package com.thinkaurelius.titan.diskstorage; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.util.List; import org.junit.Test; import org.junit.experimental.categories.Category; import com.thinkaurelius.titan.diskstorage.common.DistributedStoreManager; import c...
package com.thinkaurelius.titan.diskstorage; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNotNull; import java.util.List; import org.junit.Test; import org.junit.experimental.categories.Category; import com.thinkaurelius.titan.diskstorage.common.DistributedStoreManager; import c...
Remove a System.err.println from a test method
Remove a System.err.println from a test method
Java
apache-2.0
graben1437/titan,kangkot/titan,xlcupid/titan,nvoron23/titan,elubow/titan,englishtown/titan,jankotek/titan,nvoron23/titan,englishtown/titan,ThiagoGarciaAlves/titan,mbrukman/titan,CYPP/titan,banjiewen/titan,fengshao0907/titan,pluradj/titan,jankotek/titan,amcp/titan,fengshao0907/titan,thinkaurelius/titan,tomersagi/titan,k...
02e8bcd20805747c4b3add9d05d407a185d50764
app/src/main/java/info/zamojski/soft/towercollector/utils/NotificationHelperBase.java
app/src/main/java/info/zamojski/soft/towercollector/utils/NotificationHelperBase.java
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package info.zamojski.soft.towercollector.utils; import android.content.Context; import android.os.Build; import ...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package info.zamojski.soft.towercollector.utils; import android.content.Context; import android.os.Build; import ...
Fix incorrect notification channel ids,
Fix incorrect notification channel ids,
Java
mpl-2.0
zamojski/TowerCollector,zamojski/TowerCollector
2fbb132e92c03002bb4fd5cdf8a42c7d3c3971de
src/main/java/com/micky2506/udaldordecor/block/ModBlocks.java
src/main/java/com/micky2506/udaldordecor/block/ModBlocks.java
package com.micky2506.udaldordecor.block; import com.micky2506.udaldordecor.lib.Names; import cpw.mods.fml.common.registry.GameRegistry; import net.minecraft.init.Blocks; import net.minecraft.item.ItemStack; public class ModBlocks { public static BlockDisplayCase displayCase; public static void init() { ...
package com.micky2506.udaldordecor.block; import com.micky2506.udaldordecor.lib.Names; import cpw.mods.fml.common.registry.GameRegistry; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; public class ModBlocks { public static BlockDisplayCase displayCase; ...
Add recipe for tracking block.
Add recipe for tracking block.
Java
mit
Micky2506/UdaldorDecor
12ba844fb6b8e83155c2b581d151c074dc5aae13
stream/src/main/java/com/annimon/stream/internal/Compose.java
stream/src/main/java/com/annimon/stream/internal/Compose.java
package com.annimon.stream.internal; import java.io.Closeable; public final class Compose { private Compose() { } public static Runnable runnables(final Runnable a, final Runnable b) { return new Runnable() { @Override public void run() { try { ...
package com.annimon.stream.internal; import java.io.Closeable; public final class Compose { private Compose() { } public static Runnable runnables(final Runnable a, final Runnable b) { return new Runnable() { @Override public void run() { try { ...
Fix possible ClassCastException in closeables composer
Fix possible ClassCastException in closeables composer
Java
apache-2.0
aNNiMON/Lightweight-Stream-API
1a2d690dbaea26084b2259658e2e4a12fbbfbf86
extensions/flac/src/test/java/com/google/android/exoplayer2/ext/flac/DefaultRenderersFactoryTest.java
extensions/flac/src/test/java/com/google/android/exoplayer2/ext/flac/DefaultRenderersFactoryTest.java
/* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2019 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Add @DoNotInstrument to Flac extension test
Add @DoNotInstrument to Flac extension test PiperOrigin-RevId: 370739641
Java
apache-2.0
google/ExoPlayer,google/ExoPlayer,androidx/media,ened/ExoPlayer,amzn/exoplayer-amazon-port,google/ExoPlayer,amzn/exoplayer-amazon-port,androidx/media,androidx/media,ened/ExoPlayer,ened/ExoPlayer,amzn/exoplayer-amazon-port
045b857e1b3c61860af0561aa47be74108e3d6ac
src/test/java/com/realkinetic/app/gabby/repository/downstream/memory/MemoryDownstreamTest.java
src/test/java/com/realkinetic/app/gabby/repository/downstream/memory/MemoryDownstreamTest.java
package com.realkinetic.app.gabby.repository.downstream.memory; import com.realkinetic.app.gabby.config.BaseConfig; import com.realkinetic.app.gabby.config.DefaultConfig; import com.realkinetic.app.gabby.config.MemoryConfig; import com.realkinetic.app.gabby.repository.BaseDownstream; import com.realkinetic.app.gabby.r...
package com.realkinetic.app.gabby.repository.downstream.memory; import com.realkinetic.app.gabby.config.BaseConfig; import com.realkinetic.app.gabby.config.DefaultConfig; import com.realkinetic.app.gabby.config.MemoryConfig; import com.realkinetic.app.gabby.repository.BaseDownstream; import com.realkinetic.app.gabby.r...
Check that circle ci catches failures.
Check that circle ci catches failures.
Java
apache-2.0
RealKinetic/gabby,RealKinetic/gabby,RealKinetic/gabby
2bb995cf4da9354f44faad56975d3dbc1f0dcf02
genomics/sparkcaller/src/main/java/com/github/sparkcaller/preprocessing/IndelTargetCreator.java
genomics/sparkcaller/src/main/java/com/github/sparkcaller/preprocessing/IndelTargetCreator.java
package com.github.sparkcaller.preprocessing; import com.github.sparkcaller.BaseGATKProgram; import com.github.sparkcaller.Utils; import org.apache.spark.api.java.function.Function; import scala.Tuple2; import java.io.File; import java.util.ArrayList; /* * Minimize the amount of mismatching bases across all reads. ...
package com.github.sparkcaller.preprocessing; import com.github.sparkcaller.BaseGATKProgram; import com.github.sparkcaller.Utils; import org.apache.spark.api.java.function.Function; import scala.Tuple2; import java.io.File; import java.util.ArrayList; /* * Minimize the amount of mismatching bases across all reads. ...
Make it easier to run the RealignerTargetCreator on a single file.
[Genomics]: Make it easier to run the RealignerTargetCreator on a single file. RealignerTargetCreator is not scatter-gatherable, so we thus have to merge the SAM files before obtaining the targets. See: http://gatkforums.broadinstitute.org/gatk/discussion/1975/how-can-i-use-parallelism-to-make-gatk-tools-run-faster ...
Java
mit
UNINETT/daas-apps,UNINETT/daas-apps
3f0898f473abf7112792c189909d1c25af6c9d0d
google-cloud-core/src/main/java/com/google/cloud/package-info.java
google-cloud-core/src/main/java/com/google/cloud/package-info.java
/* * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
/* * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
Rename gcloud-java to google-cloud in javadoc comments
Rename gcloud-java to google-cloud in javadoc comments
Java
apache-2.0
googleapis/java-core,googleapis/java-core,googleapis/java-core
1dbe023f5c9a7d596fd95114c9afe5d8970722af
robolectric-shadows/shadows-core/src/main/java/org/robolectric/shadows/ShadowConfiguration.java
robolectric-shadows/shadows-core/src/main/java/org/robolectric/shadows/ShadowConfiguration.java
package org.robolectric.shadows; import android.content.res.Configuration; import java.util.Locale; import org.robolectric.annotation.Implementation; import org.robolectric.annotation.Implements; import org.robolectric.annotation.RealObject; import static org.robolectric.shadow.api.Shadow.directlyOn; /** * Shadow f...
package org.robolectric.shadows; import android.content.res.Configuration; import java.util.Locale; import org.robolectric.RuntimeEnvironment; import org.robolectric.annotation.Config; import org.robolectric.annotation.Implementation; import org.robolectric.annotation.Implements; import org.robolectric.annotation.Rea...
Mark the common methods @Deprecated.
Mark the common methods @Deprecated. This avoids build breakages and allows users to upgrade Robolectric without breakges as they migrate. Implementation has been changed to call through by default. In some cases this will result in test failures but this is highly unlikely. In such cases Javadoc has been added to ill...
Java
mit
ChengCorp/robolectric,jongerrish/robolectric,spotify/robolectric,spotify/robolectric,cesar1000/robolectric,cesar1000/robolectric,ChengCorp/robolectric,ocadotechnology/robolectric,ocadotechnology/robolectric,ChengCorp/robolectric,jongerrish/robolectric,jongerrish/robolectric,jongerrish/robolectric,cesar1000/robolectric,...
fb601e2a88f68450986ada9a43088e3b5683510b
projects/security-manager/source/javatests/com/google/enterprise/saml/client/MockArtifactResolver.java
projects/security-manager/source/javatests/com/google/enterprise/saml/client/MockArtifactResolver.java
// Copyright 2008 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
// Copyright 2008 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
Allow the resolver to signal servlet exceptions.
Allow the resolver to signal servlet exceptions.
Java
apache-2.0
googlegsa/manager.v3,googlegsa/manager.v3,googlegsa/manager.v3
55e47451c29d6bf5ad1bafcd9461554bb231c633
mb-solr/src/test/java/org/musicbrainz/search/solrwriter/AbstractMBWriterRecordingTest.java
mb-solr/src/test/java/org/musicbrainz/search/solrwriter/AbstractMBWriterRecordingTest.java
package org.musicbrainz.search.solrwriter; import java.util.ArrayList; import java.util.Arrays; public abstract class AbstractMBWriterRecordingTest extends AbstractMBWriterTest { @Override public ArrayList<String> getDoc() { return new ArrayList<>(Arrays.asList(new String[]{ "mbid", uuid, "recording", "Ro...
package org.musicbrainz.search.solrwriter; import java.util.ArrayList; import java.util.Arrays; public abstract class AbstractMBWriterRecordingTest extends AbstractMBWriterTest { @Override public ArrayList<String> getDoc() { return new ArrayList<>(Arrays.asList(new String[]{ "mbid", uuid, "recording", "Ro...
Remove redundant name field from Recording doc
Remove redundant name field from Recording doc
Java
bsd-3-clause
metabrainz/mb-solrquerywriter,metabrainz/mb-solrquerywriter
9926270a8a8394e1e48b3a46bf7b115dd7b0e009
archetype-gae/src/main/resources/archetype-resources/src/main/java/model/MyEntity.java
archetype-gae/src/main/resources/archetype-resources/src/main/java/model/MyEntity.java
#set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) package ${package}.model; import org.compass.annotations.Searchable; import org.compass.annotations.SearchableId; import org.compass.annotations.SearchableProperty; import org.hibernate.validator.NotNull; import javax.persistence.E...
#set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) package ${package}.model; import javax.persistence.Entity; import javax.persistence.Id; @Entity public class MyEntity { @Id private Long id; private String myProp; public Long getId() { return id; } ...
Remove Compass and Hibernate dependencies
Remove Compass and Hibernate dependencies
Java
apache-2.0
pojosontheweb/woko,pojosontheweb/woko,pojosontheweb/woko,pojosontheweb/woko
3b68570f24a287f3242ba37ebdd9a302e843e8f6
src/main/java/sg/ncl/testbed_interface/repositories/jpa/entities/AbstractEntity.java
src/main/java/sg/ncl/testbed_interface/repositories/jpa/entities/AbstractEntity.java
package sg.ncl.testbed_interface.repositories.jpa.entities; import org.springframework.data.annotation.CreatedDate; import org.springframework.data.annotation.LastModifiedDate; import org.springframework.data.jpa.domain.support.AuditingEntityListener; import javax.persistence.Column; import javax.persistence.EntityLi...
package sg.ncl.testbed_interface.repositories.jpa.entities; import org.springframework.data.annotation.CreatedDate; import org.springframework.data.annotation.LastModifiedDate; import org.springframework.data.jpa.domain.support.AuditingEntityListener; import javax.persistence.Column; import javax.persistence.EntityLi...
Add versioning to JPA entities (DEV-15)
Add versioning to JPA entities (DEV-15)
Java
apache-2.0
nus-ncl/services-in-one,nus-ncl/services-in-one
103648d2cf0299c8411589608deb103fb69e0ea7
subprojects/core/src/main/groovy/org/gradle/api/artifacts/cache/ResolutionRules.java
subprojects/core/src/main/groovy/org/gradle/api/artifacts/cache/ResolutionRules.java
/* * Copyright 2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Mark cache-control DSL entry point as @Experimental
Mark cache-control DSL entry point as @Experimental
Java
apache-2.0
robinverduijn/gradle,gstevey/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,gstevey/gradle,gstevey/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,lsmaira/gradle,gradle/gradle,lsmaira/gradle,r...
2c23fb6277d00f46f6f6390d6901f077a5565f1c
modules/unsupported/ogr/ogr-bridj/src/test/java/org/geotools/data/ogr/bridj/BridjGeometryMapperTest.java
modules/unsupported/ogr/ogr-bridj/src/test/java/org/geotools/data/ogr/bridj/BridjGeometryMapperTest.java
package org.geotools.data.ogr.bridj; import org.geotools.data.ogr.GeometryMapperTest; public class BridjGeometryMapperTest extends GeometryMapperTest { public BridjGeometryMapperTest() { super(BridjOGRDataStoreFactory.class); } @Override protected void setUp() throws Exception { GdalI...
package org.geotools.data.ogr.bridj; import org.geotools.data.ogr.GeometryMapperTest; public class BridjGeometryMapperTest extends GeometryMapperTest { public BridjGeometryMapperTest() { super(BridjOGRDataStoreFactory.class); } @Override protected void setUp() throws Exception { GdalI...
Fix Bridj unit test. The overridden setup methods needs to call super.
Fix Bridj unit test. The overridden setup methods needs to call super.
Java
lgpl-2.1
geotools/geotools,geotools/geotools,geotools/geotools,geotools/geotools
f216b8e7214edb2bd62f90b0f18ce43909b1453e
presto-iceberg/src/main/java/io/prestosql/plugin/iceberg/IcebergConnectorFactory.java
presto-iceberg/src/main/java/io/prestosql/plugin/iceberg/IcebergConnectorFactory.java
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
/* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distribut...
Use class loader isolation for Iceberg connector instances
Use class loader isolation for Iceberg connector instances
Java
apache-2.0
electrum/presto,dain/presto,electrum/presto,hgschmie/presto,11xor6/presto,hgschmie/presto,treasure-data/presto,erichwang/presto,losipiuk/presto,electrum/presto,treasure-data/presto,martint/presto,erichwang/presto,erichwang/presto,smartnews/presto,dain/presto,ebyhr/presto,Praveen2112/presto,Praveen2112/presto,hgschmie/p...
b43e6333681679a344184ba939454e8ab920ac4b
src/test/java/com/github/kohanyirobert/mongoroid/MongoCollectionSimpleSingleIndexTest.java
src/test/java/com/github/kohanyirobert/mongoroid/MongoCollectionSimpleSingleIndexTest.java
package com.github.kohanyirobert.mongoroid; import com.github.kohanyirobert.ebson.BsonDocuments; import org.junit.Assert; import org.junit.Before; import org.junit.Test; public final class MongoCollectionSimpleSingleIndexTest extends AbstractMongoConnectionSimpleSingleTest { private MongoDatabase database; ...
package com.github.kohanyirobert.mongoroid; import com.github.kohanyirobert.ebson.BsonDocuments; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; public final class MongoCollectionSimpleSingleIndexTest extends AbstractMongoConnectionSimpleSingleTest { private Mo...
Add tear down method to the index tests.
Add tear down method to the index tests. Indexes created by tests will be deleted after each run.
Java
mit
kohanyirobert/mongoroid,kohanyirobert/mongoroid
fbb9b0f5f3835e1f2d9310e1b991b64b5c294261
concurrency/src/main/java/com/spring/example/concurrency/collections/SetCollection.java
concurrency/src/main/java/com/spring/example/concurrency/collections/SetCollection.java
package com.spring.example.concurrency.collections; import java.util.Set; import java.util.concurrent.ConcurrentSkipListSet; public class SetCollection { /** * ConcurrentSkipListSet store elements like natural order collection * * @param args command line arguments */ public static void m...
package com.spring.example.concurrency.collections; import java.util.Set; import java.util.concurrent.ConcurrentSkipListSet; public class SetCollection { /** * ConcurrentSkipListSet store elements like natural order collection * * @param args command line arguments */ public static void m...
Add ConcurrentSkipListSet set with naturel order of elements
Add ConcurrentSkipListSet set with naturel order of elements
Java
mit
mmazurkevich/sping-examples,mmazurkevich/sping-examples
c2056d49e3dc4ca6bbabb42de8ce772c74c79bee
src/main/java/com/elmakers/mine/bukkit/api/spell/SpellResult.java
src/main/java/com/elmakers/mine/bukkit/api/spell/SpellResult.java
package com.elmakers.mine.bukkit.api.spell; /** * Every Spell will return a SpellResult when cast. This result * will determine the messaging and effects used, as well as whether * or not the Spell cast consumes its CastingCost costs. * * A Spell that fails to cast will not consume costs or register for cooldo...
package com.elmakers.mine.bukkit.api.spell; /** * Every Spell will return a SpellResult when cast. This result * will determine the messaging and effects used, as well as whether * or not the Spell cast consumes its CastingCost costs. * * A Spell that fails to cast will not consume costs or register for cooldo...
Add some new spell result types
Add some new spell result types
Java
mit
elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicAPI
8624bed7a3397a036dd3b32dc889d1aae99e24d4
src/main/java/me/rafaskb/ticketmaster/commands/CommandReload.java
src/main/java/me/rafaskb/ticketmaster/commands/CommandReload.java
package me.rafaskb.ticketmaster.commands; import org.bukkit.command.CommandSender; import me.rafaskb.ticketmaster.utils.Lang; import me.rafaskb.ticketmaster.utils.LangConfig; import me.rafaskb.ticketmaster.utils.Perm; public class CommandReload extends Command { public CommandReload() { super(Perm.RELOAD); } ...
package me.rafaskb.ticketmaster.commands; import me.rafaskb.ticketmaster.utils.ConfigLoader; import org.bukkit.command.CommandSender; import me.rafaskb.ticketmaster.utils.Lang; import me.rafaskb.ticketmaster.utils.LangConfig; import me.rafaskb.ticketmaster.utils.Perm; public class CommandReload extends Command { ...
Fix config not reloading by reload command
Fix config not reloading by reload command
Java
apache-2.0
Gamealition/ticket-master,robrotheram/ticket-master
dcb3912d2f150326df2b9534da92bffb4609be2d
src/main/java/org/openlmis/fulfillment/domain/ExternalStatus.java
src/main/java/org/openlmis/fulfillment/domain/ExternalStatus.java
/* * This program is part of the OpenLMIS logistics management information system platform software. * Copyright © 2017 VillageReach * * This program is free software: you can redistribute it and/or modify it under the terms * of the GNU Affero General Public License as published by the Free Software Foundation, e...
/* * This program is part of the OpenLMIS logistics management information system platform software. * Copyright © 2017 VillageReach * * This program is free software: you can redistribute it and/or modify it under the terms * of the GNU Affero General Public License as published by the Free Software Foundation, e...
Add IN_APPROVAL to list of statuses
Add IN_APPROVAL to list of statuses To match requisition statuses.
Java
agpl-3.0
OpenLMIS/openlmis-fulfillment,OpenLMIS/openlmis-fulfillment,OpenLMIS/openlmis-fulfillment,OpenLMIS/openlmis-fulfillment
9b0a14268cd8ce5947cb3cf0144cefb1c0e0616c
notification/src/main/java/org/killbill/billing/notification/plugin/api/ExtBusEventType.java
notification/src/main/java/org/killbill/billing/notification/plugin/api/ExtBusEventType.java
/* * Copyright 2010-2013 Ning, Inc. * * Ning licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright 2010-2013 Ning, Inc. * * Ning licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Add new event type for INVOICE_NOTIFICATION
Add new event type for INVOICE_NOTIFICATION
Java
apache-2.0
killbill/killbill-plugin-api,killbill/killbill-plugin-api
580955450e54c8fe46185b357f3c48d701dd53de
Android/Shopr/src/main/java/com/uwetrottmann/shopr/model/Item.java
Android/Shopr/src/main/java/com/uwetrottmann/shopr/model/Item.java
package com.uwetrottmann.shopr.model; import java.math.BigDecimal; public class Item { private int id; private String name; private String picture; private String label; private BigDecimal price; private int shop_id; public int id() { return id; } public Item id(int id)...
package com.uwetrottmann.shopr.model; import java.math.BigDecimal; public class Item { private int id; private String name; private String picture; private String label; private String color; private String type; private BigDecimal price; private int shop_id; public int id() { ...
Update Shopr item model to include simple color and type property.
Update Shopr item model to include simple color and type property.
Java
apache-2.0
UweTrottmann/Shopr,adiguzel/Shopr
f77420a176c67e8117f316cb0a1e2a3871189b70
app/src/androidTest/java/de/christinecoenen/code/zapp/app/mediathek/ui/detail/MediathekPlayerActivityTest.java
app/src/androidTest/java/de/christinecoenen/code/zapp/app/mediathek/ui/detail/MediathekPlayerActivityTest.java
package de.christinecoenen.code.zapp.app.mediathek.ui.detail; import android.content.Context; import android.content.Intent; import android.content.pm.ActivityInfo; import androidx.test.core.app.ActivityScenario; import androidx.test.ext.junit.runners.AndroidJUnit4; import androidx.test.platform.app.InstrumentationRe...
package de.christinecoenen.code.zapp.app.mediathek.ui.detail; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.pm.ActivityInfo; import androidx.test.core.app.ActivityScenario; import androidx.test.ext.junit.runners.AndroidJUnit4; import androidx.test.p...
Fix ui test with compiler error
Fix ui test with compiler error
Java
mit
cemrich/zapp
b8b7337dd3feaa0138c99fccf201938ab40c1618
projects/OG-Engine/src/main/java/com/opengamma/engine/marketdata/manipulator/MarketDataPointNodeExtractor.java
projects/OG-Engine/src/main/java/com/opengamma/engine/marketdata/manipulator/MarketDataPointNodeExtractor.java
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.engine.marketdata.manipulator; import com.opengamma.engine.value.ValueSpecification; import com.opengamma.id.ExternalId; /** * Extracts the structure id for ...
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.engine.marketdata.manipulator; import com.opengamma.core.value.MarketDataRequirementNames; import com.opengamma.engine.value.ValueSpecification; import com.ope...
Make market data point shifts work with snapshots
[PLAT-4656] Make market data point shifts work with snapshots
Java
apache-2.0
McLeodMoores/starling,jeorme/OG-Platform,nssales/OG-Platform,jeorme/OG-Platform,ChinaQuants/OG-Platform,nssales/OG-Platform,jerome79/OG-Platform,codeaudit/OG-Platform,jerome79/OG-Platform,codeaudit/OG-Platform,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,DevStreet/FinanceAnalytics,jeorme/OG-Platform,ChinaQuants/OG-...
4a0592e81d18a9b966297bb4c9fdb4c5d198897d
src/gcj/org/apache/lucene/index/GCJSegmentReader.java
src/gcj/org/apache/lucene/index/GCJSegmentReader.java
package org.apache.lucene.index; /** * Copyright 2004 The Apache Software Foundation * * 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 org.apache.lucene.index; /** * Copyright 2004 The Apache Software Foundation * * 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...
Check the type of the IndexInput rather than the Directory to detect native implementation. This is a simpler and more correct test. It also permits the Directory to return a mixture of native and non-native IndexInput implementations.
Check the type of the IndexInput rather than the Directory to detect native implementation. This is a simpler and more correct test. It also permits the Directory to return a mixture of native and non-native IndexInput implementations. git-svn-id: 4c5078813df38efa56971a28e09a55254294f104@150604 13f79535-47bb-0310-9...
Java
apache-2.0
adichad/lucene-new,adichad/lucene,adichad/lucene,adichad/lucene-new,adichad/lucene,adichad/lucene-new,tokee/lucene,tokee/lucene,adichad/lucene,adichad/lucene,tokee/lucene,tokee/lucene,adichad/lucene-new,adichad/lucene-new
7f39dceb424cdb95d9847da00e302b7cdf63a1e1
src/lama/tablegen/sqlite3/SQLite3DeleteGenerator.java
src/lama/tablegen/sqlite3/SQLite3DeleteGenerator.java
package lama.tablegen.sqlite3; import java.sql.Connection; import java.sql.Statement; import lama.Randomly; import lama.Main.ReduceMeException; import lama.Main.StateToReproduce; import lama.schema.Schema.Table; import lama.sqlite3.SQLite3Visitor; public class SQLite3DeleteGenerator { public static void deleteCont...
package lama.tablegen.sqlite3; import java.sql.Connection; import java.sql.Statement; import lama.Randomly; import lama.Main.ReduceMeException; import lama.Main.StateToReproduce; import lama.schema.Schema.Table; import lama.sqlite3.SQLite3Visitor; public class SQLite3DeleteGenerator { public static void deleteCont...
Check for additional errors when deleting rows
Check for additional errors when deleting rows
Java
mit
sqlancer/sqlancer,sqlancer/sqlancer
f09e7c2e213bad9805bb42a784c6ecca03deace6
rest-common/src/test/java/uk/ac/ebi/quickgo/rest/TestUtil.java
rest-common/src/test/java/uk/ac/ebi/quickgo/rest/TestUtil.java
package uk.ac.ebi.quickgo.rest; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.Set; import java.util.stream.Collectors; import java.util.stream.Stream; /** * Created by rantunes on 29/11/15. */ public class TestUtil { public static <T> Set<T> asSet(T... elements...
package uk.ac.ebi.quickgo.rest; import java.util.*; import java.util.stream.Collectors; import java.util.stream.Stream; /** * Created by rantunes on 29/11/15. */ public class TestUtil { public static <T> Set<T> asSet(T... elements) { return new LinkedHashSet<>(Arrays.asList(elements)); } public...
Change internal storage of asSet() from HashSet to LinkedHasSet to preserve the order. This is just for testing purposes.
Change internal storage of asSet() from HashSet to LinkedHasSet to preserve the order. This is just for testing purposes.
Java
apache-2.0
ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE
0ee2896784de56fa7f50977f03db564f20e0bb27
src/main/java/ivorius/ivtoolkit/network/IvNetworkHelperClient.java
src/main/java/ivorius/ivtoolkit/network/IvNetworkHelperClient.java
/* * Copyright 2014 Lukas Tenbrink * * 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...
/* * Copyright 2014 Lukas Tenbrink * * 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...
Rename sendTileEntityUpdatePacket to something more fitting
Rename sendTileEntityUpdatePacket to something more fitting
Java
mit
Ivorforce/IvToolkit
cd741e89e7300cc9d3bba79760662a37811a3276
src/jp/itohiro/intellij/sample/SearchWindow.java
src/jp/itohiro/intellij/sample/SearchWindow.java
package jp.itohiro.intellij.sample; import com.intellij.openapi.project.Project; import com.intellij.openapi.wm.ToolWindow; import com.intellij.openapi.wm.ToolWindowFactory; import javax.swing.*; public class SearchWindow implements ToolWindowFactory{ private JTextField textField1; private JLabel searchLabel...
package jp.itohiro.intellij.sample; import com.intellij.openapi.project.Project; import com.intellij.openapi.wm.ToolWindow; import com.intellij.openapi.wm.ToolWindowFactory; import javax.swing.*; import javax.swing.table.DefaultTableModel; import java.awt.event.KeyAdapter; import java.awt.event.KeyEvent; public clas...
Add key listener in search box and invoke dummy search method
Add key listener in search box and invoke dummy search method
Java
mit
itohiro73/intellij-plugin-playground,itohiro73/search-it,itohiro73/search-it,itohiro73/intellij-plugin-playground
44bd02d61d3134dabb925b73292e9e8088c1a95e
core/src/main/java/arez/package-info.java
core/src/main/java/arez/package-info.java
/** * Core Arez primitives. */ @OmitPattern( type = "^.*\\.Arez_.*$", symbol = "^toString$", unless = "arez.enable_names" ) @OmitPattern( type = "^.*(\\.|_)Arez_[^\\.]Repository$", symbol = "^getRepositoryName$", unless = "arez.enable_names" ) // No repository should have equals defined @OmitPattern( type = "^.*(\\.|...
/** * Core Arez primitives. */ @OmitPattern( type = "^.*\\.Arez_[^\\.]+$", symbol = "^toString$", unless = "arez.enable_names" ) @OmitPattern( type = "^.*(\\.|_)Arez_[^\\.]+Repository$", symbol = "^getRepositoryName$", unless = "arez.enable_names" ) // No repository should have equals defined @OmitPattern( type = "^....
Correct the patterns to match symbols appropriately
Correct the patterns to match symbols appropriately
Java
apache-2.0
realityforge/arez,realityforge/arez,realityforge/arez
6c30e96cae58f0c61f78ae7386f9640daf18e0dd
app/src/main/java/com/samourai/wallet/bip47/SendNotifTxFactory.java
app/src/main/java/com/samourai/wallet/bip47/SendNotifTxFactory.java
package com.samourai.wallet.bip47; import com.samourai.wallet.SamouraiWallet; import java.math.BigInteger; public class SendNotifTxFactory { public static final BigInteger _bNotifTxValue = SamouraiWallet.bDust; public static final BigInteger _bSWFee = SamouraiWallet.bFee; // public static final BigIntege...
package com.samourai.wallet.bip47; import android.util.Log; import com.samourai.wallet.SamouraiWallet; import java.math.BigInteger; public class SendNotifTxFactory { public static final BigInteger _bNotifTxValue = SamouraiWallet.bDust; public static final BigInteger _bSWFee = SamouraiWallet.bFee; // pub...
Allow BIP47 custom fee address option
Allow BIP47 custom fee address option
Java
unlicense
Samourai-Wallet/samourai-wallet-android
860e6a96905d6f9676ab6e88b9ebbeed69125a5a
service-authentication/src/main/java/sg/ncl/service/authentication/data/jpa/repositories/CredentialsRepository.java
service-authentication/src/main/java/sg/ncl/service/authentication/data/jpa/repositories/CredentialsRepository.java
package sg.ncl.service.authentication.data.jpa.repositories; import org.springframework.data.jpa.repository.JpaRepository; import sg.ncl.service.authentication.data.jpa.entities.CredentialsEntity; /** * @author Christopher Zhong */ public interface CredentialsRepository extends JpaRepository<CredentialsEntity, Long...
package sg.ncl.service.authentication.data.jpa.repositories; import org.springframework.data.jpa.repository.JpaRepository; import sg.ncl.service.authentication.data.jpa.entities.CredentialsEntity; import sg.ncl.service.authentication.domain.CredentialsStatus; import java.util.List; /** * @author Christopher Zhong ...
Add ability to return a list of credentials based on status (DEV-99)
Add ability to return a list of credentials based on status (DEV-99)
Java
apache-2.0
nus-ncl/services-in-one,nus-ncl/services-in-one
2b2ea5bab42158d7f06d5339ceaedce6d1cf2c2f
tests/de.tudresden.slr.latexexport.tests/src/de/tudresden/slr/latexexport/latexgeneration/SlrLatexGeneratorTest.java
tests/de.tudresden.slr.latexexport.tests/src/de/tudresden/slr/latexexport/latexgeneration/SlrLatexGeneratorTest.java
package de.tudresden.slr.latexexport.latexgeneration; import static org.junit.Assert.assertEquals; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; public class SlrLatexGeneratorTest { ...
package de.tudresden.slr.latexexport.latexgeneration; import static org.junit.Assert.assertEquals; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import org.junit.Rule; import org.junit.Test; import org.junit.rules.TemporaryFolder; public class SlrLatexGeneratorTest { ...
Fix SlrLatexGenerator test for non CRLF-systems
Fix SlrLatexGenerator test for non CRLF-systems
Java
epl-1.0
sebastiangoetz/slr-toolkit,sebastiangoetz/slr-toolkit,sebastiangoetz/slr-toolkit,sebastiangoetz/slr-toolkit
9614559a4c0ad9b63f0b1f357a9f2e6d8ea90c80
imagepipeline/src/main/java/com/facebook/imagepipeline/memory/DefaultSharedByteArrayParams.java
imagepipeline/src/main/java/com/facebook/imagepipeline/memory/DefaultSharedByteArrayParams.java
/* * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com...
/* * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com...
Add buckets to the byte array params.
Add buckets to the byte array params.
Java
bsd-3-clause
Spring-Xu/fresco,iordachiv/fresco,iordachiv/fresco,lovecc0923/fresco,supriyantomaftuh/fresco,zzhopen/fresco,yunfengsa/fresco,matthew-ZH/fresco,karl1992/fresco,wangkr/fresco,cjpx00008/fresco,lovecc0923/fresco,dreamer0924/fresco,MarkMjw/fresco,xiaobinji/fresco,ZhaoYukai/fresco,robertxiaohui/fresco,sylsi/fresco,RobertsCho...
0dc63a9de8e3de0d24de0bb4d8cbdbd26a8fde58
src/edu/mit/anonauth/SecretBoxTest.java
src/edu/mit/anonauth/SecretBoxTest.java
package edu.mit.anonauth; import static org.junit.Assert.*; import java.math.BigInteger; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.junit.Test; public class SecretBoxTest extends SecretBox { public Point sample(BigInteger x) { throw new UnsupportedOperationException(...
package edu.mit.anonauth; import static org.junit.Assert.*; import java.math.BigInteger; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.junit.Test; public class SecretBoxTest extends SecretBox { public Point sample(BigInteger x) { throw new UnsupportedOperationException(...
Add tests to guarantee hash lengths
Add tests to guarantee hash lengths
Java
mit
anon-auth/libanonauth
3fec01b265528b6fb22468470ea6e204ddc94406
plugin/src/main/java/org/eobjects/build/AbstractDotnetTestMojo.java
plugin/src/main/java/org/eobjects/build/AbstractDotnetTestMojo.java
package org.eobjects.build; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import org.apache.maven.plugin.MojoFailureException; import org.apache.maven.plugins.annotations.Parameter; public abstract class AbstractDotnetTestMojo extends AbstractDotnetMojo { @Parameter(property = "dotne...
package org.eobjects.build; import java.io.File; import java.util.ArrayList; import java.util.Arrays; import org.apache.maven.plugin.MojoFailureException; import org.apache.maven.plugins.annotations.Parameter; public abstract class AbstractDotnetTestMojo extends AbstractDotnetMojo { @Parameter(property = "dotne...
Replace boolean "forcexunit" with string "test-command"
Replace boolean "forcexunit" with string "test-command"
Java
apache-2.0
kaspersorensen/dotnet-maven-plugin,kaspersorensen/dotnet-maven-plugin
df40afda6c8fcb91cd57f64a3a956be71c7bcbe3
extensions/apache-httpclient/deployment/src/main/java/io/quarkus/apache/http/client/deployment/ApacheHttpClientProcessor.java
extensions/apache-httpclient/deployment/src/main/java/io/quarkus/apache/http/client/deployment/ApacheHttpClientProcessor.java
package io.quarkus.apache.http.client.deployment; import io.quarkus.deployment.annotations.BuildProducer; import io.quarkus.deployment.annotations.BuildStep; import io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem; class ApacheHttpClientProcessor { @BuildStep void runtimeInitializ...
package io.quarkus.apache.http.client.deployment; import io.quarkus.deployment.annotations.BuildProducer; import io.quarkus.deployment.annotations.BuildStep; import io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem; class ApacheHttpClientProcessor { @BuildStep void runtimeInitializ...
Initialize Apache HTTP Client SSLConnectionSocketFactory at runtime
Initialize Apache HTTP Client SSLConnectionSocketFactory at runtime
Java
apache-2.0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
e3be68e3eab2b3b7cf1a4f9d5123891bcfc8d137
src/main/java/fi/gosu/mc/plugins/SleepDemocracy/SleepDemocracy.java
src/main/java/fi/gosu/mc/plugins/SleepDemocracy/SleepDemocracy.java
package fi.gosu.mc.plugins.SleepDemocracy; import org.bukkit.plugin.java.JavaPlugin; /** * Created by Aikain on 7.5.2016. */ public class SleepDemocracy extends JavaPlugin { }
package fi.gosu.mc.plugins.SleepDemocracy; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.event.Listener; import org.bukkit.plugin.java.JavaPlugin; /** * Created by Aikain on 7.5.2016. */ public class SleepDemocracy extends JavaPlugin implements Listener { private ...
Make config loading/saving, add command functionality
Make config loading/saving, add command functionality
Java
mit
Aikain/SleepDemocracy
2f5a20d024ad2e8582f68245e153ceeb574a84f4
pac4j-http/src/main/java/org/pac4j/http/client/BasicAuthClient.java
pac4j-http/src/main/java/org/pac4j/http/client/BasicAuthClient.java
/* Copyright 2012 - 2015 pac4j organization Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed...
/* Copyright 2012 - 2015 pac4j organization 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...
Add deprecated at Javadoc level
Add deprecated at Javadoc level
Java
apache-2.0
topicusonderwijs/pac4j,garpinc/pac4j,zawn/pac4j,yangzilong1986/pac4j,ZionTech/pac4j,liuzhg/pac4j,izerui/pac4j,ganquan0910/pac4j,garpinc/pac4j,robgratz/pac4j,JacobASeverson/pac4j,ganquan0910/pac4j,Kevin2030/pac4j,mmoayyed/pac4j,jayaramsankara/pac4j,jkacer/pac4j,Kevin2030/pac4j,izerui/pac4j,zawn/pac4j,yangzilong1986/pac4...
a8d173b66dd857922f43e113b99859312181637a
src/test/java/nl.orangeflamingo/controller/SongControllerTest.java
src/test/java/nl.orangeflamingo/controller/SongControllerTest.java
package nl.orangeflamingo.controller; import nl.orangeflamingo.domain.Song; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.data.domain.Page; import org.springf...
package nl.orangeflamingo.controller; import nl.orangeflamingo.domain.Song; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.data.domain.Page; import org.springf...
Add test for wildcard search
Add test for wildcard search
Java
mit
rweekers/voornameninliedjes-backend-spring
eebef3243d959880d3a0f7192fa02d3a8a3438fb
activity-palette-api/src/main/java/net/sf/taverna/t2/servicedescriptions/ServiceDescriptionRegistry.java
activity-palette-api/src/main/java/net/sf/taverna/t2/servicedescriptions/ServiceDescriptionRegistry.java
package net.sf.taverna.t2.servicedescriptions; import java.io.File; import java.util.List; import java.util.Set; import net.sf.taverna.t2.lang.observer.Observable; import net.sf.taverna.t2.servicedescriptions.events.ServiceDescriptionRegistryEvent; import net.sf.taverna.t2.workflowmodel.serialization.DeserializationE...
package net.sf.taverna.t2.servicedescriptions; import java.io.File; import java.net.URL; import java.util.List; import java.util.Set; import net.sf.taverna.t2.lang.observer.Observable; import net.sf.taverna.t2.servicedescriptions.events.ServiceDescriptionRegistryEvent; import net.sf.taverna.t2.workflowmodel.serializa...
Fix for T2-674: Hardcoded default locations. Added loading of service descriptions from a URL.
Fix for T2-674: Hardcoded default locations. Added loading of service descriptions from a URL. git-svn-id: 10833e805afea9e5a6509b27c1b8b6924566be5c@10140 bf327186-88b3-11dd-a302-d386e5130c1c
Java
apache-2.0
ThilinaManamgoda/incubator-taverna-workbench,apache/incubator-taverna-workbench,ThilinaManamgoda/incubator-taverna-workbench,apache/incubator-taverna-workbench
f024ef8bfe60d71a488c60062402e75059c18bde
src/main/java/com/beatsbucket/mashub/kitchen/ingredient/Ingred.java
src/main/java/com/beatsbucket/mashub/kitchen/ingredient/Ingred.java
/* * Copyright 2015 The Mashub Project * * The Mashub Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
/* * Copyright 2015 The Mashub Project * * The Mashub Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
Add the loadChannel() abstract function.
Add the loadChannel() abstract function.
Java
apache-2.0
beatsbucket/mashub
134012ed5879c0d13abc9e3316f29ce8f175cf22
src/main/java/se/arbetsformedlingen/venice/probe/ProbeResponse.java
src/main/java/se/arbetsformedlingen/venice/probe/ProbeResponse.java
package se.arbetsformedlingen.venice.probe; import java.util.Objects; public class ProbeResponse { private Host host; private Application application; private Version version; private Status status; ProbeResponse(Application application, Host host, Status status, Version version) { this....
package se.arbetsformedlingen.venice.probe; import java.util.Objects; public class ProbeResponse { private Host host; private Application application; private Version version; private Status status; ProbeResponse(Application application, Host host, Status status, Version version) { this.a...
Allow users to read the host and application
Allow users to read the host and application
Java
apache-2.0
tsundberg/venice,tsundberg/venice,tsundberg/venice,tsundberg/venice
5030da135c5f1556f0075ec89f06c5784151350c
xwiki-commons-core/xwiki-commons-extension/xwiki-platform-extension-repositories/xwiki-platform-extension-repository-aether/src/main/java/org/xwiki/extension/repository/aether/internal/AetherExtensionDependency.java
xwiki-commons-core/xwiki-commons-extension/xwiki-platform-extension-repositories/xwiki-platform-extension-repository-aether/src/main/java/org/xwiki/extension/repository/aether/internal/AetherExtensionDependency.java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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 * th...
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This 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 * th...
Add support for classifier in Maven/Aether repository handler Set proper dependency id
XWIKI-7161: Add support for classifier in Maven/Aether repository handler Set proper dependency id
Java
lgpl-2.1
xwiki/xwiki-commons,xwiki/xwiki-commons
8c9460736f4ead1cd9e713a72beeb29cebcc8842
annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/validation/service/DbCrossReferenceId.java
annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/validation/service/DbCrossReferenceId.java
package uk.ac.ebi.quickgo.annotation.validation.service; import com.google.common.base.Preconditions; import java.util.Objects; /** * Utility methods related to Database Cross Reference ids. * * @author Tony Wardell * Date: 10/11/2016 * Time: 13:41 * Created with IntelliJ IDEA. */ public class DbCrossReference...
package uk.ac.ebi.quickgo.annotation.validation.service; import com.google.common.base.Preconditions; import java.util.Objects; /** * Utility methods related to Database Cross Reference ids. * * @author Tony Wardell * Date: 10/11/2016 * Time: 13:41 * Created with IntelliJ IDEA. */ public class DbCrossReference...
Remove duplication of precondition checks.
Remove duplication of precondition checks.
Java
apache-2.0
ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE
2e05cb12248cd7f37624effffca6721c8b751bfe
src/main/java/de/mineformers/investiture/allomancy/tileentity/TileMetalExtractorSlave.java
src/main/java/de/mineformers/investiture/allomancy/tileentity/TileMetalExtractorSlave.java
package de.mineformers.investiture.allomancy.tileentity; import com.sun.istack.internal.Nullable; import net.minecraft.block.state.IBlockState; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; /** * Stores ...
package de.mineformers.investiture.allomancy.tileentity; import javax.annotation.Nullable; import net.minecraft.block.state.IBlockState; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; /** * Stores the mul...
Fix usage of wrong Nullable annotation
Fix usage of wrong Nullable annotation
Java
mit
PaleoCrafter/Allomancy
dfdd4182c477f0d49fe33d99f339bcd5ed7fb6bd
src/test/java/net/floodlightcontroller/linkdiscovery/internal/TestableLinkStorageImpl.java
src/test/java/net/floodlightcontroller/linkdiscovery/internal/TestableLinkStorageImpl.java
package net.floodlightcontroller.linkdiscovery.internal; import java.util.Set; import com.thinkaurelius.titan.core.TitanGraph; import com.tinkerpop.blueprints.TransactionalGraph.Conclusion; import com.tinkerpop.blueprints.Vertex; /** * Seam that allows me to set up a testable instance of LinkStorageImpl that * wr...
package net.floodlightcontroller.linkdiscovery.internal; import java.util.Set; import com.thinkaurelius.titan.core.TitanGraph; import com.tinkerpop.blueprints.TransactionalGraph.Conclusion; import com.tinkerpop.blueprints.Vertex; /** * Seam that allows me to set up a testable instance of LinkStorageImpl that * wr...
Fix a test case failing to build.
Fix a test case failing to build.
Java
apache-2.0
opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open
cdd5262c4fa072cff505f64c6050394c47d925e3
src/test/java/com/github/nylle/javafixture/InstanceFactoryTest.java
src/test/java/com/github/nylle/javafixture/InstanceFactoryTest.java
package com.github.nylle.javafixture; import com.github.nylle.javafixture.testobjects.TestObjectWithGenericConstructor; import com.github.nylle.javafixture.testobjects.TestObjectWithoutDefaultConstructor; import org.junit.jupiter.api.Test; import java.util.List; import java.util.Optional; import static org.assertj.c...
package com.github.nylle.javafixture; import com.github.nylle.javafixture.testobjects.TestObjectWithGenericConstructor; import org.junit.jupiter.api.Test; import java.util.Optional; import static org.assertj.core.api.Assertions.assertThat; class InstanceFactoryTest { @Test void canCreateInstanceFromConstru...
Fix a compile error introduced by another unfinished feature
JAVAFIXTURE-12: Fix a compile error introduced by another unfinished feature
Java
mit
Nylle/JavaFixture
d0a6f599cb84e2e3200b66aa3901cb5ed789fb54
azure-mgmt-graph-rbac/src/test/java/com/microsoft/azure/management/graphrbac/ServicePrincipalsTests.java
azure-mgmt-graph-rbac/src/test/java/com/microsoft/azure/management/graphrbac/ServicePrincipalsTests.java
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */ package com.microsoft.azure.management.graphrbac; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; import org.junit...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */ package com.microsoft.azure.management.graphrbac; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; import org.junit...
Disable one more graph test
Disable one more graph test
Java
mit
navalev/azure-sdk-for-java,hovsepm/azure-sdk-for-java,martinsawicki/azure-sdk-for-java,martinsawicki/azure-sdk-for-java,jianghaolu/azure-sdk-for-java,selvasingh/azure-sdk-for-java,jianghaolu/azure-sdk-for-java,Azure/azure-sdk-for-java,hovsepm/azure-sdk-for-java,navalev/azure-sdk-for-java,navalev/azure-sdk-for-java,ljhl...
d0ebaa8176a76587dbce91add283ee087267fa08
spring-cloud-dataflow-composed-task-runner/src/test/java/org/springframework/cloud/dataflow/composedtaskrunner/configuration/DataFlowTestConfiguration.java
spring-cloud-dataflow-composed-task-runner/src/test/java/org/springframework/cloud/dataflow/composedtaskrunner/configuration/DataFlowTestConfiguration.java
/* * Copyright 2017-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright 2017-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Disable wavefront for tests that include scdf-core but don't apply the DefaultEnvironmentPostProcessor
Disable wavefront for tests that include scdf-core but don't apply the DefaultEnvironmentPostProcessor
Java
apache-2.0
jvalkeal/spring-cloud-data,spring-cloud/spring-cloud-dataflow,jvalkeal/spring-cloud-dataflow,jvalkeal/spring-cloud-dataflow,jvalkeal/spring-cloud-dataflow,jvalkeal/spring-cloud-dataflow,markpollack/spring-cloud-dataflow,spring-cloud/spring-cloud-dataflow,markpollack/spring-cloud-dataflow,ilayaperumalg/spring-cloud-data...
ecac13f406b31a7e6e71b49a2dacec2680d4baa8
db-index/src/main/java/edu/umass/cs/ciir/waltz/dbindex/DBConfig.java
db-index/src/main/java/edu/umass/cs/ciir/waltz/dbindex/DBConfig.java
package edu.umass.cs.ciir.waltz.dbindex; import java.io.File; /** * @author jfoley */ public class DBConfig { private final String jdbcURL; private final String password; private final String user; public DBConfig(String jdbcURL, String user, String pass) { this.jdbcURL = jdbcURL; this.user = user;...
package edu.umass.cs.ciir.waltz.dbindex; import com.j256.ormlite.jdbc.JdbcConnectionSource; import com.j256.ormlite.support.ConnectionSource; import java.io.File; import java.sql.SQLException; /** * @author jfoley */ public class DBConfig { private final String jdbcURL; private final String password; private...
Add connection source function for using this for other purposes
Add connection source function for using this for other purposes
Java
bsd-3-clause
jjfiv/waltz
d6d656ae00418edab0a1f86b46997b3cce316731
moho-api/src/main/java/com/voxeo/moho/media/input/SignalGrammar.java
moho-api/src/main/java/com/voxeo/moho/media/input/SignalGrammar.java
package com.voxeo.moho.media.input; public class SignalGrammar extends Grammar { public enum Signal { FAX_CED, FAX_CNG, BEEP, RING, SIT, MODEM, OFFHOOK; public static Signal parse(String value) { if ("beep".equalsIgnoreCase(value)) { return BEEP; } if ("modem".equalsIgnoreCase(val...
package com.voxeo.moho.media.input; public class SignalGrammar extends Grammar { public enum Signal { FAX_CED, FAX_CNG, BEEP, RING, SIT, MODEM, OFFHOOK; public static Signal parse(String value) { if ("beep".equalsIgnoreCase(value)) { return BEEP; } if ("modem".equalsIgnoreCase(val...
Fix the werid parse by overriding toString method
MOHO-15: Fix the werid parse by overriding toString method
Java
apache-2.0
voxeolabs/moho,voxeolabs/moho
1ee1499dbfbb61cf6c9dc63098d1c94134936699
src/main/java/net/brutus5000/bireus/service/NotificationService.java
src/main/java/net/brutus5000/bireus/service/NotificationService.java
package net.brutus5000.bireus.service; import org.jgrapht.GraphPath; import org.jgrapht.graph.DefaultEdge; import java.net.URL; import java.nio.file.Path; public interface NotificationService { void error(String message); void beginCheckoutVersion(String version); void finishCheckoutVersion(String vers...
package net.brutus5000.bireus.service; import org.jgrapht.GraphPath; import org.jgrapht.graph.DefaultEdge; import java.net.URL; import java.nio.file.Path; public interface NotificationService { default void error(String message) { } default void beginCheckoutVersion(String version) { } default ...
Add empty default implementations for notification service
Add empty default implementations for notification service
Java
mit
Brutus5000/BiReUS-JCL
40e048c8203b71d84fa89fe7b351aaa8b9765cdb
spring-cloud-commons/src/main/java/org/springframework/cloud/util/UtilAutoConfiguration.java
spring-cloud-commons/src/main/java/org/springframework/cloud/util/UtilAutoConfiguration.java
package org.springframework.cloud.util; import org.springframework.boot.autoconfigure.AutoConfigureOrder; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.context.properties.E...
package org.springframework.cloud.util; import org.springframework.boot.autoconfigure.AutoConfigureOrder; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.context.properties.E...
Make sure InetUtils.executorService shuts down.
Make sure InetUtils.executorService shuts down. See https://github.com/spring-cloud/spring-cloud-netflix/issues/491
Java
apache-2.0
spring-cloud/spring-cloud-commons
0090ac597789d71a3076e3717a6d9b323cf48e53
core/src/test/java/com/vladmihalcea/book/hpjp/hibernate/criteria/blaze/tab/cte/TabKeyVer.java
core/src/test/java/com/vladmihalcea/book/hpjp/hibernate/criteria/blaze/tab/cte/TabKeyVer.java
package com.vladmihalcea.book.hpjp.hibernate.criteria.blaze.tab.cte; import com.blazebit.persistence.CTE; import javax.persistence.Entity; import javax.persistence.Id; @CTE @Entity public class TabKeyVer { @Id private String tabKey; private Long tabVer; }
package com.vladmihalcea.book.hpjp.hibernate.criteria.blaze.tab.cte; import com.blazebit.persistence.CTE; import javax.persistence.Entity; import javax.persistence.Id; import java.io.Serializable; @CTE @Entity public class TabKeyVer implements Serializable { @Id private String tabKey; @Id private Lon...
Test with 2 @Id mappings for Blaze Persistence JPA Criteria
Test with 2 @Id mappings for Blaze Persistence JPA Criteria
Java
apache-2.0
vladmihalcea/high-performance-java-persistence,vladmihalcea/high-performance-java-persistence
2d9270eaa0043702e9648497285e56bbfbfadf9e
app-utils/src/main/java/com/spiddekauga/android/util/ObjectEvent.java
app-utils/src/main/java/com/spiddekauga/android/util/ObjectEvent.java
package com.spiddekauga.android.util; /** * Base class for object events. Used for add, edit, and remove actions. */ public abstract class ObjectEvent { private final Actions mAction; protected ObjectEvent(Actions action) { mAction = action; } /** * Get the action to take on the object event * @return the actio...
package com.spiddekauga.android.util; import java.util.ArrayList; import java.util.List; /** * Base class for object events. Used for add, edit, and remove actions. */ public abstract class ObjectEvent<ObjectType> { private final Actions mAction; private final List<ObjectType> mObjects = new ArrayList<>(); protect...
Add ability to store items in the Object
Add ability to store items in the Object
Java
mit
Spiddekauga/android-utils
a2639311995aa4e721a3cdfa4a923d631985e860
node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeadmin/ConvergenceException.java
node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeadmin/ConvergenceException.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.hosted.node.admin.nodeadmin; @SuppressWarnings("serial") public class ConvergenceException extends RuntimeException { public ConvergenceException(String message) { ...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.node.admin.nodeadmin; /** * Exception specially handled to avoid dumping full stack trace on convergence failure. * * @author hakonhall */ @SuppressWarnings("serial"...
Add constructor for feature parity
Add constructor for feature parity
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
8358ef6c4f950b994f19e84c52ee22fd0405d758
src/uk/co/johnjtaylor/BubbleSort.java
src/uk/co/johnjtaylor/BubbleSort.java
package uk.co.johnjtaylor; /** * A Simple bubblesort class used as an easy base-line for algorithm testing * @author John * @param <T> * */ public class BubbleSort<T extends Comparable<T>> extends Sort { /** * Takes an array of any comparable type and sorts it * @param array The array the be sor...
package uk.co.johnjtaylor; /** * A Simple bubblesort class used as an easy base-line for algorithm testing * @author John * @param <T> * */ public class BubbleSort<T extends Comparable<T>> extends Sort<T> { /** * Takes an array of any comparable type and sorts it * @param array The array the be ...
Update sortArray to return the sorted array
Update sortArray to return the sorted array
Java
mit
YcleptJohn/SortAnalytics
9a44e453d767097afe90189a5ada22884e83b082
jpasecurity-spring/src/main/java/net/sf/jpasecurity/spring/eclipselink/JpaSecurityEclipseLinkJpaDialect.java
jpasecurity-spring/src/main/java/net/sf/jpasecurity/spring/eclipselink/JpaSecurityEclipseLinkJpaDialect.java
package net.sf.jpasecurity.spring.eclipselink; import javax.persistence.EntityManager; import net.sf.jpasecurity.persistence.DefaultSecureEntityManager; import org.eclipse.persistence.sessions.Session; import org.springframework.orm.jpa.vendor.EclipseLinkJpaDialect; public class JpaSecurityEclipseLinkJpaDialect ext...
/* * Copyright 2013 Stefan Hildebrandt * * 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 agr...
Fix Spring Problem with JpaDialect und session retrivval in eclipselink
Fix Spring Problem with JpaDialect und session retrivval in eclipselink
Java
apache-2.0
ArneLimburg/jpasecurity,ArneLimburg/jpasecurity
05a883327717ae332f2841a62bbd539157f1c39f
src/main/java/com/enderio/core/common/transform/EnderCorePlugin.java
src/main/java/com/enderio/core/common/transform/EnderCorePlugin.java
package com.enderio.core.common.transform; import java.util.Map; import cpw.mods.fml.relauncher.IFMLLoadingPlugin; import cpw.mods.fml.relauncher.IFMLLoadingPlugin.MCVersion; @SuppressWarnings("unused") @MCVersion("1.7.10") @IFMLLoadingPlugin.SortingIndex(Integer.MAX_VALUE) // we want deobf no matter what public cla...
package com.enderio.core.common.transform; import java.util.Map; import cpw.mods.fml.relauncher.IFMLLoadingPlugin; import cpw.mods.fml.relauncher.IFMLLoadingPlugin.MCVersion; @SuppressWarnings("unused") @MCVersion("1.7.10") @IFMLLoadingPlugin.SortingIndex(Integer.MAX_VALUE) // we want deobf no matter what public cla...
Fix core plugin using incorrect class names
Fix core plugin using incorrect class names
Java
cc0-1.0
HenryLoenwind/EnderCore,SleepyTrousers/EnderCore,Adaptivity/EnderCore,minecreatr/EnderCore
22d04fb9c6d15770edd56813123937510ae12654
app/src/debug/java/com/github/ayltai/newspaper/BaseActivity.java
app/src/debug/java/com/github/ayltai/newspaper/BaseActivity.java
package com.github.ayltai.newspaper; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import com.github.ayltai.newspaper.util.TestUtils; import jp.wasabeef.takt.Seat; import jp.wasabeef.takt.Takt; public abstract cl...
package com.github.ayltai.newspaper; import android.graphics.Color; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v7.app.AppCompatActivity; import com.github.ayltai.newspaper.util.TestUtils; import jp.wasabeef.takt.Seat; import jp.wasabeef.takt.Takt; public abstract cl...
Handle Activity life-cycle properly to recreate Takt
Handle Activity life-cycle properly to recreate Takt
Java
apache-2.0
ayltai/Newspaper
4156c5cfe0337169835050028f8b2391e61f8496
src/viewmodel/src/org/helioviewer/viewmodel/imagedata/ImageData.java
src/viewmodel/src/org/helioviewer/viewmodel/imagedata/ImageData.java
package org.helioviewer.viewmodel.imagedata; import org.helioviewer.viewmodel.imageformat.ImageFormat; import org.helioviewer.viewmodel.imagetransport.ImageTransport; /** * Basic representation of an image handled by the view chain. * * <p> * Within the view chain, the image data is given from view to view as an...
package org.helioviewer.viewmodel.imagedata; import org.helioviewer.viewmodel.imageformat.ImageFormat; import org.helioviewer.viewmodel.imagetransport.ImageTransport; /** * Basic representation of an image handled by the view chain. * * <p> * Within the view chain, the image data is given from view to view as an...
Make the image data date aware
Make the image data date aware git-svn-id: 4e353c0944fe8da334633afc35765ef362dec675@959 b4e469a2-07ce-4b26-9273-4d7d95a670c7
Java
mpl-2.0
Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV
fad05f1e3814c65feccb1f40ee4d4408a7c40709
src/cafe/image/tiff/AbstractRationalField.java
src/cafe/image/tiff/AbstractRationalField.java
/** * Copyright (c) 2014 by Wen Yu. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Any modifications to this file...
/** * Copyright (c) 2014 by Wen Yu. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Any modifications to this file...
Allow to call getDataAsLong for Rational type field
Allow to call getDataAsLong for Rational type field
Java
epl-1.0
dragon66/icafe,dragon66/icafe,dragon66/icafe,nagyistoce/icafe
75cb98c88859d38eeec10121fdaee1ff9e4be18b
src/main/java/normalization/Normalization.java
src/main/java/normalization/Normalization.java
/** * */ package normalization; import datastructures.AttributeJoint; import datastructures.DFJoint; import dependency.ADependency; import dependency.FunctionalDependency; /** * @author Pavel Nichita * */ public final class Normalization { /** * Calculates all attributes that are being implied by ...
/** * */ package normalization; import datastructures.AttributeJoint; import datastructures.DFJoint; import dependency.ADependency; import dependency.FunctionalDependency; /** * @author Pavel Nichita * */ public final class Normalization { private Normalization() { // Private constructor to hid...
Fix SonarQube issues: not all of them.
Fix SonarQube issues: not all of them.
Java
mpl-2.0
nichitapavel/project
b337bf3e8ebd253142f6548d69b840fb10d76172
serversaturday-sponge/src/main/java/com/campmongoose/serversaturday/sponge/command/SSCommand.java
serversaturday-sponge/src/main/java/com/campmongoose/serversaturday/sponge/command/SSCommand.java
package com.campmongoose.serversaturday.sponge.command; import com.campmongoose.serversaturday.common.Reference; import com.campmongoose.serversaturday.sponge.SpongeServerSaturday; import javax.annotation.Nonnull; import org.spongepowered.api.Sponge; import org.spongepowered.api.command.CommandException; import org.sp...
package com.campmongoose.serversaturday.sponge.command; import com.campmongoose.serversaturday.common.Reference; import com.campmongoose.serversaturday.sponge.SpongeServerSaturday; import javax.annotation.Nonnull; import org.spongepowered.api.Sponge; import org.spongepowered.api.command.CommandCallable; import org.spo...
Fix built in help command.
Fix built in help command.
Java
mit
Musician101/ServerSaturday
51e39a364b6b3bd161d0baa6f228b65f7bcce3d7
dbsnp-import/src/main/java/uk/ac/ebi/eva/server/Application.java
dbsnp-import/src/main/java/uk/ac/ebi/eva/server/Application.java
/* * Copyright 2017 EMBL - European Bioinformatics Institute * * 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 a...
/* * Copyright 2017 EMBL - European Bioinformatics Institute * * 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 a...
Support for WAR deployment in Tomcat
Support for WAR deployment in Tomcat
Java
apache-2.0
EBIvariation/eva-ws,EBIvariation/eva-ws,EBIvariation/eva
51455a23f431b493e51833ef35962bfe0d40c9e6
src/com/kduda/battleships/models/board/Cell.java
src/com/kduda/battleships/models/board/Cell.java
package com.kduda.battleships.models.board; import com.kduda.battleships.models.units.Unit; import javafx.scene.paint.Color; import javafx.scene.shape.Rectangle; public class Cell extends Rectangle { public final Position POSITION; public final CellType TYPE; private final Board BOARD; public Unit un...
package com.kduda.battleships.models.board; import com.kduda.battleships.models.units.Unit; import javafx.scene.paint.Color; import javafx.scene.shape.Rectangle; public class Cell extends Rectangle { public final Position POSITION; public final CellType TYPE; private final Board BOARD; public boolean...
Add getter and setters for unit field
Add getter and setters for unit field
Java
mit
KamilDuda01/battleships-game,KamilDuda01/Battleships
be9027d8394b73689fdf096af03fcf52d85d7c28
android/src/main/java/com/github/droibit/android/reactnative/customtabs/CustomTabsPackage.java
android/src/main/java/com/github/droibit/android/reactnative/customtabs/CustomTabsPackage.java
package com.github.droibit.android.reactnative.customtabs; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.ut...
package com.github.droibit.android.reactnative.customtabs; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.ut...
Remove createJSModules @override - RN 0.47 compatibility
Remove createJSModules @override - RN 0.47 compatibility
Java
apache-2.0
droibit/react-native-custom-tabs,droibit/react-native-custom-tabs,droibit/react-native-custom-tabs,droibit/react-native-custom-tabs
69ed3b02102fb019947532c45951282511517525
android/src/main/java/com/facebook/flipper/plugins/databases/impl/DefaultSqliteDatabaseProvider.java
android/src/main/java/com/facebook/flipper/plugins/databases/impl/DefaultSqliteDatabaseProvider.java
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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.flipper.plugins.databases.impl; import android.content.Context; import java.io.File; import java.util.ArrayLi...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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.flipper.plugins.databases.impl; import android.content.Context; import java.io.File; import java.util.ArrayLi...
Add databases under /files to the list of databases visible by default in Flipper Database Plugin
Add databases under /files to the list of databases visible by default in Flipper Database Plugin Summary: Traverse recursively the /files directory and show all databases with .db extension in Flipper. Traversal depth is limited to 5 by default for performance reasons. Reviewed By: mweststrate Differential Revision...
Java
mit
facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper,facebook/flipper
5d47deca416bdec32eefd52c63c8fab64bbf7807
http/org.wso2.carbon.transport.http.netty/src/test/java/org/wso2/carbon/transport/http/netty/util/server/ServerThread.java
http/org.wso2.carbon.transport.http.netty/src/test/java/org/wso2/carbon/transport/http/netty/util/server/ServerThread.java
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache....
Change the wrong license headers
Change the wrong license headers
Java
apache-2.0
wggihan/carbon-transports,chanakaudaya/carbon-transports,shafreenAnfar/carbon-transports,wso2/carbon-transports
47ccce2e14786e1d692271b4dee6bfab80bad253
modules/event-logging/src/main/java/org/motechproject/eventlogging/service/EventLogService.java
modules/event-logging/src/main/java/org/motechproject/eventlogging/service/EventLogService.java
package org.motechproject.eventlogging.service; import org.motechproject.eventlogging.domain.EventLog; import org.motechproject.mds.annotations.Lookup; import org.motechproject.mds.service.MotechDataService; import java.util.List; /** * Motech Data Service interface for {@link EventLog}s. The implementation is gene...
package org.motechproject.eventlogging.service; import org.motechproject.eventlogging.domain.EventLog; import org.motechproject.mds.annotations.Lookup; import org.motechproject.mds.annotations.LookupField; import org.motechproject.mds.service.MotechDataService; import java.util.List; /** * Motech Data Service inter...
Support for collection fields in lookups
MOTECH-1040: Support for collection fields in lookups This commit adds support for collection fields in lookups. For now there will be possible to create a lookup that will find instances for which passed value will be inside collection field. For example assume that there is a User class with roles field that have j...
Java
bsd-3-clause
justin-hayes/modules,ScottKimball/modules,frankhuster/modules,smalecki/modules,ngraczewski/modules,tstalka/modules,pmuchowski/modules,atish160384/modules,1stmateusz/modules,frankhuster/modules,atish160384/modules,koshalt/modules,LukSkarDev/modules,ScottKimball/modules,shubhambeehyv/modules,martokarski/modules,frankhust...
a449a1c973e22722ed0a350d8a9c5785f6567a31
org.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/services/menus/MenuEnabledTester.java
org.strategoxt.imp.runtime/src/org/strategoxt/imp/runtime/services/menus/MenuEnabledTester.java
package org.strategoxt.imp.runtime.services.menus; import org.eclipse.core.expressions.PropertyTester; import org.eclipse.swt.widgets.Display; /** * @author Oskar van Rest */ public class MenuEnabledTester extends PropertyTester { private int menuIndex = -1; @Override public synchronized boolean test(Object re...
package org.strategoxt.imp.runtime.services.menus; import org.eclipse.core.expressions.PropertyTester; import org.eclipse.swt.widgets.Display; /** * @author Oskar van Rest */ public class MenuEnabledTester extends PropertyTester { private int menuIndex = -1; @Override public synchronized boolean test(Object re...
Fix NPE upon exiting Eclipse coming from the Menus.
Fix NPE upon exiting Eclipse coming from the Menus.
Java
apache-2.0
metaborg/spoofax-eclipse,metaborg/spoofax,metaborg/spoofax,metaborg/spoofax,metaborg/spoofax
84769a8b3ff2bc3cc1034dbf4ad155330bd91fd3
zucchini-ui-backend/src/main/java/io/zucchiniui/backend/support/websocket/WebSocketEnablerBundle.java
zucchini-ui-backend/src/main/java/io/zucchiniui/backend/support/websocket/WebSocketEnablerBundle.java
package io.zucchiniui.backend.support.websocket; import io.dropwizard.Configuration; import io.dropwizard.ConfiguredBundle; import io.dropwizard.setup.Bootstrap; import io.dropwizard.setup.Environment; import org.eclipse.jetty.websocket.jsr356.server.deploy.WebSocketServerContainerInitializer; import org.slf4j.Logger;...
package io.zucchiniui.backend.support.websocket; import io.dropwizard.Configuration; import io.dropwizard.ConfiguredBundle; import io.dropwizard.setup.Bootstrap; import io.dropwizard.setup.Environment; import org.eclipse.jetty.websocket.jsr356.server.deploy.WebSocketServerContainerInitializer; import org.slf4j.Logger;...
Fix use of a deprecated API
Fix use of a deprecated API
Java
mit
pgentile/zucchini-ui,pgentile/zucchini-ui,pgentile/zucchini-ui,pgentile/zucchini-ui,pgentile/zucchini-ui
5286d7b92d22b0d4e126f8d1cf41a89e8e6548d2
tests/src/com/vaadin/tests/components/window/EmbeddedInSubWindow.java
tests/src/com/vaadin/tests/components/window/EmbeddedInSubWindow.java
package com.vaadin.tests.components.window; import com.vaadin.terminal.ThemeResource; import com.vaadin.tests.components.TestBase; import com.vaadin.ui.Embedded; import com.vaadin.ui.Window; public class EmbeddedInSubWindow extends TestBase { @Override protected String getDescription() { return "The ...
package com.vaadin.tests.components.window; import com.vaadin.terminal.ThemeResource; import com.vaadin.tests.components.TestBase; import com.vaadin.ui.Embedded; import com.vaadin.ui.Window; public class EmbeddedInSubWindow extends TestBase { @Override protected String getDescription() { return "The ...
Remove obsolete/unnecessary close listener from a test class.
Remove obsolete/unnecessary close listener from a test class. svn changeset:15712/svn branch:6.5
Java
apache-2.0
jdahlstrom/vaadin.react,sitexa/vaadin,jdahlstrom/vaadin.react,fireflyc/vaadin,peterl1084/framework,Legioth/vaadin,bmitc/vaadin,magi42/vaadin,cbmeeks/vaadin,Flamenco/vaadin,oalles/vaadin,Darsstar/framework,peterl1084/framework,Flamenco/vaadin,oalles/vaadin,carrchang/vaadin,kironapublic/vaadin,oalles/vaadin,asashour/fram...
94c93d1e115bbcb710a26db2cdfe6c7947007a14
src/main/java/com/raoulvdberge/refinedstorage/api/storage/externalstorage/IExternalStorageProvider.java
src/main/java/com/raoulvdberge/refinedstorage/api/storage/externalstorage/IExternalStorageProvider.java
package com.raoulvdberge.refinedstorage.api.storage.externalstorage; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.EnumFacing; import javax.annotation.Nonnull; import java.util.function.Supplier; /** * Provides an external storage handler to the external storage block. * * @param <T> */ p...
package com.raoulvdberge.refinedstorage.api.storage.externalstorage; import net.minecraft.tileentity.TileEntity; import net.minecraft.util.EnumFacing; import javax.annotation.Nonnull; import java.util.function.Supplier; /** * Provides an external storage handler to the external storage block. * * @param <T> */ p...
Clarify something in the docs.
Clarify something in the docs.
Java
mit
way2muchnoise/refinedstorage,raoulvdberge/refinedstorage,way2muchnoise/refinedstorage,raoulvdberge/refinedstorage
52813dbddc5233e0e0667f0b1eada25ca88a2d7e
verita-spring/src/main/java/de/cpg/oss/verita/configuration/event_store/VeritaEventStoreProperties.java
verita-spring/src/main/java/de/cpg/oss/verita/configuration/event_store/VeritaEventStoreProperties.java
package de.cpg.oss.verita.configuration.event_store; import de.cpg.oss.verita.configuration.VeritaProperties; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; @Data @ConfigurationProperties(prefix = VeritaEventStoreProperties.CONFIG_PREFIX, ignoreUnknownFields = true) pu...
package de.cpg.oss.verita.configuration.event_store; import de.cpg.oss.verita.configuration.VeritaProperties; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; @Data @ConfigurationProperties(prefix = VeritaEventStoreProperties.CONFIG_PREFIX, ignoreUnknownFields = true) pu...
Remove final modifier since it prevents overriding properties
Remove final modifier since it prevents overriding properties
Java
mit
CPGFinanceSystems/verita,CPGFinanceSystems/verita
0317f6eb5e86488fef8e1eb8baa009aa5b423ce1
src/main/java/com/oriordank/mapdbserializers/PListEntrySerializer.java
src/main/java/com/oriordank/mapdbserializers/PListEntrySerializer.java
package com.oriordank.mapdbserializers; import org.apache.activemq.store.PListEntry; import org.apache.activemq.util.ByteSequence; import org.mapdb.Serializer; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.io.Serializable; public class PListEntrySerializer implements Se...
package com.oriordank.mapdbserializers; import org.apache.activemq.store.PListEntry; import org.apache.activemq.util.ByteSequence; import org.mapdb.DataInput2; import org.mapdb.DataOutput2; import org.mapdb.Serializer; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; import java.io.Ser...
Use DataIO2 Packed longs and ints
Use DataIO2 Packed longs and ints
Java
apache-2.0
kevinoriordan/activemqmapdbstore
f0ed976786c79e54ce421fe76b27e3d8d22763ec
src/main/java/uk/co/todddavies/website/blog/BlogPostServletModule.java
src/main/java/uk/co/todddavies/website/blog/BlogPostServletModule.java
package uk.co.todddavies.website.blog; import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; import com.google.template.soy.jbcsrc.api.SoySauce; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http....
package uk.co.todddavies.website.blog; import com.google.common.collect.ImmutableMap; import com.google.inject.Inject; import com.google.inject.Singleton; import com.google.template.soy.jbcsrc.api.SoySauce; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http....
Return a 404 response when a blog post isn't found.
Return a 404 response when a blog post isn't found.
Java
apache-2.0
Todd-Davies/appengine-website,Todd-Davies/appengine-website,Todd-Davies/appengine-website
d3fe119875766e39850f25270bb4c44a6d51497c
app/src/main/java/info/zamojski/soft/towercollector/utils/GpsUtils.java
app/src/main/java/info/zamojski/soft/towercollector/utils/GpsUtils.java
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package info.zamojski.soft.towercollector.utils; import android.Manifest; import android.content.Context; import ...
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package info.zamojski.soft.towercollector.utils; import android.Manifest; import android.content.Context; import ...
Check if GPS specifically is enabled for all API versions.
Check if GPS specifically is enabled for all API versions.
Java
mpl-2.0
zamojski/TowerCollector,zamojski/TowerCollector
4a8684ed078fe00933bf1e4a957de3cb587f5fc7
xfire-core/src/main/org/codehaus/xfire/transport/AbstractChannel.java
xfire-core/src/main/org/codehaus/xfire/transport/AbstractChannel.java
package org.codehaus.xfire.transport; import org.codehaus.xfire.MessageContext; import org.codehaus.xfire.exchange.InMessage; public abstract class AbstractChannel implements Channel { private ChannelEndpoint receiver; private Transport transport; private String uri; public String getUri() { ...
package org.codehaus.xfire.transport; import org.codehaus.xfire.MessageContext; import org.codehaus.xfire.exchange.InMessage; public abstract class AbstractChannel implements Channel { private ChannelEndpoint receiver; private Transport transport; private String uri; public String getUri() { ...
Check to make sure the channel isn't set.
Check to make sure the channel isn't set. git-svn-id: 9326b53cbc4a8f4c3d02979b62b178127d5150fe@611 c7d0bf07-ec0d-0410-b2cc-d48fa9be22ba
Java
mit
eduardodaluz/xfire,eduardodaluz/xfire
097b0095025370cedada669227d1307c4debf569
compiler/src/it/producers-functional-tests/src/main/java/producerstest/monitoring/ThreadModule.java
compiler/src/it/producers-functional-tests/src/main/java/producerstest/monitoring/ThreadModule.java
/* * Copyright (C) 2016 The Dagger 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 ag...
/* * Copyright (C) 2016 The Dagger 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 ag...
Fix type error in the producers thread test, which was not a compiler error because Object.
Fix type error in the producers thread test, which was not a compiler error because Object. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=142185290
Java
apache-2.0
google/dagger,dushmis/dagger,google/dagger,ze-pequeno/dagger,ze-pequeno/dagger,ravn/dagger,ronshapiro/dagger,ze-pequeno/dagger,ronshapiro/dagger,cgruber/dagger,google/dagger,ze-pequeno/dagger,hansonchar/dagger,cgruber/dagger,hansonchar/dagger,ronshapiro/dagger,hansonchar/dagger,dushmis/dagger,cgruber/dagger,ravn/dagger...
db9d08ad9eaa0b834c2234fafc3ea1cfbaa36ddd
cosmos/models/mobility/src/main/java/es/tid/cosmos/mobility/activityarea/FusionTotalVarsReducer.java
cosmos/models/mobility/src/main/java/es/tid/cosmos/mobility/activityarea/FusionTotalVarsReducer.java
package es.tid.cosmos.mobility.activityarea; import java.io.IOException; import com.twitter.elephantbird.mapreduce.io.ProtobufWritable; import org.apache.hadoop.mapreduce.Reducer; import es.tid.cosmos.mobility.data.MobProtocol.ActivityArea; import es.tid.cosmos.mobility.data.MobProtocol.ActivityAreaKey; import es.ti...
package es.tid.cosmos.mobility.activityarea; import java.io.IOException; import java.util.List; import java.util.ArrayList; import com.twitter.elephantbird.mapreduce.io.ProtobufWritable; import org.apache.hadoop.mapreduce.Reducer; import es.tid.cosmos.mobility.data.MobProtocol.ActivityArea; import es.tid.cosmos.mobi...
Write fusion Reducer as additions to List
Write fusion Reducer as additions to List
Java
apache-2.0
telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform,telefonicaid/fiware-cosmos-platform
4bbeb53eacf2853e1b8f97f8b8dcadd1521ed258
src/main/java/io/korobi/mongotoelastic/mongo/ChannelIdMemoryCache.java
src/main/java/io/korobi/mongotoelastic/mongo/ChannelIdMemoryCache.java
package io.korobi.mongotoelastic.mongo; import javax.inject.Singleton; import java.util.Map; import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; @Singleton public class ChannelIdMemoryCache implements IChannelIdLookup { public static final int NETWORK_CAPACITY = 10; public static final ...
package io.korobi.mongotoelastic.mongo; import javax.inject.Singleton; import java.util.Map; import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; @Singleton /** * In-memory map of channel object IDs so we don't have to hit Mongo * for every chat in order to look them up. * * Note this instanc...
Add some documentation about expected usage of class
Add some documentation about expected usage of class
Java
mit
korobi/ElasticMangos
2676333ed846cfea09cd93cb956b37c9c175f338
tests/src/com/vaadin/tests/components/datefield/TestDatefieldYear.java
tests/src/com/vaadin/tests/components/datefield/TestDatefieldYear.java
package com.vaadin.tests.components.datefield; import java.util.Date; import com.vaadin.tests.components.TestBase; import com.vaadin.ui.DateField; public class TestDatefieldYear extends TestBase { @Override protected String getDescription() { return "A popup with resolution year or month should upda...
package com.vaadin.tests.components.datefield; import java.util.Date; import java.util.Locale; import com.vaadin.tests.components.TestBase; import com.vaadin.ui.DateField; public class TestDatefieldYear extends TestBase { @Override protected String getDescription() { return "A popup with resolution ...
Fix locale to get consistent results independent of browser locale
Fix locale to get consistent results independent of browser locale svn changeset:13060/svn branch:6.3
Java
apache-2.0
Scarlethue/vaadin,fireflyc/vaadin,Scarlethue/vaadin,bmitc/vaadin,asashour/framework,magi42/vaadin,kironapublic/vaadin,travisfw/vaadin,travisfw/vaadin,Scarlethue/vaadin,jdahlstrom/vaadin.react,shahrzadmn/vaadin,kironapublic/vaadin,Darsstar/framework,oalles/vaadin,peterl1084/framework,fireflyc/vaadin,fireflyc/vaadin,Legi...
611ac0dce521b66daaff200ab78aae635c3c812a
parity-net/src/main/java/org/jvirtanen/parity/net/pmr/PMRException.java
parity-net/src/main/java/org/jvirtanen/parity/net/pmr/PMRException.java
package org.jvirtanen.parity.net.pmr; import org.jvirtanen.parity.net.ProtocolException; public class PMRException extends ProtocolException { public PMRException(String message) { super(message); } }
package org.jvirtanen.parity.net.pmr; import org.jvirtanen.parity.net.ProtocolException; /** * Indicates a protocol error while handling the PMR protocol. */ public class PMRException extends ProtocolException { /** * Construct an instance with the specified detail message. * * @param message th...
Add documentation for PMR exception in network protocols
Add documentation for PMR exception in network protocols
Java
apache-2.0
pmcs/parity,pmcs/parity,paritytrading/parity,paritytrading/parity
c1439db88fd7f0e41bd34e4e0c4c255950071094
src/protocolsupport/protocol/typeremapper/entity/metadata/types/living/horse/LamaEntityMetadataRemapper.java
src/protocolsupport/protocol/typeremapper/entity/metadata/types/living/horse/LamaEntityMetadataRemapper.java
package protocolsupport.protocol.typeremapper.entity.metadata.types.living.horse; import protocolsupport.protocol.typeremapper.entity.metadata.object.value.IndexValueRemapperNoOp; import protocolsupport.protocol.types.networkentity.metadata.NetworkEntityMetadataObjectIndex; import protocolsupport.protocol.utils.Protoc...
package protocolsupport.protocol.typeremapper.entity.metadata.types.living.horse; import protocolsupport.protocol.typeremapper.entity.metadata.object.value.IndexValueRemapperNoOp; import protocolsupport.protocol.types.networkentity.metadata.NetworkEntityMetadataObjectIndex; import protocolsupport.protocol.utils.Protoc...
Fix llama entity metadata remap for 1.14
Fix llama entity metadata remap for 1.14
Java
agpl-3.0
ProtocolSupport/ProtocolSupport
1107f1e1367175f346e0982c21023296f7af90cc
karma-offline/src/main/java/edu/isi/karma/rdf/LoadRDFToTripleStore.java
karma-offline/src/main/java/edu/isi/karma/rdf/LoadRDFToTripleStore.java
package edu.isi.karma.rdf; import java.io.File; import com.uwyn.jhighlight.tools.FileUtils; import edu.isi.karma.er.helper.TripleStoreUtil; import edu.isi.karma.webserver.KarmaException; public class LoadRDFToTripleStore { public static void main(String args[]) throws KarmaException { TripleStoreUtil util = ne...
package edu.isi.karma.rdf; import java.io.File; import com.uwyn.jhighlight.tools.FileUtils; import edu.isi.karma.er.helper.TripleStoreUtil; import edu.isi.karma.webserver.KarmaException; public class LoadRDFToTripleStore { public static void main(String args[]) { TripleStoreUtil util = new TripleStoreUtil(); ...
Save to store skip failed files
Save to store skip failed files
Java
apache-2.0
sylvanmist/Web-Karma,rpiotti/Web-Karma,sylvanmist/Web-Karma,usc-isi-i2/Web-Karma,rpiotti/Web-Karma,rpiotti/Web-Karma,usc-isi-i2/Web-Karma,rpiotti/Web-Karma,usc-isi-i2/Web-Karma,usc-isi-i2/Web-Karma,sylvanmist/Web-Karma,sylvanmist/Web-Karma,rpiotti/Web-Karma,sylvanmist/Web-Karma,usc-isi-i2/Web-Karma