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
mpl-2.0
4d3881759cdb4afdc898ebef2ad8faf8cd905812
0
jentfoo/ambushGUI,threadly/ambushGUI
package org.threadly.load; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import org.threadly.load.ExecutableScript.ExecutionItem; import org.threadly.load.ExecutableScript.ExecutionItem.ChildItems; import org.threadly.load.gui.Node; /...
src/main/java/org/threadly/load/ScriptGraphBuilder.java
package org.threadly.load; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import org.threadly.load.ExecutableScript.ExecutionItem; import org.threadly.load.ExecutableScript.ExecutionItem.ChildItems; import org.threadly.load.gui.Node; /...
Updated for latest ambush changes (build fix)
src/main/java/org/threadly/load/ScriptGraphBuilder.java
Updated for latest ambush changes (build fix)
<ide><path>rc/main/java/org/threadly/load/ScriptGraphBuilder.java <ide> * initial steps are ran sequentially between each other, but it can handle steps which fork <ide> * out into parallel channels. <ide> * <del> * @param steps Collection of sequential steps to start graph production from <add> * @param...
Java
apache-2.0
c45068590874dee15b68b5066bdc9fda87167a8f
0
sqs/avro-keyvalue
package com.blendlabsinc.avrokeyvalue; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import java.util.Map; import org.apache.avro.AvroTypeException; import org.apache.avro.Schema; import org.apache.avro.Schema.Type; import org.apache.avro.generic.GenericDatumReader; im...
src/test/java/com/blendlabsinc/avrokeyvalue/MapEncodingTest.java
package com.blendlabsinc.avrokeyvalue; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.OutputStream; import org.apache.avro.AvroTypeException; import org.apache.avro.Schema; import org.apache.avro.Schema.Type; import org.apache.avro.generic.GenericDatumReader; import org.apache.avro.g...
import java.util.Map
src/test/java/com/blendlabsinc/avrokeyvalue/MapEncodingTest.java
import java.util.Map
<ide><path>rc/test/java/com/blendlabsinc/avrokeyvalue/MapEncodingTest.java <ide> import java.io.ByteArrayOutputStream; <ide> import java.io.IOException; <ide> import java.io.OutputStream; <add>import java.util.Map; <ide> <ide> import org.apache.avro.AvroTypeException; <ide> import org.apache.avro.Schema; <ide> * ...
Java
lgpl-2.1
8621d9a1b719f9c9737fb04ab6c5ea53e873ee14
0
ethaneldridge/vassal,ethaneldridge/vassal,ethaneldridge/vassal
/* * * Copyright (c) 2004-2012 by Rodney Kinney, Brent Easton * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License (LGPL) as published by the Free Software Foundation. * * This library is distributed in the hope that it will be...
vassal-app/src/main/java/VASSAL/counters/Deck.java
/* * * Copyright (c) 2004-2012 by Rodney Kinney, Brent Easton * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License (LGPL) as published by the Free Software Foundation. * * This library is distributed in the hope that it will be...
14290 - Shuffle correctly
vassal-app/src/main/java/VASSAL/counters/Deck.java
14290 - Shuffle correctly
<ide><path>assal-app/src/main/java/VASSAL/counters/Deck.java <ide> */ <ide> public List<GamePiece> getOrderedPieces() { <ide> final List<GamePiece> pieces = asList(); <del> if (!ALWAYS.equals(shuffleOption)) { <add> if (ALWAYS.equals(shuffleOption)) { <ide> Collections.shuffle(pieces, GameModule.ge...
Java
bsd-2-clause
b1aaf616b0283a538bfd487a329e1bf15e8ce709
0
dungkhmt/cblsvr,dungkhmt/cblsvr,dungkhmt/cblsvr,dungkhmt/cblsvr,dungkhmt/cblsvr
package localsearch.domainspecific.vehiclerouting.apps.sharedaride; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.loggin...
src/localsearch/domainspecific/vehiclerouting/apps/sharedaride/ShareARide.java
package localsearch.domainspecific.vehiclerouting.apps.sharedaride; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.loggin...
[anhtu][add first possible init]
src/localsearch/domainspecific/vehiclerouting/apps/sharedaride/ShareARide.java
[anhtu][add first possible init]
<ide><path>rc/localsearch/domainspecific/vehiclerouting/apps/sharedaride/ShareARide.java <ide> } <ide> } <ide> <add> public void firstPossibleInit(){ <add> <add> for(int i = 0; i < pickupPoints.size(); i++){ <add> Point pickup = pickupPoints.get(i); <add> if(XR.route(pickup) != Constants.NULL_POINT) <add> ...
Java
apache-2.0
894f5da0e50c1f649e8d4a2458f9edc37fa3bf43
0
wso2/devstudio-tooling-esb,prabushi/devstudio-tooling-esb,prabushi/devstudio-tooling-esb,prabushi/devstudio-tooling-esb,prabushi/devstudio-tooling-esb,wso2/devstudio-tooling-esb,wso2/devstudio-tooling-esb,wso2/devstudio-tooling-esb
/** * Generated with Acceleo */ package org.wso2.developerstudio.eclipse.gmf.esb.parts.impl; // Start of user code for imports import org.eclipse.emf.common.util.Enumerator; import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider; import org.eclipse.emf.eef.runtime.EEFRuntimePlugin; import org.eclipse...
plugins/org.wso2.developerstudio.eclipse.gmf.esb.edit/src-gen/org/wso2/developerstudio/eclipse/gmf/esb/parts/impl/PayloadFactoryArgumentPropertiesEditionPartImpl.java
/** * Generated with Acceleo */ package org.wso2.developerstudio.eclipse.gmf.esb.parts.impl; // Start of user code for imports import org.eclipse.emf.common.util.Enumerator; import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider; import org.eclipse.emf.eef.runtime.EEFRuntimePlugin; import org.eclipse...
fix copy paste issue
plugins/org.wso2.developerstudio.eclipse.gmf.esb.edit/src-gen/org/wso2/developerstudio/eclipse/gmf/esb/parts/impl/PayloadFactoryArgumentPropertiesEditionPartImpl.java
fix copy paste issue
<ide><path>lugins/org.wso2.developerstudio.eclipse.gmf.esb.edit/src-gen/org/wso2/developerstudio/eclipse/gmf/esb/parts/impl/PayloadFactoryArgumentPropertiesEditionPartImpl.java <ide> @Override <ide> @SuppressWarnings("synthetic-access") <ide> public void keyReleased(KeyEvent e) { <del> if (!EEFPropertyViewU...
Java
apache-2.0
47d9d253f741f08f9fd3072136c1b535a91bd92a
0
marubinotto/Piggydb,marubinotto/Piggydb,vincentschut/Piggydb,marubinotto/Piggydb,vincentschut/Piggydb,vincentschut/Piggydb,vincentschut/Piggydb,marubinotto/Piggydb
package marubinotto.piggydb.ui.page.partial; import static org.apache.commons.lang.StringUtils.trimToNull; import marubinotto.util.message.CodedException; import marubinotto.util.procedure.Procedure; public class UpdateFragment extends AbstractSubmitFragmentForm { @Override protected void setModels() throws Excep...
src/main/java/marubinotto/piggydb/ui/page/partial/UpdateFragment.java
package marubinotto.piggydb.ui.page.partial; import static org.apache.commons.lang.StringUtils.trimToNull; import marubinotto.util.message.CodedException; import marubinotto.util.procedure.Procedure; public class UpdateFragment extends AbstractSingleFragment { public String title; public String content; public S...
#refactoring: changed the base class of marubinotto.piggydb.ui.page.partial.UpdateFragment to AbstractSubmitFragmentForm
src/main/java/marubinotto/piggydb/ui/page/partial/UpdateFragment.java
#refactoring: changed the base class of marubinotto.piggydb.ui.page.partial.UpdateFragment to AbstractSubmitFragmentForm
<ide><path>rc/main/java/marubinotto/piggydb/ui/page/partial/UpdateFragment.java <ide> import marubinotto.util.message.CodedException; <ide> import marubinotto.util.procedure.Procedure; <ide> <del>public class UpdateFragment extends AbstractSingleFragment { <del> <del> public String title; <del> public String content;...
JavaScript
bsd-2-clause
a2bfb6d631504f4ef406ac11ded32f2aab0caf22
0
routexl/carmen,landsurveyorsunited/carmen
var _ = require('underscore'); var iconv = new require('iconv').Iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE'); var crypto = require('crypto'); var Parent = require('mbtiles'); module.exports = MBTiles; require('util').inherits(MBTiles, Parent); function MBTiles(uri, callback) { return Parent.call(this, uri, function(...
api-mbtiles.js
var _ = require('underscore'); var iconv = new require('iconv').Iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE'); var crypto = require('crypto'); var Parent = require('mbtiles'); module.exports = MBTiles; require('util').inherits(MBTiles, Parent); function MBTiles(uri, callback) { return Parent.call(this, uri, function(...
Operate on ZXY scheme.
api-mbtiles.js
Operate on ZXY scheme.
<ide><path>pi-mbtiles.js <ide> pointer.offset = pointer.offset || 0; <ide> pointer.nogrids = 'nogrids' in pointer ? pointer.nogrids : false; <ide> <add> // Converts MBTiles native TMS coords to ZXY. <add> function tms2zxy(zxys) { <add> return zxys.split(',').map(function(tms) { <add> va...
Java
apache-2.0
89eb7bc3a671a7309cda4434244a8aaa93906eb0
0
gabby2212/gs-collections,goldmansachs/gs-collections,mix-juice001/gs-collections,Pelumi/gs-collections,motlin/gs-collections,xingguang2013/gs-collections
/* * Copyright 2011 Goldman Sachs. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
collections-api/src/main/java/com/gs/collections/api/RichIterable.java
/* * Copyright 2011 Goldman Sachs. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed ...
[GSCOLLECT-1183] Correct the Javadoc on RichIterable.asLazy(). git-svn-id: c173b60cd131fd691c78c4467fb70aa9fb29b506@444 d5c9223b-1aff-41ac-aadd-f810b4a99ac4
collections-api/src/main/java/com/gs/collections/api/RichIterable.java
[GSCOLLECT-1183] Correct the Javadoc on RichIterable.asLazy().
<ide><path>ollections-api/src/main/java/com/gs/collections/api/RichIterable.java <ide> Function<? super T, ? extends NV> valueFunction); <ide> <ide> /** <del> * Returns a deferred iterable, most likely implemented by calling LazyIterate.defer(this). <add> * Returns a lazy (deferred) iterable, m...
Java
apache-2.0
118b26742fb1baf081a1e0437c76351f8c958ccf
0
rythmengine/rythmengine,greenlaw110/Rythm,rythmengine/rythmengine,rythmengine/rythmengine,greenlaw110/Rythm,greenlaw110/Rythm
/* * Copyright (C) 2013-2016 The Rythm Engine project * for LICENSE and other details see: * https://github.com/rythmengine/rythmengine */ package org.rythmengine.issue; import java.io.File; import java.util.HashMap; import java.util.Map; import org.apache.commons.io.FileUtils; import org.junit.Test; import org....
src/test/java/org/rythmengine/issue/GithubIssue321Test.java
/* * Copyright (C) 2013-2016 The Rythm Engine project * for LICENSE and other details see: * https://github.com/rythmengine/rythmengine */ package org.rythmengine.issue; import java.io.File; import java.io.IOException; import java.util.HashMap; import java.util.Map; import org.apache.commons.io.FileUtils; import...
explains #321
src/test/java/org/rythmengine/issue/GithubIssue321Test.java
explains #321
<ide><path>rc/test/java/org/rythmengine/issue/GithubIssue321Test.java <ide> package org.rythmengine.issue; <ide> <ide> import java.io.File; <del>import java.io.IOException; <ide> import java.util.HashMap; <ide> import java.util.Map; <ide> <ide> RythmEngine engine = new RythmEngine(conf); <ide> Map<String,Obje...
Java
apache-2.0
70a0459c82f4f3ae104806b13a14b42cdbd5d169
0
ubikloadpack/jmeter,ubikloadpack/jmeter,ubikloadpack/jmeter,ubikloadpack/jmeter
/* * 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/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.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 ...
Line too long Make checkstyle -- and me -- happy. Relates to #397 Bugzilla Id: 62672 git-svn-id: 5ccfe34f605a6c2f9041ff2965ab60012c62539a@1859858 13f79535-47bb-0310-9956-ffa450edef68
src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java
Line too long
<ide><path>rc/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPHC4Impl.java <ide> } <ide> } <ide> <del> private CloseableHttpClient setupClient(HttpClientKey key, JMeterVariables jMeterVariables, HttpClientContext clientContext) throws GeneralSecurityException { <add> private CloseableHttpCl...
JavaScript
apache-2.0
3312d8532d10aab419b96314688b6f7bad700e0a
0
stayup-io/kibana-cf_authentication
var Bell = require('bell'); var AuthCookie = require('hapi-auth-cookie'); var Promise = require('bluebird'); var request = Promise.promisify(require('request')); module.exports = function (kibana) { return new kibana.Plugin({ /* This will set the name of the plugin and will be used by the server for namespacin...
index.js
var Bell = require('bell'); var AuthCookie = require('hapi-auth-cookie'); var Promise = require('bluebird'); var request = Promise.promisify(require('request')); module.exports = function (kibana) { return new kibana.Plugin({ /* This will set the name of the plugin and will be used by the server for namespacin...
remove unneeded configuration option [#112138459]
index.js
remove unneeded configuration option
<ide><path>ndex.js <ide> config: function (Joi) { <ide> var client_id = (process.env.KIBANA_OAUTH2_CLIENT_ID) ? process.env.KIBANA_OAUTH2_CLIENT_ID : 'client_id'; <ide> var client_secret = (process.env.KIBANA_OAUTH2_CLIENT_SECRET) ? process.env.KIBANA_OAUTH2_CLIENT_SECRET : 'client_secret'; <del> var clien...
Java
mit
23a4c4a842b1b5f293f27f8114e0e6f7729bfc4e
0
teinvdlugt/GameOfLife,teinvdlugt/GameOfLife
package com.teinproductions.tein.gameoflife; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.os.Build; import android.preference.PreferenceManager; import android.support.annotation.ColorInt; import android.support.annotation...
app/src/main/java/com/teinproductions/tein/gameoflife/ViewOfLife.java
package com.teinproductions.tein.gameoflife; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.os.Build; import android.preference.PreferenceManager; import android.support.annotation.ColorInt; import android.support.annotation...
Remove redundant ViewOfLife methods
app/src/main/java/com/teinproductions/tein/gameoflife/ViewOfLife.java
Remove redundant ViewOfLife methods
<ide><path>pp/src/main/java/com/teinproductions/tein/gameoflife/ViewOfLife.java <ide> public void load(Life life) { <ide> running = false; <ide> cells = life.getCells(); <del> /*checkCellsDocumented(); <del> recountNeighbours();*/ <ide> updateGen0(); <ide> startX = star...
Java
apache-2.0
bfa6666c304a8f5347fcb12b8d348d93596ac1b4
0
kageiit/buck,JoelMarcey/buck,JoelMarcey/buck,zpao/buck,kageiit/buck,Addepar/buck,Addepar/buck,facebook/buck,kageiit/buck,zpao/buck,nguyentruongtho/buck,JoelMarcey/buck,facebook/buck,nguyentruongtho/buck,zpao/buck,nguyentruongtho/buck,Addepar/buck,kageiit/buck,Addepar/buck,nguyentruongtho/buck,nguyentruongtho/buck,faceb...
/* * Copyright 2015-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
src/com/facebook/buck/rules/keys/ReflectiveAlterKeyLoader.java
/* * Copyright 2015-present Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance with the License. You may obtain * a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
Do not create a list when loading class interfaces in ReflectiveAlterKeyLoader Summary: No need to collect in a list Reviewed By: jtorkkola shipit-source-id: 101b7176ec
src/com/facebook/buck/rules/keys/ReflectiveAlterKeyLoader.java
Do not create a list when loading class interfaces in ReflectiveAlterKeyLoader
<ide><path>rc/com/facebook/buck/rules/keys/ReflectiveAlterKeyLoader.java <ide> import java.util.LinkedList; <ide> import java.util.List; <ide> import java.util.Queue; <del>import java.util.stream.Collectors; <ide> import java.util.stream.Stream; <ide> <ide> class ReflectiveAlterKeyLoader extends CacheLoader<Class<?>, ...
Java
agpl-3.0
30f1bad2c6617ed93af2bda42e8a11c60c5a108c
0
jvalue/cep-service
package org.jvalue.ceps.data; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ArrayNode; import com.google.inject.Inject; import com.google.inject.name.Named; import org.jvalue.ceps.api.data.OdsRegistration; import org.jvalue.ceps.db.OdsRegistrationRepository; import org.jva...
server/src/main/java/org/jvalue/ceps/data/DataManager.java
package org.jvalue.ceps.data; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ArrayNode; import com.google.inject.Inject; import com.google.inject.name.Named; import org.jvalue.ceps.api.data.OdsRegistration; import org.jvalue.ceps.db.OdsRegistrationRepository; import org.jva...
data: removing sources from DataManager catches ODS exceptions
server/src/main/java/org/jvalue/ceps/data/DataManager.java
data: removing sources from DataManager catches ODS exceptions
<ide><path>erver/src/main/java/org/jvalue/ceps/data/DataManager.java <ide> import java.util.Map; <ide> <ide> import io.dropwizard.lifecycle.Managed; <add>import retrofit.RetrofitError; <ide> <ide> <ide> public final class DataManager implements Managed, DataSink { <ide> OdsRegistration registration = getRegistrati...
Java
apache-2.0
ed905885597f5bf32514890b0f7b399a70e95a0f
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ui.content.impl; import com.intellij.icons.AllIcons; import com.intellij.openapi.Disposable; import com.intellij.openapi.actionSystem.ActionGroup; import com...
platform/platform-impl/src/com/intellij/ui/content/impl/ContentImpl.java
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ui.content.impl; import com.intellij.icons.AllIcons; import com.intellij.openapi.Disposable; import com.intellij.openapi.actionSystem.ActionGroup; import com...
CPP-18558 IllegalStateException when build immediately after Reload CMake - make data available in dispose call (see `ContentManagerImpl.removeContent`) - continuation of Vladimir Krivosheev 12-Dec-19 16:54 `cleanup` - continuation of Alexey Utkin 23-Dec-19 16:53 ``[TEST FIX] Remove "Build" tab in tool windows on dis...
platform/platform-impl/src/com/intellij/ui/content/impl/ContentImpl.java
CPP-18558 IllegalStateException when build immediately after Reload CMake
<ide><path>latform/platform-impl/src/com/intellij/ui/content/impl/ContentImpl.java <ide> Disposer.dispose((Disposable)myComponent); <ide> } <ide> <add> if (myDisposer != null) { <add> Disposer.dispose(myDisposer); <add> myDisposer = null; <add> } <add> <ide> myComponent = null; <ide> ...
Java
apache-2.0
d299540efceda6dc39ec09e1efc50776d6c7b134
0
noddi/druid,nishantmonu51/druid,winval/druid,dclim/druid,erikdubbelboer/druid,michaelschiff/druid,andy256/druid,dkhwangbo/druid,KurtYoung/druid,druid-io/druid,noddi/druid,rasahner/druid,du00cs/druid,mrijke/druid,rasahner/druid,lizhanhui/data_druid,dkhwangbo/druid,b-slim/druid,rasahner/druid,Fokko/druid,pdeva/druid,soli...
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
indexing-service/src/main/java/io/druid/indexing/common/task/HadoopTask.java
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
Make HadoopTask load hadoop dependency classes LAST for local isolated classrunner
indexing-service/src/main/java/io/druid/indexing/common/task/HadoopTask.java
Make HadoopTask load hadoop dependency classes LAST for local isolated classrunner
<ide><path>ndexing-service/src/main/java/io/druid/indexing/common/task/HadoopTask.java <ide> import com.google.common.base.Joiner; <ide> import com.google.common.base.Predicate; <ide> import com.google.common.base.Throwables; <del>import com.google.common.collect.Collections2; <ide> import com.google.common.collect.Imm...
Java
apache-2.0
9c938cf96f7363e27dd8c19bf9bf5b69efa8c091
0
suncycheng/intellij-community,allotria/intellij-community,allotria/intellij-community,MER-GROUP/intellij-community,ahb0327/intellij-community,FHannes/intellij-community,allotria/intellij-community,retomerz/intellij-community,kool79/intellij-community,michaelgallacher/intellij-community,supersven/intellij-community,gnuh...
/* * Copyright 2000-2011 JetBrains s.r.o. * * 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...
jps/jps-builders/src/org/jetbrains/jps/server/ClasspathBootstrap.java
/* * Copyright 2000-2011 JetBrains s.r.o. * * 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...
deps cleanup
jps/jps-builders/src/org/jetbrains/jps/server/ClasspathBootstrap.java
deps cleanup
<ide><path>ps/jps-builders/src/org/jetbrains/jps/server/ClasspathBootstrap.java <ide> import org.jetbrains.asm4.ClassVisitor; <ide> import org.jetbrains.asm4.ClassWriter; <ide> import org.jetbrains.jps.MacroExpander; <add>import org.jetbrains.jps.cmdline.BuildMain; <ide> import org.jetbrains.jps.javac.JavacServer; <ide...
Java
apache-2.0
fe7f837fe7e5653f9055f24e114854786ee33b96
0
azkaban/azkaban,azkaban/azkaban,HappyRay/azkaban,HappyRay/azkaban,HappyRay/azkaban,HappyRay/azkaban,azkaban/azkaban,HappyRay/azkaban,HappyRay/azkaban,azkaban/azkaban,azkaban/azkaban,azkaban/azkaban
/* * Copyright 2019 LinkedIn Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
az-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/AbstractHadoopJavaProcessJob.java
/* * Copyright 2019 LinkedIn Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
Revert "Adding Job Name and Submit user to the job metadata which is visible in applicationTags on YARN (#2352)" (#2387) This reverts commit 86d2115db35ff265875ed0c508d5203f5d7a537f.
az-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/AbstractHadoopJavaProcessJob.java
Revert "Adding Job Name and Submit user to the job metadata which is visible in applicationTags on YARN (#2352)" (#2387)
<ide><path>z-hadoop-jobtype-plugin/src/main/java/azkaban/jobtype/AbstractHadoopJavaProcessJob.java <ide> String[] tagKeys = new String[]{ <ide> CommonJobProperties.EXEC_ID, <ide> CommonJobProperties.FLOW_ID, <del> CommonJobProperties.PROJECT_NAME, <del> CommonJobProperties.JOB_ID, <del...
Java
apache-2.0
c6817eedc99e7c827f38d76dfc37d4b01d3705ba
0
RedRoma/YelpJavaClient
/* * Copyright 2016 RedRoma, Inc.. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
src/test/java/tech/redroma/yelp/oauth/RenewingProviderTest.java
/* * Copyright 2016 RedRoma, Inc.. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
Adds additional Unit Tests
src/test/java/tech/redroma/yelp/oauth/RenewingProviderTest.java
Adds additional Unit Tests
<ide><path>rc/test/java/tech/redroma/yelp/oauth/RenewingProviderTest.java <ide> private void setupData() throws Exception <ide> { <ide> authResponse = new JsonObject(); <del> authResponse.addProperty(RenewingProvider.Keys.CLIENT_ID, cliendId); <del> authResponse.addProperty(RenewingProvide...
JavaScript
mit
8d3656354263c40270a2498ac10006d5923e4dc7
0
Jhorzyto/barbara.js,Jhorzyto/barbara.js
//Iniciando o modulo Barbara-JS var barbaraJs = angular.module('Barbara-Js', []); //Configurações para CORS barbaraJs.config(function ($httpProvider) { $httpProvider.defaults.useXDomain = true; delete $httpProvider.defaults.headers.common['X-Requested-With']; }); //Inicializador do barbaraJs barbaraJs.run(fun...
barbarajs.js
//Iniciando o modulo Barbara-JS var barbaraJs = angular.module('Barbara-Js', []); //Configurações para CORS barbaraJs.config( function ($httpProvider) { $httpProvider.defaults.useXDomain = true; delete $httpProvider.defaults.headers.common['X-Requested-With']; }); //Factory request para requisições ajax. barb...
Melhorias no factory em geral. Adicionado opção de dois callbacks para executar antes de requisitar e após receber alguma coisa. Ajustado o http delete para enviar dados no corpo da requisição.
barbarajs.js
Melhorias no factory em geral. Adicionado opção de dois callbacks para executar antes de requisitar e após receber alguma coisa. Ajustado o http delete para enviar dados no corpo da requisição.
<ide><path>arbarajs.js <ide> var barbaraJs = angular.module('Barbara-Js', []); <ide> <ide> //Configurações para CORS <del>barbaraJs.config( function ($httpProvider) { <add>barbaraJs.config(function ($httpProvider) { <ide> $httpProvider.defaults.useXDomain = true; <ide> delete $httpProvider.defaults.headers.com...
Java
apache-2.0
a8f6b626db89cf44188c8d3cc7a5833267f15e9e
0
hamnis/funclite
/* * Copyright 2013 Erlend Hamnaberg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
src/main/java/net/hamnaberg/funclite/Optional.java
/* * Copyright 2013 Erlend Hamnaberg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
Obey functor laws, More API compability with Java 8
src/main/java/net/hamnaberg/funclite/Optional.java
Obey functor laws, More API compability with Java 8
<ide><path>rc/main/java/net/hamnaberg/funclite/Optional.java <ide> return !isSome(); <ide> } <ide> <add> public boolean isPresent() { return isSome(); } <add> <add> public boolean isEmpty() { return isNone(); } <add> <ide> public final <B> Optional<B> map(Function<A, B> f) { <ide> if (isN...
Java
lgpl-2.1
5acb035d4b67f2fa3725b51f05961dc282bbffba
0
kenweezy/teiid,kenweezy/teiid,kenweezy/teiid,jagazee/teiid-8.7,jagazee/teiid-8.7
/* * JBoss, Home of Professional Open Source. * See the COPYRIGHT.txt file distributed with this work for information * regarding copyright ownership. Some portions may be licensed * to Red Hat, Inc. under one or more contributor license agreements. * * This library is free software; you can redistribute it and...
engine/src/test/java/org/teiid/query/function/TestFunctionTree.java
/* * JBoss, Home of Professional Open Source. * See the COPYRIGHT.txt file distributed with this work for information * regarding copyright ownership. Some portions may be licensed * to Red Hat, Inc. under one or more contributor license agreements. * * This library is free software; you can redistribute it and...
TEIID-2233 adding a functiontree test
engine/src/test/java/org/teiid/query/function/TestFunctionTree.java
TEIID-2233 adding a functiontree test
<ide><path>ngine/src/test/java/org/teiid/query/function/TestFunctionTree.java <ide> <ide> @Test public void testLoadErrors() { <ide> FunctionMethod method = new FunctionMethod( <del> "dummy", null, null, PushDown.CAN_PUSHDOWN, "nonexistentClass", "noMethod", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3...
Java
mit
f70dfe93af71ffa122f5e22c4d515510be551403
0
MuShiiii/mockito,ze-pequeno/mockito,Jam71/mockito,zorosteven/mockito,bric3/mockito,mbrukman/mockito,icefoggy/mockito,icefoggy/mockito,Jam71/mockito,bric3/mockito,MuShiiii/mockito,TimvdLippe/mockito,LilaQin/mockito,lukasz-szewc/mockito,rototor/mockito,diboy2/mockito,windofthesky/mockito,Jazzepi/mockito,LilaQin/mockito,s...
/* * Copyright (c) 2007 Mockito contributors * This program is made available under the terms of the MIT License. */ package org.mockito.internal.matchers; import org.junit.Test; import org.mockitoutil.TestBase; public class EqualsTest extends TestBase { @Test public void shouldBeEqual() { asser...
test/org/mockito/internal/matchers/EqualsTest.java
/* * Copyright (c) 2007 Mockito contributors * This program is made available under the terms of the MIT License. */ package org.mockito.internal.matchers; import org.junit.Test; import org.mockitoutil.TestBase; public class EqualsTest extends TestBase { @Test public void shouldBeEqual() { asser...
Tightened coverage
test/org/mockito/internal/matchers/EqualsTest.java
Tightened coverage
<ide><path>est/org/mockito/internal/matchers/EqualsTest.java <ide> String descStr = new Equals(100L).getTypedDescription(); <ide> <ide> assertEquals("(Long) 100", descStr); <add> } <add> <add> @Test <add> public void shouldDescribeWithTypeOfString() throws Exception { <add> Stri...
Java
apache-2.0
9f884ed4250273e16f1e838d86c494740cc5b014
0
raphw/byte-buddy,DALDEI/byte-buddy,PascalSchumacher/byte-buddy,mches/byte-buddy,CodingFabian/byte-buddy,raphw/byte-buddy,vic/byte-buddy,raphw/byte-buddy
package net.bytebuddy.dynamic.scaffold.subclass; import net.bytebuddy.description.method.MethodDescription; import net.bytebuddy.description.type.TypeDescription; import net.bytebuddy.matcher.ElementMatcher; import net.bytebuddy.matcher.LatentMethodMatcher; import net.bytebuddy.test.utility.MockitoRule; import net.byt...
byte-buddy-dep/src/test/java/net/bytebuddy/dynamic/scaffold/subclass/SubclassDynamicTypeBuilderInstrumentableMatcherTest.java
package net.bytebuddy.dynamic.scaffold.subclass; import net.bytebuddy.description.method.MethodDescription; import net.bytebuddy.description.type.TypeDescription; import net.bytebuddy.matcher.ElementMatcher; import net.bytebuddy.matcher.LatentMethodMatcher; import net.bytebuddy.test.utility.MockitoRule; import net.byt...
Adapted matcher tests for subclass generation.
byte-buddy-dep/src/test/java/net/bytebuddy/dynamic/scaffold/subclass/SubclassDynamicTypeBuilderInstrumentableMatcherTest.java
Adapted matcher tests for subclass generation.
<ide><path>yte-buddy-dep/src/test/java/net/bytebuddy/dynamic/scaffold/subclass/SubclassDynamicTypeBuilderInstrumentableMatcherTest.java <ide> when(methodDescription.isOverridable()).thenReturn(true); <ide> when(ignoredMethods.matches(methodDescription)).thenReturn(false); <ide> when(methodDescri...
Java
mit
0f4aa9b53680eefb609b33093e82c4552efa0410
0
peterjosling/scroball
package com.peterjosling.scroball; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.util.Log; import com.google.common.base.Optional; import com.peterjosling.scroball.db.ScroballDB; import java.util.ArrayList; import java.util.List; import de.umass.lastfm.Caller; import de.umas...
app/src/main/java/com/peterjosling/scroball/Scrobbler.java
package com.peterjosling.scroball; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.util.Log; import com.google.common.base.Optional; import com.peterjosling.scroball.db.ScroballDB; import java.util.ArrayList; import java.util.List; import de.umass.lastfm.Caller; import de.umas...
Remove completed TODO
app/src/main/java/com/peterjosling/scroball/Scrobbler.java
Remove completed TODO
<ide><path>pp/src/main/java/com/peterjosling/scroball/Scrobbler.java <ide> boolean isConnected = activeNetwork != null && activeNetwork.isConnectedOrConnecting(); <ide> boolean tracksPending = !(pending.isEmpty() && pendingPlaybackItems.isEmpty()); <ide> <del> // TODO listen for changes in connectivity and ...
Java
apache-2.0
c4a0837d2d6617106c14fe87168f21d335590435
0
SharedHealth/openmrs-module-bdshrclient,SharedHealth/openmrs-module-bdshrclient,SharedHealth/openmrs-module-bdshrclient
package org.openmrs.module.bdshrclient.web.controller; import org.openmrs.api.context.Context; import org.openmrs.module.addresshierarchy.AddressHierarchyEntry; import org.openmrs.module.addresshierarchy.service.AddressHierarchyService; import org.openmrs.module.bdshrclient.model.Address; import org.openmrs.module.bd...
omod/src/main/java/org/openmrs/module/bdshrclient/web/controller/MciPatientLookupController.java
package org.openmrs.module.bdshrclient.web.controller; import org.openmrs.api.context.Context; import org.openmrs.module.addresshierarchy.AddressHierarchyEntry; import org.openmrs.module.addresshierarchy.service.AddressHierarchyService; import org.openmrs.module.bdshrclient.model.Address; import org.openmrs.module.bd...
angshu | fixed searching by Health ID
omod/src/main/java/org/openmrs/module/bdshrclient/web/controller/MciPatientLookupController.java
angshu | fixed searching by Health ID
<ide><path>mod/src/main/java/org/openmrs/module/bdshrclient/web/controller/MciPatientLookupController.java <ide> import org.openmrs.module.bdshrclient.util.WebClient; <ide> import org.springframework.beans.factory.annotation.Autowired; <ide> import org.springframework.stereotype.Controller; <del>import org.springframew...
Java
lgpl-2.1
1310372777ee2e5d12fe202fc9b1a5adf1bf2456
0
csrg-utfsm/acscb,csrg-utfsm/acscb,jbarriosc/ACSUFRO,jbarriosc/ACSUFRO,jbarriosc/ACSUFRO,csrg-utfsm/acscb,jbarriosc/ACSUFRO,csrg-utfsm/acscb,ACS-Community/ACS,csrg-utfsm/acscb,ACS-Community/ACS,ACS-Community/ACS,csrg-utfsm/acscb,jbarriosc/ACSUFRO,ACS-Community/ACS,jbarriosc/ACSUFRO,jbarriosc/ACSUFRO,csrg-utfsm/acscb,ACS...
package alma.acs.concurrent; import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ThreadFactory; import java.util.concurrent.TimeUnit; /** * Helper class that allows tests (but also other code) to be executed concurrently. * One of the advantages of using this class is that...
LGPL/CommonSoftware/jacsutil/src/alma/acs/concurrent/ParallelExecutor.java
package alma.acs.concurrent; import java.util.ArrayList; import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.ThreadFactory; import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.Lock; import java.util.concurrent.l...
Changed implementation to use good old CountDownLatch as the thread gate, after the previous stab at using concurrent.locks.Condition failed to actually run the threads in parallel. git-svn-id: afcf11d89342f630bd950d18a70234a9e277d909@104117 523d945c-050c-4681-91ec-863ad3bb968a
LGPL/CommonSoftware/jacsutil/src/alma/acs/concurrent/ParallelExecutor.java
Changed implementation to use good old CountDownLatch as the thread gate, after the previous stab at using concurrent.locks.Condition failed to actually run the threads in parallel.
<ide><path>GPL/CommonSoftware/jacsutil/src/alma/acs/concurrent/ParallelExecutor.java <ide> package alma.acs.concurrent; <ide> <del>import java.util.ArrayList; <ide> import java.util.List; <ide> import java.util.concurrent.CountDownLatch; <ide> import java.util.concurrent.ThreadFactory; <ide> import java.util.concurren...
JavaScript
mit
05a034e1a4c52e43ad38b34863cd3462f4f9beac
0
kittn/generator-kittn,kittn/generator-kittn,kittn/generator-kittn,kittn/generator-kittn
/** * Webpack Config for Javascript and CSS Bundling * * @package generator-mh-boilerplate * @author Martin Herweg <info@martinherweg.de> */ import webpack from 'webpack' import { getIfUtils, removeEmpty } from 'webpack-config-utils' import path from 'path' import config from '../config.json' import ExtractTex...
generators/app/templates/webpack/webpack.config.babel.js
/** * Webpack Config for Javascript and CSS Bundling * * @package generator-mh-boilerplate * @author Martin Herweg <info@martinherweg.de> */ import webpack from 'webpack' import { getIfUtils, removeEmpty } from 'webpack-config-utils' import path from 'path' import config from '../config.json' import ExtractTex...
Fix Vue-Loader Disable manifest and vendor-chunks
generators/app/templates/webpack/webpack.config.babel.js
Fix Vue-Loader Disable manifest and vendor-chunks
<ide><path>enerators/app/templates/webpack/webpack.config.babel.js <ide> },<% if ( projectjsframework === 'vue') { %> <ide> { <ide> test: /\.vue$/, <del> use: 'vue-loader', <add> loader: 'vue-loader', <ide> options: { <ide> loaders: { <ide> scss: ifProduct...
Java
apache-2.0
afd12b2c1af3f605092d0679aac8afd46a861159
0
darshanasbg/identity-inbound-auth-oauth,chirankavinda123/identity-inbound-auth-oauth,darshanasbg/identity-inbound-auth-oauth,chirankavinda123/identity-inbound-auth-oauth,IsuraD/identity-inbound-auth-oauth,wso2-extensions/identity-inbound-auth-oauth,IsuraD/identity-inbound-auth-oauth,wso2-extensions/identity-inbound-aut...
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/internal/OAuthApplicationMgtListener.java
/* * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/li...
Fixed IDENTITY-4965
components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/internal/OAuthApplicationMgtListener.java
Fixed IDENTITY-4965
<ide><path>omponents/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/internal/OAuthApplicationMgtListener.java <ide> import org.wso2.carbon.identity.application.common.model.InboundAuthenticationRequestConfig; <ide> import org.wso2.carbon.identity.application.common.model.Property; <ide> im...
Java
apache-2.0
de2522771ea0c1c360cd4bba30840495938dba34
0
Wisser/Jailer,Wisser/Jailer,Wisser/Jailer
/* * Copyright 2007 - 2019 Ralf Wisser. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
src/main/gui/net/sf/jailer/ui/UIUtil.java
/* * Copyright 2007 - 2019 Ralf Wisser. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
reduced max issue length
src/main/gui/net/sf/jailer/ui/UIUtil.java
reduced max issue length
<ide><path>rc/main/gui/net/sf/jailer/ui/UIUtil.java <ide> @Override <ide> public void run() { <ide> try { <del> final int MAX_CL = 1400; <add> final int MAX_CL = 1300; <ide> int maxEIssueLength = 4 * MAX_CL; <ide> String url; <ide> do {
Java
mit
c77812d2a892603a5d58d4dff7ce7e3674744f94
0
JetBrains/ideavim,JetBrains/ideavim
/* * IdeaVim - Vim emulator for IDEs based on the IntelliJ platform * Copyright (C) 2003-2014 The IdeaVim authors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the ...
src/com/maddyhome/idea/vim/ex/handler/MapHandler.java
/* * IdeaVim - Vim emulator for IDEs based on the IntelliJ platform * Copyright (C) 2003-2014 The IdeaVim authors * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 2 of the ...
Refactored MapHandler to be more declarative
src/com/maddyhome/idea/vim/ex/handler/MapHandler.java
Refactored MapHandler to be more declarative
<ide><path>rc/com/maddyhome/idea/vim/ex/handler/MapHandler.java <ide> import org.jetbrains.annotations.NotNull; <ide> import org.jetbrains.annotations.Nullable; <ide> <add>import java.util.ArrayList; <add>import java.util.List; <ide> import java.util.Set; <ide> import java.util.regex.Matcher; <ide> import java.util.re...
Java
apache-2.0
5d084aa3a461291f2b0481aa98d6ccec6fc275c7
0
ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma
/* * The Gemma project * * Copyright (c) 2006 University of British Columbia * * 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 *...
gemma-web/src/main/java/ubic/gemma/web/controller/expression/experiment/ExpressionExperimentFormController.java
/* * The Gemma project * * Copyright (c) 2006 University of British Columbia * * 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 *...
add audit event when biomaterial mapping is changed; cleanup
gemma-web/src/main/java/ubic/gemma/web/controller/expression/experiment/ExpressionExperimentFormController.java
add audit event when biomaterial mapping is changed; cleanup
<ide><path>emma-web/src/main/java/ubic/gemma/web/controller/expression/experiment/ExpressionExperimentFormController.java <ide> import org.xml.sax.SAXException; <ide> <ide> import ubic.gemma.loader.entrez.pubmed.PubMedSearch; <add>import ubic.gemma.model.common.auditAndSecurity.AuditTrailService; <ide> import ubic.gem...
Java
bsd-3-clause
103a7b0b784c8e8c6c31cb16a35498fa3706245d
0
FIRST-4030/2013
package edu.wpi.first.wpilibj.templates.helpers.imageprocess; /** * */ public class VisionTarget { /** * X position of closest vertex to origin */ private int x; /** * Z position of closest vertex to origin */ private int y; /** * Z position of closest ve...
src/edu/wpi/first/wpilibj/templates/helpers/imageprocess/VisionTarget.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package edu.wpi.first.wpilibj.templates.helpers.imageprocess; /** * * @author Ingyram */ public class VisionTarget { /** * x position of closest vertex to origin */ private int x; ...
Formated
src/edu/wpi/first/wpilibj/templates/helpers/imageprocess/VisionTarget.java
Formated
<ide><path>rc/edu/wpi/first/wpilibj/templates/helpers/imageprocess/VisionTarget.java <del>/* <del> * To change this template, choose Tools | Templates <del> * and open the template in the editor. <del> */ <ide> package edu.wpi.first.wpilibj.templates.helpers.imageprocess; <ide> <ide> /** <ide> * <del> * @author Ingyr...
JavaScript
agpl-3.0
417642a7d92d27e0730f23f53898408d7d66ee8a
0
CelineBoudier/rapid-router,mikebryant/rapid-router,mikebryant/rapid-router,CelineBoudier/rapid-router,CelineBoudier/rapid-router,CelineBoudier/rapid-router,mikebryant/rapid-router,mikebryant/rapid-router
'use strict'; var ocargo = ocargo || {}; ocargo.LevelEditor = function() { /*************/ /* Constants */ /*************/ var LIGHT_RED_URL = '/static/game/image/trafficLight_red.svg'; var LIGHT_GREEN_URL = '/static/game/image/trafficLight_green.svg'; var VALID_LIGHT_COLOUR = '#87E34D'...
game/static/game/js/level_editor.js
'use strict'; var ocargo = ocargo || {}; ocargo.LevelEditor = function() { /*************/ /* Constants */ /*************/ var LIGHT_RED_URL = '/static/game/image/trafficLight_red.svg'; var LIGHT_GREEN_URL = '/static/game/image/trafficLight_green.svg'; var VALID_LIGHT_COLOUR = '#87E34D'...
Level editor - fix delete decor.
game/static/game/js/level_editor.js
Level editor - fix delete decor.
<ide><path>ame/static/game/js/level_editor.js <ide> }); <ide> <ide> $('#delete_decor').click(function() { <del> mode = DELETE_DECOR_MODE; <add> if (mode === DELETE_DECOR_MODE) { <add> mode = ADD_ROAD_MODE; <add> } else { <add> ...
Java
bsd-2-clause
d653ce6542e30e3a54c5aa8ea212fe94bbdf2dae
0
UCSFMemoryAndAging/lava,UCSFMemoryAndAging/lava,UCSFMemoryAndAging/lava
package edu.ucsf.lava.core.file; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.sql.Timestamp; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import org.apache.commons.lang.String...
lava-core/src/edu/ucsf/lava/core/file/LocalFileSystemRepositoryStrategy.java
package edu.ucsf.lava.core.file; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.sql.Timestamp; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import org.apache.commons.lang.String...
1) changed handlesFiles so it does return true for every file so that when iterating thru strategies it will not handle a file that it should not (now only handles files in the default repository)
lava-core/src/edu/ucsf/lava/core/file/LocalFileSystemRepositoryStrategy.java
1) changed handlesFiles so it does return true for every file so that when iterating thru strategies it will not handle a file that it should not (now only handles files in the default repository)
<ide><path>ava-core/src/edu/ucsf/lava/core/file/LocalFileSystemRepositoryStrategy.java <ide> import edu.ucsf.lava.core.file.model.LavaFile; <ide> <ide> public class LocalFileSystemRepositoryStrategy extends AbstractFileRepositoryStrategy { <add> public static String DEFAULT_REPOSITORY_ID = "lava_default"; <add> <ide> ...
Java
mit
3b3989bbc46c9c0ca6d3c037f82567d70653d6ea
0
rlviana/pricegrabber-app
package net.rlviana.pricegrabber.model.repository; import java.io.Serializable; import javax.persistence.Query; import javax.persistence.criteria.CriteriaQuery; import net.rlviana.pricegrabber.model.entity.IEntity; import net.rlviana.pricegrabber.model.search.AbstractSearchCriteria; import org.slf4j.Logger; import ...
pricegrabber-model/src/main/java/net/rlviana/pricegrabber/model/repository/AbstractJpaReadOnlyObjectRepository.java
package net.rlviana.pricegrabber.model.repository; import java.io.Serializable; import javax.persistence.Query; import javax.persistence.criteria.CriteriaQuery; import net.rlviana.pricegrabber.model.entity.IEntity; import net.rlviana.pricegrabber.model.search.AbstractSearchCriteria; import org.slf4j.Logger; import ...
Fixed minor error
pricegrabber-model/src/main/java/net/rlviana/pricegrabber/model/repository/AbstractJpaReadOnlyObjectRepository.java
Fixed minor error
<ide><path>ricegrabber-model/src/main/java/net/rlviana/pricegrabber/model/repository/AbstractJpaReadOnlyObjectRepository.java <ide> public abstract class AbstractJpaReadOnlyObjectRepository<T extends IEntity<K>, K extends Serializable> extends <ide> AbstractBaseJpaReadOnlyObjectRepository<T, K> { <ide> <add> priv...
JavaScript
mit
865fbe8811c821e262380397b8e9fb89a7940240
0
Oletus/gameutils.js,Oletus/gameutils.js
'use strict'; /** * Helpers for doing platforming physics, including tile classes and a function to evaluate movement with collisions. * Using the platforming physics classes requires TileMap. */ var PlatformingPhysics = {}; /** * A character that moves in the platforming level, colliding into other objects and t...
src/platformingphysics.js
'use strict'; /** * Helpers for doing platforming physics, including tile classes and a function to evaluate movement with collisions. * Using the platforming physics classes requires TileMap. */ var PlatformingPhysics = {}; /** * A character that moves in the platforming level, colliding into other objects and t...
Rename wall variables to indicate direction An object moving to the right might still be pushed by a wall moving in from the left, so the code needs to be refactored to support that.
src/platformingphysics.js
Rename wall variables to indicate direction
<ide><path>rc/platformingphysics.js <ide> } <ide> var slopeFloorY = movingObj.y + rectBottomHalfHeight + TileMap.epsilon * 2; <ide> if (delta > 0) { <del> var wallX = movingObj.x + rectRightHalfWidth + TileMap.epsilon * 2; <del> var s...
Java
mit
cbaf8bbcbbf1bc064a3a66139d999313d595bd3f
0
objectify/objectify,naveen514/objectify-appengine,asolfre/objectify-appengine,zenmeso/objectify-appengine,google-code-export/objectify-appengine,qickrooms/objectify-appengine,RudiaMoon/objectify-appengine
/* */ package com.googlecode.objectify.test; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import com.google.appengine.api.memcache.MemcacheService; import com.google.appengine.api.memcach...
src/test/java/com/googlecode/objectify/test/RefTests.java
/* */ package com.googlecode.objectify.test; import java.io.Serializable; import java.util.ArrayList; import java.util.List; import org.testng.annotations.BeforeMethod; import org.testng.annotations.Test; import com.google.appengine.api.memcache.MemcacheService; import com.google.appengine.api.memcach...
Better ref tests
src/test/java/com/googlecode/objectify/test/RefTests.java
Better ref tests
<ide><path>rc/test/java/com/googlecode/objectify/test/RefTests.java <ide> import com.googlecode.objectify.test.util.TestObjectify; <ide> <ide> /** <del> * Tests simple use of the getRef() methods on Objectify <add> * Tests the behavior of Refs. <ide> * <ide> * @author Jeff Schnitzer <jeff@infohazard.org> <ide> */ <...
JavaScript
mit
1ba2b18af2dd629b4895921c266040c88abd5c83
0
tgriesser/bookshelf,tgriesser/bookshelf,bookshelf/bookshelf,bookshelf/bookshelf
'use strict'; const _ = require('lodash'); const helpers = require('./helpers'); // We've supplemented `Events` with a `triggerThen` method to allow for // asynchronous event handling via promises. We also mix this into the // prototypes of the main objects in the library. const Events = require('./base/events'); //...
lib/bookshelf.js
'use strict'; const _ = require('lodash'); const helpers = require('./helpers'); // We've supplemented `Events` with a `triggerThen` method to allow for // asynchronous event handling via promises. We also mix this into the // prototypes of the main objects in the library. const Events = require('./base/events'); //...
Expand on the transaction and its callback docs
lib/bookshelf.js
Expand on the transaction and its callback docs
<ide><path>ib/bookshelf.js <ide> // the object. <ide> _.extend(bookshelf, Events, Errors, { <ide> /** <add> * An alias to `{@link http://knexjs.org/#Transactions Knex#transaction}`. The `transaction` <add> * object must be passed along in the options of any relevant Bookshelf calls, to ensure all <add> ...
Java
apache-2.0
6c142bf647dc8a7793248e5e9f71bc9959da1d45
0
fnouama/intellij-community,fitermay/intellij-community,fnouama/intellij-community,signed/intellij-community,ivan-fedorov/intellij-community,xfournet/intellij-community,fnouama/intellij-community,muntasirsyed/intellij-community,slisson/intellij-community,izonder/intellij-community,ernestp/consulo,vladmm/intellij-communi...
package com.intellij.psi.impl.source.tree; import com.intellij.lang.ASTNode; import com.intellij.lang.StdLanguages; import com.intellij.lexer.Lexer; import com.intellij.openapi.project.Project; import com.intellij.psi.JavaTokenType; import com.intellij.psi.PsiManager; import com.intellij.psi.impl.source.parsing.JavaPa...
source/com/intellij/psi/impl/source/tree/JavaElementType.java
package com.intellij.psi.impl.source.tree; import com.intellij.lang.ASTNode; import com.intellij.lang.StdLanguages; import com.intellij.lexer.Lexer; import com.intellij.openapi.project.Project; import com.intellij.psi.JavaTokenType; import com.intellij.psi.PsiManager; import com.intellij.psi.impl.source.parsing.JavaPa...
java reparse issue fixed
source/com/intellij/psi/impl/source/tree/JavaElementType.java
java reparse issue fixed
<ide><path>ource/com/intellij/psi/impl/source/tree/JavaElementType.java <ide> final Lexer lexer = getLanguage().getParserDefinition().createLexer(project); <ide> final char[] chars = CharArrayUtil.fromSequence(seq); <ide> lexer.start(chars, 0, chars.length); <del> int balance = 0; <add> if(l...
Java
mit
330f8f4a8e3dc9cd51d1ace37f2828f2b0f245b3
0
dozedoff/commonj
/* Copyright (C) 2012 Nicholas Wright This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This progra...
src/file/BinaryFileReader.java
/* Copyright (C) 2012 Nicholas Wright This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This progra...
added different method for reading files
src/file/BinaryFileReader.java
added different method for reading files
<ide><path>rc/file/BinaryFileReader.java <ide> package file; <ide> <ide> import java.io.BufferedInputStream; <add>import java.io.DataInputStream; <ide> import java.io.File; <ide> import java.io.FileInputStream; <ide> import java.io.IOException; <ide> <ide> return varBuffer; <ide> } <add> <add> public byte[] getVi...
Java
apache-2.0
8f410e3832ecd0635f472fa1b08e33ee4c97ca35
0
liqinlong/L_Redmine,liqinlong/L_Redmine,liqinlong/L_Redmine
package liql.redmine; import java.io.File; import java.io.IOException; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import com.taskadapter.redmineapi.RedmineException; import com.taskadapter.redmineapi.RedmineManager; import com.taskadapter.redmineapi.bean.Issue; import com...
src/liql/redmine/L_GetIssue_Delay.java
package liql.redmine; import java.io.File; import java.io.IOException; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import com.taskadapter.redmineapi.RedmineException; import com.taskadapter.redmineapi.RedmineManager; import com.taskadapter.redmineapi.bean.Issue; import com...
修复完成时间null的bug
src/liql/redmine/L_GetIssue_Delay.java
修复完成时间null的bug
<ide><path>rc/liql/redmine/L_GetIssue_Delay.java <ide> if (issue.getStatusId() == 5 || issue.getTracker().getId() == 4) { <ide> continue; <ide> } <del> if (null != null) { <add> if (null != issue.getDueDate()) { <ide> long issueduedate = issue.getDueDate().getTime();// issueƻʱ <ide> ...
JavaScript
mit
af19d71d4818d86ec773f4b0047bdcc1e1645722
0
dominictarr/assertions
var extended = require('./extended') , elementary = require('./elementary') , traverser = require('traverser') , render = require('render') , fail = require('./failure').fail module.exports = { every: every, has: has, apply: apply, throws: throws, path: path, noop: noop, atIn...
higher.js
var extended = require('./extended') , elementary = require('./elementary') , traverser = require('traverser') , render = require('render') , fail = require('./failure').fail module.exports = { every: every, has: has, apply: apply, throws: throws, path: path, noop: noop, atIn...
fix indentations
higher.js
fix indentations
<ide><path>igher.js <ide> , message <ide> ) <ide> } <del> return current <add> return current <ide> } <ide> <ide> function apply (actual, assertion, message) {
JavaScript
mit
2778d36b78f2e06db30ca2a2e8c4f0afbac6feed
0
LBAB-Humboldt/biomodelos_db_api,LBAB-Humboldt/biomodelos_db_api
import mongoose from 'mongoose'; const Schema = mongoose.Schema; const ModelSchema = new Schema( { _id: { type: Schema.ObjectId, required: true }, taxID: { type: Number, required: true }, acceptedNameUsage: { type: String, required: true }, consensusMethod: { type: String, in: ['all', 'me...
src/models/model.model.js
import mongoose from 'mongoose'; const Schema = mongoose.Schema; const ModelSchema = new Schema( { _id: { type: Schema.ObjectId, required: true }, taxID: { type: Number, required: true }, acceptedNameUsage: { type: String, required: true }, consensusMethod: { type: String, in: ['all', 'me...
make modelID filed required
src/models/model.model.js
make modelID filed required
<ide><path>rc/models/model.model.js <ide> published: { type: Boolean, default: false }, <ide> customCitation: { type: String, default: null }, <ide> isActive: { type: Boolean, default: true }, <del> modelID: { type: String, default: null }, <add> modelID: { type: String, default: null, required: true ...
Java
mit
c6fdb4db64e78d4c536e322cb5269f2632bf2bef
0
kotwgarnku/comets
package comets; import javafx.geometry.Point3D; public class Gravity { public static final double GRAVITATIONAL_CONSTANT = 6.67384e-11; public static final double MAX_GRAVITY_RANGE = 5e25; public static Point3D calculateForce(SpaceObject someObject, SpaceObject otherObject) { if(someObject.getPo...
src/main/java/comets/Gravity.java
package comets; import javafx.geometry.Point3D; public class Gravity implements Force { public static final double GRAVITATIONAL_CONSTANT = 6.67384e-11; public static final double MAX_GRAVITY_RANGE = 5e15; @Override public Point3D calculateAcceleration(Point3D thisObjectPos, Point3D otherObjectPos, ...
Adjusted function.
src/main/java/comets/Gravity.java
Adjusted function.
<ide><path>rc/main/java/comets/Gravity.java <ide> <ide> import javafx.geometry.Point3D; <ide> <del>public class Gravity implements Force { <add>public class Gravity { <ide> <ide> public static final double GRAVITATIONAL_CONSTANT = 6.67384e-11; <del> public static final double MAX_GRAVITY_RANGE = 5e15; <add> ...
Java
apache-2.0
026f93b410e2540fc1c6511bab38d3a7385143f4
0
bboyfeiyu/RxJava,ypresto/RxJava,Siddartha07/RxJava,davidmoten/RxJava,ashwary/RxJava,msdgwzhy6/RxJava,Eagles2F/RxJava,ibaca/RxJava,androidgilbert/RxJava,xfumihiro/RxJava,pitatensai/RxJava,benjchristensen/RxJava,sunfei/RxJava,AttwellBrian/RxJava,Siddartha07/RxJava,suclike/RxJava,ronenhamias/RxJava,picnic106/RxJava,nurkie...
/** * Copyright 2014 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
src/main/java/rx/internal/operators/OperatorObserveOn.java
/** * Copyright 2014 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Unsubscribe eagerly and drop queued onNext to emit onError The queue will be drained to find and emit the onError.
src/main/java/rx/internal/operators/OperatorObserveOn.java
Unsubscribe eagerly and drop queued onNext to emit onError
<ide><path>rc/main/java/rx/internal/operators/OperatorObserveOn.java <ide> <ide> private final RxRingBuffer queue = RxRingBuffer.getSpscInstance(); <ide> private boolean completed = false; <add> private boolean failure = false; <ide> <ide> private volatile long requested = 0; <ide> ...
Java
apache-2.0
9d9b3434ead600ce6146d8e72559f90b88f17805
0
sdeleuze/reactor-core,sdeleuze/reactor-core,reactor/reactor-core,sdeleuze/reactor-core,sdeleuze/reactor-core
/* * Copyright (c) 2011-2016 Pivotal Software Inc, All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
src/main/java/reactor/core/publisher/Mono.java
/* * Copyright (c) 2011-2016 Pivotal Software Inc, All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
fix #59
src/main/java/reactor/core/publisher/Mono.java
fix #59
<ide><path>rc/main/java/reactor/core/publisher/Mono.java <ide> } <ide> <ide> /** <add> * Concatenate emissions of this {@link Mono} with the provided {@link Publisher} (no interleave). <add> * <p> <add> * <img class="marble" src="https://raw.githubusercontent.com/reactor/projectreactor.io/master/src/main/static/a...
Java
apache-2.0
aa79c51f548f88b7f0e4e732f532870023c3e76f
0
jackygurui/redisson,zhoffice/redisson,redisson/redisson,mrniko/redisson
/** * Copyright 2016 Nikita Koksharov * * 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...
redisson/src/main/java/org/redisson/config/ConfigSupport.java
/** * Copyright 2016 Nikita Koksharov * * 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...
compilation fixed
redisson/src/main/java/org/redisson/config/ConfigSupport.java
compilation fixed
<ide><path>edisson/src/main/java/org/redisson/config/ConfigSupport.java <ide> try { <ide> Method lowMask = URI.class.getDeclaredMethod(methodName, String.class); <ide> lowMask.setAccessible(true); <del> long lowMaskValue = (long) lowMask.invoke(null, "-_"); <add> Lo...
Java
mit
9392458c5d9608baa03be1dc84ad54c42b5caa2c
0
remigourdon/sound-editors
package framework; import javax.sound.sampled.AudioFormat; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.SourceDataLine; import java.util.Map; import java.util.HashMap; import java.util.ArrayList; import framework.Sound; /** * Manage a list of Sound objects. * * This class provides methods to ...
framework/Player.java
package framework; import javax.sound.sampled.AudioFormat; import javax.sound.sampled.AudioSystem; import javax.sound.sampled.SourceDataLine; import java.util.Map; import java.util.HashMap; import java.util.ArrayList; import framework.Sound; /** * Manage a list of Sound objects. * * This class provides methods to ...
Add code to start the audio line, stop it and drain it.
framework/Player.java
Add code to start the audio line, stop it and drain it.
<ide><path>ramework/Player.java <ide> } <ide> <ide> byte[] theMix = mix(selection); <add> line.start(); <ide> line.write(theMix, 0, theMix.length); <add> line.stop(); <add> line.drain(); <ide> } <ide> <ide> private SourceDataLine line;
Java
mit
error: pathspec 'LARDTestTest/src/ca/ualberta/lard/test/NewEditCommentActivityTests.java' did not match any file(s) known to git
173d001bd346bda9a8237bb70a9c1391ba985577
1
CMPUT301W14T06/LARD
package ca.ualberta.lard.test; import ca.ualberta.lard.NewEditCommentActivity; import android.test.ActivityInstrumentationTestCase2; /** * JUnit tests for NewCommentActivity. Tests that the correct parent id is received. Also * tests user interaction with the UI (attaching a picture, changing location, inputting *...
LARDTestTest/src/ca/ualberta/lard/test/NewEditCommentActivityTests.java
lots of small formatting changes were made
LARDTestTest/src/ca/ualberta/lard/test/NewEditCommentActivityTests.java
lots of small formatting changes were made
<ide><path>ARDTestTest/src/ca/ualberta/lard/test/NewEditCommentActivityTests.java <add>package ca.ualberta.lard.test; <add> <add>import ca.ualberta.lard.NewEditCommentActivity; <add>import android.test.ActivityInstrumentationTestCase2; <add> <add>/** <add> * JUnit tests for NewCommentActivity. Tests that the correct pa...
Java
mit
b1ddafa1d1218472eae1509fd0e47c549a7fe7a6
0
gems-uff/dyevc,gems-uff/dyevc
package br.uff.ic.dyevc.monitor; //~--- non-JDK imports -------------------------------------------------------- import br.uff.ic.dyevc.application.IConstants; import br.uff.ic.dyevc.exception.DyeVCException; import br.uff.ic.dyevc.exception.MonitorException; import br.uff.ic.dyevc.exception.RepositoryReferencedExcep...
DyeVC/src/main/java/br/uff/ic/dyevc/monitor/TopologyUpdater.java
package br.uff.ic.dyevc.monitor; //~--- non-JDK imports -------------------------------------------------------- import br.uff.ic.dyevc.application.IConstants; import br.uff.ic.dyevc.exception.DyeVCException; import br.uff.ic.dyevc.exception.MonitorException; import br.uff.ic.dyevc.exception.RepositoryReferencedExcep...
Refactoring methods and comments related to #70.
DyeVC/src/main/java/br/uff/ic/dyevc/monitor/TopologyUpdater.java
Refactoring methods and comments related to #70.
<ide><path>yeVC/src/main/java/br/uff/ic/dyevc/monitor/TopologyUpdater.java <ide> LoggerFactory.getLogger(TopologyUpdater.class).trace("updateRepositoryTopology -> Entry."); <ide> String systemName = repositoryToUpdate.getSystemName(); <ide> <add> // TODO implement lock mechanism <ide> tr...
JavaScript
agpl-3.0
1f8aa6af5103d1b2fc0c3fac50771c5d96d9a796
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
54c0ecee-2e63-11e5-9284-b827eb9e62be
helloWorld.js
54bb78e0-2e63-11e5-9284-b827eb9e62be
54c0ecee-2e63-11e5-9284-b827eb9e62be
helloWorld.js
54c0ecee-2e63-11e5-9284-b827eb9e62be
<ide><path>elloWorld.js <del>54bb78e0-2e63-11e5-9284-b827eb9e62be <add>54c0ecee-2e63-11e5-9284-b827eb9e62be
Java
apache-2.0
84830e4a5231fb5b8b19b056ac8cb69e8d188db0
0
semonte/intellij-community,wreckJ/intellij-community,holmes/intellij-community,fengbaicanhe/intellij-community,muntasirsyed/intellij-community,pwoodworth/intellij-community,ThiagoGarciaAlves/intellij-community,ahb0327/intellij-community,akosyakov/intellij-community,supersven/intellij-community,fitermay/intellij-communi...
package com.intellij.testFramework; import com.intellij.execution.process.OSProcessHandler; import com.intellij.execution.process.ProcessAdapter; import com.intellij.execution.process.ProcessEvent; import com.intellij.execution.process.ProcessOutputTypes; import com.intellij.openapi.application.ApplicationManager; imp...
openapi/src/com/intellij/testFramework/AbstractVcsTestCase.java
package com.intellij.testFramework; import com.intellij.execution.process.OSProcessHandler; import com.intellij.execution.process.ProcessAdapter; import com.intellij.execution.process.ProcessEvent; import com.intellij.execution.process.ProcessOutputTypes; import com.intellij.openapi.application.ApplicationManager; imp...
test that fails: rename with replace
openapi/src/com/intellij/testFramework/AbstractVcsTestCase.java
test that fails: rename with replace
<ide><path>penapi/src/com/intellij/testFramework/AbstractVcsTestCase.java <ide> import java.util.ArrayList; <ide> import java.util.Collections; <ide> import java.util.List; <del>import java.util.regex.Matcher; <del>import java.util.regex.Pattern; <ide> <ide> /** <ide> * @author yole <ide> protected void verify(fina...
Java
mit
2477dd4702f905ea040b558ee0b355b493d354cc
0
iimog/bcgTree,iimog/bcgTree,iimog/bcgTree,iimog/bcgTree,iimog/bcgTree
package bcgTree.gui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.GridLayout; import java.awt.TextArea; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.FocusEvent; import java.awt.e...
bcgTreeGUI/src/bcgTree/gui/BcgTree.java
package bcgTree.gui; import java.awt.BorderLayout; import java.awt.Color; import java.awt.GridBagConstraints; import java.awt.GridBagLayout; import java.awt.GridLayout; import java.awt.TextArea; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.FocusEvent; import java.awt.e...
Add --genome option to GUI
bcgTreeGUI/src/bcgTree/gui/BcgTree.java
Add --genome option to GUI
<ide><path>cgTreeGUI/src/bcgTree/gui/BcgTree.java <ide> } <ide> <ide> private Map<String, File> proteomes; <add> private Map<String, File> genomes; <ide> private String outdir; <ide> private String hmmsearch_bin = ""; <ide> private String muscle_bin = ""; <ide> private String gblocks_bin = ""; <ide> private Str...
Java
mpl-2.0
bc0a06fdc2c8b700aedc159a889dd9a1ab22a071
0
MyzelYam/SuperVanish
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package de.myzelyam.supervanish.events; import de.myzelyam.supervanish.SuperVanish; import de.myzelyam.s...
src/main/java/de/myzelyam/supervanish/events/JoinEvent.java
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package de.myzelyam.supervanish.events; import de.myzelyam.supervanish.SuperVanish; import de.myzelyam.s...
Fix duplicate uuids in playerdata
src/main/java/de/myzelyam/supervanish/events/JoinEvent.java
Fix duplicate uuids in playerdata
<ide><path>rc/main/java/de/myzelyam/supervanish/events/JoinEvent.java <ide> final List<String> invisiblePlayers = plugin.getAllInvisiblePlayers(); <ide> <ide> if (getSettings().getBoolean("Configuration.Players.AutoVanishOnJoin", false) <del> && p.hasPermission("s...
Java
apache-2.0
ee85679be3aa28162dff650f4ddca7893f52e555
0
cleliameneghin/sling,codders/k2-sling-fork,SylvesterAbreu/sling,mikibrv/sling,sdmcraft/sling,tyge68/sling,anchela/sling,trekawek/sling,wimsymons/sling,headwirecom/sling,ieb/sling,cleliameneghin/sling,awadheshv/sling,tmaret/sling,mcdan/sling,labertasch/sling,headwirecom/sling,labertasch/sling,headwirecom/sling,trekawek/...
/* * 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/resource/src/test/java/org/apache/sling/jcr/resource/testhelper/RepositoryUtil.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 ...
Fix javadocs. git-svn-id: c3eb811ccca381e673aa62a65336ec26649ed58c@605563 13f79535-47bb-0310-9956-ffa450edef68
jcr/resource/src/test/java/org/apache/sling/jcr/resource/testhelper/RepositoryUtil.java
Fix javadocs.
<ide><path>cr/resource/src/test/java/org/apache/sling/jcr/resource/testhelper/RepositoryUtil.java <ide> /** <ide> * Stop a repository. <ide> * <del> * @throws RepositoryException when it is not possible to stop the <add> * @throws NamingException when it is not possible to stop the <ide> * ...
Java
apache-2.0
c07b12428d5549a8512978ab040fdd20e2cc627d
0
volodymyrpavlenko/muon-java,microserviceux/muon-java,microserviceux/muon-java
package io.muoncore.test; import static org.junit.Assert.assertEquals; import static org.junit.Assert.fail; import io.muoncore.Discovery; import io.muoncore.Muon; import io.muoncore.MuonClient.MuonResult; import io.muoncore.MuonService; import io.muoncore.MuonStreamGenerator; import io.muoncore.extension.amqp.AmqpTran...
muon-tck/src/test/java/io/muoncore/test/MuonTestCase.java
package io.muoncore.test; import static org.junit.Assert.assertEquals; import io.muoncore.Discovery; import io.muoncore.Muon; import io.muoncore.MuonClient.MuonResult; import io.muoncore.MuonService; import io.muoncore.extension.amqp.AmqpTransportExtension; import io.muoncore.extension.amqp.discovery.AmqpDiscovery; im...
Add test that checks that stream elements come correctly
muon-tck/src/test/java/io/muoncore/test/MuonTestCase.java
Add test that checks that stream elements come correctly
<ide><path>uon-tck/src/test/java/io/muoncore/test/MuonTestCase.java <ide> package io.muoncore.test; <ide> <ide> import static org.junit.Assert.assertEquals; <add>import static org.junit.Assert.fail; <ide> import io.muoncore.Discovery; <ide> import io.muoncore.Muon; <ide> import io.muoncore.MuonClient.MuonResult; <ide>...
Java
agpl-3.0
9a759a3d820a8f1df697fb065586a3fdfd17b3d7
0
dgray16/libreplan,dgray16/libreplan,poum/libreplan,Marine-22/libre,skylow95/libreplan,dgray16/libreplan,skylow95/libreplan,skylow95/libreplan,LibrePlan/libreplan,dgray16/libreplan,poum/libreplan,dgray16/libreplan,LibrePlan/libreplan,Marine-22/libre,poum/libreplan,LibrePlan/libreplan,PaulLuchyn/libreplan,LibrePlan/libre...
/* * This file is part of LibrePlan * * Copyright (C) 2009-2010 Fundación para o Fomento da Calidade Industrial e * Desenvolvemento Tecnolóxico de Galicia * Copyright (C) 2010-2011 Igalia, S.L. * * This program is free software: you can redistribute it and/or modify * it under the terms ...
libreplan-webapp/src/main/java/org/libreplan/web/planner/company/CompanyPlanningController.java
/* * This file is part of LibrePlan * * Copyright (C) 2009-2010 Fundación para o Fomento da Calidade Industrial e * Desenvolvemento Tecnolóxico de Galicia * Copyright (C) 2010-2011 Igalia, S.L. * * This program is free software: you can redistribute it and/or modify * it under the terms ...
Prevent NullPointerException filling progress type combo FEA: ItEr75S04BugFixing
libreplan-webapp/src/main/java/org/libreplan/web/planner/company/CompanyPlanningController.java
Prevent NullPointerException filling progress type combo
<ide><path>ibreplan-webapp/src/main/java/org/libreplan/web/planner/company/CompanyPlanningController.java <ide> item.setValue(progressType); <ide> item.setLabel(_(progressType.getValue())); <ide> <del> if (getProgressTypeFromConfiguration().equals(progressType)) { <add> Pr...
Java
bsd-3-clause
69ac43fbb838129da8a18032eb083ae83a2015f4
0
Hyperion3360/HyperionRobot2014
// RobotBuilder Version: 1.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks...
src/org/usfirst/frc3360/Hyperion2014/Robot.java
// RobotBuilder Version: 1.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the blocks...
Can select which autonomous mode is used.
src/org/usfirst/frc3360/Hyperion2014/Robot.java
Can select which autonomous mode is used.
<ide><path>rc/org/usfirst/frc3360/Hyperion2014/Robot.java <ide> oi = new OI(); <ide> <ide> // instantiate the command used for the autonomous period <add> double axisPos = oi.getDriverLeftJoystick().getRawAxis(3); <add> if(axisPos > .5){ <ide> autonomousCommand = new Auto...
Java
apache-2.0
b2703c52aba1966a370c768391553f2bca6a07a7
0
dan-zx/rox-server
package com.grayfox.server.service.impl; import java.util.ArrayList; import java.util.List; import javax.inject.Inject; import javax.inject.Named; import com.google.maps.DirectionsApi; import com.google.maps.DirectionsApiRequest; import com.google.maps.GeoApiContext; import com.google.maps.model.DirectionsLeg; impor...
src/main/java/com/grayfox/server/service/impl/GoogleDirectionsRouteService.java
package com.grayfox.server.service.impl; import java.util.ArrayList; import java.util.List; import javax.inject.Inject; import javax.inject.Named; import com.google.maps.DirectionsApi; import com.google.maps.DirectionsApiRequest; import com.google.maps.GeoApiContext; import com.google.maps.model.DirectionsLeg; impor...
Bug fix
src/main/java/com/grayfox/server/service/impl/GoogleDirectionsRouteService.java
Bug fix
<ide><path>rc/main/java/com/grayfox/server/service/impl/GoogleDirectionsRouteService.java <ide> for (DirectionsStep step : leg.steps) { <ide> Location startLocation = new Location(); <ide> startLocation.setLatitude(step.startLocation.lat); <del> startLocation.s...
Java
mit
11c41f16f5382faaecc22d9968ead4f5a652c419
0
mcqueary/jnats
// Copyright 2015-2018 The NATS Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at: // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
src/test/java/io/nats/client/impl/ReconnectTests.java
// Copyright 2015-2018 The NATS Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at: // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
cluster name required in test config (#499)
src/test/java/io/nats/client/impl/ReconnectTests.java
cluster name required in test config (#499)
<ide><path>rc/test/java/io/nats/client/impl/ReconnectTests.java <ide> int ts2CPort = NatsTestServer.nextPort(); <ide> <ide> String[] tsInserts = { <del> "", <ide> "cluster {", <add> "name: testClusterName", <ide> "listen: localhost:" + tsCPo...
Java
apache-2.0
a3d1901f62b3b799e9a38bb91ada766243f7e1de
0
AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,AndroidX/andro...
/* * Copyright 2018 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 applica...
slices/view/src/androidTest/java/androidx/slice/render/RenderTest.java
/* * Copyright 2018 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 applica...
disable slice render test on Nexus 6P api 26 because it's failing for no apparent reason. Bug: 157980437 Test: The test works locally and slices in sample app can be rendered properly. Change-Id: Id891654e6d02ed855e78853e541823af7bfb4a11
slices/view/src/androidTest/java/androidx/slice/render/RenderTest.java
disable slice render test on Nexus 6P api 26 because it's failing for no apparent reason.
<ide><path>lices/view/src/androidTest/java/androidx/slice/render/RenderTest.java <ide> <ide> @Test <ide> public void testRender() throws Exception { <add> if (Build.VERSION.SDK_INT == Build.VERSION_CODES.O && Build.MODEL.contains("Nexus 6P")) { <add> // Known issue b/157980437, disabling the ...
JavaScript
bsd-2-clause
5dd48ffdff9a25689491639769fb0f34c9ff1376
0
sethlu/electron-osx-sign,electron-userland/electron-osx-sign
var fs = require('fs') var path = require('path') var child = require('child_process') var series = require('run-series') function generateAppBasename (opts) { return path.basename(opts.app, '.app') } function generateAppFrameworksPath (opts) { return path.join(opts.app, 'Contents', 'Frameworks') } function gen...
index.js
var fs = require('fs') var path = require('path') var child = require('child_process') var series = require('run-series') function generateAppBasename (opts) { return path.basename(opts.app, '.app') } function generateAppFrameworksPath (opts) { return path.join(opts.app, 'Contents', 'Frameworks') } function gen...
Sign libnode.dylib
index.js
Sign libnode.dylib
<ide><path>ndex.js <ide> var childPaths <ide> if (opts.platform === 'mas') { <ide> childPaths = [ <add> path.join(appFrameworksPath, 'Electron Framework.framework', 'Libraries', 'libnode.dylib'), <ide> path.join(appFrameworksPath, 'Electron Framework.framework', 'Versions', 'A', 'Electron Framework')...
Java
apache-2.0
e1a3db40cd4ad857f56bd93f9e8aae4aabc6b2cd
0
SimonVT/cathode,SimonVT/cathode
/* * Copyright (C) 2016 Simon Vig Therkildsen * * 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 ...
cathode/src/main/java/net/simonvt/cathode/ui/show/ShowFragment.java
/* * Copyright (C) 2016 Simon Vig Therkildsen * * 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 ...
Handle case where ShowStatus is null.
cathode/src/main/java/net/simonvt/cathode/ui/show/ShowFragment.java
Handle case where ShowStatus is null.
<ide><path>athode/src/main/java/net/simonvt/cathode/ui/show/ShowFragment.java <ide> final String airDay = Cursors.getString(cursor, ShowColumns.AIR_DAY); <ide> final String network = Cursors.getString(cursor, ShowColumns.NETWORK); <ide> final String certification = Cursors.getString(cursor, ShowColumns.CERT...
Java
apache-2.0
4b3f5ad358e69a36ed97edc83d41f3161a2dc14c
0
vipshop/Saturn,vipshop/Saturn,vipshop/Saturn,vipshop/Saturn,vipshop/Saturn
package com.vip.saturn.job.basic; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map.Entry; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicBoolean; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ch.qos.logback.c...
saturn-core/src/main/java/com/vip/saturn/job/basic/ShutdownHandler.java
package com.vip.saturn.job.basic; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map.Entry; import java.util.concurrent.ConcurrentHashMap; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import ch.qos.logback.classic.LoggerContext; import sun.misc.Signal; impo...
#277 fix shutdow handle
saturn-core/src/main/java/com/vip/saturn/job/basic/ShutdownHandler.java
#277 fix shutdow handle
<ide><path>aturn-core/src/main/java/com/vip/saturn/job/basic/ShutdownHandler.java <ide> import java.util.List; <ide> import java.util.Map.Entry; <ide> import java.util.concurrent.ConcurrentHashMap; <add>import java.util.concurrent.atomic.AtomicBoolean; <ide> <ide> import org.slf4j.Logger; <ide> import org.slf4j.Logger...
Java
mit
6446b27b7072a92e440fb5fc736f81f30bcf49ca
0
AmadouSallah/Programming-Interview-Questions,AmadouSallah/Programming-Interview-Questions
/* Leetcode Problem 114: Flatten Binary Tree to Linked List https://leetcode.com/problems/flatten-binary-tree-to-linked-list/description/ Given a binary tree, flatten it to a linked list in-place. For example, given the following tree: 1 / \ 2 5 / \ \ 3 4 6 The flattened tree should look like: 1 ...
leetcode/java/prob114FlattenBinaryTree/FlattenBinaryTree.java
/* Leetcode Problem 114: Flatten Binary Tree to Linked List https://leetcode.com/problems/flatten-binary-tree-to-linked-list/description/ Given a binary tree, flatten it to a linked list in-place. For example, given the following tree: 1 / \ 2 5 / \ \ 3 4 6 The flattened tree should look like: 1 ...
Added solution for FlattenBinaryTree.java
leetcode/java/prob114FlattenBinaryTree/FlattenBinaryTree.java
Added solution for FlattenBinaryTree.java
<ide><path>eetcode/java/prob114FlattenBinaryTree/FlattenBinaryTree.java <ide> \ <ide> 6 <ide> */ <add>import java.util.Stack; <add> <add>public class FlattenBinaryTree { <add> <add> public static class TreeNode { <add> int value; <add> TreeNode left, right; <add> public TreeNode(int value) ...
Java
apache-2.0
c1c3a60a56565d39e93ea92e0819ce5c19bf9146
0
SeanRoy/lambda-maven-plugin
package com.github.seanroy.plugins; import static com.amazonaws.services.lambda.model.EventSourcePosition.LATEST; import static java.util.Optional.empty; import static java.util.Optional.of; import static java.util.Optional.ofNullable; import static java.util.stream.Collectors.toList; import java.io.File; import java...
src/main/java/com/github/seanroy/plugins/DeployLambdaMojo.java
package com.github.seanroy.plugins; import static com.amazonaws.services.lambda.model.EventSourcePosition.LATEST; import static java.util.Optional.empty; import static java.util.Optional.of; import static java.util.Optional.ofNullable; import static java.util.stream.Collectors.toList; import java.io.File; import java...
deploy λ function if local code ≠ s3 code Motivation Assuming the S3 location is the canonical source for your λ code it is right to deploy a function only when the code differs. Previously the decision to update was base on either of three things: - function does not exist on AWS Lambda - function JSON configuratio...
src/main/java/com/github/seanroy/plugins/DeployLambdaMojo.java
deploy λ function if local code ≠ s3 code
<ide><path>rc/main/java/com/github/seanroy/plugins/DeployLambdaMojo.java <ide> <ide> import java.io.File; <ide> import java.io.FileInputStream; <add>import java.io.IOException; <ide> import java.util.ArrayList; <ide> import java.util.List; <ide> import java.util.Objects; <ide> import java.util.function.Function; <ide>...
Java
apache-2.0
38bafeaf27b0a0d033c727c174b75ef4ae23d93a
0
jeremylong/DependencyCheck,stefanneuhaus/DependencyCheck,jeremylong/DependencyCheck,stefanneuhaus/DependencyCheck,jeremylong/DependencyCheck,awhitford/DependencyCheck,stefanneuhaus/DependencyCheck,awhitford/DependencyCheck,awhitford/DependencyCheck,awhitford/DependencyCheck,awhitford/DependencyCheck,jeremylong/Dependen...
/* * This file is part of dependency-check-core. * * 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 ...
core/src/test/java/org/owasp/dependencycheck/analyzer/RubyBundleAuditAnalyzerIT.java
/* * This file is part of dependency-check-core. * * 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 ...
minor updates to avoid build warnings
core/src/test/java/org/owasp/dependencycheck/analyzer/RubyBundleAuditAnalyzerIT.java
minor updates to avoid build warnings
<ide><path>ore/src/test/java/org/owasp/dependencycheck/analyzer/RubyBundleAuditAnalyzerIT.java <ide> Assume.assumeNoException("Exception setting up RubyBundleAuditAnalyzer; bundle audit may not be installed, or property \"analyzer.bundle.audit.path\" may not be set.", ex); <ide> return; ...
Java
lgpl-2.1
8f860e5f4fee9a371c6d06a1120ef56b30bed4b3
0
xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-docker/src/main/java/org/xwiki/test/docker/internal/junit5/database/DatabaseContainerExecutor.java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
[Misc] Make it work when the MySQL or MariaDB DB docker tag is "latest"
xwiki-platform-core/xwiki-platform-test/xwiki-platform-test-docker/src/main/java/org/xwiki/test/docker/internal/junit5/database/DatabaseContainerExecutor.java
[Misc] Make it work when the MySQL or MariaDB DB docker tag is "latest"
<ide><path>wiki-platform-core/xwiki-platform-test/xwiki-platform-test-docker/src/main/java/org/xwiki/test/docker/internal/junit5/database/DatabaseContainerExecutor.java <ide> <ide> private boolean isMySQL8xPlus(TestConfiguration testConfiguration) <ide> { <del> return (testConfiguration.getDatabaseTag()...
JavaScript
mit
c31fa813b1e1a9c3c1ee65da183504cde9095717
0
beni55/primus,colinbate/primus,STRML/primus,dercodebearer/primus,primus/primus,STRML/primus,dercodebearer/primus,colinbate/primus,beni55/primus,STRML/primus,beni55/primus,primus/primus,primus/primus,dercodebearer/primus,colinbate/primus
(function(f){var g;if(typeof window!=='undefined'){g=window}else if(typeof self!=='undefined'){g=self}g.eio=f()})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cann...
transformers/engine.io/library.js
!function(e){var f;'undefined'!=typeof window?f=window:'undefined'!=typeof self&&(f=self),f.eio=e()}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find modul...
[minor] Rebuild the Engine.IO client -- version 1.5.4
transformers/engine.io/library.js
[minor] Rebuild the Engine.IO client -- version 1.5.4
<ide><path>ransformers/engine.io/library.js <del>!function(e){var f;'undefined'!=typeof window?f=window:'undefined'!=typeof self&&(f=self),f.eio=e()}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)...
Java
apache-2.0
c4368994df71a212b7ec78c3879617fcfc638e7d
0
orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb
/* * * * Copyright 2010-2016 OrientDB LTD (http://orientdb.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...
core/src/main/java/com/orientechnologies/orient/core/index/OIndexFullText.java
/* * * * Copyright 2010-2016 OrientDB LTD (http://orientdb.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...
chore: removed some index implementations not needed anymore
core/src/main/java/com/orientechnologies/orient/core/index/OIndexFullText.java
chore: removed some index implementations not needed anymore
<ide><path>ore/src/main/java/com/orientechnologies/orient/core/index/OIndexFullText.java <ide> } <ide> } <ide> <del> private void doPutV1(OIdentifiable singleValue, String word) { <del> while (true) { <del> try { <del> storage.putRidIndexEntry(indexId, word, singleValue.getIdentity()); <del> ...
JavaScript
mit
622ca8c05f5e5fb6d32ea6f284290b4339d91d36
0
akshay-harale/akshay-harale.github.io,akshay-harale/akshay-harale.github.io
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ re...
bundle.js
/******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ re...
new build with video player
bundle.js
new build with video player
<ide><path>undle.js <ide> /***/ (function(module, __webpack_exports__, __webpack_require__) { <ide> <ide> "use strict"; <del>eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return Home; });\n/* harmony import */ var ...
JavaScript
mit
4e617a576c29577d44702360fda82d01a96da822
0
larsthorup/pluto
/*global define*/ define([ 'jquery', 'backbone', 'lodash' ], function ($, Backbone,_) { 'use strict'; var CardView = Backbone.View.extend({ initialize: function() { var $el = $('#card', this.options.document); this.setElement($el[0]); }, render: functi...
src/app/views/card.js
/*global define*/ define([ 'backbone', 'lodash' ], function (Backbone,_) { 'use strict'; var CardView = Backbone.View.extend({ initialize: function() { var $el = $('#card', this.options.document); this.setElement($el[0]); }, render: function() { ...
fix dependency bug
src/app/views/card.js
fix dependency bug
<ide><path>rc/app/views/card.js <ide> /*global define*/ <ide> define([ <add> 'jquery', <ide> 'backbone', <ide> 'lodash' <del>], function (Backbone,_) { <add>], function ($, Backbone,_) { <ide> 'use strict'; <ide> var CardView = Backbone.View.extend({ <ide> initialize: function() {
Java
apache-2.0
b24bd39cf3f0481130b86032ecb8427270cb77e1
0
flipkart-incubator/flux,flipkart-incubator/flux,flipkart-incubator/flux,flipkart-incubator/flux
/* * Copyright 2012-2016, the original author or authors. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law ...
task/src/main/java/com/flipkart/flux/impl/task/LocalJvmTask.java
/* * Copyright 2012-2016, the original author or authors. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law ...
Changed error message
task/src/main/java/com/flipkart/flux/impl/task/LocalJvmTask.java
Changed error message
<ide><path>ask/src/main/java/com/flipkart/flux/impl/task/LocalJvmTask.java <ide> if(Class.forName(events[i].getType(), true, classLoader).equals(parameterTypes[i])) { <ide> parameters[i] = objectMapper.getMethod("readValue", String.class, Class.class).invoke(objectMapperInstance, eve...
Java
apache-2.0
c995f8f9c27a2a47cb1ca00cae8855324b4cb010
0
nectec-wisru/marlo
/* * Copyright (c) 2017 NECTEC * National Electronics and Computer Technology Center, Thailand * * 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/...
marlo/src/main/java/th/or/nectec/marlo/model/Polygon.java
/* * Copyright (c) 2017 NECTEC * National Electronics and Computer Technology Center, Thailand * * 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/...
not parse empty hole or invalid hole to geojson this prevent exception on runtime but can be cause of data error if not carefully check polygon
marlo/src/main/java/th/or/nectec/marlo/model/Polygon.java
not parse empty hole or invalid hole to geojson this prevent exception on runtime but can be cause of data error if not carefully check polygon
<ide><path>arlo/src/main/java/th/or/nectec/marlo/model/Polygon.java <ide> JSONArray coordinate = new JSONArray(); <ide> coordinate.put(boundaryToJson()); <ide> for (Polygon hole : holes) { <add> if (hole.isEmpty() || !hole.isValid()) <add> continue; <ide> co...
JavaScript
apache-2.0
c3b9fc241fc31c1227380efe71e0a20b517793c2
0
cafjs/caf_iot
/*! Copyright 2013 Hewlett-Packard Development Company, L.P. 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 ...
lib/iot_main.js
/*! Copyright 2013 Hewlett-Packard Development Company, L.P. 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 ...
Fix comment
lib/iot_main.js
Fix comment
<ide><path>ib/iot_main.js <ide> }; <ide> <ide> /** <del> * Returns this application fully qualified name, e.g., <del> * 'root-helloworld.cafjs.com' <add> * Returns the CA name, e.g., 'foo-device1'. <ide> * <del> * @return {string} A fully qualified name for this...
Java
agpl-3.0
8c83842c9350ff2a4931e4abe1f03b50e63f2848
0
WASP-System/central,WASP-System/central,WASP-System/central,WASP-System/central,WASP-System/central,WASP-System/central
package edu.yu.einstein.wasp.controller; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.TreeMap; import javax.servlet.http.HttpServletResponse; import javax.validation.Valid;...
src/main/java/edu/yu/einstein/wasp/controller/LabController.java
package edu.yu.einstein.wasp.controller; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.TreeMap; import javax.servlet.http.HttpServletResponse; import javax.validation.Valid;...
fixes WS-92
src/main/java/edu/yu/einstein/wasp/controller/LabController.java
fixes WS-92
<ide><path>rc/main/java/edu/yu/einstein/wasp/controller/LabController.java <ide> return "redirect:/dashboard.do"; <ide> } <ide> <del> if (userPending.getLabId() != labId) { <add> if (userPending.getLabId().intValue() != labId.intValue()) { <ide> waspMessage("userPending.labid_mismatch.error"); <ide> ret...
JavaScript
mit
623592b7887389db37220e63673405fb54e93a1b
0
diego-leal/connapp-web-cms,diego-leal/connapp-web-cms,diego-leal/connapp-web-cms
module.exports = function( app ) { const Model = app.models.user, user = require( '../lib/mongoose')( Model ); function createUser( req, res ) { let doc = req.body; Promise.resolve( doc ) .then( validateName ) .then( validateGroup ) .then( validatePassword ) .then( validate...
api/controllers/user.js
module.exports = function( app ) { const Model = app.models.user, user = require( '../lib/mongoose')( Model ); function createUser( req, res ) { let doc = req.body; user.save( doc ) .then( status => res.json( status ) ) .catch( error => res.status( 500 ).json( error ) ); } return ...
[UPDATE]: Adicionado validação dos parametros da requisição
api/controllers/user.js
[UPDATE]: Adicionado validação dos parametros da requisição
<ide><path>pi/controllers/user.js <ide> function createUser( req, res ) { <ide> let doc = req.body; <ide> <del> user.save( doc ) <del> .then( status => res.json( status ) ) <del> .catch( error => res.status( 500 ).json( error ) ); <add> Promise.resolve( doc ) <add> .then( validateName ) <add...
Java
apache-2.0
e9cb99572d4ea1edebf48004361c7e0473c9b1db
0
tomgibara/storage
/* * Copyright 2015 Tom Gibara * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in ...
src/main/java/com/tomgibara/storage/PrimitiveStore.java
/* * Copyright 2015 Tom Gibara * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in ...
Corrects creation of primitive stores with initial values.
src/main/java/com/tomgibara/storage/PrimitiveStore.java
Corrects creation of primitive stores with initial values.
<ide><path>rc/main/java/com/tomgibara/storage/PrimitiveStore.java <ide> values = new byte[size]; <ide> nullValue = nullSettable ? type.nullValue : (byte) 0; <ide> if (initialValue == null) initialValue = nullValue; <del> if (nullValue != (byte) 0) Arrays.fill(values, initialValue); <add> if (initialValue !...
Java
apache-2.0
79a2c2441d4a9870a59e6bc1b68d4f21c97911c8
0
dallascard/TemporalFrames
import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.nio.file.Paths; import java.nio.file.Path; import java.util.*; import org.apache.commons.math3.distribution.BetaDistribution; import org.apache.commons.math3.distribution.NormalDistribution; import org.json.simple.JSONArray; import ...
src/CombinedModel.java
import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.nio.file.Paths; import java.nio.file.Path; import java.util.*; import org.apache.commons.math3.distribution.BetaDistribution; import org.apache.commons.math3.distribution.NormalDistribution; import org.json.simple.JSONArray; import ...
removing random annotator thing
src/CombinedModel.java
removing random annotator thing
<ide><path>rc/CombinedModel.java <ide> // create a hashmap to store the annotations for this article <ide> HashMap<Integer, Integer> articleAnnotations = new HashMap<>(); <ide> <del> // only take one annotation for the tone, as they should all be t...
Java
mit
error: pathspec 'src/me/vrekt/lunar/world/WorldGrid.java' did not match any file(s) known to git
5b109cfe218892826b75065d1bf5bf3bfd65b398
1
Vrekt/Lunar
package me.vrekt.lunar.world; import java.awt.Graphics; import java.awt.Rectangle; import java.util.ArrayList; import java.util.List; /** * Created by Vrekt on 3/16/2017. */ public class WorldGrid { private int tileWidth, tileHeight; private int width, height; private List<Rectangle> worldGrid; /...
src/me/vrekt/lunar/world/WorldGrid.java
WorldGrid file
src/me/vrekt/lunar/world/WorldGrid.java
WorldGrid file
<ide><path>rc/me/vrekt/lunar/world/WorldGrid.java <add>package me.vrekt.lunar.world; <add> <add>import java.awt.Graphics; <add>import java.awt.Rectangle; <add>import java.util.ArrayList; <add>import java.util.List; <add> <add>/** <add> * Created by Vrekt on 3/16/2017. <add> */ <add>public class WorldGrid { <add> <add> ...
JavaScript
agpl-3.0
606c601fc01257e336c53898ceb46d8f9946280e
0
suyashphadtare/vestasi-erp-final,gangadhar-kadam/verve_live_erp,MartinEnder/erpnext-de,dieface/erpnext,mbauskar/helpdesk-erpnext,saurabh6790/test-erp,rohitwaghchaure/erpnext-receipher,indictranstech/trufil-erpnext,rohitwaghchaure/GenieManager-erpnext,indictranstech/reciphergroup-erpnext,BhupeshGupta/erpnext,indictranst...
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt cur_frm.cscript.tname = "Stock Entry Detail"; cur_frm.cscript.fname = "mtn_details"; frappe.require("assets/erpnext/js/controllers/stock_controller.js"); frappe.provide("erpnext.stock");...
erpnext/stock/doctype/stock_entry/stock_entry.js
// Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt cur_frm.cscript.tname = "Stock Entry Detail"; cur_frm.cscript.fname = "mtn_details"; frappe.require("assets/erpnext/js/controllers/stock_controller.js"); frappe.provide("erpnext.stock");...
Make debit/credit note from sales/purchase return
erpnext/stock/doctype/stock_entry/stock_entry.js
Make debit/credit note from sales/purchase return
<ide><path>rpnext/stock/doctype/stock_entry/stock_entry.js <ide> if(!r.exc) { <ide> var jv_name = frappe.model.make_new_doc_and_get_name('Journal Voucher'); <ide> var jv = locals["Journal Voucher"][jv_name]; <del> $.extend(jv, r.message[0]); <del> $.each(r.message.slice(1), function(i, jvd) {...
Java
apache-2.0
c2853da73d98c59691e2985ad6337171d574940b
0
RussellWilby/Aeron,UIKit0/Aeron,galderz/Aeron,mikeb01/Aeron,RussellWilby/Aeron,johnpr01/Aeron,gkamal/Aeron,rlankenau/Aeron,strangelydim/Aeron,ycaihua/Aeron,qed-/Aeron,EvilMcJerkface/Aeron,real-logic/Aeron,mikeb01/Aeron,EvilMcJerkface/Aeron,real-logic/Aeron,gkamal/Aeron,gkamal/Aeron,real-logic/Aeron,galderz/Aeron,strang...
/* * Copyright 2014 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 agreed to ...
aeron-util/src/test/java/uk/co/real_logic/aeron/util/AtomicArrayTest.java
/* * Copyright 2014 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 agreed to ...
[Java:] Replace deprecated method call.
aeron-util/src/test/java/uk/co/real_logic/aeron/util/AtomicArrayTest.java
[Java:] Replace deprecated method call.
<ide><path>eron-util/src/test/java/uk/co/real_logic/aeron/util/AtomicArrayTest.java <ide> import java.util.Set; <ide> <ide> import static java.util.Arrays.asList; <del>import static junit.framework.Assert.assertTrue; <add>import static org.junit.Assert.assertTrue; <ide> import static org.hamcrest.MatcherAssert.assertT...
Java
apache-2.0
60a688509e66cb9e06359598d3800a42ebec8f52
0
buzzxu/nifty,andrewcox/nifty,szulijun/nifty,alandau/nifty,facebook/nifty,javazhangtao/nifty,electrum/nifty,ivmaykov/nifty
/* * Copyright (C) 2012-2013 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
nifty-client/src/main/java/com/facebook/nifty/client/NiftyClient.java
/* * Copyright (C) 2012-2013 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
Remove unnecessary close future handlers When you add a channel to DefaultChannelGroup, netty already sets up a close future to remove the channel from the group when it is closed
nifty-client/src/main/java/com/facebook/nifty/client/NiftyClient.java
Remove unnecessary close future handlers
<ide><path>ifty-client/src/main/java/com/facebook/nifty/client/NiftyClient.java <ide> Channel channel = future.getChannel(); <ide> if (channel != null && channel.isOpen()) { <ide> allChannels.add(channel); <del> channel.getCloseFuture().addListener(...
Java
mit
3d7e2fc6c9486294a967a58c273552acf82fe7ad
0
dongguangming/python-for-android,chozabu/p4a-ctypes,tsdl2013/python-for-android,eHealthAfrica/python-for-android,germn/python-for-android,ckudzu/python-for-android,dongguangming/python-for-android,Cheaterman/python-for-android,renpytom/python-for-android,manashmndl/python-for-android,gonboy/python-for-android,ehealthaf...
package org.renpy.android; import android.app.Service; import android.os.IBinder; import android.os.Bundle; import android.content.Intent; import android.content.Context; import android.util.Log; import android.app.Notification; import android.app.PendingIntent; import android.os.Process; public class PythonService ...
src/src/org/renpy/android/PythonService.java
package org.renpy.android; import android.app.Service; import android.os.IBinder; import android.os.Bundle; import android.content.Intent; import android.content.Context; import android.util.Log; import android.app.Notification; import android.app.PendingIntent; import android.os.Process; import android.R; public cl...
use application icon for notification
src/src/org/renpy/android/PythonService.java
use application icon for notification
<ide><path>rc/src/org/renpy/android/PythonService.java <ide> import android.app.Notification; <ide> import android.app.PendingIntent; <ide> import android.os.Process; <del>import android.R; <ide> <ide> public class PythonService extends Service implements Runnable { <ide> <ide> pythonThread = new Thread(thi...
Java
apache-2.0
7a2eb4636c5887008eafd4df686cc70318aa6c2c
0
FlatBallFlyer/IBM-Data-Merge-Utility,FlatBallFlyer/IBM-Data-Merge-Utility,FlatBallFlyer/IBM-Data-Merge-Utility
/* * Copyright 2015-2017 IBM * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
src/main/java/com/ibm/util/merge/Cache.java
/* * Copyright 2015-2017 IBM * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
Shifted cache to use ConcurrentHashMap
src/main/java/com/ibm/util/merge/Cache.java
Shifted cache to use ConcurrentHashMap
<ide><path>rc/main/java/com/ibm/util/merge/Cache.java <ide> import java.util.HashMap; <ide> import java.util.HashSet; <ide> import java.util.Iterator; <add>import java.util.concurrent.ConcurrentHashMap; <ide> import java.util.logging.Level; <ide> import java.util.logging.Logger; <ide> <ide> */ <ide> public class Cach...
Java
mit
32d98bea99ccae997798ebc89ad15a1a5858c171
0
bandwidthcom/java-bandwidth-iris
package com.bandwidth.iris.sdk.model; import com.bandwidth.iris.sdk.IrisClient; import com.bandwidth.iris.sdk.IrisPath; import com.bandwidth.iris.sdk.IrisResponse; import com.bandwidth.iris.sdk.utils.XmlUtils; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import jav...
src/main/java/com/bandwidth/iris/sdk/model/AvailableNpaNxx.java
package com.bandwidth.iris.sdk.model; import com.bandwidth.iris.sdk.IrisClient; import com.bandwidth.iris.sdk.IrisPath; import com.bandwidth.iris.sdk.IrisResponse; import com.bandwidth.iris.sdk.utils.XmlUtils; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import jav...
Resolves #30
src/main/java/com/bandwidth/iris/sdk/model/AvailableNpaNxx.java
Resolves #30
<ide><path>rc/main/java/com/bandwidth/iris/sdk/model/AvailableNpaNxx.java <ide> @XmlElement(name = "Quantity") <ide> private int quantity; <ide> @XmlElement(name = "State") <del> private int state; <add> private String state; <ide> <ide> public static List<AvailableNpaNxx> list(IrisClient client,...
Java
apache-2.0
68b30f2dc47277bfbf10f56d2d49997bbfbe722c
0
f2prateek/device-frame-generator,f2prateek/device-frame-generator,f2prateek/device-frame-generator
/* * Copyright 2014 Prateek Srivastava (@f2prateek) * * 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 require...
app/src/main/java/com/f2prateek/dfg/ui/fragments/DeviceFragment.java
/* * Copyright 2014 Prateek Srivastava (@f2prateek) * * 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 require...
Load by size of views
app/src/main/java/com/f2prateek/dfg/ui/fragments/DeviceFragment.java
Load by size of views
<ide><path>pp/src/main/java/com/f2prateek/dfg/ui/fragments/DeviceFragment.java <ide> public void onViewCreated(View view, Bundle savedInstanceState) { <ide> super.onViewCreated(view, savedInstanceState); <ide> picasso.load(BitmapUtils.getResourceIdentifierForDrawable(getActivity(), <del> device.getThum...
Java
bsd-3-clause
8770501b88e6ae5d716e52720aab61b4d0bb34c6
0
shakalaca/BeautyClockLiveWallpaper
package com.corner23.android.beautyclocklivewallpaper; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.ByteArrayOutputStream; import java.io.Closeable; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import ...
src/com/corner23/android/beautyclocklivewallpaper/BeautyClockLiveWallpaper.java
package com.corner23.android.beautyclocklivewallpaper; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.ByteArrayOutputStream; import java.io.Closeable; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import ...
[New Feature] Separate screen & timer broadcast receiver, may save battery.. / fix async task error
src/com/corner23/android/beautyclocklivewallpaper/BeautyClockLiveWallpaper.java
[New Feature] Separate screen & timer broadcast receiver, may save battery.. / fix async task error
<ide><path>rc/com/corner23/android/beautyclocklivewallpaper/BeautyClockLiveWallpaper.java <ide> private ConnectivityManager cm = null; <ide> <ide> private boolean mIsScreenOn = true; <add> private boolean mRegScreenBR = false; <add> private boolean mRegTimeBR = false; <ide> <ide> private String getPATH(int hour, ...
Java
apache-2.0
4f1eb8d6dd3eb03fe67162f448334e7e61bf19ce
0
wido/cloudstack,DaanHoogland/cloudstack,jcshen007/cloudstack,wido/cloudstack,resmo/cloudstack,resmo/cloudstack,GabrielBrascher/cloudstack,resmo/cloudstack,GabrielBrascher/cloudstack,resmo/cloudstack,wido/cloudstack,GabrielBrascher/cloudstack,DaanHoogland/cloudstack,DaanHoogland/cloudstack,DaanHoogland/cloudstack,wido/c...
// 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...
engine/schema/src/com/cloud/host/dao/HostDaoImpl.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...
coverity 1116711: findLostHost trivial try-with-resource inserted Signed-off-by: Daan Hoogland <0c11e55e6a36a8185db5745ba7416a2dde0b12ba@onecht.net>
engine/schema/src/com/cloud/host/dao/HostDaoImpl.java
coverity 1116711: findLostHost trivial try-with-resource inserted
<ide><path>ngine/schema/src/com/cloud/host/dao/HostDaoImpl.java <ide> @DB <ide> @Override <ide> public List<HostVO> findLostHosts(long timeout) { <del> TransactionLegacy txn = TransactionLegacy.currentTxn(); <del> PreparedStatement pstmt = null; <ide> List<HostVO> result = new ArrayLis...
Java
apache-2.0
error: pathspec 'mavenproject1/src/main/java/fasam/global/entidades/Artigo.java' did not match any file(s) known to git
5448ae1f3637e40ad2104c7f1b86af0a54be6593
1
FASAM-ES/Global
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package fasam.global.entidades; /** * * @author Aluno */ public class Artigo { }
mavenproject1/src/main/java/fasam/global/entidades/Artigo.java
Incluindo classe artigo
mavenproject1/src/main/java/fasam/global/entidades/Artigo.java
Incluindo classe artigo
<ide><path>avenproject1/src/main/java/fasam/global/entidades/Artigo.java <add>/* <add> * To change this template, choose Tools | Templates <add> * and open the template in the editor. <add> */ <add>package fasam.global.entidades; <add> <add>/** <add> * <add> * @author Aluno <add> */ <add>public class Artigo { <add> ...
JavaScript
mit
ee4bfc627bb4e00f386db4b880fba9199688d63c
0
kevinb7/iframe-overlay,kevinbarabash/iframe-overlay
/*global describe, beforeEach, afterEach, it */ describe("Iframe Overlay", function () { var iframe, listener, overlay, overlayElement; beforeEach(function (done) { iframe = document.createElement("iframe"); iframe.onload = function () { done(); }; iframe.setAttribu...
test/test-spec.js
/*global describe, beforeEach, afterEach, it */ describe("Iframe Overlay", function () { var iframe, listener, overlay, overlayElement; beforeEach(function (done) { iframe = document.createElement("iframe"); iframe.onload = function () { done(); }; iframe.setAttribu...
added some better tests
test/test-spec.js
added some better tests
<ide><path>est/test-spec.js <ide> }); <ide> <ide> it("should trigger keyboard events with the right keyCode", function (done) { <del> var keyCodes = [65, 66, 67]; <del> var eventCount = 0; <del> listener = function (e) { <del> var data = e.originalEvent.d...
JavaScript
mit
051d3ffa493ead759e3e2a0a568cb17d0e8f0c25
0
tkless/ccm-components,tkless/ccm-components
/** * @overview ccm component for real time Forum * @author Tea Kless <tea.kless@web.de>, 2017 * @license The MIT License (MIT) */ ( function () { var component = { name: 'forum', version:[ 1,0,0 ], /** * recommended used framework version * @type {string} */ ccm: { url: ...
forum/versions/ccm.forum-1.0.0.js
/** * @overview ccm component for real time Forum * @author Tea Kless <tea.kless@web.de>, 2017 * @license The MIT License (MIT) */ ( function () { var component = { name: 'forum', version:[ 1,0,0 ], ccm: { url: 'https://akless.github.io/ccm/version/ccm-10.0.0.min.js', integrity: 'sha3...
add latest stable ccm version
forum/versions/ccm.forum-1.0.0.js
add latest stable ccm version
<ide><path>orum/versions/ccm.forum-1.0.0.js <ide> name: 'forum', <ide> version:[ 1,0,0 ], <ide> <add> /** <add> * recommended used framework version <add> * @type {string} <add> */ <ide> ccm: { <del> url: 'https://akless.github.io/ccm/version/ccm-10.0.0.min.js', <del> integrity: 's...
JavaScript
mit
9022a7b7bf203261378e451141d0f161c3e5cc31
0
marcostomazini/otima,marcostomazini/otima,marcostomazini/otima
'use strict'; var RaspiCam = require("raspicam"); /** * Module dependencies. */ exports.index = function(req, res) { res.render('index', { user: req.user || null, request: req }); }; exports.photo = function(req, res) { var camera = new RaspiCam({ mode: "photo", output: "teste.jpg", w: 180 }); came...
app/controllers/core.server.controller.js
'use strict'; var RaspiCam = require("raspicam"); /** * Module dependencies. */ exports.index = function(req, res) { res.render('index', { user: req.user || null, request: req }); }; exports.photo = function(req, res) { var camera = new RaspiCam({ mode: "photo", w: 180 }); camera.start('timelapse'); ...
camera 2
app/controllers/core.server.controller.js
camera 2
<ide><path>pp/controllers/core.server.controller.js <ide> exports.photo = function(req, res) { <ide> var camera = new RaspiCam({ <ide> mode: "photo", <add> output: "teste.jpg", <ide> w: 180 <ide> }); <ide> camera.start('timelapse');
Java
lgpl-2.1
ebef487dc8150d4b4605d6d44950fb9939f612cc
0
xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
xwiki-platform-core/xwiki-platform-application-manager/xwiki-platform-application-manager-api/src/test/java/com/xpn/xwiki/plugin/applicationmanager/core/doc/objects/classes/DefaultXObjectDocumentTest.java
/* * See the NOTICE file distributed with this work for additional * information regarding copyright ownership. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * th...
XWIKI-10410: Add a new authorization manager component that take care of external context - Fix more test failures
xwiki-platform-core/xwiki-platform-application-manager/xwiki-platform-application-manager-api/src/test/java/com/xpn/xwiki/plugin/applicationmanager/core/doc/objects/classes/DefaultXObjectDocumentTest.java
XWIKI-10410: Add a new authorization manager component that take care of external context
<ide><path>wiki-platform-core/xwiki-platform-application-manager/xwiki-platform-application-manager-api/src/test/java/com/xpn/xwiki/plugin/applicationmanager/core/doc/objects/classes/DefaultXObjectDocumentTest.java <ide> <ide> package com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes; <ide> <add>import...
Java
apache-2.0
d4a71ad0c5365c288f6033508fb4f830ab19b641
0
ThiagoGarciaAlves/intellij-community,michaelgallacher/intellij-community,vvv1559/intellij-community,wreckJ/intellij-community,slisson/intellij-community,semonte/intellij-community,fnouama/intellij-community,mglukhikh/intellij-community,FHannes/intellij-community,ThiagoGarciaAlves/intellij-community,fnouama/intellij-com...
/* * Copyright 2000-2015 JetBrains s.r.o. * * 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...
plugins/git4idea/src/git4idea/GitVcs.java
/* * Copyright 2000-2015 JetBrains s.r.o. * * 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...
[git] remove obsolete code this code used to remove some hardcoded notification group, and now can be deleted since 4 years should be enough for such a cleanup.
plugins/git4idea/src/git4idea/GitVcs.java
[git] remove obsolete code
<ide><path>lugins/git4idea/src/git4idea/GitVcs.java <ide> import com.intellij.ide.BrowserUtil; <ide> import com.intellij.notification.Notification; <ide> import com.intellij.notification.NotificationListener; <del>import com.intellij.notification.impl.NotificationsConfigurationImpl; <ide> import com.intellij.openapi.ap...
JavaScript
mit
23c05f206d6cbf5958d9c3b1dd6b502c86ba069a
0
unhommequidort/react_redux,williampuk/ReduxCasts,titusjin/reduxExp,unhommequidort/react_redux,StephenGrider/ReduxCasts,williampuk/ReduxCasts,simplanapp/course,unhommequidort/react_redux,simplanapp/course,titusjin/reduxExp,StephenGrider/ReduxCasts,simplanapp/course,titusjin/reduxExp
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'; import { fetchWeather } from '../actions/index'; class SearchBar extends Component { constructor(props) { super(props); this.state = { term: '' }; this.onInputChange = this.onInp...
weather/src/containers/search_bar.js
import React, { Component } from 'react'; export default class SearchBar extends Component { constructor(props) { super(props); this.state = { term: '' }; this.onInputChange = this.onInputChange.bind(this); } onInputChange(event) { this.setState({ term: event.target.value }); } onFormSubm...
searchbar calls fetch weather action creator
weather/src/containers/search_bar.js
searchbar calls fetch weather action creator
<ide><path>eather/src/containers/search_bar.js <ide> import React, { Component } from 'react'; <add>import { connect } from 'react-redux'; <add>import { bindActionCreators } from 'redux'; <add>import { fetchWeather } from '../actions/index'; <ide> <del>export default class SearchBar extends Component { <add>class Sear...
Java
mit
9ade612ba68853a364e8e5ebf530f016479f1878
0
FrogCraft-Rebirth/FrogCraft-Rebirth
/** * This file is a part of FrogCraftRebirth, * created by 3TSUK at 2:37:47 PM, Jul 21, 2016, CST * FrogCraftRebirth, is open-source under MIT license, * check https://github.com/FrogCraft-Rebirth/ * FrogCraft-Rebirth/LICENSE_FrogCraft_Rebirth for * more information. */ package frogcraftrebirth.client; impor...
src/main/java/frogcraftrebirth/client/FrogTextures.java
/** * This file is a part of FrogCraftRebirth, * created by 3TSUK at 2:37:47 PM, Jul 21, 2016, CST * FrogCraftRebirth, is open-source under MIT license, * check https://github.com/FrogCraft-Rebirth/ * FrogCraft-Rebirth/LICENSE_FrogCraft_Rebirth for * more information. */ package frogcraftrebirth.client; impor...
Switch "Pyrolyzer" and "Liquefier" because I messed up previously
src/main/java/frogcraftrebirth/client/FrogTextures.java
Switch "Pyrolyzer" and "Liquefier" because I messed up previously
<ide><path>rc/main/java/frogcraftrebirth/client/FrogTextures.java <ide> <ide> RegHelper.registerModel(FrogBlocks.machines, 0, "AdvancedChemicalReactor"); <ide> RegHelper.registerModel(FrogBlocks.machines, 1, "AirPump"); <del> RegHelper.registerModel(FrogBlocks.machines, 2, "Liquefier"); <del> RegHelper.registe...
Java
mpl-2.0
da2886b8027fde4947736fc6d0a864565c2c8a3c
0
GreenDelta/Sophena,GreenDelta/Sophena,GreenDelta/Sophena,GreenDelta/Sophena,GreenDelta/Sophena
package sophena.rcp.editors.results.compare; import org.eclipse.swt.widgets.Composite; import org.eclipse.ui.forms.widgets.FormToolkit; import sophena.calc.CO2Result; import sophena.calc.Comparison; import sophena.math.energetic.EfficiencyResult; import sophena.math.energetic.PrimaryEnergyFactor; import sophena.math....
sophena/src/sophena/rcp/editors/results/compare/KeyFigureTable.java
package sophena.rcp.editors.results.compare; import org.eclipse.swt.widgets.Composite; import org.eclipse.ui.forms.widgets.FormToolkit; import sophena.calc.CO2Result; import sophena.calc.Comparison; import sophena.math.energetic.EfficiencyResult; import sophena.math.energetic.Producers; import sophena.math.energetic....
#64 display primary energy factor in project comparisons
sophena/src/sophena/rcp/editors/results/compare/KeyFigureTable.java
#64 display primary energy factor in project comparisons
<ide><path>ophena/src/sophena/rcp/editors/results/compare/KeyFigureTable.java <ide> import sophena.calc.CO2Result; <ide> import sophena.calc.Comparison; <ide> import sophena.math.energetic.EfficiencyResult; <add>import sophena.math.energetic.PrimaryEnergyFactor; <ide> import sophena.math.energetic.Producers; <ide> impo...
Java
apache-2.0
415155f45860560619511ee015b967dad00d4c9e
0
mingzuozhibi/mzzb-server,mingzuozhibi/mzzb-server
package mingzuozhibi.config; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.http.HttpMethod; import org.springframework.security.config.annotation.authenticat...
src/main/java/mingzuozhibi/config/SecurityConfiguration.java
package mingzuozhibi.config; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Configuration; import org.springframework.http.HttpMethod; import org.springframework.security.config.annotation.authenticat...
feat: remove http basic auth
src/main/java/mingzuozhibi/config/SecurityConfiguration.java
feat: remove http basic auth
<ide><path>rc/main/java/mingzuozhibi/config/SecurityConfiguration.java <ide> .antMatchers(HttpMethod.GET).permitAll() <ide> .antMatchers("/api/login").permitAll() <ide> .antMatchers("/api/**").hasRole("USER"); <del> http.httpBasic(); <ide> http.csrf().disab...