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
bsd-3-clause
error: pathspec 'src/org/torproject/jtor/socks/impl/SocksStreamConnection.java' did not match any file(s) known to git
374bea89685e2caca63f8dfcac2cf4d25d1fb9ce
1
subgraph/Orchid,mohsenuss91/Orchid
package org.torproject.jtor.socks.impl; import java.io.Closeable; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import org.torproject.jtor.Logger; import org.torproject.jtor.circuits.Stream; public class SocksStreamConnection { public static void runConnection(InputStream so...
src/org/torproject/jtor/socks/impl/SocksStreamConnection.java
Connects a SOCKS proxy connection to a Tor stream
src/org/torproject/jtor/socks/impl/SocksStreamConnection.java
Connects a SOCKS proxy connection to a Tor stream
<ide><path>rc/org/torproject/jtor/socks/impl/SocksStreamConnection.java <add>package org.torproject.jtor.socks.impl; <add> <add>import java.io.Closeable; <add>import java.io.IOException; <add>import java.io.InputStream; <add>import java.io.OutputStream; <add> <add>import org.torproject.jtor.Logger; <add>import org.torp...
JavaScript
mit
866acce116c838c3e5d3b9f7ffc22d30411e9c91
0
bonze/juice-shop,oviroman/disertatieiap2017,bkimminich/juice-shop,bonze/juice-shop,bonze/juice-shop,oviroman/disertatieiap2017,oviroman/disertatieiap2017,oviroman/disertatieiap2017,m4l1c3/juice-shop,bonze/juice-shop,bkimminich/juice-shop,bkimminich/juice-shop,m4l1c3/juice-shop,bkimminich/juice-shop,bkimminich/juice-sho...
/*jslint node: true */ 'use strict'; var application_root = __dirname.replace(/\\/g, '/'), morgan = require('morgan'), Sequelize = require('sequelize'), sequelize = new Sequelize('database', 'username', 'password', { dialect: 'sqlite', storage: 'data/juiceshop.sqlite' }), restful = ...
server.js
/*jslint node: true */ 'use strict'; var application_root = __dirname.replace(/\\/g, '/'), morgan = require('morgan'), Sequelize = require('sequelize'), sequelize = new Sequelize('database', 'username', 'password', { dialect: 'sqlite', storage: 'data/juiceshop.sqlite' }), restful = ...
improved error message on suspected attack now includes IP address of attacker for scare tactics
server.js
improved error message on suspected attack
<ide><path>erver.js <ide> next(error); <ide> }); <ide> } else { <del> next(new Error('Blocked attempt to change password for another user')); <add> next(new Error('Blocked illegal activity by ' + req.connection.remoteAddress)); <ide> ...
JavaScript
mit
1732ad2b2625da46066ff87dacb8f96f4d1172fe
0
mr47/run-on
require('dotenv').config({silent: true}); var spawn = require('child_process').spawn; var objectAssign = require('object-assign'); module.exports = function exec(script) { var argv = process.argv.splice(3); var command = script.command + ' ' + argv.join(' '); script.env = script.env || {}; var env = objectAssi...
lib/exec.js
require('dotenv').config({silent: true}); var spawn = require('child_process').spawn; var objectAssign = require('object-assign'); module.exports = function exec(script) { var argv = process.argv.splice(3); var command = script.command + ' ' + argv.join(' '); script.env = script.env || {}; var env = objectAssi...
Switch to inheriting the stdin pipe as well as the stdout and stderr ones (#46)
lib/exec.js
Switch to inheriting the stdin pipe as well as the stdout and stderr ones (#46)
<ide><path>ib/exec.js <ide> spawn(sh, [shFlag, command], { <ide> env: env, <ide> windowsVerbatimArguments: process.platform === 'win32', <del> stdio: ['pipe', process.stdout, process.stderr] <add> stdio: 'inherit' <ide> }).on('close', function(code) { <ide> process.exit(code); <ide> });
Java
apache-2.0
83a72c3959a1a48000548ae62ced259c1e023d1a
0
dke-knu/i2am,dke-knu/i2am,dke-knu/i2am,dke-knu/i2am,dke-knu/i2am,dke-knu/i2am,dke-knu/i2am,dke-knu/i2am
package i2am.sampling.common; import i2am.metadata.DbAdmin; import javax.sql.DataSource; import java.sql.*; public class DbAdapter { private Connection connection; private PreparedStatement preparedStatement; private ResultSet resultSet; private final DbAdmin dbAdmin; private final DataSource ds...
i2am-core/i2am-algorithm-sampling/src/main/java/i2am/sampling/common/DbAdapter.java
package i2am.sampling.common; import i2am.metadata.DbAdmin; import javax.sql.DataSource; import java.sql.*; public class DbAdapter { private Connection connection; private PreparedStatement preparedStatement; private ResultSet resultSet; private final DbAdmin dbAdmin; private final DataSource ds...
타겟 조회 쿼리 변경
i2am-core/i2am-algorithm-sampling/src/main/java/i2am/sampling/common/DbAdapter.java
타겟 조회 쿼리 변경
<ide><path>2am-core/i2am-algorithm-sampling/src/main/java/i2am/sampling/common/DbAdapter.java <ide> private final DataSource ds; <ide> private volatile static DbAdapter instance; <ide> <del> private static final String GETTARGETINDEXQUERY = "SELECT COLUMN_INDEX FROM tbl_src_csv_schema WHERE IDX = (SELECT F_...
JavaScript
mit
55e113fb41dc8e5ca49b74bfd4709c4c39a2abab
0
xcthulhu/codewars-runner,remotty/cdr,xcthulhu/codewars-runner,remotty/cdr,remotty/cdr,remotty/cdr,remotty/cdr,remotty/cdr,xcthulhu/codewars-runner,xcthulhu/codewars-runner,remotty/cdr,xcthulhu/codewars-runner
module.exports = { version: '1.0.3', testFramework: { defaults: { javascript: 'cw-2', coffeescript: 'cw-2', ruby: 'cw-2', python: 'cw-2' } }, images: { ruby: ['ruby'], node: ['javascript', 'coffeescript', 'typescript'], ...
lib/config.js
module.exports = { version: '1.0.2', testFramework: { defaults: { javascript: 'cw-2', coffeescript: 'cw-2', ruby: 'cw-2', python: 'cw-2' } }, images: { ruby: ['ruby'], node: ['javascript', 'coffeescript', 'typescript'], ...
Version bump && adding the promise of scala to the jvm runner box
lib/config.js
Version bump && adding the promise of scala to the jvm runner box
<ide><path>ib/config.js <ide> module.exports = { <del> version: '1.0.2', <add> version: '1.0.3', <ide> testFramework: { <ide> defaults: { <ide> javascript: 'cw-2', <ide> node: ['javascript', 'coffeescript', 'typescript'], <ide> python: ['python'], <ide> dotnet: ['cs...
Java
mit
0b581ce31f02d8d7f47d41019ddfec4889104cee
0
slbelden/3011_MazeMatch
/** * Template: * @author Kim Buckner * * Current Version: * @author James Scott * @author Colin Riley * @author Stephen Belden * @author Shaya Wolf * @author Neil Carrico * @version April 29, 2016 * * This is the actual "game". * This class handles all game logic, as well as rendering the game board. * ...
src/game/GameWindow.java
/** * Template: * @author Kim Buckner * * Current Version: * @author James Scott * @author Colin Riley * @author Stephen Belden * @author Shaya Wolf * @author Neil Carrico * @version April 29, 2016 * * This is the actual "game". * This class handles all game logic, as well as rendering the game board. * ...
Colin's something, buttons work?
src/game/GameWindow.java
Colin's something, buttons work?
<ide><path>rc/game/GameWindow.java <ide> import java.awt.event.ActionEvent; <ide> import java.awt.event.ActionListener; <ide> import java.io.File; <add>import java.io.FileOutputStream; <ide> import java.io.IOException; <ide> import java.nio.ByteBuffer; <ide> import java.nio.file.Files; <ide> import java.util.Arrays; <i...
Java
mit
aee50d547f7910230efed017e0e3046c6bb0b90a
0
Samhamsam/htwg.se.mineSweeper
package de.htwg.minesweeper.model; import java.util.Observable; import java.util.Random; public class Model extends Observable { private int row; private int column; private int numberOfMines; private static final String BOMB = "b"; private static final String FREE_FIELD = "g"; private static final String US...
src/de/htwg/minesweeper/model/Model.java
package de.htwg.minesweeper.model; import java.util.Observable; import java.util.Random; public class Model extends Observable { private int row; private int column; private int numberOfMines; private static final String BOMB = "b"; private static final String FREE_FIELD = "g"; private static final String US...
removed errors for sonarqube
src/de/htwg/minesweeper/model/Model.java
removed errors for sonarqube
<ide><path>rc/de/htwg/minesweeper/model/Model.java <ide> private int sizeOfxAndfWithoutBomb = 0; <ide> <ide> private String[][] filledField; <del> private String[][] UserField; <add> private String[][] userField; <ide> <ide> public Model(int i, int j, int k){ <ide> this.row=i; <ide> this.numberOfMines = k; <...
JavaScript
mit
3b1ffd23aa41e8890e6f079ce22d84e93a5a67d3
0
severe-island/testero,severe-island/testero,severe-island/testero
var request = require('supertest'); var app = require('../../../app'); var usersConst = require('../js/const'); describe('Модуль users', function () { describe('Список всех пользователей', function() { /*it('Список пуст', function (done) { request(app) .post('/users/findAllUsers') .set('X-R...
modules/users/tests/findAllUsers.js
var request = require('supertest'); var app = require('../../../app'); var userConst = require('../js/const'); describe('Модуль users:', function () { describe('Список всех пользователей:', function() { it('Список пуст:', function (done) { request(app) .post('/users/findAllUsers') .set('X-R...
Странная работа тестирования.
modules/users/tests/findAllUsers.js
Странная работа тестирования.
<ide><path>odules/users/tests/findAllUsers.js <ide> var request = require('supertest'); <ide> var app = require('../../../app'); <del>var userConst = require('../js/const'); <add>var usersConst = require('../js/const'); <ide> <del>describe('Модуль users:', function () { <del> describe('Список всех пользователей:', fu...
Java
mit
a14ecba7c4e95174f45617624c42f983430b4705
0
cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic,cacheflowe/haxademic
package com.haxademic.core.hardware.keyboard; import java.util.HashMap; import com.haxademic.core.app.P; import com.haxademic.core.data.constants.PRegisterableMethods; import com.haxademic.core.debug.DebugView; import com.haxademic.core.hardware.shared.InputTrigger.InputState; import processing.event.KeyEvent; publ...
src/com/haxademic/core/hardware/keyboard/KeyboardState.java
package com.haxademic.core.hardware.keyboard; import java.util.HashMap; import com.haxademic.core.app.P; import com.haxademic.core.data.constants.PRegisterableMethods; import com.haxademic.core.debug.DebugView; import com.haxademic.core.hardware.shared.InputTrigger.InputState; import processing.event.KeyEvent; publ...
Default KeyboardState to *not* log to DebugView
src/com/haxademic/core/hardware/keyboard/KeyboardState.java
Default KeyboardState to *not* log to DebugView
<ide><path>rc/com/haxademic/core/hardware/keyboard/KeyboardState.java <ide> <ide> protected HashMap<Integer, InputState> keyboardButtons = new HashMap<Integer, InputState>(); <ide> protected int lastUpdatedFrame = 0; <del> protected boolean updatesDebugView = true; <add> protected boolean updatesDebugView = false; <...
JavaScript
artistic-2.0
e04ab44f30d2f398c6ecec86fd51c8827918801a
0
AccelerationNet/loopback-connector-postgresql,AccelerationNet/loopback-connector-postgresql
var async = require('async'); module.exports = mixinMigration; function mixinMigration(PostgreSQL) { /*! * Discover the properties from a table * @param {String} model The model name * @param {Function} cb The callback function */ PostgreSQL.prototype.getTableStatus = function(model, cb) { function...
lib/migration.js
var async = require('async'); module.exports = mixinMigration; function mixinMigration(PostgreSQL) { /*! * Discover the properties from a table * @param {String} model The model name * @param {Function} cb The callback function */ PostgreSQL.prototype.getTableStatus = function(model, cb) { function...
include the length of the column if its a char type. change character varying to varchar to match columnDataType method
lib/migration.js
include the length of the column if its a char type. change character varying to varchar to match columnDataType method
<ide><path>ib/migration.js <ide> } <ide> if (!err) { <ide> data.forEach(function(field) { <del> field.type = mapPostgreSQLDatatypes(field.type); <add> field.type = mapPostgreSQLDatatypes(field.type, field.length); <ide> }); <ide> } <ide> cb(err, data); <ide> ...
Java
apache-2.0
8b982a9ef02623e6242e4940f48d3cd191fa58d3
0
OrienteerDW/Orienteer,OrienteerBAP/Orienteer,OrienteerBAP/Orienteer,WeaxMe/Orienteer,WeaxMe/Orienteer,OrienteerDW/Orienteer,OrienteerDW/Orienteer,OrienteerBAP/Orienteer,WeaxMe/Orienteer,OrienteerBAP/Orienteer
package org.orienteer.devutils; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import org.apache.wicket.Component; import org.apache.wicket.markup.html.basic.MultiLineLabel; import org.apache.wicket.model.IModel; import org.orienteer.devutils.component.OQueryModelResultsPanel; impo...
orienteer-devutils/src/main/java/org/orienteer/devutils/ODBScriptResultRenderer.java
package org.orienteer.devutils; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import org.apache.wicket.Component; import org.apache.wicket.markup.html.basic.MultiLineLabel; import org.apache.wicket.model.IModel; import org.orienteer.devutils.component.OQueryModelResultsPanel; impo...
Ignore primitive arrays in ODBScriptResultRenderer
orienteer-devutils/src/main/java/org/orienteer/devutils/ODBScriptResultRenderer.java
Ignore primitive arrays in ODBScriptResultRenderer
<ide><path>rienteer-devutils/src/main/java/org/orienteer/devutils/ODBScriptResultRenderer.java <ide> // Trying to find ODocument related stuff <ide> Object value = dataModel.getObject(); <ide> if(value == null) return null; <del> if(value.getClass().isArray()) { <del> value = Arrays.asList((Object[])value...
Java
apache-2.0
error: pathspec 'src/ch/usi/dag/disl/snippet/syntheticlocal/SyntheticLocalVar.java' did not match any file(s) known to git
0a79a29f0689383fdb63c8775db31d8f42ac3a87
1
akashche/disl-mirror,akashche/disl-mirror,akashche/disl-mirror,akashche/disl-mirror
package ch.usi.dag.disl.snippet.syntheticlocal; import org.objectweb.asm.tree.InsnList; public class SyntheticLocalVar { final static String NAME_DELIM = "."; private String className; private String methodName; private InsnList initASMCode; public SyntheticLocalVar(String className, String methodName) { ...
src/ch/usi/dag/disl/snippet/syntheticlocal/SyntheticLocalVar.java
commit fix: missing class git-svn-id: 9828a123601097aec97c9db06897c34ab9021696@50 f1b219a8-1381-427d-9730-7f2851dc2a88
src/ch/usi/dag/disl/snippet/syntheticlocal/SyntheticLocalVar.java
commit fix: missing class
<ide><path>rc/ch/usi/dag/disl/snippet/syntheticlocal/SyntheticLocalVar.java <add>package ch.usi.dag.disl.snippet.syntheticlocal; <add> <add>import org.objectweb.asm.tree.InsnList; <add> <add>public class SyntheticLocalVar { <add> <add> final static String NAME_DELIM = "."; <add> <add> private String className; <add> p...
Java
mpl-2.0
67559af279b645820e8f967aa7e1234539f42886
0
tntim96/rhino-jscover-repackaged,tejassaoji/RhinoCoarseTainting,sam/htmlunit-rhino-fork,sam/htmlunit-rhino-fork,tuchida/rhino,rasmuserik/rhino,sam/htmlunit-rhino-fork,Angelfirenze/rhino,ashwinrayaprolu1984/rhino,tntim96/htmlunit-rhino-fork,swannodette/rhino,tntim96/rhino-jscover,tejassaoji/RhinoCoarseTainting,Angelfire...
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * The contents of this file are subject to the Netscape Public * License Version 1.1 (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.mozilla.org/N...
src/org/mozilla/javascript/Interpreter.java
/* -*- Mode: java; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * The contents of this file are subject to the Netscape Public * License Version 1.1 (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.mozilla.org/N...
Move code to adjust stack depth for finally handler from TARGET case of the main switch in generateICode to TRY switch generating all the code for try. It allows to remove special marking of JSR targets with FINALLY_PROP and make stack handling for catch and finally block uniform.
src/org/mozilla/javascript/Interpreter.java
Move code to adjust stack depth for finally handler from TARGET case of the main switch in generateICode to TRY switch generating all the code for try. It allows to remove special marking of JSR targets with FINALLY_PROP and make stack handling for catch and finally block uniform.
<ide><path>rc/org/mozilla/javascript/Interpreter.java <ide> <ide> case TokenStream.TARGET : { <ide> markTargetLabel(node, iCodeTop); <del> // if this target has a FINALLY_PROP, it is a JSR target <del> // and so on the top of the stack it has either a PC value ...
Java
apache-2.0
743a8fa98f34580dff938e8757d434905ef53738
0
vatbub/common,vatbub/common
package view; import javafx.animation.*; import javafx.scene.control.ProgressBar; import javafx.util.Duration; public class CustomProgressBar extends ProgressBar { public CustomProgressBar() { super(); } public CustomProgressBar(double arg0) { super(arg0); } /** * Like the usual {@code ...
src/main/java/view/CustomProgressBar.java
package view; import javafx.animation.*; import javafx.scene.control.ProgressBar; import javafx.util.Duration; public class CustomProgressBar extends ProgressBar { public CustomProgressBar() { super(); } public CustomProgressBar(double arg0) { super(arg0); } /** * Like the usual {@code ...
Adapted animation speed in CustomProgressBar
src/main/java/view/CustomProgressBar.java
Adapted animation speed in CustomProgressBar
<ide><path>rc/main/java/view/CustomProgressBar.java <ide> Timeline timeline = new Timeline(); <ide> <ide> KeyValue keyValue = new KeyValue(this.progressProperty(), progress); <del> KeyFrame keyFrame = new KeyFrame(new Duration(500), keyValue); <add> KeyFrame keyFrame = new KeyFrame(new Duration(400), keyValue); ...
Java
apache-2.0
54e01d9a89618dc4e63d391ef5b55999b173becc
0
intentionet/batfish,intentionet/batfish,batfish/batfish,dhalperi/batfish,batfish/batfish,andrenmaia/batfish,arifogel/batfish,arifogel/batfish,intentionet/batfish,dhalperi/batfish,dhalperi/batfish,intentionet/batfish,arifogel/batfish,intentionet/batfish,batfish/batfish,andrenmaia/batfish
package batfish.logicblox; import java.io.File; import java.io.IOException; import java.math.BigInteger; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; i...
projects/batfish/src/batfish/logicblox/LogicBloxFrontend.java
package batfish.logicblox; import java.io.File; import java.io.IOException; import java.math.BigInteger; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Map; import java.util.concurrent.ExecutionException; import java.util.concurrent.Future; i...
fixing remote add project
projects/batfish/src/batfish/logicblox/LogicBloxFrontend.java
fixing remote add project
<ide><path>rojects/batfish/src/batfish/logicblox/LogicBloxFrontend.java <ide> import batfish.util.Util; <ide> <ide> public class LogicBloxFrontend { <add> <add> private class ProjectFile extends File { <add> <add> private String _pathname; <add> <add> public ProjectFile(String pathname) { <add> ...
JavaScript
mit
910f43d8a2f9a568cab30bd055aa33ab0a9a98c7
0
stackgl/glslify,stackgl/glslify
var falafel = require('falafel') var duplexify = require('duplexify') var through = require('through2') var concat = require('concat-stream') var from = require('from2') var gdeps = require('glslify-deps') var gbundle = require('glslify-bundle') var path = require('path') var seval = require('static-eval') var resolve ...
transform.js
var falafel = require('falafel') var duplexify = require('duplexify') var through = require('through2') var concat = require('concat-stream') var from = require('from2') var gdeps = require('glslify-deps') var gbundle = require('glslify-bundle') var path = require('path') var seval = require('static-eval') var resolve ...
Fix for CLI post transforms Should be relative to the working directory when specified through the CLI. Otherwise, the package will be resolved from different locations each time. This is generally fine when you're resolving a module from node_modules, but not for relative paths.
transform.js
Fix for CLI post transforms
<ide><path>ransform.js <ide> require: { resolve: resolve } <ide> } <ide> <del> ;[] <del> .concat(opts.post || []) <del> .concat(opts.p || []) <del> .forEach(function (post) { <del> post = Array.isArray(post) ? post : [post] <del> var name = post[0] <del> var opts = post[1] || {} <del> ...
Java
apache-2.0
ce6f9829bb28b5fd0991fd77d6cc0b6b09541286
0
chongma/BootsFaces-OSP,chongma/BootsFaces-OSP,mtvweb/BootsFaces-OSP,asterd/BootsFaces-OSP,jepsar/BootsFaces-OSP,mtvweb/BootsFaces-OSP,TheCoder4eu/BootsFaces-OSP,TheCoder4eu/BootsFaces-OSP,jepsar/BootsFaces-OSP,asterd/BootsFaces-OSP
package net.bootsfaces.component.ajax; import java.io.IOException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import javax.el.MethodExpression; import javax.faces.FacesExceptio...
src/main/java/net/bootsfaces/component/ajax/AJAXRenderer.java
package net.bootsfaces.component.ajax; import java.io.IOException; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Set; import javax.el.MethodExpression; import javax.faces.FacesExceptio...
fixed #259 (b:commandButton actions were called twice, and if you provide both action and actionListener, even b:navCommandLink actions were called twice)
src/main/java/net/bootsfaces/component/ajax/AJAXRenderer.java
fixed #259 (b:commandButton actions were called twice, and if you provide both action and actionListener, even b:navCommandLink actions were called twice)
<ide><path>rc/main/java/net/bootsfaces/component/ajax/AJAXRenderer.java <ide> } <ide> } <ide> <add> boolean addEventToQueue=false; <ide> if (component instanceof ActionSource) { <ide> ActionSource b = (ActionSource) component; <ide> ActionListener[] actionListeners = b.getActionListeners(); <ide> ...
Java
epl-1.0
743c955128061a30af7a61877928a1d3efe3285b
0
davidfestal/che,akervern/che,davidfestal/che,akervern/che,davidfestal/che,codenvy/che,codenvy/che,akervern/che,akervern/che,davidfestal/che,akervern/che,akervern/che,akervern/che,akervern/che,akervern/che,davidfestal/che,davidfestal/che,davidfestal/che,codenvy/che,codenvy/che,davidfestal/che,davidfestal/che,davidfestal...
/* * Copyright (c) 2012-2018 Red Hat, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Red H...
selenium/che-selenium-test/src/main/java/org/eclipse/che/selenium/pageobject/SeleniumWebDriverHelper.java
/* * Copyright (c) 2012-2018 Red Hat, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Red H...
Selenium: Add new methods to the "SeleniumWebDriverHelper" class (#8995)
selenium/che-selenium-test/src/main/java/org/eclipse/che/selenium/pageobject/SeleniumWebDriverHelper.java
Selenium: Add new methods to the "SeleniumWebDriverHelper" class (#8995)
<ide><path>elenium/che-selenium-test/src/main/java/org/eclipse/che/selenium/pageobject/SeleniumWebDriverHelper.java <ide> package org.eclipse.che.selenium.pageobject; <ide> <ide> import static java.util.Arrays.asList; <add>import static java.util.stream.Collectors.toList; <ide> import static org.eclipse.che.selenium.c...
JavaScript
mpl-2.0
fba8c5ab766e85b9e7d64eff93e39a44b8c8f5bc
0
joyent/sdcadm,joyent/sdcadm,joyent/sdcadm
/* * 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/. */ /* * Copyright (c) 2015, Joyent, Inc. */ /* * Core SdcAdm class. */ var assert = require('assert-plus');...
lib/sdcadm.js
/* * 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/. */ /* * Copyright (c) 2015, Joyent, Inc. */ /* * Core SdcAdm class. */ var assert = require('assert-plus');...
TOOLS-812: Fix rollback of "assets" zone (due to lack of service.params)
lib/sdcadm.js
TOOLS-812: Fix rollback of "assets" zone (due to lack of service.params)
<ide><path>ib/sdcadm.js <ide> 'rollback-service' : 'unknown' <ide> }; <ide> if (change.service.type === 'vm') { <del> chg.rb_img = change.service.params.image_uuid; <add> if (change.service.name === 'assets') { <add> ...
Java
agpl-3.0
058b62c693fd3c1c53b85c9a6cc9d8e3b1c77eeb
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
8a6ac75e-2e61-11e5-9284-b827eb9e62be
hello.java
8a654cde-2e61-11e5-9284-b827eb9e62be
8a6ac75e-2e61-11e5-9284-b827eb9e62be
hello.java
8a6ac75e-2e61-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>8a654cde-2e61-11e5-9284-b827eb9e62be <add>8a6ac75e-2e61-11e5-9284-b827eb9e62be
Java
mit
57958179f58ea3b954d8c4bb2d5919a828027622
0
rwachtler/ITM13TermStatistics,rwachtler/ITM13TermStatistics,rwachtler/ITM13TermStatistics
package at.fhj.itm.pswe.dao; import java.util.List; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; import org.json.JSONArray; import org.json.JSONObject; import at.fhj.itm.pswe.dao.interfaces.IWord; import at.fhj.itm.p...
src/at/fhj/itm/pswe/dao/WordDao.java
package at.fhj.itm.pswe.dao; import java.util.List; import javax.ejb.Stateless; import javax.persistence.EntityManager; import javax.persistence.PersistenceContext; import javax.persistence.Query; import org.json.JSONArray; import org.json.JSONObject; import at.fhj.itm.pswe.dao.interfaces.IWord; import at.fhj.itm.p...
fixed WordMockTest Coverage for wordTypeAsOption
src/at/fhj/itm/pswe/dao/WordDao.java
fixed WordMockTest Coverage for wordTypeAsOption
<ide><path>rc/at/fhj/itm/pswe/dao/WordDao.java <ide> public JSONArray wordTypeAsOption(){ <ide> List<Object[]> queryResult = em <ide> .createQuery( <del> "SELECT wt.id, wt.texttype FROM WordType wt GROUP BY w.text, w.active") <add> "SELECT wt.id, wt.texttype FROM WordType wt GROUP BY w.text, w.active...
JavaScript
mit
07d1970bc86d45ad15a364ae0b25278478f43c9f
0
FiwareULPGC/tutorials.TourGuide-App,Fiware/tutorials.TourGuide-App,Fiware/tutorials.TourGuide-App,Fiware/tutorials.TourGuide-App,Fiware/tutorials.TourGuide-App,FiwareULPGC/tutorials.TourGuide-App,FiwareULPGC/tutorials.TourGuide-App,FiwareULPGC/fiware-devguide-app,Bitergia/fiware-devguide-app,Bitergia/fiware-devguide-ap...
/* * restaurant_feeder.js * Copyright(c) 2015 Bitergia * Author: Alvaro del Castillo <acs@bitergia.com> * MIT Licensed Feeds restaurants into Orion CB First it gets all restaurant information Then restaurant geocode is gathered using Google API in serial execution Then all restaurant data is added to Orio...
server/restaurant_feeder.js
/* * restaurant_feeder.js * Copyright(c) 2015 Bitergia * Author: Alvaro del Castillo <acs@bitergia.com> * MIT Licensed Feeds restaurants into Orion CB First it gets all restaurant information Then restaurant geocode is gathered using Google API in serial execution Then all restaurant data is added to Orio...
Fix encoding of quotes and newlines for orion.
server/restaurant_feeder.js
Fix encoding of quotes and newlines for orion.
<ide><path>erver/restaurant_feeder.js <ide> } <ide> <ide> function fixedEncodeURIComponent (str) { <del> return str.replace(/[<>"'=;()\n]/g, function(c) { <add> str=str.replace(/["]/g,'\\"'); <add> str=str.replace(/\n/g,'\\n'); <add> return str.replace(/[<>"'=;()\n\\]/g, function(c) { <ide> var hex; <ide>...
Java
unlicense
eca01d48652e55414257a25d731a252ae4218251
0
lency/petmonitor
package cn.sevensencond.petmonitor; import org.apache.http.Header; import android.util.Log; import com.google.gson.Gson; import com.loopj.android.http.*; public class petserver { class userinfo { String userMail; public String password; } class session { public String userID; public String sessionID; }...
petmonitor/src/cn/sevensencond/petmonitor/petserver.java
package cn.sevensencond.petmonitor; import java.io.IOException; import java.io.OutputStream; import java.net.HttpURLConnection; import java.net.URL; import org.apache.http.Header; import android.util.Log; import com.google.gson.Gson; import com.loopj.android.http.*; public class petserver { class userinfo { Str...
- modified serverHandle interface - add interface location/register
petmonitor/src/cn/sevensencond/petmonitor/petserver.java
- modified serverHandle interface - add interface location/register
<ide><path>etmonitor/src/cn/sevensencond/petmonitor/petserver.java <ide> package cn.sevensencond.petmonitor; <ide> <del>import java.io.IOException; <del>import java.io.OutputStream; <del>import java.net.HttpURLConnection; <del>import java.net.URL; <ide> import org.apache.http.Header; <ide> <ide> import android.util.L...
JavaScript
mit
6df9b1726eee733d90489ba589cfb0a7c93d1288
0
mitselek/Screenwerk,mitselek/Screenwerk,argoroots/Screenwerk,argoroots/Screenwerk,mitselek/Screenwerk,argoroots/Screenwerk
var path = require('path') var fs = require('fs') var op = require('object-path') var request = require('request') var SlackBot = require('slackbots') var SlackUp = require('node-slack-upload') // TODO: Token for 'noise' has to be read from Entu screen var token = 'xoxb-12801543831...
code/slackbots.js
var path = require('path') var fs = require('fs') var op = require('object-path') var request = require('request') var SlackBot = require('slackbots') var SlackUp = require('node-slack-upload') // TODO: Token for 'noise' has to be read from Entu screen var token = 'xoxb-12801543831...
chatter
code/slackbots.js
chatter
<ide><path>ode/slackbots.js <ide> if (curr.ino === 0) { process.exit(0) } <ide> }) <ide> if (isWin) { <del> slackbot.chatter(':info: launching new instance on windows') <add> slackbot.chatter(':information_source: launching new instance on windows') <ide> re...
JavaScript
mit
f060da70298ecf18d363bb2da304096671c15053
0
MethodsOfMath/Mather,MethodsOfMath/Mather,punkbass/Mather,punkbass/Mather
var w = 600; var h = 400; void setup() { size(w, h); } void draw() { background(100,100,255); fill(player.skin[0],player.skin[1],player.skin[2]); //ears ellipse(player.x-6-player.face*2,player.y-12,4,4); ellipse(player.x+6+player.face*2,player.y-12,4,4); // head ellipse(player.x,player.y-10,12+...
scripts/drawgame.js
var w = 600; var h = 400; void setup() { size(w, h); } void draw() { background(100,100,255); fill(player.skin[0],player.skin[1],player.skin[2]); //ears ellipse(player.x-6-player.face*2,player.y-12,4,4); ellipse(player.x+6+player.face*2,player.y-12,4,4); // head ellipse(player.x,player.y-10,12+...
Update drawgame.js
scripts/drawgame.js
Update drawgame.js
<ide><path>cripts/drawgame.js <ide> <ide> //pants <ide> fill(0,100,0); <add> noStroke(); <ide> rect(player.x-6,player.y+16,4,3); <ide> rect(player.x+2, player.y+16,4,3); <del> rect(player.x-6,player.y+15,12,2); <del> <add> rect(player.x-6,player.y+14,12,2); <add> stroke(0,0,0); <ide> <ide> //shoes...
Java
apache-2.0
567d5085212a6346c719c7a781511cb04c755208
0
sosy-lab/java-smt,sosy-lab/java-smt,sosy-lab/java-smt,sosy-lab/java-smt,sosy-lab/java-smt
/* * JavaSMT is an API wrapper for a collection of SMT solvers. * This file is part of JavaSMT. * * Copyright (C) 2007-2020 Dirk Beyer * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
src/org/sosy_lab/java_smt/test/SolverConcurrencyTest.java
/* * JavaSMT is an API wrapper for a collection of SMT solvers. * This file is part of JavaSMT. * * Copyright (C) 2007-2020 Dirk Beyer * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may ...
Concurrent Stack Test and Methods to Check Requirements
src/org/sosy_lab/java_smt/test/SolverConcurrencyTest.java
Concurrent Stack Test and Methods to Check Requirements
<ide><path>rc/org/sosy_lab/java_smt/test/SolverConcurrencyTest.java <ide> import java.util.concurrent.CountDownLatch; <ide> import java.util.concurrent.ExecutorService; <ide> import java.util.concurrent.Executors; <add>import java.util.concurrent.Future; <ide> import java.util.concurrent.TimeUnit; <ide> import org.juni...
Java
mpl-2.0
2b5828e374ac985fc172d35a266668ee63622058
0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
// -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- // // This file is part of the LibreOffice project. // // 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...
android/experimental/LibreOffice4Android/src/org/libreoffice/android/DocumentLoader.java
// -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- // // This file is part of the LibreOffice project. // // 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...
Complete internal rework of DocumentViewer. Change-Id: If080c114d38fa39d50a22127def217ad59f262fd
android/experimental/LibreOffice4Android/src/org/libreoffice/android/DocumentLoader.java
Complete internal rework of DocumentViewer.
<ide><path>ndroid/experimental/LibreOffice4Android/src/org/libreoffice/android/DocumentLoader.java <ide> import java.io.*; <ide> import java.nio.ByteBuffer; <ide> import java.nio.ByteOrder; <add>import java.util.ArrayList; <ide> <ide> import org.libreoffice.android.Bootstrap; <ide> import org.libreoffice.ui.LibreOffic...
Java
mit
5c042befee5306bb552be98538dca7abb312006f
0
murven/malmo,murven/malmo,tnarik/malmo,tnarik/malmo,murven/malmo,tnarik/malmo,tnarik/malmo,murven/malmo,tnarik/malmo,murven/malmo
package com.microsoft.Malmo.MissionHandlers; import net.minecraft.client.Minecraft; import net.minecraft.client.entity.EntityPlayerSP; import com.microsoft.Malmo.MalmoMod; import com.microsoft.Malmo.MissionHandlerInterfaces.ICommandHandler; import com.microsoft.Malmo.Schemas.DiscreteMovementCommand; import com.micros...
Minecraft/src/main/java/com/microsoft/Malmo/MissionHandlers/DiscreteMovementCommandsImplementation.java
package com.microsoft.Malmo.MissionHandlers; import net.minecraft.client.Minecraft; import net.minecraft.client.entity.EntityPlayerSP; import com.microsoft.Malmo.MalmoMod; import com.microsoft.Malmo.MissionHandlerInterfaces.ICommandHandler; import com.microsoft.Malmo.Schemas.DiscreteMovementCommand; import com.micros...
Less stupid fix for discrete -ve movement.
Minecraft/src/main/java/com/microsoft/Malmo/MissionHandlers/DiscreteMovementCommandsImplementation.java
Less stupid fix for discrete -ve movement.
<ide><path>inecraft/src/main/java/com/microsoft/Malmo/MissionHandlers/DiscreteMovementCommandsImplementation.java <ide> double newX = player.posX; <ide> double newZ = player.posZ; <ide> // Are we still in the centre of a square, or did we get shunted? <del> ...
Java
mpl-2.0
c3337e92e40ae28e81ec4a4e8b358988e27d3ce7
0
zeromq/jeromq,trevorbernard/jeromq,c-rack/jeromq,trevorbernard/jeromq,fredoboulo/jeromq,fredoboulo/jeromq,zeromq/jeromq
/* Copyright (c) 2009-2011 250bpm s.r.o. Copyright (c) 2007-2009 iMatix Corporation Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file This file is part of 0MQ. 0MQ is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public ...
src/main/java/zmq/Decoder.java
/* Copyright (c) 2009-2011 250bpm s.r.o. Copyright (c) 2007-2009 iMatix Corporation Copyright (c) 2007-2011 Other contributors as noted in the AUTHORS file This file is part of 0MQ. 0MQ is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public ...
Fix the message decoder to ignore reserved flags
src/main/java/zmq/Decoder.java
Fix the message decoder to ignore reserved flags
<ide><path>rc/main/java/zmq/Decoder.java <ide> <ide> int first = tmpbuf[0]; <ide> <del> in_progress.set_flags (first); <add> in_progress.set_flags (first & Msg.more); <ide> <ide> next_step (in_progress, <ide> message_ready);
Java
apache-2.0
0124fcf21715b83fa6289329f17033b5b0bf0f68
0
tomkren/pikater,tomkren/pikater,tomkren/pikater
import java.io.*; import java.util.Date; import java.util.Vector; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import ontology.messages.*; import org.jdom.Document; import org.jdom.Element; import org.jdom.output.Format; import org.jdom.output.XMLOutputter; ...
src/Agent_OptionsManager.java
import java.io.*; import java.util.Date; import java.util.Vector; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import ontology.messages.*; import org.jdom.Document; import org.jdom.Element; import org.jdom.output.Format; import org.jdom.output.XMLOutputter; ...
Option Manager sends a list of Tasks instead of the Results class
src/Agent_OptionsManager.java
Option Manager sends a list of Tasks instead of the Results class
<ide><path>rc/Agent_OptionsManager.java <ide> // We want to receive a reply in 30 secs <ide> msgOut.setReplyByDate(new Date(System.currentTimeMillis() + 30000)); <ide> <add> /* <ide> Results _results = new Results(); <ide> _results.setResults(results); <ide> _results.setComputation...
Java
mit
da8977fd42e3a4ea1ce64340038aac90ac6cfd14
0
AlexandruValeanu/Competitive-Programming,AlexandruValeanu/Competitive-Programming,AlexandruValeanu/Competitive-Programming
static class Graph{ private static class Edge{ int node; int next; Edge(int node, int next){ this.node = node; this.next = next; } } public final static int NIL = -1; private int[] head; private ArrayList<Edge> graph; private int N; ...
Java/Graph.java
static class Graph{ private static class Edge{ int node; int next; Edge(int node, int next){ this.node = node; this.next = next; } } public final static int NIL = -1; private int[] head; private Ar...
Update Graph.java
Java/Graph.java
Update Graph.java
<ide><path>ava/Graph.java <ide> static class Graph{ <ide> <del> private static class Edge{ <del> int node; <del> int next; <add> private static class Edge{ <add> int node; <add> int next; <ide> <del> Edge(int node, int next){ <del> this.node = no...
Java
apache-2.0
08bbb79c211abf59a6a3ecf1e982a53f0a2892e6
0
androidx/media,androidx/media,androidx/media
/* * Copyright 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
libraries/transformer/src/main/java/androidx/media3/transformer/DefaultCodec.java
/* * Copyright 2022 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Throw if tone-mapping is requested but not enabled In the case where this check fails, the downstream frame processor chain won't be able to handle the incoming (SDR) data anyway as we've already set it up for HDR. PiperOrigin-RevId: 465584814 (cherry picked from commit 2bd1a93d27fbc1615c55edb200917f5d5a1891b4)
libraries/transformer/src/main/java/androidx/media3/transformer/DefaultCodec.java
Throw if tone-mapping is requested but not enabled
<ide><path>ibraries/transformer/src/main/java/androidx/media3/transformer/DefaultCodec.java <ide> <ide> package androidx.media3.transformer; <ide> <add>import static androidx.media3.common.util.Assertions.checkArgument; <ide> import static androidx.media3.common.util.Assertions.checkNotNull; <ide> import static andro...
JavaScript
mit
4eeaaaeb2ede16c81f6c0513d61af5cfa98e1eed
0
dritchie/adnn
'use strict'; var Tensor = require('../tensor.js'); // Base class for all compute graph nodes function Node(x, parents, inputs, backward, name) { this.x = x; this.parents = parents; this.inputs = inputs; if (backward !== undefined) this.backward = backward; this.outDegree = 0; this.name = name || 'node'; } Node...
ad/graph.js
'use strict'; var Tensor = require('../tensor.js'); // Base class for all compute graph nodes function Node(x, parents, inputs, backward, name) { this.x = x; this.parents = parents; this.inputs = inputs; if (backward !== undefined) this.backward = backward; this.outDegree = 0; this.name = name || 'node'; } Node...
Add function to the correct prototype.
ad/graph.js
Add function to the correct prototype.
<ide><path>d/graph.js <ide> this.x = other.x.clone(); <ide> this.dx = other.dx.clone(); <ide> }; <del>Tensor.prototype.clone = function() { <add>TensorNode.prototype.clone = function() { <ide> var node = Object.create(Tensor.prototype); <ide> node.copy(this); <ide> return node;
JavaScript
mit
20443e32f79042bf3beca1ab303eedfb0950ea0b
0
MakuraYami/derplib
'use strict'; /////////////////// // Base requires // var util = require('util'), events = require('events'), url = require('url'), http = require('http'), querystring = require('querystring'), _ = require('underscore'), colors = require('colors'); var MM = module.parent, socket = MM.libary.load('so...
derplib/ch_room.js
'use strict'; /////////////////// // Base requires // var util = require('util'), events = require('events'), url = require('url'), http = require('http'), querystring = require('querystring'), _ = require('underscore'), colors = require('colors'); var MM = module.parent, socket = MM.libary.load('so...
fix for msg.deleted lol cant beleive i didnt notice that
derplib/ch_room.js
fix for msg.deleted
<ide><path>erplib/ch_room.js <ide> <ide> this.on('frame_clearall', function(){ <ide> if(args[0] == 'ok'){ <del> for(var i=0; i<self.messages.length; i++){ <del> self.messages[i].deleted = true; <add> for(var i=0; i<self._messages.length; i++){ <add> self._messages[i].deleted = true; <ide> } <ide> s...
Java
bsd-3-clause
97a7a2f7227bf577c0277859a750ce91b2699d71
0
onion-lang/onion,onionlang/onion,onionlang/onion,kmizu/onion,kmizu/onion,onion-lang/onion
package onion.compiler.pass; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Stack; import java.util.TreeSet; import onion.compiler.*; import onion.co...
src/onion/compiler/pass/CodeAnalysis.java
package onion.compiler.pass; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Stack; import java.util.TreeSet; import onion.compiler.*; import onion.co...
Now NameResolution implicitly depends on CodeAnalysi. Then, the table field of NameResolution is unneeded.
src/onion/compiler/pass/CodeAnalysis.java
Now NameResolution implicitly depends on CodeAnalysi. Then, the table field of NameResolution is unneeded.
<ide><path>rc/onion/compiler/pass/CodeAnalysis.java <ide> table.addSourceClass(node); <ide> node.addDefaultConstructor(); <ide> put(unit, node); <del> addSolver(node.getName(), new NameResolution(list, table)); <add> addSolver(node.getName(), new NameResolution(list)); <ide> ...
JavaScript
apache-2.0
45497e09d254d1f73a0bfff307fa4c8a3c74f8f1
0
foam-framework/foam,jacksonic/foam,jlhughes/foam,foam-framework/foam,foam-framework/foam,jacksonic/foam,mdittmer/foam,jacksonic/foam,mdittmer/foam,jlhughes/foam,osric-the-knight/foam,foam-framework/foam,osric-the-knight/foam,mdittmer/foam,jacksonic/foam,jlhughes/foam,jlhughes/foam,osric-the-knight/foam,osric-the-knight...
/** * @license * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
js/foam/demos/DAOStrategies.js
/** * @license * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
Cleanup DAOStrategies demo.
js/foam/demos/DAOStrategies.js
Cleanup DAOStrategies demo.
<ide><path>s/foam/demos/DAOStrategies.js <ide> ], <ide> <ide> constants: { <add> H: 40, <add> <ide> COLOURS: { <ide> 'Google Cloud': 320, <ide> 'Local Storage': 320, <ide> initCView: function() { <ide> this.SUPER(); <ide> <del> var M = Movement; <ide> var S = this.STRATEGIE...
JavaScript
mit
05bf136c84e8a6d06e2e714214ef0ab23f9ecdf3
0
alexn1/qforms,alexn1/qforms,alexn1/qforms
'use strict'; class SqlDataSource extends DataSource { constructor(data, parent) { super(data, parent); this.frame = 1; this.count = data.count; } init() { super.init(); if (this.data.table !== '') { const table = this.getTable(); table.on(...
src/frontend/viewer/class/Model/DataSource/SqlDataSource/SqlDataSource.js
'use strict'; class SqlDataSource extends DataSource { constructor(data, parent) { super(data, parent); this.frame = 1; this.count = data.count; } init() { super.init(); if (this.data.table !== '') { const table = this.getTable(); table.on(...
update fix
src/frontend/viewer/class/Model/DataSource/SqlDataSource/SqlDataSource.js
update fix
<ide><path>rc/frontend/viewer/class/Model/DataSource/SqlDataSource/SqlDataSource.js <ide> const params = DataSource.keyToParams(newKey); <ide> const data = await this.selectSingle(params); <ide> this.updateRow(key, data.row); <add> if (this.parent.onDataSourceUpdate) { <add> th...
JavaScript
mit
110246e96ab7f656c9b62de74372ed1da268579f
0
bobbybouwmann/ap-algorithms-partitions
var partition = require('./../app')(); var assert = require('assert'); describe('Partition', function() { it('#partition(1)', function() { assert.deepEqual(partition.partition(1), [[1]]); }); it('#partition(2)', function() { assert.deepEqual(partition.partition(2), [[2], [1, 1]]...
test/test.js
var partition = require('./../app')(); var assert = require('assert'); describe('Partition', function() { it('#partition(1)', function() { assert.deepEqual(partition.partition(1), [[1]]); }); it('#partition(2)', function() { assert.deepEqual(partition.partition(2), [[2], [1, 1]]...
Update function call
test/test.js
Update function call
<ide><path>est/test.js <ide> }); <ide> <ide> it('#checkSumOfEachPartition(6)', function() { <del> checkEachPartition(6); <add> checkSumOfEachPartition(6); <ide> }); <ide> <ide> it('#checkSumOfEachPartition(9)', function() { <del> checkEachPartition(9); <add> checkSumOfEachP...
JavaScript
mit
664df0d6b4f8fed3cd8b2ae0cd91b6aec60d06e4
0
cars10/elasticvue,cars10/elasticvue,cars10/elasticvue,cars10/elasticvue
import { ref } from '@vue/composition-api' import cachedAdapter from '@/mixins/GetAdapter' import { parseJsonBigInt, stringifyJsonBigInt } from '@/helpers/json_parse' export function useElasticsearchRequest () { const requestState = ref({ loading: false, networkError: false, apiError: false, apiError...
src/mixins/RequestComposition.js
import { ref } from '@vue/composition-api' import cachedAdapter from '@/mixins/GetAdapter' import { parseJsonBigInt, stringifyJsonBigInt } from '@/helpers/json_parse' export function useElasticsearchRequest () { const requestState = ref({ loading: false, networkError: false, apiError: false, apiError...
improve query requestState setting
src/mixins/RequestComposition.js
improve query requestState setting
<ide><path>rc/mixins/RequestComposition.js <ide> const response = await adapter[method](...args) <ide> if (!response) return Promise.resolve() <ide> <del> requestState.value = { <del> loading: false, <del> networkError: false, <del> apiError: false, <del> apiE...
Java
lgpl-2.1
da53a696fc0fca049a652ffd6122077c5bfb3f3b
0
geotools/geotools,geotools/geotools,geotools/geotools,geotools/geotools
/* * GeoTools - The Open Source Java GIS Toolkit * http://geotools.org * * (C) 2011, Open Source Geospatial Foundation (OSGeo) * (C) 2004-2007 Open Geospatial Consortium Inc. * * All Rights Reserved. http://www.opengis.org/legal/ */ package org.opengis.feature.simple; import java.util.List; ...
modules/library/opengis/src/main/java/org/opengis/feature/simple/SimpleFeature.java
/* * GeoTools - The Open Source Java GIS Toolkit * http://geotools.org * * (C) 2011, Open Source Geospatial Foundation (OSGeo) * (C) 2004-2007 Open Geospatial Consortium Inc. * * All Rights Reserved. http://www.opengis.org/legal/ */ package org.opengis.feature.simple; import java.util.List; ...
JavaDoc correction
modules/library/opengis/src/main/java/org/opengis/feature/simple/SimpleFeature.java
JavaDoc correction
<ide><path>odules/library/opengis/src/main/java/org/opengis/feature/simple/SimpleFeature.java <ide> * <p> <ide> * This method is convenience for: <ide> * <pre> <del> * return getDefaultGeometry().getValue(); <add> * return getDefaultGeometryProperty().getValue(); <ide> * </pre> <ide> * ...
Java
lgpl-2.1
88189ffcbb01d63f1c0ba7d0ffe4605ad889ddd1
0
MariaDB/mariadb-connector-j,MariaDB/mariadb-connector-j
/* * * MariaDB Client for Java * * Copyright (c) 2012-2014 Monty Program Ab. * Copyright (c) 2015-2020 MariaDB Corporation Ab. * * 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; e...
src/main/java/org/mariadb/jdbc/internal/com/read/resultset/rowprotocol/TextRowProtocol.java
/* * * MariaDB Client for Java * * Copyright (c) 2012-2014 Monty Program Ab. * Copyright (c) 2015-2020 MariaDB Corporation Ab. * * 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; e...
[CONJ-805] fix StringIndexOutOfBoundsException for >1 byte UTF8 characters and maxFieldSize set
src/main/java/org/mariadb/jdbc/internal/com/read/resultset/rowprotocol/TextRowProtocol.java
[CONJ-805] fix StringIndexOutOfBoundsException for >1 byte UTF8 characters and maxFieldSize set
<ide><path>rc/main/java/org/mariadb/jdbc/internal/com/read/resultset/rowprotocol/TextRowProtocol.java <ide> } <ide> <ide> if (maxFieldSize > 0) { <del> return new String(buf, pos, Math.min(maxFieldSize * 3, length), StandardCharsets.UTF_8) <del> .substring(0, Math.min(maxFieldSize, length)); <add...
Java
apache-2.0
1fe05748fffbf87a8f0578332333f06d7494fafb
0
MobileTribe/pandroid,MobileTribe/pandroid,MobileTribe/pandroid
package com.leroymerlin.pandroid.mvp; import android.app.Fragment; import android.content.Context; import android.os.Bundle; import android.support.annotation.CallSuper; import android.support.annotation.CheckResult; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android....
pandroid-library/src/main/java/com/leroymerlin/pandroid/mvp/Presenter.java
package com.leroymerlin.pandroid.mvp; import android.app.Fragment; import android.content.Context; import android.os.Bundle; import android.support.annotation.CallSuper; import android.support.annotation.CheckResult; import android.support.annotation.Nullable; import android.view.View; import com.leroymerlin.pandroid...
fix(MVP) : fixed presenter delegation
pandroid-library/src/main/java/com/leroymerlin/pandroid/mvp/Presenter.java
fix(MVP) : fixed presenter delegation
<ide><path>android-library/src/main/java/com/leroymerlin/pandroid/mvp/Presenter.java <ide> import android.os.Bundle; <ide> import android.support.annotation.CallSuper; <ide> import android.support.annotation.CheckResult; <add>import android.support.annotation.NonNull; <ide> import android.support.annotation.Nullable; <...
JavaScript
mit
5f88663ac6f9a1787a5d39da41a9f45b5b083a5a
0
JerrySievert/cromagjs
/* © 2012 by Jerry Sievert Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicens...
cromag.js
/* © 2011 by Jerry Sievert Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicens...
work in both node and in the browser
cromag.js
work in both node and in the browser
<ide><path>romag.js <ide> /* <ide> <del>© 2011 by Jerry Sievert <add>© 2012 by Jerry Sievert <ide> <ide> Permission is hereby granted, free of charge, to any person obtaining a copy <ide> of this software and associated documentation files (the "Software"), to deal <ide> <ide> */ <ide> <del>(function () { <add>(fun...
Java
apache-2.0
48bad2c4c6c7b867e5384cb3602d063b817bd25a
0
adrianbumbas/camel-idea-plugin,davsclaus/camel-idea-plugin,adrianbumbas/camel-idea-plugin,camel-idea-plugin/camel-idea-plugin,camel-idea-plugin/camel-idea-plugin,davsclaus/camel-idea-plugin
/** * 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...
camel-idea-plugin/src/main/java/org/apache/camel/idea/util/IdeaUtils.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...
#155 fixed checking for setBrokerURL
camel-idea-plugin/src/main/java/org/apache/camel/idea/util/IdeaUtils.java
#155 fixed checking for setBrokerURL
<ide><path>amel-idea-plugin/src/main/java/org/apache/camel/idea/util/IdeaUtils.java <ide> * configuration using <tt>property</tt> element. <ide> */ <ide> public static boolean isElementFromSetterProperty(@NotNull PsiElement element, @NotNull String setter) { <del> String javaSetter = "set" + Charac...
Java
mit
1f09c76984e3b83b0b2d6c9d349066f31f7b34cd
0
labelingsystem/server,labelingsystem/server,mainzed/labelingsystem-server,mainzed/labelingsystem-server,mainzed/labelingsystem-server,labelingsystem/server,mainzed/labelingsystem-server,labelingsystem/server
package v1.utils.transformer; import v1.utils.config.ConfigProperties; import rdf.RDF; import exceptions.ResourceNotAvailableException; import exceptions.RevisionTypeException; import exceptions.SesameSparqlException; import exceptions.TransformRdfToApiJsonException; import exceptions.UniqueIdentifierException...
api/src/main/java/v1/utils/transformer/Transformer.java
package v1.utils.transformer; import v1.utils.config.ConfigProperties; import rdf.RDF; import exceptions.ResourceNotAvailableException; import exceptions.RevisionTypeException; import exceptions.SesameSparqlException; import exceptions.TransformRdfToApiJsonException; import exceptions.UniqueIdentifierException...
api: bug fixed
api/src/main/java/v1/utils/transformer/Transformer.java
api: bug fixed
<ide><path>pi/src/main/java/v1/utils/transformer/Transformer.java <ide> } <ide> } <ide> // set equal concepts <del> if (equalConcepts != null) { <add> if (equalConceptsBool != null) { <ide> if (equalConcepts.size() > 0 && equalConceptsBool.equals("true")) { <ide> JSONArray equalArray = new JSONAr...
Java
apache-2.0
9d42230a5f8e7b2c7d55749523cb3679f1e6865d
0
jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim
/* * JaamSim Discrete Event Simulation * Copyright (C) 2002-2014 Ausenco Engineering Canada Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (a...
src/main/java/com/jaamsim/events/ThreadKilledException.java
/* * JaamSim Discrete Event Simulation * Copyright (C) 2002-2014 Ausenco Engineering Canada Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (a...
JS: mark ThreadKilledException as final Signed-off-by: Harvey Harrison <eadbd6b462bf3c97df0300a934c12bc2e5d1fe51@ausenco.com> Signed-off-by: Stephen Wong <6f34db11dd2258ec4ffa799eb0d7827f906cb1c6@ausenco.com>
src/main/java/com/jaamsim/events/ThreadKilledException.java
JS: mark ThreadKilledException as final
<ide><path>rc/main/java/com/jaamsim/events/ThreadKilledException.java <ide> * Custom exception thrown when a thread is killed prematurely with the <ide> * terminate thread call. <ide> */ <del>class ThreadKilledException extends RuntimeException { <add>final class ThreadKilledException extends RuntimeException { <ide...
Java
bsd-2-clause
2c5c4fb6d4ddd37137ec3a5f3f4b15feb2565472
0
ijpb/fasga-quantif
/** * */ package inra.ijpb.appli.fasga; import static inra.ijpb.math.ImageCalculator.not; import ij.IJ; import ij.ImageJ; import ij.ImagePlus; import ij.gui.DialogListener; import ij.gui.GenericDialog; import ij.plugin.filter.ExtendedPlugInFilter; import ij.plugin.filter.PlugInFilterRunner; import ij.process.BytePr...
src/main/java/inra/ijpb/appli/fasga/Fasga2ClassifyRegionsPlugin.java
/** * */ package inra.ijpb.appli.fasga; import static inra.ijpb.math.ImageCalculator.not; import ij.IJ; import ij.ImageJ; import ij.ImagePlus; import ij.gui.DialogListener; import ij.gui.GenericDialog; import ij.plugin.filter.ExtendedPlugInFilter; import ij.plugin.filter.PlugInFilterRunner; import ij.process.BytePr...
better support of thresholds for holes, add option for choosing min size of bundles
src/main/java/inra/ijpb/appli/fasga/Fasga2ClassifyRegionsPlugin.java
better support of thresholds for holes, add option for choosing min size of bundles
<ide><path>rc/main/java/inra/ijpb/appli/fasga/Fasga2ClassifyRegionsPlugin.java <ide> private ImageProcessor resultRGB; <ide> <ide> // parameters of the plugin <add> double highThresholdHoles = .99; <add> double lowThresholdHoles = .97; <ide> int darkRegionThreshold = 130; <ide> int redRegionThreshold = 170; <add> ...
Java
apache-2.0
3bbf5d0881bbc4f0fd6743baf44860366e933ceb
0
AntonVasilyuk/Aduma,AntonVasilyuk/Aduma,AntonVasilyuk/Aduma,AntonVasilyuk/Aduma
chapter_003/Iterator/src/test/java/ru/job4j/IteratorArrayTest.java
import static org.junit.Assert.*; /** * Created by ANTON on 03.06.2017. */ public class IteratorArrayTest { }
invalid package name
chapter_003/Iterator/src/test/java/ru/job4j/IteratorArrayTest.java
invalid package name
<ide><path>hapter_003/Iterator/src/test/java/ru/job4j/IteratorArrayTest.java <del>import static org.junit.Assert.*; <del> <del>/** <del> * Created by ANTON on 03.06.2017. <del> */ <del>public class IteratorArrayTest { <del> <del>}
Java
agpl-3.0
85da3594fce1eec5d5c048dc723e7dc1905550d4
0
Freeyourgadget/Gadgetbridge,Freeyourgadget/Gadgetbridge,Freeyourgadget/Gadgetbridge,Freeyourgadget/Gadgetbridge
/* Copyright (C) 2017-2020 Andreas Shimokawa, Carsten Pfeiffer This file is part of Gadgetbridge. Gadgetbridge is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the Lice...
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/amazfitbipu/AmazfitBipUSupport.java
/* Copyright (C) 2017-2020 Andreas Shimokawa, Carsten Pfeiffer This file is part of Gadgetbridge. Gadgetbridge is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the Lice...
Amazfit Bip U: Probably fix totally broken sleep/step data
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/amazfitbipu/AmazfitBipUSupport.java
Amazfit Bip U: Probably fix totally broken sleep/step data
<ide><path>pp/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/amazfitbipu/AmazfitBipUSupport.java <ide> public UpdateFirmwareOperation createUpdateFirmwareOperation(Uri uri) { <ide> return new UpdateFirmwareOperation2020(uri, this); <ide> } <add> <add> @Override <add> publ...
JavaScript
agpl-3.0
3a40f341de298b0c668ecf51138282a07c1c8ff6
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
5a6a988e-2e63-11e5-9284-b827eb9e62be
helloWorld.js
5a6525fc-2e63-11e5-9284-b827eb9e62be
5a6a988e-2e63-11e5-9284-b827eb9e62be
helloWorld.js
5a6a988e-2e63-11e5-9284-b827eb9e62be
<ide><path>elloWorld.js <del>5a6525fc-2e63-11e5-9284-b827eb9e62be <add>5a6a988e-2e63-11e5-9284-b827eb9e62be
Java
apache-2.0
297d23786263d1e5213fbbbfbef21385a88cfac1
0
kpsroka/splendid-srv,kpsroka/splendid-srv
package net.rk.splendid.dao.entities; import com.googlecode.objectify.annotation.Entity; import com.googlecode.objectify.annotation.Id; import net.rk.splendid.dto.GameConfig; import net.rk.splendid.dto.GameState; @Entity public class GameEntity { @Id String gameRefId; OfyGameConfig gameConfig; OfyGameState game...
src/main/java/net/rk/splendid/dao/entities/GameEntity.java
package net.rk.splendid.dao.entities; import com.googlecode.objectify.annotation.Entity; import com.googlecode.objectify.annotation.Id; import net.rk.splendid.dto.GameConfig; import net.rk.splendid.dto.GameState; @Entity public class GameEntity { @Id String gameRefId; OfyGameConfig gameConfig; OfyGameState game...
Removing unused constructor.
src/main/java/net/rk/splendid/dao/entities/GameEntity.java
Removing unused constructor.
<ide><path>rc/main/java/net/rk/splendid/dao/entities/GameEntity.java <ide> OfyGameState gameState; <ide> <ide> public GameEntity() {} <del> <del> public GameEntity(GameConfig gameCfg) { <del> this.gameRefId = gameCfg.getRef().getId(); <del> this.gameConfig = OfyGameConfig.fromDto(gameCfg); <del> } <ide> <...
JavaScript
mit
857953973a9d0f16c84e1180cd6e2c61d6b2d89f
0
philtoms/mithril-fake-xhr
function testMithrilFakeXhr(mock) { m.deps(mock); var responseStatus=200; var responseText='"ABC"'; mock.XMLHttpRequest = function(){ return { open:function(){}, send:function(){ this.readyState = 4; this.status = responseStatus; this.responseText=responseText; this.on...
tests/mithril-fake-xhr-tests.js
function testMithrilFakeXhr(mock) { m.deps(mock); var responseStatus=200; var responseText='"ABC"'; mock.XMLHttpRequest = function(){ return { open:function(){}, send:function(){ this.readyState = 4; this.status = responseStatus; this.responseText=responseText; this.on...
split out mocking and stubbing tests
tests/mithril-fake-xhr-tests.js
split out mocking and stubbing tests
<ide><path>ests/mithril-fake-xhr-tests.js <ide> <ide> var fake = mithrilFakeXhr(mock); <ide> <del> // mock <add> // Mocking <add> <add> // expected <ide> test(function() { <ide> var response = fake('get','/test1').respondWith('abc') <ide> m.request({method:'GET', url:'/test1'}); <ide> return response.count==1...
JavaScript
mit
771741c6439ded5c59de952952bda31b78849f47
0
mathiashelin/forkcms,forkcms/forkcms,bartdc/forkcms,tommyvdv/forkcms,jacob-v-dam/forkcms,forkcms/forkcms,jonasdekeukelaere/forkcms,Thijzer/forkcms,Thijzer/forkcms,justcarakas/forkcms,jacob-v-dam/forkcms,jeroendesloovere/forkcms,riadvice/forkcms,DegradationOfMankind/forkcms,carakas/forkcms,mathiashelin/forkcms,sumocoder...
/** * Backend related objects * * @author Tijs Verkoyen <tijs@sumocoders.be> * @author Dieter Vanden Eynde <dieter@netlash.com> * @author Thomas Deceuninck <thomas@fronto.be> */ var jsBackend = { debug: false, current: { module: null, action: null, language: null }, ...
src/Backend/Core/Js/backend.js
/** * Backend related objects * * @author Tijs Verkoyen <tijs@sumocoders.be> * @author Dieter Vanden Eynde <dieter@netlash.com> * @author Thomas Deceuninck <thomas@fronto.be> */ var jsBackend = { debug: false, current: { module: null, action: null, language: null }, // init, something like a construct...
Responsive backend for mobile devices #1027
src/Backend/Core/Js/backend.js
Responsive backend for mobile devices #1027
<ide><path>rc/Backend/Core/Js/backend.js <ide> /** <ide> * Backend related objects <ide> * <del> * @author Tijs Verkoyen <tijs@sumocoders.be> <del> * @author Dieter Vanden Eynde <dieter@netlash.com> <del> * @author Thomas Deceuninck <thomas@fronto.be> <add> * @author Tijs Verkoyen <tijs@sumocoders.be> <add> * @aut...
Java
agpl-3.0
56fbf48ab0cfc3dd9a8ab130c3988f64c7898dbb
0
oncokb/oncokb,zhx828/oncokb,zhx828/oncokb,oncokb/oncokb,zhx828/oncokb,oncokb/oncokb
package org.mskcc.cbio.oncokb.model; import com.fasterxml.jackson.annotation.JsonIdentityInfo; import com.fasterxml.jackson.annotation.JsonIgnore; import org.mskcc.cbio.oncokb.model.oncotree.TumorType; import com.fasterxml.jackson.annotation.ObjectIdGenerators; import org.hibernate.annotations.Fetch; import org.hibern...
core/src/main/java/org/mskcc/cbio/oncokb/model/Evidence.java
package org.mskcc.cbio.oncokb.model; import com.fasterxml.jackson.annotation.JsonIdentityInfo; import com.fasterxml.jackson.annotation.JsonIgnore; import org.mskcc.cbio.oncokb.model.oncotree.TumorType; import com.fasterxml.jackson.annotation.ObjectIdGenerators; import org.hibernate.annotations.Fetch; import org.hibern...
Show uuid in api returned data
core/src/main/java/org/mskcc/cbio/oncokb/model/Evidence.java
Show uuid in api returned data
<ide><path>ore/src/main/java/org/mskcc/cbio/oncokb/model/Evidence.java <ide> private Integer id; <ide> <ide> @Column(length = 40) <del> @JsonIgnore <ide> private String uuid; <ide> <ide> @Column(name = "evidence_type")
Java
apache-2.0
error: pathspec 'src/com/badlogic/gdx/math/PolyPath.java' did not match any file(s) known to git
f78b213eb113d8a05b8fa25180f54ff6a207d7de
1
nhydock/gdx-artemis
package com.badlogic.gdx.math; import com.badlogic.gdx.math.Path; import com.badlogic.gdx.utils.Array; /** * A linear track path with many points. Distance between 0 and 1 for t is dependent * on the total length of the track instead of just the number of points on the track * to help create a consistent travel s...
src/com/badlogic/gdx/math/PolyPath.java
Add a non-curved n-point path class for libGdx's math
src/com/badlogic/gdx/math/PolyPath.java
Add a non-curved n-point path class for libGdx's math
<ide><path>rc/com/badlogic/gdx/math/PolyPath.java <add>package com.badlogic.gdx.math; <add> <add>import com.badlogic.gdx.math.Path; <add>import com.badlogic.gdx.utils.Array; <add> <add>/** <add> * A linear track path with many points. Distance between 0 and 1 for t is dependent <add> * on the total length of the track...
Java
mit
f94ba88c465e225aa6625fe39f247094d77e00a6
0
Phoenix616/InventoryGui
package de.themoep.inventorygui; /* * Copyright 2017 Max Lee (https://github.com/Phoenix616/) * * This program is free software: you can redistribute it and/or modify * it under the terms of the Mozilla Public License as published by * the Mozilla Foundation, version 2. * * This program is distributed in the ho...
src/main/java/de/themoep/inventorygui/GuiPageElement.java
package de.themoep.inventorygui; /* * Copyright 2017 Max Lee (https://github.com/Phoenix616/) * * This program is free software: you can redistribute it and/or modify * it under the terms of the Mozilla Public License as published by * the Mozilla Foundation, version 2. * * This program is distributed in the ho...
Catch when the number isn't a possible Minecraft item amount
src/main/java/de/themoep/inventorygui/GuiPageElement.java
Catch when the number isn't a possible Minecraft item amount
<ide><path>rc/main/java/de/themoep/inventorygui/GuiPageElement.java <ide> || (pageAction == PageAction.PREVIOUS && gui.getPageNumber() == 0)) { <ide> return gui.getFiller().getItem(slot); <ide> } <del> if (pageAction == PageAction.PREVIOUS) { <del> setNumber(gui.get...
Java
apache-2.0
58e7009af9d5638c09cd02c5b4b6c11051436655
0
PearsonEducation/Docussandra,PearsonEducation/Docussandra
package com.pearson.docussandra.service; import com.pearson.docussandra.cache.CacheFactory; import com.pearson.docussandra.domain.objects.Document; import com.pearson.docussandra.domain.objects.Identifier; import com.pearson.docussandra.exception.IndexParseException; import com.pearson.docussandra.exception.ItemNotFou...
cassandra/src/main/java/com/pearson/docussandra/service/DocumentService.java
package com.pearson.docussandra.service; import com.pearson.docussandra.cache.CacheFactory; import com.pearson.docussandra.domain.objects.Document; import com.pearson.docussandra.domain.objects.Identifier; import com.pearson.docussandra.exception.IndexParseException; import com.pearson.docussandra.exception.ItemNotFou...
Corrected javadoc.
cassandra/src/main/java/com/pearson/docussandra/service/DocumentService.java
Corrected javadoc.
<ide><path>assandra/src/main/java/com/pearson/docussandra/service/DocumentService.java <ide> private final Cache tableCache = CacheFactory.getCache("tableExist"); <ide> <ide> /** <del> * Plugins that will be notified upon any document mutation. Normally we <del> * would do this work in the service laye...
Java
apache-2.0
8cf096c2f9ca7bb0c03df5b97281264bf4193744
0
apache/jena,apache/jena,apache/jena,apache/jena,apache/jena,apache/jena,apache/jena,apache/jena
/* * 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 ...
jena-arq/src/main/java/org/apache/jena/system/Txn.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 ...
Added suppressed exception.
jena-arq/src/main/java/org/apache/jena/system/Txn.java
Added suppressed exception.
<ide><path>ena-arq/src/main/java/org/apache/jena/system/Txn.java <ide> import java.util.function.Supplier ; <ide> <ide> import org.apache.jena.query.ReadWrite ; <del>import org.apache.jena.sparql.JenaTransactionException ; <ide> import org.apache.jena.sparql.core.Transactional ; <ide> <ide> /** Application utilities ...
Java
mit
error: pathspec 'java/linked-list/q6.java' did not match any file(s) known to git
35ab281a2e9137ac3d1e00e35db2eeaa9098a207
1
miguelvelezmj25/coding-interviews,miguelvelezmj25/coding-interviews
// A child going up a staircase with n steps, can hop up 1, 2, or 3 steps // at a time. How many ways can the child reach the top? public class q6 { public static void main(String[] args) { System.out.println(possibleWays(10)); } public static int possibleWays(int n) { // If no steps or less than 0 ste...
java/linked-list/q6.java
Done with q6
java/linked-list/q6.java
Done with q6
<ide><path>ava/linked-list/q6.java <add>// A child going up a staircase with n steps, can hop up 1, 2, or 3 steps <add>// at a time. How many ways can the child reach the top? <add> <add>public class q6 { <add> <add> public static void main(String[] args) { <add> System.out.println(possibleWays(10)); <add> } <ad...
Java
apache-2.0
4dee83a654584faf214635deacc5a0dec913af34
0
rschnapp/BusMan
/* * Copyright (C) 2013 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 app...
busman/src/main/java/net/bbuzz/busman/ManifestActivity.java
/* * Copyright (C) 2013 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 app...
Temporary fix for deprecated DownloadManager API
busman/src/main/java/net/bbuzz/busman/ManifestActivity.java
Temporary fix for deprecated DownloadManager API
<ide><path>usman/src/main/java/net/bbuzz/busman/ManifestActivity.java <ide> final int status = cursor.getInt(statusIndex); <ide> final int reasonIndex = cursor.getColumnIndex(DownloadManager.COLUMN_REASON); <ide> final int reason = cursor.getInt(reasonIndex); <del> ...
Java
bsd-3-clause
a5e5a5bdfa146851dbf1e3a1f63bbba0d3699613
0
Team694/joebot
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
src/edu/stuy/JoeBot.java
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
Move OI update lights and update SmartDashboard from tuneShooter() back to teleopPeriodic().
src/edu/stuy/JoeBot.java
Move OI update lights and update SmartDashboard from tuneShooter() back to teleopPeriodic().
<ide><path>rc/edu/stuy/JoeBot.java <ide> * This function is called periodically during operator control <ide> */ <ide> public void teleopPeriodic() { <del> <ide> Scheduler.getInstance().run(); <ide> <ide> if (!DriverStation.getInstance().isFMSAttached()) { <ide> tuneShooter();...
Java
agpl-3.0
5032e55aead6a3ab9fa3be54d4e9e834154b6032
0
splicemachine/spliceengine,CompilerWorks/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,splicemachine/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceengine,CompilerWorks/spliceeng...
splice_machine/src/main/java/com/splicemachine/hbase/SpliceTable.java
package com.splicemachine.hbase; import org.apache.hadoop.hbase.client.HTableInterface; import java.io.IOException; /** * @author Scott Fines * Created on: 3/8/13 */ public interface SpliceTable extends HTableInterface { }
Remove Unused Class
splice_machine/src/main/java/com/splicemachine/hbase/SpliceTable.java
Remove Unused Class
<ide><path>plice_machine/src/main/java/com/splicemachine/hbase/SpliceTable.java <del>package com.splicemachine.hbase; <del> <del>import org.apache.hadoop.hbase.client.HTableInterface; <del> <del>import java.io.IOException; <del> <del>/** <del> * @author Scott Fines <del> * Created on: 3/8/13 <del> */ <del>public interf...
Java
apache-2.0
6a70d889fc8259f375dcc223646b1cec0012ef7f
0
markus1978/clickwatch,markus1978/clickwatch,markus1978/clickwatch
package de.hub.clickwatch.analysis.composition.transformations; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Dictionary; import java.util.Iterator; import ...
analysis/de.hub.clickwatch.analysis/src/de/hub/clickwatch/analysis/composition/transformations/TransformationEngine.java
package de.hub.clickwatch.analysis.composition.transformations; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import org....
- only installing needed plugins from workspace on executing xtend2 scripts
analysis/de.hub.clickwatch.analysis/src/de/hub/clickwatch/analysis/composition/transformations/TransformationEngine.java
- only installing needed plugins from workspace on executing xtend2 scripts
<ide><path>nalysis/de.hub.clickwatch.analysis/src/de/hub/clickwatch/analysis/composition/transformations/TransformationEngine.java <ide> import java.io.InputStreamReader; <ide> import java.lang.reflect.Method; <ide> import java.util.ArrayList; <add>import java.util.Dictionary; <ide> import java.util.Iterator; <ide> imp...
Java
apache-2.0
84ba015bd74ab6e77ff9bd78da9e60f0d8bc20b6
0
ejeinc/Meganekko,ejeinc/Meganekko,ejeinc/Meganekko,ejeinc/Meganekko,ejeinc/Meganekko
/* * Copyright 2015 eje inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
library/src/main/java/com/eje_c/meganekko/xml/XmlSceneObjectParser.java
/* * Copyright 2015 eje inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
Remove deprecated XML Text element and unused method
library/src/main/java/com/eje_c/meganekko/xml/XmlSceneObjectParser.java
Remove deprecated XML Text element and unused method
<ide><path>ibrary/src/main/java/com/eje_c/meganekko/xml/XmlSceneObjectParser.java <ide> */ <ide> public class XmlSceneObjectParser { <ide> <del> public static final float DEFAULT_TEXT_SIZE = 30.0f; <ide> private final VrContext mContext; <ide> <ide> public XmlSceneObjectParser(VrContext context) { <ide> ...
JavaScript
mit
4eb5d968cc271474afc466686d7885980391ceae
0
sylvaindethier/redux-todomvc,sylvaindethier/redux-todomvc
import { createStore } from 'redux'; import rootReducer from '../reducers'; export function configureStore(initialState) { return createStore(rootReducer, initialState); } export function configureStoreHMR(initialState) { const store = createStore(rootReducer, initialState); // Enable Webpack hot module replace...
src/store/configureStore.js
import { createStore } from 'redux'; import rootReducer from '../reducers'; export default function configureStoreDEV(initialState) { const store = createStore(rootReducer, initialState); if (module.hot) { // Enable Webpack hot module replacement for reducers module.hot.accept('../reducers', () => { ...
improve configureStore bundling
src/store/configureStore.js
improve configureStore bundling
<ide><path>rc/store/configureStore.js <ide> import { createStore } from 'redux'; <ide> import rootReducer from '../reducers'; <ide> <del>export default function configureStoreDEV(initialState) { <add>export function configureStore(initialState) { <add> return createStore(rootReducer, initialState); <add>} <add> <add>...
JavaScript
mit
0413542753df7b3b8488aae914498d9a3a9d7670
0
npmcomponent/cbou-jquery-mobile,startxfr/jquery-mobile,startxfr/jquery-mobile,arschmitz/jquery-mobile,arschmitz/uglymongrel-jquery-mobile,hinaloe/jqm-demo-ja,arschmitz/jquery-mobile,hinaloe/jqm-demo-ja,startxfr/jquery-mobile,npmcomponent/cbou-jquery-mobile,npmcomponent/cbou-jquery-mobile,hinaloe/jqm-demo-ja,rwaldron/jq...
/* * jQuery Mobile Framework : "selectmenu" plugin * Copyright (c) jQuery Project * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license */ (function($, undefined ) { $.widget( "mobile.selectmenu", $.mobile.widget, { options: { theme: null, disabled: false, icon: 'arrow-d', ico...
js/jquery.mobile.forms.select.js
/* * jQuery Mobile Framework : "selectmenu" plugin * Copyright (c) jQuery Project * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license */ (function($, undefined ) { $.widget( "mobile.selectmenu", $.mobile.widget, { options: { theme: null, disabled: false, icon: 'arrow-d', ico...
rename selectmenu's exposed "options" to "optionElems" to avoid conflict with existing variable containing configuration options
js/jquery.mobile.forms.select.js
rename selectmenu's exposed "options" to "optionElems" to avoid conflict with existing variable containing configuration options
<ide><path>s/jquery.mobile.forms.select.js <ide> //expose to other methods <ide> $.extend(self, { <ide> select: select, <del> options: options, <add> optionElems: options, <ide> selectID: selectID, <ide> label: label, <ide> buttonId:buttonId, <ide> <ide> // index of option tag to be selected <i...
JavaScript
agpl-3.0
1cd5956d66dbf4cbe4a7c0c22b3826ae4019593c
0
statgen/pheweb,statgen/pheweb,statgen/pheweb,statgen/pheweb,statgen/pheweb
window.debug = window.debug || {}; (function() { // Define LocusZoom Data Sources object var localBase = "/api/region/" + window.pheno.phenocode + "/lz-"; var remoteBase = "http://portaldev.sph.umich.edu/api/v1/"; var data_sources = new LocusZoom.DataSources(); data_sources.add("base", ["Associatio...
pheweb/serve/static/region.js
window.debug = window.debug || {}; (function() { // Define LocusZoom Data Sources object var localBase = "/api/region/" + window.pheno.phenocode + "/lz-"; var remoteBase = "http://portaldev.sph.umich.edu/api/v1/"; var data_sources = new LocusZoom.DataSources(); data_sources.add("base", ["Associatio...
Move LZ sig line to 5e-8
pheweb/serve/static/region.js
Move LZ sig line to 5e-8
<ide><path>heweb/serve/static/region.js <ide> data_sources.add("ld", ["LDLZ", {url: remoteBase + "pair/LD/", params: { pvalue_field: "pvalue|neglog10_or_100" }}]); <ide> data_sources.add("gene", ["GeneLZ", { url: remoteBase + "annotation/genes/", params: {source: 2} }]); <ide> data_sources.add("recomb", ["R...
Java
apache-2.0
b4514e3741cc595044b067ff2bdeaf75ec0472ec
0
codescale/logging-log4j2,GFriedrich/logging-log4j2,apache/logging-log4j2,ChetnaChaudhari/logging-log4j2,MagicWiz/log4j2,neuro-sys/logging-log4j2,xnslong/logging-log4j2,xnslong/logging-log4j2,codescale/logging-log4j2,xnslong/logging-log4j2,lburgazzoli/apache-logging-log4j2,ChetnaChaudhari/logging-log4j2,lburgazzoli/logg...
/* * 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 n...
log4j-core/src/test/java/org/apache/logging/log4j/PerformanceComparison.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 n...
do multiple runs to reduce warmup effects, try to delete log files when done
log4j-core/src/test/java/org/apache/logging/log4j/PerformanceComparison.java
do multiple runs to reduce warmup effects, try to delete log files when done
<ide><path>og4j-core/src/test/java/org/apache/logging/log4j/PerformanceComparison.java <ide> package org.apache.logging.log4j; <ide> <ide> import java.io.BufferedOutputStream; <add>import java.io.File; <ide> import java.io.FileOutputStream; <ide> import java.io.FileWriter; <ide> import java.io.OutputStream; <ide> <id...
Java
apache-2.0
7fae4240092b47c2e39b1150349073a09c1a0cb9
0
cscorley/solr-only-mirror,cscorley/solr-only-mirror,cscorley/solr-only-mirror
/** * 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/java/org/apache/solr/analysis/LengthFilterFactory.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...
LUCENE-2413: Move PerFieldAnalyzerWrapper and LengthFilter git-svn-id: 308d55f399f3bd9aa0560a10e81a003040006c48@940632 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/solr/analysis/LengthFilterFactory.java
LUCENE-2413: Move PerFieldAnalyzerWrapper and LengthFilter
<ide><path>rc/java/org/apache/solr/analysis/LengthFilterFactory.java <ide> package org.apache.solr.analysis; <ide> <ide> import org.apache.lucene.analysis.TokenStream; <del>import org.apache.lucene.analysis.LengthFilter; <add>import org.apache.lucene.analysis.miscellaneous.LengthFilter; <ide> <ide> import java.util.M...
Java
mit
343787cf22fc00f1f398a53955cc9bb2b7e7cde1
0
sunshinezxf/Selling,sunshinezxf/Selling,sunshinezxf/Selling
package selling.sunshine.controller; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.a...
src/main/java/selling/sunshine/controller/LoggerController.java
package selling.sunshine.controller; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; /** * Created by sunshine on 7/15/16. */ @RequestMapping("/log") @RestController public class Lo...
implementation of log controller get method
src/main/java/selling/sunshine/controller/LoggerController.java
implementation of log controller get method
<ide><path>rc/main/java/selling/sunshine/controller/LoggerController.java <ide> <ide> import org.slf4j.Logger; <ide> import org.slf4j.LoggerFactory; <add>import org.springframework.beans.factory.annotation.Autowired; <ide> import org.springframework.web.bind.annotation.RequestMapping; <add>import org.springframework.w...
Java
apache-2.0
b4b6cc61937326ca89b44056e1f7aaf67164470d
0
MichaelNedzelsky/intellij-community,akosyakov/intellij-community,lucafavatella/intellij-community,samthor/intellij-community,hurricup/intellij-community,ThiagoGarciaAlves/intellij-community,ahb0327/intellij-community,FHannes/intellij-community,asedunov/intellij-community,mglukhikh/intellij-community,lucafavatella/intel...
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
python/src/com/jetbrains/python/testing/nosetest/PythonNoseTestCommandLineState.java
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
fixed PY-12660 PyCharm adds quotes in runconfiguration and fails
python/src/com/jetbrains/python/testing/nosetest/PythonNoseTestCommandLineState.java
fixed PY-12660 PyCharm adds quotes in runconfiguration and fails
<ide><path>ython/src/com/jetbrains/python/testing/nosetest/PythonNoseTestCommandLineState.java <ide> ParamsGroup script_params = cmd.getParametersList().getParamsGroup(GROUP_SCRIPT); <ide> assert script_params != null; <ide> if (myConfig.useParam() && !StringUtil.isEmptyOrSpaces(myConfig.getParams())) <del>...
Java
mit
3008a21534d150e10379c47374b1ce3a64283649
0
nico1510/react-native-image-crop-picker,nico1510/react-native-image-crop-picker,nico1510/react-native-image-crop-picker,nico1510/react-native-image-crop-picker
package com.reactnative.ivpusic.imagepicker; import android.Manifest; import android.app.Activity; import android.content.ClipData; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; import andro...
android/src/main/java/com/reactnative/ivpusic/imagepicker/PickerModule.java
package com.reactnative.ivpusic.imagepicker; import android.Manifest; import android.app.Activity; import android.content.ClipData; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Color; import andro...
whitespace
android/src/main/java/com/reactnative/ivpusic/imagepicker/PickerModule.java
whitespace
<ide><path>ndroid/src/main/java/com/reactnative/ivpusic/imagepicker/PickerModule.java <ide> if (enableRotationGesture) { <ide> // UCropActivity.ALL = enable both rotation & scaling <ide> options.setAllowedGestures( <del> UCropActivity.ALL, // When 'scale'-tab active <d...
Java
apache-2.0
333be6c9c5efb1afba4906b959fc9dc688285d2c
0
inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service
/* * Copyright 2012 Shared Learning Collaborative, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
sli/dashboard/src/main/java/org/slc/sli/dashboard/entity/Config.java
/* * Copyright 2012 Shared Learning Collaborative, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
US1032: Updated config for attendance history in JSON
sli/dashboard/src/main/java/org/slc/sli/dashboard/entity/Config.java
US1032: Updated config for attendance history in JSON
<ide><path>li/dashboard/src/main/java/org/slc/sli/dashboard/entity/Config.java <ide> <ide> /** <ide> * Type of components <del> * <add> * set true: it will look up outside config file. <add> * set false: it does not have outside config. <ide> * @author agrebneva <ide> * <ide> */ <id...
JavaScript
apache-2.0
077be9a72f7ad694a5aaf4cf50f806cc161b75b8
0
tuotuo65535/play,tuotuo65535/play,tuotuo65535/play,tuotuo65535/play
(function(){ $(document).ready(() => { clickBind(); searchScroll(); }); let clickBind = () => { $('.button_container').click(function(){ changeStatus($(this), 'active'); changeStatus($('.overlay'), 'open'); }); } let changeStatus = (zdom, className) => { if(zdom.hasClass(className)) { zdom.rem...
mobile-dev/js/index.js
(function(){ $(document).ready(() => { clickBind(); searchScroll(); }); let clickBind = () => { $('.button_container').click(function(){ changeStatus($(this), 'active'); changeStatus($('.overlay'), 'open'); }); } let changeStatus = (zdom, className) => { if(zdom.hasClass(className)) { zdom.rem...
删除无用代码
mobile-dev/js/index.js
删除无用代码
<ide><path>obile-dev/js/index.js <ide> } else { <ide> opacity = 0.85 * (top/height); <ide> } <del> console.log(opacity) <ide> $('.navbar').css('background', 'rgba(0,0,0,' + opacity + ')'); <ide> } <ide> }
Java
artistic-2.0
da4274509155cb2641aab2af5d5d7e31e3e89830
0
jdownloader-mirror/appwork-utils
/** * Copyright (c) 2009 - 2011 AppWork UG(haftungsbeschränkt) <e-mail@appwork.org> * * This file is part of org.appwork.swing.components * * This software is licensed under the Artistic License 2.0, * see the LICENSE file or http://www.opensource.org/licenses/artistic-license-2.0.php * for details */...
src/org/appwork/swing/action/BasicAction.java
/** * Copyright (c) 2009 - 2011 AppWork UG(haftungsbeschränkt) <e-mail@appwork.org> * * This file is part of org.appwork.swing.components * * This software is licensed under the Artistic License 2.0, * see the LICENSE file or http://www.opensource.org/licenses/artistic-license-2.0.php * for details */...
refs #1784 Moved Shortcuts to advanced config instead of translation files
src/org/appwork/swing/action/BasicAction.java
refs #1784
<ide><path>rc/org/appwork/swing/action/BasicAction.java <ide> package org.appwork.swing.action; <ide> <ide> import java.awt.Toolkit; <add>import java.awt.event.ActionEvent; <ide> import java.awt.event.KeyEvent; <ide> import java.lang.reflect.Field; <ide> <ide> <ide> } <ide> <add> <ide> /** <ide> * Sets...
JavaScript
bsd-3-clause
d623a19a41e7158bf2bc680609883d9fc66881da
0
airspeed-velocity/asv,airspeed-velocity/asv,spacetelescope/asv,airspeed-velocity/asv,qwhelan/asv,spacetelescope/asv,airspeed-velocity/asv,spacetelescope/asv,qwhelan/asv,spacetelescope/asv,qwhelan/asv,qwhelan/asv
'use strict'; $(document).ready(function() { /* The state of the parameters in the sidebar. Dictionary mapping strings to arrays containing the "enabled" configurations. */ var state = null; /* The name of the current benchmark being displayed. */ var current_benchmark = null; /* An array o...
asv/www/graphdisplay.js
'use strict'; $(document).ready(function() { /* The state of the parameters in the sidebar. Dictionary mapping strings to arrays containing the "enabled" configurations. */ var state = null; /* The name of the current benchmark being displayed. */ var current_benchmark = null; /* An array o...
www: rename x/y-axis url parameters to x/y-axis-scale
asv/www/graphdisplay.js
www: rename x/y-axis url parameters to x/y-axis-scale
<ide><path>sv/www/graphdisplay.js <ide> $('#reference').removeClass('active'); <ide> $('#zoom-y-axis').removeClass('active'); <ide> reference = 1.0; <del> update_state_url({'y-axis': log_scale ? ['log']: []}); <add> update_state_url({'y-axis-scale': log_scale ? ...
Java
mit
20eec39bd86c47276ab322edb81c083d14c67858
0
facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco,facebook/fresco
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.imagepipeline.core; import static com.facebook.imagepipeline.common.SourceUriType.SOURCE_TYPE_DATA; import st...
imagepipeline/src/main/java/com/facebook/imagepipeline/core/ProducerSequenceFactory.java
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ package com.facebook.imagepipeline.core; import static com.facebook.imagepipeline.common.SourceUriType.SOURCE_TYPE_DATA; import st...
adding local content uri support for fetching encoded images Reviewed By: oprisnik Differential Revision: D15247012 fbshipit-source-id: 660a7ee31f0549036f4efd6f6ab596ba7fb179fa
imagepipeline/src/main/java/com/facebook/imagepipeline/core/ProducerSequenceFactory.java
adding local content uri support for fetching encoded images
<ide><path>magepipeline/src/main/java/com/facebook/imagepipeline/core/ProducerSequenceFactory.java <ide> // Saved sequences <ide> @VisibleForTesting Producer<CloseableReference<CloseableImage>> mNetworkFetchSequence; <ide> @VisibleForTesting Producer<EncodedImage> mBackgroundLocalFileFetchToEncodedMemorySequence;...
Java
apache-2.0
f3c9021eb2c52d80dfc6230a0d65f4a44269302e
0
marklogic/java-client-api,marklogic/java-client-api,marklogic/java-client-api,marklogic/java-client-api,marklogic/java-client-api
/* * Copyright 2013-2016 MarkLogic Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
src/test/java/com/marklogic/client/test/QueryByExampleTest.java
/* * Copyright 2013-2016 MarkLogic Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
in ordert to convert or validate, we now must declare format on handle rather than default to XML
src/test/java/com/marklogic/client/test/QueryByExampleTest.java
in ordert to convert or validate, we now must declare format on handle rather than default to XML
<ide><path>rc/test/java/com/marklogic/client/test/QueryByExampleTest.java <ide> "</q:query>" + <ide> "</q:qbe>"; <ide> RawQueryByExampleDefinition query = <del> qm.newRawQueryByExampleDefinition(new StringHandle(queryAsString)); <add> qm.newRawQueryBy...
JavaScript
mit
9d53ab885e52c444d268cdbee5af1bab3885dc6f
0
kbase/ui-common,mlhenderson/ui-common,mlhenderson/ui-common,eapearson/ui-common,eapearson/ui-common-dos,eapearson/ui-common,briehl/ui-common,briehl/ui-common,nlharris/ui-common,briehl/ui-common,msneddon/ui-common,briehl/ui-common,eapearson/ui-common-dos,rsutormin/ui-common,mlhenderson/ui-common,rsutormin/ui-common,kbas...
/** * This is designed to work in the context of the landing page. * This initializes all card positions relative to the #app div. * * It manages all cards and widgets, organizes which data is available, * and (with available handlers) exports data to the user's workspace. * * For the purposes of the SAC demo, t...
src/widgets/kbaseCardLayoutManager.js
/** * This is designed to work in the context of the landing page. * This initializes all card positions relative to the #app div. * * It manages all cards and widgets, organizes which data is available, * and (with available handlers) exports data to the user's workspace. * * For the purposes of the SAC demo, t...
added kbaseobjectmeta variable mapping
src/widgets/kbaseCardLayoutManager.js
added kbaseobjectmeta variable mapping
<ide><path>rc/widgets/kbaseCardLayoutManager.js <ide> <ide> this.addNewCard("KBaseObjectMeta", <ide> { <del> workspaceID: this.options.data.workspaceID, <del> objectID: this.options.data.objectID <add> wsNameOrId: this.options.d...
JavaScript
unlicense
3ddb6a39387462c98d180355441d98baa0099286
0
theriex/jtmin
/*global alert, console, document, window, XMLHttpRequest, JSON, escape, unescape, setTimeout, navigator */ /*jslint browser, multivar, white, fudge, this, for */ //////////////////////////////////////// // Just The Mods I Need // // This library is intended to provide the minimally adequate // functionality for writ...
jtmin.js
/*global alert, console, document, window, XMLHttpRequest, JSON, escape, unescape, setTimeout, navigator */ /*jslint browser, multivar, white, fudge, this, for */ //////////////////////////////////////// // Just The Mods I Need // // This library is intended to provide the minimally adequate // functionality for writ...
Added lowercase start synonym for ISOString2Day func
jtmin.js
Added lowercase start synonym for ISOString2Day func
<ide><path>tmin.js <ide> date = new Date(year, (month - 1), day, 0, 0, 0, 0); <ide> return date; <ide> }; <add> uo.isoString2Day = uo.ISOString2Day; <ide> <ide> <ide> uo.ISOString2Time = function (str) {
Java
mit
error: pathspec 'src/main/java/leetcode/Problem640.java' did not match any file(s) known to git
22bf36ae8b124374e104ac8285e0fb7a89c6a93c
1
fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode
package leetcode; /** * https://leetcode.com/problems/solve-the-equation/ */ public class Problem640 { public String solveEquation(String equation) { // TODO return ""; } public static void main(String[] args) { Problem640 prob = new Problem640(); System.out.println(prob....
src/main/java/leetcode/Problem640.java
Skeleton for problem 640
src/main/java/leetcode/Problem640.java
Skeleton for problem 640
<ide><path>rc/main/java/leetcode/Problem640.java <add>package leetcode; <add> <add>/** <add> * https://leetcode.com/problems/solve-the-equation/ <add> */ <add>public class Problem640 { <add> public String solveEquation(String equation) { <add> // TODO <add> return ""; <add> } <add> <add> public s...
Java
apache-2.0
74c66c09c020414bb7760bb8e3619533fc03a358
0
ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma
/* * The Gemma project * * Copyright (c) 2006 University of British Columbia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *...
gemma-mda/src/main/java/ubic/gemma/persistence/hibernate/usertypes/HibernateURLType.java
/* * The Gemma project * * Copyright (c) 2006 University of British Columbia * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 *...
remove useless null check
gemma-mda/src/main/java/ubic/gemma/persistence/hibernate/usertypes/HibernateURLType.java
remove useless null check
<ide><path>emma-mda/src/main/java/ubic/gemma/persistence/hibernate/usertypes/HibernateURLType.java <ide> * @see org.hibernate.usertype.UserType#nullSafeGet(java.sql.ResultSet, java.lang.String[], java.lang.Object) <ide> */ <ide> public Object nullSafeGet( ResultSet rs, String[] names, Object owner ) throw...
Java
unlicense
93ba13733fedc5e747aaf64460f38ac94c63fc67
0
noritersand/laboratory,noritersand/laboratory,noritersand/laboratory
package laboratory.test.time; import java.time.LocalDate; import java.time.Month; import java.time.temporal.ChronoUnit; import java.util.GregorianCalendar; import org.joda.time.DateTime; import org.joda.time.Interval; import org.joda.time.Period; import org.joda.time.format.DateTimeFormat; import org.joda....
src/test/java/laboratory/test/time/CalculateElapsedTimeTest.java
package laboratory.test.time; import java.time.LocalDate; import java.time.Month; import java.time.temporal.ChronoUnit; import java.util.GregorianCalendar; import org.joda.time.DateTime; import org.joda.time.Interval; import org.joda.time.Period; import org.joda.time.format.DateTimeFormat; import org.joda....
Signed-off-by: noritersand <noritersand@daum.net>
src/test/java/laboratory/test/time/CalculateElapsedTimeTest.java
<ide><path>rc/test/java/laboratory/test/time/CalculateElapsedTimeTest.java <ide> import org.joda.time.Period; <ide> import org.joda.time.format.DateTimeFormat; <ide> import org.joda.time.format.DateTimeFormatter; <add>import org.joda.time.format.PeriodFormat; <ide> import org.joda.time.format.PeriodFormatter; <ide> imp...
Java
epl-1.0
0b957eec489d19c7830a3784f66efe008ff662fd
0
jenkinsci/coverity-plugin,jenkinsci/coverity-plugin,jenkinsci/coverity-plugin,jenkinsci/coverity-plugin
/******************************************************************************* * Copyright (c) 2017 Synopsys, Inc * 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/test/java/jenkins/plugins/coverity/CoverityPublisherDescriptorImplTests.java
/******************************************************************************* * Copyright (c) 2017 Synopsys, Inc * 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 *...
Fix for 1 TA violation CID: 335115
src/test/java/jenkins/plugins/coverity/CoverityPublisherDescriptorImplTests.java
Fix for 1 TA violation
<ide><path>rc/test/java/jenkins/plugins/coverity/CoverityPublisherDescriptorImplTests.java <ide> } <ide> <ide> @Test <del> public void doLoadProjectsForInstance_returnsJsonReponse() throws ServletException, IOException, org.json.simple.parser.ParseException { <add> public void doLoadProjectsForInstance_r...
Java
apache-2.0
error: pathspec 'mobile/src/main/java/at/mg/androidstudiosandbox/AndroidStudioShortCuts.java' did not match any file(s) known to git
809c0316bb901f8a64c92a4b7e4ad0449da71d46
1
3dmg/AndroidStudioSandbox
package at.mg.androidstudiosandbox; import android.text.TextUtils; /** * Created by Markus on 26.09.2014. * * list of key shortcuts and sandbox for AndroidStudio features * */ class AndroidStudioShortcuts { /** * rename with Shift + F6 * @param messages * @return */ private final bo...
mobile/src/main/java/at/mg/androidstudiosandbox/AndroidStudioShortCuts.java
add AndroidStudioShortcuts
mobile/src/main/java/at/mg/androidstudiosandbox/AndroidStudioShortCuts.java
add AndroidStudioShortcuts
<ide><path>obile/src/main/java/at/mg/androidstudiosandbox/AndroidStudioShortCuts.java <add>package at.mg.androidstudiosandbox; <add> <add>import android.text.TextUtils; <add> <add>/** <add> * Created by Markus on 26.09.2014. <add> * <add> * list of key shortcuts and sandbox for AndroidStudio features <add> * <add> */ <...
JavaScript
mit
7ff3e4b71d3894b1d051891bff699e9d09b57a2d
0
motorcyclejs/motorcyclejs,motorcyclejs/motorcyclejs,motorcyclejs/motorcyclejs
import most from 'most' import snabbdom from 'snabbdom' import h from 'snabbdom/h' const { a, abbr, address, area, article, aside, audio, b, base, bdi, bdo, blockquote, body, br, button, canvas, caption, cite, code, col, colgroup, dd, del, dfn, dir, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, ...
dom/src/index.js
import most from 'most' import snabbdom from 'snabbdom' import h from 'snabbdom/h' const { a, abbr, address, area, article, aside, audio, b, base, bdi, bdo, blockquote, body, br, button, canvas, caption, cite, code, col, colgroup, dd, del, dfn, dir, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, ...
Remove skipRepeats() from index.js Line 102 This is a (temporary) fix for #2
dom/src/index.js
Remove skipRepeats() from index.js Line 102
<ide><path>om/src/index.js <ide> , rootElem <ide> ) <ide> ) <del> rootElem$.drain() <add> rootElem$.drain() <ide> <ide> return { <del> select: makeElementSelector(rootElem$.skipRepeats()), <add> select: makeElementSelector(rootElem$)...
Java
apache-2.0
b1ff4f09a8a720815625d23d290a94c78fa0ccfc
0
xieningtao/android-maven-plugin,kedzie/maven-android-plugin,Stuey86/android-maven-plugin,hgl888/android-maven-plugin,wskplho/android-maven-plugin,kedzie/maven-android-plugin,secondsun/maven-android-plugin,Cha0sX/android-maven-plugin,repanda/android-maven-plugin,psorobka/android-maven-plugin,b-cuts/android-maven-plugin,...
package com.jayway.maven.plugins.android.common; import com.android.ddmlib.IDevice; import org.apache.commons.lang.StringUtils; /** * A bunch of helper methods for dealing with IDevice instances. * @author Manfred Moser <manfred@simpligility.com> */ public class DeviceHelper { private static final String MANU...
src/main/java/com/jayway/maven/plugins/android/common/DeviceHelper.java
package com.jayway.maven.plugins.android.common; import com.android.ddmlib.IDevice; import org.apache.commons.lang.StringUtils; /** * A bunch of helper methods for dealing with IDevice instances. * @author Manfred Moser <manfred@simpligility.com> */ public class DeviceHelper { private static final String MANU...
removed unused stmt
src/main/java/com/jayway/maven/plugins/android/common/DeviceHelper.java
removed unused stmt
<ide><path>rc/main/java/com/jayway/maven/plugins/android/common/DeviceHelper.java <ide> <ide> private static final String MANUFACTURER_PROPERTY = "ro.product.manufacturer"; <ide> private static final String MODEL_PROPERTY = "ro.product.model"; <del> private static final char[] ILLEGAL_CHARACTERS = { '/', '\...
Java
apache-2.0
633ad21165cb4b2b106e7d7925ceb9f422356372
0
cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x
/* * Copyright 2002-2008 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 ap...
src/org/springframework/beans/factory/support/MergedBeanDefinitionPostProcessor.java
/* * Copyright 2002-2007 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 ap...
fixed comment on post-processor invocation git-svn-id: b619a0c99665f88f1afe72824344cefe9a1c8c90@15914 fd5a2b45-1f63-4059-99e9-3c7cb7fd75c8
src/org/springframework/beans/factory/support/MergedBeanDefinitionPostProcessor.java
fixed comment on post-processor invocation
<ide><path>rc/org/springframework/beans/factory/support/MergedBeanDefinitionPostProcessor.java <ide> /* <del> * Copyright 2002-2007 the original author or authors. <add> * Copyright 2002-2008 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you m...
Java
apache-2.0
8a62b15839cc62d3e637d41f1276b5b624fd9164
0
Clemmy/matrix-tools
import java.math.BigDecimal; public class Matrix { double[][] matrix; int rows = 0; int columns = 0; int nonZeroRows = this.rows; // Assumption that the last column is non-zero // creates an empty matrix of dimensions (row, cols) public Matrix(int rows, int co...
src/Matrix.java
import java.math.BigDecimal; public class Matrix { double[][] matrix; int rows = 0; int columns = 0; // creates an empty matrix of dimensions (row, cols) public Matrix(int rows, int cols) { double[][] matrix = new double[rows][cols]; this....
Update #4: RREF The ability to row-reduce the matrix into REF and RREF form was added in this update. Other useful functions added as well, such as: reOrganize(), firstNonEmptyColumn(), and rowStartingPosition (descriptions are within the code).
src/Matrix.java
Update #4: RREF
<ide><path>rc/Matrix.java <ide> double[][] matrix; <ide> int rows = 0; <ide> int columns = 0; <add> int nonZeroRows = this.rows; // Assumption that the last column is non-zero <ide> <ide> // creates an empty matrix of dimensions (row, cols) <ide> public Matrix(int...
Java
apache-2.0
59d938d2460604636e7c4d2360ab365e9ed0bbe8
0
taylordowns2000/edukapp,scottbw/edukapp,pmt02/edukapp,taylordowns2000/edukapp,pmt02/edukapp,scottbw/edukapp,pmt02/edukapp,scottbw/edukapp,taylordowns2000/edukapp
package uk.ac.edukapp.service; import java.util.ArrayList; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.NoResultException; import javax.persistence.Query; import javax.servlet.ServletContext; import org.apache.log4j.Logger; import uk.ac.edukapp.cache.Cache; import uk.ac.ed...
src/main/java/uk/ac/edukapp/service/WidgetProfileService.java
package uk.ac.edukapp.service; import java.util.ArrayList; import java.util.List; import javax.persistence.EntityManager; import javax.persistence.NoResultException; import javax.persistence.Query; import javax.servlet.ServletContext; import org.apache.log4j.Logger; import uk.ac.edukapp.cache.Cache; import uk.ac.ed...
Create a WidgetStats instance for every Widgetprofile created
src/main/java/uk/ac/edukapp/service/WidgetProfileService.java
Create a WidgetStats instance for every Widgetprofile created
<ide><path>rc/main/java/uk/ac/edukapp/service/WidgetProfileService.java <ide> import uk.ac.edukapp.model.Activity; <ide> import uk.ac.edukapp.model.Tag; <ide> import uk.ac.edukapp.model.WidgetDescription; <add>import uk.ac.edukapp.model.WidgetStats; <ide> import uk.ac.edukapp.model.Widgetprofile; <ide> import uk.ac.edu...
Java
apache-2.0
ac203fe7fe8e90a3d9a75808e889473293d6c66b
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ui; import com.intellij.openapi.actionSystem.*; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.util.Pair; import com...
platform/platform-api/src/com/intellij/ui/ToolbarDecorator.java
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ui; import com.intellij.openapi.actionSystem.*; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.util.Pair; import com...
NLS for `ToolbarDecoration` GitOrigin-RevId: a71fd25370ffb3e0e6559de8bff56bea0af18a96
platform/platform-api/src/com/intellij/ui/ToolbarDecorator.java
NLS for `ToolbarDecoration`
<ide><path>latform/platform-api/src/com/intellij/ui/ToolbarDecorator.java <ide> return this; <ide> } <ide> <del> public ToolbarDecorator setAddActionName(String name) { <add> public ToolbarDecorator setAddActionName(@Nls String name) { <ide> myAddName = name; <ide> return this; <ide> } <ide> <del> ...
Java
apache-2.0
error: pathspec 'spring-boot-freemarker/src/main/java/com/lance/freemaker/web/system/SystemIndexController.java' did not match any file(s) known to git
7753b347fdcf21ac6ece96646ae52de5a09dbac5
1
leelance/spring-boot-all,leelance/spring-boot-all,leelance/spring-boot-all
package com.lance.freemaker.web.system; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; @Controller public class SystemIndexController { @RequestMapping("system/admin/index") public String index() { return "system/index.jsp"; } }
spring-boot-freemarker/src/main/java/com/lance/freemaker/web/system/SystemIndexController.java
add resource
spring-boot-freemarker/src/main/java/com/lance/freemaker/web/system/SystemIndexController.java
add resource
<ide><path>pring-boot-freemarker/src/main/java/com/lance/freemaker/web/system/SystemIndexController.java <add>package com.lance.freemaker.web.system; <add> <add>import org.springframework.stereotype.Controller; <add>import org.springframework.web.bind.annotation.RequestMapping; <add> <add>@Controller <add>public class ...
Java
bsd-2-clause
9779717ebf7f5ffd32681181f30d7bfccc20409e
0
biovoxxel/imagej,biovoxxel/imagej,TehSAUCE/imagej,biovoxxel/imagej,TehSAUCE/imagej,TehSAUCE/imagej
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2013 Board of Regents of the University of * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck * Institute of Molecular Cell Biology and Genetics. * %% * Redistribution and use in sourc...
plugins/commands/src/main/java/imagej/core/commands/display/interactive/BrightnessContrast.java
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2013 Board of Regents of the University of * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck * Institute of Molecular Cell Biology and Genetics. * %% * Redistribution and use in sourc...
Make Brightness/Contrast use AutoscaleService Note that currently it still computes on whole image. For large image support we should constrain the calcs to the current plane perhaps.
plugins/commands/src/main/java/imagej/core/commands/display/interactive/BrightnessContrast.java
Make Brightness/Contrast use AutoscaleService
<ide><path>lugins/commands/src/main/java/imagej/core/commands/display/interactive/BrightnessContrast.java <ide> <ide> import imagej.command.Command; <ide> import imagej.data.Dataset; <add>import imagej.data.autoscale.AutoscaleService; <ide> import imagej.data.command.InteractiveImageCommand; <ide> import imagej.data.d...
Java
apache-2.0
e84a835e167f43426f2e1acb37bda3a1e0761eaa
0
apache/kylin,apache/incubator-kylin,apache/kylin,apache/kylin,apache/incubator-kylin,apache/kylin,apache/kylin,apache/incubator-kylin,apache/incubator-kylin,apache/incubator-kylin,apache/kylin,apache/incubator-kylin,apache/kylin
/* * 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 ...
job/src/main/java/org/apache/kylin/job/hadoop/invertedindex/IICreateHTableJob.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 ...
KYLIN-749 remove unnecessary system exit
job/src/main/java/org/apache/kylin/job/hadoop/invertedindex/IICreateHTableJob.java
KYLIN-749 remove unnecessary system exit
<ide><path>ob/src/main/java/org/apache/kylin/job/hadoop/invertedindex/IICreateHTableJob.java <ide> <ide> package org.apache.kylin.job.hadoop.invertedindex; <ide> <del>import org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy; <del>import org.apache.hadoop.hbase.regionserver.DisabledRegionSplitPolicy; ...
JavaScript
mit
8e0cc5e907d5a4dd9120cbdb2b9f2ff2ba115eff
0
alexeyraspopov/retransmitter
import React, {PropTypes} from 'react'; import {Observable, helpers} from 'rx'; import assign from 'object-assign'; import invariant from 'invariant'; export default {create: Container, fromPromise: Observable.fromPromise, fromStore}; function Container(Component, options) { // fragments can return Promise, Observer...
index.js
import React, {PropTypes} from 'react'; import {Observable, helpers} from 'rx'; import assign from 'object-assign'; import invariant from 'invariant'; export default {create: Container, fromPromise: Observable.fromPromise, fromStore}; function Container(Component, options) { // fragments can return Promise, Observer...
used separate methods for different statuses
index.js
used separate methods for different statuses
<ide><path>ndex.js <ide> return observable.map(data => ({[name]: data})); <ide> }, <ide> <add> success(results) { <add> this.setState({ <add> status: 'success', <add> fragments: results.reduce((a, b) => assign(a, b), {}), <add> }); <add> }, <add> <add> failure(error) { <add> this.setState({ <add> ...
Java
lgpl-2.1
978abc7a78fa7cd028bfb35d89d1eda99f50e1e5
0
Arabidopsis-Information-Portal/intermine,Arabidopsis-Information-Portal/intermine,elsiklab/intermine,JoeCarlson/intermine,julie-sullivan/phytomine,zebrafishmine/intermine,zebrafishmine/intermine,elsiklab/intermine,drhee/toxoMine,Arabidopsis-Information-Portal/intermine,JoeCarlson/intermine,drhee/toxoMine,justincc/inter...
package org.flymine.dataconversion; /* * Copyright (C) 2002-2003 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/lesser...
intermine/src/java/org/intermine/dataconversion/ObjectStoreItemWriter.java
package org.flymine.dataconversion; /* * Copyright (C) 2002-2003 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/lesser...
revert to version 1.1, checked in with log messages in error
intermine/src/java/org/intermine/dataconversion/ObjectStoreItemWriter.java
revert to version 1.1, checked in with log messages in error
<ide><path>ntermine/src/java/org/intermine/dataconversion/ObjectStoreItemWriter.java <ide> import org.flymine.objectstore.ObjectStoreException; <ide> import org.flymine.objectstore.ObjectStoreWriter; <ide> <del>import org.apache.log4j.Logger; <ide> /** <ide> * Stores Items in an objectstore. <ide> * <ide> privat...
Java
agpl-3.0
6b23ba10bd49a59ceb29a97b8307293cc8951246
0
jotomo/AndroidAPS,Heiner1/AndroidAPS,PoweRGbg/AndroidAPS,Heiner1/AndroidAPS,MilosKozak/AndroidAPS,PoweRGbg/AndroidAPS,MilosKozak/AndroidAPS,winni67/AndroidAPS,Heiner1/AndroidAPS,jotomo/AndroidAPS,PoweRGbg/AndroidAPS,jotomo/AndroidAPS,MilosKozak/AndroidAPS,winni67/AndroidAPS,Heiner1/AndroidAPS
package info.nightscout.utils; import android.support.v4.util.LongSparseArray; import android.text.format.DateUtils; import android.util.SparseIntArray; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.G...
app/src/main/java/info/nightscout/utils/DateUtil.java
package info.nightscout.utils; import android.support.v4.util.LongSparseArray; import android.text.format.DateUtils; import android.util.SparseIntArray; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; import java.util.G...
format output date to be displayed on iDevices correctly
app/src/main/java/info/nightscout/utils/DateUtil.java
format output date to be displayed on iDevices correctly
<ide><path>pp/src/main/java/info/nightscout/utils/DateUtil.java <ide> /** <ide> * The date format in iso. <ide> */ <add> private static String FORMAT_DATE_ISO_OUT = "yyyy-MM-dd'T'HH:mm:ss'Z'"; <add> <ide> private static String FORMAT_DATE_ISO = "yyyy-MM-dd'T'HH:mm:ssZ"; <ide> private static Str...
Java
apache-2.0
5307d20b3d76e406960262f4b24d20a3d7f2c857
0
vibe13/geronimo,vibe13/geronimo,meetdestiny/geronimo-trader,vibe13/geronimo,apache/geronimo,meetdestiny/geronimo-trader,vibe13/geronimo,apache/geronimo,apache/geronimo,apache/geronimo,meetdestiny/geronimo-trader
/* * Copyright 2001-2004 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 re...
modules/axis/src/test/org/apache/geronimo/axis/AxisWebServiceContainerTest.java
/* * Copyright 2001-2004 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 re...
Updated test case git-svn-id: d69ffe4ccc4861bf06065bd0072b85c931fba7ed@160147 13f79535-47bb-0310-9956-ffa450edef68
modules/axis/src/test/org/apache/geronimo/axis/AxisWebServiceContainerTest.java
Updated test case
<ide><path>odules/axis/src/test/org/apache/geronimo/axis/AxisWebServiceContainerTest.java <ide> import org.apache.geronimo.axis.server.ReadOnlyServiceDesc; <ide> import org.apache.geronimo.axis.server.POJOProvider; <ide> import org.apache.geronimo.axis.testData.echosample.EchoBean; <add>import org.apache.geronimo.webse...
Java
apache-2.0
04b239a11a8ed2a6040ebedd4883a6d98566efc5
0
Senth/libgdx,bgroenks96/libgdx,FredGithub/libgdx,nave966/libgdx,js78/libgdx,Thotep/libgdx,titovmaxim/libgdx,jsjolund/libgdx,jasonwee/libgdx,kzganesan/libgdx,js78/libgdx,lordjone/libgdx,antag99/libgdx,hyvas/libgdx,thepullman/libgdx,tell10glu/libgdx,tell10glu/libgdx,SidneyXu/libgdx,kzganesan/libgdx,thepullman/libgdx,srwo...
/* * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at * * http://www.apache.org/...
gdx/src/com/badlogic/gdx/scenes/scene2d/Stage.java
/* * Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com) * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the * License. You may obtain a copy of the License at * * http://www.apache.org/...
[changed] Stage.render() is now called draw()
gdx/src/com/badlogic/gdx/scenes/scene2d/Stage.java
[changed] Stage.render() is now called draw()
<ide><path>dx/src/com/badlogic/gdx/scenes/scene2d/Stage.java <ide> /** <ide> * Renders the stage <ide> */ <del> public void render () { <add> public void draw () { <ide> batch.setProjectionMatrix(projection); <ide> batch.setTransformMatrix(identity); <ide> batch.begin();
Java
apache-2.0
22c06d762152fcd37a6a1f9a9ddb4838586c99d3
0
IsuraD/identity-governance,wso2-extensions/identity-governance
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
components/org.wso2.carbon.identity.governance/src/main/java/org/wso2/carbon/identity/governance/IdentityGovernanceServiceImpl.java
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * U...
change variables name (cherry picked from commit 7b59aec)
components/org.wso2.carbon.identity.governance/src/main/java/org/wso2/carbon/identity/governance/IdentityGovernanceServiceImpl.java
change variables name
<ide><path>omponents/org.wso2.carbon.identity.governance/src/main/java/org/wso2/carbon/identity/governance/IdentityGovernanceServiceImpl.java <ide> index++; <ide> } <ide> <del> List<IdentityConnectorConfig> list = getConnectorList(); <add> List<IdentityConnectorConfig> identityConnect...