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
f3bd9e6b517533be5c43e106e5d5eb707653b893
testsuite/integration/clustering/src/test/java/org/jboss/as/test/clustering/twoclusters/bean/forwarding/ForwardingStatefulSBImpl.java
testsuite/integration/clustering/src/test/java/org/jboss/as/test/clustering/twoclusters/bean/forwarding/ForwardingStatefulSBImpl.java
package org.jboss.as.test.clustering.twoclusters.bean.forwarding; import org.jboss.as.test.clustering.twoclusters.bean.stateful.RemoteStatefulSB; import org.jboss.ejb3.annotation.Clustered; import javax.ejb.Stateful; import javax.ejb.TransactionAttribute; import javax.ejb.TransactionAttributeType; @Stateful @Cluster...
package org.jboss.as.test.clustering.twoclusters.bean.forwarding; import org.jboss.as.test.clustering.twoclusters.bean.stateful.RemoteStatefulSB; import org.jboss.ejb3.annotation.Clustered; import javax.ejb.Stateful; import javax.ejb.TransactionAttribute; import javax.ejb.TransactionAttributeType; @Stateful @Cluster...
Add in overrides for methods otherwise TransactionAttribute changes don't get applied.
[WFLY-4853] Add in overrides for methods otherwise TransactionAttribute changes don't get applied.
Java
lgpl-2.1
jstourac/wildfly,wildfly/wildfly,pferraro/wildfly,tadamski/wildfly,99sono/wildfly,iweiss/wildfly,pferraro/wildfly,99sono/wildfly,iweiss/wildfly,jstourac/wildfly,xasx/wildfly,iweiss/wildfly,tadamski/wildfly,99sono/wildfly,rhusar/wildfly,tadamski/wildfly,jstourac/wildfly,tomazzupan/wildfly,tomazzupan/wildfly,golovnin/wil...
8db9c583f92f65d03d7688d5b65cecf7a906d918
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/akka/osgi/impl/QuarantinedMonitorActorPropsFactory.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/akka/osgi/impl/QuarantinedMonitorActorPropsFactory.java
/* * Copyright (c) 2017 Pantheon Technologies s.r.o. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ pac...
/* * Copyright (c) 2017 Pantheon Technologies s.r.o. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ pac...
Update procedure to restart controller on quarantined condition.
Update procedure to restart controller on quarantined condition. There was a behavior change in Karaf [0] because of which restarting the container now requires the system property karaf.restart to be set to true in addition to karaf.restart.jvm property. Update controller restart logic on quarantined condition for th...
Java
epl-1.0
opendaylight/controller
e00251822780642d83848a23d4217b5a90054e80
edu.kit.ipd.sdq.vitruvius.applications.pcmjava.linkingintegration/src/edu/kit/ipd/sdq/vitruvius/applications/pcmjava/linkingintegration/CorrespondenceTypeDeciding.java
edu.kit.ipd.sdq.vitruvius.applications.pcmjava.linkingintegration/src/edu/kit/ipd/sdq/vitruvius/applications/pcmjava/linkingintegration/CorrespondenceTypeDeciding.java
package edu.kit.ipd.sdq.vitruvius.applications.pcmjava.linkingintegration; import java.util.List; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.resource.Resource; import edu.kit.ipd.sdq.vitruvius.framework.correspondence.CorrespondenceModel; public interface CorrespondenceTypeDeciding { St...
package edu.kit.ipd.sdq.vitruvius.applications.pcmjava.linkingintegration; import java.util.List; import org.eclipse.emf.ecore.EObject; import org.eclipse.emf.ecore.resource.Resource; import edu.kit.ipd.sdq.vitruvius.framework.correspondence.CorrespondenceModel; public interface CorrespondenceTypeDeciding { St...
Fix a bug in the correspondencetypedeciding extension point reference.
Fix a bug in the correspondencetypedeciding extension point reference.
Java
epl-1.0
vitruv-tools/Vitruv
3f569ae0b64ffac7dc088c5b8bcbd89dce61b069
plugins/plugin-machine/che-plugin-machine-ext-client/src/main/java/org/eclipse/che/ide/extension/machine/client/command/valueproviders/CurrentProjectRelativePathProvider.java
plugins/plugin-machine/che-plugin-machine-ext-client/src/main/java/org/eclipse/che/ide/extension/machine/client/command/valueproviders/CurrentProjectRelativePathProvider.java
/******************************************************************************* * Copyright (c) 2012-2016 Codenvy, S.A. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available ...
/******************************************************************************* * Copyright (c) 2012-2016 Codenvy, S.A. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available ...
Add checking on current project == null
Add checking on current project == null Signed-off-by: Vitaly Parfonov <3980a3d6ad736918e593101a7ff03dfd34097f49@codenvy.com>
Java
epl-1.0
akervern/che,bartlomiej-laczkowski/che,kaloyan-raev/che,TypeFox/che,sleshchenko/che,Mirage20/che,cemalkilic/che,cemalkilic/che,stour/che,evidolob/che,cdietrich/che,ollie314/che,cdietrich/che,TypeFox/che,cemalkilic/che,cemalkilic/che,stour/che,TypeFox/che,akervern/che,gazarenkov/che-sketch,sudaraka94/che,codenvy/che,sun...
93fbe262a7611599ac8e6b525dc019cbbfb662a1
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/assets/CompressionAnalyzerImpl.java
tapestry-core/src/main/java/org/apache/tapestry5/internal/services/assets/CompressionAnalyzerImpl.java
// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed unde...
package org.apache.tapestry5.internal.services.assets; import java.util.Map; import org.apache.tapestry5.services.assets.CompressionAnalyzer; public class CompressionAnalyzerImpl implements CompressionAnalyzer { private final Map<String, Boolean> configuration; public CompressionAnalyzerImpl(Map<String, Boo...
Throw an exception in the case that the content type is null.
TAP5-2430: Throw an exception in the case that the content type is null.
Java
apache-2.0
apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5,apache/tapestry-5
56e40d1e69de8b7362758e319034ffb665c90c3d
src/main/java/com/tinkerpop/etc/github/beans/Payload.java
src/main/java/com/tinkerpop/etc/github/beans/Payload.java
package com.tinkerpop.etc.github.beans; /** * @author Joshua Shinavier (http://fortytwo.net) */ public class Payload { public String action; public Comment comment; public Long comment_id; public String commit; public String description; public String head; public Long issue; public ...
package com.tinkerpop.etc.github.beans; /** * @author Joshua Shinavier (http://fortytwo.net) */ public class Payload { public String action; public Comment comment; public Long comment_id; public String commit; public String description; public String head; public Long issue; public ...
Format tweaks, complete through present
Format tweaks, complete through present
Java
mit
joshsh/graphdb-workshop,joshsh/graphdb-workshop,joshsh/graphdb-workshop
f5ec7afe7039cc6c897844da274f4b454d34c646
src/perftest/java/com/lmax/disruptor/PerfTestContext.java
src/perftest/java/com/lmax/disruptor/PerfTestContext.java
package com.lmax.disruptor; public class PerfTestContext { private long disruptorOps; private long batchesProcessedCount; private long iterations; public PerfTestContext() { } public long getDisruptorOps() { return disruptorOps; } public void setDisruptorOps(long disruptorOps...
package com.lmax.disruptor; public class PerfTestContext { private long disruptorOps; private long batchesProcessedCount; private long iterations; public PerfTestContext() { } public long getDisruptorOps() { return disruptorOps; } public void setDisruptorOps(long disruptorOps...
Fix display when batches are not counted
Fix display when batches are not counted
Java
apache-2.0
LMAX-Exchange/disruptor,LMAX-Exchange/disruptor
5f3d5bd5de9ee50b7aa73c7b55b3d205dd2f0a67
src/main/java/com/github/pedrovgs/problem32/Contains.java
src/main/java/com/github/pedrovgs/problem32/Contains.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 iterative solution to problem 32
Add iterative solution to problem 32
Java
apache-2.0
007slm/Algorithms,pedrovgs/Algorithms,sridhar-newsdistill/Algorithms,JeffreyWei/Algorithms,Arkar-Aung/Algorithms,zmywly8866/Algorithms,VeskoI/Algorithms,zhdh2008/Algorithms,jibaro/Algorithms,Ariloum/Algorithms,chengjinqian/Algorithms,AppScientist/Algorithms,ArlenLiu/Algorithms,inexistence/Algorithms,ajinkyakolhe112/Alg...
e61f0b7831dccc0b76399d4d600481d75087613d
src/main/java/com/bourke/glimmr/common/Keys.java
src/main/java/com/bourke/glimmr/common/Keys.java
package com.bourke.glimmr.common; public class Keys { public static final String API_KEY = "***REMOVED***"; public static final String API_SECRET = "***REMOVED***"; }
package com.bourke.glimmr.common; public class Keys { public static final String API_KEY = ""; public static final String API_SECRET = ""; }
Remove api keys for open sourcing
Remove api keys for open sourcing
Java
apache-2.0
brk3/glimmr,brk3/glimmr
c3e931549d05bf8d01a52891c495e92b8f875226
contract-examples/contract-example-model/src/main/java/com/github/sebhoss/contract/example/OgnlSpELBasedInsuranceCompany.java
contract-examples/contract-example-model/src/main/java/com/github/sebhoss/contract/example/OgnlSpELBasedInsuranceCompany.java
/* * Copyright © 2012 Sebastian Hoß <mail@shoss.de> * This work is free. You can redistribute it and/or modify it under the * terms of the Do What The Fuck You Want To Public License, Version 2, * as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. */ package com.github.sebhoss.contract.exampl...
/* * Copyright © 2012 Sebastian Hoß <mail@shoss.de> * This work is free. You can redistribute it and/or modify it under the * terms of the Do What The Fuck You Want To Public License, Version 2, * as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. */ package com.github.sebhoss.contract.exampl...
Use instance methods in contract
Use instance methods in contract Signed-off-by: Sebastian Hoß <1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@shoss.de>
Java
unlicense
sebhoss/annotated-contracts
99c296e08554928fe569451d552e622e8d41a475
org.metaborg.meta.lang.dynsem.interpreter/src/main/java/org/metaborg/meta/lang/dynsem/interpreter/nodes/rules/RuleFactory.java
org.metaborg.meta.lang.dynsem.interpreter/src/main/java/org/metaborg/meta/lang/dynsem/interpreter/nodes/rules/RuleFactory.java
package org.metaborg.meta.lang.dynsem.interpreter.nodes.rules; import java.util.List; import org.metaborg.meta.lang.dynsem.interpreter.DynSemLanguage; import com.oracle.truffle.api.CompilerAsserts; import com.oracle.truffle.api.source.SourceSection; public class RuleFactory { public static Rule createRule(DynSemL...
package org.metaborg.meta.lang.dynsem.interpreter.nodes.rules; import java.util.List; import org.metaborg.meta.lang.dynsem.interpreter.DynSemLanguage; import com.oracle.truffle.api.CompilerAsserts; import com.oracle.truffle.api.source.SourceSection; public class RuleFactory { public static Rule createRule(DynSemL...
Fix not injecting fallback rule for singular rules
Fix not injecting fallback rule for singular rules
Java
apache-2.0
metaborg/dynsem,metaborg/dynsem
4109c356cb9cd4cf2e58f6438a0b2808dcea24a8
burst/src/main/java/com/squareup/burst/Variations.java
burst/src/main/java/com/squareup/burst/Variations.java
// Copyright 2014 Square, Inc. package com.squareup.burst; import java.lang.annotation.Retention; import javax.inject.Qualifier; import static java.lang.annotation.RetentionPolicy.RUNTIME; @Retention(RUNTIME) @Qualifier public @interface Variations { Class<? extends VariationValueProvider<?>>[] value(); }
// Copyright 2014 Square, Inc. package com.squareup.burst; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; @Retention(RUNTIME) @Target(METHOD) public @interface Variations { ...
Remove @Qualifier, and add @Target(METHOD)
Remove @Qualifier, and add @Target(METHOD) Since we only support method-level @Variations, for now at least.
Java
apache-2.0
square/burst,square/burst
22d52ee712c3193c36e41d7b47bd39f40026742a
projects/OG-Integration/src/main/java/com/opengamma/integration/analyticservice/AnalyticServiceComponentServer.java
projects/OG-Integration/src/main/java/com/opengamma/integration/analyticservice/AnalyticServiceComponentServer.java
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.integration.analyticservice; import com.opengamma.component.OpenGammaComponentServer; /** * Main entry point for OpenGamma Analytic service component-based s...
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.integration.analyticservice; import com.opengamma.component.OpenGammaComponentServer; /** * Main entry point for OpenGamma Analytic service component-based s...
Exit with -1 status if server failed to start up
[PLAT-2760] Exit with -1 status if server failed to start up
Java
apache-2.0
McLeodMoores/starling,DevStreet/FinanceAnalytics,jeorme/OG-Platform,codeaudit/OG-Platform,ChinaQuants/OG-Platform,nssales/OG-Platform,nssales/OG-Platform,jerome79/OG-Platform,ChinaQuants/OG-Platform,codeaudit/OG-Platform,codeaudit/OG-Platform,ChinaQuants/OG-Platform,McLeodMoores/starling,jeorme/OG-Platform,jeorme/OG-Pl...
516409771c01da869c3254069d4addc78c6705f5
owsi-core/owsi-core-components/owsi-core-component-jpa-externallinkchecker/src/test/java/fr/openwide/core/test/jpa/externallinkchecker/config/spring/JpaExternalLinkCheckerTestJpaConfig.java
owsi-core/owsi-core-components/owsi-core-component-jpa-externallinkchecker/src/test/java/fr/openwide/core/test/jpa/externallinkchecker/config/spring/JpaExternalLinkCheckerTestJpaConfig.java
package fr.openwide.core.test.jpa.externallinkchecker.config.spring; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.EnableAspectJAutoProxy; import fr.openwide.core.jpa.config.spring.AbstractConfiguredJpaConfig; import fr.openwide.core.jpa.config.spring.provi...
package fr.openwide.core.test.jpa.externallinkchecker.config.spring; import org.hibernate.Interceptor; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.EnableAspectJAutoProxy; import fr.openwide.core.jpa.conf...
Declare the interceptor (even if it's not very useful in the tests atm)
Declare the interceptor (even if it's not very useful in the tests atm)
Java
apache-2.0
openwide-java/owsi-core-parent,openwide-java/owsi-core-parent,openwide-java/owsi-core-parent,openwide-java/owsi-core-parent
41c7900f503f6b6417ab83178b9d67449faa6bc3
src/main/java/hu/webarticum/treeprinter/TreeNode.java
src/main/java/hu/webarticum/treeprinter/TreeNode.java
package hu.webarticum.treeprinter; import java.util.List; public interface TreeNode { public String content(); public List<TreeNode> children(); public default TreeNode originalNode() { return this; } public default Insets insets() { return new Insets(0); } ...
package hu.webarticum.treeprinter; import java.util.List; public interface TreeNode { public String content(); public List<TreeNode> children(); public default TreeNode originalNode() { return this; } public default Insets insets() { return Insets.EMPTY; } ...
Use Inset.EMPTY instead of new empty
Use Inset.EMPTY instead of new empty
Java
apache-2.0
davidsusu/tree-printer
675d11d19e8ac3fae922ea7d9fe4672ec7245cbe
src/test/java/seedu/address/testutil/ItemBuilder.java
src/test/java/seedu/address/testutil/ItemBuilder.java
package seedu.address.testutil; import seedu.address.commons.exceptions.IllegalValueException; import seedu.address.model.item.*; import seedu.address.model.tag.Tag; /** * */ public class ItemBuilder { private TestItem person; public ItemBuilder() { this.person = new TestItem(); } public ...
package seedu.address.testutil; import seedu.address.commons.exceptions.IllegalValueException; import seedu.address.model.item.*; import seedu.address.model.tag.Tag; /** * */ public class ItemBuilder { private TestItem item; public ItemBuilder() { this.item = new TestItem(); } public Item...
Rename person to item in TestItem class
Rename person to item in TestItem class
Java
mit
CS2103AUG2016-T14-C3/main
569173c413427e90cc1167d744bb07364bf4a1d8
parity-fix/src/main/java/com/paritytrading/parity/fix/Orders.java
parity-fix/src/main/java/com/paritytrading/parity/fix/Orders.java
package com.paritytrading.parity.fix; import java.util.ArrayList; import java.util.List; class Orders { private List<Order> orders; public Orders() { orders = new ArrayList<>(); } public void add(Order order) { orders.add(order); } public Order findByClOrdID(String clOrdId)...
package com.paritytrading.parity.fix; import java.util.ArrayList; import java.util.List; class Orders { private List<Order> orders; public Orders() { orders = new ArrayList<>(); } public void add(Order order) { orders.add(order); } public Order findByClOrdID(String clOrdId)...
Fix order cancellation in FIX gateway
Fix order cancellation in FIX gateway All orders do not have an OrigClOrdID(41). Thanks to Pekka Enberg for reporting the failure.
Java
apache-2.0
pmcs/parity,pmcs/parity,paritytrading/parity,paritytrading/parity
85f427b31a83b32014faf76252475af9de79d9b0
runtime/android/java/src/org/xwalk/runtime/MixContext.java
runtime/android/java/src/org/xwalk/runtime/MixContext.java
// Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.xwalk.runtime; import android.content.Context; import android.content.ContextWrapper; import android.content.Intent; import android.content....
// Copyright (c) 2013 Intel Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.xwalk.runtime; import android.content.Context; import android.content.ContextWrapper; import android.content.Intent; import android.content....
Fix the context issue to let content create windows
[Android] Fix the context issue to let content create windows Content Layer needs getSystemService to get window manager. And it should be created from Activity.
Java
bsd-3-clause
zliang7/crosswalk,baleboy/crosswalk,siovene/crosswalk,huningxin/crosswalk,hgl888/crosswalk,darktears/crosswalk,XiaosongWei/crosswalk,Shouqun/crosswalk,minggangw/crosswalk,bestwpw/crosswalk,PeterWangIntel/crosswalk,Shouqun/crosswalk,darktears/crosswalk,fujunwei/crosswalk,DonnaWuDongxia/crosswalk,marcuspridham/crosswalk,...
fa212a2628fc06b21b04d00723916d0fe68ceb93
src/main/java/jwbroek/id3/v2/ITunesPodcastFrameReader.java
src/main/java/jwbroek/id3/v2/ITunesPodcastFrameReader.java
/* * Created on Aug 31, 2009 */ package jwbroek.id3.v2; import java.io.IOException; import java.io.InputStream; import jwbroek.id3.ITunesPodcastFrame; public class ITunesPodcastFrameReader implements FrameReader { private final int headerSize; public ITunesPodcastFrameReader(final int headerSize) { th...
/* * Created on Aug 31, 2009 */ package jwbroek.id3.v2; import jwbroek.id3.ITunesPodcastFrame; import java.io.IOException; import java.io.InputStream; public class ITunesPodcastFrameReader implements FrameReader { private final int headerSize; public ITunesPodcastFrameReader(final int headerSize) { ...
Reformat code, remove hardcoded path.
Reformat code, remove hardcoded path.
Java
lgpl-2.1
RomanHargrave/cuelib
4a2d35912246a4cb22a06770aa3fe0e5e3e7fc78
src/main/java/org/luxons/sevenwonders/config/WebSocketConfig.java
src/main/java/org/luxons/sevenwonders/config/WebSocketConfig.java
package org.luxons.sevenwonders.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.messaging.simp.config.MessageBrokerRegistry; import org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigur...
package org.luxons.sevenwonders.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.messaging.simp.config.MessageBrokerRegistry; import org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigur...
Allow cross-origin for frontend server proxy
Allow cross-origin for frontend server proxy
Java
mit
luxons/seven-wonders,luxons/seven-wonders,luxons/seven-wonders
5dbf0438957fe9066a82467c8a015387b0712369
src/main/java/li/l1t/tingo/service/TeacherService.java
src/main/java/li/l1t/tingo/service/TeacherService.java
package li.l1t.tingo.service; import li.l1t.tingo.exception.TeacherNotFoundException; import li.l1t.tingo.model.Teacher; import li.l1t.tingo.model.dto.TeacherDto; import li.l1t.tingo.model.repo.TeacherRepository; import org.dozer.DozerBeanMapper; import org.springframework.beans.factory.annotation.Autowired; import or...
package li.l1t.tingo.service; import li.l1t.tingo.exception.TeacherNotFoundException; import li.l1t.tingo.model.Teacher; import li.l1t.tingo.model.dto.TeacherDto; import li.l1t.tingo.model.repo.TeacherRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Servi...
Fix teacher ids not being mapped
Fix teacher ids not being mapped
Java
apache-2.0
xxyy/sic,xxyy/tingo,xxyy/sic,xxyy/tingo,xxyy/tingo,xxyy/sic
c73f6c373cd1288651f2e7fec0c112852c790b25
fi/cosky/sdk/ImportData.java
fi/cosky/sdk/ImportData.java
package fi.cosky.sdk; /* * This file is subject to the terms and conditions defined in * file 'LICENSE.txt', which is part of this source code package. */ import java.util.List; public class ImportData extends BaseData { public static final String MimeType = "application/vnd.jyu.nfleet.import"; public static fina...
package fi.cosky.sdk; /* * This file is subject to the terms and conditions defined in * file 'LICENSE.txt', which is part of this source code package. */ import java.util.List; public class ImportData extends BaseData { public static final String MimeType = "application/vnd.jyu.nfleet.import"; public static fina...
Add depots into Import and increase mime version to 2.2
Add depots into Import and increase mime version to 2.2
Java
mit
nfleet/java-sdk
4929ded9850d6c9d4879eaadaa9b72e9139c17a7
src/test/java/com/github/aureliano/achmed/os/LinuxTest.java
src/test/java/com/github/aureliano/achmed/os/LinuxTest.java
package com.github.aureliano.achmed.os; import static org.junit.Assert.assertEquals; import org.junit.Test; import com.github.aureliano.achmed.exception.ServiceResourceException; import com.github.aureliano.achmed.os.pkg.IPackageManager; import com.github.aureliano.achmed.types.OS; import com.github.aureliano.achmed...
package com.github.aureliano.achmed.os; import static org.junit.Assert.assertEquals; import org.junit.Test; import com.github.aureliano.achmed.exception.ServiceResourceException; import com.github.aureliano.achmed.os.pkg.IPackageManager; import com.github.aureliano.achmed.types.OS; import com.github.aureliano.achmed...
Add unit test to get pid passing empty pattern.
Add unit test to get pid passing empty pattern.
Java
mit
aureliano/achmed
3af8f57021fa381ec8d9fb49d4f7de0d0b1f2513
core/src/main/java/org/bitcoinj/core/SignatureDecodeException.java
core/src/main/java/org/bitcoinj/core/SignatureDecodeException.java
/* * Copyright 2018 Andreas Schildbach * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
/* * Copyright by 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 applicable ...
Replace some of my copyright statements by the generic statement.
Replace some of my copyright statements by the generic statement. (cherry picked from commit 5274855f2b5decdc17362c1f3111832acfe5ddfb) Signed-off-by: HashEngineering <cdfd0e2929fd184ec34228d20f211727fcb487d4@gmail.com>
Java
apache-2.0
HashEngineering/darkcoinj,HashEngineering/dashj,HashEngineering/dashj,HashEngineering/dashj,HashEngineering/dashj,HashEngineering/darkcoinj,HashEngineering/darkcoinj
9d22e1026341f075e72fdae703063dc7be35b518
app/src/main/java/com/blocksolid/okrello/display/Scores.java
app/src/main/java/com/blocksolid/okrello/display/Scores.java
package com.blocksolid.okrello.display; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Created by Dan Buckland on 02/12/2015. */ public class Scores { public String extractScoreFromString(String string) { Pattern pattern = Pattern.compile("\\[(\\d{1}\\.\\d{1})\\]"); Matche...
package com.blocksolid.okrello.display; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * Created by Dan Buckland on 02/12/2015. */ public class Scores { public String extractScoreFromString(String string) { Pattern pattern = Pattern.compile("\\[(\\d{1}\\.\\d{1})\\]"); Matche...
Complete extractScoreFromString method to return "1.0" if value of score is above 1.0
Complete extractScoreFromString method to return "1.0" if value of score is above 1.0
Java
mit
danbuckland/okrello,danbuckland/okrello
3203f061d42e9fbf1d3d5a3c5830565119f71e29
src/openmods/OpenModsCorePlugin.java
src/openmods/OpenModsCorePlugin.java
package openmods; import java.util.Map; import java.util.logging.Logger; import cpw.mods.fml.common.FMLLog; import cpw.mods.fml.relauncher.IFMLLoadingPlugin; import cpw.mods.fml.relauncher.IFMLLoadingPlugin.SortingIndex; import cpw.mods.fml.relauncher.IFMLLoadingPlugin.TransformerExclusions; //must be lower than all...
package openmods; import java.util.Map; import java.util.logging.Logger; import cpw.mods.fml.common.FMLLog; import cpw.mods.fml.relauncher.IFMLLoadingPlugin; import cpw.mods.fml.relauncher.IFMLLoadingPlugin.SortingIndex; import cpw.mods.fml.relauncher.IFMLLoadingPlugin.TransformerExclusions; //must be lower than all...
Remove @Override from deprecated method
Remove @Override from deprecated method
Java
mit
nevercast/OpenModsLib,OpenMods/OpenModsLib,OpenMods/OpenModsLib
d44efec740b8453bb0c3a312126020297ccd1445
loci/formats/JPEGReader.java
loci/formats/JPEGReader.java
// // JPEGReader.java // /* LOCI Bio-Formats package for reading and converting biological file formats. Copyright (C) 2005-2006 Melissa Linkert, Curtis Rueden and Eric Kjellman. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by t...
// // JPEGReader.java // /* LOCI Bio-Formats package for reading and converting biological file formats. Copyright (C) 2005-2006 Melissa Linkert, Curtis Rueden and Eric Kjellman. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by t...
Add "jpe" as a possible JPEG extension.
Add "jpe" as a possible JPEG extension.
Java
bsd-2-clause
scifio/scifio
193acfb7e2c8ad02300fc04b83faad2e6c32c980
src/main/java/org/killbill/billing/catalog/api/Duration.java
src/main/java/org/killbill/billing/catalog/api/Duration.java
/* * Copyright 2010-2013 Ning, Inc. * * Ning licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * Copyright 2010-2013 Ning, Inc. * * Ning licenses this file to you under the Apache License, version 2.0 * (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Add convinience method tp convert LocalDate + Kill Bill duration
catalog: Add convinience method tp convert LocalDate + Kill Bill duration
Java
apache-2.0
killbill/killbill-api,killbill/killbill-api
1a3637e682fc327cf1b033e9dec77b7849d6b612
app/src/main/java/com/andela/iworkout/utilities/Settings.java
app/src/main/java/com/andela/iworkout/utilities/Settings.java
package com.andela.iworkout.utilities; import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; public class Settings { public Settings() { } public static boolean getPushUpMode(Context context) { SharedPreferences preferences = Prefe...
package com.andela.iworkout.utilities; import android.content.Context; import android.content.SharedPreferences; import android.net.Uri; import android.preference.PreferenceManager; public class Settings { public Settings() { } public static boolean getPushUpMode(Context context) { SharedPrefere...
Add methods to get Notifications preference values
Add methods to get Notifications preference values
Java
mit
andela-kogunde/iWorkout
cbf5014e5d768cf04b5fe74cc0eadc6ce3691acc
src/test/java/zeptodns/protocol/wire/FlagUtilsTest.java
src/test/java/zeptodns/protocol/wire/FlagUtilsTest.java
package zeptodns.protocol.wire; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import static org.junit.Assert.assertEquals; @RunWith(JUnit4.class) public class FlagUtilsTest { @Test public void thatQueryResponseFlagIsSetCorrectly() { int flags = 0; f...
package zeptodns.protocol.wire; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import static org.junit.Assert.assertEquals; @RunWith(JUnit4.class) public class FlagUtilsTest { @Test public void thatQueryResponseFlagIsSetCorrectly() { int flags = 0; f...
Add test case for overlapping flags
Add test case for overlapping flags
Java
mit
rmuch/zeptodns,rmuch/zeptodns
1f3d36aa8796ca7b27e97add58ba505a1d703f19
sandbox/src/main/java/ru/stqa/pft/sandbox/MyFirstProgram.java
sandbox/src/main/java/ru/stqa/pft/sandbox/MyFirstProgram.java
package ru.stqa.pft.sandbox; public class MyFirstProgram { public static void main(String[] args) { hello("world"); hello("Pavel"); Square s = new Square(7); System.out.println("Square of a square with side " + s.l + " = " + s.area()); Rectangle r = new Rectangle(5, 10); System.out.println(...
package ru.stqa.pft.sandbox; public class MyFirstProgram { public static void main(String[] args) { hello("world"); hello("Pavel"); Square s = new Square(7); System.out.println("Square of a square with side " + s.l + " = " + s.area()); Rectangle r = new Rectangle(5, 10); System.out.println(...
Create and use function distance
Create and use function distance
Java
apache-2.0
PavelGirkalo/java_pft,PavelGirkalo/java_pft
9d0deb8157c26a01e172107297535bd1a49ff3a2
src/main/java/io/github/stormcloud_dev/stormcloud/Player.java
src/main/java/io/github/stormcloud_dev/stormcloud/Player.java
package io.github.stormcloud_dev.stormcloud; /* * Copyright 2014 StormCloud Development Group * * 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 2014 StormCloud Development Group * * 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...
Move package declaration underneath license block
Move package declaration underneath license block
Java
apache-2.0
stormcloud-dev/stormcloud
6962b822bd3a595f1b43e7397afbb1c405441a6e
Projeto_Eclipse/src/main/managepdf/ManageBasePDF.java
Projeto_Eclipse/src/main/managepdf/ManageBasePDF.java
package main.managepdf; import java.io.File; import java.util.List; /** * Define funes para gerenciar em um PDF. * @author Alex * * @param <T> - Tipo da informao a ser gerenciada. */ public interface ManageBasePDF<T>{ /** * Cria um PDF com anotaes. * @param infos - lista de anotaes a serem adicionadas a u...
package main.managepdf; import java.io.File; import java.io.FileNotFoundException; import java.util.List; /** * Define funes para gerenciar em um PDF. * @author Alex * * @param <T> - Tipo da informao a ser gerenciada. */ public interface ManageBasePDF<T>{ /** * Cria um PDF com anotaes. * @param infos - li...
Add de excecao gerada para abrir pdf.
Add de excecao gerada para abrir pdf.
Java
mit
alexferreiradev/MergeKindleClippingsToPDF
cf9c5d742bea81bec69f7d10359355938384d6b8
digdag-spi/src/main/java/io/digdag/spi/ac/AttemptTarget.java
digdag-spi/src/main/java/io/digdag/spi/ac/AttemptTarget.java
package io.digdag.spi.ac; import org.immutables.value.Value; @Value.Immutable public interface AttemptTarget { int getSiteId(); String getProjectName(); String getWorkflowName(); int getSessionId(); int getId(); static AttemptTarget of(int siteId, String projectName, String workflowName, ...
package io.digdag.spi.ac; import org.immutables.value.Value; @Value.Immutable public interface AttemptTarget { int getSiteId(); String getProjectName(); String getWorkflowName(); long getSessionId(); long getId(); static AttemptTarget of(int siteId, String projectName, String workflowName...
Fix spi.ac.AttmeptTarget to change types of session_id and attempt_id
AccessController: Fix spi.ac.AttmeptTarget to change types of session_id and attempt_id
Java
apache-2.0
treasure-data/digdag,treasure-data/digdag,treasure-data/digdag,treasure-data/digdag,treasure-data/digdag,treasure-data/digdag,treasure-data/digdag
ac9889e31dae01bdf1a1e8942167a18755df01cb
test/com/opera/core/systems/OperaBlank.java
test/com/opera/core/systems/OperaBlank.java
package com.opera.core.systems; import static org.junit.Assert.assertTrue; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.Test; import com.opera.core.systems.scope.protos.SystemInputProtos.ModifierPressed; import com.opera.core.systems.scope.protos.SystemInputProtos.MouseInfo.MouseButton...
package com.opera.core.systems; import static org.junit.Assert.assertTrue; import org.junit.AfterClass; import org.junit.Test; public class OperaBlank extends DesktopTestBase { @Test public void testBookmarkDialog() { driver.waitStart(); // driver.operaDesktopAction("Add to bookmarks"); int win_id =...
Remove custom setup and teardown, reformat
Remove custom setup and teardown, reformat
Java
apache-2.0
operasoftware/operaprestodriver,operasoftware/operaprestodriver,operasoftware/operaprestodriver
dbbdfc477cca5961e9fa89b3627f909ab34a3fd3
assets/src/RubotoBroadcastReceiver.java
assets/src/RubotoBroadcastReceiver.java
package THE_PACKAGE; public class THE_RUBOTO_CLASS THE_ACTION THE_ANDROID_CLASS { private String scriptName; private boolean initialized = false; public void setCallbackProc(int id, Object obj) { // Error: no callbacks throw new RuntimeException("RubotoBroadcastReceiver does not accept cal...
package THE_PACKAGE; import java.io.IOException; public class THE_RUBOTO_CLASS THE_ACTION THE_ANDROID_CLASS { private String scriptName = null; private boolean initialized = false; public void setCallbackProc(int id, Object obj) { // Error: no callbacks throw new RuntimeException("RubotoB...
Update to work through manifest and directly
Update to work through manifest and directly
Java
mit
lucasallan/ruboto,Jodell88/ruboto,lucasallan/ruboto,baberthal/ruboto,baberthal/ruboto,Jodell88/ruboto,lucasallan/ruboto,ruboto/ruboto,ruboto/ruboto,Jodell88/ruboto,ruboto/ruboto,baberthal/ruboto
819b4e03148799ee43d77af0f4153ce2c515f809
src/test/java/RomanNumbersTest.java
src/test/java/RomanNumbersTest.java
import org.junit.Test; import static org.junit.Assert.assertEquals; public class RomanNumbersTest { @Test public void givenZeroWhenArabicToRomanCalledShouldReturnEmptyString() { RomanNumbers romanNumbers = new RomanNumbers(); String translation = romanNumbers.arabicToRoman(0); asser...
import org.junit.Test; import static org.junit.Assert.assertEquals; public class RomanNumbersTest { @Test public void givenZeroWhenArabicToRomanCalledShouldReturnEmptyString() { RomanNumbers romanNumbers = new RomanNumbers(); String translation = romanNumbers.arabicToRoman(0); asser...
Refactor Tests - Merge all direct translation numbers tests
Refactor Tests - Merge all direct translation numbers tests
Java
mit
gerardpedrenyscmspain/roman-numbers-kata
999ef600dbd9572c7f0e6e674e721e9f66a71616
src/paprika/neo4j/MIMQuery.java
src/paprika/neo4j/MIMQuery.java
package paprika.neo4j; import org.neo4j.cypher.CypherException; import org.neo4j.graphdb.Result; import org.neo4j.graphdb.Transaction; import java.io.IOException; /** * Created by Geoffrey Hecht on 18/08/15. */ public class MIMQuery extends Query { private MIMQuery(QueryEngine queryEngine) { super(que...
package paprika.neo4j; import org.neo4j.cypher.CypherException; import org.neo4j.graphdb.Result; import org.neo4j.graphdb.Transaction; import java.io.IOException; /** * Created by Geoffrey Hecht on 18/08/15. */ public class MIMQuery extends Query { private MIMQuery(QueryEngine queryEngine) { super(que...
Fix in MIM request to use ExternalMethod and ignore Method which are never called (in this case the soot callgraph is incorrect)
Fix in MIM request to use ExternalMethod and ignore Method which are never called (in this case the soot callgraph is incorrect)
Java
agpl-3.0
GeoffreyHecht/paprika,GeoffreyHecht/paprika
4a70ff6912f6aad805c5e1c23c8f7f0c98856037
app/src/main/java/moe/minori/pgpclipper/BootListener.java
app/src/main/java/moe/minori/pgpclipper/BootListener.java
package moe.minori.pgpclipper; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.preference.PreferenceManager; /** * Created by Minori on 2015-09-26. */ public class BootListener extends BroadcastReceiver...
package moe.minori.pgpclipper; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.preference.PreferenceManager; import android.util.Log; /** * Created by Minori on 2015-09-26. */ public class BootListener ...
Fix issue preventing startup when device is rebooted (silly me)
Fix issue preventing startup when device is rebooted (silly me)
Java
apache-2.0
Mnkai/PGPClipper
b1af972542d1021780591801534589fd67c8a421
src/net/zephyrizing/http_server/handlers/FileSystemHandler.java
src/net/zephyrizing/http_server/handlers/FileSystemHandler.java
package net.zephyrizing.http_server.handlers; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import net.zephyrizing.http_server.HttpRequest; import net.zephyrizing.http_server.HttpResponse; import net.zephyrizing.http_server.content.ContentProvider; import net.zephyrizing.http_serv...
package net.zephyrizing.http_server.handlers; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import net.zephyrizing.http_server.HttpRequest; import net.zephyrizing.http_server.HttpRequest.Method; import net.zephyrizing.http_server.HttpResponse; import net.zephyrizing.http_server.c...
Make the FileHandler more specific
Make the FileHandler more specific It only looks for content when it's a GET request.
Java
mit
RadicalZephyr/http-server
82c7964ae1abb805a63aeed677afa2979f573137
src/main/java/org/bricolages/streaming/filter/SequenceOp.java
src/main/java/org/bricolages/streaming/filter/SequenceOp.java
package org.bricolages.streaming.filter; import org.bricolages.streaming.ApplicationError; import org.bricolages.streaming.SequencialNumberRepository; import lombok.*; class SequenceOp extends SingleColumnOp { static final void register(OpBuilder builder) { builder.registerOperator("sequence", (def) -> ...
package org.bricolages.streaming.filter; import org.bricolages.streaming.ApplicationError; import org.bricolages.streaming.SequencialNumberRepository; import lombok.*; class SequenceOp extends SingleColumnOp { static final void register(OpBuilder builder) { builder.registerOperator("sequence", (def) -> ...
Throw FilterException instead of ApplicationException when allocated sequence counter is starved
Throw FilterException instead of ApplicationException when allocated sequence counter is starved
Java
mit
aamine/bricolage-streaming-preprocessor,bricolages/bricolage-streaming-preprocessor,aamine/bricolage-streaming-preprocessor,bricolages/bricolage-streaming-preprocessor
5e3b29d7348380e53b69be19af3c90475f61683e
api/src/main/java/org/vivoweb/webapp/startup/SiteAdminSetup.java
api/src/main/java/org/vivoweb/webapp/startup/SiteAdminSetup.java
package org.vivoweb.webapp.startup; import edu.cornell.mannlib.vitro.webapp.controller.freemarker.InstitutionalInternalClassController; import edu.cornell.mannlib.vitro.webapp.controller.freemarker.SiteAdminController; import edu.cornell.mannlib.vitro.webapp.controller.freemarker.UrlBuilder; import edu.cornell.mannlib...
package org.vivoweb.webapp.startup; import edu.cornell.mannlib.vitro.webapp.controller.freemarker.InstitutionalInternalClassController; import edu.cornell.mannlib.vitro.webapp.controller.freemarker.SiteAdminController; import edu.cornell.mannlib.vitro.webapp.controller.freemarker.UrlBuilder; import edu.cornell.mannlib...
Fix broken site admin links
Fix broken site admin links
Java
bsd-3-clause
vivo-project/VIVO,vivo-project/VIVO,vivo-project/VIVO,vivo-project/VIVO
ef66eb67a767184fa29d52a5280118cd7c697bdc
app/src/main/java/mozilla/org/webmaker/view/WebmakerWebView.java
app/src/main/java/mozilla/org/webmaker/view/WebmakerWebView.java
package mozilla.org.webmaker.view; import android.app.Activity; import android.content.Context; import android.view.ViewGroup; import org.json.JSONObject; import org.xwalk.core.XWalkView; import mozilla.org.webmaker.client.WebClient; import mozilla.org.webmaker.javascript.WebAppInterface; public class WebmakerWebVi...
package mozilla.org.webmaker.view; import android.app.Activity; import android.content.Context; import android.view.ViewGroup; import mozilla.org.webmaker.R; import org.json.JSONObject; import org.xwalk.core.XWalkView; import mozilla.org.webmaker.client.WebClient; import mozilla.org.webmaker.javascript.WebAppInterfa...
Use “lightGray” for web view background color
Use “lightGray” for web view background color
Java
mpl-2.0
gvn/webmaker-android,mozilla/webmaker-android,alicoding/webmaker-android,bolaram/webmaker-android,alanmoo/webmaker-android,adamlofting/webmaker-android,mozilla/webmaker-android,rodmoreno/webmaker-android,k88hudson/webmaker-android,rodmoreno/webmaker-android,alicoding/webmaker-android,j796160836/webmaker-android,gvn/web...
2fc8c076a763832043ac46ca6b163e2c66bed996
src/scenarios/bank_account_debit_order/bank_account_debit_order.java
src/scenarios/bank_account_debit_order/bank_account_debit_order.java
package bank_account_debit_order; import com.balancedpayments.Balanced; import com.balancedpayments.BankAccount; import com.balancedpayments.Debit; import com.balancedpayments.Order; import com.balancedpayments.errors.HTTPError; import com.balancedpayments.errors.MultipleResultsFound; import com.balancedpayments.error...
package bank_account_debit_order; import com.balancedpayments.*; import com.balancedpayments.errors.*; import java.util.HashMap; import java.util.Map; public class bank_account_debit_order { public static void main(String[] args) throws HTTPError, NoResultsFound, MultipleResultsFound { Balanced.configure("ak-test-25...
Edit bank account debit order imports
Edit bank account debit order imports
Java
mit
balanced/balanced-java
8a7a0c3f012f7da27c452b11543ed8e8a614705f
src/test/java/net/tjololo/openshift/havoc/KeresApplicationTests.java
src/test/java/net/tjololo/openshift/havoc/KeresApplicationTests.java
package net.tjololo.openshift.havoc; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest public class KeresApplicationTests { @Test public void ...
package net.tjololo.openshift.havoc; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.junit4.SpringRunner; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.core.Is.is; @RunWith(S...
Improve code quality. Added assertion in test
Improve code quality. Added assertion in test
Java
apache-2.0
tjololo/openpandora-keres
34a20476cd19b40e497fd961dc6f21c7a7f6b941
src/main/java/com/justinwflory/scratch/GPATest.java
src/main/java/com/justinwflory/scratch/GPATest.java
public class GPA{ public static void main(int g){ if (g >= 90) { gpa = 4; } else if (g >= 80) { gpa = 3; } else if (g >= 70) { gpa = 2; } else if (g >= 60) { gpa = 1; } else { gpa = ...
import java.util.Scanner; public class GPATest { public static void main(String[] args) { Scanner scan = new Scanner(System.in); System.out.println("Enter the grade to be checked."); int g = scan.nextInt(); int gpa; if (g >= 90) { gpa = 4; } else if (g >= 80) { gpa = 3; ...
Add neccessary components to run independently
Add neccessary components to run independently
Java
apache-2.0
jflory7/SFHSAPCompSci2015,jflory7/SFHSAPCompSci2015,jflory7/SFHSAPCompSci2015,jflory7/SFHSAPCompSci2015
6d6137b868986d3a8a9a45ec5fc50e7aa390cb3e
src/main/java/editor/views/AttributesPanelView.java
src/main/java/editor/views/AttributesPanelView.java
package editor.views; import javax.swing.*; import java.awt.*; import java.util.HashMap; /** * The AttributesPanelView is used to show all of the attributes of an XML * element in an editable form. * @see xml.Element */ public class AttributesPanelView extends JPanel { private JPanel attributesPanel; /**...
package editor.views; import javax.swing.*; import java.awt.*; import java.util.ArrayList; import java.util.HashMap; /** * The AttributesPanelView is used to show all of the attributes of an XML * element in an editable form. * @see xml.Element */ public class AttributesPanelView extends JPanel { private JPan...
Make number of attributes in editor variable
Make number of attributes in editor variable
Java
mpl-2.0
dwjackson/EditSomeXML
93243f1333f43cef7764039b971d2305bdee1f14
test/org/apache/catalina/realm/TestMemoryRealm.java
test/org/apache/catalina/realm/TestMemoryRealm.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
Fix test, a plain realm now needs a credentials handler since it's only set in startInternal.
Fix test, a plain realm now needs a credentials handler since it's only set in startInternal. git-svn-id: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@1758525 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
Nickname0806/Test_Q4,Nickname0806/Test_Q4,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4,apache/tomcat,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4
20ff38cf26334e98466a665c3b4d855e8df8bce0
app/src/main/java/com/kickstarter/models/Location.java
app/src/main/java/com/kickstarter/models/Location.java
package com.kickstarter.models; import android.os.Parcelable; import com.kickstarter.libs.qualifiers.AutoGson; import auto.parcel.AutoParcel; @AutoGson @AutoParcel public abstract class Location implements Parcelable { public abstract String displayableName(); public abstract long id(); public abstract String...
package com.kickstarter.models; import android.os.Parcelable; import android.support.annotation.Nullable; import com.kickstarter.libs.qualifiers.AutoGson; import auto.parcel.AutoParcel; @AutoGson @AutoParcel public abstract class Location implements Parcelable { public abstract long id(); public abstract String...
Update nullability on location based on what API sends back.
Update nullability on location based on what API sends back.
Java
apache-2.0
kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss,kickstarter/android-oss
d8d665d37c5505160ac98d296685f055e1255d8e
test/src/org/apache/jmeter/protocol/http/sampler/HTTPNullSampler.java
test/src/org/apache/jmeter/protocol/http/sampler/HTTPNullSampler.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Return a sample result, so can test methods that perform a sample
Return a sample result, so can test methods that perform a sample git-svn-id: 7c053b8fbd1fb5868f764c6f9536fc6a9bbe7da9@907681 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
DoctorQ/jmeter,hizhangqi/jmeter-1,ubikloadpack/jmeter,ubikloadpack/jmeter,etnetera/jmeter,fj11/jmeter,ubikfsabbe/jmeter,tuanhq/jmeter,vherilier/jmeter,ra0077/jmeter,hizhangqi/jmeter-1,max3163/jmeter,etnetera/jmeter,vherilier/jmeter,hemikak/jmeter,max3163/jmeter,vherilier/jmeter,etnetera/jmeter,liwangbest/jmeter,ubikloa...
0714a05072d41e8be08240c33d217bd52ef203e2
log-manager/src/main/java/io/airlift/log/OutputStreamHandler.java
log-manager/src/main/java/io/airlift/log/OutputStreamHandler.java
package io.airlift.log; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.Writer; import java.util.logging.Handler; import java.util.logging.LogRecord; import static java.nio.charset.StandardCharsets.UTF_8; import static java.util.logging.ErrorManager.CLOSE_FAILURE; import static java.uti...
package io.airlift.log; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.io.Writer; import java.util.concurrent.atomic.AtomicBoolean; import java.util.logging.Handler; import java.util.logging.LogRecord; import static java.nio.charset.StandardCharsets.UTF_8; fin...
Add flushing for console logging
Add flushing for console logging
Java
apache-2.0
dain/airlift,cberner/airlift,haozhun/airlift,zhenyuy-fb/airlift,johngmyers/airlift,haozhun/airlift,dain/airlift,johngmyers/airlift,electrum/airlift,electrum/airlift,johngmyers/airlift,airlift/airlift,zhenyuy-fb/airlift,airlift/airlift,zhenyuy-fb/airlift,dain/airlift,zhenyuy-fb/airlift,airlift/airlift,daququ/airlift,daq...
ceea3ce6d8bc3261dfe877a1f1390d22231e671b
src/test/java/cloud/swiftnode/kspam/util/StaticUtil.java
src/test/java/cloud/swiftnode/kspam/util/StaticUtil.java
package cloud.swiftnode.kspam.util; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.Random; /** * Created by Junhyeong Lim on 2017-01-18. */ public class StaticUtil { private static Random random = new Random(); public static InetAddress getRandomAddr() throws UnknownHos...
package cloud.swiftnode.kspam.util; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.Random; /** * Created by Junhyeong Lim on 2017-01-18. */ public class StaticUtil { private static Random random = new Random(); public static InetAddress getRandomAddr() throws UnknownHos...
Fix some code 변수가 아닌 메서드 사용
Fix some code 변수가 아닌 메서드 사용
Java
agpl-3.0
EntryPointKR/K-Security,EntryPointKR/K-SPAM
5acd9538453bab6c0f68bfe83b967309c652f5d7
mcont-demo/src/main/java/org/vaadin/mcont/demo/data/DemoContainer.java
mcont-demo/src/main/java/org/vaadin/mcont/demo/data/DemoContainer.java
package org.vaadin.mcont.demo.data; import com.vaadin.data.util.ExtensibleBeanContainer; public class DemoContainer extends ExtensibleBeanContainer { public DemoContainer() { super(Person.class, Employee.class, Child.class); addBean("person1", new Person("person1")); addBean("employee1",...
package org.vaadin.mcont.demo.data; import com.vaadin.data.util.BeanItem; import com.vaadin.data.util.ExtensibleBeanContainer; public class DemoContainer extends ExtensibleBeanContainer<String, Person> { public DemoContainer() { super(Person.class, Employee.class, Child.class); setBeanId...
Update demo, optimized batched adding of multiple items
Update demo, optimized batched adding of multiple items
Java
apache-2.0
hesara/mcont
e4fc74d26dbc94b7c1bb511c10d1114dad188692
src/main/java/com/elmakers/mine/bukkit/api/entity/EntityData.java
src/main/java/com/elmakers/mine/bukkit/api/entity/EntityData.java
package com.elmakers.mine.bukkit.api.entity; import org.bukkit.Art; import org.bukkit.Location; import org.bukkit.block.BlockFace; import org.bukkit.entity.Entity; import org.bukkit.entity.EntityType; import org.bukkit.inventory.ItemStack; public interface EntityData { public Location getLocation(); public EntityTy...
package com.elmakers.mine.bukkit.api.entity; import org.bukkit.Art; import org.bukkit.Location; import org.bukkit.block.BlockFace; import org.bukkit.entity.Entity; import org.bukkit.entity.EntityType; import org.bukkit.inventory.ItemStack; public interface EntityData { public Location getLocation(); public EntityTy...
Add a toggle for moving an entity on undo
Add a toggle for moving an entity on undo
Java
mit
elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicPlugin,elBukkit/MagicAPI
ce111bb421052a813c00feb7fe278499700a4136
src/pro/java/com/antew/redditinpictures/ApplicationModulePro.java
src/pro/java/com/antew/redditinpictures/ApplicationModulePro.java
package com.antew.redditinpictures; import com.antew.redditinpictures.library.ui.ImageDetailActivity; import com.antew.redditinpictures.library.ui.ImageDetailFragment; import com.antew.redditinpictures.library.ui.ImageGridActivity; import com.antew.redditinpictures.library.ui.ImageGridFragment; import com.antew.reddit...
package com.antew.redditinpictures; import com.antew.redditinpictures.library.ui.ImageDetailActivity; import com.antew.redditinpictures.library.ui.ImageDetailFragment; import com.antew.redditinpictures.library.ui.ImageGridActivity; import com.antew.redditinpictures.library.ui.ImageGridFragment; import com.antew.reddit...
Fix galleries crashing due to missing injection declaration.
Fix galleries crashing due to missing injection declaration.
Java
apache-2.0
antew/RedditInPictures
dcd5462db00480da82ea3b12f5397aba7330de30
v-ol2/src/main/java/org/vaadin/vol/client/OpenLayersMapState.java
v-ol2/src/main/java/org/vaadin/vol/client/OpenLayersMapState.java
package org.vaadin.vol.client; import com.vaadin.shared.AbstractComponentState; import com.vaadin.shared.Connector; import java.util.*; public class OpenLayersMapState extends AbstractComponentState { public List<Connector> layers = new LinkedList<Connector>(); public Point center; public int zoom = 3; ...
package org.vaadin.vol.client; import com.vaadin.shared.AbstractComponentState; import com.vaadin.shared.Connector; import java.util.*; public class OpenLayersMapState extends AbstractComponentState { public List<Connector> layers = new LinkedList<Connector>(); public Point center; public int zoom = 3; ...
Set map default project to null (same way as addon's Vaadin 6 version works)
Set map default project to null (same way as addon's Vaadin 6 version works)
Java
apache-2.0
markathomas/v-ol2,markathomas/v-ol2
2978328d75556db0e111cf401dfac8c4de492ef2
zanata-common-util/src/main/java/org/zanata/util/ShortString.java
zanata-common-util/src/main/java/org/zanata/util/ShortString.java
package org.zanata.util; /** * ShortStrings are meant for use in logging. They don't incur the cost of * shortening until toString() is called. This means they hold on to the entire * string, so don't bother keeping them around in memory for long. * * @author Sean Flanigan <a * href="mailto:sflaniga@red...
package org.zanata.util; import java.util.ArrayList; import java.util.List; /** * ShortStrings are meant for use in logging. They don't incur the cost of * shortening until toString() is called. This means they hold on to the entire * string, so don't bother keeping them around in memory for long. * * @author S...
Change GetTransMemoryHandler to return multiple strings per TextFlow
Change GetTransMemoryHandler to return multiple strings per TextFlow Also had to split TranslationMemoryGlossaryItem into SearchResultItem, TransMemoryResultItem and GlossaryResultItem and related UI classes. (Sorting of TM results still needs to account for multiple strings.) TransMemoryQuery.toString() shortens no...
Java
lgpl-2.1
zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform
7bc1b3cd9acdd1e14c4bbddab26d44d49f7f6b76
oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/util/LazyValue.java
oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/util/LazyValue.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Implement observation synchronize access to observation timer
OAK-144: Implement observation synchronize access to observation timer git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1357702 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
joansmith/jackrabbit-oak,code-distillery/jackrabbit-oak,ieb/jackrabbit-oak,yesil/jackrabbit-oak,AndreasAbdi/jackrabbit-oak,leftouterjoin/jackrabbit-oak,FlakyTestDetection/jackrabbit-oak,rombert/jackrabbit-oak,kwin/jackrabbit-oak,francescomari/jackrabbit-oak,mduerig/jackrabbit-oak,bdelacretaz/jackrabbit-oak,bdelacretaz/...
6ab4baf67cb5bcf2e6e75d1f617cdc442180e5c7
src/test/java/org/junit/contrib/truth/extensiontest/MySubject.java
src/test/java/org/junit/contrib/truth/extensiontest/MySubject.java
/* * Copyright (c) 2011 David Saff * Copyright (c) 2011 Christian Gruber * * 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 r...
/* * Copyright (c) 2011 David Saff * Copyright (c) 2011 Christian Gruber * * 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 r...
Fix extension example to work with nextChain()
Fix extension example to work with nextChain()
Java
apache-2.0
andyglick/truth0,dsaff/truth-old,dahlstrom-g/truth,google/truth,dahlstrom-g/truth,kidaa/truth,google/truth,google/truth,kidaa/truth,andyglick/truth0,dsaff/truth-old,hcoles/truth,hcoles/truth,cgruber/truth,cgruber/truth
4451c74c5b1b14d54ba8f7c06caac23dc40b1e76
src/main/java/com/pyamsoft/padlock/model/event/RxBus.java
src/main/java/com/pyamsoft/padlock/model/event/RxBus.java
/* * Copyright 2016 Peter Kenji Yamanaka * * 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 a...
/* * Copyright 2016 Peter Kenji Yamanaka * * 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 a...
Remove the specification of thread from the bus
Remove the specification of thread from the bus
Java
apache-2.0
pyamsoft/padlock,pyamsoft/padlock
24f5fcb0141fe578897f26ca165cd6ae3e9582d5
src/com/nasmlanguage/NASMSyntaxHighlighterFactory.java
src/com/nasmlanguage/NASMSyntaxHighlighterFactory.java
/*++ NASM Assembly Language Plugin Copyright (c) 2017-2018 Aidan Khoury. All rights reserved. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your opt...
/*++ NASM Assembly Language Plugin Copyright (c) 2017-2018 Aidan Khoury 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 use...
Update copyright notice with MIT license
Update copyright notice with MIT license
Java
mit
dude719/JetBrains-NASM-Language
546855166b3f1ebda104774feb48087eb34467fa
src/test/java/fi/helsinki/cs/tmc/cli/io/ColorTest.java
src/test/java/fi/helsinki/cs/tmc/cli/io/ColorTest.java
package fi.helsinki.cs.tmc.cli.io; import static org.junit.Assert.assertEquals; import org.junit.Before; import org.junit.Test; public class ColorTest { private Boolean noColor; @Before public void setup() { this.noColor = EnvironmentUtil.isWindows(); } @Test public void colorsWork...
package fi.helsinki.cs.tmc.cli.io; import static org.junit.Assert.assertEquals; import static org.mockito.Mockito.when; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.powermock.api.mockito.PowerMockito; import org.powermock.core.classloader.annotations.PrepareForTest; impo...
Make the color tests OS agnostic.
Make the color tests OS agnostic.
Java
mit
tmc-cli/tmc-cli,tmc-cli/tmc-cli,testmycode/tmc-cli,testmycode/tmc-cli
19590377d02d4a0ce7f25895eacc116f79878838
src/main/java/org/monospark/actioncontrol/category/CategoryRegistry.java
src/main/java/org/monospark/actioncontrol/category/CategoryRegistry.java
package org.monospark.actioncontrol.category; import java.io.File; import java.io.IOException; import java.nio.file.Path; import java.util.Collections; import java.util.Set; import java.util.stream.Collectors; import org.monospark.actioncontrol.config.ConfigParseException; import org.monospark.actioncontrol.config.Co...
package org.monospark.actioncontrol.category; import java.io.File; import java.io.IOException; import java.nio.file.Path; import java.util.Collections; import java.util.Set; import java.util.stream.Collectors; import org.monospark.actioncontrol.config.ConfigParseException; import org.monospark.actioncontrol.config.Co...
Replace more occurences of "group" with "category"
Replace more occurences of "group" with "category"
Java
mit
Monospark/ActionControl
0e86aad1930c44570935d0885e07ec92cd7f23aa
src/main/java/info/u_team/u_team_core/intern/init/UCoreNetwork.java
src/main/java/info/u_team/u_team_core/intern/init/UCoreNetwork.java
package info.u_team.u_team_core.intern.init; import info.u_team.u_team_core.UCoreMod; import info.u_team.u_team_core.intern.network.*; import net.minecraft.util.ResourceLocation; import net.minecraftforge.fml.network.NetworkRegistry; import net.minecraftforge.fml.network.simple.SimpleChannel; public class UCoreNetwor...
package info.u_team.u_team_core.intern.init; import info.u_team.u_team_core.UCoreMod; import info.u_team.u_team_core.intern.network.*; import net.minecraft.util.ResourceLocation; import net.minecraftforge.fml.event.lifecycle.FMLCommonSetupEvent; import net.minecraftforge.fml.network.NetworkRegistry; import net.minecra...
Move network registry to common setup event. That is sufficient
Move network registry to common setup event. That is sufficient
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
e27349c46169e63a50ecdaa0bcfe81849b49c12b
src/test/java/model/TestFileLink.java
src/test/java/model/TestFileLink.java
package model; import org.junit.Test; import static org.junit.Assert.assertNotNull; /** * Tests {@link FileLink FileLink} class. */ public class TestFileLink { private static final String API_KEY = "XXXXXXXXXXXXXXXXXXXXXXX"; private static final String HANDLE = "XXXXXXXXXXXXXXXXXXXXX"; @Test publi...
package model; import okhttp3.OkHttpClient; import okhttp3.ResponseBody; import org.junit.BeforeClass; import org.junit.Test; import util.Networking; import util.MockInterceptor; import java.io.File; import java.io.IOException; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertTrue; ...
Add tests for download() and getContent() methods.
Add tests for download() and getContent() methods.
Java
apache-2.0
filestack/filestack-java,filestack/filestack-java
f75aec7ea8514f75b2cd0954b42cb933ee291f2e
subprojects/core-api/src/main/java/org/gradle/api/model/package-info.java
subprojects/core-api/src/main/java/org/gradle/api/model/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...
Add NonNullApi annotation on org.gradle.api.model
Add NonNullApi annotation on org.gradle.api.model Everything created from ObjectFactory will be non-null.
Java
apache-2.0
gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,lsmaira/gradle,lsmaira/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,lsmaira/gradle,gradle/g...
710e5b9ca8387aebdf0b171e41e32ad41ffdf61a
src/test/java/coyote/commons/network/http/TestHttpd.java
src/test/java/coyote/commons/network/http/TestHttpd.java
/* * Copyright (c) 2017 Stephan D. Cote' - All rights reserved. * * This program and the accompanying materials are made available under the * terms of the MIT License which accompanies this distribution, and is * available at http://creativecommons.org/licenses/MIT/ * * Contributors: * Stephan D. Cote *...
/* * Copyright (c) 2017 Stephan D. Cote' - All rights reserved. * * This program and the accompanying materials are made available under the * terms of the MIT License which accompanies this distribution, and is * available at http://creativecommons.org/licenses/MIT/ * * Contributors: * Stephan D. Cote *...
Use NetUtil.getNextAvailablePort to get a testing port
Use NetUtil.getNextAvailablePort to get a testing port
Java
mit
sdcote/loader,sdcote/loader
2cdb0766fc57b82d3a11f9477a32b25b99c385ca
app/src/main/java/com/beepscore/android/sunshine/MainActivityFragment.java
app/src/main/java/com/beepscore/android/sunshine/MainActivityFragment.java
package com.beepscore.android.sunshine; import android.support.v4.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ListView; import android.widget.TextView; //import java.text.DateFormat; import java.util.ArrayLi...
package com.beepscore.android.sunshine; import android.support.v4.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.Adapter; import android.widget.ArrayAdapter; import java.util.ArrayList; import java.util.List; ...
Add adapter, get listView. TODO: connect them
Add adapter, get listView. TODO: connect them
Java
mit
beepscore/Sunshine
c5371bd9d2939bbfb2059c349eb671175b4ba03c
zkfacade/src/main/java/com/yahoo/vespa/curator/api/VespaCurator.java
zkfacade/src/main/java/com/yahoo/vespa/curator/api/VespaCurator.java
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.curator.api; import com.yahoo.path.Path; import java.time.Duration; /** * A client for a ZooKeeper cluster running inside Vespa. Applications that want to use ZooKeeper can inject this in...
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.curator.api; import com.yahoo.concurrent.UncheckedTimeoutException; import com.yahoo.path.Path; import java.time.Duration; /** * A client for a ZooKeeper cluster running inside Vespa. App...
Document timeout exception may be thrown
Document timeout exception may be thrown
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
cbf644e737a8384cea4f9f7567bca895381cf5fd
src/test/java/br/com/six2six/fixturefactory/function/RegexFunctionTest.java
src/test/java/br/com/six2six/fixturefactory/function/RegexFunctionTest.java
package br.com.six2six.fixturefactory.function; import static junit.framework.Assert.assertNotNull; import static junit.framework.Assert.assertTrue; import org.junit.Test; import br.com.six2six.fixturefactory.function.impl.RegexFunction; public class RegexFunctionTest { @Test public void regexString() { String...
package br.com.six2six.fixturefactory.function; import static junit.framework.Assert.assertNotNull; import static junit.framework.Assert.assertTrue; import org.junit.Test; import br.com.six2six.fixturefactory.function.impl.RegexFunction; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import...
Test for character range regex introduced in bfgex 1.1.1
Test for character range regex introduced in bfgex 1.1.1
Java
apache-2.0
FelipeAdorno/fixture-factory,six2six/fixture-factory
da24ac85ffe6c790046e75973048659b570143ed
project/Activity.java
project/Activity.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...
/* 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...
Move config.xml parsing into its own Config class
Move config.xml parsing into its own Config class Now the parsing happens very early in the bootstrap process, before loadUrl() is called. This enables a future change to put the start page in config.xml instead of hardcoding it.
Java
apache-2.0
CrandellWS/cordova-android-template,CrandellWS/cordova-android-template,CrandellWS/cordova-android-template
6dcf7e509ee4f5b8b01592728fbbb1a94886a92a
src/main/java/io/github/lexware/bukkit/enderbow/EnderBowListener.java
src/main/java/io/github/lexware/bukkit/enderbow/EnderBowListener.java
package io.github.lexware.bukkit.enderbow; import org.bukkit.entity.Entity; import org.bukkit.entity.Projectile; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.entity.EntityShootBowEvent; import org.bukkit.event.entity.ProjectileHitEvent; import org.bukkit.metadata.Fixe...
package io.github.lexware.bukkit.enderbow; import org.bukkit.entity.Entity; import org.bukkit.entity.Projectile; import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.entity.EntityShootBowEvent; import org.bukkit.event.entity.ProjectileHitEvent; import org.bukkit.metadata.Fixe...
Fix NPE with normal bows.
Fix NPE with normal bows.
Java
mit
jamierocks/EnderBow
70362de20552252935c17c8f60040f7d80cddcd8
src/main/java/com/xdd/SpecRunner.java
src/main/java/com/xdd/SpecRunner.java
package com.xdd; import org.junit.runners.BlockJUnit4ClassRunner; import org.junit.runners.model.InitializationError; public class SpecRunner extends BlockJUnit4ClassRunner { public SpecRunner(Class<?> klass) throws InitializationError { super(klass); } }
package com.xdd; import org.junit.runner.Description; import org.junit.runner.Runner; import org.junit.runner.notification.RunNotifier; public class SpecRunner extends Runner { private Class testClass; public SpecRunner(Class testClass) { this.testClass = testClass; } @Override public D...
Move SpecRunnner to extend Runner
Move SpecRunnner to extend Runner
Java
mit
xDD-CLE/Emergent
8e603d219c632fe00b843d8cfd609801ff63e3a0
VideoLocker/src/main/java/org/edx/mobile/view/FindCoursesActivity.java
VideoLocker/src/main/java/org/edx/mobile/view/FindCoursesActivity.java
package org.edx.mobile.view; import android.os.Bundle; import android.webkit.WebView; import org.edx.mobile.R; import org.edx.mobile.base.FindCoursesBaseActivity; import org.edx.mobile.util.Config; public class FindCoursesActivity extends FindCoursesBaseActivity { @Override protected void onCreate(Bundle sa...
package org.edx.mobile.view; import android.os.Bundle; import android.webkit.WebView; import org.edx.mobile.R; import org.edx.mobile.base.FindCoursesBaseActivity; import org.edx.mobile.util.Config; public class FindCoursesActivity extends FindCoursesBaseActivity { @Override protected void onCreate(Bundle sa...
Stop webview reloading in Find Courses
Stop webview reloading in Find Courses
Java
apache-2.0
ariestiyansyah/indonesiax-android,edx/edx-app-android,adoosii/edx-app-android,KirillMakarov/edx-app-android,ahmedaljazzar/edx-app-android,miptliot/edx-app-android,edx/edx-app-android,ahmedaljazzar/edx-app-android,IndonesiaX/edx-app-android,ariestiyansyah/indonesiax-android,ariestiyansyah/indonesiax-android,edx/edx-app-...
ea2bd329eab2c97289dc77618099f51d7a26b6cf
src/com/frc2013/rmr662/main/MainRobot.java
src/com/frc2013/rmr662/main/MainRobot.java
package com.frc2013.rmr662.main; import com.frc2013.rmr662.eastereggs.DanceMode; import com.frc2013.rmr662.system.generic.Robot; import com.frc2013.rmr662.system.generic.RobotMode; public class MainRobot extends Robot { protected RobotMode getAutoMode() { return null;// new DanceMode(); // No autonomous mode this...
package com.frc2013.rmr662.main; import com.frc2013.rmr662.system.generic.Robot; import com.frc2013.rmr662.system.generic.RobotMode; public class MainRobot extends Robot { protected RobotMode getAutoMode() { return null;// new DanceMode(); // No autonomous mode this season :( } protected RobotMode getTeleopMod...
Fix import issue from removing eastereggs
Fix import issue from removing eastereggs
Java
bsd-3-clause
rmr662/RMR662-2013
a229f258de242a2d48c3e5deeee3e7b5a1d0ab05
bundles/extensions/event/src/main/java/org/apache/sling/event/ThreadPool.java
bundles/extensions/event/src/main/java/org/apache/sling/event/ThreadPool.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Remove version info from comment.
Remove version info from comment. git-svn-id: 6eed74fe9a15c8da84b9a8d7f2960c0406113ece@891684 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
mmanski/sling,Nimco/sling,nleite/sling,klcodanr/sling,mmanski/sling,tyge68/sling,awadheshv/sling,JEBailey/sling,dulvac/sling,anchela/sling,cleliameneghin/sling,wimsymons/sling,awadheshv/sling,sdmcraft/sling,mmanski/sling,mikibrv/sling,ffromm/sling,vladbailescu/sling,JEBailey/sling,trekawek/sling,tyge68/sling,roele/slin...
3da2841d5b403219b97d19d1911dad99d10049b5
src/main/java/tw/kewang/hbase/UserDao.java
src/main/java/tw/kewang/hbase/UserDao.java
package tw.kewang.hbase; public class UserDao { }
package tw.kewang.hbase; import java.io.IOException; import org.apache.hadoop.hbase.client.Get; import org.apache.hadoop.hbase.client.HConnection; import org.apache.hadoop.hbase.client.HTableInterface; import org.apache.hadoop.hbase.client.Result; import org.apache.hadoop.hbase.util.Bytes; import org.slf4j.Logger; im...
Add getByRowkey @ Dao (uncomplete)
Add getByRowkey @ Dao (uncomplete)
Java
apache-2.0
kewang/hbase-dao,kewangtw/hbase-dao
bc04355b0c3032f6dc856ffaab4e76cd077ce5f4
aura-components/src/main/java/org/auraframework/docs/ApiTopicModelFactory.java
aura-components/src/main/java/org/auraframework/docs/ApiTopicModelFactory.java
/* * Copyright (C) 2013 salesforce.com, 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 ...
/* * Copyright (C) 2013 salesforce.com, 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 ...
Fix a race condition with topic model usage of symbols
Fix a race condition with topic model usage of symbols
Java
apache-2.0
madmax983/aura,forcedotcom/aura,madmax983/aura,madmax983/aura,madmax983/aura,forcedotcom/aura,madmax983/aura,madmax983/aura,forcedotcom/aura,forcedotcom/aura,forcedotcom/aura
d4d0cb129666cdca119674d225bfd9b331b88cb4
src/test/java/com/google/sps/TripTest.java
src/test/java/com/google/sps/TripTest.java
package com.google.sps; import com.google.sps.data.Trip; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import com.google.sps.data.Location; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @RunWith(JUnit4.class) p...
package com.google.sps; import com.google.sps.data.Trip; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import org.junit.Assert; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; @RunWith(JUnit4.class) public class TripTest { @Test publi...
Fix failing tests for Trip value class
Fix failing tests for Trip value class
Java
apache-2.0
googleinterns/step27-2020,googleinterns/step27-2020,googleinterns/step27-2020
18c8bb9e3e0e48c2f02c30f106c085101cafdab9
src/test/java/info/u_team/u_team_test/init/TestColors.java
src/test/java/info/u_team/u_team_test/init/TestColors.java
package info.u_team.u_team_test.init; import java.awt.Color; import info.u_team.u_team_test.TestMod; import net.minecraftforge.api.distmarker.Dist; import net.minecraftforge.client.event.ColorHandlerEvent; import net.minecraftforge.eventbus.api.SubscribeEvent; import net.minecraftforge.fml.common.Mod.EventBusSubscrib...
package info.u_team.u_team_test.init; import java.awt.Color; import net.minecraftforge.client.event.ColorHandlerEvent; import net.minecraftforge.eventbus.api.IEventBus; public class TestColors { private static void colorItem(ColorHandlerEvent.Item event) { // This use the awt color class. Might not work but was...
Update test colors to the new system
Update test colors to the new system
Java
apache-2.0
MC-U-Team/U-Team-Core,MC-U-Team/U-Team-Core
32792795ecc5ebd512dd7e4db47d3f660b7ac972
src/test/java/org/wmaop/bdd/jbehave/JBehaveTestRunner.java
src/test/java/org/wmaop/bdd/jbehave/JBehaveTestRunner.java
package org.wmaop.bdd.jbehave; import org.junit.runner.RunWith; import de.codecentric.jbehave.junit.monitoring.JUnitReportingRunner; @RunWith(JUnitReportingRunner.class) public class JBehaveTestRunner extends JBehaveRunner { public JBehaveTestRunner() { super(); } }
package org.wmaop.bdd.jbehave; import org.junit.runner.RunWith; import de.codecentric.jbehave.junit.monitoring.JUnitReportingRunner; @RunWith(JUnitReportingRunner.class) public class JBehaveTestRunner extends JBehaveRunner { }
Tidy runner to make consistent
Tidy runner to make consistent
Java
mit
wmaop/wm-jbehave
db9d79d0ea96b50f5707cc823d2b82653809312b
core/src/main/java/org/realityforge/arez/api2/Reaction.java
core/src/main/java/org/realityforge/arez/api2/Reaction.java
package org.realityforge.arez.api2; import javax.annotation.Nonnull; import javax.annotation.Nullable; public class Reaction extends Observer { /** * Flag indicating whether this reaction has been scheduled. i.e. has a pending reaction. */ private boolean _scheduled; Reaction( @Nonnull final ArezContex...
package org.realityforge.arez.api2; import java.util.Objects; import javax.annotation.Nonnull; import javax.annotation.Nullable; public class Reaction extends Observer { /** * Flag indicating whether this reaction has been scheduled. i.e. has a pending reaction. */ private boolean _scheduled; /** * T...
Add the transaction mode to the reaction
Add the transaction mode to the reaction
Java
apache-2.0
realityforge/arez,realityforge/arez,realityforge/arez
9f7a4b33285e0ce6215c26a9e195563d081841a4
src/java/com/collabnet/svnedge/schema/MS009EnableCloudService.java
src/java/com/collabnet/svnedge/schema/MS009EnableCloudService.java
/* * CollabNet Subversion Edge * Copyright (C) 2011, CollabNet Inc. All rights reserved. * * 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 ...
/* * CollabNet Subversion Edge * Copyright (C) 2011, CollabNet Inc. All rights reserved. * * 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 ...
Enable cloud services by default
[artf7057]: Enable cloud services by default * src/java/com/collabnet/svnedge/schema/MS009EnableCloudService.java Need to add the row, if it does not exist. git-svn-id: ec3c21ed833430e32134c61539c75518a6355d4e@2982 03e8f217-bfc6-4b7c-bcb7-0738c91e2c5f
Java
agpl-3.0
marcellodesales/svnedge-console,marcellodesales/svnedge-console,marcellodesales/svnedge-console,marcellodesales/svnedge-console,marcellodesales/svnedge-console
8c97ed12b9c3e18fe355fd2e0b65f01ae66d45b4
app/src/main/java/com/oxapps/tradenotifications/NotificationDeleteReceiver.java
app/src/main/java/com/oxapps/tradenotifications/NotificationDeleteReceiver.java
package com.oxapps.tradenotifications; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.net.Uri; import android.preference.PreferenceManager; public class NotificationDeleteReceiver extends BroadcastReceiv...
package com.oxapps.tradenotifications; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.net.Uri; import android.preference.PreferenceManager; public class NotificationDeleteReceiver extends BroadcastReceiv...
Fix bug causing app to crash on clicking notification
Fix bug causing app to crash on clicking notification
Java
apache-2.0
Flozzo/Trade-Notifications-for-Steam
940d206c46916b1cb365acc70dc0081ef879e18d
src/main/java/org/javarosa/xpath/expr/XPathCountFunc.java
src/main/java/org/javarosa/xpath/expr/XPathCountFunc.java
package org.javarosa.xpath.expr; import org.javarosa.core.model.condition.EvaluationContext; import org.javarosa.core.model.instance.DataInstance; import org.javarosa.xpath.XPathNodeset; import org.javarosa.xpath.XPathTypeMismatchException; import org.javarosa.xpath.parser.XPathSyntaxException; public class XPathCoun...
package org.javarosa.xpath.expr; import org.javarosa.core.model.condition.EvaluationContext; import org.javarosa.core.model.instance.DataInstance; import org.javarosa.xpath.XPathNodeset; import org.javarosa.xpath.XPathTypeMismatchException; import org.javarosa.xpath.parser.XPathSyntaxException; public class XPathCoun...
Update error text to be more descriptive
Update error text to be more descriptive
Java
apache-2.0
dimagi/commcare-core,dimagi/commcare,dimagi/commcare-core,dimagi/commcare,dimagi/commcare-core,dimagi/commcare
64557b736e53df743e7807654c735979b5c5f939
paystack/src/main/java/co/paystack/android/api/request/ValidateRequestBody.java
paystack/src/main/java/co/paystack/android/api/request/ValidateRequestBody.java
package co.paystack.android.api.request; import com.google.gson.annotations.SerializedName; import java.io.Serializable; import java.util.HashMap; /** * Created by i on 24/08/2016. */ public class ValidateRequestBody extends BaseRequestBody implements Serializable { public static final String FIELD_TRANS = "t...
package co.paystack.android.api.request; import com.google.gson.annotations.SerializedName; import java.io.Serializable; import java.util.HashMap; /** * Created by i on 24/08/2016. */ public class ValidateRequestBody extends BaseRequestBody implements Serializable { public static final String FIELD_TRANS = "t...
Validate request body get and set fields
Validate request body get and set fields
Java
apache-2.0
PaystackHQ/paystack-android,PaystackHQ/paystack-android,PaystackHQ/paystack-android
86195be41c075556dd100e8440099a416b821958
philadelphia-perf-test/src/main/java/org/philadelphia/perf/FIXTagsBenchmark.java
philadelphia-perf-test/src/main/java/org/philadelphia/perf/FIXTagsBenchmark.java
package org.jvirtanen.philadelphia.perf; import static java.nio.charset.StandardCharsets.*; import java.nio.ByteBuffer; import java.util.concurrent.TimeUnit; import org.jvirtanen.philadelphia.FIXTags; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jm...
package org.jvirtanen.philadelphia.perf; import static java.nio.charset.StandardCharsets.*; import java.nio.ByteBuffer; import java.util.concurrent.TimeUnit; import org.jvirtanen.philadelphia.FIXTags; import org.openjdk.jmh.annotations.Benchmark; import org.openjdk.jmh.annotations.BenchmarkMode; import org.openjdk.jm...
Remove invocation level teardown from FIX tags benchmark
Remove invocation level teardown from FIX tags benchmark
Java
apache-2.0
paritytrading/philadelphia,paritytrading/philadelphia,paritytrading/philadelphia
30b40dbbb3ce8d7e9ab3ea9bc8bb75acf3140424
java/org/apache/catalina/webresources/war/Handler.java
java/org/apache/catalina/webresources/war/Handler.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Add a work-around for poorly constructed "war:..." URLs obtained from the security policy file.
Add a work-around for poorly constructed "war:..." URLs obtained from the security policy file. git-svn-id: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@1763372 13f79535-47bb-0310-9956-ffa450edef68
Java
apache-2.0
apache/tomcat,Nickname0806/Test_Q4,Nickname0806/Test_Q4,apache/tomcat,apache/tomcat,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4,Nickname0806/Test_Q4
3c95f0d9a6d0a937d24be15ef2ab445e8d4e1b06
src/main/java/net/openhft/chronicle/wire/BinaryMethodWriterInvocationHandler.java
src/main/java/net/openhft/chronicle/wire/BinaryMethodWriterInvocationHandler.java
/* * Copyright 2016 higherfrequencytrading.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
/* * Copyright 2016 higherfrequencytrading.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
Make a MethodWriter for a queue obtain a thread safe appender each time.
Make a MethodWriter for a queue obtain a thread safe appender each time.
Java
apache-2.0
OpenHFT/Chronicle-Wire,OpenHFT/Chronicle-Wire
87a16df130b7842c220396fe7b6b0324b02b5ec8
src/main/java/com/molina/cvmfs/directoryentry/Chunk.java
src/main/java/com/molina/cvmfs/directoryentry/Chunk.java
package com.molina.cvmfs.directoryentry; import com.molina.cvmfs.directoryentry.exception.ChunkFileDoesNotMatch; /** * @author Jose Molina Colmenero * <p/> * Wrapper around file chunks in the CVMFS catalogs */ public class Chunk { protected int offset; protected int size; protected St...
package com.molina.cvmfs.directoryentry; import com.molina.cvmfs.directoryentry.exception.ChunkFileDoesNotMatch; import org.sqldroid.SQLDroidBlob; import java.sql.SQLException; /** * @author Jose Molina Colmenero * <p/> * Wrapper around file chunks in the CVMFS catalogs */ public class Chunk { ...
Fix chunks when using the SQLDroid library
Fix chunks when using the SQLDroid library
Java
bsd-3-clause
Moliholy/cvmfs-java
8b306675de2890efe8c26a29b17472485d2e06c7
ninja-core/src/main/java/ninja/AuthenticityFilter.java
ninja-core/src/main/java/ninja/AuthenticityFilter.java
package ninja; import ninja.utils.NinjaConstant; import com.google.inject.Inject; /** * * @author svenkubiak * */ public class AuthenticityFilter implements Filter { private NinjaDefault ninjaDefault; @Inject public AuthenticityFilter(NinjaDefault ninjaDefault) { this.ninjaDefault = ni...
package ninja; import ninja.utils.NinjaConstant; import com.google.inject.Inject; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * * @author svenkubiak * */ public class AuthenticityFilter implements Filter { static private final Logger logger = LoggerFactory.getLogger(AuthenticityFilter.class...
Use Ninja not NinjaDefault. Log filtered authenticity requests.
Use Ninja not NinjaDefault. Log filtered authenticity requests.
Java
apache-2.0
mallowlabs/ninja,ninjaframework/ninja,jlannoy/ninja,ninjaframework/ninja,jlannoy/ninja,watsonmw/ninja,jlannoy/ninja,bazi/ninja,bihe/ninja,raphaelbauer/ninja,ninjaframework/ninja,raphaelbauer/ninja,fizzed/ninja,watsonmw/ninja,mallowlabs/ninja,watsonmw/ninja,bihe/ninja,bazi/ninja,bazi/ninja,fizzed/ninja,mallowlabs/ninja,...
148e4319c5f91851892ad306bac9ab47daf42b98
xstream/src/java/com/thoughtworks/xstream/core/util/ClassStack.java
xstream/src/java/com/thoughtworks/xstream/core/util/ClassStack.java
package com.thoughtworks.xstream.core.util; public final class ClassStack { private Class[] stack; private int pointer; public ClassStack(int initialCapacity) { stack = new Class[initialCapacity]; } public void push(Class value) { if (pointer + 1 >= stack.length) { re...
package com.thoughtworks.xstream.core.util; public final class ClassStack { private Class[] stack; private int pointer; public ClassStack(int initialCapacity) { stack = new Class[initialCapacity]; } public void push(Class value) { if (pointer + 1 >= stack.length) { re...
Drop references from popped classes.
Drop references from popped classes. git-svn-id: fe6d842192ccfb78748eb71580d1ce65f168b559@704 9830eeb5-ddf4-0310-9ef7-f4b9a3e3227e
Java
bsd-3-clause
svn2github/xstream,svn2github/xstream
1ec5e89db19abd058bbab7a63732bd62fc9d3fe8
tests/TestApp/src/de/finkhaeuser/dm/testapp/TestApp.java
tests/TestApp/src/de/finkhaeuser/dm/testapp/TestApp.java
/** * This file is part of the Android DependencyManager project hosted at * http://code.google.com/p/android-dependencymanager/ * * Copyright (C) 2009 Jens Finkhaeuser <jens@finkhaeuser.de> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with ...
/** * This file is part of the Android DependencyManager project hosted at * http://code.google.com/p/android-dependencymanager/ * * Copyright (C) 2009 Jens Finkhaeuser <jens@finkhaeuser.de> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with ...
Add minimal code necessary to instanciate DependencyManager - will be changed again.
Add minimal code necessary to instanciate DependencyManager - will be changed again.
Java
apache-2.0
jfinkhaeuser/android-dependencymanager
86a3da34b345dda64954cf075d30acc2c578eed7
java/client/test/org/openqa/selenium/support/LargeTests.java
java/client/test/org/openqa/selenium/support/LargeTests.java
/* Copyright 2011 Selenium committers 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, sof...
/* Copyright 2011 Selenium committers 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, sof...
Clean up the driver instance once the large tests for the support classes are done
SimonStewart: Clean up the driver instance once the large tests for the support classes are done r16955
Java
apache-2.0
sri85/selenium,mestihudson/selenium,krmahadevan/selenium,doungni/selenium,TikhomirovSergey/selenium,SouWilliams/selenium,sankha93/selenium,petruc/selenium,bartolkaruza/selenium,xsyntrex/selenium,knorrium/selenium,uchida/selenium,asashour/selenium,joshuaduffy/selenium,carlosroh/selenium,blackboarddd/selenium,lukeis/sele...
e698230c5228db75a6aff11a454f0a2b519a9edb
core/src/main/java/roart/model/LearnTestClassify.java
core/src/main/java/roart/model/LearnTestClassify.java
package roart.model; import java.util.List; public class LearnTestClassify { public Object[][] array; public Object[] cat; public List<List<Object>> listlist; public int modelInt; public int size; public String period; public String mapname; public int outcomes; public Double prob;...
package roart.model; public class LearnTestClassify { private Object[][] trainingarray; private Object[] trainingcatarray; private Object[][] classifyarray; private Object[] classifycatarray; private int modelInt; private int size; private String period; private S...
Use getter/setter. Change field names.
Use getter/setter. Change field names.
Java
agpl-3.0
rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat
a3d5dd901cb392d11f1ec05ae181196fea189824
examples/strict/src/test/java/org/jboss/shamrock/example/testutils/URLResponse.java
examples/strict/src/test/java/org/jboss/shamrock/example/testutils/URLResponse.java
package org.jboss.shamrock.example.testutils; import java.io.InputStream; import javax.json.JsonReader; public interface URLResponse { int statusCode(); String asString(); InputStream asInputStream(); JsonReader asJsonReader(); }
package org.jboss.shamrock.example.testutils; import java.io.IOException; import java.io.InputStream; import javax.json.JsonReader; public interface URLResponse { int statusCode(); IOException exception(); String asString(); InputStream asInputStream(); JsonReader asJsonReader(); }
Add support for accessing the response exception
Add support for accessing the response exception
Java
apache-2.0
quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus
f5fddc519048bba18da117f05c5f18c82b369ca3
library/src/main/java/dmax/dialog/ProgressLayout.java
library/src/main/java/dmax/dialog/ProgressLayout.java
package dmax.dialog; import android.content.Context; import android.content.res.TypedArray; import android.util.AttributeSet; import android.widget.FrameLayout; /** * Created by Maxim Dybarsky | maxim.dybarskyy@gmail.com * on 13.01.15 at 17:34 */ class ProgressLayout extends FrameLayout { private static final...
package dmax.dialog; import android.annotation.TargetApi; import android.content.Context; import android.content.res.TypedArray; import android.os.Build; import android.util.AttributeSet; import android.widget.FrameLayout; /** * Created by Maxim Dybarsky | maxim.dybarskyy@gmail.com * on 13.01.15 at 17:34 */ class ...
Fix constructor invokation (pre-lollipop support)
Fix constructor invokation (pre-lollipop support)
Java
mit
0359xiaodong/spots-dialog,luinnx/spots-dialog,bestwpw/spots-dialog,Gperez88/spots-dialog,simple88/spots-dialog,d-max/spots-dialog
78e746d58cd14f06edb0805422eab833492723f4
12/E12_27.java
12/E12_27.java
/* Suppose you have a lot of files in a directory that contain words Exercisei_j, where i and j are digits. Write a program that pads a 0 before i if i is a single digit and 0 before j if j is a single digit. For example, the word Exercise2_1 in a file will be replaced by Exercise02_01. Use the following comm...
/* Suppose you have a lot of files in a directory that contain words Exercisei_j, where i and j are digits. Write a program that pads a 0 before i if i is a single digit and 0 before j if j is a single digit. For example, the word Exercise2_1 in a file will be replaced by Exercise02_01. Use the following comm...
Modify solution to fit the exercise specifications more closely
Modify solution to fit the exercise specifications more closely
Java
mit
maxalthoff/intro-to-java-exercises
de42ed9db766c7e4102596434f14234c75857cb5
app/src/main/java/com/sanchez/fmf/service/RestClient.java
app/src/main/java/com/sanchez/fmf/service/RestClient.java
package com.sanchez.fmf.service; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.squareup.okhttp.OkHttpClient; import retrofit.RestAdapter; import retrofit.client.OkClient; import retrofit.converter.GsonConverter; /** * Created by dakota on 9/2/15. */ public class RestClient { priv...
package com.sanchez.fmf.service; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.squareup.okhttp.OkHttpClient; import retrofit.RestAdapter; import retrofit.client.OkClient; import retrofit.converter.GsonConverter; /** * Created by dakota on 9/2/15. */ public class RestClient { priv...
Update endpoint to remote api
Update endpoint to remote api
Java
apache-2.0
dakotasanchez/farmers-market-finder
8626f9eee68cb7e8d462c8f80c1c28402f01c56b
data-model/src/main/java/org/pdxfinder/repositories/MarkerRepository.java
data-model/src/main/java/org/pdxfinder/repositories/MarkerRepository.java
package org.pdxfinder.repositories; import org.pdxfinder.dao.Marker; import org.springframework.data.neo4j.annotation.Query; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.data.repository.query.Param; import java.util.Collection; import java.util.List; /** * Interf...
package org.pdxfinder.repositories; import org.pdxfinder.dao.Marker; import org.springframework.data.neo4j.annotation.Query; import org.springframework.data.repository.PagingAndSortingRepository; import org.springframework.data.repository.query.Param; import java.util.Collection; import java.util.List; /** * Interf...
Add method for human markers
Add method for human markers
Java
apache-2.0
PDXFinder/pdxfinder,PDXFinder/pdxfinder,PDXFinder/pdxfinder,PDXFinder/pdxfinder