lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
JavaScript
mit
42b1ddbc5d898a8948c8be0c324ca99b7126c08e
0
antsouchlos/MUN_Platform_Web,antsouchlos/MUN_Platform_Web,antsouchlos/MUN_Platform_Web,antsouchlos/MUN_Platform_Web,antsouchlos/MUN_Platform_Web
//takes the the text of a select-option as an argument and returns only the relevant part for download (only the resolution name and topic - without the id) function getRelevant(itemValue) { var result = ""; var writing = false; for (i = 0; i < itemValue.length; i++) { if (!writing) { ...
public/assets/js/site_specific/staff.js
//takes the the text of a select-option as an argument and returns only the relevant part for download (only the resolution name and topic - without the id) function getRelevant(itemValue) { var result = ""; var writing = false; for (i = 0; i < itemValue.length; i++) { if (!writing) { ...
removed debug messaged
public/assets/js/site_specific/staff.js
removed debug messaged
<ide><path>ublic/assets/js/site_specific/staff.js <ide> var committee = getCommittee(relevant); <ide> var resName = getName(relevant); <ide> var resTopic = getTopic(relevant); <del> <del> alert(committee); <del> alert(resName); <del> alert(resTopic); <ide> <ide> ...
JavaScript
mit
14dcfb10d971e69539e91bba9371ae0f482eed8c
0
CoursesPlus/CoursesPlus,CoursesPlus/CoursesPlus
var disabledComponentList = []; function saveChanges() { cpal.storage.setKey("disabledComponents", disabledComponentList, function() { console.log("Saved changes!"); }); } function createList(sortedComponents, $ulToAppendTo, checkList, checkPresence, clickEvent) { //var sortedComponents = window.components; for (...
js/options.js
var disabledComponentList = []; function saveChanges() { cpal.storage.setKey("disabledComponents", disabledComponentList, function() { console.log("Saved changes!"); }); } function createList(sortedComponents, $ulToAppendTo, checkList, checkPresence, clickEvent) { //var sortedComponents = window.components; for (...
Fix removing services not working right
js/options.js
Fix removing services not working right
<ide><path>s/options.js <ide> handleServicePart2(index, thisService); <ide> } <ide> } else { <add> var componentIndex = $(this).attr("data-index"); <ide> cpal.storage.getKey("services", function(result) { <ide> serviceList = ($.isArray(result) ? result : []); <del> serviceList.splice(serv...
Java
apache-2.0
59280f1df6caa4e302ed11926fd253d2c5544efb
0
marcust/stagemonitor,sdgdsffdsfff/stagemonitor,glamarre360/stagemonitor,elevennl/stagemonitor,marcust/stagemonitor,trampi/stagemonitor,stagemonitor/stagemonitor,sdgdsffdsfff/stagemonitor,glamarre360/stagemonitor,hexdecteam/stagemonitor,glamarre360/stagemonitor,stagemonitor/stagemonitor,marcust/stagemonitor,elevennl/sta...
package org.stagemonitor.collector.core; import com.codahale.metrics.*; import com.codahale.metrics.graphite.Graphite; import com.codahale.metrics.graphite.GraphiteReporter; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.stagemonitor.collector.core.metrics.SortedTableLo...
stagemonitor-collector/stagemonitor-collector-core/src/main/java/org/stagemonitor/collector/core/StageMonitorApplicationContext.java
package org.stagemonitor.collector.core; import com.codahale.metrics.JmxReporter; import com.codahale.metrics.Metered; import com.codahale.metrics.Metric; import com.codahale.metrics.MetricFilter; import com.codahale.metrics.MetricRegistry; import com.codahale.metrics.SharedMetricRegistries; import com.codahale.metric...
added MetricsWithCountFilter to JMX reporter
stagemonitor-collector/stagemonitor-collector-core/src/main/java/org/stagemonitor/collector/core/StageMonitorApplicationContext.java
added MetricsWithCountFilter to JMX reporter
<ide><path>tagemonitor-collector/stagemonitor-collector-core/src/main/java/org/stagemonitor/collector/core/StageMonitorApplicationContext.java <ide> package org.stagemonitor.collector.core; <ide> <del>import com.codahale.metrics.JmxReporter; <del>import com.codahale.metrics.Metered; <del>import com.codahale.metrics.Me...
Java
apache-2.0
4b533d34d94973060889daf2181d51eee86fadef
0
sarl/sarl,sarl/sarl,sarl/sarl,sarl/sarl,sarl/sarl,sarl/sarl
/* * $Id$ * * SARL is an general-purpose agent programming language. * More details on http://www.sarl.io * * Copyright (C) 2014-2020 the original authors 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 ma...
main/coreplugins/io.sarl.m2e/src/io/sarl/m2e/config/SARLProjectConfigurator.java
/* * $Id$ * * SARL is an general-purpose agent programming language. * More details on http://www.sarl.io * * Copyright (C) 2014-2020 the original authors 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 ma...
[m2e] Change the Eclipse plugin configuration sequence. see #979 Signed-off-by: Stéphane Galland <23860b554af9116d4237121086bd6767cdd4ff4b@arakhne.org>
main/coreplugins/io.sarl.m2e/src/io/sarl/m2e/config/SARLProjectConfigurator.java
[m2e] Change the Eclipse plugin configuration sequence.
<ide><path>ain/coreplugins/io.sarl.m2e/src/io/sarl/m2e/config/SARLProjectConfigurator.java <ide> } <ide> } <ide> <add> /** Replies if the given project facade is pointing an Eclipe plugin. <add> * <add> * @param facade the maven project facade. <add> * @return {@code true} if the facade is for an Eclipse plugin....
JavaScript
apache-2.0
d777c732613f5c61b5bccf8bd18cedcc65209129
0
weitzj/closure-compiler,weitzj/closure-compiler
/* * Copyright 2011 PicNet Pty Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
externs/w3c_indexeddb.js
/* * Copyright 2011 PicNet Pty Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
Update IDBTransaction.prototype.mode to reflect that the spec is changing R=venkatgv DELTA=1 (0 added, 0 deleted, 1 changed) Revision created by MOE tool push_codebase. MOE_MIGRATION=5984 git-svn-id: 818616af560c21f974e3119d89e3310384da871a@2401 b0f006be-c8cd-11de-a2e8-8d36a3108c74
externs/w3c_indexeddb.js
<ide><path>xterns/w3c_indexeddb.js <ide> webkitIDBTransaction.VERSION_CHANGE; <ide> <ide> /** <del> * @type {number} <add> * @type {number|string} <ide> * @const <ide> */ <ide> IDBTransaction.prototype.mode;
Java
apache-2.0
2671dc5fb248b722d5b86ebbabe69dbde5d58dfb
0
geordie3535/Sunshine
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
app/src/main/java/com/example/android/sunshine/app/ForecastFragment.java
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
3.01 Adding Toast and OnItemClicks onItemClickListener , onItemClick and Toast
app/src/main/java/com/example/android/sunshine/app/ForecastFragment.java
3.01 Adding Toast and OnItemClicks onItemClickListener , onItemClick and Toast
<ide><path>pp/src/main/java/com/example/android/sunshine/app/ForecastFragment.java <ide> import android.view.MenuItem; <ide> import android.view.View; <ide> import android.view.ViewGroup; <add>import android.widget.AdapterView; <ide> import android.widget.ArrayAdapter; <ide> import android.widget.ListView; <add>import ...
JavaScript
mit
7a2e7751726370fdc673f6d692972425b56ce06d
0
pimschaaf/dpi-grunt
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), concat: { dist: { src: [ 'js/functions.js', 'js/ready.js' ], dest: '../assets/js/main.concat.js' ...
concat/gruntfile.js
module.exports = function(grunt) { grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), concat: { dist: { src: [ 'js/functions.js', 'js/ready.js' ], dest: '../assets/js/main.concat.js' ...
Update gruntfile.js
concat/gruntfile.js
Update gruntfile.js
<ide><path>oncat/gruntfile.js <ide> }, <ide> watch: { //watch task <ide> js: { <del> files: ['../assets/js/main.concat.js'], <add> files: ['<%= jshint.files %>'], <ide> tasks: ['jshint', 'concat'] <ide> }, <add> livereload:...
Java
apache-2.0
7e04c2f6121438dd9966c327785b90c24b41cdff
0
gianpaj/mongo-java-driver,jyemin/mongo-java-driver,rozza/mongo-java-driver,kay-kim/mongo-java-driver,jyemin/mongo-java-driver,jsonking/mongo-java-driver,rozza/mongo-java-driver,jsonking/mongo-java-driver,PSCGroup/mongo-java-driver
/* * Copyright (c) 2008 - 2014 MongoDB Inc. <http://mongodb.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
driver-compat/src/test/unit/com/mongodb/DBCollectionTest.java
/* * Copyright (c) 2008 - 2014 MongoDB Inc. <http://mongodb.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
remove unused import
driver-compat/src/test/unit/com/mongodb/DBCollectionTest.java
remove unused import
<ide><path>river-compat/src/test/unit/com/mongodb/DBCollectionTest.java <ide> import org.bson.types.MaxKey; <ide> import org.bson.types.MinKey; <ide> import org.bson.types.ObjectId; <del>import org.junit.Ignore; <ide> import org.junit.Test; <ide> import org.mongodb.Document; <ide>
Java
apache-2.0
error: pathspec 'chapter_009/src/main/java/ru/job4j/concurrent/ConsoleProgress.java' did not match any file(s) known to git
016f6c7fdd839192fa9793e3fcf44dddee730494
1
IvanBelyaev/ibelyaev,IvanBelyaev/ibelyaev,IvanBelyaev/ibelyaev
package ru.job4j.concurrent; /** * ConsoleProgress. * * @author Ivan Belyaev * @version 1.0 * @since 12.05.2020 */ public class ConsoleProgress implements Runnable { /** * Simulates a download. */ @Override public void run() { final String[] symbols = {"—", "\\", "|", "/"}; ...
chapter_009/src/main/java/ru/job4j/concurrent/ConsoleProgress.java
3. Прерывание нити [#283642]
chapter_009/src/main/java/ru/job4j/concurrent/ConsoleProgress.java
3. Прерывание нити [#283642]
<ide><path>hapter_009/src/main/java/ru/job4j/concurrent/ConsoleProgress.java <add>package ru.job4j.concurrent; <add> <add>/** <add> * ConsoleProgress. <add> * <add> * @author Ivan Belyaev <add> * @version 1.0 <add> * @since 12.05.2020 <add> */ <add>public class ConsoleProgress implements Runnable { <add> /** <add> ...
Java
mit
ef2aa76a86d4cdb0b7baf13267829005773874b8
0
peterjosling/scroball
package com.peterjosling.scroball; import android.app.AlertDialog; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.sup...
app/src/main/java/com/peterjosling/scroball/MainActivity.java
package com.peterjosling.scroball; import android.app.AlertDialog; import android.content.Intent; import android.content.SharedPreferences; import android.os.Bundle; import android.support.design.widget.TabLayout; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.sup...
Clean up MainActivity • Remove redundant casts • Reformat
app/src/main/java/com/peterjosling/scroball/MainActivity.java
Clean up MainActivity
<ide><path>pp/src/main/java/com/peterjosling/scroball/MainActivity.java <ide> private ScroballApplication application; <ide> <ide> /** <del> * The {@link android.support.v4.view.PagerAdapter} that will provide <del> * fragments for each of the sections. We use a <del> * {@link FragmentPagerAdapter} derivativ...
Java
lgpl-2.1
1d66bd0c57c3b3a7f36b34ae3a7d931b799d61dc
0
johanneslerch/heros
package heros.ide.edgefunc.fieldsens; import heros.ide.edgefunc.EdgeFunction; import java.util.HashSet; import java.util.Set; import com.google.common.base.Joiner; import com.google.common.collect.Sets; public class OverwriteFunction<Field> extends ChainableEdgeFunction<Field> { private final Set<Fi...
src/heros/ide/edgefunc/fieldsens/OverwriteFunction.java
package heros.ide.edgefunc.fieldsens; import heros.ide.edgefunc.EdgeFunction; import java.util.HashSet; import java.util.Set; import com.google.common.base.Joiner; import com.google.common.collect.Sets; public class OverwriteFunction<Field> extends ChainableEdgeFunction<Field> { private final Set<Fi...
improved/fixed comment
src/heros/ide/edgefunc/fieldsens/OverwriteFunction.java
improved/fixed comment
<ide><path>rc/heros/ide/edgefunc/fieldsens/OverwriteFunction.java <ide> <ide> @Override <ide> protected boolean mayThisReturnTop() { <del> //if this does not have a preceding function it may return top, e.g., a prepend with the same field may precede in the future <del> //o.w. the succeeding function (e.g., read o...
Java
apache-2.0
error: pathspec 'Android/IrssiNotifier/src/fi/iki/murgo/irssinotifier/MessageGenerator.java' did not match any file(s) known to git
f8e0d1bcc09c0d0d3dfea1688701be7d9eadee7d
1
murgo/IrssiNotifier,murgo/IrssiNotifier,varazir/IrssiNotifier,varazir/IrssiNotifier,varazir/IrssiNotifier,murgo/IrssiNotifier,varazir/IrssiNotifier,murgo/IrssiNotifier
package fi.iki.murgo.irssinotifier; import android.content.Context; import org.json.JSONObject; import java.util.HashMap; import java.util.Random; import java.util.Timer; import java.util.TimerTask; public class MessageGenerator extends TimerTask { private static Random random = new Random(); private Contex...
Android/IrssiNotifier/src/fi/iki/murgo/irssinotifier/MessageGenerator.java
ANDROID: Added test message generator
Android/IrssiNotifier/src/fi/iki/murgo/irssinotifier/MessageGenerator.java
ANDROID: Added test message generator
<ide><path>ndroid/IrssiNotifier/src/fi/iki/murgo/irssinotifier/MessageGenerator.java <add>package fi.iki.murgo.irssinotifier; <add> <add>import android.content.Context; <add>import org.json.JSONObject; <add> <add>import java.util.HashMap; <add>import java.util.Random; <add>import java.util.Timer; <add>import java.util....
Java
epl-1.0
dac666a8b94c67ebcce5b01b91348e60535b45c5
0
sguan-actuate/birt,sguan-actuate/birt,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1,Charling-Huang/birt,rrimmana/birt-1,sguan-actuate/birt,rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1
/******************************************************************************* * Copyright (c) 2004 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...
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/actions/InsertGroupActionFactory.java
/******************************************************************************* * Copyright (c) 2004 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...
- SCR(s) Resolved: 78150 - Description: Insert group option for a group has confusing "into" option - Regression ( Yes/No ):No - Code Owner: Yulin Wang - Code Reviewers: GUI members - Tests: Local test. - Test Automated: No, GUI feature - Case Entries Resolved: None - Notes to Developers: None - Notes to QA: None - ...
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/actions/InsertGroupActionFactory.java
- SCR(s) Resolved: 78150
<ide><path>I/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/actions/InsertGroupActionFactory.java <ide> Messages.getString( "InsertPositionGroupAction.Label.Above" ) ), //$NON-NLS-1$ <ide> new InsertBelowGroupAction( null, <ide> Messages.getString( "I...
Java
apache-2.0
c2aea2706567cdae0a128074ac84cfb457d49f8b
0
jackmiras/placeholderj
package com.example.jackmiras.placeholderj.managers; import android.app.Activity; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import com.example.jackmiras.placeholderj.R; import retrofit.RetrofitError; /** * Created by jackmiras on 03/10...
placeholderj/src/main/java/com/example/jackmiras/placeholderj/managers/PlaceHolderManager.java
package com.example.jackmiras.placeholderj.managers; import android.app.Activity; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import com.example.jackmiras.placeholderj.R; import com.example.jackmiras.placeholderj.enums.PlaceHolderType; imp...
Optimizing the PlaceHolderManager.java to receive a limited number of arguments
placeholderj/src/main/java/com/example/jackmiras/placeholderj/managers/PlaceHolderManager.java
Optimizing the PlaceHolderManager.java to receive a limited number of arguments
<ide><path>laceholderj/src/main/java/com/example/jackmiras/placeholderj/managers/PlaceHolderManager.java <ide> import android.widget.TextView; <ide> <ide> import com.example.jackmiras.placeholderj.R; <del>import com.example.jackmiras.placeholderj.enums.PlaceHolderType; <ide> <ide> import retrofit.RetrofitError; <ide>...
JavaScript
mit
6e1d5b174452adb137a743db886f698af1bd591e
0
Squishymedia/bids-validator,nellh/bids-validator,Squishymedia/BIDS-Validator,nellh/bids-validator,nellh/bids-validator
/** * Issues * * A list of all possible issues organized by * issue code and including severity and reason * agnostic to file specifics. */ module.exports = { 0: { key: 'INTERNAL ERROR', severity: 'error', reason: 'Internal error. SOME VALIDATION STEPS MAY NOT HAVE OCCURRED', }, 1: { key: 'N...
utils/issues/list.js
/** * Issues * * A list of all possible issues organized by * issue code and including severity and reason * agnostic to file specifics. */ module.exports = { 0: { key: 'INTERNAL ERROR', severity: 'error', reason: 'Internal error. SOME VALIDATION STEPS MAY NOT HAVE OCCURRED', }, 1: { key: 'N...
add MISSING_SECTION warning to issue list
utils/issues/list.js
add MISSING_SECTION warning to issue list
<ide><path>tils/issues/list.js <ide> reason: <ide> "The column names of the electrodes file must begin with ['name', 'x', 'y', 'z']", <ide> }, <add> 97: { <add> key: 'MISSING_SESSION', <add> severity: 'warning', <add> reason: 'Not all subjects contain the same sessions.' <add> } <ide> }
Java
apache-2.0
43652575d047f23b13f7d06648d68dfa211ae3ac
0
apache/incubator-shardingsphere,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere
/* * Copyright 2016-2018 shardingsphere.io. * <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 * * Unless required by applicable l...
sharding-jdbc/src/main/java/io/shardingsphere/core/jdbc/core/datasource/MasterSlaveDataSource.java
/* * Copyright 2016-2018 shardingsphere.io. * <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 * * Unless required by applicable l...
use closeOriginalDataSources()
sharding-jdbc/src/main/java/io/shardingsphere/core/jdbc/core/datasource/MasterSlaveDataSource.java
use closeOriginalDataSources()
<ide><path>harding-jdbc/src/main/java/io/shardingsphere/core/jdbc/core/datasource/MasterSlaveDataSource.java <ide> * @param masterSlaveRuleConfig new master-slave rule configuration <ide> */ <ide> public void renew(final Map<String, DataSource> dataSourceMap, final MasterSlaveRuleConfiguration masterSlave...
Java
apache-2.0
error: pathspec 'algorithm/src/test/java/org/wuxinshui/boosters/algerithom/sort/InsertionSortTest.java' did not match any file(s) known to git
ae74eb047731589c1198091cb0a5b2091a49aa45
1
wuxinshui/boosters
package org.wuxinshui.boosters.algerithom.sort; import org.junit.Test; import java.util.Arrays; import static org.wuxinshui.boosters.algerithom.sort.InsertionSort.dichotomyInsertionSort; import static org.wuxinshui.boosters.algerithom.sort.InsertionSort.simpleInsertionSort01; /** * Created by FujiRen on 2016/9/6. ...
algorithm/src/test/java/org/wuxinshui/boosters/algerithom/sort/InsertionSortTest.java
插入排序测试
algorithm/src/test/java/org/wuxinshui/boosters/algerithom/sort/InsertionSortTest.java
插入排序测试
<ide><path>lgorithm/src/test/java/org/wuxinshui/boosters/algerithom/sort/InsertionSortTest.java <add>package org.wuxinshui.boosters.algerithom.sort; <add> <add>import org.junit.Test; <add> <add>import java.util.Arrays; <add> <add>import static org.wuxinshui.boosters.algerithom.sort.InsertionSort.dichotomyInsertionSort;...
JavaScript
mit
a34bd6dd31618ef4fb4c40ec1623d68b563c0a46
0
jxson/haiku
lib/haiku/content.js
// var // , mkdirp = require('mkdirp') // ; var Origami = require('haiku/origami') , fs = require('fs') , yaml = require('yamlparser') , path = require('path') , _ = require('underscore') , Mustache = require('mustache') , markdown = require('marked') , textile = require('stextile') , colors = requi...
remove the old content.js
lib/haiku/content.js
remove the old content.js
<ide><path>ib/haiku/content.js <del>// var <del>// , mkdirp = require('mkdirp') <del>// ; <del> <del>var Origami = require('haiku/origami') <del> , fs = require('fs') <del> , yaml = require('yamlparser') <del> , path = require('path') <del> , _ = require('underscore') <del> , Mustache = require('mustache') <del>...
Java
apache-2.0
9da4e746e57134d1eb43b9f00cae4a65e226bc9b
0
arrow-acs/acn-sdk-java
/******************************************************************************* * Copyright (c) 2017 Arrow Electronics, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License 2.0 * which accompanies this distribution, and is available at ...
acn-client/src/main/java/com/arrow/acn/client/api/DeviceActionApi.java
/******************************************************************************* * Copyright (c) 2017 Arrow Electronics, Inc. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License 2.0 * which accompanies this distribution, and is available at ...
KR-1740: add support of device action at device type level
acn-client/src/main/java/com/arrow/acn/client/api/DeviceActionApi.java
KR-1740: add support of device action at device type level
<ide><path>cn-client/src/main/java/com/arrow/acn/client/api/DeviceActionApi.java <ide> private static final String SPECIFIC_DEVICE_URL = DEVICES_BASE_URL + "/{hid}"; <ide> private static final String SPECIFIC_DEVICE_ACTIONS_URL = SPECIFIC_DEVICE_URL + "/actions"; <ide> private static final String SPECIFIC_ACTION_URL...
Java
apache-2.0
c649a574435d328f977cba953df2177e97ccdd4d
0
spinnaker/halyard,spinnaker/halyard,spinnaker/halyard
/* * Copyright 2017 Microsoft, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
halyard-cli/src/main/java/com/netflix/spinnaker/halyard/cli/command/v1/config/persistentStorage/s3/S3EditCommand.java
/* * Copyright 2017 Microsoft, Inc. * * Licensed under the Apache License, Version 2.0 (the "License") * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to...
fix(Halyard): s3 --bucket not accept s3:// prefix (#951) * fix(Halyard): s3 --bucket not accept s3:// prefix #951 Solution to "Halyard: s3 --bucket will not accetp s3:// prefix #2408" Better solution might be is to find out why the parameter cannot be stored with the s3:// because it should be needed to access t...
halyard-cli/src/main/java/com/netflix/spinnaker/halyard/cli/command/v1/config/persistentStorage/s3/S3EditCommand.java
fix(Halyard): s3 --bucket not accept s3:// prefix (#951)
<ide><path>alyard-cli/src/main/java/com/netflix/spinnaker/halyard/cli/command/v1/config/persistentStorage/s3/S3EditCommand.java <ide> <ide> @Override <ide> protected S3PersistentStore editPersistentStore(S3PersistentStore persistentStore) { <add> if(isSet(bucket) && bucket.startsWith("s3://")){ <add> bucke...
JavaScript
mit
709eff1dae887ee546298aeff86803c79335f4af
0
Touffy/JSSCxml,Touffy/JSSCxml,Touffy/JSSCxml
// just declares datamodel variables as undefined SCxml.prototype.declare=function(element) { var c=element.firstElementChild if(element.tagName=="data") { var id=element.getAttribute("id") if(id in this.datamodel._jsscxml_predefined_) console.warn("Variable '"+id+"' is shadowing a predefined" + "window va...
SCxmlExecute.js
// just declares datamodel variables as undefined SCxml.prototype.declare=function(element) { var c=element.firstElementChild if(element.tagName=="data") { var id=element.getAttribute("id") if(id in this.datamodel._jsscxml_predefined_) console.warn("Variable '"+id+"' is shadowing a predefined" + "window va...
fixed parsing of inline XML in <data>
SCxmlExecute.js
fixed parsing of inline XML in <data>
<ide><path>CxmlExecute.js <ide> if(element.hasAttribute("src")) <ide> console.warn("You should use <fetch> instead of <data src>, which may render the interpreter unresponsive.") <ide> else if(value=element.firstElementChild){ // XML content <del> if(value==element.lastElementChild) <del> value=new sc.datam...
Java
apache-2.0
8422e69aba73dc9938590a64a155a8212d5c9493
0
mtransitapps/ca-grande-prairie-transit-bus-parser
package org.mtransit.parser.ca_grande_prairie_transit_bus; import static org.mtransit.commons.StringUtils.EMPTY; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.mtransit.commons.CleanUtils; import org.mtransit.parser.DefaultAgencyTools; import org.mtransit.parser.mt.dat...
src/main/java/org/mtransit/parser/ca_grande_prairie_transit_bus/GrandePrairieTransitBusAgencyTools.java
package org.mtransit.parser.ca_grande_prairie_transit_bus; import static org.mtransit.commons.StringUtils.EMPTY; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import org.mtransit.commons.CleanUtils; import org.mtransit.parser.DefaultAgencyTools; import org.mtransit.parser.mt.dat...
Compatibility with latest update
src/main/java/org/mtransit/parser/ca_grande_prairie_transit_bus/GrandePrairieTransitBusAgencyTools.java
Compatibility with latest update
<ide><path>rc/main/java/org/mtransit/parser/ca_grande_prairie_transit_bus/GrandePrairieTransitBusAgencyTools.java <ide> } <ide> <ide> @Override <del> public boolean directionSplitterEnabled() { <add> public boolean directionSplitterEnabled(long routeId) { <ide> return false; // not useful because all loops <ide> ...
Java
apache-2.0
fbce56b6a7f219beb328477500e3536b2240c01b
0
coinbase/coinbase-java,coinbase/coinbase-java,coinbase/coinbase-java
package com.coinbase.api; public class CoinbaseBuilder { String access_token; String api_key; String api_secret; String acct_id; /** * Build a new Coinbase client object with the specified options * * @return a new Coinbase client object */ public Coinbase build() throws ...
src/main/java/com/coinbase/api/CoinbaseBuilder.java
package com.coinbase.api; public class CoinbaseBuilder { String access_token; String api_key; String api_secret; String acct_id; public Coinbase build() throws Exception { return new CoinbaseImpl(this); } public CoinbaseBuilder withAccessToken(String access_token) { this.access_token =...
Added javadoc for CoinbaseBuilder
src/main/java/com/coinbase/api/CoinbaseBuilder.java
Added javadoc for CoinbaseBuilder
<ide><path>rc/main/java/com/coinbase/api/CoinbaseBuilder.java <ide> String api_secret; <ide> String acct_id; <ide> <add> /** <add> * Build a new Coinbase client object with the specified options <add> * <add> * @return a new Coinbase client object <add> */ <ide> public Coinbase build() ...
Java
epl-1.0
6f84e3a556f15018998b1eff9e1de486dac2f189
0
wo-amlangwang/ice,gorindn/ice,gorindn/ice,gorindn/ice,wo-amlangwang/ice,nickstanish/ice,menghanli/ice,gorindn/ice,eclipse/ice,menghanli/ice,wo-amlangwang/ice,menghanli/ice,nickstanish/ice,nickstanish/ice,eclipse/ice,wo-amlangwang/ice,gorindn/ice,nickstanish/ice,menghanli/ice,SmithRWORNL/ice,SmithRWORNL/ice,gorindn/ice,...
package org.eclipse.ice.client.widgets; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.eclipse.ice.client.common.ActionTree; import org.eclipse.ice.client.widgets.viz.service.IPlot; import org.eclipse.jface.action.Act...
src/org.eclipse.ice.client.widgets/src/org/eclipse/ice/client/widgets/PlotGridComposite.java
package org.eclipse.ice.client.widgets; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import org.eclipse.ice.client.common.ActionTree; import org.eclipse.ice.client.widgets.viz.service.IPlot; import org.eclipse.jface.action.Ac...
Changed DrawnPlot to a Composite. It now handles its own layout. Updated the methods that remove the drawn plots to go through a single method where possible. It uses a list (so PlotGridComposite clients can remove by insertion order) and a map (for fast removal when the DrawnPlot is known but not its index, primarily...
src/org.eclipse.ice.client.widgets/src/org/eclipse/ice/client/widgets/PlotGridComposite.java
Changed DrawnPlot to a Composite. It now handles its own layout.
<ide><path>rc/org.eclipse.ice.client.widgets/src/org/eclipse/ice/client/widgets/PlotGridComposite.java <ide> package org.eclipse.ice.client.widgets; <ide> <ide> import java.util.ArrayList; <del>import java.util.Iterator; <add>import java.util.HashMap; <ide> import java.util.List; <ide> import java.util.Map; <ide> impo...
Java
agpl-3.0
c4e09781a9aae75416f39d82eca3d423307a92d0
0
pivotal-nathan-sentjens/tigase-xmpp-java,fanout/tigase-server,Smartupz/tigase-server,sourcebits-praveenkh/Tagase,f24-ag/tigase,caiyingyuan/tigase71,nate-sentjens/tigase-xmpp-java,pivotal-nathan-sentjens/tigase-xmpp-java,f24-ag/tigase,wangningbo/tigase-server,amikey/tigase-server,fanout/tigase-server,caiyingyuan/tigase7...
/* * Tigase Jabber/XMPP Server * Copyright (C) 2004-2007 "Artur Hefczyc" <artur.hefczyc@tigase.org> * * 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. * *...
src/main/java/tigase/xmpp/impl/JabberIqPrivacy.java
/* * Tigase Jabber/XMPP Server * Copyright (C) 2004-2007 "Artur Hefczyc" <artur.hefczyc@tigase.org> * * 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. * *...
Fixed NPE when it tried to retrieve contact groups and the contact wasn't in any group git-svn-id: 4a0daf30c0bbd291b3bc5fe8f058bf11ee523347@857 7d282ba1-3ae6-0310-8f9b-c9008a0864d2
src/main/java/tigase/xmpp/impl/JabberIqPrivacy.java
Fixed NPE when it tried to retrieve contact groups and the contact wasn't in any group
<ide><path>rc/main/java/tigase/xmpp/impl/JabberIqPrivacy.java <ide> break; <ide> case group: <ide> String[] groups = Roster.getBuddyGroups(session, from); <del> for (String group: groups) { <del> if (type_matched = group.equals(value)) { <del> break; <del> } // end of if ...
JavaScript
apache-2.0
bb5d6bd3ba5295b7327271170f7236a416a6ac9c
0
lakhansamani/pouchdb,adamvert/pouchdb,Actonate/pouchdb,cdaringe/pouchdb,mattbailey/pouchdb,Actonate/pouchdb,Actonate/pouchdb,crissdev/pouchdb,jhs/pouchdb,crissdev/pouchdb,mainerror/pouchdb,mwksl/pouchdb,marcusandre/pouchdb,Charlotteis/pouchdb,slaskis/pouchdb,optikfluffel/pouchdb,Charlotteis/pouchdb,garrensmith/pouchdb,...
// While most of the IDB behaviors match between implementations a // lot of the names still differ. This section tries to normalize the // different objects & methods. window.indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB; window.IDBCursor = window.IDBCursor || window.webkitIDBCur...
src/adapters/pouch.idb.js
// While most of the IDB behaviors match between implementations a // lot of the names still differ. This section tries to normalize the // different objects & methods. window.indexedDB = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB; window.IDBCursor = window.IDBCursor || window.webkitIDBCur...
Fix putAttachment on a doc without attachments
src/adapters/pouch.idb.js
Fix putAttachment on a doc without attachments
<ide><path>rc/adapters/pouch.idb.js <ide> var docId = id.split('/')[0]; <ide> var attachId = id.split('/')[1]; <ide> api.get(docId, function(err, obj) { <add> obj._attachments || (obj._attachments = {}); <ide> obj._attachments[attachId] = { <ide> content_type: type, <ide> data: bt...
Java
apache-2.0
84ef23f404bc5b09935d258c5d89925668737f9e
0
apache/syncope,apache/syncope,apache/syncope,ilgrosso/syncope,apache/syncope,ilgrosso/syncope,ilgrosso/syncope,ilgrosso/syncope
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
ext/saml2sp/client-console/src/main/java/org/apache/syncope/client/console/wizards/resources/SAML2IdPMappingPanel.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 ...
[SYNCOPE-1410] Fix redundant import
ext/saml2sp/client-console/src/main/java/org/apache/syncope/client/console/wizards/resources/SAML2IdPMappingPanel.java
[SYNCOPE-1410] Fix redundant import
<ide><path>xt/saml2sp/client-console/src/main/java/org/apache/syncope/client/console/wizards/resources/SAML2IdPMappingPanel.java <ide> import java.util.List; <ide> import org.apache.syncope.client.console.init.ClassPathScanImplementationLookup; <ide> import org.apache.syncope.client.console.wicket.markup.html.form.Ajax...
Java
mit
89bdc592cff324588b26a15a96b6c9f9a5a3a6f1
0
balazspete/multi-hop-train-journey-booking
package communication.protocols; import java.util.Iterator; import java.util.Set; import communication.messages.HelloReplyMessage; import communication.messages.HelloType; import communication.messages.Message; import data.system.NodeInfo; public class HelloProtocol implements Protocol { private Set<NodeInfo> node...
src/communication/protocols/HelloProtocol.java
package communication.protocols; import java.util.Set; import communication.messages.HelloReplyMessage; import communication.messages.HelloType; import communication.messages.Message; import data.system.NodeInfo; public class HelloProtocol implements Protocol { private Set<NodeInfo> nodes; public HelloProtocol(...
Fix NodeInfo filtering in HelloProtocol
src/communication/protocols/HelloProtocol.java
Fix NodeInfo filtering in HelloProtocol
<ide><path>rc/communication/protocols/HelloProtocol.java <ide> package communication.protocols; <ide> <add>import java.util.Iterator; <ide> import java.util.Set; <ide> <ide> import communication.messages.HelloReplyMessage; <ide> <ide> HelloType type = (HelloType) message.getContents(); <ide> if (type == HelloT...
Java
apache-2.0
799f48816fde17574785f7d3b17354573dfcfdf9
0
marcorei/FirebaseUI-Android,marcorei/FirebaseUI-Android
package com.firebase.uidemo; import android.graphics.Color; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.Gravity; import android.view.LayoutInf...
app/src/main/java/com/firebase/uidemo/RecyclerViewDemoActivity.java
package com.firebase.uidemo; import android.graphics.Color; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.LinearLayoutManager; import android.support.v7.widget.RecyclerView; import android.util.Log; import android.view.Gravity; import android.view.LayoutInf...
add header for a sticky list
app/src/main/java/com/firebase/uidemo/RecyclerViewDemoActivity.java
add header for a sticky list
<ide><path>pp/src/main/java/com/firebase/uidemo/RecyclerViewDemoActivity.java <ide> import android.view.ViewGroup; <ide> import android.widget.Button; <ide> import android.widget.EditText; <add>import android.widget.LinearLayout; <ide> import android.widget.ProgressBar; <ide> import android.widget.TextView; <del>import...
Java
apache-2.0
f6bbd92c86b7e606d25a538fcf682abb67fd3510
0
semonte/intellij-community,ol-loginov/intellij-community,ibinti/intellij-community,izonder/intellij-community,caot/intellij-community,izonder/intellij-community,idea4bsd/idea4bsd,amith01994/intellij-community,ThiagoGarciaAlves/intellij-community,supersven/intellij-community,holmes/intellij-community,Distrotech/intellij...
package org.jetbrains.plugins.ipnb.format; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.intellij.openapi.diagnostic.Logger; import org.jetbrains.annotations.NotNull; import org.jetbrains.plugins.ipnb.format.cells.*; import java.io.IOException; import java.util.ArrayList; import java.uti...
src/org/jetbrains/plugins/ipnb/format/IpnbParser.java
package org.jetbrains.plugins.ipnb.format; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.intellij.openapi.diagnostic.Logger; import org.jetbrains.annotations.NotNull; import org.jetbrains.plugins.ipnb.format.cells.*; import java.io.IOException; import java.util.ArrayList; import java.uti...
added cell output
src/org/jetbrains/plugins/ipnb/format/IpnbParser.java
added cell output
<ide><path>rc/org/jetbrains/plugins/ipnb/format/IpnbParser.java <ide> private static class IpnbWorksheet { <ide> IpnbCellRaw[] cells; <ide> } <del> <ide> private static class IpnbCellRaw { <ide> String cell_type; <ide> String[] source; <add> String[] input; <add> String language; <add> CellOu...
Java
mit
39cab16605e63aaed1e6a8f5f0ac55f95a3982e5
0
stevengreens10/OlympicHeroes
package me.NodeDigital.OlympicHeroes.command; import org.bukkit.Bukkit; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import me.NodeDigital.OlympicHeroes.Variables; import me.NodeDigital.OlympicHeroes.pl...
me/NodeDigital/OlympicHeroes/command/OHCommand.java
package me.NodeDigital.OlympicHeroes.command; import org.bukkit.Bukkit; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bukkit.entity.Player; import me.NodeDigital.OlympicHeroes.Variables; import me.NodeDigital.OlympicHeroes.pl...
Fix help commands
me/NodeDigital/OlympicHeroes/command/OHCommand.java
Fix help commands
<ide><path>e/NodeDigital/OlympicHeroes/command/OHCommand.java <ide> }else { <ide> player.sendMessage("You do not have permission!"); <ide> } <del> } else { <del> String arg = args[0]; <del> <del> String god = ""; <del> <del> for(String g : Variables.GODS) { <del> if(arg.equ...
JavaScript
mit
48baad46043d660739f72b2c58fc0aa25aaa3ca5
0
faithtech/website,faithtech/website
var dict = { // header 'What is Checkin+ ?': { zhtw: 'Checkin+ 是什麼?', en: 'What is Checkin+ ?' }, 'How to work?': { zhtw: '如何合作?', en: 'How to work?' }, 'Our Services': { zhtw: '加值服務', en: 'Our Services' }, 'About': { zhtw: '關於我們', en: 'About' }, 'Lang...
source/js/jquery.translate.text.js
var dict = { // header 'What is Checkin+ ?': { zhtw: 'Checkin+ 是什麼?', en: 'What is Checkin+ ?' }, 'How to work?': { zhtw: '如何合作?', en: 'How to work?' }, 'Our Services': { zhtw: '加值服務', en: 'Our Services' }, 'About': { zhtw: '關於我們', en: 'About' }, 'Lang...
修改公司名稱 新增“股份”
source/js/jquery.translate.text.js
修改公司名稱
<ide><path>ource/js/jquery.translate.text.js <ide> <ide> // footer <ide> 'Faithtech Co., Ltd.': { <del> zhtw: '誠義資訊有限公司', <add> zhtw: '誠義資訊股份有限公司', <ide> en: 'Faithtech Co., Ltd.' <ide> }, <ide> 'Tel:': {
Java
apache-2.0
74f6261f5ea2db9fd06d1db227285ea40710e94a
0
qtproject/qtqa-gerrit,gerrit-review/gerrit,gerrit-review/gerrit,GerritCodeReview/gerrit,WANdisco/gerrit,gerrit-review/gerrit,GerritCodeReview/gerrit,gerrit-review/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,GerritCodeReview/gerrit,WANdisco/gerrit,gerrit-review/gerrit,WANdisco/gerrit,WANdisco/gerrit,qtproject...
// 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 ...
gerrit-server/src/main/java/com/google/gerrit/server/notedb/ConfigNotesMigration.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 ...
ConfigNotesMigration: Remove config sanity check Everywhere else in Gerrit, we don't bother trying to check configs for typos, we just depend on admins to set the right value. In this case, somehow I forgot to add a new config option to the checkConfig method, despite adding a warning after I had already made that mis...
gerrit-server/src/main/java/com/google/gerrit/server/notedb/ConfigNotesMigration.java
ConfigNotesMigration: Remove config sanity check
<ide><path>errit-server/src/main/java/com/google/gerrit/server/notedb/ConfigNotesMigration.java <ide> import static com.google.common.base.Preconditions.checkArgument; <ide> import static com.google.gerrit.server.notedb.NoteDbTable.CHANGES; <ide> <del>import com.google.common.collect.ImmutableSet; <ide> import com.goo...
Java
apache-2.0
8f28737e0b69ad7e9ceb1461fecfbb646a7fade0
0
au-research/ANDS-ResearchVocabularies-Toolkit,au-research/ANDS-ResearchVocabularies-Toolkit,au-research/ANDS-ResearchVocabularies-Toolkit,au-research/ANDS-Vocabs-Toolkit,au-research/ANDS-Vocabs-Toolkit,au-research/ANDS-Vocabs-Toolkit
package au.org.ands.vocabs.toolkit.db.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.NamedQuery; import javax.persistence.Table; import javax.xml.bind.annota...
src/main/java/au/org/ands/vocabs/toolkit/db/model/Task.java
package au.org.ands.vocabs.toolkit.db.model; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.NamedQuery; import javax.persistence.Table; import javax.xml.bind.annota...
Add params to Task
src/main/java/au/org/ands/vocabs/toolkit/db/model/Task.java
Add params to Task
<ide><path>rc/main/java/au/org/ands/vocabs/toolkit/db/model/Task.java <ide> private String status; <ide> /** type. */ <ide> private String type; <add> /** params. */ <add> private String params; <ide> /** data. */ <ide> private String data; <ide> /** response. */ <ide> */ <ide> pu...
Java
mit
3b75386366f96e267d2e5eff48ea9dacfba871fb
0
MarquisLP/WorldScribe,MarquisLP/World-Scribe
package com.averi.worldscribe.utilities; import android.content.Context; import android.os.Environment; import com.averi.worldscribe.Category; import com.averi.worldscribe.R; import java.io.File; /** * Created by mark on 14/06/16. */ public class FileRetriever { public static final String APP_DIRECTORY_NAME ...
app/src/main/java/com/averi/worldscribe/utilities/FileRetriever.java
package com.averi.worldscribe.utilities; import android.content.Context; import android.os.Environment; import com.averi.worldscribe.Category; import com.averi.worldscribe.R; import java.io.File; /** * Created by mark on 14/06/16. */ public class FileRetriever { public static final String APP_DIRECTORY_NAME ...
Add getArticleFile to FileRetriever
app/src/main/java/com/averi/worldscribe/utilities/FileRetriever.java
Add getArticleFile to FileRetriever
<ide><path>pp/src/main/java/com/averi/worldscribe/utilities/FileRetriever.java <ide> return new File(getCategoryDirectory(context, worldName, category), articleName); <ide> } <ide> <add> public static File getArticleFile(Context context, String worldName, Category category, <add> ...
Java
mit
656023160e64746fb9157d771b13f0c3cd1aa0bb
0
SpongePowered/SpongeForge,SpongePowered/SpongeForge
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
src/main/java/org/spongepowered/mod/mixin/core/forge/MixinDimensionManager.java
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
Remove world disabled spam. Fixes #1101 * Reset worldTickTime on setWorld.
src/main/java/org/spongepowered/mod/mixin/core/forge/MixinDimensionManager.java
Remove world disabled spam. Fixes #1101
<ide><path>rc/main/java/org/spongepowered/mod/mixin/core/forge/MixinDimensionManager.java <ide> public static void setWorld(int id, WorldServer world, MinecraftServer server) { <ide> if (world != null) { <ide> WorldManager.forceAddWorld(id, world); <add> server.worldTickTimes.put(id, ...
Java
artistic-2.0
5731c6fbd324083388a8019dcb2c9d2c2e06e457
0
TimePath/commons,TimePath/commons
package com.timepath; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.w3c.dom.bootstrap.DOMImplementationRegistry; import org.w3c.dom.ls.DOMImplementationLS; import org.w3c.dom.ls.LSSerializer; import org.xml.sax.SAXException; import javax.xml.parsers.DocumentBuilder; imp...
src/main/java/com/timepath/XMLUtils.java
package com.timepath; import org.w3c.dom.Document; import org.w3c.dom.Node; import org.w3c.dom.NodeList; import org.w3c.dom.bootstrap.DOMImplementationRegistry; import org.w3c.dom.ls.DOMImplementationLS; import org.w3c.dom.ls.LSSerializer; import org.xml.sax.SAXException; import javax.xml.parsers.DocumentBuilder; imp...
Safeguard badly behaved XML method
src/main/java/com/timepath/XMLUtils.java
Safeguard badly behaved XML method
<ide><path>rc/main/java/com/timepath/XMLUtils.java <ide> public static String get(Node root, String key) { <ide> try { <ide> List<Node> elements = getElements(root, key); <del> if(elements.size() == 0) return null; <add> if (elements.size() == 0) return null; <ide> ...
Java
apache-2.0
5955ca1708076a1eac0e7862f5211ce92ee350f6
0
rouazana/james,rouazana/james,chibenwa/james,rouazana/james,rouazana/james,chibenwa/james,aduprat/james,aduprat/james,chibenwa/james,aduprat/james,aduprat/james,chibenwa/james
/**************************************************************** * 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 ...
pop3server/src/main/java/org/apache/james/pop3server/netty/POP3NettySession.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 ...
Share outputstream on channel per session git-svn-id: de9d04cf23151003780adc3e4ddb7078e3680318@1035794 13f79535-47bb-0310-9956-ffa450edef68
pop3server/src/main/java/org/apache/james/pop3server/netty/POP3NettySession.java
Share outputstream on channel per session
<ide><path>op3server/src/main/java/org/apache/james/pop3server/netty/POP3NettySession.java <ide> <ide> private MessageManager mailbox; <ide> <add> private NonClosingChannelOutputStream out; <add> <ide> public POP3NettySession(POP3HandlerConfigurationData configData, Log logger, ChannelHandlerContext handle...
Java
apache-2.0
742810777ff005eb6628c9668ae27a7b8d9ff708
0
blackberry/Krackle,awwal/Krackle
/** * Copyright 2014 BlackBerry, Limited. * * 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/main/java/com/blackberry/bdp/krackle/producer/Producer.java
/** * Copyright 2014 BlackBerry, Limited. * * 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 ...
Added more verbose log line
src/main/java/com/blackberry/bdp/krackle/producer/Producer.java
Added more verbose log line
<ide><path>rc/main/java/com/blackberry/bdp/krackle/producer/Producer.java <ide> this.clientThreadIdString = clientIdString + "-" + Thread.currentThread().getId(); <ide> this.clientThreadIdBytes = clientThreadIdString.getBytes(UTF8); <ide> this.clientThreadIdLength = (short) clientThreadIdString.length...
Java
apache-2.0
f84b8f9c4ff26a8fbb2bcd5ae2edc1cf44d890fe
0
arcao/Trackables
package com.arcao.trackables.ui.adapter; import android.support.v7.widget.RecyclerView; import android.text.Spannable; import android.text.SpannableString; import android.text.style.StrikethroughSpan; import android.view.*; import android.widget.ImageView; import android.widget.TextView; import butterknife.ButterKnife...
app/src/main/java/com/arcao/trackables/ui/adapter/TrackableListAdapter.java
package com.arcao.trackables.ui.adapter; import android.support.v7.widget.RecyclerView; import android.view.*; import android.widget.ImageView; import android.widget.TextView; import butterknife.ButterKnife; import butterknife.InjectView; import com.arcao.geocaching.api.data.Trackable; import com.arcao.trackables.R; i...
Strike-through archived Trackables in list
app/src/main/java/com/arcao/trackables/ui/adapter/TrackableListAdapter.java
Strike-through archived Trackables in list
<ide><path>pp/src/main/java/com/arcao/trackables/ui/adapter/TrackableListAdapter.java <ide> package com.arcao.trackables.ui.adapter; <ide> <ide> import android.support.v7.widget.RecyclerView; <add>import android.text.Spannable; <add>import android.text.SpannableString; <add>import android.text.style.StrikethroughSpan;...
Java
mit
5f04c9de4f8d944e830dd927cf460daa4936fc45
0
PG85/OpenTerrainGenerator
package com.pg85.otg.gen.biome.layers; import static com.pg85.otg.gen.biome.layers.BiomeLayers.GROUP_SHIFT; import java.util.List; import java.util.Map; import java.util.TreeMap; import com.pg85.otg.gen.biome.layers.type.ParentedLayer; import com.pg85.otg.gen.biome.layers.util.LayerRandomnessSource; import com.pg85....
common/common-generator/src/main/java/com/pg85/otg/gen/biome/layers/BiomeGroupLayer.java
package com.pg85.otg.gen.biome.layers; import static com.pg85.otg.gen.biome.layers.BiomeLayers.GROUP_SHIFT; import java.util.List; import java.util.Map; import java.util.TreeMap; import com.pg85.otg.gen.biome.layers.type.ParentedLayer; import com.pg85.otg.gen.biome.layers.util.LayerRandomnessSource; import com.pg85....
1.16.3 - 0.0.1: biomegroups fixes (hopefully, still broke tho)
common/common-generator/src/main/java/com/pg85/otg/gen/biome/layers/BiomeGroupLayer.java
1.16.3 - 0.0.1: biomegroups fixes (hopefully, still broke tho)
<ide><path>ommon/common-generator/src/main/java/com/pg85/otg/gen/biome/layers/BiomeGroupLayer.java <ide> maxRarity += group.rarity; <ide> this.rarityMap.put(maxRarity, group); <ide> } <del> <add> <ide> this.maxRarity = maxRarity; <ide> } <ide> <ide> public int sample(LayerSampleContext<?> context, LayerS...
JavaScript
mit
858a0f13d82d52af9c83c40ee0150e16aa9cb4cf
0
jackchi/everyman
if (Meteor.isServer) { self= this; clinics = new Meteor.Collection("clinics"); clinics._ensureIndex({ loc : "2d" }); users = new Meteor.Collection("user"); Meteor.startup(function () { if (Org.find().count() === 0) { var names = ["Jack Chi", "Zak Zibrat", ...
server/server.js
if (Meteor.isServer) { self= this; clinics = new Meteor.Collection("clinics"); clinics._ensureIndex({ loc : "2d" }); users = new Meteor.Collection("user"); Meteor.startup(function () { if (Org.find().count() === 0) { var names = ["Jack Chi", "Zak Zibrat", ...
cleanup.. just need to figure out the geomongo query that doesnt return an error...
server/server.js
cleanup.. just need to figure out the geomongo query that doesnt return an error...
<ide><path>erver/server.js <ide> }); <ide> <ide> Meteor.methods({ <del> findMarker : function(box){ <del> var theCenter = [box,10]; <del> // just NOT working... ??? <del> return clinics.find({ loc : { "$geoWithin" : { "$center" : theCenter }}}); <add> findMarker : function(x,y){ <add>...
Java
mit
e640c139c201b13f220bdb7757d58b0a99ed449c
0
dmullins78/easybatch-framework,EasyBatch/easybatch-framework,EasyBatch/easybatch-framework,dmullins78/easybatch-framework
/* * The MIT License * * Copyright (c) 2015, Mahmoud Ben Hassine (mahmoud@benhassine.fr) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including witho...
easybatch-jdbc/src/main/java/org/easybatch/jdbc/JdbcTransactionStepListener.java
/* * The MIT License * * Copyright (c) 2015, Mahmoud Ben Hassine (mahmoud@benhassine.fr) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including witho...
add constructor with default commitInterval value to 1
easybatch-jdbc/src/main/java/org/easybatch/jdbc/JdbcTransactionStepListener.java
add constructor with default commitInterval value to 1
<ide><path>asybatch-jdbc/src/main/java/org/easybatch/jdbc/JdbcTransactionStepListener.java <ide> <ide> private static final Logger LOGGER = Logger.getLogger(JdbcTransactionStepListener.class.getSimpleName()); <ide> <add> private static final int DEFAULT_COMMIT_INTERVAL = 1; <add> <ide> private Connection c...
Java
apache-2.0
ad3a471ab1d0f2aa94dbca3e0e7c71f8dc71af37
0
Sellegit/j2objc,gank0326/j2objc,csripada/j2objc,gank0326/j2objc,hambroperks/j2objc,ZouQingcang/MyProject,hambroperks/j2objc,ZouQingcang/MyProject,larrytin/j2objc,ZouQingcang/MyProject,larrytin/j2objc,jiachenning/j2objc,hambroperks/j2objc,larrytin/j2objc,ZouQingcang/MyProject,hambroperks/j2objc,gank0326/j2objc,Sellegit/...
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
translator/src/main/java/com/google/devtools/j2objc/J2ObjC.java
/* * Copyright 2011 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
Added support for @files, files with lists of source paths to translate. Change on 2013/06/18 by tball <tball@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=48177043
translator/src/main/java/com/google/devtools/j2objc/J2ObjC.java
Added support for @files, files with lists of source paths to translate. Change on 2013/06/18 by tball <tball@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=48177043
<ide><path>ranslator/src/main/java/com/google/devtools/j2objc/J2ObjC.java <ide> } <ide> <ide> /** <add> * Translate files listed in a manifest file. <add> */ <add> private static void translateAtFile(J2ObjC compiler, String atFile) throws IOException { <add> if (atFile.isEmpty()) { <add> error("no @ f...
JavaScript
agpl-3.0
c80a28d1ce83989ba4842da1da2aa801c321e98e
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
a77d5996-2e62-11e5-9284-b827eb9e62be
helloWorld.js
a777e664-2e62-11e5-9284-b827eb9e62be
a77d5996-2e62-11e5-9284-b827eb9e62be
helloWorld.js
a77d5996-2e62-11e5-9284-b827eb9e62be
<ide><path>elloWorld.js <del>a777e664-2e62-11e5-9284-b827eb9e62be <add>a77d5996-2e62-11e5-9284-b827eb9e62be
Java
agpl-3.0
6e2dfdabea1363de58388ee973fb7a2807a66079
0
ua-eas/kfs,kuali/kfs,ua-eas/kfs-devops-automation-fork,ua-eas/kfs-devops-automation-fork,ua-eas/kfs,kuali/kfs,bhutchinson/kfs,UniversityOfHawaii/kfs,kkronenb/kfs,bhutchinson/kfs,kkronenb/kfs,quikkian-ua-devops/will-financials,UniversityOfHawaii/kfs,quikkian-ua-devops/kfs,UniversityOfHawaii/kfs,bhutchinson/kfs,kkronenb/...
/* * Copyright 2006-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 b...
work/src/org/kuali/kfs/module/purap/service/impl/PurapAccountingServiceImpl.java
/* * Copyright 2006-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 b...
organize import
work/src/org/kuali/kfs/module/purap/service/impl/PurapAccountingServiceImpl.java
organize import
<ide><path>ork/src/org/kuali/kfs/module/purap/service/impl/PurapAccountingServiceImpl.java <ide> import org.kuali.module.purap.dao.PurApAccountingDao; <ide> import org.kuali.module.purap.document.PaymentRequestDocument; <ide> import org.kuali.module.purap.document.PurchasingAccountsPayableDocument; <del>import org.kual...
JavaScript
apache-2.0
0949225a61d31e6e867ec12444ebe253080b7336
0
ZmG/wsk_tutorial,ZmG/wsk_tutorial,ZmG/wsk_tutorial
// Generated by CoffeeScript 1.10.0 /* This is the main script file. It can attach to the terminal */ (function() { var COMPLETE_URL, EVENT_TYPES, adv_q, advancedTag, buildfunction, current_question, drawStatusMarker, endsWith, f, isNumber, j, leftside, len, logEvent, next, previous, progressIndicator, q, questi...
wsk_tutorial/static/js/steps.js
// Generated by CoffeeScript 1.10.0 /* This is the main script file. It can attach to the terminal */ (function() { var COMPLETE_URL, EVENT_TYPES, adv_q, advancedTag, buildfunction, current_question, drawStatusMarker, endsWith, f, isNumber, j, leftside, len, logEvent, next, previous, progressIndicator, q, questi...
0.1.5
wsk_tutorial/static/js/steps.js
0.1.5
<ide><path>sk_tutorial/static/js/steps.js <ide> assignment: "<h3>Assignment</h3>\n<p>Obtain a non-blocking action's result. Remember, a non-blocking invocation may execute in the background so obtaining the result requires the activation ID</p>", <ide> command_expected: ["wsk", "activation", "result", "6bf1f67...
Java
apache-2.0
b15578a5fe4d9b036cb567a2e329eb4ad2caf59c
0
GlenRSmith/elasticsearch,GlenRSmith/elasticsearch,GlenRSmith/elasticsearch,GlenRSmith/elasticsearch,GlenRSmith/elasticsearch
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.core.ilm; import org.elasticsearc...
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ilm/AllocationRoutedStepTests.java
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.core.ilm; import org.elasticsearc...
Fix UnassignedInfo generation in AllocationRoutedStepTests (#76684) This PR fixes the generation of `UnassignedInfo` in AllocationRoutedStepTests#testExecuteAllocateUnassigned to ensure that it will not trigger consistency-check assertions.
x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ilm/AllocationRoutedStepTests.java
Fix UnassignedInfo generation in AllocationRoutedStepTests (#76684)
<ide><path>-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/ilm/AllocationRoutedStepTests.java <ide> new ClusterStateWaitStep.Result(false, allShardsActiveAllocationInfo(0, 1))); <ide> } <ide> <del> @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/76633") <ide> ...
Java
apache-2.0
83e25794c819fa9686baa30fa0b50a98f777d594
0
RayBa82/DVBViewerController,RayBa82/DVBViewerController
/* * Copyright © 2013 dvbviewer-controller 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...
dvbViewerController/src/main/java/org/dvbviewer/controller/ui/fragments/EpgPager.java
/* * Copyright © 2013 dvbviewer-controller 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...
Issue #48 prevent access to invalid cursor positions
dvbViewerController/src/main/java/org/dvbviewer/controller/ui/fragments/EpgPager.java
Issue #48 prevent access to invalid cursor positions
<ide><path>vbViewerController/src/main/java/org/dvbviewer/controller/ui/fragments/EpgPager.java <ide> */ <ide> @Override <ide> public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { <del> View v = inflater.inflate(R.layout.pager, null); <add> View v = inflater.inflate(...
Java
apache-2.0
48c9bbaf023d6f9e9b567b40091f60bc3c4c9797
0
cosmo0920/flume-ng-fluentd-sink
package com.github.cosmo0920.fluentd.flume.plugins; import org.apache.flume.Channel; import org.apache.flume.ChannelException; import org.apache.flume.Context; import org.apache.flume.CounterGroup; import org.apache.flume.Event; import org.apache.flume.EventDeliveryException; import org.apache.flume.Transaction; impor...
src/main/java/com/github/cosmo0920/fluentd/flume/plugins/FluentdSink.java
package com.github.cosmo0920.fluentd.flume.plugins; import org.apache.flume.Channel; import org.apache.flume.ChannelException; import org.apache.flume.Context; import org.apache.flume.CounterGroup; import org.apache.flume.Event; import org.apache.flume.EventDeliveryException; import org.apache.flume.Transaction; impor...
Create Fluentd logger TODOs: * Send event body into Fluentd * Write test code
src/main/java/com/github/cosmo0920/fluentd/flume/plugins/FluentdSink.java
Create Fluentd logger
<ide><path>rc/main/java/com/github/cosmo0920/fluentd/flume/plugins/FluentdSink.java <ide> import org.slf4j.Logger; <ide> import org.slf4j.LoggerFactory; <ide> <add>import org.komamitsu.fluency.Fluency; <add> <add>import java.io.IOException; <add> <ide> import com.google.common.base.Preconditions; <ide> <ide> public c...
Java
apache-2.0
9e4dbdc9da142306717d87c310f1e67bee26ea10
0
inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service
/* * Copyright 2012 Shared Learning Collaborative, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
sli/ingestion/ingestion-core/src/main/java/org/slc/sli/ingestion/transformation/normalization/did/DeterministicIdResolver.java
/* * Copyright 2012 Shared Learning Collaborative, LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicabl...
Fix botched conflict resolution
sli/ingestion/ingestion-core/src/main/java/org/slc/sli/ingestion/transformation/normalization/did/DeterministicIdResolver.java
Fix botched conflict resolution
<ide><path>li/ingestion/ingestion-core/src/main/java/org/slc/sli/ingestion/transformation/normalization/did/DeterministicIdResolver.java <ide> return didSchemaParser.getRefConfigs().get(refType); <ide> } <ide> <del><<<<<<< HEAD <ide> private void handleDeterministicIdForReference(Entity entity, DidRefS...
Java
apache-2.0
33310f8c3c65e9c12ddf404d47c6de90213170c0
0
jimma/xerces,RackerWilliams/xercesj,ronsigal/xerces,ronsigal/xerces,jimma/xerces,ronsigal/xerces,RackerWilliams/xercesj,RackerWilliams/xercesj,jimma/xerces
/* * The Apache Software License, Version 1.1 * * * Copyright (c) 2000-2002 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of...
src/org/apache/xerces/util/XMLAttributesImpl.java
/* * The Apache Software License, Version 1.1 * * * Copyright (c) 2000-2002 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of...
Improve performance of getType. To determine if we're looking at an enumerated type it is sufficient to check that the first char is a '('. If it is a '(' then it cannot be anything else. git-svn-id: 21df804813e9d3638e43477f308dd0be51e5f30f@319661 13f79535-47bb-0310-9956-ffa450edef68
src/org/apache/xerces/util/XMLAttributesImpl.java
Improve performance of getType. To determine if we're looking at an enumerated type it is sufficient to check that the first char is a '('. If it is a '(' then it cannot be anything else.
<ide><path>rc/org/apache/xerces/util/XMLAttributesImpl.java <ide> * @param type attribute type <ide> * @return the value passed in or NMTOKEN if it's an enumerated type. <ide> */ <del> protected String getReportableType(String type) { <del> <del> if (type.indexOf('(') == 0 && type.lastIndexOf('...
Java
apache-2.0
a6ab5ef940c8ceb4e9c7158a790ad81fc82dd68b
0
orekyuu/intellij-community,akosyakov/intellij-community,ahb0327/intellij-community,semonte/intellij-community,retomerz/intellij-community,holmes/intellij-community,ibinti/intellij-community,muntasirsyed/intellij-community,michaelgallacher/intellij-community,robovm/robovm-studio,michaelgallacher/intellij-community,vvv15...
package com.jetbrains.python.psi.search; import com.intellij.openapi.project.Project; import com.intellij.psi.search.ProjectScope; import com.intellij.psi.stubs.StubIndex; import com.intellij.util.Processor; import com.intellij.util.QueryExecutor; import com.intellij.util.containers.HashSet; import com.jetbrains.pytho...
python/src/com/jetbrains/python/psi/search/PyClassInheritorsSearchExecutor.java
package com.jetbrains.python.psi.search; import com.intellij.openapi.project.Project; import com.intellij.psi.search.ProjectScope; import com.intellij.psi.stubs.StubIndex; import com.intellij.util.Processor; import com.intellij.util.QueryExecutor; import com.intellij.util.containers.HashSet; import com.jetbrains.pytho...
cleanup
python/src/com/jetbrains/python/psi/search/PyClassInheritorsSearchExecutor.java
cleanup
<ide><path>ython/src/com/jetbrains/python/psi/search/PyClassInheritorsSearchExecutor.java <ide> ProjectScope.getAllScope(project)); <ide> for(PyClass candidate: candidates) { <ide> final PyClass[] classes = candidate.getSuperClasses(); <de...
Java
apache-2.0
ae07e95bba7bbf245121eefcd809634a8e0c8757
0
apache/geronimo,apache/geronimo,apache/geronimo,apache/geronimo
/** * 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"); yo...
plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.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"); yo...
GERONIMO-6108 Some labels could not display correctly in admin console's DBWizard page (Thanks Xiao Yi for the patch) git-svn-id: 0d16bf2c240b8111500ec482b35765e5042f5526@1156067 13f79535-47bb-0310-9956-ffa450edef68
plugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java
GERONIMO-6108 Some labels could not display correctly in admin console's DBWizard page (Thanks Xiao Yi for the patch)
<ide><path>lugins/system-database/sysdb-portlets/src/main/java/org/apache/geronimo/console/databasemanager/wizard/DatabasePoolPortlet.java <ide> rarPathMap.put("TranQL XA Resource Adapter for DB2", "tranql-connector-db2-xa"); <ide> rarPathMap.put("TranQL Client Local Transaction Resource Adapter for Apa...
Java
apache-2.0
4d0a8a5c7e0cd5dd152b46383d314917fdfa5e06
0
chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq,chirino/activemq
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may...
activemq-core/src/main/java/org/apache/activemq/transport/InactivityMonitor.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...
https://issues.apache.org/activemq/browse/AMQ-2196 Add option to ignore the values in the remote WireFormatInfo in case the user wants control over the Brokers inactivity timeouts. git-svn-id: d2a93f579bd4835921162e9a69396c846e49961c@905769 13f79535-47bb-0310-9956-ffa450edef68
activemq-core/src/main/java/org/apache/activemq/transport/InactivityMonitor.java
https://issues.apache.org/activemq/browse/AMQ-2196
<ide><path>ctivemq-core/src/main/java/org/apache/activemq/transport/InactivityMonitor.java <ide> /** <ide> * Used to make sure that commands are arriving periodically from the peer of <ide> * the transport. <del> * <add> * <ide> * @version $Revision$ <ide> */ <ide> public class InactivityMonitor extends TransportF...
Java
apache-2.0
31d46d03bd29e9d29c2797f5e72735450a9bf45b
0
tsmgeek/traccar,ninioe/traccar,jssenyange/traccar,jon-stumpf/traccar,orcoliver/traccar,jon-stumpf/traccar,tananaev/traccar,jssenyange/traccar,jon-stumpf/traccar,ninioe/traccar,tananaev/traccar,orcoliver/traccar,jssenyange/traccar,orcoliver/traccar,tsmgeek/traccar,tananaev/traccar,tsmgeek/traccar,ninioe/traccar
/* * Copyright 2012 - 2017 Anton Tananaev (anton@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
src/org/traccar/protocol/AdmProtocolDecoder.java
/* * Copyright 2012 - 2017 Anton Tananaev (anton@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
Rename method
src/org/traccar/protocol/AdmProtocolDecoder.java
Rename method
<ide><path>rc/org/traccar/protocol/AdmProtocolDecoder.java <ide> public static final int MSG_PHOTO = 0x0A; <ide> public static final int MSG_ADM5 = 0x01; <ide> <del> private Position parseData(Channel channel, SocketAddress remoteAddress, ChannelBuffer buf, int type) { <add> private Position decodeData(C...
Java
apache-2.0
e3818153c5d76582b0466a2c59cceb0fa0d51fca
0
michel-kraemer/citeproc-java
package de.undercouch.citeproc; import de.undercouch.citeproc.csl.CSLCitation; import de.undercouch.citeproc.csl.CSLCitationItem; import de.undercouch.citeproc.csl.CSLCitationItemBuilder; import de.undercouch.citeproc.csl.CSLItemData; import de.undercouch.citeproc.csl.CSLItemDataBuilder; import de.undercouch.citeproc....
citeproc-java/src/main/java/de/undercouch/citeproc/CSL.java
package de.undercouch.citeproc; import de.undercouch.citeproc.csl.CSLCitation; import de.undercouch.citeproc.csl.CSLCitationItem; import de.undercouch.citeproc.csl.CSLCitationItemBuilder; import de.undercouch.citeproc.csl.CSLItemData; import de.undercouch.citeproc.csl.CSLItemDataBuilder; import de.undercouch.citeproc....
Fix javadoc
citeproc-java/src/main/java/de/undercouch/citeproc/CSL.java
Fix javadoc
<ide><path>iteproc-java/src/main/java/de/undercouch/citeproc/CSL.java <ide> private final ItemDataProvider itemDataProvider; <ide> <ide> /** <del> * An object that provides abbreviations (may be {@link null}) <add> * An object that provides abbreviations (may be {@code null}) <ide> */ <ide> pr...
Java
apache-2.0
5e14712b93f26d0c23e20361a1f402e6bb3d84b3
0
mrniko/redisson,redisson/redisson
package org.redisson; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * * @author Rui Gu (https://github.com/jackygurui) */ public class RedisVersion implements Comparable<RedisVersion>{ private final String fullVersion; private final Integer majorVersion; private final Integer min...
redisson/src/test/java/org/redisson/RedisVersion.java
package org.redisson; import java.util.regex.Matcher; import java.util.regex.Pattern; /** * * @author Rui Gu (https://github.com/jackygurui) */ public class RedisVersion implements Comparable<RedisVersion>{ private final String fullVersion; private final Integer majorVersion; private final Integer min...
Redis version parsing fixed
redisson/src/test/java/org/redisson/RedisVersion.java
Redis version parsing fixed
<ide><path>edisson/src/test/java/org/redisson/RedisVersion.java <ide> <ide> public RedisVersion(String fullVersion) { <ide> this.fullVersion = fullVersion; <del> Matcher matcher = Pattern.compile("^([\\d]+)\\.([\\d]+)\\.([\\d]+)$").matcher(fullVersion); <add> Matcher matcher = Pattern.compile...
Java
mit
b3e5e0872741b9e297809fcdcac33c838a9f127b
0
ade2/AdePlugin,ade/AdePlugin
package se.ade.minecraft.adeplugin; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.Recipe; import org.bukkit.inventory.ShapedRecipe; import org.bukkit.plugin.java.JavaPlugin; import se.ade.minecraft.adeplugin.db.DbConnection; import se.ade.minecraft.adeplugin.infrastructure.SubModule; import se.ade....
src/main/java/se/ade/minecraft/adeplugin/AdePlugin.java
package se.ade.minecraft.adeplugin; import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.Recipe; import org.bukkit.inventory.ShapedRecipe; import org.bukkit.plugin.java.JavaPlugin; import se.ade.minecraft.adeplugin.db.DbConnection; import se.ade.minecraft.adeplugin.infrastructure.SubModule; import se.ade....
Forward slash in config file location
src/main/java/se/ade/minecraft/adeplugin/AdePlugin.java
Forward slash in config file location
<ide><path>rc/main/java/se/ade/minecraft/adeplugin/AdePlugin.java <ide> * Created 2013-12-27 23:07 <ide> */ <ide> public class AdePlugin extends JavaPlugin { <del> public static final String CONFIG_FILE = "plugins\\adeplugin.yml"; <add> public static final String CONFIG_FILE = "plugins/adeplugin.yml"; <ide> <i...
Java
apache-2.0
01aeff252954737a2cc16756c34215788332b36e
0
DataSketches/sketches-core
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
src/main/java/org/apache/datasketches/hll/Union.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 ...
Covered another use-case.
src/main/java/org/apache/datasketches/hll/Union.java
Covered another use-case.
<ide><path>rc/main/java/org/apache/datasketches/hll/Union.java <ide> final byte[] byteArr = hll8Heap.toUpdatableByteArray(); //serialize srcCopy <ide> wmem.putByteArray(0, byteArr, 0, byteArr.length); //replace old data with new <ide> return (setOooFlag) <del> ? HllSketch.writableWrap(wme...
JavaScript
agpl-3.0
8a14a2919514d16973180baf2a7517ba304a3368
0
ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs
function CDrawingDocument() { this.Native = window.native; this.Api = window.editor; this.IsLockObjectsEnable = false; this.LogicDocument = null; this.CanvasHitContext = CreateHitControl(); this.m_dTargetSize = 0; this.m_lCurrentPage =...
Common/Native/Wrappers/DrawingDocument.js
function CDrawingDocument() { this.Native = window.native; this.Api = window.editor; this.IsLockObjectsEnable = false; this.LogicDocument = null; this.CanvasHitContext = CreateHitControl(); this.m_dTargetSize = 0; this.m_lCurrentPage =...
git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55137 954022d7-b5bf-4e40-9824-e11837661b57
Common/Native/Wrappers/DrawingDocument.js
<ide><path>ommon/Native/Wrappers/DrawingDocument.js <ide> this.m_sLockedCursorType = ""; <ide> <ide> this.AutoShapesTrackLockPageNum = -1; <add> <add> // inline text track <add> this.InlineTextTrackEnabled = false; <add> this.InlineTextTrack = null; <add> this.InlineTextTrackPage =...
Java
apache-2.0
b7ee439ad499fe96b823253fbe351826af0305f8
0
XDean/Java-EX
package xdean.jex.config; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.Optional; import java.util.Properties; import lombok.experimental.UtilityClass; import lombok.extern.slf4j.Slf4j; @Slf4j @UtilityClass public class Config { private final Prop...
src/main/java/xdean/jex/config/Config.java
package xdean.jex.config; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.util.Optional; import java.util.Properties; import lombok.extern.slf4j.Slf4j; @Slf4j public class Config { private static final Properties CONFIG = new Properties(); private stati...
config
src/main/java/xdean/jex/config/Config.java
config
<ide><path>rc/main/java/xdean/jex/config/Config.java <ide> import java.util.Optional; <ide> import java.util.Properties; <ide> <add>import lombok.experimental.UtilityClass; <ide> import lombok.extern.slf4j.Slf4j; <ide> <ide> @Slf4j <add>@UtilityClass <ide> public class Config { <del> private static final Properties ...
Java
apache-2.0
d97bac8456843d6d8417107d8533ca0a0871d395
0
fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode,fishercoder1534/Leetcode
package com.fishercoder.solutions; import java.util.Arrays; public class _977 { public static class Solution1 { public int[] sortedSquares(int[] A) { int[] result = new int[A.length]; for (int i = 0; i < A.length; i++) { result[i] = (int) Math.pow(A[i], 2); ...
src/main/java/com/fishercoder/solutions/_977.java
package com.fishercoder.solutions; import java.util.Arrays; /** * 977. Squares of a Sorted Array * * Given an array of integers A sorted in non-decreasing order, return an array of the squares of each number, also in sorted non-decreasing order. * * Example 1: * Input: [-4,-1,0,3,10] * Output: [0,1,9,16,100] ...
refactor 977
src/main/java/com/fishercoder/solutions/_977.java
refactor 977
<ide><path>rc/main/java/com/fishercoder/solutions/_977.java <ide> <ide> import java.util.Arrays; <ide> <del>/** <del> * 977. Squares of a Sorted Array <del> * <del> * Given an array of integers A sorted in non-decreasing order, return an array of the squares of each number, also in sorted non-decreasing order. <del> ...
Java
bsd-3-clause
18eefb9666e4d76e0f873379c7b283fe7fe3c7ce
0
Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java,Unidata/netcdf-java
/* * * Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata * * Portions of this software were developed by the Unidata Program at the * University Corporation for Atmospheric Research. * * Access and use of this software shall impose the following obligations * and understandings on the...
cdm/src/main/java/ucar/nc2/iosp/mcidas/McIDASGridReader.java
/* * * Copyright 1998-2009 University Corporation for Atmospheric Research/Unidata * * Portions of this software were developed by the Unidata Program at the * University Corporation for Atmospheric Research. * * Access and use of this software shall impose the following obligations * and understandings on the...
allow multiple projections
cdm/src/main/java/ucar/nc2/iosp/mcidas/McIDASGridReader.java
allow multiple projections
<ide><path>dm/src/main/java/ucar/nc2/iosp/mcidas/McIDASGridReader.java <ide> <ide> McIDASGridRecord gr = new McIDASGridRecord(entries[i], <ide> header); <del> if (gr.getGridDefRecordId().equals("CONF X:93 Y:65")) { <add> //if (gr.g...
JavaScript
mit
09779a782fc4cb2577c5a7ff4eea43cfb4890891
0
MineSkin/mineskin.org,MineSkin/mineskin.org,MineSkin/mineskin.org
let apiBaseUrl = "https://api.mineskin.org"; const mineskinApp = angular.module("mineskinApp", ["ui.router", "ui.materialize", "ngFileUpload", "ngCookies", "angularModalService", "ngMeta", "ngStorage"]); mineskinApp.directive("ngPreloadSrc", function () { return { restrict: "A", replace: true, ...
js/base.script.js
let apiBaseUrl = "https://api.mineskin.org"; const mineskinApp = angular.module("mineskinApp", ["ui.router", "ui.materialize", "ngFileUpload", "ngCookies", "angularModalService", "ngMeta", "ngStorage"]); mineskinApp.directive("ngPreloadSrc", function () { return { restrict: "A", replace: true, ...
redirect old gallery route
js/base.script.js
redirect old gallery route
<ide><path>s/base.script.js <ide> } <ide> } <ide> }) <add> .state("gallery_legacy", { <add> url: "/gallery/:page?query", <add> redirectTo: "gallery" <add> }) <ide> .state("gallery", { <del> url: "/gallery/:page?query", <del> ...
Java
apache-2.0
a1043b87431cb62780181fbed71bc9b235d5b301
0
MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim,MyersResearchGroup/iBioSim
package biomodelsim; import gcm2sbml.gui.GCM2SBMLEditor; import gcm2sbml.network.GeneticNetwork; import gcm2sbml.parser.CompatibilityFixer; import gcm2sbml.parser.GCMFile; import gcm2sbml.parser.GCMParser; import gcm2sbml.util.GlobalConstants; import lhpn2sbml.parser.LHPNFile; import lhpn2sbml.gui.*; import graph.Grap...
gui/src/biomodelsim/BioSim.java
package biomodelsim; import gcm2sbml.gui.GCM2SBMLEditor; import gcm2sbml.network.GeneticNetwork; import gcm2sbml.parser.CompatibilityFixer; import gcm2sbml.parser.GCMFile; import gcm2sbml.parser.GCMParser; import gcm2sbml.util.GlobalConstants; import lhpn2sbml.parser.LHPNFile; import lhpn2sbml.gui.*; import graph.Grap...
Imports LHPNs correctly (runs ATACS to get rid of implicit places, etc.)
gui/src/biomodelsim/BioSim.java
Imports LHPNs correctly (runs ATACS to get rid of implicit places, etc.)
<ide><path>ui/src/biomodelsim/BioSim.java <ide> } <ide> in.close(); <ide> out.close(); <add> File work = new File(root); <add> String oldName = root + separator + file[file.length - 1]; <add> String newName = oldName.replace(".g", "_NEW.g"); <add> Process atacs = Runtime.getRuntime...
JavaScript
mit
94cfae717829859a26e59f45fee3cd3d732c145b
0
ftlabs/fruitmachine-media
/* jshint node: true, browser: true */ /** * Media Helper. * * @codingstandard ftlabs-jsv2 * @copyright The Financial Times Limited [All rights reserved] */ 'use strict'; /** * Locals */ var mm = window.matchMedia; require('setimmediate'); var Promise = require('es6-promise').Promise; /** * Exports */ mo...
media.js
/* jshint node: true, browser: true */ /** * Media Helper. * * @codingstandard ftlabs-jsv2 * @copyright The Financial Times Limited [All rights reserved] */ 'use strict'; /** * Locals */ var mm = window.matchMedia; require('setimmediate'); var Promise = require('es6-promise').Promise; /** * Exports */ mo...
Added callback check)
media.js
Added callback check)
<ide><path>edia.js <ide> }); <ide> } else { <ide> processing = false; <del> callback(); <add> if (callback) callback(); <ide> } <ide> } <ide>
Java
apache-2.0
b31fa744ffb9e70b682b2a9a1bffc22363c1beb5
0
coinspark/sparkbit-bitcoinj
/* * SparkBit's Bitcoinj * * Copyright 2014 Coin Sciences Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use...
core/src/main/java/org/coinspark/core/CSBlockHeaderStore.java
/* * SparkBit's Bitcoinj * * Copyright 2014 Coin Sciences Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use...
Null hash in fbchain file for missing block
core/src/main/java/org/coinspark/core/CSBlockHeaderStore.java
Null hash in fbchain file for missing block
<ide><path>ore/src/main/java/org/coinspark/core/CSBlockHeaderStore.java <ide> <ide> if(fileSize < block.getHeight()*FULL_BLOCK_HASHES_SIZE) <ide> { <del> log.error("Cannot store block, header file too small: block " + block.getHeight() + ", file size " + fileSize); <d...
Java
bsd-3-clause
232c7ccdc09be5ac30d6455a9e4feb3a2659415d
0
sfhsfembot/offseason2014
// RobotBuilder Version: 1.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the ...
src/org/usfirst/frc692/OffSeason2014/commands/gathererDownAndGather.java
// RobotBuilder Version: 1.0 // // This file was generated by RobotBuilder. It contains sections of // code that are automatically generated and assigned by robotbuilder. // These sections will be updated in the future when you export to // Java from RobotBuilder. Do not put any code or make any change in // the ...
copy and pasted code
src/org/usfirst/frc692/OffSeason2014/commands/gathererDownAndGather.java
copy and pasted code
<ide><path>rc/org/usfirst/frc692/OffSeason2014/commands/gathererDownAndGather.java <ide> // e.g. if Command1 requires chassis, and Command2 requires arm, <ide> // a CommandGroup containing them would require both the chassis and the <ide> // arm. <add> <add> addParallel(new gather...
Java
mit
604b12e7523bec9650b16c0b9db4fa336becb2cb
0
Innovimax-SARL/mix-them
package innovimax.mixthem.operation; import static innovimax.mixthem.MixConstants.*; import innovimax.mixthem.MixException; import innovimax.mixthem.arguments.RuleParam; import innovimax.mixthem.arguments.ParamValue; import java.util.Map; import java.util.stream.Stream; /** * <p>Zips two characters.</p> * @see CharO...
src/main/java/innovimax/mixthem/operation/DefaultCharZipping.java
package innovimax.mixthem.operation; import static innovimax.mixthem.MixConstants.*; import innovimax.mixthem.MixException; import innovimax.mixthem.arguments.RuleParam; import innovimax.mixthem.arguments.ParamValue; import java.util.Map; /** * <p>Zips two characters.</p> * @see CharOperation * @author Innovimax * @...
returns array as stream
src/main/java/innovimax/mixthem/operation/DefaultCharZipping.java
returns array as stream
<ide><path>rc/main/java/innovimax/mixthem/operation/DefaultCharZipping.java <ide> import innovimax.mixthem.arguments.ParamValue; <ide> <ide> import java.util.Map; <add>import java.util.stream.Stream; <ide> <ide> /** <ide> * <p>Zips two characters.</p> <ide> } <ide> <ide> @Override <del> public int[] process(int c...
Java
lgpl-2.1
e768b2a838bf6fa105e6a25faae63a51d8ebe609
0
stokito/libjnvpx,bgrozev/libjitsi,innerverse/libjitsi,HappyYang/libjitsi,bgrozev/libjitsi,jamesbond12/libjitsi,agh1467/libjitsi,agh1467/libjitsi,draekko/libjitsi,jamesbond12/libjitsi,jitsi/libjitsi,stokito/libjnvpx,bebo/libjitsi,gpolitis/libjitsi,ITNano/libjitsi,innerverse/libjitsi,innerverse/libjitsi,bebo/libjitsi,gpo...
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package org.jitsi.impl.neomedia.rtcp.termination.strategies; import net.sf.fmj.media.rtp.*; import org.jitsi.impl.neomedia.rtcp.*; import org.jitsi.impl.neomedia.rtp.trans...
src/org/jitsi/impl/neomedia/rtcp/termination/strategies/BasicRTCPTerminationStrategy.java
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package org.jitsi.impl.neomedia.rtcp.termination.strategies; import net.sf.fmj.media.rtp.*; import org.jitsi.impl.neomedia.rtcp.*; import org.jitsi.impl.neomedia.rtp.trans...
Changes BasicRTCPTerminationStrategy fields visibility and adds a few comments.
src/org/jitsi/impl/neomedia/rtcp/termination/strategies/BasicRTCPTerminationStrategy.java
Changes BasicRTCPTerminationStrategy fields visibility and adds a few comments.
<ide><path>rc/org/jitsi/impl/neomedia/rtcp/termination/strategies/BasicRTCPTerminationStrategy.java <ide> * A cache of media receiver feedback. It contains both receiver report <ide> * blocks and REMB packets. <ide> */ <del> private final FeedbackCache feedbackCache; <add> protected final FeedbackC...
Java
apache-2.0
b8e00215859703a00945b154bb049f4f68455ace
0
codybum/Cresco-Container-Plugin
import com.google.auto.service.AutoService; import com.researchworx.cresco.library.plugin.core.CPlugin; import java.util.ArrayList; import java.util.List; @AutoService(CPlugin.class) public class Plugin extends CPlugin { public DockerEngine de; private PerfMonitor perfMonitor; @Override public void ...
src/main/java/Plugin.java
import com.google.auto.service.AutoService; import com.researchworx.cresco.library.plugin.core.CPlugin; import java.util.ArrayList; import java.util.List; @AutoService(CPlugin.class) public class Plugin extends CPlugin { public DockerEngine de; private PerfMonitor perfMonitor; @Override public void ...
rolled back docker-client version due to errors with docker 13.0
src/main/java/Plugin.java
rolled back docker-client version due to errors with docker 13.0
<ide><path>rc/main/java/Plugin.java <ide> } <ide> else { <ide> List<String> envList = parseEParams(this.config.getStringParam("e_params")); <add> if(envList != null) { <add> for (String ep : envList) { <add> logger.info("e_param: " + ep); <add> ...
Java
apache-2.0
cec36b4dbb3671aa39cb4f2dcf7cb11ee2e5e5e5
0
ferstl/depgraph-maven-plugin
/* * Copyright (c) 2014 - 2017 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 ...
src/test/java/com/github/ferstl/depgraph/dependency/GraphBuildingVisitorTest.java
/* * Copyright (c) 2014 - 2017 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 ...
#35: Add test for multiple target dependency nodes
src/test/java/com/github/ferstl/depgraph/dependency/GraphBuildingVisitorTest.java
#35: Add test for multiple target dependency nodes
<ide><path>rc/test/java/com/github/ferstl/depgraph/dependency/GraphBuildingVisitorTest.java <ide> new String[]{ <ide> "\"groupId:parent:jar:version:compile\" -> \"groupId:child2:jar:version:compile\""})); <ide> } <del> <add> <add> /** <add> * . <add> * <pre> <add> * parent <add> * - chi...
Java
apache-2.0
bdbe764f6d5b671e1e6de0f01e88be87e6938698
0
TheNightForum/Path-to-Mani,BurntGameProductions/Path-to-Mani,BurntGameProductions/Path-to-Mani,BurntGameProductions/Path-to-Mani,TheNightForum/Path-to-Mani,TheNightForum/Path-to-Mani
/* * Copyright 2016 BurntGameProductions * * 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 ...
main/src/com/pathtomani/entities/planet/SysConfigs.java
/* * Copyright 2016 BurntGameProductions * * 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 ...
Moving files to Managers.
main/src/com/pathtomani/entities/planet/SysConfigs.java
Moving files to Managers.
<ide><path>ain/src/com/pathtomani/entities/planet/SysConfigs.java <ide> import com.pathtomani.entities.item.TradeConfig; <ide> import com.pathtomani.gfx.TextureManager; <ide> import com.pathtomani.common.ManiMath; <del>import com.pathtomani.files.FileManager; <del>import com.pathtomani.files.HullConfigManager; <add>imp...
Java
epl-1.0
0498f0653d5a405d888317734e60d2d78c247641
0
rrimmana/birt-1,Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,sguan-actuate/birt,sguan-actuate/birt,Charling-Huang/birt,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1,rrimmana/birt-1,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt
/*********************************************************************** * Copyright (c) 2004 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 available at * ...
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/factory/Generator.java
/*********************************************************************** * Copyright (c) 2004 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 available at * ...
Updated generator to reuse the design-time model's script handler as the runtime model's script handler
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/factory/Generator.java
Updated generator to reuse the design-time model's script handler as the runtime model's script handler
<ide><path>hart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/factory/Generator.java <ide> } <ide> <ide> final String sScriptContent = cmRunTime.getScript(); <del> ScriptHandler sh = null; <del> if (sScriptContent != null) <add> ScriptHandler sh = cmDesignTime.getScriptH...
Java
apache-2.0
error: pathspec 'strongbox-cron-tasks/src/main/java/org.carlspring.strongbox/cron/api/jobs/RebuildMetadataCronJob.java' did not match any file(s) known to git
1c1f6bebd871faa9647e3ff1859a313235891c53
1
sbespalov/strongbox,sbespalov/strongbox,nenko-tabakov/strongbox,sbespalov/strongbox,strongbox/strongbox,AlexOreshkevich/strongbox,strongbox/strongbox,sbespalov/strongbox,strongbox/strongbox,strongbox/strongbox
package org.carlspring.strongbox.cron.api.jobs; import org.carlspring.strongbox.services.ArtifactMetadataService; import org.codehaus.plexus.util.xml.pull.XmlPullParserException; import org.quartz.JobExecutionContext; import org.quartz.JobExecutionException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; imp...
strongbox-cron-tasks/src/main/java/org.carlspring.strongbox/cron/api/jobs/RebuildMetadataCronJob.java
SB-564: Created class RebuildMetadataCronJob for executing method rebuild metadata of Maven artifacts on a schedule.
strongbox-cron-tasks/src/main/java/org.carlspring.strongbox/cron/api/jobs/RebuildMetadataCronJob.java
SB-564: Created class RebuildMetadataCronJob for executing method rebuild metadata of Maven artifacts on a schedule.
<ide><path>trongbox-cron-tasks/src/main/java/org.carlspring.strongbox/cron/api/jobs/RebuildMetadataCronJob.java <add>package org.carlspring.strongbox.cron.api.jobs; <add> <add>import org.carlspring.strongbox.services.ArtifactMetadataService; <add>import org.codehaus.plexus.util.xml.pull.XmlPullParserException; <add>imp...
Java
apache-2.0
error: pathspec 'src/test/design/pattern/behavior/testMediator2.java' did not match any file(s) known to git
fa47ff65b5bc8ae965ff6940d28a80bbf3574c16
1
cheyiliu/test4java
package test.design.pattern.behavior; import java.util.ArrayList; import java.util.List; /** * http://blog.csdn.net/qbg19881206/article/details/18772201 */ /** * 中介者模式将一个网状的系统结构变成一个以中介者对象为中心的星形结构, * 在这个星型结构中,使用中介者对象与其他对象的一对多关系来取代原有对象之间的多对多关系。 * 中介者模式在事件驱动类软件中应用较为广泛,特别是基于GUI(Graphical User Interface, * 图形用户界面)的...
src/test/design/pattern/behavior/testMediator2.java
add Mediator中介者模式 2
src/test/design/pattern/behavior/testMediator2.java
add Mediator中介者模式 2
<ide><path>rc/test/design/pattern/behavior/testMediator2.java <add> <add>package test.design.pattern.behavior; <add> <add>import java.util.ArrayList; <add>import java.util.List; <add> <add>/** <add> * http://blog.csdn.net/qbg19881206/article/details/18772201 <add> */ <add>/** <add> * 中介者模式将一个网状的系统结构变成一个以中介者对象为中心的星形结构, ...
Java
lgpl-2.1
5c305136a6ce0a004e916e3f3e3752eea7886f16
0
pbondoer/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,pbondoer/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,xwiki/xwiki-platform,pbondoer/xwiki-platform
/* * Copyright 2005-2007, 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 L...
src/main/java/com/xpn/xwiki/plugin/scheduler/GroovyTask.java
/* * Copyright 2005-2007, 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 L...
XWIKI-807: Implement a Scheduler plugin * Fixed GroovyTask documentation * Moved programming check earlier so that unnecessary objects are not created * Handled case when the user ddidn't have programming rights when the job was scheduled * Added useful information to excpetions that were missing information (This is ...
src/main/java/com/xpn/xwiki/plugin/scheduler/GroovyTask.java
XWIKI-807: Implement a Scheduler plugin
<ide><path>rc/main/java/com/xpn/xwiki/plugin/scheduler/GroovyTask.java <ide> import com.xpn.xwiki.api.Api; <ide> import com.xpn.xwiki.api.Context; <ide> <add>/** <add> * The task that will get executed by the Scheduler when the Job is triggered. This task in <add> * turn calls a Groovy script to perform the execution....
JavaScript
mit
3d3a1620677372152808e9e3bc478f203171e8de
0
scottbedard/oc-vuetober-theme,scottbedard/oc-vuetober-theme
var path = require('path'); var WriteFilePlugin = require('write-file-webpack-plugin'); // helper function to get the base url for theme assets // if no explicit value is set, we'll try to use the theme directory function getProductionBaseUrl(api, pluginOptions) { var baseUrl = pluginOptions.baseUrl; if (type...
index.js
var path = require('path'); var WriteFilePlugin = require('write-file-webpack-plugin'); // helper function to get the base url for theme assets // if no explicit value is set, we'll try to use the theme directory function getProductionBaseUrl(api, pluginOptions) { var baseUrl = pluginOptions.baseUrl; if (type...
fix production base url when no explicit config is present
index.js
fix production base url when no explicit config is present
<ide><path>ndex.js <ide> return baseUrl.endsWith('/') ? baseUrl : baseUrl + '/'; <ide> } <ide> <del> return api.resolve('assets').split('/').slice(-3).join('/') + '/'; <add> return '/' + api.resolve('assets').split('/').slice(-3).join('/') + '/'; <ide> } <ide> <ide> // helper function for resolving ...
Java
mit
b5be741927518c2307a76ef2c8b0606827f2a7cf
0
ravis411/SimCity201
package residence.test; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import residence.HomeRole; import residence.HomeRole.AgentEvent; import residence.HomeRole.AgentState; import residence.gui.HomeRoleGui; import residence.test.mock.MockApartmentManager; import reside...
src/residence/test/ResidenceTest1.java
package residence.test; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; import residence.HomeRole; import residence.HomeRole.AgentEvent; import residence.HomeRole.AgentState; import residence.gui.HomeRoleGui; import residence.test.mock.MockApartmentManager; import reside...
Removed profanity
src/residence/test/ResidenceTest1.java
Removed profanity
<ide><path>rc/residence/test/ResidenceTest1.java <ide> manager.homeRole=homeRole; <ide> <ide> } <del> public void testHomeRole(){ <add> //-------------------ELEMENTARY PRECONDITIONS-----------------// <add> public void testHomeRolePreConditions(){ <ide> try { <ide> setUp(); <ide> } catch (Exception e) { <...
Java
mit
c51aec93d5d7448aad1444ccc90802155fafa753
0
FallenRiteMonk/ludus
package com.fallenritemonk.ludus.game; import android.content.DialogInterface; import android.graphics.Color; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AlertDialog; import android.view.Gravity; import android.view.View; import android.view.ViewGroup; import android.widget...
app/src/main/java/com/fallenritemonk/ludus/game/GameField.java
package com.fallenritemonk.ludus.game; import android.content.DialogInterface; import android.graphics.Color; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AlertDialog; import android.view.Gravity; import android.view.View; import android.view.ViewGroup; import android.widget...
brackets for if
app/src/main/java/com/fallenritemonk/ludus/game/GameField.java
brackets for if
<ide><path>pp/src/main/java/com/fallenritemonk/ludus/game/GameField.java <ide> } <ide> } <ide> <del> if (possibilities.size() == 0) <add> if (possibilities.size() == 0) { <ide> addFieldsButton.setVisibility(View.VISIBLE); <del> else addFieldsButton.setVisibility(Vie...
Java
apache-2.0
2d53dba7b13c9adb81b5e9847b1a17204d4a0bd8
0
gravitee-io/graviteeio-access-management,gravitee-io/graviteeio-access-management,gravitee-io/graviteeio-access-management,gravitee-io/graviteeio-access-management,gravitee-io/graviteeio-access-management
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
gravitee-am-repository/gravitee-am-repository-mongodb/src/main/java/io/gravitee/am/repository/mongodb/common/MongoFactory.java
/** * Copyright (C) 2015 The Gravitee team (http://gravitee.io) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requ...
chore(): fix mongodb configuration
gravitee-am-repository/gravitee-am-repository-mongodb/src/main/java/io/gravitee/am/repository/mongodb/common/MongoFactory.java
chore(): fix mongodb configuration
<ide><path>ravitee-am-repository/gravitee-am-repository-mongodb/src/main/java/io/gravitee/am/repository/mongodb/common/MongoFactory.java <ide> <ide> CodecRegistry defaultCodecRegistry = MongoClients.getDefaultCodecRegistry(); <ide> CodecRegistry pojoCodecRegistry = fromProviders(PojoCodecProvider.build...
Java
mit
50ad667252f693c92bb185cd03849aa3687c00b9
0
LostCodeStudios/gnoPortal
/** * */ package com.lostcodestudios.gnoPortal.gameplay; import java.io.IOException; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.InputMultiplexer; import com.badlogic.gdx.graphics.Camera; import com.badlogic.gdx.math.Rectangle; import com.badlogic.gdx.math.Vector2; import com.lostcode.javalib.entities.Ent...
core/src/com/lostcodestudios/gnoPortal/gameplay/PongWorld.java
/** * */ package com.lostcodestudios.gnoPortal.gameplay; import java.io.IOException; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.InputMultiplexer; import com.badlogic.gdx.graphics.Camera; import com.badlogic.gdx.math.Rectangle; import com.badlogic.gdx.math.Vector2; import com.lostcode.javalib.entities.Ent...
updating libgdx libs
core/src/com/lostcodestudios/gnoPortal/gameplay/PongWorld.java
updating libgdx libs
<ide><path>ore/src/com/lostcodestudios/gnoPortal/gameplay/PongWorld.java <ide> import com.lostcode.javalib.entities.EntityWorld; <ide> import com.lostcode.javalib.utils.Convert; <ide> import com.lostcode.javalib.utils.SpriteSheet; <add>import com.lostcodestudios.gnoPortal.gameplay.entities.templates.PaddleTemplate; <id...
Java
apache-2.0
3f93fd7d7435ad3e814acfd0f045619d943998d4
0
dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android
/* * Copyright (C) 2009 University of Washington * * 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 ...
app/src/org/odk/collect/android/utilities/FileUtils.java
/* * Copyright (C) 2009 University of Washington * * 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 ...
limit recursion depth
app/src/org/odk/collect/android/utilities/FileUtils.java
limit recursion depth
<ide><path>pp/src/org/odk/collect/android/utilities/FileUtils.java <ide> scale = 1; <ide> } <ide> <del> return performSafeScaleDown(f, scale); <add> return performSafeScaleDown(f, scale, 0); <ide> } <ide> <ide> /** <ide> * Returns a scaled-down bitmap for the given image...
Java
mit
b7d68341e41319a8ae2371a4f4f5b6e58c318acc
0
sake/bouncycastle-java
package org.bouncycastle.asn1.x509; import java.util.Enumeration; import java.util.Hashtable; import java.util.Vector; import org.bouncycastle.asn1.*; import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers; import org.bouncycastle.util.encoders.Hex; import org.bouncycastle.util.Strings; /** * <pre> * RDNSeque...
src/org/bouncycastle/asn1/x509/X509Name.java
package org.bouncycastle.asn1.x509; import java.util.Enumeration; import java.util.Hashtable; import java.util.Vector; import org.bouncycastle.asn1.*; import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers; import org.bouncycastle.util.encoders.Hex; import org.bouncycastle.util.Strings; /** * <pre> * RDNSeque...
Use Boolean class sensibly
src/org/bouncycastle/asn1/x509/X509Name.java
Use Boolean class sensibly
<ide><path>rc/org/bouncycastle/asn1/x509/X509Name.java <ide> { <ide> values.addElement("#" + bytesToString(Hex.encode(value.getDERObject().getDEREncoded()))); <ide> } <del> added.addElement((i != 0) ? new Boolean(true) : new Boolean(false));...
JavaScript
mit
2ec9c696db47cf9ba4f0c3db6edd0dae8f02cd83
0
laat/nurture,laat/nurture
// @flow /* eslint-disable no-console */ import sane from 'sane'; import chalk from 'chalk'; import ora from 'ora'; import { queue } from 'async'; import execCommand from './utils/exec'; const check = (bool?: boolean) => (bool ? chalk.green('✓') : chalk.red('✗')); const printDefinition = (wd, { change, add, de...
src/watch.js
// @flow /* eslint-disable no-console */ import sane from 'sane'; import chalk from 'chalk'; import ora from 'ora'; import { queue } from 'async'; import execCommand from './utils/exec'; const check = (bool?: boolean) => (bool ? chalk.green('✓') : chalk.red('✗')); const printDefinition = (wd, { change, add, de...
easier to identify where a trigger starts
src/watch.js
easier to identify where a trigger starts
<ide><path>rc/watch.js <ide> commandToRun = command; <ide> } <ide> <del> console.log(`\n> Watch triggered at: ${wd}\n> ${commandToRun}`); <add> console.log(`\n> ${chalk.green('Watch triggered at')}: ${wd}\n> ${commandToRun}`); <ide> const options = { shell: true, cwd: wd, env: process.env }; <ide> await ex...
Java
bsd-2-clause
463a11da596eb8db981406d6b67801e3f030e2e9
0
runelite/runelite,runelite/runelite,runelite/runelite
/* * Copyright (c) 2018, Adam <Adam@sigterm.info> * Copyright (c) 2018, Kamiel * Copyright (c) 2019, Rami <https://github.com/Rami-J> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1...
runelite-client/src/main/java/net/runelite/client/plugins/menuentryswapper/MenuEntrySwapperPlugin.java
/* * Copyright (c) 2018, Adam <Adam@sigterm.info> * Copyright (c) 2018, Kamiel * Copyright (c) 2019, Rami <https://github.com/Rami-J> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1...
menu swapper: disable pmd check
runelite-client/src/main/java/net/runelite/client/plugins/menuentryswapper/MenuEntrySwapperPlugin.java
menu swapper: disable pmd check
<ide><path>unelite-client/src/main/java/net/runelite/client/plugins/menuentryswapper/MenuEntrySwapperPlugin.java <ide> final NPC npc = entry.getNpc(); <ide> assert npc != null; <ide> final NPCComposition composition = npc.getTransformedComposition(); <add> assert composition != null; <ide> final Stri...
Java
lgpl-2.1
ad3774d09532350417887a25d9802b6a920cd90c
0
CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine
/* * jETeL/Clover - Java based ETL application framework. * Copyright (C) 2002-04 David Pavlis <david_pavlis@hotmail.com> * * 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 Foundat...
cloveretl.engine/src/org/jetel/data/parser/DelimitedDataParserNIO.java
/* * jETeL/Clover - Java based ETL application framework. * Copyright (C) 2002-04 David Pavlis <david_pavlis@hotmail.com> * * 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 Foundat...
Cosmetic changes. git-svn-id: 7003860f782148507aa0d02fa3b12992383fb6a5@752 a09ad3ba-1a0f-0410-b1b9-c67202f10d70
cloveretl.engine/src/org/jetel/data/parser/DelimitedDataParserNIO.java
Cosmetic changes.
<ide><path>loveretl.engine/src/org/jetel/data/parser/DelimitedDataParserNIO.java <ide> private ReadableByteChannel reader; <ide> private CharsetDecoder decoder; <ide> private int recordCounter; <del> private char[] delimiters[]; <del> private char fieldTypes[]; <add> private char[][] delimiters; <add> private char[]...
JavaScript
mit
ca94887fbc5edf4ccec2a007d5066f8181dab270
0
pjleonard37/philly-hoods,davewalk/philly-hoods,pjleonard37/philly-hoods,davewalk/philly-hoods,davewalk/philly-hoods,pjleonard37/philly-hoods,pjleonard37/philly-hoods
var db = require('../lib/db'); exports.get = function (req, res, next) { var editedName = req.params.name.toUpperCase(); var editedName = editedName.replace(' ', '_'); db.fromName(editedName, function (err, result) { if (err) { res.json(500, {error: 'Error attempting to get neighborhood: ' + err}); ...
routes/neighborhoods.js
var db = require('../lib/db'); exports.get = function (req, res, next) { var editedName = req.params.name.toUpperCase(); var editedName = editedName.replace(' ', '_'); db.fromName(editedName, function (err, result) { if (err) { res.json(500, {error: 'Error attempting to get neighborhood: ' + err}); ...
Removing console log
routes/neighborhoods.js
Removing console log
<ide><path>outes/neighborhoods.js <ide> <ide> for (var key in result) { <ide> var val = result[key]['name']; <del> console.log(val); <ide> results.push(val); <ide> } <ide> res.json(200, {request: 'neighborhoods', results: results});
Java
apache-2.0
cd8f6f781b70ca6476f92320b631122fd29930b4
0
vitvitvit/java_learning,vitvitvit/java_learning
package ru.stqa.pft.addressbook.tests; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.model.GroupData; public class GroupModificationTests extends TestBase{ @Test public void testGroupModification() { app.getNavigationHelper().gotoGroupPage(); if (! app.getGroupHelper().isThereAGroup(...
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/GroupModificationTests.java
package ru.stqa.pft.addressbook.tests; import org.testng.annotations.Test; import ru.stqa.pft.addressbook.model.GroupData; public class GroupModificationTests extends TestBase{ @Test public void testGroupModification() { app.getNavigationHelper().gotoGroupPage(); app.getGroupHelper().selectGroup(); a...
проверка наличия группы перед модификацией
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/GroupModificationTests.java
проверка наличия группы перед модификацией
<ide><path>ddressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/tests/GroupModificationTests.java <ide> @Test <ide> public void testGroupModification() { <ide> app.getNavigationHelper().gotoGroupPage(); <add> if (! app.getGroupHelper().isThereAGroup()) { <add> app.getGroupHelper().createGroup(new ...
Java
bsd-3-clause
baba9d6b4756ef77dbd5b1de5fa78260ee522f08
0
g-rocket/jmonkeyengine,skapi1992/jmonkeyengine,bsmr-java/jmonkeyengine,Georgeto/jmonkeyengine,amit2103/jmonkeyengine,wrvangeest/jmonkeyengine,nickschot/jmonkeyengine,amit2103/jmonkeyengine,aaronang/jmonkeyengine,phr00t/jmonkeyengine,shurun19851206/jMonkeyEngine,weilichuang/jmonkeyengine,danteinforno/jmonkeyengine,sande...
/* * Copyright (c) 2009-2010 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 ...
engine/src/terrain/com/jme3/terrain/geomipmap/TerrainGrid.java
/* * Copyright (c) 2009-2010 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 ...
Fix to TerrainGrid: only clone the grid's material to child quad if it doesn't have a material of its own git-svn-id: f9411aee4f13664f2fc428a5b3e824fe43a079a3@8970 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
engine/src/terrain/com/jme3/terrain/geomipmap/TerrainGrid.java
Fix to TerrainGrid: only clone the grid's material to child quad if it doesn't have a material of its own
<ide><path>ngine/src/terrain/com/jme3/terrain/geomipmap/TerrainGrid.java <ide> log.log(Level.FINE, "Loaded TerrainQuad {0} from HeightMapGrid", q.getName()); <ide> } else if (gridTileLoader != null) { <ide> q = gridTileLoader.getTerrainQuad...
JavaScript
mit
5c24cef3aa918d1fbf4069527b71e5a477dd9f05
0
ForestGuardian/ForestGuardianBackend,ForestGuardian/ForestGuardianBackend,ForestGuardian/ForestGuardianBackend,ForestGuardian/ForestGuardianBackend,ForestGuardian/ForestGuardianBackend
/** * Created by Luis Alonso Murillo Rojas on 11/12/16. */ /* Global definitions */ var map; var route; var fireStationMarker; var currentFireCoordinates; var gpsMarker; var reportMarker; var MODISLayer; var fireIcon; var fireStationIcon; var markerIcon; var markerArea; var reportMarkerLocation = { 'latitude':0.0, '...
app/assets/javascripts/maps.js
/** * Created by Luis Alonso Murillo Rojas on 11/12/16. */ /* Global definitions */ var map; var route; var fireStationMarker; var currentFireCoordinates; var gpsMarker; var reportMarker; var MODISLayer; var fireIcon; var fireStationIcon; var markerIcon; var markerArea; var reportMarkerLocation = { 'latitude':0.0, '...
Fix bad latitude and longitude calls.
app/assets/javascripts/maps.js
Fix bad latitude and longitude calls.
<ide><path>pp/assets/javascripts/maps.js <ide> function addReportLocation(){ <ide> <ide> var center = map.getBounds().getCenter(); <del> var latitude = center.latitude; <del> var longitude = center.longitude; <add> var latitude = center.lat; <add> var longitude = center.lng; <ide> <ide> // Initial...
Java
apache-2.0
a13829aa74f70b82c429b53de684a606e6cf301b
0
vanitasvitae/Smack,Flowdalic/Smack,Flowdalic/Smack,igniterealtime/Smack,Flowdalic/Smack,vanitasvitae/Smack,vanitasvitae/Smack,igniterealtime/Smack,igniterealtime/Smack
/** * * Copyright 2014-2019 Florian Schmaus * * 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 ...
smack-core/src/main/java/org/jivesoftware/smack/SmackException.java
/** * * Copyright 2014-2019 Florian Schmaus * * 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 ...
Add javadoc to Smack(Message|Wrapped)Exception
smack-core/src/main/java/org/jivesoftware/smack/SmackException.java
Add javadoc to Smack(Message|Wrapped)Exception
<ide><path>mack-core/src/main/java/org/jivesoftware/smack/SmackException.java <ide> } <ide> } <ide> <add> /** <add> * A Smack exception wrapping another exception. Note that usage of this class is consider bad practice. This class <add> * will eventually be marked deprecated and removed. <add> ...
Java
apache-2.0
c270ac0af9cda9e2c67d3dcff3fabd52b9ff4f5f
0
polypmer/whale,polypmer/whale,polypmer/whale,polypmer/starwhale,polypmer/starwhale,polypmer/starwhale
package com.everythingisreally; import com.badlogic.gdx.ApplicationAdapter; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.audio.Sound; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.Bitmap...
core/src/com/everythingisreally/StarWhale.java
package com.everythingisreally; import com.badlogic.gdx.ApplicationAdapter; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.audio.Sound; import com.badlogic.gdx.graphics.GL20; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.Bitmap...
implemented falling stars frequency which makes sense
core/src/com/everythingisreally/StarWhale.java
implemented falling stars frequency which makes sense
<ide><path>ore/src/com/everythingisreally/StarWhale.java <ide> <ide> import java.util.Iterator; <ide> <del>//TODO: Create Star Class <add>//TODO: FIND SWEET SPOT <add>// FOR: health drain and star generation and whale speed <ide> public class StarWhale extends ApplicationAdapter { <ide> <ide> private Texture smallS...
Java
bsd-3-clause
6a2b28a8baf0001f0ad4bccfe5ef23ddd2f6521a
0
NCIP/cananolab,NCIP/cananolab,NCIP/cananolab
package gov.nih.nci.calab.domain.nano.characterization.physical; import gov.nih.nci.calab.domain.Measurement; public class SurfaceChemistry { private Long id; private String molecule; private Measurement density; public SurfaceChemistry() { super(); // TODO Auto-generated constructor stub } public Long ...
src/gov/nih/nci/calab/domain/nano/characterization/physical/SurfaceChemistry.java
package gov.nih.nci.calab.domain.nano.characterization.physical; import gov.nih.nci.calab.domain.Measurement; public class SurfaceChemistry { private String molecule; private Measurement density; public SurfaceChemistry() { super(); // TODO Auto-generated constructor stub } public Measurement getDensity(...
Added ID SVN-Revision: 2025
src/gov/nih/nci/calab/domain/nano/characterization/physical/SurfaceChemistry.java
Added ID
<ide><path>rc/gov/nih/nci/calab/domain/nano/characterization/physical/SurfaceChemistry.java <ide> <ide> public class SurfaceChemistry { <ide> <add> private Long id; <ide> private String molecule; <ide> private Measurement density; <ide> <ide> public SurfaceChemistry() { <ide> super(); <ide> // TODO Auto-gene...
Java
agpl-3.0
dbeb77ff99b770b5a9d20061290518cf7f06c892
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
3b70386e-2e61-11e5-9284-b827eb9e62be
hello.java
3b6ad5ea-2e61-11e5-9284-b827eb9e62be
3b70386e-2e61-11e5-9284-b827eb9e62be
hello.java
3b70386e-2e61-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>3b6ad5ea-2e61-11e5-9284-b827eb9e62be <add>3b70386e-2e61-11e5-9284-b827eb9e62be
Java
apache-2.0
e487d15e36357b13546e24f8a89698bdc9188d95
0
Jasig/SurveyPortlet,Jasig/SurveyPortlet,bjagg/SurveyPortlet,doodelicious/SurveyPortlet,bjagg/SurveyPortlet,bjagg/SurveyPortlet,andrewstuart/SurveyPortlet,doodelicious/SurveyPortlet,Jasig/SurveyPortlet,andrewstuart/SurveyPortlet
/** * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Apereo licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in ...
src/main/java/org/jasig/portlet/survey/mvc/service/JpaSurveyDataService.java
/** * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. * Apereo licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file * except in ...
Adding a lastUpdated fieled to the Response
src/main/java/org/jasig/portlet/survey/mvc/service/JpaSurveyDataService.java
Adding a lastUpdated fieled to the Response
<ide><path>rc/main/java/org/jasig/portlet/survey/mvc/service/JpaSurveyDataService.java <ide> @Override <ide> public ResponseDTO createResponse(ResponseDTO response) { <ide> JpaResponse jpaResponse = surveyMapper.toJpaResponse(response); <add> // Touch the lastUpdated filed to match this persist <...
Java
mit
error: pathspec 'src/Playlist.java' did not match any file(s) known to git
7b1fad393399a11f3dfaa56700c2ea1f6d4782f5
1
yige-hu/bayou
public class Playlist { }
src/Playlist.java
add src bin folders
src/Playlist.java
add src bin folders
<ide><path>rc/Playlist.java <add> <add>public class Playlist { <add> <add>}
Java
apache-2.0
656857c3ff4dbeac68a82008e917148d79100cff
0
ewestfal/rice-svn2git-test,ewestfal/rice,sonamuthu/rice-1,rojlarge/rice-kc,kuali/kc-rice,bsmith83/rice-1,sonamuthu/rice-1,gathreya/rice-kc,sonamuthu/rice-1,gathreya/rice-kc,bhutchinson/rice,kuali/kc-rice,smith750/rice,UniversityOfHawaiiORS/rice,bhutchinson/rice,jwillia/kc-rice1,jwillia/kc-rice1,bhutchinson/rice,geothom...
/** * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
rice-framework/krad-sampleapp/web/src/it/java/org/kuali/rice/krad/demo/lookup/stackedresults/DemoLookUpStackedResultsAft.java
/** * Copyright 2005-2014 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl2.php * * Unless required by a...
RICEQA-451 : Fill AFT Gap: KRAD Demo - Lookup with Stacked Results - link now exists, create nav test
rice-framework/krad-sampleapp/web/src/it/java/org/kuali/rice/krad/demo/lookup/stackedresults/DemoLookUpStackedResultsAft.java
RICEQA-451 : Fill AFT Gap: KRAD Demo - Lookup with Stacked Results - link now exists, create nav test
<ide><path>ice-framework/krad-sampleapp/web/src/it/java/org/kuali/rice/krad/demo/lookup/stackedresults/DemoLookUpStackedResultsAft.java <ide> @Override <ide> protected void navigate() throws Exception { <ide> waitAndClickById("Demo-DemoLink", ""); <del> waitAndClickByLinkText("Lookup Stacked Resu...
JavaScript
mit
77d8afcbca373efc00f0b4c3d304bd73e65bd0c7
0
ollien/Spectabular,ollien/Spectabular
var unmovedPins = []; //Stores pinned tabs that haven't been within the popup var pinnedTabs = []; //Stores pinned tabs that have been moved within the popup var darkMode = true; //Gets windows from storage function getStorage(callback){ chrome.storage.local.get("windows",callback); } function getOptions(callback){ ...
popup.js
var unmovedPins = []; //Stores pinned tabs that haven't been within the popup var pinnedTabs = []; //Stores pinned tabs that have been moved within the popup var darkMode = true; //Gets windows from storage function getStorage(callback){ chrome.storage.local.get("windows",callback); } function getOptions(callback){ ...
Revert "Fix bug where changing tabKeyIndex on winodw close wouldn't work, resolves #22" This reverts commit 3cf8eaaf2cec2614eacfac35af19bbef4a5f94fd.
popup.js
Revert "Fix bug where changing tabKeyIndex on winodw close wouldn't work, resolves #22"
<ide><path>opup.js <ide> tabKeyIndex-=1; <ide> } <ide> //If we're closing a window with only one tab left, move to the previous list. <del> if (tabList.length===1){ <add> if (tabList.length===0){ <ide> //Remove the list from the popup <ide> //If we're at the front of the list, we mov...