lang stringclasses 2
values | license stringclasses 13
values | stderr stringlengths 0 343 | commit stringlengths 40 40 | returncode int64 0 128 | repos stringlengths 6 87.7k | new_contents stringlengths 0 6.23M | new_file stringlengths 3 311 | old_contents stringlengths 0 6.23M | message stringlengths 6 9.1k | old_file stringlengths 3 311 | subject stringlengths 0 4k | git_diff stringlengths 0 6.31M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
JavaScript | mit | e283a77e1570c987e108bc2f1a39747902558c45 | 0 | arose/ngl,j0kaso/ngl,fredludlow/ngl,fredludlow/ngl,fredludlow/ngl,arose/ngl,arose/ngl,arose/ngl,fredludlow/ngl,j0kaso/ngl,j0kaso/ngl | /**
* @file Mouse Observer
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Vector2 } from "../../lib/three.es6.js";
import Signal from "../../lib/signals.es6.js";
import { defaults } from "../utils.js";
/**
* @example
* mouseObserver.signals.scroll.add( function( delta ){ ... } ... | src/stage/mouse-observer.js | /**
* @file Mouse Observer
* @author Alexander Rose <alexander.rose@weirdbyte.de>
* @private
*/
import { Vector2 } from "../../lib/three.es6.js";
import Signal from "../../lib/signals.es6.js";
import { defaults } from "../utils.js";
/**
* @example
* mouseObserver.signals.scroll.add( function( delta ){ ... } ... | method name typo
| src/stage/mouse-observer.js | method name typo | <ide><path>rc/stage/mouse-observer.js
<ide> this._onMousedown = this._onMousedown.bind( this );
<ide> this._onMouseup = this._onMouseup.bind( this );
<ide>
<del> this.listen();
<add> this._listen();
<ide>
<ide> domElement.addEventListener( 'mousewheel', this._onMousewheel );
<ide... | |
Java | epl-1.0 | fd28c651ff03a79de402af41363de09b147f61fb | 0 | akurtakov/Pydev,fabioz/Pydev,rajul/Pydev,rgom/Pydev,akurtakov/Pydev,fabioz/Pydev,aptana/Pydev,akurtakov/Pydev,aptana/Pydev,RandallDW/Aruba_plugin,fabioz/Pydev,rajul/Pydev,rgom/Pydev,RandallDW/Aruba_plugin,fabioz/Pydev,rajul/Pydev,akurtakov/Pydev,rajul/Pydev,akurtakov/Pydev,aptana/Pydev,rgom/Pydev,fabioz/Pydev,RandallDW... | package com.aptana.js.interactive_console.rhino;
import java.io.OutputStream;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.... | plugins/com.aptana.js.interactive_console/src_rhino_console/com/aptana/js/interactive_console/rhino/RhinoInterpreter.java | package com.aptana.js.interactive_console.rhino;
import java.io.OutputStream;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.LinkedBlockingQueue;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.... | Minor (comments only).
| plugins/com.aptana.js.interactive_console/src_rhino_console/com/aptana/js/interactive_console/rhino/RhinoInterpreter.java | Minor (comments only). | <ide><path>lugins/com.aptana.js.interactive_console/src_rhino_console/com/aptana/js/interactive_console/rhino/RhinoInterpreter.java
<ide> /**
<ide> * This is the basic implementation for the interpreter. Note that it's much more complicated than
<ide> * it appears it should be because rhino commands must all be evalu... | |
Java | apache-2.0 | 094461892bb2304388e8fe3c9f227cbd88e3bf40 | 0 | gastaldi/hibernate-validator,flibbertigibbet/hibernate-validator-android,shahramgdz/hibernate-validator,DavideD/hibernate-validator,mxrenkin/hibernate-validator,fazerish/hibernate-validator,mxrenkin/hibernate-validator,hibernate/hibernate-validator,shahramgdz/hibernate-validator,mxrenkin/hibernate-validator,fazerish/hi... | // $Id$
/*
* JBoss, Home of Professional Open Source
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you m... | hibernate-validator/src/main/java/org/hibernate/validation/util/ReflectionHelper.java | // $Id$
/*
* JBoss, Home of Professional Open Source
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* by the @authors tag. See the copyright.txt in the distribution for a
* full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you m... | fix bug with isGetter not retrieved when getMethod is used
git-svn-id: 26dda5117cf3d919afec67b81d32a23dad579a1f@16522 1b8cb986-b30d-0410-93ca-fae66ebed9b2
| hibernate-validator/src/main/java/org/hibernate/validation/util/ReflectionHelper.java | fix bug with isGetter not retrieved when getMethod is used | <ide><path>ibernate-validator/src/main/java/org/hibernate/validation/util/ReflectionHelper.java
<ide> * false</code> otherwise.
<ide> */
<ide> public static boolean containsMethod(Class<?> clazz, String methodName) {
<add> return getMethod( clazz, methodName ) != null;
<add> }
<add>
<add> /**
<add> * Ret... | |
JavaScript | mit | 769a7841978011a0aea9059c9a16b2687b5820ce | 0 | berkley/spark,berkley/spark,berkley/spark,berkley/spark | var express = require('express');
var lights = require('./routes/lights');
var water = require('./routes/water');
var index = require('./routes/index');
var freddy = require('./routes/freddy');
var camp = require('./routes/camp'); //control the camp fire puffers
var security = require('./routes/security');
var http = r... | node/app.js | var express = require('express');
var lights = require('./routes/lights');
var water = require('./routes/water');
var index = require('./routes/index');
var freddy = require('./routes/freddy');
var camp = require('./routes/camp'); //control the camp fire puffers
var security = require('./routes/security');
var http = r... | changed port order
| node/app.js | changed port order | <ide><path>ode/app.js
<ide> water.setConfig(nconf);
<ide> security.setConfig(nconf);
<ide>
<del>app.set('port', nconf.get("port") || process.env.PORT || 3000);
<add>app.set('port', process.env.PORT || nconf.get("port") || 3000);
<ide> app.set('views', path.join(__dirname, 'views'));
<ide> app.set('view engine', 'ejs')... | |
JavaScript | mit | 2b3e5f0386541492ba241090e9c00a5502534360 | 0 | infinitered/reactotron,infinitered/reactotron,infinitered/reactotron,reactotron/reactotron,reactotron/reactotron,reactotron/reactotron,reactotron/reactotron,infinitered/reactotron,reactotron/reactotron | import React, { Component } from "react"
import PropTypes from "prop-types"
import Command from "../Shared/Command"
import Content from "../Shared/Content"
const COMMAND_TITLE = "DISPLAY"
const Styles = {
imageContainer: {},
image: {
maxWidth: "100%",
maxHeight: "100%",
},
}
class DisplayCommand extend... | packages/reactotron-app/App/Commands/DisplayCommand.js | import React, { Component } from "react"
import PropTypes from "prop-types"
import Command from "../Shared/Command"
import Content from "../Shared/Content"
const COMMAND_TITLE = "DISPLAY"
const Styles = {
imageContainer: {},
image: {
maxWidth: "100%",
maxHeight: "100%",
},
}
class DisplayCommand extend... | �� Fixes images not being shown in display calls
| packages/reactotron-app/App/Commands/DisplayCommand.js | �� Fixes images not being shown in display calls | <ide><path>ackages/reactotron-app/App/Commands/DisplayCommand.js
<ide> {value && <Content value={value} />}
<ide> {image && (
<ide> <div style={Styles.imageContainer}>
<del> <img style={Styles.image} src={image.uri} />
<add> <img style={Styles.image} src={image} />
<ide> ... | |
Java | apache-2.0 | a74dfe9cacf078fddf48fc1b49bcb27709c9c9d8 | 0 | paritytrading/philadelphia,paritytrading/philadelphia,paritytrading/philadelphia | package com.paritytrading.philadelphia;
import static com.paritytrading.philadelphia.FIX.*;
import static com.paritytrading.philadelphia.FIXMsgTypes.*;
import static com.paritytrading.philadelphia.FIXSessionRejectReasons.*;
import static com.paritytrading.philadelphia.FIXTags.*;
import java.io.Closeable;
import java.... | libraries/core/src/main/java/com/paritytrading/philadelphia/FIXConnection.java | package com.paritytrading.philadelphia;
import static com.paritytrading.philadelphia.FIX.*;
import static com.paritytrading.philadelphia.FIXMsgTypes.*;
import static com.paritytrading.philadelphia.FIXSessionRejectReasons.*;
import static com.paritytrading.philadelphia.FIXTags.*;
import java.io.Closeable;
import java.... | philadelphia-core: Use 'final' modifier in 'FIXConnection'
| libraries/core/src/main/java/com/paritytrading/philadelphia/FIXConnection.java | philadelphia-core: Use 'final' modifier in 'FIXConnection' | <ide><path>ibraries/core/src/main/java/com/paritytrading/philadelphia/FIXConnection.java
<ide> */
<ide> public class FIXConnection implements Closeable {
<ide>
<del> private Clock clock;
<del>
<del> private SocketChannel channel;
<del>
<del> private FIXConfig config;
<del>
<del> private FIXValue bodyLengt... | |
Java | apache-2.0 | 9324e6883d110b473cb7ee696f1034286c18f1c8 | 0 | bbrodt/uberfire-eclipse,bbrodt/uberfire-eclipse,bbrodt/uberfire-eclipse | package org.uberfire.eclipse.browser.shadowservices.impl;
import java.io.File;
import java.lang.reflect.Field;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.drools.compiler.compiler.BaseKnowledgeBuilderResultImpl;
im... | eclipse-plugins/org.uberfire.eclipse.browser/src/main/java/org/uberfire/eclipse/browser/shadowservices/impl/EclipseDRLTextEditorService.java | package org.uberfire.eclipse.browser.shadowservices.impl;
import java.io.File;
import java.lang.reflect.Field;
import java.net.URI;
import java.net.URISyntaxException;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import org.drools.compiler.lang.descr.ImportDescr;
import org.drools.c... | Implemented validation
The following additional packages need to be exported from
droolsjbpm-tools org.drools.eclipse plugin:
org.drools.compiler.compiler
org.drools.compiler.lang.descr
org.drools.eclipse
org.kie.internal.builder | eclipse-plugins/org.uberfire.eclipse.browser/src/main/java/org/uberfire/eclipse/browser/shadowservices/impl/EclipseDRLTextEditorService.java | Implemented validation | <ide><path>clipse-plugins/org.uberfire.eclipse.browser/src/main/java/org/uberfire/eclipse/browser/shadowservices/impl/EclipseDRLTextEditorService.java
<ide> import java.util.Collection;
<ide> import java.util.List;
<ide>
<add>import org.drools.compiler.compiler.BaseKnowledgeBuilderResultImpl;
<ide> import org.drools.c... | |
Java | isc | 688869dcf6b8ddda601e24136cbf021c227f5183 | 0 | j256/ormlite-jdbc | package com.j256.ormlite.jdbc;
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.j256.ormlite.db.DatabaseType;
import com.j256.ormlite.logger.Log.Level;... | src/main/java/com/j256/ormlite/jdbc/JdbcPooledConnectionSource.java | package com.j256.ormlite.jdbc;
import java.io.IOException;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import com.j256.ormlite.db.DatabaseType;
import com.j256.ormlite.logger.Log.Level;... | Fixed exception logging. | src/main/java/com/j256/ormlite/jdbc/JdbcPooledConnectionSource.java | Fixed exception logging. | <ide><path>rc/main/java/com/j256/ormlite/jdbc/JdbcPooledConnectionSource.java
<ide> logger.trace("tested connection {}, got {}", connMetaData, result);
<ide> return true;
<ide> } catch (Exception e) {
<del> logger.debug(e, "testing connection {} threw exception: {}", connMetaData, e);
<add> logger.debug(e, ... | |
JavaScript | mit | 49c3e0a201d333d4b76863768860f4dc98a568b2 | 0 | zeit/next.js,JeromeFitz/next.js,azukaru/next.js,azukaru/next.js,azukaru/next.js,flybayer/next.js,flybayer/next.js,flybayer/next.js,flybayer/next.js,zeit/next.js,JeromeFitz/next.js,JeromeFitz/next.js,JeromeFitz/next.js,zeit/next.js,azukaru/next.js | /* eslint-env jest */
import { join } from 'path'
import { renderViaHTTP, findPort, launchApp, killApp } from 'next-test-utils'
// test suites
import hmr from './hmr'
import errorRecovery from './error-recovery'
import dynamic from './dynamic'
import processEnv from './process-env'
import publicFolder from './public-... | test/integration/basic/test/index.test.js | /* eslint-env jest */
import { join } from 'path'
import { renderViaHTTP, findPort, launchApp, killApp } from 'next-test-utils'
// test suits
import hmr from './hmr'
import errorRecovery from './error-recovery'
import dynamic from './dynamic'
import processEnv from './process-env'
import publicFolder from './public-f... | fix(tests): fixes typo in basic integration test (#28158)
## Bug
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`
## Feature
- [ ] Implements an existing feature request or RFC. Make sure the feature request has been acc... | test/integration/basic/test/index.test.js | fix(tests): fixes typo in basic integration test (#28158) | <ide><path>est/integration/basic/test/index.test.js
<ide> import { join } from 'path'
<ide> import { renderViaHTTP, findPort, launchApp, killApp } from 'next-test-utils'
<ide>
<del>// test suits
<add>// test suites
<ide> import hmr from './hmr'
<ide> import errorRecovery from './error-recovery'
<ide> import dynamic fr... | |
Java | apache-2.0 | 51a429ebd9bab4881829d6e83e31ef068ec2caae | 0 | iBotPeaches/Apktool,Benjamin-Dobell/Apktool,kesuki/Apktool,berkus/android-apktool,blaquee/Apktool,KuaiFaMaster/Apktool,harish123400/Apktool,yujokang/Apktool,kuter007/android-apktool,sawrus/Apktool,kesuki/Apktool,yunemr/Apktool,lovely3x/Apktool,guiyu/android-apktool,HackerTool/Apktool,phhusson/Apktool,lczgywzyy/Apktool,... | /*
* Copyright 2010 Ryszard Wiśniewski <brut.alll@gmail.com>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | src/brut/androlib/res/AndrolibResources.java | /*
* Copyright 2010 Ryszard Wiśniewski <brut.alll@gmail.com>.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless ... | AndrolibResources.getFrameworkApk(): fixed small bug, occuring when frameTag is null.
| src/brut/androlib/res/AndrolibResources.java | AndrolibResources.getFrameworkApk(): fixed small bug, occuring when frameTag is null. | <ide><path>rc/brut/androlib/res/AndrolibResources.java
<ide> private File getFrameworkApk(int id, String frameTag)
<ide> throws AndrolibException {
<ide> File dir = getFrameworkDir();
<del>
<del> File apk = new File(dir, String.valueOf(id) + '-' + frameTag + ".apk");
<del> if (apk.... | |
Java | lgpl-2.1 | 71d0a81f18b1a5e1bd64668b79178cab2441ab7f | 0 | viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ch.unizh.ini.jaer.projects.gesture.vlccontrol;
import java.beans.PropertyChangeSupport;
import java.io.*;
import java.io.IOException;
import java.nio.CharBuffer;
import java.util.logging.Level;
import java.util.... | src/ch/unizh/ini/jaer/projects/gesture/vlccontrol/VLCControl.java | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ch.unizh.ini.jaer.projects.gesture.vlccontrol;
import java.beans.PropertyChangeSupport;
import java.io.*;
import java.io.IOException;
import java.nio.CharBuffer;
import java.util.logging.Level;
import java.util.... | made field private
git-svn-id: e3d3b427d532171a6bd7557d8a4952a393b554a2@2477 b7f4320f-462c-0410-a916-d9f35bb82d52
| src/ch/unizh/ini/jaer/projects/gesture/vlccontrol/VLCControl.java | made field private | <ide><path>rc/ch/unizh/ini/jaer/projects/gesture/vlccontrol/VLCControl.java
<ide> /** VLC should be started with as "vlc --rc-host=localhost:4444" */
<ide> public static final int VLC_PORT = 4444;
<ide> static final Logger log = Logger.getLogger("VLCControl");
<del> CharBuffer cbuf = CharBuffer.allocate(... | |
Java | apache-2.0 | 5dfcd309f10e5bd6a918f7fdff3f44a3dff2374a | 0 | jcshen007/cloudstack,mufaddalq/cloudstack-datera-driver,DaanHoogland/cloudstack,DaanHoogland/cloudstack,resmo/cloudstack,jcshen007/cloudstack,DaanHoogland/cloudstack,resmo/cloudstack,GabrielBrascher/cloudstack,mufaddalq/cloudstack-datera-driver,DaanHoogland/cloudstack,mufaddalq/cloudstack-datera-driver,resmo/cloudstack... | // 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... | plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.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... | agent: Do not define domains persistent in libvirt
We used to define domains persistent in libvirt, which caused XML definitions
to stay there after a reboot of the hypervisor.
We however don't do anything with those already defined domains, actually, we wipe
all defined domains when starting the agent.
Some users h... | plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java | agent: Do not define domains persistent in libvirt | <ide><path>lugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
<ide> NATIVE, OPENVSWITCH
<ide> }
<ide>
<del> protected enum defineOps {
<del> UNDEFINE_VM, DEFINE_VM
<del> }
<del>
<ide> protected BridgeType _bridgeType;
<ide>
<ide> private String ... | |
Java | agpl-3.0 | 7b04e7602f0c73376f7817eb4581f8ac72d2d95a | 0 | LibrePlan/libreplan,skylow95/libreplan,Marine-22/libre,dgray16/libreplan,dgray16/libreplan,poum/libreplan,poum/libreplan,poum/libreplan,LibrePlan/libreplan,PaulLuchyn/libreplan,dgray16/libreplan,skylow95/libreplan,LibrePlan/libreplan,Marine-22/libre,skylow95/libreplan,LibrePlan/libreplan,Marine-22/libre,skylow95/librep... | /*
* This file is part of NavalPlan
*
* Copyright (C) 2009-2010 Fundación para o Fomento da Calidade Industrial e
* Desenvolvemento Tecnolóxico de Galicia
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License... | navalplanner-webapp/src/main/java/org/navalplanner/web/orders/OrderElementTreeController.java | /*
* This file is part of NavalPlan
*
* Copyright (C) 2009-2010 Fundación para o Fomento da Calidade Industrial e
* Desenvolvemento Tecnolóxico de Galicia
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License... | Rename method
Strip the name of implementation details.
FEA: ItEr67S04BugFixing
| navalplanner-webapp/src/main/java/org/navalplanner/web/orders/OrderElementTreeController.java | Rename method | <ide><path>avalplanner-webapp/src/main/java/org/navalplanner/web/orders/OrderElementTreeController.java
<ide>
<ide> private Map<Treerow, List<InputElement>> navigableElementsByRow = new HashMap<Treerow, List<InputElement>>();
<ide>
<del> void registerKeyboardListener(final InputElement inputEle... | |
Java | apache-2.0 | 0e5c3227a72dbf6ce282ed59b46a9d43fa7d1cde | 0 | ernestp/consulo,vvv1559/intellij-community,caot/intellij-community,diorcety/intellij-community,idea4bsd/idea4bsd,ivan-fedorov/intellij-community,FHannes/intellij-community,dslomov/intellij-community,Lekanich/intellij-community,asedunov/intellij-community,diorcety/intellij-community,adedayo/intellij-community,SerCeMan/i... | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | platform/lang-impl/src/com/intellij/refactoring/copy/CopyFilesOrDirectoriesDialog.java | /*
* Copyright 2000-2009 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... | copy file: exclude file extension from selection (IDEA-61081)
| platform/lang-impl/src/com/intellij/refactoring/copy/CopyFilesOrDirectoriesDialog.java | copy file: exclude file extension from selection (IDEA-61081) | <ide><path>latform/lang-impl/src/com/intellij/refactoring/copy/CopyFilesOrDirectoriesDialog.java
<ide> import com.intellij.openapi.project.Project;
<ide> import com.intellij.openapi.ui.DialogWrapper;
<ide> import com.intellij.openapi.ui.Messages;
<add>import com.intellij.openapi.ui.impl.DialogWrapperPeerImpl;
<ide> imp... | |
Java | apache-2.0 | b899a04c73d7f55875f7b4ab9d5a88953ba44ba8 | 0 | JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck,JoelMarcey/buck | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | test/com/facebook/buck/downwardapi/processexecutor/DownwardApiProcessExecutorTest.java | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | DownwardApiProcessExecutorTest fix: Increase duration threshold from 1s to 2s
Summary: ^ + More readable error message.
Reviewed By: swgillespie
shipit-source-id: 6832ea9c9ee453734307f512a2e51bc14492be3d
| test/com/facebook/buck/downwardapi/processexecutor/DownwardApiProcessExecutorTest.java | DownwardApiProcessExecutorTest fix: Increase duration threshold from 1s to 2s | <ide><path>est/com/facebook/buck/downwardapi/processexecutor/DownwardApiProcessExecutorTest.java
<ide> private void verifyDuration(long epochSecond, int expectedRelativeDuration, long nanoTime) {
<ide> long eventTimeInSeconds = TimeUnit.NANOSECONDS.toSeconds(nanoTime);
<ide> long relativeTimeInSeconds = event... | |
Java | apache-2.0 | 09d54f9bb0783942a4fd538b846aad4d1c050777 | 0 | googlegsa/manager.v3,googlegsa/manager.v3,googlegsa/manager.v3 | // Copyright 2006 Google 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 writ... | projects/connector-manager/source/java/com/google/enterprise/connector/spi/SpiConstants.java | // Copyright 2006 Google 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 writ... | Fix incorrect @since javadoc tags in SpiConstants
| projects/connector-manager/source/java/com/google/enterprise/connector/spi/SpiConstants.java | Fix incorrect @since javadoc tags in SpiConstants | <ide><path>rojects/connector-manager/source/java/com/google/enterprise/connector/spi/SpiConstants.java
<ide> * <p>
<ide> * Value: "google:"
<ide> *
<del> * @since 3.0
<add> * @since 2.6.6
<ide> */
<ide> public static final String RESERVED_PROPNAME_PREFIX = "google:";
<ide>
<ide> * Value: google:fo... | |
JavaScript | agpl-3.0 | 9e874ba5d449b4594a0b3278ab93017226458094 | 0 | slash851/mwEmbed,slash851/mwEmbed,tanyaLibatter/mwEmbed,FlixMaster/mwEmbed,joanpuigsanz/mwEmbed,panda-os/mwEmbed,kaltura/mwEmbed,abaylis/mwEmbed,FlixMaster/mwEmbed,abaylis/mwEmbed,kaltura/mwEmbed,panda-os/mwEmbed,bordar/mwEmbed,abaylis/mwEmbed,abaylis/mwEmbed,panda-os/mwEmbed,tanyaLibatter/mwEmbed,alexmilk/mwEmbed,bord... | ( function( mw, $ ) {
"use strict";
mw.HtmlBinderHelper=function(element, $scope) {
var internal = {};
var updaters = {};
return {
bind: function () {
var parser=function(originalText,updateHtml) {
var matches = originalText.match(/{{... | modules/DebugInfo/resources/simpleBindingHelper.js | ( function( mw, $ ) {
"use strict";
mw.HtmlBinderHelper=function(element, $scope) {
var internal = {};
var updaters = {};
return {
bind: function () {
var parser=function(originalText,updateHtml) {
var matches = originalText.match(/{{... | fix safari
| modules/DebugInfo/resources/simpleBindingHelper.js | fix safari | <ide><path>odules/DebugInfo/resources/simpleBindingHelper.js
<ide> if(el.childNodes.length>1) {
<ide> return;
<ide> }
<del> var originalText = el.innerText;
<add> var originalText = el.innerHTML;
<ide>
<ide> ... | |
Java | bsd-3-clause | 475669f8e088c89c26a93e2cb448850ad2ec8e04 | 0 | jpetazzo/s3auth,jpetazzo/s3auth,jpetazzo/s3auth | /**
* Copyright (c) 2012-2014, s3auth.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met: 1) Redistributions of source code must retain the above
* copyright notice, this list of conditio... | s3auth-hosts/src/test/java/com/s3auth/hosts/DefaultResourceTest.java | /**
* Copyright (c) 2012-2014, s3auth.com
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met: 1) Redistributions of source code must retain the above
* copyright notice, this list of conditio... | #207 problem reproduced
| s3auth-hosts/src/test/java/com/s3auth/hosts/DefaultResourceTest.java | #207 problem reproduced | <ide><path>3auth-hosts/src/test/java/com/s3auth/hosts/DefaultResourceTest.java
<ide> import com.jcabi.aspects.Tv;
<ide> import java.io.ByteArrayInputStream;
<ide> import java.io.IOException;
<add>import java.security.SecureRandom;
<ide> import java.util.Collection;
<ide> import java.util.Date;
<ide> import java.util.Ra... | |
Java | apache-2.0 | 7636cf3d6b80944f89786328b9c21485834d0011 | 0 | phax/ph-commons | /**
* Copyright (C) 2014-2019 Philip Helger (www.helger.com)
* philip[at]helger[dot]com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | ph-commons/src/main/java/com/helger/commons/codec/RFC2616Codec.java | /**
* Copyright (C) 2014-2019 Philip Helger (www.helger.com)
* philip[at]helger[dot]com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | Test fix | ph-commons/src/main/java/com/helger/commons/codec/RFC2616Codec.java | Test fix | <ide><path>h-commons/src/main/java/com/helger/commons/codec/RFC2616Codec.java
<ide> @Nonnegative
<ide> public int getMaximumDecodedLength (@Nonnegative final int nEncodedLen)
<ide> {
<add> if (nEncodedLen < 2)
<add> return 0;
<ide> // Without leading and trailing quote
<ide> return nEncodedLen - 2... | |
JavaScript | mit | 8dc0bd8327a0acef05a611fa57a7b256951db69f | 0 | timdp/atom-npm-helper | 'use babel'
import getPath from 'consistent-path'
import {BufferedProcess} from 'atom'
export default (command, args, cwd = null) => new Promise((resolve, reject) => {
let output = null
const stdout = (_output) => output = _output
const exit = (code) => {
if (code !== 0) {
reject(new Error('Exit statu... | lib/util/spawn-promise.js | 'use babel'
import {getPath} from 'consistent-path'
import {BufferedProcess} from 'atom'
export default (command, args, cwd = null) => new Promise((resolve, reject) => {
let output = null
const stdout = (_output) => output = _output
const exit = (code) => {
if (code !== 0) {
reject(new Error('Exit sta... | Update consistent-path import for 2.x
| lib/util/spawn-promise.js | Update consistent-path import for 2.x | <ide><path>ib/util/spawn-promise.js
<ide> 'use babel'
<ide>
<del>import {getPath} from 'consistent-path'
<add>import getPath from 'consistent-path'
<ide> import {BufferedProcess} from 'atom'
<ide>
<ide> export default (command, args, cwd = null) => new Promise((resolve, reject) => { | |
Java | apache-2.0 | 3ae998bf5c55672ba45d2155d79ef256e4d8a561 | 0 | adjohnson916/groovy-core,russel/groovy,EPadronU/incubator-groovy,PascalSchumacher/incubator-groovy,adjohnson916/groovy-core,nobeans/incubator-groovy,yukangguo/incubator-groovy,aaronzirbes/incubator-groovy,guangying945/incubator-groovy,samanalysis/incubator-groovy,antoaravinth/incubator-groovy,rabbitcount/incubator-groo... | /*
* Copyright 2003-2013 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/main/org/codehaus/groovy/transform/trait/TraitASTTransformation.java | /*
* Copyright 2003-2013 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... | Create 'Override' annotation ClassNode and using it for filtering Helper
method annotations
| src/main/org/codehaus/groovy/transform/trait/TraitASTTransformation.java | Create 'Override' annotation ClassNode and using it for filtering Helper method annotations | <ide><path>rc/main/org/codehaus/groovy/transform/trait/TraitASTTransformation.java
<ide>
<ide> private static final ClassNode INVOKERHELPER_CLASSNODE = ClassHelper.make(InvokerHelper.class);
<ide>
<add> private static final ClassNode OVERRIDE_CLASSNODE = ClassHelper.make(Override.class);
<add>
<ide> privat... | |
JavaScript | mit | eb7a0f9e1399cfa1b0a9091f1ca8e2b8f563cae8 | 0 | goliatone/jii | (function(namespace, exportName){
exportName = exportName || 'Model';
namespace = namespace || this;
//Shim for Object.create
var _createObject = Object.create || function(o) {
var Func;
Func = function() {};
Func.prototype = o;
return new Func();
};
var _isFunc = function(o... | src/model.js | (function(namespace, exportName){
exportName = exportName || 'Model';
namespace = namespace || this;
//Shim for Object.create
var _createObject = Object.create || function(o) {
var Func;
Func = function() {};
Func.prototype = o;
return new Func();
};
var _isFunc = function(o... | Model WIP.
| src/model.js | Model WIP. | <ide><path>rc/model.js
<ide> if(this.isNewRecord())
<ide> return this;
<ide>
<add> //TODO: load clean.attributes instead.
<ide> var original = this.constructor.find(this.id);
<ide> this.load(original.attributes());
<ide>
<ide> //If we return this, wouldn't it be the same?
<ide> return original;
... | |
JavaScript | apache-2.0 | 547e495f6decdab93ee9e1707a26d37f627aabe5 | 0 | llaske/sugarizer,llaske/sugarizer,llaske/sugarizer | define(['sugar-web/activity/activity', "webL10n", 'activity/Board', 'activity/vanilla-state', 'activity/patterns', 'activity/shadeColor'], function (activity, l10n, Board, State, patterns, shadeColor) {
require(['domReady!'], function (doc) {
activity.setup();
window.addEventListener('localized', function () ... | activities/GameOfLife.activity/js/activity.js | define(['sugar-web/activity/activity', "webL10n", 'activity/Board', 'activity/vanilla-state', 'activity/patterns', 'activity/shadeColor'], function (activity, l10n, Board, State, patterns, shadeColor) {
require(['domReady!'], function (doc) {
activity.setup();
window.addEventListener('localized', function () ... | fixed typo
| activities/GameOfLife.activity/js/activity.js | fixed typo | <ide><path>ctivities/GameOfLife.activity/js/activity.js
<ide>
<ide> var storeLocally = function storeLocally(state) {
<ide> dataStore.setDataAsText({
<del> boardState: state.boarState,
<add> boardState: state.boardState,
<ide> generation: state.generation
<ide> });
<ide> console.log('writ... | |
Java | mit | b5f1b3dffc9c1bc4cf91a96528fc17a4942458b6 | 0 | janicduplessis/react-native,facebook/react-native,janicduplessis/react-native,janicduplessis/react-native,javache/react-native,janicduplessis/react-native,javache/react-native,javache/react-native,facebook/react-native,javache/react-native,facebook/react-native,facebook/react-native,javache/react-native,javache/react-n... | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.animated;
import android.util.SparseArray;
import androidx.annotation.Nullable;
import androidx.annot... | ReactAndroid/src/main/java/com/facebook/react/animated/NativeAnimatedNodesManager.java | /*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.animated;
import android.util.SparseArray;
import androidx.annotation.Nullable;
import androidx.annot... | Add check for native animated node existing before starting animation
Summary:
We need to check that the animated node exists prior to executing the animation. The native animated node lifecycle is not synced with Fabric and nodes are frequently destroyed and re-created on rerenders. Therefore, there is a possibility ... | ReactAndroid/src/main/java/com/facebook/react/animated/NativeAnimatedNodesManager.java | Add check for native animated node existing before starting animation | <ide><path>eactAndroid/src/main/java/com/facebook/react/animated/NativeAnimatedNodesManager.java
<ide> }
<ide> }
<ide>
<del> /*package*/ @Nullable
<del> AnimatedNode getNodeById(int id) {
<add> @Nullable
<add> public AnimatedNode getNodeById(int id) {
<ide> return mAnimatedNodes.get(id);
<ide> }
<ide> | |
Java | apache-2.0 | 0a0f9a7cab9f46b265c094545121fbe057b5bc51 | 0 | springning/presto,siddhartharay007/presto,CHINA-JD/presto,kuzemchik/presto,mbeitchman/presto,smartpcr/presto,zjshen/presto,treasure-data/presto,miniway/presto,mcanthony/presto,mvp/presto,ipros-team/presto,yu-yamada/presto,mono-plane/presto,hgschmie/presto,stewartpark/presto,erichwang/presto,fengshao0907/presto,deciamen... | package com.facebook.presto;
import com.facebook.presto.connector.dual.DualMetadata;
import com.facebook.presto.connector.informationSchema.InformationSchemaMetadata;
import com.facebook.presto.importer.MockPeriodicImportManager;
import com.facebook.presto.metadata.MetadataManager;
import com.facebook.presto.spi.Colum... | presto-main/src/test/java/com/facebook/presto/AbstractTestQueries.java | package com.facebook.presto;
import com.facebook.presto.connector.dual.DualMetadata;
import com.facebook.presto.connector.informationSchema.InformationSchemaMetadata;
import com.facebook.presto.importer.MockPeriodicImportManager;
import com.facebook.presto.metadata.MetadataManager;
import com.facebook.presto.spi.Colum... | Reduce memory usage on semi join test
It was failing sporadically on the distributed test due to heap space
| presto-main/src/test/java/com/facebook/presto/AbstractTestQueries.java | Reduce memory usage on semi join test | <ide><path>resto-main/src/test/java/com/facebook/presto/AbstractTestQueries.java
<ide> " IN (\n" +
<ide> " SELECT orderkey\n" +
<ide> " FROM lineitem\n" +
<del> " WHERE orderkey % 3 = 0)\n" +
<del> "FROM (SELECT * FROM orders WHERE ... | |
Java | apache-2.0 | 794c7751fa42b6b4a15d4174855849569b442d45 | 0 | nikita36078/J2ME-Loader,nikita36078/J2ME-Loader,nikita36078/J2ME-Loader,nikita36078/J2ME-Loader | /*
* Copyright 2012 Kulikov Dmitriy
* Copyright 2017-2018 Nikita Shakarun
*
* 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
*
* Unle... | app/src/main/java/javax/microedition/lcdui/List.java | /*
* Copyright 2012 Kulikov Dmitriy
* Copyright 2017-2018 Nikita Shakarun
*
* 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
*
* Unle... | Fix incorrect list selection
| app/src/main/java/javax/microedition/lcdui/List.java | Fix incorrect list selection | <ide><path>pp/src/main/java/javax/microedition/lcdui/List.java
<ide> fireCommandAction(selectCommand, List.this);
<ide> break;
<ide> case EXCLUSIVE:
<del> if (selectedIndex >= 0 && selectedIndex < selected.size()) {
<del> selected.set(selectedIndex, Boolean.FALSE);
<del> }
<ide> if (posi... | |
JavaScript | mit | f3040a10da456ac6f6f1bef5db79af86629c9699 | 0 | yishn/Sabaki,yishn/Goban,yishn/Goban,yishn/Sabaki | var remote = require('remote')
var fs = require('fs')
var shell = require('shell')
var sgf = require('../module/sgf.js')
var uuid = require('../lib/node-uuid')
var process = remote.require('process')
var app = remote.require('app');
var dialog = remote.require('dialog')
var setting = remote.require('./module/setting.js... | view/index.js | var remote = require('remote')
var fs = require('fs')
var shell = require('shell')
var sgf = require('../module/sgf.js')
var process = remote.require('process')
var app = remote.require('app');
var dialog = remote.require('dialog')
var setting = remote.require('./module/setting.js')
var Menu = remote.require('menu')
v... | Trees are generated with ids 2
| view/index.js | Trees are generated with ids 2 | <ide><path>iew/index.js
<ide> var fs = require('fs')
<ide> var shell = require('shell')
<ide> var sgf = require('../module/sgf.js')
<add>var uuid = require('../lib/node-uuid')
<ide> var process = remote.require('process')
<ide> var app = remote.require('app');
<ide> var dialog = remote.require('dialog')
<ide>
<ide> ... | |
JavaScript | mit | 452df28eedbe60d30d700cc6d8933d46e4e0489e | 0 | RhaLabs/ProjectManagement,RhaLabs/ProjectManagement,RhaLabs/ProjectManagement,RhaLabs/ProjectManagement | $( document ).ready(function( ) {
if ( $('table td.last-column').html() != 'No result') {
var $docHeight = window.innerHeight - 300;
var table = $('table').DataTable( {
"scrollY": $docHeight,
"scrollX": "100%",
"scrollCollapse": true,
... | src/Application/GlobalBundle/Resources/public/js/initDataTable.js | $( document ).ready(function( ) {
var $docHeight = window.innerHeight - 300;
var table = $('table').DataTable( {
"scrollY": $docHeight,
"scrollX": "100%",
"scrollCollapse": true,
"paging": false,
"ordering": false,
"filter": false,
"in... | check for empty data set
| src/Application/GlobalBundle/Resources/public/js/initDataTable.js | check for empty data set | <ide><path>rc/Application/GlobalBundle/Resources/public/js/initDataTable.js
<ide> $( document ).ready(function( ) {
<del> var $docHeight = window.innerHeight - 300;
<del>
<del> var table = $('table').DataTable( {
<del> "scrollY": $docHeight,
<del> "scrollX": "100%",
<del> ... | |
Java | apache-2.0 | 6d46648ab0ab748e2e3d44a1feffd571a90345d6 | 0 | Distrotech/gerrit,MerritCR/merrit,midnightradio/gerrit,WANdisco/gerrit,Saulis/gerrit,qtproject/qtqa-gerrit,TonyChai24/test,dwhipstock/gerrit,Saulis/gerrit,thinkernel/gerrit,hdost/gerrit,MerritCR/merrit,bpollack/gerrit,joshuawilson/merrit,GerritCodeReview/gerrit,dwhipstock/gerrit,Team-OctOS/host_gerrit,gerrit-review/ger... | // Copyright (C) 2009 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/AdminQueryShell.java | // Copyright (C) 2009 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | Correct bad name of Access Database capability in error message
The global capability required to use gsql was incorrectly named
"Perform Raw Query" in the exception message (eventually presented
to the user). Now using actual name "Access Database".
Change-Id: Ib05b0af4dddf127d532415bf454ed76aa2ed8857
| gerrit-sshd/src/main/java/com/google/gerrit/sshd/commands/AdminQueryShell.java | Correct bad name of Access Database capability in error message | <ide><path>errit-sshd/src/main/java/com/google/gerrit/sshd/commands/AdminQueryShell.java
<ide> private void checkPermission() throws PermissionDeniedException {
<ide> if (!currentUser.getCapabilities().canAccessDatabase()) {
<ide> throw new PermissionDeniedException(String.format(
<del> "%s does no... | |
Java | epl-1.0 | ac932578dfa99f5d93e04c103cf60f067ef8e66f | 0 | dejanb/hono,dejanb/hono,dejanb/hono | /**
* Copyright (c) 2016, 2018 Bosch Software Innovations GmbH.
*
* 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
*
* ... | adapters/http-vertx-base/src/main/java/org/eclipse/hono/adapter/http/AbstractVertxBasedHttpProtocolAdapter.java | /**
* Copyright (c) 2016, 2018 Bosch Software Innovations GmbH.
*
* 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
*
* ... | Fix tracing handler not being invoked on response body end.
Signed-off-by: Kai Hudalla <6c3288b94355003a6c5f12ba233f9fc06ef02a62@bosch-si.com> | adapters/http-vertx-base/src/main/java/org/eclipse/hono/adapter/http/AbstractVertxBasedHttpProtocolAdapter.java | Fix tracing handler not being invoked on response body end. | <ide><path>dapters/http-vertx-base/src/main/java/org/eclipse/hono/adapter/http/AbstractVertxBasedHttpProtocolAdapter.java
<ide> return Future.failedFuture("no router configured");
<ide> } else {
<ide> addRoutes(router);
<del> addTracingHandler(r... | |
Java | mit | 7e10f5284e5c865b605a2890e8ff98d59c42f24e | 0 | wizzardo/jrtorrent,wizzardo/jrtorrent | package com.wizzardo.jrt;
import com.wizzardo.tools.misc.DateIso8601;
import com.wizzardo.tools.misc.SoftThreadLocal;
import com.wizzardo.tools.security.Base64;
import com.wizzardo.tools.xml.Node;
import java.lang.ref.SoftReference;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java... | src/main/java/com/wizzardo/jrt/XmlRpc.java | package com.wizzardo.jrt;
import com.wizzardo.tools.misc.DateIso8601;
import com.wizzardo.tools.misc.SoftThreadLocal;
import com.wizzardo.tools.security.Base64;
import com.wizzardo.tools.xml.Node;
import java.lang.ref.SoftReference;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java... | add escape for strings
| src/main/java/com/wizzardo/jrt/XmlRpc.java | add escape for strings | <ide><path>rc/main/java/com/wizzardo/jrt/XmlRpc.java
<ide> }
<ide>
<ide> Params add(String s) {
<add> s = escape(s);
<ide> params.add(Param.from(s));
<ide> return this;
<ide> }
<ide> }
<ide> }
<ide>
<add>
<add> static String escape(String s) {
... | |
Java | apache-2.0 | 742460b3c581cbc0f59eb0d21f192deb61826a74 | 0 | Alan502/TagRelatedness,Alan502/TagRelatedness,Alan502/TagRelatedness,Alan502/TagRelatedness | package edu.macalester.tagrelatedness;
import edu.cmu.lti.lexical_db.ILexicalDatabase;
import edu.cmu.lti.lexical_db.NictWordNet;
import edu.cmu.lti.ws4j.RelatednessCalculator;
import edu.cmu.lti.ws4j.WS4J;
import edu.cmu.lti.ws4j.impl.JiangConrath;
import edu.cmu.lti.ws4j.util.WS4JConfiguration;
import org.apache.com... | src/edu/macalester/tagrelatedness/CalculateCorrelation.java | package edu.macalester.tagrelatedness;
import edu.cmu.lti.lexical_db.ILexicalDatabase;
import edu.cmu.lti.lexical_db.NictWordNet;
import edu.cmu.lti.ws4j.RelatednessCalculator;
import edu.cmu.lti.ws4j.WS4J;
import edu.cmu.lti.ws4j.impl.JiangConrath;
import edu.cmu.lti.ws4j.util.WS4JConfiguration;
import org.apache.com... | fixed bug with cmd
| src/edu/macalester/tagrelatedness/CalculateCorrelation.java | fixed bug with cmd | <ide><path>rc/edu/macalester/tagrelatedness/CalculateCorrelation.java
<ide> public static void main(String[] args){
<ide> CommandLineParser parser = new PosixParser();
<ide> Options options = new Options();
<del> options.addOption(OptionBuilder.withLongOpt("--input-file")
<add> options... | |
Java | apache-2.0 | 5074d55be14c4d4d88313d66ba8e6677433d4100 | 0 | tmpgit/intellij-community,ernestp/consulo,diorcety/intellij-community,semonte/intellij-community,semonte/intellij-community,ibinti/intellij-community,ryano144/intellij-community,nicolargo/intellij-community,fitermay/intellij-community,tmpgit/intellij-community,pwoodworth/intellij-community,ryano144/intellij-community,v... | /*
* Copyright (c) 2000-2007 JetBrains s.r.o. All Rights Reserved.
*/
package com.intellij.openapi.deployment;
import com.intellij.openapi.roots.libraries.Library;
import com.intellij.openapi.roots.libraries.LibraryTable;
import com.intellij.openapi.roots.OrderRootType;
import com.intellij.openapi.roots.impl.librar... | compiler/impl/com/intellij/openapi/deployment/LibraryInfoBasedOnLibrary.java | /*
* Copyright (c) 2000-2007 JetBrains s.r.o. All Rights Reserved.
*/
package com.intellij.openapi.deployment;
import com.intellij.openapi.roots.libraries.Library;
import com.intellij.openapi.roots.libraries.LibraryTable;
import com.intellij.openapi.roots.OrderRootType;
import com.intellij.openapi.roots.impl.librar... | IDEADEV-33777
| compiler/impl/com/intellij/openapi/deployment/LibraryInfoBasedOnLibrary.java | IDEADEV-33777 | <ide><path>ompiler/impl/com/intellij/openapi/deployment/LibraryInfoBasedOnLibrary.java
<ide> private LibraryInfoImpl myInfoToRestore;
<ide>
<ide> public LibraryInfoBasedOnLibrary(@NotNull Library library) {
<del> assert !((LibraryEx)library).isDisposed();
<add> assert !(library instanceof LibraryEx) || !((Li... | |
Java | mit | 5a470cddbb82c593f6b3220902eec57d5b920cc4 | 0 | sk89q/CommandHelper,sk89q/CommandHelper,sk89q/CommandHelper,sk89q/CommandHelper | package com.laytonsmith.core;
import com.laytonsmith.abstraction.Implementation;
import com.laytonsmith.annotations.breakable;
import com.laytonsmith.annotations.nolinking;
import com.laytonsmith.annotations.unbreakable;
import com.laytonsmith.commandhelper.CommandHelperPlugin;
import com.laytonsmith.core.Optimizable.... | src/main/java/com/laytonsmith/core/MethodScriptCompiler.java | package com.laytonsmith.core;
import com.laytonsmith.abstraction.Implementation;
import com.laytonsmith.annotations.breakable;
import com.laytonsmith.annotations.nolinking;
import com.laytonsmith.annotations.unbreakable;
import com.laytonsmith.commandhelper.CommandHelperPlugin;
import com.laytonsmith.core.Optimizable.... | Don't report a compile exception for a missing function before linking (fixes function_exists() and extension_exists() in many cases)
| src/main/java/com/laytonsmith/core/MethodScriptCompiler.java | Don't report a compile exception for a missing function before linking (fixes function_exists() and extension_exists() in many cases) | <ide><path>rc/main/java/com/laytonsmith/core/MethodScriptCompiler.java
<ide> try {
<ide> f = (Function) FunctionList.getFunction(t.getData());
<ide> } catch (ConfigCompileException ex) {
<del> compilerErrors.add(ex);
<del> return;
<add> continue;
<ide> }
<ide> Set<OptimizationOption> op... | |
Java | mit | c36039c06cc9592cf42ab48fe1e4846486f4527d | 0 | olavloite/spanner-jdbc | package nl.topicus.jdbc.statement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.SQLFeatureNotSupportedException;
import java.sql.SQLWarning;
import java.sql.Statement;
import nl.topicus.jdbc.CloudSpannerConnection;
import com.google.cloud.spanner.DatabaseClient;
import com.goog... | src/main/java/nl/topicus/jdbc/statement/AbstractCloudSpannerStatement.java | package nl.topicus.jdbc.statement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.SQLFeatureNotSupportedException;
import java.sql.SQLWarning;
import java.sql.Statement;
import nl.topicus.jdbc.CloudSpannerConnection;
import com.google.cloud.spanner.DatabaseClient;
import com.goog... | silently ignore fetchSize | src/main/java/nl/topicus/jdbc/statement/AbstractCloudSpannerStatement.java | silently ignore fetchSize | <ide><path>rc/main/java/nl/topicus/jdbc/statement/AbstractCloudSpannerStatement.java
<ide> @Override
<ide> public void setFetchSize(int rows) throws SQLException
<ide> {
<del> throw new SQLFeatureNotSupportedException();
<add> // silently ignore
<ide> }
<ide>
<ide> @Override | |
Java | apache-2.0 | 853b7ec9f4bdbe88233282bbf59f06fac71a8eb1 | 0 | azureplus/spring-flex,josebarragan/spring-flex,josebarragan/spring-flex,josebarragan/spring-flex,azureplus/spring-flex,spring-projects/spring-flex,spring-projects/spring-flex,azureplus/spring-flex,spring-projects/spring-flex | /*
* Copyright 2002-2009 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... | spring-flex-core/src/main/java/org/springframework/flex/security3/SpringSecurityLoginCommand.java | /*
* Copyright 2002-2009 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... | Fix for FLEX-193 - Concurrency control doesn't work as expected
| spring-flex-core/src/main/java/org/springframework/flex/security3/SpringSecurityLoginCommand.java | Fix for FLEX-193 - Concurrency control doesn't work as expected | <ide><path>pring-flex-core/src/main/java/org/springframework/flex/security3/SpringSecurityLoginCommand.java
<ide> HttpServletResponse response = FlexContext.getHttpResponse();
<ide> try {
<ide> Authentication authentication = this.authManager.authenticate(new UsernamePasswordAuthenticationToken(usern... | |
JavaScript | mit | 24b5d46b08160fb042637609016b3c3c2e904710 | 0 | LudoZeGeek/Resor,LudoZeGeek/Resor,LudoZeGeek/Resor | (function ($, top, GMaps, angular) {
$(function () {
var changePosition = $('.js-change-position'),
positionInput = $('.js-position-place'),
latInput = $('.js-lat'),
lngInput = $('.js-lng'),
map;
map = new GMaps({
div: '#map',
... | src/Resor/Bundle/CoreBundle/Resources/public/js/results.js | (function ($, top, GMaps, angular) {
$(function () {
var changePosition = $('.js-change-position'),
positionInput = $('.js-position-place'),
latInput = $('.js-lat'),
lngInput = $('.js-lng'),
map;
map = new GMaps({
div: '#map',
... | #3 - Get filters from available filters
| src/Resor/Bundle/CoreBundle/Resources/public/js/results.js | #3 - Get filters from available filters | <ide><path>rc/Resor/Bundle/CoreBundle/Resources/public/js/results.js
<ide> }
<ide> ];
<ide>
<del> $scope.filters = [
<del> {
<del> name: "pool",
<del> on: true
<del> },
<del> {
<del> name: "spa",
<add> $scop... | |
Java | bsd-3-clause | 66c92c796b487824c7335aec5cb36fea2191d78c | 0 | NCIP/caadapter,NCIP/caadapter,NCIP/caadapter | /**
* <!-- LICENSE_TEXT_START -->
The contents of this file are subject to the caAdapter Software License (the "License"). You may obtain a copy of the License at the following location:
[caAdapter Home Directory]\docs\caAdapter_license.txt, or at:
http://ncicb.nci.nih.gov/infrastructure/cacore_overview/caadapter/ind... | caadapter/components/common/src/gov/nih/nci/caadapter/common/util/FileUtil.java | /**
* <!-- LICENSE_TEXT_START -->
The contents of this file are subject to the caAdapter Software License (the "License"). You may obtain a copy of the License at the following location:
[caAdapter Home Directory]\docs\caAdapter_license.txt, or at:
http://ncicb.nci.nih.gov/infrastructure/cacore_overview/caadapter/ind... | upgreade searchProperties()
SVN-Revision: 2136
| caadapter/components/common/src/gov/nih/nci/caadapter/common/util/FileUtil.java | upgreade searchProperties() | <ide><path>aadapter/components/common/src/gov/nih/nci/caadapter/common/util/FileUtil.java
<ide> *
<ide> * @author OWNER: Matthew Giordano
<ide> * @author LAST UPDATE $Author: altturbo $
<del> * @version $Revision: 1.31 $
<add> * @version $Revision: 1.32 $
<ide> */
<ide>
<ide> public class FileUtil
<ide>
<ide> ... | |
Java | apache-2.0 | aee6c26fb3d93aea8ed1860ec121ba9a0bf347f8 | 0 | Raycoms/thesis,Raycoms/thesis,Raycoms/thesis,Raycoms/thesis | package main.java.com.bag.server;
import bftsmart.reconfiguration.util.RSAKeyLoader;
import bftsmart.tom.MessageContext;
import bftsmart.tom.ServiceProxy;
import bftsmart.tom.core.messages.TOMMessageType;
import bftsmart.tom.util.TOMUtil;
import com.esotericsoftware.kryo.Kryo;
import com.esotericsoftware.kryo.io.ByteB... | src/main/java/main/java/com/bag/server/GlobalClusterSlave.java | package main.java.com.bag.server;
import bftsmart.reconfiguration.util.RSAKeyLoader;
import bftsmart.tom.MessageContext;
import bftsmart.tom.ServiceProxy;
import bftsmart.tom.core.messages.TOMMessageType;
import bftsmart.tom.util.TOMUtil;
import com.esotericsoftware.kryo.Kryo;
import com.esotericsoftware.kryo.io.ByteB... | more logging
| src/main/java/main/java/com/bag/server/GlobalClusterSlave.java | more logging | <ide><path>rc/main/java/main/java/com/bag/server/GlobalClusterSlave.java
<ide>
<ide> if(!localWriteSet.isEmpty())
<ide> {
<del> Log.getLogger().warn("Aborting!!!");
<add> Log.getLogger().warn("Aborting of: " + getGlobalSnapshotId());
<ide> for(IOper... | |
Java | mit | 7fdb93371c862110133abda23c59b89c45171be1 | 0 | dom96/BrokenBonez | package com.dragonfruitstudios.brokenbonez.Math.Collisions;
import android.graphics.*;
import android.graphics.Rect;
import com.dragonfruitstudios.brokenbonez.Game.Drawable;
import com.dragonfruitstudios.brokenbonez.Game.GameView;
import com.dragonfruitstudios.brokenbonez.Game.Graphics;
import com.dragonfruitstudios.... | BrokenBonez/app/src/main/java/com/dragonfruitstudios/brokenbonez/Math/Collisions/Polygon.java | package com.dragonfruitstudios.brokenbonez.Math.Collisions;
import android.graphics.*;
import android.graphics.Rect;
import com.dragonfruitstudios.brokenbonez.Game.Drawable;
import com.dragonfruitstudios.brokenbonez.Game.GameView;
import com.dragonfruitstudios.brokenbonez.Game.Graphics;
import com.dragonfruitstudios.... | RecalculateBounds on addVertices call.
| BrokenBonez/app/src/main/java/com/dragonfruitstudios/brokenbonez/Math/Collisions/Polygon.java | RecalculateBounds on addVertices call. | <ide><path>rokenBonez/app/src/main/java/com/dragonfruitstudios/brokenbonez/Math/Collisions/Polygon.java
<ide> lines.add(new Line(vertices[i].copy(), vertices[i+1].copy()));
<ide> }
<ide> lines.add(new Line(vertices[vertices.length - 1], vertices[0].copy()));
<add> recalculateBounds();... | |
JavaScript | mit | 61ba76fa608871df1038c8d766d621f133e2412a | 0 | nodeca/nodeca.core,nodeca/nodeca.core | /**
* nodeca.io
*
* This module provides realtime communication methods for nodeca/nlib based
* applications.
**/
//= depend_on nodeca
//= require faye-browser
/*global window, $, _, Faye, nodeca*/
(function () {
'use strict';
var // registered events
events = {},
// underlying bayeux cl... | assets/js/nodeca/io.js | /**
* nodeca.io
*
* This module provides realtime communication methods for nodeca/nlib based
* applications.
**/
/*global window, $, _, Faye, nodeca*/
//= depend_on nodeca
//= require faye-browser
(function () {
'use strict';
var // registered events
events = {},
// underlying bayeux cl... | fix apiTree call signature
| assets/js/nodeca/io.js | fix apiTree call signature | <ide><path>ssets/js/nodeca/io.js
<ide> **/
<ide>
<ide>
<del>/*global window, $, _, Faye, nodeca*/
<del>
<del>
<ide> //= depend_on nodeca
<ide> //= require faye-browser
<add>
<add>
<add>/*global window, $, _, Faye, nodeca*/
<ide>
<ide>
<ide> (function () {
<ide>
<ide>
<ide> /**
<del> * nodeca.io.apiTree(name... | |
Java | apache-2.0 | 051222373a0e63cf593718610ad719d0397ac172 | 0 | play1-maven-plugin/play1-maven-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 ... | play-maven-plugin/src/main/java/com/google/code/play/PlayZipMojo.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 ... | Misleading comment removed.
git-svn-id: f062fe73d040ecc33a0a0fdfc91cadea2c50f7be@6289 9c2ad861-7886-cb7c-dcd7-2b8d41cd5de0
| play-maven-plugin/src/main/java/com/google/code/play/PlayZipMojo.java | Misleading comment removed. | <ide><path>lay-maven-plugin/src/main/java/com/google/code/play/PlayZipMojo.java
<ide>
<ide> /**
<ide> * Should project dependencies ("lib" and "modules" directories) be packaged.
<del> * No include/exclude filters. Use "provided" scope to exclude from packaging.
<add> * No include/exclude filters.
<id... | |
Java | mit | 39ce30fde13668e131e2a5dd1755b879f8c1d793 | 0 | InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service | package com.worth.ifs.project.transactional;
import com.worth.ifs.BaseServiceUnitTest;
import com.worth.ifs.address.domain.Address;
import com.worth.ifs.address.domain.AddressType;
import com.worth.ifs.address.resource.AddressResource;
import com.worth.ifs.application.domain.Application;
import com.worth.ifs.commons.e... | ifs-data-service/src/test/java/com/worth/ifs/project/transactional/ProjectServiceImplTest.java | package com.worth.ifs.project.transactional;
import com.worth.ifs.BaseServiceUnitTest;
import com.worth.ifs.address.domain.Address;
import com.worth.ifs.address.domain.AddressType;
import com.worth.ifs.address.resource.AddressResource;
import com.worth.ifs.application.domain.Application;
import com.worth.ifs.commons.e... | INFUND-3530 more tests
| ifs-data-service/src/test/java/com/worth/ifs/project/transactional/ProjectServiceImplTest.java | INFUND-3530 more tests | <ide><path>fs-data-service/src/test/java/com/worth/ifs/project/transactional/ProjectServiceImplTest.java
<ide> import static com.worth.ifs.address.builder.AddressTypeBuilder.newAddressType;
<ide> import static com.worth.ifs.address.resource.OrganisationAddressType.*;
<ide> import static com.worth.ifs.application.builde... | |
Java | apache-2.0 | d56c093c2a0f42ba29485a32531d111c5f194878 | 0 | luxmeter/webserver-demo,luxmeter/webserver-demo | package luxmeter.filter;
import luxmeter.model.HttpExchangeMock;
import org.junit.Test;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URI;
import java.nio.file.Paths;
import static org.hamcrest.Matchers.endsWith;
import static org.hamcrest.Matchers.equalTo;
import static org.junit.As... | src/test/java/luxmeter/filter/RequestValidationFilterTest.java | package luxmeter.filter;
import luxmeter.model.HttpExchangeMock;
import org.junit.Test;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URI;
import java.nio.file.Paths;
import static org.hamcrest.Matchers.equalTo;
import static org.junit.Assert.assertThat;
public class RequestValidati... | fixed test
| src/test/java/luxmeter/filter/RequestValidationFilterTest.java | fixed test | <ide><path>rc/test/java/luxmeter/filter/RequestValidationFilterTest.java
<ide> import java.net.URI;
<ide> import java.nio.file.Paths;
<ide>
<add>import static org.hamcrest.Matchers.endsWith;
<ide> import static org.hamcrest.Matchers.equalTo;
<ide> import static org.junit.Assert.assertThat;
<ide>
<ide> testUni... | |
Java | apache-2.0 | 793e3e07715cadbaebda3c711318385e97dff4d2 | 0 | CMPUT301W16T07/TeamName | package com.teamname.tutortrader;
import android.app.Activity;
import android.app.Instrumentation;
import android.graphics.Bitmap;
import android.test.ActivityInstrumentationTestCase2;
import android.test.UiThreadTest;
import android.util.Log;
import android.widget.EditText;
import android.widget.TextView;
import com... | TutorTrader/app/src/androidTest/java/com/teamname/tutortrader/AvailableSessionsActivityTest.java | package com.teamname.tutortrader;
import android.app.Activity;
import android.app.Instrumentation;
import android.graphics.Bitmap;
import android.test.ActivityInstrumentationTestCase2;
import android.test.UiThreadTest;
import android.util.Log;
import android.widget.EditText;
import android.widget.TextView;
import com... | getting alex's commit
| TutorTrader/app/src/androidTest/java/com/teamname/tutortrader/AvailableSessionsActivityTest.java | getting alex's commit | <ide><path>utorTrader/app/src/androidTest/java/com/teamname/tutortrader/AvailableSessionsActivityTest.java
<ide> super(AvailableSessionsActivity.class);
<ide> }
<ide>
<del> /**
<del> * Testing "Things" Use Cases
<del> */
<add> public void testTest(){
<add> solo.clickOnMenuItem("Profile... | |
JavaScript | mit | a84d2ae2d1c53c2099c732957742705f9d41bc4e | 0 | bitpay/bitcore-wallet-service,matiu/bitcore-wallet-service,cmgustavo/bitcore-wallet-service,cmgustavo/bitcore-wallet-service,bitpay/bitcore,troggy/bitcore-wallet-service,troggy/bitcore-wallet-service,martindale/bitcore,bitpay/bitcore,bitpay/bitcore,bitjson/bitcore,bitjson/bitcore,martindale/bitcore,bitjson/bitcore,jank... | 'use strict';
var _ = require('lodash');
var async = require('async');
var inspect = require('util').inspect;
var chai = require('chai');
var sinon = require('sinon');
var should = chai.should();
var log = require('npmlog');
log.debug = log.verbose;
var fs = require('fs');
var tingodb = require('tingodb')({
memSto... | test/integration/server.js | 'use strict';
var _ = require('lodash');
var async = require('async');
var inspect = require('util').inspect;
var chai = require('chai');
var sinon = require('sinon');
var should = chai.should();
var log = require('npmlog');
log.debug = log.verbose;
var fs = require('fs');
var tingodb = require('tingodb')({
memSto... | test existing addresses do not get rewinded on scan error
| test/integration/server.js | test existing addresses do not get rewinded on scan error | <ide><path>est/integration/server.js
<ide> });
<ide> });
<ide>
<add> it('should not rewind already generated addresses on error', function(done) {
<add> server.createAddress({}, function(err, address) {
<add> should.not.exist(err);
<add> address.path.should.equal('m/0/0');
<... | |
Java | apache-2.0 | 3e7bf0fa20312acd476bfdfba45d4f828c5a1353 | 0 | qwerty4030/elasticsearch,elancom/elasticsearch,anti-social/elasticsearch,Fsero/elasticsearch,fekaputra/elasticsearch,mbrukman/elasticsearch,fubuki/elasticsearch,libosu/elasticsearch,wittyameta/elasticsearch,mrorii/elasticsearch,milodky/elasticsearch,rmuir/elasticsearch,apepper/elasticsearch,Liziyao/elasticsearch,vrkans... | /*
* Licensed to Elastic Search and Shay Banon under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Elastic Search licenses this
* file to you under the Apache License, Version 2.0 (the
* "License"); you m... | modules/elasticsearch/src/main/java/org/elasticsearch/rest/action/search/RestSearchScrollAction.java | /*
* Licensed to Elastic Search and Shay Banon under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. Elastic Search licenses this
* file to you under the Apache License, Version 2.0 (the
* "License"); you m... | check search scroll URI to /_search/scroll from /_searchScroll
| modules/elasticsearch/src/main/java/org/elasticsearch/rest/action/search/RestSearchScrollAction.java | check search scroll URI to /_search/scroll from /_searchScroll | <ide><path>odules/elasticsearch/src/main/java/org/elasticsearch/rest/action/search/RestSearchScrollAction.java
<ide> @Inject public RestSearchScrollAction(Settings settings, Client client, RestController controller) {
<ide> super(settings, client);
<ide>
<del> controller.registerHandler(GET, "/_sear... | |
Java | apache-2.0 | 5d381410e48b83baa500704e1f71548e47f447a3 | 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-2016 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/solvers/mathsat5/Mathsat5InterpolatingProver.java | /*
* JavaSMT is an API wrapper for a collection of SMT solvers.
* This file is part of JavaSMT.
*
* Copyright (C) 2007-2016 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 ... | bugfix for sequential interpolation loop in Mathsat5-wrapper.
| src/org/sosy_lab/java_smt/solvers/mathsat5/Mathsat5InterpolatingProver.java | bugfix for sequential interpolation loop in Mathsat5-wrapper. | <ide><path>rc/org/sosy_lab/java_smt/solvers/mathsat5/Mathsat5InterpolatingProver.java
<ide> List<? extends Collection<Integer>> partitionedFormulas) throws SolverException {
<ide> // the fallback to a loop is sound and returns an inductive sequence of interpolants
<ide> final List<BooleanFormula> itps = n... | |
Java | apache-2.0 | fd694bedb1586c076ce15c5ae9d99760e2ed5776 | 0 | npatarino/apk-methods-analyzer,itcayman/dex-method-counts,marcoaros/dex-method-counts,liufuxin/dex-method-counts,MaTriXy/dex-method-counts,cncomer/dex-method-counts,luoxiaobin88/dex-method-counts,liqiuzuo/dex-method-counts,Rowandjj/dex-method-counts,itcayman/dex-method-counts,laiqurufeng/dex-method-counts,mihaip/dex-me... | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribu... | src/info/persistent/dex/Main.java | /*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distribu... | whitespaces returned to original state
| src/info/persistent/dex/Main.java | whitespaces returned to original state | <ide><path>rc/info/persistent/dex/Main.java
<ide> *
<ide> * @param fileName the name of the file to open
<ide> * @return a RandomAccessFile for classes.dex, or null if the input file
<del> * is not a zip archive
<add> * is not a zip archive
<ide> * @throws IOException if the file isn... | |
Java | apache-2.0 | 9ab9e89ebd3ed5083d0a83a870ea9038060ef287 | 0 | keepacom/api_backend | package com.keepa.api.backend.helper;
import static com.keepa.api.backend.structs.Product.CsvType;
/**
* Provides methods to work on the Keepa price history CSV format.
*/
class ProductAnalyzer {
/**
* finds the extreme point in the specified interval
*
* @param csv value/price history csv
* @param ... | src/main/java/com/keepa/api/backend/helper/ProductAnalyzer.java | package com.keepa.api.backend.helper;
import static com.keepa.api.backend.structs.Product.CsvType;
/**
* Provides methods to work on the Keepa price history CSV format.
*/
class ProductAnalyzer {
/**
* finds the extreme point in the specified interval
*
* @param csv value/price history csv
* @param ... | added missing java doc
| src/main/java/com/keepa/api/backend/helper/ProductAnalyzer.java | added missing java doc | <ide><path>rc/main/java/com/keepa/api/backend/helper/ProductAnalyzer.java
<ide> * Returns a weighted mean of the products csv history in the last X days
<ide> *
<ide> * @param csv value/price history csv
<add> * @param now current keepa time minutes
<ide> * @param days number of days the weighted mean will b... | |
JavaScript | mit | b01a5f3acc3ae6a83449d2393d2f5580259ba312 | 0 | filamentgroup/auto-complete,filamentgroup/component,filamentgroup/auto-complete,filamentgroup/auto-complete | /*
* simple auto-enhance-able component skeleton
* Copyright (c) 2013 Filament Group, Inc.
* Licensed under MIT
*/
(function( $ ){
var componentName = "component-name-here",
enhancedAttr = "data-enhanced",
initSelector = "." + componentName + ":not([" + enhancedAttr + "])";
$.fn[ componentName ] = function... | component.js | /*
* simple auto-enhance-able component skeleton
* Copyright (c) 2013 Filament Group, Inc.
* Licensed under MIT
*/
(function( $ ){
var componentName = "component-name-here",
enhancedAttr = "data-enhanced",
initSelector = "." + componentName + ":not([" + enhancedAttr + "])";
$.fn[ componentName ] = function... | make sure children are selected as well
| component.js | make sure children are selected as well | <ide><path>omponent.js
<ide>
<ide> // auto-init on enhance (which is called on domready)
<ide> $( document ).bind( "enhance", function( e ){
<del> $( initSelector, e.target )[ componentName ]().attr( enhancedAttr, true );
<add> var $sel = $( e.target ).is( initSelector ) ? $( e.target ) : $( initSelector, e.target... | |
Java | apache-2.0 | 53b631670500f9b138fa6294751441b7d2310f0c | 0 | joansmith/dmix,jcnoir/dmix,0359xiaodong/dmix,abarisain/dmix,hurzl/dmix,0359xiaodong/dmix,abarisain/dmix,jcnoir/dmix,hurzl/dmix,joansmith/dmix | /*
* Copyright (C) 2010-2014 The MPDroid Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | MPDroid/src/com/namelessdev/mpdroid/StreamingService.java | /*
* Copyright (C) 2010-2014 The MPDroid Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | StreamingService: Abandon audio focus when winding down resources.
| MPDroid/src/com/namelessdev/mpdroid/StreamingService.java | StreamingService: Abandon audio focus when winding down resources. | <ide><path>PDroid/src/com/namelessdev/mpdroid/StreamingService.java
<ide> mTelephonyManager.listen(phoneStateListener, PhoneStateListener.LISTEN_NONE);
<ide> }
<ide>
<add> if (audioManager != null) {
<add> audioManager.abandonAudioFocus(this);
<add> }
<add>
<ide> if... | |
Java | mit | 4b5bc7517a4501fd13d4dd70b766804b2d4fd07b | 0 | Armandorev/url-shortener,Armandorev/url-shortener,Armandorev/url-shortener,Armandorev/url-shortener | package benjamin.groehbiel.ch.shortener.redis;
import benjamin.groehbiel.ch.JsonHelper;
import benjamin.groehbiel.ch.shortener.ShortenerHandle;
import com.fasterxml.jackson.core.JsonProcessingException;
import org.springframework.stereotype.Service;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPoo... | src/main/java/benjamin/groehbiel/ch/shortener/redis/RedisManager.java | package benjamin.groehbiel.ch.shortener.redis;
import benjamin.groehbiel.ch.JsonHelper;
import benjamin.groehbiel.ch.shortener.ShortenerHandle;
import com.fasterxml.jackson.core.JsonProcessingException;
import org.springframework.stereotype.Service;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPoo... | Fix redis authentication issue in prod
| src/main/java/benjamin/groehbiel/ch/shortener/redis/RedisManager.java | Fix redis authentication issue in prod | <ide><path>rc/main/java/benjamin/groehbiel/ch/shortener/redis/RedisManager.java
<ide> public RedisManager() {
<ide> JedisPoolConfig jedisPoolConfig = new JedisPoolConfig();
<ide> jedisPoolConfig.setMaxTotal(16);
<del> pool = new JedisPool(jedisPoolConfig, System.getProperty("redis.host"), Int... | |
Java | bsd-2-clause | 1f99df1e7fb5c0b94a87503d67f27afefbffc3ea | 0 | stapler/stapler,stapler/stapler,stapler/stapler,stapler/stapler,stapler/stapler | package org.kohsuke.stapler.lang;
import org.kohsuke.stapler.Function;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
/**
* Abstraction of class-like object, agnostic to languages.
*
* <p>
* To support ot... | core/src/main/java/org/kohsuke/stapler/lang/Klass.java | package org.kohsuke.stapler.lang;
import org.kohsuke.stapler.Function;
import java.net.URL;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
/**
* Abstraction of class-like object, agnostic to languages.
*
* <p>
* To support other JVM languages that use the... | [JENKINS-39414] - Prevent compatibility breakage in Klass#getDeclaredFields() when a Jenkins plugin uses obsolete Stapler lib
| core/src/main/java/org/kohsuke/stapler/lang/Klass.java | [JENKINS-39414] - Prevent compatibility breakage in Klass#getDeclaredFields() when a Jenkins plugin uses obsolete Stapler lib | <ide><path>ore/src/main/java/org/kohsuke/stapler/lang/Klass.java
<ide>
<ide> import java.net.URL;
<ide> import java.util.ArrayList;
<add>import java.util.Collections;
<ide> import java.util.LinkedHashMap;
<ide> import java.util.List;
<ide> import java.util.Map;
<ide> }
<ide>
<ide> public List<FieldRef> getDec... | |
Java | apache-2.0 | 76cc898413295857db977af9e974b67f851dd6ef | 0 | buckett/sakai-gitflow,bzhouduke123/sakai,OpenCollabZA/sakai,surya-janani/sakai,lorenamgUMU/sakai,ouit0408/sakai,joserabal/sakai,zqian/sakai,hackbuteer59/sakai,tl-its-umich-edu/sakai,kingmook/sakai,joserabal/sakai,Fudan-University/sakai,rodriguezdevera/sakai,noondaysun/sakai,rodriguezdevera/sakai,puramshetty/sakai,kwedo... | /**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2005 The Regents of the University of Michigan, Trustees of Indiana University,
* Board of... | msgcntr/messageforums-component-shared/src/java/org/sakaiproject/component/app/messageforums/MessageForumsAreaManagerImpl.java | /**********************************************************************************
* $URL$
* $Id$
***********************************************************************************
*
* Copyright (c) 2005 The Regents of the University of Michigan, Trustees of Indiana University,
* Board of... | New managers
clean up
remove type etc
git-svn-id: c7b2716e7381eb8d90b7fc9f797026a6a3c5b5ba@3459 66ffb92e-73f9-0310-93c1-f5514f145a0a
| msgcntr/messageforums-component-shared/src/java/org/sakaiproject/component/app/messageforums/MessageForumsAreaManagerImpl.java | New managers clean up remove type etc | <ide><path>sgcntr/messageforums-component-shared/src/java/org/sakaiproject/component/app/messageforums/MessageForumsAreaManagerImpl.java
<ide> import org.apache.commons.logging.Log;
<ide> import org.apache.commons.logging.LogFactory;
<ide> import org.sakaiproject.api.app.messageforums.Area;
<del>import org.sakaiproject... | |
Java | mit | 8fff1c2a111edd2f3caabbeb852ce29afc222cd0 | 0 | project-recoin/PybossaTwitterController,project-recoin/PybossaTwitterController | package sociam.pybossa.twitter;
import java.util.List;
import sociam.pybossa.util.TwitterAccount;
import twitter4j.Paging;
import twitter4j.Status;
import twitter4j.Twitter;
import twitter4j.TwitterException;
public class DeleteTweets {
public static void main(String[] args) throws InterruptedException {
Boolea... | src/main/java/sociam/pybossa/twitter/DeleteTweets.java | package sociam.pybossa.twitter;
import java.util.List;
import sociam.pybossa.util.TwitterAccount;
import twitter4j.Paging;
import twitter4j.Status;
import twitter4j.Twitter;
import twitter4j.TwitterException;
public class DeleteTweets {
public static void main(String[] args) throws InterruptedException {
Boolea... | no message
| src/main/java/sociam/pybossa/twitter/DeleteTweets.java | no message | <ide><path>rc/main/java/sociam/pybossa/twitter/DeleteTweets.java
<ide> try {
<ide> Paging p = new Paging();
<ide> p.setCount(200);
<del> List<Status> statuses = twitter.getHomeTimeline(p);
<add> List<Status> statuses = twitter.getUserTimeline(p);
<ide>
<ide> while (statuses != null) {
<ide> for (Sta... | |
Java | apache-2.0 | b97ae495e4c8c6ac50ff686c050c7f9cd3abaf05 | 0 | gunnarmorling/aerogear-unifiedpush-server,baiwyc119/aerogear-unifiedpush-server,lfryc/aerogear-unifiedpush-server,diogoalbuquerque/aerogear-unifiedpush-server,danielpassos/aerogear-unifiedpush-server,matzew/aerogear-unifiedpush-server,sinarz/aerogear-unifiedpush-server,qmx/aerogear-unifiedpush-server,fheng/aerogear-uni... | /**
* JBoss, Home of Professional Open Source
* Copyright Red Hat, Inc., and individual contributors.
*
* 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/licens... | src/main/java/org/jboss/aerogear/unifiedpush/rest/security/AuthenticationEndpoint.java | /**
* JBoss, Home of Professional Open Source
* Copyright Red Hat, Inc., and individual contributors.
*
* 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/licens... | Using Agent as parameterized type for the AuthenticationManager injection point
| src/main/java/org/jboss/aerogear/unifiedpush/rest/security/AuthenticationEndpoint.java | Using Agent as parameterized type for the AuthenticationManager injection point | <ide><path>rc/main/java/org/jboss/aerogear/unifiedpush/rest/security/AuthenticationEndpoint.java
<ide> import org.jboss.aerogear.security.authz.IdentityManagement;
<ide> import org.jboss.aerogear.security.exception.AeroGearSecurityException;
<ide> import org.jboss.aerogear.security.picketlink.auth.CredentialMatcher;
<a... | |
Java | apache-2.0 | bf5963598702bad563b346005012b2f4788f9be4 | 0 | innovateme/ICampGeoFence | package com.example.icampgeofence;
import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.IntentSender;
import android.location.Location;
import android.location.LocationMan... | src/com/example/icampgeofence/LocationMgr.java | package com.example.icampgeofence;
import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
import android.app.PendingIntent;
import android.content.Context;
import android.content.Intent;
import android.content.IntentSender;
import android.location.Location;
import android.location.LocationMan... | Added error messages when location services is turned off | src/com/example/icampgeofence/LocationMgr.java | Added error messages when location services is turned off | <ide><path>rc/com/example/icampgeofence/LocationMgr.java
<ide> FenceMgr.getDefault().add(fence);
<ide> Toast.makeText(parentActivity, "Added new geofence named " + fence.getName(), Toast.LENGTH_SHORT).show();
<ide> }
<add> else if (LocationStatusCodes.GEOFENCE_NOT_AVAILABLE == statusC... | |
JavaScript | apache-2.0 | ecbb1d2367cdd7a42f4271197c3a321bd7e3c2ef | 0 | uplne/vivamusica2014 |
db.program.insert({
"datenum" : 21,
"datemonth" : "jún",
"datemonth_en": "June",
"datetime" : "20:30<br />Entrance free",
"place" : "Hlavné námestie",
"place_en": "Main Square",
"title" : "Sen noci svätojánskej",
"title_en": "A Midsummer Night’s Dream",
"intro" : "Otvárací koncert 1... | mongosave.js |
db.program.insert({
"datenum" : 21,
"datemonth" : "jún",
"datemonth_en": "June",
"datetime" : "20:30<br />Entrance free",
"place" : "Hlavné námestie",
"place_en": "Main Square",
"title" : "Sen noci svätojánskej",
"title_en": "A Midsummer Night’s Dream",
"intro" : "Otvárací koncert 1... | DB update
| mongosave.js | DB update | <ide><path>ongosave.js
<ide> "title_en": "A Midsummer Night’s Dream",
<ide> "intro" : "Otvárací koncert 10. ročníka Viva Musica! festivalu a Kultúrneho leta a Hradných slávností Bratislava 2014",
<ide> "intro_en": "Opening concert in the 10th annual Viva Musica! Festival and Bratislava Cultural Summer and C... | |
Java | mit | 0c75a95e67e6ea5662ebc6a6472895f0b1ee699c | 0 | TechCavern/WaveTact | package com.techcavern.wavetact.utils;
import com.google.common.io.Files;
import com.techcavern.wavetact.annot.ConCMD;
import com.techcavern.wavetact.objects.NetProperty;
import org.jooq.Record;
import org.pircbotx.Colors;
import com.techcavern.wavetact.annot.IRCCMD;
import com.techcavern.wavetact.objects.ConsoleComma... | src/main/java/com/techcavern/wavetact/utils/LoadUtils.java | package com.techcavern.wavetact.utils;
import com.google.common.io.Files;
import com.techcavern.wavetact.annot.ConCMD;
import com.techcavern.wavetact.objects.NetProperty;
import org.jooq.Record;
import org.pircbotx.Colors;
import com.techcavern.wavetact.annot.IRCCMD;
import com.techcavern.wavetact.objects.ConsoleComma... | Adds an attack (Resolves #63)
| src/main/java/com/techcavern/wavetact/utils/LoadUtils.java | Adds an attack (Resolves #63) | <ide><path>rc/main/java/com/techcavern/wavetact/utils/LoadUtils.java
<ide> Registry.Attacks.add("throws hammers at $*");
<ide> Registry.Attacks.add("throws spears at $*");
<ide> Registry.Attacks.add("throws spikes at $*");
<add> Registry.Attacks.add("throws $* into a burning building");
<... | |
Java | apache-2.0 | 9ba9524bb45e527da91d074d1d9209797f292009 | 0 | apache/syncope,ilgrosso/syncope,ilgrosso/syncope,ilgrosso/syncope,apache/syncope,apache/syncope,apache/syncope,ilgrosso/syncope | /*
* 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 ... | ext/flowable/client-console/src/main/java/org/apache/syncope/client/console/rest/UserRequestRestClient.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 ... | fixed query on console rest client to retrieve form for a given user
| ext/flowable/client-console/src/main/java/org/apache/syncope/client/console/rest/UserRequestRestClient.java | fixed query on console rest client to retrieve form for a given user | <ide><path>xt/flowable/client-console/src/main/java/org/apache/syncope/client/console/rest/UserRequestRestClient.java
<ide>
<ide> public static Optional<UserRequestForm> getForm(final String userKey) {
<ide> PagedResult<UserRequestForm> forms = getService(UserRequestService.class).
<del> get... | |
Java | apache-2.0 | db555b7c3d151653b613dc807680b9bad0c750d8 | 0 | java110/MicroCommunity,java110/MicroCommunity,java110/MicroCommunity,java110/MicroCommunity | package com.java110.api.listener.fee;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.java110.api.listener.AbstractServiceApiDataFlowListener;
import com.java110.core.annotation.Java110Listener;
import com.java110.core.context.DataFlowContext;
import com.java110.core.smo.fee.I... | Api/src/main/java/com/java110/api/listener/fee/PayFeePreTempCarInoutListener.java | package com.java110.api.listener.fee;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.java110.api.listener.AbstractServiceApiDataFlowListener;
import com.java110.core.annotation.Java110Listener;
import com.java110.core.context.DataFlowContext;
import com.java110.core.smo.fee.I... | 加入 cycles 写死为1期
| Api/src/main/java/com/java110/api/listener/fee/PayFeePreTempCarInoutListener.java | 加入 cycles 写死为1期 | <ide><path>pi/src/main/java/com/java110/api/listener/fee/PayFeePreTempCarInoutListener.java
<ide> HttpHeaders header = new HttpHeaders();
<ide> dataFlowContext.getRequestCurrentHeaders().put(CommonConstant.HTTP_ORDER_TYPE_CD, "D");
<ide> JSONArray businesses = new JSONArray();
<del>
<add> ... | |
Java | apache-2.0 | ababd55cdcb6ee2592f8218fc0b74664b38152a5 | 0 | genedelisa/rockymusic | package com.rockhoppertech.music.fx.cmn;
/*
* #%L
* rockymusic-fx
* %%
* Copyright (C) 1996 - 2013 Rockhopper Technologies
* %%
* 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
*
* ... | rockymusic-fx/src/main/java/com/rockhoppertech/music/fx/cmn/NotationApp.java | package com.rockhoppertech.music.fx.cmn;
/*
* #%L
* rockymusic-fx
* %%
* Copyright (C) 1996 - 2013 Rockhopper Technologies
* %%
* 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
*
* ... | Removing builders | rockymusic-fx/src/main/java/com/rockhoppertech/music/fx/cmn/NotationApp.java | Removing builders | <ide><path>ockymusic-fx/src/main/java/com/rockhoppertech/music/fx/cmn/NotationApp.java
<ide> textArea.setEditable(true);
<ide> textArea.setPromptText("Enter a note string");
<ide> textArea.setWrapText(true);
<del> textArea.setText(MIDITrack
<del> .getPitchesAsString(this.st... | |
Java | mit | dd28a84ccc917300a505f2ae4b3b7074803b83e2 | 0 | lucko/helper | /*
* Copyright (c) 2017 Lucko (Luck) <luck@lucko.me>
*
* 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, m... | src/main/java/me/lucko/helper/serialize/BlockPosition.java | /*
* Copyright (c) 2017 Lucko (Luck) <luck@lucko.me>
*
* 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, m... | fix potential issue with cloned locations
| src/main/java/me/lucko/helper/serialize/BlockPosition.java | fix potential issue with cloned locations | <ide><path>rc/main/java/me/lucko/helper/serialize/BlockPosition.java
<ide> }
<ide>
<ide> public static BlockPosition of(int x, int y, int z, String world) {
<del> return new BlockPosition(x, y, z, world, null);
<add> return new BlockPosition(x, y, z, world);
<ide> }
<ide>
<ide> public st... | |
Java | apache-2.0 | 1306364a2fbd381a338402dc7963451d30e1fc8e | 0 | dschadow/ApplicationIntrusionDetection,dschadow/ApplicationIntrusionDetection | /*
* Copyright (C) 2017 Dominik Schadow, dominikschadow@gmail.com
*
* This file is part of the Application Intrusion Detection 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
... | duke-encounters/src/test/java/de/dominikschadow/dukeencounters/confirmation/ConfirmationServiceTest.java | /*
* Copyright (C) 2017 Dominik Schadow, dominikschadow@gmail.com
*
* This file is part of the Application Intrusion Detection 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
... | Renamed test
| duke-encounters/src/test/java/de/dominikschadow/dukeencounters/confirmation/ConfirmationServiceTest.java | Renamed test | <ide><path>uke-encounters/src/test/java/de/dominikschadow/dukeencounters/confirmation/ConfirmationServiceTest.java
<ide> }
<ide>
<ide> @Test
<del> public void getConfirmationByUsernameAndEncounterId() throws Exception {
<add> public void getConfirmationByUsernameAndEncounterIdWhenUsernameAndIdAreValidRet... | |
Java | apache-2.0 | 943b6ed12cbe9528936070a8b6d7995f79a410f6 | 0 | andy256/druid,Kleagleguo/druid,taochaoqiang/druid,fjy/druid,Fokko/druid,praveev/druid,Deebs21/druid,calliope7/druid,skyportsystems/druid,rasahner/druid,dclim/druid,Fokko/druid,yaochitc/druid-dev,andy256/druid,noddi/druid,anupkumardixit/druid,monetate/druid,druid-io/druid,pjain1/druid,metamx/druid,wenjixin/druid,cocosli... | /*
* Druid - a distributed column store.
* Copyright (C) 2012, 2013 Metamarkets Group 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 2
* of the License, or (at you... | server/src/test/java/io/druid/server/initialization/JettyTest.java | /*
* Druid - a distributed column store.
* Copyright (C) 2012, 2013 Metamarkets Group 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 2
* of the License, or (at you... | add comments
| server/src/test/java/io/druid/server/initialization/JettyTest.java | add comments | <ide><path>erver/src/test/java/io/druid/server/initialization/JettyTest.java
<ide> System.setProperty("druid.global.http.readTimeout", "PT1S");
<ide> }
<ide>
<del> @Test
<del> @Ignore
<add> @Test @Ignore // this test will deadlock if it hits an issue, so ignored by default
<ide> public void testTimeouts() t... | |
Java | apache-2.0 | 11ff4a94f5768ffdf526d89bfb030a053fa64304 | 0 | j-fuentes/cas,zhoffice/cas,kalatestimine/cas,fogbeam/fogbeam_cas,fengbaicanhe/cas,jacklotusho/cas,mduszyk/cas,zhangwei5095/jasig-cas-server,rallportctr/cas,DICE-UNC/cas,creamer/cas,rallportctr/cas,zawn/cas,zhangjianTFTC/cas,fengbaicanhe/cas,austgl/cas,joansmith/cas,icereval/cas,zhangwei5095/jasig-cas-server,Kevin2030/c... | /*
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in c... | cas-server-support-x509/src/main/java/org/jasig/cas/adaptors/x509/authentication/handler/support/AbstractCRLRevocationChecker.java | /*
* Licensed to Apereo under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Apereo licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in c... | removed useless check
| cas-server-support-x509/src/main/java/org/jasig/cas/adaptors/x509/authentication/handler/support/AbstractCRLRevocationChecker.java | removed useless check | <ide><path>as-server-support-x509/src/main/java/org/jasig/cas/adaptors/x509/authentication/handler/support/AbstractCRLRevocationChecker.java
<ide> }
<ide> }
<ide>
<del> if (revokedCrls.size() == crls.size() && !revokedCrls.isEmpty()) {
<add> if (revokedCrls.size() == c... | |
Java | apache-2.0 | 30a11ddb653d2e63714a1b1544b83cb3314ecb98 | 0 | skmedix/JFoenix,jfoenixadmin/JFoenix | /*
* 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")... | src/com/jfoenix/controls/JFXDialog.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")... | Note that JFXDialog requires the root to be stack pane to work properly
| src/com/jfoenix/controls/JFXDialog.java | Note that JFXDialog requires the root to be stack pane to work properly | <ide><path>rc/com/jfoenix/controls/JFXDialog.java
<ide>
<ide> /**
<ide> * @author Shadi Shaheen
<del> *
<add> * note that for JFXDialog to work properly the root node should
<add> * be of type {@link StackPane}
<ide> */
<ide> @DefaultProperty(value="content")
<ide> public class JFXDialog extends StackPane { | |
Java | mit | ac3965447d9e9d1c066f89eafb67c558975b7965 | 0 | appaloosa-store/appaloosa-android-tools | package appaloosa_store.com.appaloosa_android_tools.analytics.db;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Pair;
import com.google.gson.JsonA... | app/src/main/java/appaloosa_store/com/appaloosa_android_tools/analytics/db/AnalyticsDb.java | package appaloosa_store.com.appaloosa_android_tools.analytics.db;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Pair;
import com.google.gson.JsonA... | Quick fix to AnalyticsDb
| app/src/main/java/appaloosa_store/com/appaloosa_android_tools/analytics/db/AnalyticsDb.java | Quick fix to AnalyticsDb | <ide><path>pp/src/main/java/appaloosa_store/com/appaloosa_android_tools/analytics/db/AnalyticsDb.java
<ide> if (c.moveToNext()) {
<ide> return c.getInt(0);
<ide> }
<add> c.close();
<ide> return 0;
<ide> }
<ide> | |
JavaScript | mit | 24cbd0eba4521ab8cbe32361321187e447d66a79 | 0 | SavageCore/yadg-pth-userscript,SavageCore/yadg-pth-userscript | // ==UserScript==
// @id pth-yadg
// @name PTH YADG
// @description This script provides integration with online description generator YADG (http://yadg.cc) - Credit to Slack06
// @license https://github.com/SavageCore/yadg-pth-userscript/blob/master/LICENSE
// @version 1.3.10
// ... | pth_yadg.user.js | // ==UserScript==
// @id pth-yadg
// @name passtheheadphones.me - YADG
// @description This script provides integration with online description generator YADG (http://yadg.cc) - Credit to Slack06
// @license https://github.com/SavageCore/yadg-pth-userscript/blob/master/LICENSE
// @versio... | Shorten name
| pth_yadg.user.js | Shorten name | <ide><path>th_yadg.user.js
<ide> // ==UserScript==
<ide> // @id pth-yadg
<del>// @name passtheheadphones.me - YADG
<add>// @name PTH YADG
<ide> // @description This script provides integration with online description generator YADG (http://yadg.cc) - Credit to Slack06
<ide> // @licens... | |
JavaScript | mit | 15b383afbb00992425732b1c3704f4a32967ee35 | 0 | mure-apps/mure-library | /* eslint no-useless-escape: 0 */
import 'babel-polyfill';
import * as d3 from 'd3';
import datalib from 'datalib';
import md5 from 'md5';
import * as jsonpath from 'jsonpath';
import PouchDB from 'pouchdb';
import { Model } from 'uki';
import appList from './appList.json';
import mureInteractivityRunnerText from './mu... | src/mure.js | /* eslint no-useless-escape: 0 */
import 'babel-polyfill';
import * as d3 from 'd3';
import datalib from 'datalib';
import md5 from 'md5';
import * as jsonpath from 'jsonpath';
import PouchDB from 'pouchdb';
import { Model } from 'uki';
import appList from './appList.json';
import mureInteractivityRunnerText from './mu... | Learn constant constraints (not really "encodings" yet)
| src/mure.js | Learn constant constraints (not really "encodings" yet) | <ide><path>rc/mure.js
<ide>
<ide> this.SIGNALS = {
<ide> cancelled: {}
<add> };
<add>
<add> this.ENCODING_TYPES = {
<add> constant: 0
<ide> };
<ide>
<ide> // The namespace string for our custom XML
<ide> getEmptyBinding (metadata, add) {
<ide> let id = 1;
<ide> /* eslint-disable... | |
Java | apache-2.0 | ea07ff5ce778a78249039d9f84c1dbab4856ebc4 | 0 | googleinterns/step188-2020,googleinterns/step188-2020,googleinterns/step188-2020 | package com.google.sps.utilities;
import com.google.cloud.Date;
import com.google.sps.data.Event;
import com.google.sps.data.User;
import com.google.sps.data.OpportunitySignup;
import com.google.sps.data.User;
import com.google.sps.data.VolunteeringOpportunity;
import java.util.Arrays;
import java.util.Collections;
im... | project/src/main/java/com/google/sps/utilities/TestUtils.java | package com.google.sps.utilities;
import com.google.cloud.Date;
import com.google.sps.data.Event;
import com.google.sps.data.User;
import com.google.sps.data.OpportunitySignup;
import com.google.sps.data.User;
import com.google.sps.data.VolunteeringOpportunity;
import java.util.Arrays;
import java.util.Collections;
im... | Fix newUser definitions
| project/src/main/java/com/google/sps/utilities/TestUtils.java | Fix newUser definitions | <ide><path>roject/src/main/java/com/google/sps/utilities/TestUtils.java
<ide> }
<ide>
<ide> /** Returns a new User object with arbitrary attributes. */
<del> public static User newUser(String email) {
<del> return new User.Builder(USER_NAME, email).setInterests(INTERESTS).setSkills(SKILLS).build();
<add> pu... | |
JavaScript | mit | 71bab2f615eb21ca04e973d62a7046fb836c6722 | 0 | jccazeaux/rivets,re-clone/rivets,zongkelong/rivets,GerHobbelt/rivets,zongkelong/rivets,altmind/rivets,mikeric/rivets,GerHobbelt/rivets,benderTheCrime/tiny-rivets,jccazeaux/rivets,moneyadviceservice/rivets,QAPInt/rivets,MishaMykhalyuk/rivets,GerHobbelt/rivets,altmind/rivets,kangax/rivets,QAPInt/rivets,MishaMykhalyuk/riv... | describe('Rivets.Binding', function() {
var model, el, view, binding;
beforeEach(function() {
rivets.configure({
adapter: {
subscribe: function() {},
unsubscribe: function() {},
read: function() {},
publish: function() {}
}
});
el = document.createElement('d... | spec/rivets/binding.js | describe('Rivets.Binding', function() {
var model, el, view, binding;
beforeEach(function() {
rivets.configure({
adapter: {
subscribe: function() {},
unsubscribe: function() {},
read: function() {},
publish: function() {}
}
});
el = document.createElement('d... | Add initial spec for binding with dependent attributes.
| spec/rivets/binding.js | Add initial spec for binding with dependent attributes. | <ide><path>pec/rivets/binding.js
<ide> it('subscribes to the model for changes via the adapter', function() {
<ide> spyOn(rivets.config.adapter, 'subscribe');
<ide> binding.bind();
<del> expect(rivets.config.adapter.subscribe).toHaveBeenCalled();
<add> expect(rivets.config.adapter.subscribe).t... | |
Java | bsd-3-clause | 261b0f4e9baa82ebc873eee9c149ff810e853c7d | 0 | NCIP/rembrandt,NCIP/rembrandt,NCIP/rembrandt,NCIP/rembrandt,NCIP/rembrandt,NCIP/rembrandt | package gov.nih.nci.rembrandt.web.struts.action;
import gov.nih.nci.caintegrator.application.lists.UserList;
import gov.nih.nci.caintegrator.application.util.ClassHelper;
import gov.nih.nci.caintegrator.dto.de.ArrayPlatformDE;
import gov.nih.nci.caintegrator.dto.de.MultiGroupComparisonAdjustmentTypeDE;
import gov.nih.... | src/gov/nih/nci/rembrandt/web/struts/action/ClassComparisonAction.java | package gov.nih.nci.rembrandt.web.struts.action;
import gov.nih.nci.caintegrator.application.lists.UserList;
import gov.nih.nci.caintegrator.application.util.ClassHelper;
import gov.nih.nci.caintegrator.dto.de.ArrayPlatformDE;
import gov.nih.nci.caintegrator.dto.de.MultiGroupComparisonAdjustmentTypeDE;
import gov.nih.... | Modified code to make baseline setting specific to non-FTest.
SVN-Revision: 2406
| src/gov/nih/nci/rembrandt/web/struts/action/ClassComparisonAction.java | Modified code to make baseline setting specific to non-FTest. | <ide><path>rc/gov/nih/nci/rembrandt/web/struts/action/ClassComparisonAction.java
<ide> PatientUserListQueryDTO patientQueryDTO = new PatientUserListQueryDTO(session,myValueName);
<ide> clinicalQueryCollection.add(patientQueryDTO);
<ide> if(i==1){//... | |
Java | apache-2.0 | 56305e9807251882b664682da86b4d38a7c9946c | 0 | Hipparchus-Math/hipparchus,Hipparchus-Math/hipparchus,apache/commons-math,apache/commons-math,sdinot/hipparchus,apache/commons-math,Hipparchus-Math/hipparchus,sdinot/hipparchus,sdinot/hipparchus,Hipparchus-Math/hipparchus,sdinot/hipparchus,apache/commons-math | /*
* Copyright 2003-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | src/test/org/apache/commons/math/distribution/TDistributionTest.java | /*
* Copyright 2003-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | fixed incorrect test data that was causing test failures.
git-svn-id: ba027325f5cbd8d0def94cfab53a7170165593ea@155246 13f79535-47bb-0310-9956-ffa450edef68
| src/test/org/apache/commons/math/distribution/TDistributionTest.java | fixed incorrect test data that was causing test failures. | <ide><path>rc/test/org/apache/commons/math/distribution/TDistributionTest.java
<ide>
<ide> /** Creates the default cumulative probability density test expected values */
<ide> public double[] makeCumulativeTestValues() {
<del> return new double[] {0.001d, 0.01d, 0.025d, 0.05d, 0.1d, 0.0d, 0.999d,
<add> ... | |
Java | apache-2.0 | c2dbc0aaeb98403db25dd97f951676114b7c6403 | 0 | ldbc/ldbc_graphalytics,ldbc/ldbc_graphalytics,tudelft-atlarge/graphalytics,tudelft-atlarge/graphalytics,tudelft-atlarge/graphalytics,ldbc/ldbc_graphalytics,tudelft-atlarge/graphalytics,ldbc/ldbc_graphalytics,tudelft-atlarge/graphalytics,ldbc/ldbc_graphalytics | /*
* Copyright 2015 Delft University of Technology
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | graphalytics-core/src/main/java/nl/tudelft/graphalytics/BenchmarkSuiteExecutor.java | /*
* Copyright 2015 Delft University of Technology
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | Update logging mechanism.
| graphalytics-core/src/main/java/nl/tudelft/graphalytics/BenchmarkSuiteExecutor.java | Update logging mechanism. | <ide><path>raphalytics-core/src/main/java/nl/tudelft/graphalytics/BenchmarkSuiteExecutor.java
<ide> LOG.info("The benchmark runner is initialized.");
<ide>
<ide> LOG.info("Running benchmark...");
<del> LOG.info("Benchmark logs are stored at: \"" + benchmark.getLogPath() +"\".");
<add> LOG.info("Bench... | |
JavaScript | mit | 7bf69ace57ba82dbd0d4c32308f07f69a19781da | 0 | react-circuit/ultra,gt3/ultra-router | function noop() {}
function id(x) { return x }
function isFn(t) {
return typeof t === 'function' ? t : void 0
}
const strProto = Object.getPrototypeOf('')
function isStr(s) {
return Object.getPrototypeOf(Object(s)) === strProto
}
function empty(t) {
return !t || (!t.length && !Object.keys(t).length)
}
export... | src/router/utils.js | function noop() {}
function isFn(t) {
return typeof t === 'function' ? t : void 0
}
const strProto = Object.getPrototypeOf('')
function isStr(s) {
return Object.getPrototypeOf(Object(s)) === strProto
}
function empty(t) {
return !t || (!t.length && !Object.keys(t).length)
}
export { isFn, isStr, empty }
func... | pipe should return identity when no fn is provided
| src/router/utils.js | pipe should return identity when no fn is provided | <ide><path>rc/router/utils.js
<ide> function noop() {}
<add>
<add>function id(x) { return x }
<ide>
<ide> function isFn(t) {
<ide> return typeof t === 'function' ? t : void 0
<ide> return !t || (!t.length && !Object.keys(t).length)
<ide> }
<ide>
<del>export { isFn, isStr, empty }
<add>export { id, isFn, isStr, em... | |
Java | apache-2.0 | f427414adc620073a034aa0f2ea38545070b6747 | 0 | FUNCATE/TerraMobile,TerraMobile/TerraMobile,TerraMobile/Java-OpenMobility,FUNCATE/TerraMobile,FUNCATE/Java-OpenMobility,opengeospatial/Java-OpenMobility,TerraMobile/TerraMobile | /*
* GeoPackage.java
*
* Copyright 2013, Augmented Technologies Ltd.
*
* 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 ... | AugTech_GeoAPI_Impl/com/augtech/geoapi/geopackage/GeoPackage.java | /*
* GeoPackage.java
*
* Copyright 2013, Augmented Technologies Ltd.
*
* 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 ... | Fixed bug inserting features
When features were being inserted and an attribute didn't exist the
value insertion was skipped, compared to inserting Null, causing values
to go into the wrong fields
| AugTech_GeoAPI_Impl/com/augtech/geoapi/geopackage/GeoPackage.java | Fixed bug inserting features | <ide><path>ugTech_GeoAPI_Impl/com/augtech/geoapi/geopackage/GeoPackage.java
<ide> * If there are multiple feature types within the collection they are
<ide> * automatically split to their corresponding tables.
<ide> * The table name to insert into is taken from the local part of
<del> * the {@link FeatureType#ge... | |
Java | apache-2.0 | ba2ba2f1d00d12f1fcaac6454eea1292a1e4b318 | 0 | spring-cloud/spring-cloud-dataflow-admin-cloudfoundry,spring-cloud/spring-cloud-dataflow-admin-cloudfoundry,spring-cloud/spring-cloud-dataflow-server-cloudfoundry,spring-cloud/spring-cloud-dataflow-admin-cloudfoundry,spring-cloud/spring-cloud-dataflow-server-cloudfoundry,spring-cloud/spring-cloud-dataflow-server-cloudf... | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | spring-cloud-dataflow-server-cloudfoundry-autoconfig/src/main/java/org/springframework/cloud/dataflow/server/cloudfoundry/resource/LRUCleaningResourceLoader.java | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | Change assertion to be inclusive of 0 and 1 for free disk percentage
Fixes #244
| spring-cloud-dataflow-server-cloudfoundry-autoconfig/src/main/java/org/springframework/cloud/dataflow/server/cloudfoundry/resource/LRUCleaningResourceLoader.java | Change assertion to be inclusive of 0 and 1 for free disk percentage | <ide><path>pring-cloud-dataflow-server-cloudfoundry-autoconfig/src/main/java/org/springframework/cloud/dataflow/server/cloudfoundry/resource/LRUCleaningResourceLoader.java
<ide> */
<ide> public LRUCleaningResourceLoader(ResourceLoader delegate, float targetFreeSpaceRatio, File repositoryCache) {
<ide> Assert.notNu... | |
Java | apache-2.0 | cd86fbf2b2a1ebb174f9984ab946b12e94f2ea81 | 0 | kduretec/TestDataGenerator | package benchmarkdp.datagenerator.app;
import java.io.File;
import java.io.IOException;
import org.apache.commons.io.FileUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import benchmarkdp.datagenerator.generator.utils.ZipUtil;
import benchmarkdp.datagenerator.properties.ExperimentProperties;
import b... | DataGenerator/src/benchmarkdp/datagenerator/app/ToolEvaluatorStep.java | package benchmarkdp.datagenerator.app;
import java.io.File;
import java.io.IOException;
import org.apache.commons.io.FileUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import benchmarkdp.datagenerator.generator.utils.ZipUtil;
import benchmarkdp.datagenerator.properties.ExperimentProperties;
import b... | small updates
| DataGenerator/src/benchmarkdp/datagenerator/app/ToolEvaluatorStep.java | small updates | <ide><path>ataGenerator/src/benchmarkdp/datagenerator/app/ToolEvaluatorStep.java
<ide> if (!f.exists()) {
<ide> f.mkdirs();
<ide> }
<add> String zipFolder = pathTmp;
<add> pathTmp = pathTmp + "/" + experimentName;
<ide> File sDocs = new File(ep.getFullFolderPath() + ep.getDocumentFolder());
<ide> Fi... | |
JavaScript | bsd-2-clause | 268e74b13ed5ea4c330a367b9f429b74c7d12dcd | 0 | t2ym/thin-polymer,t2ym/thin-polymer | /*
@license https://github.com/t2ym/thin-polymer/blob/master/LICENSE.md
Copyright (c) 2016, Tetsuya Mori <t2y3141592@gmail.com>. All rights reserved.
*/
(function () {
function UncamelCase (name) {
return name
// insert a hyphen between lower & upper
.replace(/([a-z0-9])([A-Z])/g, '$1 $2')
// sp... | thin-polymer.js | /*
@license https://github.com/t2ym/thin-polymer/blob/master/LICENSE.md
Copyright (c) 2016, Tetsuya Mori <t2y3141592@gmail.com>. All rights reserved.
*/
(function () {
function UncamelCase (name) {
return name
// insert a hyphen between lower & upper
.replace(/([a-z0-9])([A-Z])/g, '$1 $2')
// sp... | Copy properties of prototype
| thin-polymer.js | Copy properties of prototype | <ide><path>hin-polymer.js
<ide> */
<ide> var id;
<ide> var classId;
<add> var obj;
<ide> var name = proto.name || functionName(proto);
<ide> var current; // currentScript
<ide> var template = null;
<ide> }
<ide> }
<ide>
<del> if (!proto.is... | |
Java | apache-2.0 | c04ae392e81e5ad840cf4f5295d0d31cf6377ef2 | 0 | mybatis/guice,hazendaz/guice,johnzeringue/guice,WilliamRen/guice | /*
* Copyright 2010 The myBatis Team
*
* 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 applic... | src/main/java/org/mybatis/guice/MyBatisModule.java | /*
* Copyright 2010 The myBatis Team
*
* 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 applic... | added missing SqlSessionFactory singleton scope in binding
| src/main/java/org/mybatis/guice/MyBatisModule.java | added missing SqlSessionFactory singleton scope in binding | <ide><path>rc/main/java/org/mybatis/guice/MyBatisModule.java
<ide> this.bind(Environment.class).toProvider(EnvironmentProvider.class).in(Scopes.SINGLETON);
<ide> this.bind(Configuration.class).toProvider(ConfigurationProvider.class).in(Scopes.SINGLETON);
<ide> this.bind(ObjectFactory.class).to(t... | |
Java | apache-2.0 | 1074426a3acc154ed3c20e1f9c385bd696a83d15 | 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-2018 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.codeInsight.daemon.impl;
import com.intellij.codeInsight.daemon.GutterMark;
import com.intellij.lang.annotation.HighlightSeverity;
import com.intellij.opena... | platform/analysis-impl/src/com/intellij/codeInsight/daemon/impl/UpdateHighlightersUtil.java | // Copyright 2000-2018 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.codeInsight.daemon.impl;
import com.intellij.codeInsight.daemon.GutterMark;
import com.intellij.lang.annotation.HighlightSeverity;
import com.intellij.opena... | IDEA-198593 Errors reported by JSON annotator disappear only on typing
| platform/analysis-impl/src/com/intellij/codeInsight/daemon/impl/UpdateHighlightersUtil.java | IDEA-198593 Errors reported by JSON annotator disappear only on typing | <ide><path>latform/analysis-impl/src/com/intellij/codeInsight/daemon/impl/UpdateHighlightersUtil.java
<ide> RangeHighlighter highlighter = info.getHighlighter();
<ide> int hiStart = highlighter.getStartOffset();
<ide> int hiEnd = highlighter.getEndOffset();
<del> if (!info.isFromInjection... | |
Java | bsd-3-clause | 508869a9e1c61d4f90c0dd7447861bd98c3587a8 | 0 | NCIP/cab2b,NCIP/cab2b,NCIP/cab2b | package edu.wustl.cab2b.client.ui.searchDataWizard;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWrite... | source/client/main/edu/wustl/cab2b/client/ui/searchDataWizard/ShowDCQLPanel.java | package edu.wustl.cab2b.client.ui.searchDataWizard;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWrite... | Fix for Bug # 10563
| source/client/main/edu/wustl/cab2b/client/ui/searchDataWizard/ShowDCQLPanel.java | Fix for Bug # 10563 | <ide><path>ource/client/main/edu/wustl/cab2b/client/ui/searchDataWizard/ShowDCQLPanel.java
<ide>
<ide> // Cab2bPanel for showing Success and failure messages
<ide> final Cab2bPanel messagePanel = new Cab2bPanel();
<add>
<add> private String dcqlString;
<ide>
<ide> /**
<ide> * @param dcql
<ide... | |
Java | bsd-3-clause | d9a5f8b141245b6d489995f667f343b4f49e449e | 0 | tinkerpop/gremlin,ccagnoli/gremlin,cesarmarinhorj/gremlin,cesarmarinhorj/gremlin,tinkerpop/gremlin,ccagnoli/gremlin,samanalysis/gremlin,samanalysis/gremlin | package com.tinkerpop.gremlin.pipes;
import com.tinkerpop.pipes.AbstractPipe;
import com.tinkerpop.pipes.ExpandableIterator;
import com.tinkerpop.pipes.Pipe;
import groovy.lang.Closure;
import java.util.Iterator;
import java.util.List;
/**
* @author Marko A. Rodriguez (http://markorodriguez.com)
*/
public class Lo... | src/main/java/com/tinkerpop/gremlin/pipes/LoopPipe.java | package com.tinkerpop.gremlin.pipes;
import com.tinkerpop.pipes.AbstractPipe;
import com.tinkerpop.pipes.ExpandableIterator;
import com.tinkerpop.pipes.Pipe;
import groovy.lang.Closure;
import java.util.Iterator;
import java.util.List;
/**
* @author Marko A. Rodriguez (http://markorodriguez.com)
*/
public class Lo... | fixed toString() of LoopPipe.
| src/main/java/com/tinkerpop/gremlin/pipes/LoopPipe.java | fixed toString() of LoopPipe. | <ide><path>rc/main/java/com/tinkerpop/gremlin/pipes/LoopPipe.java
<ide> }
<ide>
<ide> public String toString() {
<del> return super.toString() + "[" + this.toLoopPipe + "]";
<add> return super.toString() + "<" + this.toLoopPipe + ">";
<ide> }
<ide>
<ide> public List getPath() { | |
Java | mit | eb608ac4a4017128804782f45b6ef742b989b622 | 0 | RokKos/FRI_Programiranje,RokKos/FRI_Programiranje,RokKos/FRI_Programiranje,RokKos/FRI_Programiranje,RokKos/FRI_Programiranje,RokKos/FRI_Programiranje,RokKos/FRI_Programiranje | /**
* @author sliva
*/
package compiler.phases.abstr;
import java.util.*;
import compiler.common.report.*;
import compiler.data.dertree.*;
import compiler.data.dertree.DerNode.Nont;
import compiler.data.dertree.visitor.*;
import compiler.data.symbol.Symbol.Term;
import compiler.data.abstree.*;
import compiler.data.a... | PREV/prev/srcs/compiler/phases/abstr/AbsTreeConstructor.java | /**
* @author sliva
*/
package compiler.phases.abstr;
import java.util.*;
import compiler.common.report.*;
import compiler.data.dertree.*;
import compiler.data.dertree.DerNode.Nont;
import compiler.data.dertree.visitor.*;
import compiler.data.symbol.Symbol.Term;
import compiler.data.abstree.*;
import compiler.data.a... | PREV - Abstr : Right position of function arguments
| PREV/prev/srcs/compiler/phases/abstr/AbsTreeConstructor.java | PREV - Abstr : Right position of function arguments | <ide><path>REV/prev/srcs/compiler/phases/abstr/AbsTreeConstructor.java
<ide> } else {
<ide> AbsArgs funArgs = (AbsArgs) node.subtree(1).accept(this, null);
<ide> DerLeaf funName = (DerLeaf) node.subtree(0);
<del> Location loc = new Location(funName, funArgs);
<add> Location loc = new Location(funN... | |
Java | agpl-3.0 | e80647ee8c6e404f442028ca41e4372c771434e4 | 0 | poum/libreplan,dgray16/libreplan,Marine-22/libre,LibrePlan/libreplan,poum/libreplan,LibrePlan/libreplan,skylow95/libreplan,Marine-22/libre,skylow95/libreplan,dgray16/libreplan,PaulLuchyn/libreplan,LibrePlan/libreplan,LibrePlan/libreplan,LibrePlan/libreplan,dgray16/libreplan,PaulLuchyn/libreplan,PaulLuchyn/libreplan,dgr... | /*
* This file is part of LibrePlan
*
* Copyright (C) 2009-2010 Fundación para o Fomento da Calidade Industrial e
* Desenvolvemento Tecnolóxico de Galicia
* Copyright (C) 2010-2012 Igalia, S.L.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms ... | libreplan-webapp/src/main/java/org/libreplan/web/planner/TaskElementAdapter.java | /*
* This file is part of LibrePlan
*
* Copyright (C) 2009-2010 Fundación para o Fomento da Calidade Industrial e
* Desenvolvemento Tecnolóxico de Galicia
* Copyright (C) 2010-2012 Igalia, S.L.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms ... | Remove unused method
| libreplan-webapp/src/main/java/org/libreplan/web/planner/TaskElementAdapter.java | Remove unused method | <ide><path>ibreplan-webapp/src/main/java/org/libreplan/web/planner/TaskElementAdapter.java
<ide> });
<ide> }
<ide>
<del> private BigDecimal getTotalBudget() {
<del> if ((taskElement == null)
<del> || (taskElement.getOrderElement() == ... | |
Java | apache-2.0 | 63a82dd6dba940ef08ad0309d3353955799f0574 | 0 | caiocteodoro/nfe,fincatto/nfe,eldevanjr/nfe,danieldhp/nfe,wmixvideo/nfe | package com.fincatto.documentofiscal.nfe400.classes.nota.consulta;
import java.util.List;
import java.time.LocalDateTime;
import org.simpleframework.xml.*;
import com.fincatto.documentofiscal.DFAmbiente;
import com.fincatto.documentofiscal.DFBase;
import com.fincatto.documentofiscal.DFUnidadeFederativa;
import com.f... | src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/consulta/NFNotaConsultaRetorno.java | package com.fincatto.documentofiscal.nfe400.classes.nota.consulta;
import java.util.List;
import java.time.LocalDateTime;
import org.simpleframework.xml.*;
import com.fincatto.documentofiscal.DFAmbiente;
import com.fincatto.documentofiscal.DFBase;
import com.fincatto.documentofiscal.DFUnidadeFederativa;
import com.f... | quando consumo indevido na sefaz do paraná, não retorna o campo versão.
| src/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/consulta/NFNotaConsultaRetorno.java | quando consumo indevido na sefaz do paraná, não retorna o campo versão. | <ide><path>rc/main/java/com/fincatto/documentofiscal/nfe400/classes/nota/consulta/NFNotaConsultaRetorno.java
<ide> public class NFNotaConsultaRetorno extends DFBase {
<ide> private static final long serialVersionUID = -5747228973124291025L;
<ide>
<del> @Attribute(name = "versao", required = true)
<add> @Attr... | |
Java | apache-2.0 | 5c1118ba26628c33d6f568cc61d39b6bb31b60ff | 0 | kwmt/GitHubSearch | package net.kwmt27.codesearch.entity.events;
import com.google.gson.annotations.SerializedName;
import net.kwmt27.codesearch.entity.EventEntity;
import net.kwmt27.codesearch.entity.payloads.StatusEntity;
/**
* https://developer.github.com/v3/activity/events/types/#statusevent
*
* @deprecated Events of this type a... | app/src/main/java/net/kwmt27/codesearch/entity/events/StatusEvent.java | package net.kwmt27.codesearch.entity.events;
import com.google.gson.annotations.SerializedName;
import net.kwmt27.codesearch.entity.EventEntity;
import net.kwmt27.codesearch.entity.payloads.StatusEntity;
public class StatusEvent extends EventEntity {
@SerializedName("payload")
private StatusEntity mStatusEn... | support status event
| app/src/main/java/net/kwmt27/codesearch/entity/events/StatusEvent.java | support status event | <ide><path>pp/src/main/java/net/kwmt27/codesearch/entity/events/StatusEvent.java
<ide> import net.kwmt27.codesearch.entity.EventEntity;
<ide> import net.kwmt27.codesearch.entity.payloads.StatusEntity;
<ide>
<add>/**
<add> * https://developer.github.com/v3/activity/events/types/#statusevent
<add> *
<add> * @deprecated ... | |
Java | mit | error: pathspec 'src/main/java/java/util/function/Consumer.java' did not match any file(s) known to git
| 5614b3154ee03e3a116654a06c112912146d5ff5 | 1 | dominikschreiber/underscore.java | package java.util.function;
/**
* <p>Represents an operation that accepts a single input argument and returns no result.
* Unlike most other functional interfaces, {@code Consumer} is expected to operate
* via side-effects.</p>
* <p>This is a functional interface whose functional method is {@link #accept(Object)}<... | src/main/java/java/util/function/Consumer.java | added Consumer<T> to replace Function<T, Void>
| src/main/java/java/util/function/Consumer.java | added Consumer<T> to replace Function<T, Void> | <ide><path>rc/main/java/java/util/function/Consumer.java
<add>package java.util.function;
<add>
<add>/**
<add> * <p>Represents an operation that accepts a single input argument and returns no result.
<add> * Unlike most other functional interfaces, {@code Consumer} is expected to operate
<add> * via side-effects.</p>
<... | |
JavaScript | bsd-3-clause | error: pathspec 'harvardcards/static/js/views/DeckCreateModal.js' did not match any file(s) known to git
| ac2f962011a0e008a4e0fe031fa63e0f874f0cc2 | 1 | Harvard-ATG/HarvardCards,Harvard-ATG/HarvardCards,Harvard-ATG/HarvardCards,Harvard-ATG/HarvardCards | define(['jquery', 'jqueryui'], function($, $ui) {
var DeckCreateModal = function(options) {
this.options = options;
this.btnSelector = this.options.btnSelector;
this.dialogSelector = this.options.dialogSelector;
this.form_name = this.options.form_name;
};
$.extend(DeckCreat... | harvardcards/static/js/views/DeckCreateModal.js | overlay add deck form works
| harvardcards/static/js/views/DeckCreateModal.js | overlay add deck form works | <ide><path>arvardcards/static/js/views/DeckCreateModal.js
<add>define(['jquery', 'jqueryui'], function($, $ui) {
<add>
<add> var DeckCreateModal = function(options) {
<add> this.options = options;
<add> this.btnSelector = this.options.btnSelector;
<add> this.dialogSelector = this.options.dialogS... | |
JavaScript | apache-2.0 | c6c87e137a15864aaf438c86d13cbae2d033bb99 | 0 | rust-lang/crates.io,rust-lang/crates.io,rust-lang/crates.io,rust-lang/crates.io | import Component from '@ember/component';
import { alias } from '@ember/object/computed';
import { computed } from '@ember/object';
import RlDropdownContainer from './rl-dropdown-container';
export default Component.extend({
classNames: ['rl-dropdown'],
classNameBindings: ['isExpanded:open'],
dropdownContainer... | app/components/rl-dropdown.js | import Component from '@ember/component';
import { alias } from '@ember/object/computed';
import { computed } from '@ember/object';
import $ from 'jquery';
import RlDropdownContainer from './rl-dropdown-container';
export default Component.extend({
classNames: ['rl-dropdown'],
classNameBindings: ['isExpanded:open... | remove unused import
| app/components/rl-dropdown.js | remove unused import | <ide><path>pp/components/rl-dropdown.js
<ide> import Component from '@ember/component';
<ide> import { alias } from '@ember/object/computed';
<ide> import { computed } from '@ember/object';
<del>import $ from 'jquery';
<ide>
<ide> import RlDropdownContainer from './rl-dropdown-container';
<ide> | |
Java | bsd-3-clause | error: pathspec 'api/src/gov/nih/nci/security/system/ApplicationSessionFactory.java' did not match any file(s) known to git
| 715aacd7b3d8b6483e9ced3be5309691e8046ad6 | 1 | CBIIT/common-security-module,CBIIT/common-security-module,NCIP/common-security-module,NCIP/common-security-module,CBIIT/common-security-module,CBIIT/common-security-module,NCIP/common-security-module,CBIIT/common-security-module,NCIP/common-security-module | /*
* Created on Dec 30, 2004
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package gov.nih.nci.security.system;
import java.util.*;
import net.sf.hibernate.SessionFactory;
import net.sf.hibernate.cfg.Configuration;
import java.io.*;
/... | api/src/gov/nih/nci/security/system/ApplicationSessionFactory.java | *** empty log message ***
SVN-Revision: 265
| api/src/gov/nih/nci/security/system/ApplicationSessionFactory.java | *** empty log message *** | <ide><path>pi/src/gov/nih/nci/security/system/ApplicationSessionFactory.java
<add>/*
<add> * Created on Dec 30, 2004
<add> *
<add> * TODO To change the template for this generated file go to
<add> * Window - Preferences - Java - Code Style - Code Templates
<add> */
<add>package gov.nih.nci.security.system;
<add>
<add>i... | |
JavaScript | apache-2.0 | 6997288c6b1c2cdcc481070e501e30d705a51f32 | 0 | lucidworks/lucidworks-view,AlexKolonitsky/lucidworks-view,AlexKolonitsky/lucidworks-view,lucidworks/lucidworks-view,lucidworks/lucidworks-view,AlexKolonitsky/lucidworks-view | (function() {
'use strict';
angular
.module('fusionSeedApp.controllers.home', ['fusionSeedApp.services', 'angucomplete-alt'])
.controller('HomeController', HomeController);
function HomeController(ConfigService, URLService, Orwell, AuthService, _) {
'ngInject';
var hc = this; //eslint-disable-l... | client/assets/js/controllers/HomeController.js | (function() {
'use strict';
angular
.module('fusionSeedApp.controllers.home', ['fusionSeedApp.services', 'angucomplete-alt'])
.controller('HomeController', HomeController);
function HomeController($scope, $log, ConfigService, QueryService, URLService, Orwell, AuthService, _, $timeout, $rootScope) {
... | remove excess dependencies from home controller
| client/assets/js/controllers/HomeController.js | remove excess dependencies from home controller | <ide><path>lient/assets/js/controllers/HomeController.js
<ide> .controller('HomeController', HomeController);
<ide>
<ide>
<del> function HomeController($scope, $log, ConfigService, QueryService, URLService, Orwell, AuthService, _, $timeout, $rootScope) {
<add> function HomeController(ConfigService, URLService, ... | |
Java | apache-2.0 | 244ebeb84a3e9a7e3e11ce59c537e399a8e2b9cf | 0 | kamir/jena,tr3vr/jena,CesarPantoja/jena,jianglili007/jena,CesarPantoja/jena,apache/jena,CesarPantoja/jena,apache/jena,kamir/jena,atsolakid/jena,CesarPantoja/jena,kidaa/jena,samaitra/jena,atsolakid/jena,jianglili007/jena,samaitra/jena,atsolakid/jena,kamir/jena,adrapereira/jena,atsolakid/jena,kamir/jena,adrapereira/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/atlas/data/ThresholdPolicyFactory.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 ... | Use Context::getLong. | jena-arq/src/main/java/org/apache/jena/atlas/data/ThresholdPolicyFactory.java | Use Context::getLong. | <ide><path>ena-arq/src/main/java/org/apache/jena/atlas/data/ThresholdPolicyFactory.java
<ide> */
<ide> public static <E> ThresholdPolicy<E> policyFromContext(Context context)
<ide> {
<del> long threshold = (Long) context.get(ARQ.spillToDiskThreshold, defaultThreshold) ;
<add> long threshold =... | |
Java | apache-2.0 | 19ccd96fbea955410c83618abc611c8031a335bb | 0 | Rafiski/Shalon | src/clientes/Pesquisar.java | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package clientes;
/**
*
* @author carlos
*/
public class Pesquisar extends javax.swing.JFrame {
/**
* Creates new form P... | Delete Pesquisar.java | src/clientes/Pesquisar.java | Delete Pesquisar.java | <ide><path>rc/clientes/Pesquisar.java
<del>/*
<del> * To change this license header, choose License Headers in Project Properties.
<del> * To change this template file, choose Tools | Templates
<del> * and open the template in the editor.
<del> */
<del>
<del>package clientes;
<del>
<del>/**
<del> *
<del> * @author carl... | ||
Java | agpl-3.0 | 003c89c3a4fa9f97c381d28914edc101dad71eb0 | 0 | virustotalop/mcMMO,jhonMalcom79/mcMMO_pers,Maximvdw/mcMMO,isokissa3/mcMMO,EvilOlaf/mcMMO | package com.gmail.nossr50.skills.repair;
import org.bukkit.GameMode;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.getspout.spoutapi.SpoutManager;
import org.getspout.spoutapi.player.SpoutPlayer;
import com.gmail.nossr50.mcMM... | src/main/java/com/gmail/nossr50/skills/repair/Salvage.java | package com.gmail.nossr50.skills.repair;
import org.bukkit.GameMode;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
import org.getspout.spoutapi.SpoutManager;
import org.getspout.spoutapi.player.SpoutPlayer;
import com.gmail.nossr50.mcMM... | Missed one. | src/main/java/com/gmail/nossr50/skills/repair/Salvage.java | Missed one. | <ide><path>rc/main/java/com/gmail/nossr50/skills/repair/Salvage.java
<ide> final int salvagedAmount = getSalvagedAmount(inHand);
<ide> final int itemID = getSalvagedItemID(inHand);
<ide>
<del> player.setItemInHand(new ItemStack(0));
<add> pl... | |
Java | apache-2.0 | error: pathspec 'Cipher/Rot13.java' did not match any file(s) known to git
| 2ca3309f0c4749ff15383eaf7de45741fe94cfdc | 1 | caspar/Java | import java.io.*;
import java.util.*;
public class Rot13{
//doesn't work, but I'm tired - Caspar
public static void main(String[] args){
try{
Rot13 R = new Rot13(args[0]);
}catch(Exception e){
System.out.println("Something's not right");
}
}
public Rot13(String input){
input ... | Cipher/Rot13.java | Cipher - Caspar
| Cipher/Rot13.java | Cipher - Caspar | <ide><path>ipher/Rot13.java
<add>import java.io.*;
<add>import java.util.*;
<add>
<add>public class Rot13{
<add>
<add> //doesn't work, but I'm tired - Caspar
<add>
<add> public static void main(String[] args){
<add>
<add> try{
<add> Rot13 R = new Rot13(args[0]);
<add> }catch(Exception e){
<add> Syste... | |
JavaScript | mit | 21a5baa8d946f8efe17cb34a26d2db6f8e721aac | 0 | MadballNeek/hitagi.js,RoganMurley/hitagi.js,ThiagoFerreir4/hitagi.js,shaunstanislaus/hitagi.js,zarnold/hitagi.js,Iced-Tea/hitagi.js | (function () {
"use strict";
// Setup dimensions.
var levelWidth = 600;
var levelHeight = 400;
// Setup pixi.
var stage = new PIXI.Stage(0x141c22);
var renderer = PIXI.autoDetectRenderer(levelWidth, levelHeight);
document.body.appendChild(renderer.view);
// Setup world.
var wo... | examples/example2/example2.js | (function () {
"use strict";
// Setup pixi.
var stage = new PIXI.Stage(0x141c22);
var renderer = PIXI.autoDetectRenderer(600, 400);
document.body.appendChild(renderer.view);
// Setup world.
var world = new hitagi.World();
// Setup controls.
var controls = new hitagi.Controls();
... | Added bouncing to Player paddle on edges of screen
| examples/example2/example2.js | Added bouncing to Player paddle on edges of screen | <ide><path>xamples/example2/example2.js
<ide> (function () {
<ide> "use strict";
<ide>
<add> // Setup dimensions.
<add> var levelWidth = 600;
<add> var levelHeight = 400;
<add>
<ide> // Setup pixi.
<ide> var stage = new PIXI.Stage(0x141c22);
<del> var renderer = PIXI.autoDetectRenderer(600, 400... | |
Java | apache-2.0 | 7efd144df7cf04dd7c6352fffe361f357070cc17 | 0 | jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim | /*
* JaamSim Discrete Event Simulation
* Copyright (C) 2013 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
* (at you... | src/main/java/com/jaamsim/BasicObjects/EntityGenerator.java | /*
* JaamSim Discrete Event Simulation
* Copyright (C) 2013 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
* (at you... | JS: Remove unnecessary validation for EntityGenerator
Signed-off-by: Harry King <4297d713059dfdc9fd310cd85bf547ea21a2d624@ausenco.com>
Signed-off-by: Harvey Harrison <eadbd6b462bf3c97df0300a934c12bc2e5d1fe51@ausenco.com>
| src/main/java/com/jaamsim/BasicObjects/EntityGenerator.java | JS: Remove unnecessary validation for EntityGenerator | <ide><path>rc/main/java/com/jaamsim/BasicObjects/EntityGenerator.java
<ide> @Override
<ide> public void validate() {
<ide> super.validate();
<del>
<del> // Confirm that probability distribution has been specified
<del> if( interArrivalTime.getValue() == null ) {
<del> throw new InputErrorException( "The keyword... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.