lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
JavaScript | mit | 5075ad33323ded0915a279969ef125d6fd2efd09 | 0 | git-clay/jaywalk-slapp-app,git-clay/jaywalk-slapp-app | 'use strict'
const slapp = require('../slackSetup.js').slapp
const getRadius = require('../radius.js').getRadius
const tinyurl = require('tinyurl');
const request = require('request')
//db imports
const firebase = require('../firebaseSetup.js'),
db = firebase.db,
snaps = firebase.snaps,
tags = fi... | slashCommands/notifySlash.js | 'use strict'
const slapp = require('../slackSetup.js').slapp
const getRadius = require('../radius.js').getRadius
const tinyurl = require('tinyurl');
const request = require('request')
//db imports
const firebase = require('../firebaseSetup.js'),
db = firebase.db,
snaps = firebase.snaps,
tags = fi... | msg is now defined
| slashCommands/notifySlash.js | msg is now defined | <ide><path>lashCommands/notifySlash.js
<ide> }, json:true
<ide> };
<ide>
<del>function setCron(options,answer,time){
<add>function setCron(options,answer,time,msg){
<ide> options.body.payload.text = `If you would like ${answer} suggestions type /${answer}`
<ide> request(options, function (err... | |
JavaScript | isc | b6130c8eb6545bc1feecde2539bbea513a14068f | 0 | pfryga/carouselApi | var express = require('express');
var bodyParser = require('body-parser');
var mobiusModule = require('./lib/mobiusClient');
var mongooseModule = require('./lib/mongooseClient');
var appConfig = require('./config/config.json');
var router = express.Router();
var mobiusIns = mobiusModule(appConfig.mobius);
var mongoose... | app.js | var express = require('express');
var bodyParser = require('body-parser');
var mobiusModule = require('./lib/mobiusClient');
var mongooseModule = require('./lib/mongooseClient');
var appConfig = require('./config/config.json');
var router = express.Router();
var mobiusIns = mobiusModule(appConfig.mobius);
var mongoose... | offers endpoints
| app.js | offers endpoints | <ide><path>pp.js
<ide> name: String
<ide> });
<ide>
<add>var Offer = mongoose.model('Offer', {
<add> department: String,
<add> carousel: String,
<add> id: String,
<add> name: String,
<add> mainImage: String
<add>});
<add>
<ide> // status
<ide>
<ide> router.get('/status/ping', function(req, res) {
<... | |
JavaScript | agpl-3.0 | 4958c2730e815de6c0e61ed6e638aba70a4012ae | 0 | moxiecode/moxie,moxiecode/moxie,moxiecode/moxie,moxiecode/moxie | /**
* FileInput.js
*
* Copyright 2013, Moxiecode Systems AB
* Released under GPL License.
*
* License: http://www.plupload.com/license
* Contributing: http://www.plupload.com/contributing
*/
define('moxie/file/FileInput', [
'moxie/core/utils/Basic',
'moxie/core/utils/Mime',
'moxie/core/utils/Dom',
'moxie/c... | src/javascript/file/FileInput.js | /**
* FileInput.js
*
* Copyright 2013, Moxiecode Systems AB
* Released under GPL License.
*
* License: http://www.plupload.com/license
* Contributing: http://www.plupload.com/contributing
*/
define('moxie/file/FileInput', [
'moxie/core/utils/Basic',
'moxie/core/utils/Mime',
'moxie/core/utils/Dom',
'moxie/c... | FileInput: Small update to comments.
| src/javascript/file/FileInput.js | FileInput: Small update to comments. | <ide><path>rc/javascript/file/FileInput.js
<ide> ], function(Basic, Mime, Dom, x, EventTarget, I18n, File, RuntimeClient) {
<ide> /**
<ide> Provides a convenient way to create cross-browser file-picker. Generates file selection dialog on click,
<del> converts selected files to mOxie.File objects, to be used in conjun... | |
Java | agpl-3.0 | 39e004b4aa77798ae9a7309f7bb8486bd9ef91e0 | 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 | a9bf596c-2e61-11e5-9284-b827eb9e62be | hello.java | a9b9f382-2e61-11e5-9284-b827eb9e62be | a9bf596c-2e61-11e5-9284-b827eb9e62be | hello.java | a9bf596c-2e61-11e5-9284-b827eb9e62be | <ide><path>ello.java
<del>a9b9f382-2e61-11e5-9284-b827eb9e62be
<add>a9bf596c-2e61-11e5-9284-b827eb9e62be | |
Java | apache-2.0 | a4d364d00767a5331db828929cf04da38b96e11e | 0 | darranl/directory-server,darranl/directory-server,apache/directory-server,drankye/directory-server,drankye/directory-server,apache/directory-server | /*
* 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")... | interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AnonymousAuthenticator.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")... | Added a log to tell when some anonymous bind is done
git-svn-id: 90776817adfbd895fc5cfa90f675377e0a62e745@1602462 13f79535-47bb-0310-9956-ffa450edef68
| interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AnonymousAuthenticator.java | Added a log to tell when some anonymous bind is done | <ide><path>nterceptors/authn/src/main/java/org/apache/directory/server/core/authn/AnonymousAuthenticator.java
<ide> // We only allow Anonymous binds if the service allows them
<ide> if ( getDirectoryService().isAllowAnonymousAccess() )
<ide> {
<add> LOG.info( "Authentication as anonym... | |
Java | apache-2.0 | a10e3e53bb8a44ece42ebda78f8ed44a07173f1c | 0 | browep/MaterialDesignLibrary | package com.gc.materialdesign.views;
import com.gc.materialdesign.R;
import com.gc.materialdesign.utils.Utils;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Typeface;
import a... | MaterialDesign/src/com/gc/materialdesign/views/ButtonFlat.java | package com.gc.materialdesign.views;
import com.gc.materialdesign.R;
import com.gc.materialdesign.utils.Utils;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Typeface;
import android.util.AttributeSet;
import androi... | use textSize from attrs
| MaterialDesign/src/com/gc/materialdesign/views/ButtonFlat.java | use textSize from attrs | <ide><path>aterialDesign/src/com/gc/materialdesign/views/ButtonFlat.java
<ide> import com.gc.materialdesign.utils.Utils;
<ide>
<ide> import android.content.Context;
<add>import android.content.res.TypedArray;
<ide> import android.graphics.Canvas;
<ide> import android.graphics.Color;
<ide> import android.graphics.Paint... | |
Java | apache-2.0 | dc3cc1f245c0cab397ccdf0bf2a416b53b9cee98 | 0 | qos-ch/reload4j,qos-ch/reload4j,qos-ch/reload4j | /*
* 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/log4j/MDC.java | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | fix typo
Signed-off-by: Ceki Gulcu <94b0178d2b9bf3c099f7c01ee48e432b88a5ed9a@qos.ch>
| src/main/java/org/apache/log4j/MDC.java | fix typo | <ide><path>rc/main/java/org/apache/log4j/MDC.java
<ide> ht.clear();
<ide> }
<ide>
<del> (ThreadLocalMap) tlm).remove();
<add> ((ThreadLocalMap) tlm).remove();
<ide> }
<ide> }
<ide> | |
Java | mit | fa6035bda6c606868977179534cb941f26fbdb92 | 0 | facebook/react-native,hammerandchisel/react-native,exponent/react-native,pandiaraj44/react-native,exponentjs/react-native,exponentjs/react-native,javache/react-native,myntra/react-native,exponentjs/react-native,janicduplessis/react-native,hammerandchisel/react-native,myntra/react-native,javache/react-native,facebook/re... | // Copyright (c) Facebook, Inc. and its affiliates.
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
package com.facebook.react.uimanager;
import android.content.Context;
import android.support.v4.view.AccessibilityDelegateCompat;
import an... | ReactAndroid/src/main/java/com/facebook/react/uimanager/AccessibilityDelegateUtil.java | // Copyright (c) Facebook, Inc. and its affiliates.
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
package com.facebook.react.uimanager;
import android.content.Context;
import android.support.v4.view.AccessibilityDelegateCompat;
import an... | Fix accessibility role/label
Summary: D10138128 had some shamefully wrong boolean logic to determine whether we should customize the accessibility delegate. Previously, we did it if BOTH the accessibility label AND role were present. We should actually do it if EITHER are present.
Reviewed By: mdvacca
Differential R... | ReactAndroid/src/main/java/com/facebook/react/uimanager/AccessibilityDelegateUtil.java | Fix accessibility role/label | <ide><path>eactAndroid/src/main/java/com/facebook/react/uimanager/AccessibilityDelegateUtil.java
<ide> // if a view already has an accessibility delegate, replacing it could cause problems,
<ide> // so leave it alone.
<ide> if (!ViewCompat.hasAccessibilityDelegate(view) &&
<del> accessibilityHint != nu... | |
Java | agpl-3.0 | 4ca5dbb2e07a3ae5b9453615c020e4b30e1c323d | 0 | CecileBONIN/Silverpeas-Core,SilverDav/Silverpeas-Core,ebonnet/Silverpeas-Core,ebonnet/Silverpeas-Core,SilverDav/Silverpeas-Core,NicolasEYSSERIC/Silverpeas-Core,CecileBONIN/Silverpeas-Core,Silverpeas/Silverpeas-Core,mmoqui/Silverpeas-Core,auroreallibe/Silverpeas-Core,ebonnet/Silverpeas-Core,NicolasEYSSERIC/Silverpeas-Co... | /**
* Copyright (C) 2000 - 2012 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spe... | war-core/src/main/java/com/silverpeas/socialnetwork/myContactProfil/servlets/MyContactProfilRequestRouter.java | /**
* Copyright (C) 2000 - 2012 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spe... | fixing bug #3547
JSP directories are case sensitive. Replacing socialnetwork by socialNetwork.
| war-core/src/main/java/com/silverpeas/socialnetwork/myContactProfil/servlets/MyContactProfilRequestRouter.java | fixing bug #3547 JSP directories are case sensitive. Replacing socialnetwork by socialNetwork. | <ide><path>ar-core/src/main/java/com/silverpeas/socialnetwork/myContactProfil/servlets/MyContactProfilRequestRouter.java
<ide> String userId = request.getParameter("userId");
<ide> if (function.equalsIgnoreCase("Infos")) {
<ide> request.setAttribute("View", function);
<del> destination = "/socialnetw... | |
Java | lgpl-2.1 | d8c194a76cb149f5c8ffa71e98090784976d1c80 | 0 | cytoscape/cytoscape-impl,cytoscape/cytoscape-impl,cytoscape/cytoscape-impl,cytoscape/cytoscape-impl,cytoscape/cytoscape-impl | package org.cytoscape.work.internal.tunables;
/*
* #%L
* Cytoscape Work Swing Impl (work-swing-impl)
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2006 - 2013 The Cytoscape Consortium
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public ... | work-swing-impl/impl/src/main/java/org/cytoscape/work/internal/tunables/BooleanHandler.java | package org.cytoscape.work.internal.tunables;
/*
* #%L
* Cytoscape Work Swing Impl (work-swing-impl)
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2006 - 2013 The Cytoscape Consortium
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public ... | Refs #3094: Check-box labels are now left-justified (to prevent too much empty space in Tunable forms) and are still clickable.
| work-swing-impl/impl/src/main/java/org/cytoscape/work/internal/tunables/BooleanHandler.java | Refs #3094: Check-box labels are now left-justified (to prevent too much empty space in Tunable forms) and are still clickable. | <ide><path>ork-swing-impl/impl/src/main/java/org/cytoscape/work/internal/tunables/BooleanHandler.java
<ide> import java.awt.Window;
<ide> import java.awt.event.ActionEvent;
<ide> import java.awt.event.ActionListener;
<add>import java.awt.event.MouseAdapter;
<add>import java.awt.event.MouseEvent;
<ide> import java.lang.... | |
Java | lgpl-2.1 | 0605fba6b294e0e27fcdec84af20dcde327abc0a | 0 | deegree/deegree3,deegree/deegree3,deegree/deegree3,deegree/deegree3,deegree/deegree3 | //$HeadURL$
/*----------------------------------------------------------------------------
This file is part of deegree, http://deegree.org/
Copyright (C) 2001-2009 by:
Department of Geography, University of Bonn
and
lat/lon GmbH
This library is free software; you can redistribute it and/or modify it under
the ... | deegree-services/deegree-services-wms/src/main/java/org/deegree/services/wms/model/layers/Layer.java | //$HeadURL$
/*----------------------------------------------------------------------------
This file is part of deegree, http://deegree.org/
Copyright (C) 2001-2009 by:
Department of Geography, University of Bonn
and
lat/lon GmbH
This library is free software; you can redistribute it and/or modify it under
the ... | fixed error when parsing crs list in config
| deegree-services/deegree-services-wms/src/main/java/org/deegree/services/wms/model/layers/Layer.java | fixed error when parsing crs list in config | <ide><path>eegree-services/deegree-services-wms/src/main/java/org/deegree/services/wms/model/layers/Layer.java
<ide> }
<ide>
<ide> for ( String c : crs.split( "\\s" ) ) {
<del> list.add( CRSManager.getCRSRef( c ) );
<add> if ( !c.isEmpty() ) {
<add> list.add( CRSMan... | |
Java | apache-2.0 | error: pathspec 'src/me/lexjoy/utils/MatchUtils.java' did not match any file(s) known to git
| 8a8313173c258eb3f5426302e4da94a5cb0a996d | 1 | lexjoy/lex-utils | package me.lexjoy.utils;
import java.util.Collection;
public class MatchUtils {
public static boolean isEmpty(Object o) {
if (o == null) {
return true;
}
Class<?> oType = o.getClass();
if (oType.isAssignableFrom(String.class)) {
return "".equals(o);
}
if (oType.isArray()) {
... | src/me/lexjoy/utils/MatchUtils.java | Create MatchUtils.java | src/me/lexjoy/utils/MatchUtils.java | Create MatchUtils.java | <ide><path>rc/me/lexjoy/utils/MatchUtils.java
<add>package me.lexjoy.utils;
<add>
<add>import java.util.Collection;
<add>
<add>public class MatchUtils {
<add>
<add> public static boolean isEmpty(Object o) {
<add> if (o == null) {
<add> return true;
<add> }
<add> Class<?> oType = o.getClass();
<add>
<add>... | |
Java | mit | 96f0c79f1b24a9fc11a3b4a85b47cf92271ee718 | 0 | devgateway/ocvn,devgateway/oc-explorer,devgateway/ocua,devgateway/ocvn,devgateway/oc-explorer,devgateway/dg-toolkit,devgateway/oc-explorer,devgateway/ocua,devgateway/dg-toolkit,devgateway/dg-toolkit,devgateway/ocua,devgateway/ocvn | package org.devgateway.toolkit.web.spring.util;
import org.devgateway.toolkit.web.spring.AsyncControllerLookupService;
/**
* @see AsyncControllerLookupService
* @author mihai
*
* @param <RET>
* @param <BEANPARAM>
*/
public abstract class AsyncBeanParamControllerMethodCallable<RET, BEANPARAM> {
public abstract ... | web/src/main/java/org/devgateway/toolkit/web/spring/util/AsyncBeanParamControllerMethodCallable.java | package org.devgateway.toolkit.web.spring.util;
import org.devgateway.toolkit.web.spring.AsyncControllerLookupService;
/**
* @see AsyncControllerLookupService
* @author mihai
*
* @param <RET>
* @param <BEANPARAM>
*/
public abstract class AsyncBeanParamControllerMethodCallable<RET, BEANPARAM> {
public abstract ... | added final #108 | web/src/main/java/org/devgateway/toolkit/web/spring/util/AsyncBeanParamControllerMethodCallable.java | added final #108 | <ide><path>eb/src/main/java/org/devgateway/toolkit/web/spring/util/AsyncBeanParamControllerMethodCallable.java
<ide> * @param <BEANPARAM>
<ide> */
<ide> public abstract class AsyncBeanParamControllerMethodCallable<RET, BEANPARAM> {
<del> public abstract RET invokeControllerMethod(BEANPARAM filter);
<add> public abstr... | |
JavaScript | mit | 20a9c3332e1f88b5f03119f747c0ada7e646c470 | 0 | vusion/proto-ui,vusion/proto-ui | import Popper from '@vusion/popper.js';
import MEmitter from '../m-emitter.vue';
import ev from '../../utils/event';
export const MPopper = {
name: 'm-popper',
mixins: [MEmitter],
isPopper: true,
props: {
opened: { type: Boolean, default: false },
trigger: { type: String, default: 'clic... | src/components/m-popper.vue/index.js | import Popper from '@vusion/popper.js';
import MEmitter from '../m-emitter.vue';
import ev from '../../utils/event';
export const MPopper = {
name: 'm-popper',
mixins: [MEmitter],
isPopper: true,
props: {
opened: { type: Boolean, default: false },
trigger: { type: String, default: 'clic... | :bug: Fix popper reference dynamic change problem
| src/components/m-popper.vue/index.js | :bug: Fix popper reference dynamic change problem | <ide><path>rc/components/m-popper.vue/index.js
<ide> }
<ide> },
<ide> reference() {
<add> /**
<add> * 问题:现在的 popper 不支持动态改变 reference,导致 popper 的位置显示有问题
<add> * 解决方法:暂时在 popper.js 文档中未找到理想的解决方案,采取先删除 popper,再新创建 popper 的方法修复位置问题,
<add> * 后面需要研究下 po... | |
Java | apache-2.0 | 70c645a7ff7400d0207a9453eb7e1def0782107d | 0 | apache/commons-text,apache/commons-text | /*
* 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/text/matcher/StringMatcher.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 ... | Javadoc.
| src/main/java/org/apache/commons/text/matcher/StringMatcher.java | Javadoc. | <ide><path>rc/main/java/org/apache/commons/text/matcher/StringMatcher.java
<ide> * Returns the number of matching characters, {@code 0} if there is no match.
<ide> * <p>
<ide> * This method is called to check for a match against a source {@code buffer}. The parameter {@code start}
<del> * represents ... | |
Java | bsd-3-clause | d5a4b8463c7ff4564fd0a2505bcbb2ed739d54f4 | 0 | GabrielDancause/jbooktrader,GabrielDancause/jbooktrader,mkoistinen/JBookTrader,mkoistinen/JBookTrader,mkoistinen/JBookTrader,GabrielDancause/jbooktrader | package com.jbooktrader.platform.strategy;
import com.ib.client.*;
import com.jbooktrader.platform.commission.*;
import com.jbooktrader.platform.indicator.*;
import com.jbooktrader.platform.marketbook.*;
import com.jbooktrader.platform.model.*;
import com.jbooktrader.platform.model.ModelListener.*;
import com.jbooktra... | source/com/jbooktrader/platform/strategy/Strategy.java | package com.jbooktrader.platform.strategy;
import com.ib.client.*;
import com.jbooktrader.platform.commission.*;
import com.jbooktrader.platform.indicator.*;
import com.jbooktrader.platform.marketbook.*;
import com.jbooktrader.platform.model.*;
import com.jbooktrader.platform.model.ModelListener.*;
import com.jbooktra... | Made getNewContract() abstract.
| source/com/jbooktrader/platform/strategy/Strategy.java | Made getNewContract() abstract. | <ide><path>ource/com/jbooktrader/platform/strategy/Strategy.java
<ide> import com.jbooktrader.platform.report.*;
<ide> import com.jbooktrader.platform.schedule.*;
<ide>
<del>import java.util.Date;
<del>import java.util.logging.Level;
<del>import java.util.logging.Logger;
<add>import java.util.*;
<ide>
<ide> /**
<ide>... | |
Java | apache-2.0 | 735bcf85e9b59a71981babe2f5da51978d61d8d3 | 0 | apurtell/hbase,mahak/hbase,Apache9/hbase,ndimiduk/hbase,apurtell/hbase,mahak/hbase,mahak/hbase,ndimiduk/hbase,ndimiduk/hbase,mahak/hbase,apurtell/hbase,ndimiduk/hbase,ndimiduk/hbase,ndimiduk/hbase,Apache9/hbase,Apache9/hbase,apurtell/hbase,apurtell/hbase,mahak/hbase,Apache9/hbase,apurtell/hbase,mahak/hbase,mahak/hbase,... | /*
*
* 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"); y... | hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.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"); y... | HBASE-26219 Negative time is logged while waiting on regionservers (#3622)
Signed-off-by: Wei-Chiu Chuang <69b92d7faa6f3821f81872c17428713be71a6bb0@apache.org>
Signed-off-by: Peter Somogyi <dfe29050aae9e16fc6784bf10581623b02587478@apache.org>
Signed-off-by: Duo Zhang <ca823f7b4f21a31b6ef7892c1f90d53103f0d135@apache.... | hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java | HBASE-26219 Negative time is logged while waiting on regionservers (#3622) | <ide><path>base-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java
<ide> lastLogTime = now;
<ide> String msg =
<ide> "Waiting on regionserver count=" + count + "; waited="+
<del> slept + "ms, expecting min=" + minToStart + " server(s), max="+ getStrForMax(m... | |
Java | apache-2.0 | e1551a76b23cbe9c549b4b7980eb5a43d3ce65f2 | 0 | JoelBondurant/RandomCodeSamples,JoelBondurant/RandomCodeSamples,JoelBondurant/RandomCodeSamples,JoelBondurant/RandomCodeSamples | package com.sensoranalytics.inspectionmanager.entity;
import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import javax.validation.constraints.Size;
/**
* ... | java/sapartial/WaferEvent.java | package com.sensoranalytics.inspectionmanager.entity;
import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;
import javax.validation.constraints.Size;
/**
* ... | Typofix.
| java/sapartial/WaferEvent.java | Typofix. | <ide><path>ava/sapartial/WaferEvent.java
<ide> return false;
<ide> }
<ide> WaferEvent other = (WaferEvent) obj;
<del> return this.hashString().equals(other.hashCode());
<add> return this.hashString().equals(other.hashString());
<ide> }
<ide>
<ide> private String hashS... | |
Java | mit | fd13603be6f4f2092f4bacfab6a59fc8471fc0bb | 0 | mfietz/AntennaPod,mfietz/AntennaPod,johnjohndoe/AntennaPod,johnjohndoe/AntennaPod,johnjohndoe/AntennaPod,mfietz/AntennaPod,johnjohndoe/AntennaPod,mfietz/AntennaPod | package de.danoeh.antennapod.activity;
import android.content.res.TypedArray;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.MenuItem;
import android.view.View;
import android.webkit.WebSett... | app/src/main/java/de/danoeh/antennapod/activity/AboutActivity.java | package de.danoeh.antennapod.activity;
import android.content.res.TypedArray;
import android.graphics.Color;
import android.os.Build;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.util.Log;
import android.view.MenuItem;
import android.view.View;
import android.webkit.WebSett... | Use single instead of fromCallable
| app/src/main/java/de/danoeh/antennapod/activity/AboutActivity.java | Use single instead of fromCallable | <ide><path>pp/src/main/java/de/danoeh/antennapod/activity/AboutActivity.java
<ide>
<ide> import de.danoeh.antennapod.R;
<ide> import de.danoeh.antennapod.core.preferences.UserPreferences;
<del>import rx.Observable;
<add>import rx.Single;
<ide> import rx.Subscription;
<ide> import rx.android.schedulers.AndroidScheduler... | |
Java | agpl-3.0 | 8e4fdfa908844d451ff6584b8194448eb97e70ac | 0 | ebonnet/Silverpeas-Core,Silverpeas/Silverpeas-Core,SilverYoCha/Silverpeas-Core,ebonnet/Silverpeas-Core,SilverTeamWork/Silverpeas-Core,ebonnet/Silverpeas-Core,SilverDav/Silverpeas-Core,SilverDav/Silverpeas-Core,auroreallibe/Silverpeas-Core,mmoqui/Silverpeas-Core,SilverTeamWork/Silverpeas-Core,Silverpeas/Silverpeas-Core,... | /*
* Copyright (C) 2000 - 2014 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | core-war/src/integration-test/java/org/silverpeas/test/WarBuilder4WarCore.java | /*
* Copyright (C) 2000 - 2014 Silverpeas
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* As a spec... | Feature #7579 - removing dependency that does not exist anymore.
| core-war/src/integration-test/java/org/silverpeas/test/WarBuilder4WarCore.java | Feature #7579 - removing dependency that does not exist anymore. | <ide><path>ore-war/src/integration-test/java/org/silverpeas/test/WarBuilder4WarCore.java
<ide> warBuilder.addMavenDependencies("org.silverpeas.core.services:silverpeas-core-statistic");
<ide> warBuilder.addMavenDependencies("org.silverpeas.core.services:silverpeas-core-silverstatistics");
<ide> warBuilder.a... | |
Java | apache-2.0 | 4b36d0a0171e6ee1fef67fe6a2f4d8a281d1aea4 | 0 | stephenc/maven,Distrotech/maven,gorcz/maven,josephw/maven,wangyuesong/maven,atanasenko/maven,trajano/maven,xasx/maven,wangyuesong/maven,lbndev/maven,mcculls/maven,kidaa/maven-1,barthel/maven,vedmishr/demo1,gorcz/maven,wangyuesong0/maven,lbndev/maven,runepeter/maven-deploy-plugin-2.8.1,xasx/maven,Distrotech/maven,changb... | package org.apache.maven.reporting;
/*
* Copyright 2001-2005 The Apache Software Foundation.
*
* 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/LI... | maven-reporting/maven-reporting-impl/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java | package org.apache.maven.reporting;
/*
* Copyright 2001-2005 The Apache Software Foundation.
*
* 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/LI... | remove deprecation that was intended to happen, but the other changes got backed out
git-svn-id: 2c527eb49caa05e19d6b2be874bf74fa9d7ea670@225285 13f79535-47bb-0310-9956-ffa450edef68
| maven-reporting/maven-reporting-impl/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java | remove deprecation that was intended to happen, but the other changes got backed out | <ide><path>aven-reporting/maven-reporting-impl/src/main/java/org/apache/maven/reporting/AbstractMavenReport.java
<ide>
<ide> /**
<ide> * @see org.apache.maven.reporting.MavenReport#generate(org.codehaus.doxia.sink.Sink, java.util.Locale)
<del> * @deprecated
<ide> */
<ide> public void generate( Si... | |
JavaScript | mit | 6e4478a12b88871d78a269a4831d11defd55d6ce | 0 | SockDrawer/SockBot | 'use strict';
const gulp = require('gulp'),
gulpJsdoc2md = require('gulp-jsdoc-to-markdown'),
rename = require('gulp-rename'),
istanbul = require('gulp-istanbul'),
istanbulHarmony = require('istanbul-harmony'),
mocha = require('gulp-mocha'),
eslint = require('gulp-eslint'),
git = require('gu... | gulpfile.js | 'use strict';
const gulp = require('gulp'),
gulpJsdoc2md = require('gulp-jsdoc-to-markdown'),
rename = require('gulp-rename'),
istanbul = require('gulp-istanbul'),
istanbulHarmony = require('istanbul-harmony'),
mocha = require('gulp-mocha'),
eslint = require('gulp-eslint'),
git = require('gu... | change reporter based on CI status
| gulpfile.js | change reporter based on CI status | <ide><path>ulpfile.js
<ide> const JobNumber = process.env.TRAVIS_JOB_NUMBER,
<ide> PullRequestFlag = process.env.TRAVIS_PULL_REQUEST,
<ide> PullRequest = PullRequestFlag && PullRequestFlag !== 'false',
<add> CI = process.env.CI === 'true',
<ide> runDocs = !PullRequest && (!JobNumber || /[.]1$/.test(JobNu... | |
JavaScript | mit | b57b991672eda3d1c955d13cf4e83c58efa2ca6b | 0 | AyaNakazawa/business_card_bank,AyaNakazawa/business_card_bank,AyaNakazawa/business_card_bank |
class BCBProcess extends CommonProcess {
constructor() {
super({
name: `${Project.NAME} Process`
});
this.initProcess();
}
initProcess() {
this.initContent();
this.createDesc();
BCBProcess.initPopover();
this.initEvent();
this.initController();
this.show();
}
... | js/myapp/bcb-process.js |
class BCBProcess extends CommonProcess {
constructor() {
super({
name: `${Project.NAME} Process`
});
BCBProcess.initProcess();
}
static initProcess() {
BCBProcess.initContent();
BCBProcess.createDesc();
BCBProcess.initPopover();
BCBProcess.initEvent();
BCBProcess.ini... | Remove static some function in BCBProcess
| js/myapp/bcb-process.js | Remove static some function in BCBProcess | <ide><path>s/myapp/bcb-process.js
<ide> name: `${Project.NAME} Process`
<ide> });
<ide>
<del> BCBProcess.initProcess();
<add> this.initProcess();
<ide> }
<ide>
<del> static initProcess() {
<del> BCBProcess.initContent();
<del> BCBProcess.createDesc();
<add> initProcess() {
<add> thi... | |
Java | apache-2.0 | 07acf7d348fb8e9c6228c67ff6c7725f5837d394 | 0 | mobica-lbn/opendoors17-aws,mobica-lbn/opendoors17-aws,mobica-lbn/opendoors17-aws | package com.mobica.cloud.aws.db;
import com.amazonaws.services.dynamodbv2.datamodeling.*;
import static com.mobica.cloud.aws.db.DbMessage.TABLE_NAME;
@DynamoDBTable(tableName = TABLE_NAME)
public class DbMessage {
public static final String TABLE_NAME = "opendoors17-dev-test";
public static final String ID_N... | aws-sqs/src/main/java/com/mobica/cloud/aws/db/DbMessage.java | package com.mobica.cloud.aws.db;
import com.amazonaws.services.dynamodbv2.datamodeling.*;
import static com.mobica.cloud.aws.db.DbMessage.TABLE_NAME;
@DynamoDBTable(tableName = TABLE_NAME)
public class DbMessage {
public static final String TABLE_NAME = "opendoors17-dev-test";
public static final String ID_N... | Added toString to DbMessage
| aws-sqs/src/main/java/com/mobica/cloud/aws/db/DbMessage.java | Added toString to DbMessage | <ide><path>ws-sqs/src/main/java/com/mobica/cloud/aws/db/DbMessage.java
<ide> public void setKeyword2(String keyword2) {
<ide> this.keyword2 = keyword2;
<ide> }
<add>
<add> @Override
<add> public String toString() {
<add> return "DbMessage{" +
<add> "id=" + id +
<add> ... | |
Java | apache-2.0 | a649c53838b2541453dfba708e849947dab1662d | 0 | alxdarksage/BridgePF,DwayneJengSage/BridgePF,DwayneJengSage/BridgePF,Sage-Bionetworks/BridgePF,Sage-Bionetworks/BridgePF,Sage-Bionetworks/BridgePF,DwayneJengSage/BridgePF,alxdarksage/BridgePF,alxdarksage/BridgePF | package org.sagebionetworks.bridge;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
import static java.lang.Integer.parseInt;
import static org.apache.commons.lang3.StringUtils.isBlank;
import static org.springframework.util.StringUtils... | app/org/sagebionetworks/bridge/BridgeUtils.java | package org.sagebionetworks.bridge;
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkNotNull;
import static java.lang.Integer.parseInt;
import static org.apache.commons.lang3.StringUtils.isBlank;
import static org.springframework.util.StringUtils... | Remove unused import
| app/org/sagebionetworks/bridge/BridgeUtils.java | Remove unused import | <ide><path>pp/org/sagebionetworks/bridge/BridgeUtils.java
<ide> import org.sagebionetworks.bridge.config.BridgeConfigFactory;
<ide> import org.sagebionetworks.bridge.exceptions.BadRequestException;
<ide> import org.sagebionetworks.bridge.exceptions.BridgeServiceException;
<del>import org.sagebionetworks.bridge.hibernat... | |
JavaScript | mit | 0c6d3f8d7b4605ebb611b45e906c4f40f84c772e | 0 | home-labs/do-ui-rails,home-labs/jtime-rails-ui,home-labs/do-ui-rails,home-labs/esphinx-rails-ui,home-labs/jtime-rails-ui,home-labs/esphinx-rails-ui | //= require esphinx/support/jquery
//= require esphinx/support/ajax
//= require esphinx/support/string
//= require esphinx/support/array
"use strict";
var
jQuery,
Ajax;
const
MODULE_CSS = "esphinx-ui";
(function ($) {
$.prototype.autocomplete = function (obj, args, callback) {
var
... | lib/assets/javascripts/esphinx/ui/support/jquery/autocomplete.js | //= require esphinx/support/jquery
//= require esphinx/support/ajax
//= require esphinx/support/string
//= require esphinx/support/array
"use strict";
var
jQuery,
Ajax;
const
MODULE_CSS = "esphinx-ui";
(function ($) {
$.prototype.autocomplete = function (obj, args, callback) {
var
... | ajusta bug em método capitalizeIf
| lib/assets/javascripts/esphinx/ui/support/jquery/autocomplete.js | ajusta bug em método capitalizeIf | <ide><path>ib/assets/javascripts/esphinx/ui/support/jquery/autocomplete.js
<ide>
<ide> searchIndex = domContent.toLowerCase().trim().search(str);
<ide>
<del> if ([searchIndex-1].present) {
<add> if (![searchIndex-1].present) {
<ide> return str.capitali... | |
Java | apache-2.0 | 06eef2729bda9118192a342808366485d777b6e8 | 0 | hongsudt/server,HaiJiaoXinHeng/server-1,HaiJiaoXinHeng/server-1,hongsudt/server,hongsudt/server,HaiJiaoXinHeng/server-1 | package org.ohmage.request;
import java.io.BufferedInputStream;
import java.io.BufferedWriter;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.util.Collections;
import java.u... | src/org/ohmage/request/Request.java | package org.ohmage.request;
import java.io.BufferedInputStream;
import java.io.BufferedWriter;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.util.Collections;
import java.u... | Fixed a bug with GZIP'd uploads.
| src/org/ohmage/request/Request.java | Fixed a bug with GZIP'd uploads. | <ide><path>rc/org/ohmage/request/Request.java
<ide> * @param httpRequest An HttpServletRequest that was used to create this
<ide> * request. This may be null if no such request exists.
<ide> */
<del> protected Request(HttpServletRequest httpRequest) {
<add> protected Request(final HttpServletRequest httpR... | |
Java | apache-2.0 | 1d767ad94601d8034f8c6556eede28847dd1adff | 0 | Elttbakh/Test02,SCORPIO12/Case2,jmhanna/commons-csv,afafhassan/commons-csv,lihenu/Crossover_project,pvllnspk/commons-csv,warriorno22/commons-csv,AndrewGuthua/CrossOverTest2,dakinyade/commons-csv,amee-trivedi/commons-csv,fadysamirzakarya/common-csv-2,fadysamirzakarya/common-csv-2,mirasrael/commons-csv,quettech/qa2,vilie... | /*
* 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/CSVRecord.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 ... | Sort members.
git-svn-id: 77bd0fb3f0b1af3312cb764eaf99792cfc1ce6c4@1509231 13f79535-47bb-0310-9956-ffa450edef68
| src/main/java/org/apache/commons/csv/CSVRecord.java | Sort members. | <ide><path>rc/main/java/org/apache/commons/csv/CSVRecord.java
<ide> */
<ide> public class CSVRecord implements Serializable, Iterable<String> {
<ide>
<add> private static final String[] EMPTY_STRING_ARRAY = new String[0];
<add>
<ide> private static final long serialVersionUID = 1L;
<ide>
<del> private stat... | |
Java | apache-2.0 | 74004356daf1dd2c9e189d3f42a88d22c87235ed | 0 | spennihana/h2o-3,junwucs/h2o-3,michalkurka/h2o-3,junwucs/h2o-3,printedheart/h2o-3,jangorecki/h2o-3,YzPaul3/h2o-3,brightchen/h2o-3,spennihana/h2o-3,datachand/h2o-3,madmax983/h2o-3,datachand/h2o-3,kyoren/https-github.com-h2oai-h2o-3,datachand/h2o-3,mathemage/h2o-3,tarasane/h2o-3,mathemage/h2o-3,madmax983/h2o-3,h2oai/h2o-... | package hex.deeplearning;
import hex.DataInfo;
import static java.lang.Double.isNaN;
import water.*;
import water.fvec.Frame;
import water.util.*;
import java.util.Arrays;
import java.util.Random;
/**
* This class contains the state of the Deep Learning model
* This will be shared: one per node
*/
public class D... | h2o-algos/src/main/java/hex/deeplearning/DeepLearningModelInfo.java | package hex.deeplearning;
import hex.DataInfo;
import static java.lang.Double.isNaN;
import water.*;
import water.fvec.Frame;
import water.util.*;
import java.util.Arrays;
import java.util.Random;
/**
* This class contains the state of the Deep Learning model
* This will be shared: one per node
*/
public class D... | PUBEV-2010: Fix the instability detection.
| h2o-algos/src/main/java/hex/deeplearning/DeepLearningModelInfo.java | PUBEV-2010: Fix the instability detection. | <ide><path>2o-algos/src/main/java/hex/deeplearning/DeepLearningModelInfo.java
<ide> // Abort the run if weights or biases are unreasonably large (Note that all input values are normalized upfront)
<ide> // This can happen with Rectifier units when L1/L2/max_w2 are all set to 0, especially when using more th... | |
Java | apache-2.0 | 3bc3aff9c7c9db6d25efc96295fb5c6c517f19ad | 0 | deltaDNA/android-sdk,deltaDNA/android-sdk,deltaDNA/android-sdk | /*
* Copyright (c) 2016 deltaDNA Ltd. 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 b... | library/src/main/java/com/deltadna/android/sdk/EventHandler.java | /*
* Copyright (c) 2016 deltaDNA Ltd. 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 b... | DDSDK-5: Tidy up the fix to be more readable
| library/src/main/java/com/deltadna/android/sdk/EventHandler.java | DDSDK-5: Tidy up the fix to be more readable | <ide><path>ibrary/src/main/java/com/deltadna/android/sdk/EventHandler.java
<ide> r,
<ide> EventHandler.class.getSimpleName()));
<ide>
<del> private final Handler handler = new Handler(Looper.getMainLooper());
<add> private final Handler mainThreadTaskHandler = new Handler(... | |
Java | apache-2.0 | 6330fc64267670d037507cc89d650c261dfed427 | 0 | bootique/bootique,nhl/bootique,ebondareva/bootique,bootique/bootique | package io.bootique.command;
import io.bootique.cli.Cli;
public class CommandOutcome {
// UNIX success exit code
private static final int SUCCESS_EXIT_CODE = 0;
private static final CommandOutcome SUCCESS = new CommandOutcome(SUCCESS_EXIT_CODE, false, null, null);
private final String message;
... | bootique/src/main/java/io/bootique/command/CommandOutcome.java | package io.bootique.command;
import io.bootique.cli.Cli;
public class CommandOutcome {
// UNIX success exit code
private static final int SUCCESS_EXIT_CODE = 0;
private static final CommandOutcome SUCCESS = new CommandOutcome(SUCCESS_EXIT_CODE, false, null, null);
private final String message;
... | Commands starting background processes should unblock invoker threads #197
* if the app is forked, we should not exit in the exit() method. Instead should wait till the app dies
| bootique/src/main/java/io/bootique/command/CommandOutcome.java | Commands starting background processes should unblock invoker threads #197 | <ide><path>ootique/src/main/java/io/bootique/command/CommandOutcome.java
<ide> }
<ide>
<ide> /**
<del> * Exits the current OS process with the outcome exit code, unless {@link #forkedToBackground} is true.
<add> * Exits the current OS process with the outcome exit code. If {@link #forkedToBackground} i... | |
Java | apache-2.0 | dd584463501a0af7b7c66ac8c9af8097188093e3 | 0 | illicitonion/buck,robbertvanginkel/buck,kageiit/buck,OkBuilds/buck,k21/buck,robbertvanginkel/buck,dsyang/buck,shs96c/buck,romanoid/buck,davido/buck,ilya-klyuchnikov/buck,robbertvanginkel/buck,illicitonion/buck,romanoid/buck,sdwilsh/buck,ilya-klyuchnikov/buck,k21/buck,justinmuller/buck,robbertvanginkel/buck,vschs007/buc... | /*
* Copyright 2013-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | src/com/facebook/buck/cxx/CxxDescriptionEnhancer.java | /*
* Copyright 2013-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | cxx: only create shared lib symlink trees for binaries if needed
Summary:
All other rules in `CxxDescriptionEnhancer.createBuildRulesForCxxBinary`
are only created if they don't already exist, so do the same for the
shared library symlink tree.
Test Plan: CI
Reviewed By: Coneko
fbshipit-source-id: 649c20e
| src/com/facebook/buck/cxx/CxxDescriptionEnhancer.java | cxx: only create shared lib symlink trees for binaries if needed | <ide><path>rc/com/facebook/buck/cxx/CxxDescriptionEnhancer.java
<ide>
<ide> // Create a symlink tree with for all shared libraries needed by this binary.
<ide> SymlinkTree sharedLibraries =
<del> resolver.addToIndex(
<del> createSharedLibrarySymlinkTree(
<del> params,... | |
Java | mit | bd8f1642f44627d67f688dde61b90ae053d26844 | 0 | codistmonk/IMJ | package imj3.draft.processing;
import static imj3.draft.machinelearning.ClassDataSource.classes;
import static imj3.draft.machinelearning.Max.max;
import static imj3.draft.machinelearning.Mean.mean;
import static imj3.draft.processing.Image2DRawSource.raw;
import static java.lang.Math.rint;
import imj2.tools.BitwiseQ... | IMJ/src/imj3/draft/processing/Analyze.java | package imj3.draft.processing;
import static imj3.draft.machinelearning.Max.max;
import static imj3.draft.machinelearning.Mean.mean;
import static imj3.draft.processing.Image2DRawSource.raw;
import imj3.core.Channels;
import imj3.draft.machinelearning.BufferedDataSource;
import imj3.draft.machinelearning.ClassDataSour... | [IMJ][imj3][segmentation2] Updated Analyze.
| IMJ/src/imj3/draft/processing/Analyze.java | [IMJ][imj3][segmentation2] Updated Analyze. | <ide><path>MJ/src/imj3/draft/processing/Analyze.java
<ide> package imj3.draft.processing;
<ide>
<add>import static imj3.draft.machinelearning.ClassDataSource.classes;
<ide> import static imj3.draft.machinelearning.Max.max;
<ide> import static imj3.draft.machinelearning.Mean.mean;
<ide> import static imj3.draft.process... | |
Java | mit | 8dd1446d3b1077be6c331b00b376aa402b86c34e | 0 | msrb/jenkins,fbelzunc/jenkins,wangyikai/jenkins,kohsuke/hudson,shahharsh/jenkins,Krasnyanskiy/jenkins,mcanthony/jenkins,thomassuckow/jenkins,hashar/jenkins,SenolOzer/jenkins,mrobinet/jenkins,daniel-beck/jenkins,lvotypko/jenkins2,akshayabd/jenkins,SebastienGllmt/jenkins,gitaccountforprashant/gittest,jzjzjzj/jenkins,chri... | package hudson.scm;
import hudson.EnvVars;
import hudson.FilePath;
import hudson.Launcher;
import hudson.Proc;
import hudson.model.BuildListener;
import hudson.model.TaskListener;
import hudson.util.ArgumentListBuilder;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.OutputS... | core/src/main/java/hudson/scm/AbstractCVSFamilySCM.java | package hudson.scm;
import hudson.EnvVars;
import hudson.FilePath;
import hudson.Launcher;
import hudson.Proc;
import hudson.model.BuildListener;
import hudson.model.TaskListener;
import hudson.util.ArgumentListBuilder;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.io.OutputS... | modified to report an exit code upon a failure.
git-svn-id: 28f34f9aa52bc55a5ddd5be9e183c5cccadc6ee4@1163 71c3de6d-444a-0410-be80-ed276b4c234a
| core/src/main/java/hudson/scm/AbstractCVSFamilySCM.java | modified to report an exit code upon a failure. | <ide><path>ore/src/main/java/hudson/scm/AbstractCVSFamilySCM.java
<ide>
<ide> int r = launcher.launch(cmd.toCommandArray(),env,out,dir).join();
<ide> if(r!=0)
<del> listener.fatalError(getDescriptor().getDisplayName()+" failed");
<add> listener.fatalError(getDescriptor().getDispla... | |
JavaScript | mit | 7d81ab896f58ae6c24802ad9f80abbbf11b4457f | 0 | machty/ember-concurrency,machty/ember-concurrency,machty/ember-concurrency,machty/ember-concurrency | import Ember from 'ember';
import { task, timeout } from 'ember-concurrency';
// BEGIN-SNIPPET detail-route
export default Ember.Route.extend({
notify: Ember.inject.service('notify'),
setupController(controller, model) {
this._super(...arguments);
this.get('pollServerForChanges').perform(model.id);
},
... | tests/dummy/app/docs/examples/route-tasks/detail/route.js | import Ember from 'ember';
import { task, timeout } from 'ember-concurrency';
// BEGIN-SNIPPET detail-route
export default Ember.Route.extend({
notify: Ember.inject.service('notify'),
setupController(controller, model) {
this.get('pollServerForChanges').perform(model.id);
},
pollServerForChanges: task(fu... | Route tasks: + this._super to setupController (#93)
| tests/dummy/app/docs/examples/route-tasks/detail/route.js | Route tasks: + this._super to setupController (#93) | <ide><path>ests/dummy/app/docs/examples/route-tasks/detail/route.js
<ide> notify: Ember.inject.service('notify'),
<ide>
<ide> setupController(controller, model) {
<add> this._super(...arguments);
<ide> this.get('pollServerForChanges').perform(model.id);
<ide> },
<ide> | |
Java | mit | 3b760e45fb001f32ca24cd1fcdf22f1099b18f97 | 0 | techdev-solutions/trackr-backend,hongyang070/trackr-backend,agilemobiledev/trackr-backend,ashwinrayaprolu1984/trackr-backend,techdev-solutions/trackr-backend,hongyang070/trackr-backend,agilemobiledev/trackr-backend,ashwinrayaprolu1984/trackr-backend | package de.techdev.trackr.domain;
import lombok.Data;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.sql.Time;
import java.util.Date;
/**
* @author Moritz Schulze
*/
@Entity
@Data
public class WorkTime {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private ... | src/main/java/de/techdev/trackr/domain/WorkTime.java | package de.techdev.trackr.domain;
import lombok.Data;
import javax.persistence.*;
import javax.validation.constraints.NotNull;
import java.sql.Time;
import java.util.Date;
/**
* @author Moritz Schulze
*/
@Entity
@Data
public class WorkTime {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private ... | TRACKR-1 - Tracking of worked hours
Annotated date of WorkTime.java with @Temporal
| src/main/java/de/techdev/trackr/domain/WorkTime.java | TRACKR-1 - Tracking of worked hours Annotated date of WorkTime.java with @Temporal | <ide><path>rc/main/java/de/techdev/trackr/domain/WorkTime.java
<ide> private Project project;
<ide>
<ide> @NotNull
<add> @Temporal(TemporalType.DATE)
<ide> private Date date;
<ide>
<ide> private Time start; | |
Java | apache-2.0 | 6f97c42f2fb81367ac3077286beacd4568ec8050 | 0 | SpiralsSeminaire/commons-imaging,mohanaraosv/commons-imaging,yuuhayashi/commons-imaging,SpiralsSeminaire/commons-imaging,mohanaraosv/commons-imaging,yuuhayashi/commons-imaging,apache/commons-imaging,apache/commons-imaging | /*
* 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/imaging/formats/gif/GifImageParser.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 ... | The declared exception ImageReadException is not actually thrown by the method readGraphicControlExtension(int, InputStream) from type GifImageParser.
git-svn-id: ef215b97ec449bc9c69e2ae1448853f14b3d8f41@1535223 13f79535-47bb-0310-9956-ffa450edef68
| src/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java | The declared exception ImageReadException is not actually thrown by the method readGraphicControlExtension(int, InputStream) from type GifImageParser. | <ide><path>rc/main/java/org/apache/commons/imaging/formats/gif/GifImageParser.java
<ide> }
<ide>
<ide> private GraphicControlExtension readGraphicControlExtension(final int code,
<del> final InputStream is) throws ImageReadException, IOException {
<add> final InputStream is) throws IOExce... | |
JavaScript | apache-2.0 | eae2edafdd26ddbcd4a0b788906888724afb0830 | 0 | ExpressGateway/express-gateway | const session = require('supertest-session');
const should = require('should');
const app = require('./bootstrap');
const services = require('../../lib/services');
const db = require('../../lib/db');
const checkTokenResponse = require('./checkTokenResponse');
const credentialService = services.credential;
const userS... | test/oauth/password.test.js | const session = require('supertest-session');
const should = require('should');
const app = require('./bootstrap');
const services = require('../../lib/services');
const credentialService = services.credential;
const userService = services.user;
const applicationService = services.application;
const tokenService = ser... | DRY the password test using the generic token check function
| test/oauth/password.test.js | DRY the password test using the generic token check function | <ide><path>est/oauth/password.test.js
<ide> const session = require('supertest-session');
<ide> const should = require('should');
<add>
<ide> const app = require('./bootstrap');
<add>const services = require('../../lib/services');
<add>const db = require('../../lib/db');
<add>const checkTokenResponse = require('./check... | |
Java | mit | 28129c3e80eb75996b658a4afdda6f7391740d1b | 0 | Um-Mitternacht/Witchworks | package com.witchworks.common.brew;
import com.witchworks.common.block.ModBlocks;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Blocks;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.IBlockAccess;
imp... | src/main/java/com/witchworks/common/brew/IceWorldBrew.java | package com.witchworks.common.brew;
import com.witchworks.common.block.ModBlocks;
import net.minecraft.block.Block;
import net.minecraft.block.state.IBlockState;
import net.minecraft.init.Blocks;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.math.BlockPos;
import net.minecraft.world.IBlockAccess;
imp... | Even more tedium towards this fix
| src/main/java/com/witchworks/common/brew/IceWorldBrew.java | Even more tedium towards this fix | <ide><path>rc/main/java/com/witchworks/common/brew/IceWorldBrew.java
<ide> world.setBlockState(spot, ModBlocks.fake_ice_stairs.getDefaultState(), 3);
<ide> } else if (state.getBlock() == Blocks.STONE_BRICK_STAIRS) {
<ide> world.setBlockState(spot, ModBlocks.fake_ice_stairs.getDefaultState(), 3);
<add> } el... | |
Java | mit | 0bddc55844e1b87619527f48e4654b5ad7cecd0a | 0 | kkkon/kk-android-reinstall-apk | package jp.ne.sakura.kkkon.android.reinstallapk;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.graphics.drawable.Drawable;
import andr... | src/jp/ne/sakura/kkkon/android/reinstallapk/MainActivity.java | package jp.ne.sakura.kkkon.android.reinstallapk;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.graphics.drawable.Drawable;
import andr... | change startActivity to startActivityForResult, refresh apk path | src/jp/ne/sakura/kkkon/android/reinstallapk/MainActivity.java | change startActivity to startActivityForResult, refresh apk path | <ide><path>rc/jp/ne/sakura/kkkon/android/reinstallapk/MainActivity.java
<ide> private ListView mListView;
<ide> private TextView mUnknownSourceTextView;
<ide>
<add> private static final int INTENT_REQUEST_CODE_INSTALL = 0;
<add>
<ide> public class MyListData
<ide> {
<ide> ... | |
Java | apache-2.0 | d5a0477765273a73f7f2aa294bc2a78dfd090170 | 0 | velo/incubator-tinkerpop,robertdale/tinkerpop,artem-aliev/tinkerpop,PommeVerte/incubator-tinkerpop,artem-aliev/tinkerpop,samiunn/incubator-tinkerpop,mike-tr-adamson/incubator-tinkerpop,n-tran/incubator-tinkerpop,gdelafosse/incubator-tinkerpop,vtslab/incubator-tinkerpop,robertdale/tinkerpop,mpollmeier/tinkerpop3,jorgeba... | package com.tinkerpop.gremlin.algorithm.generator;
import com.tinkerpop.gremlin.AbstractGremlinTest;
import com.tinkerpop.gremlin.structure.Graph;
import com.tinkerpop.gremlin.structure.Vertex;
import org.apache.commons.configuration.Configuration;
import org.javatuples.Triplet;
import org.junit.Test;
import org.junit... | gremlin/gremlin-test/src/main/java/com/tinkerpop/gremlin/algorithm/generator/CommunityGeneratorTest.java | package com.tinkerpop.gremlin.algorithm.generator;
import com.tinkerpop.gremlin.AbstractGremlinTest;
import com.tinkerpop.gremlin.structure.Graph;
import com.tinkerpop.gremlin.structure.Vertex;
import org.apache.commons.configuration.Configuration;
import org.javatuples.Triplet;
import org.junit.Test;
import org.junit... | Harden tests again around community generator.
| gremlin/gremlin-test/src/main/java/com/tinkerpop/gremlin/algorithm/generator/CommunityGeneratorTest.java | Harden tests again around community generator. | <ide><path>remlin/gremlin-test/src/main/java/com/tinkerpop/gremlin/algorithm/generator/CommunityGeneratorTest.java
<ide> } catch (IllegalArgumentException iae) {
<ide> generated = false;
<ide> localCrossPcent = localCrossPcent - 0.05d;
<del> g.V... | |
JavaScript | mit | 8120d362c678db1d802bc05a38cb3e31faa06d22 | 0 | uber/tchannel-node,uber/tchannel-node | // Copyright (c) 2015 Uber Technologies, Inc.
//
// 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, copy, modify, merge... | peer.js | // Copyright (c) 2015 Uber Technologies, Inc.
//
// 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, copy, modify, merge... | TChannelPeer: trivial cleanup
| peer.js | TChannelPeer: trivial cleanup | <ide><path>eer.js
<ide> }
<ide> };
<ide>
<del>TChannelPeer.prototype.close = function close(callback) {
<add>TChannelPeer.prototype.close =
<add>function close(callback) {
<ide> var self = this;
<ide>
<ide> if (self.reportTimer) {
<ide> };
<ide>
<ide> // ensures that a connection exists
<del>TChannelPeer... | |
Java | apache-2.0 | 6dfb563bbef429681c6597bae17e8ce1bace16da | 0 | java110/MicroCommunity,java110/MicroCommunity,java110/MicroCommunity,java110/MicroCommunity | package com.java110.utils.constant;
/**
* 个人物品常量类
* Created by wuxw on 2017/5/20.
*/
public class ServiceCodeUserStorehouseConstant {
/**
* 添加 个人物品
*/
public static final String ADD_USERSTOREHOUSE = "resourceStore.saveUserStorehouse";
/**
* 修改 个人物品
*/
public static final Strin... | java110-utils/src/main/java/com/java110/utils/constant/ServiceCodeUserStorehouseConstant.java | package com.java110.utils.constant;
/**
* 个人物品常量类
* Created by wuxw on 2017/5/20.
*/
public class ServiceCodeUserStorehouseConstant {
/**
* 添加 个人物品
*/
public static final String ADD_USERSTOREHOUSE = "userStorehouse.saveUserStorehouse";
/**
* 修改 个人物品
*/
public static final Stri... | 优化查询我的物品代码
| java110-utils/src/main/java/com/java110/utils/constant/ServiceCodeUserStorehouseConstant.java | 优化查询我的物品代码 | <ide><path>ava110-utils/src/main/java/com/java110/utils/constant/ServiceCodeUserStorehouseConstant.java
<ide> /**
<ide> * 添加 个人物品
<ide> */
<del> public static final String ADD_USERSTOREHOUSE = "userStorehouse.saveUserStorehouse";
<add> public static final String ADD_USERSTOREHOUSE = "resourceStore.s... | |
JavaScript | apache-2.0 | ccc30754d5b616df3c05e82d06c26a3d95f5163e | 0 | porkepic/squiggle,porkepic/squiggle | import Ember from "ember";
export default Ember.Mixin.create({
exportToPng: function(){
var img = this.get("image"),
canvas = this.$("canvas")[0],
context = canvas.getContext("2d"),
outerSvg = this.$(".squiggle-paper").clone(),
svg,
svgImg = new Image(),
url, promis... | addon/mixins/export-to-png.js | import Ember from "ember";
export default Ember.Mixin.create({
exportToPng: function(){
var img = this.get("image"),
canvas = this.$("canvas")[0],
context = canvas.getContext("2d"),
svg = this.$("svg").clone(),
svgImg = new Image(),
url, promise,
that = this;
p... | Export to png: svg image does not work in safari and fails silently
(l) safari
| addon/mixins/export-to-png.js | Export to png: svg image does not work in safari and fails silently (l) safari | <ide><path>ddon/mixins/export-to-png.js
<ide> var img = this.get("image"),
<ide> canvas = this.$("canvas")[0],
<ide> context = canvas.getContext("2d"),
<del> svg = this.$("svg").clone(),
<add> outerSvg = this.$(".squiggle-paper").clone(),
<add> svg,
<ide> svgImg = new Im... | |
Java | mpl-2.0 | 578cb4a059af8076226c9675a2286ac1430cfdbd | 0 | etomica/etomica,etomica/etomica,ajschult/etomica,ajschult/etomica,ajschult/etomica,etomica/etomica | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package etomica.graph.operations;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
impor... | etomica.graph/etomica/graph/operations/AllIsomorphs.java | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package etomica.graph.operations;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
impor... | impose propertyFilter on first graph
| etomica.graph/etomica/graph/operations/AllIsomorphs.java | impose propertyFilter on first graph | <ide><path>tomica.graph/etomica/graph/operations/AllIsomorphs.java
<ide>
<ide> public Set<Graph> apply(Graph g, AllIsomorphsParameters params) {
<ide> Set<Graph> result = new HashSet<Graph>();
<del> result.add(g.copy());
<add> if (params.propertyFilter == null || params.propertyFilter.check(g)) result.add(... | |
Java | bsd-3-clause | dd514cc93c6bc2722b99835d9f97cf0b37f06836 | 0 | Clunker5/tregmine-2.0,EmilHernvall/tregmine,EmilHernvall/tregmine,Clunker5/tregmine-2.0,EmilHernvall/tregmine | package info.tregmine.listeners;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.text.SimpleDateFormat;
import org.bukkit.ChatColor;
import org.bukkit.GameMode;
import org.bukkit.Location;
import org.bukkit.block.BlockState;
import org.bukkit.block.Double... | src/info/tregmine/listeners/InventoryListener.java | package info.tregmine.listeners;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.text.SimpleDateFormat;
import org.bukkit.ChatColor;
import org.bukkit.GameMode;
import org.bukkit.Location;
import org.bukkit.block.BlockState;
import org.bukkit.entity.Playe... | Support for double chests in log
| src/info/tregmine/listeners/InventoryListener.java | Support for double chests in log | <ide><path>rc/info/tregmine/listeners/InventoryListener.java
<ide> import org.bukkit.GameMode;
<ide> import org.bukkit.Location;
<ide> import org.bukkit.block.BlockState;
<add>import org.bukkit.block.DoubleChest;
<ide> import org.bukkit.entity.Player;
<ide> import org.bukkit.event.EventHandler;
<ide> import org.bukkit.... | |
Java | apache-2.0 | 6584f0bdd8858b1fb5bdb388778dbb8284977480 | 0 | gagatust/nd4j,huitseeker/nd4j,deeplearning4j/nd4j,smarthi/nd4j,ambraspace/nd4j,huitseeker/nd4j,smarthi/nd4j,gagatust/nd4j,deeplearning4j/nd4j,ambraspace/nd4j | package org.nd4j.linalg.dataset.api.preprocessor.serializer;
import lombok.NonNull;
import lombok.Value;
import org.nd4j.linalg.dataset.api.preprocessor.Normalizer;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
/**
* Utility for serializing and unserializing {@link Normalizer} instances.
*
... | nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/preprocessor/serializer/NormalizerSerializer.java | package org.nd4j.linalg.dataset.api.preprocessor.serializer;
import lombok.NonNull;
import lombok.Value;
import org.nd4j.linalg.dataset.api.preprocessor.Normalizer;
import java.io.*;
import java.util.ArrayList;
import java.util.List;
/**
* Utility for serializing and unserializing {@link Normalizer} instances.
*
... | Add hint to register custom normalizer serializer strategy to exception message
| nd4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/preprocessor/serializer/NormalizerSerializer.java | Add hint to register custom normalizer serializer strategy to exception message | <ide><path>d4j-backends/nd4j-api-parent/nd4j-api/src/main/java/org/nd4j/linalg/dataset/api/preprocessor/serializer/NormalizerSerializer.java
<ide> return strategy;
<ide> }
<ide> }
<del> throw new RuntimeException("No serializer strategy found for normalizer of class " + normal... | |
JavaScript | mit | 02e0755f30e638b4d439eb32d55f8e8e6146f687 | 0 | psnovichkov/narrative,kbase/narrative,jmchandonia/narrative,mlhenderson/narrative,psnovichkov/narrative,kbase/narrative,kbase/narrative,jmchandonia/narrative,jmchandonia/narrative,kbase/narrative,briehl/narrative,msneddon/narrative,briehl/narrative,jmchandonia/narrative,mlhenderson/narrative,psnovichkov/narrative,psnov... | /*global define,Jupyter*/
/*jslint white: true*/
/**
* @author Michael Sneddon <mwsneddon@lbl.gov>
* @public
*/
define(['jquery',
'underscore',
'narrativeConfig',
'Util/String',
'Util/Display',
'kbase-client-api',
'jquery-nearest',
'kbwidget',
'kbaseAuthen... | kbase-extension/static/kbase/js/widgets/narrative_core/kbaseNarrativeDataList.js | /*global define,IPython*/
/*jslint white: true*/
/**
* @author Michael Sneddon <mwsneddon@lbl.gov>
* @public
*/
define(['jquery',
'underscore',
'narrativeConfig',
'Util/String',
'Util/Display',
'kbase-client-api',
'jquery-nearest',
'kbwidget',
'kbaseAuthen... | Converted IPython->Jupyter refs in data list.
| kbase-extension/static/kbase/js/widgets/narrative_core/kbaseNarrativeDataList.js | Converted IPython->Jupyter refs in data list. | <ide><path>base-extension/static/kbase/js/widgets/narrative_core/kbaseNarrativeDataList.js
<del>/*global define,IPython*/
<add>/*global define,Jupyter*/
<ide> /*jslint white: true*/
<ide> /**
<ide> * @author Michael Sneddon <mwsneddon@lbl.gov>
<ide> .addClass('form-control')
<ide> ... | |
Java | epl-1.0 | 6d81c53327c80419d1d8c94716d5151d10dc8de0 | 0 | theanuradha/debrief,theanuradha/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief,debrief/debrief,debrief/debrief,debrief/debrief,debrief/debrief,theanuradha/debrief,theanuradha/debrief,debrief/debrief,theanuradha/debrief | /*
* Debrief - the Open Source Maritime Analysis Application
* http://debrief.info
*
* (C) 2000-2014, PlanetMayo Ltd
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the Eclipse Public License v1.0
* (http://www.eclipse.org/legal/epl-v10.... | org.mwc.cmap.core/src/org/mwc/cmap/core/preferences/CMAPPrefsPage.java | /*
* Debrief - the Open Source Maritime Analysis Application
* http://debrief.info
*
* (C) 2000-2014, PlanetMayo Ltd
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the Eclipse Public License v1.0
* (http://www.eclipse.org/legal/epl-v10.... | user support
| org.mwc.cmap.core/src/org/mwc/cmap/core/preferences/CMAPPrefsPage.java | user support | <ide><path>rg.mwc.cmap.core/src/org/mwc/cmap/core/preferences/CMAPPrefsPage.java
<ide>
<ide>
<ide> addField(new RadioGroupFieldEditor(PreferenceConstants.IMPORT_MODE,
<del> "Default &track import mode:", 1, _trackModeTags, getFieldEditorParent()));
<add> "Default &track import mode: (use 'Ask user' to allow... | |
Java | mit | bdb9040439a965b90b7c7c6aefbed1e9579a6690 | 0 | PrinceOfAmber/CyclicMagic,PrinceOfAmber/Cyclic | /*******************************************************************************
* The MIT License (MIT)
*
* Copyright (C) 2014-2018 Sam Bassett (aka Lothrazar)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software")... | src/main/java/com/lothrazar/cyclicmagic/block/cablewireless/content/GuiCableContentWireless.java | /*******************************************************************************
* The MIT License (MIT)
*
* Copyright (C) 2014-2018 Sam Bassett (aka Lothrazar)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software")... | 1.18.0 darkphan off by one node issue
| src/main/java/com/lothrazar/cyclicmagic/block/cablewireless/content/GuiCableContentWireless.java | 1.18.0 darkphan off by one node issue | <ide><path>rc/main/java/com/lothrazar/cyclicmagic/block/cablewireless/content/GuiCableContentWireless.java
<ide> int y = 106;
<ide> int size = Const.SQ;
<ide> GuiButtonTooltip btnSize;
<del> for (int i = 0; i < TileCableContentWireless.SLOT_COUNT - 1; i++) {
<add> for (int i = 1; i < TileCableContentW... | |
JavaScript | mit | 2170216880ba4ddc0a7238d627e55e05020dd2bf | 0 | luislobo/waterline,balderdashy/waterline | /**
* Module dependencies
*/
var util = require('util');
var _ = require('@sailshq/lodash');
var async = require('async');
var forgeStageThreeQuery = require('./forge-stage-three-query');
var InMemoryJoin = require('./in-memory-join');
var transformPopulatedChildRecords = require('./transform-populated-child-records... | lib/waterline/utils/query/help-find.js | /**
* Module dependencies
*/
var util = require('util');
var _ = require('@sailshq/lodash');
var async = require('async');
var forgeStageThreeQuery = require('./forge-stage-three-query');
var InMemoryJoin = require('./in-memory-join');
var transformPopulatedChildRecords = require('./transform-populated-child-records... | Fix some references
| lib/waterline/utils/query/help-find.js | Fix some references | <ide><path>ib/waterline/utils/query/help-find.js
<ide> }
<ide>
<ide> // If there are child records, add the opt but don't add the criteria
<del> if (!item.queryObj.child) {
<add> if (!item.child) {
<ide> opts.push(localOpts);
<ide> return;
<ide> }
<ide>
<ide> localOpts.push({
<del> ... | |
Java | apache-2.0 | 91da90ee9ed7f264fae2b14b581fee41c5821951 | 0 | gurbuzali/hazelcast-jet,gurbuzali/hazelcast-jet | /*
* Copyright (c) 2008-2017, Hazelcast, 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 ... | hazelcast-jet-core/src/main/java/com/hazelcast/jet/impl/JetClientInstanceImpl.java | /*
* Copyright (c) 2008-2017, Hazelcast, 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 ... | Fix compilation for new imdg 3.9-SNAPSHOT
| hazelcast-jet-core/src/main/java/com/hazelcast/jet/impl/JetClientInstanceImpl.java | Fix compilation for new imdg 3.9-SNAPSHOT | <ide><path>azelcast-jet-core/src/main/java/com/hazelcast/jet/impl/JetClientInstanceImpl.java
<ide> @Override
<ide> public Collection<Job> getJobs() {
<ide> ClientMessage request = JetGetJobIdsCodec.encodeRequest();
<del> ClientInvocation invocation = new ClientInvocation(client, request, masterAd... | |
Java | epl-1.0 | 40381a949f6ce8340236bc842ec8fe7bc58e6b92 | 0 | rherrmann/eclipse-extras,rherrmann/eclipse-extras | package com.codeaffine.extras.ide.internal.launch;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.ui.DebugUITools;
import org.eclipse.jfa... | com.codeaffine.extras.ide/src/com/codeaffine/extras/ide/internal/launch/LaunchHandler.java | package com.codeaffine.extras.ide.internal.launch;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.ui.DebugUITools;
import org.eclipse.jfa... | Refactor LaunchHandler | com.codeaffine.extras.ide/src/com/codeaffine/extras/ide/internal/launch/LaunchHandler.java | Refactor LaunchHandler | <ide><path>om.codeaffine.extras.ide/src/com/codeaffine/extras/ide/internal/launch/LaunchHandler.java
<ide>
<ide> @Override
<ide> public Object execute( ExecutionEvent event ) throws ExecutionException {
<del> Shell shell = HandlerUtil.getActiveWorkbenchWindow( event ).getShell();
<del> LaunchSelectionDialog ... | |
JavaScript | isc | fb8eefd00d3f44af6e5bddf2856623350ed9fdf4 | 0 | ripple/ripple-lib,ripple/ripple-lib,wilsonianb/ripple-lib,ripple/ripple-lib,darkdarkdragon/ripple-lib,wilsonianb/ripple-lib,ripple/ripple-lib,darkdarkdragon/ripple-lib,wilsonianb/ripple-lib,darkdarkdragon/ripple-lib | /* @flow */
'use strict';
const _ = require('lodash');
const transactionParser = require('ripple-lib-transactionparser');
const toTimestamp = require('../../../core/utils').toTimestamp;
const utils = require('../utils');
const BigNumber = require('bignumber.js');
function adjustQualityForXRP(quality: string, takerGets... | src/api/ledger/parse/utils.js | /* @flow */
'use strict';
const _ = require('lodash');
const transactionParser = require('ripple-lib-transactionparser');
const toTimestamp = require('../../../core/utils').toTimestamp;
const utils = require('../utils');
const BigNumber = require('bignumber.js');
function adjustQualityForXRP(quality: string, takerGets... | Refactor to make quality adjustment for XRP more clear
| src/api/ledger/parse/utils.js | Refactor to make quality adjustment for XRP more clear | <ide><path>rc/api/ledger/parse/utils.js
<ide>
<ide> function adjustQualityForXRP(quality: string, takerGetsCurrency: string,
<ide> takerPaysCurrency: string) {
<del> const shift = (takerGetsCurrency === 'XRP' ? 6 : 0)
<del> - (takerPaysCurrency === 'XRP' ? 6 : 0);
<add> // quality = takerPays.value/... | |
Java | apache-2.0 | 727dfcef1a40afb17b97f560cdf8cb41d640505c | 0 | jeorme/OG-Platform,jerome79/OG-Platform,McLeodMoores/starling,DevStreet/FinanceAnalytics,nssales/OG-Platform,codeaudit/OG-Platform,McLeodMoores/starling,DevStreet/FinanceAnalytics,McLeodMoores/starling,jeorme/OG-Platform,jerome79/OG-Platform,nssales/OG-Platform,ChinaQuants/OG-Platform,DevStreet/FinanceAnalytics,codeaud... | /**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial;
/**
* Enum representing the exercise decision type of single payoff options
*/
public enum ExerciseDecisionType {
/**
* European =... | projects/OG-Analytics/src/com/opengamma/analytics/financial/ExerciseDecisionType.java | /**
* Copyright (C) 2012 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.analytics.financial;
/**
* Enum representing the exercise decision type of single payoff options
*/
public enum ExerciseDecisionType {
/**
* European =... | Added from() to ExerciseDecisionType that will take any case string, esp take European from OG-Fin ExerciseType
| projects/OG-Analytics/src/com/opengamma/analytics/financial/ExerciseDecisionType.java | Added from() to ExerciseDecisionType that will take any case string, esp take European from OG-Fin ExerciseType | <ide><path>rojects/OG-Analytics/src/com/opengamma/analytics/financial/ExerciseDecisionType.java
<ide> */
<ide> AMERICAN;
<ide>
<add> public static ExerciseDecisionType from(final String name) {
<add> final String capsName = name.toUpperCase();
<add> return ExerciseDecisionType.valueOf(capsName);
<add> }
<... | |
Java | apache-2.0 | 97f4df0bfe20be0dae85e71fa7a1eda2b2957fcf | 0 | d3sw/conductor,d3sw/conductor,d3sw/conductor,d3sw/conductor,d3sw/conductor,d3sw/conductor | /**
* Copyright 2016 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutor.java | /**
* Copyright 2016 Netflix, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | minor optimization and additional places to fire the event have been added including system tasks (evetn, wait, etc)
| core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutor.java | minor optimization and additional places to fire the event have been added including system tasks (evetn, wait, etc) | <ide><path>ore/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutor.java
<ide> /**
<ide> * @author Viren Workflow services provider interface
<ide> */
<del>@SuppressWarnings("ALL")
<ide> @Trace
<ide> public class WorkflowExecutor {
<ide> | |
JavaScript | mit | 1c2b7db98687d9bbb9ec5ff03c46c9ec10a793b8 | 0 | creynders/keystone,creynders/keystone | var demand = require('must');
var Path = require('../../../lib/path');
describe('Path', function () {
describe('new', function () {
it('must be an instance of Path', function () {
new Path('').must.be.an.instanceof(Path);
});
});
describe('.prototype.append', function () {
it('must return the path appende... | test/unitTests/lib/path_test.js | var demand = require('must');
var Path = require("../../../lib/path");
describe("Path", function() {
describe("new", function() {
it("must be an instance of Path", function() {
new Path("").must.be.an.instanceof(Path);
})
})
describe(".prototype.append", function() {
it("must return the path appended to t... | Significantly expanding our Path tests
| test/unitTests/lib/path_test.js | Significantly expanding our Path tests | <ide><path>est/unitTests/lib/path_test.js
<ide> var demand = require('must');
<del>var Path = require("../../../lib/path");
<add>var Path = require('../../../lib/path');
<ide>
<del>describe("Path", function() {
<del> describe("new", function() {
<del> it("must be an instance of Path", function() {
<del> new Path(""... | |
JavaScript | mit | 6eb46143feddbf29f4052d0323c25c54654c620d | 0 | glumb/mrcl | import debug from 'debug'
import EventEmitter from 'events'
import protocol from '../src/protocolDefinitions'
let numberOfMessages = 1
export default class MRIL extends EventEmitter {
constructor(instruction = '') {
super()
this.instruction = instruction
this.bytes = 0
this.preparedMRILMessage = ''... | src/MRIL.js | import debug from 'debug'
import EventEmitter from 'events'
import protocol from '../src/protocolDefinitions'
let numberOfMessages = 1
export default class MRIL extends EventEmitter {
constructor(instruction = '') {
super()
this.instruction = instruction
this.bytes = 0
this.preparedMRILMessage = 0
... | fix(MRIL): allow empty message
| src/MRIL.js | fix(MRIL): allow empty message | <ide><path>rc/MRIL.js
<ide>
<ide> this.instruction = instruction
<ide> this.bytes = 0
<del> this.preparedMRILMessage = 0
<add> this.preparedMRILMessage = ''
<ide> this.number = numberOfMessages++
<ide>
<ide> this.mrcp
<ide> executed: false,
<ide> }
<ide>
<add>
<ide> // remove whit... | |
Java | apache-2.0 | 291e381531720b4aee8cc5ba995a15613c08802a | 0 | farmerbb/Taskbar,farmerbb/Taskbar | /* Copyright 2016 Braden Farmer
*
* 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... | app/src/main/java/com/farmerbb/taskbar/service/StartMenuService.java | /* Copyright 2016 Braden Farmer
*
* 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... | Move start menu reset out of showStartMenu call
| app/src/main/java/com/farmerbb/taskbar/service/StartMenuService.java | Move start menu reset out of showStartMenu call | <ide><path>pp/src/main/java/com/farmerbb/taskbar/service/StartMenuService.java
<ide> }
<ide>
<ide> private void toggleStartMenu(boolean shouldReset) {
<add> if(shouldReset) startMenu.setSelection(0);
<add>
<ide> if(layout.getVisibility() == View.GONE)
<del> showStartMenu(s... | |
Java | apache-2.0 | d96360abc0f40b5c72ed7c8b6a7f6ee4d6eea3cf | 0 | yombunker/SpanEZ | package com.bunk3r.spanez.locators;
import org.junit.Test;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
/**
* Part of SpanEZ
* Created by joragu on 1/13/2017.
*/
public class TargetRangeTest {
@Test
public void valid_... | library/src/test/java/com/bunk3r/spanez/locators/TargetRangeTest.java | package com.bunk3r.spanez.locators;
import org.junit.Test;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
/**
* Part of SpanEZ
* Created by joragu on 1/13/2017.
*/
public class TargetRangeTest {
@Test
public void valid_... | - Adding missing if branches for TargetRange
| library/src/test/java/com/bunk3r/spanez/locators/TargetRangeTest.java | - Adding missing if branches for TargetRange | <ide><path>ibrary/src/test/java/com/bunk3r/spanez/locators/TargetRangeTest.java
<ide> assertTrue("The two objects should be equal", expectedResult.equals(targetRange));
<ide> }
<ide>
<add>
<add> @SuppressWarnings("UnnecessaryLocalVariable")
<add> @Test
<add> public void target_range_compare_same_i... | |
JavaScript | mit | ca2e33f55239a3eb67e69373d2956eb759aeb13b | 0 | Verurteilt/core,ngx-translate/core,Verurteilt/core,ocombe/ng2-translate,ngx-translate/core,ocombe/ng2-translate | /**
* Adapted from angular2-webpack-starter
*/
const helpers = require('./helpers'),
webpack = require('webpack'),
LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin');
/**
* Webpack Plugins
*/
module.exports = {
/**
* Source map for Karma from the help of karma-sourcemap-loader & ... | config/webpack.test.js | /**
* Adapted from angular2-webpack-starter
*/
const helpers = require('./helpers'),
LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin');
/**
* Webpack Plugins
*/
module.exports = {
/**
* Source map for Karma from the help of karma-sourcemap-loader & karma-webpack
*
* Do not... | chore: fixed tests config
| config/webpack.test.js | chore: fixed tests config | <ide><path>onfig/webpack.test.js
<ide> */
<ide>
<ide> const helpers = require('./helpers'),
<add> webpack = require('webpack'),
<ide> LoaderOptionsPlugin = require('webpack/lib/LoaderOptionsPlugin');
<ide>
<ide> /** | |
Java | apache-2.0 | 424d8ea3e51d967b7e75681eca6fd0f9c70d244e | 0 | hitakaken/novbank-store | package com.novbank.store.service.metadata.schema;
/**
* Created by HP on 2015/4/20.
*/
public enum PropertyType {
STATIC_PROPERTY,
DYNAMIC_PROPERTY,
DIRECT_RELATION,
DYNAMIC_RELATION,
}
| src/main/java/com/novbank/store/service/metadata/schema/PropertyType.java | package com.novbank.store.service.metadata.schema;
/**
* Created by HP on 2015/4/20.
*/
public enum PropertyType {
STATIC_PROPERTY,
STATIC_RELATIONSHIP,
DYNAMIC_PROPERTY,
DYNAMIC_RELATIONSHIP,
}
| Initial Commit
| src/main/java/com/novbank/store/service/metadata/schema/PropertyType.java | Initial Commit | <ide><path>rc/main/java/com/novbank/store/service/metadata/schema/PropertyType.java
<ide> */
<ide> public enum PropertyType {
<ide> STATIC_PROPERTY,
<del> STATIC_RELATIONSHIP,
<ide> DYNAMIC_PROPERTY,
<del> DYNAMIC_RELATIONSHIP,
<add> DIRECT_RELATION,
<add> DYNAMIC_RELATION,
<ide> } | |
Java | apache-2.0 | 468eef3202525272bf12c4558c5c94e9bf92649b | 0 | Sch3lp/entmob_examples | package be.pxl.spring.rest.fallout.logging;
import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Component;
import javax.jms.Message;
@Component
public class JMSMessageConsumer {
@JmsListener(destination = "ItemLogQueue")
public void onMessage(Message message) {
... | src/main/java/be/pxl/spring/rest/fallout/logging/JMSMessageConsumer.java | package be.pxl.spring.rest.fallout.logging;
import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Component;
import javax.jms.Message;
@Component
public class JMSMessageConsumer {
@JmsListener(destination = "ItemLogQueue")
public void onMessage(Message message) {
... | Added TODO
| src/main/java/be/pxl/spring/rest/fallout/logging/JMSMessageConsumer.java | Added TODO | <ide><path>rc/main/java/be/pxl/spring/rest/fallout/logging/JMSMessageConsumer.java
<ide>
<ide> @JmsListener(destination = "ItemLogQueue")
<ide> public void onMessage(Message message) {
<add> //TODO: save to log table or something
<ide> System.out.println("Hi, I'm JMSMessageConsumer and I got " +... | |
Java | apache-2.0 | 1afc18be518f6e8eb9d574e0e141fce7a045dffb | 0 | dibagga/selenium,oddui/selenium,lmtierney/selenium,asashour/selenium,Ardesco/selenium,SeleniumHQ/selenium,dibagga/selenium,twalpole/selenium,tbeadle/selenium,juangj/selenium,krmahadevan/selenium,dibagga/selenium,kalyanjvn1/selenium,HtmlUnit/selenium,Jarob22/selenium,5hawnknight/selenium,kalyanjvn1/selenium,davehunt/sel... | // Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | java/server/src/org/openqa/grid/web/servlet/handler/WebDriverRequest.java | // Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you m... | grid hub getting desired capabilites needs to account for w3c only requests.
| java/server/src/org/openqa/grid/web/servlet/handler/WebDriverRequest.java | grid hub getting desired capabilites needs to account for w3c only requests. | <ide><path>ava/server/src/org/openqa/grid/web/servlet/handler/WebDriverRequest.java
<ide> String json = getBody();
<ide> try {
<ide> JsonObject map = new JsonParser().parse(json).getAsJsonObject();
<add> // Current W3C has required / desired capabilities wrapped in a 'capabilites' object.
<add> ... | |
Java | bsd-3-clause | 3b4c0253a6deb66aa831e951a79115f08fb5b69e | 0 | vivo-project/Vitro,vivo-project/Vitro,vivo-project/Vitro,vivo-project/Vitro | /* $This file is distributed under the terms of the license in /doc/license.txt$ */
package edu.cornell.mannlib.vitro.webapp.edit.n3editing;
import java.util.Calendar;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.hp.h... | webapp/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/DateTimeIntervalValidation.java | /* $This file is distributed under the terms of the license in /doc/license.txt$ */
package edu.cornell.mannlib.vitro.webapp.edit.n3editing;
import java.util.Calendar;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import com.hp.h... | Fixing bug, can now enter same year for start and end NIHVIVO-1743
| webapp/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/DateTimeIntervalValidation.java | Fixing bug, can now enter same year for start and end NIHVIVO-1743 | <ide><path>ebapp/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/DateTimeIntervalValidation.java
<ide> import com.hp.hpl.jena.datatypes.xsd.XSDDateTime;
<ide> import com.hp.hpl.jena.rdf.model.Literal;
<ide>
<add>import edu.cornell.mannlib.vitro.webapp.dao.VitroVocabulary;
<add>import edu.cornell.mannlib.vitro.weba... | |
JavaScript | mit | 34eea1a9ecf2b034fc5cbc3a4f4040af7554f5b3 | 0 | redding/romo,redding/romo,redding/romo | $.fn.romoDatepicker = function() {
return $.map(this, function(element) {
return new RomoDatepicker(element);
});
}
var RomoDatepicker = function(element) {
this.elem = $(element);
this.defaultFormat = 'yyyy-mm-dd'
this.monthNames = [
"January", "February", "March", "April", "May", "June",
"July"... | assets/js/romo/datepicker.js | $.fn.romoDatepicker = function() {
return $.map(this, function(element) {
return new RomoDatepicker(element);
});
}
var RomoDatepicker = function(element) {
this.elem = $(element);
this.defaultFormat = 'yyyy-mm-dd'
this.monthNames = [
"January", "February", "March", "April", "May", "June",
"July"... | datepicker: better handling of prev and next buttons
This renames the class settings more appropriately. It also handles
the case where no default was given by putting ascii into the buttons.
This allows allows for setting the class at the component level.
All this is to allow more flexibility when specifying the pr... | assets/js/romo/datepicker.js | datepicker: better handling of prev and next buttons | <ide><path>ssets/js/romo/datepicker.js
<ide> "January", "February", "March", "April", "May", "June",
<ide> "July", "August", "September", "October", "November", "December"
<ide> ]
<del> this.defaultLeftArrowClass = undefined;
<del> this.defaultRightArrowClass = undefined;
<add> this.defaultPrevClass = und... | |
Java | mit | 61f17f4980305f18a39874a83021bb3e786c5ea7 | 0 | hsz/idea-gitignore,digideskio/idea-gitignore,hsz/idea-gitignore,halirutan/idea-gitignore,dragon788/idea-gitignore,halirutan/idea-gitignore,digideskio/idea-gitignore,dragon788/idea-gitignore | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 hsz Jakub Chrzanowski <jakub@hsz.mobi>
*
* 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 limita... | src/mobi/hsz/idea/gitignore/IgnoreManager.java | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 hsz Jakub Chrzanowski <jakub@hsz.mobi>
*
* 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 limita... | Fixed #144 IndexOutOfBoundsException
| src/mobi/hsz/idea/gitignore/IgnoreManager.java | Fixed #144 IndexOutOfBoundsException | <ide><path>rc/mobi/hsz/idea/gitignore/IgnoreManager.java
<ide> import org.jetbrains.annotations.NotNull;
<ide> import org.jetbrains.annotations.Nullable;
<ide>
<add>import java.util.Collection;
<ide> import java.util.List;
<ide>
<ide> import static mobi.hsz.idea.gitignore.settings.IgnoreSettings.KEY;
<ide> ... | |
Java | apache-2.0 | 9c5227943b43bdb1e63fc4d3926e9b1f729b3402 | 0 | Sausure/WIFIADB | package adb.wifi.woaiwhz.wifiadbandroid.activity;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
import android.animation.ArgbEvaluator;
import android.animation.ObjectAnimator;
import android.animation.TimeInterpolator;
import android.animati... | WIFIADBAndroid/app/src/main/java/adb/wifi/woaiwhz/wifiadbandroid/activity/MainActivity.java | package adb.wifi.woaiwhz.wifiadbandroid.activity;
import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
import android.animation.ArgbEvaluator;
import android.animation.ObjectAnimator;
import android.animation.TimeInterpolator;
import android.animati... | something unimportant
| WIFIADBAndroid/app/src/main/java/adb/wifi/woaiwhz/wifiadbandroid/activity/MainActivity.java | something unimportant | <ide><path>IFIADBAndroid/app/src/main/java/adb/wifi/woaiwhz/wifiadbandroid/activity/MainActivity.java
<ide>
<ide> switch (id){
<ide> case R.id.get_start:
<del> browse("https://github.com/Sausure/WIFIADB");
<add> browse("https://github.com/Sausure/WIFIADB/blob/master/WI... | |
Java | apache-2.0 | 90ca40af7205835ccc864f6ee013c884ddf25754 | 0 | phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida | package ca.corefacility.bioinformatics.irida.ria.integration;
import ca.corefacility.bioinformatics.irida.ria.integration.pages.AbstractPage;
import ca.corefacility.bioinformatics.irida.ria.integration.pages.LoginPage;
import ca.corefacility.bioinformatics.irida.ria.integration.pages.user.PasswordResetPage;
import com... | src/test/java/ca/corefacility/bioinformatics/irida/ria/integration/LoginPageIT.java | package ca.corefacility.bioinformatics.irida.ria.integration;
import ca.corefacility.bioinformatics.irida.ria.integration.pages.AbstractPage;
import ca.corefacility.bioinformatics.irida.ria.integration.pages.LoginPage;
import ca.corefacility.bioinformatics.irida.ria.integration.pages.user.PasswordResetPage;
import com... | Removed unnecessary test for flakiness.
| src/test/java/ca/corefacility/bioinformatics/irida/ria/integration/LoginPageIT.java | Removed unnecessary test for flakiness. | <ide><path>rc/test/java/ca/corefacility/bioinformatics/irida/ria/integration/LoginPageIT.java
<ide>
<ide> private static final String EXPIRED_USERNAME = "expiredGuy";
<ide> private static final String EXPIRED_PASSWORD = "Password1";
<del>
<del> private final int TIMES_UNTIL_PASS = 3;
<del> private static int timesRe... | |
JavaScript | mit | 10b12f6c59479967631ff0f7010ba462b98b2e1f | 0 | carbon-io/carbon-client-js,carbon-io/carbon-client-js | var path = require('path').posix
var url = require('url')
var _ = require('lodash')
var ejson = require('@carbon-io/ejson')
var Endpoint = require('./Endpoint')
/***************************************************************************************************
* @namespace carbon-client
*/
/*********************... | lib/Collection.js | var path = require('path').posix
var url = require('url')
var _ = require('lodash')
var ejson = require('@carbon-io/ejson')
var Endpoint = require('./Endpoint')
DEFAULT_ID_HEADER = 'carbonio-id'
/***************************************************************************************************
* @namespace carbon... | return results from insert/save as is
| lib/Collection.js | return results from insert/save as is | <ide><path>ib/Collection.js
<ide> var ejson = require('@carbon-io/ejson')
<ide>
<ide> var Endpoint = require('./Endpoint')
<del>
<del>DEFAULT_ID_HEADER = 'carbonio-id'
<ide>
<ide> /***************************************************************************************************
<ide> * @namespace carbon-client
<id... | |
Java | bsd-3-clause | a1756c5c51b2c0432929744a57bb2d6e3291abe7 | 0 | Lucky-Dhakad/semanticvectors,sabitaacharya/semanticvectors,Lucky-Dhakad/semanticvectors,sabitaacharya/semanticvectors,Lucky-Dhakad/semanticvectors,sabitaacharya/semanticvectors,anhth12/semanticvectors,Lucky-Dhakad/semanticvectors,sabitaacharya/semanticvectors,anhth12/semanticvectors,anhth12/semanticvectors,anhth12/sema... | /**
Copyright (c) 2008, University of Pittsburgh
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of... | src/pitt/search/semanticvectors/TermTermVectorsFromLucene.java | /**
Copyright (c) 2008, University of Pittsburgh
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of... | Quick fix to the error I introduced by changing "bind": TermTermVectors now uses permutations exclusively, although we may wish to introduce the option of other binding operators once these are implemented. | src/pitt/search/semanticvectors/TermTermVectorsFromLucene.java | Quick fix to the error I introduced by changing "bind": TermTermVectors now uses permutations exclusively, although we may wish to introduce the option of other binding operators once these are implemented. | <ide><path>rc/pitt/search/semanticvectors/TermTermVectorsFromLucene.java
<ide> // have a programming typo cause an error!
<ide> if (positionalmethod.equals("permutation")
<ide> || positionalmethod.equals("permutation_plus_basic")) {
<del> initializePermutations();
<add> initializePermutations(... | |
JavaScript | mit | 8cefdfd6119637a4ef7e7339afdfd90757629749 | 0 | egjs/egjs,egjs/egjs | (function(global) {
global.eg = {};
var dependency = {
"jQuery": {
"url": "http://jquery.com/"
},
"Hammer": {
"url": "http://hammerjs.github.io/"
},
"Outlayer": {
"url": "https://github.com/metafizzy/outlayer/"
}
};
// jscs:disable maximumLineLength
var templateMessage = [
"[egjs] The {{na... | src/module.js | (function(global) {
global.eg = {};
var dependency = {
"jQuery": {
"url": "http://jquery.com/"
},
"Hammer": {
"url": "http://hammerjs.github.io/"
},
"Outlayer": {
"url": "https://github.com/metafizzy/outlayer/"
}
};
// jscs:disable maximumLineLength
var templateMessage = [
"[egjs] The {{na... | fix(module): Correction on error message handling
Fixed ordinal number handling.
Modified awkward error message.
Ref g-48
| src/module.js | fix(module): Correction on error message handling | <ide><path>rc/module.js
<ide> // jscs:disable maximumLineLength
<ide> var templateMessage = [
<ide> "[egjs] The {{name}} library must be loaded before {{componentName}}.",
<del> "[egjs] For AMD evnronment (like RequireJS), \"{{name}}\" must be declared, which is required by {{componentName}}.",
<del> "[egjs] The ... | |
Java | apache-2.0 | 4b572cc4e909c6d04805c8a49af7250e44ad3008 | 0 | apache/commons-digester,apache/commons-digester,apache/commons-digester,mohanaraosv/commons-digester,mohanaraosv/commons-digester,callMeDimit/commons-digester,callMeDimit/commons-digester,callMeDimit/commons-digester,mohanaraosv/commons-digester | package org.apache.commons.digester3;
/*
* 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 Licens... | src/main/java/org/apache/commons/digester3/Digester.java | package org.apache.commons.digester3;
/*
* 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 Licens... | fixed @return tag on popParams() method
git-svn-id: c3d1f7498fb08a2885afe49e111c402c6cd8f5f6@1128639 13f79535-47bb-0310-9956-ffa450edef68
| src/main/java/org/apache/commons/digester3/Digester.java | fixed @return tag on popParams() method | <ide><path>rc/main/java/org/apache/commons/digester3/Digester.java
<ide> * The parameters stack is used to store <code>CallMethodRule</code> parameters. See {@link #params}.
<ide> * </p>
<ide> *
<del> * @param the top object popped off of the parameters stack
<add> * @return the top object popped... | |
Java | mit | error: pathspec 'src/main/java/seedu/address/storage/ConfigStorage.java' did not match any file(s) known to git
| 5c51b308c88dd17b88cc2de8c1f89c99fed33f66 | 1 | CS2103JAN2017-F14-B3/main,CS2103JAN2017-F14-B3/main | package seedu.address.storage;
import java.io.IOException;
import seedu.address.commons.core.Config;
import seedu.address.commons.exceptions.DataConversionException;
public interface ConfigStorage {
Config readConfig() throws DataConversionException, IOException;
void saveConfig(Config config) throws IOExcep... | src/main/java/seedu/address/storage/ConfigStorage.java | configstorage interface
| src/main/java/seedu/address/storage/ConfigStorage.java | configstorage interface | <ide><path>rc/main/java/seedu/address/storage/ConfigStorage.java
<add>package seedu.address.storage;
<add>
<add>import java.io.IOException;
<add>
<add>import seedu.address.commons.core.Config;
<add>import seedu.address.commons.exceptions.DataConversionException;
<add>
<add>public interface ConfigStorage {
<add> Conf... | |
JavaScript | mit | c61ae73672c71ff190f85152a91ddd7703361a49 | 0 | phated/grunt-jade | /*
* grunt-jade
* https://github.com/phated/grunt-jade
*
* Copyright (c) 2012 Blaine Bublitz
* Licensed under the MIT license.
*/
module.exports = function(grunt) {
var jade = require('jade')
, path = require('path')
, jadeRuntimePath = require.resolve('jade/lib/runtime');
// ======================... | tasks/jade.js | /*
* grunt-jade
* https://github.com/phated/grunt-jade
*
* Copyright (c) 2012 Blaine Bublitz
* Licensed under the MIT license.
*/
module.exports = function(grunt) {
var jade = require('jade')
, path = require('path')
, jadeRuntimePath = require.resolve('jade/lib/runtime');
// ======================... | added options.filename for ability to use "extends" in jade templates
| tasks/jade.js | added options.filename for ability to use "extends" in jade templates | <ide><path>asks/jade.js
<ide>
<ide> // Loop through all files and write them to files
<ide> files.forEach(function(filepath) {
<add> options.filename = filepath;
<ide> var fileExtname = path.extname(filepath)
<ide> , src = grunt.file.read(filepath)
<ide> , outputFilename = path.basen... | |
Java | mit | 15e4d56d96ee55a477ae1377560c0b888cdd50bf | 0 | mhradek/aurkitu,mhradek/aurkitu | package com.michaelhradek.aurkitu;
import com.michaelhradek.aurkitu.plugin.Application;
import org.apache.maven.plugin.testing.AbstractMojoTestCase;
import org.apache.maven.plugin.testing.MojoRule;
import org.apache.maven.project.MavenProject;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Rule;
im... | aurkitu-maven-plugin/src/test/java/com/michaelhradek/aurkitu/ApplicationTest.java | package com.michaelhradek.aurkitu;
import com.michaelhradek.aurkitu.plugin.Application;
import org.apache.maven.plugin.testing.AbstractMojoTestCase;
import org.apache.maven.plugin.testing.MojoRule;
import org.apache.maven.project.MavenProject;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Rule;
im... | Removed unused includes and commented out unused code.
| aurkitu-maven-plugin/src/test/java/com/michaelhradek/aurkitu/ApplicationTest.java | Removed unused includes and commented out unused code. | <ide><path>urkitu-maven-plugin/src/test/java/com/michaelhradek/aurkitu/ApplicationTest.java
<ide> import org.mockito.runners.MockitoJUnitRunner;
<ide>
<ide> import java.io.File;
<del>import java.lang.reflect.Field;
<ide> import java.util.ArrayList;
<ide>
<ide> /**
<ide> Assert.assertTrue(testPom.exists());
<i... | |
Java | mit | 13e377ab55eba5c5d704f37ac72ca986b03c8303 | 0 | mzmine/mzmine3,mzmine/mzmine3 | /*
* Copyright 2006-2021 The MZmine Development Team
*
* This file is part of MZmine.
*
* MZmine 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
* License, or (at your option) any ... | src/main/java/io/github/mzmine/modules/visualization/chromatogram/ChromatogramVisualizerModule.java | /*
* Copyright 2006-2021 The MZmine Development Team
*
* This file is part of MZmine.
*
* MZmine 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
* License, or (at your option) any ... | fix undetected features added to xic dialog
| src/main/java/io/github/mzmine/modules/visualization/chromatogram/ChromatogramVisualizerModule.java | fix undetected features added to xic dialog | <ide><path>rc/main/java/io/github/mzmine/modules/visualization/chromatogram/ChromatogramVisualizerModule.java
<ide> final FeatureIdentity identity = row.getPreferredFeatureIdentity();
<ide>
<ide> for (final Feature feature : row.getFeatures()) {
<add> if(feature == null || feature.getFeatureStatus()... | |
Java | agpl-3.0 | 9ec6a6d1aad7b623728bc65a6a836bc9ee21a9ce | 0 | isokissa3/mcMMO,Maximvdw/mcMMO,jhonMalcom79/mcMMO_pers,virustotalop/mcMMO,EvilOlaf/mcMMO | package com.gmail.nossr50.events.experience;
import org.bukkit.entity.Player;
import com.gmail.nossr50.skills.utilities.SkillType;
/**
* Called when a user levels up in a skill
*/
public class McMMOPlayerLevelUpEvent extends McMMOPlayerExperienceEvent {
private int levelsGained;
public McMMOPlayerLevelUpE... | src/main/java/com/gmail/nossr50/events/experience/McMMOPlayerLevelUpEvent.java | package com.gmail.nossr50.events.experience;
import org.bukkit.entity.Player;
import com.gmail.nossr50.skills.utilities.SkillType;
/**
* Called when a user levels up in a skill
*/
public class McMMOPlayerLevelUpEvent extends McMMOPlayerExperienceEvent {
private int levelsGained;
public McMMOPlayerLevelUpE... | Add constructor for adding multiple levels at once. Need to work out how
to handle level-ups in order for this to be properly cancelled, however. | src/main/java/com/gmail/nossr50/events/experience/McMMOPlayerLevelUpEvent.java | Add constructor for adding multiple levels at once. Need to work out how to handle level-ups in order for this to be properly cancelled, however. | <ide><path>rc/main/java/com/gmail/nossr50/events/experience/McMMOPlayerLevelUpEvent.java
<ide>
<ide> public McMMOPlayerLevelUpEvent(Player player, SkillType skill) {
<ide> super(player, skill);
<del> this.levelsGained = 1; // Always 1 for now as we call in the loop where the levelups are calculat... | |
Java | mit | e4fbf5a2d66470e0d72b0a1eecac85a389fefca4 | 0 | greboid/DMDirc,greboid/DMDirc,csmith/DMDirc,csmith/DMDirc,DMDirc/DMDirc,greboid/DMDirc,ShaneMcC/DMDirc-Client,csmith/DMDirc,ShaneMcC/DMDirc-Client,greboid/DMDirc,DMDirc/DMDirc,csmith/DMDirc,DMDirc/DMDirc,ShaneMcC/DMDirc-Client,DMDirc/DMDirc,ShaneMcC/DMDirc-Client | /*
* Copyright (c) 2006-2007 Chris Smith, Shane Mc Cormack, Gregory Holmes
*
* 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
... | src/uk/org/ownage/dmdirc/plugins/PluginManager.java | /*
* Copyright (c) 2006-2007 Chris Smith, Shane Mc Cormack, Gregory Holmes
*
* 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
... | re-added onLoad() call to addPlugin
git-svn-id: 50f83ef66c13f323b544ac924010c921a9f4a0f7@836 00569f92-eb28-0410-84fd-f71c24880f43
| src/uk/org/ownage/dmdirc/plugins/PluginManager.java | re-added onLoad() call to addPlugin | <ide><path>rc/uk/org/ownage/dmdirc/plugins/PluginManager.java
<ide> if (knownPlugins.containsKey(pluginName.toLowerCase())) { return false; }
<ide> Plugin plugin = loadPlugin(className);
<ide> if (plugin == null) { return false; }
<add> plugin.onLoad();
<ide> knownPlugins.put(pluginName.toLowerCase(), plugin);... | |
Java | mit | 707a5da0b6dc5fcdb4325f4176f795397255493a | 0 | flintproject/Flint,flintproject/Flint | /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:set ts=4 sw=4 sts=4 et: */
package jp.oist.flint.form.job;
import jp.oist.flint.form.sub.JobWindow;
import jp.oist.flint.garuda.GarudaClient;
import jp.oist.flint.job.Job;
import jp.oist.flint.job.Progress;
import jp.oist.flint.util.Dura... | flint/src/jp/oist/flint/form/job/JobCell.java | /* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:set ts=4 sw=4 sts=4 et: */
package jp.oist.flint.form.job;
import jp.oist.flint.form.sub.JobWindow;
import jp.oist.flint.garuda.GarudaClient;
import jp.oist.flint.job.Job;
import jp.oist.flint.job.Progress;
import jp.oist.flint.util.Dura... | Return boolean to see whether it finishes or not
| flint/src/jp/oist/flint/form/job/JobCell.java | Return boolean to see whether it finishes or not | <ide><path>lint/src/jp/oist/flint/form/job/JobCell.java
<ide> mJobWindow.plotPerformed(mIndex);
<ide> }//GEN-LAST:event_btn_ViewActionPerformed
<ide>
<del> public void setProgress(Job job) {
<add> /*
<add> * Return true if finished, false otherwise.
<add> */
<add> public boolean setProgres... | |
Java | apache-2.0 | 58001f916e5b4dbbf01b679f4c24db83f8ee1208 | 0 | inigoillan/libanalytics | package com.inigoillan.libanalytics.algorithms.oddsketch;
import com.google.common.base.Preconditions;
import com.inigoillan.libanalytics.algorithms.hashers.Hash;
import org.apache.log4j.Logger;
import javax.annotation.Nonnull;
import java.util.BitSet;
/**
* For details, please refer to the <a href="http://www.itu... | src/main/java/com/inigoillan/libanalytics/algorithms/oddsketch/OddSketch.java | package com.inigoillan.libanalytics.algorithms.oddsketch;
import com.google.common.base.Preconditions;
import com.inigoillan.libanalytics.algorithms.hashers.Hash;
import org.apache.log4j.Logger;
import javax.annotation.Nonnull;
import java.util.BitSet;
/**
* For details, please refer to the <a href="http://www.itu... | Added non null annotation
| src/main/java/com/inigoillan/libanalytics/algorithms/oddsketch/OddSketch.java | Added non null annotation | <ide><path>rc/main/java/com/inigoillan/libanalytics/algorithms/oddsketch/OddSketch.java
<ide> *
<ide> * @param sketch The representation of the underlying sketch
<ide> */
<del> protected void setSketch(BitSet sketch) {
<add> protected void setSketch(@Nonnull BitSet sketch) {
<ide> this.sket... | |
Java | apache-2.0 | 0a690e2434164fea968ce53815f82d699f5d2269 | 0 | morfeo8marc/mapdb,ringoluo/mapdb,olupas/MapDB,jankotek/mapdb,hangum/mapdb,pettermahlen/mapdb,jankotek/mapdb,mebigfatguy/mapdb,jankotek/MapDB,jankotek/MapDB,mebigfatguy/mapdb,SleimanJneidi/mapdb,codeaudit/mapdb,binarytemple/mapdb,cocosli/mapdb,lamfire/mapdb,olupas/MapDB,sumit784/mapdb,ffjiao/mapdb | package org.mapdb;
/**
* Transaction factory
*
* @author Jan Kotek
*/
public class TxMaker {
/** marker for deleted records*/
protected static final Object DELETED = new Object();
/** parent engine under which modifications are stored */
protected org.mapdb.TxEngine engine;
public TxMaker(... | src/main/java/org/mapdb/TxMaker.java | package org.mapdb;
/**
* Transaction factory
*
* @author Jan Kotek
*/
public class TxMaker {
/** marker for deleted records*/
protected static final Object DELETED = new Object();
/** parent engine under which modifications are stored */
protected org.mapdb.TxEngine engine;
public TxMaker(... | TxMaker: execute can return an result
| src/main/java/org/mapdb/TxMaker.java | TxMaker: execute can return an result | <ide><path>rc/main/java/org/mapdb/TxMaker.java
<ide> }
<ide> }
<ide>
<add> /**
<add> * Executes given block withing single transaction.
<add> * If block throws {@code TxRollbackException} execution is repeated until it does not fail.
<add> *
<add> * This method returns result returned by... | |
JavaScript | mit | e208ab7f0e497fb989c9341ab5b0cf4af3589bfc | 0 | le0pard/pgtune,le0pard/pgtune,le0pard/pgtune | // Example webpack configuration with asset fingerprinting in production.
'use strict';
const path = require('path');
const webpack = require('webpack');
const TerserPlugin = require('terser-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const WorkboxPlugin = require('workbox-webpac... | webpack.config.js | // Example webpack configuration with asset fingerprinting in production.
'use strict';
const path = require('path');
const webpack = require('webpack');
const TerserPlugin = require('terser-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const WorkboxPlugin = require('workbox-webpac... | update node.js and limit
| webpack.config.js | update node.js and limit | <ide><path>ebpack.config.js
<ide> swSrc: './webpack/sw.js',
<ide> swDest: 'sw.js',
<ide> compileSrc: true,
<del> maximumFileSizeToCacheInBytes: (isProduction ? 3145728 : 15730000)
<add> maximumFileSizeToCacheInBytes: (isProduction ? 2097152 : 15730000)
<ide> })
<ide> )
<ide> | |
Java | apache-2.0 | b120ec37fda55110a4092a900071eaa722d14f48 | 0 | mulesoft-consulting/sumtotal-connector,mulesoft-consulting/sumtotal-connector,mulesoft-consulting/sumtotal-connector,mulesoft-consulting/sumtotal-connector,mulesoft-consulting/sumtotal-connector | package com.mulesoft.demo.sumtotal.client;
import com.sumtotalsystems.sumtotal7.sumtotalbo.User;
import com.sumtotalsystems.sumtotal7.sumtotalws.AspenContextIdentity;
import com.sumtotalsystems.sumtotal7.sumtotalws.UserSecurityContext;
import com.sumtotalsystems.sumtotal7.sumtotalws.UserToken;
import com.sumtotalsyste... | src/main/java/com/mulesoft/demo/sumtotal/client/SanityCheck.java | package com.mulesoft.demo.sumtotal.client;
import com.sumtotalsystems.sumtotal7.sumtotalbo.User;
import com.sumtotalsystems.sumtotal7.sumtotalws.AspenContextIdentity;
import com.sumtotalsystems.sumtotal7.sumtotalws.UserSecurityContext;
import com.sumtotalsystems.sumtotal7.sumtotalws.UserToken;
import com.sumtotalsyste... | added WS logout test
| src/main/java/com/mulesoft/demo/sumtotal/client/SanityCheck.java | added WS logout test | <ide><path>rc/main/java/com/mulesoft/demo/sumtotal/client/SanityCheck.java
<ide> import javax.jws.WebParam;
<ide> import javax.xml.datatype.XMLGregorianCalendar;
<ide> import javax.xml.ws.Holder;
<add>import javax.xml.ws.soap.SOAPFaultException;
<ide>
<ide> /**
<ide> *
<ide> String newUserName = "MuleSoft_" +... | |
JavaScript | mit | 5760b3b696ec13e20e57f02d4d0d20d1df91842b | 0 | marcosmoura/generator-scaffold,marcosmoura/generator-scaffold | (function() {
'use strict';
var util = require('util'),
path = require('path'),
slug = require('slug'),
esformatter = require('esformatter'),
esOptions = {
indent: {
value: ' '
},
lineBreak: {
after: {
... | app/index.js | (function() {
'use strict';
var util = require('util'),
path = require('path'),
slug = require('slug'),
esformatter = require('esformatter'),
esOptions = {
indent: {
value: ' '
},
lineBreak: {
after: {
... | Use singlequotes instead of double
| app/index.js | Use singlequotes instead of double | <ide><path>pp/index.js
<ide> },
<ide> lineBreak: {
<ide> after: {
<del> "ArrayExpressionComma" : 1
<add> 'ArrayExpressionComma' : 1
<ide> }
<ide> }
<ide> },
<ide> watchOption = path.join(gru... | |
Java | mit | 2a73245d882bf17264774a3967f7fecd8ae49a7d | 0 | fbelzunc/build-blocker-plugin,jenkinsci/build-blocker-plugin,fbelzunc/build-blocker-plugin,jenkinsci/build-blocker-plugin | /*
* The MIT License
*
* Copyright (c) 2004-2011, Sun Microsystems, Inc., Frederik Fromm
*
* 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 limita... | src/main/java/hudson/plugins/buildblocker/BuildBlockerQueueTaskDispatcher.java | /*
* The MIT License
*
* Copyright (c) 2004-2011, Sun Microsystems, Inc., Frederik Fromm
*
* 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 limita... | Fix at the good level
| src/main/java/hudson/plugins/buildblocker/BuildBlockerQueueTaskDispatcher.java | Fix at the good level | <ide><path>rc/main/java/hudson/plugins/buildblocker/BuildBlockerQueueTaskDispatcher.java
<ide> import hudson.Extension;
<ide> import hudson.matrix.MatrixConfiguration;
<ide> import hudson.model.AbstractProject;
<add>import hudson.model.Job;
<ide> import hudson.model.Node;
<ide> import hudson.model.Queue;
<ide> import h... | |
Java | apache-2.0 | 3ef6e6e04aab101154c993860e605f4ae009ae93 | 0 | lorenamgUMU/sakai,noondaysun/sakai,whumph/sakai,willkara/sakai,rodriguezdevera/sakai,joserabal/sakai,liubo404/sakai,rodriguezdevera/sakai,tl-its-umich-edu/sakai,pushyamig/sakai,willkara/sakai,OpenCollabZA/sakai,noondaysun/sakai,wfuedu/sakai,Fudan-University/sakai,hackbuteer59/sakai,introp-software/sakai,noondaysun/saka... | package org.sakaiproject.profile2.tool.pages.panels;
import java.io.IOException;
import java.io.ObjectInputStream;
import org.apache.log4j.Logger;
import org.apache.wicket.AttributeModifier;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.markup.html.AjaxLink;
import org.apache.wicket.a... | profile2/tool/src/java/org/sakaiproject/profile2/tool/pages/panels/ConfirmedFriends.java | package org.sakaiproject.profile2.tool.pages.panels;
import java.io.IOException;
import java.io.ObjectInputStream;
import org.apache.log4j.Logger;
import org.apache.wicket.AttributeModifier;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.markup.html.AjaxLink;
import org.apache.wicket.e... | PRFL-81 paging via AJAX rather than normal requests
git-svn-id: 30a950ac960002fda4f107a8e0f4b5b25bfa9e10@70613 66ffb92e-73f9-0310-93c1-f5514f145a0a
| profile2/tool/src/java/org/sakaiproject/profile2/tool/pages/panels/ConfirmedFriends.java | PRFL-81 paging via AJAX rather than normal requests | <ide><path>rofile2/tool/src/java/org/sakaiproject/profile2/tool/pages/panels/ConfirmedFriends.java
<ide> import org.apache.wicket.AttributeModifier;
<ide> import org.apache.wicket.ajax.AjaxRequestTarget;
<ide> import org.apache.wicket.ajax.markup.html.AjaxLink;
<add>import org.apache.wicket.ajax.markup.html.navigation.... | |
Java | mit | d6eec4a7d22b2786161c59260978b62971bcad90 | 0 | Phazyck/JGlyphs,Phazyck/JGlyphs,Phazyck/JGlyphs | package dk.itu.jglyph.swing;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.Swi... | src/dk/itu/jglyph/swing/GlyphFrame.java | package dk.itu.jglyph.swing;
import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.Swi... | Stop printing look and feel.
| src/dk/itu/jglyph/swing/GlyphFrame.java | Stop printing look and feel. | <ide><path>rc/dk/itu/jglyph/swing/GlyphFrame.java
<ide> try {
<ide> String laf = UIManager.getSystemLookAndFeelClassName();
<ide> // laf = "javax.swing.plaf.nimbus.NimbusLookAndFeel";
<del> System.out.println(laf);
<add>// System.out.println(laf);
<ide> UIManager.setLookAndFeel(laf);
<ide>
<ide> } catc... | |
Java | epl-1.0 | 20f53272a526de192b66af173e0ca035d0b93d82 | 0 | debrief/debrief,pecko/debrief,debrief/debrief,debrief/debrief,theanuradha/debrief,pecko/debrief,debrief/debrief,theanuradha/debrief,alastrina123/debrief,theanuradha/debrief,pecko/debrief,theanuradha/debrief,pecko/debrief,alastrina123/debrief,pecko/debrief,theanuradha/debrief,theanuradha/debrief,pecko/debrief,debrief/de... | /**
*
*/
package org.mwc.cmap.plotViewer.actions;
import org.mwc.cmap.core.CorePlugin;
import org.mwc.cmap.core.operations.DebriefActionWrapper;
import MWC.GUI.PlainChart;
import MWC.GUI.Tools.Action;
import MWC.GenericData.WorldArea;
/**
* @author ian.mayo
*
*/
public class FitToWindow extends CoreEditorActi... | trunk/org.mwc.cmap.plotViewer/src/org/mwc/cmap/plotViewer/actions/FitToWindow.java | /**
*
*/
package org.mwc.cmap.plotViewer.actions;
import org.mwc.cmap.core.CorePlugin;
import org.mwc.cmap.core.operations.DebriefActionWrapper;
import MWC.GUI.PlainChart;
import MWC.GUI.Tools.Action;
import MWC.GenericData.WorldArea;
/**
* @author ian.mayo
*
*/
public class FitToWindow extends CoreEditorActi... | Include parent layers object, to ease update
git-svn-id: d2601f1668e3cd2de409f5c059006a6eeada0abf@1481 cb33b658-6c9e-41a7-9690-cba343611204
| trunk/org.mwc.cmap.plotViewer/src/org/mwc/cmap/plotViewer/actions/FitToWindow.java | Include parent layers object, to ease update | <ide><path>runk/org.mwc.cmap.plotViewer/src/org/mwc/cmap/plotViewer/actions/FitToWindow.java
<ide> Action theAction = new MWC.GUI.Tools.Chart.FitToWin.FitToWinAction(theChart, oldArea);
<ide>
<ide> // and wrap it
<del> DebriefActionWrapper daw = new DebriefActionWrapper(theAction, null);
<add> DebriefActionWr... | |
Java | mit | 5fb8c19ee3760a22d2ca05737620ecb57fb9e53c | 0 | tobsbot/AKGBensheim,P0T4T0x/AKGBensheim,P0T4T0x/AKGBensheim | package de.akg_bensheim.akgbensheim;
import android.app.Activity;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.app.LoaderManager;
import android.support.v4.content.Loader;
import android.support.v4.widget.SwipeRefreshLayout;
import android.util.L... | app/src/main/java/de/akg_bensheim/akgbensheim/SubstituteFragment.java | package de.akg_bensheim.akgbensheim;
import android.app.Activity;
import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.support.v4.content.Loader;
import android.support.v4.app.LoaderManager;
import android.support.v4.widget.SwipeRefreshLayout;
import android.util.L... | minorspinner fixes
| app/src/main/java/de/akg_bensheim/akgbensheim/SubstituteFragment.java | minorspinner fixes | <ide><path>pp/src/main/java/de/akg_bensheim/akgbensheim/SubstituteFragment.java
<ide> import android.os.Build;
<ide> import android.os.Bundle;
<ide> import android.support.v4.app.Fragment;
<add>import android.support.v4.app.LoaderManager;
<ide> import android.support.v4.content.Loader;
<del>import android.support.v4.ap... | |
Java | mpl-2.0 | 23b53e04ae3a99b6e6d736229eddbfdf149c8950 | 0 | JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core | /*************************************************************************
*
* $RCSfile: PropertySet.java,v $
*
* $Revision: 1.4 $
*
* last change: $Author: jl $ $Date: 2002-05-02 11:02:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* ... | javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java | /*************************************************************************
*
* $RCSfile: PropertySet.java,v $
*
* $Revision: 1.3 $
*
* last change: $Author: jl $ $Date: 2002-04-29 08:45:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* ... | #97746# docu change
| javaunohelper/com/sun/star/lib/uno/helper/PropertySet.java | #97746# docu change | <ide><path>avaunohelper/com/sun/star/lib/uno/helper/PropertySet.java
<ide> *
<ide> * $RCSfile: PropertySet.java,v $
<ide> *
<del> * $Revision: 1.3 $
<del> *
<del> * last change: $Author: jl $ $Date: 2002-04-29 08:45:46 $
<add> * $Revision: 1.4 $
<add> *
<add> * last change: $Author: jl $ $Date: 2002-05-02 11:02... | |
Java | apache-2.0 | 3b5b9a98b058b44b666acce06757b82af634bf49 | 0 | ieatbyte/Finaldemos | package com.wh.finaldemos.demos.system.notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.graphics.BitmapFactory;
import android.os.Bundle;
import android.support.v4.app.NotificationCompat;
import android... | FinalDemos/app/src/main/java/com/wh/finaldemos/demos/system/notification/SendNotificationActivity.java | package com.wh.finaldemos.demos.system.notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.NotificationCompat;
import android.support.v4.app.TaskStackBuilder;
impor... | add big picture style notification
| FinalDemos/app/src/main/java/com/wh/finaldemos/demos/system/notification/SendNotificationActivity.java | add big picture style notification | <ide><path>inalDemos/app/src/main/java/com/wh/finaldemos/demos/system/notification/SendNotificationActivity.java
<ide> import android.app.PendingIntent;
<ide> import android.content.Context;
<ide> import android.content.Intent;
<add>import android.graphics.BitmapFactory;
<ide> import android.os.Bundle;
<ide> import and... | |
Java | apache-2.0 | 5616fca71c0a9855ae78ba8aa3d602e7c8adb3c9 | 0 | wso2-extensions/identity-inbound-auth-oauth,wso2-extensions/identity-inbound-auth-oauth | /*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... | components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/validators/TokenValidationHandler.java | /*
* Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/li... | Add allowed scopes to introspect response after scope validation
| components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/validators/TokenValidationHandler.java | Add allowed scopes to introspect response after scope validation | <ide><path>omponents/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/validators/TokenValidationHandler.java
<ide> throws IdentityOAuth2Exception {
<ide>
<ide> OAuth2IntrospectionResponseDTO introResp = new OAuth2IntrospectionResponseDTO();
<del> AccessTokenDO acc... | |
JavaScript | mit | 204cc9ea4803b04ff026341282f1a398d966307c | 0 | tirejs/tire | var document = window.document
, _tire = window.tire
, _$ = window.$
, idExp = /^#([\w\-]*)$/
, classExp = /^\.([\w\-]*)$/
, tagNameExp = /^[\w\-]+$/
, tagExp = /^<([\w:]+)/
, slice = [].slice
, noop = function () {}
, table = document.createElement('table')
... | src/core.js | var document = window.document
, _tire = window.tire
, _$ = window.$
, idExp = /^#([\w\-]*)$/
, classExp = /^\.([\w\-]*)$/
, tagNameExp = /^[\w\-]+$/
, tagExp = /^<([\w:]+)/
, slice = [].slice
, noop = function () {}
, table = document.createElement('table')
... | Fixed problem with $.each(tireObject) that did take more then just the elements.
| src/core.js | Fixed problem with $.each(tireObject) that did take more then just the elements. | <ide><path>rc/core.js
<ide> if (callback.call(target[i], i, target[i]) === false) break;
<ide> }
<ide> } else {
<del> for (key in target) {
<del> if (target.hasOwnProperty(key) && callback.call(target[key], key, target[key]) === false) break;
<add> if (target instanceof tire) {
<add> ... | |
Java | mit | 70cd22b3670ea1b3378d65a0d32b4c2c5b28589a | 0 | mcflugen/wmt-rest,mcflugen/wmt-rest | /**
* <License>
*/
package edu.colorado.csdms.wmt.client.ui;
import com.google.gwt.core.shared.GWT;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.HasHorizontalAlignment;
import edu.colorado.cs... | gui/src/edu/colorado/csdms/wmt/client/ui/ParameterTable.java | /**
* <License>
*/
package edu.colorado.csdms.wmt.client.ui;
import com.google.gwt.core.shared.GWT;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.HasHorizontalAlignment;
import edu.colorado.cs... | Remove deprecated ParameterTable#loadTable method
| gui/src/edu/colorado/csdms/wmt/client/ui/ParameterTable.java | Remove deprecated ParameterTable#loadTable method | <ide><path>ui/src/edu/colorado/csdms/wmt/client/ui/ParameterTable.java
<ide> new HTML("Select a model component to view and edit its parameters");
<ide> infoMessage.setStyleName("wmt-ParameterTableMessage");
<ide> this.setWidget(0, 0, infoMessage);
<del> }
<del>
<del> @Deprecated
<del> public void lo... | |
Java | apache-2.0 | b5e20e88929a546aabb2ee968be847f16bf3cb91 | 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.
*
* 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/codeInsight/template/macro/GroovyScriptMacro.java | /*
* Copyright 2000-2017 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | let groovyScript in live templates use the plugin of the language under caret (IDEA-218938)
GitOrigin-RevId: c89810fc3bbe0b5cbeaa1241b5dfecee98579b66 | platform/lang-impl/src/com/intellij/codeInsight/template/macro/GroovyScriptMacro.java | let groovyScript in live templates use the plugin of the language under caret (IDEA-218938) | <ide><path>latform/lang-impl/src/com/intellij/codeInsight/template/macro/GroovyScriptMacro.java
<ide> import com.intellij.codeInsight.lookup.LookupElement;
<ide> import com.intellij.codeInsight.lookup.LookupElementBuilder;
<ide> import com.intellij.codeInsight.template.*;
<add>import com.intellij.lang.Language;
<add>im... | |
Java | apache-2.0 | 2dda057d88aac1d461730ba364849e2155a32d9a | 0 | RedRoma/aroma-data-operations,AromaTech/banana-data-operations,RedRoma/aroma-data-operations,RedRoma/banana-data-operations | /*
* Copyright 2016 RedRoma, Inc..
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | src/main/java/tech/aroma/data/UserPreferencesRepository.java | /*
* Copyright 2016 RedRoma, Inc..
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed... | UserPreferencesRepository: Addressing #8 comments | src/main/java/tech/aroma/data/UserPreferencesRepository.java | UserPreferencesRepository: Addressing #8 comments | <ide><path>rc/main/java/tech/aroma/data/UserPreferencesRepository.java
<ide> *
<ide> * <pre>
<ide> *
<del> * For Example:
<del> * + Mobile Device (used to send Push Notifications)
<add> * Examples:
<add> * + Mobile Devices (used to send Push Notifications)
<ide> * + Personal Reactions (applied to messages that hi... | |
Java | apache-2.0 | 9e271001bc26b9b449c1c8e17e79f01d9bdc678f | 0 | GlenRSmith/elasticsearch,GlenRSmith/elasticsearch,GlenRSmith/elasticsearch,GlenRSmith/elasticsearch,GlenRSmith/elasticsearch | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.searchablesnapshots.cache.blob;
i... | x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/cache/blob/SearchableSnapshotsBlobStoreCacheIntegTests.java | /*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
package org.elasticsearch.xpack.searchablesnapshots.cache.blob;
i... | Fix SearchableSnapshotsBlobStoreCacheIntegTests.testBlobStoreCache (#78616)
This test often fails on CI because it does not wait for the data
node that hosts the .snapshot-blob-cache primary shard to
process the cluster state update and triggers the clean up.
Closes #78512 | x-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/cache/blob/SearchableSnapshotsBlobStoreCacheIntegTests.java | Fix SearchableSnapshotsBlobStoreCacheIntegTests.testBlobStoreCache (#78616) | <ide><path>-pack/plugin/searchable-snapshots/src/internalClusterTest/java/org/elasticsearch/xpack/searchablesnapshots/cache/blob/SearchableSnapshotsBlobStoreCacheIntegTests.java
<ide> import java.util.Collection;
<ide> import java.util.List;
<ide> import java.util.Locale;
<add>import java.util.concurrent.TimeUnit;
<ide... | |
JavaScript | agpl-3.0 | 955d649821f74afba8489f2046915de144d94671 | 0 | hawkrives/gobbldygook,hawkrives/gobbldygook,hawkrives/gobbldygook | var readJson = require('./readJson')
var Promise = require('bluebird')
var _ = require('lodash')
var add = require('./add')
var buildDeptNum = require('./deptNum').buildDeptNum
function storeCourses(item) {
return new Promise(function(resolve, reject) {
console.log(item.meta.path, 'called storeCourses')
_.map(it... | client/helpers/loadData.js | var readJson = require('./readJson')
var Promise = require('bluebird')
var _ = require('lodash')
var buildDeptNum = require('./deptNum')
// get info.json
// for each list in file['info'],
// check ['hash'] against the db's hash
// if it matches, return.
// else, request the file from ['path'],
// delete the p... | break loadData badly
| client/helpers/loadData.js | break loadData badly | <ide><path>lient/helpers/loadData.js
<ide> var readJson = require('./readJson')
<ide> var Promise = require('bluebird')
<ide> var _ = require('lodash')
<add>var add = require('./add')
<ide>
<del>var buildDeptNum = require('./deptNum')
<add>var buildDeptNum = require('./deptNum').buildDeptNum
<ide>
<del>// get info.js... | |
JavaScript | agpl-3.0 | 13a23bd9273af3ccffa8e92998d22e3f61ad03c1 | 0 | unicef/rhizome,SeedScientific/polio,SeedScientific/polio,SeedScientific/polio,unicef/rhizome,unicef/polio,SeedScientific/polio,unicef/rhizome,unicef/polio,unicef/polio,unicef/rhizome,unicef/polio,SeedScientific/polio | 'use strict';
var _ = require('lodash');
var d3 = require('d3');
var moment = require('moment');
var api = require('data/api');
module.exports = {
replace: true,
template: require('./choropleth.html'),
paramAttributes: [
'data-indicator',
'data-range'
],
mixins: [
require('./mixin/resize')
... | ui/js/component/chart/choropleth.js | 'use strict';
var _ = require('lodash');
var d3 = require('d3');
var moment = require('moment');
var api = require('data/api');
module.exports = {
replace: true,
template: require('./choropleth.html'),
paramAttributes: [
'data-indicator',
'data-range'
],
mixins: [
require('./mixin/resize')
... | Include the parent region in mappedRegions
Including the parent region ID along with the child regions ensures that
region will be colored even if there are no child regions to display
| ui/js/component/chart/choropleth.js | Include the parent region in mappedRegions | <ide><path>i/js/component/chart/choropleth.js
<ide> return null;
<ide> }
<ide>
<del> return _(this.geo.features)
<add> return [this.region.id].concat(_(this.geo.features)
<ide> .pluck('properties')
<ide> .pluck('region_id')
<del> .value();
<add> .value());
<ide> },
<ide>
<ide> features: f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.