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
e7aca443a1a0597bdb7c69406e1dbefb99df1624
src/main/java/ee/tuleva/onboarding/config/DigiDocConfiguration.java
src/main/java/ee/tuleva/onboarding/config/DigiDocConfiguration.java
package ee.tuleva.onboarding.config; import static org.digidoc4j.Configuration.Mode.PROD; import static org.digidoc4j.Configuration.Mode.TEST; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annota...
package ee.tuleva.onboarding.config; import static org.digidoc4j.Configuration.Mode.PROD; import static org.digidoc4j.Configuration.Mode.TEST; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annota...
Add staging profile to digidoc
Add staging profile to digidoc
Java
mit
TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service
e71a6c633477c10550a6cca070b100d1ac5905e3
subprojects/tooling-api/src/main/java/org/gradle/tooling/events/FailureOutcome.java
subprojects/tooling-api/src/main/java/org/gradle/tooling/events/FailureOutcome.java
/* * Copyright 2015 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 2015 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...
Allow operation failures to be specialized.
Allow operation failures to be specialized.
Java
apache-2.0
gstevey/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,lsmaira/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,lsmaira/gradle,robinverduijn/gradle,lsmaira/gradle,robinverduijn/gradle,lsmaira/gradle,blindpirate/gradle,gstevey/gradle,gradle/grad...
8b2c0ceba47b776f09c57c3fc8f1b3384cceedd0
src/org/bonsaimind/arbitrarylines/lines/LineStyle.java
src/org/bonsaimind/arbitrarylines/lines/LineStyle.java
/* * Copyright (c) 2017 Robert 'Bobby' Zenz * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org.bonsaimi...
/* * Copyright (c) 2017 Robert 'Bobby' Zenz * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html */ package org.bonsaimi...
Modify so that sort order of literals doesn't matter.
Modify so that sort order of literals doesn't matter.
Java
epl-1.0
RobertZenz/ArbitraryLines
433c39cd723992765802a36a4b77fbff6b7600ec
src/free/java/com/antew/redditinpictures/ApplicationModuleFree.java
src/free/java/com/antew/redditinpictures/ApplicationModuleFree.java
package com.antew.redditinpictures; import com.antew.redditinpictures.library.RedditInPicturesApplication; import com.antew.redditinpictures.ui.ImageDetailActivityFree; import com.antew.redditinpictures.ui.ImageGridActivityFree; import com.antew.redditinpictures.ui.ImageGridFragmentFree; import com.antew.redditinpictu...
package com.antew.redditinpictures; import com.antew.redditinpictures.library.RedditInPicturesApplication; import com.antew.redditinpictures.library.ui.ImageDetailFragment; import com.antew.redditinpictures.ui.ImageDetailActivityFree; import com.antew.redditinpictures.ui.ImageGridActivityFree; import com.antew.redditi...
Add missing ImageDetailFragment declaration for dependency injection.
Add missing ImageDetailFragment declaration for dependency injection.
Java
apache-2.0
antew/RedditInPictures
1c909afb1ba410349b2c3a1255e0664ef48847ab
src/main/java/dk/nversion/copybook/converters/IntegerToBoolean.java
src/main/java/dk/nversion/copybook/converters/IntegerToBoolean.java
/* * Copyright (c) 2015. Troels Liebe Bentsen <tlb@nversion.dk> * Licensed under the MIT license (LICENSE.txt) */ package dk.nversion.copybook.converters; import dk.nversion.copybook.exceptions.TypeConverterException; public class IntegerToBoolean extends IntegerToInteger { @Override public void validate...
/* * Copyright (c) 2015. Troels Liebe Bentsen <tlb@nversion.dk> * Licensed under the MIT license (LICENSE.txt) */ package dk.nversion.copybook.converters; import dk.nversion.copybook.exceptions.TypeConverterException; public class IntegerToBoolean extends IntegerToInteger { @Override public void validate...
Handle that we could use the object version of Boolean and it could be null
Handle that we could use the object version of Boolean and it could be null
Java
mit
tlbdk/copybook4java,tlbdk/copybook4java,NordeaOSS/copybook4java,tlbdk/copybook4java,NordeaOSS/copybook4java,NordeaOSS/copybook4java
7e190f6cd54fe5b03607ddda431512b81739ace4
commons/src/main/java/org/eclipse/kapua/commons/jpa/H2JdbcConnectionUrlResolver.java
commons/src/main/java/org/eclipse/kapua/commons/jpa/H2JdbcConnectionUrlResolver.java
/******************************************************************************* * Copyright (c) 2011, 2017 Eurotech and/or its affiliates and others * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this...
/******************************************************************************* * Copyright (c) 2011, 2017 Eurotech and/or its affiliates and others * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this...
Use kapuadb schema by default
Use kapuadb schema by default Signed-off-by: Elbert Evangelista <6a308fc4e2672d8df3711d12a762bf46d651708f@eurotech.com>
Java
epl-1.0
LeoNerdoG/kapua,LeoNerdoG/kapua,stzilli/kapua,stzilli/kapua,stzilli/kapua,LeoNerdoG/kapua,stzilli/kapua,stzilli/kapua,LeoNerdoG/kapua,LeoNerdoG/kapua
0c4d62df6aabb68d10e5d33ad2358eec98939958
src/main/java/voot/oauth/ExternalGroupsQuerier.java
src/main/java/voot/oauth/ExternalGroupsQuerier.java
package voot.oauth; import java.util.Collection; import java.util.List; import java.util.concurrent.ExecutionException; import java.util.concurrent.ForkJoinPool; import java.util.stream.Collectors; import com.google.common.base.Preconditions; import voot.oauth.valueobject.Group; public class ExternalGroupsQuerier {...
package voot.oauth; import java.util.Collection; import java.util.List; import java.util.concurrent.ExecutionException; import java.util.concurrent.ForkJoinPool; import java.util.stream.Collectors; import com.google.common.base.Preconditions; import voot.oauth.valueobject.Group; public class ExternalGroupsQuerier {...
Set the fork-join pool globally to prevent DOS-vulnerability
Set the fork-join pool globally to prevent DOS-vulnerability
Java
apache-2.0
OpenConext/OpenConext-voot
f9530b0dce5163f79bf16055fbec7f4460130424
test/src/org/apache/jmeter/protocol/http/sampler/HTTPNullSampler.java
test/src/org/apache/jmeter/protocol/http/sampler/HTTPNullSampler.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Return a sample result, so can test methods that perform a sample
Return a sample result, so can test methods that perform a sample git-svn-id: https://svn.apache.org/repos/asf/jakarta/jmeter/trunk@907681 13f79535-47bb-0310-9956-ffa450edef68 Former-commit-id: d8d665d37c5505160ac98d296685f055e1255d8e
Java
apache-2.0
apache/jmeter,etnetera/jmeter,ham1/jmeter,apache/jmeter,benbenw/jmeter,apache/jmeter,etnetera/jmeter,apache/jmeter,ham1/jmeter,benbenw/jmeter,etnetera/jmeter,benbenw/jmeter,etnetera/jmeter,etnetera/jmeter,ham1/jmeter,ham1/jmeter,benbenw/jmeter,ham1/jmeter,apache/jmeter
fa8f7e23daee5cd48a59f0a7d172d48779d29e5f
src/main/java/moe/tristan/easyfxml/api/FxmlStylesheet.java
src/main/java/moe/tristan/easyfxml/api/FxmlStylesheet.java
package moe.tristan.easyfxml.api; import moe.tristan.easyfxml.util.Resources; import moe.tristan.easyfxml.util.Stages; import io.vavr.control.Try; import javafx.stage.Stage; import java.net.URI; import java.net.URL; import java.nio.file.Path; /** * Represents a stylesheet a supplier of Path. What this means is tha...
package moe.tristan.easyfxml.api; import moe.tristan.easyfxml.util.Resources; import moe.tristan.easyfxml.util.Stages; import io.vavr.control.Try; import javafx.stage.Stage; import java.net.URI; import java.net.URL; import java.nio.file.Path; /** * Represents a stylesheet a supplier of Path. What this means is tha...
Add a constant for default JavaFX style (Modena at this time) for FXMLStylesheet
Add a constant for default JavaFX style (Modena at this time) for FXMLStylesheet
Java
apache-2.0
Tristan971/EasyFXML,Tristan971/EasyFXML
57513dfa0a7503a506751cc07826d16fc134b3f5
src/de.sormuras.bach/test/java/de/sormuras/bach/execution/BuildTaskGeneratorTests.java
src/de.sormuras.bach/test/java/de/sormuras/bach/execution/BuildTaskGeneratorTests.java
/* * Bach - Java Shell Builder * Copyright (C) 2020 Christian Stein * * 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 re...
/* * Bach - Java Shell Builder * Copyright (C) 2020 Christian Stein * * 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 re...
Check generated build program is compilable
Check generated build program is compilable
Java
mit
sormuras/bach,sormuras/bach
2bf7a5ae804e1aaaec6c7b74155c5fa7bc0977a6
web/src/main/java/org/springframework/security/web/csrf/MissingCsrfTokenException.java
web/src/main/java/org/springframework/security/web/csrf/MissingCsrfTokenException.java
/* * Copyright 2002-2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright 2002-2021 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...
Improve log message when no CSRF token found
Improve log message when no CSRF token found Closes gh-10436
Java
apache-2.0
spring-projects/spring-security,spring-projects/spring-security,spring-projects/spring-security,spring-projects/spring-security,spring-projects/spring-security,spring-projects/spring-security,spring-projects/spring-security
308b53a0756c8f1f775d5a59669facb2b5ffb577
MusterCull/src/com/untamedears/mustercull/CullType.java
MusterCull/src/com/untamedears/mustercull/CullType.java
package com.untamedears.mustercull; /** * The method used to cull the mobs * @author Celdecea */ enum CullType { /** * Uses Bukkit events to deny a spawn. */ SPAWN, /** * Uses Bukkit events to prevent a spawner from operating. */ SPAWNER, /** * Uses damage on mobs in crowded ch...
package com.untamedears.mustercull; /** * The method used to cull the mobs * @author Celdecea */ enum CullType { /** * Uses Bukkit events to deny a spawn. */ SPAWN, /** * Uses Bukkit events to prevent a spawner from operating. */ SPAWNER, /** * Uses damage on mobs in crowded ch...
Comment fix and removed trim() because it is really not this method's job.
Comment fix and removed trim() because it is really not this method's job.
Java
bsd-3-clause
ProgrammerDan/MusterCull,Civcraft/MusterCull,BlackXnt/MusterCull
36c43be6f365107373e93138c189b17274916269
src/main/java/org/hummingbirdlang/types/ClassType.java
src/main/java/org/hummingbirdlang/types/ClassType.java
package org.hummingbirdlang.types; public class ClassType extends CompositeType { private Type superClass; }
package org.hummingbirdlang.types; public class ClassType extends CompositeType { private String name; private Type superClass; public ClassType(String name, Type superClass) { this.name = name; this.superClass = superClass; } }
Add name and constructor to class type
Add name and constructor to class type
Java
bsd-3-clause
dirk/hummingbird2,dirk/hummingbird2,dirk/hummingbird2
511b4213af7b1247cdd2f002e709356912813cb0
presto-main/src/main/java/com/facebook/presto/cli/Help.java
presto-main/src/main/java/com/facebook/presto/cli/Help.java
package com.facebook.presto.cli; public final class Help { private Help() {} public static String getHelpText() { return "" + "Supported commands:\n" + "QUIT\n" + "DESCRIBE <table>\n" + "SHOW COLUMNS FROM <table>\n" + ...
package com.facebook.presto.cli; public final class Help { private Help() {} public static String getHelpText() { return "" + "Supported commands:\n" + "QUIT\n" + "DESCRIBE <table>\n" + "SHOW COLUMNS FROM <table>\n" + ...
Add full syntax for SHOW TABLES to help
Add full syntax for SHOW TABLES to help
Java
apache-2.0
rockerbox/presto,avasilevskiy/presto,wrmsr/presto,prestodb/presto,tellproject/presto,Svjard/presto,avasilevskiy/presto,aglne/presto,raghavsethi/presto,mono-plane/presto,suyucs/presto,damiencarol/presto,ebyhr/presto,ajoabraham/presto,haitaoyao/presto,harunurhan/presto,jiekechoo/presto,dain/presto,takari/presto,Jimexist/...
258d5068e1b80df973d8454d02f19bb5eb9c71b7
core/src/net/alcuria/umbracraft/definitions/skill/SkillDefinition.java
core/src/net/alcuria/umbracraft/definitions/skill/SkillDefinition.java
package net.alcuria.umbracraft.definitions.skill; import net.alcuria.umbracraft.annotations.Tooltip; import net.alcuria.umbracraft.definitions.Definition; import com.badlogic.gdx.utils.Array; public class SkillDefinition extends Definition { @Tooltip("The multiplier of the base damage") public float damageMultipl...
package net.alcuria.umbracraft.definitions.skill; import net.alcuria.umbracraft.annotations.Tooltip; import net.alcuria.umbracraft.definitions.Definition; import net.alcuria.umbracraft.definitions.skill.actions.SkillActionDefinition; import com.badlogic.gdx.utils.Array; public class SkillDefinition extends Definitio...
Add fields for targets and actions
Add fields for targets and actions
Java
mit
adketuri/umbracraft,adketuri/umbracraft,adketuri/umbracraft
a660574c87e760aaebe2411011f676e3c051aee4
src/som/UncaughtExceptions.java
src/som/UncaughtExceptions.java
package som; import java.lang.Thread.UncaughtExceptionHandler; import tools.concurrency.TracingActivityThread; /** * In case an actor processing thread terminates, provide some info. */ public final class UncaughtExceptions implements UncaughtExceptionHandler { private final VM vm; public UncaughtExceptions...
package som; import java.lang.Thread.UncaughtExceptionHandler; import tools.concurrency.TracingActivityThread; /** * In case an actor processing thread terminates, provide some info. */ public final class UncaughtExceptions implements UncaughtExceptionHandler { private final VM vm; public UncaughtExceptions...
Fix NPE in uncaught exception handler, and add info on thread
Fix NPE in uncaught exception handler, and add info on thread Signed-off-by: Stefan Marr <46f1a0bd5592a2f9244ca321b129902a06b53e03@stefan-marr.de>
Java
mit
smarr/SOMns,smarr/SOMns,smarr/SOMns,smarr/SOMns,smarr/SOMns,smarr/SOMns,smarr/SOMns
448158c4faaa570d23970cef08d9d1a6a39a5df6
src/main/java/nallar/tickthreading/mod/CoreMod.java
src/main/java/nallar/tickthreading/mod/CoreMod.java
package nallar.tickthreading.mod; import me.nallar.modpatcher.ModPatcher; import nallar.tickthreading.log.Log; import nallar.tickthreading.util.PropertyUtil; import nallar.tickthreading.util.Version; import nallar.tickthreading.util.unsafe.UnsafeUtil; import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin; import...
package nallar.tickthreading.mod; import me.nallar.modpatcher.ModPatcher; import nallar.tickthreading.log.Log; import nallar.tickthreading.util.PropertyUtil; import nallar.tickthreading.util.Version; import nallar.tickthreading.util.unsafe.UnsafeUtil; import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin; import...
Remove accidental extra line - shouldn't have been part of last commit
Remove accidental extra line - shouldn't have been part of last commit
Java
mit
nallar/TickThreading
45b77ec6ba99ac2c6db350951f151bfe3552c262
app/src/main/java/lib/morkim/mfw/ui/EmptyPresenter.java
app/src/main/java/lib/morkim/mfw/ui/EmptyPresenter.java
package lib.morkim.mfw.ui; import lib.morkim.mfw.usecase.UseCase; import lib.morkim.mfw.usecase.UseCaseResult; import lib.morkim.mfw.usecase.UseCaseProgress; public class EmptyPresenter extends Presenter { public EmptyPresenter(Viewable viewable) { super(viewable); } @Override protected void initializeViewMod...
package lib.morkim.mfw.ui; import lib.morkim.mfw.usecase.UseCase; import lib.morkim.mfw.usecase.UseCaseResult; import lib.morkim.mfw.usecase.UseCaseProgress; public class EmptyPresenter extends Presenter { public EmptyPresenter(Viewable viewable) { super(viewable); } @Override public void onUseCaseStart(UseCa...
Remove view model in presenter
Remove view model in presenter
Java
mit
alkammar/morkim
527e54b992d757166fb295e37d43674b81a7ac99
src/main/java/com/easternedgerobotics/rov/io/MPX4250AP.java
src/main/java/com/easternedgerobotics/rov/io/MPX4250AP.java
package com.easternedgerobotics.rov.io; import com.easternedgerobotics.rov.io.pololu.PololuMaestroInputChannel; public class MPX4250AP { /** * Scalar value for calculating pressure from voltage. */ private static final float PRESSURE_SCALAR = 0.264909785f; /** * Offset value for calculatin...
package com.easternedgerobotics.rov.io; import com.easternedgerobotics.rov.io.pololu.PololuMaestroInputChannel; /** * A MPX4250 is an absolute pressure (AP) sensor. See also: <a href="http://goo.gl/n7c8tY">MPX4250</a>. */ public class MPX4250AP { /** * Scalar value for calculating pressure from voltage. ...
Add link to MPX4250 spec sheet
Add link to MPX4250 spec sheet
Java
mit
EasternEdgeRobotics/2016,EasternEdgeRobotics/2016,EasternEdgeRobotics/2016,EasternEdgeRobotics/2016
58ebc229a027abc56648781ceaac8ab16ed0ff03
src/main/java/com/suse/salt/netapi/calls/modules/State.java
src/main/java/com/suse/salt/netapi/calls/modules/State.java
package com.suse.salt.netapi.calls.modules; import com.suse.salt.netapi.calls.LocalCall; import com.google.gson.reflect.TypeToken; import java.util.Arrays; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Optional; /** * salt.modules.state */ public class State { ...
package com.suse.salt.netapi.calls.modules; import com.suse.salt.netapi.calls.LocalCall; import com.google.gson.reflect.TypeToken; import java.util.Arrays; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Optional; /** * salt.modules.state */ public class State { ...
Add support for the 'queue' parameter
Add support for the 'queue' parameter
Java
mit
SUSE/saltstack-netapi-client-java,mbologna/saltstack-netapi-client-java,mbologna/saltstack-netapi-client-java,SUSE/saltstack-netapi-client-java,mbologna/salt-netapi-client,mbologna/salt-netapi-client,SUSE/salt-netapi-client
e63a680f6a5e9aa0b1715bb41b976d44c24d619d
src/main/java/io/nodyn/buffer/NettyExternalIndexedData.java
src/main/java/io/nodyn/buffer/NettyExternalIndexedData.java
/* * Copyright 2014 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
/* * Copyright 2014 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
Adjust writerIndex to highest value if putting a single character using array-index notation.
Adjust writerIndex to highest value if putting a single character using array-index notation.
Java
apache-2.0
dherges/nodyn,tony--/nodyn,tony--/nodyn,nodyn/nodyn,tony--/nodyn,dherges/nodyn,dherges/nodyn,nodyn/nodyn,nodyn/nodyn
1225ce3f7f496b737c580d8cb2f4c2203ce48276
src/main/java/mariculture/core/render/RenderCopperTank.java
src/main/java/mariculture/core/render/RenderCopperTank.java
package mariculture.core.render; import mariculture.core.tile.TileTankBlock; import net.minecraftforge.fluids.FluidStack; public class RenderCopperTank extends RenderBase { public RenderCopperTank() {} @Override public void renderBlock() { if (!isItem()) { TileTankBlock tank = (TileTa...
package mariculture.core.render; import mariculture.core.tile.TileTankBlock; import net.minecraftforge.fluids.FluidStack; public class RenderCopperTank extends RenderBase { public RenderCopperTank() {} @Override public void renderBlock() { if (!isItem()) { TileTankBlock tank = (TileTa...
Fix pressurised water render in copper tanks.
Fix pressurised water render in copper tanks.
Java
mit
svgorbunov/Mariculture,joshiejack/Mariculture,jriwanek/Mariculture
3cdd130aaa8fd67be5b1d11f9acee67ccc0857ef
src/test/java/org/jongo/util/EmbeddedMongoRule.java
src/test/java/org/jongo/util/EmbeddedMongoRule.java
package org.jongo.util; import org.junit.rules.TestRule; import org.junit.runner.Description; import org.junit.runners.model.Statement; import com.mongodb.DB; import com.mongodb.Mongo; public class EmbeddedMongoRule implements TestRule { private static DB db; public static Mongo getMongo() { return MongoHolder...
package org.jongo.util; import com.mongodb.MongoClient; import org.junit.rules.TestRule; import org.junit.runner.Description; import org.junit.runners.model.Statement; import com.mongodb.DB; import com.mongodb.Mongo; public class EmbeddedMongoRule implements TestRule { private static DB db; public static MongoCl...
Replace missing Mongo to MongoClient
Replace missing Mongo to MongoClient
Java
apache-2.0
julienlavergne/jongo,edaubert/jongo,dgit-hub/jongo,shelsonjava/jongo,dgit-hub/jongo,applango/jongo,ctrimble/jongo,ctrimble/jongo,bguerout/jongo,edwardmlyte/jongo,applango/jongo,joune/jongo,edwardmlyte/jongo,edaubert/jongo,shelsonjava/jongo,julienlavergne/jongo,bguerout/jongo,joune/jongo
dbf16a081b13bb7056f9beb26541e6ab772a2beb
src/main/java/org/cafebabepy/runtime/module/builtins/PyObjectType.java
src/main/java/org/cafebabepy/runtime/module/builtins/PyObjectType.java
package org.cafebabepy.runtime.module.builtins; import org.cafebabepy.annotation.DefineCafeBabePyType; import org.cafebabepy.runtime.Python; import org.cafebabepy.runtime.module.AbstractCafeBabePyType; /** * Created by yotchang4s on 2017/05/13. */ @DefineCafeBabePyType(name = "builtins.object", parent = {}) public ...
package org.cafebabepy.runtime.module.builtins; import org.cafebabepy.annotation.DefineCafeBabePyType; import org.cafebabepy.runtime.Python; import org.cafebabepy.runtime.module.AbstractCafeBabePyType; /** * Created by yotchang4s on 2017/05/13. */ @DefineCafeBabePyType(name = "builtins.object") public class PyObjec...
Fix object parent is object
Fix object parent is object
Java
bsd-3-clause
yotchang4s/cafebabepy
77b3258ce762b31d8917bbcd795ba216e488379e
app/src/main/java/com/blstream/studybox/api/RestClient.java
app/src/main/java/com/blstream/studybox/api/RestClient.java
package com.blstream.studybox.api; import retrofit.RequestInterceptor; import retrofit.RestAdapter; public class RestClient { private static final String URL = "http://78.133.154.70:2000/"; private static final String BASE_URL = "http://private-5f2e4b-studybox2.apiary-mock.com/"; private RestInterface re...
package com.blstream.studybox.api; import com.google.gson.GsonBuilder; import java.lang.reflect.Modifier; import retrofit.RequestInterceptor; import retrofit.RestAdapter; import retrofit.converter.GsonConverter; public class RestClient { private static final String URL = "http://78.133.154.70:2000/"; priva...
Fix problems on Android 6.0
Fix problems on Android 6.0
Java
apache-2.0
blstream/StudyBox_Android
763c7d3c41ced9eedaa290b3785e037c11137e65
client/src/net/myrrix/client/translating/OneWayMigrator.java
client/src/net/myrrix/client/translating/OneWayMigrator.java
/* * Copyright Myrrix Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
/* * Copyright Myrrix Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
Add handy main() method for hashing a given value
Add handy main() method for hashing a given value
Java
apache-2.0
xingh/myrrix-recommender,xingh/myrrix-recommender,xingh/myrrix-recommender
6c7e50ca1a38ddd70589472036ddb0ec6483efd9
src/org/exist/backup/ZipWriter.java
src/org/exist/backup/ZipWriter.java
package org.exist.backup; import java.io.*; import java.util.zip.ZipOutputStream; import java.util.zip.ZipEntry; /** * Implementation of BackupWriter that writes to a zip file. */ public class ZipWriter implements BackupWriter { private String currentPath; private ZipOutputStream out; priv...
package org.exist.backup; import java.io.*; import java.util.zip.ZipOutputStream; import java.util.zip.ZipEntry; /** * Implementation of BackupWriter that writes to a zip file. */ public class ZipWriter implements BackupWriter { private String currentPath; private ZipOutputStream out; priv...
Store relative paths when creating a backup in a .zip file.
Store relative paths when creating a backup in a .zip file. svn path=/trunk/eXist/; revision=6315
Java
lgpl-2.1
ljo/exist,dizzzz/exist,kohsah/exist,MjAbuz/exist,windauer/exist,lcahlander/exist,jessealama/exist,RemiKoutcherawy/exist,ambs/exist,adamretter/exist,patczar/exist,wolfgangmm/exist,dizzzz/exist,RemiKoutcherawy/exist,windauer/exist,MjAbuz/exist,adamretter/exist,dizzzz/exist,olvidalo/exist,shabanovd/exist,lcahlander/exist,...
1f811924e125d22ff365a30ef4e9e95a32f8ba90
src/test/java/info/u_team/u_team_test/init/TestClientBusRegister.java
src/test/java/info/u_team/u_team_test/init/TestClientBusRegister.java
package info.u_team.u_team_test.init; import info.u_team.u_team_core.api.construct.*; import info.u_team.u_team_core.util.registry.BusRegister; @Construct(client = true) public class TestClientBusRegister implements IModConstruct { @Override public void construct() { BusRegister.registerMod(TestColors::register...
package info.u_team.u_team_test.init; import info.u_team.u_team_core.api.construct.*; import info.u_team.u_team_core.util.registry.BusRegister; import info.u_team.u_team_test.TestMod; @Construct(modid = TestMod.MODID, client = true) public class TestClientBusRegister implements IModConstruct { @Override public vo...
Add the new modid field in the client construct bus register
Add the new modid field in the client construct bus register
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
3edb24604034e1cc4407a46713822512cc28ff47
app/src/main/java/com/red/alert/ui/notifications/AppNotifications.java
app/src/main/java/com/red/alert/ui/notifications/AppNotifications.java
package com.red.alert.ui.notifications; import android.app.NotificationManager; import android.content.Context; import com.red.alert.R; import com.red.alert.services.sound.StopSoundService; public class AppNotifications { public static void clearAll(Context context) { // Get notification manager ...
package com.red.alert.ui.notifications; import android.app.NotificationManager; import android.content.Context; import com.red.alert.R; import com.red.alert.services.sound.StopSoundService; public class AppNotifications { public static void clearAll(Context context) { // Get notification manager ...
Use NotificationManager.cancelAll() to cancel all app notifications
Use NotificationManager.cancelAll() to cancel all app notifications
Java
apache-2.0
eladnava/redalert-android
1ebc81d8ee9473c52780c50040afba89ac7fa8f0
src/common/me/nallar/exception/ThreadStuckError.java
src/common/me/nallar/exception/ThreadStuckError.java
package me.nallar.exception; /** * Thrown via Thread.stop() to try to resolve a deadlock, should be caught in Thread.run(), and thread should attempt to resume working. */ public class ThreadStuckError extends Error { public ThreadStuckError() { super(); } public ThreadStuckError(final String message...
package me.nallar.exception; /** * Thrown via Thread.stop() to try to resolve a deadlock, should be caught in Thread.run(), and thread should attempt to resume working. */ public class ThreadStuckError extends Error { public ThreadStuckError() { super(); } public ThreadStuckError(final String message...
Remove JDK 7 only constructor
Remove JDK 7 only constructor Signed-off-by: Ross Allan <ca2c77e14df1e7ee673215c1ef658354e220f471@gmail.com>
Java
mit
nallar/TickThreading
08ce80cd611652cfc52a80057318bb5906183d6a
src/main/java/com/vmware/connection/helpers/BaseHelper.java
src/main/java/com/vmware/connection/helpers/BaseHelper.java
/* * ***************************************************** * Copyright VMware, Inc. 2010-2012. All Rights Reserved. * ***************************************************** * * DISCLAIMER. THIS PROGRAM IS PROVIDED TO YOU "AS IS" WITHOUT * WARRANTIES OR CONDITIONS # OF ANY KIND, WHETHER ORAL OR WRITTEN, * ...
/* * ***************************************************** * Copyright VMware, Inc. 2010-2012. All Rights Reserved. * ***************************************************** * * DISCLAIMER. THIS PROGRAM IS PROVIDED TO YOU "AS IS" WITHOUT * WARRANTIES OR CONDITIONS # OF ANY KIND, WHETHER ORAL OR WRITTEN, * ...
Remove call to the method connect() on the connection
Remove call to the method connect() on the connection
Java
apache-2.0
boundary/boundary-vmware
b184b150d7ac6b953b999b84ddfc656a83afb17b
app/src/main/java/org/wikipedia/concurrency/CallbackTask.java
app/src/main/java/org/wikipedia/concurrency/CallbackTask.java
package org.wikipedia.concurrency; import android.support.annotation.NonNull; import android.support.annotation.Nullable; public class CallbackTask<T> extends SaneAsyncTask<T> { public interface Callback<T> { void success(T row); } public interface Task<T> { T execute(); } @NonNu...
package org.wikipedia.concurrency; import android.support.annotation.NonNull; import android.support.annotation.Nullable; public class CallbackTask<T> extends SaneAsyncTask<T> { public interface Callback<T> { void success(T row); } public interface Task<T> { T execute(); } @NonNu...
Fix possible memory leak in feed.
Fix possible memory leak in feed. I've observed a memory leak (on API 17) apparently stemming from the new functionality to fill in the bookmark icon when the featured article is detected to be part of a reading list. This seems to be caused by us passing an anonymous instance of a CallbackTask.Callback object from F...
Java
apache-2.0
dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,wikimedia/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,...
f41fefad188e8606036a394f28b7b8cc34be76fc
src/main/java/edu/virginia/psyc/pi/persistence/ParticipantExportDAO.java
src/main/java/edu/virginia/psyc/pi/persistence/ParticipantExportDAO.java
package edu.virginia.psyc.pi.persistence; import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonProperty; import edu.virginia.psyc.pi.domain.DoNotDelete; import edu.virginia.psyc.pi.domain.Exportable; import lombok.Data; import javax.persistence.Entity; import javax.persisten...
package edu.virginia.psyc.pi.persistence; import com.fasterxml.jackson.annotation.JsonFormat; import edu.virginia.psyc.pi.domain.DoNotDelete; import edu.virginia.psyc.pi.domain.Exportable; import lombok.Data; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import java.uti...
Change ParticipantDAO back to id
Change ParticipantDAO back to id
Java
mit
danfunk/MindTrails,Diheng/mindtrails,danfunk/MindTrails,Diheng/PIServer,rango1900/MindTrails,Diheng/PIServer,rango1900/MindTrails,Diheng/PIServer,Diheng/PIServer,rango1900/MindTrails,Diheng/mindtrails,rango1900/MindTrails,danfunk/MindTrails,danfunk/MindTrails
a5d03f60e8ee9c33dc22da29615a6ae86c9bf6e4
src/main/java/ee/tuleva/onboarding/auth/session/GenericSessionStore.java
src/main/java/ee/tuleva/onboarding/auth/session/GenericSessionStore.java
package ee.tuleva.onboarding.auth.session; import java.io.Serial; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import java.util.Optional; import org.springframework.context.annotation.Scope; import org.springframework.context.annotation.ScopedProxyMode; import org.springframework.stereo...
package ee.tuleva.onboarding.auth.session; import java.io.Serial; import java.io.Serializable; import java.util.HashMap; import java.util.Map; import java.util.Optional; import org.springframework.stereotype.Component; import org.springframework.web.context.annotation.SessionScope; @Component @SessionScope public cla...
Use composed annotation for readability
Use composed annotation for readability
Java
mit
TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service,TulevaEE/onboarding-service
e1e2a85a0a3de4203bcedd904ac1cb104fcebd96
android/src/main/java/com/twiliorn/library/TwilioPackage.java
android/src/main/java/com/twiliorn/library/TwilioPackage.java
/** * Twilio Video for React Native. * * Authors: * Ralph Pina <ralph.pina@gmail.com> * Jonathan Chang <slycoder@gmail.com> */ package com.twiliorn.library; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.fa...
/** * Twilio Video for React Native. * * Authors: * Ralph Pina <ralph.pina@gmail.com> * Jonathan Chang <slycoder@gmail.com> */ package com.twiliorn.library; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.fa...
Fix android build for RN 0.47
Fix android build for RN 0.47 createJSModules is no longer present. In order to ensure backwards compatibility, just remove the Override tag for now.
Java
mit
rajesh1158/react-native-twilio-video-webrtc,smiletime/react-native-twilio-video-webrtc,blackuy/react-native-twilio-video-webrtc,smiletime/react-native-twilio-video-webrtc,blackuy/react-native-twilio-video-webrtc,gaston23/react-native-twilio-video-webrtc,rajesh1158/react-native-twilio-video-webrtc,rajesh1158/react-nativ...
05de98c66e9a1dbcbbadc197d3f77646ea88a220
app/src/test/java/com/cwainner/chris/recipecentral/AboutActivityTest.java
app/src/test/java/com/cwainner/chris/recipecentral/AboutActivityTest.java
package com.cwainner.chris.recipecentral; import android.os.Build; import android.widget.TextView; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.Robolectric; import org.robolectric.RobolectricGradleTestRunner; import org.robolectric.annotation.Config; import ...
package com.cwainner.chris.recipecentral; import android.os.Build; import android.widget.TextView; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.Robolectric; import org.robolectric.RobolectricGradleTestRunner; import org.robolectric.annotation.Config; import ...
Add additional test for About activity
Add additional test for About activity
Java
mit
cwainner/android-recipe-central
1e34ddb1a9ed8c68c98f79c2a0b020f268a5d5b8
h2o-core/src/test/java/water/TCPReceiverThreadTest.java
h2o-core/src/test/java/water/TCPReceiverThreadTest.java
package water; import org.junit.BeforeClass; import org.junit.Test; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.ArrayList; import static org.junit.Assert.*; public class TCPReceiverThreadTest extends TestUtil { @BeforeClass() public static void setup() { st...
package water; import org.junit.BeforeClass; import org.junit.Test; import java.io.IOException; import java.io.InputStream; import java.net.URL; import java.util.ArrayList; import static org.junit.Assert.*; public class TCPReceiverThreadTest extends TestUtil { @BeforeClass() public static void setup() { st...
Make a test more robust
Make a test more robust
Java
apache-2.0
michalkurka/h2o-3,michalkurka/h2o-3,h2oai/h2o-3,michalkurka/h2o-3,h2oai/h2o-3,h2oai/h2o-3,h2oai/h2o-3,michalkurka/h2o-3,h2oai/h2o-3,michalkurka/h2o-3,h2oai/h2o-3,h2oai/h2o-3,h2oai/h2o-3,michalkurka/h2o-3,michalkurka/h2o-3
bb0535c5230583b3a3070b8489c41d4a9fa24a31
passgoriLibrary/src/IPasswordStore.java
passgoriLibrary/src/IPasswordStore.java
import java.util.Vector; /** * */ /** * An interface for password store objects. * * @author Miltiadis Allamanis * */ public interface IPasswordStore { /** * Return a list of all the stored passwords. * * @return a vector containing the ids of stored passwords */ public Vector<String> getAllStore...
import java.util.AbstractList; /** * */ /** * An interface for password store objects. * * @author Miltiadis Allamanis * */ public interface IPasswordStore { /** * Return a list of all the stored passwords. * * @return a vector containing the ids of stored passwords */ public AbstractList<String>...
Comment addition and interface change from Vector to AbstractList
Comment addition and interface change from Vector to AbstractList
Java
apache-2.0
ucam-cl-dtg/passgori-android
22766cb6aa96ef4aa10282d4d5afbeb34bba26c0
selenium/src/main/java/org/museautomation/selenium/steps/CloseWindow.java
selenium/src/main/java/org/museautomation/selenium/steps/CloseWindow.java
package org.museautomation.selenium.steps; import org.museautomation.core.*; import org.museautomation.core.context.*; import org.museautomation.core.resource.*; import org.museautomation.core.step.*; import org.museautomation.core.step.descriptor.*; import org.museautomation.core.values.descriptor.*; /** * @author ...
package org.museautomation.selenium.steps; import org.museautomation.core.*; import org.museautomation.core.context.*; import org.museautomation.core.step.*; import org.museautomation.core.step.descriptor.*; /** * @author Christopher L Merrill (see LICENSE.txt for license details) */ @MuseTypeId("close-window") @Mu...
ENHANCE - improve Close Window icon
[selenium] ENHANCE - improve Close Window icon
Java
apache-2.0
ChrisLMerrill/muse,ChrisLMerrill/muse
94239d9954197733d604b57a7033e30510c407e7
src/main/java/se/kth/csc/payload/message/QueuePositionCreatedInQueue.java
src/main/java/se/kth/csc/payload/message/QueuePositionCreatedInQueue.java
package se.kth.csc.payload.message; import com.fasterxml.jackson.annotation.JsonTypeInfo; import se.kth.csc.model.QueuePosition; import se.kth.csc.payload.api.QueuePositionInQueueSnapshot; import se.kth.csc.payload.api.Snapshotters; @JsonTypeInfo(use = JsonTypeInfo.Id.NAME) public class QueuePositionCreatedInQueue { ...
package se.kth.csc.payload.message; import com.fasterxml.jackson.annotation.JsonTypeInfo; import se.kth.csc.model.QueuePosition; import se.kth.csc.payload.api.QueuePositionInQueueSnapshot; import se.kth.csc.payload.api.Snapshotters; @JsonTypeInfo(use = JsonTypeInfo.Id.NAME) public class QueuePositionCreatedInQueue { ...
Change order of "position" and "queueName" to correspond to QueuePositionCreatedInAccount.
Change order of "position" and "queueName" to correspond to QueuePositionCreatedInAccount.
Java
agpl-3.0
mvk13ogb/qwait,mvk13ogb/qwait,mvk13ogb/qwait
799ebb2390495641e390acd1a077a2b7501e28e2
core/src/main/java/org/realityforge/arez/Disposable.java
core/src/main/java/org/realityforge/arez/Disposable.java
package org.realityforge.arez; /** * Interface that allows caller to release any resources associated with element. * It is safe to invoke {@link #dispose()} multiple times on a element. Dispose * is considered a state modifying action and must be called either within an * action where mutation is true or else it ...
package org.realityforge.arez; /** * Interface that allows caller to release any resources associated with element. * It is safe to invoke {@link #dispose()} multiple times on a element. Dispose * is considered a state modifying action and must be called either within an * action where mutation is true or else it ...
Update the description so docs can be inherited by implementers
Update the description so docs can be inherited by implementers
Java
apache-2.0
realityforge/arez,realityforge/arez,realityforge/arez
a36082c53b6c4937116b4e2fd8dbce306f411f5b
core/src/main/java/org/fedoraproject/javadeptools/model/ManifestEntry.java
core/src/main/java/org/fedoraproject/javadeptools/model/ManifestEntry.java
package org.fedoraproject.javadeptools.model; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.Lob; import javax.persistence.ManyToOne; import javax.persistence.Table; import org.hibernate.annotations.G...
package org.fedoraproject.javadeptools.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; import org.hibernate.annotation...
Use VARCHAR instead of LOB
Use VARCHAR instead of LOB
Java
apache-2.0
msimacek/java-deptools,msimacek/java-deptools,msimacek/java-deptools,msimacek/java-deptools
ecb24092e51130ae69ba103fa472c0866cf328e9
doc-examples/src/main/java/arez/doc/examples/at_observe2/CurrencyView.java
doc-examples/src/main/java/arez/doc/examples/at_observe2/CurrencyView.java
package arez.doc.examples.at_observe2; import arez.Observer; import arez.SafeProcedure; import arez.annotations.Action; import arez.annotations.ArezComponent; import arez.annotations.CascadeDispose; import arez.annotations.Observe; import arez.annotations.ObserverRef; import arez.annotations.OnDepsChange; import eleme...
package arez.doc.examples.at_observe2; import arez.Observer; import arez.SafeProcedure; import arez.annotations.ArezComponent; import arez.annotations.CascadeDispose; import arez.annotations.Observe; import elemental2.dom.DomGlobal; import elemental2.dom.Element; import javax.annotation.Nonnull; @ArezComponent public...
Simplify code by passing an Observer
Simplify code by passing an Observer
Java
apache-2.0
realityforge/arez,realityforge/arez,realityforge/arez
67d050be65974eef56c5bcbc8db49537433d86cf
src/main/java/com/macasaet/fernet/IllegalTokenException.java
src/main/java/com/macasaet/fernet/IllegalTokenException.java
package com.macasaet.fernet; /** * This exception indicates that a Fernet token could not be created because one or more of the parameters was invalid. * * <p>Copyright &copy; 2017 Carlos Macasaet.</p> * * @author Carlos Macasaet */ public class IllegalTokenException extends IllegalArgumentException { priva...
package com.macasaet.fernet; /** * This exception indicates that a Fernet token could not be created because one or more of the parameters was invalid. * * <p>Copyright &copy; 2017 Carlos Macasaet.</p> * * @author Carlos Macasaet */ public class IllegalTokenException extends IllegalArgumentException { priva...
Update serialVersionUID for updated public API
Update serialVersionUID for updated public API
Java
apache-2.0
l0s/fernet-java8,l0s/fernet-java8
6d5abfb019579b7d5b87dbee4abbe81465f7a878
src/main/java/de/flux/playground/deckcompare/importer/ImportException.java
src/main/java/de/flux/playground/deckcompare/importer/ImportException.java
package de.flux.playground.deckcompare.importer; public class ImportException extends RuntimeException { public ImportException(String string, Throwable cause) { super(string, cause); } private static final long serialVersionUID = 1734612217426583223L; }
package de.flux.playground.deckcompare.importer; public class ImportException extends RuntimeException { private static final long serialVersionUID = 1734612217426583223L; public ImportException(String string, Throwable cause) { super(string, cause); } }
Put field to top of class
Put field to top of class
Java
apache-2.0
JLengenfeld/deckcompare,JLengenfeld/deckcompare,JLengenfeld/deckcompare
5f9c2e6d0531284903bcfe797158b95941d7a946
shims/test/hadoop23/org/apache/pig/test/SparkMiniCluster.java
shims/test/hadoop23/org/apache/pig/test/SparkMiniCluster.java
package org.apache.pig.test; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hdfs.MiniDFSCluster; import org.apache.pig.ExecType; import org.apache.pig.backend.hadoop.executionengine.spark.SparkExecType; public cl...
package org.apache.pig.test; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hdfs.MiniDFSCluster; import org.apache.pig.ExecType; import org.apache.pig.backend.hadoop.executionengine.spark.SparkExecType; public cl...
Enable unit test "TestStreamingUDF" in spark (liyunzhang via praveen)
PIG-4268: Enable unit test "TestStreamingUDF" in spark (liyunzhang via praveen) git-svn-id: d317905e1b1233abb7022f5914f79c3119e04b87@1645891 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
kellyzly/pig,kellyzly/pig,kellyzly/pig,kellyzly/pig,kellyzly/pig,kellyzly/pig,kellyzly/pig
953485e19d9df7482feddb2db7526113eaa75a83
app/Global.java
app/Global.java
import codeu.chat.ServerMain; import codeu.chat.common.User; import models.DBUtility; import models.Models; import play.GlobalSettings; import play.Application; import java.sql.DriverManager; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; /** * Play's Global class, which runs cus...
import codeu.chat.ServerMain; import codeu.chat.common.User; import models.DBUtility; import models.Models; import play.GlobalSettings; import play.Application; import java.sql.DriverManager; /** * Play's Global class, which runs custom code when the application starts / ends. */ public class Global extends GlobalS...
Remove code to run server (it should be run on a separate terminal tab).
Remove code to run server (it should be run on a separate terminal tab).
Java
apache-2.0
HuyLafa/codeu_project_2017,HuyLafa/codeu_project_2017,HuyLafa/codeu_project_2017,HuyLafa/codeu_project_2017
ff3f7e97148455b5942d9410e830ea20285b7541
tools/tool-base/src/main/java/io/spine/code/gen/java/GeneratedTypeSpec.java
tools/tool-base/src/main/java/io/spine/code/gen/java/GeneratedTypeSpec.java
/* * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
/* * Copyright 2020, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
Remove a todo which is already resolved
Remove a todo which is already resolved
Java
apache-2.0
SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base
024bbd1cac9314ba52319b00698752c6329c2beb
src/main/java/roycurtis/signshopexport/json/Record.java
src/main/java/roycurtis/signshopexport/json/Record.java
package roycurtis.signshopexport.json; import org.bukkit.inventory.ItemStack; /** Represents a JSON record for Gson serialization */ public class Record { // Location public String locWorld; public int locX; public int locY; public int locZ; // Owner public String ownerName; ...
package roycurtis.signshopexport.json; import org.bukkit.inventory.ItemStack; /** Represents a JSON record for Gson serialization */ public class Record { // Location public String locWorld; public int locX; public int locY; public int locZ; // Owner public String ownerName; ...
Add toString override for records
Add toString override for records
Java
mit
Gamealition/SignShopExport
98f65f1c7b5678c51cc516c73b6dd1e5ea60c09e
src/main/java/spark/staticfiles/DirectoryTraversal.java
src/main/java/spark/staticfiles/DirectoryTraversal.java
package spark.staticfiles; import static spark.utils.StringUtils.removeLeadingAndTrailingSlashesFrom; /** * Protecting against Directory traversal */ public class DirectoryTraversal { public static void protectAgainstInClassPath(String path) { if (!removeLeadingAndTrailingSlashesFrom(path).st...
package spark.staticfiles; import static spark.utils.StringUtils.removeLeadingAndTrailingSlashesFrom; import java.nio.file.Paths; /** * Protecting against Directory traversal */ public class DirectoryTraversal { public static void protectAgainstInClassPath(String path) { if (!removeLeadingAn...
Add Windows to *nix path conversion
Add Windows to *nix path conversion Make external traversal detection comply with external static folder as *nix path
Java
apache-2.0
MouettE-SC/spark,perwendel/spark,gimlet2/spark,perwendel/spark,rokusr/spark,gimlet2/spark,gimlet2/spark,stylismo/spark,stylismo/spark,MouettE-SC/spark,rokusr/spark,arekkw/spark,arekkw/spark,stylismo/spark,perwendel/spark,stylismo/spark,MouettE-SC/spark,rokusr/spark,gimlet2/spark
1ddb8b17d3c9057501c026eaa9fa6753024514d2
src/main/java/com/ezardlabs/lostsector/missions/Mission.java
src/main/java/com/ezardlabs/lostsector/missions/Mission.java
package com.ezardlabs.lostsector.missions; import com.ezardlabs.lostsector.objects.enemies.Enemy; public abstract class Mission { protected int enemiesKilled = 0; private long missionStart = 0; private EnemyStatusListener enemyStatusListener; public void startMission() { missionStart = System.currentTimeMillis...
package com.ezardlabs.lostsector.missions; import com.ezardlabs.lostsector.objects.enemies.Enemy; public abstract class Mission { protected int enemiesKilled = 0; private long missionStart = 0; private boolean completed = false; private EnemyStatusListener enemyStatusListener; private MissionStatusListener missi...
Add listener for mission status
Add listener for mission status
Java
mit
8-Bit-Warframe/Lost-Sector
6326af69f2de2e4e91a04e312e39c0ef5ff86ba6
src/main/java/com/sleekbyte/tailor/utils/CharFormatUtil.java
src/main/java/com/sleekbyte/tailor/utils/CharFormatUtil.java
package com.sleekbyte.tailor.utils; /** * TODO!!! */ public class CharFormatUtil { private static final String ALPHANUMERIC_REGEX = "^[a-zA-Z0-9]*$"; public static boolean isUpperCamelCase(String word) { return !word.isEmpty() && word.matches(ALPHANUMERIC_REGEX) && Character.isUpperCase(word.charAt...
package com.sleekbyte.tailor.utils; /** * Util class for character formatting */ public class CharFormatUtil { private static final String ALPHANUMERIC_REGEX = "^[a-zA-Z0-9]*$"; public static boolean isUpperCamelCase(String word) { return !word.isEmpty() && word.matches(ALPHANUMERIC_REGEX) && Chara...
Add Javadoc for one more class
Add Javadoc for one more class
Java
mit
sleekbyte/tailor,sleekbyte/tailor,sleekbyte/tailor,sleekbyte/tailor,sleekbyte/tailor
a008261e15c8e48e127e99067f1116b825d75d3c
preview/xml-converter/test/org/jetbrains/kotlin/android/xmlconverter/BaseXmlConverterTest.java
preview/xml-converter/test/org/jetbrains/kotlin/android/xmlconverter/BaseXmlConverterTest.java
package org.jetbrains.kotlin.android.xmlconverter; import org.junit.Rule; import org.junit.rules.TestName; import sun.plugin.dom.exception.InvalidStateException; import java.io.File; import static kotlin.collections.SetsKt.*; import static kotlin.io.FilesKt.*; import static org.junit.Assert.assertEquals; import stati...
package org.jetbrains.kotlin.android.xmlconverter; import kotlin.text.Charsets; import org.junit.Rule; import org.junit.rules.TestName; import sun.plugin.dom.exception.InvalidStateException; import java.io.File; import static kotlin.collections.SetsKt.*; import static kotlin.io.FilesKt.*; import static org.junit.Asse...
Fix compilation error with Kotlin 1.0
Fix compilation error with Kotlin 1.0
Java
apache-2.0
fboldog/anko,Kotlin/anko,deva666/anko,Kotlin/anko,deva666/anko,JetBrains/anko,Kotlin/anko,fboldog/anko,deva666/anko,JetBrains/anko,JetBrains/anko,fboldog/anko
8714ee626d0780ceee290b08eb519391863db097
spring-vaadin-simple-mvp/src/test/java/org/vaadin/spring/mvp/autowired/AutowiredPresenter.java
spring-vaadin-simple-mvp/src/test/java/org/vaadin/spring/mvp/autowired/AutowiredPresenter.java
package org.vaadin.spring.mvp.autowired; import org.springframework.beans.factory.annotation.Autowired; import org.vaadin.spring.UIScope; import org.vaadin.spring.annotation.VaadinComponent; import org.vaadin.spring.events.EventBus; import org.vaadin.spring.events.annotation.EventBusListenerMethod; import org.vaadin.s...
package org.vaadin.spring.mvp.autowired; import org.springframework.beans.factory.annotation.Autowired; import org.vaadin.spring.annotation.VaadinComponent; import org.vaadin.spring.annotation.VaadinUIScope; import org.vaadin.spring.events.EventBus; import org.vaadin.spring.events.annotation.EventBusListenerMethod; im...
Test Class Update: Change UIScope => VaadinUIScope
Test Class Update: Change UIScope => VaadinUIScope
Java
apache-2.0
zkendall/vaadin4spring,peholmst/vaadin4spring,mengqinzhanji/vaadin4spring,GJRTimmer/vaadin4spring,fastnsilver/vaadin4spring
945dbdd8cfa796be5ea91f8e6e62fa75f339ee90
src/main/java/com/vryba/selenium/utilities/TestBase.java
src/main/java/com/vryba/selenium/utilities/TestBase.java
package com.vryba.selenium.utilities; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.testng.annotations.AfterClass; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeClass; import org.testng.annotations.BeforeMethod; import static org.testng...
package com.vryba.selenium.utilities; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.testng.annotations.AfterClass; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import static org.testng.Assert.fail; public class TestBase { ...
Replace TestNG @BeforeClass with @BeforeMethod annotation
Replace TestNG @BeforeClass with @BeforeMethod annotation
Java
epl-1.0
vryba/selenium
5f0deaeb864799e24209c0d08f28e88bcdba7a62
src/main/uk/co/prenderj/trail/util/CheckedAsyncTask.java
src/main/uk/co/prenderj/trail/util/CheckedAsyncTask.java
package uk.co.prenderj.trail.util; import android.os.AsyncTask; public abstract class CheckedAsyncTask<Params, Progress, Result> extends AsyncTask<Params, Progress, Result> { public abstract Result call(Params... params) throws Exception; public abstract void finish(Result result) throws Exception; ...
package uk.co.prenderj.trail.util; import android.os.AsyncTask; public abstract class CheckedAsyncTask<Params, Progress, Result> extends AsyncTask<Params, Progress, Result> { private Exception thrown; public abstract Result call(Params... params) throws Exception; public abstract void finish(Res...
Revert "Handle exception straight away"
Revert "Handle exception straight away" This reverts commit 0cac4b793b3eb7c122f1f6550f2e62ba29e02795.
Java
mit
pj2/trail-app
888625274802da4396a5185c93fa8d91f5a033af
src/main/java/pokefenn/totemic/item/music/FluteItem.java
src/main/java/pokefenn/totemic/item/music/FluteItem.java
package pokefenn.totemic.item.music; import net.minecraft.stats.Stats; import net.minecraft.world.InteractionHand; import net.minecraft.world.InteractionResultHolder; import net.minecraft.world.entity.player.Player; import net.minecraft.world.item.Item; import net.minecraft.world.item.ItemStack; import net.minecraft.w...
package pokefenn.totemic.item.music; import net.minecraft.stats.Stats; import net.minecraft.world.InteractionHand; import net.minecraft.world.InteractionResultHolder; import net.minecraft.world.entity.player.Player; import net.minecraft.world.item.Item; import net.minecraft.world.item.ItemStack; import net.minecraft.w...
Make flute item work properly
Make flute item work properly
Java
mit
TeamTotemic/Totemic
fb8a4e96c46e97401f9a813c2a800bf59ec95a3c
plugins/repository-s3/src/test/java/org/elasticsearch/cloud/aws/EnvironmentCredentialsTests.java
plugins/repository-s3/src/test/java/org/elasticsearch/cloud/aws/EnvironmentCredentialsTests.java
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Fix warning assertion in credentials test
Fix warning assertion in credentials test This commit fixes a warning assertion in a credentials test now that we are stricter about warning message assertions.
Java
apache-2.0
strapdata/elassandra5-rc,strapdata/elassandra5-rc,strapdata/elassandra5-rc,strapdata/elassandra5-rc,strapdata/elassandra5-rc
6b96cab7db9ea0f0519462390cc0851d8a3df82a
projects/connector-manager/source/java/com/google/enterprise/connector/pusher/PusherFactory.java
projects/connector-manager/source/java/com/google/enterprise/connector/pusher/PusherFactory.java
// Copyright (C) 2009 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
// Copyright (C) 2009 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
Resolve a couple of compiler warnings that crept into the code.
Resolve a couple of compiler warnings that crept into the code.
Java
apache-2.0
googlegsa/manager.v3,googlegsa/manager.v3,googlegsa/manager.v3
4984971050639b067a4190fa3a9bbf220491e7bb
bitcoinj-json/src/main/java/com/msgilligan/bitcoinj/json/conversion/TransactionHexSerializer.java
bitcoinj-json/src/main/java/com/msgilligan/bitcoinj/json/conversion/TransactionHexSerializer.java
package com.msgilligan.bitcoinj.json.conversion; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.SerializerProvider; import org.bitcoinj.core.Transaction; import java...
package com.msgilligan.bitcoinj.json.conversion; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.JsonSerializer; import com.fasterxml.jackson.databind.SerializerProvider; import org.bitcoinj.core.Transaction; import java...
Split out bytesToHexString as a static method.
Split out bytesToHexString as a static method.
Java
apache-2.0
msgilligan/bitcoinj-addons,msgilligan/bitcoinj-addons,msgilligan/bitcoinj-addons,msgilligan/bitcoinj-addons
1aca107934c5fe9e540ecab279879583515472f4
biz.aQute.bnd.gradle/testresources/builderplugin1/src/test/java/doubler/impl/DoublerImplTest.java
biz.aQute.bnd.gradle/testresources/builderplugin1/src/test/java/doubler/impl/DoublerImplTest.java
package doubler.impl; import doubler.Doubler; import org.junit.Test; public class DoublerImplTest { @Test public void testIt() { Doubler doubler = new DoublerImpl(); assert doubler.doubleIt(2) == 4; } }
package doubler.impl; import doubler.Doubler; import org.junit.Test; import static org.junit.Assert.*; public class DoublerImplTest { @Test public void testIt() { Doubler doubler = new DoublerImpl(); assertEquals(4, doubler.doubleIt(2)); } }
Use JUnit assert method in test case
gradle: Use JUnit assert method in test case Signed-off-by: BJ Hargrave <3d26bb3930946e3370762d769a073cece444c2d8@bjhargrave.com>
Java
apache-2.0
magnet/bnd,psoreide/bnd,mcculls/bnd,magnet/bnd,lostiniceland/bnd,magnet/bnd,psoreide/bnd,mcculls/bnd,mcculls/bnd,lostiniceland/bnd,psoreide/bnd,lostiniceland/bnd
cbbe51ba2346bc996657041766cf26c50987ac7b
src/main/java/amu/zhcet/email/EmailConfiguration.java
src/main/java/amu/zhcet/email/EmailConfiguration.java
package amu.zhcet.email; import amu.zhcet.common.utils.ConsoleHelper; import com.google.common.base.Strings; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.mail.javamail.JavaMailSen...
package amu.zhcet.email; import amu.zhcet.common.utils.ConsoleHelper; import com.google.common.base.Strings; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.mail.javamail.JavaMailSen...
Move optional autowired inside constructor
fix: Move optional autowired inside constructor Fixes #105
Java
apache-2.0
zhcet-amu/zhcet-web,zhcet-amu/zhcet-web,zhcet-amu/zhcet-web,zhcet-amu/zhcet-web,zhcet-amu/zhcet-web
f8afebcb9db3321854c4f71f425a79cd42faacdb
src/main/java/mod/flatcoloredblocks/gui/ConfigGuiFactory.java
src/main/java/mod/flatcoloredblocks/gui/ConfigGuiFactory.java
package mod.flatcoloredblocks.gui; import net.minecraft.client.gui.GuiScreen; import net.minecraftforge.fml.client.FMLConfigGuiFactory; /** * Basic Config Factory. */ public class ConfigGuiFactory extends FMLConfigGuiFactory { @Override public Class<? extends GuiScreen> mainConfigGuiClass() { return ConfigGui...
package mod.flatcoloredblocks.gui; import net.minecraft.client.gui.GuiScreen; import net.minecraftforge.fml.client.FMLConfigGuiFactory; /** * Basic Config Factory. */ public class ConfigGuiFactory extends FMLConfigGuiFactory { @Override public GuiScreen createConfigGui( GuiScreen parentScreen ) { return ne...
Use createConfigGui instead of mainConfigGuiClass
Use createConfigGui instead of mainConfigGuiClass
Java
mit
AlgorithmX2/FlatColoredBlocks
ffa1d91132d24ad862882ca6518be4eaba8e2e7c
src/main/java/org/slf4j/impl/StaticLoggerBinder.java
src/main/java/org/slf4j/impl/StaticLoggerBinder.java
/* * JBoss, Home of Professional Open Source. * Copyright 2009, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify i...
/* * JBoss, Home of Professional Open Source. * Copyright 2009, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify i...
Add apparently important SINGLETON field
Add apparently important SINGLETON field
Java
apache-2.0
jboss-logging/slf4j-jboss-logmanager
563eac5b329ce3e6fa0a23975bdd7f3dd887c52f
app/src/main/java/com/nikita/recipiesapp/common/AppState.java
app/src/main/java/com/nikita/recipiesapp/common/AppState.java
package com.nikita.recipiesapp.common; import com.nikita.recipiesapp.common.models.Recipe; import java.util.List; public final class AppState { public final List<Recipe> recipes; private final String selectedRecipeId; private final String selectedStepId; public AppState(List<Recipe> recipes, ...
package com.nikita.recipiesapp.common; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import com.nikita.recipiesapp.common.models.Recipe; import com.nikita.recipiesapp.common.models.Step; import java.util.Collections; import java.util.List; public final class AppState { pu...
Add app state mutation methods
Add app state mutation methods
Java
mit
rusinikita/recipies-app
9d7fa5f16c6f38af754ccd26c8e7572b85a23a4a
src/main/java/com/zaxxer/hikari/json/util/Clazz.java
src/main/java/com/zaxxer/hikari/json/util/Clazz.java
package com.zaxxer.hikari.json.util; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.util.HashMap; import java.util.Map; import com.zaxxer.hikari.json.JsonProperty; public final class Clazz { private final Class<?> actualClass; private final Map<Integer, Phield> fields; publi...
package com.zaxxer.hikari.json.util; import java.lang.reflect.Field; import java.lang.reflect.Modifier; import java.util.HashMap; import java.util.Map; import com.zaxxer.hikari.json.JsonProperty; public final class Clazz { private final Class<?> actualClass; private final Map<Integer, Phield> fields; publi...
Set initial hash size (should be tuned more).
Set initial hash size (should be tuned more).
Java
apache-2.0
brettwooldridge/HikariJSON,fengshao0907/HikariJSON
12df4a7596eddeed97a591e82f72a684c2c642ae
src/main/java/net/glowstone/io/entity/WolfStore.java
src/main/java/net/glowstone/io/entity/WolfStore.java
package net.glowstone.io.entity; import net.glowstone.entity.passive.GlowWolf; import net.glowstone.util.nbt.CompoundTag; import org.bukkit.DyeColor; import org.bukkit.entity.EntityType; class WolfStore extends TameableStore<GlowWolf> { public WolfStore() { super(GlowWolf.class, EntityType.WOLF); } ...
package net.glowstone.io.entity; import net.glowstone.entity.passive.GlowWolf; import net.glowstone.util.nbt.CompoundTag; import org.bukkit.DyeColor; import org.bukkit.entity.EntityType; class WolfStore extends TameableStore<GlowWolf> { public WolfStore() { super(GlowWolf.class, EntityType.WOLF); } ...
Fix exception when spawning Wolf from egg
Fix exception when spawning Wolf from egg
Java
mit
GlowstoneMC/GlowstonePlusPlus,GlowstoneMC/GlowstonePlusPlus,GlowstoneMC/GlowstonePlusPlus,GlowstonePlusPlus/GlowstonePlusPlus,GlowstoneMC/GlowstonePlusPlus,GlowstonePlusPlus/GlowstonePlusPlus,GlowstonePlusPlus/GlowstonePlusPlus,GlowstonePlusPlus/GlowstonePlusPlus
d012506e2546476f41cdc748afd6334465289609
src/test/java/at/lingu/sqlcompose/SelectTests.java
src/test/java/at/lingu/sqlcompose/SelectTests.java
package at.lingu.sqlcompose; import at.lingu.sqlcompose.projection.Projection; import at.lingu.sqlcompose.source.Table; import org.junit.Test; /** * Tests for select statements. * * @author Florian Fankhauser <flo@lingu.at> */ public class SelectTests extends BaseSqlTests { private Table users = new Table("user...
package at.lingu.sqlcompose; import at.lingu.sqlcompose.projection.Projection; import at.lingu.sqlcompose.source.Table; import org.junit.Test; /** * Tests for select statements. * * @author Florian Fankhauser <flo@lingu.at> */ public class SelectTests extends BaseSqlTests { private Table users = new Table("user...
Add test for projection alias
Add test for projection alias
Java
mit
flof/sqlcompose
71d9fe1326b69109e6cb7d36c3d9e269c46ce7aa
titan-core/src/main/java/com/thinkaurelius/titan/util/system/NetworkUtil.java
titan-core/src/main/java/com/thinkaurelius/titan/util/system/NetworkUtil.java
package com.thinkaurelius.titan.util.system; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.Collection; public class NetworkUtil { public static String getLoopbackAddress() { return InetAddress.getLoopbackAddress().getHostAddress(); } public static InetAddress...
package com.thinkaurelius.titan.util.system; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.Collection; public class NetworkUtil { public static String getLoopbackAddress() { return InetAddress.getLoopbackAddress().getHostAddress(); } public static InetAddress...
Make isLocalAddress(...) allow canonical addresses
Make isLocalAddress(...) allow canonical addresses
Java
apache-2.0
kangkot/titan,tomersagi/titan,anuragkh/titan,tomersagi/titan,anuragkh/titan,qiuqiyuan/titan,ThiagoGarciaAlves/titan,thinkaurelius/titan,wangbf/titan,anuragkh/titan,mwpnava/titan,elubow/titan,xlcupid/titan,kangkot/titan,evanv/titan,samanalysis/titan,kalatestimine/titan,amcp/titan,fengshao0907/titan,evanv/titan,pluradj/t...
a8af41fef07b5f59dc9a068b0e41d29d899267a5
App/app/src/main/java/eic/beike/projectx/network/projectXServer/IDatabase.java
App/app/src/main/java/eic/beike/projectx/network/projectXServer/IDatabase.java
package eic.beike.projectx.network.projectXServer; import eic.beike.projectx.util.ScoreEntry; /** * Used to interact with the database, these are long running network operations and should not be called * from the UI thread. * * Created by alex on 10/1/15. */ public interface IDatabase { /** * Register...
package eic.beike.projectx.network.projectXServer; import eic.beike.projectx.util.ScoreEntry; import java.util.List; /** * Used to interact with the database, these are long running network operations and should not be called * from the UI thread. * * @Author alex */ public interface IDatabase { /** *...
Change database interface to return List<>.
Change database interface to return List<>.
Java
apache-2.0
BeikeElectricity/ProjectX,BeikeElectricity/ProjectX,BeikeElectricity/ProjectX
d86121746aa845e95ad0dfe16d58bc7ea6fca83e
app/src/main/java/de/danoeh/antennapod/dialog/StreamingConfirmationDialog.java
app/src/main/java/de/danoeh/antennapod/dialog/StreamingConfirmationDialog.java
package de.danoeh.antennapod.dialog; import android.content.Context; import android.view.View; import android.widget.CheckBox; import androidx.appcompat.app.AlertDialog; import de.danoeh.antennapod.R; import de.danoeh.antennapod.core.preferences.UserPreferences; import de.danoeh.antennapod.core.util.playback.Playable;...
package de.danoeh.antennapod.dialog; import android.content.Context; import androidx.appcompat.app.AlertDialog; import de.danoeh.antennapod.R; import de.danoeh.antennapod.core.preferences.UserPreferences; import de.danoeh.antennapod.core.util.playback.Playable; import de.danoeh.antennapod.core.util.playback.PlaybackSe...
Make mobile streaming dialog easier to understand
Make mobile streaming dialog easier to understand
Java
mit
johnjohndoe/AntennaPod,johnjohndoe/AntennaPod,johnjohndoe/AntennaPod,johnjohndoe/AntennaPod
2942695a8ffa67c3c0d0f06d3f6863f6b0025aa8
src/main/java/jp/crafterkina/pipes/common/PipesCore.java
src/main/java/jp/crafterkina/pipes/common/PipesCore.java
package jp.crafterkina.pipes.common; import lombok.Getter; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.InstanceFactory; import net.minecraftforge.fml.common.SidedProxy; import static jp.crafterkina.pipes.common.PipesCore.MOD_ID; @Mod(modid = MOD_ID) public enum PipesCore { ...
package jp.crafterkina.pipes.common; import jp.crafterkina.pipes.common.recipe.vanilla.CraftManager; import lombok.Getter; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.Mod.InstanceFactory; import net.minecraftforge.fml.common.Side...
Call CraftRecipe Register Func on preInit
Call CraftRecipe Register Func on preInit
Java
mpl-2.0
CrafterKina/Pipes
c1a6bcc1d2a4353728d736df77812c2f605a7f3b
haval-algorithm/src/main/java/com/m4gik/util/Util.java
haval-algorithm/src/main/java/com/m4gik/util/Util.java
package com.m4gik.util; /** * A collection of utility methods used throughout this project. This class * mainly contains method for implementing the operations of presenting data. * * @author Michał Szczygieł <michal.szczygiel@wp.pl> * */ public class Util { }
package com.m4gik.util; /** * A collection of utility methods used throughout this project. This class * mainly contains method for implementing the operations of presenting data. * * @author Michał Szczygieł <michal.szczygiel@wp.pl> * */ public class Util { /** * Base-64 chars. */ private s...
Add base static fields and private constructor.
Add base static fields and private constructor.
Java
mit
M4GiK/tosi-projects,M4GiK/tosi-projects
c9dcd2179d79af0681b19e0c1886eb2515fd383b
src/com/facebook/buck/parser/AssociatedRulePredicate.java
src/com/facebook/buck/parser/AssociatedRulePredicate.java
/* * Copyright 2014-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
/* * Copyright 2014-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
Remove comment about generic param that does not seem to apply.
Remove comment about generic param that does not seem to apply. Test Plan: Verify that this removes the warning when running `ant javadoc`.
Java
apache-2.0
siddhartharay007/buck,justinmuller/buck,OkBuilds/buck,Dominator008/buck,nguyentruongtho/buck,illicitonion/buck,artiya4u/buck,janicduplessis/buck,ilya-klyuchnikov/buck,stuhood/buck,shybovycha/buck,ilya-klyuchnikov/buck,vine/buck,illicitonion/buck,hgl888/buck,raviagarwal7/buck,rmaz/buck,hgl888/buck,tgummerer/buck,clonetw...
65dcbf46e385a121cd1862fc7c4b612c6a8034e5
client/core/test/NetworkTest.java
client/core/test/NetworkTest.java
/** * Created by andybb on 18.03.15. */ import org.junit.Test; import static org.junit.Assert.*; import com.mygdx.game.controllers.GameNetworkController; import com.mygdx.game.controllers.PlayerNetworkController; import java.util.concurrent.TimeUnit; public class NetworkTest { @Test public void testGame...
/** * Created by andybb on 18.03.15. */ import org.junit.Test; import org.junit.Before; import static org.junit.Assert.*; import com.mygdx.game.controllers.GameNetworkController; import java.util.concurrent.TimeUnit; public class NetworkTest { private GameNetworkController game1; private GameNetworkCon...
Add test to check that the opponent is set correctly
Add test to check that the opponent is set correctly
Java
mit
andereld/progark,andereld/progark
473879b1978affba232de1c2379cf7cdae4889d2
src/main/java/seedu/task/logic/commands/ClearCommand.java
src/main/java/seedu/task/logic/commands/ClearCommand.java
package seedu.task.logic.commands; import java.util.Optional; import javafx.scene.control.Alert; import javafx.scene.control.Alert.AlertType; import javafx.scene.control.ButtonType; import javafx.scene.control.Dialog; import seedu.task.model.TaskManager; /** * Clears the task manager. */ public class ClearCommand ...
package seedu.task.logic.commands; import java.util.Optional; import javafx.scene.control.Alert; import javafx.scene.control.Alert.AlertType; import javafx.scene.control.ButtonType; import seedu.task.model.TaskManager; /** * Clears the task manager. */ public class ClearCommand extends Command { public static...
Allow undo command to work after the clear command
Allow undo command to work after the clear command
Java
mit
CS2103AUG2016-T17-C1/main
d546957b31ca7d3a8712ac2b72f9e90dce073ff7
src/test/java/info/u_team/u_team_test/init/TestContainers.java
src/test/java/info/u_team/u_team_test/init/TestContainers.java
package info.u_team.u_team_test.init; import info.u_team.u_team_core.containertype.UContainerType; import info.u_team.u_team_core.util.registry.BaseRegistryUtil; import info.u_team.u_team_test.TestMod; import info.u_team.u_team_test.container.*; import net.minecraft.inventory.container.ContainerType; import net.minecr...
package info.u_team.u_team_test.init; import info.u_team.u_team_core.containertype.UContainerType; import info.u_team.u_team_test.TestMod; import info.u_team.u_team_test.container.*; import net.minecraft.inventory.container.ContainerType; import net.minecraftforge.eventbus.api.IEventBus; import net.minecraftforge.fml....
Add some methods to the container for migration
Add some methods to the container for migration
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
ebdc28d81b86fa408d5dc79fda6791626d8648e0
rest-common/src/main/java/uk/ac/ebi/quickgo/rest/search/query/AllQuery.java
rest-common/src/main/java/uk/ac/ebi/quickgo/rest/search/query/AllQuery.java
package uk.ac.ebi.quickgo.rest.search.query; /** * Represents the simplest of {@link QuickGOQuery} objects, containing just the field and values to query against. */ public class AllQuery extends QuickGOQuery { public AllQuery() { } @Override public <T> T accept(QueryVisitor<T> visitor) { return...
package uk.ac.ebi.quickgo.rest.search.query; /** * Represents the simplest of {@link QuickGOQuery} objects, containing just the field and values to query against. */ class AllQuery extends QuickGOQuery { AllQuery() { } @Override public <T> T accept(QueryVisitor<T> visitor) { return visitor.visit(thi...
Add toStringMethod for easy read.
Add toStringMethod for easy read.
Java
apache-2.0
ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE
5b3a3ab884fbc09f72e63123647646b6b8b39ac5
kim-api/src/main/java/org/kuali/rice/kim/dto/PrincipalDTO.java
kim-api/src/main/java/org/kuali/rice/kim/dto/PrincipalDTO.java
/* * Copyright 2007 The Kuali Foundation * * Licensed under the Educational Community License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl1.php * * Unless required b...
/* * Copyright 2007 The Kuali Foundation * * Licensed under the Educational Community License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl1.php * * Unless required b...
Synchronize DTOs with BOs. @Override caused problems
KULRICE-1857: Synchronize DTOs with BOs. @Override caused problems
Java
apache-2.0
bhutchinson/rice,sonamuthu/rice-1,ewestfal/rice,smith750/rice,sonamuthu/rice-1,gathreya/rice-kc,shahess/rice,ewestfal/rice-svn2git-test,jwillia/kc-rice1,geothomasp/kualico-rice-kc,bhutchinson/rice,ewestfal/rice-svn2git-test,sonamuthu/rice-1,bsmith83/rice-1,jwillia/kc-rice1,shahess/rice,ewestfal/rice,smith750/rice,rojla...
5a0c2376cee3bd14c593c741280df312a4ddeaca
controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockUserManagement.java
controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/stubs/MockUserManagement.java
package com.yahoo.vespa.hosted.controller.api.integration.stubs; public class MockUserManagement { }
package com.yahoo.vespa.hosted.controller.api.integration.stubs; import com.yahoo.vespa.hosted.controller.api.integration.user.UserId; import com.yahoo.vespa.hosted.controller.api.integration.user.UserManagement; import com.yahoo.vespa.hosted.controller.api.role.Role; import java.util.Collection; import java.util.Has...
Add mock implementation of UserManagement
Add mock implementation of UserManagement
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
56e8d451ed5f4e20b01ab0b0940303629fe427f6
src/main/java/net/floodlightcontroller/core/web/serializers/DPIDSerializer.java
src/main/java/net/floodlightcontroller/core/web/serializers/DPIDSerializer.java
/** * Copyright 2011,2012 Big Switch Networks, Inc. * Originally created by David Erickson, Stanford University * * 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 * * ht...
/** * Copyright 2011,2012 Big Switch Networks, Inc. * Originally created by David Erickson, Stanford University * * 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 * * ht...
Modify the Serializer for DPID (Long -> DatapathId )
Modify the Serializer for DPID (Long -> DatapathId )
Java
apache-2.0
alexreimers/floodlight,baykovr/floodlight,deepurple/floodlight,iluckydonkey/floodlight,m1k3lin0/SDNProject,TidyHuang/floodlight,pixuan/floodlight,m1k3lin0/SDNProject,rizard/fast-failover-demo,woniu17/floodlight,JinWenQiang/FloodlightController,pixuan/floodlight,smartnetworks/floodlight,rizard/fast-failover-demo,woniu17...
3611ba80cd721c88bba583a9d50ffd433509fc11
base/src/main/java/uk/ac/ebi/atlas/controllers/RequestDiagnosticsController.java
base/src/main/java/uk/ac/ebi/atlas/controllers/RequestDiagnosticsController.java
package uk.ac.ebi.atlas.controllers; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller @Scope("request") public class RequestDiagnosticsController extends HtmlExceptionHandlingController { ...
package uk.ac.ebi.atlas.controllers; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller @Scope("request") public class RequestDiagnosticsController extends HtmlExceptionHandlingController { ...
Change method name to make sense (this was a bad copy-paste job!)
Change method name to make sense (this was a bad copy-paste job!)
Java
apache-2.0
gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas,gxa/atlas
2861453585cb7abf50faf51a1e1c75fd779da690
android/src/main/java/com/artirigo/kontaktio/KontaktPackage.java
android/src/main/java/com/artirigo/kontaktio/KontaktPackage.java
package com.artirigo.kontaktio; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.ArrayList; import java.u...
package com.artirigo.kontaktio; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.JavaScriptModule; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.ArrayList; import java.u...
Remove createJSModules for RN 0.47.
Remove createJSModules for RN 0.47.
Java
mit
Artirigo/react-native-kontaktio,Artirigo/react-native-kontaktio,Artirigo/react-native-kontaktio,Artirigo/react-native-kontaktio,Artirigo/react-native-kontaktio
4c3cddce6b7c3a9917dc7ec208bbc40ac18738f3
resinspector-no-op/src/main/java/cn/nekocode/resinspector/ResourceInspector.java
resinspector-no-op/src/main/java/cn/nekocode/resinspector/ResourceInspector.java
/* * Copyright 2017. nekocode (nekocode.cn@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2017. nekocode (nekocode.cn@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Add missing method to no-op artifact
Add missing method to no-op artifact
Java
apache-2.0
nekocode/ResourceInspector
14b88f9a10381fe9ed1fb76c9f5ca9b0bcd95b9b
estatioapp/dom/src/main/java/org/estatio/dom/asset/UnitType.java
estatioapp/dom/src/main/java/org/estatio/dom/asset/UnitType.java
/* * * Copyright 2012-2014 Eurocommercial Properties NV * * * Licensed under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
/* * * Copyright 2012-2014 Eurocommercial Properties NV * * * Licensed under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
Add common area to unit type
Add common area to unit type
Java
apache-2.0
estatio/estatio,kigsmtua/estatio,johandoornenbal/estatio,kigsmtua/estatio,kigsmtua/estatio,johandoornenbal/estatio,johandoornenbal/estatio,estatio/estatio,estatio/estatio,estatio/estatio,kigsmtua/estatio,johandoornenbal/estatio
0f3d2acbf3d6f0bf32354b359030012621cdd235
impl/src/main/java/org/jboss/seam/faces/environment/ProjectStageProducer.java
impl/src/main/java/org/jboss/seam/faces/environment/ProjectStageProducer.java
package org.jboss.seam.faces.environment; import javax.enterprise.inject.Produces; import javax.faces.context.FacesContext; import javax.inject.Named; /** * <p> * A producer which retrieves the Project Stage for the current * request of the JavaServer Faces application, storing the result as a * dependent-scoped ...
package org.jboss.seam.faces.environment; import javax.enterprise.inject.Produces; import javax.faces.application.ProjectStage; import javax.faces.context.FacesContext; import javax.inject.Named; /** * <p> * A producer which retrieves the ProjectStage for the current request * of the JavaServer Faces application, ...
Make ProjectStage available from EL - using Enum
SEAMFACES-95: Make ProjectStage available from EL - using Enum
Java
apache-2.0
tremes/seam-faces,seam/faces
364e4f868c9e71f5d965e6b0bdf4bb0bf8015e7f
src/main/java/valandur/webapi/json/serializer/entity/TameableDataSerializer.java
src/main/java/valandur/webapi/json/serializer/entity/TameableDataSerializer.java
package valandur.webapi.json.serializer.entity; import org.spongepowered.api.data.manipulator.mutable.entity.TameableData; import valandur.webapi.WebAPI; import valandur.webapi.api.cache.ICacheService; import valandur.webapi.api.cache.entity.ICachedEntity; import valandur.webapi.api.json.WebAPIBaseSerializer; import ...
package valandur.webapi.json.serializer.entity; import org.spongepowered.api.data.manipulator.mutable.entity.TameableData; import valandur.webapi.WebAPI; import valandur.webapi.api.cache.ICacheService; import valandur.webapi.api.cache.player.ICachedPlayer; import valandur.webapi.api.json.WebAPIBaseSerializer; import ...
Fix tameable data not working with new cached player object
fix(tameable-data): Fix tameable data not working with new cached player object
Java
mit
Valandur/Web-API,Valandur/Web-API,Valandur/Web-API
d0e6996717c9871224411b99f8242a101270b897
intermine/web/main/src/org/intermine/webservice/server/user/TokenService.java
intermine/web/main/src/org/intermine/webservice/server/user/TokenService.java
package org.intermine.webservice.server.user; import java.util.Arrays; import java.util.Map; import org.intermine.api.InterMineAPI; import org.intermine.api.profile.Profile; import org.intermine.api.profile.ProfileManager; import org.intermine.webservice.server.core.JSONService; import org.intermine.webservice.server...
package org.intermine.webservice.server.user; import java.util.Arrays; import org.intermine.api.InterMineAPI; import org.intermine.api.profile.Profile; import org.intermine.api.profile.ProfileManager; import org.intermine.webservice.server.core.JSONService; import org.intermine.webservice.server.exceptions.BadRequest...
Support more than one type of token.
Support more than one type of token. This is going to be important for producing decent perma-links to result sets, that can be reliably run at various times in the future by anyone with the link without compromising the user account of the profile involved.
Java
lgpl-2.1
tomck/intermine,kimrutherford/intermine,justincc/intermine,justincc/intermine,tomck/intermine,JoeCarlson/intermine,kimrutherford/intermine,zebrafishmine/intermine,kimrutherford/intermine,joshkh/intermine,kimrutherford/intermine,Arabidopsis-Information-Portal/intermine,JoeCarlson/intermine,JoeCarlson/intermine,zebrafish...
fb24ada3fb55eef6e4586b22a7f46d1b1178a7a6
java/src/com/google/template/soy/internal/exemptions/NamespaceExemptions.java
java/src/com/google/template/soy/internal/exemptions/NamespaceExemptions.java
/* * Copyright 2021 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
/* * Copyright 2021 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
Delete testonly namespaces from the duplicate namespaces exemption list
Delete testonly namespaces from the duplicate namespaces exemption list GITHUB_BREAKING_CHANGES=none ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=360768962
Java
apache-2.0
google/closure-templates,google/closure-templates,google/closure-templates,google/closure-templates,google/closure-templates
f6cb0f386b2ee0ef3e9fbb194634bcd40ae05b7a
src/main/java/net/jloop/rejoice/Stack.java
src/main/java/net/jloop/rejoice/Stack.java
package net.jloop.rejoice; import java.util.ArrayList; import java.util.Iterator; public class Stack implements Iterable<Atom> { private final ArrayList<Atom> atoms; public Stack() { this.atoms = new ArrayList<>(); } public Stack(ArrayList<Atom> atoms) { this.atoms = atoms; } ...
package net.jloop.rejoice; import java.util.ArrayList; import java.util.Collections; import java.util.Iterator; public class Stack implements Iterable<Atom> { private final ArrayList<Atom> atoms; public Stack() { this.atoms = new ArrayList<>(); } public Stack(ArrayList<Atom> atoms) { ...
Print the stack with the latest atom at the top
Print the stack with the latest atom at the top
Java
bsd-3-clause
jeremyheiler/rejoice
54886c76b0ae94bf101d157de293332e803a0c4c
src/main/java/com/codenvy/ide/editor/codemirror/client/jso/CMModeOverlay.java
src/main/java/com/codenvy/ide/editor/codemirror/client/jso/CMModeOverlay.java
/******************************************************************************* * Copyright (c) 2014 Codenvy, S.A. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at *...
/******************************************************************************* * Copyright (c) 2014 Codenvy, S.A. * 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 *...
Document future methods addition on mode objects
Document future methods addition on mode objects
Java
epl-1.0
codenvy/plugin-editor-codemirror,codenvy/plugin-editor-codemirror
6e55917211f3d6d533fb3b6c55dd4a95957d43d6
problem-spring-web-autoconfigure/src/main/java/org/zalando/problem/spring/web/autoconfigure/security/SecurityConfiguration.java
problem-spring-web-autoconfigure/src/main/java/org/zalando/problem/spring/web/autoconfigure/security/SecurityConfiguration.java
package org.zalando.problem.spring.web.autoconfigure.security; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; im...
package org.zalando.problem.spring.web.autoconfigure.security; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; im...
Set order to a low-priority but uncommon value
Set order to a low-priority but uncommon value Without the order, it takes the default value (100), which can easily collide with another WebConfigurerAdapter in the application using the library
Java
mit
zalando/problem-spring-web,zalando/problem-spring-web
0f3d617eb67007883d47950f5557ec25f2ab3d89
java/client/src/org/openqa/selenium/lift/TestContext.java
java/client/src/org/openqa/selenium/lift/TestContext.java
/* Copyright 2007-2009 WebDriver committers Copyright 2007-2009 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
/* Copyright 2007-2009 WebDriver committers Copyright 2007-2009 Google Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by appli...
Remove unnecessary modifiers and cleanup whitespace.
JasonLeyba: Remove unnecessary modifiers and cleanup whitespace. git-svn-id: 4179480af2c2519a5eb5e1e9b541cbdf5cf27696@12481 07704840-8298-11de-bf8c-fd130f914ac9
Java
apache-2.0
virajs/selenium-1,winhamwr/selenium,virajs/selenium-1,winhamwr/selenium,virajs/selenium-1,akiellor/selenium,akiellor/selenium,akiellor/selenium,virajs/selenium-1,virajs/selenium-1,winhamwr/selenium,akiellor/selenium,winhamwr/selenium,virajs/selenium-1,akiellor/selenium,winhamwr/selenium,winhamwr/selenium,winhamwr/selen...
902d26425697b5d982aac2eacd1586c4e48e1d6e
src/main/java/com/adobe/epubcheck/vocab/StagingEdupubVocab.java
src/main/java/com/adobe/epubcheck/vocab/StagingEdupubVocab.java
package com.adobe.epubcheck.vocab; public class StagingEdupubVocab { public static final String URI = "http://www.idpf.org/epub/vocab/structure/#"; public static final Vocab VOCAB = new EnumVocab(EPUB_TYPES.class, URI); public static enum EPUB_TYPES { ABSTRACT, ANSWER, ANSWERS, ASSESSMENTS, ...
package com.adobe.epubcheck.vocab; public class StagingEdupubVocab { public static final String URI = "http://www.idpf.org/epub/vocab/structure/#"; public static final Vocab VOCAB = new EnumVocab(EPUB_TYPES.class, URI); public static enum EPUB_TYPES { ABSTRACT, ANSWER, ANSWERS, ASSESSMENTS, ...
Add missing EDUPUB property "seriespage"
Add missing EDUPUB property "seriespage"
Java
mit
francisco-sanchez-molina/epubcheck,e10/epubcheck,vengattech/epubcheck,Hasimir/epubcheck,francisco-sanchez-molina/epubcheck,looknear/epubcheck,mihailim/epubcheck,karthikeyansam/epubcheck,MinFu/epubcheck,w3c/epubcheck,mihailim/epubcheck,w3c/epubcheck,looknear/epubcheck,Hasimir/epubcheck,w3c/epubcheck,IDPF/epubcheck,IDPF/...
89eab5ab5d735489ad2ce937a8153788a8eafe5a
src/main/java/io/collap/bryg/compiler/library/BasicLibrary.java
src/main/java/io/collap/bryg/compiler/library/BasicLibrary.java
package io.collap.bryg.compiler.library; import io.collap.bryg.compiler.library.html.HTMLFunctionCollection; import java.util.HashMap; import java.util.Map; public class BasicLibrary implements Library { private Map<String, Function> functions = new HashMap<> (); public BasicLibrary () { new HTMLFu...
package io.collap.bryg.compiler.library; import io.collap.bryg.compiler.library.html.HTMLFunctionCollection; import java.util.HashMap; import java.util.Map; public class BasicLibrary implements Library { private Map<String, Function> functions = new HashMap<> (); public BasicLibrary () { new HTMLFu...
Remove @Override (Should have been in the last commit).
Remove @Override (Should have been in the last commit).
Java
mit
Collap/bryg
c10b15ece320a883ef222886d7856d839fe1f288
spring-cloud-spring-service-connector/src/main/java/org/springframework/cloud/service/relational/BasicDbcpPooledDataSourceCreator.java
spring-cloud-spring-service-connector/src/main/java/org/springframework/cloud/service/relational/BasicDbcpPooledDataSourceCreator.java
package org.springframework.cloud.service.relational; import javax.sql.DataSource; import org.springframework.cloud.service.ServiceConnectorConfig; import org.springframework.cloud.service.common.RelationalServiceInfo; /** * * @author Ramnivas Laddad * @author Scott Frederick * * @param <SI> the {@link Relation...
package org.springframework.cloud.service.relational; import javax.sql.DataSource; import org.springframework.cloud.service.ServiceConnectorConfig; import org.springframework.cloud.service.common.RelationalServiceInfo; import static org.springframework.cloud.service.Util.hasClass; /** * * @author Ramnivas Laddad ...
Check that Apache Commons DBCP2 is on the classpath before trying to use it.
Check that Apache Commons DBCP2 is on the classpath before trying to use it.
Java
apache-2.0
spring-cloud/spring-cloud-connectors,spring-cloud/spring-cloud-connectors
7bc522619c7281580a8ace3ddcb48a14ac5b5567
src/org/apollo/game/event/impl/ItemOnObjectEvent.java
src/org/apollo/game/event/impl/ItemOnObjectEvent.java
package org.apollo.game.event.impl; import org.apollo.game.event.Event; import org.apollo.game.model.Position; /** * An {@link Event} sent by the client when an item is used on an object. * * @author Major */ public final class ItemOnObjectEvent extends InventoryItemEvent { /** * The object id the item was u...
package org.apollo.game.event.impl; import org.apollo.game.event.Event; import org.apollo.game.model.Position; /** * An {@link Event} sent by the client when an item is used on an object. * * @author Major */ public final class ItemOnObjectEvent extends InventoryItemEvent { /** * The object id the item was u...
Clarify parameter names in item on object event.
Clarify parameter names in item on object event.
Java
isc
garyttierney/apollo,Major-/apollo,SJ19/apollo,ryleykimmel/apollo,garyttierney/apollo,apollo-rsps/apollo,LegendSky/apollo,apollo-rsps/apollo,ryleykimmel/apollo,SJ19/apollo,LegendSky/apollo,Major-/apollo,apollo-rsps/apollo
d53f93f8652a3fedc14f4262a947dc4108b81dee
src/test/java/me/itszooti/geojson/GeoFeatureTest.java
src/test/java/me/itszooti/geojson/GeoFeatureTest.java
package me.itszooti.geojson; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.instanceOf; import static org.hamcrest.Matchers.notNullValue; import org.junit.Before; import org.junit.Test; public class GeoFeatureTest { private GeoF...
package me.itszooti.geojson; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; import static org.hamcrest.Matchers.instanceOf; import static org.hamcrest.Matchers.notNullValue; import java.util.Set; import org.junit.Before; import org.junit.Test; public class GeoFeatu...
Test for property names in GeoFeature
Test for property names in GeoFeature
Java
mit
itszootime/geojson-java
8ad49c86f8bdb0b749a8432a17f95af71bb9d9a1
components/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.api/src/main/java/org/wso2/carbon/certificate/mgt/cert/jaxrs/api/beans/EnrollmentCertificate.java
components/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.api/src/main/java/org/wso2/carbon/certificate/mgt/cert/jaxrs/api/beans/EnrollmentCertificate.java
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
Add tenant id to Enrollment Certificate
Add tenant id to Enrollment Certificate
Java
apache-2.0
sinthuja/carbon-device-mgt,rasika/carbon-device-mgt,ruwany/carbon-device-mgt,dilee/carbon-device-mgt,sameeragunarathne/carbon-device-mgt,GDLMadushanka/carbon-device-mgt,geethkokila/carbon-device-mgt,wso2/carbon-device-mgt,prithvi66/carbon-device-mgt,hasuniea/carbon-device-mgt,Jasintha/carbon-device-mgt,wso2/carbon-devi...
c5736b6d2bc99e27967d3bafaf1c6811bdf18475
classpath/src/main/java/org/springframework/roo/classpath/LocatedTypeCallback.java
classpath/src/main/java/org/springframework/roo/classpath/LocatedTypeCallback.java
package org.springframework.roo.classpath; import org.springframework.roo.classpath.details.ClassOrInterfaceTypeDetails; /** * Callback interface to process a {@link ClassOrInterfaceTypeDetails} type. * * @author Alan Stewart * @since 1.1 */ public interface LocatedTypeCallback { void process(ClassOrInterfa...
package org.springframework.roo.classpath; import org.springframework.roo.classpath.details.ClassOrInterfaceTypeDetails; /** * Callback interface to process a {@link ClassOrInterfaceTypeDetails} type. * * @author Alan Stewart * @since 1.1 */ public interface LocatedTypeCallback { /** * Callback method to p...
Create new TypeLocationService and implementation to locate java types based on the annotations a type contains - add javadoc to method
ROO-1364: Create new TypeLocationService and implementation to locate java types based on the annotations a type contains - add javadoc to method
Java
apache-2.0
rwl/requestfactory-addon