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
e9ebbcf7a77e7a60fad3b1adf58856d4de273873
src/main/java/io/github/mikesaelim/poleposition/persistence/ArticlePersistenceRepository.java
src/main/java/io/github/mikesaelim/poleposition/persistence/ArticlePersistenceRepository.java
package io.github.mikesaelim.poleposition.persistence; import org.springframework.data.jpa.repository.JpaRepository; public interface ArticlePersistenceRepository extends JpaRepository<ArticlePersistence, String> { }
package io.github.mikesaelim.poleposition.persistence; import org.springframework.data.jpa.repository.JpaRepository; import org.springframework.stereotype.Repository; @Repository public interface ArticlePersistenceRepository extends JpaRepository<ArticlePersistence, String> { }
Make IntelliJ stop crying by adding unnecessary @Repository annotation
Make IntelliJ stop crying by adding unnecessary @Repository annotation
Java
mit
mikesaelim/poleposition
5421bfe08a92e9ba0eabe99c41aba0316053649b
proctor-codegen-test/src/test/java/com/indeed/proctor/groups/TestUppercaseFirstCharacterGroups.java
proctor-codegen-test/src/test/java/com/indeed/proctor/groups/TestUppercaseFirstCharacterGroups.java
package com.indeed.proctor.groups; import junit.framework.Assert; import org.junit.Test; import static com.indeed.proctor.groups.UppercaseFirstCharacterGroups.Test.UPPERCASE_FIRST_CHARACTER_TEST; /** * */ public class TestUppercaseFirstCharacterGroups { @Test public void testUppercaseFirstCharacter() { ...
package com.indeed.proctor.groups; import junit.framework.Assert; import org.junit.Test; import static com.indeed.proctor.groups.UppercaseFirstCharacterGroups.Test.UPPERCASE_FIRST_CHARACTER_TEST; /** * Test to ensure that Proctor tests that start with an uppercase character retain an unnormalized name in the * gen...
Add a comment to explain the test
PROC-235: Add a comment to explain the test
Java
apache-2.0
indeedeng/proctor,indeedeng/proctor
b49d6bea5118c780044b7ba962f9e670eefabc98
app/src/test/java/com/mgaetan89/showsrage/fragment/ShowsSectionFragment_GetAdapterLayoutResourceTest.java
app/src/test/java/com/mgaetan89/showsrage/fragment/ShowsSectionFragment_GetAdapterLayoutResourceTest.java
package com.mgaetan89.showsrage.fragment; import com.google.gson.Gson; import com.mgaetan89.showsrage.R; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import java.util.Arrays; import java.util.Collection; import static org.assertj.core.api.Assertions.assertThat; @R...
package com.mgaetan89.showsrage.fragment; import com.mgaetan89.showsrage.R; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import java.util.Arrays; import java.util.Collection; import static org.assertj.core.api.Assertions.assertThat; @RunWith(Parameterized.class) p...
Remove unused variable and fix typo
Remove unused variable and fix typo
Java
apache-2.0
MGaetan89/ShowsRage
6d6b172d779ab3c6370ee722be0eb89a8a28d9b7
src/main/java/uk/ac/bolton/spaws/model/util/ActorFactory.java
src/main/java/uk/ac/bolton/spaws/model/util/ActorFactory.java
/* * (c) 2012 University of Bolton * * 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...
/* * (c) 2012 University of Bolton * * 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...
Check for existence of URL when parsing actor info
Check for existence of URL when parsing actor info
Java
apache-2.0
scottbw/spaws
7599124a186a5f7c614998ecde9c6fe1478fc853
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/utils/GuidUtils.java
backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/utils/GuidUtils.java
package org.ovirt.engine.api.restapi.utils; import org.ovirt.engine.core.compat.Guid; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class GuidUtils { private static final String MD5_SECURITY_ALGORITHM = "MD5"; public static Guid asGuid(String id) { try { ...
package org.ovirt.engine.api.restapi.utils; import org.ovirt.engine.core.compat.Guid; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class GuidUtils { private static final String MD5_SECURITY_ALGORITHM = "MD5"; public static Guid asGuid(String id) { try { ...
Use StringBuilder for String concatenation
restapi: Use StringBuilder for String concatenation Change-Id: Iee94056b785ef76cffafd4b2d07ae001dfab7674 Signed-off-by: Ori Liel <4fcecd40a9c0dad06aec9ecf8a7829d6470e6321@redhat.com>
Java
apache-2.0
OpenUniversity/ovirt-engine,yapengsong/ovirt-engine,zerodengxinchao/ovirt-engine,OpenUniversity/ovirt-engine,halober/ovirt-engine,yapengsong/ovirt-engine,OpenUniversity/ovirt-engine,zerodengxinchao/ovirt-engine,yapengsong/ovirt-engine,eayun/ovirt-engine,walteryang47/ovirt-engine,eayun/ovirt-engine,halober/ovirt-engine,...
9149ee0d3d32d77a70d2111365004d455c4e6ca8
core/tests/org.openhealthtools.mdht.uml.hl7.datatypes.test/src/org/openhealthtools/mdht/uml/hl7/datatypes/operations/ALLDatatypeOperationsTests.java
core/tests/org.openhealthtools.mdht.uml.hl7.datatypes.test/src/org/openhealthtools/mdht/uml/hl7/datatypes/operations/ALLDatatypeOperationsTests.java
/** * Copyright (c) 2010 IBM Corporation * 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 * * Contributors: * IBM ...
/** * Copyright (c) 2010 IBM Corporation * 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 * * Contributors: * IBM ...
Add junit ant task support
Add junit ant task support
Java
epl-1.0
vadimnehta/mdht,sarpkayanehta/mdht,sarpkayanehta/mdht,mdht/mdht,vadimnehta/mdht,mdht/mdht,drbgfc/mdht,mdht/mdht,drbgfc/mdht,drbgfc/mdht,drbgfc/mdht,mdht/mdht,drbgfc/mdht,vadimnehta/mdht,sarpkayanehta/mdht,sarpkayanehta/mdht,vadimnehta/mdht,drbgfc/mdht,sarpkayanehta/mdht,mdht/mdht,vadimnehta/mdht,vadimnehta/mdht,sarpkay...
3983639fc56eef211a32e08e3efd9f720be78742
src/test/java/com/google/sps/AuthInfoTest.java
src/test/java/com/google/sps/AuthInfoTest.java
package com.google.sps.tests; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @RunWith(JUnit4.class) public final class AuthInfoTest { @Test public void example() { Assert.assertEquals(1 + 1, 2); } }
package com.google.sps.tests; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @RunWith(JUnit4.class) public final class AuthInfoTest { @Test public void example() { // placeholder test to show that tests are evaluated Assert.assertEquals...
Add example tests to show build success
Add example tests to show build success
Java
apache-2.0
googleinterns/step27-2020,googleinterns/step27-2020,googleinterns/step27-2020
5378130dd86fa5b84a4a55f0de19fd9f64596825
src/main/java/io/elssa/net/MessageRouterBase.java
src/main/java/io/elssa/net/MessageRouterBase.java
package io.elssa.net; import java.util.ArrayList; import java.util.Collections; import java.util.List; public abstract class MessageRouterBase { private List<MessageListener> listeners = Collections.synchronizedList(new ArrayList<>()); /** * Adds a message listener (consumer) to this MessageRou...
package io.elssa.net; import java.util.ArrayList; import java.util.Collections; import java.util.List; public abstract class MessageRouterBase { private List<MessageListener> listeners = Collections.synchronizedList(new ArrayList<>()); /** * Adds a message listener (consumer) to this MessageRou...
Update message passing method visibility
Update message passing method visibility
Java
bsd-2-clause
malensek/galileo-net,malensek/elssa
42d7ed9870a5e190a246008e7c68caffac5e92ae
WahrDiscordApi/src/main/java/co/phoenixlab/discord/api/exceptions/RateLimitExceededException.java
WahrDiscordApi/src/main/java/co/phoenixlab/discord/api/exceptions/RateLimitExceededException.java
/* * The MIT License (MIT) * * Copyright (c) 2016 Vincent Zhang/PhoenixLAB * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to u...
/* * The MIT License (MIT) * * Copyright (c) 2016 Vincent Zhang/PhoenixLAB * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to u...
Add getter for retry in
Add getter for retry in
Java
mit
vincentzhang96/WahrBot
bda02e8595f960f7eccae5ebc956360202a0539a
aswb/src/com/google/idea/blaze/android/run/binary/mobileinstall/StudioDeployerExperiment.java
aswb/src/com/google/idea/blaze/android/run/binary/mobileinstall/StudioDeployerExperiment.java
/* * Copyright 2020 The Bazel Authors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright 2020 The Bazel Authors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Build android_binary targets on rabbit
BlazeApkBuildStep: Build android_binary targets on rabbit This CL implements an alternate flow for building android_binary targets that is specific to Google3/Blaze. In this iteration, it only supports building on rabbit and then deploying locally via Studio. It is only enabled in a very limited set of conditions: the...
Java
apache-2.0
bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij,bazelbuild/intellij
efcdc4659d8e0db40f99375d62eef3846532ddc7
src/java/org/dellroad/stuff/pobj/PersistentObjectValidationException.java
src/java/org/dellroad/stuff/pobj/PersistentObjectValidationException.java
/* * Copyright (C) 2012 Archie L. Cobbs. All rights reserved. * * $Id$ */ package org.dellroad.stuff.pobj; import java.util.Set; import javax.validation.ConstraintViolation; /** * Runtime exception thrown during {@link PersistentObject} operations. */ @SuppressWarnings("serial") public class PersistentObject...
/* * Copyright (C) 2012 Archie L. Cobbs. All rights reserved. * * $Id$ */ package org.dellroad.stuff.pobj; import java.util.Set; import javax.validation.ConstraintViolation; /** * Runtime exception thrown during {@link PersistentObject} operations. */ @SuppressWarnings("serial") public class PersistentObject...
Improve exception message from previous commit.
Improve exception message from previous commit.
Java
apache-2.0
archiecobbs/jsimpledb,permazen/permazen,archiecobbs/jsimpledb,tempbottle/jsimpledb,tempbottle/jsimpledb,archiecobbs/jsimpledb,permazen/permazen,permazen/permazen,tempbottle/jsimpledb
cccbf836f725605101ee1d7ae474c63ff225f379
dConnectSDK/dConnectSDKForAndroid/src/org/deviceconnect/message/intent/message/IntentDConnectMessage.java
dConnectSDK/dConnectSDKForAndroid/src/org/deviceconnect/message/intent/message/IntentDConnectMessage.java
/* IntentDConnectMessage.java Copyright (c) 2014 NTT DOCOMO,INC. Released under the MIT license http://opensource.org/licenses/mit-license.php */ package org.deviceconnect.message.intent.message; import org.deviceconnect.message.DConnectMessage; /** * メッセージ. * @author NTT DOCOMO, INC. */ public interface Inte...
/* IntentDConnectMessage.java Copyright (c) 2014 NTT DOCOMO,INC. Released under the MIT license http://opensource.org/licenses/mit-license.php */ package org.deviceconnect.message.intent.message; import org.deviceconnect.message.DConnectMessage; /** * メッセージ. * @author NTT DOCOMO, INC. */ public interface Inte...
Define new request parameters for server anti-spoofing.
Define new request parameters for server anti-spoofing.
Java
mit
TakayukiHoshi1984/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,TakayukiHoshi1984/DeviceConnect-Android,TakayukiHoshi1984/DeviceConnect-Android,TakayukiHoshi1984/DeviceConnect-Android,TakayukiHoshi1984/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,Onuzimoyr/dA...
7a22c46144a70069ce4bb1e04605ea366658bb0e
src/test/java/uk/gov/register/core/EntryTest.java
src/test/java/uk/gov/register/core/EntryTest.java
package uk.gov.register.core; import org.junit.Test; import java.time.Instant; import static org.hamcrest.Matchers.equalTo; import static org.junit.Assert.assertThat; public class EntryTest { @Test public void getTimestampAsISOFormat_returnsTheFormattedTimestamp() { Entry entry = new Entry(123, "abc",...
package uk.gov.register.core; import org.junit.Test; import java.time.Instant; import static org.hamcrest.Matchers.equalTo; import static org.junit.Assert.assertThat; public class EntryTest { @Test public void getTimestampAsISOFormat_returnsTheFormattedTimestamp() { Entry entry = new Entry(123, "abc",...
Add additional Entry test to show distinction between sha and itemhash
Add additional Entry test to show distinction between sha and itemhash
Java
mit
openregister/openregister-java,openregister/openregister-java,openregister/openregister-java,openregister/openregister-java,openregister/openregister-java
3df7dbdf22cd3c7eb669d8755b2e9e810b5154c3
de.fu_berlin.imp.apiua.groundedtheory/src/de/fu_berlin/imp/apiua/groundedtheory/handlers/CreateCodeHandler.java
de.fu_berlin.imp.apiua.groundedtheory/src/de/fu_berlin/imp/apiua/groundedtheory/handlers/CreateCodeHandler.java
package de.fu_berlin.imp.apiua.groundedtheory.handlers; import java.util.Collection; import java.util.LinkedList; import java.util.List; import org.apache.log4j.Logger; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionExceptio...
package de.fu_berlin.imp.apiua.groundedtheory.handlers; import java.util.Collection; import java.util.LinkedList; import java.util.List; import org.apache.log4j.Logger; import org.eclipse.core.commands.AbstractHandler; import org.eclipse.core.commands.ExecutionEvent; import org.eclipse.core.commands.ExecutionExceptio...
Create Code Toolbar Action repaired
[FIX] Create Code Toolbar Action repaired
Java
mit
bkahlert/api-usability-analyzer,bkahlert/api-usability-analyzer,bkahlert/api-usability-analyzer
ced52abd198ce7632fb9d67b1e027882e281a779
components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/model/policy/Pipeline.java
components/apimgt/org.wso2.carbon.apimgt.api/src/main/java/org/wso2/carbon/apimgt/api/model/policy/Pipeline.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 enabled property to pipeline
Add enabled property to pipeline
Java
apache-2.0
knPerera/carbon-apimgt,praminda/carbon-apimgt,Rajith90/carbon-apimgt,isharac/carbon-apimgt,nuwand/carbon-apimgt,lakmali/carbon-apimgt,isharac/carbon-apimgt,dewmini/carbon-apimgt,abimarank/carbon-apimgt,jaadds/carbon-apimgt,uvindra/carbon-apimgt,sanjeewa-malalgoda/carbon-apimgt,Arshardh/carbon-apimgt,abimarank/carbon-ap...
877954c7af728f76fabf3078853edffbe80239f7
src/main/Main.java
src/main/Main.java
package main; import approximation.Lagrange; /** * Main class * @author Pavel_Verkhovtsov */ public class Main { private static double[] y = {2.02, 1.98, 1.67, 1.65, 1.57, 1.42, 1.37, 1.07, 0.85, 0.48, 0.35, -0.30, -0.61, -1.2, -1.39, -1.76, -2.28, -2.81, -3.57, -4.06}; private static double[] x = {1, 2, 3, 4, ...
package main; import java.util.Scanner; import approximation.Lagrange; /** * Main class * @author Pavel_Verkhovtsov */ public class Main { private static double[] y = {2.02, 1.98, 1.67, 1.65, 1.57, 1.42, 1.37, 1.07, 0.85, 0.48, 0.35, -0.30, -0.61, -1.2, -1.39, -1.76, -2.28, -2.81, -3.57, -4.06}; private static...
Add console input approximation point
Add console input approximation point
Java
mit
VerkhovtsovPavel/BSUIR_Labs,VerkhovtsovPavel/BSUIR_Labs,VerkhovtsovPavel/BSUIR_Labs,VerkhovtsovPavel/BSUIR_Labs,VerkhovtsovPavel/BSUIR_Labs,VerkhovtsovPavel/BSUIR_Labs,VerkhovtsovPavel/BSUIR_Labs,VerkhovtsovPavel/BSUIR_Labs,VerkhovtsovPavel/BSUIR_Labs
3e56341089a5a1125dd028787f93e9404168e54e
shell-core/src/main/java/org/apache/maven/shell/core/impl/command/CommandHelpSupport.java
shell-core/src/main/java/org/apache/maven/shell/core/impl/command/CommandHelpSupport.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
Disable clover for help support
Disable clover for help support
Java
apache-2.0
jdillon/gshell,jdillon/gshell,jdillon/gshell,jdillon/gshell
bd52a6a0c62c2b91324c4519a68fde26020c3d07
src/main/java/com/googlesource/gerrit/plugins/reviewersbyblame/ReviewersByBlameModule.java
src/main/java/com/googlesource/gerrit/plugins/reviewersbyblame/ReviewersByBlameModule.java
// Copyright (C) 2013 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
// Copyright (C) 2013 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
Allow to set maxReviewers on a project from the WebUI
Allow to set maxReviewers on a project from the WebUI Change-Id: I8c3d9d7659b935652004fad29c22b23a6326d2d0 Signed-off-by: Edwin Kempin <b444e279ad95fdef4fbdd82c813b624595df204a@sap.com>
Java
apache-2.0
GerritCodeReview/plugins_reviewers-by-blame
8ca4437691459b8d743bc02b99ade3b37cbb324d
biojava-structure/src/main/java/org/biojava/nbio/structure/align/quaternary/QsAlignParameters.java
biojava-structure/src/main/java/org/biojava/nbio/structure/align/quaternary/QsAlignParameters.java
package org.biojava.nbio.structure.align.quaternary; /** * The parameter bean for the {@link QsAlign} algorithm. * * @author Aleix Lafita * @since 5.0.0 * */ public class QsAlignParameters { private double dCutoff = 10.0; /** * The maximum allowed distance between the centroids of two equivalent * Subun...
package org.biojava.nbio.structure.align.quaternary; /** * The parameter bean for the {@link QsAlign} algorithm. * * @author Aleix Lafita * @since 5.0.0 * */ public class QsAlignParameters { private double dCutoff = 10.0; private double maxRmsd = 7.0; private double minOrientationMetric = Math.PI / 8; // 45...
Add more parameters for QsAlign
Add more parameters for QsAlign
Java
lgpl-2.1
lafita/biojava,emckee2006/biojava,pwrose/biojava,lafita/biojava,heuermh/biojava,lafita/biojava,andreasprlic/biojava,biojava/biojava,biojava/biojava,pwrose/biojava,andreasprlic/biojava,heuermh/biojava,andreasprlic/biojava,sbliven/biojava-sbliven,sbliven/biojava-sbliven,heuermh/biojava,sbliven/biojava-sbliven,biojava/bio...
7118cdd71d48ad7bf06ec039a0e8e9b31b73f9ff
demos/twa-play-billing/src/main/java/com/google/androidbrowserhelper/demos/playbilling/MainActivity.java
demos/twa-play-billing/src/main/java/com/google/androidbrowserhelper/demos/playbilling/MainActivity.java
// Copyright 2020 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
// Copyright 2020 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
Add demo app version code to launch URL.
Add demo app version code to launch URL.
Java
apache-2.0
GoogleChrome/android-browser-helper,GoogleChrome/android-browser-helper
420a56f2cfa5b87a47b55b2836ea15db4dc76f3d
BraintreeApi/src/main/java/com/braintreepayments/api/exceptions/AppSwitchNotAvailableException.java
BraintreeApi/src/main/java/com/braintreepayments/api/exceptions/AppSwitchNotAvailableException.java
package com.braintreepayments.api.exceptions; public class AppSwitchNotAvailableException extends BraintreeException { }
package com.braintreepayments.api.exceptions; /** * Error class thrown when app switch to the corresponding wallet is not possible */ public class AppSwitchNotAvailableException extends BraintreeException { }
Add comment to exception class
Add comment to exception class
Java
mit
marviktintor/braintree_android,marviktintor/braintree_android,subrodrigues/braintree_android,marviktintor/braintree_android,braintree/braintree_android,vignesh380/braintree_android,cardinalblue/braintree_android,cardinalblue/braintree_android,braintree/braintree_android,subrodrigues/braintree_android,subrodrigues/brain...
ce0afe74b001c76d57449f5deb0a525df36b9756
benchmarks/benchmark-file-output/src/main/java/org/tinylog/benchmarks/file/LogFileState.java
benchmarks/benchmark-file-output/src/main/java/org/tinylog/benchmarks/file/LogFileState.java
package org.tinylog.benchmarks.file; import java.io.IOException; import java.nio.file.Path; import org.openjdk.jmh.annotations.Param; import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.annotations.State; import org.tinylog.impl.writers.file.LogFile; /** * State for writing strings by using {@link LogF...
package org.tinylog.benchmarks.file; import java.io.IOException; import java.nio.file.Path; import org.openjdk.jmh.annotations.Param; import org.openjdk.jmh.annotations.Scope; import org.openjdk.jmh.annotations.State; import org.tinylog.impl.writers.file.LogFile; /** * State for writing strings by using {@link LogF...
Fix writing strings in FileOutputBenchmark via FileLogState
Fix writing strings in FileOutputBenchmark via FileLogState
Java
apache-2.0
pmwmedia/tinylog,pmwmedia/tinylog
2115441593e7f773fcb43d59aa7e575fbc1888f6
app/src/main/java/de/fau/amos/virtualledger/android/views/savings/AddSavingsAccountPagerAdapter.java
app/src/main/java/de/fau/amos/virtualledger/android/views/savings/AddSavingsAccountPagerAdapter.java
package de.fau.amos.virtualledger.android.views.savings; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; public class AddSavingsAccountPagerAdapter extends FragmentPagerAdapter { public AddSavingsAccountPagerAdapter(final...
package de.fau.amos.virtualledger.android.views.savings; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; public class AddSavingsAccountPagerAdapter extends FragmentPagerAdapter { public AddSavingsAccountPagerAdapter(final...
Use name fragment as only fragment in pager adapter for now
Use name fragment as only fragment in pager adapter for now
Java
apache-2.0
BankingBoys/amos-ss17-proj7,BankingBoys/amos-ss17-proj7
152eb8c5abdddcfdc9c16e2cac0cff834fb392cf
SingularityExecutor/src/main/java/com/hubspot/singularity/executor/config/SingularityExecutorLogrotateAdditionalFile.java
SingularityExecutor/src/main/java/com/hubspot/singularity/executor/config/SingularityExecutorLogrotateAdditionalFile.java
package com.hubspot.singularity.executor.config; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.base.Optional; import com.hubspot.singularity.executor.SingularityExecutorLogrotateFrequency; public class SingularityExecutorLogrotateAd...
package com.hubspot.singularity.executor.config; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonProperty; import com.google.common.base.Optional; import com.hubspot.singularity.executor.SingularityExecutorLogrotateFrequency; public class SingularityExecutorLogrotateAd...
Make parameters final that can be made final.
Make parameters final that can be made final.
Java
apache-2.0
HubSpot/Singularity,hs-jenkins-bot/Singularity,HubSpot/Singularity,hs-jenkins-bot/Singularity,HubSpot/Singularity,hs-jenkins-bot/Singularity,hs-jenkins-bot/Singularity,HubSpot/Singularity,HubSpot/Singularity,hs-jenkins-bot/Singularity
7b325d1cb5c2f35d307eb51db0c0ea21b6c4cdc2
lenskit-eval/src/main/java/org/grouplens/lenskit/util/tablewriter/MultiplexedTableWriter.java
lenskit-eval/src/main/java/org/grouplens/lenskit/util/tablewriter/MultiplexedTableWriter.java
package org.grouplens.lenskit.util.tablewriter; import java.io.IOException; import java.util.Arrays; import java.util.List; import org.grouplens.lenskit.eval.util.table.TableImpl; public class MultiplexedTableWriter implements TableWriter { private TableLayout layout; private List<TableWriter> writers; public ...
package org.grouplens.lenskit.util.tablewriter; import java.io.IOException; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class MultiplexedTableWriter implements TableWriter { private TableLayout layout; private List<TableWriter> writers; public MultiplexedTableWriter(TableL...
Fix closing of multiplexed table writer to close all constituent table writers in presence of exceptions
Fix closing of multiplexed table writer to close all constituent table writers in presence of exceptions
Java
lgpl-2.1
martinlaz/lenskit,kluver/lenskit,vijayvani/Lenskit,blankazucenalg/lenskit,vaibhav345/lenskit,aglne/lenskit,linjunleo/lenskit,kluver/lenskit,tajinder-txstate/lenskit,chrysalag/lenskit,binweiwu/lenskit,binweiwu/lenskit,blankazucenalg/lenskit,vaibhav345/lenskit,martinlaz/lenskit,tajinder-txstate/lenskit,tajinder-txstate/l...
e261cdcbd49aa89c89c8c9bf389d7c4d885dc5f6
config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/DefaultMetricsConsumer.java
config-model/src/main/java/com/yahoo/vespa/model/admin/monitoring/DefaultMetricsConsumer.java
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.model.admin.monitoring; import com.google.common.collect.ImmutableList; import static com.yahoo.vespa.model.admin.monitoring.NetworkMetrics.networkMetricSet; import static com...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.model.admin.monitoring; import ai.vespa.metricsproxy.core.VespaMetrics; import com.google.common.collect.ImmutableList; import static com.yahoo.vespa.model.admin.monitoring.Ne...
Use string constant from metrics-proxy to avoid duplication.
Use string constant from metrics-proxy to avoid duplication.
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
f7d1e4b26138ee51a34528d70a667f71cd1f73d0
inventory-client/src/test/java/name/webdizz/fault/tolerance/inventory/client/command/TimeOutInventoryRequestCommandTest.java
inventory-client/src/test/java/name/webdizz/fault/tolerance/inventory/client/command/TimeOutInventoryRequestCommandTest.java
package name.webdizz.fault.tolerance.inventory.client.command; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; import static name.webdizz.fault.tolerance.inventory.client.InventoryApiTestConstants.DEFAULT_PRODUCT; import static name.webdizz.fault.tolerance.inventory.client.InventoryAp...
package name.webdizz.fault.tolerance.inventory.client.command; import static org.hamcrest.core.Is.is; import static org.junit.Assert.assertThat; import static name.webdizz.fault.tolerance.inventory.client.InventoryApiTestConstants.DEFAULT_PRODUCT; import static name.webdizz.fault.tolerance.inventory.client.InventoryAp...
Enhance readability of time out command test
Enhance readability of time out command test
Java
apache-2.0
webdizz/fault-tolerance-talk
d8be47455e805e62bd6d635d57bd76a4afd84735
cas-server-core-configuration/src/main/java/org/apereo/cas/configuration/model/core/web/security/AdminPagesSecurityProperties.java
cas-server-core-configuration/src/main/java/org/apereo/cas/configuration/model/core/web/security/AdminPagesSecurityProperties.java
package org.apereo.cas.configuration.model.core.web.security; import org.springframework.core.io.Resource; /** * This is {@link AdminPagesSecurityProperties}. * * @author Misagh Moayyed * @since 5.0.0 */ public class AdminPagesSecurityProperties { private String ip = "127\\.0\\.0\\.1"; private String a...
package org.apereo.cas.configuration.model.core.web.security; import org.springframework.core.io.Resource; /** * This is {@link AdminPagesSecurityProperties}. * * @author Misagh Moayyed * @since 5.0.0 */ public class AdminPagesSecurityProperties { private String ip = "127\\.0\\.0\\.1|0:0:0:0:0:0:0:1"; ...
Support ipv6 for status endpoint security
Support ipv6 for status endpoint security
Java
apache-2.0
Unicon/cas,GIP-RECIA/cas,tduehr/cas,doodelicious/cas,William-Hill-Online/cas,frett/cas,GIP-RECIA/cas,prigaux/cas,petracvv/cas,pmarasse/cas,gabedwrds/cas,dodok1/cas,William-Hill-Online/cas,gabedwrds/cas,rrenomeron/cas,prigaux/cas,gabedwrds/cas,dodok1/cas,pmarasse/cas,creamer/cas,robertoschwald/cas,petracvv/cas,frett/cas...
e1032761ed78ede17fd32f3353de3998d6389358
src/main/java/net/sf/taverna/t2/activities/beanshell/servicedescriptions/BeanshellTemplateService.java
src/main/java/net/sf/taverna/t2/activities/beanshell/servicedescriptions/BeanshellTemplateService.java
package net.sf.taverna.t2.activities.beanshell.servicedescriptions; import javax.swing.Icon; import net.sf.taverna.t2.activities.beanshell.BeanshellActivity; import net.sf.taverna.t2.activities.beanshell.BeanshellActivityConfigurationBean; import net.sf.taverna.t2.servicedescriptions.AbstractTemplateService; import n...
package net.sf.taverna.t2.activities.beanshell.servicedescriptions; import java.net.URI; import javax.swing.Icon; import net.sf.taverna.t2.activities.beanshell.BeanshellActivity; import net.sf.taverna.t2.activities.beanshell.BeanshellActivityConfigurationBean; import net.sf.taverna.t2.servicedescriptions.AbstractTem...
Fix for T2-674: Hardcoded default locations. System default configurable providers are now read from a file in Taverna startup/conf directory. Failing that - they are read from a hard coded list. User can now import and export services from such files as well.
Fix for T2-674: Hardcoded default locations. System default configurable providers are now read from a file in Taverna startup/conf directory. Failing that - they are read from a hard coded list. User can now import and export services from such files as well. git-svn-id: 2b4c7ad77658e4b3615e54128c4b6795c159dfbb@10041...
Java
apache-2.0
apache/incubator-taverna-workbench-common-activities
099aa79ca167f5d0842f03130a3237809be305dc
extensions/hibernate-validator/deployment/src/test/java/io/quarkus/hibernate/validator/test/config/ConfigMappingValidatorTest.java
extensions/hibernate-validator/deployment/src/test/java/io/quarkus/hibernate/validator/test/config/ConfigMappingValidatorTest.java
package io.quarkus.hibernate.validator.test.config; import static org.junit.jupiter.api.Assertions.assertThrows; import javax.inject.Inject; import javax.validation.constraints.Max; import org.eclipse.microprofile.config.Config; import org.jboss.shrinkwrap.api.ShrinkWrap; import org.jboss.shrinkwrap.api.asset.String...
package io.quarkus.hibernate.validator.test.config; import static org.junit.jupiter.api.Assertions.assertThrows; import javax.inject.Inject; import javax.validation.constraints.Max; import org.eclipse.microprofile.config.Config; import org.jboss.shrinkwrap.api.ShrinkWrap; import org.jboss.shrinkwrap.api.asset.String...
Rename test configuration property names clashing with maven deploy
Rename test configuration property names clashing with maven deploy
Java
apache-2.0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
1fda181cafced94cf779ba107b441ddf5eb15454
swift-codec/src/test/java/com/facebook/swift/codec/internal/compiler/TestCompilerThriftCodecFactory.java
swift-codec/src/test/java/com/facebook/swift/codec/internal/compiler/TestCompilerThriftCodecFactory.java
/* * Copyright (C) 2012 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 agr...
/* * Copyright (C) 2012 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 agr...
Add missing @Test annotation to test class
Add missing @Test annotation to test class
Java
apache-2.0
bgould/swift,karryoberes/swift,electrum/drift,electrum/swift,glybuaa/swift,facebook/swift,dain/drift,dain/swift,rojanu/swift,adriancole/swift,rojanu/swift,glybuaa/swift,coderczp/swift,dain/swift,andrewcox/swift,adriancole/swift,facebook/swift,karryoberes/swift,airlift/drift,coderczp/swift,andrewcox/swift,electrum/swift...
8af9bdd2a7ec8321e0d1783827e307c3bd7ead9d
mobile/src/main/java/com/alexstyl/specialdates/events/namedays/calendar/resource/NamedayJSONResourceProvider.java
mobile/src/main/java/com/alexstyl/specialdates/events/namedays/calendar/resource/NamedayJSONResourceProvider.java
package com.alexstyl.specialdates.events.namedays.calendar.resource; import com.alexstyl.specialdates.events.namedays.NamedayLocale; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; class NamedayJSONResourceProvider { private final NamedayJSONResourceLoader loader; priva...
package com.alexstyl.specialdates.events.namedays.calendar.resource; import com.alexstyl.specialdates.events.namedays.NamedayLocale; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; class NamedayJSONResourceProvider { private static final JSONArray EMPTY = new JSONArray(); ...
Mark empty object as static
Mark empty object as static
Java
mit
alexstyl/Memento-Calendar,alexstyl/Memento-Namedays,alexstyl/Memento-Calendar,alexstyl/Memento-Calendar,alexstyl/Memento-Namedays,auricgoldfinger/Memento-Namedays,auricgoldfinger/Memento-Namedays
ee037879e96f9029ec3d401ca6b873d786e24338
utils/src/main/groovy/uk/ac/ox/ndm/grails/utils/databinding/DataBindingSourceCreatorHelper.java
utils/src/main/groovy/uk/ac/ox/ndm/grails/utils/databinding/DataBindingSourceCreatorHelper.java
package uk.ac.ox.ndm.grails.utils.databinding; import java.util.Map; /** * @since 19/01/2016 */ public interface DataBindingSourceCreatorHelper { Object checkDataBindingSourceMap(Map<String, ?> dataBindingSourceMap, Class bindingTargetType); }
package uk.ac.ox.ndm.grails.utils.databinding; import java.util.List; import java.util.Map; /** * @since 19/01/2016 */ public interface DataBindingSourceCreatorHelper { Map convertBindingTargetTypeListToMap(List<Object> dataList, Class bindingTargetType); Boolean convertsBindingTargetTypeListsToMap(Class ...
Add handling methds to the databinder helper interface
Add handling methds to the databinder helper interface * boolean methods for whether it handles the class to speed up searching * handles list to map conversions as well
Java
apache-2.0
olliefreeman/grails-utils,olliefreeman/grails-utils
ac4e7ed113f5b01618677112bb57a00d56b53551
samples/src/java/org/jpox/samples/types/color/ColorHolder.java
samples/src/java/org/jpox/samples/types/color/ColorHolder.java
/********************************************************************** Copyright (c) 2005 Erik Bengtson and others. 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/l...
/********************************************************************** Copyright (c) 2005 Erik Bengtson and others. 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/l...
Add "id" so usable with JPA or JDO application-identity
Add "id" so usable with JPA or JDO application-identity
Java
apache-2.0
datanucleus/tests,datanucleus/tests,datanucleus/tests,datanucleus/tests,datanucleus/tests
2f7b46884fabbf68cb4e61430088b9e10400a492
gravitee-gateway-reactor/src/main/java/io/gravitee/gateway/reactor/handler/transaction/TransactionHandlerFactory.java
gravitee-gateway-reactor/src/main/java/io/gravitee/gateway/reactor/handler/transaction/TransactionHandlerFactory.java
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
Set default header for transaction handler
fix: Set default header for transaction handler
Java
apache-2.0
gravitee-io/gateway,gravitee-io/gateway,gravitee-io/gravitee-gateway,gravitee-io/gravitee-gateway
039b0047d68dbb48ce3d7da24bed46a954ebf4ef
core/src/main/java/tripleplay/flump/PlayMovie.java
core/src/main/java/tripleplay/flump/PlayMovie.java
// // Triple Play - utilities for use in PlayN-based games // Copyright (c) 2011-2013, Three Rings Design, Inc. - All rights reserved. // http://github.com/threerings/tripleplay/blob/master/LICENSE package tripleplay.flump; import tripleplay.anim.Animation; /** Plays through an entire movie once. */ public class Pla...
// // Triple Play - utilities for use in PlayN-based games // Copyright (c) 2011-2013, Three Rings Design, Inc. - All rights reserved. // http://github.com/threerings/tripleplay/blob/master/LICENSE package tripleplay.flump; import tripleplay.anim.Animation; /** Plays a movie until it ends. */ public class PlayMovie ...
Use paint() instead of setPosition() here.
Use paint() instead of setPosition() here. setPosition() doesn't work nicely with nested movies. Should probably fix that.
Java
bsd-3-clause
joansmith/tripleplay,tomfisher/tripleplay,joansmith/tripleplay,tomfisher/tripleplay,tomfisher/tripleplay,tomfisher/tripleplay,joansmith/tripleplay,tomfisher/tripleplay,joansmith/tripleplay,joansmith/tripleplay
22fe422e08032ddf65408473a7737b151a262cf1
assignment2/src/assignment2/PerfectBinTree.java
assignment2/src/assignment2/PerfectBinTree.java
package assignment2; import be.ac.ua.ansymo.adbc.annotations.invariant; @invariant("$this.sameHeight() == true") public class PerfectBinTree extends FullBinTree { public PerfectBinTree(long id) { super(id); } public boolean sameHeight() { int leftHeight = (this.getLeft() != null) ? this.getLeft().height() : ...
package assignment2; import be.ac.ua.ansymo.adbc.annotations.invariant; @invariant({"$super", "$this.sameHeight() == true"}) public class PerfectBinTree extends FullBinTree { public PerfectBinTree(long id) { super(id); } public boolean sameHeight() { int leftHeight = (this.getLeft() != null) ? this.getLeft()...
Enforce the invariant contraints of the parent.
Enforce the invariant contraints of the parent.
Java
unlicense
alanly/soen331,alanly/soen331,alanly/soen331,alanly/soen331
500d751126ad40edcbc7724cb56b911dea6b89c7
Project9-HabitTracker/app/src/main/java/com/example/georgekaraolanis/project9_habittracker/MainActivity.java
Project9-HabitTracker/app/src/main/java/com/example/georgekaraolanis/project9_habittracker/MainActivity.java
package com.example.georgekaraolanis.project9_habittracker; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class MainActivity extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setCo...
package com.example.georgekaraolanis.project9_habittracker; import android.content.ContentValues; import android.database.sqlite.SQLiteDatabase; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.util.Log; import com.example.georgekaraolanis.project9_habittracker.data.HabitContr...
Add method to insert data into database
Project9: Add method to insert data into database
Java
mit
Shalantor/Android-Basics-Nanodegree-Udacity
13a87ac1d83d1a38d83cd4cb580dfca75056fd52
OpERP/src/main/java/devopsdistilled/operp/client/items/controllers/CreateItemPaneController.java
OpERP/src/main/java/devopsdistilled/operp/client/items/controllers/CreateItemPaneController.java
package devopsdistilled.operp.client.items.controllers; import devopsdistilled.operp.client.abstracts.SubTaskPaneController; import devopsdistilled.operp.server.data.entity.items.Item; public interface CreateItemPaneController extends SubTaskPaneController { void validate(Item item); }
package devopsdistilled.operp.client.items.controllers; import devopsdistilled.operp.client.abstracts.SubTaskPaneController; import devopsdistilled.operp.client.items.exceptions.ItemNameExistsException; import devopsdistilled.operp.client.items.exceptions.ProductBrandPairExistsException; import devopsdistilled.operp.s...
Append throws clause to validate() declaration
Append throws clause to validate() declaration OPEN - task 32: Add "Create Item" functionalities http://github.com/DevOpsDistilled/OpERP/issues/issue/32
Java
mit
DevOpsDistilled/OpERP,njmube/OpERP
c71ffebe5d9079db233a4d9d07c3b0686dae95a2
plugins/lombok/src/test/java/de/plushnikov/intellij/plugin/inspection/BuilderInspectionTest.java
plugins/lombok/src/test/java/de/plushnikov/intellij/plugin/inspection/BuilderInspectionTest.java
package de.plushnikov.intellij.plugin.inspection; import com.intellij.codeInspection.InspectionProfileEntry; public class BuilderInspectionTest extends LombokInspectionTest { @Override protected String getTestDataPath() { return TEST_DATA_INSPECTION_DIRECTORY + "/builder"; } @Override protected Inspec...
package de.plushnikov.intellij.plugin.inspection; import com.intellij.codeInspection.InspectionProfileEntry; public class BuilderInspectionTest extends LombokInspectionTest { @Override protected String getTestDataPath() { return TEST_DATA_INSPECTION_DIRECTORY + "/builder"; } @Override protected Inspec...
Remove todo because it is implemented now
Remove todo because it is implemented now GitOrigin-RevId: c3086ef8f503559f6f3c54aead0d2a526538fc5b
Java
apache-2.0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
3f2bee235dff5ae0f092624491d791b9589c09cc
app/src/main/java/br/com/alura/agenda/tasks/InsereAlunoTask.java
app/src/main/java/br/com/alura/agenda/tasks/InsereAlunoTask.java
package br.com.alura.agenda.tasks; import android.os.AsyncTask; import br.com.alura.agenda.converter.AlunoConverter; import br.com.alura.agenda.modelo.Aluno; import br.com.alura.agenda.web.WebClient; public class InsereAlunoTask extends AsyncTask { private final Aluno aluno; public InsereAlunoTask(Aluno alu...
package br.com.alura.agenda.tasks; import android.os.AsyncTask; import br.com.alura.agenda.converter.AlunoConverter; import br.com.alura.agenda.modelo.Aluno; import br.com.alura.agenda.web.WebClient; public class InsereAlunoTask extends AsyncTask { private final Aluno aluno; public InsereAlunoTask(Aluno alu...
Add call to WebClient on insert student AsyncTask
Add call to WebClient on insert student AsyncTask
Java
mit
filipe1309/android-student-agenda
e547e45c7c45b8960c78ff9ccde2e9ebf51550e0
Android/Sample/app/src/main/java/net/wequick/example/small/Application.java
Android/Sample/app/src/main/java/net/wequick/example/small/Application.java
package net.wequick.example.small; import net.wequick.small.Small; /** * Created by galen on 15/11/3. */ public class Application extends android.app.Application { @Override public void onCreate() { super.onCreate(); Small.setBaseUri("http://m.wequick.net/demo/"); } }
package net.wequick.example.small; import net.wequick.small.Small; /** * Created by galen on 15/11/3. */ public class Application extends android.app.Application { @Override public void onCreate() { super.onCreate(); // Options Small.setBaseUri("http://m.wequick.net/demo/"); ...
Add Small.preSetUp to sample application
Add Small.preSetUp to sample application
Java
apache-2.0
wequick/Small,sailor1861/small_debug,zhaoya188/Small,zhaoya188/Small,zhaoya188/Small,wequick/Small,wequick/Small,zhaoya188/Small,sailor1861/small_debug,wequick/Small,wequick/Small,sailor1861/small_debug,wu4321/Small,wu4321/Small,sailor1861/small_debug,wu4321/Small,wu4321/Small
66d5259712e7acfcb0c459710f15a8820b8c28dc
android/src/main/java/ca/jaysoo/extradimensions/ExtraDimensionsPackage.java
android/src/main/java/ca/jaysoo/extradimensions/ExtraDimensionsPackage.java
package ca.jaysoo.extradimensions; 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.Arrays; import java.u...
package ca.jaysoo.extradimensions; 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.Arrays; import java.u...
Add support for RN 0.55
Add support for RN 0.55
Java
isc
jaysoo/react-native-extra-dimensions-android,jaysoo/react-native-extra-dimensions-android,Sunhat/react-native-extra-dimensions-android,Sunhat/react-native-extra-dimensions-android
648612833f39581956730a193cf8474d6049ee2d
spring-content-rest/src/main/java/internal/org/springframework/content/rest/utils/DomainObjectUtils.java
spring-content-rest/src/main/java/internal/org/springframework/content/rest/utils/DomainObjectUtils.java
package internal.org.springframework.content.rest.utils; import org.springframework.content.commons.utils.BeanUtils; public final class DomainObjectUtils { private DomainObjectUtils() {} public static final Object getId(Object entity) { if (BeanUtils.hasFieldWithAnnotation(entity, javax.persistence...
package internal.org.springframework.content.rest.utils; import org.springframework.content.commons.utils.BeanUtils; public final class DomainObjectUtils { private static boolean JAVAX_PERSISTENCE_ID_CLASS_PRESENT = false; static { try { JAVAX_PERSISTENCE_ID_CLASS_PRESENT = DomainObjectU...
Add class check before attempting to find javax.persistence.Id annotation
Add class check before attempting to find javax.persistence.Id annotation
Java
apache-2.0
paulcwarren/spring-content,paulcwarren/spring-content,paulcwarren/spring-content
059836412f81a9c86efde9ee09affdcc61e3ec86
protocols/valve/source/query/src/main/java/com/ibasco/agql/protocols/valve/source/query/message/SourceQueryAuthRequest.java
protocols/valve/source/query/src/main/java/com/ibasco/agql/protocols/valve/source/query/message/SourceQueryAuthRequest.java
/* * Copyright 2022-2022 Asynchronous Game Query Library * * 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 (c) 2022 Asynchronous Game Query Library * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
Set autoUpdate to true if challenge is null
Set autoUpdate to true if challenge is null Signed-off-by: Rafael Luis Ibasco <80d89b34d8cf04643e39f61fb924744a8cfa1566@gmail.com>
Java
apache-2.0
ribasco/async-gamequery-lib,ribasco/async-gamequery-lib
75b3f983e7457c87e55b9e3ca6b06a511b5a257e
publisher-provider/publisher-provider-app/src/main/java/nl/idgis/publisher/provider/database/messages/DatabaseColumnInfo.java
publisher-provider/publisher-provider-app/src/main/java/nl/idgis/publisher/provider/database/messages/DatabaseColumnInfo.java
package nl.idgis.publisher.provider.database.messages; import java.io.Serializable; import nl.idgis.publisher.domain.service.Type; public class DatabaseColumnInfo implements Serializable { private static final long serialVersionUID = 8052868017910750424L; private final String name; private final S...
package nl.idgis.publisher.provider.database.messages; import java.io.Serializable; import nl.idgis.publisher.domain.service.Type; public class DatabaseColumnInfo implements Serializable { private static final long serialVersionUID = 8052868017910750424L; private final String name; private final S...
Add timestamp to types column info
Add timestamp to types column info
Java
lgpl-2.1
IDgis/geo-publisher,IDgis/geo-publisher,IDgis/geo-publisher,IDgis/geo-publisher
896994488fa84eea3a8d0d431def7e4b9e808839
src/main/java/co/vorobyev/exitsign/ExitStatus.java
src/main/java/co/vorobyev/exitsign/ExitStatus.java
/* Copyright 2015 Anton Vorobyev Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
/* Copyright 2015 Anton Vorobyev Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
Remove synonyms of primitive statuses
Remove synonyms of primitive statuses Refers #1
Java
apache-2.0
antonvorobyev/exitsign
9ebc9c08678a0ae03d2960469d1c1c85cbf3b2d2
src/test/java/org/kohsuke/github/AbstractGitHubApiTestBase.java
src/test/java/org/kohsuke/github/AbstractGitHubApiTestBase.java
package org.kohsuke.github; import org.junit.Assert; import org.junit.Before; import org.kohsuke.randname.RandomNameGenerator; import java.io.File; /** * @author Kohsuke Kawaguchi */ public abstract class AbstractGitHubApiTestBase extends Assert { protected GitHub gitHub; @Before public void setUp() ...
package org.kohsuke.github; import org.junit.Assert; import org.junit.Before; import org.kohsuke.randname.RandomNameGenerator; import java.io.File; /** * @author Kohsuke Kawaguchi */ public abstract class AbstractGitHubApiTestBase extends Assert { protected GitHub gitHub; @Before public void setUp() ...
Use FAIL rate-limit handler for tests
Use FAIL rate-limit handler for tests Should avoid possible Thread.sleep() for tests execution.
Java
mit
Shredder121/github-api,marc-guenther/github-api,if6was9/github-api,Sampson91/github-api,jeffnelson/github-api,PankajHingane-REISysIn/KnowledgeArticleExportImport,torodev/github-api,hanjianfei1/github-api,stephenc/github-api,pomes/github-api,oleg-nenashev/github-api,kohsuke/github-api,mmitche/github-api,dblevins/github-...
7044e24f83b3afa4a40740dd0d8c1ba3937d51f1
rsa-algorithm/src/IOOperations.java
rsa-algorithm/src/IOOperations.java
/** * Project RSA Algorithm. * Copyright Michał Szczygieł. * Created at Feb 25, 2014. */ /** * * This class is responsible for safe operations on files. This class contatin * the basic input/output operations. * * @author Michał Szczygieł <michal.szczygiel@wp.pl> * */ public class IOOperations { }
import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; /** * Project RSA Algorithm. * Copyright Michał Szczygieł. * Created at Feb 25, 2014. */ /** * * This ...
Add method for read and write file
Add method for read and write file
Java
mit
M4GiK/tosi-projects,M4GiK/tosi-projects
9a076b2a402c481dbf3717dde1bcac51c3af67ec
transactions/transactions-war/src/it/java/org/wildfly/swarm/it/transactions/TransactionsApplicationIT.java
transactions/transactions-war/src/it/java/org/wildfly/swarm/it/transactions/TransactionsApplicationIT.java
package org.wildfly.swarm.it.transactions; import org.jboss.arquillian.drone.api.annotation.Drone; import org.jboss.arquillian.junit.Arquillian; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; import org.wildfly.swarm.it.AbstractIntegrationTest; import static org.fest.ass...
package org.wildfly.swarm.it.transactions; import org.jboss.arquillian.drone.api.annotation.Drone; import org.jboss.arquillian.junit.Arquillian; import org.junit.Test; import org.junit.runner.RunWith; import org.openqa.selenium.WebDriver; import org.wildfly.swarm.it.AbstractIntegrationTest; import static org.fest.ass...
Modify Transactions tests into a single ordered test, as ordering of separate test methods is unpredictable
Modify Transactions tests into a single ordered test, as ordering of separate test methods is unpredictable
Java
apache-2.0
mstahv/wildfly-swarm-examples,emag/wildfly-swarm-examples,wildfly-swarm/wildfly-swarm-examples,wildfly-swarm/wildfly-swarm-examples,emag/wildfly-swarm-examples,wildfly-swarm/wildfly-swarm-examples,wildfly-swarm/wildfly-swarm-examples,mstahv/wildfly-swarm-examples,wildfly-swarm/wildfly-swarm-examples,emag/wildfly-swarm-...
0721c40d29fe81162468865b4d7feabcf1b754c7
cs106a-stanford/SectionAssignment2/Fibonacci.java
cs106a-stanford/SectionAssignment2/Fibonacci.java
public class Fibonacci { private static final int MAX_TERM_VALUE = 10000; public static void main(String[] args) { System.out.println("This program lists the Fibonacci sequence."); int prevTerm = 0; int term = 0; while (term < MAX_TERM_VALUE) { System.out.println(t...
public class Fibonacci { private static final int MAX_TERM_VALUE = 10000; public static void main(String[] args) { System.out.println("This program lists the Fibonacci sequence."); int term1 = 0; int term2 = 1; while (term1 < MAX_TERM_VALUE) { System.out.println(te...
Refactor section assigment 2 problem 1
Refactor section assigment 2 problem 1
Java
mit
bmaupin/coursework,bmaupin/coursework
981f133f55d1a02f044fe2c45596262727fc3eec
com.sap.core.odata.processor.api/src/main/java/com/sap/core/odata/processor/api/jpa/model/mapping/package-info.java
com.sap.core.odata.processor.api/src/main/java/com/sap/core/odata/processor/api/jpa/model/mapping/package-info.java
@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.sap.com/core/odata/processor/api/jpa/model/mapping", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED) package com.sap.core.odata.processor.api.jpa.model.mapping;
/** * <h3>OData JPA Processor API Library - Mapping Model</h3> * The JPA EDM Mapping model (XML document) is represented as JAXB annotated Java Classes. * * @author SAP AG */ @javax.xml.bind.annotation.XmlSchema(namespace = "http://www.sap.com/core/odata/processor/api/jpa/model/mapping", elementFormDefault ...
Package Info for Mapping Model
Package Info for Mapping Model Change-Id: Iff30ddccf0922da06178016e5a8ba842b6a02574 Signed-off-by: Chandan V A <bd0fd086b01161f47f837a6342dc5514038ba6c8@sap.com>
Java
apache-2.0
SAP/cloud-odata-java,SAP/cloud-odata-java
5184265501ae743d3087352dbeb229bcfcdfe17a
projects/OG-Web/src/main/java/com/opengamma/web/server/push/analytics/formatting/HistoricalTimeSeriesFormatter.java
projects/OG-Web/src/main/java/com/opengamma/web/server/push/analytics/formatting/HistoricalTimeSeriesFormatter.java
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.web.server.push.analytics.formatting; import com.opengamma.core.historicaltimeseries.HistoricalTimeSeries; import com.opengamma.engine.value.ValueSpecification...
/** * Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.web.server.push.analytics.formatting; import com.opengamma.core.historicaltimeseries.HistoricalTimeSeries; import com.opengamma.engine.value.ValueSpecification...
Tweak to time series formatting
[PLAT-2785] Tweak to time series formatting
Java
apache-2.0
jeorme/OG-Platform,McLeodMoores/starling,McLeodMoores/starling,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,ChinaQuants/OG-Platform,ChinaQuants/OG-Platform,DevStreet/FinanceAnalytics,ChinaQuants/OG-Platform,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,nssales/OG-Platform,jeorme/OG-Platform,DevStreet/FinanceAnal...
30dc46288b4f9c0ff2e9a549df583f814effbef7
core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OStorageInterruptionManager.java
core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/OStorageInterruptionManager.java
package com.orientechnologies.orient.core.storage.impl.local; import com.orientechnologies.common.concur.lock.OInterruptedException; import com.orientechnologies.common.log.OLogManager; public class OStorageInterruptionManager { private int depth = 0; private boolean interrupted = false; protected void interr...
package com.orientechnologies.orient.core.storage.impl.local; import com.orientechnologies.common.concur.lock.OInterruptedException; import com.orientechnologies.common.log.OLogManager; public class OStorageInterruptionManager { private int depth = 0; private boolean interrupted = false; protected void interr...
Change visibility of storage interruption manager
Change visibility of storage interruption manager
Java
apache-2.0
orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb
e76eac273f0559c334d962e1cfddf0bff5ff0329
edocs-app/src/main/java/com/github/aureliano/edocs/app/gui/menu/MenuBar.java
edocs-app/src/main/java/com/github/aureliano/edocs/app/gui/menu/MenuBar.java
package com.github.aureliano.edocs.app.gui.menu; import javax.swing.JMenuBar; public class MenuBar extends JMenuBar { private static final long serialVersionUID = 5179328504511930019L; public MenuBar() { this.addMenus(); } private void addMenus() { super.add(new FileMenu()); } }
package com.github.aureliano.edocs.app.gui.menu; import javax.swing.JMenuBar; public class MenuBar extends JMenuBar { private static final long serialVersionUID = 5179328504511930019L; private FileMenu fileMenu; private DocumentMenu documentMenu; public MenuBar() { this.addMenus(); } private void addMenu...
Add document menu to menu bar.
Add document menu to menu bar.
Java
mit
aureliano/e-docs
511761a0f9633a443663029da9ffb208d5b52fbe
src/main/java/com/github/pedrovgs/app/problem11/IntToString.java
src/main/java/com/github/pedrovgs/app/problem11/IntToString.java
/* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
/* * Copyright (C) 2014 Pedro Vicente Gómez Sánchez. * * 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 ...
Add implementation to problem 11
Add implementation to problem 11
Java
apache-2.0
VeskoI/Algorithms,ArlenLiu/Algorithms,zhdh2008/Algorithms,inexistence/Algorithms,mrgenco/Algorithms-1,AppScientist/Algorithms,ajinkyakolhe112/Algorithms,jibaro/Algorithms,Arkar-Aung/Algorithms,chengjinqian/Algorithms,pedrovgs/Algorithms,zmywly8866/Algorithms,007slm/Algorithms,JeffreyWei/Algorithms,sridhar-newsdistill/A...
738767fd50fb9c824b80c6e25337e851e116bac6
trunk/ClientOfMutabilityDetector/trunk/ClientOfMutabilityDetector/src/main/java/org/mutabilitydetector/unittesting/assertionbenchmarks/CheckSomeClass.java
trunk/ClientOfMutabilityDetector/trunk/ClientOfMutabilityDetector/src/main/java/org/mutabilitydetector/unittesting/assertionbenchmarks/CheckSomeClass.java
/* * Mutability Detector * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * Further licensing information for this project can be found in * license/LICENSE.txt */ package org.mutabilitydetector.unittesting.assertionbenc...
/* * Mutability Detector * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * * Further licensing information for this project can be found in * license/LICENSE.txt */ package org.mutabilitydetector.unittesting.assertionbenc...
Update client to account for change in signature.
Update client to account for change in signature. git-svn-id: ed609ce04ec9e3c0bc25e071e87814dd6d976548@583 c7a0535c-eda6-11de-83d8-6d5adf01d787
Java
apache-2.0
MutabilityDetector/MutabilityDetector,MutabilityDetector/MutabilityDetector
a878ff8221fce9ac339c7af238ed429b3da931e9
documentation/src/test/java/extensions/ExpectToFailExtension.java
documentation/src/test/java/extensions/ExpectToFailExtension.java
/* * Copyright 2015-2016 the original author or authors. * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v1.0 which * accompanies this distribution and is available at * * http://www.eclipse.org/legal/epl-v10.html */ packag...
/* * Copyright 2015-2016 the original author or authors. * * All rights reserved. This program and the accompanying materials are * made available under the terms of the Eclipse Public License v1.0 which * accompanies this distribution and is available at * * http://www.eclipse.org/legal/epl-v10.html */ packag...
Use assertNotNull instead of `if`
Use assertNotNull instead of `if`
Java
epl-1.0
marcphilipp/junit5,junit-team/junit-lambda,marcphilipp/junit-lambda,sbrannen/junit-lambda
7a1da76d87c9ff555848ced8a6ae84bcb76e45a0
OpERP/src/main/java/devopsdistilled/operp/server/data/repo/items/custom/impl/ProductRepositoryCustomImpl.java
OpERP/src/main/java/devopsdistilled/operp/server/data/repo/items/custom/impl/ProductRepositoryCustomImpl.java
package devopsdistilled.operp.server.data.repo.items.custom.impl; import javax.inject.Inject; import devopsdistilled.operp.server.data.repo.items.ProductRepository; import devopsdistilled.operp.server.data.repo.items.custom.ProductRepositoryCustom; public class ProductRepositoryCustomImpl implements ProductRepositor...
package devopsdistilled.operp.server.data.repo.items.custom.impl; import devopsdistilled.operp.server.data.repo.items.custom.ProductRepositoryCustom; public class ProductRepositoryCustomImpl implements ProductRepositoryCustom { }
Remove warning message by removing unused field
Remove warning message by removing unused field OPEN - task 32: Add "Create Item" functionalities http://github.com/DevOpsDistilled/OpERP/issues/issue/32
Java
mit
njmube/OpERP,DevOpsDistilled/OpERP
5094ed7c24a471a01cf25bfc85ccc5b0dae18736
applications/plugins/org.csstudio.display.pvtable/src/org/csstudio/display/pvtable/ui/PVTableCellLabelProvider.java
applications/plugins/org.csstudio.display.pvtable/src/org/csstudio/display/pvtable/ui/PVTableCellLabelProvider.java
/******************************************************************************* * Copyright (c) 2010 Oak Ridge National Laboratory. * 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 i...
/******************************************************************************* * Copyright (c) 2010 Oak Ridge National Laboratory. * 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 i...
Fix tool tip of last row
display.pvtable: Fix tool tip of last row
Java
epl-1.0
css-iter/cs-studio,css-iter/cs-studio,ESSICS/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,css-iter/cs-studio,ControlSystemStudio/cs-studio,ControlSystemStudio/cs-studio,ESSICS/cs-studio,ControlSystemStudio/cs-studio,ESSICS/cs-studio,css-iter/cs-studio,css-iter/cs-studio,ControlSystemStudio/cs-studio,css-iter/cs-studio...
d47d03b7aff90e18f5a08719cbb95f96690759c0
src/acr/browser/lightning/SettingsController.java
src/acr/browser/lightning/SettingsController.java
/* * Copyright 2014 A.C.R. Development */ package acr.browser.lightning; public class SettingsController { static boolean clearHistory = false; /** * The purpose of this class is so that I can clear the dropdown history in the main activities if the user selects * to clear the history from the disk in advanc...
/* * Copyright 2014 A.C.R. Development */ package acr.browser.lightning; public class SettingsController { private static boolean clearHistory; /** * The purpose of this class is so that I can clear the dropdown history in the main activities if the user selects * to clear the history from the disk in advanc...
Add missing 'private' and 'public' access' modifiers, fix warnings
Add missing 'private' and 'public' access' modifiers, fix warnings
Java
mpl-2.0
anthonycr/Lightning-Browser,anthonycr/Lightning-Browser,anthonycr/Lightning-Browser,anthonycr/Lightning-Browser,t61p/Lightning-Browser
bdeb91716b3db215b13b1098e72de2809840ffc9
context-logger-jaxws/src/main/java/io/tracee/contextlogger/jaxws/container/TraceeContextLoggerJaxwsConstants.java
context-logger-jaxws/src/main/java/io/tracee/contextlogger/jaxws/container/TraceeContextLoggerJaxwsConstants.java
package io.tracee.contextlogger.jaxws.container; /** * This class is not directly used but exists for the users convenience * (Like adding @HandlerChain(xmlFile=TraceeContextLoggerJaxwsConstants.TRACEE_WITH_ERROR_LOGGING_HANDLER_CHAIN_URL) */ @SuppressWarnings("UnusedDeclaration") public final class TraceeContextLo...
package io.tracee.contextlogger.jaxws.container; /** * This class is not directly used but exists for the users convenience * (Like adding @HandlerChain(xmlFile=TraceeContextLoggerJaxwsConstants.TRACEE_WITH_ERROR_LOGGING_HANDLER_CHAIN_URL) */ @SuppressWarnings("UnusedDeclaration") public final class TraceeContextLo...
Adjust path: If the file is assembled with the xml file into a jar file, the project structure is discarded.
Adjust path: If the file is assembled with the xml file into a jar file, the project structure is discarded.
Java
bsd-3-clause
tobiasgindler/contextlogger,tobiasstamann/contextlogger,tracee/contextlogger
75261ae1d85f00fb637c08cc1d9275e82c0824ba
src/main/java/jp/ac/nii/prl/mape/monitoring/service/InstanceServiceImpl.java
src/main/java/jp/ac/nii/prl/mape/monitoring/service/InstanceServiceImpl.java
/** * */ package jp.ac.nii.prl.mape.monitoring.service; import org.springframework.stereotype.Service; import jp.ac.nii.prl.mape.monitoring.model.Instance; @Service("instanceService") public class InstanceServiceImpl implements InstanceService { /* (non-Javadoc) * @see jp.ac.nii.prl.mape.monitoring.service.In...
/** * */ package jp.ac.nii.prl.mape.monitoring.service; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import jp.ac.nii.prl.mape.monitoring.model.Instance; @Service("instanceService") public class InstanceServiceImpl implements InstanceService { pri...
Include instance load in instance creation
Include instance load in instance creation
Java
mit
prl-tokyo/MAPE-monitoring-service,prl-tokyo/MAPE-monitoring-service
e69520b11402b32d1cdfc0f58eb6a9ed2b659707
tenacity-testing/src/main/java/com/yammer/tenacity/testing/TenacityTest.java
tenacity-testing/src/main/java/com/yammer/tenacity/testing/TenacityTest.java
package com.yammer.tenacity.testing; import com.netflix.config.ConfigurationManager; import com.netflix.hystrix.Hystrix; import com.netflix.hystrix.contrib.yammermetricspublisher.HystrixYammerMetricsPublisher; import com.netflix.hystrix.strategy.HystrixPlugins; import org.junit.After; import java.util.concurrent.Time...
package com.yammer.tenacity.testing; import com.netflix.config.ConfigurationManager; import com.netflix.hystrix.Hystrix; import com.netflix.hystrix.contrib.yammermetricspublisher.HystrixYammerMetricsPublisher; import com.netflix.hystrix.strategy.HystrixPlugins; import org.junit.After; import org.junit.Before; import ...
Reset the ConfigurationManager when testing Tenacity
Reset the ConfigurationManager when testing Tenacity
Java
apache-2.0
skinzer/tenacity,yonglehou/tenacity,yammer/tenacity,jplock/tenacity,mauricionr/tenacity,samaitra/tenacity,Trundle/tenacity
60d25df900d1f01e28019ee5d3c7dd83a4e46ab9
sample/src/main/java/net/daverix/slingerorm/sample/AbstractComplexEntity.java
sample/src/main/java/net/daverix/slingerorm/sample/AbstractComplexEntity.java
package net.daverix.slingerorm.sample; import android.provider.BaseColumns; import net.daverix.slingerorm.annotation.DatabaseEntity; import net.daverix.slingerorm.annotation.FieldName; import net.daverix.slingerorm.annotation.GetField; import net.daverix.slingerorm.annotation.SetField; /** * Created by daverix on 2/...
package net.daverix.slingerorm.sample; import net.daverix.slingerorm.annotation.DatabaseEntity; import net.daverix.slingerorm.annotation.FieldName; import net.daverix.slingerorm.annotation.GetField; import net.daverix.slingerorm.annotation.SetField; /** * Created by daverix on 2/2/14. */ @DatabaseEntity public abst...
Change name on id to see that it generates correct
Change name on id to see that it generates correct
Java
apache-2.0
daverix/slingerORM
3112ccb9b57a51254d4e1e6675dcfd4975f92383
2019/src/day01/Solution.java
2019/src/day01/Solution.java
package day01; import common.BaseSolution; import common.InputReader; public class Solution extends BaseSolution implements common.Solution { public static void main(String[] args) { new Solution().run(); } class BaseFuelCalculator { public int calculateFuel() { int mass, tot...
package day01; import common.BaseSolution; import common.InputReader; public class Solution extends BaseSolution implements common.Solution { public static void main(String[] args) { new Solution().run(); } class BaseFuelCalculator { public int calculateFuel() { int mass, tot...
Simplify existing day 1 loop
Simplify existing day 1 loop
Java
mit
loisaidasam/adventofcode,loisaidasam/adventofcode,loisaidasam/adventofcode,loisaidasam/adventofcode,loisaidasam/adventofcode
0a0f4594b8f03641c978c7dc703b8ca3c007cb39
src/main/java/com/sixt/service/framework/kafka/messaging/ProducerFactory.java
src/main/java/com/sixt/service/framework/kafka/messaging/ProducerFactory.java
/** * Copyright 2016-2017 Sixt GmbH & Co. Autovermietung KG * 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 o...
/** * Copyright 2016-2017 Sixt GmbH & Co. Autovermietung KG * 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 o...
Set ack to all to ensure records are replicated on other kafka nodes.
Set ack to all to ensure records are replicated on other kafka nodes.
Java
apache-2.0
tomasulo/ja-micro,Sixt/ja-micro,Sixt/ja-micro,tomasulo/ja-micro
2903ca8d5210bf0a207a5b0d90593c3053c2342d
subprojects/core-api/src/main/java/org/gradle/normalization/package-info.java
subprojects/core-api/src/main/java/org/gradle/normalization/package-info.java
/* * Copyright 2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
/* * Copyright 2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Cover `org.gradle.normalization` with nullability annotations
Cover `org.gradle.normalization` with nullability annotations
Java
apache-2.0
lsmaira/gradle,gradle/gradle,gstevey/gradle,robinverduijn/gradle,gstevey/gradle,robinverduijn/gradle,gradle/gradle,robinverduijn/gradle,gstevey/gradle,robinverduijn/gradle,blindpirate/gradle,lsmaira/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,blindpirate/gradle,gstevey/gradle,gstevey...
14424f340e89f5165402f1b942344e0c1ba19714
src/test/java/org/springframework/site/domain/projects/ProjectVersionTests.java
src/test/java/org/springframework/site/domain/projects/ProjectVersionTests.java
package org.springframework.site.domain.projects; import org.junit.Test; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; public class ProjectVersionTests { @Test public void getShortNameForCurrentVersion() { ProjectRelease version = new ProjectRelease("1.2.3.REL...
package org.springframework.site.domain.projects; import org.junit.Test; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.equalTo; public class ProjectVersionTests { @Test public void getDisplayNameForCurrentVersion() { ProjectRelease version = new ProjectRelease("1.2.3.R...
Rename remaining 'shortName' refs to 'versionDisplayName'
Rename remaining 'shortName' refs to 'versionDisplayName'
Java
bsd-3-clause
dsyer/sagan,andriykonoz/sagan,dkushner/sagan,TabberGit/sagan,dsyer/sagan,yhj630520/sagan,martinlippert/sagan,dharmaraju/sagan,BHASKARSDEN277GITHUB/sagan,dvaughn555/sagan,dkushner/sagan,dlizarra/sagan,dsyer/sagan,garylgh/sagan,rwinch/sagan,lowtalker/sagan,lowtalker/sagan,spring-io/sagan,dlizarra/sagan,gregturn/sagan,viz...
8f8d720ddb4b93fe73ae4c6157a6fc7ceb9a0e08
app/src/main/java/com/example/jourdanrodrigues/controk/BaseFragmentCreation.java
app/src/main/java/com/example/jourdanrodrigues/controk/BaseFragmentCreation.java
package com.example.jourdanrodrigues.controk; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.EditText; public abstract class BaseFragmentCreation extends BaseFragment{ protected abstract Boolean errorInFields(); pro...
package com.example.jourdanrodrigues.controk; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.EditText; public abstract class BaseFragmentCreation extends BaseFragment { protected abstract Boolean errorInFields(); p...
Reformat base fragment creation file
:art: Reformat base fragment creation file
Java
mit
jourdanrodrigues/controk-android
114f06fb7e332246b2ce455c96f4da32d10ffa53
app/controllers/HomeController.java
app/controllers/HomeController.java
package controllers; import play.mvc.Controller; import play.mvc.Result; import views.html.confighelper; import views.html.index; /** * This controller contains an action to handle HTTP requests * to the application's home page. */ public class HomeController extends Controller { /** * Renders the main h...
package controllers; import play.mvc.Controller; import play.mvc.Result; import views.html.confighelper; import views.html.index; /** * This controller contains an action to handle HTTP requests * to the application's home page. */ public class HomeController extends Controller { /** * Renders the main h...
Remove token from session once back on the index page
Remove token from session once back on the index page
Java
apache-2.0
btkelly/gnag-website,btkelly/gnag-website,btkelly/gnag-website
511955e1cc08721a6118d2bccf759a9c5574f2b0
querydsl-sql/src/main/java/com/mysema/query/sql/support/SQLExceptionWrapper.java
querydsl-sql/src/main/java/com/mysema/query/sql/support/SQLExceptionWrapper.java
/* * Copyright 2014, Timo Westkämper * * 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 2014, Timo Westkämper * * 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...
Remove the {@literal } wrapping in the JavaDoc
Remove the {@literal } wrapping in the JavaDoc
Java
apache-2.0
balazs-zsoldos/querydsl,kevinleturc/querydsl,mdiazf/querydsl,tomforster/querydsl,johnktims/querydsl,johnktims/querydsl,querydsl/querydsl,izeye/querydsl,lpandzic/querydsl,robertandrewbain/querydsl,tomforster/querydsl,balazs-zsoldos/querydsl,izeye/querydsl,mdiazf/querydsl,vveloso/querydsl,attila-kiss-it/querydsl,pkcool/q...
d49a46ee25173b7aea4deaa799042d3602f84e26
library/src/main/java/com/github/pwittchen/prefser/library/rx2/GsonConverter.java
library/src/main/java/com/github/pwittchen/prefser/library/rx2/GsonConverter.java
/* * Copyright (C) 2015 Piotr Wittchen * * 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 (C) 2015 Piotr Wittchen * * 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 ...
Allow to pass custom instance of Gson object
Allow to pass custom instance of Gson object
Java
apache-2.0
pwittchen/prefser,pwittchen/prefser
a56dba9bfd44080496d64abdbe56a0582e23bbe0
java/client/test/org/openqa/selenium/testing/drivers/SauceBackedDriverSupplier.java
java/client/test/org/openqa/selenium/testing/drivers/SauceBackedDriverSupplier.java
package org.openqa.selenium.testing.drivers; import com.google.common.base.Supplier; import org.openqa.selenium.Capabilities; import org.openqa.selenium.WebDriver; public class SauceBackedDriverSupplier implements Supplier<WebDriver> { private final Capabilities capabilities; public SauceBackedDriverSupplier(C...
package org.openqa.selenium.testing.drivers; import com.google.common.base.Supplier; import org.openqa.selenium.Capabilities; import org.openqa.selenium.WebDriver; import org.openqa.selenium.remote.LocalFileDetector; public class SauceBackedDriverSupplier implements Supplier<WebDriver> { private final Capabilitie...
Use a file detector for Sauce tests
DanielWagnerHall: Use a file detector for Sauce tests r15219
Java
apache-2.0
valfirst/selenium,joshmgrant/selenium,gregerrag/selenium,Dude-X/selenium,DrMarcII/selenium,Ardesco/selenium,amar-sharma/selenium,sebady/selenium,jabbrwcky/selenium,soundcloud/selenium,actmd/selenium,sevaseva/selenium,tkurnosova/selenium,sri85/selenium,bartolkaruza/selenium,gorlemik/selenium,AutomatedTester/selenium,Sra...
cebf61d4318cf032e556a5a4082e92cd5762511c
src/main/java/org/kew/shs/dedupl/transformers/StripPublishingAuthorTransformer.java
src/main/java/org/kew/shs/dedupl/transformers/StripPublishingAuthorTransformer.java
package org.kew.shs.dedupl.transformers; import org.apache.commons.lang.StringUtils; /** * This transformer translates author strings in the form "(Author1) Author2" to "Author1" * @author nn00kg * */ public class StripPublishingAuthorTransformer implements Transformer{ public String transform(String s) { Str...
package org.kew.shs.dedupl.transformers; import org.apache.commons.lang.StringUtils; /** * This transformer translates author strings in the form "(Author1) Author2" to "Author1" * @author nn00kg * */ public class StripPublishingAuthorTransformer implements Transformer{ public String transform(String s) { Str...
Add delimited output file and new AuthorAbbreviatedMatcher
Add delimited output file and new AuthorAbbreviatedMatcher Updated luceneUtils.java and lucenematcher.java to output a new delimited file than can be imported direct into a db. Also added new Matchers called AuthorAbbreviatedMatcher.java, EmptyStringMatch.java. Also added a config and properties file to read data from...
Java
mit
RBGKew/String-Transformers
22051ed50376c4d383d563381d4277396e4fe882
java/src/main/java/generator/Gen.java
java/src/main/java/generator/Gen.java
import org.objectweb.asm.ClassWriter; import org.objectweb.asm.Opcodes; import org.objectweb.asm.Type; import org.objectweb.asm.commons.GeneratorAdapter; import org.objectweb.asm.commons.Method; public class Gen { public static void main(String[] args) { ClassWriter cw = new ClassWriter(ClassWriter.COMPUT...
import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import org.objectweb.asm.ClassWriter; import org.objectweb.asm.Opcodes; import org.objectweb.asm.Type; import org.objectweb.asm.commons.GeneratorAdapter; import org.objectweb.asm.commons.Method; public class Gen { public static vo...
Write generated class to a .class and run it
FEATURE/MINOR: Write generated class to a .class and run it
Java
apache-2.0
devictr/fst-jit,devictr/fst-jit,devictr/fst-jit
c90eca05640a456c374a5c7f087be2efe18ea514
src/main/java/me/rkfg/xmpp/bot/Main.java
src/main/java/me/rkfg/xmpp/bot/Main.java
package me.rkfg.xmpp.bot; import me.rkfg.xmpp.bot.irc.IRCBot; import ru.ppsrk.gwt.client.LogicException; public class Main { public static final IBot INSTANCE = new IRCBot(); public static void main(String[] args) throws LogicException { INSTANCE.run(); } }
package me.rkfg.xmpp.bot; import java.io.IOException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import me.rkfg.xmpp.bot.irc.IRCBot; import me.rkfg.xmpp.bot.matrix.MatrixBot; import me.rkfg.xmpp.bot.xmpp.XMPPBot; import ru.ppsrk.gwt.client.LogicException; import ru.ppsrk.gwt.server.SettingsManager; pu...
Select bot type via config
Select bot type via config
Java
agpl-3.0
rkfg/jbot,rkfg/jbot
50008c708ddef37507ced5a3f9a80aa2433a8b40
src/org/mozilla/mozstumbler/NetworkUtils.java
src/org/mozilla/mozstumbler/NetworkUtils.java
package org.mozilla.mozstumbler; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.util.Log; final class NetworkUtils { private static final String LOGTAG = NetworkUtils.class.getName(); private NetworkUtils() { } @SuppressWarnings...
package org.mozilla.mozstumbler; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.util.Log; final class NetworkUtils { private static final String LOGTAG = NetworkUtils.class.getName(); private NetworkUtils() { } @SuppressWarnings...
Remove check for network roaming
Remove check for network roaming
Java
mpl-2.0
garvankeeley/MozStumbler,garvankeeley/MozStumbler,petercpg/MozStumbler,cascheberg/MozStumbler,hasadna/OpenTrainApp,priyankvex/MozStumbler,hasadna/OpenTrainApp,petercpg/MozStumbler,priyankvex/MozStumbler,cascheberg/MozStumbler,petercpg/MozStumbler,crankycoder/MozStumbler,garvankeeley/MozStumbler,crankycoder/MozStumbler,...
1d2d8727f421cde5e869a9bbfb00c06df5163fac
core/src/main/java/pw/scho/battleship/persistence/configuration/MongoConfiguration.java
core/src/main/java/pw/scho/battleship/persistence/configuration/MongoConfiguration.java
package pw.scho.battleship.persistence.configuration; import com.mongodb.ServerAddress; import org.mongolink.MongoSession; import org.mongolink.MongoSessionManager; import org.mongolink.Settings; import org.mongolink.UpdateStrategies; import org.mongolink.domain.mapper.ContextBuilder; import java.net.UnknownHostExce...
package pw.scho.battleship.persistence.configuration; import com.mongodb.DB; import com.mongodb.MongoURI; import com.mongodb.ServerAddress; import org.mongolink.MongoSession; import org.mongolink.MongoSessionManager; import org.mongolink.Settings; import org.mongolink.UpdateStrategies; import org.mongolink.domain.map...
Add mongo hq authentication for heroku
Add mongo hq authentication for heroku
Java
mit
scho/battleship,scho/battleship
6a6d7c90e7447ee059538c3876ca5f35b57f86cc
app/src/main/java/io/github/droidkaigi/confsched2017/viewmodel/ContributorViewModel.java
app/src/main/java/io/github/droidkaigi/confsched2017/viewmodel/ContributorViewModel.java
package io.github.droidkaigi.confsched2017.viewmodel; import android.databinding.BaseObservable; import android.support.annotation.NonNull; import io.github.droidkaigi.confsched2017.model.Contributor; public class ContributorViewModel extends BaseObservable implements ViewModel { private Callback callback; ...
package io.github.droidkaigi.confsched2017.viewmodel; import android.databinding.BaseObservable; import android.support.annotation.NonNull; import android.view.View; import io.github.droidkaigi.confsched2017.model.Contributor; public class ContributorViewModel extends BaseObservable implements ViewModel { priva...
Fix the problem with handling onClick event
Fix the problem with handling onClick event
Java
apache-2.0
u-nation/conference-app-2017,DroidKaigi/conference-app-2017,horie1024/conference-app-2017,hironytic/conference-app-2017,yatatsu/conference-app-2017,shaunkawano/conference-app-2017,u-nation/conference-app-2017,k-kagurazaka/conference-app-2017,kgmyshin/conference-app-2017,kobakei/conference-app-2017,ryugoo/conference-app...
0c88c752deac4bd1961d0835696c65693de3c0fa
app/src/main/java/org/wikipedia/util/GeoUtil.java
app/src/main/java/org/wikipedia/util/GeoUtil.java
package org.wikipedia.util; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.Intent; import android.location.Location; import android.net.Uri; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.text.TextUtils; impo...
package org.wikipedia.util; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.Intent; import android.location.Location; import android.net.Uri; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.text.TextUtils; impo...
Make Google Maps use the coordinates supplied by Wikipedia app
Make Google Maps use the coordinates supplied by Wikipedia app Bug: T120275 Change-Id: I7eebb4c2b4e7164cb481ea23831296d4d50a426b
Java
apache-2.0
wikimedia/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,SAGROUP2/apps-android-wikipedia,dbrant/apps-android-wikipedia,d...
0015ef925bedb9fdd7952e696e7658a3d7dffc01
weatherlib/src/main/java/io/lithiumsheep/weatherlib/WeatherLib.java
weatherlib/src/main/java/io/lithiumsheep/weatherlib/WeatherLib.java
package io.lithiumsheep.weatherlib; import io.lithiumsheep.weatherlib.api.HttpClient; import io.lithiumsheep.weatherlib.models.CurrentWeather; import io.reactivex.Observable; import io.reactivex.android.schedulers.AndroidSchedulers; import io.reactivex.schedulers.Schedulers; import retrofit2.Call; public class Weathe...
package io.lithiumsheep.weatherlib; import io.lithiumsheep.weatherlib.api.HttpClient; import io.lithiumsheep.weatherlib.models.CurrentWeather; import retrofit2.Call; public class WeatherLib { public static Call<CurrentWeather> getCurrentWeather(String cityOrZip) { return HttpClient.getService().getCurren...
Remove observable service from facade
Remove observable service from facade
Java
mit
lolsheeplol/jacketapp
082f569bdeac85e7e1030f29705d5249c3a84e25
src/main/java/org/springframework/social/salesforce/connect/SalesforceOAuth2Template.java
src/main/java/org/springframework/social/salesforce/connect/SalesforceOAuth2Template.java
package org.springframework.social.salesforce.connect; import org.springframework.social.oauth2.AccessGrant; import org.springframework.social.oauth2.OAuth2Template; import java.util.Map; /** * Salesforce OAuth2Template implementation. * <p/> * The reason to extend is to extract non-standard instance_url from Sal...
package org.springframework.social.salesforce.connect; import org.springframework.social.oauth2.AccessGrant; import org.springframework.social.oauth2.OAuth2Template; import java.util.Map; /** * Salesforce OAuth2Template implementation. * <p/> * The reason to extend is to extract non-standard instance_url from Sal...
Set OAuth2Template to use parameter-based client authentication (see SOCIAL-320) since Salesforce does not yet support the spec-recommended HTTP Basic client authentication.
Set OAuth2Template to use parameter-based client authentication (see SOCIAL-320) since Salesforce does not yet support the spec-recommended HTTP Basic client authentication.
Java
apache-2.0
jottley/spring-social-salesforce,silanis/spring-social-salesforce
6cc24cca0253056c4b5e84d7734e0559b69016ba
app/src/main/java/com/hewgill/android/nzsldict/DownloadReceiver.java
app/src/main/java/com/hewgill/android/nzsldict/DownloadReceiver.java
package com.hewgill.android.nzsldict; import android.app.DownloadManager; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; public class DownloadReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { ...
package com.hewgill.android.nzsldict; import android.app.DownloadManager; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.widget.Toast; public class DownloadReceiver extends BroadcastReceiver { @Override public void onReceive(Context con...
Add stub to indicate that the download has completed; this needs to be raised to the favourites activity
Add stub to indicate that the download has completed; this needs to be raised to the favourites activity
Java
mit
rabid/nzsl-dictionary-android,rabid/nzsl-dictionary-android
339c3f76cd8cab33734b0f5aad9713cf0140ce57
core/src/test/java/com/github/jsonldjava/core/JsonLdFramingTest.java
core/src/test/java/com/github/jsonldjava/core/JsonLdFramingTest.java
package com.github.jsonldjava.core; import com.github.jsonldjava.utils.JsonUtils; import java.io.IOException; import org.junit.Test; import static org.junit.Assert.*; public class JsonLdFramingTest { @Test public void testFrame0001() throws IOException, JsonLdError { try { Object frame = ...
package com.github.jsonldjava.core; import com.github.jsonldjava.utils.JsonUtils; import java.io.IOException; import java.util.Map; import org.junit.Test; import static org.junit.Assert.*; public class JsonLdFramingTest { @Test public void testFrame0001() throws IOException, JsonLdError { Object fra...
Add positive test for completion in the framing test
Add positive test for completion in the framing test
Java
bsd-3-clause
jsonld-java/jsonld-java
1454c513833f7e8016f9aa2763bf75357d7b3042
src/com/thaiopensource/relaxng/AttributeAtom.java
src/com/thaiopensource/relaxng/AttributeAtom.java
package com.thaiopensource.relaxng; import org.relaxng.datatype.ValidationContext; import org.xml.sax.SAXException; class AttributeAtom extends Atom { String namespaceURI; String localName; StringAtom value; AttributeAtom(String namespaceURI, String localName, String value, ValidationContext vc) { this....
package com.thaiopensource.relaxng; import org.relaxng.datatype.ValidationContext; import org.xml.sax.SAXException; class AttributeAtom extends Atom { String namespaceURI; String localName; StringAtom value; AttributeAtom(String namespaceURI, String localName, String value, ValidationContext vc) { this....
Allow an empty attribute value to match <empty/>.
Allow an empty attribute value to match <empty/>. git-svn-id: ca8e9bb6f3f9b50a093b443c23951d3c25ca0913@390 369101cc-9a96-11dd-8e58-870c635edf7a
Java
bsd-3-clause
vandenoever/jing,vandenoever/jing,vandenoever/jing
1ea53998d431b9678fdbc947739424262265ab7c
ethereum-java-core/src/main/java/ethereumjava/solidity/Contract.java
ethereum-java-core/src/main/java/ethereumjava/solidity/Contract.java
package ethereumjava.solidity; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import ethereumjava.exception.EthereumJavaException; import ethereumjava.module.Eth; /** * Created by gunicolas on 30/08/16. */ public class Contract<T extends ContractType> { Class<T> abi; String address; ...
package ethereumjava.solidity; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import ethereumjava.exception.EthereumJavaException; import ethereumjava.module.Eth; /** * Created by gunicolas on 30/08/16. */ public class Contract { String address; Eth eth; public final class ContractI...
Allow to not cast ethereum Java contract
Allow to not cast ethereum Java contract
Java
mit
sqli-nantes/ethereum-java,sqli-nantes/ethereum-java,sqli-nantes/ethereum-java
44dda8f345ab9fa552a040ddd79bf1b7bd537094
src/main/java/org/rundeck/client/util/Colorz.java
src/main/java/org/rundeck/client/util/Colorz.java
package org.rundeck.client.util; import com.simplifyops.toolbelt.ANSIColorOutput; import java.util.LinkedHashMap; import java.util.Map; /** * Created by greg on 7/19/16. */ public class Colorz { /** * Return a map with key/values replaced with colorized versions, if specified * * @param data dat...
package org.rundeck.client.util; import com.simplifyops.toolbelt.ANSIColorOutput; import java.util.Arrays; import java.util.LinkedHashMap; import java.util.Map; /** * Created by greg on 7/19/16. */ public class Colorz { /** * Return a map with key/values replaced with colorized versions, if specified ...
Update to support more than one color
Update to support more than one color
Java
apache-2.0
rundeck/rundeck-cli,rundeck/rundeck-cli
b6b1a148c859d5749e634f06d8e6cf18129b9fde
src/main/java/yokohama/unit/ast/package-info.java
src/main/java/yokohama/unit/ast/package-info.java
/** * Abstract Syntax Tree. * * <pre> * Group ::= Abbreviation* Definition* * * Definition ::= Test | FourPhaseTest | Table * * Test ::= Assertion* * * Assertion ::= Proposition* Fixture * * Proposition ::= QuotedExpr Predicate * * Predicate ::= IsPredicate | IsNotPredicate | ThrowsPre...
/** * Abstract Syntax Tree. * * <pre> * Group ::= Abbreviation* Definition* * * Definition ::= Test | FourPhaseTest | Table * * Test ::= Assertion* * * Assertion ::= Proposition* Fixture * * Proposition ::= QuotedExpr Predicate * * Predicate ::= IsPredicate | IsNotPredicate | ThrowsPre...
Add description of LetBindings and LetBinding, which were missing from document
Add description of LetBindings and LetBinding, which were missing from document
Java
mit
tkob/yokohamaunit,tkob/yokohamaunit
521cde966c0631fb14147f8db7d4a58110bbd807
src/test/java/com/boundary/camel/component/url/UrlComponentTest.java
src/test/java/com/boundary/camel/component/url/UrlComponentTest.java
package com.boundary.camel.component.http; import java.util.List; import java.util.concurrent.TimeUnit; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.test.junit4.CamelTestSupport; import org.junit.Ignore; im...
package com.boundary.camel.component.url; import java.util.List; import java.util.concurrent.TimeUnit; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.test.junit4.CamelTestSupport; import org.junit.Ignore; imp...
Change to support name change
Change to support name change
Java
apache-2.0
boundary/boundary-camel-components,jdgwartney/camel-checkport
fd882cd193e5909fa23a0e493e7c7637b44123e5
indexing/src/test/java/uk/ac/ebi/quickgo/index/annotation/coterms/CoTermsAggregatorMocker.java
indexing/src/test/java/uk/ac/ebi/quickgo/index/annotation/coterms/CoTermsAggregatorMocker.java
package uk.ac.ebi.quickgo.index.annotation.coterms; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.atomic.AtomicLong; /** * @author Tony Wardell * Date: 05/10/2016 * Time: 16:41 * Created with IntelliJ IDEA. */ public class CoTermsAggregatorMocker { /** ...
package uk.ac.ebi.quickgo.index.annotation.coterms; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.atomic.AtomicLong; /** * @author Tony Wardell * Date: 05/10/2016 * Time: 16:41 * Created with IntelliJ IDEA. */ public class CoTermsAggregatorMocker { /** ...
Add some javadoc. Add @SafeVarags annotation. Change for loops to for each.
Add some javadoc. Add @SafeVarags annotation. Change for loops to for each.
Java
apache-2.0
ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE
0acc6aa692d3993548db0daac61212b80b931b9b
archetypes/quickstart/src/main/resources/archetype-resources/src/main/java/WicketApplication.java
archetypes/quickstart/src/main/resources/archetype-resources/src/main/java/WicketApplication.java
package ${package}; import org.apache.wicket.markup.html.WebPage; import org.apache.wicket.protocol.http.WebApplication; /** * Application object for your web application. * If you want to run this application without deploying, run the Start class. * * @see ${package}.Start#main(String[]) */ public class Wicke...
package ${package}; import org.apache.wicket.csp.CSPDirective; import org.apache.wicket.csp.CSPDirectiveSrcValue; import org.apache.wicket.markup.html.WebPage; import org.apache.wicket.protocol.http.WebApplication; /** * Application object for your web application. * If you want to run this application without depl...
Fix CSP for styling in quickstart
WICKET-6849: Fix CSP for styling in quickstart
Java
apache-2.0
mosoft521/wicket,mosoft521/wicket,mosoft521/wicket,apache/wicket,apache/wicket,mosoft521/wicket,mosoft521/wicket,apache/wicket,apache/wicket,apache/wicket
a292d236bac2277a68c38a123658d8b7fd702c29
collect-earth/collect-earth-app/src/main/java/org/openforis/collect/earth/planet/FeatureSorter.java
collect-earth/collect-earth-app/src/main/java/org/openforis/collect/earth/planet/FeatureSorter.java
package org.openforis.collect.earth.planet; import java.util.Comparator;; public class FeatureSorter implements Comparator<Feature>{ @Override public int compare(Feature o1, Feature o2) { if( o1.getProperties().getCloudPercent() !=null && o2.getProperties().getCloudPercent() != null ) if( o1.getProp...
package org.openforis.collect.earth.planet; import java.util.Comparator;; public class FeatureSorter implements Comparator<Feature>{ @Override public int compare(Feature o1, Feature o2) { if( o1.getProperties().getCloudPercent() !=null && o2.getProperties().getCloudPercent() != null ) { if( o1.getPr...
Fix null exception when images have no visible percent properties
Fix null exception when images have no visible percent properties
Java
mit
openforis/collect-earth,openforis/collect-earth,openforis/collect-earth
bd818756d4bec40f840712e620719632e35d9875
integration-tests/test-jsf-war/src/test/java/de/hilling/cdi/sampleapp/ejb/JEETestConfiguration.java
integration-tests/test-jsf-war/src/test/java/de/hilling/cdi/sampleapp/ejb/JEETestConfiguration.java
package de.hilling.cdi.sampleapp.ejb; import de.hilling.junit.cdi.annotations.GlobalTestImplementation; @GlobalTestImplementation public class JEETestConfiguration implements de.hilling.junit.cdi.jee.JEETestConfiguration { @Override public String getTestPersistenceUnitName() { return "cdi-test-unit-ec...
package de.hilling.cdi.sampleapp.ejb; import de.hilling.junit.cdi.annotations.GlobalTestImplementation; import de.hilling.junit.cdi.scope.TestSuiteScoped; @GlobalTestImplementation @TestSuiteScoped public class JEETestConfiguration implements de.hilling.junit.cdi.jee.JEETestConfiguration { @Override public St...
Fix Scope (error during release)
Fix Scope (error during release)
Java
apache-2.0
guhilling/cdi-test,guhilling/cdi-test
43f66e4e816f5e7a49536af2042487bf3304c414
src/main/resources/archetype-resources/__rootArtifactId__-ejb/src/main/java/ejb/LoggerProducer.java
src/main/resources/archetype-resources/__rootArtifactId__-ejb/src/main/java/ejb/LoggerProducer.java
#set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) package ${package}.ejb; import javax.enterprise.inject.Produces; import javax.enterprise.inject.spi.InjectionPoint; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class LoggerProducer { @Produces public L...
#set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' ) package ${package}.ejb; import javax.enterprise.inject.Produces; import javax.enterprise.inject.spi.InjectionPoint; import org.slf4j.Logger; import org.slf4j.LoggerFactory; public class LoggerProducer { @Produces public Lo...
Fix Logger injection in GlassFish 4
Fix Logger injection in GlassFish 4 Signed-off-by: Fred Bricon <3278c038c93c729ae96f0d035919e3fb69e9cff7@gmail.com>
Java
apache-2.0
open-archetypes/multi-javaee6-archetype
7d599203f966d4cec52daeb2b55b1a74d030060f
integration-tests/reactive-messaging-rabbitmq/src/main/java/io/quarkus/it/rabbitmq/PeopleProducer.java
integration-tests/reactive-messaging-rabbitmq/src/main/java/io/quarkus/it/rabbitmq/PeopleProducer.java
package io.quarkus.it.rabbitmq; import javax.enterprise.context.ApplicationScoped; import org.eclipse.microprofile.reactive.messaging.Outgoing; import io.smallrye.mutiny.Multi; @ApplicationScoped public class PeopleProducer { @Outgoing("people-out") public Multi<Person> generatePeople() { return Mul...
package io.quarkus.it.rabbitmq; import java.time.Duration; import javax.enterprise.context.ApplicationScoped; import org.eclipse.microprofile.reactive.messaging.Outgoing; import io.smallrye.mutiny.Multi; import io.smallrye.mutiny.Uni; @ApplicationScoped public class PeopleProducer { @Outgoing("people-out") ...
Add delay to ensure queue is created and bound.
Add delay to ensure queue is created and bound. In RabbitMQ queues are what store messsages for processing, while exchanges are what messages are sent to. If an exchange has no bound queues, in most standard cases, any messages sent to the exchange are dropped. The "incoming" RabbitMQ connector is what creates and bi...
Java
apache-2.0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
25c1dca325be58295dbd61b1ed63439493350f36
src/main/java/seedu/ezdo/model/FixedStack.java
src/main/java/seedu/ezdo/model/FixedStack.java
package seedu.ezdo.model; import java.util.EmptyStackException; //@@author A0139248X /* * Array-based implementation for a stack with fixed size. Used for undo & redo stacks. * If stack goes past max capacity, the oldest item to be pushed is replaced. */ public class FixedStack<T> { private int index; priva...
//@@author A0139248X package seedu.ezdo.model; import java.util.EmptyStackException; /** * Array-based implementation for a stack with fixed size. Used for undo & redo stacks. * If stack goes past max capacity, the oldest item that was pushed is replaced. */ public class FixedStack<T> { private static final i...
Add header comments Remove magic numbers
Add header comments Remove magic numbers
Java
mit
CS2103JAN2017-W14-B4/main,CS2103JAN2017-W14-B4/main
a8ca548493fdf534918aa869ad645cfb4668bbb3
libreplan-business/src/main/java/org/libreplan/business/externalcompanies/entities/CommunicationType.java
libreplan-business/src/main/java/org/libreplan/business/externalcompanies/entities/CommunicationType.java
/* * This file is part of LibrePlan * * Copyright (C) 2011 WirelessGalicia, S.L. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your o...
/* * This file is part of LibrePlan * * Copyright (C) 2011 WirelessGalicia, S.L. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your o...
Create new subcontractor communication type: UPDATE_DELIVERING_DATE
Create new subcontractor communication type: UPDATE_DELIVERING_DATE FEA: ItEr75S32AnA15S04UpdateDeliveringDateInSubcontracting
Java
agpl-3.0
skylow95/libreplan,Marine-22/libre,PaulLuchyn/libreplan,LibrePlan/libreplan,skylow95/libreplan,LibrePlan/libreplan,skylow95/libreplan,PaulLuchyn/libreplan,poum/libreplan,dgray16/libreplan,skylow95/libreplan,Marine-22/libre,LibrePlan/libreplan,Marine-22/libre,dgray16/libreplan,LibrePlan/libreplan,poum/libreplan,LibrePla...
c73234105afd8a862a17b9fce33483afd2b143d0
paparazzo/src/main/java/com/github/rtyley/android/screenshot/paparazzo/processors/AnimatedGifCreator.java
paparazzo/src/main/java/com/github/rtyley/android/screenshot/paparazzo/processors/AnimatedGifCreator.java
package com.github.rtyley.android.screenshot.paparazzo.processors; import com.madgag.gif.fmsware.AnimatedGifEncoder; import java.awt.image.BufferedImage; import java.io.File; import java.util.Map; public class AnimatedGifCreator implements ScreenshotProcessor { private final AnimatedGifEncoder gifEncoder; pr...
package com.github.rtyley.android.screenshot.paparazzo.processors; import com.madgag.gif.fmsware.AnimatedGifEncoder; import java.awt.image.BufferedImage; import java.io.File; import java.util.Map; public class AnimatedGifCreator implements ScreenshotProcessor { private final AnimatedGifEncoder gifEncoder; pr...
Set Animated GIFs to repeat
Set Animated GIFs to repeat
Java
apache-2.0
rtyley/android-screenshot-lib,hgl888/android-screenshot-lib,jpxiong/android-screenshot-lib
63a46f0d89fc72dc7394c01e67a1b47f914bd295
annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/validation/service/WithFromValuesValidation.java
annotation-rest/src/main/java/uk/ac/ebi/quickgo/annotation/validation/service/WithFromValuesValidation.java
package uk.ac.ebi.quickgo.annotation.validation.service; import com.google.common.base.Preconditions; import java.util.Objects; import java.util.stream.Stream; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; import org.springframework.beans.factory.annotation.Autowired;...
package uk.ac.ebi.quickgo.annotation.validation.service; import com.google.common.base.Preconditions; import java.util.Objects; import java.util.stream.Stream; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; import org.springframework.beans.factory.annotation.Autowired;...
Add fullstop to error message.
Add fullstop to error message.
Java
apache-2.0
ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE,ebi-uniprot/QuickGOBE