lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
apache-2.0
47632bb6f7bd68cc95aa7fc4bbfb6c273bb55933
0
mduerig/jackrabbit-oak,leftouterjoin/jackrabbit-oak,catholicon/jackrabbit-oak,leftouterjoin/jackrabbit-oak,kwin/jackrabbit-oak,afilimonov/jackrabbit-oak,stillalex/jackrabbit-oak,code-distillery/jackrabbit-oak,mduerig/jackrabbit-oak,afilimonov/jackrabbit-oak,kwin/jackrabbit-oak,stillalex/jackrabbit-oak,catholicon/jackra...
/* * 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 ...
oak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexEditorTest.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 ...
OAK-2005 - Use separate Lucene index for performing property related queries Modifying the test logic to ensure that previous Lucene index is not lost. With this change Lucene does not modify existing files git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1634504 13f79535-47bb-0310-9956-ffa450edef68
oak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexEditorTest.java
OAK-2005 - Use separate Lucene index for performing property related queries
<ide><path>ak-lucene/src/test/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexEditorTest.java <ide> <ide> import java.io.IOException; <ide> import java.text.SimpleDateFormat; <add>import java.util.Arrays; <ide> import java.util.Calendar; <ide> <ide> import org.apache.jackrabbit.oak.api.CommitFailedExce...
Java
epl-1.0
7a9473dcdc48954b63893c7f258fe63a2713e7e6
0
dim1989/zhangzhoujun.github.io,dim1989/zhangzhoujun.github.io,dim1989/zhangzhoujun.github.io,dim1989/zhangzhoujun.github.io,dim1989/zhangzhoujun.github.io
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
MyVolley/app/src/main/java/com/android/myvolley/volley/toolbox/HurlStack.java
/* * Copyright (C) 2011 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
修改http请求支持delete请求
MyVolley/app/src/main/java/com/android/myvolley/volley/toolbox/HurlStack.java
修改http请求支持delete请求
<ide><path>yVolley/app/src/main/java/com/android/myvolley/volley/toolbox/HurlStack.java <ide> public String rewriteUrl(String originalUrl); <ide> } <ide> <del> private final UrlRewriter mUrlRewriter; <add> private final UrlRewriter mUrlRewriter; <ide> private final SSLSocketFactory mSslSocke...
Java
mit
2ecff67ae55c8f50b4c2ae1d6b60f8492ecfb875
0
dreamhead/moco,dreamhead/moco
package com.github.dreamhead.moco.parser.model; import com.github.dreamhead.moco.ResponseBase; import com.github.dreamhead.moco.RestSetting; import com.github.dreamhead.moco.RestSettingBuilder; import com.google.common.base.Function; import com.google.common.base.MoreObjects; import com.google.common.collect.Immutable...
moco-runner/src/main/java/com/github/dreamhead/moco/parser/model/RestBaseSetting.java
package com.github.dreamhead.moco.parser.model; import com.github.dreamhead.moco.ResponseBase; import com.github.dreamhead.moco.RestSetting; import com.github.dreamhead.moco.RestSettingBuilder; import com.google.common.base.Function; import com.google.common.base.MoreObjects; import com.google.common.collect.Immutable...
added missing final to rest base setting
moco-runner/src/main/java/com/github/dreamhead/moco/parser/model/RestBaseSetting.java
added missing final to rest base setting
<ide><path>oco-runner/src/main/java/com/github/dreamhead/moco/parser/model/RestBaseSetting.java <ide> .toString(); <ide> } <ide> <del> RestSetting toRestSetting() { <add> final RestSetting toRestSetting() { <ide> if (response == null) { <ide> throw new IllegalArgumentExcep...
Java
mit
d40f34ac6d3680a0b5f7c8d88a38b2542d49402c
0
mdaniline/spring-autoproperties
package com.mdaniline.spring.autoproperties; import com.mdaniline.spring.autoproperties.testclasses.TestBasicProperties; import org.junit.Before; import org.junit.Test; import org.springframework.beans.factory.support.BeanDefinitionRegistry; import org.springframework.beans.factory.support.DefaultListableBeanFactory; ...
src/test/java/com/mdaniline/spring/autoproperties/AutoPropertiesRegistrarTest.java
package com.mdaniline.spring.autoproperties; import com.mdaniline.spring.autoproperties.testclasses.TestBasicProperties; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.springframework.beans.factory.support.BeanDefinitionRegistry; import org.springframework.beans.factory.support.Defa...
Remove unnecessary dependency from unit test
src/test/java/com/mdaniline/spring/autoproperties/AutoPropertiesRegistrarTest.java
Remove unnecessary dependency from unit test
<ide><path>rc/test/java/com/mdaniline/spring/autoproperties/AutoPropertiesRegistrarTest.java <ide> package com.mdaniline.spring.autoproperties; <ide> <ide> import com.mdaniline.spring.autoproperties.testclasses.TestBasicProperties; <del>import org.junit.After; <ide> import org.junit.Before; <ide> import org.junit.Test...
Java
apache-2.0
160005ea1c087534ee5c29f8dcc515c76dd9b6ea
0
andreilemdyanov/junior,andreilemdyanov/junior
package pro.ru.job4j.iterator; import java.util.Iterator; /** * Class IteratorArray. * * @author Andrey Lemdyanov {lemdyanov5@mail.ru) * @version $Id$ * @since 03.06.2017 */ public class IteratorArray implements Iterator { /** * Поле двухмерного массива. */ private final int[][] values; /*...
chapter_005/src/main/java/pro/ru/job4j/iterator/IteratorArray.java
package pro.ru.job4j.iterator; import java.util.Iterator; /** * Class IteratorArray. * * @author Andrey Lemdyanov {lemdyanov5@mail.ru) * @version $Id$ * @since 03.06.2017 */ public class IteratorArray implements Iterator { /** * Поле двухмерного массива. */ private final int[][] values; /*...
task 9539
chapter_005/src/main/java/pro/ru/job4j/iterator/IteratorArray.java
task 9539
<ide><path>hapter_005/src/main/java/pro/ru/job4j/iterator/IteratorArray.java <ide> @Override <ide> public boolean hasNext() { <ide> nextArray(); <del> boolean result; <del> if (values.length > index && values[index].length > indexdeep) { <del> result = true; <del> } else ...
Java
epl-1.0
382a44067d1cc903e90165be18b693772b4b87a4
0
gerasimou/EMC-CDT,gerasimou/EMC-CDT
package org.eclipse.epsilon.emc.cdt.propertygetter; import java.util.HashMap; import org.eclipse.cdt.core.CCorePlugin; import org.eclipse.cdt.core.dom.ast.IASTTranslationUnit; import org.eclipse.cdt.core.index.IIndex; import org.eclipse.cdt.core.model.ICElement; import org.eclipse.cdt.core.model.ITranslationUnit; imp...
org.eclipse.epsilon.emc.cdt/src/org/eclipse/epsilon/emc/cdt/propertygetter/TranslationUnitGetter.java
package org.eclipse.epsilon.emc.cdt.propertygetter; import org.eclipse.cdt.core.CCorePlugin; import org.eclipse.cdt.core.dom.ast.DOMException; import org.eclipse.cdt.core.dom.ast.IASTFunctionCallExpression; import org.eclipse.cdt.core.dom.ast.IASTIdExpression; import org.eclipse.cdt.core.dom.ast.IASTTranslationUnit; i...
- TranslationUnitGetter now caches the AST
org.eclipse.epsilon.emc.cdt/src/org/eclipse/epsilon/emc/cdt/propertygetter/TranslationUnitGetter.java
- TranslationUnitGetter now caches the AST
<ide><path>rg.eclipse.epsilon.emc.cdt/src/org/eclipse/epsilon/emc/cdt/propertygetter/TranslationUnitGetter.java <ide> package org.eclipse.epsilon.emc.cdt.propertygetter; <ide> <add>import java.util.HashMap; <add> <ide> import org.eclipse.cdt.core.CCorePlugin; <del>import org.eclipse.cdt.core.dom.ast.DOMException; <del...
JavaScript
mit
1c8bdfa121ab38c5fc5fb902132184880f17b42d
0
textioHQ/qTip2,itnovator/qTip2,qTip2/qTip2,landsurveyorsunited/qTip2,textioHQ/qTip2
function delay(callback, duration) { // If tooltip has displayed, start hide timer if(duration > 0) { return setTimeout( $.proxy(callback, this), duration ); } else{ callback.call(this); } } function showMethod(event) { if(this.tooltip.hasClass(CLASS_DISABLED)) { return FALSE; } // Clear hide timers cle...
src/core/events.js
function delay(callback, duration) { // If tooltip has displayed, start hide timer if(duration > 0) { return setTimeout( $.proxy(callback, this), duration ); } else{ callback.call(this); } } function showMethod(event) { if(this.tooltip.hasClass(CLASS_DISABLED)) { return FALSE; } // Clear hide timers cle...
Fix problem with previous commit. Fixes #629
src/core/events.js
Fix problem with previous commit. Fixes #629
<ide><path>rc/core/events.js <ide> return !callback.isDefaultPrevented(); <ide> }; <ide> <del>PROTOTYPE._bindEvents = function(showEvents, hideEvents, showTarget, hideTarget, showMethod, hideMethod) { <add>PROTOTYPE._bindEvents = function(showEvents, hideEvents, showTargets, hideTargets, showMethod, hideMethod) { <id...
Java
agpl-3.0
3c5c29d638dedb85e5ced761f5e21d27ac916bf7
0
enviroCar/enviroCar-server,enviroCar/enviroCar-server,autermann/enviroCar-server,Drifftr/enviroCar-server,gotodeepak1122/enviroCar-server,autermann/enviroCar-server,autermann/enviroCar-server,Drifftr/enviroCar-server,enviroCar/enviroCar-server,gotodeepak1122/enviroCar-server
/* * Copyright (C) 2013 Christian Autermann, Jan Alexander Wirwahn, * Arne De Wall, Dustin Demuth, Saqib Rasheed * * 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 Foundatio...
rest/src/main/java/io/car/server/rest/validation/JSONSchemaResourceFilterFactory.java
/* * Copyright (C) 2013 Christian Autermann, Jan Alexander Wirwahn, * Arne De Wall, Dustin Demuth, Saqib Rasheed * * 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 Foundatio...
fixed 500 ISE when not submitting any entity
rest/src/main/java/io/car/server/rest/validation/JSONSchemaResourceFilterFactory.java
fixed 500 ISE when not submitting any entity
<ide><path>est/src/main/java/io/car/server/rest/validation/JSONSchemaResourceFilterFactory.java <ide> import org.slf4j.Logger; <ide> import org.slf4j.LoggerFactory; <ide> <add>import com.fasterxml.jackson.core.JsonParseException; <ide> import com.fasterxml.jackson.databind.JsonNode; <ide> import com.fasterxml.jackson....
Java
bsd-3-clause
6ceefb71dc777ed83c4f6df365796b550dd4cf58
0
dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk
/* * Copyright (c) 2017, University of Oslo * * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of condition...
core/src/androidTest/java/org/hisp/dhis/android/core/program/ProgramModelShould.java
/* * Copyright (c) 2017, University of Oslo * * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of condition...
min-attributes-to-search: adapt ProgramModelShould
core/src/androidTest/java/org/hisp/dhis/android/core/program/ProgramModelShould.java
min-attributes-to-search: adapt ProgramModelShould
<ide><path>ore/src/androidTest/java/org/hisp/dhis/android/core/program/ProgramModelShould.java <ide> private final static Integer EXPIRY_DAYS = 7; <ide> private final static Integer COMPLETE_EVENTS_EXPIRY_DAYS = 30; <ide> private final static PeriodType EXPIRY_PERIOD_TYPE = PeriodType.Daily; <add> privat...
Java
mit
f7d48ca3006b9073f6ab848c01324547e31eb798
0
JPMoresmau/sqlg,pietermartin/sqlg,JPMoresmau/sqlg,pietermartin/sqlg,JPMoresmau/sqlg,pietermartin/sqlg,pietermartin/sqlg
package org.umlg.sqlg.test.repeatstep; import org.apache.commons.lang3.time.StopWatch; import org.apache.tinkerpop.gremlin.process.traversal.P; import org.apache.tinkerpop.gremlin.process.traversal.Path; import org.apache.tinkerpop.gremlin.process.traversal.Traversal; import org.apache.tinkerpop.gremlin.process.traver...
sqlg-test/src/main/java/org/umlg/sqlg/test/repeatstep/TestUnoptimizedRepeatStep.java
package org.umlg.sqlg.test.repeatstep; import org.apache.commons.lang3.time.StopWatch; import org.apache.tinkerpop.gremlin.process.traversal.P; import org.apache.tinkerpop.gremlin.process.traversal.Path; import org.apache.tinkerpop.gremlin.process.traversal.Traversal; import org.apache.tinkerpop.gremlin.process.traver...
added performance test to investigate
sqlg-test/src/main/java/org/umlg/sqlg/test/repeatstep/TestUnoptimizedRepeatStep.java
added performance test to investigate
<ide><path>qlg-test/src/main/java/org/umlg/sqlg/test/repeatstep/TestUnoptimizedRepeatStep.java <ide> import java.util.Optional; <ide> import java.util.function.Predicate; <ide> <add>import static org.junit.Assert.assertFalse; <add> <ide> /** <ide> * @author Pieter Martin (https://github.com/pietermartin) <ide> * Dat...
Java
bsd-3-clause
cc1202ccb8076dc7fe64c87b43ce6058815dfb2e
0
NCIP/c3pr,NCIP/c3pr,NCIP/c3pr
package edu.duke.cabig.c3pr.domain.repository.impl; import java.util.Iterator; import java.util.List; import javax.persistence.Transient; import org.apache.log4j.Logger; import org.springframework.context.MessageSource; import org.springframework.transaction.annotation.Transactional; import edu.duke.cabig.c3pr.dao....
codebase/projects/core/src/java/edu/duke/cabig/c3pr/domain/repository/impl/StudySubjectRepositoryImpl.java
package edu.duke.cabig.c3pr.domain.repository.impl; import java.util.List; import org.apache.log4j.Logger; import org.springframework.context.MessageSource; import org.springframework.transaction.annotation.Transactional; import edu.duke.cabig.c3pr.dao.EpochDao; import edu.duke.cabig.c3pr.dao.ParticipantDao; import ...
updated for straight randomization
codebase/projects/core/src/java/edu/duke/cabig/c3pr/domain/repository/impl/StudySubjectRepositoryImpl.java
updated for straight randomization
<ide><path>odebase/projects/core/src/java/edu/duke/cabig/c3pr/domain/repository/impl/StudySubjectRepositoryImpl.java <ide> package edu.duke.cabig.c3pr.domain.repository.impl; <ide> <add>import java.util.Iterator; <ide> import java.util.List; <add> <add>import javax.persistence.Transient; <ide> <ide> import org.apache...
Java
apache-2.0
5acd8fc8f05d262b06374277dc465183a6043e0e
0
simonsoft/cms-item
/** * Copyright (C) 2009-2017 Simonsoft Nordic AB * * 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 applic...
src/main/java/se/simonsoft/cms/item/workflow/WorkflowItemInput.java
/** * Copyright (C) 2009-2017 Simonsoft Nordic AB * * 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 applic...
Add Javadoc.
src/main/java/se/simonsoft/cms/item/workflow/WorkflowItemInput.java
Add Javadoc.
<ide><path>rc/main/java/se/simonsoft/cms/item/workflow/WorkflowItemInput.java <ide> <ide> public interface WorkflowItemInput { <ide> <add> /** <add> * @return action name as a single token <add> */ <ide> String getAction(); <ide> <add> /** <add> * @return item which the action operates on <add> */ <ide> @Jso...
Java
mit
12c614467b372c868a9faf1e233fa16383cf6233
0
mprzybylak/presentation-rxjavaquick,mprzybylak/presentation-rxjavaquick,mprzybylak/presentation-rxjavaquick
package pl.mprzybylak.presentation.rxjavaquick; import io.reactivex.Observable; import org.junit.Test; import pl.mprzybylak.presentation.rxjavaquik.FibonacciNumberService; import pl.mprzybylak.presentation.rxjavaquik.Money; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.c...
src/test/java/pl/mprzybylak/presentation/rxjavaquick/CreateObservableTest.java
package pl.mprzybylak.presentation.rxjavaquick; import io.reactivex.Observable; import org.junit.Test; import pl.mprzybylak.presentation.rxjavaquik.FibonacciNumberService; import pl.mprzybylak.presentation.rxjavaquik.Money; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.c...
defer is quite similar to fromCallable, so defer example is moved closer to fromCallable
src/test/java/pl/mprzybylak/presentation/rxjavaquick/CreateObservableTest.java
defer is quite similar to fromCallable, so defer example is moved closer to fromCallable
<ide><path>rc/test/java/pl/mprzybylak/presentation/rxjavaquick/CreateObservableTest.java <ide> } <ide> <ide> @Test <add> public void lazyObservableCreation() { <add> <add> // given <add> AtomicInteger firstResult = new AtomicInteger(0); <add> AtomicInteger secondResult = new AtomicInteg...
Java
apache-2.0
3b24ea59e3452e0d86a958919d323fca4c4e33c4
0
SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base
/* * Copyright 2021, TeamDev. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Redistribution and use in source...
base/src/main/java/io/spine/protobuf/Durations2.java
/* * Copyright 2021, TeamDev. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Redistribution and use in source...
Remove redundant constant
base/src/main/java/io/spine/protobuf/Durations2.java
Remove redundant constant
<ide><path>ase/src/main/java/io/spine/protobuf/Durations2.java <ide> <ide> import javax.annotation.Nullable; <ide> import java.io.Serializable; <del>import java.util.concurrent.TimeUnit; <ide> <ide> import static com.google.common.base.Preconditions.checkNotNull; <ide> import static com.google.protobuf.util.Durations...
Java
apache-2.0
708b7e7a33536922f67ccc381efebbc03e93a9af
0
appNG/appng,appNG/appng,appNG/appng
/* * Copyright 2011-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
appng-core/src/main/java/org/appng/core/controller/rest/openapi/OpenApiDataSource.java
/* * Copyright 2011-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
APPNG-2396 avoid NPE
appng-core/src/main/java/org/appng/core/controller/rest/openapi/OpenApiDataSource.java
APPNG-2396 avoid NPE
<ide><path>ppng-core/src/main/java/org/appng/core/controller/rest/openapi/OpenApiDataSource.java <ide> import java.util.Optional; <ide> import java.util.concurrent.atomic.AtomicBoolean; <ide> import java.util.concurrent.atomic.AtomicInteger; <add>import java.util.function.Function; <ide> import java.util.stream.Collect...
Java
mpl-2.0
a7ddecd61c0ffcfae2459d1ffcb7a23cee5baf77
0
projectdanube/xdi2-filesys,projectdanube/xdi2-filesys
package xdi2.messaging.target.contributor.impl.filesys; import java.io.File; import java.net.URLEncoder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import xdi2.core.features.nodetypes.XdiAbstractEntity; import xdi2.core.features.nodetypes.XdiAbstractMemberUnordered; import xdi2.core.features....
src/main/java/xdi2/messaging/target/contributor/impl/filesys/FileSysContributor.java
package xdi2.messaging.target.contributor.impl.filesys; import java.io.File; import java.net.URLEncoder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import xdi2.core.features.nodetypes.XdiAbstractEntity; import xdi2.core.features.nodetypes.XdiAbstractMemberUnordered; import xdi2.core.features....
no value node
src/main/java/xdi2/messaging/target/contributor/impl/filesys/FileSysContributor.java
no value node
<ide><path>rc/main/java/xdi2/messaging/target/contributor/impl/filesys/FileSysContributor.java <ide> if (log.isDebugEnabled()) log.debug("In " + dir.getAbsolutePath() + ": Directory: " + file.getAbsolutePath()); <ide> <ide> XdiEntityMember dirXdiEntityMember = dirXdiEntityCollection.setXdiMemberUnordered(X...
Java
apache-2.0
d55bf3b1c99692febca452b10487899e6bce3176
0
ingenieux/beanstalker,ingenieux/beanstalker
package br.com.ingenieux.mojo.beanstalk.env; /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
beanstalk-maven-plugin/src/main/java/br/com/ingenieux/mojo/beanstalk/env/ReplaceEnvironmentMojo.java
package br.com.ingenieux.mojo.beanstalk.env; /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appli...
Added copySolutionStack property with default value set to true to maintain existing plugin behavior. This property allows configuration of the plugin's replace env behavior https://github.com/ingenieux/beanstalker/issues/55
beanstalk-maven-plugin/src/main/java/br/com/ingenieux/mojo/beanstalk/env/ReplaceEnvironmentMojo.java
Added copySolutionStack property with default value set to true to maintain existing plugin behavior. This property allows configuration of the plugin's replace env behavior https://github.com/ingenieux/beanstalker/issues/55
<ide><path>eanstalk-maven-plugin/src/main/java/br/com/ingenieux/mojo/beanstalk/env/ReplaceEnvironmentMojo.java <ide> @Parameter(property = "beanstalk.copyOptionSettings", defaultValue = "true") <ide> boolean copyOptionSettings = true; <ide> <add> /** <add> * Whether or not to keep the Elastic Beanstalk platform...
Java
agpl-3.0
d2ef1e3a61450d3d2f4b2ac04ff762dcf9228397
0
PeterWithers/temp-to-delete1,KinshipSoftware/KinOathKinshipArchiver,PeterWithers/temp-to-delete1,KinshipSoftware/KinOathKinshipArchiver
package nl.mpi.kinnate.ui; import java.awt.BorderLayout; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.io.File; import java.net.URI; import java.net.URISyntaxException; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import javax.swing.JPanel; import javax....
desktop/src/main/java/nl/mpi/kinnate/ui/KinDiagramPanel.java
package nl.mpi.kinnate.ui; import java.awt.BorderLayout; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.io.File; import java.net.URI; import java.net.URISyntaxException; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import javax.swing.JPanel; import javax....
Synchronised the database access. Allowed the tree to initiate data node loading from the database so that relatives that are not on the graph can be browsed in and add from the tree.
desktop/src/main/java/nl/mpi/kinnate/ui/KinDiagramPanel.java
Synchronised the database access. Allowed the tree to initiate data node loading from the database so that relatives that are not on the graph can be browsed in and add from the tree.
<ide><path>esktop/src/main/java/nl/mpi/kinnate/ui/KinDiagramPanel.java <ide> panelSetting.setTargetPanel(egoSelectionHidePane, egoSelectionPanel, "Diagram Tree"); <ide> break; <ide> case EntitySearch: <del> panelSetting.setTargetPanel(egoSelecti...
Java
apache-2.0
6f98b12f933e3fb27a289772b4ed10a82c96d72d
0
taverna-incubator/incubator-taverna-language,binfalse/incubator-taverna-language,taverna-incubator/incubator-taverna-language,binfalse/incubator-taverna-language,binfalse/incubator-taverna-language,taverna-incubator/incubator-taverna-language,binfalse/incubator-taverna-language,taverna-incubator/incubator-taverna-langu...
package org.purl.wf4ever.robundle.fs; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.IOException; import java.nio.file.FileAlreadyExistsException; import java.nio.file.Files; import java.nio.file.NotDirectoryException; import ...
src/test/java/org/purl/wf4ever/robundle/fs/TestBundleFileSystem.java
package org.purl.wf4ever.robundle.fs; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import java.io.IOException; import java.nio.file.FileAlreadyExistsException; import java.nio.file.Files; import java.nio.file.NotDirectoryException; import ...
Expected behavour for fileAndDirectory and directoryAndFile
src/test/java/org/purl/wf4ever/robundle/fs/TestBundleFileSystem.java
Expected behavour for fileAndDirectory and directoryAndFile
<ide><path>rc/test/java/org/purl/wf4ever/robundle/fs/TestBundleFileSystem.java <ide> <ide> try { <ide> Files.createDirectory(folder); <del> // Disable for now, just to see where this leads <ide> fail("Should have thrown FileAlreadyExistsException"); <ide> } catch (Fil...
JavaScript
mit
6072a6cb984ebe105ca2346729500ee797ca2353
0
c933103/KC3Kai,Tibo442/KC3Kai,dragonjet/KC3Kai,Madobe/KC3Kai,Madobe/KC3Kai,jy19/KC3Kai,Slayers148/KC3Kai,DynamicSTOP/KC3Kai,Tibo442/KC3Kai,KC3Kai/KC3Kai,sinsinpub/KC3Kai,hufuhufu/KC3Kai,Adrymne/KC3Kai,ReiFan49/KC3Kai,KC-TH/KC3Kai,KC3Kai/KC3Kai,KC-TH/KC3Kai,nekoworkshop/KC3Kai,Yukinyaa/KC3Kai,Adrymne/KC3Kai,jy19/KC3Kai,...
/* Timer.js KC3改 Timer Object Contains a single timer which contains number of seconds left Has functions for TimerManager to use */ (function(){ "use strict"; window.KC3Timer = function(element, type, num){ this.alerted = false; this.type = type; this.num = num; this.element = element; thi...
src/library/objects/Timer.js
/* Timer.js KC3改 Timer Object Contains a single timer which contains number of seconds left Has functions for TimerManager to use */ (function(){ "use strict"; window.KC3Timer = function(element, type, num){ this.alerted = false; this.type = type; this.num = num; this.element = element; thi...
[Fix #517] Clear tooltip on timers with no face
src/library/objects/Timer.js
[Fix #517] Clear tooltip on timers with no face
<ide><path>rc/library/objects/Timer.js <ide> $(".timer-img", this.element).attr("title", KC3Meta.shipName( KC3Master.ship(this.faceId).api_name ) ); <ide> $(".timer-img img", this.element).show(); <ide> }else{ <add> $(".timer-img", this.element).attr("title", ""); <ide> $(".timer-img img", this.element).hi...
Java
mit
2a0e60dddc478cdf05ffa2deb3cabe27fab80db3
0
Ali-Amir/battlecode2016
package armstrong; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Random; import java.util.Set; import org.hibernate.search.analyzer.Discriminator; //import com.sun.xml.internal.bind.v2.runtime.Location; import battlecode.common.*; public class RobotPlayer{ static...
battlecode-scaffold-master/src/armstrong/RobotPlayer.java
package armstrong; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Random; import java.util.Set; import org.hibernate.search.analyzer.Discriminator; import battlecode.common.*; public class RobotPlayer{ static Random rnd; static RobotController rc; static int[] tr...
Every scout is follows a certain turrets and keep telling him about enemies around.
battlecode-scaffold-master/src/armstrong/RobotPlayer.java
Every scout is follows a certain turrets and keep telling him about enemies around.
<ide><path>attlecode-scaffold-master/src/armstrong/RobotPlayer.java <ide> import java.util.Set; <ide> <ide> import org.hibernate.search.analyzer.Discriminator; <add> <add>//import com.sun.xml.internal.bind.v2.runtime.Location; <ide> <ide> import battlecode.common.*; <ide> <ide> static int husbandTurretID = -1; <ide...
Java
mit
7072c869ba289310c488628893dd3306c42113b1
0
Akhier/Java-DijkstraAlgorithm
package com.dragonheart.test; import static org.junit.Assert.assertTrue; import java.util.List; import org.junit.Before; import org.junit.Test; import com.dragonheart.dijkstra.DijkstraGraph; import com.dragonheart.dijkstra.DijkstraGraphFactory; import com.dragonheart.dijkstra.Point; public class testDijkstraGraphF...
src/test/java/com/dragonheart/test/testDijkstraGraphFrom2DBoolArray.java
package com.dragonheart.test; import static org.junit.Assert.assertTrue; import java.util.List; import org.junit.Before; import org.junit.Test; import com.dragonheart.dijkstra.DijkstraGraph; import com.dragonheart.dijkstra.DijkstraGraphFactory; import com.dragonheart.dijkstra.Point; public class testDijkstraGraphF...
missed one
src/test/java/com/dragonheart/test/testDijkstraGraphFrom2DBoolArray.java
missed one
<ide><path>rc/test/java/com/dragonheart/test/testDijkstraGraphFrom2DBoolArray.java <ide> @Test <ide> public final void testDijkstraMapFrom2DBoolArray_NoDiagonalMovement() { <ide> DijkstraGraph graph = new DijkstraGraph(); <del> Point[][] pointmap = DijkstraGraphFactory.dijkstraGraphFrom2DBoolArray(boolMap, 1.0, g...
Java
lgpl-2.1
fd7b3ae383deaefde97671058e04d31654254280
0
threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya
// // $Id$ // // Narya library - tools for developing networked games // Copyright (C) 2002-2009 Three Rings Design, Inc., All Rights Reserved // http://www.threerings.net/code/narya/ // // This library is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public Licens...
src/java/com/threerings/crowd/peer/server/CrowdPeerManager.java
// // $Id$ // // Narya library - tools for developing networked games // Copyright (C) 2002-2009 Three Rings Design, Inc., All Rights Reserved // http://www.threerings.net/code/narya/ // // This library is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public Licens...
Method to poll all peers for chat history and asynchronously return the result. git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@5993 542714f4-19e9-0310-aa3c-eee0fc999fb1
src/java/com/threerings/crowd/peer/server/CrowdPeerManager.java
Method to poll all peers for chat history and asynchronously return the result.
<ide><path>rc/java/com/threerings/crowd/peer/server/CrowdPeerManager.java <ide> <ide> package com.threerings.crowd.peer.server; <ide> <add>import java.util.Collections; <add>import java.util.Comparator; <add>import java.util.List; <add>import java.util.Set; <add> <ide> import com.google.common.base.Predicate; <ide> i...
Java
agpl-3.0
4480fd611f06f58c59381e0535ae9720d0913e4b
0
PeterWithers/temp-to-delete1,KinshipSoftware/KinOathKinshipArchiver,KinshipSoftware/KinOathKinshipArchiver,PeterWithers/temp-to-delete1
package nl.mpi.kinnate.ui.relationsettings; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import javax.swing.JButton; import javax.swing.table.AbstractTableModel; import nl.mpi.kinnate.SavePanel; import nl.mpi.kin...
desktop/src/main/java/nl/mpi/kinnate/ui/relationsettings/RelationTypesTableModel.java
package nl.mpi.kinnate.ui.relationsettings; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import javax.swing.JButton; import javax.swing.table.AbstractTableModel; import nl.mpi.kinnate.SavePanel; import nl.mpi.kin...
Added a settings panel for the relation type definitions. Added the relation type definitions to the data stored in the svg. Added the DCR to the relation types and its settings UI. Restructured the relation type data structure to suit the recent changes. Added drag handles for each custom relation type. Enabled line c...
desktop/src/main/java/nl/mpi/kinnate/ui/relationsettings/RelationTypesTableModel.java
Added a settings panel for the relation type definitions. Added the relation type definitions to the data stored in the svg. Added the DCR to the relation types and its settings UI. Restructured the relation type data structure to suit the recent changes. Added drag handles for each custom relation type. Enabled line c...
<ide><path>esktop/src/main/java/nl/mpi/kinnate/ui/relationsettings/RelationTypesTableModel.java <ide> fireTableCellUpdated(rowIndex, columnIndex); // update the colour in the modified table cell <ide> break; <ide> case 4: <del> lineWidth = Integer.parseInt(stri...
Java
apache-2.0
c1e47ec47ca2ec4d5bd3e60cd1e51c91e8cef2eb
0
apache/camel,gnodet/camel,cunningt/camel,tdiesler/camel,tdiesler/camel,cunningt/camel,tadayosi/camel,apache/camel,adessaigne/camel,apache/camel,tadayosi/camel,tdiesler/camel,pax95/camel,adessaigne/camel,gnodet/camel,cunningt/camel,nikhilvibhav/camel,tdiesler/camel,gnodet/camel,apache/camel,pmoerenhout/camel,adessaigne/...
/* * 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 ...
core/camel-core-processor/src/main/java/org/apache/camel/processor/loadbalancer/LoadBalancerSupport.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 ...
Polished
core/camel-core-processor/src/main/java/org/apache/camel/processor/loadbalancer/LoadBalancerSupport.java
Polished
<ide><path>ore/camel-core-processor/src/main/java/org/apache/camel/processor/loadbalancer/LoadBalancerSupport.java <ide> <ide> @Override <ide> public String toString() { <del> return getClass().getSimpleName() + Arrays.toString(doGetProcessors()); <add> return getClass().getSimpleName(); <ide> ...
Java
mit
0fbdd78ce1f65d874b513d1f65019bada32522ba
0
sauliusg/jabref,bartsch-dev/jabref,Braunch/jabref,sauliusg/jabref,mredaelli/jabref,mairdl/jabref,motokito/jabref,Mr-DLib/jabref,bartsch-dev/jabref,ayanai1/jabref,zellerdev/jabref,JabRef/jabref,Siedlerchr/jabref,grimes2/jabref,tschechlovdev/jabref,bartsch-dev/jabref,obraliar/jabref,Mr-DLib/jabref,ayanai1/jabref,jhshinn/...
package net.sf.jabref.export.layout.format; import net.sf.jabref.export.layout.*; import net.sf.jabref.Globals; public class RTFChars implements LayoutFormatter { public String format(String field) { int i; field = firstFormat(field); StringBuffer sb = new StringBuffer(""); StringBuffer currentCommand = nu...
src/java/net/sf/jabref/export/layout/format/RTFChars.java
package net.sf.jabref.export.layout.format; import net.sf.jabref.export.layout.*; import net.sf.jabref.Globals; public class RTFChars implements LayoutFormatter { public String format(String field) { int i; field = firstFormat(field); StringBuffer sb = new StringBuffer(""); StringBuffer curre...
Format.
src/java/net/sf/jabref/export/layout/format/RTFChars.java
Format.
<ide><path>rc/java/net/sf/jabref/export/layout/format/RTFChars.java <ide> <ide> public class RTFChars implements LayoutFormatter { <ide> <add> public String format(String field) { <ide> <del> public String format(String field) { <del> <del> int i; <del> field = firstFormat(field); <del> StringBuffer sb...
Java
bsd-3-clause
e00099985f379d5d3bf3003f86883f3ce0f76dbd
0
Caleydo/org.caleydo.view.contour
/******************************************************************************* * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
src/main/java/org/caleydo/view/relationshipexplorer/ui/dialog/TabularAttributesFilterDialog.java
/******************************************************************************* * Caleydo - Visualization for Molecular Biology - http://caleydo.org * Copyright (c) The Caleydo Team. All rights reserved. * Licensed under the new BSD license, available at http://caleydo.org/license *********************************...
added correct min and max values for inhomogeneous dataset attribute filters
src/main/java/org/caleydo/view/relationshipexplorer/ui/dialog/TabularAttributesFilterDialog.java
added correct min and max values for inhomogeneous dataset attribute filters
<ide><path>rc/main/java/org/caleydo/view/relationshipexplorer/ui/dialog/TabularAttributesFilterDialog.java <ide> Object dataClassDesc = table.getDataClassSpecificDescription(dimensionID); <ide> String label = dataDomain.getDimensionLabel(dimensionID); <ide> if (dataClassDesc == null || dataClassDesc instanc...
Java
mit
3a950c5a027fe1d836cc35e73729889de813e1f6
0
sideshowcecil/myx-monitor,sideshowcecil/myx-monitor
package at.ac.tuwien.dsg.myx.monitor.model; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import edu.uci.isr.xarch.IXArch; import edu.uci.isr.xarch.IXArchImplementation; import edu.uci.isr.xarch.XArchParseExceptio...
myx-monitor/src/main/java/at/ac/tuwien/dsg/myx/monitor/model/ModelRootImpl.java
package at.ac.tuwien.dsg.myx.monitor.model; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import edu.uci.isr.xarch.IXArch; import edu.uci.isr.xarch.IXArchImplementation; import edu.uci.isr.xarch.XArchParseExceptio...
small bugfix in constructor: super() -> this()
myx-monitor/src/main/java/at/ac/tuwien/dsg/myx/monitor/model/ModelRootImpl.java
small bugfix in constructor: super() -> this()
<ide><path>yx-monitor/src/main/java/at/ac/tuwien/dsg/myx/monitor/model/ModelRootImpl.java <ide> } <ide> <ide> public ModelRootImpl(String xadlFile) { <del> super(); <add> this(); <ide> parse(xadlFile); <ide> } <ide>
Java
bsd-3-clause
1e2b1a7ed99073a1b092c65ec46fe64192d35bd8
0
lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon
// ======================================================================== // $Id: DaemonStatus.java,v 1.12 2003-04-03 11:34:53 tal Exp $ // ======================================================================== /* Copyright (c) 2000-2002 Board of Trustees of Leland Stanford Jr. University, all rights reserved. P...
src/org/lockss/servlet/DaemonStatus.java
// ======================================================================== // $Id: DaemonStatus.java,v 1.11 2003-04-02 10:52:03 tal Exp $ // ======================================================================== /* Copyright (c) 2000-2002 Board of Trustees of Leland Stanford Jr. University, all rights reserved. P...
Put table title in page title. git-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@1136 4f837ed2-42f5-46e7-a7a5-fa17313484d4
src/org/lockss/servlet/DaemonStatus.java
Put table title in page title.
<ide><path>rc/org/lockss/servlet/DaemonStatus.java <ide> // ======================================================================== <del>// $Id: DaemonStatus.java,v 1.11 2003-04-02 10:52:03 tal Exp $ <add>// $Id: DaemonStatus.java,v 1.12 2003-04-03 11:34:53 tal Exp $ <ide> // ==========================================...
Java
apache-2.0
b6ebafc731252342a7d28a00632800bd85793ba4
0
SylvesterAbreu/jackrabbit,Kast0rTr0y/jackrabbit,bartosz-grabski/jackrabbit,bartosz-grabski/jackrabbit,tripodsan/jackrabbit,kigsmtua/jackrabbit,SylvesterAbreu/jackrabbit,Kast0rTr0y/jackrabbit,Kast0rTr0y/jackrabbit,tripodsan/jackrabbit,sdmcraft/jackrabbit,bartosz-grabski/jackrabbit,Overseas-Student-Living/jackrabbit,Over...
/* * 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 ...
jackrabbit-spi-commons/src/test/java/org/apache/jackrabbit/spi/commons/query/sql2/ParserTest.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 ...
JCR-2996: QOM to SQL2 doesn't cast numeric literals git-svn-id: 02b679d096242155780e1604e997947d154ee04a@1137572 13f79535-47bb-0310-9956-ffa450edef68
jackrabbit-spi-commons/src/test/java/org/apache/jackrabbit/spi/commons/query/sql2/ParserTest.java
JCR-2996: QOM to SQL2 doesn't cast numeric literals
<ide><path>ackrabbit-spi-commons/src/test/java/org/apache/jackrabbit/spi/commons/query/sql2/ParserTest.java <ide> } <ide> } <ide> <add> public void testFormatLiterals() throws Exception { <add> formatLiteral("true", "true"); <add> formatLiteral("false", "false"); <add> <add> formatL...
Java
apache-2.0
83e03c898c45e1cafd9d10b6fe1f52f39b3ea43e
0
rouazana/james,rouazana/james,aduprat/james,chibenwa/james,aduprat/james,aduprat/james,chibenwa/james,aduprat/james,rouazana/james,chibenwa/james,rouazana/james,chibenwa/james
/**************************************************************** * 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 ...
remotemanager/src/main/java/org/apache/james/remotemanager/core/AuthorizationHandler.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 ...
Fix login on second attempt (JAMES-974) git-svn-id: de9d04cf23151003780adc3e4ddb7078e3680318@915221 13f79535-47bb-0310-9956-ffa450edef68
remotemanager/src/main/java/org/apache/james/remotemanager/core/AuthorizationHandler.java
Fix login on second attempt (JAMES-974)
<ide><path>emotemanager/src/main/java/org/apache/james/remotemanager/core/AuthorizationHandler.java <ide> final String message = "Login failed for " + username; <ide> session.writeResponse(new RemoteManagerResponse(message)); <ide> session.writeRes...
Java
apache-2.0
8e7d8baf8c4a9d0779d85b23c0466d53cc18aebd
0
jnidzwetzki/scalephant,jnidzwetzki/bboxdb,jnidzwetzki/scalephant,jnidzwetzki/bboxdb,jnidzwetzki/bboxdb
package de.fernunihagen.dna.jkn.scalephant; import java.io.File; import java.util.ArrayList; import java.util.List; import junit.framework.Assert; import org.junit.Before; import org.junit.Test; import de.fernunihagen.dna.jkn.scalephant.storage.BoundingBox; import de.fernunihagen.dna.jkn.scalephant.storage.StorageC...
src/test/java/de/fernunihagen/dna/jkn/scalephant/TestTableCompactor.java
package de.fernunihagen.dna.jkn.scalephant; import java.io.File; import java.util.ArrayList; import java.util.List; import junit.framework.Assert; import org.junit.Before; import org.junit.Test; import de.fernunihagen.dna.jkn.scalephant.storage.BoundingBox; import de.fernunihagen.dna.jkn.scalephant.storage.StorageC...
Check number of tuples
src/test/java/de/fernunihagen/dna/jkn/scalephant/TestTableCompactor.java
Check number of tuples
<ide><path>rc/test/java/de/fernunihagen/dna/jkn/scalephant/TestTableCompactor.java <ide> final SSTableIndexReader ssTableIndexReader = new SSTableIndexReader(reader); <ide> ssTableIndexReader.init(); <ide> <del> for(final Tuple tuple : ssTableIndexReader) { <add> int counter = 0; <add> for(final Tuple tuple : s...
Java
mit
d0cf712c037c60aad73b96133c43bf0ec23f783a
0
zalando/nakadi,zalando/nakadi
package de.zalando.aruha.nakadi.controller; import com.codahale.metrics.annotation.Timed; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import de.zalando.aruha.nakadi.NakadiException; import de.zalando.aruha.nakadi.domain.Cursor; import de.zalando.aruha.nakad...
src/main/java/de/zalando/aruha/nakadi/controller/EventStreamController.java
package de.zalando.aruha.nakadi.controller; import com.codahale.metrics.annotation.Timed; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import de.zalando.aruha.nakadi.NakadiException; import de.zalando.aruha.nakadi.domain.Cursor; import de.zalando.aruha.nakad...
ARUHA-78: removed flow id;
src/main/java/de/zalando/aruha/nakadi/controller/EventStreamController.java
ARUHA-78: removed flow id;
<ide><path>rc/main/java/de/zalando/aruha/nakadi/controller/EventStreamController.java <ide> @RequestParam(value = "batch_flush_timeout", required = false, defaultValue = "30") final int batchTimeout, <ide> @RequestParam(value = "stream_timeout", required = false, defaultValue = "0") final int st...
Java
apache-2.0
6597d8a77f38c24565d4120e971dcab28d46cea4
0
apache/commons-io,apache/commons-io,apache/commons-io
/* * 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 ...
src/test/java/org/apache/commons/io/FileUtilsWaitForTestCase.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 ...
No need to specify value equal to the default. Trying to fix random failures on GitHub builds.
src/test/java/org/apache/commons/io/FileUtilsWaitForTestCase.java
No need to specify value equal to the default.
<ide><path>rc/test/java/org/apache/commons/io/FileUtilsWaitForTestCase.java <ide> <ide> @Test <ide> public void testWaitForInterrupted() throws InterruptedException { <del> final AtomicBoolean wasInterrupted = new AtomicBoolean(false); <add> final AtomicBoolean wasInterrupted = new AtomicBoolean(...
Java
apache-2.0
8f399a7a5b9c6b477615c7f05d0d8d58fba65093
0
EvilMcJerkface/Aeron,mikeb01/Aeron,real-logic/Aeron,EvilMcJerkface/Aeron,galderz/Aeron,galderz/Aeron,real-logic/Aeron,real-logic/Aeron,mikeb01/Aeron,mikeb01/Aeron,EvilMcJerkface/Aeron,real-logic/Aeron,mikeb01/Aeron,galderz/Aeron,galderz/Aeron,EvilMcJerkface/Aeron
/* * Copyright 2014-2018 Real Logic Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
aeron-system-tests/src/test/java/io/aeron/FlowControlStrategiesTest.java
/* * Copyright 2014-2018 Real Logic Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
[Java] Create subscriptions before publications to speed up tests.
aeron-system-tests/src/test/java/io/aeron/FlowControlStrategiesTest.java
[Java] Create subscriptions before publications to speed up tests.
<ide><path>eron-system-tests/src/test/java/io/aeron/FlowControlStrategiesTest.java <ide> { <ide> launch(); <ide> <del> publication = clientA.addPublication(MULTICAST_URI, STREAM_ID); <del> subscriptionA = clientA.addSubscription(MULTICAST_URI, STREAM_ID); <del> subscriptionB = clientB....
Java
mit
c4a8eb3a27bd820ceea8ba835584a88530ea5fc9
0
binaryoverload/FlareBot,weeryan17/FlareBot,FlareBot/FlareBot
package com.bwfcwalshy.flarebot.commands.administrator; import com.bwfcwalshy.flarebot.FlareBot; import com.bwfcwalshy.flarebot.MessageUtils; import com.bwfcwalshy.flarebot.commands.Command; import com.bwfcwalshy.flarebot.commands.CommandType; import com.bwfcwalshy.flarebot.scheduler.FlarebotTask; import sx.blah.disco...
src/main/java/com/bwfcwalshy/flarebot/commands/administrator/Purge.java
package com.bwfcwalshy.flarebot.commands.administrator; import com.bwfcwalshy.flarebot.FlareBot; import com.bwfcwalshy.flarebot.MessageUtils; import com.bwfcwalshy.flarebot.commands.Command; import com.bwfcwalshy.flarebot.commands.CommandType; import com.bwfcwalshy.flarebot.scheduler.FlarebotTask; import sx.blah.disco...
* Tiny improvement to cooldown bypass
src/main/java/com/bwfcwalshy/flarebot/commands/administrator/Purge.java
* Tiny improvement to cooldown bypass
<ide><path>rc/main/java/com/bwfcwalshy/flarebot/commands/administrator/Purge.java <ide> .getEmbed(sender).withDesc("Can't purge less than 2 messages or more than 200!").build(), channel); <ide> return; <ide> } <del> cooldowns.put(channel.getGuild().getID(),...
Java
mit
b5dd04086929e90ec5397316223b5e577a85c703
0
RudiaMoon/objectify-appengine,google-code-export/objectify-appengine,naveen514/objectify-appengine,objectify/objectify,asolfre/objectify-appengine,qickrooms/objectify-appengine,zenmeso/objectify-appengine,gvaish/objectify-appengine,gvaish/attic-objectify-appengine
package com.googlecode.objectify; import java.util.HashMap; import java.util.Map; import com.google.appengine.api.datastore.DatastoreService; import com.google.appengine.api.datastore.DatastoreServiceFactory; import com.google.appengine.api.datastore.Key; import com.google.appengine.api.datastore.KeyFactory; ...
src/com/googlecode/objectify/Factory.java
package com.googlecode.objectify; import java.util.HashMap; import java.util.Map; import com.google.appengine.api.datastore.DatastoreService; import com.google.appengine.api.datastore.DatastoreServiceFactory; import com.google.appengine.api.datastore.Key; import com.google.appengine.api.datastore.KeyFactory; ...
Fixed bug causing un-named @Entity objects to not have kinds. git-svn-id: 1ab7df0ed85a7513fd7b1f64d2838346d91c60ce@23 79e2b5ea-dad9-11de-b64b-7d26b27941e2
src/com/googlecode/objectify/Factory.java
Fixed bug causing un-named @Entity objects to not have kinds.
<ide><path>rc/com/googlecode/objectify/Factory.java <ide> public String getKind(Class<?> clazz) <ide> { <ide> javax.persistence.Entity entityAnn = clazz.getAnnotation(javax.persistence.Entity.class); <del> if (entityAnn == null) <add> if (entityAnn == null || entityAnn.name() == null) <ide> return clazz.getSim...
Java
apache-2.0
95fceeb27e0ffef84becddbe88ce10cfe8fa205f
0
weimingtom/python-for-android,pforret/python-for-android,yawnosnorous/python-for-android,pleaseproject/python-for-android,flyfei/python-for-android,kemalakyol48/python-for-android,rockyzhang/zhangyanhit-python-for-android-mips,zhuwenping/python-for-android,RockySteveJobs/python-for-android,Godiyos/python-for-android,bo...
package com.googlecode.pythonforandroid; import android.app.AlertDialog; import android.app.Dialog; import android.app.ProgressDialog; import android.content.ComponentName; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; i...
android/PythonForAndroid/src/com/googlecode/pythonforandroid/PythonMain.java
package com.googlecode.pythonforandroid; import android.app.AlertDialog; import android.app.Dialog; import android.app.ProgressDialog; import android.content.ComponentName; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; i...
Install Eggs into /data/data/com.googlecode.pythonforandroid/files/python/lib/python2.6/lib-dynload (path may no be the most common, but who cares\!), create .pth files during installation so egg files are automatically added to the sys.path. .pth files are created in /data/data/com.googlecode.pythonforandroid/files/li...
android/PythonForAndroid/src/com/googlecode/pythonforandroid/PythonMain.java
Install Eggs into /data/data/com.googlecode.pythonforandroid/files/python/lib/python2.6/lib-dynload (path may no be the most common, but who cares\!), create .pth files during installation so egg files are automatically added to the sys.path. .pth files are created in /data/data/com.googlecode.pythonforandroid/files/li...
<ide><path>ndroid/PythonForAndroid/src/com/googlecode/pythonforandroid/PythonMain.java <ide> import android.view.View.OnClickListener; <ide> import android.view.ViewGroup.LayoutParams; <ide> import android.view.ViewGroup.MarginLayoutParams; <add>import android.view.Window; <ide> import android.widget.Button; <del>impor...
JavaScript
apache-2.0
1ccfe531ae0809ff68a55a19a62b8f13279901ae
0
app-scripters/apps-script-uber-kit,app-scripters/apps-script-uber-kit
/** * Authorizes and makes a request to the QuickBooks API. Assumes the use of a * sandbox company. */ function QB(options){ var t = this; //check if this is really object construction if (! t.serviceName) { throw new Error("you've forgotten 'new' keyword: var instance = new " + t.serviceName + ...
lib-src/19.1.oauth1.QuickBooks.js
/** * Authorizes and makes a request to the QuickBooks API. Assumes the use of a * sandbox company. */ function QB(options){ var t = this; //check if this is really object construction if (! t.serviceName) { throw new Error("you've forgotten 'new' keyword: var instance = new " + t.serviceName + ...
QuickBooks: Auth detection improvements
lib-src/19.1.oauth1.QuickBooks.js
QuickBooks: Auth detection improvements
<ide><path>ib-src/19.1.oauth1.QuickBooks.js <ide> if (failedRequestData) t.reset(); <ide> <ide> if (failedRequestData || ! t._service.hasAccess()) { <del> t._auth = false; <del> //if not authorised, then call the handler to create a user-facing auth URL <del> t.userOnDenied(t._service....
Java
mit
618fb8d13ca31f75d66daa1ca53784ef59e288de
0
AbeSkray/poker-calculator
package com.skraylabs.poker.model; /** * Checked exception thrown when a string representing a {@link GameState} is formatted incorrectly. * This applies to general syntax errors that don't qualify for a more specific exception ( * {@link CardFormatException}, {@link BoardFormatException}, {@link GameStateFormatExc...
src/main/java/com/skraylabs/poker/model/GameStateFormatException.java
package com.skraylabs.poker.model; /** * Checked exception thrown when a string representing a {@link GameState} is formatted incorrectly. * This applies to general syntax errors that don't qualify for a more specific exception ( * {@link CardFormatException}, {@link BoardFormatException}, {@link GameStateFormatExc...
GameStateFormatException: implement constructors.
src/main/java/com/skraylabs/poker/model/GameStateFormatException.java
GameStateFormatException: implement constructors.
<ide><path>rc/main/java/com/skraylabs/poker/model/GameStateFormatException.java <ide> * Default constructor. <ide> */ <ide> public GameStateFormatException() { <add> super(MSG_DEFAULT); <ide> } <ide> <ide> /** <ide> * @param message detail message <ide> */ <ide> public GameStateFormatException(S...
Java
mit
43f701ba8ff559e1b92552f7ca0111c959dfdb67
0
Barteks2x/CubicChunksConverter,Barteks2x/CubicChunksConverter
/* * This file is part of CubicChunksConverter, licensed under the MIT License (MIT). * * Copyright (c) 2017 contributors * * 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...
src/main/java/cubicchunks/converter/lib/util/MemoryReadRegion.java
/* * This file is part of CubicChunksConverter, licensed under the MIT License (MIT). * * Copyright (c) 2017 contributors * * 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...
Lazy initialize file buffer in reading memory region for faster counting of files
src/main/java/cubicchunks/converter/lib/util/MemoryReadRegion.java
Lazy initialize file buffer in reading memory region for faster counting of files
<ide><path>rc/main/java/cubicchunks/converter/lib/util/MemoryReadRegion.java <ide> <ide> private final IKeyIdToSectorMap<?, ?, K> sectorMap; <ide> private final int sectorSize; <add> private SeekableByteChannel file; <ide> private final RegionKey regionKey; <ide> private final IKeyProvider<K> keyPro...
Java
epl-1.0
c088374712505a627f9d08e070716419ca04982f
0
hansjoachim/fitnesse,amolenaar/fitnesse,jdufner/fitnesse,amolenaar/fitnesse,jdufner/fitnesse,rbevers/fitnesse,hansjoachim/fitnesse,rbevers/fitnesse,hansjoachim/fitnesse,amolenaar/fitnesse,jdufner/fitnesse,rbevers/fitnesse
// Copyright (C) 2003-2009 by Object Mentor, Inc. All rights reserved. // Released under the terms of the CPL Common Public License version 1.0. package fitnesse; import fitnesse.http.MockRequestBuilder; import fitnesse.http.MockResponseSender; import fitnesse.http.Request; import fitnesse.http.Response; import fitnes...
src/fitnesse/FitNesse.java
// Copyright (C) 2003-2009 by Object Mentor, Inc. All rights reserved. // Released under the terms of the CPL Common Public License version 1.0. package fitnesse; import fitnesse.http.MockRequestBuilder; import fitnesse.http.MockResponseSender; import fitnesse.http.Request; import fitnesse.http.Response; import fitnes...
Remove deprecated fitnesse.FitNesse.main().
src/fitnesse/FitNesse.java
Remove deprecated fitnesse.FitNesse.main().
<ide><path>rc/fitnesse/FitNesse.java <ide> filesDir.mkdir(); <ide> } <ide> <del> public static void main(String[] args) throws Exception { <del> System.out.println("DEPRECATED: use java -jar fitnesse.jar or java -cp fitnesse.jar fitnesseMain.FitNesseMain"); <del> Class<?> mainClass = Class.forName("fit...
Java
mit
25a29b39ae2dac4b10d66011552c4caf060e7b8a
0
Nunnery/MythicDrops
package net.nunnerycode.bukkit.mythicdrops.spawning; import net.nunnerycode.bukkit.mythicdrops.MythicDropsPlugin; import net.nunnerycode.bukkit.mythicdrops.api.MythicDrops; import net.nunnerycode.bukkit.mythicdrops.api.items.CustomItem; import net.nunnerycode.bukkit.mythicdrops.api.items.ItemGenerationReason; import n...
MythicDrops/src/main/java/net/nunnerycode/bukkit/mythicdrops/spawning/ItemSpawningListener.java
package net.nunnerycode.bukkit.mythicdrops.spawning; import net.nunnerycode.bukkit.mythicdrops.MythicDropsPlugin; import net.nunnerycode.bukkit.mythicdrops.api.MythicDrops; import net.nunnerycode.bukkit.mythicdrops.api.items.CustomItem; import net.nunnerycode.bukkit.mythicdrops.api.tiers.Tier; import net.nunnerycode.b...
making sure that items can spawn with sockets
MythicDrops/src/main/java/net/nunnerycode/bukkit/mythicdrops/spawning/ItemSpawningListener.java
making sure that items can spawn with sockets
<ide><path>ythicDrops/src/main/java/net/nunnerycode/bukkit/mythicdrops/spawning/ItemSpawningListener.java <ide> import net.nunnerycode.bukkit.mythicdrops.MythicDropsPlugin; <ide> import net.nunnerycode.bukkit.mythicdrops.api.MythicDrops; <ide> import net.nunnerycode.bukkit.mythicdrops.api.items.CustomItem; <add>import ...
Java
apache-2.0
6e98ee86e7df155eeb0e4e65e7b5c1ea4d0c5e15
0
codemucker/codemucker-lang
/* * Copyright 2011 Bert van Brakel * * 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...
src/main/java/com/bertvanbrakel/lang/Check.java
/* * Copyright 2011 Bert van Brakel * * 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...
add some more check.. methods on CHeck
src/main/java/com/bertvanbrakel/lang/Check.java
add some more check.. methods on CHeck
<ide><path>rc/main/java/com/bertvanbrakel/lang/Check.java <ide> import java.util.Collection; <ide> <ide> public final class Check { <del> <add> <add> public static void checkFailed(String msg){ <add> throw new IllegalArgumentException(msg); <add> } <add> <ide> /** <ide> * Assert the given string is n...
JavaScript
agpl-3.0
69480439c1204760ac6aa9cc8b713b56c4f5b513
0
lustersir/MuPDF,hackqiang/mupdf,seagullua/MuPDF,wzhsunn/mupdf,issuestand/mupdf,fluks/mupdf-x11-bookmarks,FabriceSalvaire/mupdf-v1.3,muennich/mupdf,derek-watson/mupdf,geetakaur/NewApps,wild0/opened_mupdf,ArtifexSoftware/mupdf,FabriceSalvaire/mupdf-cmake,robamler/mupdf-nacl,tophyr/mupdf,issuestand/mupdf,tophyr/mupdf,Puzz...
var MuPDF = new Array(); MuPDF.monthName = ['January','February','March','April','May','June','July','August','September','October','November','December']; MuPDF.dayName = ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday']; MuPDF.shortMonthName = new Array(); for (var i = 0; i < MuPDF.monthName...
pdf/pdf_util.js
var MuPDF = new Array(); MuPDF.monthName = ['January','February','March','April','May','June','July','August','September','October','November','December']; MuPDF.dayName = ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday']; MuPDF.shortMonthName = new Array(); for (var i = 0; i < MuPDF.monthName...
Javascript: implement main Keystroke and Validate functions
pdf/pdf_util.js
Javascript: implement main Keystroke and Validate functions
<ide><path>df/pdf_util.js <ide> return AFParseTime(dt[1], dout); <ide> } <ide> <add>function AFDate_KeystrokeEx(fmt) <add>{ <add> if (event.willCommit && !AFParseDateEx(event.value)) <add> event.rc = false; <add>} <add> <add>function AFDate_Keystroke(index) <add>{ <add> var formats = ['m/d','m/d/yy','mm/dd/yy','mm/y...
Java
apache-2.0
2bb144145c50c10b970a5926b368851aa69d81e7
0
MaTriXy/MobFox-Android-SDK,aiurlano/MobFox-Android-SDK,palaniyappanBala/MobFox-Android-SDK,aiurlano/MobFox-Android-SDK,MaTriXy/MobFox-Android-SDK,palaniyappanBala/MobFox-Android-SDK,aiurlano/MobFox-Android-SDK,palaniyappanBala/MobFox-Android-SDK,MaTriXy/MobFox-Android-SDK
package com.adsdk.sdk.customevents; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import android.app.Activity; import android.os.Handler; public class AdColonyFullscreen extends CustomEventFullscreen { private stat...
src/com/adsdk/sdk/customevents/AdColonyFullscreen.java
package com.adsdk.sdk.customevents; import android.app.Activity; import android.os.Handler; import com.jirbo.adcolony.AdColony; import com.jirbo.adcolony.AdColonyAd; import com.jirbo.adcolony.AdColonyAdListener; import com.jirbo.adcolony.AdColonyVideoAd; public class AdColonyFullscreen extends CustomEventFullscreen ...
Use reflection in AdColony custom event.
src/com/adsdk/sdk/customevents/AdColonyFullscreen.java
Use reflection in AdColony custom event.
<ide><path>rc/com/adsdk/sdk/customevents/AdColonyFullscreen.java <ide> package com.adsdk.sdk.customevents; <add> <add>import java.lang.reflect.Constructor; <add>import java.lang.reflect.InvocationHandler; <add>import java.lang.reflect.Method; <add>import java.lang.reflect.Proxy; <ide> <ide> import android.app.Activity...
JavaScript
mit
d0e9503481817d3433e0cddf1d862a6b91cfc50d
0
termith-anr/totem,termith-anr/idefix,termith-anr/idefix,termith-anr/totem
/** * Created by matthias on 01/11/201. * VERSION: PHASE 1 (2014-11-01) */ /************************ **** MODULES **** ************************/ var objectPath = require('object-path'), kuler = require('kuler'), sha1 = require('sha1'), jsonselect = require('JSONSelect'); 'use strict'; module.exports =...
loaders/tei-format/2014-11-01.js
/** * Created by matthias on 01/11/201. * VERSION: PHASE 1 (2014-11-01) */ /************************ **** MODULES **** ************************/ var objectPath = require('object-path'), kuler = require('kuler'), sha1 = require('sha1'), jsonselect = require('JSONSelect'); 'use strict'; module.exports =...
JSONSelect phase 1 ok
loaders/tei-format/2014-11-01.js
JSONSelect phase 1 ok
<ide><path>oaders/tei-format/2014-11-01.js <ide> config = config.get(); <ide> return function (input, submit) { <ide> <del> var pertinenceObject = [], <del> silenceObject = []; <del> <del> jsonselect.forEach(".keywords:only-child" , input.content.json , function(element){ <del> ...
JavaScript
mit
ca380375fb39b063e2f0ddd7fcec6e59c4a32df8
0
buchuki/pyjaco,chrivers/pyjaco,chrivers/pyjaco,buchuki/pyjaco,buchuki/pyjaco,chrivers/pyjaco
/** Copyright 2010-2011 Ondrej Certik <ondrej@certik.cz> Copyright 2010-2011 Mateusz Paprocki <mattpap@gmail.com> Copyright 2011 Christian Iversen <ci@sikkerhed.org> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Softwa...
library/25-type-str.js
/** Copyright 2010-2011 Ondrej Certik <ondrej@certik.cz> Copyright 2010-2011 Mateusz Paprocki <mattpap@gmail.com> Copyright 2011 Christian Iversen <ci@sikkerhed.org> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Softwa...
* basestring.PY$__repr__ now returns a string-class * Avoid str.__getitem__ where not necessary in PY$__getitem__ with slice * Use s.charAt(x) instead of s[x] * Use js(x) for all pythonic x values
library/25-type-str.js
* basestring.PY$__repr__ now returns a string-class * Avoid str.__getitem__ where not necessary in PY$__getitem__ with slice * Use s.charAt(x) instead of s[x] * Use js(x) for all pythonic x values
<ide><path>ibrary/25-type-str.js <ide> }; <ide> <ide> basestring.PY$__repr__ = function () { <del> return "'" + this + "'"; <add> return this.PY$__class__("'" + this.obj + "'"); <ide> }; <ide> <ide> basestring._js_ = function () { <ide> <ide> basestring.PY$__getitem__ = function(index) { <ide> var seq; <ad...
JavaScript
mit
06cd2aa781adff4c3c9b968a0dd717928b8305fd
0
egovernment/eregistrations,egovernment/eregistrations,egovernment/eregistrations
'use strict'; var ensureObject = require('es5-ext/object/valid-object') , assign = require('es5-ext/object/assign') , forEach = require('es5-ext/object/for-each') , isEmpty = require('es5-ext/object/is-empty') , capitalize = require('es5-ext/string/#/ca...
server/routes/controllers/statistics-time-per-role-csv.js
'use strict'; var ensureObject = require('es5-ext/object/valid-object') , assign = require('es5-ext/object/assign') , forEach = require('es5-ext/object/for-each') , isEmpty = require('es5-ext/object/is-empty') , capitalize = require('es5-ext/string/#/ca...
Reuse db
server/routes/controllers/statistics-time-per-role-csv.js
Reuse db
<ide><path>erver/routes/controllers/statistics-time-per-role-csv.js <ide> , forEach = require('es5-ext/object/for-each') <ide> , isEmpty = require('es5-ext/object/is-empty') <ide> , capitalize = require('es5-ext/string/#/capitalize') <del> , ensureDatabase = require('dbj...
JavaScript
apache-2.0
1b38fe77342dba1647de0fd1a19a727b717a92ee
0
researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds,researchstudio-sat/webofneeds
/** * Created by quasarchimaere on 04.04.2019. */ import angular from "angular"; import ngAnimate from "angular-animate"; import { attach, getIn, get, delay } from "../../utils.js"; import { connect2Redux } from "../../won-utils.js"; import won from "../../won-es6.js"; import { actionCreators } from "../../actions/ac...
webofneeds/won-owner-webapp/src/main/webapp/app/components/map/map.js
/** * Created by quasarchimaere on 04.04.2019. */ import angular from "angular"; import ngAnimate from "angular-animate"; import { attach, getIn, get, delay } from "../../utils.js"; import { connect2Redux } from "../../won-utils.js"; import won from "../../won-es6.js"; import { actionCreators } from "../../actions/ac...
Only display atoms with a location in the map/whatsaround view
webofneeds/won-owner-webapp/src/main/webapp/app/components/map/map.js
Only display atoms with a location in the map/whatsaround view
<ide><path>ebofneeds/won-owner-webapp/src/main/webapp/app/components/map/map.js <ide> const viewAtomUri = generalSelectors.getViewAtomUriFromRoute(state); <ide> const viewConnUri = generalSelectors.getViewConnectionUriFromRoute(state); <ide> <del> const atoms = getIn(state, ["owner", "atoms"]); <del> ...
Java
apache-2.0
4724e8fb9a912ed0ec35229aaaed5111b913a194
0
googleads/googleads-mobile-flutter,googleads/googleads-mobile-flutter,googleads/googleads-mobile-flutter,googleads/googleads-mobile-flutter
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writ...
packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterNativeAd.java
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writ...
Remove double negatives (`cannot not`) in errors (#671) `FlutterNativeAd.Builder.build()` alerts the caller to invalid `null` values with messages of the form: xxx cannot not be null This replaces that double negative with simpler and more correct messages of the form: xxx cannot be null
packages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterNativeAd.java
Remove double negatives (`cannot not`) in errors (#671)
<ide><path>ackages/google_mobile_ads/android/src/main/java/io/flutter/plugins/googlemobileads/FlutterNativeAd.java <ide> <ide> FlutterNativeAd build() { <ide> if (manager == null) { <del> throw new IllegalStateException("AdInstanceManager cannot not be null."); <add> throw new IllegalStateExcep...
JavaScript
apache-2.0
d3d1d313ab4c325ba6678b906b182a5dda584c7d
0
autoserver-org/autoserver,autoserver-org/autoserver
'use strict'; // Turn a `commandpath` into a `collname`, using schema information const getColl = function ({ commandpath, schema, top: { collname, command: { multiple } }, }) { // Ignore array indices const commandpathA = commandpath.filter(key => typeof key !== 'number'); // This means this is the top-l...
src/middleware/action/get_coll.js
'use strict'; // Turn a `commandpath` into a `collname`, using schema information const getColl = function ({ commandpath, schema, top: { collname, command: { multiple } }, }) { // Ignore array indices const commandpathA = commandpath.filter(key => typeof key !== 'number'); // This means this is the top-l...
Rename variables
src/middleware/action/get_coll.js
Rename variables
<ide><path>rc/middleware/action/get_coll.js <ide> commandpath, <ide> }) { <ide> const [attrName, ...childCommandpath] = commandpath; <del> const coll = collections[collname].attributes[attrName]; <add> const attr = collections[collname].attributes[attrName]; <ide> <ide> // Erronous `commandpath` <del> if (col...
Java
agpl-3.0
eb46887e924cd6c04fb89559f01cc454e18616fb
0
retest/recheck,retest/recheck
package de.retest.recheck; import java.util.Set; import de.retest.recheck.report.ActionReplayResult; import de.retest.recheck.ui.DefaultValueFinder; import de.retest.recheck.ui.descriptors.RootElement; /** * Interface to help recheck transform an arbitrary object into its internal format to allow persistence, state...
src/main/java/de/retest/recheck/RecheckAdapter.java
package de.retest.recheck; import java.util.Set; import de.retest.recheck.ui.DefaultValueFinder; import de.retest.recheck.ui.descriptors.RootElement; /** * Interface to help recheck transform an arbitrary object into its internal format to allow persistence, state diffing * and ignoring of attributes and elements....
Add possibility to warn adapter
src/main/java/de/retest/recheck/RecheckAdapter.java
Add possibility to warn adapter
<ide><path>rc/main/java/de/retest/recheck/RecheckAdapter.java <ide> <ide> import java.util.Set; <ide> <add>import de.retest.recheck.report.ActionReplayResult; <ide> import de.retest.recheck.ui.DefaultValueFinder; <ide> import de.retest.recheck.ui.descriptors.RootElement; <ide> <ide> */ <ide> DefaultValueFinder ge...
Java
agpl-3.0
08f119faba095e281582bcdbf60406f27a0ca4f7
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
7452f1f2-2e62-11e5-9284-b827eb9e62be
hello.java
744d86d6-2e62-11e5-9284-b827eb9e62be
7452f1f2-2e62-11e5-9284-b827eb9e62be
hello.java
7452f1f2-2e62-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>744d86d6-2e62-11e5-9284-b827eb9e62be <add>7452f1f2-2e62-11e5-9284-b827eb9e62be
Java
mit
bf94ea4e64627774c6051f8f534391c69a4a1501
0
sahana/vesuvius,ramdesh/vesuvius_installer,ramdesh/vesuvius_installer,bobrock/vesuvius,bobrock/vesuvius,ramdesh/vesuvius_installer,bobrock/vesuvius,bobrock/vesuvius,sahana/vesuvius,sahana/vesuvius,ramdesh/vesuvius_installer,bobrock/vesuvius,sahana/vesuvius,bobrock/vesuvius,sahana/vesuvius
/* * Created on Dec 30, 2004 * * To change the template for this generated file go to * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments */ package org.campdb.db; import org.campdb.business.*; import org.campdb.util.LabelValue; import org.sahana.share.db.DBConnection; import java.sql.Connection; ...
sahana-phase1/campreg/src/org/campdb/db/DataAccessManager.java
/* * Created on Dec 30, 2004 * * To change the template for this generated file go to * Window&gt;Preferences&gt;Java&gt;Code Generation&gt;Code and Comments */ package org.campdb.db; import org.campdb.business.*; import org.campdb.util.LabelValue; import java.sql.Connection; import java.sql.PreparedStatement; import...
added the shared DB connection
sahana-phase1/campreg/src/org/campdb/db/DataAccessManager.java
added the shared DB connection
<ide><path>ahana-phase1/campreg/src/org/campdb/db/DataAccessManager.java <ide> <ide> import org.campdb.business.*; <ide> import org.campdb.util.LabelValue; <add>import org.sahana.share.db.DBConnection; <ide> <ide> import java.sql.Connection; <ide> import java.sql.PreparedStatement; <ide> import java.sql.Statement; <i...
Java
lgpl-2.1
2b300a2e3264f0cb1716834d072109adf709c350
0
svartika/ccnx,cawka/ndnx,ebollens/ccnmp,svartika/ccnx,cawka/ndnx,svartika/ccnx,ebollens/ccnmp,svartika/ccnx,cawka/ndnx,svartika/ccnx,svartika/ccnx,cawka/ndnx,ebollens/ccnmp,cawka/ndnx,ebollens/ccnmp,svartika/ccnx
/* * Part of the CCNx Java Library. * * Copyright (C) 2008, 2009, 2011 Palo Alto Research Center, Inc. * * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License version 2.1 * as published by the Free Software Foundation. * This librar...
javasrc/src/org/ccnx/ccn/profiles/nameenum/CCNNameEnumerator.java
/* * Part of the CCNx Java Library. * * Copyright (C) 2008, 2009, 2011 Palo Alto Research Center, Inc. * * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License version 2.1 * as published by the Free Software Foundation. * This librar...
refs #100555 Fix spanning NE problem by updating in background
javasrc/src/org/ccnx/ccn/profiles/nameenum/CCNNameEnumerator.java
refs #100555 Fix spanning NE problem by updating in background
<ide><path>avasrc/src/org/ccnx/ccn/profiles/nameenum/CCNNameEnumerator.java <ide> import java.io.IOException; <ide> import java.util.ArrayList; <ide> import java.util.LinkedList; <add>import java.util.Queue; <add>import java.util.concurrent.ConcurrentLinkedQueue; <ide> import java.util.logging.Level; <ide> <ide> impor...
Java
epl-1.0
70bfd913081c4ec4616aca58d2f34b093e5cea05
0
theanuradha/debrief,debrief/debrief,debrief/debrief,theanuradha/debrief,theanuradha/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief,debrief/debrief,debrief/debrief
/* * Debrief - the Open Source Maritime Analysis Application * http://debrief.info * * (C) 2000-2014, PlanetMayo Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of the Eclipse Public License v1.0 * (http://www.eclipse.org/legal/epl-v10....
org.mwc.debrief.track_shift/src/org/mwc/debrief/track_shift/views/FrequencyResidualsView.java
/* * Debrief - the Open Source Maritime Analysis Application * http://debrief.info * * (C) 2000-2014, PlanetMayo Ltd * * This library is free software; you can redistribute it and/or * modify it under the terms of the Eclipse Public License v1.0 * (http://www.eclipse.org/legal/epl-v10....
Prepare to walk data model
org.mwc.debrief.track_shift/src/org/mwc/debrief/track_shift/views/FrequencyResidualsView.java
Prepare to walk data model
<ide><path>rg.mwc.debrief.track_shift/src/org/mwc/debrief/track_shift/views/FrequencyResidualsView.java <ide> <ide> private List<WatchableList> getPotentialSources() <ide> { <add> if(_ourLayersSubject != null) <add> { <add> } <ide> return null; <ide> } <ide>
Java
bsd-3-clause
9ec05f90b9c59bc420936718cd8b4a1f20c27aac
0
magrimes/kryonet,EsotericSoftware/kryonet,bgroenks96/kryonet,hgl888/kryonet,archenroot/kryonet,nfirex/kryonet,yuanyuanlove/kryonet,ISkyLove/kryonet,kidaa/kryonet,freakynit/kryonet
package com.esotericsoftware.kryonet; import java.nio.ByteBuffer; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.io.ByteBufferInputStream; import com.esotericsoftware.kryo.io.ByteBufferOutputStream; import com.esotericsoftware.kryo.io.Input; import com.esotericsoftware.kryo.io.Outpu...
kryonet/src/com/esotericsoftware/kryonet/KryoSerialization.java
package com.esotericsoftware.kryonet; import java.nio.ByteBuffer; import com.esotericsoftware.kryo.Kryo; import com.esotericsoftware.kryo.io.ByteBufferInputStream; import com.esotericsoftware.kryo.io.ByteBufferOutputStream; import com.esotericsoftware.kryo.io.Input; import com.esotericsoftware.kryo.io.Outpu...
Reset Input before reading.
kryonet/src/com/esotericsoftware/kryonet/KryoSerialization.java
Reset Input before reading.
<ide><path>ryonet/src/com/esotericsoftware/kryonet/KryoSerialization.java <ide> <ide> public synchronized Object read (Connection connection, ByteBuffer buffer) { <ide> byteBufferInputStream.setByteBuffer(buffer); <add> input.rewind(); <ide> kryo.getContext().put("connection", connection); <ide> return kryo.re...
Java
mit
f6a33b3061f3721c9c78d34d6195b5c6eef85e61
0
gatzka/android-scan,gatzka/android-scan
/* * Android Scan, an app for scanning and configuring HBM devices. * * The MIT License (MIT) * * Copyright (C) Stephan Gatzka * * 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 witho...
src/test/java/com/hbm/devices/scan/ui/android/DisplayUpdateEventGeneratorTest.java
/* * Android Scan, an app for scanning and configuring HBM devices. * * The MIT License (MIT) * * Copyright (C) Stephan Gatzka * * 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 witho...
Ensure that content of oldList is the same as newList after compareLists.
src/test/java/com/hbm/devices/scan/ui/android/DisplayUpdateEventGeneratorTest.java
Ensure that content of oldList is the same as newList after compareLists.
<ide><path>rc/test/java/com/hbm/devices/scan/ui/android/DisplayUpdateEventGeneratorTest.java <ide> import com.hbm.devices.scan.announce.Announce; <ide> import com.hbm.devices.scan.announce.AnnounceDeserializer; <ide> import com.hbm.devices.scan.ui.android.DisplayNotifier; <add>import com.hbm.devices.scan.ui.android.Dis...
Java
isc
739eaae5b923ac9d3c9960cdc129b4c546e00c5f
0
TealCube/loot
package info.faceland.loot.tier; import info.faceland.loot.api.groups.ItemGroup; import info.faceland.loot.api.tier.Tier; import info.faceland.loot.api.tier.TierBuilder; import org.bukkit.ChatColor; import java.util.List; import java.util.Set; public final class LootTierBuilder implements TierBuilder { private b...
src/main/java/info/faceland/loot/tier/LootTierBuilder.java
package info.faceland.loot.tier; import info.faceland.loot.api.groups.ItemGroup; import info.faceland.loot.api.tier.Tier; import info.faceland.loot.api.tier.TierBuilder; import org.bukkit.ChatColor; import java.util.List; import java.util.Set; public final class LootTierBuilder implements TierBuilder { private b...
actually marking as built
src/main/java/info/faceland/loot/tier/LootTierBuilder.java
actually marking as built
<ide><path>rc/main/java/info/faceland/loot/tier/LootTierBuilder.java <ide> if (isBuilt()) { <ide> throw new IllegalStateException("already built"); <ide> } <add> built = true; <ide> return tier; <ide> } <ide>
Java
apache-2.0
65eb4e96f58edf0f77733955b472e217ea008f6d
0
DTL-FAIRData/ODEX-FAIRDataPoint,NLeSC/ODEX-FAIRDataPoint,NLeSC/ODEX-FAIRDataPoint,DTL-FAIRData/ODEX-FAIRDataPoint,NLeSC/ODEX-FAIRDataPoint,DTL-FAIRData/ODEX-FAIRDataPoint,DTL-FAIRData/ODEX-FAIRDataPoint,NLeSC/ODEX-FAIRDataPoint
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package nl.dtls.fairdatapoint.api.config; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; i...
fdp-api/java/FairDataPoint/src/main/java/nl/dtls/fairdatapoint/api/config/ApplicationFilter.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package nl.dtls.fairdatapoint.api.config; import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; i...
Application filter added to set the mandatory headers
fdp-api/java/FairDataPoint/src/main/java/nl/dtls/fairdatapoint/api/config/ApplicationFilter.java
Application filter added to set the mandatory headers
<ide><path>dp-api/java/FairDataPoint/src/main/java/nl/dtls/fairdatapoint/api/config/ApplicationFilter.java <ide> import javax.servlet.ServletException; <ide> import javax.servlet.ServletRequest; <ide> import javax.servlet.ServletResponse; <add>import javax.servlet.http.HttpServletRequest; <ide> import javax.servlet.htt...
JavaScript
apache-2.0
8c0c7ab844c3ffff41fcc8350f9a98cb71d99c92
0
tchibirev/Prebid.js,PWyrembak/Prebid.js,gumgum/Prebid.js,gumgum/Prebid.js,Niksok/Prebid.js,ImproveDigital/Prebid.js,ImproveDigital/Prebid.js,HuddledMasses/Prebid.js,prebid/Prebid.js,HuddledMasses/Prebid.js,prebid/Prebid.js,ImproveDigital/Prebid.js,PWyrembak/Prebid.js,mcallari/Prebid.js,PWyrembak/Prebid.js,passit/Prebid...
import adapter from '../src/AnalyticsAdapter.js'; import CONSTANTS from '../src/constants.json'; import adaptermanager from '../src/adapterManager.js'; import * as utils from '../src/utils.js'; import {ajax} from '../src/ajax.js'; import {getStorageManager} from '../src/storageManager.js'; export const storage = getSt...
modules/atsAnalyticsAdapter.js
import adapter from '../src/AnalyticsAdapter.js'; import CONSTANTS from '../src/constants.json'; import adaptermanager from '../src/adapterManager.js'; import * as utils from '../src/utils.js'; import {ajax} from '../src/ajax.js'; import {getStorageManager} from '../src/storageManager.js'; export const storage = getSt...
ATS-analytics - add comment clarifying ownership of atsAnalytics (#6257)
modules/atsAnalyticsAdapter.js
ATS-analytics - add comment clarifying ownership of atsAnalytics (#6257)
<ide><path>odules/atsAnalyticsAdapter.js <ide> import {getStorageManager} from '../src/storageManager.js'; <ide> <ide> export const storage = getStorageManager(); <add> <add>/** <add> * Analytics adapter for - https://liveramp.com <add> * Maintainer - prebid@liveramp.com <add> */ <ide> <ide> const analyticsType = 'en...
JavaScript
lgpl-2.1
7157dfff0189bdfab1044e6e1667328861abf758
0
arilivigni/cockpit,larsu/cockpit,michalskrivanek/cockpit,deryni/cockpit,larsu/cockpit,andreasn/cockpit,cockpituous/cockpit,sgallagher/cockpit,SotolitoLabs/cockpit,deryni/cockpit,Scribery/cockpit,stefwalter/cockpit,larsu/cockpit,garrett/cockpit,arilivigni/cockpit,petervo/cockpit,garrett/cockpit,larsu/cockpit,andreasn/co...
/* * This file is part of Cockpit. * * Copyright (C) 2015 Red Hat, Inc. * * Cockpit is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any l...
pkg/storaged/client.js
/* * This file is part of Cockpit. * * Copyright (C) 2015 Red Hat, Inc. * * Cockpit is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any l...
storaged: Fall back to UDisks2 if Storaged isn't available Reviewed-by: Stef Walter <8a7fbf0f15d3ad982af54ef28f5c117d2494b76c@redhat.com>
pkg/storaged/client.js
storaged: Fall back to UDisks2 if Storaged isn't available
<ide><path>kg/storaged/client.js <ide> obj.wait(function () { <ide> wait_all(objects, callback); <ide> }); <del> } else <add> } else { <ide> callback(); <add> } <add> } <add> <add> function pull_time() { <...
Java
apache-2.0
38d5882f89172a6cf1af94e6ee0ec63b3efdfb28
0
robovm/robovm-studio,ibinti/intellij-community,jexp/idea2,signed/intellij-community,kool79/intellij-community,dslomov/intellij-community,apixandru/intellij-community,hurricup/intellij-community,ftomassetti/intellij-community,signed/intellij-community,samthor/intellij-community,jagguli/intellij-community,ThiagoGarciaAlv...
package com.intellij.lang.ant.config.execution; import com.intellij.concurrency.JobScheduler; import com.intellij.execution.CantRunException; import com.intellij.execution.ExecutionException; import com.intellij.execution.configurations.CommandLineBuilder; import com.intellij.execution.configurations.GeneralCommandLin...
plugins/ant/src/com/intellij/lang/ant/config/execution/ExecutionHandler.java
package com.intellij.lang.ant.config.execution; import com.intellij.concurrency.JobScheduler; import com.intellij.execution.CantRunException; import com.intellij.execution.ExecutionException; import com.intellij.execution.configurations.CommandLineBuilder; import com.intellij.execution.configurations.GeneralCommandLin...
IDEADEV-12818: don't grab focus to ant messages upon build completion
plugins/ant/src/com/intellij/lang/ant/config/execution/ExecutionHandler.java
IDEADEV-12818: don't grab focus to ant messages upon build completion
<ide><path>lugins/ant/src/com/intellij/lang/ant/config/execution/ExecutionHandler.java <ide> errorView.removeProgressPanel(); <ide> ToolWindow toolWindow = ToolWindowManager.getInstance(project).getToolWindow(ToolWindowId.MESSAGES_WINDOW); <ide> if (toolWindow != null) { // can be nu...
Java
mit
f87fb42bbe19edda4c9853de79f7599a624215ff
0
agilemobiledev/trackr-backend,hongyang070/trackr-backend,ashwinrayaprolu1984/trackr-backend,techdev-solutions/trackr-backend,ashwinrayaprolu1984/trackr-backend,agilemobiledev/trackr-backend,hongyang070/trackr-backend,techdev-solutions/trackr-backend
package de.techdev.trackr.domain.employee; import de.techdev.trackr.domain.employee.login.Credential; import lombok.Data; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.rest.core.RepositoryConstraintViolationException; import org.springframework.http.HttpStatus; import o...
src/main/java/de/techdev/trackr/domain/employee/EmployeeController.java
package de.techdev.trackr.domain.employee; import de.techdev.trackr.domain.employee.login.Credential; import lombok.Data; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.rest.core.RepositoryConstraintViolationException; import org.springframework.http.HttpStatus; import o...
TRACKR-91 - New employees are not creatable Added default locale to employee creation.
src/main/java/de/techdev/trackr/domain/employee/EmployeeController.java
TRACKR-91 - New employees are not creatable Added default locale to employee creation.
<ide><path>rc/main/java/de/techdev/trackr/domain/employee/EmployeeController.java <ide> * @param createEmployee Wrapper for an employee and a credential entity. <ide> * @param bindingResult Spring binding result. <ide> * @return The newly created employee <del> * @throws BindException If the bindingR...
Java
agpl-3.0
eb41a2ee1088b766e520259f68492ee3fa6a2138
0
kuali/kc,iu-uits-es/kc,UniversityOfHawaiiORS/kc,geothomasp/kcmit,jwillia/kc-old1,geothomasp/kcmit,iu-uits-es/kc,mukadder/kc,UniversityOfHawaiiORS/kc,kuali/kc,mukadder/kc,ColostateResearchServices/kc,ColostateResearchServices/kc,kuali/kc,geothomasp/kcmit,jwillia/kc-old1,jwillia/kc-old1,jwillia/kc-old1,iu-uits-es/kc,geot...
/* * Copyright 2006-2008 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php * * Unless re...
src/main/java/org/kuali/kra/proposaldevelopment/hierarchy/service/impl/ProposalHierarchyServiceImpl.java
/* * Copyright 2006-2008 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php * * Unless re...
KRACOEUS-3781 : Personnel Details were 'moving' to child instead of being 'copied' to child, so personnel line item became summary line item. Fixed so it copies now.
src/main/java/org/kuali/kra/proposaldevelopment/hierarchy/service/impl/ProposalHierarchyServiceImpl.java
KRACOEUS-3781 : Personnel Details were 'moving' to child instead of being 'copied' to child, so personnel line item became summary line item. Fixed so it copies now.
<ide><path>rc/main/java/org/kuali/kra/proposaldevelopment/hierarchy/service/impl/ProposalHierarchyServiceImpl.java <ide> BudgetPerson budgetPerson; <ide> for (BudgetPersonnelDetails details : parentLineItem.getBudgetPersonnelDetailsList()) { <ide> ...
Java
apache-2.0
127ae7c7f68e245b92226b220cbe54ba613638d9
0
Erudika/para,Erudika/para
/* * Copyright 2013-2016 Erudika. http://erudika.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 applic...
para-server/src/main/java/com/erudika/para/utils/filters/FieldFilter.java
/* * Copyright 2013-2016 Erudika. http://erudika.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 applic...
fixed FieldFilter - complete rewrite
para-server/src/main/java/com/erudika/para/utils/filters/FieldFilter.java
fixed FieldFilter - complete rewrite
<ide><path>ara-server/src/main/java/com/erudika/para/utils/filters/FieldFilter.java <ide> package com.erudika.para.utils.filters; <ide> <ide> import com.erudika.para.core.ParaObject; <del>import com.erudika.para.utils.Utils; <ide> import java.io.IOException; <del>import java.lang.reflect.Field; <del>import java.lang.r...
Java
apache-2.0
05e9f70dcd293b909692c8ebc7485f22bcef3ee2
0
Myasuka/systemml,ckadner/systemml,fmakari/systemml,fmakari/systemml,dusenberrymw/systemml_old,fmakari/systemml,aloknsingh/systemml,fmakari/systemml,dusenberrymw/systemml_old,ckadner/systemml,aloknsingh/systemml,Myasuka/systemml,fmakari/systemml,wjuncdl/systemml,ckadner/systemml,Myasuka/systemml,Myasuka/systemml,aloknsi...
/** * IBM Confidential * OCO Source Materials * (C) Copyright IBM Corp. 2010, 2014 * The source code for this program is not published or otherwise divested of its trade secrets, irrespective of what has been deposited with the U.S. Copyright Office. */ package com.ibm.bi.dml.hops; import java.util.ArrayList; im...
SystemML/DML/src/com/ibm/bi/dml/hops/Hop.java
/** * IBM Confidential * OCO Source Materials * (C) Copyright IBM Corp. 2010, 2014 * The source code for this program is not published or otherwise divested of its trade secrets, irrespective of what has been deposited with the U.S. Copyright Office. */ package com.ibm.bi.dml.hops; import java.util.ArrayList; im...
20969: Various Engine Enhancements - Fix unnecessary output of optimize mm chain
SystemML/DML/src/com/ibm/bi/dml/hops/Hop.java
20969: Various Engine Enhancements - Fix unnecessary output of optimize mm chain
<ide><path>ystemML/DML/src/com/ibm/bi/dml/hops/Hop.java <ide> // Step-4: Relink the hops using the optimal ordering (split[][]) found from DP. <ide> mmChainRelinkHops(mmOperators.get(0), 0, size - 1, mmChain, mmOperators, 1, split); <ide> } <del> System.out.println(" ."); <add> //System.out.println(" ."); ...
Java
agpl-3.0
d6f7fda044af1717c8ccc37ac611eec06e43be03
0
elki-project/elki,elki-project/elki,elki-project/elki
package de.lmu.ifi.dbs.elki.algorithm.clustering.kmeans; /* This file is part of ELKI: Environment for Developing KDD-Applications Supported by Index-Structures Copyright (C) 2015 Ludwig-Maximilians-Universität München Lehr- und Forschungseinheit für Datenbanksysteme ELKI Development Team This program is free...
elki/src/main/java/de/lmu/ifi/dbs/elki/algorithm/clustering/kmeans/CLARA.java
package de.lmu.ifi.dbs.elki.algorithm.clustering.kmeans; import de.lmu.ifi.dbs.elki.algorithm.clustering.kmeans.initialization.KMedoidsInitialization; import de.lmu.ifi.dbs.elki.data.Cluster; import de.lmu.ifi.dbs.elki.data.Clustering; import de.lmu.ifi.dbs.elki.data.model.MedoidModel; import de.lmu.ifi.dbs.elki.datab...
Restore copyright banner that Eclipse removed automagically.
elki/src/main/java/de/lmu/ifi/dbs/elki/algorithm/clustering/kmeans/CLARA.java
Restore copyright banner that Eclipse removed automagically.
<ide><path>lki/src/main/java/de/lmu/ifi/dbs/elki/algorithm/clustering/kmeans/CLARA.java <ide> package de.lmu.ifi.dbs.elki.algorithm.clustering.kmeans; <add> <add>/* <add> This file is part of ELKI: <add> Environment for Developing KDD-Applications Supported by Index-Structures <add> <add> Copyright (C) 2015 <add> Ludwi...
Java
apache-2.0
a614ec9a5a0197c39a9b72488d99a993ceb8ce0e
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
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.provision.provisioning; import com.yahoo.component.Version; import com.yahoo.config.provision.ApplicationId; import com.yahoo.config.provision.Capacity; import com.yahoo.config.provis...
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/CapacityPolicies.java
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.hosted.provision.provisioning; import com.yahoo.component.Version; import com.yahoo.config.provision.ApplicationId; import com.yahoo.config.provision.Capacity; import com.yahoo.config.provis...
Assign larger CC flavours between in [7.586.50, 7.586.54)
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/CapacityPolicies.java
Assign larger CC flavours between in [7.586.50, 7.586.54)
<ide><path>ode-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/CapacityPolicies.java <ide> .value()); <ide> <ide> if (clusterSpec.id().value().equals("cluster-controllers")) { <del> return versioned(clusterSpec, Map.of...
JavaScript
mit
3f8d7be253e8c72fa639cc487300c912ff50f046
0
dmurtari/mbu-online,dmurtari/mbu-online,dmurtari/mbu-online
var gulp = require('gulp'); var spawn = require('child_process').spawn; var mocha = require('gulp-mocha'); var log = require('fancy-log'); var ts = require('gulp-typescript'); var tsProject = ts.createProject('./tsconfig.json'); var node; var paths = { srcJs: './src/**/*.js', srcTs: './src/**/*.ts', srcUnit: './...
gulpfile.js
var gulp = require('gulp'); var spawn = require('child_process').spawn; var mocha = require('gulp-mocha'); var log = require('fancy-log'); var ts = require("gulp-typescript"); var tsProject = ts.createProject("tsconfig.json"); var node; var paths = { srcJs: './src/**/*.js', srcTs: './src/**/*.ts', srcUnit: './sr...
Fix gulp task
gulpfile.js
Fix gulp task
<ide><path>ulpfile.js <ide> var spawn = require('child_process').spawn; <ide> var mocha = require('gulp-mocha'); <ide> var log = require('fancy-log'); <del>var ts = require("gulp-typescript"); <del>var tsProject = ts.createProject("tsconfig.json"); <add>var ts = require('gulp-typescript'); <add>var tsProject = ts.creat...
JavaScript
mit
4c864671a80ca4f3257768b8f3a6a9d361b9f63c
0
cdiezmoran/AlphaStage-desktop,cdiezmoran/AlphaStage-desktop,cdiezmoran/playgrounds-desktop,cdiezmoran/playgrounds-desktop
// @flow import { combineReducers } from 'redux'; import { routerReducer as router } from 'react-router-redux'; import game from './game'; import feedback from './feedback'; import auth from './auth'; import devGame from './devGame'; import userGame from './userGame'; import download from './download'; import upload f...
app/reducers/index.js
// @flow import { combineReducers } from 'redux'; import { routerReducer as router } from 'react-router-redux'; import auth from './auth'; import download from './download'; import game from './game'; import userGame from './userGame'; import type { Action } from '../actions/types'; const appReducer = combineReducers...
Update reducers index
app/reducers/index.js
Update reducers index
<ide><path>pp/reducers/index.js <ide> // @flow <ide> import { combineReducers } from 'redux'; <ide> import { routerReducer as router } from 'react-router-redux'; <add> <add>import game from './game'; <add>import feedback from './feedback'; <ide> import auth from './auth'; <add>import devGame from './devGame'; <add>impo...
Java
apache-2.0
32262041a228e15c6db99581f22636ad1a78de4b
0
0359xiaodong/AutoCompleteBubbleText,FrederickRider/AutoCompleteBubbleText,bestwpw/AutoCompleteBubbleText,AndroidBase/AutoCompleteBubbleText
package com.mycardboarddreams.autocompletebubbletext.samplelist; import android.content.Context; import android.text.TextUtils; import android.util.AttributeSet; import com.mycardboarddreams.autocompletebubbletext.MultiSelectEditText; import java.util.ArrayList; import java.util.Arrays; import java.util.List; publi...
samplelist/src/main/java/com/mycardboarddreams/autocompletebubbletext/samplelist/SampleEditText.java
package com.mycardboarddreams.autocompletebubbletext.samplelist; import android.content.Context; import android.util.AttributeSet; import com.mycardboarddreams.autocompletebubbletext.MultiSelectEditText; import java.util.Arrays; import java.util.List; public class SampleEditText extends MultiSelectEditText<SampleIt...
Added filtering to list
samplelist/src/main/java/com/mycardboarddreams/autocompletebubbletext/samplelist/SampleEditText.java
Added filtering to list
<ide><path>amplelist/src/main/java/com/mycardboarddreams/autocompletebubbletext/samplelist/SampleEditText.java <ide> package com.mycardboarddreams.autocompletebubbletext.samplelist; <ide> <ide> import android.content.Context; <add>import android.text.TextUtils; <ide> import android.util.AttributeSet; <ide> <ide> impo...
Java
mit
0e10c055eb33063c4ed496641710275d7add73b2
0
jmanrocks152/SNAKEEAT
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.util.Scanner; /** * Created by jmanrocks152 on 5/22/17. */ public class Main { private static int numberOfSnakes, currentQuery, largestSnakeLength = 0, numb...
src/Main.java
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Scanner; /** * Created by jmanrocks152 on 5/22/17. */ public class Main { public static void main(String[] args) throws IOException { //Variable initialization ...
Attempt to reorganize stuff.
src/Main.java
Attempt to reorganize stuff.
<ide><path>rc/Main.java <ide> import java.io.IOException; <ide> import java.io.InputStreamReader; <ide> import java.util.ArrayList; <add>import java.util.List; <ide> import java.util.Scanner; <ide> <ide> /** <ide> * Created by jmanrocks152 on 5/22/17. <ide> */ <ide> public class Main { <add> private static int nu...
Java
agpl-3.0
d0a85b04636d154f6e303a2da262bfc40b775dd1
0
Levis92/proton-text
package edu.chl.proton.model; import javafx.scene.text.Text; import java.util.ArrayList; import java.util.List; import java.util.regex.Matcher; import java.util.regex.Pattern; import java.util.regex.PatternSyntaxException; /** * @author Mickaela * Created by Mickaela on 2017-05-01. */ public class Mar...
src/main/java/edu/chl/proton/model/Markdown.java
package edu.chl.proton.model; import javafx.scene.text.Text; import java.util.ArrayList; import java.util.List; /** * @author Mickaela * Created by Mickaela on 2017-05-01. */ public class Markdown extends Document{ public Markdown(){ } public Markdown(File file){ getCursor...
Implemented getHTML(), checkForMarkdown() and help-methods in Markdown
src/main/java/edu/chl/proton/model/Markdown.java
Implemented getHTML(), checkForMarkdown() and help-methods in Markdown
<ide><path>rc/main/java/edu/chl/proton/model/Markdown.java <ide> import javafx.scene.text.Text; <ide> import java.util.ArrayList; <ide> import java.util.List; <add>import java.util.regex.Matcher; <add>import java.util.regex.Pattern; <add>import java.util.regex.PatternSyntaxException; <ide> <ide> /** <ide> * @author M...
JavaScript
mit
9b9b94aa7a47caeaf2099ac0ac19f5ef2633ab0f
0
YappyBots/YappyGitLab,YappyBots/YappyGitLab
const Collection = require('discord.js').Collection; const bot = require('../Discord/index.js'); const fs = require('fs'); const path = require('path'); const Log = require('../Util/Log'); class Events { constructor() { this.events = {}; this.eventDir = path.resolve(__dirname, './Events'); this.eventsLis...
lib/Gitlab/EventHandler.js
const Collection = require('discord.js').Collection; const bot = require('../Discord/index.js'); const fs = require('fs'); const path = require('path'); const Log = require('../Util/Log'); class Events { constructor() { this.events = {}; this.eventDir = path.resolve(__dirname, './Events'); this.eventsLis...
fix(gitlab: events): fix event handler getting property from undefined
lib/Gitlab/EventHandler.js
fix(gitlab: events): fix event handler getting property from undefined
<ide><path>ib/Gitlab/EventHandler.js <ide> embed.footer = { <ide> text: data.project.path_with_namespace, <ide> }; <del> embed.url = embed.url || (data.object_attributes && data.object_attributes.url) || data.project.web_url; <add> embed.url = embed.url || (data.object_attributes && data.object_attr...
Java
apache-2.0
cd715e3afcfa9454a35fcfaf96fe2aa9071bcd1b
0
phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida
package ca.corefacility.bioinformatics.irida.ria.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.core.env.Environment; import org.springframework.w...
src/main/java/ca/corefacility/bioinformatics/irida/ria/config/WebConfigurer.java
package ca.corefacility.bioinformatics.irida.ria.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.core.env.Environment; import org.springframework.w...
Documentation and resource handling for scripts. Scripts during development are left alone so need to be served from the scripts folder. During production they are compressed and concatenated and added to the static folder.
src/main/java/ca/corefacility/bioinformatics/irida/ria/config/WebConfigurer.java
Documentation and resource handling for scripts.
<ide><path>rc/main/java/ca/corefacility/bioinformatics/irida/ria/config/WebConfigurer.java <ide> <ide> @Override <ide> public void addResourceHandlers(ResourceHandlerRegistry registry) { <add> // CSS: default location "/static/styles" during development and production. <ide> registry.addResourceHandler("/styles/*...
JavaScript
mit
b3554049b5dcf0ff07ae0a119550d588ddf6ab05
0
jcoleman/ada-keyboard
include("switch.jscad"); include("keyboard.jscad"); include("csg_dependency_graph.jscad"); function getParameterDefinitions() { return [ { name: "hand", type: "choice", values: ["left", "right"], captions: ["Left hand", "Right hand"], caption: "Half to render", initial: "left"...
case/main.jscad
include("switch.jscad"); include("keyboard.jscad"); include("csg_dependency_graph.jscad"); function getParameterDefinitions() { return [ { name: "hand", type: "choice", values: ["left", "right"], captions: ["Left hand", "Right hand"], caption: "Half to render", initial: "left"...
Use relative links for include paths.
case/main.jscad
Use relative links for include paths.
<ide><path>ase/main.jscad <ide> } <ide> <ide> function main(params) { <del> include("csg.js"); <add> include("extensions/csg.js"); <ide> <ide> var plateParams = {}; <ide> var plateParamNames = [
Java
epl-1.0
c456d1c918a90a72dba632019cbc6a66e714c1ab
0
Itema-as/eclipse-marketplace-server,Itema-as/dawn-marketplace-server,belkassaby/dawn-marketplace-server,Itema-as/dawn-marketplace-server,belkassaby/dawn-marketplace-server,belkassaby/dawn-marketplace-server,belkassaby/dawn-marketplace-server,Itema-as/dawn-marketplace-server,Itema-as/eclipse-marketplace-server,Itema-as/...
/** */ package org.dawnsci.marketplace.impl; import javax.xml.bind.annotation.XmlRootElement; import org.dawnsci.marketplace.Categories; import org.dawnsci.marketplace.Ius; import org.dawnsci.marketplace.Marketplace; import org.dawnsci.marketplace.MarketplacePackage; import org.dawnsci.marketplace.Node; import org.d...
org.dawnsci.marketplace.core/src-gen/org/dawnsci/marketplace/impl/NodeImpl.java
/** */ package org.dawnsci.marketplace.impl; import javax.xml.bind.annotation.XmlRootElement; import org.dawnsci.marketplace.Categories; import org.dawnsci.marketplace.Ius; import org.dawnsci.marketplace.Marketplace; import org.dawnsci.marketplace.MarketplacePackage; import org.dawnsci.marketplace.Node; import org.d...
Fix URL linking to solution page on the marketplace.
org.dawnsci.marketplace.core/src-gen/org/dawnsci/marketplace/impl/NodeImpl.java
Fix URL linking to solution page on the marketplace.
<ide><path>rg.dawnsci.marketplace.core/src-gen/org/dawnsci/marketplace/impl/NodeImpl.java <ide> if (getBaseUrl() == null) { <ide> return ""; <ide> } <del> return getBaseUrl() + "/" + getId(); <del> } <del> <add> return getBaseUrl() + "/content/" + getId(); <add> } <add> <ide> /** <ide> * Used to calculate ...
JavaScript
mit
b6bd18babae847d8533ae008208c669f3b8b29bb
0
britishgas-engineering/ya-done-appium
/* eslint-disable */ /* global featureFile, scenarios, steps */ const Yadda = require('yadda'); const wd = require('wd'); function buildDriver(server) { const configServer = server || { host: 'localhost', port: 4723, }; return wd.promiseChainRemote(configServer); }; function setBaseSteps(library, devi...
dist/lib/yadda-core.js
/* eslint-disable */ /* global featureFile, scenarios, steps */ const Yadda = require('yadda'); const wd = require('wd'); function buildDriver(server) { const configServer = server || { host: 'localhost', port: 4723, }; return wd.promiseChainRemote(configServer); }; function setBaseSteps(library, devi...
add if statement for logging
dist/lib/yadda-core.js
add if statement for logging
<ide><path>ist/lib/yadda-core.js <ide> return wd.promiseChainRemote(configServer); <ide> }; <ide> <del>function setBaseSteps(library, device, deviceLogs) { <add>function setBaseSteps(library, device) { <ide> library.define( <ide> 'a mobile app', <ide> function setWindowSize(done) { <del> console.l...
Java
apache-2.0
36fb343ac5e08a6659f319b768f1f6e4dea73ddf
0
cherryhill/collectionspace-application
/* Copyright 2010 University of Cambridge * Licensed under the Educational Community License (ECL), Version 2.0. You may not use this file except in * compliance with this License. * * You may obtain a copy of the ECL 2.0 License at https://source.collectionspace.org/collection-space/LICENSE.txt */ package org.co...
cspi-webui/src/main/java/org/collectionspace/chain/csp/webui/userdetails/UserDetailsReset.java
/* Copyright 2010 University of Cambridge * Licensed under the Educational Community License (ECL), Version 2.0. You may not use this file except in * compliance with this License. * * You may obtain a copy of the ECL 2.0 License at https://source.collectionspace.org/collection-space/LICENSE.txt */ package org.co...
CSPACE-4130
cspi-webui/src/main/java/org/collectionspace/chain/csp/webui/userdetails/UserDetailsReset.java
CSPACE-4130
<ide><path>spi-webui/src/main/java/org/collectionspace/chain/csp/webui/userdetails/UserDetailsReset.java <ide> // Setting the Subject and Content Type <ide> msg.setSubject(subject); <ide> msg.setText(message); <del> // msg.setContent(message, "text/plain"); <ide> <ide> Transport.send(msg); <ide> ...
Java
epl-1.0
b9548da80d1c74fb3a1d07a081c94f41355bc359
0
polarsys/eplmp
/******************************************************************************* * Copyright (c) 2017 DocDoku. * 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...
eplmp-server/eplmp-server-ejb/src/main/java/org/polarsys/eplmp/server/indexer/IndexerClientProducer.java
/******************************************************************************* * Copyright (c) 2017 DocDoku. * 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 *...
ES : Use DefaultAWSCredentialsProviderChain when no credentials are supplied
eplmp-server/eplmp-server-ejb/src/main/java/org/polarsys/eplmp/server/indexer/IndexerClientProducer.java
ES : Use DefaultAWSCredentialsProviderChain when no credentials are supplied
<ide><path>plmp-server/eplmp-server-ejb/src/main/java/org/polarsys/eplmp/server/indexer/IndexerClientProducer.java <ide> /******************************************************************************* <del> * Copyright (c) 2017 DocDoku. <del> * All rights reserved. This program and the accompanying materials <del> ...
Java
lgpl-2.1
b02b6f7d5d5cd76c71c5a2a293ca97783cf3cef9
0
deegree/deegree3,deegree/deegree3,deegree/deegree3,deegree/deegree3,deegree/deegree3
//$HeadURL$ /*---------------------------------------------------------------------------- This file is part of deegree, http://deegree.org/ Copyright (C) 2001-2010 by: - Department of Geography, University of Bonn - and - lat/lon GmbH - This library is free software; you can redistribute it and/or modify it und...
deegree-layers/deegree-layers-tile/src/main/java/org/deegree/layer/persistence/tile/TileLayerProvider.java
//$HeadURL$ /*---------------------------------------------------------------------------- This file is part of deegree, http://deegree.org/ Copyright (C) 2001-2010 by: - Department of Geography, University of Bonn - and - lat/lon GmbH - This library is free software; you can redistribute it and/or modify it und...
factored out layer building
deegree-layers/deegree-layers-tile/src/main/java/org/deegree/layer/persistence/tile/TileLayerProvider.java
factored out layer building
<ide><path>eegree-layers/deegree-layers-tile/src/main/java/org/deegree/layer/persistence/tile/TileLayerProvider.java <ide> ----------------------------------------------------------------------------*/ <ide> package org.deegree.layer.persistence.tile; <ide> <del>import static org.deegree.commons.ows.metadata.Descript...
JavaScript
mit
70bde8f80e3f5e1370605ed4bbeb28d23a608f28
0
benjdj6/timecrunch,benjdj6/timecrunch
var app = angular.module('timecrunch', ['ui.router']); app.config([ '$stateProvider', '$urlRouterProvider', function($stateProvider, $urlRouterProvider) { $stateProvider .state('home', { url: '/home', templateUrl: '/templates/home.html', controller: 'DashCtrl' }) .state('food', { ...
public/javascripts/angularApp.js
var app = angular.module('timecrunch', ['ui.router']); app.config([ '$stateProvider', '$urlRouterProvider', function($stateProvider, $urlRouterProvider) { $stateProvider .state('home', { url: '/home', templateUrl: '/templates/home.html', controller: 'DashCtrl' }) .state('food', { ...
Added update function to recipe factory
public/javascripts/angularApp.js
Added update function to recipe factory
<ide><path>ublic/javascripts/angularApp.js <ide> o.create = function(recipe) { <ide> return $http.post('/recipes', recipe, { <ide> headers: {Authorization: 'Bearer ' + auth.getToken()} <add> }).then(function(data) { <add> o.getAll(); <add> }); <add> }; <add> <add> // Update a recipe <add> o.up...
Java
apache-2.0
ab7164f20ebcc8d26b0e7de225e213a7266b96bd
0
googleapis/java-apigee-connect,googleapis/java-apigee-connect,googleapis/java-apigee-connect
/* * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/ConnectionServiceClient.java
/* * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
chore: Integrate new gapic-generator-java and rules_gapic (#177) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 454027580 Source-Link: https://github.com/googleapis/googleapis/commit/1b222777baa702e7135610355706570ed2b56318 Source-Link: https://github.com/googleapis/googleapis-gen/commit/e04cea20d0d12eb...
google-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/ConnectionServiceClient.java
chore: Integrate new gapic-generator-java and rules_gapic (#177)
<ide><path>oogle-cloud-apigee-connect/src/main/java/com/google/cloud/apigeeconnect/v1/ConnectionServiceClient.java <ide> * while (true) { <ide> * ListConnectionsResponse response = <ide> * connectionServiceClient.listConnectionsCallable().call(request); <del> * for (Connection element : res...
Java
apache-2.0
73b76598e776bbe7962e18cea087bdca1d560769
0
sdinot/hipparchus,Hipparchus-Math/hipparchus,apache/commons-math,apache/commons-math,apache/commons-math,sdinot/hipparchus,Hipparchus-Math/hipparchus,sdinot/hipparchus,Hipparchus-Math/hipparchus,apache/commons-math,Hipparchus-Math/hipparchus,sdinot/hipparchus
/* * 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 ...
src/test/java/org/apache/commons/math4/ode/nonstiff/DormandPrince54FieldIntegratorTest.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 ...
Fixed test thresholds.
src/test/java/org/apache/commons/math4/ode/nonstiff/DormandPrince54FieldIntegratorTest.java
Fixed test thresholds.
<ide><path>rc/test/java/org/apache/commons/math4/ode/nonstiff/DormandPrince54FieldIntegratorTest.java <ide> <ide> @Override <ide> public void testIncreasingTolerance() { <del> // the 0.5 factor is only valid for this test <add> // the 0.7 factor is only valid for this test <ide> // and ha...
Java
isc
2350e8119a2fb89a69f0bcf16d3952aeb9610384
0
TealCube/loot
/****************************************************************************** * Copyright (c) 2014, Richard Harrah * * * * Permission to use, copy, modify, and/or distribute this software for any * ...
src/main/java/info/faceland/loot/managers/LootEnchantmentStoneManager.java
/****************************************************************************** * Copyright (c) 2014, Richard Harrah * * * * Permission to use, copy, modify, and/or distribute this software for any * ...
fixing enchantment stone distance calculation
src/main/java/info/faceland/loot/managers/LootEnchantmentStoneManager.java
fixing enchantment stone distance calculation
<ide><path>rc/main/java/info/faceland/loot/managers/LootEnchantmentStoneManager.java <ide> <ide> public final class LootEnchantmentStoneManager implements EnchantmentStoneManager { <ide> <add> private static final double DISTANCE = 1000; <add> private static final double DISTANCE_SQUARED = Math.pow(DISTANCE, 2)...
Java
apache-2.0
7174fcee9b3af0e6595345a7346673188f97c161
0
airza/kingOfT
package kingOfT; import java.awt.Dimension; import javax.swing.JFrame; public class MainLoop { /** * @param args */ public static void main(String[] args) { Window win = new Window(); final int PLAYER_NUM = 4; final String[] NAMES = {"A","B","C","D"}; Game game = new Game(PLAYER_NUM,NAMES); whil...
kingOfT/MainLoop.java
package kingOfT; public class MainLoop { /** * @param args */ public static void main(String[] args) { new Window(); final int PLAYER_NUM = 4; final String[] NAMES = {"A","B","C","D"}; Game game = new Game(PLAYER_NUM,NAMES); while (true) { game.takeTurn(); } } }
Added a window with lightning buttons!
kingOfT/MainLoop.java
Added a window with lightning buttons!
<ide><path>ingOfT/MainLoop.java <ide> package kingOfT; <add> <add>import java.awt.Dimension; <add> <add>import javax.swing.JFrame; <ide> <ide> <ide> <ide> * @param args <ide> */ <ide> public static void main(String[] args) { <del> new Window(); <add> Window win = new Window(); <ide> final int PLAYER_NUM = ...
Java
mit
bb6cc450c4cb37df1e4f221403b16acbb84791e6
0
s4sarishma/DesiPizza
/************************************************************************************ * Copyright (C) 2016 Sarishma Jayasree & Swathi Ramakanth Shanbhag * * This project is licensed under the "MIT License". * * Please see the file LICENSE in this distribution for lice...
app/src/main/java/com/example/sari/desipizza/DrinkMenu_Page.java
package com.example.sari.desipizza; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button...
Update DrinkMenu_Page.java Added LICENSE info
app/src/main/java/com/example/sari/desipizza/DrinkMenu_Page.java
Update DrinkMenu_Page.java
<ide><path>pp/src/main/java/com/example/sari/desipizza/DrinkMenu_Page.java <add>/************************************************************************************ <add> * Copyright (C) 2016 Sarishma Jayasree & Swathi Ramakanth Shanbhag * <add> * This project is licensed under the "MIT License". ...
JavaScript
apache-2.0
3ca0e78dd02cd7a5c81c755f818bc1d127a057ab
0
vishwesh3/zulip-mobile,vishwesh3/zulip-mobile,vishwesh3/zulip-mobile,vishwesh3/zulip-mobile
/* @flow */ import { REHYDRATE } from 'redux-persist/constants'; import type { NavigationState, Action } from '../types'; import { navigateToChat } from './navActions'; import { getStateForRoute, getInitialNavState } from './navSelectors'; import AppNavigator from './AppNavigator'; import { INITIAL_FETCH_COMPLETE, ...
src/nav/navReducers.js
/* @flow */ import { REHYDRATE } from 'redux-persist/constants'; import type { NavigationState, Action } from '../types'; import { navigateToChat } from './navActions'; import { getStateForRoute, getInitialNavState } from './navSelectors'; import AppNavigator from './AppNavigator'; import { INITIAL_FETCH_COMPLETE, ...
navReducers: Fix types to acknowledge state could be null. The router's `getStateForAction` method returns null if it finds nothing. Given that we sometimes call it with an arbitrary action, an assert that that doesn't happen doesn't seem appropriate; instead, acknowledge that that can happen by using a "maybe type",...
src/nav/navReducers.js
navReducers: Fix types to acknowledge state could be null.
<ide><path>rc/nav/navReducers.js <ide> } from '../actionConstants'; <ide> <ide> export default ( <del> state: NavigationState = getStateForRoute('loading'), <add> state: ?NavigationState = getStateForRoute('loading'), <ide> action: Action, <del>): NavigationState => { <add>): ?NavigationState => { <ide> switch (...
Java
apache-2.0
4875358e896ea2b5e662fcbdb1812d839d248004
0
xfournet/intellij-community,da1z/intellij-community,vvv1559/intellij-community,allotria/intellij-community,da1z/intellij-community,da1z/intellij-community,da1z/intellij-community,allotria/intellij-community,xfournet/intellij-community,ThiagoGarciaAlves/intellij-community,vvv1559/intellij-community,xfournet/intellij-com...
/* * Copyright 2003-2011 Dave Griffith, Bas Leijdekkers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/junit/TestCaseWithNoTestMethodsInspection.java
/* * Copyright 2003-2011 Dave Griffith, Bas Leijdekkers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
ignore tests with test methods in supers only by default
plugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/junit/TestCaseWithNoTestMethodsInspection.java
ignore tests with test methods in supers only by default
<ide><path>lugins/InspectionGadgets/InspectionGadgetsAnalysis/src/com/siyeh/ig/junit/TestCaseWithNoTestMethodsInspection.java <ide> public class TestCaseWithNoTestMethodsInspection extends BaseInspection { <ide> <ide> @SuppressWarnings({"PublicField"}) <del> public boolean ignoreSupers = false; <add> public boolea...
Java
bsd-3-clause
abad891b4055e43c38567781c407a852638d196b
0
TheRealAgentK/CFLint,cflint/CFLint,TheRealAgentK/CFLint,TheRealAgentK/CFLint,cflint/CFLint
package com.cflint.plugins; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.antlr.v4.runtime.CommonTokenStream; import org.antlr.v4.runtime.Token; import com.cflint.StackHandler; import cfml.parsing.cfscript.CFIdentifier; import net.htmlparser.jericho.Element; public class ...
src/main/java/com/cflint/plugins/Context.java
package com.cflint.plugins; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.antlr.v4.runtime.CommonTokenStream; import org.antlr.v4.runtime.Token; import com.cflint.StackHandler; import cfml.parsing.cfscript.CFIdentifier; import net.htmlparser.jericho.Element; public class ...
added missing remove() method on iterator
src/main/java/com/cflint/plugins/Context.java
added missing remove() method on iterator
<ide><path>rc/main/java/com/cflint/plugins/Context.java <ide> return null; <ide> } <ide> <add> @Override <add> public void remove(){ <add> throw new UnsupportedOperationException(); <add> } <ide> } <ide> <ide> public Context getParent() {
Java
unlicense
217c8771890506a2e2d1a5cbccf05001834410f9
0
intangir/Tweaks
package com.github.intangir.Tweaks; import java.io.File; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import o...
src/main/java/com/github/intangir/Tweaks/Books.java
package com.github.intangir.Tweaks; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.m...
add support for permission to books giving command
src/main/java/com/github/intangir/Tweaks/Books.java
add support for permission to books giving command
<ide><path>rc/main/java/com/github/intangir/Tweaks/Books.java <ide> package com.github.intangir.Tweaks; <ide> <add>import java.io.File; <ide> import java.nio.file.Files; <ide> import java.nio.file.Path; <ide> import java.nio.file.Paths; <ide> { <ide> Books(Tweaks plugin) { <ide> super(plugin); <add> CONFIG_FILE = ...
JavaScript
bsd-3-clause
40bf24df2910b827ea7aebd1932ab04086da10ed
0
Brickrouge/Brickrouge,Brickrouge/Brickrouge,Brickrouge/Brickrouge,sylvaincombes/Brickrouge,sylvaincombes/Brickrouge,sylvaincombes/Brickrouge
/*! * This file is part of the BrickRouge package. * * (c) Olivier Laviale <olivier.laviale@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ var BrickRouge = { Utils: { Busy: new Class({ startBusy: function() ...
lib/brickrouge.js
/*! * This file is part of the BrickRouge package. * * (c) Olivier Laviale <olivier.laviale@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ var BrickRouge = { Utils: { Busy: new Class({ startBusy: function() ...
Turned elementsready closure into the BrickRouge.awakeWidgets method
lib/brickrouge.js
Turned elementsready closure into the BrickRouge.awakeWidgets method
<ide><path>ib/brickrouge.js <ide> ); <ide> }; <ide> <del> }) () <add> }) (), <add> <add> /** <add> * Awakes sleeping widgets. <add> * <add> * Constructors defined under the `Widget` namespace are traversed and for each one of them <add> * matching widgets are searched in the DOM a new widget is created using ...
JavaScript
mpl-2.0
6d235c25e808aa6af199026a3a5f91c3340b196a
0
MozillaOnline/pc-sync-tool,MozillaOnline/pc-sync-tool
var ContactList = (function() { var groupedList = null; function getListContainer() { return $id('contact-list-container'); } function toggleFavorite(item) { var favorite = item.classList.toggle('favorite'); var contact = getContact(item.dataset.contactId); if (favorite) { contact.categ...
content/js/contactList.js
var ContactList = (function() { var groupedList = null; function getListContainer() { return $id('contact-list-container'); } function toggleFavorite(item) { var favorite = item.classList.toggle('favorite'); var contact = getContact(item.dataset.contactId); if (favorite) { contact.categ...
modify refresh contact
content/js/contactList.js
modify refresh contact
<ide><path>ontent/js/contactList.js <ide> quickNumber.value = viewData.number; <ide> } <ide> } <add> <add> container.innerHTML = ''; <add> groupedList = null; <ide> <ide> groupedList = new GroupedList({ <ide> dataList: contacts,
Java
apache-2.0
42fe80b4b3a88e3975c8825b9e2aeaccf26fb3cd
0
vladmm/intellij-community,youdonghai/intellij-community,ftomassetti/intellij-community,MER-GROUP/intellij-community,mglukhikh/intellij-community,amith01994/intellij-community,slisson/intellij-community,MichaelNedzelsky/intellij-community,asedunov/intellij-community,ryano144/intellij-community,petteyg/intellij-community...
package com.intellij.refactoring.inline; import com.intellij.codeInsight.ChangeContextUtil; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.Ref; import com.intellij.psi.*; import com.intellij.psi.search.GlobalSearchScope; import com.intellij....
refactoring/impl/com/intellij/refactoring/inline/InlineConstantFieldProcessor.java
package com.intellij.refactoring.inline; import com.intellij.codeInsight.ChangeContextUtil; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.project.Project; import com.intellij.openapi.util.Ref; import com.intellij.psi.*; import com.intellij.psi.search.GlobalSearchScope; import com.intellij....
assertion for IDEADEV-35545
refactoring/impl/com/intellij/refactoring/inline/InlineConstantFieldProcessor.java
assertion for IDEADEV-35545
<ide><path>efactoring/impl/com/intellij/refactoring/inline/InlineConstantFieldProcessor.java <ide> private final PsiReferenceExpression myRefExpr; <ide> private final boolean myInlineThisOnly; <ide> <del> public InlineConstantFieldProcessor(PsiField field, Project project, PsiReferenceExpression ref, boolean isIn...
Java
agpl-3.0
a55becfb50a2267fd86bdc11d558fe10bf7eaf4d
0
CompilerWorks/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceeng...
package com.splicemachine.test.connection; import com.splicemachine.constants.SpliceConstants; import java.sql.Connection; import java.sql.DriverManager; import org.apache.log4j.Logger; /** * Static helper class to get an client connection to Splice */ public class SpliceNetConnection extends BaseConnection { priv...
structured_test/src/main/java/com/splicemachine/test/connection/SpliceNetConnection.java
package com.splicemachine.test.connection; import com.splicemachine.constants.SpliceConstants; import java.sql.Connection; import java.sql.DriverManager; import org.apache.log4j.Logger; /** * Static helper class to get an client connection to Splice */ public class SpliceNetConnection extends BaseConnection { priv...
Fix DB name in NIST tests
structured_test/src/main/java/com/splicemachine/test/connection/SpliceNetConnection.java
Fix DB name in NIST tests
<ide><path>tructured_test/src/main/java/com/splicemachine/test/connection/SpliceNetConnection.java <ide> <ide> private static String driver = "org.apache.derby.jdbc.ClientDriver"; <ide> private static String protocol = "jdbc:derby://localhost:"; <del> private static String db = "/spliceDB"; <add> private...
Java
apache-2.0
f86f7e62c49f33271af880a1d159de82af1d4d4b
0
YUKAI/konashi-android-sdk,YUKAI/konashi-android-sdk,kiryuxxu/konashi-android-sdk
package com.uxxu.konashi.sample.i2csample; import android.bluetooth.BluetoothGattCharacteristic; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.CompoundButton; import android.widget.EditT...
samples/i2c-sample/src/main/java/com/uxxu/konashi/sample/i2csample/MainActivity.java
package com.uxxu.konashi.sample.i2csample; import android.bluetooth.BluetoothGattCharacteristic; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.CompoundButton; import android.widget.EditT...
Create send/readData method
samples/i2c-sample/src/main/java/com/uxxu/konashi/sample/i2csample/MainActivity.java
Create send/readData method
<ide><path>amples/i2c-sample/src/main/java/com/uxxu/konashi/sample/i2csample/MainActivity.java <ide> mResultText.setVisibility(isReady ? View.VISIBLE : View.GONE); <ide> } <ide> <add> private void sendData() { <add> mKonashiManager.i2cMode(Konashi.I2C_ENABLE_100K) <add> .then(new D...
Java
apache-2.0
f9de0ffd68c7dbc893caa6b35b3e69a8320e1fa6
0
blackberry/Krackle,awwal/Krackle
/** * Copyright 2014 BlackBerry, Limited. * * 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 ...
src/main/java/com/blackberry/krackle/producer/Producer.java
/** * Copyright 2014 BlackBerry, Limited. * * 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 ...
Added Debug log messages for multithreading
src/main/java/com/blackberry/krackle/producer/Producer.java
Added Debug log messages for multithreading
<ide><path>rc/main/java/com/blackberry/krackle/producer/Producer.java <ide> <ide> <ide> <del> // Create the sender obects and threads <add> // Create the sender objects and threads <ide> for (int i = 0; i < conf.getSenderThreads(); i++) { <ide> sender = new Sender(); <ide> Thread senderThread = new ...
JavaScript
apache-2.0
41e115b457476c43c6a304e2b5de8d0c313a4ab2
0
Gawdl3y/discord.js-commando,Gawdl3y/discord.js-commando,Gawdl3y/discord.js-commando
const discord = require('discord.js'); const Command = require('./command'); const CommandGroup = require('./command-group'); const CommandBuilder = require('./command-builder'); const CommandMessage = require('./command-message'); /** Handles registration and searching of commands and groups */ class CommandRegistry ...
src/registry.js
const discord = require('discord.js'); const Command = require('./command'); const CommandGroup = require('./command-group'); const CommandBuilder = require('./command-builder'); const CommandMessage = require('./command-message'); /** Handles registration and searching of commands and groups */ class CommandRegistry ...
Change command.name to command As it's for invalid (non) commands, it wont have a name, most likely!
src/registry.js
Change command.name to command
<ide><path>rc/registry.js <ide> <ide> // Verify that it's an actual command <ide> if(!command || !(command instanceof Command)) { <del> this.client.emit('warn', `Attempting to register an invalid command object: ${command.name}; skipping.`); <add> this.client.emit('warn', `Attempting to register an invalid...