lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
Java | agpl-3.0 | d00fe6b9b92631139c0009af012d28af4dba999c | 0 | JanMarvin/rstudio,jar1karp/rstudio,jar1karp/rstudio,JanMarvin/rstudio,jrnold/rstudio,jar1karp/rstudio,JanMarvin/rstudio,jar1karp/rstudio,jar1karp/rstudio,jrnold/rstudio,jar1karp/rstudio,jar1karp/rstudio,jar1karp/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,jrnold/rstudio,JanMarvin/rst... | /*
* NewSparkConnectionDialog.java
*
* Copyright (C) 2009-12 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Pu... | src/gwt/src/org/rstudio/studio/client/workbench/views/connections/ui/NewSparkConnectionDialog.java | /*
* NewSparkConnectionDialog.java
*
* Copyright (C) 2009-12 by RStudio, Inc.
*
* Unless you have received this program directly from RStudio pursuant
* to the terms of a commercial license agreement with RStudio, then
* this program is licensed to you under the terms of version 3 of the
* GNU Affero General Pu... | tweak label
| src/gwt/src/org/rstudio/studio/client/workbench/views/connections/ui/NewSparkConnectionDialog.java | tweak label | <ide><path>rc/gwt/src/org/rstudio/studio/client/workbench/views/connections/ui/NewSparkConnectionDialog.java
<ide> final Grid masterGrid = new Grid(2, 2);
<ide> masterGrid.addStyleName(RES.styles().grid());
<ide> masterGrid.addStyleName(RES.styles().masterGrid());
<del> Label masterLabel = new La... | |
JavaScript | mit | cb2b777f97f47a5d0bcb81ddd9e29428d2abb498 | 0 | runkalicious/lullaby | // Copyright (c) 2013 Matt Runkle. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
function l_isPlaying() {
// Google adds the class 'playing' to the play/pause button
// when the player is active. The class is removed when paused
// or no... | connectors/googlemusic.js | // Copyright (c) 2013 Matt Runkle. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
function l_isPlaying() {
// Google adds the class 'playing' to the play/pause button
// when the player is active. The class is removed when paused
// or no... | fix truthiness return value
| connectors/googlemusic.js | fix truthiness return value | <ide><path>onnectors/googlemusic.js
<ide> // Google adds the class 'playing' to the play/pause button
<ide> // when the player is active. The class is removed when paused
<ide> // or not active.
<del> if ( $('#player').find('button.playing') )
<add> if ( $('#player').find('button.playing').length > 0 )
<ide> retur... | |
Java | apache-2.0 | 3d1759c6773f3308f7e9dddbada94edc0a1c14c7 | 0 | jangorecki/h2o-3,YzPaul3/h2o-3,michalkurka/h2o-3,spennihana/h2o-3,spennihana/h2o-3,spennihana/h2o-3,mathemage/h2o-3,h2oai/h2o-3,YzPaul3/h2o-3,h2oai/h2o-dev,YzPaul3/h2o-3,YzPaul3/h2o-3,michalkurka/h2o-3,jangorecki/h2o-3,michalkurka/h2o-3,spennihana/h2o-3,YzPaul3/h2o-3,h2oai/h2o-3,jangorecki/h2o-3,h2oai/h2o-3,h2oai/h2o-3... | package water.fvec;
import water.Futures;
import jsr166y.CountedCompleter;
import jsr166y.ForkJoinTask;
import water.*;
import water.H2O.H2OCallback;
import water.H2O.H2OCountedCompleter;
import water.nbhm.NonBlockingHashMap;
import water.parser.Categorical;
import water.parser.BufferedString;
import water.util.Array... | h2o-core/src/main/java/water/fvec/RollupStats.java | package water.fvec;
import water.Futures;
import jsr166y.CountedCompleter;
import jsr166y.ForkJoinTask;
import water.*;
import water.H2O.H2OCallback;
import water.H2O.H2OCountedCompleter;
import water.nbhm.NonBlockingHashMap;
import water.parser.Categorical;
import water.parser.BufferedString;
import water.util.Array... | Rollups change - launch compute histo task in blocking way via doAll() (same as compute basic rollups) to prevent potential deadlock.
| h2o-core/src/main/java/water/fvec/RollupStats.java | Rollups change - launch compute histo task in blocking way via doAll() (same as compute basic rollups) to prevent potential deadlock. | <ide><path>2o-core/src/main/java/water/fvec/RollupStats.java
<ide> tryComplete();
<ide> }
<ide>
<del> final void computeHisto(final RollupStats rs, Vec vec, final Value nnn){
<add> final void computeHisto(final RollupStats rs, Vec vec, final Value nnn) {
<ide> // All NAs or non-math; histogram ha... | |
Java | apache-2.0 | 7ceba1217c1f36c57ea9dc301f96e2b7e2e9e6a1 | 0 | marklogic/java-client-api,marklogic/java-client-api,marklogic/java-client-api,marklogic/java-client-api,marklogic/java-client-api | /*
* Copyright 2015 MarkLogic Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | src/main/java/com/marklogic/client/datamovement/HostAvailabilityListener.java | /*
* Copyright 2015 MarkLogic Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | minor javadoc clarifications
| src/main/java/com/marklogic/client/datamovement/HostAvailabilityListener.java | minor javadoc clarifications | <ide><path>rc/main/java/com/marklogic/client/datamovement/HostAvailabilityListener.java
<ide> }
<ide>
<ide> /**
<del> * This implements the BatchFailureListener interface
<del> *
<del> * @param hostClient the host-specific client
<add> * This implements the WriteFailureListener interface
<add> *
<add> ... | |
Java | mit | 1d4e69cf20f0d86166b8f1346981874873b9847a | 0 | wkh237/react-native-fetch-blob,wkh237/react-native-fetch-blob,wkh237/react-native-fetch-blob | package com.RNFetchBlob;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.res.AssetFileDescriptor;
import android.media.MediaScannerConnection;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Environment;
import andr... | android/src/main/java/com/RNFetchBlob/RNFetchBlobFS.java | package com.RNFetchBlob;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.res.AssetFileDescriptor;
import android.media.MediaScannerConnection;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Environment;
import andr... | Fix incorrect UTF-8 data conversion issue when the data contains special characters.
| android/src/main/java/com/RNFetchBlob/RNFetchBlobFS.java | Fix incorrect UTF-8 data conversion issue when the data contains special characters. | <ide><path>ndroid/src/main/java/com/RNFetchBlob/RNFetchBlobFS.java
<ide> CharsetEncoder encoder = Charset.forName("UTF-8").newEncoder();
<ide> while ((cursor = fs.read(buffer)) != -1) {
<ide> encoder.encode(ByteBuffer.wrap(buffer).asCharBuffer());
<del> ... | |
Java | apache-2.0 | 3879aae2eaa214bd1b49f7e3a770b6b425c76281 | 0 | JetBrains/teamcity-deployer-plugin,JetBrains/teamcity-deployer-plugin | package jetbrains.buildServer.deployer.agent.smb;
import com.hierynomus.msdtyp.AccessMask;
import com.hierynomus.mssmb.SMB1NotSupportedException;
import com.hierynomus.mssmb2.SMB2ShareAccess;
import com.hierynomus.protocol.transport.TransportException;
import com.hierynomus.smbj.SMBClient;
import com.hierynomus.smbj.S... | deploy-runner-agent-smb2/src/main/java/jetbrains/buildServer/deployer/agent/smb/SMBJBuildProcessAdapter.java | package jetbrains.buildServer.deployer.agent.smb;
import com.hierynomus.msdtyp.AccessMask;
import com.hierynomus.mssmb.SMB1NotSupportedException;
import com.hierynomus.mssmb2.SMB2ShareAccess;
import com.hierynomus.protocol.transport.TransportException;
import com.hierynomus.smbj.SMBClient;
import com.hierynomus.smbj.S... | fix TW-59320: handle empty shareName case
| deploy-runner-agent-smb2/src/main/java/jetbrains/buildServer/deployer/agent/smb/SMBJBuildProcessAdapter.java | fix TW-59320: handle empty shareName case | <ide><path>eploy-runner-agent-smb2/src/main/java/jetbrains/buildServer/deployer/agent/smb/SMBJBuildProcessAdapter.java
<ide> }
<ide>
<ide> target = target.replaceAll("/", java.util.regex.Matcher.quoteReplacement("\\"));
<add> if (!target.endsWith("\\")) {
<add> target = target + "\\";
<add> }
<ide> ... | |
JavaScript | mit | f2105d9094e3181b10416c0d43ba0ffefcb98bc9 | 0 | aiueogawa/ccxt,ccxt/ccxt,tritoanst/ccxt,aiueogawa/ccxt,ccxt/ccxt,aiueogawa/ccxt,tritoanst/ccxt,ccxt/ccxt,tritoanst/ccxt,tritoanst/ccxt,ccxt/ccxt,aiueogawa/ccxt,ccxt/ccxt | "use strict";
const fs = require ('fs')
const ccxt = require ('./ccxt')
const countries = require ('./countries')
const asTable = require ('as-table')
const util = require ('util')
const execSync = require ('child_process').execSync
const log = require ('ololog')
const ansi = require ('a... | export-exchanges.js | "use strict";
const fs = require ('fs')
const ccxt = require ('./ccxt')
const countries = require ('./countries')
const asTable = require ('as-table')
const util = require ('util')
const execSync = require ('child_process').execSync
const log = require ('ololog')
const ansi = require ('a... | cleanup in export-exchanges.js
| export-exchanges.js | cleanup in export-exchanges.js | <ide><path>xport-exchanges.js
<ide> let filename = wikiPath + '/Exchange-Markets-By-Country.md'
<ide> fs.truncateSync (filename)
<ide> fs.writeFileSync (filename, result)
<del> // console.log (result)
<ide> }) ();
<del>
<del>// console.log (exchangesByCountries)
<del>// console.log (asTable.configure ({ ... | |
Java | apache-2.0 | 6e9af7e511755d5a15dac2a239e96cc9af63a4ea | 0 | HubSpot/Singularity,HubSpot/Singularity,HubSpot/Singularity,hs-jenkins-bot/Singularity,HubSpot/Singularity,hs-jenkins-bot/Singularity,hs-jenkins-bot/Singularity,hs-jenkins-bot/Singularity,hs-jenkins-bot/Singularity,HubSpot/Singularity | package com.hubspot.singularity.client;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
im... | SingularityClient/src/main/java/com/hubspot/singularity/client/SingularityClient.java | package com.hubspot.singularity.client;
import static com.google.common.base.Preconditions.checkNotNull;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
im... | Parse the correct class for the result.
| SingularityClient/src/main/java/com/hubspot/singularity/client/SingularityClient.java | Parse the correct class for the result. | <ide><path>ingularityClient/src/main/java/com/hubspot/singularity/client/SingularityClient.java
<ide> import com.hubspot.singularity.SingularitySlave;
<ide> import com.hubspot.singularity.SingularityState;
<ide> import com.hubspot.singularity.SingularityTask;
<del>import com.hubspot.singularity.SingularityTaskCleanupRe... | |
Java | mit | a6c5ef40960edd91105b2f2bd01a99f37fb565fa | 0 | isi-nlp/tac-kbp-eal,isi-nlp/tac-kbp-eal,BBN-E/tac-kbp-eal,BBN-E/tac-kbp-eal,rgabbard-bbn/kbp-2014-event-arguments,rgabbard-bbn/kbp-2014-event-arguments | package com.bbn.kbp.events2014.bin.QA;
import com.bbn.bue.common.symbols.Symbol;
import com.bbn.kbp.events2014.AnswerKey;
import com.bbn.kbp.events2014.CorefAnnotation;
import com.bbn.kbp.events2014.KBPString;
import com.bbn.kbp.events2014.Response;
import com.bbn.kbp.events2014.TypeRoleFillerRealis;
import com.bbn.kb... | kbp-events2014-bin/src/main/java/com/bbn/kbp/events2014/bin/QA/CorefDocumentRenderer.java | package com.bbn.kbp.events2014.bin.QA;
import com.bbn.bue.common.symbols.Symbol;
import com.bbn.kbp.events2014.AnswerKey;
import com.bbn.kbp.events2014.CorefAnnotation;
import com.bbn.kbp.events2014.KBPString;
import com.bbn.kbp.events2014.Response;
import com.bbn.kbp.events2014.TypeRoleFillerRealis;
import com.bbn.kb... | many small UI tweaks
| kbp-events2014-bin/src/main/java/com/bbn/kbp/events2014/bin/QA/CorefDocumentRenderer.java | many small UI tweaks | <ide><path>bp-events2014-bin/src/main/java/com/bbn/kbp/events2014/bin/QA/CorefDocumentRenderer.java
<ide>
<ide> import java.io.IOException;
<ide> import java.util.Map;
<add>import java.util.Set;
<ide>
<ide> /**
<ide> * Ugh these were not supposed to develop into objects that actually had real functionality Created
<... | |
Java | mit | a78aaa3e23ec6ea495f208f24bd5b417120cc8b7 | 0 | viktormuller/notifications-quickstart-android | /**
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | app/src/main/java/com/twilio/android/quickstart/RegistrationIntentService.java | /**
* Copyright 2015 Google Inc. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | Update RegistrationIntentService.java | app/src/main/java/com/twilio/android/quickstart/RegistrationIntentService.java | Update RegistrationIntentService.java | <ide><path>pp/src/main/java/com/twilio/android/quickstart/RegistrationIntentService.java
<ide> private static final String TAG = "RegIntentService";
<ide> private BindingResource bindingResource;
<ide> private static final String schema = "http";
<del> private static final String host = "myserver.com";
<... | |
Java | mit | 76676e17e984acd6246fe4b3ee7be4ff5a152ce1 | 0 | Frederikam/fred.moe,Frederikam/fred.moe,Frederikam/fred.moe,Frederikam/fred.moe | package com.frederikam.fred.moe;
import com.frederikam.fred.moe.util.SLF4JInputStreamLogger;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
public class Caddy extends Thread {
private static final Logger log = LoggerFactory.getLogger(Caddy.class);
public Caddy() {
... | src/main/java/com/frederikam/fred/moe/Caddy.java | package com.frederikam.fred.moe;
import com.frederikam.fred.moe.util.SLF4JInputStreamLogger;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
public class Caddy extends Thread {
private static final Logger log = LoggerFactory.getLogger(Caddy.class);
public Caddy() {
... | Removed typo
| src/main/java/com/frederikam/fred/moe/Caddy.java | Removed typo | <ide><path>rc/main/java/com/frederikam/fred/moe/Caddy.java
<ide>
<ide> ProcessBuilder pb = new ProcessBuilder()
<ide> .command("caddy", "-conf Caddyfile", "-agree", "-email $CADDY_EMAIL");
<del> Process proc = pb.start();doc
<add> Process proc = pb.start();
<ide> ... | |
JavaScript | mit | d3c83eb8d43afa5e17f2a31fae309a02c14d65d5 | 0 | bengarvey/savetheworld | var game = new Phaser.Game("100%", 420, Phaser.CANVAS, 'game', { preload: preload, create: create, update: update, render: render });
function preload() {
game.load.image('player','assets/sprites/hero.png');
game.load.image('background','assets/tests/space-city.png');
game.load.image('green-energy','assets... | src/main.js | var game = new Phaser.Game("100%", 568, Phaser.CANVAS, 'game', { preload: preload, create: create, update: update, render: render });
function preload() {
game.load.image('player','assets/sprites/hero.png');
game.load.image('background','assets/tests/space-city.png');
game.load.image('green-energy','assets... | fixes
| src/main.js | fixes | <ide><path>rc/main.js
<del>var game = new Phaser.Game("100%", 568, Phaser.CANVAS, 'game', { preload: preload, create: create, update: update, render: render });
<add>var game = new Phaser.Game("100%", 420, Phaser.CANVAS, 'game', { preload: preload, create: create, update: update, render: render });
<ide>
<ide> functio... | |
Java | mit | error: pathspec 'NumToWord.java' did not match any file(s) known to git
| cdc143e6ba6dba66ad19bd1675e36bb4cfc6e59e | 1 | henrino3/Java | /*Calculator by Henry and Opeyemi */
import java.util.Scanner;
public class NumToWord{
public static Scanner in = new Scanner(System.in);
public static String [] units = {
"", " one ", " two ", " three ", " four ", " five ", " six ", " seven ", " eight ",
" nine ", " ten ", " eleven ", " twelve ", " thirte... | NumToWord.java | Update Num to Word Program
| NumToWord.java | Update Num to Word Program | <ide><path>umToWord.java
<add>/*Calculator by Henry and Opeyemi */
<add>import java.util.Scanner;
<add>
<add>public class NumToWord{
<add> public static Scanner in = new Scanner(System.in);
<add>
<add> public static String [] units = {
<add> "", " one ", " two ", " three ", " four ", " five ", " six ", " seven ", ... | |
Java | mit | 513b1ddc9028b63cefc2ef7a1b1c3fd0d2953998 | 0 | xiweicheng/tms,xiweicheng/tms,xiweicheng/tms,xiweicheng/tms | /**
* 版权所有 (TMS)
*/
package com.lhjz.portal.component;
import java.io.File;
import java.io.IOException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import javax.mail.MessagingException;
import javax.mail.internet.MimeMessage;
import javax.mail.internet.MimeUtility;
import or... | src/main/java/com/lhjz/portal/component/MailSender2.java | /**
* 版权所有 (TMS)
*/
package com.lhjz.portal.component;
import java.io.File;
import java.io.IOException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import javax.mail.MessagingException;
import javax.mail.internet.MimeMessage;
import javax.mail.internet.MimeUtility;
import or... | 邮件队列已满判断处理错误问题修正. | src/main/java/com/lhjz/portal/component/MailSender2.java | 邮件队列已满判断处理错误问题修正. | <ide><path>rc/main/java/com/lhjz/portal/component/MailSender2.java
<ide> log.info("邮件发送成功!");
<ide> } catch (MessagingException e) {
<ide> log.info("邮件发送失败,放入邮件定时计划任务队列中!");
<del> if (mailQueue.offer(new MailItem(subject, html, toAddr))) {
<add> if (!mailQueue.offer(new MailItem(subject, html, toAddr))... | |
JavaScript | mit | 8fee7c46c16cbc1b46477cf600160f9668b9f5d0 | 0 | go-gitea/gitea,go-gitea/gitea,go-gitea/gitea | import $ from 'jquery';
function getDefaultSvgBoundsIfUndefined(svgXml, src) {
const DefaultSize = 300;
const MaxSize = 99999;
const svg = svgXml.documentElement;
const width = svg?.width?.baseVal;
const height = svg?.height?.baseVal;
if (width === undefined || height === undefined) {
return null; // ... | web_src/js/features/imagediff.js | import $ from 'jquery';
function getDefaultSvgBoundsIfUndefined(svgXml, src) {
const DefaultSize = 300;
const MaxSize = 99999;
const svg = svgXml.documentElement;
const width = svg?.width?.baseVal;
const height = svg?.height?.baseVal;
if (width === undefined || height === undefined) {
return null; // ... | Fix viewed images not loading in a PR (#19919)
Close #19651
| web_src/js/features/imagediff.js | Fix viewed images not loading in a PR (#19919) | <ide><path>eb_src/js/features/imagediff.js
<ide> $('.image-diff').each(function() {
<ide> const $container = $(this);
<ide>
<del> const diffContainerWidth = $container.width() - 300;
<add> // the container may be hidden by "viewed" checkbox, so use the parent's width for reference
<add> const diffContai... | |
Java | apache-2.0 | a054dd4837135baf80e6be1d161a031976f1c8ee | 0 | rinde/RinLog,rinde/RinLog | package rinde.logistics.pdptw.solver;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.collect.Sets.newLinkedHashSet;
import java.util.List;
import java.util.Set;
import rinde.sim.pdptw.central.GlobalStateObject;
import rinde.sim.pdptw.central.GlobalStateObject.Vehicl... | src/main/java/rinde/logistics/pdptw/solver/CheapestInsertionHeuristic.java | package rinde.logistics.pdptw.solver;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.collect.Sets.newLinkedHashSet;
import java.util.List;
import java.util.Set;
import rinde.sim.pdptw.central.GlobalStateObject;
import rinde.sim.pdptw.central.GlobalStateObject.Vehicl... | added comment
| src/main/java/rinde/logistics/pdptw/solver/CheapestInsertionHeuristic.java | added comment | <ide><path>rc/main/java/rinde/logistics/pdptw/solver/CheapestInsertionHeuristic.java
<ide>
<ide> public class CheapestInsertionHeuristic implements Solver {
<ide>
<add> // TODO this state is not really necessary
<ide> private final Set<ParcelDTO> knownParcels;
<ide> private final ObjectiveFunction objectiveFunct... | |
Java | apache-2.0 | 8c37d82d0624a4003def4dd1692d7dee528415d8 | 0 | folio-org/raml-module-builder,folio-org/raml-module-builder,folio-org/raml-module-builder | package org.folio.rest.persist;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import freemarker.template.TemplateException;
import io.vertx.core.AsyncResult;
import io.vertx.core.CompositeFuture;
import io.vertx.core.Future;
import io.vertx.core.Handler;... | domain-models-runtime/src/main/java/org/folio/rest/persist/PostgresClient.java | package org.folio.rest.persist;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import freemarker.template.TemplateException;
import io.vertx.core.AsyncResult;
import io.vertx.core.CompositeFuture;
import io.vertx.core.Future;
import io.vertx.core.Handler;... | Use WHERE clause only for count query RMB-645 (#701)
| domain-models-runtime/src/main/java/org/folio/rest/persist/PostgresClient.java | Use WHERE clause only for count query RMB-645 (#701) | <ide><path>omain-models-runtime/src/main/java/org/folio/rest/persist/PostgresClient.java
<ide> + FROM + schemaName + DOT + table + SPACE + wrapper.toString();
<ide> queryHelper.countQuery = SELECT + "COUNT(" + countOn + ")"
<ide> + FROM + schemaName + DOT + table + SPACE + wrapper.getWhereClause();
<del... | |
JavaScript | mit | 34a40758676f1e19a821ab978118b657f85aced9 | 0 | davidblurton/pianograms,davidblurton/pianograms | define(['jquery',
'underscore',
'backbone',
'models/Chord',
'views/KeyboardView',
'views/LinkView'
], function ($, _, Backbone, Chord, KeyboardView, LinkView) {
var AppView = Backbone.View.extend({
el: $('#page'),
render: function () {
var keyboardView = ... | app/js/views/AppView.js | define(['jquery',
'underscore',
'backbone',
'models/Chord',
'views/KeyboardView'
], function ($, _, Backbone, Chord, KeyboardView) {
var AppView = Backbone.View.extend({
el: $('#page'),
render: function () {
var keyboardView = new KeyboardView({
model: th... | Render the link view
| app/js/views/AppView.js | Render the link view | <ide><path>pp/js/views/AppView.js
<ide> 'underscore',
<ide> 'backbone',
<ide> 'models/Chord',
<del> 'views/KeyboardView'
<del> ], function ($, _, Backbone, Chord, KeyboardView) {
<add> 'views/KeyboardView',
<add> 'views/LinkView'
<add> ], function ($, _, Backbone... | |
Java | apache-2.0 | 84c6d060cba0c1c84c077d8085e27a681be5b005 | 0 | seven332/Image,seven332/Image,seven332/Image | /*
* Copyright 2016 Hippo Seven
*
* 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 ... | library/src/main/java/com/hippo/image/ImageDrawable.java | /*
* Copyright 2016 Hippo Seven
*
* 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 ... | Clean up
| library/src/main/java/com/hippo/image/ImageDrawable.java | Clean up | <ide><path>ibrary/src/main/java/com/hippo/image/ImageDrawable.java
<ide> */
<ide> public class ImageDrawable extends Drawable implements Animatable, ImageBitmap.Callback {
<ide>
<del> private ImageBitmap mImageBitmap;
<del> private Paint mPaint;
<add> private final ImageBitmap mImageBitmap;
<add> private ... | |
Java | bsd-3-clause | 11e994b6aa7cc81424d3ef26a46dbcf7ca6462c3 | 0 | frc-88/2014-Robot | package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.wpilibj.templates.subsystems.Drive;
/**
*
* @author David
*/
/**
* Command for driving the robot
*/
public class DrivewithControllerOpen extends CommandBase {... | src/edu/wpi/first/wpilibj/templates/commands/DrivewithControllerOpen.java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.wpilibj.templates.subsystems.Drive;
/**
*
* @author David
*/
/**
... | Clean DrivewithControllerOpen
| src/edu/wpi/first/wpilibj/templates/commands/DrivewithControllerOpen.java | Clean DrivewithControllerOpen | <ide><path>rc/edu/wpi/first/wpilibj/templates/commands/DrivewithControllerOpen.java
<del>/*
<del> * To change this template, choose Tools | Templates
<del> * and open the template in the editor.
<del> */
<ide> package edu.wpi.first.wpilibj.templates.commands;
<ide>
<ide> import edu.wpi.first.wpilibj.smartdashboard.Sma... | |
Java | apache-2.0 | af4510eb9082492fb47415c5fa8196bcb565be71 | 0 | uaihebert/uaiMockServer,uaihebert/uaiMockServer,uaihebert/uaiMockServer | /*
* Copyright 2015 uaiHebert
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | src/main/java/com/uaihebert/uaimockserver/model/UaiMockServerConfig.java | /*
* Copyright 2015 uaiHebert
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | allowing the route edit to change the method and path url
| src/main/java/com/uaihebert/uaimockserver/model/UaiMockServerConfig.java | allowing the route edit to change the method and path url | <ide><path>rc/main/java/com/uaihebert/uaimockserver/model/UaiMockServerConfig.java
<ide> * Class that will hold all the project configurations
<ide> */
<ide> public final class UaiMockServerConfig {
<add> private static final Map<String, UaiRoute> ROUTE_MAP_BY_ID = new HashMap<String, UaiRoute>();
<ide> privat... | |
JavaScript | mit | f5b40e59e6513eb430378d703271e93994c659b3 | 0 | axetroy/gpm,gpmer/gpm.js,gpmer/gpm.js | const process = require('process');
const path = require('path');
// 3th lib
const program = require('commander');
const co = require('co');
const colors = require('colors');
const axios = require('axios');
const semver = require('semver');
const log4js = require('log4js');
const logger = log4js.getLogger('ADD');
con... | lib/gpmx.js | const process = require('process');
const path = require('path');
// 3th lib
const program = require('commander');
const co = require('co');
const colors = require('colors');
const axios = require('axios');
const semver = require('semver');
const log4js = require('log4js');
const logger = log4js.getLogger('ADD');
con... | refactor: replace taobao registry to npm registry
| lib/gpmx.js | refactor: replace taobao registry to npm registry | <ide><path>ib/gpmx.js
<ide> }
<ide>
<ide> // check the update
<del>axios.get(`https://registry.npm.taobao.org/${pkg.name}/latest`)
<add>axios.get(`https://registry.npmjs.org/${pkg.name}/latest`)
<ide> .then(function (resp) {
<ide> const remotePkg = resp.data;
<ide> if (semver.gt(remotePkg.version, pkg.versio... | |
Java | mit | 97debb6c5881b884183d6ad45d09e0be7913f288 | 0 | frc2503/r2016 | package org.usfirst.frc.team2503.r2016;
import java.net.InetSocketAddress;
import java.net.UnknownHostException;
import org.json.JSONObject;
import org.usfirst.frc.team2503.lib.util.WarriorMath;
import org.usfirst.frc.team2503.r2016.component.CameraMount.CameraMountMode;
import org.usfirst.frc.team2503.r2016.componen... | src/org/usfirst/frc/team2503/r2016/Robot.java | package org.usfirst.frc.team2503.r2016;
import java.net.InetSocketAddress;
import java.net.UnknownHostException;
import org.json.JSONObject;
import org.usfirst.frc.team2503.lib.util.WarriorMath;
import org.usfirst.frc.team2503.r2016.component.CameraMount.CameraMountMode;
import org.usfirst.frc.team2503.r2016.componen... | RobotDataServer: Use Tickable; Robot: Shorten robotMap name
| src/org/usfirst/frc/team2503/r2016/Robot.java | RobotDataServer: Use Tickable; Robot: Shorten robotMap name | <ide><path>rc/org/usfirst/frc/team2503/r2016/Robot.java
<ide> import org.usfirst.frc.team2503.r2016.component.Intake.IntakeMode;
<ide> import org.usfirst.frc.team2503.r2016.debug.Logger;
<ide> import org.usfirst.frc.team2503.r2016.debug.Logger.LoggerPrintStream;
<add>import org.usfirst.frc.team2503.r2016.input.Data;
<i... | |
Java | apache-2.0 | f6e782c25e392542ff56643c62c1ca8a00b7c81d | 0 | SidneyXu/libgdx,MetSystem/libgdx,basherone/libgdxcn,fiesensee/libgdx,realitix/libgdx,Zomby2D/libgdx,kotcrab/libgdx,snovak/libgdx,sarkanyi/libgdx,nrallakis/libgdx,lordjone/libgdx,KrisLee/libgdx,thepullman/libgdx,nooone/libgdx,bsmr-java/libgdx,kotcrab/libgdx,stickyd/libgdx,nelsonsilva/libgdx,GreenLightning/libgdx,saqsun/... | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* 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:... | gdx/src/com/badlogic/gdx/graphics/g2d/Sprite.java | /*******************************************************************************
* Copyright 2011 See AUTHORS file.
*
* 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:... | fixed Sprite.set(Sprite) so that it now also copies regionWidth and regionHeight.
If the method's documentation declares that it will:
/** Make this sprite a copy in every way of the specified sprite */
…then the critical fields regionWidth and regionHeight should also be
copied from the incoming sprite. Their absenc... | gdx/src/com/badlogic/gdx/graphics/g2d/Sprite.java | fixed Sprite.set(Sprite) so that it now also copies regionWidth and regionHeight. | <ide><path>dx/src/com/badlogic/gdx/graphics/g2d/Sprite.java
<ide> y = sprite.y;
<ide> width = sprite.width;
<ide> height = sprite.height;
<add> regionWidth = sprite.regionWidth;
<add> regionHeight = sprite.regionHeight;
<ide> originX = sprite.originX;
<ide> originY = sprite.originY;
<ide> rotation = sprit... | |
JavaScript | mit | 3202e7e62ee7bc09249a8ce91e858f46269f2c04 | 0 | webrtcHacks/WebRTC-Camera-Resolution,webrtcHacks/WebRTC-Camera-Resolution | /*
* Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree.
*/
/* More information about these options at jshint.com/docs/options */
/* jshint browser: true, c... | js/adapter.js | /*
* Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree.
*/
/* More information about these options at jshint.com/docs/options */
/* jshint browser: true, ... | updated adapter.js
| js/adapter.js | updated adapter.js | <ide><path>s/adapter.js
<ide> */
<ide>
<ide> /* More information about these options at jshint.com/docs/options */
<del>
<ide> /* jshint browser: true, camelcase: true, curly: true, devel: true,
<del> eqeqeq: true, forin: false, globalstrict: true, quotmark: single,
<del> undef: true, unused: strict */
<del>
<del>/* ... | |
Java | apache-2.0 | 8f92fc9ae2612234fe39cea43b60ad7023cc14ec | 0 | realityforge/replicant,realityforge/replicant | package org.realityforge.replicant.client;
import java.util.Collections;
import java.util.LinkedList;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.inject.Inject;
import org.realityforge.replicant.client.transport.Client... | src/main/java/org/realityforge/replicant/client/AbstractDataLoaderService.java | package org.realityforge.replicant.client;
import java.util.Collections;
import java.util.LinkedList;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.inject.Inject;
import org.realityforge.replicant.client.transport.Client... | Access some fields via accessors
| src/main/java/org/realityforge/replicant/client/AbstractDataLoaderService.java | Access some fields via accessors | <ide><path>rc/main/java/org/realityforge/replicant/client/AbstractDataLoaderService.java
<ide> SessionContext.setSession( session );
<ide> }
<ide>
<add> protected final EntityChangeBroker getChangeBroker()
<add> {
<add> return _changeBroker;
<add> }
<add>
<add> protected final ChangeMapper getChangeMapper... | |
Java | apache-2.0 | e76cd9a0163cd5e903f5bfa00cfdc7822b3ddf28 | 0 | jvalkeal/spring-cloud-data,trisberg/spring-cloud-dataflow,donovanmuller/spring-cloud-dataflow,mminella/spring-cloud-data,mbogoevici/spring-cloud-data,trisberg/spring-cloud-dataflow,ericbottard/spring-cloud-dataflow,markfisher/spring-cloud-data,jvalkeal/spring-cloud-dataflow,markfisher/spring-cloud-data,mbogoevici/sprin... | /*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | spring-cloud-dataflow-admin-starter/src/main/java/org/springframework/cloud/dataflow/admin/config/ArtifactRegistryPopulator.java | /*
* Copyright 2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Add TCP Sink
| spring-cloud-dataflow-admin-starter/src/main/java/org/springframework/cloud/dataflow/admin/config/ArtifactRegistryPopulator.java | Add TCP Sink | <ide><path>pring-cloud-dataflow-admin-starter/src/main/java/org/springframework/cloud/dataflow/admin/config/ArtifactRegistryPopulator.java
<ide> populateDefault("jdbc", sink);
<ide> populateDefault("log", sink);
<ide> populateDefault("redis", sink);
<add> populateDefault("tcp", sink);
<ide> populateDefault("th... | |
Java | apache-2.0 | 5af93de5a1b5486ab43d4bdaa5acc75f6b4104ad | 0 | soggier/compiler,akalberer/deep-compiler,deepjava/compiler,ursgraf/compiler | package ch.ntb.inf.deep.classItems;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import ch.ntb.inf.deep.config.Segment;
import ch.ntb.inf.deep.debug.Dbg;
import ch.ntb.inf.de... | src/ch/ntb/inf/deep/classItems/Class.java | package ch.ntb.inf.deep.classItems;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import ch.ntb.inf.deep.config.Segment;
import ch.ntb.inf.deep.debug.Dbg;
import ch.ntb.inf.d... | Class: problem with double loading of some classes fixed -> solution by Ernst
| src/ch/ntb/inf/deep/classItems/Class.java | Class: problem with double loading of some classes fixed -> solution by Ernst | <ide><path>rc/ch/ntb/inf/deep/classItems/Class.java
<ide>
<ide> if(verbose) vrb.println(">readFields: "+name);
<ide> clearFieldLists();
<del>// assert fields == null;
<del> fields = null;
<add> assert fields == null;
<ide>
<ide> int fieldCnt = clfInStrm.readUnsignedShort();
<ide> while(fieldCnt > 0){
<... | |
Java | lgpl-2.1 | 31c69bca18d5e5c66f66fac7d7ca972480151657 | 0 | jstourac/wildfly,iweiss/wildfly,jstourac/wildfly,iweiss/wildfly,iweiss/wildfly,wildfly/wildfly,wildfly/wildfly,jstourac/wildfly,rhusar/wildfly,pferraro/wildfly,rhusar/wildfly,rhusar/wildfly,iweiss/wildfly,pferraro/wildfly,pferraro/wildfly,rhusar/wildfly,jstourac/wildfly,wildfly/wildfly,wildfly/wildfly,pferraro/wildfly | /*
* JBoss, Home of Professional Open Source.
* Copyright 2015, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify i... | testsuite/domain/src/test/java/org/jboss/as/test/integration/domain/OrderedChildResourcesTestCase.java | /*
* JBoss, Home of Professional Open Source.
* Copyright 2015, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify i... | Utilize try-with-resources.
| testsuite/domain/src/test/java/org/jboss/as/test/integration/domain/OrderedChildResourcesTestCase.java | Utilize try-with-resources. | <ide><path>estsuite/domain/src/test/java/org/jboss/as/test/integration/domain/OrderedChildResourcesTestCase.java
<ide> @Test
<ide> public void testOrderedChildResources() throws Exception {
<ide> final WildFlyManagedConfiguration masterConfig = createConfiguration("domain.xml", "host-primary.xml", getCl... | |
JavaScript | mit | 90f367ed8cf70a295aa17ee0dbdaa0190ad2328c | 0 | dvajs/dva | import warning from 'warning';
import { isArray } from './utils';
import { NAMESPACE_SEP } from './constants';
function prefix(obj, namespace, type) {
return Object.keys(obj).reduce((memo, key) => {
warning(
key.indexOf(`${namespace}${NAMESPACE_SEP}`) !== 0,
`[prefixNamespace]: ${type} ${key} should ... | packages/dva-core/src/prefixNamespace.js | import warning from 'warning';
import { isArray } from './utils';
import { NAMESPACE_SEP } from './constants';
function prefix(obj, namespace, type) {
return Object.keys(obj).reduce((memo, key) => {
warning(
key.indexOf(`${namespace}${NAMESPACE_SEP}`) !== 0,
`[prefixNamespace]: ${type} ${key} should ... | fix: qiankun remount dva model (#2408)
* fix: qiankun remount dva model
fix: qiankun remount for array type reducers
* chore: add comments about changes | packages/dva-core/src/prefixNamespace.js | fix: qiankun remount dva model (#2408) | <ide><path>ackages/dva-core/src/prefixNamespace.js
<ide>
<ide> if (reducers) {
<ide> if (isArray(reducers)) {
<del> model.reducers[0] = prefix(reducers[0], namespace, 'reducer');
<add> // 需要复制一份,不能直接修改 model.reducers[0], 会导致微前端场景下,重复添加前缀
<add> const [reducer, ...rest] = reducers;
<add> model.... | |
Java | mit | e2887b4cc9c0f550a836ab9e0672e14684620586 | 0 | jirkapinkas/jsitemapgenerator | package cz.jiripinkas.jsitemapgenerator;
import java.io.*;
import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
import java.util.zip.GZIPOutputStream;
import cz.jiripinkas.jsitemapgenerator.exception.GWTException;
public abstract class AbstractSitemapGenerator extends AbstractGenerator {
protected... | src/main/java/cz/jiripinkas/jsitemapgenerator/AbstractSitemapGenerator.java | package cz.jiripinkas.jsitemapgenerator;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.net.URLEncoder;
import cz.jiripinkas.jsitemapgenerator.exception.GWTException;
public abstract class AbstractSitemapGenerator extends AbstractGenerator {
p... | export sitemap to gzip
| src/main/java/cz/jiripinkas/jsitemapgenerator/AbstractSitemapGenerator.java | export sitemap to gzip | <ide><path>rc/main/java/cz/jiripinkas/jsitemapgenerator/AbstractSitemapGenerator.java
<ide> package cz.jiripinkas.jsitemapgenerator;
<ide>
<del>import java.io.BufferedWriter;
<del>import java.io.File;
<del>import java.io.FileWriter;
<del>import java.io.IOException;
<add>import java.io.*;
<ide> import java.net.URLEncod... | |
Java | agpl-3.0 | a82d390cb6f0f3db1dac9c1f989ceb8ac0cb328c | 0 | SICTIAM/ozwillo-portal,ozwillo/ozwillo-portal,ozwillo/ozwillo-portal,SICTIAM/ozwillo-portal,ozwillo/ozwillo-portal,ozwillo/ozwillo-portal,SICTIAM/ozwillo-portal,SICTIAM/ozwillo-portal | package org.oasis_eu.portal.services;
import com.google.common.base.Strings;
import org.joda.time.format.DateTimeFormat;
import org.markdown4j.Markdown4jProcessor;
import org.oasis_eu.portal.core.dao.CatalogStore;
import org.oasis_eu.portal.core.model.catalog.ApplicationInstance;
import org.oasis_eu.portal.core.model.... | src/main/java/org/oasis_eu/portal/services/PortalNotificationService.java | package org.oasis_eu.portal.services;
import com.google.common.base.Strings;
import org.joda.time.format.DateTimeFormat;
import org.markdown4j.Markdown4jProcessor;
import org.oasis_eu.portal.core.dao.CatalogStore;
import org.oasis_eu.portal.core.model.catalog.ApplicationInstance;
import org.oasis_eu.portal.core.model.... | Use provided status when asking for notifications
| src/main/java/org/oasis_eu/portal/services/PortalNotificationService.java | Use provided status when asking for notifications | <ide><path>rc/main/java/org/oasis_eu/portal/services/PortalNotificationService.java
<ide> }
<ide>
<ide> List<InboundNotification> notifications =
<del> notificationService.getNotifications(userInfoHelper.currentUser().getUserId(), NotificationStatus.ANY);
<add> notificationService... | |
Java | apache-2.0 | b8f57bc60a3819e67aa9b203ce695cea14ff407f | 0 | square/leakcanary,square/leakcanary,square/leakcanary | /*
* Copyright (C) 2015 Square, 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 agre... | leakcanary-android/src/main/java/com/squareup/leakcanary/AndroidExcludedRefs.java | /*
* Copyright (C) 2015 Square, 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 agre... | HUAWEI mLastSrvView leak happens on O (#1134)
https://github.com/square/leakcanary/pull/932#issuecomment-431732347 | leakcanary-android/src/main/java/com/squareup/leakcanary/AndroidExcludedRefs.java | HUAWEI mLastSrvView leak happens on O (#1134) | <ide><path>eakcanary-android/src/main/java/com/squareup/leakcanary/AndroidExcludedRefs.java
<ide> },
<ide>
<ide> INPUT_METHOD_MANAGER__LAST_SERVED_VIEW(
<del> HUAWEI.equals(MANUFACTURER) && SDK_INT >= M && SDK_INT <= N) {
<add> HUAWEI.equals(MANUFACTURER) && SDK_INT >= M && SDK_INT <= O_MR1) {
<ide> ... | |
Java | apache-2.0 | 701360bbe515e336d042acb805fde54e4e1d757a | 0 | spadgett/hawkular-metrics,jotak/hawkular-metrics,burmanm/hawkular-metrics,hawkular/hawkular-metrics,hawkular/hawkular-metrics,spadgett/hawkular-metrics,ppalaga/hawkular-metrics,mwringe/hawkular-metrics,hawkular/hawkular-metrics,tsegismont/hawkular-metrics,spadgett/hawkular-metrics,spadgett/hawkular-metrics,jotak/hawkul... | /*
* Copyright 2014-2015 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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://w... | clients/ptranslator/src/main/java/org/hawkular/metrics/clients/ptrans/backend/MetricsSender.java | /*
* Copyright 2014-2015 Red Hat, Inc. and/or its affiliates
* and other contributors as indicated by the @author tags.
*
* 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://w... | Updated MetricsSender to use the buffer from clients/commons
This verticle consumes metrics published on the bus and inserts them in a buffer.
Metrics are sent as soon as the buffer is larger than the batch size.
If servers are idle then the buffer is flushed, regardless of its size.
When batches fail, the correspond... | clients/ptranslator/src/main/java/org/hawkular/metrics/clients/ptrans/backend/MetricsSender.java | Updated MetricsSender to use the buffer from clients/commons | <ide><path>lients/ptranslator/src/main/java/org/hawkular/metrics/clients/ptrans/backend/MetricsSender.java
<ide> */
<ide> package org.hawkular.metrics.clients.ptrans.backend;
<ide>
<del>import static java.util.concurrent.TimeUnit.MILLISECONDS;
<del>import static java.util.concurrent.TimeUnit.NANOSECONDS;
<del>import ... | |
JavaScript | apache-2.0 | 32f56bf549f953ecb6a7bedde7fc807995fed8a3 | 0 | dtom90/sonny-weather-bot,dtom90/sonny-weather-bot | /*
* Copyright © 2016 I.B.M. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the “License”);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | ui/js/conversation.js | /*
* Copyright © 2016 I.B.M. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the “License”);
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | Message delay when output:delay is set to a number
| ui/js/conversation.js | Message delay when output:delay is set to a number | <ide><path>i/js/conversation.js
<ide> setMessage('');
<ide>
<ide> Api.postConversationMessage(text);
<add> }
<add>
<add> function addMessage(chatBoxElement, messageDiv) {
<add> chatBoxElement.appendChild(messageDiv);
<add> updateChat();
<add> }
<add>
<add> function delayMessagePost(chatBoxElement, me... | |
Java | agpl-3.0 | 598c14c54ad644fa5e33952be2905735c03650a3 | 0 | relateiq/sql-layer,qiuyesuifeng/sql-layer,jaytaylor/sql-layer,qiuyesuifeng/sql-layer,wfxiang08/sql-layer-1,ngaut/sql-layer,relateiq/sql-layer,relateiq/sql-layer,qiuyesuifeng/sql-layer,shunwang/sql-layer-1,jaytaylor/sql-layer,wfxiang08/sql-layer-1,ngaut/sql-layer,wfxiang08/sql-layer-1,shunwang/sql-layer-1,shunwang/sql-l... | /**
* Copyright (C) 2011 Akiban Technologies 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 that it will be useful,
* ... | src/test/java/com/akiban/server/api/dml/scan/NiceRowTest.java | /**
* Copyright (C) 2011 Akiban Technologies 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 that it will be useful,
* ... | Fix NiceRowTest ddl | src/test/java/com/akiban/server/api/dml/scan/NiceRowTest.java | Fix NiceRowTest ddl | <ide><path>rc/test/java/com/akiban/server/api/dml/scan/NiceRowTest.java
<ide>
<ide> private static RowDef createRowDef(int totalColumns) throws Exception {
<ide> assertTrue("bad totalColumns=" + totalColumns, totalColumns >= 2);
<del> String[] ddl = new String[totalColumns + 3];
<add> String[... | |
Java | apache-2.0 | 706f3330302221ce52e551da6814f576ef26ed71 | 0 | TeamCanjica/android_packages_apps_DeviceSettings,Carbonite12/android_packages_apps_DeviceSettings,andi34/android_packages_apps_DeviceSettings,Epirex/android_packages_apps_NovathorSettings | /*
* Copyright (C) 2014 TeamCanjica https://github.com/TeamCanjica
*
* 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/com/teamcanjica/settings/device/MasterSeekBarDialogPreference.java | /*
* Copyright (C) 2014 TeamCanjica https://github.com/TeamCanjica
*
* 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... | Audio : Remove restore workaround
We fixed this on kernel source with this commit
https://github.com/TeamCanjica/Samsung_STE_Kernel/commit/1604c2796087644c2dbaedbe47b9860457155647
Thanks @cocafe
| src/com/teamcanjica/settings/device/MasterSeekBarDialogPreference.java | Audio : Remove restore workaround | <ide><path>rc/com/teamcanjica/settings/device/MasterSeekBarDialogPreference.java
<ide> getInt(DeviceSettings.KEY_READAHEADKB, 512) / 128) + 1) * 128));
<ide>
<ide> // ABBamp Audio - ADDigGain2 Control
<del> if (sharedPrefs.getBoolean(DeviceSettings.KEY_ENABLE_ADDIGGAIN2, false)) {
<ide> Utils.writeValue(Au... | |
JavaScript | mit | c675c3464543b8ea76f40036b20f8d58e25ab3c2 | 0 | Eloqua/sproutcore,Eloqua/sproutcore,Eloqua/sproutcore | // ==========================================================================
// Project: SproutCore - JavaScript Application Framework
// Copyright: ©2006-2009 Sprout Systems, Inc. and contributors.
// Portions ©2008-2009 Apple Inc. All rights reserved.
// License: Licened under MIT license (see license... | frameworks/runtime/mixins/number.js | // ==========================================================================
// Project: SproutCore - JavaScript Application Framework
// Copyright: ©2006-2009 Sprout Systems, Inc. and contributors.
// Portions ©2008-2009 Apple Inc. All rights reserved.
// License: Licened under MIT license (see license... | Removed SC.Logger statement from SC.Number.round()
| frameworks/runtime/mixins/number.js | Removed SC.Logger statement from SC.Number.round() | <ide><path>rameworks/runtime/mixins/number.js
<ide> if (!decimalPlace) decimalPlace = 0;
<ide> var factor = Math.pow(10, decimalPlace);
<ide> n = this.valueOf();
<del> SC.Logger.log(n, factor, n * factor, Math.round(n * factor), Math.round(n * factor) / factor);
<ide> return Math.round(n * factor) / ... | |
JavaScript | bsd-3-clause | c8c7ed4ac1fce94c302ce8351996ce74b5cef237 | 0 | Machyne/pal,Machyne/pal,Machyne/pal,Machyne/pal | var queryPAL = function(query, usdat, clidat, callback) {
$.ajax({
type: 'POST',
url: '/api/pal',
data: {
query: query,
client: 'web',
'user-data': usdat,
'client-data': clidat
},
success: function (response) {
callback(query, response);
},
error: function () ... | static/home.js | var queryPAL = function(query, usdat, clidat, callback) {
$.ajax({
type: 'POST',
url: '/api/pal',
data: {
query: query,
client: 'web',
'user-data': usdat,
'client-data': clidat
},
success: function (response) {
callback(query, response);
},
error: function () ... | make yahoo logo not look pixelated on high-res screens
| static/home.js | make yahoo logo not look pixelated on high-res screens | <ide><path>tatic/home.js
<ide> // return HTML for with logo for API attribution
<ide> switch(service) {
<ide> case "weather":
<del> return '<a href="https://www.yahoo.com/?ilc=401" target="_blank"> <img src="https://poweredby.yahoo.com/purple.png" width="134" height="29"/></a>';
<add> ... | |
Java | apache-2.0 | ee7335a2fc5a95dabc73d779699a973a5b828213 | 0 | apache/commons-csv,muhammadallee/commons-csv,lihenu/Crossover_project,catconst/commons-csv,khalilrahman/commons-csv,festusjejelowo/commons-csv,dakinyade/commons-csv,shashankasharma/commons-csv,shubhcollaborator/common-csvnew,thanhnbt/commons-csv,quettech/csv-import,Aweitzel86/TestCase2.1,Elttbakh/Test02,shadykandeel/co... | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | src/main/java/org/apache/commons/csv/CSVFormat.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 ... | [CSV-99] Revert Builder implementation in CSVFormat.
git-svn-id: 77bd0fb3f0b1af3312cb764eaf99792cfc1ce6c4@1508472 13f79535-47bb-0310-9956-ffa450edef68
| src/main/java/org/apache/commons/csv/CSVFormat.java | [CSV-99] Revert Builder implementation in CSVFormat. | <ide><path>rc/main/java/org/apache/commons/csv/CSVFormat.java
<ide> * </p>
<ide> * You can extend a format through a builder. For example, to extend the Excel format with columns header, you write:
<ide> * </p>
<del> * <pre>CSVFormat.EXCEL.toBuilder().withHeader("Col1", "Col2", "Col3").... | |
Java | apache-2.0 | 26f8e0f6c10c0e6c9351d6dd2a4a50d8ac1f31ad | 0 | opensingular/singular-core,opensingular/singular-core,opensingular/singular-core,opensingular/singular-core | /*
* Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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
... | form/wicket/src/main/java/org/opensingular/form/wicket/mapper/attachment/single/FileUploadPanel.java | /*
* Copyright (C) 2016 Singular Studios (a.k.a Atom Tecnologia) - www.opensingular.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
... | [SGL-645] - Correções no import
| form/wicket/src/main/java/org/opensingular/form/wicket/mapper/attachment/single/FileUploadPanel.java | [SGL-645] - Correções no import | <ide><path>orm/wicket/src/main/java/org/opensingular/form/wicket/mapper/attachment/single/FileUploadPanel.java
<ide>
<ide> package org.opensingular.form.wicket.mapper.attachment.single;
<ide>
<del>import java.util.ArrayList;
<del>import java.util.List;
<del>import java.util.Optional;
<del>import java.util.Set;
<del>i... | |
Java | agpl-3.0 | 3c8a124b36f8fbcee97314c147a57d1578a2e079 | 0 | ua-eas/kfs,kuali/kfs,quikkian-ua-devops/kfs,UniversityOfHawaii/kfs,smith750/kfs,kkronenb/kfs,ua-eas/kfs,UniversityOfHawaii/kfs,ua-eas/kfs-devops-automation-fork,quikkian-ua-devops/will-financials,quikkian-ua-devops/kfs,ua-eas/kfs-devops-automation-fork,quikkian-ua-devops/kfs,ua-eas/kfs-devops-automation-fork,ua-eas/kfs... | /*
* Copyright 2006-2007 The Kuali Foundation.
*
* Licensed under the Educational Community License, Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl1.php
*
* Unless required b... | work/src/org/kuali/kfs/module/purap/businessobject/PurchaseOrderQuoteListVendor.java | /*
* Copyright 2006-2007 The Kuali Foundation.
*
* Licensed under the Educational Community License, Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.opensource.org/licenses/ecl1.php
*
* Unless required b... | KULPURAP-766
| work/src/org/kuali/kfs/module/purap/businessobject/PurchaseOrderQuoteListVendor.java | KULPURAP-766 | <ide><path>ork/src/org/kuali/kfs/module/purap/businessobject/PurchaseOrderQuoteListVendor.java
<ide> import java.util.LinkedHashMap;
<ide>
<ide> import org.kuali.core.bo.PersistableBusinessObjectBase;
<add>import org.kuali.kfs.context.SpringContext;
<ide> import org.kuali.module.vendor.bo.VendorDetail;
<add>import org... | |
JavaScript | mit | 8d63b3debc0482c314c9fdbf47b8bfdef7579a19 | 0 | jywarren/cartagen,goododd/cartagen-monza,jywarren/cartagen,jywarren/cartagen,jywarren/cartagen,goododd/cartagen-monza,goododd/cartagen-monza,jywarren/cartagen,jywarren/cartagen | // cartagen.js
//
// Copyright (C) 2009 Jeffrey Warren, Design Ecology, MIT Media Lab
//
// This file is part of the Cartagen mapping framework. Read more at
// <http://cartagen.org>
//
// Cartagen is free software: you can redistribute it and/or modify
// it under the terms of the MIT License. You should have received... | cartagen/public/cartagen/cartagen.js | // cartagen.js
//
// Copyright (C) 2009 Jeffrey Warren, Design Ecology, MIT Media Lab
//
// This file is part of the Cartagen mapping framework. Read more at
// <http://cartagen.org>
//
// Cartagen is free software: you can redistribute it and/or modify
// it under the terms of the MIT License. You should have received... | start of way and node reading
| cartagen/public/cartagen/cartagen.js | start of way and node reading | <ide><path>artagen/public/cartagen/cartagen.js
<ide> resolution: Math.round(Math.abs(Math.log(Cartagen.zoom_level))),
<ide> refresh_resolution: function() {
<ide> this.resolution = Math.round(Math.abs(Math.log(Cartagen.zoom_level)))
<add> },
<add> // [lon1, lat2, lon2, lat1]
<add> get_bbox: function() {
<add> var ... | |
Java | epl-1.0 | d6f530eb0bb4ce88c9d9a47fa8fdaf41d661a79d | 0 | Techjar/ForgeEssentials,liachmodded/ForgeEssentials,CityOfLearning/ForgeEssentials,planetguy32/ForgeEssentials,ForgeEssentials/ForgeEssentialsMain | package com.forgeessentials.scripting;
import java.lang.management.ManagementFactory;
import java.lang.management.RuntimeMXBean;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.text.DecimalFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Ma... | src/main/java/com/forgeessentials/scripting/ScriptArguments.java | package com.forgeessentials.scripting;
import java.lang.management.ManagementFactory;
import java.lang.management.RuntimeMXBean;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
import java.text.DecimalFormat;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Ma... | Fixed script arguments to start numbering from 1 instead of 0
| src/main/java/com/forgeessentials/scripting/ScriptArguments.java | Fixed script arguments to start numbering from 1 instead of 0 | <ide><path>rc/main/java/com/forgeessentials/scripting/ScriptArguments.java
<ide> import com.forgeessentials.scripting.ScriptParser.ScriptArgument;
<ide> import com.forgeessentials.scripting.ScriptParser.ScriptException;
<ide> import com.forgeessentials.scripting.ScriptParser.SyntaxException;
<del>import com.forgeessent... | |
JavaScript | apache-2.0 | 3acca94cacc7128db1cbd32ce96714f1cc072543 | 0 | google/tern-closure,angelozerr/tern-closure | 'use strict';
var infer = require('tern/lib/infer');
var tern = require('tern/lib/tern');
var comment = require('tern/lib/comment');
var walk = require('acorn/util/walk');
var doctrine = require('doctrine');
var Weight = {
TEMP_OBJ: 40,
TEMP_CTOR: 50
}
tern.registerPlugin('closure', function() {
var defs = {
... | closure.js | 'use strict';
var infer = require('tern/lib/infer');
var tern = require('tern/lib/tern');
var comment = require('tern/lib/comment');
var walk = require('acorn/util/walk');
var doctrine = require('doctrine');
var Weight = {
TEMP_OBJ: 40,
TEMP_CTOR: 50
}
tern.registerPlugin('closure', function() {
var defs = {
... | Remove custom constructor detection.
Tern is handling constructors fine without the help.
| closure.js | Remove custom constructor detection. | <ide><path>losure.js
<ide> return {
<ide> passes: {
<ide> 'postParse': postParse,
<del> 'preInfer': preInfer,
<ide> 'postInfer': postInfer
<ide> },
<ide> defs: defs
<ide>
<ide>
<ide> /**
<del> * Identifies and initializes contructors before Tern's type inference pass. We
<del> * apply m... | |
Java | agpl-3.0 | 07cf2754a4cc4dce5e8f1b656944164688260dd3 | 0 | acontes/scheduling,acontes/scheduling,acontes/scheduling,acontes/scheduling,acontes/scheduling,acontes/scheduling,acontes/scheduling | /*
* ################################################################
*
* ProActive: The Java(TM) library for Parallel, Distributed,
* Concurrent computing with Security and Mobility
*
* Copyright (C) 1997-2008 INRIA/University of Nice-Sophia Antipolis
* Contact: proactive@ow2.org
*
* This library i... | src/resource-manager/src/org/ow2/proactive/resourcemanager/utils/RMStarter.java | /*
* ################################################################
*
* ProActive: The Java(TM) library for Parallel, Distributed,
* Concurrent computing with Security and Mobility
*
* Copyright (C) 1997-2008 INRIA/University of Nice-Sophia Antipolis
* Contact: proactive@ow2.org
*
* This library i... | Set javaProperty in RMStarter every time.
git-svn-id: 27916816d6cfa57849e9a885196bf7392b80e1ac@11362 28e8926c-6b08-0410-baaa-805c5e19b8d6
| src/resource-manager/src/org/ow2/proactive/resourcemanager/utils/RMStarter.java | Set javaProperty in RMStarter every time. | <ide><path>rc/resource-manager/src/org/ow2/proactive/resourcemanager/utils/RMStarter.java
<ide> }
<ide>
<ide> logger.info("STARTING RESOURCE MANAGER: Press 'e' to shutdown.");
<add> RMFactory.setOsJavaProperty();
<ide>
<ide> if (cmd.hasOption("n")) {
<ide> ... | |
Java | bsd-2-clause | 545cefed0d7b69f8950930a0c5e2122cd59000bc | 0 | dragondgold/MultiWork | package com.protocolanalyzer.andres;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
import org.achartengine.ChartFactory;
import org.achartengine.GraphicalView;
import org.achartengine.chart.PointStyl... | src/com/protocolanalyzer/andres/LogicAnalizerChartFragment.java | package com.protocolanalyzer.andres;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;
import org.achartengine.ChartFactory;
import org.achartengine.GraphicalView;
import org.achartengine.chart.PointStyl... | Acomodamiento y renombres | src/com/protocolanalyzer/andres/LogicAnalizerChartFragment.java | Acomodamiento y renombres | <ide><path>rc/com/protocolanalyzer/andres/LogicAnalizerChartFragment.java
<ide>
<ide> @Override
<ide> public double onDataDecodedListener(LogicData[] mLogicData, int samplesCount, boolean isConfig) {
<add> if(DEBUG) Log.i("mFragmentChart","onDataDecoded() - isConfig: " + isConfig);
<add> if(DEBUG) Log.i("mFragmen... | |
Java | apache-2.0 | 384dcd78533ff3b57bcb8cb0c69babc73453f82e | 0 | marklogic/data-hub-in-a-box,marklogic/data-hub-in-a-box,marklogic/data-hub-in-a-box,marklogic/data-hub-in-a-box | package com.marklogic.hub;
import com.marklogic.hub.collector.DiskQueueTest;
import com.marklogic.hub.collector.EmptyCollectorTest;
import com.marklogic.hub.collector.StreamCollectorTest;
import com.marklogic.hub.core.*;
import com.marklogic.hub.deploy.commands.GenerateHubTDETemplateCommandTest;
import com.marklogic.... | marklogic-data-hub/src/test/java/com/marklogic/hub/CoreTestSuite.java | package com.marklogic.hub;
import com.marklogic.hub.collector.DiskQueueTest;
import com.marklogic.hub.collector.EmptyCollectorTest;
import com.marklogic.hub.collector.StreamCollectorTest;
import com.marklogic.hub.core.*;
import com.marklogic.hub.deploy.commands.GenerateHubTDETemplateCommandTest;
import com.marklogic.... | Uncomment tests
| marklogic-data-hub/src/test/java/com/marklogic/hub/CoreTestSuite.java | Uncomment tests | <ide><path>arklogic-data-hub/src/test/java/com/marklogic/hub/CoreTestSuite.java
<ide>
<ide> @RunWith(Suite.class)
<ide> @SuiteClasses( {
<del>// DiskQueueTest.class,
<del>// EmptyCollectorTest.class,
<del>// StreamCollectorTest.class,
<del>// DataHubInstallTest.class,
<del>// DataHubTest.class,
<del>// ... | |
Java | apache-2.0 | f1f8fdaee19ecf28a4389703b66da1135e1ab4a4 | 0 | saki4510t/libcommon,saki4510t/libcommon | package com.serenegiant.utils;
/*
* libcommon
* utility/helper classes for myself
*
* Copyright (c) 2014-2022 saki t_saki@serenegiant.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... | common/src/main/java/com/serenegiant/utils/BufferHelper.java | package com.serenegiant.utils;
/*
* libcommon
* utility/helper classes for myself
*
* Copyright (c) 2014-2022 saki t_saki@serenegiant.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... | バッファーのダンプ時にプレフィックス文字列を指定できるように追加
| common/src/main/java/com/serenegiant/utils/BufferHelper.java | バッファーのダンプ時にプレフィックス文字列を指定できるように追加 | <ide><path>ommon/src/main/java/com/serenegiant/utils/BufferHelper.java
<ide> * @param offset
<ide> * @param size
<ide> */
<del> public static final void dump(final String tag,
<add> public static final void dump(@NonNull final String tag,
<ide> final ByteBuffer buffer, final int offset, final int size) {
<ide> ... | |
Java | apache-2.0 | error: pathspec 'dependencymanager/test/src/test/java/org/apache/felix/dm/test/ServiceTrackerTest.java' did not match any file(s) known to git
| 69c2e9477b87b0d62838a21a86d916ebbd93761c | 1 | apache/felix-dev,apache/felix-dev,apache/felix-dev,apache/felix-dev | /*
* 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 ... | dependencymanager/test/src/test/java/org/apache/felix/dm/test/ServiceTrackerTest.java | Tests the extensions that have been made to the standard ServiceTracker (mostly related to dealing with aspects).
git-svn-id: e057f57e93a604d3b43d277ae69bde5ebf332112@1022569 13f79535-47bb-0310-9956-ffa450edef68
| dependencymanager/test/src/test/java/org/apache/felix/dm/test/ServiceTrackerTest.java | Tests the extensions that have been made to the standard ServiceTracker (mostly related to dealing with aspects). | <ide><path>ependencymanager/test/src/test/java/org/apache/felix/dm/test/ServiceTrackerTest.java
<add>/*
<add> * Licensed to the Apache Software Foundation (ASF) under one
<add> * or more contributor license agreements. See the NOTICE file
<add> * distributed with this work for additional information
<add> * regarding ... | |
Java | mit | 0ce46d57f93bb95dde8ae4913bfbe0188e3287fb | 0 | SimpleServer/SimpleServer,iBotPeaches/SimpleServer,iBotPeaches/SimpleServer,SimpleServer/SimpleServer | /*
* Copyright (c) 2010 SimpleServer authors (see CONTRIBUTORS)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, ... | src/simpleserver/config/ChestList.java | /*
* Copyright (c) 2010 SimpleServer authors (see CONTRIBUTORS)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, ... | fixed bug preventing user to open their chests
| src/simpleserver/config/ChestList.java | fixed bug preventing user to open their chests | <ide><path>rc/simpleserver/config/ChestList.java
<ide> public boolean ownsLock(Player player, int x, byte y, int z) {
<ide> Coordinate coordinate = new Coordinate(x, y, z);
<ide> Chest chest = locations.get(coordinate);
<del> return (chest != null) && (chest.owner == player.getName() || chest.isOpen());
<a... | |
Java | mit | 3100997b354403d5d7236ed79c9beb590a3f0533 | 0 | firmsoil/expense-tracker,vamsivadrevu/expense-tracker,vinsol/expense-tracker,anshuPurohit/expense-tracker | package com.vinsol.expensetracker;
import java.io.File;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.HashMap;
import java.util.List;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.V... | src/com/vinsol/expensetracker/ExpenseSubListing.java | package com.vinsol.expensetracker;
import java.io.File;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.HashMap;
import java.util.List;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.V... | Bug fix
| src/com/vinsol/expensetracker/ExpenseSubListing.java | Bug fix | <ide><path>rc/com/vinsol/expensetracker/ExpenseSubListing.java
<ide> import android.widget.AdapterView;
<ide> import android.widget.AdapterView.OnItemClickListener;
<ide> import android.widget.ArrayAdapter;
<del>import android.widget.ImageButton;
<add>import android.widget.Button;
<ide> import android.widget.ListView;
... | |
JavaScript | bsd-3-clause | 2b20d1ee90529444d266398505bb50aafd189e0b | 0 | dondi/GRNsight,dondi/GRNsight | /* require("browser-env")();
var chai = require("chai");
var expect = chai.expect;
var sinon = require("sinon");
var gene = "ACE2";
global.window = window;
global.$ = require("jquery");
var geneFunctions = require(__dirname + "/../web-client/public/gene/api");
console.log(typeof XMLSerializer);
describe("Uniprot AP... | test/api-tests.js | require("browser-env")();
var chai = require("chai");
var expect = chai.expect;
var sinon = require("sinon");
var gene = "ACE2";
global.window = window;
global.$ = require("jquery");
var geneFunctions = require(__dirname + "/../web-client/public/gene/api");
console.log(typeof XMLSerializer);
describe("Uniprot API",... | Commented out API tests, work will commence on another branch
| test/api-tests.js | Commented out API tests, work will commence on another branch | <ide><path>est/api-tests.js
<del>require("browser-env")();
<add>/* require("browser-env")();
<ide> var chai = require("chai");
<ide> var expect = chai.expect;
<ide> var sinon = require("sinon");
<ide> });
<ide> });
<ide>
<del>/*
<add>
<ide> describe("Ensembl API", function () {
<ide> it("should load", function... | |
Java | apache-2.0 | 8db428d36d5f86a591889bb823c0008dc2903bba | 0 | facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho | /**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package co... | litho-processor/src/main/java/com/facebook/litho/processor/Stages.java | /**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
package co... | Lines authored by ianc
This commit forms part of the blame-preserving initial commit suite.
| litho-processor/src/main/java/com/facebook/litho/processor/Stages.java | Lines authored by ianc | <ide><path>itho-processor/src/main/java/com/facebook/litho/processor/Stages.java
<ide> .addModifiers(Modifier.PROTECTED)
<ide> .addStatement("super.release()")
<ide> .addStatement(implMemberInstanceName + " = null")
<add> .addStatement(contextMemberInstanceName + " = null") | |
Java | mit | b57c4832b61cbb832107a62a8628ee00a1cc0880 | 0 | gregwym/joos-compiler-java,gregwym/joos-compiler-java | /**
*
*/
package ca.uwaterloo.joos.ast.decl;
import ca.uwaterloo.joos.ast.ASTNode;
import ca.uwaterloo.joos.ast.expr.ForInit;
import ca.uwaterloo.joos.parser.ParseTree.Node;
/**
* @author Greg Wang
*
*/
public class LocalVariableDeclaration extends VariableDeclaration implements ForInit{
private int index;
/*... | src/ca/uwaterloo/joos/ast/decl/LocalVariableDeclaration.java | /**
*
*/
package ca.uwaterloo.joos.ast.decl;
import ca.uwaterloo.joos.ast.ASTNode;
import ca.uwaterloo.joos.ast.expr.ForInit;
import ca.uwaterloo.joos.parser.ParseTree.Node;
/**
* @author Greg Wang
*
*/
public class LocalVariableDeclaration extends VariableDeclaration implements ForInit{
/**
* @param node
... | Added an int holding a Local Variable's index
| src/ca/uwaterloo/joos/ast/decl/LocalVariableDeclaration.java | Added an int holding a Local Variable's index | <ide><path>rc/ca/uwaterloo/joos/ast/decl/LocalVariableDeclaration.java
<ide> *
<ide> */
<ide> public class LocalVariableDeclaration extends VariableDeclaration implements ForInit{
<del>
<add> private int index;
<ide> /**
<ide> * @param node
<ide> * @param parent
<ide> public LocalVariableDeclaration(Node node, ... | |
Java | bsd-3-clause | 7b1ec32ef5725e5f1a2bd49ee35aa08b5a764790 | 0 | phlip9/BIDMat,codeaudit/BIDMat,phlip9/BIDMat,codeaudit/BIDMat,phlip9/BIDMat,phlip9/BIDMat,phlip9/BIDMat,codeaudit/BIDMat,codeaudit/BIDMat,codeaudit/BIDMat |
package edu.berkeley.bid.comm;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.Arrays;
import java.io.*;
import java.nio.*;
import java.net.*;
//import mpi.*;
public class AllReduceX {
public class Machi... | src/main/java/edu/berkeley/bid/comm/AllReduceX.java |
package edu.berkeley.bid.comm;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.Arrays;
import java.io.*;
import java.nio.*;
import java.net.*;
//import mpi.*;
public class AllReduceX {
public class Machi... | AllReduceX rock solid
| src/main/java/edu/berkeley/bid/comm/AllReduceX.java | AllReduceX rock solid | <ide><path>rc/main/java/edu/berkeley/bid/comm/AllReduceX.java
<ide> IVec finalMap; // Map to down from down --> up at layer D-1
<ide> Msg [][] messages; // Message queue for the simulation
<ide> boolean [][] msgrecvd;
<add> boole... | |
Java | mit | 678b008c7dccfbc879ebe65c2c6c9ba231132bd6 | 0 | xemime-lang/xemime,xemime-lang/xemime | package net.zero918nobita.Xemime.parser;
import net.zero918nobita.Xemime.ast.*;
import net.zero918nobita.Xemime.entity.Handler;
import net.zero918nobita.Xemime.interpreter.Main;
import net.zero918nobita.Xemime.lexer.Lexer;
import net.zero918nobita.Xemime.lexer.TokenType;
import net.zero918nobita.Xemime.resolver.Resolv... | src/main/java/net/zero918nobita/Xemime/parser/First.java | package net.zero918nobita.Xemime.parser;
import net.zero918nobita.Xemime.ast.*;
import net.zero918nobita.Xemime.entity.Handler;
import net.zero918nobita.Xemime.interpreter.Main;
import net.zero918nobita.Xemime.lexer.Lexer;
import net.zero918nobita.Xemime.lexer.TokenType;
import net.zero918nobita.Xemime.resolver.Resolv... | Fix typo
| src/main/java/net/zero918nobita/Xemime/parser/First.java | Fix typo | <ide><path>rc/main/java/net/zero918nobita/Xemime/parser/First.java
<ide> import net.zero918nobita.Xemime.resolver.Resolver;
<ide>
<ide> import java.util.ArrayList;
<add>import java.util.HashMap;
<ide>
<ide> /**
<ide> * 一次子の構文解析を行います。 | |
JavaScript | mit | f3cabb46b15aaaba8be656f45c71fe3fe1eb952d | 0 | RichoM/MiniMorphicJS,RichoM/MiniMorphicJS | var Form = (function () {
/*
* Code taken from: http://www.playmycode.com/blog/2011/06/realtime-image-tinting-on-html5-canvas/
*/
function generateImageForChannel(img, w, h, pixels, rgbI) {
return new Promise((resolve, reject) => {
var canvas = document.createElement("canvas");
canvas.width = w;... | js/core/Form.js | var Form = (function () {
/*
* Code taken from: http://www.playmycode.com/blog/2011/06/realtime-image-tinting-on-html5-canvas/
*/
function generateImageForChannel(img, w, h, pixels, rgbI) {
return new Promise((resolve, reject) => {
var canvas = document.createElement("canvas");
canvas.width = w;... | Added Form.loadSpritesheet(..)
| js/core/Form.js | Added Form.loadSpritesheet(..) | <ide><path>s/core/Form.js
<ide> static load(sources) {
<ide> return Promise.all(sources.map(Form.loadImage));
<ide> }
<add> static loadSpritesheet(src, w, h) {
<add> return new Promise((resolve, reject) => {
<add> let img = new Image();
<add> img.onload = function () {
<add> let... | |
Java | apache-2.0 | c1a91aa9def0f4ee817ec2f5d8383b4698fd8f61 | 0 | DavideD/hibernate-validator,mxrenkin/hibernate-validator,marko-bekhta/hibernate-validator,mxrenkin/hibernate-validator,flibbertigibbet/hibernate-validator-android,gastaldi/hibernate-validator,emmanuelbernard/hibernate-validator,DavideD/hibernate-validator,shahramgdz/hibernate-validator,hibernate/hibernate-validator,sha... | /*
* JBoss, Home of Professional Open Source
* Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may ... | hibernate-validator/src/main/java/org/hibernate/validator/engine/PathImpl.java | /*
* JBoss, Home of Professional Open Source
* Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may ... | HV-395 Removing unused Node instance in parseProperty
| hibernate-validator/src/main/java/org/hibernate/validator/engine/PathImpl.java | HV-395 Removing unused Node instance in parseProperty | <ide><path>ibernate-validator/src/main/java/org/hibernate/validator/engine/PathImpl.java
<ide>
<ide> // create the node
<ide> String value = matcher.group( PROPERTY_NAME_GROUP );
<del> Node node = path.addNode( value );
<add> path.addNode( value );
<ide>
<ide> // is the node indexable
<ide> if (... | |
Java | apache-2.0 | cc68e242112a94fecac5ba172197f1d3cfd413b5 | 0 | asedunov/intellij-community,asedunov/intellij-community,da1z/intellij-community,da1z/intellij-community,mglukhikh/intellij-community,semonte/intellij-community,semonte/intellij-community,xfournet/intellij-community,ThiagoGarciaAlves/intellij-community,FHannes/intellij-community,ibinti/intellij-community,apixandru/intel... | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/lang-impl/src/com/intellij/packageDependencies/ui/ModuleNode.java | /*
* Copyright 2000-2015 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | ModuleNode: notnullification and simplification
| platform/lang-impl/src/com/intellij/packageDependencies/ui/ModuleNode.java | ModuleNode: notnullification and simplification | <ide><path>latform/lang-impl/src/com/intellij/packageDependencies/ui/ModuleNode.java
<ide> */
<ide> package com.intellij.packageDependencies.ui;
<ide>
<del>import com.intellij.analysis.AnalysisScopeBundle;
<ide> import com.intellij.idea.ActionsBundle;
<ide> import com.intellij.openapi.module.Module;
<ide> import com.... | |
Java | apache-2.0 | b1eaf7f5bbc3d6d72b86c3a71ec2240f2e47b622 | 0 | dimagi/commcare-core,dimagi/commcare,dimagi/commcare-core,dimagi/commcare,dimagi/commcare-core,dimagi/commcare | package org.commcare.suite.model;
import org.javarosa.core.model.condition.EvaluationContext;
import org.javarosa.core.util.externalizable.DeserializationException;
import org.javarosa.core.util.externalizable.ExtUtil;
import org.javarosa.core.util.externalizable.ExtWrapList;
import org.javarosa.core.util.externalizab... | src/main/java/org/commcare/suite/model/Menu.java | package org.commcare.suite.model;
import org.javarosa.core.model.condition.EvaluationContext;
import org.javarosa.core.util.externalizable.DeserializationException;
import org.javarosa.core.util.externalizable.ExtUtil;
import org.javarosa.core.util.externalizable.ExtWrapList;
import org.javarosa.core.util.externalizab... | Fix Menu white spacing, final
| src/main/java/org/commcare/suite/model/Menu.java | Fix Menu white spacing, final | <ide><path>rc/main/java/org/commcare/suite/model/Menu.java
<ide> }
<ide>
<ide> @Override
<del> public Single<String> getTextForBadge(EvaluationContext ec) {
<add> public Single<String> getTextForBadge(final EvaluationContext ec) {
<ide> if (display.getBadgeText() == null) {
<ide> retu... | |
Java | apache-2.0 | 0e4875dd1c8c1cc8af33b34f67c8ba022a1c28be | 0 | hbs/warp10-platform,hbs/warp10-platform,hbs/warp10-platform,StevenLeRoux/warp10-platform,cityzendata/warp10-platform,StevenLeRoux/warp10-platform,hbs/warp10-platform,cityzendata/warp10-platform,cityzendata/warp10-platform,StevenLeRoux/warp10-platform,cityzendata/warp10-platform,StevenLeRoux/warp10-platform | //
// Copyright 2018 Cityzen Data
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... | warp10/src/main/java/io/warp10/hadoop/Warp10InputFormat.java | package io.warp10.hadoop;
import io.warp10.WarpURLEncoder;
import io.warp10.continuum.TextFileShuffler;
import io.warp10.continuum.store.Constants;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.IOException... | Modified getProperty to use a Configuration
| warp10/src/main/java/io/warp10/hadoop/Warp10InputFormat.java | Modified getProperty to use a Configuration | <ide><path>arp10/src/main/java/io/warp10/hadoop/Warp10InputFormat.java
<add>//
<add>// Copyright 2018 Cityzen Data
<add>//
<add>// Licensed under the Apache License, Version 2.0 (the "License");
<add>// you may not use this file except in compliance with the License.
<add>// You may obtain a copy of the Licens... | |
Java | apache-2.0 | dd434c440a28276ff40ec5b51f6443bd169fd362 | 0 | bergerch/library,bft-smart/library,bergerch/library,bft-smart/library | /**
Copyright (c) 2007-2013 Alysson Bessani, Eduardo Alchieri, Paulo Sousa, and the authors indicated in the @author tags
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/licen... | src/bftsmart/tom/util/TOMUtil.java | /**
Copyright (c) 2007-2013 Alysson Bessani, Eduardo Alchieri, Paulo Sousa, and the authors indicated in the @author tags
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/licen... | Method getObject from TOMUtil does not print out any exception anymore. If not object can ve deserialized, the method simply returns null, which is ought to be enough. | src/bftsmart/tom/util/TOMUtil.java | Method getObject from TOMUtil does not print out any exception anymore. If not object can ve deserialized, the method simply returns null, which is ought to be enough. | <ide><path>rc/bftsmart/tom/util/TOMUtil.java
<ide> bInp.close();
<ide> return ret;
<ide> } catch (Exception ex) {
<del> ex.printStackTrace();
<ide> return null;
<ide> }
<ide> } | |
Java | apache-2.0 | error: pathspec 'addressbook-web-tests/src/test/java/ru/stqa/javaCursBarancev/addressbook/tests/KontactModificationTests.java' did not match any file(s) known to git
| b034406ff9e97e3b5684297934e31328b811c091 | 1 | yafarkina/java_curs_Barancev | package ru.stqa.javaCursBarancev.addressbook.tests;
import org.testng.annotations.Test;
/**
* Created by yafar_000 on 15.12.2016.
*/
public class KontactModificationTests extends TestBase{
@Test
public void testKontactModification() {
}
}
| addressbook-web-tests/src/test/java/ru/stqa/javaCursBarancev/addressbook/tests/KontactModificationTests.java | создание класса KontactModificationTests èÏî
| addressbook-web-tests/src/test/java/ru/stqa/javaCursBarancev/addressbook/tests/KontactModificationTests.java | создание класса KontactModificationTests èÏî | <ide><path>ddressbook-web-tests/src/test/java/ru/stqa/javaCursBarancev/addressbook/tests/KontactModificationTests.java
<add>package ru.stqa.javaCursBarancev.addressbook.tests;
<add>
<add>import org.testng.annotations.Test;
<add>
<add>/**
<add> * Created by yafar_000 on 15.12.2016.
<add> */
<add>public class KontactModi... | |
Java | mit | error: pathspec 'proj0/tests/SimpleTests.java' did not match any file(s) known to git
| b550ecc22fa92064590975292071cd1279c07492 | 1 | hardfist/CS61b,hardfist/skeleton,hardfist/CS61b,hardfist/skeleton,hardfist/CS61b,hardfist/skeleton,hardfist/CS61b,hardfist/skeleton,hardfist/CS61b,hardfist/skeleton | import org.junit.Test;
import static org.junit.Assert.*;
/**
* @author Josh Hug
*/
public class SimpleTests {
@Test
public void testCoreFunctionality() {
System.out.println("Test 1: See comments in SimpleTests.java for description.");
Board b = new Board(true);
// Place a shield a... | proj0/tests/SimpleTests.java | Added tests for common misconceptions
| proj0/tests/SimpleTests.java | Added tests for common misconceptions | <ide><path>roj0/tests/SimpleTests.java
<add>import org.junit.Test;
<add>import static org.junit.Assert.*;
<add>/**
<add> * @author Josh Hug
<add> */
<add>
<add>public class SimpleTests {
<add>
<add> @Test
<add> public void testCoreFunctionality() {
<add> System.out.println("Test 1: See comments in Simple... | |
Java | agpl-3.0 | 01870f5259bf338593ebd670e805f1d0d1b14f61 | 0 | duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test | 37ddf67e-2e60-11e5-9284-b827eb9e62be | hello.java | 37d89378-2e60-11e5-9284-b827eb9e62be | 37ddf67e-2e60-11e5-9284-b827eb9e62be | hello.java | 37ddf67e-2e60-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>37d89378-2e60-11e5-9284-b827eb9e62be
<add>37ddf67e-2e60-11e5-9284-b827eb9e62be | |
JavaScript | bsd-3-clause | a2fcdcc6e49450f10e01a496843ac297637bfb4d | 0 | DouglasHuston/rcl,DouglasHuston/rcl,DouglasHuston/rcl,DouglasHuston/rcl | define([
'config',
'model',
'mustache',
'text!views/ImportDirectory/URL.html',
'./DirTypeView',
'typeahead'
],
function(config, model, Mustache, template, DirTypeView){
return Backbone.View.extend({
initialize:function(){
// Make ... | www/assets/js/views/ImportDirectory/URLView.js | define([
'config',
'model',
'mustache',
'text!views/ImportDirectory/URL.html',
'./DirTypeView',
'typeahead'
],
function(config, model, Mustache, template, DirTypeView){
return Backbone.View.extend({
initialize:function(){
// Make ... | Trying to get a response from my hoodie plugin
| www/assets/js/views/ImportDirectory/URLView.js | Trying to get a response from my hoodie plugin | <ide><path>ww/assets/js/views/ImportDirectory/URLView.js
<ide> // thiz.get_cgroup()
<ide> // TODO: Start here. I can't figure out how to determine that the task has completed.
<ide> console.log('Start here.')
<add> function handle_storage(e) {
<add> ... | |
JavaScript | apache-2.0 | 378869c752df3a32f02b4ceccc16773c476e84fc | 0 | xonixx/cml-site-jekyll,xonixx/cml-site-jekyll,xonixx/cml-site-jekyll,xonixx/cml-site-jekyll,xonixx/cml-site-jekyll | $((function () {
$('#customers-main').slick({
infinite: false,
dots: true,
});
}));
| _includes/js/about.js | $((function () {
$('#customers-main').slick({});
}));
| CML-118: slick params added
| _includes/js/about.js | CML-118: slick params added | <ide><path>includes/js/about.js
<ide> $((function () {
<del> $('#customers-main').slick({});
<add> $('#customers-main').slick({
<add> infinite: false,
<add> dots: true,
<add> });
<ide> }));
<ide> | |
Java | apache-2.0 | 84cb1b1d3b502a255bc3d325225785977a65e9a8 | 0 | PDXFinder/pdxfinder,PDXFinder/pdxfinder,PDXFinder/pdxfinder,PDXFinder/pdxfinder | package org.pdxfinder.dataloaders.updog;
import org.pdxfinder.graph.dao.*;
import org.pdxfinder.services.DataImportService;
import org.pdxfinder.services.UtilityService;
import tech.tablesaw.api.Row;
import tech.tablesaw.api.Table;
import java.util.*;
public class DomainObjectCreator {
private Map<String, Table>... | indexer/src/main/java/org/pdxfinder/dataloaders/updog/DomainObjectCreator.java | package org.pdxfinder.dataloaders.updog;
import org.pdxfinder.graph.dao.*;
import org.pdxfinder.services.DataImportService;
import org.pdxfinder.services.UtilityService;
import tech.tablesaw.api.Row;
import tech.tablesaw.api.Table;
import java.util.*;
public class DomainObjectCreator {
private Map<String, Table>... | add sample to snapshot
| indexer/src/main/java/org/pdxfinder/dataloaders/updog/DomainObjectCreator.java | add sample to snapshot | <ide><path>ndexer/src/main/java/org/pdxfinder/dataloaders/updog/DomainObjectCreator.java
<ide> sample.setGrade(grade);
<ide> sample.setGradeClassification(gradingSystem);
<ide>
<add> patientSnapshot.addSample(sample);
<add>
<ide> ModelCreation modelCreation = (ModelCreati... | |
Java | mit | c94619941b0fcf11d29651b477357af17b673d91 | 0 | conveyal/r5,conveyal/r5,conveyal/r5,conveyal/r5,conveyal/r5 | package org.opentripplanner.profile;
import com.google.common.collect.Lists;
import gnu.trove.iterator.TObjectIntIterator;
import gnu.trove.map.TObjectIntMap;
import gnu.trove.map.TObjectLongMap;
import gnu.trove.map.hash.TObjectIntHashMap;
import gnu.trove.map.hash.TObjectLongHashMap;
import org.joda.time.DateTimeZ... | src/main/java/org/opentripplanner/profile/RepeatedRaptorProfileRouter.java | package org.opentripplanner.profile;
import com.google.common.collect.Lists;
import gnu.trove.iterator.TObjectIntIterator;
import gnu.trove.map.TObjectIntMap;
import gnu.trove.map.TObjectLongMap;
import gnu.trove.map.hash.TObjectIntHashMap;
import gnu.trove.map.hash.TObjectLongHashMap;
import org.joda.time.DateTimeZon... | add a pathparser for finding initial stops in the repeated RAPTOR profile router.
Former-commit-id: add2d978ea047840cb4eda4b2de6b55d003bf04b
| src/main/java/org/opentripplanner/profile/RepeatedRaptorProfileRouter.java | add a pathparser for finding initial stops in the repeated RAPTOR profile router. | <ide><path>rc/main/java/org/opentripplanner/profile/RepeatedRaptorProfileRouter.java
<ide> package org.opentripplanner.profile;
<ide>
<ide> import com.google.common.collect.Lists;
<add>
<ide> import gnu.trove.iterator.TObjectIntIterator;
<ide> import gnu.trove.map.TObjectIntMap;
<ide> import gnu.trove.map.TObjectLongM... | |
Java | apache-2.0 | 3a67f2eddec186f0d039aef431c5f43744446c53 | 0 | wcm-io-caravan/caravan-pipeline | /*
* #%L
* wcm.io
* %%
* Copyright (C) 2014 wcm.io
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | impl/src/main/java/io/wcm/caravan/pipeline/impl/operators/PerformanceMetricsTransformer.java | /*
* #%L
* wcm.io
* %%
* Copyright (C) 2014 wcm.io
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | extended PerformanceMetricsTransformer to also be able to measure Operators and Observables
| impl/src/main/java/io/wcm/caravan/pipeline/impl/operators/PerformanceMetricsTransformer.java | extended PerformanceMetricsTransformer to also be able to measure Operators and Observables | <ide><path>mpl/src/main/java/io/wcm/caravan/pipeline/impl/operators/PerformanceMetricsTransformer.java
<ide> */
<ide> package io.wcm.caravan.pipeline.impl.operators;
<ide>
<del>import io.wcm.caravan.pipeline.JsonPipelineOutput;
<del>
<ide> import java.util.concurrent.TimeUnit;
<add>
<add>import org.slf4j.Logger;
<add... | |
JavaScript | mit | c63a7bb3acdabeb936c80b80421844fc9a94b010 | 0 | sergiolepore/hexo-plugin-api |
/**
* waterlock
*
* defines various options used by waterlock
* for more informaiton checkout
*
* http://waterlock.ninja/documentation
*/
module.exports.waterlock = {
// Base URL
//
// used by auth methods for callback URI's using oauth and for password
// reset links.
baseUrl: process.env.BASE_U... | config/waterlock.js |
/**
* waterlock
*
* defines various options used by waterlock
* for more informaiton checkout
*
* http://waterlock.ninja/documentation
*/
module.exports.waterlock = {
// Base URL
//
// used by auth methods for callback URI's using oauth and for password
// reset links.
baseUrl: process.env.BASE_U... | Change Waterlock post login action
Now it will return the JWT for the logged in user.
| config/waterlock.js | Change Waterlock post login action | <ide><path>onfig/waterlock.js
<ide> // obj - {controller: 'blog', action: 'post'}
<ide> // string - 'custom json response string'
<ide> // default - 'default'
<del> success: 'default',
<add> success: '/api/v1/user/jwt',
<ide>
<ide> // This can be any one of the following
<ide> /... | |
Java | apache-2.0 | f72ae89e4334097c37a41e5d4c8f14b107b209fc | 0 | jesse-gallagher/frostillic.us-Blog,jesse-gallagher/frostillic.us-Blog,jesse-gallagher/frostillic.us-Blog,jesse-gallagher/frostillic.us-Blog | /**
* Copyright © 2016-2018 Jesse Gallagher
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | frostillicus-blog/frostillicus-blog-j2ee/src/main/java/security/DarwinoHttpAuthenticationMechanism.java | /**
* Copyright © 2016-2018 Jesse Gallagher
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | Add HTTP Basic auth support
| frostillicus-blog/frostillicus-blog-j2ee/src/main/java/security/DarwinoHttpAuthenticationMechanism.java | Add HTTP Basic auth support | <ide><path>rostillicus-blog/frostillicus-blog-j2ee/src/main/java/security/DarwinoHttpAuthenticationMechanism.java
<ide> */
<ide> package security;
<ide>
<add>import com.darwino.commons.httpclnt.HttpBase;
<ide> import com.darwino.commons.httpclnt.HttpClient;
<add>import com.darwino.commons.util.StringUtil;
<add>import... | |
Java | agpl-3.0 | e05fc2e14c807679b7be8cb818a045750a57b814 | 0 | TheLanguageArchive/Arbil,TheLanguageArchive/Arbil,TheLanguageArchive/Arbil,TheLanguageArchive/Arbil,TheLanguageArchive/Arbil | package nl.mpi.arbil;
import nl.mpi.arbil.data.ImdiTreeObject;
import java.awt.AWTEvent;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.FileDialog;
import java.awt.GraphicsEnvironment;
import java.awt.Rectangle;
import java.awt.Toolkit;
import java.awt.event.AWTEven... | src/nl/mpi/arbil/LinorgWindowManager.java | package nl.mpi.arbil;
import nl.mpi.arbil.data.ImdiTreeObject;
import java.awt.AWTEvent;
import java.awt.BorderLayout;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.FileDialog;
import java.awt.GraphicsEnvironment;
import java.awt.Rectangle;
import java.awt.Toolkit;
import java.awt.event.AWTEven... | Redesigned the tree sort to traverse down the tree and to use low level methods not the unpredictable high level methods.
Used the same blue text indicator for the tree as is used for the table cells to indicate if a node needs to be saved.
Modified the tree renderer to prevent jumping and swapping of node labels and i... | src/nl/mpi/arbil/LinorgWindowManager.java | Redesigned the tree sort to traverse down the tree and to use low level methods not the unpredictable high level methods. Used the same blue text indicator for the tree as is used for the table cells to indicate if a node needs to be saved. Modified the tree renderer to prevent jumping and swapping of node labels and i... | <ide><path>rc/nl/mpi/arbil/LinorgWindowManager.java
<ide> ArbilMenuBar.windowMenu.add(windowMenuItem);
<ide> }
<ide> return currentWindowName;
<add> }
<add>
<add> public void closeAllWindows() {
<add> for (JInternalFrame focusedWindow : desktopPane.getAllFrames()) {
<add> ... | |
JavaScript | mit | c1bfe2fafdb4b65e31bfe3239b48a5dd6fd31f94 | 0 | itkoren/machineto | /**
* Create a finite state machine
* @param {String} current - initialization state for the state machine
* @param {Object} machine - the state machine's flow:
* {
* "state1": {
* "event1": [action1, "state2"],
* "event2": [action2]
* },
* ... | machineto.js | /**
* Create a finite state machine
* @param {String} current - initialization state for the state machine
* @param {Object} machine - the state machine's flow:
* {
* "state1": {
* "event1": [action1, "state2"],
* "event2": [action2]
* },
* ... | plumbing
| machineto.js | plumbing | <ide><path>achineto.js
<ide> */
<ide> function _assign() {
<ide> name = machine[current][name];
<del>
<ide> return name;
<ide> }
<ide> /**
<ide> * @returns {Boolean}
<ide> */
<ide> ... | |
Java | apache-2.0 | 09638a023da817cd3b84a2ea1bc965cae6c7ca69 | 0 | jeorme/OG-Platform,McLeodMoores/starling,McLeodMoores/starling,nssales/OG-Platform,codeaudit/OG-Platform,nssales/OG-Platform,jerome79/OG-Platform,DevStreet/FinanceAnalytics,McLeodMoores/starling,McLeodMoores/starling,jerome79/OG-Platform,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,DevStreet/FinanceAnalytics,DevStr... | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.component.factory.engine;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.UUID;
import org.apache.commons.codec.binary.Base64;
import o... | projects/OG-Component/src/main/java/com/opengamma/component/factory/engine/EngineConfigurationComponentFactory.java | /**
* Copyright (C) 2009 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.component.factory.engine;
import java.util.LinkedHashMap;
import java.util.Map;
import org.apache.commons.lang.StringUtils;
import org.fudgemsg.FudgeContext;
... | [XLS-566] Generate a logical server identifier at startup so clients can detect restarts/changes
| projects/OG-Component/src/main/java/com/opengamma/component/factory/engine/EngineConfigurationComponentFactory.java | [XLS-566] Generate a logical server identifier at startup so clients can detect restarts/changes | <ide><path>rojects/OG-Component/src/main/java/com/opengamma/component/factory/engine/EngineConfigurationComponentFactory.java
<ide>
<ide> import java.util.LinkedHashMap;
<ide> import java.util.Map;
<del>
<add>import java.util.UUID;
<add>
<add>import org.apache.commons.codec.binary.Base64;
<ide> import org.apache.commo... | |
JavaScript | apache-2.0 | fad408adef9e7563bc704d2060511467361466c8 | 0 | Sage/carbon,Sage/carbon,Sage/carbon | import React from 'react';
import { StoryHeader, StoryCode, StoryCodeBlock } from '../../../../.storybook/style/storybook-info.styles';
const info = (
<div>
<p>Textbox component</p>
<StoryHeader>Implementation</StoryHeader>
<StoryCodeBlock>import Textbox from {'"carbon-react/lib/components/textbox"'}</S... | src/components/textbox/documentation/info.js | import React from 'react';
import { StoryHeader, StoryCode, StoryCodeBlock } from '../../../../.storybook/style/storybook-info.styles';
const info = (
<div>
<p>Textbox component </p>
<StoryHeader>Implementation</StoryHeader>
<StoryCodeBlock>import Textbox from {'"carbon-react/lib/components/textbox"'}</... | spaces
| src/components/textbox/documentation/info.js | spaces | <ide><path>rc/components/textbox/documentation/info.js
<ide>
<ide> const info = (
<ide> <div>
<del> <p>Textbox component </p>
<add> <p>Textbox component</p>
<ide>
<ide> <StoryHeader>Implementation</StoryHeader>
<ide> <StoryCodeBlock>import Textbox from {'"carbon-react/lib/components/textbox"'}</StoryC... | |
Java | apache-2.0 | 6344dfeec1d8f364f51cba425a9c704260616c40 | 0 | jtwig/jtwig-versioning | package org.jtwig.version;
public class NextVersionFinder {
public String nextVersion (String currentVersion) {
if (currentVersion == null) {
return "1.0";
} else {
int indexOfDot = currentVersion.lastIndexOf(".") + 1;
String prefix = currentVersion.substring(0, ... | src/main/java/org/jtwig/version/NextVersionFinder.java | package org.jtwig.version;
public class NextVersionFinder {
public String nextVersion (String currentVersion) {
int indexOfDot = currentVersion.lastIndexOf(".") + 1;
String prefix = currentVersion.substring(0, indexOfDot);
int number = Integer.valueOf(currentVersion.substring(indexOfDot));
... | Handling scenario where no previous version exists
| src/main/java/org/jtwig/version/NextVersionFinder.java | Handling scenario where no previous version exists | <ide><path>rc/main/java/org/jtwig/version/NextVersionFinder.java
<ide>
<ide> public class NextVersionFinder {
<ide> public String nextVersion (String currentVersion) {
<del> int indexOfDot = currentVersion.lastIndexOf(".") + 1;
<del> String prefix = currentVersion.substring(0, indexOfDot);
<del> ... | |
JavaScript | mit | e75db68667dcbd31ff620096049af9db89c6c01d | 0 | TribeMedia/react-redux-universal-hot-example | import React, {Component, PropTypes} from 'react';
import {connect} from 'react-redux';
import Helmet from 'react-helmet';
import {initialize} from 'redux-form';
import {SurveyForm} from 'components';
import request from 'superagent';
@connect(
() => ({}),
{initialize})
export default class Survey extends Componen... | src/containers/Survey/Survey.js | import React, {Component, PropTypes} from 'react';
import {connect} from 'react-redux';
import Helmet from 'react-helmet';
import {initialize} from 'redux-form';
import {SurveyForm} from 'components';
import request from 'superagent';
@connect(
() => ({}),
{initialize})
export default class Survey extends Componen... | added sixpack
| src/containers/Survey/Survey.js | added sixpack | <ide><path>rc/containers/Survey/Survey.js
<ide> window.alert('Data submitted! ' + JSON.stringify(data));
<ide> this.props.initialize('survey', {});
<ide> });
<add>
<add> request.get('http://abtesting.tribemedia.io:5000/participate?experiment=button_color_out&alternatives=red&alternatives=blue&c... | |
Java | bsd-3-clause | e6526f30a26ac727e41659496157d1cd2045cebe | 0 | UCDenver-ccp/datasource,UCDenver-ccp/datasource | package edu.ucdenver.ccp.datasource.fileparsers.ebi.goa;
/*
* #%L
* Colorado Computational Pharmacology's common module
* %%
* Copyright (C) 2012 - 2015 Regents of the University of Colorado
* %%
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the... | datasource-fileparsers/src/main/java/edu/ucdenver/ccp/datasource/fileparsers/ebi/goa/GpAssociationGoaUniprotFileParser.java | package edu.ucdenver.ccp.datasource.fileparsers.ebi.goa;
/*
* #%L
* Colorado Computational Pharmacology's common module
* %%
* Copyright (C) 2012 - 2015 Regents of the University of Colorado
* %%
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the... | Deprecated the old GOA parser as UniProt has discontinued the file that it parsed
All references to the downloaded file have been removed b/c it is no
longer available.
| datasource-fileparsers/src/main/java/edu/ucdenver/ccp/datasource/fileparsers/ebi/goa/GpAssociationGoaUniprotFileParser.java | Deprecated the old GOA parser as UniProt has discontinued the file that it parsed | <ide><path>atasource-fileparsers/src/main/java/edu/ucdenver/ccp/datasource/fileparsers/ebi/goa/GpAssociationGoaUniprotFileParser.java
<ide> */
<ide>
<ide> import java.io.File;
<del>import java.io.FileInputStream;
<ide> import java.io.IOException;
<ide> import java.util.Arrays;
<ide> import java.util.HashSet;
<ide> im... | |
Java | agpl-3.0 | b6b1a122c5b404583583479ec087d38b77d07316 | 0 | VladRodionov/bigbase,VladRodionov/bigbase,VladRodionov/bigbase | /*******************************************************************************
* Copyright (c) 2013 Vladimir Rodionov. All Rights Reserved
*
* This code is released under the GNU Affero General Public License.
*
* See: http://www.fsf.org/licensing/licenses/agpl-3.0.html
*
* VLADIMIR RODIONOV MAKES NO REPRESENTATIONS ... | block-cache/src/main/java/com/koda/integ/hbase/blockcache/OffHeapBlockCache.java | /*******************************************************************************
* Copyright (c) 2013 Vladimir Rodionov. All Rights Reserved
*
* This code is released under the GNU Affero General Public License.
*
* See: http://www.fsf.org/licensing/licenses/agpl-3.0.html
*
* VLADIMIR RODIONOV MAKES NO REPRESENTATIONS ... | Issue#45 improve cache hit ratio for L3-DISK
| block-cache/src/main/java/com/koda/integ/hbase/blockcache/OffHeapBlockCache.java | Issue#45 improve cache hit ratio for L3-DISK | <ide><path>lock-cache/src/main/java/com/koda/integ/hbase/blockcache/OffHeapBlockCache.java
<ide> StorageHandle newHandle = storage.getData(handle, buffer);
<ide> if(buffer.position() > 0) buffer.flip();
<ide> int size = buffer.getInt();
<del> if(size == 0) return null;
<add> if(size == 0) {
<add> ... | |
Java | apache-2.0 | 74efd0e83cbb07b2465733d39feda080b0765672 | 0 | PDX-Flamingo/codonpdx,PDX-Flamingo/codonpdx | package edu.pdx.codonpdx;
import javax.servlet.ServletException;
import javax.servlet.annotation.MultipartConfig;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.Part;
import java.io.*;
/**
* Created by Rob... | src/edu/pdx/codonpdx/ResultsViewServlet.java | package edu.pdx.codonpdx;
import javax.servlet.ServletException;
import javax.servlet.annotation.MultipartConfig;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.Part;
import java.io.*;
/**
* Created by Rob... | removing debug code
| src/edu/pdx/codonpdx/ResultsViewServlet.java | removing debug code | <ide><path>rc/edu/pdx/codonpdx/ResultsViewServlet.java
<ide> switch (URI.length < 3 ? "none" : URI[2]) {
<ide> case "resultsView":
<ide> if(URI.length == 4) {
<del> out.println("one");
<ide> request.getRequestDispatcher("/res... | |
Java | apache-2.0 | 2f744f0da91f551c6674194516c6a02a78116527 | 0 | ChadKillingsworth/closure-compiler,mprobst/closure-compiler,nawawi/closure-compiler,monetate/closure-compiler,nawawi/closure-compiler,tiobe/closure-compiler,google/closure-compiler,monetate/closure-compiler,tiobe/closure-compiler,tdelmas/closure-compiler,Yannic/closure-compiler,google/closure-compiler,tiobe/closure-com... | /*
* Copyright 2006 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/CollapseProperties.java | /*
* Copyright 2006 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 string escaping in CollapseProperties warning
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=174255979
| src/com/google/javascript/jscomp/CollapseProperties.java | Fix string escaping in CollapseProperties warning | <ide><path>rc/com/google/javascript/jscomp/CollapseProperties.java
<ide>
<ide> static final DiagnosticType UNSAFE_THIS = DiagnosticType.warning(
<ide> "JSC_UNSAFE_THIS",
<del> "dangerous use of 'this' in static method {0}");
<add> "dangerous use of ''this'' in static method {0}");
<ide>
<ide> priv... | |
JavaScript | mit | 36cb79884f901bb0bcd151e30051261fb2672718 | 0 | Simpreative/WebSockChat,Simpreative/WebSockChat | var ws = require("nodejs-websocket");
var microtime = require("microtime");
var util = require("util");
var server = ws.createServer(function (connection) {
connection.nickname = null;
connection.timerout = setTimeout(connection.timeout,10000);
connection.timeout = function(){ connection.close(1011,"PING TIMEOUT"); ... | ws_server.js | var ws = require("nodejs-websocket");
var microtime = require("microtime");
var util = require("util");
var server = ws.createServer(function (connection) {
connection.nickname = null;
connection.timerout = setTimeout(connection.timeout,10000);
connection.timeout = function(){ connection.close(1011,"PING TIMEOUT"); ... | Chat join/part color
| ws_server.js | Chat join/part color | <ide><path>s_server.js
<ide>
<ide> if (connection.nickname === null) {
<ide> connection.nickname = str;
<del> broadcast(str + " entered");
<add> broadcast("<span style='color: #CE5C00;'>" + str + " 님이 입장하셨습니다</span>");
<ide> } else {
<del>
<del>
<del> broadcast("[" + connection.nickname + "] " + st... | |
Java | mit | c3507f4b86e860dcc2f1a7ea9d5f79263401dd15 | 0 | rtcTo/rtc2gitcli,reinhapa/rtc2gitcli | /**
* File Name: Files.java
*
* Copyright (c) 2015 BISON Schweiz AG, All Rights Reserved.
*/
package to.rtc.cli.migrate.util;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import j... | rtc2git.cli.extension/src/to/rtc/cli/migrate/util/Files.java | /**
* File Name: Files.java
*
* Copyright (c) 2015 BISON Schweiz AG, All Rights Reserved.
*/
package to.rtc.cli.migrate.util;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import j... | applies Eclipse built-in formatting consistently | rtc2git.cli.extension/src/to/rtc/cli/migrate/util/Files.java | applies Eclipse built-in formatting consistently | <ide><path>tc2git.cli.extension/src/to/rtc/cli/migrate/util/Files.java
<ide> */
<ide> public class Files {
<ide>
<del> /**
<del> * Reads all lines of the given <code>file</code> using the given character set <code>cs</code> and returns them as a list without any of
<del> * the line separators.
<del> *
<del> ... | |
Java | lgpl-2.1 | 7548fcc2c24eea41c4e22f9e2312dcc308a1f741 | 0 | xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/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-core/src/main/java/com/xpn/xwiki/api/XWiki.java | /*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* th... | XWIKI-1930: XWiki.searchDocuments(String, boolean, int, int) does not use "distinctbylanguage" parameter
git-svn-id: cfa2b40e478804c47c05d0f328c574ec5aa2b82e@6314 f329d543-caf0-0310-9063-dda96c69346f
| xwiki-core/src/main/java/com/xpn/xwiki/api/XWiki.java | XWIKI-1930: XWiki.searchDocuments(String, boolean, int, int) does not use "distinctbylanguage" parameter | <ide><path>wiki-core/src/main/java/com/xpn/xwiki/api/XWiki.java
<ide> public List searchDocuments(String wheresql, boolean distinctbylanguage)
<ide> throws XWikiException
<ide> {
<del> return wrapDocs(xwiki.getStore().searchDocuments(wheresql, getXWikiContext()));
<add> return wrapDocs(xwi... | |
Java | epl-1.0 | 504235193c38e4123065f9d5789350308cb50907 | 0 | riuvshin/che-plugins,riuvshin/che-plugins,riuvshin/che-plugins,riuvshin/che-plugins | /*******************************************************************************
* Copyright (c) 2012-2015 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | plugin-git/che-plugin-git-provider-che/src/main/java/org/eclipse/che/ide/ext/git/server/nativegit/CheAccessTokenCredentialProvider.java | /*******************************************************************************
* Copyright (c) 2012-2015 Codenvy, S.A.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available ... | IDEX-3038; chande namings from codenvy to che;
| plugin-git/che-plugin-git-provider-che/src/main/java/org/eclipse/che/ide/ext/git/server/nativegit/CheAccessTokenCredentialProvider.java | IDEX-3038; chande namings from codenvy to che; | <ide><path>lugin-git/che-plugin-git-provider-che/src/main/java/org/eclipse/che/ide/ext/git/server/nativegit/CheAccessTokenCredentialProvider.java
<ide> */
<ide> @Singleton
<ide> public class CheAccessTokenCredentialProvider implements CredentialsProvider {
<add>
<add> private static String OAUTH_PROVIDER_NAME = "ch... | |
JavaScript | mit | 5f3535f577c94ea60c1407ac1be31156493d1927 | 0 | joegarb/joegarbcom,joegarb/joegarbcom | var gulp = require('gulp'),
concat = require('gulp-concat'),
runSequence = require('run-sequence'),
del = require('del'),
rename = require('gulp-rename');
gulp.task('clean', function() {
return del(['dist']);
});
gulp.task('build:js', function() {
// Bundle JS files
// todo: cache bu... | gulpfile.js | var gulp = require('gulp'),
concat = require('gulp-concat'),
runSequence = require('run-sequence'),
del = require('del'),
rename = require('gulp-rename');
gulp.task('clean', function() {
return del(['dist']);
});
gulp.task('build:js', function() {
// Bundle JS files
// todo: cache busting
re... | Untabify
| gulpfile.js | Untabify | <ide><path>ulpfile.js
<ide> var gulp = require('gulp'),
<del> concat = require('gulp-concat'),
<del> runSequence = require('run-sequence'),
<del> del = require('del'),
<del> rename = require('gulp-rename');
<add> concat = require('gulp-concat'),
<add> runSequence = require('run-sequence'),
<add> del = requ... | |
JavaScript | mit | 3b818c117a8396610de28e3bb752c3300a97576a | 0 | fffej/codekatas,fffej/codekatas,fffej/codekatas | "use strict";
var assert = require('assert');
var Yahtzee = function() {
var dice = [];
for (var i=0;i<5;++i) {
dice.push(1 + (Math.random() * 6 | 0));
}
return {
dice: function() {
return dice;
}
};
};
var categories = [];
describe('yahtzee', function() {
describe('five dice', funct... | yahtzee/yahtzee.js | "use strict";
var assert = require('assert');
var Yahtzee = function() {
var dice = [];
for (var i=0;i<5;++i) {
dice.push(1 + (Math.random() * 6 | 0));
}
return {
dice: function() {
return dice;
}
};
};
describe('yahtzee', function() {
describe('five dice', function() {
it('should... | define categories
| yahtzee/yahtzee.js | define categories | <ide><path>ahtzee/yahtzee.js
<ide> }
<ide> };
<ide> };
<add>
<add>var categories = [];
<ide>
<ide> describe('yahtzee', function() {
<ide> describe('five dice', function() { | |
Java | mit | error: pathspec 'src/main/java/com/sunny/grokkingalgorithms/ctc/c2/DeleteMiddleOfLinkedListGivenReference.java' did not match any file(s) known to git
| 1730d47b34df26acb12d12c67f5d34f16e0cc238 | 1 | sunnydas/grokkingalgos,sunnydas/grokkingalgos | package com.sunny.grokkingalgorithms.ctc.c2;
import com.sunny.grokkingalgorithms.ctc.c2.util.LinkedListUtil;
import com.sunny.grokkingalgorithms.ctc.c2.util.Node;
/**
* Created by sundas on 3/14/2018.
*/
public class DeleteMiddleOfLinkedListGivenReference {
/*
Given reference to a node , delete it from the lin... | src/main/java/com/sunny/grokkingalgorithms/ctc/c2/DeleteMiddleOfLinkedListGivenReference.java | Delete node from middle of linked list.
| src/main/java/com/sunny/grokkingalgorithms/ctc/c2/DeleteMiddleOfLinkedListGivenReference.java | Delete node from middle of linked list. | <ide><path>rc/main/java/com/sunny/grokkingalgorithms/ctc/c2/DeleteMiddleOfLinkedListGivenReference.java
<add>package com.sunny.grokkingalgorithms.ctc.c2;
<add>
<add>import com.sunny.grokkingalgorithms.ctc.c2.util.LinkedListUtil;
<add>import com.sunny.grokkingalgorithms.ctc.c2.util.Node;
<add>
<add>/**
<add> * Created b... | |
Java | apache-2.0 | 7a356fec6840201f85a71292c80d02fc27c98a09 | 0 | PathVisio/pathvisio,PathVisio/pathvisio,PathVisio/pathvisio,markwoon/pathvisio,markwoon/pathvisio,markwoon/pathvisio,markwoon/pathvisio,PathVisio/pathvisio | // PathVisio,
// a tool for data visualization and analysis using Biological Pathways
// Copyright 2006-2007 BiGCaT Bioinformatics
//
// 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/core/org/pathvisio/model/GpmlFormat.java | // PathVisio,
// a tool for data visualization and analysis using Biological Pathways
// Copyright 2006-2007 BiGCaT Bioinformatics
//
// 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
//
/... | Fixes #440 | src/core/org/pathvisio/model/GpmlFormat.java | Fixes #440 | <ide><path>rc/core/org/pathvisio/model/GpmlFormat.java
<ide> if (!attributeInfo.containsKey(key))
<ide> throw new ConverterException("Trying to get invalid attribute " + key);
<ide> AttributeInfo aInfo = attributeInfo.get(key);
<del> String result = el.getAttributeValue(name, aInfo.def);
<add> String result =... | |
JavaScript | bsd-3-clause | e1c5f56eee2e910853473e40d98544cf79a47e6b | 0 | Designist/Parks,Designist/Parks,Designist/Parks | ;(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].export... | js/sheetsee.js | ;(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].export... | remove compatibility testing code
| js/sheetsee.js | remove compatibility testing code | <ide><path>s/sheetsee.js
<ide> var text = $(e.target).val();
<ide> searchTable(opts, text);
<ide> });
<del> $('#activityFilter option').change(function() {
<del> var text = document.getElementById("tableFilter").value;
<del> console.log(text);
<del> searchTable(opts, text);
<del> $('.spotRow').fi... | |
JavaScript | mit | 72b8419f70805332d7fad23cdbd613425b31034f | 0 | KingPixil/moon,KingPixil/moon,KingPixil/moon,kbrsh/moon,kbrsh/moon | var expect = chai.expect;
Moon.config.silent = true;
console.log("[Moon] Running Tests...");
console.log("[Moon] Version: " + Moon.version);
var createTestElement = function(id, html) {
var el = document.createElement("div");
el.innerHTML = html;
el.id = id;
document.getElementById("moon-els").appendChild(el);
... | test/js/test.js | var expect = chai.expect;
Moon.config.silent = true;
console.log("[Moon] Running Tests...");
console.log("[Moon] Version: " + Moon.version);
var createTestElement = function(id, html) {
var el = document.createElement("div");
el.innerHTML = html;
el.id = id;
document.getElementById("moon-els").appendChild(el);
... | add some utility tests
| test/js/test.js | add some utility tests | <ide><path>est/js/test.js
<ide> });
<ide> });
<ide> });
<add>
<add>describe("Utilities", function() {
<add> it("should extend an object", function() {
<add> expect(Moon.util.extend({a: true, b: true}, {a: true, b: false, c: true})).to.deep.equal({a: true, b: false, c: true});
<add> });
<add>}); | |
Java | apache-2.0 | b30414e1ec34f3c231419e88a7dfb80df30d4e1f | 0 | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | // Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.build;
import com.intellij.build.events.*;
import com.intellij.execution.filters.Filter;
import com.intellij.execution.filters.HyperlinkInfo;
import com.inte... | platform/lang-impl/src/com/intellij/build/BuildTreeConsoleView.java | // Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.build;
import com.intellij.build.events.*;
import com.intellij.execution.filters.Filter;
import com.intellij.execution.filters.HyperlinkInfo;
import com.inte... | cleanup
| platform/lang-impl/src/com/intellij/build/BuildTreeConsoleView.java | cleanup | <ide><path>latform/lang-impl/src/com/intellij/build/BuildTreeConsoleView.java
<ide>
<ide> private static void updateSplitter(@NotNull ThreeComponentsSplitter myThreeComponentsSplitter) {
<ide> int firstSize = myThreeComponentsSplitter.getFirstSize();
<del> //int lastSize = myThreeComponentsSplitter.getLastSiz... | |
Java | apache-2.0 | 5ad3b4e9bcd7f8ee654bf2fa6f4e15d4702d93cb | 0 | 52nlp/webanno,52nlp/webanno,debovis/webanno,debovis/webanno,debovis/webanno,52nlp/webanno | /*******************************************************************************
* Copyright 2012
* Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in comp... | de.tudarmstadt.ukp.clarin.webanno.webapp/src/main/java/de/tudarmstadt/ukp/clarin/webanno/webapp/page/project/ProjectExportPanel.java | /*******************************************************************************
* Copyright 2012
* Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in comp... | #670 - Refactor codes for 1.0.0 release
- the code for adding source document to the export zip file was not missed while refactoring | de.tudarmstadt.ukp.clarin.webanno.webapp/src/main/java/de/tudarmstadt/ukp/clarin/webanno/webapp/page/project/ProjectExportPanel.java | #670 - Refactor codes for 1.0.0 release - the code for adding source document to the export zip file was not missed while refactoring | <ide><path>e.tudarmstadt.ukp.clarin.webanno.webapp/src/main/java/de/tudarmstadt/ukp/clarin/webanno/webapp/page/project/ProjectExportPanel.java
<ide>
<ide> private static final String META_INF = "/META-INF";
<ide> public static final String EXPORTED_PROJECT = "exportedproject";
<add> private static final Str... | |
JavaScript | mit | 3213dc2b772f14802a126c30af5a6a9b7f14a11e | 0 | solidusjs/solidus | var DEFAULT_ENCODING = 'UTF8';
var fs = require('fs');
var path = require('path');
var vm = require('vm');
var _ = require('underscore');
var async = require('async');
var request = require('request');
var Page = function( page_path, options ){
var page = this;
options = options || {};
this.options = options;
v... | lib/page.js | var DEFAULT_ENCODING = 'UTF8';
var fs = require('fs');
var path = require('path');
var vm = require('vm');
var _ = require('underscore');
var async = require('async');
var request = require('request');
var Page = function( page_path, options ){
var page = this;
options = options || {};
this.options = options;
v... | clean up existing route logic
| lib/page.js | clean up existing route logic | <ide><path>ib/page.js
<ide> });
<ide> if( existing_route ){
<ide> console.log('[SOLIDUS]'.red.bold +' Warning. You have a conflicting route at "'+ existing_route.path +'"' );
<del> if( !page.is_index ) return route;
<add> if( !page.is_index ) return route; // return out if this isn't an index
<add> router.... | |
Java | apache-2.0 | 1ddddd932bcc6266e0009af869b1a3a76da702c7 | 0 | jOOQ/jOOL | /**
* Copyright (c) 2014-2016, Data Geekery GmbH, contact@datageekery.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
*
* Unles... | src/main/java/org/jooq/lambda/Seq.java | /**
* Copyright (c) 2014-2016, Data Geekery GmbH, contact@datageekery.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
*
* Unles... | [#199] Add lazy implementation for Seq.shuffle() | src/main/java/org/jooq/lambda/Seq.java | [#199] Add lazy implementation for Seq.shuffle() | <ide><path>rc/main/java/org/jooq/lambda/Seq.java
<ide> * </pre></code>
<ide> */
<ide> static <T> Seq<T> shuffle(Seq<? extends T> stream) {
<add> return shuffle(stream, null);
<add> }
<add>
<add> /**
<add> * Shuffle a stream using specified source of randomness
<add> * <p>
<add> * ... | |
Java | apache-2.0 | 56dcefe3f8fe341fa131897ebd53508c29fe069f | 0 | DevStreet/FinanceAnalytics,codeaudit/OG-Platform,jerome79/OG-Platform,DevStreet/FinanceAnalytics,jeorme/OG-Platform,nssales/OG-Platform,DevStreet/FinanceAnalytics,nssales/OG-Platform,jeorme/OG-Platform,ChinaQuants/OG-Platform,nssales/OG-Platform,nssales/OG-Platform,jeorme/OG-Platform,McLeodMoores/starling,jeorme/OG-Pla... | /**
* Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics.conversion;
import java.util.List;
import javax.time.calendar.ZonedDateTime;
import org.apache.commons.lang.Validate;
import com.openga... | projects/OG-Financial/src/com/opengamma/financial/analytics/conversion/BondFutureSecurityConverter.java | /**
* Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.financial.analytics.conversion;
import java.util.List;
import javax.time.calendar.ZonedDateTime;
import org.apache.commons.lang.Validate;
import com.openga... | Adding exception
| projects/OG-Financial/src/com/opengamma/financial/analytics/conversion/BondFutureSecurityConverter.java | Adding exception | <ide><path>rojects/OG-Financial/src/com/opengamma/financial/analytics/conversion/BondFutureSecurityConverter.java
<ide>
<ide> import org.apache.commons.lang.Validate;
<ide>
<add>import com.opengamma.OpenGammaRuntimeException;
<ide> import com.opengamma.analytics.financial.instrument.InstrumentDefinition;
<ide> import... | |
Java | mit | 0876d84fdb78afa08047396f50374519c978de92 | 0 | FAU-Inf2/kwikshop-android,FAU-Inf2/kwikshop-android | package de.cs.fau.mad.quickshop_android;
import android.os.Bundle;
import android.support.v4.app.FragmentManager;
import android.support.v4.widget.DrawerLayout;
import android.support.v7.app.ActionBar;
import android.support.v7.app.ActionBarActivity;
import android.util.Log;
import android.view.Menu;
import android.vi... | app/src/main/java/de/cs/fau/mad/quickshop_android/MainActivity.java | package de.cs.fau.mad.quickshop_android;
import android.app.Activity;
import android.support.v7.app.ActionBarActivity;
import android.support.v7.app.ActionBar;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.os.Bundle;
import android.view.LayoutInflater;
import and... | add 'new list Fragment'
| app/src/main/java/de/cs/fau/mad/quickshop_android/MainActivity.java | add 'new list Fragment' | <ide><path>pp/src/main/java/de/cs/fau/mad/quickshop_android/MainActivity.java
<ide> package de.cs.fau.mad.quickshop_android;
<ide>
<del>import android.app.Activity;
<add>import android.os.Bundle;
<add>import android.support.v4.app.FragmentManager;
<add>import android.support.v4.widget.DrawerLayout;
<add>import android... | |
Java | bsd-3-clause | 51925f28b2c48dceb88a7874b7a66bb11d42bbe6 | 0 | UCDenver-ccp/datasource,UCDenver-ccp/datasource,bill-baumgartner/datasource,bill-baumgartner/datasource | /*
* Copyright (C) 2009 Center for Computational Pharmacology, University of Colorado School of Medicine
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the Licens... | datasource-fileparsers/src/main/java/edu/ucdenver/ccp/datasource/fileparsers/irefweb/IRefWebPsiMitab2_6FileParser.java | /*
* Copyright (C) 2009 Center for Computational Pharmacology, University of Colorado School of Medicine
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the Licens... | Updated to download/use the 07042015 file
| datasource-fileparsers/src/main/java/edu/ucdenver/ccp/datasource/fileparsers/irefweb/IRefWebPsiMitab2_6FileParser.java | Updated to download/use the 07042015 file | <ide><path>atasource-fileparsers/src/main/java/edu/ucdenver/ccp/datasource/fileparsers/irefweb/IRefWebPsiMitab2_6FileParser.java
<ide>
<ide> private static final String HEADER = "#uidA\tuidB\taltA\taltB\taliasA\taliasB\tmethod\tauthor\tpmids\ttaxa\ttaxb\tinteractionType\tsourcedb\tinteractionIdentifier\tconfidence\te... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.