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
JavaScript
mit
9d698f3014c1ce112e0dd137bcc6c2bb827b9091
0
kolach/loopback-component-cloudinary
var IncomingForm = require('formidable'); var fs = require('fs'); var path = require('path'); exports.upload = function(cloudinary, req, res, options, cb) { var uploadOpts = Object.assign({}, options.upload); if (!cb && 'function' === typeof options) { cb = options; options = {}; } var form = new IncomingFo...
lib/cloudinary-handler.js
var IncomingForm = require('formidable'); var fs = require('fs'); var path = require('path'); exports.upload = function(cloudinary, req, res, options, cb) { var uploadOpts = options.upload || {}; if (!cb && 'function' === typeof options) { cb = options; options = {}; } var form = new IncomingForm(options); ...
fixed upload folder copied bug
lib/cloudinary-handler.js
fixed upload folder copied bug
<ide><path>ib/cloudinary-handler.js <ide> <ide> exports.upload = function(cloudinary, req, res, options, cb) { <ide> <del> var uploadOpts = options.upload || {}; <add> var uploadOpts = Object.assign({}, options.upload); <ide> <ide> if (!cb && 'function' === typeof options) { <ide> cb = options;
Java
apache-2.0
8655815e86c86f182e55eb8fd1007070554ad252
0
jenkinsci/kubernetes-plugin,jenkinsci/kubernetes-plugin,jenkinsci/kubernetes-plugin
/* * The MIT License * * Copyright (c) 2016, Carlos Sanchez * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, co...
src/test/java/org/csanchez/jenkins/plugins/kubernetes/pipeline/KubernetesPipelineTest.java
/* * The MIT License * * Copyright (c) 2016, Carlos Sanchez * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, co...
CI fails in runWithActiveDeadlineSeconds though I cannot reproduce this locally, so wait up to 10s for executors/queue to clear, then give up without failing.
src/test/java/org/csanchez/jenkins/plugins/kubernetes/pipeline/KubernetesPipelineTest.java
CI fails in runWithActiveDeadlineSeconds though I cannot reproduce this locally, so wait up to 10s for executors/queue to clear, then give up without failing.
<ide><path>rc/test/java/org/csanchez/jenkins/plugins/kubernetes/pipeline/KubernetesPipelineTest.java <ide> LOGGER.warning(() -> "Had to interrupt " + b); <ide> b.getExecutor().interrupt(); <ide> } <del> r.waitUntilNoActivityUpTo(9999); <add> for (int i = 0; i < 100 && r.isS...
JavaScript
apache-2.0
908290fcf860d35a3bc2737c6b4637732aaab7c7
0
PolicyStat/combokeys
/* eslint-env node, browser, mocha */ /* eslint no-unused-expressions:0 */ 'use strict' /* global Event */ require('es5-shim/es5-shim') require('es5-shim/es5-sham') var assert = require('proclaim') var sinon = require('sinon') var Combokeys = require('..') var KeyEvent = require('./lib/key-event') var makeElement =...
test/test.combokeys.js
/* eslint-env node, browser, mocha */ /* eslint no-unused-expressions:0 */ 'use strict' /* global Event */ require('es5-shim/es5-shim') require('es5-shim/es5-sham') var assert = require('proclaim') var sinon = require('sinon') var Combokeys = require('..') var KeyEvent = require('./lib/key-event') var makeElement =...
Properly test 'return false' in sane browsers
test/test.combokeys.js
Properly test 'return false' in sane browsers
<ide><path>est/test.combokeys.js <ide> var combokeys = new Combokeys(element) <ide> combokeys.bind('command+s', spy) <ide> <add> var stopPropagationSpy = sinon.spy(Event.prototype, 'stopPropagation') <ide> KeyEvent.simulate('S'.charCodeAt(0), 83, ['meta'], element) <ide> <ide> assert.stri...
JavaScript
mit
6f729e62da570d92e34836d402e97c43b0b083b1
0
anitagraham/refinerycms,simi/refinerycms,bryanmtl/g-refinerycms,aguzubiaga/refinerycms,trevornez/refinerycms,donabrams/refinerycms,LytayTOUCH/refinerycms,hoopla-software/refinerycms,refinery/refinerycms,trevornez/refinerycms,pcantrell/refinerycms,aguzubiaga/refinerycms,LytayTOUCH/refinerycms,johanb/refinerycms,refinery...
$(document).ready(function(){ // focus first field in an admin form. $('form input[type=text]:first').focus(); init_flash_messages(); }); init_flash_messages = function(){ $('#flash').css({ 'opacity': 0 , 'visibility':'visible' }).animate({'opacity': '1'}, 550); $('#flash_close').click(function(e)...
core/public/javascripts/refinery/core.js
$(document).ready(function(){ // focus first field in an admin form. $('form input[type=text]:first').focus(); init_flash_messages(); }); init_flash_messages = function(){ $('#flash').css({ 'opacity': 0 , 'visibility':'visible' }).animate({'opacity': '1'}, 550); $('#flash_close').click(function(e)...
Hide the flash completely when the animation is completed. Closes GH-539
core/public/javascripts/refinery/core.js
Hide the flash completely when the animation is completed. Closes GH-539
<ide><path>ore/public/javascripts/refinery/core.js <ide> $('#flash').animate({ <ide> 'opacity': 0, <ide> 'visibility': 'hidden' <del> }, 330); <add> }, 330, function() { <add> $('#flash').hide(); <add> }); <ide> } catch(ex) { <ide> $('#flash').hide(); <ide> }
JavaScript
mit
63a4f4fd53f7b24a6c0f791deaf80b94af93aa7d
0
jinroh/kadoh,jinroh/kadoh
describe('In Value Management', function() { beforeEach(function() { VM = KadOH.ValueManagement; globals = KadOH.globals; //mimic a node node = { getID: function() { return '8ba5c4acf388e17a1a8a5364b14ee48c2cb29b01'; }, getAddress: function() { return 'kadoh@j...
spec/valuemanagement.spec.js
describe('In Value Management', function() { beforeEach(function() { VM = KadOH.ValueManagement; globals = KadOH.globals; //mimic a node node = { getID: function() { return '8ba5c4acf388e17a1a8a5364b14ee48c2cb29b01'; }, getAddress: function() { return 'kadoh@j...
VM : enforce test once more as much I could
spec/valuemanagement.spec.js
VM : enforce test once more as much I could
<ide><path>pec/valuemanagement.spec.js <ide> <ide> it('should be republished at least twice', function(){ <ide> spyOn(node,'republish'); <del> waits(v._repTime+20); <add> waits(v._repTime+100); <ide> runs(function(){ <ide> expect(node.republish).toHaveBeenCalled(); <ide> ...
JavaScript
mit
2eba0324f3112431d4995853df91d998496af3af
0
onechiporenko/eslint-plugin-mocha-cleanup
var suites = [ "describe", "context", // BDD "Feature", "Scenario", // Mocha Cakes 2 "suite" // TDD ]; var suitesSkipped = [ "describe.skip", "xdescribe", "xcontext", // BDD "Feature.skip", "Scenario.skip", // Mocha Cakes 2 "suite.skip" // TDD ]; var tests = [ "it", "specify", // BDD "Given", "Then", ...
lib/utils/mocha-specs.js
var suites = [ "describe", "context", // BDD "suite" // TDD ]; var suitesSkipped = [ "describe.skip", "xdescribe", "xcontext", // BDD "suite.skip" // TDD ]; var tests = [ "it", "specify", // BDD "test" // TDD ]; var testsSkipped = [ "xit", "it.skip", "xspecify", // BDD "test.skip" // TDD ]; var hook...
add mocha-cakes-2 it and describe specifiers
lib/utils/mocha-specs.js
add mocha-cakes-2 it and describe specifiers
<ide><path>ib/utils/mocha-specs.js <ide> var suites = [ <ide> "describe", "context", // BDD <add> "Feature", "Scenario", // Mocha Cakes 2 <ide> "suite" // TDD <ide> ]; <ide> <ide> var suitesSkipped = [ <ide> "describe.skip", "xdescribe", "xcontext", // BDD <add> "Feature.skip", "Scenario.skip", // Mocha Cakes ...
JavaScript
agpl-3.0
f26ca65ef57221f7eb577fd2f5f44b196e7aa4bb
0
mmilaprat/policycompass-frontend,cbotsikas/policycompass-frontend,policycompass/policycompass-frontend,almey/policycompass-frontend,cbotsikas/policycompass-frontend,almey/policycompass-frontend,bullz/policycompass-frontend,almey/policycompass-frontend,mmilaprat/policycompass-frontend,mmilaprat/policycompass-frontend,cb...
angular.module('pcApp.metrics.directives.formula', [ ]) .directive('formula', ['$http', 'API_CONF', '$q', function ($http, API_CONF, $q) { return { restrict: 'E', replace: true, scope: { formula: '=formula', variables: '=variables', }, template: function...
app/modules/metrics/directives/formula.js
angular.module('pcApp.metrics.directives.formula', [ ]) .directive('formula', ['$http', 'API_CONF', '$q', function ($http, API_CONF, $q) { return { restrict: 'E', replace: true, scope: { formula: '=formula', variables: '=variables', }, template: function...
make variable availbale in formula (hack)
app/modules/metrics/directives/formula.js
make variable availbale in formula (hack)
<ide><path>pp/modules/metrics/directives/formula.js <ide> var index = scope.formula.indexOf(key.replace(' ', '')); <ide> if(index > -1) { <ide> var url = API_CONF.INDICATOR_SERVICE_URL + "/indicators/" + value.id; <del> urlCalls.push...
Java
bsd-3-clause
6744112cface93237b532853562f07cc61025361
0
vontrapp/hubroid,EddieRingle/hubroid,EddieRingle/hubroid
/** * Hubroid - A GitHub app for Android * * Copyright (c) 2010 Eddie Ringle. * * Licensed under the New BSD License. */ package org.idlesoft.android.hubroid; import java.io.File; import java.net.MalformedURLException; import java.net.URL; import java.net.URLEncoder; import org.json.JSONArray; import org.jso...
src/org/idlesoft/android/hubroid/Search.java
/** * Hubroid - A GitHub app for Android * * Copyright (c) 2010 Eddie Ringle. * * Licensed under the New BSD License. */ package org.idlesoft.android.hubroid; import java.io.File; import java.net.MalformedURLException; import java.net.URL; import java.net.URLEncoder; import org.json.JSONArray; import org.jso...
Actually show this toast notification. Signed-off-by: Eddie Ringle <bacc1c505cb1756c59242c0a8ee25cd990a210e9@eringle.net>
src/org/idlesoft/android/hubroid/Search.java
Actually show this toast notification.
<ide><path>rc/org/idlesoft/android/hubroid/Search.java <ide> protected void onActivityResult(int requestCode, int resultCode, Intent data) <ide> { <ide> if (resultCode == 5005) { <del> Toast.makeText(Search.this, "That user has recently been deleted.", Toast.LENGTH_SHORT); <add> Toast.makeText(Search.this, "Tha...
Java
apache-2.0
69fe94c17e841252b92fe8d8efbf6a6b2c741e9e
0
datastax/java-driver,datastax/java-driver
/* * Copyright DataStax, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
test-infra/src/main/java/com/datastax/oss/driver/api/testinfra/ccm/DefaultCcmBridgeBuilderCustomizer.java
/* * Copyright DataStax, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wri...
Enable SASI indexes when running mapper tests against C* 4
test-infra/src/main/java/com/datastax/oss/driver/api/testinfra/ccm/DefaultCcmBridgeBuilderCustomizer.java
Enable SASI indexes when running mapper tests against C* 4
<ide><path>est-infra/src/main/java/com/datastax/oss/driver/api/testinfra/ccm/DefaultCcmBridgeBuilderCustomizer.java <ide> public class DefaultCcmBridgeBuilderCustomizer { <ide> <ide> public static CcmBridge.Builder configureBuilder(CcmBridge.Builder builder) { <del> if (!CcmBridge.DSE_ENABLEMENT && CcmBridge.VERS...
Java
apache-2.0
4fd25aabd0b054f5ef1765b4cb41349ab2ecbaf1
0
Valkryst/VTerminal
package com.valkryst.VTerminal.printer; import com.valkryst.VTerminal.Tile; import com.valkryst.VTerminal.TileGrid; import com.valkryst.VTerminal.misc.ShapeAlgorithms; import lombok.*; import java.awt.Dimension; import java.awt.Point; @EqualsAndHashCode @ToString public class EllipsePrinter { /** The width/heigh...
src/com/valkryst/VTerminal/printer/EllipsePrinter.java
package com.valkryst.VTerminal.printer; import com.valkryst.VTerminal.Tile; import com.valkryst.VTerminal.component.Component; import com.valkryst.VTerminal.misc.ShapeAlgorithms; import lombok.*; import java.awt.Dimension; import java.awt.Point; @EqualsAndHashCode @ToString public class EllipsePrinter { /** The ...
Updates EllipsePrinter to print onto a TileGrid. Also fixes a draw bug.
src/com/valkryst/VTerminal/printer/EllipsePrinter.java
Updates EllipsePrinter to print onto a TileGrid. Also fixes a draw bug.
<ide><path>rc/com/valkryst/VTerminal/printer/EllipsePrinter.java <ide> package com.valkryst.VTerminal.printer; <ide> <ide> import com.valkryst.VTerminal.Tile; <del>import com.valkryst.VTerminal.component.Component; <add>import com.valkryst.VTerminal.TileGrid; <ide> import com.valkryst.VTerminal.misc.ShapeAlgorithms; <...
JavaScript
agpl-3.0
b4c6c7f2232aa0e986d6664bf0b397439630ce5d
0
renalreg/radar-client,renalreg/radar-client,renalreg/radar-client
(function() { 'use strict'; var app = angular.module('radar.patients.addresses'); app.factory('PatientAddressModel', ['Model', function(Model) { function PatientAddressModel(modelName, data) { Model.call(this, modelName, data); } PatientAddressModel.prototype = Object.create(Model.prototype);...
src/app/patients/addresses/address-model.js
(function() { 'use strict'; var app = angular.module('radar.patients.addresses'); app.factory('PatientAddressModel', ['Model', function(Model) { function PatientAddressModel(modelName, data) { Model.call(this, modelName, data); } PatientAddressModel.prototype = Object.create(Model.prototype);...
Add missing semicolon
src/app/patients/addresses/address-model.js
Add missing semicolon
<ide><path>rc/app/patients/addresses/address-model.js <ide> } else { <ide> if (this.postcode) { <ide> // Postcode parts should be separated by a space but limit to first 4 charcters just in case <del> var area = this.postcode.split(' ')[0].substring(0, 4) <add> var area = this....
Java
apache-2.0
395fddafcedf30850c2bd380a8b25499f7ea0a72
0
codeaudit/OG-Platform,codeaudit/OG-Platform,codeaudit/OG-Platform,McLeodMoores/starling,jeorme/OG-Platform,jerome79/OG-Platform,DevStreet/FinanceAnalytics,McLeodMoores/starling,jeorme/OG-Platform,DevStreet/FinanceAnalytics,jerome79/OG-Platform,McLeodMoores/starling,ChinaQuants/OG-Platform,codeaudit/OG-Platform,jerome79...
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.riskfactors; import java.util.HashSet; import java.util.Set; import org.apache.commons.lang.NotImplementedException; import com.google.co...
projects/OG-Financial/src/com/opengamma/financial/analytics/riskfactors/DefaultRiskFactorsGatherer.java
/** * Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.riskfactors; import java.util.HashSet; import java.util.Set; import org.apache.commons.lang.NotImplementedException; import com.google.co...
Fixing copy/paste code
projects/OG-Financial/src/com/opengamma/financial/analytics/riskfactors/DefaultRiskFactorsGatherer.java
Fixing copy/paste code
<ide><path>rojects/OG-Financial/src/com/opengamma/financial/analytics/riskfactors/DefaultRiskFactorsGatherer.java <ide> @Override <ide> public Set<Pair<String, ValueProperties>> visitEquityOptionSecurity(final EquityOptionSecurity security) { <ide> return ImmutableSet.<Pair<String, ValueProperties>>builder() <d...
Java
lgpl-2.1
683aecaf2243de00848160a44ad8206e992104d9
0
simoc/mapyrus,simoc/mapyrus,simoc/mapyrus
/* * This file is part of Mapyrus, software for plotting maps. * Copyright (C) 2003, 2004, 2005 Simon Chenery. * * Mapyrus 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 of the L...
src/org/mapyrus/image/PNMImage.java
/* * This file is part of Mapyrus, software for plotting maps. * Copyright (C) 2003, 2004, 2005 Simon Chenery. * * Mapyrus 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 of the L...
Add new constructor, reading image from a InputStream.
src/org/mapyrus/image/PNMImage.java
Add new constructor, reading image from a InputStream.
<ide><path>rc/org/mapyrus/image/PNMImage.java <ide> init(stream, filename); <ide> } <ide> <add> /** <add> * Read Netpbm PNM image from open stream. <add> * @param stream open stream to read from. <add> * @param filename name of file. <add> */ <add> public PNMImage(InputStream stream, String filename) throws Ma...
Java
apache-2.0
9d67cc1a84348c862a9776283db8db9aef152eb7
0
supersven/intellij-community,orekyuu/intellij-community,signed/intellij-community,holmes/intellij-community,clumsy/intellij-community,semonte/intellij-community,ivan-fedorov/intellij-community,fitermay/intellij-community,xfournet/intellij-community,MER-GROUP/intellij-community,vvv1559/intellij-community,ibinti/intellij...
/* * Copyright 2003-2009 Dave Griffith, Bas Leijdekkers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
plugins/IntentionPowerPak/src/com/siyeh/ipp/constant/ConstantSubexpressionIntention.java
/* * Copyright 2003-2009 Dave Griffith, Bas Leijdekkers * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
http://ea.jetbrains.com/browser/ea_problems/17729 (IOE: PsiJavaParserFacadeImpl.createExpressionFromText)
plugins/IntentionPowerPak/src/com/siyeh/ipp/constant/ConstantSubexpressionIntention.java
http://ea.jetbrains.com/browser/ea_problems/17729 (IOE: PsiJavaParserFacadeImpl.createExpressionFromText)
<ide><path>lugins/IntentionPowerPak/src/com/siyeh/ipp/constant/ConstantSubexpressionIntention.java <ide> newExpression += '"' + StringUtil.escapeStringCharacters( <ide> constantValue.toString()) + '"'; <ide> } else if (constantValue != null) { <add> if (constantValue i...
Java
apache-2.0
75f59120671c0ba13aab856a3431d29124c30c5f
0
enioka/jqm,enioka/jqm,enioka/jqm,enioka/jqm,enioka/jqm
/** * Copyright © 2013 enioka. All rights reserved * Authors: Marc-Antoine GOUILLART (marc-antoine.gouillart@enioka.com) * Pierre COPPEE (pierre.coppee@enioka.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
jqm-all/jqm-engine/src/main/java/com/enioka/jqm/tools/QueuePoller.java
/** * Copyright © 2013 enioka. All rights reserved * Authors: Marc-Antoine GOUILLART (marc-antoine.gouillart@enioka.com) * Pierre COPPEE (pierre.coppee@enioka.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You...
Fix: number of running JI could very rarely become wrong Because -- is not an atomic operator in Java...
jqm-all/jqm-engine/src/main/java/com/enioka/jqm/tools/QueuePoller.java
Fix: number of running JI could very rarely become wrong
<ide><path>qm-all/jqm-engine/src/main/java/com/enioka/jqm/tools/QueuePoller.java <ide> import java.util.List; <ide> import java.util.concurrent.Semaphore; <ide> import java.util.concurrent.TimeUnit; <add>import java.util.concurrent.atomic.AtomicInteger; <ide> <ide> import javax.management.MBeanServer; <ide> import jav...
Java
apache-2.0
ea6fe829fc08deb164af1411cc19486f5793b82a
0
anomaly/closure-compiler,google/closure-compiler,nawawi/closure-compiler,vobruba-martin/closure-compiler,vobruba-martin/closure-compiler,mprobst/closure-compiler,anomaly/closure-compiler,tdelmas/closure-compiler,Pimm/closure-compiler,ChadKillingsworth/closure-compiler,Dominator008/closure-compiler,GerHobbelt/closure-co...
/* * Copyright 2010 The Closure Compiler 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...
src/com/google/javascript/jscomp/PeepholeSubstituteAlternateSyntax.java
/* * Copyright 2010 The Closure Compiler 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...
Fix a link in PeepholeSubstituteAlternateSyntax ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=138127324
src/com/google/javascript/jscomp/PeepholeSubstituteAlternateSyntax.java
Fix a link in PeepholeSubstituteAlternateSyntax
<ide><path>rc/com/google/javascript/jscomp/PeepholeSubstituteAlternateSyntax.java <ide> // <ide> // We can't do this in the general case, because String(a) has <ide> // slightly different semantics than '' + (a). See <del> // http://code.google.com/p/closure-compiler/issues/detail?id=759 ...
Java
agpl-3.0
ba7cfa6596e7f0d5641b54bff68b213dc98c0fc7
0
thunderbit/thunderbit,thunderbit/thunderbit,thunderbit/thunderbit
package modules.storage; import akka.dispatch.Futures; import com.amazonaws.AmazonClientException; import com.amazonaws.AmazonServiceException; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.event.ProgressEventType; import com.amazonaws.event.ProgressListe...
app/modules/storage/AmazonS3Storage.java
package modules.storage; import akka.dispatch.Futures; import com.amazonaws.AmazonClientException; import com.amazonaws.AmazonServiceException; import com.amazonaws.auth.AWSCredentials; import com.amazonaws.auth.BasicAWSCredentials; import com.amazonaws.event.ProgressEventType; import com.amazonaws.event.ProgressListe...
Added direct file download from S3 Now, for S3 stored files, the app serves a Redirect to a pre-signed download link from Amazon S3.
app/modules/storage/AmazonS3Storage.java
Added direct file download from S3
<ide><path>pp/modules/storage/AmazonS3Storage.java <ide> import com.amazonaws.event.ProgressListener; <ide> import com.amazonaws.services.s3.AmazonS3; <ide> import com.amazonaws.services.s3.AmazonS3Client; <del>import com.amazonaws.services.s3.model.CreateBucketRequest; <del>import com.amazonaws.services.s3.model.Delet...
JavaScript
mit
4f52afbdd7ac9eb824d7e506dcc4704b08b2f1f7
0
DustinH/CodeMirror,xeronith/CodeMirror,CartoDB/CodeMirror,dbarnett/CodeMirror,davidpham87/CodeMirror,kerabromsmu/CodeMirror,Icenium/CodeMirror,dudb/CodeMirror,jessegrosjean/CodeMirror,notepadqq/CodeMirror,pjkui/CodeMirror,d0liver/CodeMirror,jayaprabhakar/CodeMirror,alur/CodeMirror,dbarnett/CodeMirror,sourcelair/CodeMir...
CodeMirror.defineMode('rst-base', function (config) { /////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////// function format(string) { var args = Array.prototype.slice.call(arguments, 1); retur...
mode/rst/rst.js
CodeMirror.defineMode('rst-base', function (config) { /////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////// function format(string) { var args = Array.prototype.slice.call(arguments, 1); retur...
[rst] Reference name fix w.r.t. "phrase-references" Phrase-references should be able to contain interpunction characters; fixed.
mode/rst/rst.js
[rst] Reference name fix w.r.t. "phrase-references"
<ide><path>ode/rst/rst.js <ide> var TAIL = "(?:\\s*|\\W|$)", <ide> rx_TAIL = new RegExp(format('^{0}', TAIL)); <ide> <del> var NAME = "(?:[^\\W\\d_](?:[\\w\\+\\.\\-:]*[^\\W_])?)", <add> var NAME = <add> "(?:[^\\W\\d_](?:[\\w!\"#$%&'()\\*\\+,\\-\\.\/:;<=>\\?]*[^\\W_])?)", <ide> rx_NAME ...
Java
mit
93444bbf988c45a245ac85c5ae0df7b9359bfd53
0
GreenfieldTech/irked
package tech.greenfield.vertx.irked.auth; import java.util.Objects; import java.util.ServiceLoader; public class AuthorizationToken { private String token; private String type; protected AuthorizationToken() { } public static AuthorizationToken parse(String authorizationHeader) { if (Objects.isNull(author...
src/main/java/tech/greenfield/vertx/irked/auth/AuthorizationToken.java
package tech.greenfield.vertx.irked.auth; import java.util.Objects; import java.util.ServiceLoader; public class AuthorizationToken { private String token; private String type; protected AuthorizationToken() { } public static AuthorizationToken parse(String authorizationHeader) { if (Objects.isNull(author...
add toString to authorization token so users can debug dump it
src/main/java/tech/greenfield/vertx/irked/auth/AuthorizationToken.java
add toString to authorization token so users can debug dump it
<ide><path>rc/main/java/tech/greenfield/vertx/irked/auth/AuthorizationToken.java <ide> public String getType() { <ide> return type; <ide> } <add> <add> public String toString() { <add> return type + " " + token; <add> } <ide> }
JavaScript
mit
23dc32975e44e07742460fe202a343b0921447e0
0
fistlabs/fist,golyshevd/fist,golyshevd/fist,golyshevd/fist,fistlabs/fist
'use strict'; var Connect = require('../../track/Connect'); var Server = require('../../Server'); var Fs = require('fs'); var Http = require('http'); var STATUS_CODES = Http.STATUS_CODES; var http = require('../util/http'); var sock = require('../stuff/conf/sock'); var asker = require('asker'); var server = new Serve...
test/common/Server.js
'use strict'; var Connect = require('../../track/Connect'); var Server = require('../../Server'); var Fs = require('fs'); var Http = require('http'); var STATUS_CODES = Http.STATUS_CODES; var http = require('../util/http'); var sock = require('../stuff/conf/sock'); var asker = require('asker'); var server = new Serve...
v2.0.x: fix code style issues
test/common/Server.js
v2.0.x: fix code style issues
<ide><path>est/common/Server.js <ide> }); <ide> } <ide> <del> <ide> };
Java
unlicense
3a74133d20859e22a6c98293a406d71680034ef2
0
mac-reid/MapTool,mac-reid/MapTool
package Backend; import Backend.*; import java.util.ArrayList; import org.newdawn.slick.Image; public class Control { private Map map; Storage store; public Control() { } public void sendTextToGUI(String user, String message) { } public void addText(String user, String text) { if ...
MapTool/Backend/Control.java
package Backend; import Backend.*; import java.util.ArrayList; import org.newdawn.slick.Image; public class Control { private Map map; Storage store; public Control() { } public void addText(String user, String text) { if (!gameLoaded()) { System.out.println("Some error here"); ...
Signed-off-by: mareid <mareid@mtu.edu>
MapTool/Backend/Control.java
Signed-off-by: mareid <mareid@mtu.edu>
<ide><path>apTool/Backend/Control.java <ide> Storage store; <ide> <ide> public Control() { <add> <add> } <add> <add> public void sendTextToGUI(String user, String message) { <ide> <ide> } <ide> <ide> return; <ide> } <ide> map.addToken(pic, x, y, name); <add> } <add> <add> public void addToken(String s, int...
JavaScript
mit
1402313dde36b95739683caf515b5d856a96afc7
0
Lazyuki/Discord-Stats-Bot,Lazyuki/Discord-Stats-Bot
const Discord = require('discord.js'); const init = require('./init.json'); const Server = require('./classes/Server.js'); const midnightTask = require('./classes/MidnightTask.js'); const savingTask = require('./classes/SavingTask.js'); let cmds = require('./cmds.js'); const commands = cmds.commands; const inits = cmds...
bot.js
const Discord = require('discord.js'); const init = require('./init.json'); const Server = require('./classes/Server.js'); const midnightTask = require('./classes/MidnightTask.js'); const savingTask = require('./classes/SavingTask.js'); let cmds = require('./cmds.js'); const commands = cmds.commands; const inits = cmds...
let my server use reactionEval
bot.js
let my server use reactionEval
<ide><path>ot.js <ide> let m = reaction.message; <ide> if (user.bot) return; <ide> if (m.channel.type != 'text') return; <del> if (m.guild.id == '293787390710120449') return; // Ignore my server <add> if (m.guild.id == '293787390710120449') { <add> if (reaction.emoji.toString() == '▶️') { <add> prcs.pro...
Java
mit
98753d2c994f41b8fc51cb34a56fb10d497bb5c3
0
davidfialho14/bgp-simulator
package network; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.runners.MockitoJUnitRunner; import policies.DummyAttribute; import policies.DummyAttributeFactory; import policies.DummyLabel; import protocols.DummyProt...
test/network/NodeTest.java
package network; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.mockito.Mock; import org.mockito.runners.MockitoJUnitRunner; import policies.DummyAttribute; import policies.DummyAttributeFactory; import policies.DummyLabel; import protocols.DummyProt...
added two new tests for the learn method
test/network/NodeTest.java
added two new tests for the learn method
<ide><path>est/network/NodeTest.java <ide> Route learnedRoute = new Route(destination, new DummyAttribute(), new PathAttribute()); <ide> when(stubProtocol.extend(outLink, learnedRoute.getAttribute())).thenReturn(new DummyAttribute()); <ide> Route selectedRoute = Route.createInvalid(destination, ...
Java
apache-2.0
c64c2654bd2acfee6fdf3bebaab9faf0b43ace48
0
babble/babble,babble/babble,babble/babble,babble/babble,babble/babble,babble/babble
// PHPConvertor.java /** * Copyright (C) 2008 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope tha...
src/main/ed/lang/php/PHPConvertor.java
// PHPConvertor.java /** * Copyright (C) 2008 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope tha...
prevent double wrapping
src/main/ed/lang/php/PHPConvertor.java
prevent double wrapping
<ide><path>rc/main/ed/lang/php/PHPConvertor.java <ide> if ( o == null ) <ide> return null; // TODO: should this be NullValue <ide> <add> if( o instanceof PHPWrapper) <add> return ((PHPWrapper) o)._value; <add> <ide> if ( o instanceof JSString ) <ide> ...
Java
apache-2.0
eb0604df9138ab39a6d73698c10c222de8388e39
0
EsupPortail/esup-publisher,GIP-RECIA/esup-publisher-ui,EsupPortail/esup-publisher,GIP-RECIA/esup-publisher-ui,GIP-RECIA/esup-publisher-ui,EsupPortail/esup-publisher,EsupPortail/esup-publisher
package org.esupportail.publisher.config; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.inject.Inject; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang.StringUtils; import org.esupportail.publisher.domain.enums.OperatorType; import org...
src/main/java/org/esupportail/publisher/config/SecurityConfiguration.java
package org.esupportail.publisher.config; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import javax.inject.Inject; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang.StringUtils; import org.esupportail.publisher.domain.enums.OperatorType; import org...
Ajout configuration groupe des Utilisateurs de l'application
src/main/java/org/esupportail/publisher/config/SecurityConfiguration.java
Ajout configuration groupe des Utilisateurs de l'application
<ide><path>rc/main/java/org/esupportail/publisher/config/SecurityConfiguration.java <ide> private static final String APP_URI_LOGIN = "/app/login"; <ide> private static final String APP_ADMIN_USER_NAME = "app.admin.userName"; <ide> private static final String APP_ADMIN_GROUP_NAME = "app.admin.groupName"; <a...
Java
epl-1.0
2e1fb5f506a200f88aa3e3fc29c94ead1cf09286
0
bigdataops/bgpcep,bigdataops/bgpcep,opendaylight/bgpcep,inocybe/odl-bgpcep,inocybe/odl-bgpcep
/* * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org....
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPDispatcherImpl.java
/* * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org....
BUG-2475: Fix keepalives not being sent As it turns out, we failed to update channel configuration when MD5 keys were not specified. Change-Id: I5c2a5983c0797d032bb058974aac82254b554041 Signed-off-by: Robert Varga <b8bd3df785fdc0ff42dd1710c5d91998513c57ef@cisco.com>
bgp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPDispatcherImpl.java
BUG-2475: Fix keepalives not being sent
<ide><path>gp/rib-impl/src/main/java/org/opendaylight/protocol/bgp/rib/impl/BGPDispatcherImpl.java <ide> } <ide> b.channelFactory(this.cf); <ide> b.option(MD5ChannelOption.TCP_MD5SIG, this.keys); <del> // Make sure we are doing round-robin processing <del> b.opt...
Java
apache-2.0
5ca855dc500382e8324f80d8f4371cf7abb912a2
0
ljacomet/ehcache3,aurbroszniowski/ehcache3,kedar031/ehcache3,palmanojkumar/ehcache3,rkavanap/ehcache3,CapeSepias/ehcache3,henri-tremblay/ehcache3,ehcache/ehcache3,lorban/ehcache3,lorban/ehcache3,anthonydahanne/ehcache3,rishabhmonga/ehcache3,albinsuresh/ehcache3,GaryWKeim/ehcache3,ehcache/ehcache3,mingyaaaa/ehcache3,alb...
/* * Copyright Terracotta, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
core-spi-test/src/main/java/org/ehcache/internal/store/StoreBulkComputeTest.java
/* * Copyright Terracotta, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
issue #176 use multiple keys in remappingFunctionReturnsIterableOfEntriesForEachInputEntry
core-spi-test/src/main/java/org/ehcache/internal/store/StoreBulkComputeTest.java
issue #176 use multiple keys in remappingFunctionReturnsIterableOfEntriesForEachInputEntry
<ide><path>ore-spi-test/src/main/java/org/ehcache/internal/store/StoreBulkComputeTest.java <ide> <ide> package org.ehcache.internal.store; <ide> <del>import org.ehcache.Cache; <del>import org.ehcache.config.StoreConfigurationImpl; <ide> import org.ehcache.exceptions.CacheAccessException; <del>import org.ehcache.expir...
Java
apache-2.0
42e8c381b15dd48c2f00c088c897ebdd25405aef
0
wangyum/spark,dongjoon-hyun/spark,ConeyLiu/spark,srowen/spark,icexelloss/spark,shaneknapp/spark,wzhfy/spark,rezasafi/spark,hhbyyh/spark,srowen/spark,mahak/spark,pgandhi999/spark,skonto/spark,WindCanDie/spark,ConeyLiu/spark,JoshRosen/spark,xuanyuanking/spark,spark-test/spark,apache/spark,skonto/spark,ptkool/spark,cloud-...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
core/src/test/java/org/apache/spark/unsafe/map/AbstractBytesToBytesMapSuite.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 ...
[SPARK-26286][TEST] Add MAXIMUM_PAGE_SIZE_BYTES exception bound unit test ## What changes were proposed in this pull request? Add MAXIMUM_PAGE_SIZE_BYTES Exception test ## How was this patch tested? Existing tests (Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests) (If this p...
core/src/test/java/org/apache/spark/unsafe/map/AbstractBytesToBytesMapSuite.java
[SPARK-26286][TEST] Add MAXIMUM_PAGE_SIZE_BYTES exception bound unit test
<ide><path>ore/src/test/java/org/apache/spark/unsafe/map/AbstractBytesToBytesMapSuite.java <ide> } catch (IllegalArgumentException e) { <ide> // expected exception <ide> } <add> <add> try { <add> new BytesToBytesMap( <add> taskMemoryManager, <add> 1, <add> TaskMemoryManager.MA...
JavaScript
mit
5981ddf89f57344161d5567553ce053e474ff1a2
0
luisbrito/paper.js,ClaireRutkoske/paper.js,fredoche/paper.js,mcanthony/paper.js,byte-foundry/paper.js,chad-autry/paper.js,baiyanghese/paper.js,superjudge/paper.js,nancymark/paper.js,lehni/paper.js,byte-foundry/paper.js,lehni/paper.js,iconexperience/paper.js,JunaidPaul/paper.js,li0t/paper.js,EskenderDev/paper.js,rgordee...
/* * Paper.js - The Swiss Army Knife of Vector Graphics Scripting. * http://paperjs.org/ * * Copyright (c) 2011 - 2013, Juerg Lehni & Jonathan Puckey * http://lehni.org/ & http://jonathanpuckey.com/ * * Distributed under the MIT license. See LICENSE file for details. * * All rights reserved. */ /** * @name ...
src/item/Raster.js
/* * Paper.js - The Swiss Army Knife of Vector Graphics Scripting. * http://paperjs.org/ * * Copyright (c) 2011 - 2013, Juerg Lehni & Jonathan Puckey * http://lehni.org/ & http://jonathanpuckey.com/ * * Distributed under the MIT license. See LICENSE file for details. * * All rights reserved. */ /** * @name ...
Implement Raster#getSubRaster() and document both #getSubImage() and #getSubRaster().
src/item/Raster.js
Implement Raster#getSubRaster() and document both #getSubImage() and #getSubRaster().
<ide><path>rc/item/Raster.js <ide> /** <ide> * The source of the raster, which can be set using a DOM Image, a Canvas, <ide> * a data url, a string describing the URL to load the image from, or the <del> * ID of a DOM element to get the image from (either a DOM Image or a Canvas). <del> * Reading this property ...
JavaScript
isc
b73ad95da2584f8db1ed2576b2549302173b8915
0
medikoo/es5-ext
'use strict'; var numIsNaN = require('../../Number/is-nan') , ois = require('../../Object/is') , value = require('../../Object/valid-value') , lastIndexOf = Array.prototype.lastIndexOf , hasOwnProperty = Object.prototype.hasOwnProperty; module.exports = function (searchElement/*, fromIndex*/) { var ...
lib/Array/prototype/e-last-index-of.js
'use strict'; var numIsNaN = require('../../Number/is-nan') , ois = require('../../Object/is') , value = require('../../Object/valid-value') , lastIndexOf = Array.prototype.lastIndexOf; module.exports = function (searchElement/*, fromIndex*/) { var i, fromIndex; if (!numIsNaN(searchElement) && (searc...
Improve internal logic of Array#eLastIndexOf
lib/Array/prototype/e-last-index-of.js
Improve internal logic of Array#eLastIndexOf
<ide><path>ib/Array/prototype/e-last-index-of.js <ide> , ois = require('../../Object/is') <ide> , value = require('../../Object/valid-value') <ide> <del> , lastIndexOf = Array.prototype.lastIndexOf; <add> , lastIndexOf = Array.prototype.lastIndexOf <add> , hasOwnProperty = Object.prototype.hasOwnPropert...
Java
apache-2.0
1fbfe5501c44ff7276f6d2191f54f42f26509666
0
microstrat/alfresco-sdk,loftuxab/alfresco-sdk,Alfresco/alfresco-sdk,microstrat/alfresco-sdk,adrianopatrick/alfresco-sdk,Alfresco/alfresco-sdk,adrianopatrick/alfresco-sdk,microstrat/alfresco-sdk,Alfresco/alfresco-sdk,AFaust/alfresco-sdk,bhagyas/alfresco-sdk,abhinavmishra14/alfresco-sdk,loftuxab/alfresco-sdk,Alfresco/alf...
package org.alfresco.maven.plugin.amp; /* * 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 Apach...
plugins/maven-amp-plugin/src/main/java/org/alfresco/maven/plugin/amp/AbstractAmpMojo.java
package org.alfresco.maven.plugin.amp; /* * 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 Apach...
Fixed mFileMappingProperties javadoc git-svn-id: 3771f9d834ba6679eb9500b45ad9b91a192b895f@498 04253f4f-3451-0410-a141-5562f1e59037
plugins/maven-amp-plugin/src/main/java/org/alfresco/maven/plugin/amp/AbstractAmpMojo.java
Fixed mFileMappingProperties javadoc
<ide><path>lugins/maven-amp-plugin/src/main/java/org/alfresco/maven/plugin/amp/AbstractAmpMojo.java <ide> private File mModuleProperties; <ide> <ide> /** <del> * The path to the web.xml file to use. <add> * The path to the file-mapping.properties file to use. <ide> * <ide> * @parameter ex...
Java
bsd-2-clause
a98c7e85f4148554ae628db16a0c8f6a64a463a1
0
kruss/Juggernaut,kruss/Juggernaut,kruss/Juggernaut
package data; import java.util.ArrayList; import lifecycle.StatusManager.Status; public class Artifact implements Comparable<Artifact> { public static final String DEFAULT_TYPE = "DEFAULT"; public enum Action { KEEP, COPY, MOVE } public String type; public String name; public String descriptio...
src/data/Artifact.java
package data; import java.util.ArrayList; import lifecycle.StatusManager.Status; public class Artifact implements Comparable<Artifact> { public enum Type { GENERATED, RESULT } public enum Action { LEAVE, COPY, MOVE } public String type; public String name; public String description; public Sta...
chaged artifact for default type
src/data/Artifact.java
chaged artifact for default type
<ide><path>rc/data/Artifact.java <ide> <ide> public class Artifact implements Comparable<Artifact> { <ide> <del> public enum Type { GENERATED, RESULT } <del> public enum Action { LEAVE, COPY, MOVE } <add> public static final String DEFAULT_TYPE = "DEFAULT"; <add> <add> public enum Action { KEEP, COPY, MOVE } <ide> ...
Java
agpl-3.0
48bc9e0775574179aa48ced3fc6f426ffc0aaefd
0
ozwillo/ozwillo-kernel,ozwillo/ozwillo-kernel,ozwillo/ozwillo-kernel
/** * Ozwillo Kernel * Copyright (C) 2015 Atol Conseils & Développements * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) a...
oasis-webapp/src/main/java/oasis/jongo/applications/v2/JongoServiceRepository.java
/** * Ozwillo Kernel * Copyright (C) 2015 Atol Conseils & Développements * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) a...
Unset visible/restricted in MongoDB when necessary. If we don't do that, and given that 'visible' was a 'boolean' (so was never null, and always present in MongoDB), a service being updated to use the new properties would continue to use the old settings, as they wouldn't be removed from MongoDB (and they take priorit...
oasis-webapp/src/main/java/oasis/jongo/applications/v2/JongoServiceRepository.java
Unset visible/restricted in MongoDB when necessary.
<ide><path>asis-webapp/src/main/java/oasis/jongo/applications/v2/JongoServiceRepository.java <ide> */ <ide> package oasis.jongo.applications.v2; <ide> <add>import java.util.Map; <add> <ide> import javax.inject.Inject; <ide> <ide> import org.jongo.Jongo; <ide> <ide> import com.google.common.base.Preconditions; <ide>...
JavaScript
mit
95e0c4619d97a197435b6afb42a662e090b9aa2c
0
pagesjaunes/curiosity,ErwanPigneul/curiosity,pagesjaunes/curiosity,joebordes/curiosity,ErwanPigneul/curiosity,ErwanPigneul/curiosity,joebordes/curiosity,joebordes/curiosity,pagesjaunes/curiosity
var globalConf = { defaultServer : 'http://localhost:9200', confServer : 'http://localhost:9200', confIndex : "curiosity-config", defaultConfDocumentType : "conf-doc", }
conf.js
var globalConf = { defaultServer : 'http://localhost:9200', confServer : 'http://localhost:10200', confIndex : "curiosity-config", defaultConfDocumentType : "conf-doc", }
Oubli du chnagement de port
conf.js
Oubli du chnagement de port
<ide><path>onf.js <ide> var globalConf = { <ide> defaultServer : 'http://localhost:9200', <del> confServer : 'http://localhost:10200', <add> confServer : 'http://localhost:9200', <ide> confIndex : "curiosity-config", <ide> defaultConfDocumentType : "conf-doc", <ide> }
Java
mit
error: pathspec 'eclipse/src/dynamake/collections/Categorizer.java' did not match any file(s) known to git
419aa8d697e38ae03a02109dc343cca266111a8e
1
jakobehmsen/dynamake
package dynamake.collections; import java.util.ArrayList; import java.util.Collections; import java.util.Hashtable; import java.util.List; public class Categorizer<T, U> { private Hashtable<T, List<U>> categories = new Hashtable<T, List<U>>(); public void add(T category, U item) { List<U> itemsInCategory = cate...
eclipse/src/dynamake/collections/Categorizer.java
Added collection type Categorizer to categorize collections of items. Signed-off-by: Jakob Brandsborg Ehmsen <387ed33cc9ebf98b733caa2520baacd616b28aa5@gmail.com>
eclipse/src/dynamake/collections/Categorizer.java
Added collection type Categorizer to categorize collections of items.
<ide><path>clipse/src/dynamake/collections/Categorizer.java <add>package dynamake.collections; <add> <add>import java.util.ArrayList; <add>import java.util.Collections; <add>import java.util.Hashtable; <add>import java.util.List; <add> <add>public class Categorizer<T, U> { <add> private Hashtable<T, List<U>> categories...
Java
bsd-2-clause
error: pathspec 'Commons/G3MSharedSDK/src/org/glob3/mobile/generated/TileMillLayer.java' did not match any file(s) known to git
6f4fb816cf8a7af0f84d8ff09021b8157d70f0e7
1
AeroGlass/g3m,AeroGlass/g3m,octavianiLocator/g3m,AeroGlass/g3m,octavianiLocator/g3m,AeroGlass/g3m,octavianiLocator/g3m,octavianiLocator/g3m,octavianiLocator/g3m,octavianiLocator/g3m,AeroGlass/g3m,AeroGlass/g3m
package org.glob3.mobile.generated; // // TileMillLayer.cpp // G3MiOSSDK // // Created by Vidal Toboso on 19/02/13. // // // // TileMillLayer.hpp // G3MiOSSDK // // Created by Vidal Toboso on 19/02/13. // // public class TileMillLayer extends Layer { private final Sector _sector ; ...
Commons/G3MSharedSDK/src/org/glob3/mobile/generated/TileMillLayer.java
Generated
Commons/G3MSharedSDK/src/org/glob3/mobile/generated/TileMillLayer.java
Generated
<ide><path>ommons/G3MSharedSDK/src/org/glob3/mobile/generated/TileMillLayer.java <add>package org.glob3.mobile.generated; <add>// <add>// TileMillLayer.cpp <add>// G3MiOSSDK <add>// <add>// Created by Vidal Toboso on 19/02/13. <add>// <add>// <add> <add>// <add>// TileMillLayer.hpp <add>// G3MiOSSDK <add>// <add>...
JavaScript
bsd-2-clause
a2d8a317024cfda426100488cf44aa56c9405f31
0
importre/generator-atomapp
'use strict'; module.exports = function (grunt) { require('load-grunt-tasks')(grunt); var atomShellVersion = '<%= atomShellVersion %>'; var outDir = 'out'; // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), 'download-atom-shell': { version: atomShellVersio...
app/templates/Gruntfile.js
'use strict'; module.exports = function (grunt) { require('load-grunt-tasks')(grunt); var atomShellVersion = '<%= atomShellVersion %>'; var outDir = 'out'; // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), 'download-atom-shell': { version: atomShellVersio...
Change watch target list Do not need to watch necessary files
app/templates/Gruntfile.js
Change watch target list
<ide><path>pp/templates/Gruntfile.js <ide> livereload: true <ide> }, <ide> files: [ <del> '**/*.js', <del> '**/*.html', <del> '**/*.css' <add> 'Gruntfile.js', <add> 'app/**/*.js', <add> 'app/**/*.html', <add> 'app/**/*.css' <ide> ...
Java
apache-2.0
7e294b49ec84ff99b82cf62ecda62e22ff093dc0
0
mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData
package uk.ac.ebi.phenotype.repository; import org.apache.commons.lang3.StringUtils; import org.apache.solr.client.solrj.SolrServerException; import org.mousephenotype.cda.annotations.ComponentScanNonParticipant; import org.mousephenotype.cda.owl.OntologyParser; import org.mousephenotype.cda.owl.OntologyParserFactory;...
web/src/main/java/uk/ac/ebi/phenotype/repository/Loader.java
package uk.ac.ebi.phenotype.repository; import org.apache.commons.lang3.StringUtils; import org.apache.solr.client.solrj.SolrServerException; import org.mousephenotype.cda.annotations.ComponentScanNonParticipant; import org.mousephenotype.cda.owl.OntologyParser; import org.mousephenotype.cda.owl.OntologyParserFactory;...
updated loader comment
web/src/main/java/uk/ac/ebi/phenotype/repository/Loader.java
updated loader comment
<ide><path>eb/src/main/java/uk/ac/ebi/phenotype/repository/Loader.java <ide> //----------- STEP 2 -----------// <ide> populateHpIdTermMap(); // STEP 2.1 <ide> populateBestMpIdHpMap(); // STEP 2.2 <del> extendLoadedHpAndConnectHp2Mp(); // STEP 2.4 <add> extendLo...
Java
apache-2.0
424aa9e95ac80a6bb208ed3f471d99251dbf3e52
0
MatthewTamlin/Mixtape
/* * Copyright 2017 Matthew Tamlin * * 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 ...
example/src/main/java/com/matthewtamlin/mixtape/example/activities/AlbumsActivity.java
/* * Copyright 2017 Matthew Tamlin * * 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 ...
Added support for change to Mp3AlbumDataSource
example/src/main/java/com/matthewtamlin/mixtape/example/activities/AlbumsActivity.java
Added support for change to Mp3AlbumDataSource
<ide><path>xample/src/main/java/com/matthewtamlin/mixtape/example/activities/AlbumsActivity.java <ide> } <ide> <ide> private void setupDataSource() { <del> dataSource = new Mp3AlbumDataSource(); <add> dataSource = new Mp3AlbumDataSource(getResources()); <ide> } <ide> <ide> private void setupPresenter() {
Java
apache-2.0
86d69c6a2568fd94855f3094d21dfcbdda97745a
0
kwakuzigah/android-autoupdater,arashmidos/android-autoupdater,treejames/android-autoupdater,nikunjkacha/android-autoupdater,heenwang/android-autoupdater,danielZhang0601/android-autoupdater,hiagodotme/android-autoupdater,rafaelwkerr/android-autoupdater,lobo12/android-autoupdater,BraveAction/android-autoupdater,moziqi/an...
package com.github.snowdream.android.app.updater; import android.text.TextUtils; import com.github.snowdream.android.util.Log; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import org.xmlpull.v1.XmlPullParserFactory; import java.io.IOException; import java.io.StringReader; impor...
client/src/main/java/com/github/snowdream/android/app/updater/UpdateXmlParser.java
package com.github.snowdream.android.app.updater; import android.text.TextUtils; import com.github.snowdream.android.util.Log; import org.xmlpull.v1.XmlPullParser; import org.xmlpull.v1.XmlPullParserException; import org.xmlpull.v1.XmlPullParserFactory; import java.io.IOException; import java.io.StringReader; impor...
Fixed: String value compare via == operator? :D on : UpdateXmlParser at line : 97 and 101
client/src/main/java/com/github/snowdream/android/app/updater/UpdateXmlParser.java
Fixed: String value compare via == operator? :D on : UpdateXmlParser at line : 97 and 101
<ide><path>lient/src/main/java/com/github/snowdream/android/app/updater/UpdateXmlParser.java <ide> } <ide> } else if (currentTag.equals(TAG_FORCE_UPDATE)) { <ide> if (info != null) { <del> info.setForceUpdate(xpp.nextText() =...
Java
apache-2.0
2a7a29211eec4b72bda34da96be677bee1a07f31
0
vital-ai/beaker-notebook,ScottPJones/beaker-notebook,ScottPJones/beaker-notebook,vital-ai/beaker-notebook,vital-ai/beaker-notebook,vital-ai/beaker-notebook,ScottPJones/beaker-notebook,vital-ai/beaker-notebook,vital-ai/beaker-notebook,ScottPJones/beaker-notebook,vital-ai/beaker-notebook,ScottPJones/beaker-notebook
/* * Copyright 2014 TWO SIGMA OPEN SOURCE, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
plugin/jvm/src/main/java/com/twosigma/beaker/chart/xychart/SimpleTimePlot.java
/* * Copyright 2014 TWO SIGMA OPEN SOURCE, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
fix default colors for SimpleTimePlot
plugin/jvm/src/main/java/com/twosigma/beaker/chart/xychart/SimpleTimePlot.java
fix default colors for SimpleTimePlot
<ide><path>lugin/jvm/src/main/java/com/twosigma/beaker/chart/xychart/SimpleTimePlot.java <ide> //saturation 75% <ide> //brightness 85% <ide> private static final Color[] NICE_COLORS = { <del> new Color(54, 54, 217), //blue hue = 240 <del> new Color(216, 54, 54), //red hue = 0 <del> new Color(54, 216,...
Java
apache-2.0
8f23295afc1ccfd2ccdc23a5067e18663207c9e5
0
FangStarNet/symphonyx,FangStarNet/symphonyx,FangStarNet/symphonyx
/* * Copyright (c) 2012-2016, b3log.org & hacpai.com & fangstar.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
src/main/java/org/b3log/symphony/service/NotificationQueryService.java
/* * Copyright (c) 2012-2016, b3log.org & hacpai.com & fangstar.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
完善通知中的 emoji 处理
src/main/java/org/b3log/symphony/service/NotificationQueryService.java
完善通知中的 emoji 处理
<ide><path>rc/main/java/org/b3log/symphony/service/NotificationQueryService.java <ide> * Notification query service. <ide> * <ide> * @author <a href="http://88250.b3log.org">Liang Ding</a> <del> * @version 1.4.0.4, Feb 23, 2016 <add> * @version 1.4.1.4, Feb 26, 2016 <ide> * @since 0.2.5 <ide> */ <ide> @Service <id...
JavaScript
mit
781bda3a27cd7034fd406f685bacba083a530f5f
0
Ajnasz/hupper,Ajnasz/hupper
/*jshint esnext:true*/ /*global chrome*/ (function (req) { 'use strict'; let func = req('func'); let modBlocks = req('blocks'); let modArticles = req('articles'); let modHupperBlock = req('hupper-block'); function addHupperBlock() { return new Promise(function (resolve) { modHupperBlock.addHupperBlock(); ...
chrome/data/hupper.js
/*jshint esnext:true*/ /*global chrome*/ (function (req) { 'use strict'; let func = req('func'); let modBlocks = req('blocks'); let modHupperBlock = req('hupper-block'); function addHupperBlock() { return new Promise(function (resolve) { modHupperBlock.addHupperBlock(); document.getElementById('block-h...
Load modules on top
chrome/data/hupper.js
Load modules on top
<ide><path>hrome/data/hupper.js <ide> let func = req('func'); <ide> <ide> let modBlocks = req('blocks'); <add> let modArticles = req('articles'); <ide> let modHupperBlock = req('hupper-block'); <ide> <ide> function addHupperBlock() { <ide> } <ide> <ide> function onGetArticles() { <del> let modArticles = req('...
Java
apache-2.0
6baa139afef4aaa6ca857d54d39e6b187a656a32
0
tomaszrogalski/gwt-jackson,BenDol/gwt-jackson,BenDol/gwt-jackson,nmorel/gwt-jackson
/* * Copyright 2013 Nicolas Morel * * 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...
gwt-jackson/src/main/java/com/github/nmorel/gwtjackson/client/AbstractObjectMapper.java
/* * Copyright 2013 Nicolas Morel * * 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...
Keep the serializer and deserializer instance in AbstractObjectMapper To avoid recreating them each time
gwt-jackson/src/main/java/com/github/nmorel/gwtjackson/client/AbstractObjectMapper.java
Keep the serializer and deserializer instance in AbstractObjectMapper
<ide><path>wt-jackson/src/main/java/com/github/nmorel/gwtjackson/client/AbstractObjectMapper.java <ide> <ide> private final String rootName; <ide> <add> private JsonDeserializer<T> deserializer; <add> <add> private JsonSerializer<T> serializer; <add> <ide> protected AbstractObjectMapper( String rootName...
Java
apache-2.0
ac81ebbd3d9116902630d226657bb1fa8ab84c7a
0
BeikeElectricity/ProjectX,BeikeElectricity/ProjectX,BeikeElectricity/ProjectX
package eic.beike.projectx.model; import java.util.Random; import eic.beike.projectx.android.event.IGameEventTrigger; import eic.beike.projectx.network.busdata.BusCollector; import eic.beike.projectx.network.busdata.SimpleBusCollector; import eic.beike.projectx.util.GameColor; /** * @author Simon * @author Alex *...
App/app/src/main/java/eic/beike/projectx/model/GameModel.java
package eic.beike.projectx.model; import java.util.Random; import eic.beike.projectx.android.event.IGameEventTrigger; import eic.beike.projectx.network.busdata.BusCollector; import eic.beike.projectx.network.busdata.SimpleBusCollector; import eic.beike.projectx.util.GameColor; /** * @author Simon * @author Alex *...
Bugfix, BusWaitingActivity should set bus. GameModel is only created after a bus has been found.
App/app/src/main/java/eic/beike/projectx/model/GameModel.java
Bugfix, BusWaitingActivity should set bus.
<ide><path>pp/app/src/main/java/eic/beike/projectx/model/GameModel.java <ide> public GameModel(IGameEventTrigger triggers){ <ide> super(); <ide> busCollector = SimpleBusCollector.getInstance(); <del> busCollector.chooseBus(BusCollector.TEST_BUSS_VIN_NUMBER); <ide> this.triggers = trig...
Java
apache-2.0
7fe6229fedf9a5036ea4da180b9eb8e943048db4
0
Scrier/opus,Scrier/opus
/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distri...
duke/src/main/java/io/github/scrier/opus/duke/commander/state/Created.java
/** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distri...
Shutdown call terminated the handling, added default handling for created state
duke/src/main/java/io/github/scrier/opus/duke/commander/state/Created.java
Shutdown call terminated the handling, added default handling for created state
<ide><path>uke/src/main/java/io/github/scrier/opus/duke/commander/state/Created.java <ide> */ <ide> package io.github.scrier.opus.duke.commander.state; <ide> <add>import org.apache.logging.log4j.Logger; <add>import org.apache.logging.log4j.LogManager; <add> <ide> import io.github.scrier.opus.duke.commander.ClusterDis...
JavaScript
mit
5102a03d48840794ad019701292cfd69b0321b90
0
felixzapata/gulp-axe-webdriver
'use strict'; var path = require('path'); var fs = require('fs-path'); var glob = require('glob'); var AxeBuilder = require('axe-webdriverjs'); var WebDriver = require('selenium-webdriver'); var Promise = require('promise'); var fileUrl = require('file-url'); var reporter = require('./lib/reporter'); var chalk = requir...
index.js
'use strict'; var path = require('path'); var fs = require('fs-path'); var glob = require('glob'); var AxeBuilder = require('axe-webdriverjs'); var WebDriver = require('selenium-webdriver'); var Promise = require('promise'); var fileUrl = require('file-url'); var reporter = require('./lib/reporter'); var chalk = requir...
Increase setScriptTimeout
index.js
Increase setScriptTimeout
<ide><path>ndex.js <ide> var chromeOptions = options.headless ? { 'args': ['--headless'] } : {}; <ide> chromeCapabilities.set('chromeOptions', chromeOptions); <ide> var driver = new WebDriver.Builder().withCapabilities(chromeCapabilities).build(); <del> driver.manage().timeouts().setScriptTimeout(500); <add> driver....
Java
mit
error: pathspec 'LeetCodeSolutions/java/src/401_Binary_Watch/Solution.java' did not match any file(s) known to git
c797b323d866599e75ba3df18db829cf058ab5df
1
ChuanleiGuo/AlgorithmsPlayground,ChuanleiGuo/AlgorithmsPlayground,ChuanleiGuo/AlgorithmsPlayground,ChuanleiGuo/AlgorithmsPlayground
import java.util.List; import java.util.ArrayList; public class Solution { public List<String> readBinaryWatch(int num) { List<String> res = new ArrayList<>(); int[] nums1 = new int[]{8, 4, 2, 1}, nums2 = new int[]{32, 16, 8, 4, 2, 1}; for(int i = 0; i <= num; i++) { List<Intege...
LeetCodeSolutions/java/src/401_Binary_Watch/Solution.java
401. Binary Watch
LeetCodeSolutions/java/src/401_Binary_Watch/Solution.java
401. Binary Watch
<ide><path>eetCodeSolutions/java/src/401_Binary_Watch/Solution.java <add>import java.util.List; <add>import java.util.ArrayList; <add> <add>public class Solution { <add> public List<String> readBinaryWatch(int num) { <add> List<String> res = new ArrayList<>(); <add> int[] nums1 = new int[]{8, 4, 2, 1},...
Java
epl-1.0
9e56a5f8b50ec16876d0eeca9803605da301cb66
0
bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs,bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs,bfg-repo-cleaner-demos/eclipselink.runtime-bfg-strip-big-blobs
/******************************************************************************* * Copyright (c) 2011 Oracle. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 * which accompanies thi...
moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/jaxb/dynamic/DynamicJAXBFromXSDTestCases.java
/******************************************************************************* * Copyright (c) 2011 Oracle. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 * which accompanies thi...
New test case for bug 361994, no code change required Former-commit-id: 61ff1d7cb9c8e9a55c663682388e6fa9c8873fd8
moxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/jaxb/dynamic/DynamicJAXBFromXSDTestCases.java
New test case for bug 361994, no code change required
<ide><path>oxy/eclipselink.moxy.test/src/org/eclipse/persistence/testing/jaxb/dynamic/DynamicJAXBFromXSDTestCases.java <ide> <ide> public String getName() { <ide> return "Dynamic JAXB: XSD: " + super.getName(); <add> } <add> <add> public void testEclipseLinkSchema() throws Exception { <add> //...
Java
lgpl-2.1
39349fa393a7143c5a1b5096a389c132f05f95e1
0
xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,pbondoer/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-repository/xwiki-platform-repository-server-api/src/main/java/org/xwiki/repository/internal/resources/AbstractExtensionRESTResource.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] Improve comment
xwiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-server-api/src/main/java/org/xwiki/repository/internal/resources/AbstractExtensionRESTResource.java
[misc] Improve comment
<ide><path>wiki-platform-core/xwiki-platform-repository/xwiki-platform-repository-server-api/src/main/java/org/xwiki/repository/internal/resources/AbstractExtensionRESTResource.java <ide> DocumentReference extensionDocumentReference = <ide> new DocumentReference(xcontext.getWikiId(), documentSpace, ...
JavaScript
mit
4b68dbeb903224ef7a0c09ba4c136d9760326ced
0
rock-doves-2014/onPoint
document.addEventListener("DOMContentLoaded", function(event) { var session = new SessionController(); document.onmouseup = function run(event) { if (window.getSelection() != "") { var xCoord = event.pageX; var yCoord = event.pageY; var element = session.spawnEchoForm(xCoord, yCoord); ...
dummyformreader.js
document.addEventListener("DOMContentLoaded", function(event) { var session = new SessionController(); document.onmouseup = function run() { if (window.getSelection() != "") { var element = session.spawnEchoForm(); var echoForm = document.getElementById("echo-submit"); var selectedString ...
capturing x and y coordinates on mouseup
dummyformreader.js
capturing x and y coordinates on mouseup
<ide><path>ummyformreader.js <ide> <ide> var session = new SessionController(); <ide> <del> document.onmouseup = function run() { <add> document.onmouseup = function run(event) { <ide> <ide> if (window.getSelection() != "") { <ide> <del> var element = session.spawnEchoForm(); <add> var xCoord = ev...
Java
apache-2.0
9551956d376b8423cd9da891f21589845cbf0e4d
0
spennihana/h2o-3,jangorecki/h2o-3,michalkurka/h2o-3,jangorecki/h2o-3,jangorecki/h2o-3,spennihana/h2o-3,h2oai/h2o-3,michalkurka/h2o-3,jangorecki/h2o-3,jangorecki/h2o-3,h2oai/h2o-dev,michalkurka/h2o-3,h2oai/h2o-dev,mathemage/h2o-3,h2oai/h2o-3,mathemage/h2o-3,h2oai/h2o-dev,michalkurka/h2o-3,h2oai/h2o-3,spennihana/h2o-3,h2...
package hex.deepwater; import hex.Model; import hex.ScoreKeeper; import hex.genmodel.utils.DistributionFamily; import water.H2O; import water.exceptions.H2OIllegalArgumentException; import water.fvec.Vec; import water.parser.BufferedString; import water.util.ArrayUtils; import water.util.Log; import javax.imageio.Ima...
h2o-algos/src/main/java/hex/deepwater/DeepWaterParameters.java
package hex.deepwater; import hex.Model; import hex.ScoreKeeper; import hex.genmodel.utils.DistributionFamily; import water.H2O; import water.exceptions.H2OIllegalArgumentException; import water.fvec.Vec; import water.parser.BufferedString; import water.util.ArrayUtils; import water.util.Log; import javax.imageio.Ima...
Cleanup error handling to not hve WARN messages during startup.
h2o-algos/src/main/java/hex/deepwater/DeepWaterParameters.java
Cleanup error handling to not hve WARN messages during startup.
<ide><path>2o-algos/src/main/java/hex/deepwater/DeepWaterParameters.java <ide> import java.lang.reflect.Field; <ide> import java.net.URL; <ide> import java.util.Arrays; <add> <add>import static hex.deepwater.DeepWaterParameters.ProblemType.auto; <ide> <ide> /** <ide> * Parameters for a Deep Water image classification...
Java
epl-1.0
620a9f8589179dbcca0739c9a424f68c3e8838b8
0
ingridcoda/jantarDosFilosofos
jantarDosFilosofos_versaoCorreta/jantarDosFilosofos/jantarDosFilosofos_OK/Jantar.java
package jantarDosFilosofos_OK; public class Jantar { /* Classe principal do programa */ public static void main(String[] args){ Mesa mesa = new Mesa(); Thread filosofo1 = new Filosofo(0, mesa); Thread filosofo2 = new Filosofo(1, mesa); Thread filosofo3 = new Filosofo(2, mesa); Thread f...
Delete Jantar.java
jantarDosFilosofos_versaoCorreta/jantarDosFilosofos/jantarDosFilosofos_OK/Jantar.java
Delete Jantar.java
<ide><path>antarDosFilosofos_versaoCorreta/jantarDosFilosofos/jantarDosFilosofos_OK/Jantar.java <del>package jantarDosFilosofos_OK; <del> <del>public class Jantar { <del> <del> /* Classe principal do programa */ <del> public static void main(String[] args){ <del> <del> Mesa mesa = new Mesa(); <del> <del> Thread...
JavaScript
mit
0e1bb3431e516441cc52a0b3604462ccde7336ac
0
WordPress-Coding-Standards/eslint-plugin-wordpress,ntwb/eslint-plugin-wordpress
module.exports = { extends: 'plugin:wordpress/recommended', env: { browser: true, qunit: true }, plugins: [ 'qunit' ], rules: require('./rules/qunit') };
lib/configs/qunit.js
module.exports = { extends: 'plugin:wordpress/recommended', env: { browser: true }, plugins: [ 'qunit' ], rules: require('./rules/qunit') };
fix: Add qunit environment to qunit shared config (#22)
lib/configs/qunit.js
fix: Add qunit environment to qunit shared config (#22)
<ide><path>ib/configs/qunit.js <ide> extends: 'plugin:wordpress/recommended', <ide> <ide> env: { <del> browser: true <add> browser: true, <add> qunit: true <ide> }, <ide> <ide> plugins: [
JavaScript
apache-2.0
2fbea2efe282e60a7140a0f3272bbb1c3ca57c0d
0
interglobalvision/fruitmilk-net,interglobalvision/fruitmilk-net,interglobalvision/fruitmilk-net
//(function() { /* * NAV / MATTER.JS */ // Matter module aliases var Engine = Matter.Engine, Events = Matter.Events, World = Matter.World, Body = Matter.Body, Bodies = Matter.Bodies, Vertices = Matter.Vertices, Common = Matter.Common, Composite = Matter.Composite,...
js/nav.js
//(function() { /* * NAV / MATTER.JS */ // Matter module aliases var Engine = Matter.Engine, World = Matter.World, Body = Matter.Body, Bodies = Matter.Bodies, Vertices = Matter.Vertices, Common = Matter.Common, Composite = Matter.Composite, Composites = Matter.Com...
fix - static blobs composite
js/nav.js
fix - static blobs composite
<ide><path>s/nav.js <ide> <ide> // Matter module aliases <ide> var Engine = Matter.Engine, <add> Events = Matter.Events, <ide> World = Matter.World, <ide> Body = Matter.Body, <ide> Bodies = Matter.Bodies, <ide> // create semi-static blobs <ide> var staticBlobsOptios = { <ide> f...
JavaScript
mit
2c14d2bf6e1888e97000d22d7c6af7f21dc64766
0
ahmedkotb/sfg.js
DEFAULT_RADIUS = 12 DEFAULT_COLOR = "#228b22" DEFAULT_EDGE_COLOR = "#000000" DEFAULT_SELECTED_COLOR = "#0000FF" STATES = {NORMAL : 0, ADD_NODE: 1, NODE_MOVE: 2, EDGE_WAIT_NODE1: 3,EDGE_WAIT_NODE2: 4, PAN: 5 }; //helper functions function debug(str){ document.getElementById("debug").inne...
sfg.js
DEFAULT_RADIUS = 12 DEFAULT_COLOR = "#228b22" DEFAULT_EDGE_COLOR = "#000000" DEFAULT_SELECTED_COLOR = "#0000FF" STATES = {NORMAL : 0, ADD_NODE: 1, NODE_MOVE: 2, EDGE_WAIT_NODE1: 3,EDGE_WAIT_NODE2: 4 }; //helper functions function debug(str){ document.getElementById("debug").innerHTML += str + "<b...
added pan action to canvas
sfg.js
added pan action to canvas
<ide><path>fg.js <ide> DEFAULT_SELECTED_COLOR = "#0000FF" <ide> <ide> STATES = {NORMAL : 0, ADD_NODE: 1, NODE_MOVE: 2, <del> EDGE_WAIT_NODE1: 3,EDGE_WAIT_NODE2: 4 <add> EDGE_WAIT_NODE1: 3,EDGE_WAIT_NODE2: 4, <add> PAN: 5 <ide> }; <ide> <ide> //helper functions <ide> this.a...
Java
bsd-3-clause
19ffde752ed12bbfaecef5165134496b8f1cea82
0
knopflerfish/knopflerfish.org,knopflerfish/knopflerfish.org,knopflerfish/knopflerfish.org
/* * Copyright (c) 2003-2006, KNOPFLERFISH project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following * conditions are met: * * - Redistributions of source code must retain the above copyright * notice, this ...
osgi/framework/src/org/knopflerfish/framework/bundlestorage/file/Archive.java
/* * Copyright (c) 2003-2006, KNOPFLERFISH project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following * conditions are met: * * - Redistributions of source code must retain the above copyright * notice, this ...
Archive.getInputStream() now returns a steram to the entire jar file holding the archive contents. This solves issue [1516267] in tracker on SourceForge.
osgi/framework/src/org/knopflerfish/framework/bundlestorage/file/Archive.java
Archive.getInputStream() now returns a steram to the entire jar file holding the archive contents. This solves issue [1516267] in tracker on SourceForge.
<ide><path>sgi/framework/src/org/knopflerfish/framework/bundlestorage/file/Archive.java <ide> try { <ide> if (jar != null) { <ide> if (subJar != null) { <del> if (subJar.isDirectory()) { <del> ze = jar.getEntry(subJar.getName() + component); <add> if (component.equals(""))...
Java
apache-2.0
8d2d6421fa1e717fd41130a23c940c910547c00b
0
wso2/product-apim,wso2/product-apim,wso2/product-apim,chamilaadhi/product-apim,wso2/product-apim,wso2/product-apim,chamilaadhi/product-apim,chamilaadhi/product-apim,chamilaadhi/product-apim,chamilaadhi/product-apim
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) 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 * * ...
modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/restapi/admin/throttlingpolicy/SubscriptionThrottlingPolicyTestCase.java
/* * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) 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 * * ...
Add integration tests for subscription throttle policy update
modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/restapi/admin/throttlingpolicy/SubscriptionThrottlingPolicyTestCase.java
Add integration tests for subscription throttle policy update
<ide><path>odules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/restapi/admin/throttlingpolicy/SubscriptionThrottlingPolicyTestCase.java <ide> import org.wso2.am.integration.test.utils.base.APIMIntegrationConstants; <ide> import org.wso2.am.integration.test.utils.bean.APIReques...
JavaScript
epl-1.0
97b9e6697ce579c2dac31a50a6548b01f03711d5
0
cscheid/lux,cscheid/lux,cscheid/lux
Facet.DrawingMode.additive = { set_caps: function() { var ctx = Facet.ctx; ctx.enable(ctx.BLEND); ctx.blendFunc(ctx.SRC_ALPHA, ctx.ONE); } };
src/facet/drawing_mode/additive.js
Facet.DrawingMode.additive = { set_caps: function() { var ctx = Facet.ctx; ctx.enable(ctx.BLEND); ctx.blendFunc(ctx.ONE, ctx.ONE); } };
reverted additive blending
src/facet/drawing_mode/additive.js
reverted additive blending
<ide><path>rc/facet/drawing_mode/additive.js <ide> { <ide> var ctx = Facet.ctx; <ide> ctx.enable(ctx.BLEND); <del> ctx.blendFunc(ctx.ONE, ctx.ONE); <add> ctx.blendFunc(ctx.SRC_ALPHA, ctx.ONE); <ide> } <ide> };
Java
mit
d332aad6bf37011c8c9d4a131ca2c3b20578754c
0
RedTroop/Cubes_2,RedTroop/Cubes_2,ictrobot/Cubes,ictrobot/Cubes
package ethanjones.cubes.world.generator.smooth; import ethanjones.cubes.core.logging.Log; import ethanjones.cubes.side.common.Cubes; import ethanjones.cubes.world.reference.AreaReference; import ethanjones.cubes.world.reference.BlockReference; import ethanjones.cubes.world.server.WorldServer; import ethanjones.cubes....
core/src/ethanjones/cubes/world/generator/smooth/CaveGenerator.java
package ethanjones.cubes.world.generator.smooth; import ethanjones.cubes.core.logging.Log; import ethanjones.cubes.side.common.Cubes; import ethanjones.cubes.world.reference.AreaReference; import ethanjones.cubes.world.reference.BlockReference; import ethanjones.cubes.world.server.WorldServer; import ethanjones.cubes....
Don't bother .clear() before gc
core/src/ethanjones/cubes/world/generator/smooth/CaveGenerator.java
Don't bother .clear() before gc
<ide><path>ore/src/ethanjones/cubes/world/generator/smooth/CaveGenerator.java <ide> } <ide> }}); <ide> <del> blocks.clear(); <del> rooms.clear(); <del> tunnels.clear(); <ide> return cave; <ide> } <ide>
Java
apache-2.0
5ec306e582ff0d7db54959f78d668b1ffdf6b0e3
0
filodb/FiloDB,velvia/FiloDB,tuplejump/FiloDB,velvia/FiloDB,tuplejump/FiloDB,filodb/FiloDB
package filodb.standalone; import java.io.File; import java.io.FileOutputStream; import java.io.InterruptedIOException; import java.io.IOException; import java.io.OutputStream; import java.lang.management.ManagementFactory; import java.lang.management.ThreadInfo; import java.lang.management.ThreadMXBean; import java...
standalone/src/main/java/filodb/standalone/SimpleProfiler.java
package filodb.standalone; import java.io.File; import java.io.FileOutputStream; import java.io.InterruptedIOException; import java.io.IOException; import java.io.OutputStream; import java.lang.management.ManagementFactory; import java.lang.management.ThreadInfo; import java.lang.management.ThreadMXBean; import java...
feat(standalone): Profiler tracks calls to Thread.yield, to indicate how much time is spent contended for ChunkMap locks. (#250)
standalone/src/main/java/filodb/standalone/SimpleProfiler.java
feat(standalone): Profiler tracks calls to Thread.yield, to indicate how much time is spent contended for ChunkMap locks. (#250)
<ide><path>tandalone/src/main/java/filodb/standalone/SimpleProfiler.java <ide> return null; <ide> <ide> case "java.lang.Thread": <add> /* Track yield, since it's used by the ChunkMap lock. <ide> // Reject threads which appeared as doing work only because they ...
Java
apache-2.0
d8552eac084ef92af5eb030eb1e3b66bc17cee13
0
roboguy/pentaho-kettle,ddiroma/pentaho-kettle,dkincade/pentaho-kettle,AlexanderBuloichik/pentaho-kettle,HiromuHota/pentaho-kettle,emartin-pentaho/pentaho-kettle,DFieldFL/pentaho-kettle,e-cuellar/pentaho-kettle,mkambol/pentaho-kettle,stepanovdg/pentaho-kettle,aminmkhan/pentaho-kettle,stepanovdg/pentaho-kettle,ddiroma/pe...
/* * ! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2017 by Pentaho : http://www.pentaho.com * * ****************************************************************************** * * Licensed under the Apache License, Version...
engine/src/main/java/org/pentaho/di/trans/ael/websocket/TransWebSocketEngineAdapter.java
/* * ! ****************************************************************************** * * Pentaho Data Integration * * Copyright (C) 2002-2017 by Pentaho : http://www.pentaho.com * * ****************************************************************************** * * Licensed under the Apache License, Version...
[BACKLOG-18598] Avoid NP when LogEntry doesn't have the throwable
engine/src/main/java/org/pentaho/di/trans/ael/websocket/TransWebSocketEngineAdapter.java
[BACKLOG-18598] Avoid NP when LogEntry doesn't have the throwable
<ide><path>ngine/src/main/java/org/pentaho/di/trans/ael/websocket/TransWebSocketEngineAdapter.java <ide> LogLevel logLogLevel = data.getLogLogLevel(); <ide> switch ( logLogLevel ) { <ide> case ERROR: <del> logChannel.logError( data.getMessage(), data.getThrowable() ); <add> if ( data.getThro...
Java
apache-2.0
589b0c42876783d62e39c5648dc21788cf06c967
0
phimpme/android-prototype,phimpme/android-prototype,phimpme/android-prototype,phimpme/android-prototype
package org.fossasia.phimpme; import android.app.Application; import android.content.Context; import android.support.multidex.MultiDex; import android.util.Log; import com.crashlytics.android.Crashlytics; import com.facebook.stetho.Stetho; import com.nostra13.universalimageloader.cache.disc.impl.UnlimitedDiskCache; i...
app/src/main/java/org/fossasia/phimpme/MyApplication.java
package org.fossasia.phimpme; import android.app.Application; import android.content.Context; import android.support.multidex.MultiDex; import android.util.Log; import com.crashlytics.android.Crashlytics; import com.facebook.stetho.Stetho; import com.nostra13.universalimageloader.cache.disc.impl.UnlimitedDiskCache; i...
Removed crashlytics from development (#1082)
app/src/main/java/org/fossasia/phimpme/MyApplication.java
Removed crashlytics from development (#1082)
<ide><path>pp/src/main/java/org/fossasia/phimpme/MyApplication.java <ide> import com.uphyca.stetho_realm.RealmInspectorModulesProvider; <ide> <ide> import io.fabric.sdk.android.Fabric; <add> <ide> import org.fossasia.phimpme.gallery.data.Album; <ide> import org.fossasia.phimpme.gallery.data.HandlingAlbums; <ide> impor...
Java
agpl-3.0
5ed5afd9e95a3214f1f079f5e9619239e61b39fc
0
medsob/Tanaguru,medsob/Tanaguru,dzc34/Asqatasun,Asqatasun/Asqatasun,Asqatasun/Asqatasun,medsob/Tanaguru,dzc34/Asqatasun,Tanaguru/Tanaguru,Tanaguru/Tanaguru,Asqatasun/Asqatasun,Tanaguru/Tanaguru,Tanaguru/Tanaguru,medsob/Tanaguru,dzc34/Asqatasun,dzc34/Asqatasun,Asqatasun/Asqatasun,Asqatasun/Asqatasun,dzc34/Asqatasun
/* * Tanaguru - Automated webpage assessment * Copyright (C) 2008-2011 Open-S Company * * This file is part of Tanaguru. * * Tanaguru is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either vers...
web-app/tgol-orchestrator/src/main/java/org/opens/tgol/orchestrator/TanaguruOrchestratorImpl.java
/* * Tanaguru - Automated webpage assessment * Copyright (C) 2008-2011 Open-S Company * * This file is part of Tanaguru. * * Tanaguru is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either vers...
#587 : downgrade commons-collections.jar version from 3.2.1 to 3.1
web-app/tgol-orchestrator/src/main/java/org/opens/tgol/orchestrator/TanaguruOrchestratorImpl.java
#587 : downgrade commons-collections.jar version from 3.2.1 to 3.1
<ide><path>eb-app/tgol-orchestrator/src/main/java/org/opens/tgol/orchestrator/TanaguruOrchestratorImpl.java <ide> import java.util.*; <ide> import java.util.concurrent.ConcurrentHashMap; <ide> import java.util.concurrent.Future; <del>import org.apache.commons.collections.CollectionUtils; <del>import org.apache.commons....
Java
bsd-2-clause
c663c1e0dfe264e0e1ef5d87b500f321fcd9ff6a
0
jwoehr/ublu,jwoehr/ublu,jwoehr/ublu,jwoehr/ublu,jwoehr/ublu
/* * Copyright (c) 2015, Absolute Performance, Inc. http://www.absolute-performance.com * Copyright (c) 2016, Jack J. Woehr jwoehr@softwoehr.com * SoftWoehr LLC PO Box 51, Golden CO 80402-0051 http://www.softwoehr.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without ...
src/ublu/command/Command.java
/* * Copyright (c) 2015, Absolute Performance, Inc. http://www.absolute-performance.com * Copyright (c) 2016, Jack J. Woehr jwoehr@softwoehr.com * SoftWoehr LLC PO Box 51, Golden CO 80402-0051 http://www.softwoehr.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without ...
changed accessors
src/ublu/command/Command.java
changed accessors
<ide><path>rc/ublu/command/Command.java <ide> private boolean hasUnknownDashCommand; <ide> private AS400 as400; <ide> /** <del> * ublu instance <add> * Interpreter instance <ide> */ <ide> private Interpreter myInterpreter; <ide> /** <ide> * Command commandName <ide> */ <del> ...
Java
mit
08137b46eb1844f86b03210d770717b9fa66aef2
0
Azure/azure-sdk-for-java,navalev/azure-sdk-for-java,selvasingh/azure-sdk-for-java,navalev/azure-sdk-for-java,navalev/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,selvasingh/azure-sdk-for-java,Azure/azure-sdk-for-java,navalev/azure-sdk-for-java,Azure/azure-sdk-for-java,navalev/azure-sdk-for-...
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */ package com.microsoft.azure.v2; import com.microsoft.rest.v2.RestException; import com.microsoft.rest.v2.RestProxy; import com.microsoft.rest.v2.Swagg...
azure-client-runtime/src/main/java/com/microsoft/azure/v2/PollStrategy.java
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. */ package com.microsoft.azure.v2; import com.microsoft.rest.v2.RestException; import com.microsoft.rest.v2.RestProxy; import com.microsoft.rest.v2.Swagg...
Fix spelling in PollStrategy Javadoc (#392)
azure-client-runtime/src/main/java/com/microsoft/azure/v2/PollStrategy.java
Fix spelling in PollStrategy Javadoc (#392)
<ide><path>zure-client-runtime/src/main/java/com/microsoft/azure/v2/PollStrategy.java <ide> } <ide> <ide> /** <del> * @erturn The data for the strategy. <add> * @return The data for the strategy. <ide> */ <ide> public abstract Serializable strategyData(); <ide>
Java
apache-2.0
ca9f2e1dcc73b5140ba6a98217ee5fb77cb80ced
0
hmusavi/jpo-ode,hmusavi/jpo-ode,hmusavi/jpo-ode,hmusavi/jpo-ode,hmusavi/jpo-ode
package us.dot.its.jpo.ode.traveler; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ConcurrentSkipListMap; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import org.json.JSONObject; i...
jpo-ode-svcs/src/main/java/us/dot/its/jpo/ode/traveler/TimController.java
package us.dot.its.jpo.ode.traveler; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Callable; import java.util.concurrent.ConcurrentSkipListMap; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import org.json.JSONObject; i...
ODE-587 revert until can get logging on aem
jpo-ode-svcs/src/main/java/us/dot/its/jpo/ode/traveler/TimController.java
ODE-587 revert until can get logging on aem
<ide><path>po-ode-svcs/src/main/java/us/dot/its/jpo/ode/traveler/TimController.java <ide> <ide> //Create an encoding element <ide> //Asn1Encoding enc = new Asn1Encoding("/payload/data/MessageFrame", "MessageFrame", EncodingRule.UPER); <del> Asn1Encoding enc = new Asn1Encoding("/payload/data/Mess...
Java
lgpl-2.1
error: pathspec 'projects/samskivert/tests/src/java/com/samskivert/util/AdjustTestApp.java' did not match any file(s) known to git
5109821d5ceebe220207e08433b402922f25e42f
1
samskivert/samskivert,samskivert/samskivert
// // $Id: AdjustTestApp.java,v 1.1 2003/01/15 00:47:06 mdb Exp $ package com.samskivert.util; import java.awt.BorderLayout; import javax.swing.BorderFactory; import javax.swing.JComponent; import javax.swing.JFrame; import javax.swing.JPanel; /** * Does something extraordinary. */ public class AdjustTestApp { ...
projects/samskivert/tests/src/java/com/samskivert/util/AdjustTestApp.java
A test app for the runtime adjustment stuff. git-svn-id: 64ebf368729f38804935acb7146e017e0f909c6b@1016 6335cc39-0255-0410-8fd6-9bcaacd3b74c
projects/samskivert/tests/src/java/com/samskivert/util/AdjustTestApp.java
A test app for the runtime adjustment stuff.
<ide><path>rojects/samskivert/tests/src/java/com/samskivert/util/AdjustTestApp.java <add>// <add>// $Id: AdjustTestApp.java,v 1.1 2003/01/15 00:47:06 mdb Exp $ <add> <add>package com.samskivert.util; <add> <add>import java.awt.BorderLayout; <add>import javax.swing.BorderFactory; <add>import javax.swing.JComponent; <add...
Java
apache-2.0
3a3e7c70ec70b1dcb16b88b4ff3703737dd1a3b9
0
JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support,JetBrains/teamcity-nuget-support
/* * Copyright 2000-2017 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...
nuget-tests/src/jetbrains/buildServer/nuget/tests/integration/feed/server/NuGetJavaFeedContentPerformanceTest.java
/* * Copyright 2000-2017 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...
Increase time for performance test
nuget-tests/src/jetbrains/buildServer/nuget/tests/integration/feed/server/NuGetJavaFeedContentPerformanceTest.java
Increase time for performance test
<ide><path>uget-tests/src/jetbrains/buildServer/nuget/tests/integration/feed/server/NuGetJavaFeedContentPerformanceTest.java <ide> setODataSerializer(library); <ide> do_test_list_packages( <ide> 50000, <del> 0.4, <add> 2, <ide> "?$filter=IsLatestVersion" + <ide> ...
Java
apache-2.0
000861fb8dd04b45f7a6c445dc2abd4696cf6ae0
0
CognizantQAHub/Cognizant-Intelligent-Test-Scripter,CognizantQAHub/Cognizant-Intelligent-Test-Scripter,CognizantQAHub/Cognizant-Intelligent-Test-Scripter,CognizantQAHub/Cognizant-Intelligent-Test-Scripter
/* * Copyright 2014 - 2019 Cognizant Technology Solutions * * 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 ap...
IDE/src/main/java/com/cognizant/cognizantits/ide/main/mainui/components/testdesign/tree/ProjectTree.java
/* * Copyright 2014 - 2017 Cognizant Technology Solutions * * 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 ap...
Java 9 changes
IDE/src/main/java/com/cognizant/cognizantits/ide/main/mainui/components/testdesign/tree/ProjectTree.java
Java 9 changes
<ide><path>DE/src/main/java/com/cognizant/cognizantits/ide/main/mainui/components/testdesign/tree/ProjectTree.java <ide> /* <del> * Copyright 2014 - 2017 Cognizant Technology Solutions <add> * Copyright 2014 - 2019 Cognizant Technology Solutions <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "Lic...
Java
apache-2.0
e122ef74812c71b74fa6794a4b484e211586f188
0
nvoron23/titan,anvie/titan,elkingtonmcb/titan,samanalysis/titan,wangbf/titan,englishtown/titan,elkingtonmcb/titan,fengshao0907/titan,jankotek/titan,mwpnava/titan,banjiewen/titan,elkingtonmcb/titan,qiuqiyuan/titan,mwpnava/titan,jamestyack/titan,anuragkh/titan,wangbf/titan,elubow/titan,jankotek/titan,elkingtonmcb/titan,a...
package com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue; import com.thinkaurelius.titan.diskstorage.StaticBuffer; import com.thinkaurelius.titan.diskstorage.StorageException; import com.thinkaurelius.titan.diskstorage.keycolumnvalue.KeyColumnValueStore; import com.thinkaurelius.titan.diskstorage.keycolumnv...
titan-core/src/main/java/com/thinkaurelius/titan/diskstorage/keycolumnvalue/keyvalue/CacheStore.java
package com.thinkaurelius.titan.diskstorage.keycolumnvalue.keyvalue; import com.thinkaurelius.titan.diskstorage.StaticBuffer; import com.thinkaurelius.titan.diskstorage.StorageException; import com.thinkaurelius.titan.diskstorage.keycolumnvalue.KeyColumnValueStore; import com.thinkaurelius.titan.diskstorage.keycolumnv...
remove redundant CacheStore.insert method
titan-core/src/main/java/com/thinkaurelius/titan/diskstorage/keycolumnvalue/keyvalue/CacheStore.java
remove redundant CacheStore.insert method
<ide><path>itan-core/src/main/java/com/thinkaurelius/titan/diskstorage/keycolumnvalue/keyvalue/CacheStore.java <ide> */ <ide> <ide> public interface CacheStore extends KeyValueStore { <del> /** <del> * Insert a new value into cache for the given key. <del> * <del> * @param key The key to use for insert...
Java
apache-2.0
fe373e2963df2ecaf1e2476695ff7fd0101ded73
0
lizhi5753186/facebook-android-sdk,Limbika/facebook-android-sdk,couchbaselabs/facebook-android-sdk,RabbleApp/facebook-android-sdk,bitcellar-labs/facebook-android-sdk,satoshi-okawa/facebook-android-sdk-test1,MarkHappy/Facebook_SDK,mindjolt/facebook-android-sdk,Flutterbee/facebook-android-sdk,TimeIncOSS/facebook-android-s...
/* * Copyright 2010 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 agreed ...
examples/stream/src/com/facebook/stream/StreamRenderer.java
/* * Copyright 2010 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 agreed ...
fix profile urls
examples/stream/src/com/facebook/stream/StreamRenderer.java
fix profile urls
<ide><path>xamples/stream/src/com/facebook/stream/StreamRenderer.java <ide> } <ide> <ide> private String getProfileUrl(String id) { <del> return "http://touch.facebook.com/profile.php?id=" + id; <add> return "http://touch.facebook.com/#/profile.php?id=" + id; <ide> } <ide> <ide> /**
Java
apache-2.0
8b04d4ce2c37c26b2b4b663283125a5dd9a3cd7a
0
pferraro/undertow,jamezp/undertow,wildfly-security-incubator/undertow,rhusar/undertow,TomasHofman/undertow,nkhuyu/undertow,stuartwdouglas/undertow,n1hility/undertow,msfm/undertow,darranl/undertow,amannm/undertow,jstourac/undertow,nkhuyu/undertow,grassjedi/undertow,golovnin/undertow,golovnin/undertow,soul2zimate/underto...
/* * Copyright 2012 JBoss, by Red Hat, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
websockets/src/test/java/io/undertow/websockets/protocol/server/AutobahnWebSocketServer.java
/* * Copyright 2012 JBoss, by Red Hat, Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
Use transfer for the autobahn tests
websockets/src/test/java/io/undertow/websockets/protocol/server/AutobahnWebSocketServer.java
Use transfer for the autobahn tests
<ide><path>ebsockets/src/test/java/io/undertow/websockets/protocol/server/AutobahnWebSocketServer.java <ide> import io.undertow.websockets.handler.WebSocketConnectionCallback; <ide> import io.undertow.websockets.handler.WebSocketProtocolHandshakeHandler; <ide> import org.xnio.BufferAllocator; <del>import org.xnio.Buffe...
Java
apache-2.0
5ddf0278883a9c0587441c831383cd31784ce53e
0
pwoodworth/intellij-community,izonder/intellij-community,amith01994/intellij-community,petteyg/intellij-community,allotria/intellij-community,MER-GROUP/intellij-community,kool79/intellij-community,robovm/robovm-studio,Distrotech/intellij-community,blademainer/intellij-community,da1z/intellij-community,vladmm/intellij-c...
/* * Copyright 2000-2014 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...
platform/platform-api/src/com/intellij/ui/ToolbarDecorator.java
/* * Copyright 2000-2013 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...
skip separators when adding actions from action group
platform/platform-api/src/com/intellij/ui/ToolbarDecorator.java
skip separators when adding actions from action group
<ide><path>latform/platform-api/src/com/intellij/ui/ToolbarDecorator.java <ide> /* <del> * Copyright 2000-2013 JetBrains s.r.o. <add> * Copyright 2000-2014 JetBrains s.r.o. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you may not use this file except in compliance with the ...
Java
lgpl-2.1
9b5334885b74ae3472b2c419be0807b8f7b8f4bc
0
MenoData/Time4J
package net.time4j.i18n; import net.time4j.Meridiem; import net.time4j.Month; import net.time4j.PlainDate; import net.time4j.PlainTime; import net.time4j.Quarter; import net.time4j.Weekday; import net.time4j.base.ResourceLoader; import net.time4j.engine.AttributeQuery; import net.time4j.engine.Chronology; import net.t...
base/src/test/java/net/time4j/i18n/CalendricalNamesTest.java
package net.time4j.i18n; import net.time4j.Meridiem; import net.time4j.Month; import net.time4j.PlainDate; import net.time4j.PlainTime; import net.time4j.Quarter; import net.time4j.Weekday; import net.time4j.base.ResourceLoader; import net.time4j.engine.AttributeQuery; import net.time4j.engine.Chronology; import net.t...
code formatting
base/src/test/java/net/time4j/i18n/CalendricalNamesTest.java
code formatting
<ide><path>ase/src/test/java/net/time4j/i18n/CalendricalNamesTest.java <ide> assertThat(result, is("Thứ Hai")); <ide> } <ide> <del> private static boolean isCalendarTypeSupported( <add> private static boolean isCalendarTypeSupported( <ide> TextProvider p, <ide> String calendarType <ide...
JavaScript
mit
71bcad15a79d3ade2b5c340e51d48fab33733d7d
0
infernojs/inferno,infernojs/inferno,trueadm/inferno,trueadm/inferno
import updateFragment from './updateFragment'; import fragmentValueTypes from '../enum/fragmentValueTypes'; import updateFragmentList from './updateFragmentList'; import clearEventListeners from '../../browser/events/clearEventListeners'; import addEventListener from '../../browser/events/addEventListener'; i...
src/universal/core/updateFragmentValues.js
import updateFragment from './updateFragment'; import fragmentValueTypes from '../enum/fragmentValueTypes'; import updateFragmentList from './updateFragmentList'; import clearEventListeners from '../../browser/events/clearEventListeners'; import addEventListener from '../../browser/events/addEventListener'; i...
more changes
src/universal/core/updateFragmentValues.js
more changes
<ide><path>rc/universal/core/updateFragmentValues.js <ide> } else { <ide> element.className = fragment.templateValues[i]; <ide> } <del> return; <add> break; <ide> case fragmentValueTypes.ATTR_ID: <ide> element.id = fragment.templateValues[i]; <del> return; <add> break; <ide> case frag...
Java
mit
error: pathspec 'src/sim/components/queue/DepartureFlowStatistics.java' did not match any file(s) known to git
7959f3860a823708080f5ec4d3d26c5cdf87e781
1
easobral/simulator,easobral/simulator
package sim.components.queue; import java.io.IOException; import java.io.OutputStream; import sim.components.basic.DepartureListener; import sim.components.basic.Job; import sim.components.basic.Node; import sim.timer.Timer; public class DepartureFlowStatistics implements DepartureListener { OutputStream out; Doub...
src/sim/components/queue/DepartureFlowStatistics.java
criado e feito o sistema de estatísticas de saída
src/sim/components/queue/DepartureFlowStatistics.java
criado e feito o sistema de estatísticas de saída
<ide><path>rc/sim/components/queue/DepartureFlowStatistics.java <add>package sim.components.queue; <add> <add>import java.io.IOException; <add>import java.io.OutputStream; <add> <add>import sim.components.basic.DepartureListener; <add>import sim.components.basic.Job; <add>import sim.components.basic.Node; <add>import s...
Java
mit
832a1c4bc8b73a1d742ed817c766eeaa18af6b11
0
chenichadowitz/intelligent-chess-engine
import java.util.*; public abstract class Board { protected boolean playersTurn = true; // whiteturn if true public boolean getTurn(){ return playersTurn;} protected ArrayList<Piece> pieces = new ArrayList<Piece>(); public ArrayList<Piece> getPieces(){ return pieces;} protected LinkedList<Piece>[][] boardSt...
src/Board.java
import java.util.*; public abstract class Board { protected boolean playersTurn = true; // whiteturn if true public boolean getTurn(){ return playersTurn;} protected ArrayList<Piece> pieces = new ArrayList<Piece>(); public ArrayList<Piece> getPieces(){ return pieces;} protected LinkedList<Piece>[][] boardSt...
began implementing boardState
src/Board.java
began implementing boardState
<ide><path>rc/Board.java <ide> public void display(){ <ide> //cheni's code <ide> } <add> public void takePiece(Piece taken){ <add> for(Integer[] square: taken.getMoves()){ <add> //fill in code <add> } <add> } <ide> <ide> abstract boolean movePiece(Piece movingPiece, int[] square); <ide> }
Java
apache-2.0
7da310d0d1f6ed2ae81ade212024f7385cf555c2
0
DenverM80/ds3_java_sdk,SpectraLogic/ds3_java_sdk,SpectraLogic/ds3_java_sdk,rpmoore/ds3_java_sdk,SpectraLogic/ds3_java_sdk,DenverM80/ds3_java_sdk,RachelTucker/ds3_java_sdk,RachelTucker/ds3_java_sdk,RachelTucker/ds3_java_sdk,rpmoore/ds3_java_sdk,DenverM80/ds3_java_sdk,SpectraLogic/ds3_java_sdk,rpmoore/ds3_java_sdk,rpmoor...
/* * ****************************************************************************** * Copyright 2014-2015 Spectra Logic Corporation. 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. A copy of the License i...
ds3-sdk/src/main/java/com/spectralogic/ds3client/Ds3Client.java
/* * ****************************************************************************** * Copyright 2014-2015 Spectra Logic Corporation. 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. A copy of the License i...
Update Ds3Client.java
ds3-sdk/src/main/java/com/spectralogic/ds3client/Ds3Client.java
Update Ds3Client.java
<ide><path>s3-sdk/src/main/java/com/spectralogic/ds3client/Ds3Client.java <ide> <ide> /** <ide> * Deletes an object in a bucket from a DS3 endpoint <del> * @param request The Put Bucket Request object used to customize the HTTP request. The put bucket request object <del> * has some op...
Java
agpl-3.0
9048ad337c9d917d0975473e86d4c8ccbb91e0e9
0
elki-project/elki,elki-project/elki,elki-project/elki
package experimentalcode.hettab.outlier; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.Vector; import de.lmu.ifi.dbs.elki.algorithm.DistanceBasedAlgorithm; import de.lmu.ifi.dbs.elki.data.DatabaseObject; import de.lmu.ifi.dbs.elki.database....
src/experimentalcode/hettab/outlier/INFLO.java
package experimentalcode.hettab.outlier; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.Vector; import de.lmu.ifi.dbs.elki.algorithm.DistanceBasedAlgorithm; import de.lmu.ifi.dbs.elki.data.DatabaseObject; import de.lmu.ifi.dbs.elki.database....
Prepare for release with 0.3
src/experimentalcode/hettab/outlier/INFLO.java
Prepare for release with 0.3
<ide><path>rc/experimentalcode/hettab/outlier/INFLO.java <ide> * <p> <ide> * Reference: <br> <ide> * <p> <del> * Jin, W., Tung, A., Han, J., and Wang, W. 2006. Ranking outliers using <del> * symmetric neighborhood relationship In Proc. Pacific-Asia Conf. on Knowledge <del> * Discovery and Data Mining (PAKDD), Singap...
JavaScript
mit
42c03a67045ca3fd4c984aa613ad86d4fe042d39
0
micromaomao/schsrch,micromaomao/schsrch,micromaomao/schsrch,micromaomao/schsrch
module.exports = (db, mongoose) => { let docSchema = new mongoose.Schema({ subject: {type: 'String', index: true, required: true}, time: {type: 'String', index: true, required: true}, // Eg. s12, w15, y16 (i.e. for speciman paper) type: {type: 'String', index: true, required: true}, // Eg. qp, ms, sp, sm ...
lib/dbModel.js
module.exports = (db, mongoose) => { let docSchema = new mongoose.Schema({ subject: {type: 'String', index: true, required: true}, time: {type: 'String', index: true, required: true}, // Eg. s12, w15, y16 (i.e. for speciman paper) type: {type: 'String', index: true, required: true}, // Eg. qp, ms, sp, sm ...
Use $addFields to clear memory before sort instead of using $project which don't seems to work.
lib/dbModel.js
Use $addFields to clear memory before sort instead of using $project which don't seems to work.
<ide><path>ib/dbModel.js <ide> } else { <ide> aggreArray = [{$match: {$text: {$search: query}}}] <ide> } <del> aggreArray.push({$project: {sspdfCache: false}}) <add> aggreArray.push({$addFields: {sspdfCache: null}}) <ide> aggreArray.push({$sort: {mgScore: {$meta: 'textScore'}}}) <ide> aggreA...
JavaScript
unlicense
a472bbc56b82a0a316d2ca411a7d456d7edb99d9
0
stephband/dom,stephband/dom
import '../polyfills/element.scrollintoview.js'; import { by, curry, get, isDefined, overload, requestTick } from '../../fn/module.js'; import { append, box, classes, create, delegate, Event, events, features, fragmentFromChildren, isInternalLink, isPrimaryButton, tag, query, ready, remove, trigger } from '../module.js...
js/locateable.js
import '../polyfills/element.scrollintoview.js'; import { by, curry, get, isDefined, overload, requestTick } from '../../fn/module.js'; import { append, box, classes, create, delegate, Event, events, features, fragmentFromChildren, isInternalLink, isPrimaryButton, tag, query, ready, remove, trigger } from '../module.js...
Fix 1px scrollTopError
js/locateable.js
Fix 1px scrollTopError
<ide><path>s/locateable.js <ide> <ide> while (boxes[++n]) { <ide> // Stop on locateable lower than the break <del> if (boxes[n].top >= scrollPaddingTop) { <add> if (boxes[n].top > scrollPaddingTop + 1) { <ide> break; <ide> } <ide> }
JavaScript
isc
fd17d20dfd1dddf7d8febae00915c8d585d55010
0
gorillamania/node_geoip_server
/* vim: set expandtab tabstop=2 shiftwidth=2: */ // Load the http module to create an http server. var geoip = require('geoip'), path = require('path'), http = require('http'), url = require('url'); // Command line options var args = require('optimist') .options('port', { default: 9042, ...
app.js
/* vim: set expandtab tabstop=2 shiftwidth=2: */ // Load the http module to create an http server. var geoip = require('geoip'), path = require('path'), http = require('http'), url = require('url'); // Command line options var args = require('optimist') .options('port', { default: 9042, ...
clean up comment
app.js
clean up comment
<ide><path>pp.js <ide> } <ide> } <ide> <del>// Configure our HTTP server to respond with Hello World to all requests. <add>// Configure our HTTP server to respond <ide> var server = http.createServer(function (request, response) { <ide> var ip = getIp(request); <ide> city.lookup(ip, function(err, data) {
Java
mit
2f0fd89957a8c2d606b706b2122564288d5d2a6d
0
ggajos/ot-clean
/** * The MIT License (MIT) * * Copyright (c) 2015 opentangerine.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * t...
src/main/java/com/opentangerine/clean/Cleanable.java
/** * The MIT License (MIT) * * Copyright (c) 2015 opentangerine.com * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * t...
0.11: refactoring, snapshot 4
src/main/java/com/opentangerine/clean/Cleanable.java
0.11: refactoring, snapshot 4
<ide><path>rc/main/java/com/opentangerine/clean/Cleanable.java <ide> import java.io.IOException; <ide> import java.nio.file.Path; <ide> import java.util.List; <add>import java.util.function.BiConsumer; <add>import java.util.function.Function; <ide> import org.apache.commons.io.FileUtils; <ide> <ide> /** <ide> */ ...
Java
lgpl-2.1
34c07a91e1568f0417ef99641d047d45ce417b49
0
KengoTODA/spotbugs,sewe/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,KengoTODA/spotbugs,sewe/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,johnscancella/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,sewe/spotbugs,KengoTODA/spotbugs,sewe/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs
/* * Bytecode Analysis Framework * Copyright (C) 2003, University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your op...
findbugs/src/java/edu/umd/cs/findbugs/ba/AbstractFrameModelingVisitor.java
/* * Bytecode Analysis Framework * Copyright (C) 2003, University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your op...
Allow more flexible overriding for 'normal' instructions. git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@418 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
findbugs/src/java/edu/umd/cs/findbugs/ba/AbstractFrameModelingVisitor.java
Allow more flexible overriding for 'normal' instructions.
<ide><path>indbugs/src/java/edu/umd/cs/findbugs/ba/AbstractFrameModelingVisitor.java <ide> * handleNormalInstruction() method for instructions which produce stack values. <ide> */ <ide> public abstract Value getDefaultValue(); <add> <add> /** <add> * Get the number of words consumed by given instruction. <add> *...
Java
apache-2.0
error: pathspec 'integrationtest/src/test/java/org/openengsb/integrationtest/StartIntegrationTestServer.java' did not match any file(s) known to git
7dccbad94b38a0f8fcc6163952b86e128d17a187
1
openengsb/openengsb,openengsb/openengsb,openengsb/openengsb,openengsb/openengsb,openengsb/openengsb,openengsb/openengsb
/** Copyright 2010 OpenEngSB Division, Vienna University of Technology Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless requ...
integrationtest/src/test/java/org/openengsb/integrationtest/StartIntegrationTestServer.java
added possibility to start openengsb from exam test (refs #openengsb-104) Signed-off-by: Andreas Pieber <57efbcbb22ec0bd89955a40df26b44c340d3e38d@gmail.com>
integrationtest/src/test/java/org/openengsb/integrationtest/StartIntegrationTestServer.java
added possibility to start openengsb from exam test (refs #openengsb-104)
<ide><path>ntegrationtest/src/test/java/org/openengsb/integrationtest/StartIntegrationTestServer.java <add>/** <add> <add> Copyright 2010 OpenEngSB Division, Vienna University of Technology <add> <add> Licensed under the Apache License, Version 2.0 (the "License"); <add> you may not use this file except in compli...
Java
apache-2.0
fa47375bdb479c797e55048c5984787862be21df
0
tateshitah/jspwiki,tateshitah/jspwiki,tateshitah/jspwiki,tateshitah/jspwiki
/* JSPWiki - a JSP-based WikiWiki clone. Copyright (C) 2001-2004 Janne Jalkanen (Janne.Jalkanen@iki.fi) This program 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...
src/com/ecyrd/jspwiki/auth/acl/AclImpl.java
/* JSPWiki - a JSP-based WikiWiki clone. Copyright (C) 2001-2004 Janne Jalkanen (Janne.Jalkanen@iki.fi) This program 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...
Synchronized thread-sensitive methods in the AclImpl/AclEntryImpl class. git-svn-id: 6c0206e3b9edd104850923da33ebd73b435d374d@626297 13f79535-47bb-0310-9956-ffa450edef68
src/com/ecyrd/jspwiki/auth/acl/AclImpl.java
Synchronized thread-sensitive methods in the AclImpl/AclEntryImpl class.
<ide><path>rc/com/ecyrd/jspwiki/auth/acl/AclImpl.java <ide> * @author Andrew Jaquith <ide> * @since 2.3 <ide> */ <del>public class AclImpl <del> implements Acl <add>public class AclImpl implements Acl <ide> { <del> private Vector m_entries = new Vector(); <add> private final Vector m_entries = new Vector(...
Java
apache-2.0
e14a385a8833ce0cde1735af4544a664c4028e40
0
Techcable/netty,idelpivnitskiy/netty,Apache9/netty,kiril-me/netty,mikkokar/netty,zer0se7en/netty,s-gheldd/netty,mikkokar/netty,mcobrien/netty,Apache9/netty,luyiisme/netty,idelpivnitskiy/netty,johnou/netty,maliqq/netty,fengjiachun/netty,andsel/netty,skyao/netty,gerdriesselmann/netty,golovnin/netty,ejona86/netty,KatsuraK...
/* * Copyright 2014 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
handler/src/main/java/io/netty/handler/ssl/OpenSslEngine.java
/* * Copyright 2014 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
Add support for SNIHostName when using Java8+ Motivation: Java8 added support for using SNIHostName with SSLParameters. We currently ignore it in OpenSslEngine. Modifications: Use reflection to support SNIHostName. Result: People using Java8 can use SNIHostName even when OpenSslEngine is used.
handler/src/main/java/io/netty/handler/ssl/OpenSslEngine.java
Add support for SNIHostName when using Java8+
<ide><path>andler/src/main/java/io/netty/handler/ssl/OpenSslEngine.java <ide> import org.apache.tomcat.jni.Buffer; <ide> import org.apache.tomcat.jni.SSL; <ide> <add>import java.lang.reflect.InvocationTargetException; <add>import java.lang.reflect.Method; <ide> import java.nio.ByteBuffer; <ide> import java.nio.ReadOnl...
Java
apache-2.0
16a200d1a508e30223e95e9a2a2bfec06591040d
0
jlfex/hermes,fuhongliang/hermes,fuhongliang/hermes,fuhongliang/hermes,jlfex/hermes,jlfex/hermes
package com.jlfex.hermes.console; import java.io.IOException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.Reques...
hermes-console/src/main/java/com/jlfex/hermes/console/SystemController.java
package com.jlfex.hermes.console; import java.io.IOException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; import org.springframework.web.bind.annotation.Reques...
修复配置错误
hermes-console/src/main/java/com/jlfex/hermes/console/SystemController.java
修复配置错误
<ide><path>ermes-console/src/main/java/com/jlfex/hermes/console/SystemController.java <ide> Images.toBase64(Files.getMimeType(file.getOriginalFilename()), file.getBytes()), <ide> request.getParameter("operationName"), request.getParameter("operationNickname"), <ide> request.getParameter("website"), reque...
Java
epl-1.0
743614bc5928f5e39ed436c8c0d430bf666072af
0
ELTE-Soft/xUML-RT-Executor
package hu.eltesoft.modelexecution.runtime.library; import java.math.BigInteger; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.function.Predicate; import java.util.function.Supplier; import java.util.stream.Collectors; import co...
plugins/hu.eltesoft.modelexecution.runtime/src/hu/eltesoft/modelexecution/runtime/library/CollectionOperations.java
package hu.eltesoft.modelexecution.runtime.library; import java.math.BigInteger; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.HashSet; import java.util.function.Predicate; import java.util.function.Supplier; import java.util.stream.Collectors; import co...
actionCode-sept: fixing collection operations
plugins/hu.eltesoft.modelexecution.runtime/src/hu/eltesoft/modelexecution/runtime/library/CollectionOperations.java
actionCode-sept: fixing collection operations
<ide><path>lugins/hu.eltesoft.modelexecution.runtime/src/hu/eltesoft/modelexecution/runtime/library/CollectionOperations.java <ide> * Currently it always extracts the first item of the collection. <ide> */ <ide> public static <E> ArrayList<E> one(Collection<E> collection) { <add> if (collection.isEmpty()) { <add>...
Java
apache-2.0
da803fb7260d07212600473b4a9e9f0298f820c8
0
YUKAI/konashi-android-sdk,kiryuxxu/konashi-android-sdk,YUKAI/konashi-android-sdk
package com.uxxu.konashi.lib.ui; import android.app.Activity; import android.os.Bundle; import com.uxxu.konashi.lib.KonashiManager; /** * konashiを簡単に使うためのActivity * * @author monakaz, YUKAI Engineering * http://konashi.ux-xu.com * ======================================================================== * Copy...
konashi-android-sdk/src/main/java/com/uxxu/konashi/lib/ui/KonashiActivity.java
package com.uxxu.konashi.lib.ui; import android.app.Activity; import android.os.Bundle; import com.uxxu.konashi.lib.KonashiManager; /** * konashiを簡単に使うためのActivity * * @author monakaz, YUKAI Engineering * http://konashi.ux-xu.com * ======================================================================== * Copy...
Fix KonashiActivity
konashi-android-sdk/src/main/java/com/uxxu/konashi/lib/ui/KonashiActivity.java
Fix KonashiActivity
<ide><path>onashi-android-sdk/src/main/java/com/uxxu/konashi/lib/ui/KonashiActivity.java <ide> protected void onDestroy() { <ide> if(mKonashiManager!=null){ <ide> mKonashiManager.disconnect(); <del> mKonashiManager.close(); <ide> mKonashiManager = null; <ide> } <id...
Java
apache-2.0
7e39b4b39a3fdba19832bc3a5b47c3a9d0b7a8a5
0
Ooppa/iot-industrial-internet,Ooppa/iot-industrial-internet,Ooppa/iot-industrial-internet,Ooppa/iot-industrial-internet
/* * IoT - Industrial Internet Framework * Apache License Version 2.0, January 2004 * Released as a part of Helsinki University * Software Engineering Lab in summer 2015 */ package fi.iot.iiframework.services; import fi.iot.iiframework.application.TestConfig; import fi.iot.iiframework.dataobject.DataSourceObject;...
iot-industrial-internet/src/test/java/fi/iot/iiframework/services/DeviceServiceTest.java
/* * IoT - Industrial Internet Framework * Apache License Version 2.0, January 2004 * Released as a part of Helsinki University * Software Engineering Lab in summer 2015 */ package fi.iot.iiframework.services; import fi.iot.iiframework.application.TestConfig; import fi.iot.iiframework.dataobject.DataSourceObject;...
deviceservicetest now functional...
iot-industrial-internet/src/test/java/fi/iot/iiframework/services/DeviceServiceTest.java
deviceservicetest now functional...
<ide><path>ot-industrial-internet/src/test/java/fi/iot/iiframework/services/DeviceServiceTest.java <ide> import org.springframework.boot.test.SpringApplicationConfiguration; <ide> import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; <ide> <del>@Ignore <ide> @RunWith(SpringJUnit4ClassRunner.class) <i...
JavaScript
mit
a57c5e4a172c4c110d2635088b2cf529308dc3aa
0
ssilab/computed-style-to-inline-style
(function(root, factory) { if (typeof define === "function" && define.amd) { define([], factory); // AMD. } else if (typeof module === 'object' && module.exports) { module.exports = factory(); // CommonJS. } else { root.computedStyleToInlineStyle = factory(); // Browser. } }(this, function() { ret...
index.js
(function(root, factory) { if (typeof define === "function" && define.amd) { define([], factory); // AMD. } else if (typeof module === 'object' && module.exports) { module.exports = factory(); // CommonJS. } else { root.computedStyleToInlineStyle = factory(); // Browser. } }(this, function() { ret...
Drop instanceof check
index.js
Drop instanceof check
<ide><path>ndex.js <ide> return function computedStyleToInlineStyle(element, recursive) { <ide> if (!element) { <ide> throw new Error("No element specified."); <del> } <del> <del> if (!(element instanceof Element)) { <del> throw new Error("Specified element is not an instance of Element."); <ide>...
Java
apache-2.0
24ffa9350df9d32b35e3cf746bbcfb9b3d9dc517
0
GerritCodeReview/gerrit,WANdisco/gerrit,gerrit-review/gerrit,gerrit-review/gerrit,GerritCodeReview/gerrit,WANdisco/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,gerrit-review/gerrit,WANdisco/gerrit,qtproject/qtqa-gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-gerrit,qtproject/qtqa-gerrit,G...
// Copyright (C) 2015 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/git/ForcePushIT.java
// Copyright (C) 2015 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
ForcePushIT: Add tests for deleting branch by push Test that a branch can be deleted by pushing to ":refs/heads/branch-name", while having the "PUSH" permission with the force option, or the "DELETE" permission. Test that it is not possible to delete without either of the permissions, or when having the "PUSH" permiss...
gerrit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/git/ForcePushIT.java
ForcePushIT: Add tests for deleting branch by push
<ide><path>errit-acceptance-tests/src/test/java/com/google/gerrit/acceptance/git/ForcePushIT.java <ide> package com.google.gerrit.acceptance.git; <ide> <ide> import static com.google.common.truth.Truth.assertThat; <add>import static com.google.gerrit.acceptance.GitUtil.deleteRef; <ide> import static org.eclipse.jgit.l...
JavaScript
mit
ca96812a2377ee17f4183f9c7d445013c5d41a78
0
christophior/spotify-web-api-node,thelinmichael/spotify-web-api-node,jlewallen/spotify-web-api-node,UnbounDev/spotify-web-api-node,JMPerez/spotify-web-api-node,erezny/spotify-web-api-node
var SpotifyWebApi = require('../src/spotify-web-api'), should = require('should') fs = require('fs'); 'use strict'; describe('Spotify Web API', function() { this.timeout(5000); it('should set clientId, clientSecret and redirectUri', function() { var credentials = { clientId : 'someClientId', ...
test/spotify-web-api.js
var SpotifyWebApi = require('../src/spotify-web-api'), should = require('should') fs = require('fs'); 'use strict'; describe('Spotify Web API', function() { this.timeout(5000); it('should set clientId, clientSecret and redirectUri', function() { var credentials = { clientId : 'someClientId', ...
Fix artists albums test
test/spotify-web-api.js
Fix artists albums test
<ide><path>est/spotify-web-api.js <ide> 'https://api.spotify.com/v1/search?query=Mr.+Brightside&offset=2&limit=3&type=track'.should.equal(data.tracks.href); <ide> done(); <ide> }, function(err) { <add> console.log(err); <ide> done(err); <ide> }); <ide> }); <ide> var api ...
Java
apache-2.0
6343dfe1daf84c39c6244a814905f98eb5af6adb
0
ferney95/karaoke_1
package interfaz; import java.awt.Color; import javax.swing.JComboBox; import javax.swing.JPanel; import logica.Autor; import logica.Genero; public class PanelIzquierda extends JPanel { private static final long serialVersionUID = 1L; private JComboBox<Genero> jcGenero; private JComboBox<Autor> j...
karaoke/src/interfaz/PanelIzquierda.java
package interfaz; import java.awt.Color; import javax.swing.JComboBox; import javax.swing.JPanel; import logica.Autor; import logica.Genero; public class PanelIzquierda extends JPanel { private static final long serialVersionUID = 1L; private JComboBox<Genero> jcGenero; private JComboBox<Autor> j...
Agregar componentes alpanel ycorregir unos errores
karaoke/src/interfaz/PanelIzquierda.java
Agregar componentes alpanel ycorregir unos errores
<ide><path>araoke/src/interfaz/PanelIzquierda.java <ide> <ide> public PanelIzquierda() { <ide> <del> setSize(500,510); <del> setBackground(Color.RED); <add> setSize(600,100); <add> <ide> <ide> jcGenero = new JComboBox<Genero>(); <del> jcGenero.setSize(20, 78); <add> jcGenero.setSize(30, 100); <ide> ...
Java
lgpl-2.1
87383d1a754c67d92d924e2b3b54206945227356
0
levants/lightmare
package org.lightmare.deploy; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import java.util.concurrent.ThreadFactory; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock;...
src/main/java/org/lightmare/deploy/LoaderPoolManager.java
package org.lightmare.deploy; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future; import java.util.concurrent.ThreadFactory; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock;...
improved ShutDown class method
src/main/java/org/lightmare/deploy/LoaderPoolManager.java
improved ShutDown class method
<ide><path>rc/main/java/org/lightmare/deploy/LoaderPoolManager.java <ide> private static final Lock LOCK = new ReentrantLock(); <ide> <ide> /** <del> * Tries to lock Lock object if it it not locked else runs loop while Lock <del> * releases and locks it again <add> * Tries to lock Lock object or wa...
Java
agpl-3.0
389529501000075eda05693f7d0c8b0fbe0ee164
0
Asqatasun/Asqatasun,Tanaguru/Tanaguru,Tanaguru/Tanaguru,Tanaguru/Tanaguru,medsob/Tanaguru,dzc34/Asqatasun,Tanaguru/Tanaguru,Asqatasun/Asqatasun,dzc34/Asqatasun,dzc34/Asqatasun,Asqatasun/Asqatasun,dzc34/Asqatasun,medsob/Tanaguru,medsob/Tanaguru,Asqatasun/Asqatasun,dzc34/Asqatasun,Asqatasun/Asqatasun,medsob/Tanaguru
/* * Tanaguru - Automated webpage assessment * Copyright (C) 2008-2011 Open-S Company * * This file is part of Tanaguru. * * Tanaguru is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either vers...
web-app/tgol-web-app/src/main/java/org/opens/tgol/command/factory/CreateContractCommandFactory.java
/* * Tanaguru - Automated webpage assessment * Copyright (C) 2008-2011 Open-S Company * * This file is part of Tanaguru. * * Tanaguru is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either vers...
remove debug log
web-app/tgol-web-app/src/main/java/org/opens/tgol/command/factory/CreateContractCommandFactory.java
remove debug log
<ide><path>eb-app/tgol-web-app/src/main/java/org/opens/tgol/command/factory/CreateContractCommandFactory.java <ide> import java.io.Serializable; <ide> import java.util.*; <ide> import org.apache.commons.lang.StringUtils; <del>import org.apache.log4j.Logger; <ide> import org.opens.tgol.command.CreateContractCommand; <id...
Java
apache-2.0
e13959208c6a1a1d643e2a4ff672c3ecbfac60c5
0
jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim
/* * JaamSim Discrete Event Simulation * Copyright (C) 2014 Ausenco Engineering Canada Inc. * Copyright (C) 2016 JaamSim Software 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 ...
src/main/java/com/jaamsim/input/ExpParser.java
/* * JaamSim Discrete Event Simulation * Copyright (C) 2014 Ausenco Engineering Canada Inc. * Copyright (C) 2016 JaamSim Software 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 ...
JS: Cleanup comments Signed-off-by: Matt Chudleigh <0ca390ed93f516590d05286882efa52bb3b35616@gmail.com>
src/main/java/com/jaamsim/input/ExpParser.java
JS: Cleanup comments
<ide><path>rc/main/java/com/jaamsim/input/ExpParser.java <ide> } <ide> <ide> public interface EvalContext { <del> //public ExpResult getVariableValue(String[] names, ExpResult[] indices) throws ExpError; <del> //public boolean eagerEval(); <del> } <del>// public interface ValContext { <del>// <del>// } <add> } <id...
Java
apache-2.0
2bbbc48564b02c33e1e3e1ed361a8c8ded99b738
0
mtransitapps/commons-android,mtransitapps/commons-android,mtransitapps/commons-android
package org.mtransit.android.commons; import java.util.regex.Pattern; public final class HtmlUtils implements MTLog.Loggable { private static final String TAG = HtmlUtils.class.getSimpleName(); @Override public String getLogTag() { return TAG; } public static final String URL_PARAM_AND = "&"; public stati...
src/org/mtransit/android/commons/HtmlUtils.java
package org.mtransit.android.commons; import java.util.regex.Pattern; public final class HtmlUtils implements MTLog.Loggable { private static final String TAG = HtmlUtils.class.getSimpleName(); @Override public String getLogTag() { return TAG; } public static final String URL_PARAM_AND = "&"; public stati...
Improve HTML text cleaning (remove multiple line breaks) #OCTranspo #RTC
src/org/mtransit/android/commons/HtmlUtils.java
Improve HTML text cleaning (remove multiple line breaks) #OCTranspo #RTC
<ide><path>rc/org/mtransit/android/commons/HtmlUtils.java <ide> } <ide> } <ide> <del> private static final Pattern FIX_TEXT_VIEW_BR = Pattern.compile("(<ul[^>]*>|</ul>|</li>|</h[1-6]{1}>)", Pattern.CASE_INSENSITIVE); <add> private static final Pattern LINE_BREAKS = Pattern.compile("(\\n|\\r)", Pattern.CASE_INSENSIT...