lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
apache-2.0
0b456cdce67a768cbec3454bc3438ca21301214e
0
ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma
/* * The Gemma project * * Copyright (c) 2007 University of British Columbia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
gemma-core/src/main/java/ubic/gemma/analysis/report/WhatsNewServiceImpl.java
/* * The Gemma project * * Copyright (c) 2007 University of British Columbia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
Work on git Issue #1 - Core - fix problem with assay count method
gemma-core/src/main/java/ubic/gemma/analysis/report/WhatsNewServiceImpl.java
Work on git Issue #1 - Core - fix problem with assay count method
<ide><path>emma-core/src/main/java/ubic/gemma/analysis/report/WhatsNewServiceImpl.java <ide> <ide> } <ide> <del> /* <del> * // for Quartz (non-Javadoc) <del> * <del> * @see ubic.gemma.analysis.report.WhatsNewServiceI#generateWeeklyReport() <del> */ <ide> @Override <ide> public void gen...
Java
apache-2.0
c93acfddaa5a7370a1acedc70596f7d5df90ecb7
0
b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl,b2ihealthcare/snow-owl
/* * Copyright 2011-2022 B2i Healthcare Pte Ltd, http://b2i.sg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
snomed/com.b2international.snowowl.snomed.core.rest.tests/src/com/b2international/snowowl/snomed/core/rest/io/SnomedExportApiTest.java
/* * Copyright 2011-2022 B2i Healthcare Pte Ltd, http://b2i.sg * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
fix(test): incorrect assertion (HTTP 400 vs 404) when path is not found
snomed/com.b2international.snowowl.snomed.core.rest.tests/src/com/b2international/snowowl/snomed/core/rest/io/SnomedExportApiTest.java
fix(test): incorrect assertion (HTTP 400 vs 404) when path is not found
<ide><path>nomed/com.b2international.snowowl.snomed.core.rest.tests/src/com/b2international/snowowl/snomed/core/rest/io/SnomedExportApiTest.java <ide> <ide> final Map<String, Object> config = Map.of("type", Rf2ReleaseType.DELTA.name()); <ide> export(codeSystemId + "@1234567", config).then() <del> .statusCode(4...
Java
unlicense
6caf27baa460db8fd4d67067799752b31a2ace1f
0
mikhail-dvorkin/competitions-distributed,mikhail-dvorkin/competitions-distributed
package dgcj.y2015.round1; @SuppressWarnings("static-access") public class almost_sorted extends dgcj.DgcjProblem { static Test1 TESTED; public static long NumberOfFiles() { return TESTED.NumberOfFiles(); } public static long MaxDistance() { return TESTED.MaxDistance(); } public static long Identifier(lon...
dgcj/y2015/round1/almost_sorted.java
package dgcj.y2015.round1; @SuppressWarnings("static-access") public class almost_sorted extends dgcj.DgcjProblem { static Test3 TESTED; public static long NumberOfFiles() { return TESTED.NumberOfFiles(); } public static long MaxDistance() { return TESTED.MaxDistance(); } public static long Identifier(lo...
minor
dgcj/y2015/round1/almost_sorted.java
minor
<ide><path>gcj/y2015/round1/almost_sorted.java <ide> package dgcj.y2015.round1; <del> <ide> <ide> @SuppressWarnings("static-access") <ide> public class almost_sorted extends dgcj.DgcjProblem { <del> static Test3 TESTED; <add> static Test1 TESTED; <ide> <ide> public static long NumberOfFiles() { <ide> return TESTED...
Java
apache-2.0
17a094382d30b5e32f4f93615c694bae88e8ac68
0
cuba-platform/cuba,dimone-kun/cuba,cuba-platform/cuba,cuba-platform/cuba,dimone-kun/cuba,dimone-kun/cuba
/* * Copyright (c) 2008-2016 Haulmont. * * 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 l...
modules/core/src/com/haulmont/cuba/core/app/Emailer.java
/* * Copyright (c) 2008-2016 Haulmont. * * 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 l...
PL-7936 Inconsistent log messages when error occurs in markAsSent() or returnToQueue() methods of Emailer
modules/core/src/com/haulmont/cuba/core/app/Emailer.java
PL-7936 Inconsistent log messages when error occurs in markAsSent() or returnToQueue() methods of Emailer
<ide><path>odules/core/src/com/haulmont/cuba/core/app/Emailer.java <ide> msg.setStatus(SendingStatus.QUEUE); <ide> <ide> tx.commit(); <add> } catch (Exception e) { <add> log.error("Error returning message to '{}' to the queue", sendingMessage.getAddress(), e); <ide> } ...
JavaScript
mit
7d0ef51b445ac8cb61c96717bb1efe394afedce4
0
Twilio-org/phonebank,Twilio-org/phonebank
import React from 'react'; import ReactDOM from 'react-dom'; import { BrowserRouter, Route, Switch, Redirect } from 'react-router-dom'; import { Provider } from 'react-redux'; import store from './store'; import '../stylesheets/app.less'; // Components import App from './components/app'; import RegistrationForm from '...
public/src/index.js
import React from 'react'; import ReactDOM from 'react-dom'; import { BrowserRouter, Route, Switch, Redirect } from 'react-router-dom'; import { Provider } from 'react-redux'; import store from './store'; import '../stylesheets/app.less'; // Components import App from './components/app'; import RegistrationForm from '...
linted index.js notes: ignore error about arrow functions, this structure was taken from the react-router docs alos ignore error for css import, it's the bootstrap styling
public/src/index.js
linted index.js
<ide><path>ublic/src/index.js <ide> <ide> import { authTransition } from './actions/login'; <ide> <del>const Root = props => { <del> //isLogged in will go here, does not exist yet! <del> //login redirect if logged in is true needs to redirect to the landing page <add>const Root = () => { <add> // checks if user id...
Java
lgpl-2.1
d7f39f7870cacd2b8cf22669084cf940bb5264d2
0
ZeroCM/zcm,ZeroCM/zcm,ZeroCM/zcm,ZeroCM/zcm,ZeroCM/zcm,ZeroCM/zcm
package example.apps; import java.io.*; import zcm.zcm.*; import example.zcmtypes.example_t; public class Sub implements ZCMSubscriber { ZCM zcm; public Sub() { zcm = ZCM.getSingleton(); sub(); } public void sub() { zcm.subscribe("EXAMPLE", this); } public vo...
examples/java/example/apps/Sub.java
package example.apps; import java.io.*; import zcm.zcm.*; import example.zcmtypes.example_t; public class Sub implements ZCMSubscriber { ZCM zcm; public Sub() { zcm = ZCM.getSingleton(); zcm.subscribe("EXAMPLE", this); } public void messageReceived(ZCM zcm, String channel, ZCMDat...
just ensuring that the java unsubscribe version does stop message handling
examples/java/example/apps/Sub.java
just ensuring that the java unsubscribe version does stop message handling
<ide><path>xamples/java/example/apps/Sub.java <ide> public Sub() <ide> { <ide> zcm = ZCM.getSingleton(); <add> sub(); <add> } <add> <add> public void sub() <add> { <ide> zcm.subscribe("EXAMPLE", this); <add> } <add> <add> public void unsub() <add> { <add> zcm.unsu...
Java
bsd-3-clause
c5dc2318c90554311b0b4d56cff93c805c72be29
0
gutomaia/steam-condenser-java
/** * This code is free software; you can redistribute it and/or modify it under * the terms of the new BSD License. * * Copyright (c) 2009-2010, Sebastian Staudt */ package steamcondenser.steam.community.l4d; import java.util.ArrayList; import java.util.HashMap; import org.w3c.dom.Element; import org.w3c.dom.N...
java/src/steamcondenser/steam/community/l4d/L4DStats.java
/** * This code is free software; you can redistribute it and/or modify it under * the terms of the new BSD License. * * Copyright (c) 2009-2010, Sebastian Staudt */ package steamcondenser.steam.community.l4d; import java.util.ArrayList; import java.util.HashMap; import org.w3c.dom.Element; import org.w3c.dom.N...
Java: Added missing throws declaration in L4DStats#getSurvivalStats
java/src/steamcondenser/steam/community/l4d/L4DStats.java
Java: Added missing throws declaration in L4DStats#getSurvivalStats
<ide><path>ava/src/steamcondenser/steam/community/l4d/L4DStats.java <ide> * If the Survival statistics haven't been parsed already, parsing is done <ide> * now. <ide> */ <del> public HashMap<String, Object> getSurvivalStats() { <add> public HashMap<String, Object> getSurvivalStats() <add> throws SteamC...
JavaScript
agpl-3.0
bb153d2e9b3e9c2d178d22b1b5068bfea84aade3
0
AF83/Geeks
var server_host = 'localhost'; var server_port = 3000; var base_auth_url = "http://localhost:7070"; var base_url = 'http://'+ server_host +':'+ server_port; exports.db = { host: 'localhost', port: 27017, db_name: 'Geeks_dev', // Max number of URLs in DB: max_nb_urls: 200 }; exports.server = { host: serve...
src/config.js
exports.db = { host: 'localhost', port: 27017, db_name: 'Geeks_dev', // Max number of URLs in DB: max_nb_urls: 200 }; exports.server = { host: 'localhost', port: 3000, websocket_port: 3001 }; exports.session = { secret: "n0F5z60HmCGpHaznEJAROV5jNH1oXxBAI1XBfXaPMzv", session_key: "geeks" }; expor...
Update config.
src/config.js
Update config.
<ide><path>rc/config.js <add>var server_host = 'localhost'; <add>var server_port = 3000; <add>var base_auth_url = "http://localhost:7070"; <add> <add>var base_url = 'http://'+ server_host +':'+ server_port; <ide> <ide> exports.db = { <ide> host: 'localhost', <ide> }; <ide> <ide> exports.server = { <del> host: 'loc...
JavaScript
apache-2.0
c8cf334755061a039c5530fed9ee160b1bce235a
0
georgegtx/emp3-web,missioncommand/emp3-web,missioncommand/emp3-web,missioncommand/emp3-web,missioncommand/emp3-web,georgegtx/emp3-web,georgegtx/emp3-web,georgegtx/emp3-web
var EMPWorldWind = EMPWorldWind || {}; /** * @namespace */ EMPWorldWind.utils = {}; /** * @typedef {object} RGBAColor * @property {number} r * @property {number} g * @property {number} b * @property {number} a 0-1 */ /** * * @param {MouseEvent} event * @returns {{lat: undefined, lon: undefined, clientX: *...
src/mapengine/worldwind/utils/EMPWorldWind.utils.js
var EMPWorldWind = EMPWorldWind || {}; /** * @namespace */ EMPWorldWind.utils = {}; /** * @typedef {object} RGBAColor * @property {number} r * @property {number} g * @property {number} b * @property {number} a 0-1 */ /** * * @param {MouseEvent} event * @returns {{lat: undefined, lon: undefined, clientX: *...
convenience function for determining the current bounds size
src/mapengine/worldwind/utils/EMPWorldWind.utils.js
convenience function for determining the current bounds size
<ide><path>rc/mapengine/worldwind/utils/EMPWorldWind.utils.js <ide> <ide> return newHex; <ide> }; <add> <add>/** <add> * Diagonal distance from corner to corner <add> * @param {Bounds} bounds <add> * @returns {number} Distance in meters of the bounds diagonal <add> */ <add>EMPWorldWind.utils.boundsSize = function(bo...
JavaScript
mit
7868f31d62c6393b23a39f68374d19438205e4aa
0
guillaume-gomez/phaserEs6Tutorials,guillaume-gomez/phaserEs6Tutorials
class Player extends Phaser.Sprite { constructor(game, x, y, key, frame) { super(game, x, y, key, frame); //Set the players anchor point to be in the middle horizontally this.anchor.setTo(0.5, 1.0); //Enable physics on the player game.physics.arcade.enable(this); //Make the player fall by a...
src/objects/Player.js
class Player extends Phaser.Sprite { constructor(game, x, y, key, frame) { super(game, x, y, key, frame); //Set the players anchor point to be in the middle horizontally this.anchor.setTo(0.5, 1.0); //Enable physics on the player game.physics.arcade.enable(this); //Make the player fall by a...
handle move
src/objects/Player.js
handle move
<ide><path>rc/objects/Player.js <ide> this.body.bounce.y = 0.1; <ide> } <ide> <add> handleMove(cursors) { <add> //Make the sprite jump when the up key is pushed <add> if(cursors.up.isDown && this.body.wasTouching.down) { <add> this.body.velocity.y = -1400; <add> } <add> //Make the player go l...
JavaScript
mit
d62da564ef143b42f066a105a7821763fa3e10b0
0
metaphorjs/metaphorjs-watchable
(function(){ "use strict"; if (typeof window == "undefined") { global.window = global; } var Observable; if (typeof global != "undefined") { try { Observable = require("metaphorjs-observable"); } catch (thrownError) { if (global.Observabl...
metaphorjs.watchable.js
(function(){ "use strict"; if (typeof window == "undefined") { global.window = global; } var Observable; if (typeof global != "undefined") { try { Observable = require("metaphorjs-observable"); } catch (thrownError) { if (global.Observabl...
fixes in destroy()
metaphorjs.watchable.js
fixes in destroy()
<ide><path>etaphorjs.watchable.js <ide> arraySlice: false, <ide> pipes: null, <ide> inputPipes: null, <add> lastSetValue: null, <ide> <ide> <ide> _processInputPipes: function(text, dataObj) { <ide> if (prev != '\\' && prev != "'" && prev != '"' && next != "'"...
Java
bsd-3-clause
b04428a15ab1a982e856fea1c8ad79b62f5d12ac
0
jjfiv/coop,jjfiv/coop,jjfiv/coop,jjfiv/coop
package edu.umass.cs.jfoley.coop.document; import ciir.jfoley.chai.string.StrUtil; import edu.umass.cs.jfoley.coop.tokenization.CoopTokenizer; import org.junit.Test; import java.util.ArrayList; import java.util.List; import static org.junit.Assert.assertEquals; /** * @author jfoley */ public class CoopDocTest { ...
src/test/java/edu/umass/cs/jfoley/coop/document/CoopDocTest.java
package edu.umass.cs.jfoley.coop.document; import ciir.jfoley.chai.string.StrUtil; import edu.umass.cs.jfoley.coop.tokenization.CoopTokenizer; import org.junit.Test; import java.util.ArrayList; import java.util.List; import static org.junit.Assert.assertEquals; /** * @author jfoley */ public class CoopDocTest { ...
Fix failing test
src/test/java/edu/umass/cs/jfoley/coop/document/CoopDocTest.java
Fix failing test
<ide><path>rc/test/java/edu/umass/cs/jfoley/coop/document/CoopDocTest.java <ide> expected.add("he also write the beatles ' song `` do not pass i by '' and `` octopus 's garden '' , and be credit as a co-writer of other , such as `` what go on '' and `` flying '' ."); <ide> <ide> CoopDoc doc = tokenizer.createD...
Java
apache-2.0
2a11181f8de1fe2146f92cff6baf25ed41b468d5
0
ontop/ontop,ontop/ontop,ontop/ontop,ontop/ontop,ontop/ontop
package it.unibz.inf.ontop.model.term.functionsymbol.db.impl; import com.google.common.collect.HashBasedTable; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableTable; import com.google.common.collect.Table; import com.google.inject.Inject; import it.unibz.inf.ontop.model.term.I...
db/rdb/src/main/java/it/unibz/inf/ontop/model/term/functionsymbol/db/impl/H2SQLDBFunctionSymbolFactory.java
package it.unibz.inf.ontop.model.term.functionsymbol.db.impl; import com.google.common.collect.HashBasedTable; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableTable; import com.google.common.collect.Table; import com.google.inject.Inject; import it.unibz.inf.ontop.model.term.I...
H2 timestamp formatting improved.
db/rdb/src/main/java/it/unibz/inf/ontop/model/term/functionsymbol/db/impl/H2SQLDBFunctionSymbolFactory.java
H2 timestamp formatting improved.
<ide><path>b/rdb/src/main/java/it/unibz/inf/ontop/model/term/functionsymbol/db/impl/H2SQLDBFunctionSymbolFactory.java <ide> <ide> /** <ide> * Asks the timezone to be included <del> * <del> * TODO: fix the timezone <ide> */ <ide> @Override <ide> protected String serializeDateTimeNorm(Immut...
Java
apache-2.0
2685c338daa757cbc0f697ac86ab64228578d28a
0
trask/glowroot,trask/glowroot,glowroot/glowroot,glowroot/glowroot,glowroot/glowroot,trask/glowroot,glowroot/glowroot,trask/glowroot
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
agent-parent/integration-tests/src/test/java/org/glowroot/agent/tests/javaagent/ImmediatePartialStoreTest.java
/* * Copyright 2015 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
Fix sporadic travis build failure
agent-parent/integration-tests/src/test/java/org/glowroot/agent/tests/javaagent/ImmediatePartialStoreTest.java
Fix sporadic travis build failure
<ide><path>gent-parent/integration-tests/src/test/java/org/glowroot/agent/tests/javaagent/ImmediatePartialStoreTest.java <ide> }); <ide> // give time for partial store to occur <ide> // (this has been source of sporadic failures on slow travis builds) <del> Thread.sleep(5000); <add> ...
Java
mit
b989c813771b6e844da0fc6b6ff9f22ed249cda9
0
Prisjacke/Sismos
map-reduce/NBJoinReducer.java
import java.io.IOException; import java.util.ArrayList; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Reducer; /** * @author Shannon Quinn * * Performs the reduce-side join on the model and test data. */ public class NBJoinReducer extends Reducer<Text, Text, Text, Text> { @Override ...
Delete NBJoinReducer.java
map-reduce/NBJoinReducer.java
Delete NBJoinReducer.java
<ide><path>ap-reduce/NBJoinReducer.java <del>import java.io.IOException; <del>import java.util.ArrayList; <del> <del>import org.apache.hadoop.io.Text; <del>import org.apache.hadoop.mapreduce.Reducer; <del> <del>/** <del> * @author Shannon Quinn <del> * <del> * Performs the reduce-side join on the model and test data. ...
Java
bsd-3-clause
f34641778e140279be1d8261ba2fdd3ab5ead4b2
0
muloem/xins,muloem/xins,muloem/xins
/* * $Id$ * * Copyright 2003-2005 Wanadoo Nederland B.V. * See the COPYRIGHT file for redistribution and use restrictions. */ package org.xins.server; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java...
src/java-server-framework/org/xins/server/AccessRuleFile.java
/* * $Id$ * * Copyright 2003-2005 Wanadoo Nederland B.V. * See the COPYRIGHT file for redistribution and use restrictions. */ package org.xins.server; import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java...
Setting the ParseException cause in one go.
src/java-server-framework/org/xins/server/AccessRuleFile.java
Setting the ParseException cause in one go.
<ide><path>rc/java-server-framework/org/xins/server/AccessRuleFile.java <ide> String message = "File \"" <ide> + file <ide> + "\" cannot be opened for reading."; <del> ParseException pe = new ParseException(message); <del> ExceptionUtils.setCause(...
Java
lgpl-2.1
ae8fbff5f73e43f78ad84f5b8dccf2e8402f66b1
0
sewe/spotbugs,johnscancella/spotbugs,sewe/spotbugs,johnscancella/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,sewe/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs,KengoTODA/spotbugs,KengoTODA/spotbugs,sewe/spotbugs,johnscancella/spotbugs
/* * FindBugs - Find bugs in Java programs * Copyright (C) 2003,2004 University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, ...
findbugs/src/java/edu/umd/cs/findbugs/DetectorFactory.java
/* * FindBugs - Find bugs in Java programs * Copyright (C) 2003,2004 University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, ...
Added some debugging code for checking required JRE version. git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@3992 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
findbugs/src/java/edu/umd/cs/findbugs/DetectorFactory.java
Added some debugging code for checking required JRE version.
<ide><path>indbugs/src/java/edu/umd/cs/findbugs/DetectorFactory.java <ide> * @see Detector <ide> */ <ide> public class DetectorFactory { <add> private static final boolean DEBUG_JAVA_VERSION = Boolean.getBoolean("findbugs.debug.javaversion"); <add> <ide> private Plugin plugin; <ide> private final Class detectorCla...
Java
apache-2.0
26f36929864963f554ed4fc7d44b621dd1ba42c4
0
hazelcast/hazelcast-remote-controller,hazelcast/hazelcast-remote-controller
package com.hazelcast.remotecontroller; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.hazelcast.internal.util.TimeUtil; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import net.lingala.zip4j.ZipFile; import org.pytho...
src/main/java/com/hazelcast/remotecontroller/HazelcastCloudManager.java
package com.hazelcast.remotecontroller; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.hazelcast.internal.util.TimeUtil; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import net.lingala.zip4j.ZipFile; import org.pytho...
Small fixes
src/main/java/com/hazelcast/remotecontroller/HazelcastCloudManager.java
Small fixes
<ide><path>rc/main/java/com/hazelcast/remotecontroller/HazelcastCloudManager.java <ide> } <ide> } <ide> <del> public CloudCluster getCluster(String id) { <del> try { <del> query = String.format("{\"query\": \"query { cluster(clusterId: \\\"%s\\\") { id name hazelcastVersion isTlsEnable...
JavaScript
mit
14102cfae5e2ed866264723eca5349f2b6274c40
0
webapp/library,webapp/library
// Save a reference to CommonJS `require` implementation. var nodeRequire = typeof require !== "undefined" && require; // Register modules first, but do not execute the callbacks until a matching // `require` has been requested for this module. var define = function(moduleName, deps, callback) { // Allow deps to be ...
build/define.js
// Save a reference to CommonJS `require` implementation. var nodeRequire = typeof require !== "undefined" && require; // Register modules first, but do not execute the callbacks until a matching // `require` has been requested for this module. var define = function(moduleName, deps, callback) { // Allow deps to be ...
Still broken bundled builds.
build/define.js
Still broken bundled builds.
<ide><path>uild/define.js <ide> // mapped. <ide> require.conf.packages && require.conf.packages.forEach(function(package) { <ide> if (moduleName.indexOf(package.location) === 0) { <del> console.log(moduleName, package); <ide> moduleName = package.name + moduleName.slice(moduleName.indexOf("/")); <add> ...
Java
agpl-3.0
752ed75ee8816a0599ff6dd5adacccabf4ac7eaa
0
VietOpenCPS/opencps-v2,VietOpenCPS/opencps-v2
package org.opencps.dossiermgt.service.indexer; import java.util.Locale; import javax.portlet.PortletRequest; import javax.portlet.PortletResponse; import org.opencps.dossiermgt.constants.DossierPartTerm; import org.opencps.dossiermgt.model.DossierPart; import org.opencps.dossiermgt.model.DossierTemplate; import org...
modules/backend-dossiermgt/backend-dossiermgt-service/src/main/java/org/opencps/dossiermgt/service/indexer/DossierPartIndexer.java
package org.opencps.dossiermgt.service.indexer; import java.util.Locale; import javax.portlet.PortletRequest; import javax.portlet.PortletResponse; import org.opencps.dossiermgt.constants.DossierPartTerm; import org.opencps.dossiermgt.model.DossierPart; import org.opencps.dossiermgt.model.DossierTemplate; import org...
Update indexer
modules/backend-dossiermgt/backend-dossiermgt-service/src/main/java/org/opencps/dossiermgt/service/indexer/DossierPartIndexer.java
Update indexer
<ide><path>odules/backend-dossiermgt/backend-dossiermgt-service/src/main/java/org/opencps/dossiermgt/service/indexer/DossierPartIndexer.java <ide> DossierTemplate dossierTemplate = DossierTemplateLocalServiceUtil.getByTemplateNo(object.getGroupId(), object.getTemplateNo()); <ide> <ide> document.addNumberSortable...
Java
apache-2.0
7946c610aaebe36830351cb99c1fade94000c5b8
0
opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open,opennetworkinglab/spring-open
package net.onrc.onos.core.topology; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.concurrent.TimeUnit; import net.floodlightcontroller.core.IFloodlightProviderService; import net.floodlightcontroller.core.IFloodlightProviderService.Role; import...
src/main/java/net/onrc/onos/core/topology/TopologyPublisher.java
package net.onrc.onos.core.topology; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.concurrent.TimeUnit; import net.floodlightcontroller.core.IFloodlightProviderService; import net.floodlightcontroller.core.IFloodlightProviderService.Role; import...
Fix a bug when processing Port UP/DOWN events from the OpenFlow driver, because those were ignored. This is a bug that was introduced by the OpenFlow-1.3 integration. With this fix, we threat Port UP/DOWN same as Port ADD/DELETE which was the behavior before the integration. Bug found by: Andrew Lee Change-Id: Ib94...
src/main/java/net/onrc/onos/core/topology/TopologyPublisher.java
Fix a bug when processing Port UP/DOWN events from the OpenFlow driver, because those were ignored.
<ide><path>rc/main/java/net/onrc/onos/core/topology/TopologyPublisher.java <ide> case DELETE: <ide> switchPortRemoved(swId, port); <ide> break; <add> case UP: <add> // NOTE: Currently, we treat Port UP/DOWN same as Port ADD/DELETE <add> switchPortAdded(swId, ...
Java
apache-2.0
7f93d713b1063c51d0a3d1561b9e6198e0d98c03
0
nedap/archie
package com.nedap.archie.rm.composition; import com.fasterxml.jackson.annotation.JsonIgnore; import com.nedap.archie.rm.archetyped.Locatable; import com.nedap.archie.rm.datatypes.CodePhrase; import com.nedap.archie.rm.generic.PartyProxy; import com.nedap.archie.rm.datavalues.DvCodedText; import javax.annotation.Nulla...
src/main/java/com/nedap/archie/rm/composition/Composition.java
package com.nedap.archie.rm.composition; import com.nedap.archie.rm.archetyped.Locatable; import com.nedap.archie.rm.datatypes.CodePhrase; import com.nedap.archie.rm.generic.PartyProxy; import com.nedap.archie.rm.datavalues.DvCodedText; import javax.annotation.Nullable; import javax.xml.bind.annotation.XmlAccessType;...
Fix json parsing of Composition objects
src/main/java/com/nedap/archie/rm/composition/Composition.java
Fix json parsing of Composition objects
<ide><path>rc/main/java/com/nedap/archie/rm/composition/Composition.java <ide> package com.nedap.archie.rm.composition; <ide> <add>import com.fasterxml.jackson.annotation.JsonIgnore; <ide> import com.nedap.archie.rm.archetyped.Locatable; <ide> import com.nedap.archie.rm.datatypes.CodePhrase; <ide> import com.nedap.arc...
JavaScript
mit
faf3efeac2a30006142009ecdd2a7f3bd27b47c0
0
IonicaBizau/electroner,IonicaBizau/electroner
"use strict"; // Dependencies const spawn = require("spawno") , oArgv = require("oargv") , electronPath = require("electron-prebuilt") ; /** * electroner * Starts the Electron process. * * @name electroner * @function * @param {Object} options The path to the main script or an object interpreted * ...
lib/index.js
// Dependencies var Exec = require("child_process").exec , OArgv = require("oargv") , ElectronPath = require("electron-prebuilt") ; /** * Electroner * * @name Electroner * @function * @param {Object} options The path to the main script or an object interpreted * by [`oargv`](https://github.com/IonicaBizau/...
Use spawno instead of exec
lib/index.js
Use spawno instead of exec
<ide><path>ib/index.js <add>"use strict"; <add> <ide> // Dependencies <del>var Exec = require("child_process").exec <del> , OArgv = require("oargv") <del> , ElectronPath = require("electron-prebuilt") <del> ; <add>const spawn = require("spawno") <add> , oArgv = require("oargv") <add> , electronPath = require("...
Java
apache-2.0
c9d2ba426093a77a69eda51dc92f46d4e50267d7
0
vherilier/jmeter,etnetera/jmeter,ra0077/jmeter,etnetera/jmeter,ra0077/jmeter,etnetera/jmeter,etnetera/jmeter,ubikloadpack/jmeter,ra0077/jmeter,max3163/jmeter,vherilier/jmeter,vherilier/jmeter,max3163/jmeter,max3163/jmeter,ubikloadpack/jmeter,etnetera/jmeter,ubikloadpack/jmeter,max3163/jmeter,ra0077/jmeter,vherilier/jme...
/* * 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/components/org/apache/jmeter/visualizers/RenderInBrowser.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 ...
Bug 60144 View Results Tree : Add a more up to date Browser Renderer to replace old Render Fix Exception java.lang.IllegalStateException:Toolkit not initialized Bugzilla Id: 60144 git-svn-id: 5ccfe34f605a6c2f9041ff2965ab60012c62539a@1775720 13f79535-47bb-0310-9956-ffa450edef68
src/components/org/apache/jmeter/visualizers/RenderInBrowser.java
Bug 60144 View Results Tree : Add a more up to date Browser Renderer to replace old Render Fix Exception java.lang.IllegalStateException:Toolkit not initialized Bugzilla Id: 60144
<ide><path>rc/components/org/apache/jmeter/visualizers/RenderInBrowser.java <ide> } <ide> <ide> private JPanel initComponents(String htmlContent) { <del> createScene(htmlContent); <del> <ide> // Create it only in AWT Thread <ide> jfxPanel = new JFXPanel(); <add> createScene(htmlCo...
Java
apache-2.0
255c3601ded91e9c13340e5b6c6cd3c898bef504
0
mtransitapps/mtransit-for-android,mtransitapps/mtransit-for-android,mtransitapps/mtransit-for-android
package org.mtransit.android.data; import java.lang.ref.WeakReference; import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import org.mtransit.android.R; import org.mtransit.android.commons.CollectionUtils; import org.mtransit.android.commons.ColorUtils; import org.mtransit.android.c...
src/org/mtransit/android/data/POIManager.java
package org.mtransit.android.data; import java.lang.ref.WeakReference; import java.util.ArrayList; import java.util.Collection; import java.util.Comparator; import org.mtransit.android.R; import org.mtransit.android.commons.CollectionUtils; import org.mtransit.android.commons.ColorUtils; import org.mtransit.android.c...
Missing part.
src/org/mtransit/android/data/POIManager.java
Missing part.
<ide><path>rc/org/mtransit/android/data/POIManager.java <ide> } <ide> } else if (poi instanceof Module) { <ide> return ((Module) poi).getColorInt(); <del> } else { <del> Integer agencyColorInt = DataSourceProvider.get(context).getAgencyColorInt(context, poi.getAuthority()); <del> if (agencyColorInt !...
JavaScript
mit
8762ad73a2e898ac54795405611f878251f5bf32
0
wolfy1339/TPT-NodeJS,wolfy1339/TPT-NodeJS,wolfy1339/TPT-NodeJS
// Define variables that *must* be before the other alphabetically sorted variables var express = require('express'); // Define the rest of the variables below in alphabetical order var app = express(); var bodyParser = require('body-parser'); var child; var cookieParser = require('cookie-parser'); var crypto = require...
app.js
// Define variables that *must* be before the other alphabetically sorted variables var express = require('express'); // Define the rest of the variables below in alphabetical order var app = express(); var bodyParser = require('body-parser'); var child; var cookieParser = require('cookie-parser'); var crypto = require...
Forgot semicolon
app.js
Forgot semicolon
<ide><path>pp.js <ide> for (ercn = 0; ercn < 15; ercn++) { <ide> ercs[ercn] = uuid.v4(); <ide> } <del>var erclist = ercs.join('\n') <add>var erclist = ercs.join('\n'); <ide> console.log('List of ERCs: ' + erclist); <ide> // ERC Validation <ide> function validate_erc(erc) {
Java
lgpl-2.1
a7373acc67b616226e076645af4dbed5066a0813
0
UWCS/choob,UWCS/choob,UWCS/choob,UWCS/choob,UWCS/choob,UWCS/choob
/** @author Faux */ import uk.co.uwcs.choob.*; import uk.co.uwcs.choob.modules.*; import uk.co.uwcs.choob.support.*; import uk.co.uwcs.choob.support.events.*; import java.sql.*; import java.text.*; import java.io.*; import java.text.DateFormatSymbols; public class See { private Modules mods; private IRCInterface i...
contrib/alpha/See.java
/** @author Faux */ import uk.co.uwcs.choob.*; import uk.co.uwcs.choob.modules.*; import uk.co.uwcs.choob.support.*; import uk.co.uwcs.choob.support.events.*; import java.sql.*; import java.text.*; import java.io.*; import java.text.DateFormatSymbols; public class See { private Modules mods; private IRCInterface i...
Fixes ticket #202. Bugfixes/features/speedups to !bodyclock from a 5 days of #compsoc.
contrib/alpha/See.java
Fixes ticket #202. Bugfixes/features/speedups to !bodyclock from a 5 days of #compsoc.
<ide><path>ontrib/alpha/See.java <ide> <ide> public final synchronized void commandBodyClock( Message mes ) throws SQLException <ide> { <del> final String nick=mods.util.getParamString(mes).trim(); <add> String nick=mods.util.getParamString(mes).trim(); <ide> <del> if (nick.length() < 3) <del> { <del> irc.sen...
Java
apache-2.0
aa5832bddf147d18cc2c4fc12726a911cbe62d2f
0
EcoleKeine/pentaho-kettle,yshakhau/pentaho-kettle,tmcsantos/pentaho-kettle,mdamour1976/pentaho-kettle,lgrill-pentaho/pentaho-kettle,mattyb149/pentaho-kettle,MikhailHubanau/pentaho-kettle,IvanNikolaychuk/pentaho-kettle,mdamour1976/pentaho-kettle,alina-ipatina/pentaho-kettle,AlexanderBuloichik/pentaho-kettle,bmorrise/pen...
/* * Copyright (c) 2007 Pentaho Corporation. All rights reserved. * This software was developed by Pentaho Corporation and is provided under the terms * of the GNU Lesser General Public License, Version 2.1. You may not use * this file except in compliance with the license. If you need a copy of the license, ...
src-core/org/pentaho/di/core/row/ValueMeta.java
/* * Copyright (c) 2007 Pentaho Corporation. All rights reserved. * This software was developed by Pentaho Corporation and is provided under the terms * of the GNU Lesser General Public License, Version 2.1. You may not use * this file except in compliance with the license. If you need a copy of the license, ...
PDI-1524 : Stream lookup breaks between 3.1.0-M2 and 3.1.0-RC1 git-svn-id: 51b39fcfd0d3a6ea7caa15377cad4af13b9d2664@8805 5fb7f6ec-07c1-534a-b4ca-9155e429e800
src-core/org/pentaho/di/core/row/ValueMeta.java
PDI-1524 : Stream lookup breaks between 3.1.0-M2 and 3.1.0-RC1
<ide><path>rc-core/org/pentaho/di/core/row/ValueMeta.java <ide> case TYPE_INTEGER: <ide> switch(storageType) <ide> { <del> case STORAGE_TYPE_NORMAL: return BigDecimal.valueOf( ((Long)object).doubleValue() ); <add> case STORAGE_TYPE_NORMAL: return Big...
Java
apache-2.0
ad9e8e2a35fa81cd8936a836ea63007ba58de91e
0
mtransitapps/ca-l-assomption-mrclasso-bus-parser,mtransitapps/ca-l-assomption-mrclasso-bus-parser
package org.mtransit.parser.ca_l_assomption_mrclasso_bus; import java.util.HashSet; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.mtransit.parser.DefaultAgencyTools; import org.mtransit.parser.Utils; import org.mtransit.parser.gtfs.data.GCalendar; import org.mtransit.parser.gtfs.data.GCal...
src/org/mtransit/parser/ca_l_assomption_mrclasso_bus/LAssomptionMRCLASSOBusAgencyTools.java
package org.mtransit.parser.ca_l_assomption_mrclasso_bus; import java.util.HashSet; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.mtransit.parser.DefaultAgencyTools; import org.mtransit.parser.Utils; import org.mtransit.parser.gtfs.data.GCalendar; import org.mtransit.parser.gtfs.data.GCal...
Remove route color when same as agency color.
src/org/mtransit/parser/ca_l_assomption_mrclasso_bus/LAssomptionMRCLASSOBusAgencyTools.java
Remove route color when same as agency color.
<ide><path>rc/org/mtransit/parser/ca_l_assomption_mrclasso_bus/LAssomptionMRCLASSOBusAgencyTools.java <ide> return MSpec.cleanLabel(routeLongName); <ide> } <ide> <del> private static final String ROUTE_COLOR = "00718F"; <add> private static final String AGENCY_COLOR = "00718F"; <add> <add> @Override <add> public St...
Java
apache-2.0
63c6912d9580b753ca5fb740be392874478c3235
0
apache/commons-vfs,apache/commons-vfs,ecki/commons-vfs,ecki/commons-vfs
/* * 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 ...
commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileMonitor.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 ...
Make starting and stopping a DefaultFileMonitor safer to use from multiple threads.
commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileMonitor.java
Make starting and stopping a DefaultFileMonitor safer to use from multiple threads.
<ide><path>ommons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileMonitor.java <ide> /** <ide> * Starts monitoring the files that have been added. <ide> */ <del> public void start() { <add> public synchronized void start() { <ide> if (this.monitorThread == null) { <ide> ...
Java
apache-2.0
b93910b329640361ce4f9a076369e3bdda0fbd3f
0
alecharp/media-file-decompressor,alecharp/media-file-decompressor
/* * Copyright 2013 Adrien Lecharpentier * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
decompressor-core/src/main/java/org/lecharpentier/media/decompressor/core/utils/SFVIterator.java
/* * Copyright 2013 Adrien Lecharpentier * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
Formating review
decompressor-core/src/main/java/org/lecharpentier/media/decompressor/core/utils/SFVIterator.java
Formating review
<ide><path>ecompressor-core/src/main/java/org/lecharpentier/media/decompressor/core/utils/SFVIterator.java <ide> private final Pattern pattern; <ide> <ide> public SFVIterator(String sfvFilePath) throws FileNotFoundException { <del> scanner = new Scanner(new FileInputStream(sfvFilePath)); <add> sc...
Java
apache-2.0
49a5610566e24c5030848600a134855bdd01e82a
0
cuba-platform/cuba,dimone-kun/cuba,cuba-platform/cuba,cuba-platform/cuba,dimone-kun/cuba,dimone-kun/cuba
/* * Copyright (c) 2008-2013 Haulmont. All rights reserved. * Use is subject to license terms, see http://www.cuba-platform.com/license for details. */ package com.haulmont.cuba.web.toolkit.ui.client.timer; import com.vaadin.shared.annotations.NoLoadingIndicator; import com.vaadin.shared.communication.ServerRpc; ...
modules/web/src/com/haulmont/cuba/web/toolkit/ui/client/timer/CubaTimerServerRpc.java
/* * Copyright (c) 2008-2013 Haulmont. All rights reserved. * Use is subject to license terms, see http://www.cuba-platform.com/license for details. */ package com.haulmont.cuba.web.toolkit.ui.client.timer; import com.vaadin.shared.communication.ServerRpc; /** * @author artamonov * @version $Id$ */ public inte...
Use @NoLoadingIndicator for timer server call #PL-5512
modules/web/src/com/haulmont/cuba/web/toolkit/ui/client/timer/CubaTimerServerRpc.java
Use @NoLoadingIndicator for timer server call #PL-5512
<ide><path>odules/web/src/com/haulmont/cuba/web/toolkit/ui/client/timer/CubaTimerServerRpc.java <ide> <ide> package com.haulmont.cuba.web.toolkit.ui.client.timer; <ide> <add>import com.vaadin.shared.annotations.NoLoadingIndicator; <ide> import com.vaadin.shared.communication.ServerRpc; <ide> <ide> /** <ide> */ <ide...
JavaScript
apache-2.0
92084980ce58d6782d34b2a1a34b84086071fc20
0
reTHINK-project/dev-hyperty-toolkit,reTHINK-project/dev-hyperty-toolkit,reTHINK-project/dev-hyperty-toolkit
// version: 0.11.1 // date: Tue May 22 2018 12:46:40 GMT+0100 (WEST) // licence: /** * Copyright 2016 PT Inovação e Sistemas SA * Copyright 2016 INESC-ID * Copyright 2016 QUOBIS NETWORKS SL * Copyright 2016 FRAUNHOFER-GESELLSCHAFT ZUR FOERDERUNG DER ANGEWANDTEN FORSCHUNG E.V * Copyright 2016 ORANGE SA * Copyright 2016...
resources/Runtime.js
// version: 0.11.1 // date: Thu May 03 2018 10:29:19 GMT+0100 (WEST) // licence: /** * Copyright 2016 PT Inovação e Sistemas SA * Copyright 2016 INESC-ID * Copyright 2016 QUOBIS NETWORKS SL * Copyright 2016 FRAUNHOFER-GESELLSCHAFT ZUR FOERDERUNG DER ANGEWANDTEN FORSCHUNG E.V * Copyright 2016 ORANGE SA * Copyright 2016...
new Runtime added
resources/Runtime.js
new Runtime added
<ide><path>esources/Runtime.js <ide> // version: 0.11.1 <del>// date: Thu May 03 2018 10:29:19 GMT+0100 (WEST) <add>// date: Tue May 22 2018 12:46:40 GMT+0100 (WEST) <ide> // licence: <ide> /** <ide> * Copyright 2016 PT Inovação e Sistemas SA <ide> **/ <ide> <ide> <del>!function(e,n){"object"==typeof exports&&"objec...
Java
apache-2.0
9d5ca08b76ff0de1704c870ffb5d4a3bd8997c75
0
osmmosques/osm-mosques,osmmosques/osm-mosques,osmmosques/osm-mosques,osmmosques/osm-mosques
package com.gurkensalat.osm.mosques; import com.gurkensalat.osm.mosques.service.StatisticsService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.EnableAutoConfiguration; import org.springframework.ht...
webapp/src/main/java/com/gurkensalat/osm/mosques/StatisticsRestController.java
package com.gurkensalat.osm.mosques; import com.gurkensalat.osm.mosques.jobs.Producer; import com.gurkensalat.osm.mosques.service.StatisticsService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.Enab...
Remove unused imports
webapp/src/main/java/com/gurkensalat/osm/mosques/StatisticsRestController.java
Remove unused imports
<ide><path>ebapp/src/main/java/com/gurkensalat/osm/mosques/StatisticsRestController.java <ide> package com.gurkensalat.osm.mosques; <ide> <del>import com.gurkensalat.osm.mosques.jobs.Producer; <ide> import com.gurkensalat.osm.mosques.service.StatisticsService; <ide> import org.slf4j.Logger; <ide> import org.slf4j.Logg...
Java
agpl-3.0
4b0da2d4e9b753e80e7a2f1258f76a9e9828544d
0
m-sc/yamcs,yamcs/yamcs,fqqb/yamcs,fqqb/yamcs,m-sc/yamcs,m-sc/yamcs,fqqb/yamcs,m-sc/yamcs,yamcs/yamcs,m-sc/yamcs,yamcs/yamcs,yamcs/yamcs,m-sc/yamcs,yamcs/yamcs,fqqb/yamcs,fqqb/yamcs,yamcs/yamcs,fqqb/yamcs
package org.yamcs.simulator; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.yamcs.tctm.ccsds.error.BchCltuGenerator.BchEncoder; import org.yamcs.tctm.ccsds.error.CltuGenerator.Encoding; import org.yamcs.tc...
simulator/src/main/java/org/yamcs/simulator/UdpTcFrameLink.java
package org.yamcs.simulator; import java.io.IOException; import java.net.DatagramPacket; import java.net.DatagramSocket; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.yamcs.tctm.ccsds.error.BchCltuGenerator.BchEncoder; import org.yamcs.tctm.ccsds.error.CltuGenerator.Encoding; import org.yamcs.tc...
Allow frames of max size Frames of length 1024 become larger when encoded into CLTUs
simulator/src/main/java/org/yamcs/simulator/UdpTcFrameLink.java
Allow frames of max size
<ide><path>imulator/src/main/java/org/yamcs/simulator/UdpTcFrameLink.java <ide> public UdpTcFrameLink(ColSimulator simulator, int port) { <ide> this.simulator = simulator; <ide> this.port = port; <del> datagram = new DatagramPacket(new byte[1024], 1024); <add> datagram = new DatagramPa...
Java
unlicense
b181c9a8b557205869bee9ffee00bb577d3f2423
0
Samourai-Wallet/samourai-wallet-android
package com.samourai.wallet; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.security.SignatureException; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Deque; import java.util.HashMap; import java.util.Itera...
app/src/main/java/com/samourai/wallet/OpenDimeActivity.java
package com.samourai.wallet; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.security.SignatureException; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Deque; import java.util.HashMap; import java.util.Itera...
OpenDimeActivity: test for null
app/src/main/java/com/samourai/wallet/OpenDimeActivity.java
OpenDimeActivity: test for null
<ide><path>pp/src/main/java/com/samourai/wallet/OpenDimeActivity.java <ide> <ide> try { <ide> <del> if(obj.has("wallet")) { <add> if(obj != null && obj.has("wallet")) { <ide> ...
Java
epl-1.0
7bf7d8d0c8431f8c4a03ff3fa05db2c613b4ceac
0
jandsu/ironjacamar,ironjacamar/ironjacamar,johnaoahra80/ironjacamar,darranl/ironjacamar,ironjacamar/ironjacamar,rarguello/ironjacamar,jesperpedersen/ironjacamar,jpkrohling/ironjacamar,maeste/ironjacamar,ironjacamar/ironjacamar
/* * IronJacamar, a Java EE Connector Architecture implementation * Copyright 2012, Red Hat Inc, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or...
eis/src/main/java/org/jboss/jca/test/eis/impl/HandlerSocket.java
/* * IronJacamar, a Java EE Connector Architecture implementation * Copyright 2012, Red Hat Inc, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or...
[JBJCA-1037] Memory leak in HandlerServer
eis/src/main/java/org/jboss/jca/test/eis/impl/HandlerSocket.java
[JBJCA-1037] Memory leak in HandlerServer
<ide><path>is/src/main/java/org/jboss/jca/test/eis/impl/HandlerSocket.java <ide> */ <ide> void shutdown() <ide> { <add> server.done(this); <add> <ide> try <ide> { <ide> if (socket != null)
Java
apache-2.0
f6fd249d8c448ba2cf825538c5d8d327cb96471b
0
chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq
/** * 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...
activemq-core/src/main/java/org/apache/activemq/broker/region/Topic.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...
remove unused import git-svn-id: d2a93f579bd4835921162e9a69396c846e49961c@633806 13f79535-47bb-0310-9956-ffa450edef68
activemq-core/src/main/java/org/apache/activemq/broker/region/Topic.java
remove unused import
<ide><path>ctivemq-core/src/main/java/org/apache/activemq/broker/region/Topic.java <ide> import java.util.concurrent.CopyOnWriteArraySet; <ide> <ide> import org.apache.activemq.advisory.AdvisorySupport; <del>import org.apache.activemq.broker.Broker; <ide> import org.apache.activemq.broker.BrokerService; <ide> import o...
JavaScript
mit
4fc9133740d2edb8b62a44ed6a592563a0bee508
0
davidpett/data,HeroicEric/data,courajs/data,rtablada/data,swarmbox/data,swarmbox/data,courajs/data,rtablada/data,rtablada/data,swarmbox/data,davidpett/data,arenoir/data,workmanw/data,ryanpatrickcook/data,arenoir/data,rtablada/data,workmanw/data,ryanpatrickcook/data,workmanw/data,courajs/data,HeroicEric/data,arenoir/dat...
import Ember from 'ember'; import Reference from './reference'; /** An RecordReference is a low level API that allows users and addon author to perform meta-operations on a record. @class RecordReference @namespace DS */ var RecordReference = function(store, internalModel) { this._super$constructor(stor...
addon/-private/system/references/record.js
import Ember from 'ember'; import Reference from './reference'; var RecordReference = function(store, internalModel) { this._super$constructor(store, internalModel); this.type = internalModel.modelName; this._id = internalModel.id; }; RecordReference.prototype = Object.create(Reference.prototype); RecordReferen...
Add API docs for the RecordReference
addon/-private/system/references/record.js
Add API docs for the RecordReference
<ide><path>ddon/-private/system/references/record.js <ide> import Ember from 'ember'; <ide> import Reference from './reference'; <ide> <add>/** <add> An RecordReference is a low level API that allows users and <add> addon author to perform meta-operations on a record. <add> <add> @class RecordReference <add> @...
Java
apache-2.0
f3aaf6731d27e908153b10e8123ae91cc85879b0
0
hgl888/TableFixHeaders,finch0219/TableFixHeaders,pengleelove/TableFixHeaders,tgioihan/TablePager,HellCat24/DynamicTableView,jaohoang/TableFixHeaders,msdx/TableFixHeaders,InQBarna/TableFixHeaders,suyimin/TableFixHeaders,xialeizhou/TableFixHeaders
package com.inqbarna.tablefixheaders; import java.util.ArrayList; import java.util.List; import com.inqbarna.tablefixheaders.adapters.TableAdapter; import android.annotation.SuppressLint; import android.content.Context; import android.database.DataSetObserver; import android.util.AttributeSet; import andr...
library/src/com/inqbarna/tablefixheaders/TableFixHeaders.java
package com.inqbarna.tablefixheaders; import java.util.ArrayList; import java.util.List; import com.inqbarna.tablefixheaders.adapters.TableAdapter; import android.annotation.SuppressLint; import android.content.Context; import android.database.DataSetObserver; import android.util.AttributeSet; import andr...
Some commented logs removed
library/src/com/inqbarna/tablefixheaders/TableFixHeaders.java
Some commented logs removed
<ide><path>ibrary/src/com/inqbarna/tablefixheaders/TableFixHeaders.java <ide> final Boolean left = diffX == 0 ? null : diffX <= 0; <ide> final Boolean up = diffY == 0 ? null : diffY <= 0; <ide> <del> // System.out.println("up: " + up); <del> // System.out.println("left: " + left); <ide> // scro...
Java
bsd-3-clause
4bda133ab4af72a51bd57f1ee2594e6ad424a8d4
0
CBIIT/caaers,CBIIT/caaers,NCIP/caaers,NCIP/caaers,CBIIT/caaers,CBIIT/caaers,NCIP/caaers,CBIIT/caaers,NCIP/caaers
package gov.nih.nci.cabig.caaers.rules.business.service; import gov.nih.nci.cabig.caaers.rules.brxml.Rule; import gov.nih.nci.cabig.caaers.rules.brxml.RuleSet; import java.io.InputStream; import java.util.List; import java.util.Map; /** * * @author vinaykumar * * This is a facacde for authoring and deployment ...
projects/rules/src/main/java/gov/nih/nci/cabig/caaers/rules/business/service/RulesEngineService.java
package gov.nih.nci.cabig.caaers.rules.business.service; import gov.nih.nci.cabig.caaers.rules.brxml.Rule; import gov.nih.nci.cabig.caaers.rules.brxml.RuleSet; import java.io.InputStream; import java.util.List; import java.util.Map; /** * * @author vinaykumar * * This is a facacde for authoring and deployment ...
SVN-Revision: 1790
projects/rules/src/main/java/gov/nih/nci/cabig/caaers/rules/business/service/RulesEngineService.java
<ide><path>rojects/rules/src/main/java/gov/nih/nci/cabig/caaers/rules/business/service/RulesEngineService.java <ide> * For creating RuleSets <ide> * <ide> */ <del> public RuleSet createRuleSetForSponsor( String ruleSetName,String sponsorName); <add> public RuleSet createRuleSetForSponsor( String ruleSetName,Stri...
JavaScript
agpl-3.0
7e3a98ba334b0f5c965459848d6b79892ddec970
0
gsnbng/erpnext,gsnbng/erpnext,gsnbng/erpnext,gsnbng/erpnext
frappe.provide('frappe.ui.form'); erpnext.doctypes_with_dimensions = ["GL Entry", "Sales Invoice", "Purchase Invoice", "Payment Entry", "Asset", "Expense Claim", "Stock Entry", "Budget", "Payroll Entry", "Delivery Note", "Sales Invoice Item", "Purchase Invoice Item", "Purchase Order Item", "Journal Entry Account", "...
erpnext/public/js/utils/dimension_tree_filter.js
frappe.provide('frappe.ui.form'); erpnext.doctypes_with_dimensions = ["GL Entry", "Sales Invoice", "Purchase Invoice", "Payment Entry", "Asset", "Expense Claim", "Stock Entry", "Budget", "Payroll Entry", "Delivery Note", "Sales Invoice Item", "Purchase Invoice Item", "Purchase Order Item", "Journal Entry Account", "...
fix: Is group filter fixes in dimensions
erpnext/public/js/utils/dimension_tree_filter.js
fix: Is group filter fixes in dimensions
<ide><path>rpnext/public/js/utils/dimension_tree_filter.js <ide> onload: function(frm) { <ide> dimension_filters.then((dimensions) => { <ide> dimensions.forEach((dimension) => { <del> frm.set_query(dimension['fieldname'],{ <del> "is_group": 0 <del> }); <add> frappe.model.with_doctype(dimension...
Java
apache-2.0
a4fd63c8289e9e9624d241a78be05efd65ae143c
0
yahoo/fili,yahoo/fili,yahoo/fili
// Copyright 2018 Oath Inc. // Licensed under the terms of the Apache license. Please see LICENSE.md file distributed with this work for terms. package com.yahoo.bard.webservice.druid.model.filter; import com.fasterxml.jackson.annotation.JsonValue; import com.yahoo.bard.webservice.data.dimension.Dimension; import com....
fili-core/src/main/java/com/yahoo/bard/webservice/druid/model/filter/BoundFilter.java
// Copyright 2018 Oath Inc. // Licensed under the terms of the Apache license. Please see LICENSE.md file distributed with this work for terms. package com.yahoo.bard.webservice.druid.model.filter; import com.fasterxml.jackson.annotation.JsonValue; import com.yahoo.bard.webservice.data.dimension.Dimension; import com....
Check style
fili-core/src/main/java/com/yahoo/bard/webservice/druid/model/filter/BoundFilter.java
Check style
<ide><path>ili-core/src/main/java/com/yahoo/bard/webservice/druid/model/filter/BoundFilter.java <ide> <ide> import javax.validation.constraints.Null; <ide> import java.util.Objects; <del>import java.util.Optional; <ide> <ide> /** <ide> * Bound filters supports filtering on ranges of dimension values. <ide> ...
Java
agpl-3.0
74ee118f430a2cb88c3fbc2113090250f88da8e5
0
exciteproject/refext
package de.exciteproject.refext.train; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.regex.Pattern; import cc.mallet.fst.CRF; import cc...
src/main/java/de/exciteproject/refext/train/SupervisedCrfTrainer.java
package de.exciteproject.refext.train; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.regex.Pattern; import cc.mallet.fst.CRF; import cc...
Fix argument indexing in SupervisedCrfTrainer
src/main/java/de/exciteproject/refext/train/SupervisedCrfTrainer.java
Fix argument indexing in SupervisedCrfTrainer
<ide><path>rc/main/java/de/exciteproject/refext/train/SupervisedCrfTrainer.java <ide> pipes.add(new TokenSequenceMatchDataAndTarget(Pattern.compile("([A-Z]*\\-*[A-Z]+) (.*)"), 2, 1)); <ide> pipes.add(new LayoutPipe("INDENT", "PREVGAP", "DIFFZONE", "\\t")); <ide> <del> // pipes.add(new NamePipe("...
JavaScript
mit
b1df436a504c590510a6689f780f16a31f948735
0
pavben/WebIRC,pavben/WebIRC,pavben/WebIRC
var assert = require('assert'); var express = require('express'); var app = express(); var http = require('http'); var connect = require('connect'); var cookie = require('cookie'); var io = require('socket.io'); var cloneextend = require('cloneextend'); var irc = require('./irc.js'); var data = require('./data.js'); v...
main.js
var assert = require('assert'); var express = require('express'); var app = express(); var http = require('http'); var connect = require('connect'); var cookie = require('cookie'); var io = require('socket.io'); var cloneextend = require('cloneextend'); var irc = require('./irc.js'); var data = require('./data.js'); v...
changed some default settings
main.js
changed some default settings
<ide><path>ain.js <ide> <ide> newUser.addServer( <ide> new data.Server( <del> 'test.server', <add> 'webirc.server', <ide> 6667, <add> 'webirc123', <ide> 'webirc', <ide> 'webirc', <del> 'webirc', <del> ['#test'] <add> ['#webirc-test'] <ide> ) <ide> ); <ide>
JavaScript
bsd-3-clause
765a0c9829a1be9af3c20df25cf4dcd3caa8ebd6
0
digitalbazaar/jsonld-signatures
/** * Test runner for JSON-LD Signatures library. * * @author Dave Longley <dlongley@digitalbazaar.com> * @author Manu Sporny <msporny@digitalbazaar.com> * * Copyright (c) 2014-2017 Digital Bazaar, Inc. All rights reserved. */ /* globals jsonldjs */ (function() { 'use strict'; // detect node.js (vs. phantomJS)...
tests/test.js
/** * Test runner for JSON-LD Signatures library. * * @author Dave Longley <dlongley@digitalbazaar.com> * @author Manu Sporny <msporny@digitalbazaar.com> * * Copyright (c) 2014-2017 Digital Bazaar, Inc. All rights reserved. */ /* globals jsonldjs */ (function() { 'use strict'; // detect node.js (vs. phantomJS)...
More tests.
tests/test.js
More tests.
<ide><path>ests/test.js <ide> }); <ide> }); <ide> <add> it('verify local document using getPublicKey and getPublicKeyOwner', <add> function(done) { <add> jsigs.sign(testDocument, { <add> algorithm: 'LinkedDataSignature2015', <add> privateKeyPem...
Java
apache-2.0
2a9ae09c7062398cb2b5975819ecb3616ab6fbd3
0
rrenomeron/cas,rrenomeron/cas,rrenomeron/cas,rrenomeron/cas,rrenomeron/cas
package org.apereo.cas.authentication; import org.apereo.cas.authentication.credential.UsernamePasswordCredential; import org.apereo.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler; import org.apereo.cas.authentication.principal.Principal; import org.apereo.cas.authentication.principal...
support/cas-server-support-ldap/src/main/java/org/apereo/cas/authentication/LdapAuthenticationHandler.java
package org.apereo.cas.authentication; import org.apereo.cas.authentication.credential.UsernamePasswordCredential; import org.apereo.cas.authentication.handler.support.AbstractUsernamePasswordAuthenticationHandler; import org.apereo.cas.authentication.principal.Principal; import org.apereo.cas.authentication.principal...
Provide getters to the LdapAuthenticationHandler (#3893)
support/cas-server-support-ldap/src/main/java/org/apereo/cas/authentication/LdapAuthenticationHandler.java
Provide getters to the LdapAuthenticationHandler (#3893)
<ide><path>upport/cas-server-support-ldap/src/main/java/org/apereo/cas/authentication/LdapAuthenticationHandler.java <ide> import org.apereo.cas.util.CollectionUtils; <ide> <ide> import com.google.common.collect.Maps; <add>import lombok.Getter; <ide> import lombok.Setter; <ide> import lombok.extern.slf4j.Slf4j; <ide> ...
Java
bsd-3-clause
ba05cd20c8b12154b5d79002d1090b0c2544debd
0
chocoteam/choco3,chocoteam/choco3,chocoteam/choco3,chocoteam/choco3
/** * Copyright (c) 2015, Ecole des Mines de Nantes * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, this lis...
src/test/java/org/chocosolver/util/objects/setDataStructures/nonbacktrackable/IntervalSetTest.java
/** * Copyright (c) 2015, Ecole des Mines de Nantes * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, this lis...
update test
src/test/java/org/chocosolver/util/objects/setDataStructures/nonbacktrackable/IntervalSetTest.java
update test
<ide><path>rc/test/java/org/chocosolver/util/objects/setDataStructures/nonbacktrackable/IntervalSetTest.java <ide> import java.util.Set; <ide> <ide> import static org.testng.Assert.assertEquals; <add>import static org.testng.Assert.assertFalse; <ide> <ide> /** <ide> * @author Alexandre LEBRUN <ide> } <ide> ...
Java
apache-2.0
dc148db8a95b9b36d999fcde542f9dbcc4ccae03
0
dernasherbrezon/r2cloud,dernasherbrezon/r2cloud
package ru.r2cloud; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; import org.slf4j.Logger; import org.slf4j.L...
src/main/java/ru/r2cloud/RtlSdrStatusDao.java
package ru.r2cloud; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; import org.slf4j.Logger; import org.slf4j.L...
fixing code smells
src/main/java/ru/r2cloud/RtlSdrStatusDao.java
fixing code smells
<ide><path>rc/main/java/ru/r2cloud/RtlSdrStatusDao.java <ide> <ide> public class RtlSdrStatusDao implements Lifecycle, ConfigListener { <ide> <add> private static final String PPM_CURRENT_PROPERTY_NAME = "ppm.current"; <ide> private static final Logger LOG = LoggerFactory.getLogger(RtlSdrStatusDao.class); <ide> <id...
Java
apache-2.0
d290000455f08d64bcf96c54d1149898402d3e37
0
dhmay/msInspect,dhmay/msInspect,dhmay/msInspect
/* * Copyright (c) 2003-2012 Fred Hutchinson Cancer Research Center * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
src/org/fhcrc/cpl/viewer/ms2/commandline/CalculateFDRCLM.java
/* * Copyright (c) 2003-2012 Fred Hutchinson Cancer Research Center * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
calcfdr fix
src/org/fhcrc/cpl/viewer/ms2/commandline/CalculateFDRCLM.java
calcfdr fix
<ide><path>rc/org/fhcrc/cpl/viewer/ms2/commandline/CalculateFDRCLM.java <ide> if (scoreType == MODE_PPROPHET) <ide> return MS2ExtraInfoDef.getPeptideProphet(feature); <ide> else <del> return Double.parseDouble(MS2ExtraInfoDef.getSearchScore(feature, searchScoreName)); <add> ...
JavaScript
mit
4b69c2c9d1d3d3cf1a0baf5f045b294331ca3b0a
0
kumabook/pink-spider,kumabook/pink-spider,kumabook/pink-spider,kumabook/pink-spider
import url from 'url'; import { formatOpenURL, parse, } from 'spotify-uri'; export const getCountryParam = (urlString) => { const parsed = url.parse(urlString); if (parsed.query && parsed.query.country) { return parsed.query.country; } return 'us'; }; export const getOwnerName = playlist => playlist.o...
web/js/model/Playlist.js
import url from 'url'; import { formatOpenURL, parse, } from 'spotify-uri'; export const getCountryParam = (urlString) => { const parsed = url.parse(urlString); if (parsed.query && parsed.query.country) { return parsed.query.country; } return 'us'; }; export const getUrl = (playlist) => { if (!playl...
Use owner_id if owner_name of playlist doesn't exist
web/js/model/Playlist.js
Use owner_id if owner_name of playlist doesn't exist
<ide><path>eb/js/model/Playlist.js <ide> } <ide> return 'us'; <ide> }; <add> <add>export const getOwnerName = playlist => playlist.owner_name || playlist.owner_id; <ide> <ide> export const getUrl = (playlist) => { <ide> if (!playlist || !playlist.identifier) {
Java
apache-2.0
4ef90e2dc0b5d7d5671e4835f6c0fc7a27ee5944
0
jorabin/KeePassJava2
/* * Copyright 2015 Jo Rabin * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
simple/src/main/java/org/linguafranca/xml/XmlOutputStreamFilter.java
/* * Copyright 2015 Jo Rabin * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
Change instantiation order of piped streams
simple/src/main/java/org/linguafranca/xml/XmlOutputStreamFilter.java
Change instantiation order of piped streams
<ide><path>imple/src/main/java/org/linguafranca/xml/XmlOutputStreamFilter.java <ide> @SuppressWarnings({"WeakerAccess", "unused"}) <ide> public class XmlOutputStreamFilter extends PipedOutputStream { <ide> <del> Future<Boolean> future; <add> protected Future<Boolean> future; <add> protected PipedInputStream p...
Java
mit
e2b44b614f3182b0fbe54f845911f955907ad901
0
pixlepix/Aura-Cascade,Mazdallier/Aura-Cascade,DaedalusGame/Aura-Cascade,pixlepix/Aura-Cascade,DaedalusGame/Aura-Cascade,Mazdallier/Aura-Cascade
package pixlepix.auracascade; import de.npe.gameanalytics.minecraft.MCSimpleAnalytics; import pixlepix.auracascade.main.Config; /** * Created by pixlepix on 8/6/15. */ public class AuraAnalytics extends MCSimpleAnalytics { /** * Creates a new MCSimpleAnalytics instance which automatically transmits a ...
src/main/java/pixlepix/auracascade/AuraAnalytics.java
package pixlepix.auracascade; import de.npe.gameanalytics.minecraft.MCSimpleAnalytics; import pixlepix.auracascade.main.Config; /** * Created by pixlepix on 8/6/15. */ public class AuraAnalytics extends MCSimpleAnalytics { /** * Creates a new MCSimpleAnalytics instance which automatically transmits a ...
Made analytics obey snooper settings
src/main/java/pixlepix/auracascade/AuraAnalytics.java
Made analytics obey snooper settings
<ide><path>rc/main/java/pixlepix/auracascade/AuraAnalytics.java <ide> <ide> @Override <ide> public boolean isActive() { <del> return Config.analytics; <add> return Config.analytics && super.isActive(); <ide> } <ide> }
Java
mit
294ffb20dce16985a6f1488c17a6bcb08db477df
0
socia-platform/htwplus,socia-platform/htwplus,socia-platform/htwplus
package services; import managers.AccountManager; import managers.GroupManager; import managers.PostManager; import models.Group; import models.Post; import models.services.NotificationService; import play.Configuration; import play.Environment; import play.api.OptionalSourceMapper; import play.api.UsefulException; im...
app/services/ErrorHandler.java
package services; import managers.AccountManager; import managers.GroupManager; import managers.PostManager; import models.Group; import models.Post; import play.Configuration; import play.Environment; import play.api.OptionalSourceMapper; import play.api.UsefulException; import play.api.routing.Router; import play.db...
notification on 404
app/services/ErrorHandler.java
notification on 404
<ide><path>pp/services/ErrorHandler.java <ide> import managers.PostManager; <ide> import models.Group; <ide> import models.Post; <add>import models.services.NotificationService; <ide> import play.Configuration; <ide> import play.Environment; <ide> import play.api.OptionalSourceMapper; <ide> post.owner =...
Java
mit
f7d08a96f1344a34a2b43a62ec09612638159bc9
0
DemigodsRPG/Demigods3
package com.legit2.Demigods.Listeners; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.bukkit.ChatColor; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.OfflinePlayer; import org.bukkit.block.Block; import org.bukkit.entity.EntityType; imp...
src/com/legit2/Demigods/Listeners/DDivineBlockListener.java
package com.legit2.Demigods.Listeners; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org.bukkit.ChatColor; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.OfflinePlayer; import org.bukkit.block.Block; import org.bukkit.entity.EntityType; imp...
Added a message for mortal players when attempting to use Divine Blocks.
src/com/legit2/Demigods/Listeners/DDivineBlockListener.java
Added a message for mortal players when attempting to use Divine Blocks.
<ide><path>rc/com/legit2/Demigods/Listeners/DDivineBlockListener.java <ide> public void shrineBlockInteract(PlayerInteractEvent event) <ide> { <ide> // Return if the player is mortal <del> if(!DCharUtil.isImmortal(event.getPlayer())) return; <add> if(!DCharUtil.isImmortal(event.getPlayer())); <ide> if(event.get...
Java
apache-2.0
3efffeb8f575676422a751384b6dcd287b48c484
0
boalang/compiler,boalang/compiler,boalang/compiler,boalang/compiler,boalang/compiler
/* * Copyright 2017, Hridesh Rajan, Robert Dyer, Hoan Nguyen, Farheen Sultana * Iowa State University of Science and Technology * and Bowling Green State University * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance ...
src/java/boa/datagen/util/Java7Visitor.java
/* * Copyright 2017, Hridesh Rajan, Robert Dyer, Hoan Nguyen, Farheen Sultana * Iowa State University of Science and Technology * and Bowling Green State University * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance ...
ITypeBinding.getName() can throw a null pointer exception.
src/java/boa/datagen/util/Java7Visitor.java
ITypeBinding.getName() can throw a null pointer exception.
<ide><path>rc/java/boa/datagen/util/Java7Visitor.java <ide> if (itb.getTypeDeclaration() != null) <ide> itb = itb.getTypeDeclaration(); <ide> boa.types.Ast.Type.Builder tb = boa.types.Ast.Type.newBuilder(); <del> tb.setName(itb.getName()); <add> String name = ""; <add> try { <add> name = itb.getName(); <add...
Java
apache-2.0
error: pathspec 'src/main/java/test/api/rest/athlete/async/GetAthleteAsyncTest.java' did not match any file(s) known to git
6aee44b1661d1bff9a5fdb583616c736246e2f73
1
danshannon/javastrava-test
package test.api.rest.athlete.async; import javastrava.api.v3.model.StravaAthlete; import test.api.model.StravaAthleteTest; import test.api.rest.athlete.GetAthleteTest; import test.utils.RateLimitedTestRunner; import test.utils.TestUtils; public class GetAthleteAsyncTest extends GetAthleteTest { /** * No-args cons...
src/main/java/test/api/rest/athlete/async/GetAthleteAsyncTest.java
More tests for async API
src/main/java/test/api/rest/athlete/async/GetAthleteAsyncTest.java
More tests for async API
<ide><path>rc/main/java/test/api/rest/athlete/async/GetAthleteAsyncTest.java <add>package test.api.rest.athlete.async; <add> <add>import javastrava.api.v3.model.StravaAthlete; <add>import test.api.model.StravaAthleteTest; <add>import test.api.rest.athlete.GetAthleteTest; <add>import test.utils.RateLimitedTestRunner; <a...
Java
lgpl-2.1
60b59adbed4f94a13bd024b0c5db3270e0f623f4
0
levants/lightmare
package org.lightmare.jpa.jta; import java.io.IOException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import javax.ejb.EJBException; import javax.ejb.TransactionAttribute; import javax.ejb.TransactionAttributeType; import javax.ejb.TransactionManagementType; import javax...
src/main/java/org/lightmare/jpa/jta/BeanTransactions.java
package org.lightmare.jpa.jta; import java.io.IOException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import javax.ejb.EJBException; import javax.ejb.TransactionAttribute; import javax.ejb.TransactionAttributeType; import javax.ejb.TransactionManagementType; import javax...
improved JTA utilities
src/main/java/org/lightmare/jpa/jta/BeanTransactions.java
improved JTA utilities
<ide><path>rc/main/java/org/lightmare/jpa/jta/BeanTransactions.java <ide> * @param handler <ide> * @throws IOException <ide> */ <del> public static void commitTransaction(TransactionAttributeType type, <add> private static void commitTransaction(TransactionAttributeType type, <ide> BeanHandler...
Java
apache-2.0
0f67b3ab9277b513d439c0bf3a2b6ae14bd6bd9e
0
SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java
/* * Copyright 2019, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
server/src/main/java/io/spine/server/delivery/AbstractWorkRegistry.java
/* * Copyright 2019, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
Fix timestamp in record
server/src/main/java/io/spine/server/delivery/AbstractWorkRegistry.java
Fix timestamp in record
<ide><path>erver/src/main/java/io/spine/server/delivery/AbstractWorkRegistry.java <ide> ShardSessionRecord updatedRecord = record <ide> .toBuilder() <ide> .setPickedBy(nodeId) <add> .setWhenLastPicked(currentTime()) <ide> .build(); <ide> wri...
Java
apache-2.0
caaaf5474464b57316e91ff19bba820338d7a92d
0
apache/commons-bcel,apache/commons-bcel,apache/commons-bcel
/* * 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/bcel/verifier/statics/Pass2Verifier.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 ...
Clean up: else { if { ... } } -> else if { ... }
src/main/java/org/apache/bcel/verifier/statics/Pass2Verifier.java
Clean up: else { if { ... } } -> else if { ... }
<ide><path>rc/main/java/org/apache/bcel/verifier/statics/Pass2Verifier.java <ide> "' overrides the final (not-overridable) definition in class '" + jc.getClassName() + <ide> "'. This is okay, as the original definition was private; however this constraint leverage...
JavaScript
mit
c0a4afbc6a9674873439220c1a6fb3a2eec2100f
0
nlf/riakpbc,uber/riakpbc
var net = require('net'); var Stream = require('stream'); var protobuf = require('protobuf.js'); var butils = require('butils'); var through = require('through'); var path = require('path'); var _merge = require('./lib/merge'); var parseContent = require('./lib/parse-content'); var messageCodes = { '0': 'RpbErrorR...
index.js
var net = require('net'); var Stream = require('stream'); var protobuf = require('protobuf.js'); var butils = require('butils'); var through = require('through'); var path = require('path'); var _merge = require('./lib/merge'); var parseContent = require('./lib/parse-content'); var messageCodes = { '0': 'RpbErrorR...
fix weird hang
index.js
fix weird hang
<ide><path>ndex.js <ide> delete reply.done; <ide> phaseKeys.forEach(function (key) { <ide> phase = reply[key]; <del> phase.forEach(function (row) { <del> rows.push(row); <del> }); <add> if (phase) { <add> phase.forEach(function (...
Java
epl-1.0
c14e111d3d123f90109057148a2814ab2b2e2e32
0
gnodet/wikitext
/******************************************************************************* * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distrib...
org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskDataState.java
/******************************************************************************* * Copyright (c) 2004, 2007 Mylyn project committers and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distrib...
NEW - bug 215535: concurrent modification exception due to saving edits while retrieving editable copy https://bugs.eclipse.org/bugs/show_bug.cgi?id=215535
org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskDataState.java
NEW - bug 215535: concurrent modification exception due to saving edits while retrieving editable copy https://bugs.eclipse.org/bugs/show_bug.cgi?id=215535
<ide><path>rg.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/TaskDataState.java <ide> <ide> import java.util.HashSet; <ide> import java.util.Set; <add>import java.util.concurrent.CopyOnWriteArraySet; <ide> <ide> import org.eclipse.mylyn.tasks.core.RepositoryTaskAttribute; <ide> import org.eclipse....
Java
mit
0fd2553480a92b918200b9dcc70b076ebf4ad6ec
0
AbeHaruhiko/one-liners,AbeHaruhiko/one-liners,AbeHaruhiko/one-liners
package jp.caliconography.one_liners.fragments; import android.app.Activity; import android.app.Fragment; import android.content.ContentValues; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import and...
android/app/src/main/java/jp/caliconography/one_liners/fragments/PhotoDetailFragment.java
package jp.caliconography.one_liners.fragments; import android.app.Activity; import android.app.Fragment; import android.content.ContentValues; import android.content.Intent; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.Color; import and...
android: mDeltaScale削除(不使用)
android/app/src/main/java/jp/caliconography/one_liners/fragments/PhotoDetailFragment.java
android: mDeltaScale削除(不使用)
<ide><path>ndroid/app/src/main/java/jp/caliconography/one_liners/fragments/PhotoDetailFragment.java <ide> } <ide> }; <ide> <del> private float mDeltaScale; <ide> private ScaleGestureDetector.SimpleOnScaleGestureListener mOnScaleListener = new ScaleGestureDetector.SimpleOnScaleGestureListener() { <id...
Java
apache-2.0
153e207769cfc25e480c1b1b0a8dae62d682c3bb
0
androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,AndroidX/andro...
/** * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
core/src/main/java/androidx/core/view/inputmethod/InputConnectionCompat.java
/** * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Use pre-1.0 string values for InputConnectionCompat Test: none Bug: 129349688 Change-Id: If2134e186134c37a4ae7d3c51b09ea5c37db3f0b
core/src/main/java/androidx/core/view/inputmethod/InputConnectionCompat.java
Use pre-1.0 string values for InputConnectionCompat
<ide><path>ore/src/main/java/androidx/core/view/inputmethod/InputConnectionCompat.java <ide> public final class InputConnectionCompat { <ide> <ide> private static final String COMMIT_CONTENT_ACTION = <del> "androidx.core.view.inputmethod.InputConnectionCompat.COMMIT_CONTENT"; <add> "android.s...
Java
apache-2.0
9150ba186c4f16a4c524685a1392eb129e9a5aa3
0
weiwl/closure-compiler,mediogre/closure-compiler,tiobe/closure-compiler,fvigotti/closure-compiler,ralic/closure-compiler,superkonduktr/closure-compiler,monetate/closure-compiler,MatrixFrog/closure-compiler,Yannic/closure-compiler,shantanusharma/closure-compiler,pauldraper/closure-compiler,superkonduktr/closure-compiler...
/* * Copyright 2014 The Closure Compiler Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
test/com/google/javascript/jscomp/ES6ModuleLoaderFileSystemTest.java
/* * Copyright 2014 The Closure Compiler Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
Add newline.
test/com/google/javascript/jscomp/ES6ModuleLoaderFileSystemTest.java
Add newline.
Java
lgpl-2.1
e190c1625f6438eb392e61db1e227e3305a7d4e2
0
threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya
// // $Id: TilePath.java,v 1.16 2003/05/16 00:22:22 mdb Exp $ package com.threerings.miso.client; import java.awt.Point; import java.util.List; import com.threerings.util.DirectionCodes; import com.threerings.media.sprite.Sprite; import com.threerings.media.util.LineSegmentPath; import com.threerings.media.util.Mat...
src/java/com/threerings/miso/client/TilePath.java
// // $Id: TilePath.java,v 1.15 2003/04/27 03:53:41 mdb Exp $ package com.threerings.miso.client; import java.awt.*; import java.util.List; import com.threerings.util.DirectionCodes; import com.threerings.media.sprite.Sprite; import com.threerings.media.util.LineSegmentPath; import com.threerings.media.util.MathUti...
Removed vestigal code, generally cleaned up. git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@2579 542714f4-19e9-0310-aa3c-eee0fc999fb1
src/java/com/threerings/miso/client/TilePath.java
Removed vestigal code, generally cleaned up.
<ide><path>rc/java/com/threerings/miso/client/TilePath.java <ide> // <del>// $Id: TilePath.java,v 1.15 2003/04/27 03:53:41 mdb Exp $ <add>// $Id: TilePath.java,v 1.16 2003/05/16 00:22:22 mdb Exp $ <ide> <ide> package com.threerings.miso.client; <ide> <del>import java.awt.*; <add>import java.awt.Point; <ide> import ja...
Java
mpl-2.0
93ee29b20ae0aa3cdab2d8f79b8b9e291b1405a5
0
carlwilson/veraPDF-library
/** * */ package org.verapdf.processor; import java.io.Writer; import java.util.logging.Level; import java.util.logging.Logger; import javax.xml.bind.JAXBException; import javax.xml.stream.XMLStreamException; import org.verapdf.core.VeraPDFException; import org.verapdf.core.XmlSerialiser; import org.verapdf.pdfa....
core/src/main/java/org/verapdf/processor/RawResultHandler.java
/** * */ package org.verapdf.processor; import java.io.Writer; import java.util.logging.Level; import java.util.logging.Logger; import javax.xml.bind.JAXBException; import org.verapdf.core.VeraPDFException; import org.verapdf.core.XmlSerialiser; import org.verapdf.pdfa.results.MetadataFixerResult; import org.vera...
FIX - CLI raw report - cleaned up fragments and wrapped in a rawResult element.
core/src/main/java/org/verapdf/processor/RawResultHandler.java
FIX - CLI raw report - cleaned up fragments and wrapped in a rawResult element.
<ide><path>ore/src/main/java/org/verapdf/processor/RawResultHandler.java <ide> import java.util.logging.Logger; <ide> <ide> import javax.xml.bind.JAXBException; <add>import javax.xml.stream.XMLStreamException; <ide> <ide> import org.verapdf.core.VeraPDFException; <ide> import org.verapdf.core.XmlSerialiser; <ide> <i...
JavaScript
mit
12932e455df80630fc290c2e5530707830585660
0
modulexcite/css-parse,npmcomponent/reworkcss-css-parse,reworkcss/css-parse
module.exports = function(css, options){ options = options || {}; /** * Positional. */ var lineno = 1; function position() { var start = { line: lineno }; if (!options.position) return positionNoop; return function(node){ node.position = { start: start, end: { line: l...
index.js
module.exports = function(css){ /** * Parse stylesheet. */ function stylesheet() { return { type: 'stylesheet', stylesheet: { rules: rules() } }; } /** * Opening brace. */ function open() { return match(/^{\s*/); } /** * Closing brace. */ fu...
add start of positioning
index.js
add start of positioning
<ide><path>ndex.js <ide> <del>module.exports = function(css){ <add>module.exports = function(css, options){ <add> options = options || {}; <add> <add> /** <add> * Positional. <add> */ <add> <add> var lineno = 1; <add> <add> function position() { <add> var start = { line: lineno }; <add> if (!options.posi...
Java
apache-2.0
78a9ea91a41be569db1d6d935dcb2e42d8e8a491
0
mittop/vaadin,shahrzadmn/vaadin,bmitc/vaadin,peterl1084/framework,fireflyc/vaadin,jdahlstrom/vaadin.react,Darsstar/framework,kironapublic/vaadin,Legioth/vaadin,peterl1084/framework,jdahlstrom/vaadin.react,magi42/vaadin,asashour/framework,Peppe/vaadin,Scarlethue/vaadin,peterl1084/framework,Darsstar/framework,fireflyc/va...
/* @ITMillApache2LicenseForJavaFiles@ */ package com.itmill.toolkit.ui; import java.util.Iterator; import java.util.LinkedList; import java.util.Map; import com.itmill.toolkit.event.Action; import com.itmill.toolkit.event.ShortcutAction; import com.itmill.toolkit.event.Action.Handler; import com.itmill.toolkit.ter...
src/com/itmill/toolkit/ui/Panel.java
/* @ITMillApache2LicenseForJavaFiles@ */ package com.itmill.toolkit.ui; import java.util.Iterator; import java.util.LinkedList; import java.util.Map; import com.itmill.toolkit.event.Action; import com.itmill.toolkit.event.ShortcutAction; import com.itmill.toolkit.event.Action.Handler; import com.itmill.toolkit.ter...
OL -> VerticalLayout as default for panel (right java file this time) svn changeset:6184/svn branch:trunk
src/com/itmill/toolkit/ui/Panel.java
OL -> VerticalLayout as default for panel (right java file this time)
<ide><path>rc/com/itmill/toolkit/ui/Panel.java <ide> /** <ide> * Sets the layout of the panel. <ide> * <del> * If given layout is null, an OrderedLayout is used as a default. <add> * If given layout is null, a VerticalLayout with margins set is used as a <add> * default. <ide> * <ide> ...
Java
apache-2.0
4d32a96157262bd2f7aa776a12fe6b7db65d93a1
0
anthcp/cdap,chtyim/cdap,anthcp/cdap,hsaputra/cdap,caskdata/cdap,chtyim/cdap,caskdata/cdap,mpouttuclarke/cdap,mpouttuclarke/cdap,anthcp/cdap,chtyim/cdap,hsaputra/cdap,caskdata/cdap,hsaputra/cdap,anthcp/cdap,caskdata/cdap,hsaputra/cdap,caskdata/cdap,mpouttuclarke/cdap,mpouttuclarke/cdap,chtyim/cdap,chtyim/cdap,caskdata/c...
/* * Copyright © 2014-2015 Cask Data, 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 agr...
cdap-master/src/main/java/co/cask/cdap/data/runtime/main/MasterServiceMain.java
/* * Copyright © 2014-2015 Cask Data, 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 agr...
Use the correct API to check for file existence.
cdap-master/src/main/java/co/cask/cdap/data/runtime/main/MasterServiceMain.java
Use the correct API to check for file existence.
<ide><path>dap-master/src/main/java/co/cask/cdap/data/runtime/main/MasterServiceMain.java <ide> getSystemServiceInstances())) <ide> .addLogHandler(new PrinterLogHandler(new PrintWriter(System.out))); <ide> // Add logback x...
Java
apache-2.0
7aad11d85a56ebaad9a13e431a5e3368dcf62cd9
0
zenefits/selenium,markodolancic/selenium,i17c/selenium,davehunt/selenium,zenefits/selenium,mestihudson/selenium,xmhubj/selenium,valfirst/selenium,tkurnosova/selenium,BlackSmith/selenium,BlackSmith/selenium,Appdynamics/selenium,carlosroh/selenium,Sravyaksr/selenium,titusfortner/selenium,bmannix/selenium,lmtierney/seleni...
// 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/client/src/org/openqa/selenium/interactions/CompositeAction.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...
java: Decreasing visibility of a method that is used in tests only
java/client/src/org/openqa/selenium/interactions/CompositeAction.java
java: Decreasing visibility of a method that is used in tests only
<ide><path>ava/client/src/org/openqa/selenium/interactions/CompositeAction.java <ide> <ide> package org.openqa.selenium.interactions; <ide> <add>import com.google.common.annotations.VisibleForTesting; <ide> import com.google.common.collect.ImmutableList; <ide> <ide> import org.openqa.selenium.WebDriver; <ide> re...
Java
mit
error: pathspec 'src/api/java/io/core9/plugin/server/request/RequestUtils.java' did not match any file(s) known to git
716f01b1bdb9d9bb96e18db0a0dce59be7b8aa16
1
core9/module-server
package io.core9.plugin.server.request; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Locale; import java.util.Map; import org.apache.log4j.Logger; public final class RequestUtils { private static final Logger LOG = Logger.getLogger(RequestUtils.class); private sta...
src/api/java/io/core9/plugin/server/request/RequestUtils.java
Added RequestUtils (for message handling and localization)
src/api/java/io/core9/plugin/server/request/RequestUtils.java
Added RequestUtils (for message handling and localization)
<ide><path>rc/api/java/io/core9/plugin/server/request/RequestUtils.java <add>package io.core9.plugin.server.request; <add> <add>import java.util.ArrayList; <add>import java.util.HashMap; <add>import java.util.List; <add>import java.util.Locale; <add>import java.util.Map; <add> <add>import org.apache.log4j.Logger; <add>...
Java
apache-2.0
82b7fe746fe0af2ea836afd6fabb40d9567f51e2
0
da1z/intellij-community,apixandru/intellij-community,idea4bsd/idea4bsd,TangHao1987/intellij-community,fitermay/intellij-community,izonder/intellij-community,robovm/robovm-studio,xfournet/intellij-community,tmpgit/intellij-community,michaelgallacher/intellij-community,ThiagoGarciaAlves/intellij-community,clumsy/intellij...
/* * Copyright 2000-2012 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/platform-impl/src/com/intellij/ui/BalloonImpl.java
/* * Copyright 2000-2012 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...
leaks (cherry picked from commit eb6ef7c)
platform/platform-impl/src/com/intellij/ui/BalloonImpl.java
leaks (cherry picked from commit eb6ef7c)
<ide><path>latform/platform-impl/src/com/intellij/ui/BalloonImpl.java <ide> } <ide> <ide> myVisible = false; <add> myTracker = null; <ide> } <ide> <ide> public void dispose() {
Java
apache-2.0
51e6d35c5e3b3ff665c980e5ad108dff52edd3af
0
mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData
/** * Copyright © 2011-2014 EMBL - European Bioinformatics Institute * * 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 re...
selenium-tests/src/test/java/org/mousephenotype/cda/seleniumtests/tests/PhenotypePageTest.java
/** * Copyright © 2011-2014 EMBL - European Bioinformatics Institute * * 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 re...
Readjusted expected results for PhenotypePageTest.testTopSection().
selenium-tests/src/test/java/org/mousephenotype/cda/seleniumtests/tests/PhenotypePageTest.java
Readjusted expected results for PhenotypePageTest.testTopSection().
<ide><path>elenium-tests/src/test/java/org/mousephenotype/cda/seleniumtests/tests/PhenotypePageTest.java <ide> * @throws SolrServerException <ide> */ <ide> @Test <del>//@Ignore <add>@Ignore <ide> public void testMGI_MPLinksAreValid() throws SolrServerException { <ide> RunStatus status = new Ru...
JavaScript
bsd-3-clause
3cda26846833304e87bb0b036d8c3d0e68f002a8
0
ipython/ipython,ipython/ipython
//---------------------------------------------------------------------------- // Copyright (C) 2013 The IPython Development Team // // Distributed under the terms of the BSD License. The full license is in // the file COPYING, distributed as part of this software. //-----------------------------------------------...
IPython/html/static/notebook/js/widget.js
//---------------------------------------------------------------------------- // Copyright (C) 2013 The IPython Development Team // // Distributed under the terms of the BSD License. The full license is in // the file COPYING, distributed as part of this software. //-----------------------------------------------...
Privatize _handle_com_open of WidgetManager
IPython/html/static/notebook/js/widget.js
Privatize _handle_com_open of WidgetManager
<ide><path>Python/html/static/notebook/js/widget.js <ide> <ide> // Register already register widget model types with the comm manager. <ide> for (var widget_model_name in this.widget_model_types) { <del> this.comm_manager.register_target(widget_model_name, $.proxy(this.handle_com_open, this)...
Java
mit
d54e0ffdc8612f8f1e8553b547f85cd7f94305cb
0
kratorius/ads,kratorius/ads,kratorius/ads,kratorius/ads,kratorius/ads,kratorius/ads,kratorius/ads
package interviewquestions; import java.util.Arrays; /** * Determine if a string has all unique characters without * using additional data structures */ public class StringUniqueCharacters extends TestCase { public static boolean unique(String string) { // we could use a set to store each single character an...
java/interviewquestions/StringUniqueCharacters.java
package interviewquestions; import java.util.Arrays; import java.util.HashMap; import java.util.Map; /** * Determine if a string has all unique characters without * using additional data structures */ public class StringUniqueCharacters extends TestCase { public static boolean unique(String string) { // we c...
Removed unused imports
java/interviewquestions/StringUniqueCharacters.java
Removed unused imports
<ide><path>ava/interviewquestions/StringUniqueCharacters.java <ide> package interviewquestions; <ide> <ide> import java.util.Arrays; <del>import java.util.HashMap; <del>import java.util.Map; <ide> <ide> /** <ide> * Determine if a string has all unique characters without
JavaScript
mit
2dc85c1d8237c8f61e55c211ba3182a14f9653a6
0
Vizzuality/gfw-atlas,Vizzuality/gfw-atlas,Vizzuality/gfw-atlas
(function(root) { 'use strict'; root.app = root.app || {}; root.app.Router = Backbone.Router.extend({ routes: { // HOME '': 'home', // MAP BUILDER 'map-builder(/)': 'map-builder', // GALLERY 'gallery(/)': 'gallery', // DEVELOP YOUR OWN APP 'develop-you...
assets/js/router.js
(function(root) { 'use strict'; root.app = root.app || {}; root.app.Router = Backbone.Router.extend({ routes: { // HOME '': 'home', // MAP BUILDER 'map-builder(/)': 'map-builder', // GALLERY 'gallery(/)': 'gallery', // DEVELOP YOUR OWN APP 'develop-you...
Static: router static in PRO mode
assets/js/router.js
Static: router static in PRO mode
<ide><path>ssets/js/router.js <ide> */ <ide> updateUrl: function() { <ide> var serializedParams = (!!this._serializeParams()) ? '?' + this._serializeParams() : ''; <del> console.log(location.pathname); <del> var url = location.hostname + location.pathname + serializedParams; <del> console....
Java
apache-2.0
f30275cdfa76ead76f91f054919d4050603fdae5
0
AsuraTeam/dubbos,AsuraTeam/dubbos,AsuraTeam/dubbos
/* * Copyright 1999-2011 Alibaba Group. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
dubbo-remoting/dubbo-remoting-api/src/main/java/com/alibaba/dubbo/remoting/exchange/support/header/HeaderExchangeClient.java
/* * Copyright 1999-2011 Alibaba Group. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
DUBBO-368 dubbo-remoting-client-heartbeat线程优化 git-svn-id: 3d0e7b608a819e97e591a7b753bfd1a27aaeb5ee@1698 1a56cb94-b969-4eaa-88fa-be21384802f2
dubbo-remoting/dubbo-remoting-api/src/main/java/com/alibaba/dubbo/remoting/exchange/support/header/HeaderExchangeClient.java
DUBBO-368 dubbo-remoting-client-heartbeat线程优化
<ide><path>ubbo-remoting/dubbo-remoting-api/src/main/java/com/alibaba/dubbo/remoting/exchange/support/header/HeaderExchangeClient.java <ide> * DefaultMessageClient <ide> * <ide> * @author william.liangf <add> * @author chao.liuc <ide> */ <ide> public class HeaderExchangeClient implements ExchangeClient { <ide> <i...
JavaScript
bsd-3-clause
478606797e727e33c91d431c766eb93bac89d180
0
huntergdavis/Quick-Grapher
//var parsedEquation = undefined; // I put the passed in values into separate arrays // we should move them to objects // if we need them after the initial parse var variableMinHash = []; var variableMaxHash = []; var variableStepHash = []; var variableLastHash = []; var variableVisHash = []; /* LoadTitleBarHash loa...
js/plain/quick_graph.js
//var parsedEquation = undefined; // I put the passed in values into separate arrays // we should move them to objects // if we need them after the initial parse var variableMinHash = []; var variableMaxHash = []; var variableStepHash = []; var variableLastHash = []; var variableVisHash = []; /* LoadTitleBarHash loa...
14th times the charm
js/plain/quick_graph.js
14th times the charm
<ide><path>s/plain/quick_graph.js <ide> for(var i = 0; i < varLen; i++) <ide> { <ide> v = vars[i]; <del> $(name + "-" + v + "-value").click(editValue); <add> $("." + name + "-" + v + "-value").click(editValue); <ide> } <ide> <ide> // Save equation
Java
apache-2.0
e8ee85bb893c1c92f6ba4c603bf60625cea25fb6
0
princeofbelair/winetime,princeofbelair/winetime,princeofbelair/winetime
package controller; import data.Wine; //import org.apache.jena.base.Sys; import org.apache.commons.lang3.StringEscapeUtils; import org.primefaces.event.SelectEvent; import org.primefaces.model.tagcloud.DefaultTagCloudItem; import org.primefaces.model.tagcloud.DefaultTagCloudModel; import org.primefaces.model.tagcloud....
web/wineweb/src/controller/WineController.java
package controller; import data.Wine; //import org.apache.jena.base.Sys; import org.apache.commons.lang3.StringEscapeUtils; import org.primefaces.event.SelectEvent; import org.primefaces.model.tagcloud.DefaultTagCloudItem; import org.primefaces.model.tagcloud.DefaultTagCloudModel; import org.primefaces.model.tagcloud....
Method commenting
web/wineweb/src/controller/WineController.java
Method commenting
<ide><path>eb/wineweb/src/controller/WineController.java <ide> return rnd.nextInt(maximum - minimum + 1) + minimum; <ide> } <ide> <add> /** <add> * Helper-Method to decoded a word in UTF-8 to support special characters <add> * <add> * @param word <add> * @return <add> */ <ide> pr...
Java
lgpl-2.1
4ff2c8fd71db961f3db15127ba9ff02bd1ad8d8a
0
it-tavis/opencms-core,victos/opencms-core,ggiudetti/opencms-core,sbonoc/opencms-core,serrapos/opencms-core,victos/opencms-core,sbonoc/opencms-core,sbonoc/opencms-core,serrapos/opencms-core,gallardo/opencms-core,victos/opencms-core,MenZil/opencms-core,gallardo/opencms-core,it-tavis/opencms-core,serrapos/opencms-core,med...
/* * File : $Source: /alkacon/cvs/opencms/src/org/opencms/search/CmsSearchIndex.java,v $ * Date : $Date: 2004/07/07 11:21:08 $ * Version: $Revision: 1.20 $ * * This library is part of OpenCms - * the Open Source Content Mananagement System * * Copyright (C) 2002 - 2004 Alkacon Software (http://www.alkacon.c...
src/org/opencms/search/CmsSearchIndex.java
/* * File : $Source: /alkacon/cvs/opencms/src/org/opencms/search/CmsSearchIndex.java,v $ * Date : $Date: 2004/07/06 08:39:39 $ * Version: $Revision: 1.19 $ * * This library is part of OpenCms - * the Open Source Content Mananagement System * * Copyright (C) 2002 - 2004 Alkacon Software (http://www.alkacon.c...
Added a * query to return all documents from the search index in a search.
src/org/opencms/search/CmsSearchIndex.java
Added a * query to return all documents from the search index in a search.
<ide><path>rc/org/opencms/search/CmsSearchIndex.java <ide> /* <ide> * File : $Source: /alkacon/cvs/opencms/src/org/opencms/search/CmsSearchIndex.java,v $ <del> * Date : $Date: 2004/07/06 08:39:39 $ <del> * Version: $Revision: 1.19 $ <add> * Date : $Date: 2004/07/07 11:21:08 $ <add> * Version: $Revision: 1.20 $ <...
Java
mit
e0c9fd2b09e62726a89b9e81ccc1cf4adbef05f5
0
Permafrost/Tundra.java,Permafrost/Tundra.java
package permafrost.tundra.server.invoke; import com.wm.app.b2b.server.BaseService; import com.wm.app.b2b.server.PackageReplicator; import com.wm.app.b2b.server.Server; import com.wm.app.b2b.server.Service; import com.wm.app.b2b.server.invoke.ServiceStatus; import com.wm.app.b2b.server.Package; import com.wm.app.b2b.se...
src/main/java/permafrost/tundra/server/invoke/PackageInstallProcessor.java
package permafrost.tundra.server.invoke; import com.wm.app.b2b.server.BaseService; import com.wm.app.b2b.server.PackageReplicator; import com.wm.app.b2b.server.Server; import com.wm.app.b2b.server.Service; import com.wm.app.b2b.server.invoke.ServiceStatus; import com.wm.app.b2b.server.Package; import com.wm.app.b2b.se...
Fix typo in PackageInstallProcessor class comment
src/main/java/permafrost/tundra/server/invoke/PackageInstallProcessor.java
Fix typo in PackageInstallProcessor class comment
<ide><path>rc/main/java/permafrost/tundra/server/invoke/PackageInstallProcessor.java <ide> import java.util.regex.Pattern; <ide> <ide> /** <del> * Runs any install services found in a package after it is installed, and any uninstall services found in a packager <add> * Runs any install services found in a package afte...
Java
mit
48764d70ce327463c157ffa1869a8db01f5c73d2
0
dmullins78/easybatch-framework,EasyBatch/easybatch-framework,Toilal/easybatch-framework,Toilal/easybatch-framework,EasyBatch/easybatch-framework,dmullins78/easybatch-framework
package org.easybatch.core.impl; import org.easybatch.core.api.*; import org.easybatch.core.api.event.global.BatchProcessEventListener; import org.easybatch.core.api.event.record.*; import org.easybatch.core.record.StringRecord; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import or...
easybatch-core/src/test/java/org/easybatch/core/impl/EngineTest.java
package org.easybatch.core.impl; import org.easybatch.core.api.*; import org.easybatch.core.api.event.global.BatchProcessEventListener; import org.easybatch.core.api.event.record.*; import org.easybatch.core.record.StringRecord; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import or...
fix jmx test
easybatch-core/src/test/java/org/easybatch/core/impl/EngineTest.java
fix jmx test
<ide><path>asybatch-core/src/test/java/org/easybatch/core/impl/EngineTest.java <ide> <ide> @Test <ide> public void jmxMBeanShouldBeRegisteredAtEngineCreation() throws MalformedObjectNameException { <add> engine = new EngineBuilder().enableJMX(true).build(); <ide> MBeanServer mbs = ManagementFact...
JavaScript
apache-2.0
18b0bcb1b29bfa2a7e10cbf7d1af145931bf9605
0
FreemapSlovakia/freemap-v3-react,FreemapSlovakia/freemap-v3-react,FreemapSlovakia/freemap-v3-react
import React from 'react'; import PropTypes from 'prop-types'; import { compose } from 'redux'; import { connect } from 'react-redux'; import DropdownButton from 'react-bootstrap/lib/DropdownButton'; import MenuItem from 'react-bootstrap/lib/MenuItem'; import Button from 'react-bootstrap/lib/Button'; import ButtonGroup...
src/components/RoutePlannerMenu.js
import React from 'react'; import PropTypes from 'prop-types'; import { compose } from 'redux'; import { connect } from 'react-redux'; import DropdownButton from 'react-bootstrap/lib/DropdownButton'; import MenuItem from 'react-bootstrap/lib/MenuItem'; import Button from 'react-bootstrap/lib/Button'; import ButtonGroup...
made showinf alternatives only if there are more than one
src/components/RoutePlannerMenu.js
made showinf alternatives only if there are more than one
<ide><path>rc/components/RoutePlannerMenu.js <ide> )) <ide> } <ide> </DropdownButton> <del> {alternatives.length > 0 && <add> {alternatives.length > 1 && <ide> <React.Fragment> <ide> {' '} <ide> <DropdownButton
JavaScript
epl-1.0
fdcbd464b10399c793eb5fcc13dbb68f428ba9b9
0
kornysietsma/metrics_ui,kornysietsma/metrics_ui
var _ = require('lodash'); export const defaultConfig = { maxAge: 24, maxAuthors: 20, maxComplexity: 14, badColour: d3.rgb("#E60D0D"), goodColour: d3.rgb("#0E34E0"), neutralColour: d3.rgb("green"), defaultStrokeColour: d3.rgb("black"), parentStrokeColour: d3.rgb("#4E4545"), parentFi...
app/TreeMap.js
var _ = require('lodash'); export const defaultConfig = { maxAge: 24, maxAuthors: 20, maxComplexity: 14, badColour: d3.rgb("#E60D0D"), goodColour: d3.rgb("#0E34E0"), neutralColour: d3.rgb("green"), defaultStrokeColour: d3.rgb("black"), parentStrokeColour: d3.rgb("#4E4545"), parentFi...
removed redundant builders, inlined bits
app/TreeMap.js
removed redundant builders, inlined bits
<ide><path>pp/TreeMap.js <ide> parentFillColour: d3.rgb("#7D7E8C") <ide> }; <ide> <del>function buildCodeMaatDataFn() { <del> return d => _.get(d,["data","code-maat","ageMonths"]); <add>function codeMaatDataFn(d) { <add> return _.get(d,["data","code-maat","ageMonths"]); <ide> } <ide> <del>function buildAuth...
Java
agpl-3.0
e96e62b6bde5ad61ce5b96a1f5a8c136cfab50aa
0
scylladb/scylla-jmx,scylladb/scylla-jmx,asias/scylla-jmx,linearregression/scylla-jmx,linearregression/scylla-jmx,asias/scylla-jmx,scylladb/scylla-jmx
/* * 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 ...
src/main/java/org/apache/cassandra/repair/RepairParallelism.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 ...
Add the RepairParallelism enum This takes the RepairParallelism enum from origin Signed-off-by: Amnon Heiman <ed5fc74c4692051ad0b19749fd7cea6ec2d74b9e@cloudius-systems.com>
src/main/java/org/apache/cassandra/repair/RepairParallelism.java
Add the RepairParallelism enum
<ide><path>rc/main/java/org/apache/cassandra/repair/RepairParallelism.java <ide> */ <ide> package org.apache.cassandra.repair; <ide> <del>public class RepairParallelism { <add>public enum RepairParallelism { <add> /** <add> * One node at a time <add> */ <add> SEQUENTIAL, <ide> <add> /** <add> * ...
Java
mit
error: pathspec 'java/LeetCode/group-anagrams-49.java' did not match any file(s) known to git
d4b453b4b713ceda993e46b187a641b649337130
1
vinnyoodles/algorithms,vinnyoodles/algorithms,vinnyoodles/algorithms
public class Solution { public List<List<String>> groupAnagrams(String[] strs) { HashMap<String, List<String>> map = new HashMap<String, List<String>>(); for (String s: strs) { char[] chars = s.toCharArray(); Arrays.sort(chars); String temp = new String(chars); if (map.containsKey(tem...
java/LeetCode/group-anagrams-49.java
leetcode 49
java/LeetCode/group-anagrams-49.java
leetcode 49
<ide><path>ava/LeetCode/group-anagrams-49.java <add>public class Solution { <add> public List<List<String>> groupAnagrams(String[] strs) { <add> HashMap<String, List<String>> map = new HashMap<String, List<String>>(); <add> <add> for (String s: strs) { <add> char[] chars = s.toCharArray(); <add> Arrays...
Java
apache-2.0
2c64a5607284bfd87d22a96210a43ad991f1bf01
0
mposolda/keycloak,jpkrohling/keycloak,keycloak/keycloak,hmlnarik/keycloak,mhajas/keycloak,darranl/keycloak,pedroigor/keycloak,pedroigor/keycloak,mposolda/keycloak,ssilvert/keycloak,hmlnarik/keycloak,reneploetz/keycloak,hmlnarik/keycloak,thomasdarimont/keycloak,ahus1/keycloak,reneploetz/keycloak,vmuzikar/keycloak,vmuzik...
/* * Copyright 2020 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
model/infinispan/src/main/java/org/keycloak/cluster/infinispan/LockEntryPredicate.java
/* * Copyright 2020 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
KEYCLOAK-17325 Use KeycloakMarshallUtil for writing collection for LockEntryPredicate
model/infinispan/src/main/java/org/keycloak/cluster/infinispan/LockEntryPredicate.java
KEYCLOAK-17325 Use KeycloakMarshallUtil for writing collection for LockEntryPredicate
<ide><path>odel/infinispan/src/main/java/org/keycloak/cluster/infinispan/LockEntryPredicate.java <ide> package org.keycloak.cluster.infinispan; <ide> <ide> import org.infinispan.commons.marshall.Externalizer; <del>import org.infinispan.commons.marshall.MarshallUtil; <ide> import org.infinispan.commons.marshall.Seriali...
Java
apache-2.0
740906300b902d47227b599cf6e176ef68005c55
0
RanjithKumar5550/RanMifos,Vishwa1311/incubator-fineract,RanjithKumar5550/RanMifos,Vishwa1311/incubator-fineract,RanjithKumar5550/RanMifos,Vishwa1311/incubator-fineract
/** * 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 org.mifosplatform.portfolio.savings.data; import static org.mifosplatform.portfolio.savings.api.Savin...
mifosng-provider/src/main/java/org/mifosplatform/portfolio/savings/data/SavingsProductDataValidator.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 org.mifosplatform.portfolio.savings.data; import static org.mifosplatform.portfolio.savings.api.Savin...
annual fee amount in new savings a/c not accepting empty value fixed
mifosng-provider/src/main/java/org/mifosplatform/portfolio/savings/data/SavingsProductDataValidator.java
annual fee amount in new savings a/c not accepting empty value fixed
<ide><path>ifosng-provider/src/main/java/org/mifosplatform/portfolio/savings/data/SavingsProductDataValidator.java <ide> <ide> if (this.fromApiJsonHelper.parameterExists(annualFeeAmountParamName, element)) { <ide> final BigDecimal annualFeeAmount = fromApiJsonHelper.extractBigDecimalWithLocaleNamed...
Java
apache-2.0
cfb1b0c10202c81867ad90e852df862e9477c4c5
0
Uni-Sol/batik,apache/batik,apache/batik,Uni-Sol/batik,Uni-Sol/batik,apache/batik,Uni-Sol/batik,Uni-Sol/batik,apache/batik
/* Copyright 2001-2003,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/LICENSE-2.0 Unless required by ap...
sources/org/apache/batik/script/rhino/EventTargetWrapper.java
/* Copyright 2001-2003,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/LICENSE-2.0 Unless required by ap...
1. Fixed bug in EventTarget.{add,remove}EventListenerNS wrapper for Rhino. git-svn-id: e944db0f7b5c8f0ae3e1ad43ca99b026751ef0c2@291091 13f79535-47bb-0310-9956-ffa450edef68
sources/org/apache/batik/script/rhino/EventTargetWrapper.java
1. Fixed bug in EventTarget.{add,remove}EventListenerNS wrapper for Rhino.
<ide><path>ources/org/apache/batik/script/rhino/EventTargetWrapper.java <ide> ((String)args[0], <ide> (String)args[1], <ide> el, <del> ((Boolean)args[2]).booleanValue()); <add> ((Boolean)args[3]).booleanValue()); <ide>...
JavaScript
mit
d2bdfe107d135fb920f162a9caf68ee4aba34c1b
0
ligoj/plugin-prov,ligoj/plugin-prov,ligoj/plugin-prov,ligoj/plugin-prov
/* * Licensed under MIT (https://github.com/ligoj/ligoj/blob/master/LICENSE) */ /*jshint esversion: 6*/ define(function () { var initializedPopupEvents = false; var initializedPopupUsage = false; var initializedPopupBudget = false; /** * Enable resource type. */ var types = ['instance', 'database', 'contai...
src/main/resources/META-INF/resources/webjars/service/prov/prov.js
/* * Licensed under MIT (https://github.com/ligoj/ligoj/blob/master/LICENSE) */ /*jshint esversion: 6*/ define(function () { var initializedPopupEvents = false; var initializedPopupUsage = false; var initializedPopupBudget = false; /** * Enable resource type. */ var types = ['instance', 'database', 'contai...
Remove debugger instructions
src/main/resources/META-INF/resources/webjars/service/prov/prov.js
Remove debugger instructions
<ide><path>rc/main/resources/META-INF/resources/webjars/service/prov/prov.js <ide> .addClass(quote.id ? 'btn-primary' : 'btn-success'); <ide> _('generic-modal-title').html(current.$messages['service:prov:' + dynaType]); <ide> $popup.find('.old-required').removeClass('old-required').attr('required', 'required'...
Java
apache-2.0
f498769604d549cedf5428f75554b9136d2c341a
0
btmura/rbb
/* * Copyright (C) 2012 Brian Muramatsu * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
src/com/btmura/android/reddit/app/ContentUriListFragment.java
/* * Copyright (C) 2012 Brian Muramatsu * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
Add account actions URI to ContentUriListFragment
src/com/btmura/android/reddit/app/ContentUriListFragment.java
Add account actions URI to ContentUriListFragment
<ide><path>rc/com/btmura/android/reddit/app/ContentUriListFragment.java <ide> public void onCreate(Bundle savedInstanceState) { <ide> super.onCreate(savedInstanceState); <ide> adapter = new ArrayAdapter<Uri>(getActivity(), R.layout.content_uri_row); <add> adapter.add(AccountProvider.ACCOUNT_A...
Java
epl-1.0
573fd0d929d4ddd58658d0a96aadb53dbb210520
0
iSCInc/pandora
package com.wikia.gradle; import com.orbitz.consul.Consul; import com.orbitz.consul.util.ClientUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.net.URI; import java.util.HashMap; public class ConsulKeyValueConfig { public static final String ENV_KEY = "CONSUL_KEY_VALUE_CONFIG_SOURCE"; ...
consul-config/src/main/java/com/wikia/gradle/ConsulKeyValueConfig.java
package com.wikia.gradle; import com.orbitz.consul.Consul; import com.orbitz.consul.util.ClientUtil; import java.net.URI; import java.util.HashMap; public class ConsulKeyValueConfig { public static final String ENV_KEY = "CONSUL_KEY_VALUE_CONFIG_SOURCE"; protected Consul consul; protected HashMap<String, Stri...
use string.format and return empty config hash when an error occurs in fetching configs /cc @sqreek
consul-config/src/main/java/com/wikia/gradle/ConsulKeyValueConfig.java
use string.format and return empty config hash when an error occurs in fetching configs /cc @sqreek
<ide><path>onsul-config/src/main/java/com/wikia/gradle/ConsulKeyValueConfig.java <ide> <ide> import com.orbitz.consul.Consul; <ide> import com.orbitz.consul.util.ClientUtil; <add> <add>import org.slf4j.Logger; <add>import org.slf4j.LoggerFactory; <ide> <ide> import java.net.URI; <ide> import java.util.HashMap; <ide> ...
Java
epl-1.0
96fa08e5aa249eb00ee51dfacfda0b0c7729669d
0
codenvy/plugin-editor-codemirror,codenvy/plugin-editor-codemirror
/******************************************************************************* * Copyright (c) 2014 Codenvy, S.A. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at *...
src/main/java/com/codenvy/ide/editor/codemirror/client/jso/CMModeOverlay.java
/******************************************************************************* * Copyright (c) 2014 Codenvy, S.A. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at *...
Add missing javadoc
src/main/java/com/codenvy/ide/editor/codemirror/client/jso/CMModeOverlay.java
Add missing javadoc
<ide><path>rc/main/java/com/codenvy/ide/editor/codemirror/client/jso/CMModeOverlay.java <ide> <ide> import com.google.gwt.core.client.JavaScriptObject; <ide> <add>/** Description of a codemirror mode. */ <ide> public class CMModeOverlay extends JavaScriptObject { <ide> <add> /** JSO mandated protected constructor...
Java
apache-2.0
84fa15d654d8e749eda3874a4e528b92a37b6c5f
0
sakama/embulk-output-gcs,hakobera/embulk-output-gcs,sakama/embulk-output-gcs,embulk/embulk-output-gcs,hakobera/embulk-output-gcs
package org.embulk.output; import com.google.api.client.http.InputStreamContent; import com.google.api.services.storage.Storage; import com.google.api.services.storage.model.StorageObject; import com.google.common.base.Function; import com.google.common.base.Optional; import com.google.common.base.Throwables; import o...
src/main/java/org/embulk/output/GcsOutputPlugin.java
package org.embulk.output; import com.google.api.client.http.InputStreamContent; import com.google.api.services.storage.Storage; import com.google.api.services.storage.model.StorageObject; import com.google.common.base.Function; import com.google.common.base.Optional; import com.google.common.base.Throwables; import o...
Move startUpload() call from nextFile() to finish()
src/main/java/org/embulk/output/GcsOutputPlugin.java
Move startUpload() call from nextFile() to finish()
<ide><path>rc/main/java/org/embulk/output/GcsOutputPlugin.java <ide> try { <ide> tempFile = Exec.getTempFileSpace().createTempFile(); <ide> currentStream = new BufferedOutputStream(new FileOutputStream(tempFile)); <del> String path = pathPrefix + String.format(...
Java
apache-2.0
c0d0456ba7325f9547fdccb87e74dea57eae4727
0
rhuss/ipaas-rest,KurtStam/ipaas-rest,redhat-ipaas/ipaas-rest,redhat-ipaas/ipaas-rest,KurtStam/ipaas-rest,chirino/ipaas-rest,redhat-ipaas/ipaas-api-java,KurtStam/ipaas-rest,rhuss/ipaas-rest,KurtStam/syndesis-rest,redhat-ipaas/ipaas-rest,chirino/ipaas-rest,redhat-ipaas/ipaas-api-java,KurtStam/syndesis-rest,chirino/ipaas-...
/** * Copyright (C) 2016 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
project-generator/src/main/java/com/redhat/ipaas/project/converter/DefaultProjectGenerator.java
/** * Copyright (C) 2016 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
readConfiguredProperties is now called aggregate (which is better describes what it does) and uses java8.
project-generator/src/main/java/com/redhat/ipaas/project/converter/DefaultProjectGenerator.java
readConfiguredProperties is now called aggregate (which is better describes what it does) and uses java8.
<ide><path>roject-generator/src/main/java/com/redhat/ipaas/project/converter/DefaultProjectGenerator.java <ide> */ <ide> package com.redhat.ipaas.project.converter; <ide> <del>import java.io.*; <del>import java.net.URISyntaxException; <del>import java.util.*; <del> <ide> import com.fasterxml.jackson.core.JsonProcessi...
JavaScript
mit
03b874085f3e7a131c69d6d0d7cf394e8ad41403
0
cklatik/jsOAuth,cklatik/jsOAuth,aoman89757/jsOAuth,bytespider/jsOAuth,bytespider/jsOAuth,maxogden/jsOAuth,aoman89757/jsOAuth
function OAuthConsumer(options) { if (arguments.length > 0) { this.init(options); } this.oauth_version = '1.0'; this.signature_method = 'PLAINTEXT'; this.init = function(options) { // default to using cookies options.use_cookies = options.use_cookies || true; ...
src/OAuth/Consumer.js
function OAuthConsumer(options) { if (arguments.length > 0) { this.init(options); } this.oauth_version = '1.0'; this.signature_method = 'PLAINTEXT'; this.init = function(options) { // default to using cookies options.use_cookies = options.use_cookies || true; ...
fixed bug with Consumer expecting oauth_sandbox
src/OAuth/Consumer.js
fixed bug with Consumer expecting oauth_sandbox
<ide><path>rc/OAuth/Consumer.js <ide> }; <ide> <ide> this.authorize = function(){ <del> if (!(sandbox_oauth.token && sandbox_oauth.token_secret)) { <add> if (!(this.token && this.token_secret)) { <ide> // need to get a access token <ide> this.getRequestToken(); <ide> ...
Java
apache-2.0
12c2db104e8000b5c5c9586bfe79467307fb0060
0
caskdata/cdap,chtyim/cdap,caskdata/cdap,caskdata/cdap,chtyim/cdap,anthcp/cdap,hsaputra/cdap,mpouttuclarke/cdap,chtyim/cdap,chtyim/cdap,anthcp/cdap,caskdata/cdap,chtyim/cdap,anthcp/cdap,hsaputra/cdap,mpouttuclarke/cdap,hsaputra/cdap,hsaputra/cdap,anthcp/cdap,caskdata/cdap,anthcp/cdap,caskdata/cdap,chtyim/cdap,mpouttucla...
/* * Copyright © 2015 Cask Data, 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...
cdap-data-fabric/src/main/java/co/cask/cdap/data/format/CombinedLogRecordFormat.java
/* * Copyright © 2015 Cask Data, 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...
CDAP-1731 fix typo
cdap-data-fabric/src/main/java/co/cask/cdap/data/format/CombinedLogRecordFormat.java
CDAP-1731 fix typo
<ide><path>dap-data-fabric/src/main/java/co/cask/cdap/data/format/CombinedLogRecordFormat.java <ide> protected Schema getDefaultSchema() { <ide> return Schema.recordOf("streamEvent", <ide> Schema.Field.of("remote_host", Schema.nullableOf(Schema.of(Schema.Type.STRING))), <del> Schema.Field...
JavaScript
mit
ed0b7af4f1e2b254de1f7b6b989989370cf564e3
0
arcseldon/jsbin,kirjs/jsbin,saikota/jsbin,ilyes14/jsbin,Hamcha/jsbin,dennishu001/jsbin,fend-classroom/jsbin,KenPowers/jsbin,jamez14/jsbin,roman01la/jsbin,simonThiele/jsbin,filamentgroup/jsbin,KenPowers/jsbin,thsunmy/jsbin,eggheadio/jsbin,blesh/jsbin,fgrillo21/NPA-Exam,mlucool/jsbin,remotty/jsbin,dedalik/jsbin,dhval/jsb...
var express = require('express'), flatten = require('flatten').flatten, hogan = require('hogan.js'), gobo = require('gobo'), path = require('path'), fs = require('fs'), app = express(), errors = require('./errors'), options = require('./config...
lib/app.js
var express = require('express'), flatten = require('flatten').flatten, hogan = require('hogan.js'), gobo = require('gobo'), path = require('path'), fs = require('fs'), app = express(), errors = require('./errors'), options = require('./config...
read the app port from the config file
lib/app.js
read the app port from the config file
<ide><path>ib/app.js <ide> if (err) { <ide> throw err; <ide> } <del> module.exports.listen(3000); <add> <add> var port = 80; <add> options.url.host.replace(/\:(\d+)$/, function(m,p) { <add> if (p.length) { <add> port = p; <add> } else if (process.env.PORT) { <add> port = p...
Java
mit
c0445c7e4040b1e9c590f40bdc578ad8fb258829
0
sormuras/bach,sormuras/bach
/* * Bach - Java Shell Builder * Copyright (C) 2019 Christian Stein * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
src/modules/de.sormuras.bach/main/java/de/sormuras/bach/JigsawBuilder.java
/* * Bach - Java Shell Builder * Copyright (C) 2019 Christian Stein * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
Skip compilation if the realm contains no module
src/modules/de.sormuras.bach/main/java/de/sormuras/bach/JigsawBuilder.java
Skip compilation if the realm contains no module
<ide><path>rc/modules/de.sormuras.bach/main/java/de/sormuras/bach/JigsawBuilder.java <ide> <ide> void compile(String realm, String... requiredRealms) throws Exception { <ide> var modules = bach.project.modules(realm); <add> if (modules.isEmpty()) { <add> bach.run.log(DEBUG, "No %s modules found", realm);...