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
apache-2.0
a085ead5f57088e16d9809ae4e6b972dc3cddbc9
0
kenji0711/PICoresight2016-CustomSymbol-PutValue,kenji0711/PICoresight2016-CustomSymbol-PutValue
(function (CS) { var definition = { typeName: 'putvalue', datasourceBehavior: CS.DatasourceBehaviors.Single, getDefaultConfig: function() { return { DataShape: 'Value', Height: 150, Width: 150, TextColor: 'rgb(255,25...
sym-putvalue.js
(function (CS) { var definition = { typeName: 'putvalue', datasourceBehavior: CS.DatasourceBehaviors.Single, getDefaultConfig: function() { return { DataShape: 'Value', Height: 150, Width: 150, TextColor: 'rgb(255,25...
Comments edited
sym-putvalue.js
Comments edited
<ide><path>ym-putvalue.js <ide> }, <ide> init: init <ide> }; <del> <ide> function init(scope) { <ide> function onUpdate(data) { <ide> if(data) { <ide> var urladdress = "\"https://" + piwebapiaddress + "/piwebapi/attributes?path="+path+"\""; <ide> ...
JavaScript
mit
bf9eb6adb210ffe5ab5f81f58727ecc66e60e15d
0
nickolanack/js-simplekml
'use strict'; /** * BackgroundKmlReader is meant to be a drop in replacement for KmlReader class */ var BackgroundKmlReader = (function() { var BackgroundKmlReader = function(kml) { this._worker=new Worker(userFunctionWorker); worker.postMessage(kml); this._handlers={}; var me=this; worker.onmessage=...
BackgroundKmlReader.js
'use strict'; /** * BackgroundKmlReader is meant to be a drop in replacement for KmlReader class */ var BackgroundKmlReader = (function() { var BackgroundKmlReader = function(kml) { this._worker=new Worker(userFunctionWorker); worker.postMessage(kml); this._handlers={}; var me=this; worker.onmessage=...
execute closure
BackgroundKmlReader.js
execute closure
<ide><path>ackgroundKmlReader.js <ide> <ide> <ide> <del>}); <add>})(); <ide>
Java
apache-2.0
4b5b1ac3d10f1a190450ad59b8be5c9568921852
0
nandakumar131/hadoop,littlezhou/hadoop,JingchengDu/hadoop,wwjiang007/hadoop,plusplusjiajia/hadoop,wwjiang007/hadoop,JingchengDu/hadoop,steveloughran/hadoop,apurtell/hadoop,JingchengDu/hadoop,steveloughran/hadoop,ucare-uchicago/hadoop,ucare-uchicago/hadoop,nandakumar131/hadoop,xiao-chen/hadoop,wwjiang007/hadoop,mapr/had...
/** * 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...
hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/Pre21JobHistoryConstants.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...
MAPREDUCE-7130. Rumen crashes trying to handle MRAppMaster recovery events. Contributed by Peter Bacsko
hadoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/Pre21JobHistoryConstants.java
MAPREDUCE-7130. Rumen crashes trying to handle MRAppMaster recovery events. Contributed by Peter Bacsko
<ide><path>adoop-tools/hadoop-rumen/src/main/java/org/apache/hadoop/tools/rumen/Pre21JobHistoryConstants.java <ide> /** <ide> * This enum contains some of the values commonly used by history log events. <ide> * since values in history can only be strings - Values.name() is used in <del> * most places in his...
JavaScript
mit
a67c8ebf9e7c187535c60a3588594c8132626912
0
marcomarchesi/the-runner,marcomarchesi/threejs-boilerplate-plus,marcomarchesi/the-runner,marcomarchesi/the-runner,marcomarchesi/threejs-boilerplate-plus,marcomarchesi/threejs-boilerplate-plus,marcomarchesi/threejs-boilerplate-plus
/** * HUD.js * @author Pierfrancesco Soffritti * */ var pauseTextMaterial, HUDPauseMaterial; var pointerMesh, redPointerMesh, LapCounterMesh; var HUDElementsArray; var gotStartingPoint = false, hasMoved = false; var numLap = 0; function HUD(HUDScene, HUDisVisible, oculusEnabled) { this.HUDisVisible = HUDisVisibl...
public/js/HUD.js
/** * HUD.js * @author Pierfrancesco Soffritti * */ var pauseTextMaterial, HUDPauseMaterial; var pointerMesh, redPointerMesh, LapCounterMesh; var HUDElementsArray; var gotStartingPoint = false, hasMoved; var numLap = 0; function HUD(HUDScene, HUDisVisible, oculusEnabled) { this.HUDisVisible = HUDisVisible; va...
improved path counter logic
public/js/HUD.js
improved path counter logic
<ide><path>ublic/js/HUD.js <ide> <ide> var HUDElementsArray; <ide> <del>var gotStartingPoint = false, hasMoved; <add>var gotStartingPoint = false, hasMoved = false; <ide> var numLap = 0; <ide> <ide> function HUD(HUDScene, HUDisVisible, oculusEnabled) { <ide> var context = textCanvas.getContext('2d'); <ide> conte...
JavaScript
mit
59efbb8d54ab53b9569bb1d76dba45e0751dd916
0
vutran/dext-core-utils
const { spawn } = require('child_process'); const rimraf = require('rimraf'); const npmName = require('npm-name'); const { ERR_MODULE_NOT_FOUND, ERR_MODULE_INSTALLED, ERR_MODULE_NOT_INSTALLED, ERR_THEME_ALREADY_ACTIVE, } = require('../errors'); const Conf = require('../utils/conf'); const { downloadPackage } = ...
src/api/index.js
const { spawn } = require('child_process'); const rimraf = require('rimraf'); const npmName = require('npm-name'); const { ERR_MODULE_NOT_FOUND, ERR_MODULE_INSTALLED, ERR_MODULE_NOT_INSTALLED, ERR_THEME_ALREADY_ACTIVE, } = require('../errors'); const Conf = require('../utils/conf'); const { downloadPackage } = ...
added getConfig()
src/api/index.js
added getConfig()
<ide><path>rc/api/index.js <ide> resolve(currentTheme || ''); <ide> }); <ide> <add>/** <add> * Retrieve the current config <add> * <add> * @return {Object} - The current configuration <add> */ <add>const getConfig = () => new Promise(resolve => { <add> resolve(config.store); <add>}); <add> <ide> module.exports = { ...
Java
apache-2.0
b64fc60c678993d24b2575a33ec5ccdcd8ec07cf
0
grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation
package com.navigation.reactnative; import android.annotation.SuppressLint; import android.app.Activity; import android.app.ActivityOptions; import android.content.Intent; import android.content.res.TypedArray; import android.os.Bundle; import android.util.Pair; import android.view.View; import com.facebook.react.bri...
NavigationReactNative/src/android/app/src/main/java/com/navigation/reactnative/NavigationModule.java
package com.navigation.reactnative; import android.annotation.SuppressLint; import android.app.Activity; import android.app.ActivityOptions; import android.content.Intent; import android.content.res.TypedArray; import android.os.Bundle; import android.util.Pair; import android.view.View; import com.facebook.react.bri...
Used final so inner class can reference Also got root view instead of content view so it matches the shared element manager
NavigationReactNative/src/android/app/src/main/java/com/navigation/reactnative/NavigationModule.java
Used final so inner class can reference
<ide><path>avigationReactNative/src/android/app/src/main/java/com/navigation/reactnative/NavigationModule.java <ide> } <ide> final int enter = this.getAnimationResourceId(enterAnim, this.activityCloseEnterAnimationId); <ide> final int exit = this.getAnimationResourceId(exitAnim, this...
Java
agpl-3.0
215587ee8ca9978dc201466d1a077bb0ab9d7b09
0
aikuma/aikuma,aikuma/aikuma,hleeldc/aikuma,aikuma/aikuma,lisaslyis/aikuma,hleeldc/aikuma,lisaslyis/aikuma,lisaslyis/aikuma,hleeldc/aikuma,hleeldc/aikuma,lisaslyis/aikuma,aikuma/aikuma,lisaslyis/aikuma,hleeldc/aikuma,aikuma/aikuma
package au.edu.unimelb.boldapp; import android.content.res.Resources; import android.util.Log; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.IOException; import java.util.HashMap; import java.uti...
BOLDApp/src/au/edu/unimelb/boldapp/GlobalState.java
package au.edu.unimelb.boldapp; import android.content.res.Resources; import android.util.Log; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.IOException; import java.util.HashMap; import java.uti...
now that readRecordings and readUsers cannot throw exceptions, removed the try and catch in loadUsers and loadRecordings, and changed the signatures to void
BOLDApp/src/au/edu/unimelb/boldapp/GlobalState.java
now that readRecordings and readUsers cannot throw exceptions, removed the try and catch in loadUsers and loadRecordings, and changed the signatures to void
<ide><path>OLDApp/src/au/edu/unimelb/boldapp/GlobalState.java <ide> /** <ide> * Loads the users from the bold directory. <ide> */ <del> public static boolean loadUsers() { <del> try { <del> setUsers(FileIO.readUsers()); <del> } catch (IOException e) { <del> return false; <del> } <del> return true; <add> pu...
JavaScript
apache-2.0
77ae15525c2581c32e6b19860fa43583a6dcc8c6
0
samsweco/KosterIOS,samsweco/KosterIOS
Ti.include("geoFunctions.js"); Ti.include("mapFunctions.js"); $.tabs.open(); Alloy.CFG.tabs = $.tabs; exports.toInteractive = toInteractive; var infoVisible = false; //----------------------------------------------------------- // Metoder för navigeringen //-----------------------------------------------------------...
app/controllers/index.js
Ti.include("geoFunctions.js"); Ti.include("mapFunctions.js"); $.tabs.open(); Alloy.CFG.tabs = $.tabs; exports.toInteractive = toInteractive; var infoVisible = false; //----------------------------------------------------------- // Metoder för navigeringen //-----------------------------------------------------------...
index
app/controllers/index.js
index
<ide><path>pp/controllers/index.js <ide> function showInfo(){ <ide> if(!infoVisible){ <ide> $.widgetInfo.show(); <del> $.widgetInfo.height = '80%'; <add> $.widgetInfo.height = '75%'; <ide> infoVisible = true; <ide> } else { <ide> $.widgetInfo.hide();
Java
apache-2.0
d85eabbcb3e508182b366dd615acba6eb3753ef1
0
rapidoid/rapidoid,rapidoid/rapidoid,rapidoid/rapidoid,rapidoid/rapidoid
package org.rapidoid.json; import java.io.OutputStream; import java.util.Map; import org.rapidoid.util.U; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.Object...
rapidoid-json/src/main/java/org/rapidoid/json/JSON.java
package org.rapidoid.json; import java.io.OutputStream; import java.util.Map; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ObjectNode; /* * #%L * rapidoid-...
Improved JSON parsing error handling.
rapidoid-json/src/main/java/org/rapidoid/json/JSON.java
Improved JSON parsing error handling.
<ide><path>apidoid-json/src/main/java/org/rapidoid/json/JSON.java <ide> <ide> import java.io.OutputStream; <ide> import java.util.Map; <add> <add>import org.rapidoid.util.U; <ide> <ide> import com.fasterxml.jackson.databind.DeserializationFeature; <ide> import com.fasterxml.jackson.databind.JsonNode; <ide> try { <i...
Java
mit
3b84af6a0dc113490854f9f61eaffc7f8ed8c9f1
0
Adven27/Exam,Adven27/Exam,Adven27/Exam,Adven27/Exam,Adven27/Exam
package com.adven.concordion.extensions.exam.configurators; import com.adven.concordion.extensions.exam.ExamExtension; import com.codeborne.selenide.Configuration; import com.codeborne.selenide.WebDriverRunner; import io.github.bonigarcia.wdm.ChromeDriverManager; import io.github.bonigarcia.wdm.FirefoxDriverManager; i...
src/main/java/com/adven/concordion/extensions/exam/configurators/WebDriverCfg.java
package com.adven.concordion.extensions.exam.configurators; import com.adven.concordion.extensions.exam.ExamExtension; import com.codeborne.selenide.Configuration; import com.codeborne.selenide.WebDriverRunner; import io.github.bonigarcia.wdm.ChromeDriverManager; import io.github.bonigarcia.wdm.FirefoxDriverManager; i...
smallfix
src/main/java/com/adven/concordion/extensions/exam/configurators/WebDriverCfg.java
smallfix
<ide><path>rc/main/java/com/adven/concordion/extensions/exam/configurators/WebDriverCfg.java <ide> private static void setHeadlessChromeOptions(ExamExtension extension) { <ide> final ChromeOptions opt = new ChromeOptions(); <ide> opt.addArguments( <del> "no-sandbox", "headless", "disa...
Java
apache-2.0
80487e8785f630e04f152a9d56fdecd73b43a9ec
0
anhem/urchin,anhem/urchin,anhem/urchin,anhem/urchin
package urchin.selenium; import org.junit.AfterClass; import org.junit.BeforeClass; import org.junit.ClassRule; import org.junit.Test; import org.junit.rules.TemporaryFolder; import urchin.selenium.testutil.SeleniumTest; import static org.apache.commons.lang3.RandomStringUtils.randomAlphanumeric; import static urchin...
src/test/java/urchin/selenium/aclITCase.java
package urchin.selenium; import org.junit.BeforeClass; import org.junit.ClassRule; import org.junit.Test; import org.junit.rules.TemporaryFolder; import urchin.selenium.testutil.SeleniumTest; import static org.apache.commons.lang3.RandomStringUtils.randomAlphanumeric; import static urchin.testutil.UnixUserAndGroupCle...
cleaning up after test
src/test/java/urchin/selenium/aclITCase.java
cleaning up after test
<ide><path>rc/test/java/urchin/selenium/aclITCase.java <ide> package urchin.selenium; <ide> <add>import org.junit.AfterClass; <ide> import org.junit.BeforeClass; <ide> import org.junit.ClassRule; <ide> import org.junit.Test; <ide> FOLDERS.verifyFolderListed(folderName); <ide> } <ide> <add> @AfterClass ...
Java
apache-2.0
21b67bfc7536c0f822cecfc60b38216f7cf50fdf
0
database-rider/database-rider,database-rider/database-rider,database-rider/database-rider,database-rider/database-rider
package com.github.database.rider.cdi; import static org.assertj.core.api.Assertions.assertThat; import java.util.List; import javax.inject.Inject; import javax.persistence.EntityManager; import org.apache.deltaspike.testcontrol.api.junit.CdiTestRunner; import org.junit.After; import org.junit.Test; import org.juni...
rider-cdi/src/test/java/com/github/database/rider/cdi/MergeDataSetsCDIIt.java
package com.github.database.rider.cdi; import static org.assertj.core.api.Assertions.assertThat; import java.util.List; import javax.inject.Inject; import javax.persistence.EntityManager; import org.apache.deltaspike.testcontrol.api.junit.CdiTestRunner; import org.junit.After; import org.junit.Test; import org.juni...
fixes test which fails depending on the order of execution
rider-cdi/src/test/java/com/github/database/rider/cdi/MergeDataSetsCDIIt.java
fixes test which fails depending on the order of execution
<ide><path>ider-cdi/src/test/java/com/github/database/rider/cdi/MergeDataSetsCDIIt.java <ide> @DBUnitInterceptor <ide> @DBUnit(mergeDataSets = true) <ide> @RunWith(CdiTestRunner.class) <del>@DataSet(value = "yml/tweet.yml", executeScriptsAfter = "addUser.sql", executeStatementsBefore = {"DELETE FROM USER WHERE 1=1", "I...
JavaScript
cc0-1.0
305bed8dff9139d5a56da9218dc172b7ffe2c201
0
sleitner/hmda-explorer,m3brown/hmda-explorer,sleitner/hmda-explorer,kave/hmda-explorer,sleitner/hmda-explorer,m3brown/hmda-explorer,kave/hmda-explorer,kave/hmda-explorer,m3brown/hmda-explorer
var PDP = (function ( pdp ) { 'use strict'; // The Query Object // ---------------- // The `query` object is used to cache filter values and store methods // that manipulate filter values. var query = {}; // If debug is set to true, dummy data will be used. query.debug = false; // Set a default ...
src/static/js/modules/query.js
var PDP = (function ( pdp ) { 'use strict'; // The Query Object // ---------------- // The `query` object is used to cache filter values and store methods // that manipulate filter values. var query = {}; // If debug is set to true, dummy data will be used. query.debug = false; // Set a default ...
string array fix
src/static/js/modules/query.js
string array fix
<ide><path>rc/static/js/modules/query.js <ide> locVals.push(queryStr); <ide> locVals.push(item.joiner); <ide> } else { <del> queryStr += '(state_code=' + item.stateValue + ' AND county_code IN (' + item.countyValues.toString() + ') AND census_tract_number IN (' + item.censusValues +...
JavaScript
mit
684bf243400e6de2fd6b89446b9ae7b5c8badcd4
0
aigarsdz/olden,aigarsdz/olden
const { ipcRenderer, clipboard } = require('electron'); const path = require('path'); const packageInfo = require(path.join(__dirname, 'package.json')); const Dexie = require('dexie'); const db = new Dexie('clipboard'); db.version(1).stores({ items: '++id, &text, favorite' }); ...
app/js/main.js
const { ipcRenderer, clipboard } = require('electron'); const path = require('path'); const packageInfo = require(path.join(__dirname, 'package.json')); const Dexie = require('dexie'); const db = new Dexie('clipboard'); db.version(1).stores({ items: '++id, &text, favorite' }); ...
Fixes disappearing of the first item
app/js/main.js
Fixes disappearing of the first item
<ide><path>pp/js/main.js <ide> copyItem() { <ide> const collection = this.query.length === 0 ? 'clipboardContent' : 'searchResults'; <ide> const clipboardItem = this[collection].splice(this.selectionIndex, 1)[0]; <add> <add> // Issue #9. If we select the first item we need to nullify the last <a...
Java
mit
8afc5509fb69a107bf507a9d81dc354b208bbcfe
0
meraki-analytics/Orianna,robrua/Orianna
package com.merakianalytics.orianna.types.core.summoner; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.joda.time.DateTime; import com.google.common.base.Supplier; import com.google.common.base.Suppliers; import com.google.common.collect.ImmutableMap; import com.merakianalytic...
orianna/src/main/java/com/merakianalytics/orianna/types/core/summoner/Summoner.java
package com.merakianalytics.orianna.types.core.summoner; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import org.joda.time.DateTime; import com.google.common.base.Supplier; import com.google.common.base.Suppliers; import com.google.common.collect.ImmutableMap; import com.merakianalytic...
only allow getting league/league position for ranked queues
orianna/src/main/java/com/merakianalytics/orianna/types/core/summoner/Summoner.java
only allow getting league/league position for ranked queues
<ide><path>rianna/src/main/java/com/merakianalytics/orianna/types/core/summoner/Summoner.java <ide> } <ide> <ide> public League getLeague(final Queue queue) { <add> if(!Queue.RANKED.contains(queue)) { <add> throw new IllegalArgumentException("Can only get league for ranked queues!"); <add> ...
Java
mit
e550bce7e0505faabc9832b1a4cc79ca91ec9561
0
betato/GameDisplay
package com.betato.gamedisplay; import java.awt.Cursor; import java.awt.Dimension; import java.awt.Point; import java.awt.Toolkit; import java.awt.image.BufferedImage; import javax.swing.JFrame; /** * An extended JFrame for use with a GameWindow. Supports setting content size * and cursor hiding. */ public class ...
src/com/betato/gamedisplay/Frame.java
package com.betato.gamedisplay; import java.awt.Cursor; import java.awt.Dimension; import java.awt.Point; import java.awt.Toolkit; import java.awt.image.BufferedImage; import javax.swing.JFrame; public class Frame extends JFrame{ private static final long serialVersionUID = 1L; public Frame(GameWindow gameWindow...
Add Javadoc comments to Frame
src/com/betato/gamedisplay/Frame.java
Add Javadoc comments to Frame
<ide><path>rc/com/betato/gamedisplay/Frame.java <ide> <ide> import javax.swing.JFrame; <ide> <del>public class Frame extends JFrame{ <add>/** <add> * An extended JFrame for use with a GameWindow. Supports setting content size <add> * and cursor hiding. <add> */ <add>public class Frame extends JFrame { <ide> private ...
Java
lgpl-2.1
a5adf967ccebcc570804ca0b6d1920479afd81fb
0
johnscancella/spotbugs,spotbugs/spotbugs,sewe/spotbugs,sewe/spotbugs,spotbugs/spotbugs,johnscancella/spotbugs,sewe/spotbugs,KengoTODA/spotbugs,spotbugs/spotbugs,sewe/spotbugs,KengoTODA/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs,KengoTODA/spotbugs,KengoTODA/spotbugs,johnscancella/spotbugs,spotbugs/spotbugs
/* * FindBugs - Find bugs in Java programs * Copyright (C) 2003-2006, University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License,...
findbugs/src/java/edu/umd/cs/findbugs/TextUIBugReporter.java
/* * FindBugs - Find bugs in Java programs * Copyright (C) 2003-2006, University of Maryland * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License,...
refactoring fix git-svn-id: e7d6bde23f017c9ff4efd468d79d66def666766b@9612 eae3c2d3-9b19-0410-a86e-396b6ccb6ab3
findbugs/src/java/edu/umd/cs/findbugs/TextUIBugReporter.java
refactoring fix
<ide><path>indbugs/src/java/edu/umd/cs/findbugs/TextUIBugReporter.java <ide> protected void checkBugInstance(BugInstance bugInstance) { <ide> for (Iterator<BugAnnotation> i = bugInstance.annotationIterator(); i.hasNext();) { <ide> BugAnnotation bugAnnotation = i.next(); <del> if (bugAnnotation instanceof BugAnn...
Java
apache-2.0
0f0c2c735512421045330f9323a1f960c00bbdd5
0
jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim,jaamsim/jaamsim
/* * JaamSim Discrete Event Simulation * Copyright (C) 2014 Ausenco Engineering Canada Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at you...
src/main/java/com/jaamsim/input/ExpParser.java
/* * JaamSim Discrete Event Simulation * Copyright (C) 2014 Ausenco Engineering Canada Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at you...
JS: add choose function to expressions Signed-off-by: Harry King <4297d713059dfdc9fd310cd85bf547ea21a2d624@ausenco.com> Signed-off-by: Stephen Wong <6f34db11dd2258ec4ffa799eb0d7827f906cb1c6@ausenco.com>
src/main/java/com/jaamsim/input/ExpParser.java
JS: add choose function to expressions
<ide><path>rc/main/java/com/jaamsim/input/ExpParser.java <ide> } <ide> }); <ide> <add> addFunction("choose", 2, -1, new CallableFunc() { <add> @Override <add> public ExpResult call(ParseContext context, ExpResult[] args, String source, int pos) throws ExpError { <add> if (args[0].unitType != Dimensionless...
Java
bsd-3-clause
2d618a18f4b2ad14cc17b15d155320a088f89691
0
ksclarke/basex,vincentml/basex,BaseXdb/basex,dimitarp/basex,joansmith/basex,JensErat/basex,deshmnnit04/basex,ksclarke/basex,ksclarke/basex,dimitarp/basex,ksclarke/basex,ksclarke/basex,vincentml/basex,vincentml/basex,vincentml/basex,dimitarp/basex,deshmnnit04/basex,drmacro/basex,BaseXdb/basex,JensErat/basex,dimitarp/bas...
package org.basex.util.options; import static java.lang.Integer.*; import static org.basex.core.Prop.*; import static org.basex.util.Token.*; import java.io.*; import java.lang.reflect.*; import java.util.*; import java.util.Map.Entry; import org.basex.core.*; import org.basex.io.*; import org.basex.util.*; import o...
basex-core/src/main/java/org/basex/util/options/Options.java
package org.basex.util.options; import static java.lang.Integer.*; import static org.basex.core.Prop.*; import static org.basex.util.Token.*; import java.io.*; import java.lang.reflect.*; import java.util.*; import java.util.Map.Entry; import org.basex.core.*; import org.basex.io.*; import org.basex.util.*; import o...
[FIX] Options: adopt options defined in .basex configuration file
basex-core/src/main/java/org/basex/util/options/Options.java
[FIX] Options: adopt options defined in .basex configuration file
<ide><path>asex-core/src/main/java/org/basex/util/options/Options.java <ide> * Default constructor. <ide> */ <ide> public Options() { <del> init(); <del> } <del> <del> /** <del> * Constructor with options string. <del> * @param opts options strings <del> * @throws BaseXException database exception <d...
Java
apache-2.0
c3c209659bd34b2cd03169189b57780c5c319040
0
krlohnes/tinkerpop,RedSeal-co/incubator-tinkerpop,n-tran/incubator-tinkerpop,edgarRd/incubator-tinkerpop,newkek/incubator-tinkerpop,robertdale/tinkerpop,krlohnes/tinkerpop,PommeVerte/incubator-tinkerpop,apache/incubator-tinkerpop,mike-tr-adamson/incubator-tinkerpop,BrynCooke/incubator-tinkerpop,n-tran/incubator-tinkerp...
package com.tinkerpop.gremlin.structure.util.detached; import com.tinkerpop.gremlin.AbstractGremlinTest; import com.tinkerpop.gremlin.FeatureRequirement; import com.tinkerpop.gremlin.FeatureRequirementSet; import com.tinkerpop.gremlin.LoadGraphWith; import com.tinkerpop.gremlin.structure.Graph; import com.tinkerpop.gr...
gremlin-test/src/main/java/com/tinkerpop/gremlin/structure/util/detached/DetachedVertexTest.java
package com.tinkerpop.gremlin.structure.util.detached; import com.tinkerpop.gremlin.AbstractGremlinTest; import com.tinkerpop.gremlin.structure.Graph; import com.tinkerpop.gremlin.structure.VertexProperty; import com.tinkerpop.gremlin.structure.Vertex; import com.tinkerpop.gremlin.structure.util.ElementHelper; import ...
Turn back on a few more Detached class tests.
gremlin-test/src/main/java/com/tinkerpop/gremlin/structure/util/detached/DetachedVertexTest.java
Turn back on a few more Detached class tests.
<ide><path>remlin-test/src/main/java/com/tinkerpop/gremlin/structure/util/detached/DetachedVertexTest.java <ide> package com.tinkerpop.gremlin.structure.util.detached; <ide> <ide> import com.tinkerpop.gremlin.AbstractGremlinTest; <add>import com.tinkerpop.gremlin.FeatureRequirement; <add>import com.tinkerpop.gremlin.F...
Java
bsd-3-clause
6a5d66dd2c70c7a28a6c934384b3a8dd6cd77a7a
0
muloem/xins,muloem/xins,muloem/xins
/* * $Id$ */ package org.xins.server; import java.util.List; import org.xins.util.MandatoryArgumentChecker; import org.xins.util.text.ParseException; /** * Access rule list. * * <h3>Descriptor format</h3> * * <p>An access rule list <em>descriptor</em>, a character string, can be * converted to produce an {@li...
src/java-server-framework/org/xins/server/AccessRuleList.java
/* * $Id$ */ package org.xins.server; import java.util.List; import org.xins.util.MandatoryArgumentChecker; import org.xins.util.text.ParseException; /** * Access rule list. This class can take a character string to produce an * {@link AccessRuleList} object from it. * * <h3>Examples</h3> * * <p>An example of...
Improved documentation.
src/java-server-framework/org/xins/server/AccessRuleList.java
Improved documentation.
<ide><path>rc/java-server-framework/org/xins/server/AccessRuleList.java <ide> import org.xins.util.text.ParseException; <ide> <ide> /** <del> * Access rule list. This class can take a character string to produce an <del> * {@link AccessRuleList} object from it. <add> * Access rule list. <ide> * <del> * <h3>Examples</...
Java
apache-2.0
f577dace72a2c671ff2c9c9928c6f3e585bbc9ac
0
magnetsystems/message-samples-android
package com.magnet.wru; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.location.Location; import android.os.AsyncTask; import android.os.Bundle; import android.os.Handler; import android.support.v7.app.AppCompatActivity; import android.util.Log; im...
WRU/app/src/main/java/com/magnet/wru/MapActivity.java
package com.magnet.wru; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.location.Location; import android.os.AsyncTask; import android.os.Bundle; import android.os.Handler; import android.support.v7.app.AppCompatActivity; import android.util.Log; im...
Add connection status colors.
WRU/app/src/main/java/com/magnet/wru/MapActivity.java
Add connection status colors.
<ide><path>RU/app/src/main/java/com/magnet/wru/MapActivity.java <ide> import com.google.android.gms.maps.model.LatLngBounds; <ide> import com.google.android.gms.maps.model.Marker; <ide> import com.google.android.gms.maps.model.MarkerOptions; <add>import com.magnet.mmx.client.api.MMX; <add>import com.magnet.mmx.client.a...
JavaScript
agpl-3.0
51fdd4c46266fef927251a11c6704904715aecbe
0
tlevine/rhizi,ozFri/rhizi,cben/rhizi,ozFri/rhizi,cben/rhizi,Rhizi/rhizi,yuvadm/rhizi,tlevine/rhizi,Rhizi/rhizi,ozFri/rhizi,shlomif/rhizi,cben/rhizi,tlevine/rhizi,shlomif/rhizi,Rhizi/rhizi,yuvadm/rhizi,cben/rhizi,yuvadm/rhizi,shlomif/rhizi,yuvadm/rhizi,tlevine/rhizi,ozFri/rhizi,Rhizi/rhizi,shlomif/rhizi
"use strict" define(['underscore', 'Bacon', 'consts', 'util', 'model/core', 'model/util', 'model/diff', 'rz_api_backend', 'rz_api_mesh', 'history', 'model/types'], function (_, Bacon, consts, util, model_core, model_util, model_diff, rz_api_backend, rz_api_mesh, history, model_types...
src/client/model/graph.js
"use strict" define(['underscore', 'Bacon', 'consts', 'util', 'model/core', 'model/util', 'model/diff', 'rz_api_backend', 'rz_api_mesh', 'history', 'model/types'], function (_, Bacon, consts, util, model_core, model_util, model_diff, rz_api_backend, rz_api_mesh, history, model_types...
graph.js: commit_and_tx_diff__topo: remove on_error which duplicates default on_error behavior
src/client/model/graph.js
graph.js: commit_and_tx_diff__topo: remove on_error which duplicates default on_error behavior
<ide><path>rc/client/model/graph.js <ide> return !hasNodeByName(n.name); <ide> }); <ide> <del> var graph_on_error = function(error) { <del> console.log('error:'); <del> console.dir(error); <del> } <del> rz_api_backend.commit_diff__topo(topo_diff, __commit_...
JavaScript
mit
07f4accb62ddbe2d5b129d378ac6044e301bc156
0
JasonMFry/calculator,JasonMFry/calculator
{ let tape = []; // TODO make AC functional, don't disable AC here, instruct user to press AC in validateNumber() const disableButtons = () => { const buttons = document.getElementsByTagName('button'); for (const button of buttons) { button.disabled = true; } }; const validationHelpers = {...
index.js
{ const tape = []; // TODO make AC functional, don't disable AC here, instruct user to press AC in validateNumber() const disableButtons = () => { const buttons = document.getElementsByTagName('button'); for (const button of buttons) { button.disabled = true; } }; const validationHelpers =...
Fix issue where an irrational number would freeze the calculator
index.js
Fix issue where an irrational number would freeze the calculator
<ide><path>ndex.js <ide> { <del> const tape = []; <add> let tape = []; <ide> <ide> // TODO make AC functional, don't disable AC here, instruct user to press AC in validateNumber() <ide> const disableButtons = () => { <ide> validateNumber: (number) => { <ide> if (number.toPrecision().length > 10) { <ide...
Java
agpl-3.0
f0f97d2c336fd1542f8ed5fe219fab01fdbb53f0
0
DJmaxZPL4Y/Photon-Server
/* * Copyright (c) 2016 MCPhoton <http://mcphoton.org> and contributors. * * This file is part of the Photon API <https://github.com/mcphoton/Photon-API>. * * The Photon API is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the...
api/src/main/java/org/mcphoton/item/ItemStack.java
/* * Copyright (c) 2016 MCPhoton <http://mcphoton.org> and contributors. * * This file is part of the Photon API <https://github.com/mcphoton/Photon-API>. * * The Photon API is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the...
Format ItemStack
api/src/main/java/org/mcphoton/item/ItemStack.java
Format ItemStack
<ide><path>pi/src/main/java/org/mcphoton/item/ItemStack.java <ide> * @author TheElectronWill <ide> */ <ide> public class ItemStack { <del> <ide> protected ItemType type; <ide> protected int maxSize, size, damage; <ide> <ide> int size = buff.get(); <ide> int damage = buff.getShort(); <ide> //TODO read NBT ...
Java
apache-2.0
4cde02ea26ed6b1cdcb7d97db9f143d1eb6ba2b0
0
0xf1f0/QuakeReport
package com.example.android.quakereport; import android.content.AsyncTaskLoader; import android.content.Context; import android.util.Log; import java.util.List; /** * Created by Lenovo on 7/6/2017. */ /* Loads a list of earthquakes by using an AsyncTaskLoader to perform the network request to the destination...
app/src/main/java/com/example/android/quakereport/EarthquakeLoader.java
package com.example.android.quakereport; import android.content.AsyncTaskLoader; import android.content.Context; import android.util.Log; import java.util.List; /** * Created by Lenovo on 7/6/2017. */ public class EarthquakeLoader extends AsyncTaskLoader<List<Earthquake>> { final static String LOG_TAG = Earthq...
Replace AsyncTask with AsyncTaskLoader and do some clean up.
app/src/main/java/com/example/android/quakereport/EarthquakeLoader.java
Replace AsyncTask with AsyncTaskLoader and do some clean up.
<ide><path>pp/src/main/java/com/example/android/quakereport/EarthquakeLoader.java <ide> * Created by Lenovo on 7/6/2017. <ide> */ <ide> <add>/* <add> Loads a list of earthquakes by using an AsyncTaskLoader to perform the <add> network request to the destination(USGS) url. <add> */ <ide> public class EarthquakeLo...
Java
mit
c67bb07d50e81194d27426f68ec42f916c3342ec
0
vtsukur/spring-rest-black-market,vtsukur/spring-rest-black-market,vtsukur/spring-rest-black-market
package org.vtsukur.spring.rest.market.util; import com.fasterxml.jackson.databind.Module; import com.fasterxml.jackson.datatype.jsr310.JSR310Module; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.context.annotation.Bean; imp...
src/main/java/org/vtsukur/spring/rest/market/util/ApplicationConfiguration.java
package org.vtsukur.spring.rest.market.util; import com.fasterxml.jackson.databind.Module; import com.fasterxml.jackson.datatype.jsr310.JSR310Module; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.context.annotation.Bean; imp...
Actualizing rates.
src/main/java/org/vtsukur/spring/rest/market/util/ApplicationConfiguration.java
Actualizing rates.
<ide><path>rc/main/java/org/vtsukur/spring/rest/market/util/ApplicationConfiguration.java <ide> <ide> private static BigDecimal avgRate(Ad.Currency currency, Ad.Type type) { <ide> return (currency == Ad.Currency.USD ? <del> BigDecimal.valueOf(type == Ad.Type.BUY ? 21.81 : 22) : <del> ...
Java
apache-2.0
14eff02838fdfc971dbebdbf235b0f1ab6c47931
0
lgathy/ddd-toolbox
package com.doctusoft.ddd.idsequence; import com.doctusoft.ddd.model.EntityKey; import com.doctusoft.ddd.persistence.GenericPersistence; import lombok.RequiredArgsConstructor; import javax.inject.Inject; import java.math.BigInteger; import static java.util.Objects.*; @RequiredArgsConstructor(onConstructor = @__(@In...
ddd-idsequence/src/main/java/com/doctusoft/ddd/idsequence/IdSequenceManagerImpl.java
package com.doctusoft.ddd.idsequence; import com.doctusoft.ddd.model.EntityKey; import com.doctusoft.ddd.persistence.GenericPersistence; import lombok.RequiredArgsConstructor; import javax.inject.Inject; import java.math.BigInteger; import static java.util.Objects.*; @RequiredArgsConstructor(onConstructor = @__(@In...
We need to lock the idSequence for update upon id allocation
ddd-idsequence/src/main/java/com/doctusoft/ddd/idsequence/IdSequenceManagerImpl.java
We need to lock the idSequence for update upon id allocation
<ide><path>dd-idsequence/src/main/java/com/doctusoft/ddd/idsequence/IdSequenceManagerImpl.java <ide> if (count <= 0) { <ide> throw new IllegalArgumentException("count=" + count + " for key: " + key); <ide> } <del> IdSequence idSequence = persistence.require(key); <add> IdSequen...
Java
apache-2.0
aa6ed4491026591fab4414ea2341a84a2c00997a
0
kkysen/QuickTrip,kkysen/QuickTrip
package io.github.kkysen.quicktrip.app; import java.io.IOException; import java.time.LocalDate; import java.util.ArrayList; import java.util.List; import lombok.Getter; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.No...
src/main/java/io/github/kkysen/quicktrip/app/SearchView.java
package io.github.kkysen.quicktrip.app; import java.io.IOException; import java.time.LocalDate; import java.util.ArrayList; import java.util.List; import lombok.Getter; import javafx.fxml.FXML; import javafx.fxml.FXMLLoader; import javafx.geometry.Insets; import javafx.geometry.Pos; import javafx.scene.No...
Added TODO for myself
src/main/java/io/github/kkysen/quicktrip/app/SearchView.java
Added TODO for myself
<ide><path>rc/main/java/io/github/kkysen/quicktrip/app/SearchView.java <ide> import javafx.scene.control.Label; <ide> import javafx.scene.control.TextField; <ide> import javafx.scene.layout.GridPane; <add> <add>//TODO dynamic pane edit to fxgraph <ide> <ide> /** <ide> *
Java
apache-2.0
bedb7de45b2ce1ce3895afcc70a21425d8785a19
0
jajakobyly/rustidea,jajakobyly/rustidea
/* * Copyright 2015 Marek Kaput * * 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...
src/org/rustidea/psi/types/RsStubElementTypes.java
/* * Copyright 2015 Marek Kaput * * 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...
Sort stub element type definitions
src/org/rustidea/psi/types/RsStubElementTypes.java
Sort stub element type definitions
<ide><path>rc/org/rustidea/psi/types/RsStubElementTypes.java <ide> import org.rustidea.stubs.types.*; <ide> <ide> public interface RsStubElementTypes { <del> RsLifetimeElementType LIFETIME = RsLifetimeElementType.INSTANCE; <del> RsTypeParameterElementType TYPE_PARAMETER = RsTypeParameterElementType.INSTANCE; <de...
Java
mit
8f740bc08e03d06ca34406726d7092ddcde950ef
0
MarkEWaite/git-plugin,jenkinsci/git-plugin,jenkinsci/git-plugin,MarkEWaite/git-plugin,jenkinsci/git-plugin,MarkEWaite/git-plugin,MarkEWaite/git-plugin,jenkinsci/git-plugin,martinda/git-plugin,martinda/git-plugin,martinda/git-plugin
package hudson.plugins.git.browser; import hudson.EnvVars; import hudson.model.Item; import hudson.model.Job; import hudson.model.TaskListener; import hudson.plugins.git.GitChangeSet; import hudson.plugins.git.GitChangeSet.Path; import hudson.scm.RepositoryBrowser; import org.kohsuke.stapler.Stapler; import org.kohsu...
src/main/java/hudson/plugins/git/browser/GitRepositoryBrowser.java
package hudson.plugins.git.browser; import hudson.EnvVars; import hudson.model.Item; import hudson.model.Job; import hudson.model.TaskListener; import hudson.plugins.git.GitChangeSet; import hudson.plugins.git.GitChangeSet.Path; import hudson.scm.RepositoryBrowser; import org.kohsuke.stapler.Stapler; import org.kohsu...
Remove some whitespace changes.
src/main/java/hudson/plugins/git/browser/GitRepositoryBrowser.java
Remove some whitespace changes.
<ide><path>rc/main/java/hudson/plugins/git/browser/GitRepositoryBrowser.java <ide> return true; <ide> } <ide> if (cleanUrl.contains("$")) { <del> // set by variable, can't validate <add> // set by variable, can't validate <ide> return true; <ide> } <ide>...
JavaScript
apache-2.0
18a5bfba9b611af49b9f9a1bb4eb880f90ca777b
0
BSWANG/denverdino.github.io,aduermael/docker.github.io,LuisBosquez/docker.github.io,JimGalasyn/docker.github.io,saiberz/kitematic,LuisBosquez/docker.github.io,JimGalasyn/docker.github.io,joaofnfernandes/docker.github.io,rillig/docker.github.io,LuisBosquez/docker.github.io,docker/kitematic,anweiss/docker.github.io,bdwil...
import remote from 'remote'; import shell from 'shell'; import router from './router'; import util from './utils/Util'; import metrics from './utils/MetricsUtil'; import machine from './utils/DockerMachineUtil'; import docker from './utils/DockerUtil'; var app = remote.require('app'); // main.js var MenuTemplate = fu...
src/menutemplate.js
import remote from 'remote'; import shell from 'shell'; import router from './router'; import util from './utils/Util'; import metrics from './utils/MetricsUtil'; import machine from './utils/DockerMachineUtil'; import docker from './utils/DockerUtil'; var app = remote.require('app'); // main.js var MenuTemplate = fu...
Fix #702 : Cmd+0 reopen Kitematic window in Mac Signed-off-by: Mika Andrianarijaona <8f80b44968ea7b99a59587385bb3f599630f6150@tag-ip.com>
src/menutemplate.js
Fix #702 : Cmd+0 reopen Kitematic window in Mac
<ide><path>rc/menutemplate.js <ide> { <ide> label: 'Bring All to Front', <ide> selector: 'arrangeInFront:' <del> } <add> }, <add> { <add> type: 'separator' <add> }, <add> { <add> label: 'Kitematic', <add> accelerator: 'Cmd+0', <add> click: funct...
Java
apache-2.0
1e0194c75d5096de8c8557b3f64f9547470f3a09
0
Khyzad/PID-webservice,Khyzad/PID-webservice,HawaiiStateDigitalArchives/PID-webservice,HawaiiStateDigitalArchives/PID-webservice
package com.hida.model; import static com.hida.model.IdGenerator.Rng; import static com.hida.model.IdGenerator.Logger; import java.util.Set; import java.util.TreeSet; /** * An Id Generator that creates Pids primarily based on tokenType and * rootLength. * * @author lruffin */ public class AutoIdGenerator extends...
Minter/src/main/java/com/hida/model/AutoIdGenerator.java
package com.hida.model; import static com.hida.model.IdGenerator.Rng; import static com.hida.model.IdGenerator.Logger; import java.util.Set; import java.util.TreeSet; /** * An Id Generator that creates Pids primarily based on tokenType and * rootLength. * * @author lruffin */ public class AutoIdGenerator extends...
Correct AutoIdGenerator's calculatePermutations Since enums now have a String field directly associated with them we can logically say that the base is equal to the lengths of their Strings.
Minter/src/main/java/com/hida/model/AutoIdGenerator.java
Correct AutoIdGenerator's calculatePermutations
<ide><path>inter/src/main/java/com/hida/model/AutoIdGenerator.java <ide> @Override <ide> public long calculatePermutations() { <ide> // get the base of each character <del> int base = 0; <del> switch (TokenType) { <del> case DIGIT: <del> base = 10; <del> ...
Java
apache-2.0
5dc2654882da9f6831ec59ca2c2649b320335677
0
caskdata/coopr,caskdata/coopr,cdapio/coopr,cdapio/coopr,cdapio/coopr,caskdata/coopr,cdapio/coopr,quantiply-fork/coopr,quantiply-fork/coopr,quantiply-fork/coopr,caskdata/coopr,caskdata/coopr,quantiply-fork/coopr,cdapio/coopr
/** * Copyright 2012-2014, Continuuity, 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 ...
integration-testing/src/test/java/com/continuuity/test/input/ClusterReader.java
/** * Copyright 2012-2014, Continuuity, 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 ...
fix comment and remove unused line.
integration-testing/src/test/java/com/continuuity/test/input/ClusterReader.java
fix comment and remove unused line.
<ide><path>ntegration-testing/src/test/java/com/continuuity/test/input/ClusterReader.java <ide> import java.io.FileReader; <ide> import java.io.IOException; <ide> import java.text.SimpleDateFormat; <del>import java.util.Date; <ide> import java.util.List; <ide> import java.util.Set; <ide> <ide> public class ClusterRead...
Java
apache-2.0
f20c333900514b7ac919ab02e7f67828dbabde17
0
WilliamZapata/alluxio,madanadit/alluxio,Alluxio/alluxio,riversand963/alluxio,bf8086/alluxio,madanadit/alluxio,Reidddddd/mo-alluxio,riversand963/alluxio,maboelhassan/alluxio,PasaLab/tachyon,jswudi/alluxio,jsimsa/alluxio,Reidddddd/mo-alluxio,Reidddddd/alluxio,bf8086/alluxio,bf8086/alluxio,madanadit/alluxio,calvinjia/tach...
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
core/client/src/test/java/alluxio/hadoop/AbstractFileSystemTest.java
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
fix ALLUXIO-2036
core/client/src/test/java/alluxio/hadoop/AbstractFileSystemTest.java
fix ALLUXIO-2036
<ide><path>ore/client/src/test/java/alluxio/hadoop/AbstractFileSystemTest.java <ide> import alluxio.client.lineage.LineageContext; <ide> import alluxio.client.util.ClientTestUtils; <ide> <add>import org.apache.hadoop.fs.Path; <ide> import org.apache.hadoop.security.UserGroupInformation; <ide> import org.junit.After; <...
Java
mit
af4cf07be7cdf1266e3b4fc301ab71f95de33abe
0
Madura/SahanaInventoryManager,Madura/SahanaInventoryManager
home/madura/Documents/myprojects/SahanaInventoryManager/src/main/java/com/sahana/inventory/user/configuration/AppConfiguration.java
package com.sahana.inventory.user.configuration; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.config.annotation.EnableWebMvc; import org.springframework.web.servlet.config.annotation.ResourceHandlerRegis...
Delete AppConfiguration.java
home/madura/Documents/myprojects/SahanaInventoryManager/src/main/java/com/sahana/inventory/user/configuration/AppConfiguration.java
Delete AppConfiguration.java
<ide><path>ome/madura/Documents/myprojects/SahanaInventoryManager/src/main/java/com/sahana/inventory/user/configuration/AppConfiguration.java <del>package com.sahana.inventory.user.configuration; <del> <del>import org.springframework.context.annotation.ComponentScan; <del>import org.springframework.context.annotation.C...
JavaScript
agpl-3.0
549917cafd5d6653dc565bb3d26ff42c9f636828
0
golflima/hoplaJS,golflima/hoplaJS,golflima/hoplaJS,golflima/hoplaJS
/*! * _ _ _ ____ * | |__ ___ _ __ | | __ _ | / ___| * | '_ \ / _ \| '_ \| |/ _` |_ | \___ \ * | | | | (_) | |_) | | (_| | |_| |___) | * |_| |_|\___/| .__/|_|\__,_|\___/|____/ * |_| * * This file is part of hoplaJS. * See: <https:...
web/js/site.js
/*! * _ _ _ ____ * | |__ ___ _ __ | | __ _ | / ___| * | '_ \ / _ \| '_ \| |/ _` |_ | \___ \ * | | | | (_) | |_) | | (_| | |_| |___) | * |_| |_|\___/| .__/|_|\__,_|\___/|____/ * |_| * * This file is part of hoplaJS. * See: <https:...
Change URL size limits
web/js/site.js
Change URL size limits
<ide><path>eb/js/site.js <ide> $('#urlSizeProgress1').css('width', urlSize * 100 / 2048 + '%'); <ide> $('#urlSizeProgress2').css('width', '0%'); <ide> $('#urlSizeProgress3').css('width', '0%'); <del> } else if (urlSize <= 8192) { <del> ...
Java
lgpl-2.1
b88946e1d4a449cd9267dbff461aa4f15fff9dcc
0
ethaneldridge/vassal,ethaneldridge/vassal,ethaneldridge/vassal
/* * $Id$ * * Copyright (c) 2000-2003 by Rodney Kinney * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License (LGPL) as published by the Free Software Foundation. * * This library is distributed in the hope that it will be usefu...
src/VASSAL/configure/AutoConfigurer.java
/* * $Id$ * * Copyright (c) 2000-2003 by Rodney Kinney * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License (LGPL) as published by the Free Software Foundation. * * This library is distributed in the hope that it will be usefu...
Use Class.getConstructor().newInstance() instead of Class.newInstance() to trap errors thrown by ctor. git-svn-id: 3948e88432e1a59e1cb2bc472f8f957688004121@3926 67b53d14-2c14-4ace-a08f-0dab2b34000c
src/VASSAL/configure/AutoConfigurer.java
Use Class.getConstructor().newInstance() instead of Class.newInstance() to trap errors thrown by ctor.
<ide><path>rc/VASSAL/configure/AutoConfigurer.java <ide> import java.awt.Window; <ide> import java.beans.PropertyChangeEvent; <ide> import java.beans.PropertyChangeListener; <add>import java.io.File; <ide> import java.util.ArrayList; <ide> import java.util.HashMap; <ide> import java.util.List; <ide> import java.util.Ma...
Java
apache-2.0
de2beeeeeacfe21993eaf89191a30298b8ea9680
0
psoreide/bnd,mcculls/bnd,lostiniceland/bnd,joansmith/bnd,magnet/bnd,joansmith/bnd,xtracoder/bnd,mcculls/bnd,mcculls/bnd,xtracoder/bnd,lostiniceland/bnd,GEBIT/bnd,GEBIT/bnd,magnet/bnd,psoreide/bnd,lostiniceland/bnd,psoreide/bnd,magnet/bnd
package aQute.lib.io; import java.io.*; import java.net.*; import java.nio.*; import java.util.*; public class IO { public static void copy(InputStream in, OutputStream out) throws IOException { DataOutputStream dos = new DataOutputStream(out); copy(in, (DataOutput) dos); } public static void copy(InputStream...
aQute.libg/src/aQute/lib/io/IO.java
package aQute.lib.io; import java.io.*; import java.net.*; import java.nio.*; import java.util.*; public class IO { public static void copy(InputStream in, OutputStream out) throws IOException { DataOutputStream dos = new DataOutputStream(out); copy(in, (DataOutput) dos); } public static void copy(InputStream...
Added more convenience methods
aQute.libg/src/aQute/lib/io/IO.java
Added more convenience methods
<ide><path>Qute.libg/src/aQute/lib/io/IO.java <ide> return new String(out.toByteArray(), encoding); <ide> } <ide> <add> public static String collect(URL a) throws IOException { <add> return collect(a, "UTF-8"); <add> } <add> <ide> public static String collect(File a) throws IOException { <ide> return collect(a,...
Java
agpl-3.0
eeacd099a343ec0f03f73a3f4c2dcce21660c9a9
0
opensourceBIM/BIMserver,opensourceBIM/BIMserver,opensourceBIM/BIMserver
package org.bimserver.webservices.impl; /****************************************************************************** * Copyright (C) 2009-2019 BIMserver.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by...
BimServer/src/org/bimserver/webservices/impl/AuthServiceImpl.java
package org.bimserver.webservices.impl; /****************************************************************************** * Copyright (C) 2009-2019 BIMserver.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by...
validateAccount needs non-readonly session
BimServer/src/org/bimserver/webservices/impl/AuthServiceImpl.java
validateAccount needs non-readonly session
<ide><path>imServer/src/org/bimserver/webservices/impl/AuthServiceImpl.java <ide> <ide> @Override <ide> public SUser validateAccount(Long uoid, String token, String password) throws ServerException, UserException { <del> DatabaseSession session = getBimServer().getDatabase().createReadOnlySession(); <add> Database...
Java
apache-2.0
b25fb653b866a8d252ab98c70b42e69bb79b5ef5
0
CloudSlang/score,CloudSlang/score
/* * Copyright © 2014-2017 EntIT Software LLC, a Micro Focus company (L.P.) * * 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 ...
runtime-management/runtime-management-impl/src/main/java/io/cloudslang/runtime/impl/python/PythonExecutor.java
/* * Copyright © 2014-2017 EntIT Software LLC, a Micro Focus company (L.P.) * * 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 ...
python context filtering Signed-off-by: Levente Bonczidai <b67e84b40d3b81c04742dff60ed6ffa84c7a0258@hpe.com>
runtime-management/runtime-management-impl/src/main/java/io/cloudslang/runtime/impl/python/PythonExecutor.java
python context filtering
<ide><path>untime-management/runtime-management-impl/src/main/java/io/cloudslang/runtime/impl/python/PythonExecutor.java <ide> import io.cloudslang.runtime.impl.Executor; <ide> import org.apache.commons.lang.StringUtils; <ide> import org.apache.log4j.Logger; <del>import org.python.core.*; <add>import org.python.core.Py...
Java
apache-2.0
f5d307e426ae75f24f45949bc4da9aa3197a7ae0
0
C-Bish/elasticsearch,gingerwizard/elasticsearch,artnowo/elasticsearch,mjason3/elasticsearch,xuzha/elasticsearch,LeoYao/elasticsearch,i-am-Nathan/elasticsearch,avikurapati/elasticsearch,markharwood/elasticsearch,qwerty4030/elasticsearch,sneivandt/elasticsearch,davidvgalbraith/elasticsearch,mikemccand/elasticsearch,ESami...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
core/src/main/java/org/elasticsearch/action/bulk/BulkItemResponse.java
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
BulkItemResponse returns status code instead of status name In commit fafeb3a, we've refactored REST response handling logic and returned HTTP status names instead of HTTP status codes for bulk item responses. With this commit we restore the original behavior. Checked with @bleskes.
core/src/main/java/org/elasticsearch/action/bulk/BulkItemResponse.java
BulkItemResponse returns status code instead of status name
<ide><path>ore/src/main/java/org/elasticsearch/action/bulk/BulkItemResponse.java <ide> builder.startObject(opType); <ide> if (failure == null) { <ide> response.toXContent(builder, params); <del> builder.field(Fields.STATUS, response.status()); <add> builder.field(Fields...
Java
apache-2.0
4da44b22d717b474002ca58259c7b0ef2e04ba30
0
jasperhoogland/jautomata
package net.jhoogland.jautomata.semirings; import java.util.Arrays; /** * * This semiring is used by the shortest distance algorithm to determine the n shortest distances to a state. If the storePath * field has value true, then the paths are stored that led to the n shortest distances. * * @author Jasper Hoo...
jautomata/src/main/java/net/jhoogland/jautomata/semirings/KTropicalSemiring.java
package net.jhoogland.jautomata.semirings; import java.util.Arrays; /** * * This semiring is used by the shortest distance algorithm to determine the n shortest distances to a state. If the storePath * field has value true, then the paths are stored that led to the n shortest distances. * * @author Jasper Hoo...
Minor changes. Javadoc updated.
jautomata/src/main/java/net/jhoogland/jautomata/semirings/KTropicalSemiring.java
Minor changes. Javadoc updated.
<ide><path>automata/src/main/java/net/jhoogland/jautomata/semirings/KTropicalSemiring.java <ide> * <ide> * @author Jasper Hoogland <ide> * <del> * @param <T> <ide> */ <ide> <ide> public class KTropicalSemiring implements Semiring<BestPathWeights> <ide> this.storePath = storePath; <ide> } <ide> <del> @Suppres...
Java
agpl-3.0
8439e1f9b88bbb8423e9f696df0f32a4215533eb
0
ua-eas/kfs-devops-automation-fork,bhutchinson/kfs,ua-eas/kfs,ua-eas/kfs-devops-automation-fork,kuali/kfs,ua-eas/kfs-devops-automation-fork,quikkian-ua-devops/will-financials,quikkian-ua-devops/will-financials,UniversityOfHawaii/kfs,UniversityOfHawaii/kfs,quikkian-ua-devops/kfs,quikkian-ua-devops/will-financials,quikkia...
/* * Copyright 2007 The Kuali Foundation. * * Licensed under the Educational Community License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl1.php * * Unless required by app...
work/src/org/kuali/kfs/module/ld/dataaccess/impl/LaborDaoOjb.java
/* * Copyright 2007 The Kuali Foundation. * * Licensed under the Educational Community License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl1.php * * Unless required by app...
KULLAB-91: Develop the BaseFundsAccountStatus Balance Inquiry
work/src/org/kuali/kfs/module/ld/dataaccess/impl/LaborDaoOjb.java
KULLAB-91: Develop the BaseFundsAccountStatus Balance Inquiry
<ide><path>ork/src/org/kuali/kfs/module/ld/dataaccess/impl/LaborDaoOjb.java <ide> Object[] csf = null; <ide> Iterator<Object[]> calculatedSalaryFoundationTracker = getPersistenceBrokerTemplate().getReportQueryIteratorByQuery(query); <ide> while (calculatedSalaryFoundationTracker!=null && calcula...
JavaScript
mit
c93e0c02e3a33feb1d665711a5495fdb7c16ef57
0
danferth/DJ-wp-theme,danferth/DJ-wp-theme,danferth/Thomson-wp-theme,danferth/Thomson-wp-theme,danferth/DJ-wp-theme
//grab the url var protocol = window.location.protocol; var hostname = window.location.hostname; var url = protocol + "//" + hostname; //=====distributors page===== var distributors = angular.module('distributors', ['ngSanitize']); distributors.controller('distController', ['$scope', '$http', '$sce', function($scope, ...
assets/javascript/app.js
//grab the url var protocol = window.location.protocol; var hostname = window.location.hostname; var url = protocol + "//" + hostname; //=====distributors page===== var distributors = angular.module('distributors', ['ngSanitize']); distributors.controller('distController', ['$scope', '$http', '$sce', function($scope, ...
when user is directed to tech page from product the proper option is selected to no confusion on a blank select box
assets/javascript/app.js
when user is directed to tech page from product the proper option is selected to no confusion on a blank select box
<ide><path>ssets/javascript/app.js <ide> $http.get(url+'/wp-content/themes/TIC/assets/json/techlibrary.json').then(function(rslt){ <ide> $scope.techdata = rslt.data; <ide> <del>var productLineArray = []; <del> <del>for(var pl in $scope.techdata){ <del>productLineArray.push($scope.techdata[pl].subProductLine); ...
Java
bsd-2-clause
b7fa9c6eade5a8be7869a6831555c265020abf52
0
chototsu/MikuMikuStudio,chototsu/MikuMikuStudio,chototsu/MikuMikuStudio,chototsu/MikuMikuStudio
/* * Copyright (c) 2003-2005 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of ...
src/com/jme/math/FastMath.java
/* * Copyright (c) 2003-2005 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of ...
new spherical methods git-svn-id: 5afc437a751a4ff2ced778146f5faadda0b504ab@2400 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
src/com/jme/math/FastMath.java
new spherical methods
<ide><path>rc/com/jme/math/FastMath.java <ide> * functions. These are all used as static values and functions. <ide> * <ide> * @author Various <del> * @version $Id: FastMath.java,v 1.18 2005-09-20 19:33:37 renanse Exp $ <add> * @version $Id: FastMath.java,v 1.19 2005-10-03 05:37:04 renanse Exp $ <ide> */ <ide> <i...
Java
apache-2.0
dac27e8e26ad63db579515c2687c46a12cbaa7a3
0
caot/intellij-community,MER-GROUP/intellij-community,supersven/intellij-community,apixandru/intellij-community,suncycheng/intellij-community,TangHao1987/intellij-community,petteyg/intellij-community,kdwink/intellij-community,alphafoobar/intellij-community,ThiagoGarciaAlves/intellij-community,tmpgit/intellij-community,s...
/* * Copyright 2000-2012 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
plugins/android-designer/src/com/intellij/android/designer/propertyTable/editors/ResourceDialog.java
/* * Copyright 2000-2012 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
IDEA-93044
plugins/android-designer/src/com/intellij/android/designer/propertyTable/editors/ResourceDialog.java
IDEA-93044
<ide><path>lugins/android-designer/src/com/intellij/android/designer/propertyTable/editors/ResourceDialog.java <ide> import com.intellij.openapi.util.Disposer; <ide> import com.intellij.openapi.util.text.StringUtil; <ide> import com.intellij.openapi.vfs.VirtualFile; <add>import com.intellij.psi.PsiDirectory; <ide> impo...
Java
apache-2.0
341a0859c4abf46199d5207c3d4f482fb705829a
0
adjohnson916/incubator-groovy,yukangguo/incubator-groovy,antoaravinth/incubator-groovy,guangying945/incubator-groovy,groovy/groovy-core,jwagenleitner/incubator-groovy,paulk-asert/groovy,rlovtangen/groovy-core,rlovtangen/groovy-core,mariogarcia/groovy-core,taoguan/incubator-groovy,EPadronU/incubator-groovy,christoph-fri...
/* * Copyright 2003-2010 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 app...
src/main/org/codehaus/groovy/ant/Groovyc.java
/* * Copyright 2003-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 app...
GROOVY-2717: Groovyc ignores includeAntRuntime when not forked. git-svn-id: aa43ce4553b005588bb3cc6c16966320b011facb@19649 a5544e8c-8a19-0410-ba12-f9af4593a198
src/main/org/codehaus/groovy/ant/Groovyc.java
GROOVY-2717: Groovyc ignores includeAntRuntime when not forked.
<ide><path>rc/main/org/codehaus/groovy/ant/Groovyc.java <ide> /* <del> * Copyright 2003-2009 the original author or authors. <add> * Copyright 2003-2010 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you may not use this file except in complian...
Java
epl-1.0
876c5996173de83753a6a4759cb20397180203ed
0
stormc/hawkbit,stormc/hawkbit,eclipse/hawkbit,StBurcher/hawkbit,StBurcher/hawkbit,StBurcher/hawkbit,bsinno/hawkbit,bsinno/hawkbit,eclipse/hawkbit,bsinno/hawkbit,eclipse/hawkbit,stormc/hawkbit,eclipse/hawkbit
/** * Copyright (c) 2015 Bosch Software Innovations GmbH and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html ...
hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/filtermanagement/CustomTargetBeanQuery.java
/** * Copyright (c) 2015 Bosch Software Innovations GmbH and others. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html ...
Found another place where a NOT was missing Signed-off-by: Dominic Schabel <faee07a9f96c1dd8c20521161a739f01dd7bbc75@bosch-si.com>
hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/filtermanagement/CustomTargetBeanQuery.java
Found another place where a NOT was missing
<ide><path>awkbit-ui/src/main/java/org/eclipse/hawkbit/ui/filtermanagement/CustomTargetBeanQuery.java <ide> package org.eclipse.hawkbit.ui.filtermanagement; <ide> <ide> import static org.apache.commons.lang3.ArrayUtils.isEmpty; <add>import static org.eclipse.hawkbit.ui.utils.HawkbitCommonUtil.isNotNullOrEmpty; <add>im...
Java
apache-2.0
af660cdf2fc1a365b279eb6047fc5956e585cfb9
0
graphhopper/graphhopper,graphhopper/graphhopper,graphhopper/graphhopper,graphhopper/graphhopper
/* * Licensed to GraphHopper GmbH under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper GmbH licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not ...
core/src/test/java/com/graphhopper/routing/PathTest.java
/* * Licensed to GraphHopper GmbH under one or more contributor * license agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * * GraphHopper GmbH licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not ...
fix test
core/src/test/java/com/graphhopper/routing/PathTest.java
fix test
<ide><path>ore/src/test/java/com/graphhopper/routing/PathTest.java <ide> GHUtility.setSpeed(45, true, true, carAccessEnc, carAvSpeedEnc, graph.edge(4, 5).setDistance(5)).setKeyValues(createKV("name", "4-5")); <ide> GHUtility.setSpeed(90, true, true, carAccessEnc, carAvSpeedEnc, graph.edge(2, 3).setDista...
Java
mit
07ec1068746c2b9fc156309961eb973ecf91d427
0
ictrobot/Cubes,RedTroop/Cubes_2,ictrobot/Cubes,RedTroop/Cubes_2
package ethanjones.cubes.side.client; import ethanjones.cubes.core.platform.Compatibility; import ethanjones.cubes.core.system.Branding; import ethanjones.cubes.entity.living.player.Player; import ethanjones.cubes.side.common.Cubes; import ethanjones.cubes.world.CoordinateConverter; import ethanjones.cubes.world.stora...
core/src/ethanjones/cubes/side/client/ClientDebug.java
package ethanjones.cubes.side.client; import ethanjones.cubes.core.platform.Compatibility; import ethanjones.cubes.core.system.Branding; import ethanjones.cubes.side.common.Cubes; import ethanjones.cubes.world.CoordinateConverter; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.profiling.GLProfiler; imp...
ClientDebug Light
core/src/ethanjones/cubes/side/client/ClientDebug.java
ClientDebug Light
<ide><path>ore/src/ethanjones/cubes/side/client/ClientDebug.java <ide> <ide> import ethanjones.cubes.core.platform.Compatibility; <ide> import ethanjones.cubes.core.system.Branding; <add>import ethanjones.cubes.entity.living.player.Player; <ide> import ethanjones.cubes.side.common.Cubes; <ide> import ethanjones.cubes....
Java
mit
9970969c75630b5fda7f924afc910511ffd36532
0
InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service
package org.innovateuk.ifs.assessment.feedback.controller; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ObjectNode; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.innovateu...
ifs-web-service/ifs-assessment-service/src/main/java/org/innovateuk/ifs/assessment/feedback/controller/AssessmentFeedbackController.java
package org.innovateuk.ifs.assessment.feedback.controller; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.node.ObjectNode; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.innovateu...
IFS-6216 fixing error.
ifs-web-service/ifs-assessment-service/src/main/java/org/innovateuk/ifs/assessment/feedback/controller/AssessmentFeedbackController.java
IFS-6216 fixing error.
<ide><path>fs-web-service/ifs-assessment-service/src/main/java/org/innovateuk/ifs/assessment/feedback/controller/AssessmentFeedbackController.java <ide> import com.fasterxml.jackson.databind.node.ObjectNode; <ide> import org.apache.commons.logging.Log; <ide> import org.apache.commons.logging.LogFactory; <del>import org...
Java
mit
error: pathspec 'AdventOfCode/src/BinaryString.java' did not match any file(s) known to git
68fd093d616ba04a8d24ed16751bdcb5ddd4c8e7
1
melonhead901/programming-competition,melonhead901/programming-competition
import java.util.Scanner; /** * Created by kdonohue on 12/15/16. */ public class BinaryString { private String string; private final int requiredLength; private BinaryString(String string, int requiredLength) { this.string = string; this.requiredLength = requiredLength; } publi...
AdventOfCode/src/BinaryString.java
Day 15 part 1, for real
AdventOfCode/src/BinaryString.java
Day 15 part 1, for real
<ide><path>dventOfCode/src/BinaryString.java <add>import java.util.Scanner; <add> <add>/** <add> * Created by kdonohue on 12/15/16. <add> */ <add>public class BinaryString { <add> <add> private String string; <add> private final int requiredLength; <add> <add> private BinaryString(String string, int requiredLe...
Java
apache-2.0
fdcdf25ff5f5f6330ce1db4bcf05f2d3abeb86ba
0
pivotalsoftware/pivotal-cla,pivotalsoftware/pivotal-cla,pivotalsoftware/pivotal-cla,pivotalsoftware/pivotal-cla
/* * 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...
src/main/java/io/pivotal/cla/config/SessionConfig.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...
Require Redis Sessions
src/main/java/io/pivotal/cla/config/SessionConfig.java
Require Redis Sessions
<ide><path>rc/main/java/io/pivotal/cla/config/SessionConfig.java <ide> /** <ide> * @author Mark Paluch <ide> */ <del>@Profile(GithubClaProfiles.CLOUDFOUNDRY) <ide> @Configuration <ide> @Import(SessionAutoConfiguration.class) <ide> public class SessionConfig { <ide> <add> @Profile(GithubClaProfiles.CLOUDFOUNDRY) <ide...
Java
apache-2.0
60e4071a604aace79db7a172ff615c1275994f65
0
cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x
package org.springframework.web.servlet.handler; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.springframework.util.PathMatcher; import org.springframework.web.util.WebUtils; /** * Abstract base class for URL-mapped HandlerMappin...
src/org/springframework/web/servlet/handler/AbstractUrlHandlerMapping.java
package org.springframework.web.servlet.handler; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import javax.servlet.http.HttpServletRequest; import org.springframework.util.PathMatcher; import org.springframework.web.util.WebUtils; /** * Abstract base class for URL-mapped HandlerMappin...
polished log output git-svn-id: b619a0c99665f88f1afe72824344cefe9a1c8c90@228 fd5a2b45-1f63-4059-99e9-3c7cb7fd75c8
src/org/springframework/web/servlet/handler/AbstractUrlHandlerMapping.java
polished log output
<ide><path>rc/org/springframework/web/servlet/handler/AbstractUrlHandlerMapping.java <ide> */ <ide> protected Object getHandlerInternal(HttpServletRequest request) { <ide> String lookupPath = WebUtils.getLookupPathForRequest(request, this.alwaysUseFullPath); <del> logger.debug("Looking up handler for: " + lookupP...
Java
apache-2.0
285902493fdea62190aacd43dd79d67f7d376a96
0
argv-minus-one/fop,spepping/fop-cs,StrategyObject/fop,StrategyObject/fop,Distrotech/fop,argv-minus-one/fop,StrategyObject/fop,StrategyObject/fop,argv-minus-one/fop,spepping/fop-cs,spepping/fop-cs,spepping/fop-cs,Distrotech/fop,argv-minus-one/fop,Distrotech/fop,argv-minus-one/fop,Distrotech/fop,StrategyObject/fop
/* * Copyright 1999-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...
src/java/org/apache/fop/layoutmgr/LineLayoutManager.java
/* * Copyright 1999-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...
Observe line layout element lists, too. git-svn-id: 102839466c3b40dd9c7e25c0a1a6d26afc40150a@202426 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/fop/layoutmgr/LineLayoutManager.java
Observe line layout element lists, too.
<ide><path>rc/java/org/apache/fop/layoutmgr/LineLayoutManager.java <ide> } <ide> } <ide> knuthPar.endParagraph(); <add> ElementListObserver.observe(knuthPar, "line", null); <ide> } <ide> <ide> /**
JavaScript
apache-2.0
47fecf8342fe566858ef075776e5a0572c878f79
0
jkingdon/ghilbert,raphlinus/ghilbert,raphlinus/ghilbert,kryptine/ghilbert,kryptine/ghilbert,raphlinus/ghilbert,raphlinus/ghilbert,jkingdon/ghilbert
// <license> GH.min = function(x, y) { return x < y ? x : y; }; GH.max = function(x, y) { return x > y ? x : y; }; GH.abs = function(x) { return x >= 0 ? x : -x; }; GH.cursormin = function(c1, c2) { if (c1[0] === c2[0]) { return c1[1] < c2[1] ? c1 : c2; } return c1[0] < c2[0] ? c1 : ...
js/edit.js
// <license> GH.min = function(x, y) { return x < y ? x : y; }; GH.max = function(x, y) { return x > y ? x : y; }; GH.abs = function(x) { return x >= 0 ? x : -x; }; GH.cursormin = function(c1, c2) { if (c1[0] == c2[0]) return c1[1] < c2[1] ? c1 : c2; return c1[0] < c2[0] ? c1 : c2; }; GH.cursor...
JSLintify edit.js git-svn-id: 090da6488605dfa80d897e2ab24bbff42289b741@19 c014309e-2312-11df-8901-e16673284e38
js/edit.js
JSLintify edit.js
<ide><path>s/edit.js <ide> }; <ide> <ide> GH.cursormin = function(c1, c2) { <del> if (c1[0] == c2[0]) return c1[1] < c2[1] ? c1 : c2; <add> if (c1[0] === c2[0]) { <add> return c1[1] < c2[1] ? c1 : c2; <add> } <ide> return c1[0] < c2[0] ? c1 : c2; <ide> }; <ide> <ide> GH.cursormax = function(c1, c2...
JavaScript
isc
a308d86a439041afcc6dac39fb72e91fee4bf2a2
0
pevers/images-scraper
'use strict' var request = require('request') , cheerio = require('cheerio') , Promise = require('bluebird') , Nightmare = require('nightmare') , RateLimiter = require('limiter').RateLimiter , EventEmitter = require('events') , util = require('util'); function Scraper () { EventEmitter.call(this); } uti...
lib/google-images-scraper.js
'use strict' var request = require('request') , cheerio = require('cheerio') , Promise = require('bluebird') , Nightmare = require('nightmare') , RateLimiter = require('limiter').RateLimiter , EventEmitter = require('events') , util = require('util'); function Scraper () { EventEmitter.call(this); } uti...
removed console log statements
lib/google-images-scraper.js
removed console log statements
<ide><path>ib/google-images-scraper.js <ide> $.data(document, 'finished')) || $.data(document, 'timeout'); <ide> }) <ide> <del> .on('console', function(type, msg) { <del> console.log('msg ' + msg); <del> }) <del> <ide> .evaluate(function () { <ide> // get all the src's <ide> var results = []...
JavaScript
apache-2.0
69cd5df2c913ceac331dae16abcd21f0e2d44e73
0
fsteff/FlowMusic,fsteff/FlowMusic,fsteff/FlowMusic,fsteff/FlowMusic
/** * @author Fixl Stefan * Copyright 2017 Fixl Stefan */ //----------------------------------------------- CLASS PlayQueue --------------------------------------- /** * PlayQueue stores and manages the list of songs in the current playlistId/queue. * The PlayQueue instance is stored by Central - use Central.getP...
FlowMusicUI/js/models/Player.js
/** * @author Fixl Stefan * Copyright 2017 Fixl Stefan */ //----------------------------------------------- CLASS PlayQueue --------------------------------------- /** * PlayQueue stores and manages the list of songs in the current playlistId/queue. * The PlayQueue instance is stored by Central - use Central.getP...
little bugfix
FlowMusicUI/js/models/Player.js
little bugfix
<ide><path>lowMusicUI/js/models/Player.js <ide> * @returns the (new) current song (if not found the previous one) <ide> */ <ide> PlayQueue.prototype.playSong = function(song){ <add> if(this.songs.length > this.currentPos && this.songs[this.currentPos] != null) { <add> this.history.push(this.songs[this.curre...
Java
lgpl-2.1
21c5c1c0ad447cb5814c0204d9d6087620cc7e86
0
zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform
package org.fedorahosted.flies.rest.service; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.notNullValue; import java.net.URI; import javax.ws.rs.core.Response; import org.dbunit.operation.DatabaseOperation; import org.fedorahosted.fl...
flies-war/src/test/java/org/fedorahosted/flies/rest/service/DocumentsServiceSeamTest.java
package org.fedorahosted.flies.rest.service; import static org.hamcrest.MatcherAssert.assertThat; import static org.hamcrest.Matchers.is; import static org.hamcrest.Matchers.notNullValue; import java.net.URI; import javax.ws.rs.core.Response; import org.dbunit.operation.DatabaseOperation; import org.fedorahosted.fl...
test cleanup
flies-war/src/test/java/org/fedorahosted/flies/rest/service/DocumentsServiceSeamTest.java
test cleanup
<ide><path>lies-war/src/test/java/org/fedorahosted/flies/rest/service/DocumentsServiceSeamTest.java <ide> beforeTestOperations.add(new DataSetOperation( <ide> "org/fedorahosted/flies/test/model/DocumentsData.dbunit.xml", <ide> DatabaseOperation.CLEAN_INSERT)); <add> afterTestOperations.add(new Data...
Java
epl-1.0
f6212ff2274171e646318a4f65c776e25360b91c
0
floralvikings/jenjin
package com.jenjinstudios.world; import com.jenjinstudios.io.Message; import com.jenjinstudios.net.AuthClient; import com.jenjinstudios.world.io.WorldFileReader; import com.jenjinstudios.world.state.MoveState; import com.jenjinstudios.world.util.WorldClientMessageGenerator; import org.xml.sax.SAXException; import jav...
jenjin-world-client/src/main/java/com/jenjinstudios/world/WorldClient.java
package com.jenjinstudios.world; import com.jenjinstudios.io.Message; import com.jenjinstudios.net.AuthClient; import com.jenjinstudios.world.io.WorldFileReader; import com.jenjinstudios.world.state.MoveState; import com.jenjinstudios.world.util.WorldClientMessageGenerator; import org.xml.sax.SAXException; import jav...
Removed frivolous log statement.
jenjin-world-client/src/main/java/com/jenjinstudios/world/WorldClient.java
Removed frivolous log statement.
<ide><path>enjin-world-client/src/main/java/com/jenjinstudios/world/WorldClient.java <ide> * @param moveState The move state used to generate the request. <ide> */ <ide> protected void sendStateChangeRequest(MoveState moveState) { <del> LOGGER.log(Level.FINEST, "Sending state change request: {0} from {1}", <del> ...
Java
apache-2.0
7e096e07ff52c96e276b2fe19db87c88efe6cc99
0
HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase,HubSpot/hbase
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.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...
HBASE-22896 TestHRegion.testFlushMarkersWALFail is flaky (#551) * HBASE-22896 TestHRegion.testFlushMarkersWALFail is flaky * delete blank line
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java
HBASE-22896 TestHRegion.testFlushMarkersWALFail is flaky (#551)
<ide><path>base-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestHRegion.java <ide> String testName = "testMemstoreSizeAccountingWithFailedPostBatchMutate"; <ide> FileSystem fs = FileSystem.get(CONF); <ide> Path rootDir = new Path(dir + testName); <del> ChunkCreator.initialize(MemStoreLABImp...
Java
apache-2.0
d0c686a2773bbe6e151ddcf69c8c69f150b7a60c
0
WinRoad-NET/wrdocletbase
package net.winroad.wrdoclet.builder; import java.io.File; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Map.Entry; import...
src/main/java/net/winroad/wrdoclet/builder/AbstractDocBuilder.java
package net.winroad.wrdoclet.builder; import java.io.File; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Map.Entry; import...
fix array type issue bug: type "byte[]" will be processed as "byte"
src/main/java/net/winroad/wrdoclet/builder/AbstractDocBuilder.java
fix array type issue
<ide><path>rc/main/java/net/winroad/wrdoclet/builder/AbstractDocBuilder.java <ide> } <ide> } <ide> <del> return typeToProcess.qualifiedTypeName(); <add> return typeToProcess.toString(); <ide> } <ide> <ide> /*
Java
apache-2.0
21fd7a996a019a06d3d3c33407286bad1884adb7
0
reactor/reactor-netty,reactor/reactor-netty
/* * Copyright (c) 2011-2017 Pivotal Software Inc, All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
src/main/java/reactor/ipc/netty/channel/ChannelOperations.java
/* * Copyright (c) 2011-2017 Pivotal Software Inc, All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unles...
rework #176 with a simpler iteration until further API refining
src/main/java/reactor/ipc/netty/channel/ChannelOperations.java
rework #176 with a simpler iteration until further API refining
<ide><path>rc/main/java/reactor/ipc/netty/channel/ChannelOperations.java <ide> } <ide> } <ide> <del> final BiFunction<? super INBOUND, ? super OUTBOUND, ? extends Publisher<Void>> <del> handler; <del> final Channel channel; <del> final FluxReceive inbound; <del> final D...
Java
mit
e47e0235ba9509c5e6a5749c99efe79bc0d61efa
0
drexel-cs451-rbbtd/apologies
package edu.drexel.cs451_rbbtd.apologies.gui; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.ArrayList; public class PlayerSetup extends JFrame { private JFrame mainFrame; private JPanel controlPanel; private JButton start; private JButton cancel; private JCheckBox chec...
src/main/java/edu/drexel/cs451_rbbtd/apologies/gui/PlayerSetup.java
package edu.drexel.cs451_rbbtd.apologies.gui; import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.ArrayList; public class PlayerSetup extends JFrame { private JFrame mainFrame; private JPanel controlPanel; private JButton start; private JButton cancel; private JCheckBox chec...
modify start button so it launches the game board screen with selected pawns
src/main/java/edu/drexel/cs451_rbbtd/apologies/gui/PlayerSetup.java
modify start button so it launches the game board screen with selected pawns
<ide><path>rc/main/java/edu/drexel/cs451_rbbtd/apologies/gui/PlayerSetup.java <ide> <ide> start.addActionListener(new ActionListener() { <ide> public void actionPerformed(ActionEvent e) { <del> <del> System.out.println("START"); <del> System.out.println(c.check(checkGroup, rads, names)); <add> Bool...
JavaScript
mit
e23120f24dc89a6401b58cb02679df8534d11057
0
ritchie46/M-N-Kappa,ritchie46/M-N-Kappa
'use strict'; var DEBUG = false; // mkap namespace var mkap = (function () { //class function MomentKappa(cross_section, compressive_diagram, tensile_diagram) { this.cross_section = cross_section; this.compressive_diagram = compressive_diagram; this.tensile_diagram = tensile_diagram;...
M-N-Kappa/js/moment_kappa.js
'use strict'; var DEBUG = false; // mkap namespace var mkap = (function () { //class function MomentKappa(cross_section, compressive_diagram, tensile_diagram) { this.cross_section = cross_section; this.compressive_diagram = compressive_diagram; this.tensile_diagram = tensile_diagram;...
set up for solver change
M-N-Kappa/js/moment_kappa.js
set up for solver change
<ide><path>-N-Kappa/js/moment_kappa.js <ide> <ide> MomentKappa.prototype.solver = function (strain_top, strain, print) { <ide> /** <del> Return the .det_stress method several times and adapt the input untill the convergence criteria is met. <del> <del> /// <param name="strain_top" type="b...
JavaScript
mit
f2b6ef0e43664180922aaaa0abdb2b7f03cf0bbb
0
neocotic/jquery-jsonx
/** * Structure: * * element * = '[' tag-name ',' attributes ',' element-list ']' * | '[' tag-name ',' attributes ']' * | '[' tag-name ',' element-list ']' * | '[' tag-name ']' * | string * ; * tag-name * = string * ; * attributes * = '{' attribute-list '}' * | '{' '}' * ; * attr...
jquery.jsonx.js
/** * Structure: * * * * Usage: * * (Object) $(*).jsonx(); * (Object) $.jsonx(*); * (jQuery) $(*).jsonx('parse', ''|{}); * (jQuery) $.jsonx('parse', ''|{}); * (String) $(*).jsonx('stringify'); * (String) $.jsonx('stringify', {}); */ (function ($) { var methods = { init: function (value) { ...
first draft logic and code
jquery.jsonx.js
first draft logic and code
<ide><path>query.jsonx.js <ide> /** <ide> * Structure: <ide> * <del> * <add> * element <add> * = '[' tag-name ',' attributes ',' element-list ']' <add> * | '[' tag-name ',' attributes ']' <add> * | '[' tag-name ',' element-list ']' <add> * | '[' tag-name ']' <add> * | string <add> * ; <add> * tag-name <...
JavaScript
mit
1cbde8ee91a087c9f9e0ba91357efcc64d6aa7fd
0
Nodeventures/Nodeventures
"use strict"; var mongoose = require('mongoose'); // auto increment is used for the current hero id var autoIncrement = require('mongoose-auto-increment'); // If we have more different kind of heroes can add type. // Different heroes will start with different health, attack and defense points. var heroSchema = new m...
data/models/Hero.js
"use strict"; var mongoose = require('mongoose'); // auto increment is used for the current hero id var autoIncrement = require('mongoose-auto-increment'); // If we have more different kind of heroes can add type. // Different heroes will start with different health, attack and defense points. var heroSchema = new m...
Added currentHealth; Set base attack to 1 (fists)
data/models/Hero.js
Added currentHealth; Set base attack to 1 (fists)
<ide><path>ata/models/Hero.js <ide> y: {type: Number, default: 320}, <ide> map: {type: String, default: 'fields'} <ide> }, <add> currentHealth: {type: Number, required: true, default: 100}, <ide> health: {type: Number, required: true, default: 100}, <del> attack: {type: Number, required: t...
Java
mit
error: pathspec 'tinustris-parent/tinustris/src/test/java/nl/mvdr/tinustris/gui/GridGroupTest.java' did not match any file(s) known to git
504cf7125790e7a268d0287d9fb2383c1569bc6b
1
TinusTinus/game-engine
package nl.mvdr.tinustris.gui; import javafx.scene.control.Label; import nl.mvdr.tinustris.model.GameState; import org.junit.Assert; import org.junit.Test; /** * Test class for {@link GridGroup}. * * @author Martijn van de Rijdt */ public class GridGroupTest { /** Tests {@link GridGroup#render(Label, GameSt...
tinustris-parent/tinustris/src/test/java/nl/mvdr/tinustris/gui/GridGroupTest.java
Added a test case for GridGroup.
tinustris-parent/tinustris/src/test/java/nl/mvdr/tinustris/gui/GridGroupTest.java
Added a test case for GridGroup.
<ide><path>inustris-parent/tinustris/src/test/java/nl/mvdr/tinustris/gui/GridGroupTest.java <add>package nl.mvdr.tinustris.gui; <add> <add>import javafx.scene.control.Label; <add>import nl.mvdr.tinustris.model.GameState; <add> <add>import org.junit.Assert; <add>import org.junit.Test; <add> <add>/** <add> * Test class f...
Java
apache-2.0
f5b3ca6367f756f364394d033f4c55d982da352e
0
Mishiranu/Dashchan,Mishiranu/Dashchan,Mishiranu/Dashchan,Mishiranu/Dashchan
/* * Copyright 2014-2016 Fukurou Mishiranu * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
src/com/mishiranu/dashchan/ui/navigator/page/PostsPage.java
/* * Copyright 2014-2016 Fukurou Mishiranu * * 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 ...
Bug fix: update user post numbers set when thread loaded first time
src/com/mishiranu/dashchan/ui/navigator/page/PostsPage.java
Bug fix: update user post numbers set when thread loaded first time
<ide><path>rc/com/mishiranu/dashchan/ui/navigator/page/PostsPage.java <ide> // Thread was opened for the first time <ide> extra.cachedPosts = result.posts; <ide> extra.cachedPostItems.clear(); <del> for (ReadPostsTask.Patch patch : result.patches) extra.cachedPostItems.add(patch.postItem); <add> extra.user...
JavaScript
mit
59a794a4101206756c54f9a367c074f6a3555564
0
SAKryukov/vscode-markdown-to-html
"use strict"; module.exports = (md, options) => { const utility = require("./utility"); const autoNumberingParser = require("./autoNumbering.optionParser"); const autoNumbering = require("./autoNumbering"); const defaultOptions = { autoNumbering: { enable: false, ...
extension/id.toc.js
"use strict"; module.exports = (md, options) => { const utility = require("./utility"); const autoNumberingParser = require("./autoNumbering.optionParser"); const autoNumbering = require("./autoNumbering"); const defaultOptions = { autoNumbering: { enable: false, ...
Auto-numbering: added numbering to headings
extension/id.toc.js
Auto-numbering: added numbering to headings
<ide><path>xtension/id.toc.js <ide> const id = utility.slugify(contentToken.content, usedIds, options.thisExtensionSettings.headingIdPrefix); <ide> const level = utility.htmlHeadingLevel(token.tag); <ide> const content = autoNumberGenerator.generate(level, contentToken.content); <del...
Java
agpl-3.0
d2481fd77f39ad9af526026806d7e15013a214ad
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
a22d4878-2e5f-11e5-9284-b827eb9e62be
hello.java
a227dea6-2e5f-11e5-9284-b827eb9e62be
a22d4878-2e5f-11e5-9284-b827eb9e62be
hello.java
a22d4878-2e5f-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>a227dea6-2e5f-11e5-9284-b827eb9e62be <add>a22d4878-2e5f-11e5-9284-b827eb9e62be
Java
apache-2.0
958091ee8ab089d273674f7e0c221dab336febf9
0
napp-abledea/notbed-util
/** * */ package com.notbed.util; import java.io.Closeable; import java.sql.Connection; import org.apache.commons.logging.LogFactory; import com.notbed.util.mass.VoidEvaluator; /** * @author Alexandru Bledea * @since Sep 22, 2013 */ public class UClose { public static VoidEvaluator<Closeable> CLOSEABLE = new...
com.notbed.util/src/com/notbed/util/UClose.java
/** * */ package com.notbed.util; import java.io.Closeable; import java.sql.Connection; import java.sql.ResultSet; import java.sql.Statement; import org.apache.commons.logging.LogFactory; import com.notbed.util.mass.VoidEvaluator; /** * @author Alexandru Bledea * @since Sep 22, 2013 */ public class UClose { ...
not needed in java 7
com.notbed.util/src/com/notbed/util/UClose.java
not needed in java 7
<ide><path>om.notbed.util/src/com/notbed/util/UClose.java <ide> <ide> import java.io.Closeable; <ide> import java.sql.Connection; <del>import java.sql.ResultSet; <del>import java.sql.Statement; <ide> <ide> import org.apache.commons.logging.LogFactory; <ide> <ide> @Override <ide> protected void close(Closeable ob...
Java
mpl-2.0
c94df2d2630877d135c68fc88e3016e9c7ced341
0
CalebSLane/openelisglobal-core,pfschwartz/openelisglobal-core,openelisglobal/openelisglobal-core,CalebSLane/openelisglobal-core,pfschwartz/openelisglobal-core,phassoa/openelisglobal-core,openelisglobal/openelisglobal-core,phassoa/openelisglobal-core,phassoa/openelisglobal-core,pfschwartz/openelisglobal-core,openelisglo...
/* * The contents of this file are subject to the Mozilla Public License * Version 1.1 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" ...
app/src/us/mn/state/health/lims/plugin/PluginLoader.java
/* * The contents of this file are subject to the Mozilla Public License * Version 1.1 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" ...
Plugin loader does a better job of catching exceptions and logging errors https://www.pivotaltracker.com/story/show/94035198
app/src/us/mn/state/health/lims/plugin/PluginLoader.java
Plugin loader does a better job of catching exceptions and logging errors
<ide><path>pp/src/us/mn/state/health/lims/plugin/PluginLoader.java <ide> <ide> import org.apache.commons.io.IOUtils; <ide> import org.dom4j.*; <add>import us.mn.state.health.lims.common.exception.LIMSException; <add>import us.mn.state.health.lims.common.log.LogEvent; <ide> <ide> import javax.servlet.ServletContext; <...
Java
apache-2.0
59fe335f5fe8f6cc2500f141d0d78d584ee674f3
0
Skarlso/gocd,marques-work/gocd,varshavaradarajan/gocd,marques-work/gocd,varshavaradarajan/gocd,arvindsv/gocd,varshavaradarajan/gocd,tomzo/gocd,kierarad/gocd,bdpiparva/gocd,kierarad/gocd,naveenbhaskar/gocd,bdpiparva/gocd,arvindsv/gocd,arvindsv/gocd,ibnc/gocd,gocd/gocd,tomzo/gocd,naveenbhaskar/gocd,ibnc/gocd,tomzo/gocd,k...
/* * Copyright 2019 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
server/src/test-integration/java/com/thoughtworks/go/server/service/materials/PackageRepositoryServiceIntegrationTest.java
/* * Copyright 2018 ThoughtWorks, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Fixing flaky test. Test expected security to have been enabled was did not do so as part of its setup, hence was dependent on the order of execution of test suites
server/src/test-integration/java/com/thoughtworks/go/server/service/materials/PackageRepositoryServiceIntegrationTest.java
Fixing flaky test. Test expected security to have been enabled was did not do so as part of its setup, hence was dependent on the order of execution of test suites
<ide><path>erver/src/test-integration/java/com/thoughtworks/go/server/service/materials/PackageRepositoryServiceIntegrationTest.java <ide> /* <del> * Copyright 2018 ThoughtWorks, Inc. <add> * Copyright 2019 ThoughtWorks, Inc. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you...
Java
apache-2.0
d39f6b53104dcbb3bcdd015b73f4f5bb50486360
0
dreedyman/Rio,dreedyman/Rio,dreedyman/Rio
/* * Copyright to 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 applicabl...
rio-api/src/main/java/org/rioproject/opstring/ClassBundle.java
/* * Copyright to 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 applicabl...
Remove support for obsolete shared components
rio-api/src/main/java/org/rioproject/opstring/ClassBundle.java
Remove support for obsolete shared components
<ide><path>io-api/src/main/java/org/rioproject/opstring/ClassBundle.java <ide> * An artifact ID <ide> */ <ide> private String artifact; <del> <del> /** <del> * Collection of shared components. <del> */ <del> private final Map<String, String[]> sharedComponents = <del> Collections.syn...
Java
lgpl-2.1
4a36607b88c40641510819481d70f70c8486792b
0
xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform
/* * Copyright 2006, XpertNet SARL, and individual contributors as indicated * by the contributors.txt. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * the...
src/main/java/com/xpn/xwiki/plugin/charts/ChartingPlugin.java
/* * Copyright 2006, XpertNet SARL, and individual contributors as indicated * by the contributors.txt. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * the...
just a test git-svn-id: 50c93b9c2d9041e46610830dd7836bad08be8b2e@2224 f329d543-caf0-0310-9063-dda96c69346f
src/main/java/com/xpn/xwiki/plugin/charts/ChartingPlugin.java
just a test
<ide><path>rc/main/java/com/xpn/xwiki/plugin/charts/ChartingPlugin.java <ide> import java.lang.reflect.InvocationTargetException; <ide> import java.lang.reflect.Method; <ide> <add>/** <add> * TODO: Document this <add> * @author hritcu <add> * <add> */ <ide> public class ChartingPlugin extends XWikiDefaultPlugin implem...
Java
epl-1.0
e81fed24e6cf005b0eeb6c6ceb19fdfba98e2f83
0
rrimmana/birt-1,rrimmana/birt-1,rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt
/******************************************************************************* * Copyright (c) 2010 Actuate Corporation. * 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 availabl...
chart/org.eclipse.birt.chart.reportitem.ui/src/org/eclipse/birt/chart/reportitem/ui/ChartReportItemUIUtil.java
/******************************************************************************* * Copyright (c) 2010 Actuate Corporation. * 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 availabl...
Description: Add Java doc.
chart/org.eclipse.birt.chart.reportitem.ui/src/org/eclipse/birt/chart/reportitem/ui/ChartReportItemUIUtil.java
Description: Add Java doc.
<ide><path>hart/org.eclipse.birt.chart.reportitem.ui/src/org/eclipse/birt/chart/reportitem/ui/ChartReportItemUIUtil.java <ide> return Collections.emptyList( ); <ide> } <ide> <add> /** <add> * Refresh background including color and image. <add> * <add> * @param handle <add> * Item handle <add> * @pa...
JavaScript
apache-2.0
245e63f5a3d971402b984286a071234db7868fee
0
jdwfly/slc-ios,jdwfly/slc-android
var _osname = Ti.Platform.osname; var _debug = false; var _baseUrl = "http://www.lancasterbaptist.org/slc/json"; var _eventsUrl = "/events"; var _speakersUrl = "/speakers"; var _liveUrl = "/liveevents"; var _slcDB = Ti.Database.open('slcdb'); _slcDB.execute('CREATE TABLE IF NOT EXISTS events (nid INTEGER, title TEXT, e...
Resources/lib/globals.js
var _osname = Ti.Platform.osname; var _debug = false; var _baseUrl = "http://www.lancasterbaptist.org/slc/json"; var _eventsUrl = "/events"; var _speakersUrl = "/speakers"; var _liveUrl = "/liveevents"; var _slcDB = Ti.Database.open('slcdb'); _slcDB.execute('CREATE TABLE IF NOT EXISTS events (nid INTEGER, title TEXT, e...
fixed incorrect session order when multiple sessions are taught by a speaker.
Resources/lib/globals.js
fixed incorrect session order when multiple sessions are taught by a speaker.
<ide><path>esources/lib/globals.js <ide> exports.slcdbGetSessionsSpeaker = function(snid) { <ide> var results = []; <ide> _slcDB = Ti.Database.open('slcdb'); <del> var resultSet = _slcDB.execute('SELECT * FROM events WHERE eventtype="Session" AND speaker="'+snid+'"'); <add> var resultSet = _slcDB.execute('SELECT ...
Java
apache-2.0
13d38adcd63f81eb4eae33803971156aefe7e96e
0
BankingBoys/amos-ss17-proj7,BankingBoys/amos-ss17-proj7
package de.fau.amos.virtualledger.android.views.savings; import android.app.Activity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import java.util.List; import de.fau.amos.virtualledger.R; import de.f...
app/src/main/java/de/fau/amos/virtualledger/android/views/savings/SubgoalAdapter.java
package de.fau.amos.virtualledger.android.views.savings; import android.app.Activity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.TextView; import java.util.List; import de.fau.amos.virtualledger.R; import de.f...
fixed adorsys-todo: unused member
app/src/main/java/de/fau/amos/virtualledger/android/views/savings/SubgoalAdapter.java
fixed adorsys-todo: unused member
<ide><path>pp/src/main/java/de/fau/amos/virtualledger/android/views/savings/SubgoalAdapter.java <ide> <ide> public class SubgoalAdapter extends ArrayAdapter<SavingsAccountSubGoal> { <ide> <del> private Activity activity; <del> <ide> public SubgoalAdapter(Activity activity, int layout, List<SavingsAccountSubGoa...
JavaScript
mit
ee05eb51265eb5a558ccc57bd31f6f66a4a38bca
0
spreadshirt/rAppid.js-sprd
define(["js/ui/View", "js/core/Bus", "sprd/manager/ProductManager", "sprd/data/ImageService"], function (View, Bus, ProductManager, ImageService) { return View.inherit('sprd.view.ProductViewerClass', { defaults: { view: null, product: null, width: 300, height...
sprd/view/ProductViewerClass.js
define(["js/ui/View", "js/core/Bus", "sprd/manager/ProductManager", "sprd/data/ImageService"], function (View, Bus, ProductManager, ImageService) { return View.inherit('sprd.view.ProductViewerClass', { defaults: { view: null, product: null, width: 300, height...
fixed text editing for android
sprd/view/ProductViewerClass.js
fixed text editing for android
<ide><path>prd/view/ProductViewerClass.js <ide> <ide> _delegateEvent: function (e) { <ide> <del> var viewer = this.$.selectedConfigurationViewer; <del> if (viewer) { <del> viewer._down(e.domEvent, viewer._isGesture(e.domEvent) ? "gesture" : "move"); <del> } <del...
Java
mit
9f81170f02a64b14b54808478dbce51bf2837573
0
mmcdermo/cordova-pushnotifications,mmcdermo/cordova-pushnotifications,mmcdermo/cordova-pushnotifications,mmcdermo/cordova-pushnotifications,mmcdermo/cordova-pushnotifications
package com.plugin.gcm; import org.json.JSONException; import org.json.JSONObject; import android.annotation.SuppressLint; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Bundle;...
src/android/com/plugin/gcm/GCMIntentService.java
package com.plugin.gcm; import org.json.JSONException; import org.json.JSONObject; import android.annotation.SuppressLint; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.os.Bundle;...
Image test
src/android/com/plugin/gcm/GCMIntentService.java
Image test
<ide><path>rc/android/com/plugin/gcm/GCMIntentService.java <ide> } catch (NumberFormatException e) {} <ide> } <ide> <add> <ide> NotificationCompat.Builder mBuilder = <ide> new NotificationCompat.Builder(context) <ide> .setDefaults(defaults) <ide> .setSmallIcon(context.getApplicationIn...
Java
mpl-2.0
6b2ca5970ae6552074df97a68f3dce9f381f41f5
0
d-lopes/stock-facilitator,d-lopes/stock-facilitator,d-lopes/stock-facilitator
package de.dlopes.stocks.facilitator.data.util; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBoot...
src/test/java/de/dlopes/stocks/facilitator/data/util/YahooSymbolIsinMappingTest.java
package de.dlopes.stocks.facilitator.data.util; import static org.junit.Assert.*; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.boot.test.context.SpringBoot...
a few more testcases for YahooSymbilIsinMapping.java
src/test/java/de/dlopes/stocks/facilitator/data/util/YahooSymbolIsinMappingTest.java
a few more testcases for YahooSymbilIsinMapping.java
<ide><path>rc/test/java/de/dlopes/stocks/facilitator/data/util/YahooSymbolIsinMappingTest.java <ide> } <ide> <ide> @Test <add> public void testConvertToMapWithoutMapping() { <add> <add> // test data is not given on purpose! <add> <add> // run the test: <add> Map<Strin...
Java
apache-2.0
32fba5876c7bde7910099610b38ffe73b6575854
0
Mygraduate/Supervisor_Java,Mygraduate/Supervisor_Java
package com.graduate.api.college; import com.graduate.common.BaseController; import com.graduate.common.BaseJsonData; import com.graduate.system.college.model.College; import com.graduate.system.college.service.CollegeService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.sp...
src/main/java/com/graduate/api/college/CollegeController.java
package com.graduate.api.college; import com.graduate.common.BaseController; import com.graduate.common.BaseJsonData; import com.graduate.system.college.model.College; import com.graduate.system.college.service.CollegeService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.sp...
update
src/main/java/com/graduate/api/college/CollegeController.java
update
<ide><path>rc/main/java/com/graduate/api/college/CollegeController.java <ide> return data.ok(); <ide> }catch (Exception e){ <ide> e.printStackTrace(); <del> return data.fail(); <add> return data.fail(e.getMessage()); <ide> } <ide> } <ide> <ide> ...
JavaScript
mit
2a6a9a59d64bd2b0e0bb8c0dc4e5e4ceba237c98
0
silverbux/rsjs
63f84b0a-2e9d-11e5-b747-a45e60cdfd11
helloWorld.js
63ebf8b5-2e9d-11e5-9936-a45e60cdfd11
63f84b0a-2e9d-11e5-b747-a45e60cdfd11
helloWorld.js
63f84b0a-2e9d-11e5-b747-a45e60cdfd11
<ide><path>elloWorld.js <del>63ebf8b5-2e9d-11e5-9936-a45e60cdfd11 <add>63f84b0a-2e9d-11e5-b747-a45e60cdfd11
Java
apache-2.0
c41e90aa4a741cbab777f6136bdd202798755ccb
0
GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit
// Copyright (C) 2013 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
javatests/com/google/gerrit/acceptance/git/AbstractPushForReview.java
// Copyright (C) 2013 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
AbstractPushForReview: remove unused local variable c Change-Id: Ic7afc514716891af3ad69f859dbf0f9acca8364b
javatests/com/google/gerrit/acceptance/git/AbstractPushForReview.java
AbstractPushForReview: remove unused local variable c
<ide><path>avatests/com/google/gerrit/acceptance/git/AbstractPushForReview.java <ide> if (!url.endsWith("/")) { <ide> url += "/"; <ide> } <del> RevCommit c = createCommit(testRepo, "test commit\n\nLink: " + url + "id/" + changeId); <add> createCommit(testRepo, "test commit\n\nLink: " + url + "id/" +...
Java
apache-2.0
7acf63c43a6306e45c5e600c0d80e9de1c2ebe00
0
apache/xmlbeans,apache/xmlbeans,apache/xmlbeans
/* Copyright 2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
src/store/org/apache/xmlbeans/impl/store/Locale.java
/* Copyright 2004 The Apache Software Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
Revert DefaultQNameFactory changes. git-svn-id: 297cb4147f50b389680bb5ad136787e97b9148ae@720988 13f79535-47bb-0310-9956-ffa450edef68
src/store/org/apache/xmlbeans/impl/store/Locale.java
Revert DefaultQNameFactory changes.
<ide><path>rc/store/org/apache/xmlbeans/impl/store/Locale.java <ide> private static final class DefaultQNameFactory <ide> implements QNameFactory <ide> { <del> private QNameCache getCache() <del> { <del> return XmlBeans.getQNameCache(); <del> } <add> private QNameC...
Java
apache-2.0
fbac794eb4f807f20fca341832d5500ce38efcb3
0
CSchulz/arquillian-extension-warp,arquillian/arquillian-extension-warp,petrandreev/arquillian-extension-warp,arquillian/arquillian-extension-warp,CSchulz/arquillian-extension-warp
/** * JBoss, Home of Professional Open Source * Copyright 2012, 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 may not u...
impl/src/main/java/org/jboss/arquillian/warp/impl/client/execution/WarpContextImpl.java
/** * JBoss, Home of Professional Open Source * Copyright 2012, 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 may not u...
added JavaDoc to WarpContextImpl
impl/src/main/java/org/jboss/arquillian/warp/impl/client/execution/WarpContextImpl.java
added JavaDoc to WarpContextImpl
<ide><path>mpl/src/main/java/org/jboss/arquillian/warp/impl/client/execution/WarpContextImpl.java <ide> import org.jboss.arquillian.warp.impl.shared.ResponsePayload; <ide> import org.jboss.arquillian.warp.spi.observer.RequestObserverChainManager; <ide> <add>/** <add> * Context of Warp execution which makes available e...
JavaScript
mit
ad98f62c5d37589b38d49cebb7255a60a24f769b
0
node-modli/modli-dynamodb
const Promise = require('bluebird'); const _ = require('lodash'); import { tables } from './dynamo-data'; import { helpers } from './helpers'; let AWS = require('aws-sdk'); let DOC = require('dynamodb-doc'); /** * Class constructor * @class dynamodb */ export default class { constructor(config) { this.schemas...
src/index.js
const Promise = require('bluebird'); const _ = require('lodash'); import { tables } from './dynamo-data'; import { helpers } from './helpers'; let AWS = require('aws-sdk'); let DOC = require('dynamodb-doc'); /** * Class constructor * @class dynamodb */ export default class { constructor(config) { this.schemas...
Minor cleanup OoO for update
src/index.js
Minor cleanup OoO for update
<ide><path>rc/index.js <ide> update(hashObject, updatedValuesArray, paramVersion = false) { <ide> const version = (paramVersion === false) ? this.defaultVersion : paramVersion; <ide> <del> const keys = Object.keys(hashObject); <del> // Allows for HASH and possible RANGE key <del> keys.forEach((key) => {...
Java
mit
81f3d74477975f1698fb12851a0842ff31897ca8
0
mhogrefe/wheels
package mho.wheels.math; import mho.wheels.iterables.ExhaustiveProvider; import mho.wheels.iterables.IterableProvider; import mho.wheels.iterables.RandomProvider; import mho.wheels.ordering.Ordering; import mho.wheels.structures.Pair; import org.jetbrains.annotations.NotNull; import java.math.BigInteger; import stat...
src/test/java/mho/wheels/math/BinaryFractionDemos.java
package mho.wheels.math; import mho.wheels.iterables.ExhaustiveProvider; import mho.wheels.iterables.IterableProvider; import mho.wheels.iterables.RandomProvider; import mho.wheels.ordering.Ordering; import mho.wheels.structures.Pair; import org.jetbrains.annotations.NotNull; import java.math.BigInteger; import stat...
added multiply and shift demos
src/test/java/mho/wheels/math/BinaryFractionDemos.java
added multiply and shift demos
<ide><path>rc/test/java/mho/wheels/math/BinaryFractionDemos.java <ide> } <ide> } <ide> <add> private static void demoMultiply() { <add> initialize(); <add> Iterable<Pair<BinaryFraction, BinaryFraction>> ps = filter( <add> p -> { <add> long productExponent ...
Java
apache-2.0
error: pathspec 'src/test/java/org/howardism/fpjava/ClosureTests.java' did not match any file(s) known to git
820ecc926435821904f99536d0d3ee2b7721350e
1
howardabrams/fp-for-java
/* * Copyright (c) 2012, Howard Abrams All rights reserved. * * 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...
src/test/java/org/howardism/fpjava/ClosureTests.java
Adding the start of some closure tests.
src/test/java/org/howardism/fpjava/ClosureTests.java
Adding the start of some closure tests.
<ide><path>rc/test/java/org/howardism/fpjava/ClosureTests.java <add>/* <add> * Copyright (c) 2012, Howard Abrams All rights reserved. <add> * <add> * Licensed to the Apache Software Foundation (ASF) under one or more <add> * contributor license agreements. See the NOTICE file distributed with this <add> * work for add...
JavaScript
mit
d747999449cc0edd2508986b8a31a2860bafc37d
0
BrightcoveLearning/Brightcove-API-References,BrightcoveLearning/Brightcove-API-References
// Create a Standard Live Job /** * @api {post} /v1/jobs Create a Live Job * @apiName Create a Live Job * @apiGroup Live_Jobs * @apiVersion 1.0.0 * * @apiDescription Create a live stream * * @apiHeader {String} Content-Type: application/json * @apiHeader {String} X-API-KEY X-API-KEY: {APIKey} * * @apiParam ...
live-api/v1/src/jobs.js
// Create a Standard Live Job /** * @api {post} /v1/jobs Create a Live Job * @apiName Create a Live Job * @apiGroup Live_Jobs * @apiVersion 1.0.0 * * @apiDescription Create a live stream * * @apiHeader {String} Content-Type: application/json * @apiHeader {String} X-API-KEY X-API-KEY: {APIKey} * * @apiParam ...
add new field to create job method
live-api/v1/src/jobs.js
add new field to create job method
<ide><path>ive-api/v1/src/jobs.js <ide> * @apiParam (Request Body Fields) {Number} [encryption.rotate_every=10] Interval for key rotation in video segments <ide> * @apiParam (Request Body Fields) {String} [encryption.external_url] The URL for the external encryption key - this field is required if you specify `type` ...
JavaScript
mit
1ff61b06507a65ebed9da1256284f13df1dd3ccd
0
modulexcite/dancer.js,ngokevin/dancer.js,kyroskoh/dancer.js,hoboman313/dancer.js,suryasingh/dancer.js,kyroskoh/dancer.js,ngokevin/dancer.js,suryasingh/dancer.js,hoboman313/dancer.js,jsantell/dancer.js,modulexcite/dancer.js
(function() { var adapter = function ( dancer ) { this.dancer = dancer; this.audio = new Audio(); this.loaded = false; }; adapter.prototype = { load : function ( path ) { var _this = this; this.audio.src = path; this.audio.addEventListener( 'loadedmetadata', function( e ) { ...
src/adapterMoz.js
(function() { var adapter = function ( dancer ) { this.dancer = dancer; this.audio = new Audio(); this.loaded = false; }; adapter.prototype = { load : function ( path ) { var _this = this; this.audio.src = path; this.audio.addEventListener( 'loadedmetadata', function( e ) { ...
Use Mozilla's audio object for current time rather than event's
src/adapterMoz.js
Use Mozilla's audio object for current time rather than event's
<ide><path>rc/adapterMoz.js <ide> }, <ide> <ide> getTime : function () { <del> return this.time; <add> return this.audio.currentTime; <ide> }, <ide> <ide> update : function ( e ) { <ide> this.signal[ i ] = ( e.frameBuffer[ 2 * i ] + e.frameBuffer[ 2 * i + 1 ] ) / 2; <ide> } <id...
JavaScript
apache-2.0
cb8a98d115be479bb72a50618f1e2c570b6b4924
0
TracklistMe/client,TracklistMe/client,TracklistMe/client
module.exports = { angular: { files: [{ expand: true, src: "**", cwd: 'bower_components/bootstrap/fonts', dest: "angular/fonts" }, { expand: true, src: "**", cwd: 'bower_components/videogular/', dest: "an...
grunt/copy.js
module.exports = { angular: { files: [{ expand: true, src: "**", cwd: 'bower_components/bootstrap/fonts', dest: "angular/fonts" }, { expand: true, src: "**", cwd: 'bower_components/videogular/', dest: "an...
again sparkline
grunt/copy.js
again sparkline
<ide><path>runt/copy.js <ide> }, { <ide> expand: true, <ide> src: "**", <del> cwd: 'bower_components/jquery.sparkline/dist', <add> cwd: 'bower_components/jquery.sparkline/dist/', <ide> dest: "angular/bower_components/jquery.sparkline/dist" <ide> ...
Java
mit
8e58273fbe489dc4faf2339b9616a5ef16ef1d6b
0
t28hub/RxWeather
package com.t28.rxweather.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.annotation.JsonDeseri...
app/src/main/java/com/t28/rxweather/model/Forecast.java
package com.t28.rxweather.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder; import com.t28.rxweather.request.Forec...
Forecast#toString()の実装追加
app/src/main/java/com/t28/rxweather/model/Forecast.java
Forecast#toString()の実装追加
<ide><path>pp/src/main/java/com/t28/rxweather/model/Forecast.java <ide> <ide> import com.fasterxml.jackson.annotation.JsonIgnoreProperties; <ide> import com.fasterxml.jackson.annotation.JsonProperty; <add>import com.fasterxml.jackson.core.JsonProcessingException; <add>import com.fasterxml.jackson.databind.ObjectMapper...
Java
mit
f4a828e6752e92ecb168976960dcf26cd949ac08
0
Nanopublication/nanopub-java,Nanopublication/nanopub-java
package org.nanopub.extra.server; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.List; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; ...
src/main/java/org/nanopub/extra/server/NanopubServerUtils.java
package org.nanopub.extra.server; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.Charset; import java.util.ArrayList; import java.util.List; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; ...
Update server list
src/main/java/org/nanopub/extra/server/NanopubServerUtils.java
Update server list
<ide><path>rc/main/java/org/nanopub/extra/server/NanopubServerUtils.java <ide> <ide> static { <ide> // Hard-coded server instances: <del> //bootstrapServerList.add("http://np.inn.ac/"); <ide> bootstrapServerList.add("http://server.nanopubs.lod.labs.vu.nl/"); <ide> bootstrapServerList.add("http://130.60.24.146:...
JavaScript
mit
6301b3482c433fceeea2ee7d73c0fc4cdd254163
0
ggonzale/jstat,smarden1/jstat,JeebsM/jstat,akrawitz/jstat,JeebsM/jstat,cmpolis/jstat,ggonzale/jstat,jstat/jstat,jamescgibson/jstat,NorthDecoder/jstat,NorthDecoder/jstat,akrawitz/jstat,smarden1/jstat,jstat/jstat
(function( jStat, Math ) { // generate all distribution instance methods (function( list ) { for ( var i = 0; i < list.length; i++ ) (function( func ) { // distribution instance method jStat[ func ] = function( a, b, c ) { if (!( this instanceof arguments.callee )) return new arguments.callee( a, b, c ); th...
src/distribution.js
(function( jStat, Math ) { // generate all distribution instance methods (function( list ) { for ( var i = 0; i < list.length; i++ ) (function( func ) { // distribution instance method jStat[ func ] = function( a, b, c ) { if (!( this instanceof arguments.callee )) return new arguments.callee( a, b, c ); th...
small spacing fixes
src/distribution.js
small spacing fixes
<ide><path>rc/distribution.js <ide> }, <ide> <ide> variance : function( alpha, beta ) { <del> return ( alpha * beta ) / ( Math.pow( alpha + beta, 2 ) * ( alpha + beta + 1 ) ); <add> return ( alpha * beta ) / ( Math.pow( alpha + beta, 2 ) * ( alpha + beta + 1 )); <ide> } <ide> }); <ide> <ide> }, <ide> <ide> in...
JavaScript
mit
f2be8703fa2e4157c2995aaf81681637ed37d8c3
0
brendannee/gtfs-to-html,BlinkTagInc/gtfs-to-html,BlinkTagInc/gtfs-to-html,brendannee/gtfs-to-html
const _ = require('lodash'); const gtfs = require('gtfs'); const moment = require('moment'); const fileUtils = require('./file-utils'); const formatters = require('./formatters'); const geoJSONUtils = require('./geojson-utils'); const timeUtils = require('./time-utils'); const { version } = require('../package.json')...
lib/utils.js
const _ = require('lodash'); const gtfs = require('gtfs'); const moment = require('moment'); const fileUtils = require('./file-utils'); const formatters = require('./formatters'); const geoJSONUtils = require('./geojson-utils'); const timeUtils = require('./time-utils'); const { version } = require('../package.json')...
Handle invalid stops
lib/utils.js
Handle invalid stops
<ide><path>ib/utils.js <ide> <ide> if (stops.length === 0) { <ide> config.logWarning(`No stop found for agency_key=${timetable.agency_key}, stop_id=${stopId}`); <add> return null; <ide> } <ide> <ide> const stop = _.first(stops); <ide> return stop; <ide> })); <ide> <del> const formattedS...
Java
apache-2.0
d9acd2a2f1f41f2d51cff25283a6dc8650ae03db
0
MaJin1996/zstack,HeathHose/zstack,zstackorg/zstack,Alvin-Lau/zstack,liningone/zstack,zxwing/zstack-1,zstackio/zstack,AlanJinTS/zstack,liningone/zstack,MatheMatrix/zstack,camilesing/zstack,camilesing/zstack,HeathHose/zstack,winger007/zstack,WangXijue/zstack,AlanJinTS/zstack,zxwing/zstack-1,liningone/zstack,AlanJager/zst...
package org.zstack.core.cloudbus; import org.apache.commons.lang.StringUtils; import org.zstack.header.exception.CloudRuntimeException; import org.zstack.header.message.GsonTransient; import org.zstack.header.message.NeedJsonSchema; import org.zstack.header.message.NoJsonSchema; import org.zstack.header.search.Invento...
core/src/main/java/org/zstack/core/cloudbus/MessageJsonSchemaBuilder.java
package org.zstack.core.cloudbus; import org.apache.commons.lang.StringUtils; import org.zstack.header.exception.CloudRuntimeException; import org.zstack.header.message.GsonTransient; import org.zstack.header.message.NeedJsonSchema; import org.zstack.header.message.NoJsonSchema; import org.zstack.header.search.Invento...
Add a null pointer check for https://github.com/zxwing/premium/issues/1387 Signed-off-by: David Lee <15c338f3b79a63a0d5423e9c6562cd312918fe74@gmail.com>
core/src/main/java/org/zstack/core/cloudbus/MessageJsonSchemaBuilder.java
Add a null pointer check
<ide><path>ore/src/main/java/org/zstack/core/cloudbus/MessageJsonSchemaBuilder.java <ide> } <ide> <ide> private static boolean isObjectNeedSchema(Object obj) { <del> return obj.getClass().isAnnotationPresent(Inventory.class) || obj.getClass().isAnnotationPresent(NeedJsonSchema.class); <add> retur...
Java
apache-2.0
5f5823d35ab944c49579ed9ab4873e4bcca74770
0
apache/commons-validator,apache/commons-validator,apache/commons-validator
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.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 ...
Use Java 5 for each loop
src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java
Use Java 5 for each loop
<ide><path>rc/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java <ide> import java.util.Date; <ide> import java.util.HashMap; <ide> import java.util.HashSet; <del>import java.util.Iterator; <ide> import java.util.Locale; <ide> import java.util.Map; <add>import java.util.Map.Entry; <ide> import jav...