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
d09c48f2659dd3f9a24f459380e403249bff0c45
0
mirror-media/plate
var keystone = require('arch-keystone'); var transform = require('model-transform'); var Types = keystone.Field.Types; var Watch = new keystone.List('Watch', { track: true, sortable: true, }); var price = 'NTD30000以下, NTD30000~NTD70000, NTD70000~NTD150000, NTD150000~NTD300000, NTD300000~NTD500000, NTD500000~NTD1...
models/Watch.js
var keystone = require('arch-keystone'); var transform = require('model-transform'); var Types = keystone.Field.Types; var Watch = new keystone.List('Watch', { track: true, sortable: true, }); var price = 'NTD30000以下, NTD30000~NTD70000, NTD70000~NTD150000, NTD150000~NTD300000, NTD300000~NTD500000, NTD500000~NTD1...
add some fields in Watch.js
models/Watch.js
add some fields in Watch.js
<ide><path>odels/Watch.js <ide> ga: { label: '發表年份', type: Number}, <ide> limit: { label: '限量支數', type: Number, index: true}, <ide> sex: { label: '性別', type: Types.Select, options: '男錶款, 女錶款, 中性錶款', default: '中性錶款'}, <del> luminous: { label: '夜光', type: Types.Select, options: '有, 無', default: '有'}, <add> lumino...
JavaScript
mit
e4c3d138520087f985fc011a403a93d43b343868
0
oddhill/generator-odd
var helpers = require('yeoman-generator').test; var fse = require('fs-extra'); var path = require('path'); var assert = require('yeoman-generator').assert; describe('generator-odd', function () { describe('When generating Oddbaby', function () { before(function (done) { this.timeout(10000); // Run ...
test/test.js
var helpers = require('yeoman-generator').test; var fse = require('fs-extra'); var path = require('path'); var assert = require('yeoman-generator').assert; describe('generator-odd', function () { describe('When generating Oddbaby', function () { before(function (done) { this.timeout(10000); // Run ...
Make sure to remove tmp folder when tests are done
test/test.js
Make sure to remove tmp folder when tests are done
<ide><path>est/test.js <ide> done(); <ide> }); <ide> }); <add> <add> after(function (done) { <add> // Make sure tmp folder is removed. <add> fse.remove(path.join(__dirname, './tmp'), function (err) { <add> done(); <add> }); <ide> }); <ide> <ide> });
JavaScript
apache-2.0
73f5b6e23e836e393698b4e4956659628c18c565
0
dcos/dcos-ui,dcos/dcos-ui,dcos/dcos-ui,dcos/dcos-ui,dcos/dcos-ui
import classNames from 'classnames'; import {Confirm, Dropdown} from 'reactjs-components'; import mixin from 'reactjs-mixin'; import prettycron from 'prettycron'; /* eslint-disable no-unused-vars */ import React from 'react'; /* eslint-enable no-unused-vars */ import {RouteHandler} from 'react-router'; import {StoreMix...
src/js/pages/jobs/JobDetailPage.js
import classNames from 'classnames'; import {Confirm, Dropdown} from 'reactjs-components'; import mixin from 'reactjs-mixin'; import prettycron from 'prettycron'; /* eslint-disable no-unused-vars */ import React from 'react'; /* eslint-enable no-unused-vars */ import {RouteHandler} from 'react-router'; import {StoreMix...
Lowercase schedule description
src/js/pages/jobs/JobDetailPage.js
Lowercase schedule description
<ide><path>rc/js/pages/jobs/JobDetailPage.js <ide> import MetronomeStore from '../../stores/MetronomeStore'; <ide> import PageHeader from '../../components/PageHeader'; <ide> import RequestErrorMsg from '../../components/RequestErrorMsg'; <add>import StringUtil from '../../utils/StringUtil'; <ide> import TabsMixin from...
Java
lgpl-2.1
error: pathspec 'modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/policy/basic/SignEncryptGCMTestCase.java' did not match any file(s) known to git
c0f78f333ca88494b56e373a9c57bf1502d4de2d
1
jbossws/jbossws-cxf
/* * JBoss, Home of Professional Open Source. * Copyright 2012, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify i...
modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/policy/basic/SignEncryptGCMTestCase.java
[JBWS-3439] Actually adding the testcase class (previously forgotten)
modules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/policy/basic/SignEncryptGCMTestCase.java
[JBWS-3439] Actually adding the testcase class (previously forgotten)
<ide><path>odules/testsuite/cxf-tests/src/test/java/org/jboss/test/ws/jaxws/samples/wsse/policy/basic/SignEncryptGCMTestCase.java <add>/* <add> * JBoss, Home of Professional Open Source. <add> * Copyright 2012, Red Hat Middleware LLC, and individual contributors <add> * as indicated by the @author tags. See the copyrig...
Java
apache-2.0
328e929dafdc6f7ecf41fb132e2129eeaa0d3541
0
deepjava/runtime-library
/* * Copyright 2011 - 2015 NTB University of Applied Sciences in Technology * Buchs, Switzerland, http://www.ntb.ch/inf * * 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 * * h...
src/ch/ntb/inf/deep/runtime/zynq7000/Kernel.java
/* * Copyright 2011 - 2015 NTB University of Applied Sciences in Technology * Buchs, Switzerland, http://www.ntb.ch/inf * * 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 * * h...
enable FPU
src/ch/ntb/inf/deep/runtime/zynq7000/Kernel.java
enable FPU
<ide><path>rc/ch/ntb/inf/deep/runtime/zynq7000/Kernel.java <ide> blink(2); <ide> // US.ASM("b -8"); // stop here <ide> <add> // _ init VFP (FPU <add> // _ _ enable coprocessor 10 and 11 <add> US.ASM("mrc p15, 0, r1, c1, c0, 2"); <add> US.ASM("orr r1, r1, #0xf00000"); <add> US.ASM("mcr p15, ...
Java
apache-2.0
6151bbc6de006b19b6f50f9b04aa0a11d81d9278
0
jaxzin/daytrader,jaxzin/daytrader
/** * * Copyright 2005 The Apache Software Foundation or its licensors, as applicable * * 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/LICENS...
modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/direct/TradeDirect.java
/** * * Copyright 2005 The Apache Software Foundation or its licensors, as applicable * * 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/LICENS...
DAYTRADER-8 Correct small difference in Sync Order Processing between Direct and EJB Mode git-svn-id: 52591b3751b2475bb1ae80497c335c234b34aa33@425477 13f79535-47bb-0310-9956-ffa450edef68
modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/direct/TradeDirect.java
DAYTRADER-8 Correct small difference in Sync Order Processing between Direct and EJB Mode
<ide><path>odules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/direct/TradeDirect.java <ide> <ide> cancelOrder(conn, orderData.getOrderID()); <ide> } <add> <add> orderData = getOrderData(conn, orderData.getOrderID().intValue()); <ide> <ide> if (txn != null) { <ide> ...
Java
apache-2.0
b0602b2b34a2e75a08d92b52f0a75667495363c3
0
tpb1908/AndroidProjectsClient,tpb1908/AndroidProjectsClient,tpb1908/AndroidProjectsClient
/* * Copyright (C) 2013-2015 Dominik Schürmann <dominik@dominikschuermann.de> * Copyright (C) 2013-2015 Juha Kuitunen * Copyright (C) 2013 Mohammed Lakkadshaw * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file excep...
markdowntextview/src/main/java/com/tpb/mdtext/HtmlTagHandler.java
/* * Copyright (C) 2013-2015 Dominik Schürmann <dominik@dominikschuermann.de> * Copyright (C) 2013-2015 Juha Kuitunen * Copyright (C) 2013 Mohammed Lakkadshaw * Copyright (C) 2007 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file excep...
Fixed crash when replacing in a 0 length Editable.
markdowntextview/src/main/java/com/tpb/mdtext/HtmlTagHandler.java
Fixed crash when replacing in a 0 length Editable.
<ide><path>arkdowntextview/src/main/java/com/tpb/mdtext/HtmlTagHandler.java <ide> new LeadingMarginSpan.Standard(mListIndent * (mLists.size() - 1)) <ide> ); <ide> } <del> <ide> } <ide> <ide> private void handleOLTag(Editable output) { <ide> len++; <ide> ...
Java
mit
0b5836884f29574bae8f6236d955d26c8e609f24
0
algoliareadmebot/algoliasearch-client-android,algolia/algoliasearch-client-android,algoliareadmebot/algoliasearch-client-android,algolia/algoliasearch-client-android,algolia/algoliasearch-client-android
/* * Copyright (c) 2015 Algolia * http://www.algolia.com/ * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
algoliasearch/src/main/java/com/algolia/search/saas/Index.java
/* * Copyright (c) 2015 Algolia * http://www.algolia.com/ * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy,...
Index: Remove self closing tag causing exception on javadoc build task
algoliasearch/src/main/java/com/algolia/search/saas/Index.java
Index: Remove self closing tag causing exception on javadoc build task
<ide><path>lgoliasearch/src/main/java/com/algolia/search/saas/Index.java <ide> <ide> /** <ide> * Set this index's settings (asynchronously). <del> * <p/> <add> * <ide> * Please refer to our <a href="https://www.algolia.com/doc/android#index-settings">API documentation</a> for the <ide> * lis...
JavaScript
apache-2.0
1691a795bd886d6fd1824844337d7ca0451367bf
0
stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib,stdlib-js/stdlib
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
lib/node_modules/@stdlib/_tools/lint/license-header/lib/main.js
/** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Explicitly call `toString()`
lib/node_modules/@stdlib/_tools/lint/license-header/lib/main.js
Explicitly call `toString()`
<ide><path>ib/node_modules/@stdlib/_tools/lint/license-header/lib/main.js <ide> // Convert to a regular expression... <ide> header = replace( header, '/', '\\\\/' ); <ide> header = reFromString( '/'+escapeRegExp( header )+'/g' ); <del> } else if ( RE_GLOBAL_FLAG.test( header ) === false ) { <add> } else if ( RE_G...
Java
apache-2.0
af996e6d4fa355150b2b9bbd15882ba6bdf69754
0
dashorst/wicket,selckin/wicket,topicusonderwijs/wicket,topicusonderwijs/wicket,klopfdreh/wicket,AlienQueen/wicket,dashorst/wicket,klopfdreh/wicket,klopfdreh/wicket,mafulafunk/wicket,freiheit-com/wicket,selckin/wicket,aldaris/wicket,aldaris/wicket,bitstorm/wicket,apache/wicket,aldaris/wicket,freiheit-com/wicket,klopfdre...
/* * $Id$ $Revision: * 1.5 $ $Date$ * * ============================================================================== * 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....
wicket/src/java/wicket/markup/parser/filter/HtmlHandler.java
/* * $Id$ $Revision: * 1.5 $ $Date$ * * ============================================================================== * 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....
allow non closing of 'meta' tag git-svn-id: ac804e38dcddf5e42ac850d29d9218b7df6087b7@456562 13f79535-47bb-0310-9956-ffa450edef68
wicket/src/java/wicket/markup/parser/filter/HtmlHandler.java
allow non closing of 'meta' tag
<ide><path>icket/src/java/wicket/markup/parser/filter/HtmlHandler.java <ide> doesNotRequireCloseTag.put("input", Boolean.TRUE); <ide> doesNotRequireCloseTag.put("hr", Boolean.TRUE); <ide> doesNotRequireCloseTag.put("link", Boolean.TRUE); <add> doesNotRequireCloseTag.put("meta", Boolean.TRUE); <ide> } <ide> <id...
Java
apache-2.0
8f142ba29fdc067b5ec445253aece75c533d80f2
0
inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service,inbloom/secure-data-service
package org.slc.sli.ingestion.landingzone.validation; import java.io.BufferedReader; import java.io.FileReader; import java.util.Map; import junit.framework.Assert; import org.codehaus.jackson.map.ObjectMapper; import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframewor...
sli/ingestion/src/test/java/org/slc/sli/ingestion/landingzone/validation/AvroRecordValidatorTest.java
package org.slc.sli.ingestion.landingzone.validation; import java.io.BufferedReader; import java.io.FileReader; import java.util.Map; import junit.framework.Assert; import org.codehaus.jackson.map.ObjectMapper; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotatio...
temporarily ignore these tests until NeutralSchemaValidator is fully operational
sli/ingestion/src/test/java/org/slc/sli/ingestion/landingzone/validation/AvroRecordValidatorTest.java
temporarily ignore these tests until NeutralSchemaValidator is fully operational
<ide><path>li/ingestion/src/test/java/org/slc/sli/ingestion/landingzone/validation/AvroRecordValidatorTest.java <ide> import junit.framework.Assert; <ide> <ide> import org.codehaus.jackson.map.ObjectMapper; <add>import org.junit.Ignore; <ide> import org.junit.Test; <ide> import org.junit.runner.RunWith; <ide> import o...
JavaScript
bsd-2-clause
f991c7d8f65fd6bf6b5666e83e6b7e85e1ead40e
0
nishant8BITS/node-supervisor,itegebo/node-supervisor,mikemaccana/node-supervisor,komola/node-supervisor,dhm116/node-supervisor,boblauer/node-supervisor,petruisfan/node-supervisor,DocuSignDev/node-supervisor,KamilSzot/node-supervisor,tempbottle/node-supervisor,FokkeZB/node-supervisor,Getahun/node-supervisor,farodin91/no...
var util = require("util"); var fs = require("fs"); var spawn = require("child_process").spawn; var fileExtensionPattern; var startChildProcess; var noRestartOn = null; var debug = true; exports.run = run; function run (args) { var arg, next, watch, program, programArgs, extensions, executor, poll_interval; while...
lib/supervisor.js
var util = require("util"); var fs = require("fs"); var spawn = require("child_process").spawn; var fileExtensionPattern; var startChildProcess; var noRestartOn = null; var debug = true; exports.run = run; function run (args) { var arg, next, watch, program, programArgs, extensions, executor, poll_interval; while...
Tighten up file extension regexp
lib/supervisor.js
Tighten up file extension regexp
<ide><path>ib/supervisor.js <ide> poll_interval = 100; <ide> } <ide> <del> var programExt = program.join(" ").match(/.*\.(.*)/); <add> var programExt = program.join(" ").match(/.*\.(\S*)/); <ide> programExt = programExt && programExt[1]; <ide> <ide> if (!extensions) {
Java
apache-2.0
767d8a49e43155f764fa855bdd4f091b746e27cc
0
jaferreiro/gora-indra,jaferreiro/gora-indra,jaferreiro/gora-indra
package org.apache.gora.pig; import java.io.IOException; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Properties; import org.apache.avro.Sc...
gora-pig/src/main/java/org/apache/gora/pig/GoraStorage.java
package org.apache.gora.pig; import java.io.IOException; import java.nio.ByteBuffer; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Map.Entry; import java.util.Properties; import org.apache.avro.Sc...
Mejorado el logging de GoraStorage.
gora-pig/src/main/java/org/apache/gora/pig/GoraStorage.java
Mejorado el logging de GoraStorage.
<ide><path>ora-pig/src/main/java/org/apache/gora/pig/GoraStorage.java <ide> List<String> mandatoryFieldNames = new ArrayList<String>(Arrays.asList(this.loadQueryFields)) ; <ide> if (pigFieldSchemasNames.containsAll(mandatoryFieldNames)) { <ide> for (ResourceFieldSchema pigFieldSchema: pigFieldSchemas) { <...
JavaScript
apache-2.0
97daddb01e8291dd3dac2007752f87a479c22201
0
mark-friedman/blockly,trinketapp/blockly,joshlory/blockly,trodi/blockly,nickmain/blockly,mark-friedman/blockly,trodi/blockly,trinketapp/blockly,picklesrus/blockly,mark-friedman/blockly,nickmain/blockly,nickmain/blockly,trinketapp/blockly,groklearning/blockly,trodi/blockly,twodee/blockly,twodee/blockly,rachel-fenichel/b...
/** * @license * Blockly Demos: Block Factory * * Copyright 2016 Google Inc. * https://developers.google.com/blockly/ * * 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://w...
demos/blockfactory/block_exporter_controller.js
/** * @license * Blockly Demos: Block Factory * * Copyright 2016 Google Inc. * https://developers.google.com/blockly/ * * 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://w...
Update block_exporter_controller.js Generator stub file type is set to javascript; unnecesarry conditions removed.
demos/blockfactory/block_exporter_controller.js
Update block_exporter_controller.js
<ide><path>emos/blockfactory/block_exporter_controller.js <ide> BlocklyDevTools.Analytics.onWarning(msg); <ide> alert(msg); <ide> } else { <add> <ide> // Get generator stub code in the selected language for the blocks. <ide> var genStubs = this.tools.getGeneratorCode(blockXmlMap, <ide>...
Java
apache-2.0
cf30047a1fffb5c36330a563e307cc65b5965ba7
0
dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,wikimedia/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia
package org.wikipedia.random; import android.net.Uri; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view...
app/src/main/java/org/wikipedia/random/RandomItemFragment.java
package org.wikipedia.random; import android.net.Uri; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view...
Follow-up: simplify some logic in RandomItemFragment. Change-Id: I265fa9d8258af7b419a1d24b5e098e70b94582fc
app/src/main/java/org/wikipedia/random/RandomItemFragment.java
Follow-up: simplify some logic in RandomItemFragment.
<ide><path>pp/src/main/java/org/wikipedia/random/RandomItemFragment.java <ide> @BindView(R.id.view_featured_article_card_extract) TextView extractView; <ide> @BindView(R.id.random_item_error_view) WikiErrorView errorView; <ide> <del> <ide> @Nullable private RbPageSummary summary; <ide> private int page...
JavaScript
mit
7f8398ab89229c57b07e4829a70ac727a7a3019f
0
fastauction/auction-site,fastauction/auction-site,fastauction/auction-site,fastauction/auction-site
$(function(){ url = "http://rss.autoweek.com/?page=n-55998"; $.ajax({ type: "GET", url: document.location.protocol + '//ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=1000&callback=?&q=' + encodeURIComponent(url), dataType: 'json', error: function(){ console.alert('autoweek rss fe...
js/auction-project/rss-feed.js
$(function(){ url = "http://rss.autoweek.com/?page=n-55998"; $.ajax({ type: "GET", url: document.location.protocol + '//ajax.googleapis.com/ajax/services/feed/load?v=1.0&num=1000&callback=?&q=' + encodeURIComponent(url), dataType: 'json', error: function(){ console.alert('autoweek rss fe...
add more items to rss feed
js/auction-project/rss-feed.js
add more items to rss feed
<ide><path>s/auction-project/rss-feed.js <ide> console.info("Current Autoweek RSS feed: ",values); <ide> console.info(values[0].title); <ide> console.info(values[0].contentSnippet); <del> $(".rss-feed").append("<span>" + values[0].title + " --- " + values[0].contentSnippet + " --- " + val...
Java
apache-2.0
efd948c4bcab8ec6cf842d2dba5e9479e06af135
0
pwoodworth/intellij-community,retomerz/intellij-community,TangHao1987/intellij-community,ol-loginov/intellij-community,akosyakov/intellij-community,da1z/intellij-community,mglukhikh/intellij-community,michaelgallacher/intellij-community,salguarnieri/intellij-community,mglukhikh/intellij-community,idea4bsd/idea4bsd,Mich...
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/lang-impl/src/com/intellij/codeInsight/hint/ParameterInfoController.java
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
make new dispose code available only for EditorImpl
platform/lang-impl/src/com/intellij/codeInsight/hint/ParameterInfoController.java
make new dispose code available only for EditorImpl
<ide><path>latform/lang-impl/src/com/intellij/codeInsight/hint/ParameterInfoController.java <ide> LookupManager.getInstance(project).addPropertyChangeListener(myLookupListener); <ide> <ide> updateComponent(); <del> Disposer.register(((EditorImpl)myEditor).getDisposable(), new Disposable() { <del> @Over...
JavaScript
agpl-3.0
cc0e2acf62c16b0a0629b48aad02e69273a90e00
0
ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs,ONLYOFFICE/sdkjs
/* * (c) Copyright Ascensio System SIA 2010-2019 * * This program is a free software product. You can redistribute it and/or * modify it under the terms of the GNU Affero General Public License (AGPL) * version 3 as published by the Free Software Foundation. In accordance with * Section 7(a) of the GNU AGPL its ...
cell/view/WorkbookView.js
/* * (c) Copyright Ascensio System SIA 2010-2019 * * This program is a free software product. You can redistribute it and/or * modify it under the terms of the GNU Affero General Public License (AGPL) * version 3 as published by the Free Software Foundation. In accordance with * Section 7(a) of the GNU AGPL its ...
[se] Fix Simplify
cell/view/WorkbookView.js
[se] Fix
<ide><path>ell/view/WorkbookView.js <ide> }; <ide> <ide> // Поиск текста в листе <del> WorkbookView.prototype.findCellText = function(options) { <add> WorkbookView.prototype.findCellText = function (options) { <add> this.closeCellEditor(); <ide> // Для поиска эта переменная не нужна (но она может остаться...
JavaScript
mit
d2a2be157c7f3727359602e5cb06d5d2199ae523
0
OperationSpark/notes
$(function () { window.opspark = window.opspark || {}; window.opspark.notes = window.opspark.notes || {}; var notes = window.opspark.notes; notes.show = function (prependTo, file) { prependTo = prependTo ? prependTo : '#container'; file = file ? file : '.notes/directions.html'; ...
notes.js
$(function () { window.opspark = window.opspark || {}; window.opspark.notes = window.opspark.notes || {}; var notes = window.opspark.notes; notes.show = function (prependTo, file) { prependTo = prependTo ? prependTo : '#container'; file = file ? file : '.notes/directions.html'; ...
* fix valid show-notes url regex
notes.js
* fix valid show-notes url regex
<ide><path>otes.js <ide> notes.show = function (prependTo, file) { <ide> prependTo = prependTo ? prependTo : '#container'; <ide> file = file ? file : '.notes/directions.html'; <del> if (window.location.href.match(/c9\.io|github_io|localhost|127\.0\.0\.1|file\:\/\/\//)) { <add> if (wind...
Java
mit
dfa41b9e1a221517b7714320dd5c36076868cef3
0
yzhnasa/TASSEL-iRods,yzhnasa/TASSEL-iRods,yzhnasa/TASSEL-iRods,yzhnasa/TASSEL-iRods
package net.maizegenetics.gbs.maps; import cern.colt.GenericSorting; import cern.colt.Swapper; import cern.colt.function.IntComparator; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.DataInputStream; import java.io.DataOutputStream; import java.i...
src/net/maizegenetics/gbs/maps/TagsOnPhysicalMap.java
package net.maizegenetics.gbs.maps; import cern.colt.GenericSorting; import cern.colt.Swapper; import cern.colt.function.IntComparator; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.DataInputStream; import java.io.DataOutputStream; import java.i...
Fixed translation from Tassel3 to Tassel4 encodings
src/net/maizegenetics/gbs/maps/TagsOnPhysicalMap.java
Fixed translation from Tassel3 to Tassel4 encodings
<ide><path>rc/net/maizegenetics/gbs/maps/TagsOnPhysicalMap.java <ide> currVD[j] = dis.readByte(); <ide> if((currVD[j]>0xf)&&(AlignmentUtils.isHeterozygous(currVD[j]))) {//ascii bytes need to be converted to TASSEL 4 <ide> // System.out.printf("row:%d vd:%d ...
Java
apache-2.0
8738fee7894cc7f805b0f8beca30a5aa491f956b
0
DaanHoogland/cloudstack,jcshen007/cloudstack,jcshen007/cloudstack,mufaddalq/cloudstack-datera-driver,jcshen007/cloudstack,jcshen007/cloudstack,DaanHoogland/cloudstack,resmo/cloudstack,mufaddalq/cloudstack-datera-driver,DaanHoogland/cloudstack,resmo/cloudstack,DaanHoogland/cloudstack,DaanHoogland/cloudstack,mufaddalq/cl...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/KVMStoragePoolManager.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...
Summary: small fix causing trouble when shutting down virtual machines
plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/KVMStoragePoolManager.java
Summary: small fix causing trouble when shutting down virtual machines
<ide><path>lugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/KVMStoragePoolManager.java <ide> private final Map<String, StorageAdaptor> _storageMapper = new HashMap<String, StorageAdaptor>(); <ide> <ide> private StorageAdaptor getStorageAdaptor(StoragePoolType type) { <add> // type can be null: L...
Java
apache-2.0
c9a7b8b247e7a1d9e3c007ba98691895806d608d
0
izonder/intellij-community,da1z/intellij-community,vladmm/intellij-community,holmes/intellij-community,semonte/intellij-community,ThiagoGarciaAlves/intellij-community,muntasirsyed/intellij-community,ftomassetti/intellij-community,jagguli/intellij-community,suncycheng/intellij-community,amith01994/intellij-community,sup...
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/PersistentFSImpl.java
/* * Copyright 2000-2013 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
volatile
platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/PersistentFSImpl.java
volatile
<ide><path>latform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/PersistentFSImpl.java <ide> private final ConcurrentIntObjectMap<VirtualFileSystemEntry> myIdToDirCache = new StripedLockIntObjectConcurrentHashMap<VirtualFileSystemEntry>(); <ide> private final Object myInputLock = new Object(); <ide> ...
Java
apache-2.0
9ac6c40172ced32cfcbdccaf5b17a18fbe390653
0
stumoodie/MetabolicNotationSubsystem,stumoodie/MetabolicNotationSubsystem
package uk.ac.ed.inf.Metabolic.parser; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Map.Entry; import org.pathwayeditor.businessobjectsAPI.ILink; import org.pathwayeditor.businessobjectsAPI.IMapOb...
src/uk/ac/ed/inf/Metabolic/parser/MetabolicNDOMFactory.java
package uk.ac.ed.inf.Metabolic.parser; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import java.util.Map; import java.util.Set; import java.util.Map.Entry; import org.pathwayeditor.businessobjectsAPI.ILink; import org.pathwayeditor.businessobjectsAPI.IMapOb...
Fixed imports
src/uk/ac/ed/inf/Metabolic/parser/MetabolicNDOMFactory.java
Fixed imports
<ide><path>rc/uk/ac/ed/inf/Metabolic/parser/MetabolicNDOMFactory.java <ide> import org.pathwayeditor.contextadapter.toolkit.ndom.ModelObject; <ide> import org.pathwayeditor.contextadapter.toolkit.ndom.NdomException; <ide> <del>import uk.ac.ed.inf.Metabolic.excelexport.ModelProcessor; <ide> import uk.ac.ed.inf.Metaboli...
Java
agpl-3.0
5018424015df6ae3ff302ebbc8c6ce0a60359d3f
0
animotron/core,animotron/core
/* * Copyright (C) 2011-2012 The Animo Project * http://animotron.org * * This file is part of Animotron. * * Animotron is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version...
src/test/java/org/animotron/statement/operator/PreferTest.java
/* * Copyright (C) 2011-2012 The Animo Project * http://animotron.org * * This file is part of Animotron. * * Animotron is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version...
review
src/test/java/org/animotron/statement/operator/PreferTest.java
review
<ide><path>rc/test/java/org/animotron/statement/operator/PreferTest.java <ide> JExpression test = new JExpression( <ide> _(PREFER._, "X", _(USE._, "X")) <ide> ); <del> assertAnimoResultOneStep(test, "def A X. def B X."); <add> assertAnimoResultOneStep(test, "A X. B X."); <i...
JavaScript
mit
54779cb0f991f7770655c6af643ac7907601409a
0
temich/apic.js,temich/apic.js
if (typeof define !== 'function') { //noinspection JSUnresolvedVariable var define = require('amdefine')(module); } define(function (require) { var transport = require('./transport'), auth = require('./auth'), urlencode = require('./urlencode'), Exception = require('./exception'); ...
lib/apic.js
if (typeof define !== 'function') { //noinspection JSUnresolvedVariable var define = require('amdefine')(module); } define(function (require) { var transport = require('./transport'), auth = require('./auth'), urlencode = require('./urlencode'), Exception = require('./exception'); ...
Added method to indicate the content locale
lib/apic.js
Added method to indicate the content locale
<ide><path>ib/apic.js <ide> var root = {}, <ide> base = desc.base, <ide> variables = {}, <del> augments = {}; <add> augments = {}, <add> language; <ide> <ide> var scheme = 'http:'; <ide> <ide> } <ide> <ide> augments[name...
Java
bsd-3-clause
08f874c74b1e0ccd3d5881ed8b7d1153d3f5111b
0
ksclarke/basex,deshmnnit04/basex,ksclarke/basex,vincentml/basex,dimitarp/basex,BaseXdb/basex,dimitarp/basex,JensErat/basex,deshmnnit04/basex,BaseXdb/basex,drmacro/basex,drmacro/basex,ksclarke/basex,vincentml/basex,joansmith/basex,deshmnnit04/basex,vincentml/basex,drmacro/basex,BaseXdb/basex,drmacro/basex,joansmith/base...
package org.basex.gui.view.plot; import static org.basex.util.Token.*; import java.util.Arrays; import org.basex.data.Data; import org.basex.data.Nodes; import org.basex.data.StatsKey.Kind; import org.basex.gui.GUI; import org.basex.index.Names; import org.basex.util.IntList; import org.basex.util.TokenList;...
src/org/basex/gui/view/plot/PlotData.java
package org.basex.gui.view.plot; import static org.basex.util.Token.*; import java.util.Arrays; import org.basex.data.Data; import org.basex.data.Nodes; import org.basex.data.StatsKey.Kind; import org.basex.gui.GUI; import org.basex.index.Names; import org.basex.util.IntList; import org.basex.util.TokenList;...
plot bugfix
src/org/basex/gui/view/plot/PlotData.java
plot bugfix
<ide><path>rc/org/basex/gui/view/plot/PlotData.java <ide> public PlotData() { <ide> xAxis = new PlotAxis(this); <ide> yAxis = new PlotAxis(this); <del> xAxis.log = true; <del> yAxis.log = true; <add> //xAxis.log = true; <add> //yAxis.log = true; <ide> pres = new int[0]; <ide> } <ide>
Java
lgpl-2.1
3d8cef0dba2421bbfb6764ac46e5f573fb94f3e1
0
drhee/toxoMine,joshkh/intermine,Arabidopsis-Information-Portal/intermine,drhee/toxoMine,JoeCarlson/intermine,tomck/intermine,zebrafishmine/intermine,justincc/intermine,tomck/intermine,joshkh/intermine,kimrutherford/intermine,zebrafishmine/intermine,Arabidopsis-Information-Portal/intermine,elsiklab/intermine,kimrutherfo...
package org.intermine.web.logic.query; /* * Copyright (C) 2002-2008 FlyMine * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. See the LICENSE file for more * information or http://www.gnu.org/copyleft/les...
intermine/web/main/src/org/intermine/web/logic/query/WebResultsExecutor.java
package org.intermine.web.logic.query; import java.util.HashMap; import java.util.List; import java.util.Map; import org.intermine.metadata.FieldDescriptor; import org.intermine.objectstore.ObjectStore; import org.intermine.objectstore.ObjectStoreException; import org.intermine.objectstore.flatouterjoins.ObjectStoreF...
Checkstyle fixes.
intermine/web/main/src/org/intermine/web/logic/query/WebResultsExecutor.java
Checkstyle fixes.
<ide><path>ntermine/web/main/src/org/intermine/web/logic/query/WebResultsExecutor.java <ide> package org.intermine.web.logic.query; <add> <add>/* <add> * Copyright (C) 2002-2008 FlyMine <add> * <add> * This code may be freely distributed and modified under the <add> * terms of the GNU Lesser General Public Licence. Th...
JavaScript
mit
f5b4468b50a08ebbb860ecf2c21f08dc95b32d28
0
getcahoots/api
/* * cahoots-api * * Copyright Cahoots.pw * MIT Licensed * */ /** * @author André König <andre.koenig@posteo.de> * */ 'use strict'; var http = require('http'); var debug = require('debug')('cahoots:api:OrganizationsResource'); var services = require('cahoots-api-services'); var schemes = require('cahoots-...
app/v1/organizations.js
/* * cahoots-api * * Copyright Cahoots.pw * MIT Licensed * */ /** * @author André König <andre.koenig@posteo.de> * */ 'use strict'; var http = require('http'); var debug = require('debug')('cahoots:api:OrganizationsResource'); var services = require('cahoots-api-services'); var schemes = require('cahoots-...
Extended logging in the organization resource.
app/v1/organizations.js
Extended logging in the organization resource.
<ide><path>pp/v1/organizations.js <ide> return res.status(404).json(organizations); <ide> } <ide> <del> debug('Found %d organization(s)', organizations.length); <add> debug('Found %d organization(s).', organizations.length); <ide> <ide> res.status(200).json(organizations); <i...
Java
apache-2.0
0cd95258f2a294e7da5e04cf7ad7784ae5e99fc5
0
kelemen/JTrim,kelemen/JTrim
package org.jtrim.swing.concurrent; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import javax.swing.SwingUtilities; import org.jtrim.cancel.CancellationToken; import org.jtrim.concurrent.*; import org.jtrim.utils.ExceptionHelper; /** * Defines a {@code TaskExecutorService} ...
jtrim-gui/src/main/java/org/jtrim/swing/concurrent/SwingTaskExecutor.java
package org.jtrim.swing.concurrent; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; import javax.swing.SwingUtilities; import org.jtrim.cancel.CancellationToken; import org.jtrim.concurrent.*; import org.jtrim.utils.ExceptionHelper; /** * Defines a {@code TaskExecutorService} ...
Adjusted the apidoc of SwingTaskExecutor
jtrim-gui/src/main/java/org/jtrim/swing/concurrent/SwingTaskExecutor.java
Adjusted the apidoc of SwingTaskExecutor
<ide><path>trim-gui/src/main/java/org/jtrim/swing/concurrent/SwingTaskExecutor.java <ide> * they are always submitted as {@code SwingUtilities.invokeLater} does <ide> * it). In case this argument is {@code false}, tasks submitted from the <ide> * <I>AWT Event Dispatch Thread</I> will be executed im...
Java
apache-2.0
a8b26e8eec6dc64484575b2edf5df54839cb98fc
0
tristantarrant/JGroups,danberindei/JGroups,vjuranek/JGroups,ibrahimshbat/JGroups,rpelisse/JGroups,ibrahimshbat/JGroups,pruivo/JGroups,TarantulaTechnology/JGroups,deepnarsay/JGroups,danberindei/JGroups,kedzie/JGroups,vjuranek/JGroups,pferraro/JGroups,belaban/JGroups,belaban/JGroups,ligzy/JGroups,slaskawi/JGroups,pruivo/...
package org.jgroups.stack; import org.jgroups.Event; import org.jgroups.Global; import org.jgroups.annotations.DeprecatedProperty; import org.jgroups.annotations.LocalAddress; import org.jgroups.annotations.Property; import org.jgroups.conf.PropertyHelper; import org.jgroups.conf.ProtocolConfiguration; import org.jgr...
src/org/jgroups/stack/Configurator.java
package org.jgroups.stack; import org.jgroups.Event; import org.jgroups.Global; import org.jgroups.annotations.DeprecatedProperty; import org.jgroups.annotations.LocalAddress; import org.jgroups.annotations.Property; import org.jgroups.conf.PropertyHelper; import org.jgroups.conf.ProtocolConfiguration; import org.jgr...
changed exception message
src/org/jgroups/stack/Configurator.java
changed exception message
<ide><path>rc/org/jgroups/stack/Configurator.java <ide> List<InetAddress> addresses=inetAddressInfo.getInetAddresses(); <ide> for(InetAddress address : addresses) { <ide> if(address == null) <del> throw new RuntimeException("This address should ...
Java
apache-2.0
a7b834307fc89a1b194cf460e07ac60e92274b4a
0
magi42/vaadin,peterl1084/framework,Darsstar/framework,Legioth/vaadin,Scarlethue/vaadin,Peppe/vaadin,jdahlstrom/vaadin.react,mstahv/framework,Darsstar/framework,magi42/vaadin,cbmeeks/vaadin,jdahlstrom/vaadin.react,shahrzadmn/vaadin,kironapublic/vaadin,Flamenco/vaadin,kironapublic/vaadin,bmitc/vaadin,shahrzadmn/vaadin,Sc...
package com.vaadin.demo.tutorial.addressbook.ui; import java.util.Arrays; import java.util.Iterator; import java.util.List; import com.vaadin.data.Item; import com.vaadin.data.util.BeanItem; import com.vaadin.demo.tutorial.addressbook.AddressBookApplication; import com.vaadin.demo.tutorial.addressbook.data.Person; im...
src/com/vaadin/demo/tutorial/addressbook/ui/PersonForm.java
package com.vaadin.demo.tutorial.addressbook.ui; import java.util.Arrays; import java.util.Iterator; import java.util.List; import com.vaadin.data.Item; import com.vaadin.data.util.BeanItem; import com.vaadin.demo.tutorial.addressbook.AddressBookApplication; import com.vaadin.demo.tutorial.addressbook.data.Person; im...
Reformatted AddressBook PersonForm with Eclipse default formatting settings. svn changeset:7788/svn branch:6.0
src/com/vaadin/demo/tutorial/addressbook/ui/PersonForm.java
Reformatted AddressBook PersonForm with Eclipse default formatting settings.
<ide><path>rc/com/vaadin/demo/tutorial/addressbook/ui/PersonForm.java <ide> <ide> public class PersonForm extends Form implements ClickListener { <ide> <del> private Button save = new Button("Save", (ClickListener) this); <del> private Button cancel = new Button("Cancel", (ClickListener) this); <del> private...
JavaScript
mit
1ce9f5b510c32a8b0fc168eb13c980943660a7b7
0
akg1852/CheezeBot,akg1852/CheezeBot
var post = require("./flowdock.js").post; var sqlite3 = require('sqlite3').verbose(); var utility = module.exports = { // parse time string parseTime: function(timeString) { var d = new Date(); if (typeof(timeString) == "string") { d.setHours(parseInt(timeString)); d.setMinutes(parseInt(timeString.split(...
utility.js
var post = require("./flowdock.js").post; var sqlite3 = require('sqlite3').verbose(); var utility = module.exports = { // parse time string parseTime: function(timeString) { var d = new Date(); if (typeof(timeString) == "string") { d.setHours(parseInt(timeString)); d.setMinutes(parseInt(timeString.split(...
fix callbacks in email utility method
utility.js
fix callbacks in email utility method
<ide><path>tility.js <ide> require('nodemailer').createTransport().sendMail(email, function(error, info) { <ide> if (!error) { <ide> var result = (info.rejected.length > 0) ? "Failed to send email" : "Email sent"; <del> if (context) post(result, context); <del> else console.log(result); <add> if (cont...
Java
apache-2.0
28ef52f48d36efc312f0d06475e5dacdc226a187
0
bitstorm/wicket,klopfdreh/wicket,klopfdreh/wicket,dashorst/wicket,mosoft521/wicket,astrapi69/wicket,martin-g/wicket-osgi,zwsong/wicket,astrapi69/wicket,mafulafunk/wicket,martin-g/wicket-osgi,apache/wicket,astrapi69/wicket,freiheit-com/wicket,zwsong/wicket,apache/wicket,topicusonderwijs/wicket,freiheit-com/wicket,selcki...
/* * 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 ...
wicket-core/src/main/java/org/apache/wicket/markup/html/border/Border.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 ...
BorderBodyContainer doesn't have to be a transparent resolver (IComponentResolver) git-svn-id: 5a74b5304d8e7e474561603514f78b697e5d94c4@1148922 13f79535-47bb-0310-9956-ffa450edef68
wicket-core/src/main/java/org/apache/wicket/markup/html/border/Border.java
BorderBodyContainer doesn't have to be a transparent resolver (IComponentResolver)
<ide><path>icket-core/src/main/java/org/apache/wicket/markup/html/border/Border.java <ide> import org.apache.wicket.markup.MarkupFragment; <ide> import org.apache.wicket.markup.MarkupStream; <ide> import org.apache.wicket.markup.TagUtils; <del>import org.apache.wicket.markup.html.TransparentWebMarkupContainer; <ide> im...
Java
bsd-3-clause
c607ed455a98025b344510e4560641e316d166bf
0
TeamParadise/Trevor
/* * Operator Interface methods */ package net.pvschools.robotics.javabot.practice; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.buttons.Button; import edu.wpi.first.wpilibj.buttons.JoystickButton; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; import net.pvschools.robotics.javabo...
src/net/pvschools/robotics/javabot/practice/OI.java
/* * Operator Interface methods */ package net.pvschools.robotics.javabot.practice; import edu.wpi.first.wpilibj.Joystick; import edu.wpi.first.wpilibj.buttons.Button; import edu.wpi.first.wpilibj.buttons.JoystickButton; import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; import net.pvschools.robotics.javabo...
Add commands to smart dashboard for testing.
src/net/pvschools/robotics/javabot/practice/OI.java
Add commands to smart dashboard for testing.
<ide><path>rc/net/pvschools/robotics/javabot/practice/OI.java <ide> import edu.wpi.first.wpilibj.buttons.Button; <ide> import edu.wpi.first.wpilibj.buttons.JoystickButton; <ide> import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard; <add>import net.pvschools.robotics.javabot.practice.commands.PopFeedRollerSpeed; <...
Java
mit
71e545e2010a615788adf03dfcf3a7693970848e
0
jeevatkm/digitalocean-api-java
/* * The MIT License * * Copyright (c) 2010-2015 Jeevanandam M. (myjeeva.com) * * 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 ...
src/test/java/com/myjeeva/digitalocean/DigitalOceanIntegrationTest.java
/* * The MIT License * * Copyright (c) 2010-2015 Jeevanandam M. (myjeeva.com) * * 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 ...
#44 - test cases added for floating IPs
src/test/java/com/myjeeva/digitalocean/DigitalOceanIntegrationTest.java
#44 - test cases added for floating IPs
<ide><path>rc/test/java/com/myjeeva/digitalocean/DigitalOceanIntegrationTest.java <ide> import org.slf4j.LoggerFactory; <ide> <ide> import com.myjeeva.digitalocean.common.ActionType; <add>import com.myjeeva.digitalocean.common.ResourceType; <ide> import com.myjeeva.digitalocean.exception.DigitalOceanException; <ide> i...
Java
mit
29a40e80450337fe660f7d5ad3a1aafff1cbaeb6
0
Bernardo-MG/spring-mvc-thymeleaf-maven-archetype,Bernardo-MG/spring-mvc-thymeleaf-maven-archetype,Bernardo-MG/spring-mvc-thymeleaf-maven-archetype
/** * The MIT License (MIT) * <p> * Copyright (c) ${currentYear} the original author or authors. * <p> * 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 wi...
src/main/resources/archetype-resources/src/main/java/model/form/package-info.java
/** * The MIT License (MIT) * <p> * Copyright (c) ${currentYear} the original author or authors. * <p> * 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 wi...
Fixed package declaration
src/main/resources/archetype-resources/src/main/java/model/form/package-info.java
Fixed package declaration
<ide><path>rc/main/resources/archetype-resources/src/main/java/model/form/package-info.java <ide> * controllers. <ide> */ <ide> <del>package ${package}.controller.entity.bean; <add>package ${package}.model.form;
JavaScript
apache-2.0
4e8c9cbf7deadd19c788eca0c5548f1508ad0c3c
0
shackbarth/backbone-x,shackbarth/enyo-x
/*jshint bitwise:true, indent:2, curly:true eqeqeq:true, immed:true, latedef:true, newcap:true, noarg:true, regexp:true, undef:true, trailing:true white:true*/ /*global XT:true, XV:true, XM:true, _:true, enyo:true*/ (function () { var FETCH_TRIGGER = 100; var MODULE_MENU = 0; var PANEL_MENU = 1; enyo.kind({ ...
source/xv/views/module.js
/*jshint bitwise:true, indent:2, curly:true eqeqeq:true, immed:true, latedef:true, newcap:true, noarg:true, regexp:true, undef:true, trailing:true white:true*/ /*global XT:true, XV:true, XM:true, _:true, enyo:true*/ (function () { var FETCH_TRIGGER = 100; var MODULE_MENU = 0; var PANEL_MENU = 1; enyo.kind({ ...
getting there...
source/xv/views/module.js
getting there...
<ide><path>ource/xv/views/module.js <ide> {kind: "onyx.Button", content: "_new".loc(), ontap: "newRecord", <ide> style: "float: right;" } <ide> ]}, <del> {name: "contentPanels", kind: "Panels", arrangerKind: "LeftRightArranger", <del> margin: 0, fit: true, panelCount: 0, o...
JavaScript
apache-2.0
4aa8463d0a53f3765f4b150d4c9ac8e6b01c0968
0
oxygenxml/webapp-charpicker-plugin,oxygenxml/webapp-charpicker-plugin,oxygenxml/webapp-charpicker-plugin
(function () { goog.events.listen(workspace, sync.api.Workspace.EventType.BEFORE_EDITOR_LOADED, function (e) { //quickly change urls that have the plugin name hardcoded var pluginResourcesFolder = 'char-picker'; var localStorageUsable = function () { if (typeof (Storage...
web/plugin.js
(function () { goog.events.listen(workspace, sync.api.Workspace.EventType.BEFORE_EDITOR_LOADED, function (e) { //quickly change urls that have the plugin name hardcoded var pluginResourcesFolder = 'char-picker'; var localStorageUsable = function () { if (typeof (Storage...
added alert for selenium tests
web/plugin.js
added alert for selenium tests
<ide><path>eb/plugin.js <ide> setTimeout(function () { <ide> insertFromMenu.init(); <ide> document.getElementsByName("insertfrommenu")[0].setAttribute("title", "Insert a special character."); <add> alert("charpicker loaded"); <id...
Java
apache-2.0
366855e229fd9863ccc0cf3d4420e0ebb5a451ff
0
compomics/pride-asa-pipeline
package com.compomics.pride_asa_pipeline.config; import com.compomics.pride_asa_pipeline.util.FileUtils; import java.io.File; import org.apache.commons.configuration.ConfigurationException; import org.apache.commons.configuration.PropertiesConfiguration; import org.apache.log4j.Logger; /** * Created by Inte...
src/main/java/com/compomics/pride_asa_pipeline/config/PropertiesConfigurationHolder.java
package com.compomics.pride_asa_pipeline.config; import org.apache.commons.configuration.ConfigurationException; import org.apache.commons.configuration.PropertiesConfiguration; import org.apache.log4j.Logger; /** * Created by IntelliJ IDEA. * User: niels * Date: 9/11/11 * Time: 13:41 * To change this...
changed holder: now using file constructor instead of string constructor
src/main/java/com/compomics/pride_asa_pipeline/config/PropertiesConfigurationHolder.java
changed holder: now using file constructor instead of string constructor
<ide><path>rc/main/java/com/compomics/pride_asa_pipeline/config/PropertiesConfigurationHolder.java <ide> package com.compomics.pride_asa_pipeline.config; <ide> <add>import com.compomics.pride_asa_pipeline.util.FileUtils; <add>import java.io.File; <ide> import org.apache.commons.configuration.ConfigurationException; <i...
Java
lgpl-2.1
2c71d1d55f5e65c393f5821e704b08152a9e0886
0
brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty
/* * BRLTTY - A background process providing access to the console screen (when in * text mode) for a blind person using a refreshable braille display. * * Copyright (C) 1995-2013 by The BRLTTY Developers. * * BRLTTY comes with ABSOLUTELY NO WARRANTY. * * This is free software, placed under the terms o...
Android/Application/src/org/a11y/brltty/android/CoreThread.java
/* * BRLTTY - A background process providing access to the console screen (when in * text mode) for a blind person using a refreshable braille display. * * Copyright (C) 1995-2013 by The BRLTTY Developers. * * BRLTTY comes with ABSOLUTELY NO WARRANTY. * * This is free software, placed under the terms o...
Don't assume autospeak when braille isn't being used on Android. (dm) git-svn-id: 30a5f035a20f1bc647618dbad7eea2a951b61b7c@7318 91a5dbb7-01b9-0310-9b5f-b28072856b6e
Android/Application/src/org/a11y/brltty/android/CoreThread.java
Don't assume autospeak when braille isn't being used on Android. (dm)
<ide><path>ndroid/Application/src/org/a11y/brltty/android/CoreThread.java <ide> } <ide> <ide> builder.setSpeechDriver(getStringSetting(R.string.PREF_KEY_SPEECH_SUPPORT, R.string.DEFAULT_SPEECH_SUPPORT)); <add> builder.setQuietIfNoBraille(true); <ide> <ide> { <ide> ArrayList<String> keywords = new...
Java
apache-2.0
2ea99472f08c9df32e5dd6f6d3db9a42f1748fce
0
takahirom/MaterialHome
/* * Copyright (C) 2012 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/kogitune/launcher3/PagedView.java
/* * Copyright (C) 2012 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...
delete debug red background
app/src/main/java/com/kogitune/launcher3/PagedView.java
delete debug red background
<ide><path>pp/src/main/java/com/kogitune/launcher3/PagedView.java <ide> if (v == mDragView) continue; <ide> if (mForceDrawAllChildrenNextFrame || <ide> (leftScreen <= i && i <= rightScreen && shouldDrawChild(v))) { <del> v.set...
Java
apache-2.0
d9788f5430caa5596cf85910d98d26566dffb6cb
0
cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x,cbeams-archive/spring-framework-2.5.x
/* * Copyright 2002-2004 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
src/org/springframework/beans/propertyeditors/URLEditor.java
/* * Copyright 2002-2004 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by...
delegate to ResourceEditor git-svn-id: b619a0c99665f88f1afe72824344cefe9a1c8c90@4025 fd5a2b45-1f63-4059-99e9-3c7cb7fd75c8
src/org/springframework/beans/propertyeditors/URLEditor.java
delegate to ResourceEditor
<ide><path>rc/org/springframework/beans/propertyeditors/URLEditor.java <ide> package org.springframework.beans.propertyeditors; <ide> <ide> import java.beans.PropertyEditorSupport; <del>import java.net.MalformedURLException; <add>import java.io.IOException; <ide> import java.net.URL; <add> <add>import org.springframew...
Java
lgpl-2.1
ba98ef45c97ec0be2ab06953292d8c1b917db0cc
0
csrg-utfsm/acscb,csrg-utfsm/acscb,ACS-Community/ACS,csrg-utfsm/acscb,ACS-Community/ACS,ACS-Community/ACS,csrg-utfsm/acscb,csrg-utfsm/acscb,ACS-Community/ACS,ACS-Community/ACS,ACS-Community/ACS,csrg-utfsm/acscb,csrg-utfsm/acscb,ACS-Community/ACS,ACS-Community/ACS,csrg-utfsm/acscb
package alma.acs.container.corba; import java.util.logging.Level; import alma.acs.component.ComponentQueryDescriptor; import alma.acs.component.client.ComponentClientTestCase; import alma.jconttest.DummyComponent; import alma.jconttest.DummyComponentHelper; /** * Tests {@link alma.acs.container.corba.AcsCorba} and ...
LGPL/CommonSoftware/jcont/test/alma/acs/container/corba/AcsCorbaTestWithContainer.java
package alma.acs.container.corba; import java.util.logging.Level; import alma.acs.component.ComponentQueryDescriptor; import alma.acs.component.client.ComponentClientTestCase; import alma.jconttest.DummyComponentImpl.DummyComponentHelper; /** * Tests {@link alma.acs.container.corba.AcsCorba} and related usage of OR...
Imports fixed git-svn-id: 4f15cd35116e72df6ba252f213c0d8a6c7d4ad11@223515 523d945c-050c-4681-91ec-863ad3bb968a
LGPL/CommonSoftware/jcont/test/alma/acs/container/corba/AcsCorbaTestWithContainer.java
Imports fixed
<ide><path>GPL/CommonSoftware/jcont/test/alma/acs/container/corba/AcsCorbaTestWithContainer.java <ide> <ide> import alma.acs.component.ComponentQueryDescriptor; <ide> import alma.acs.component.client.ComponentClientTestCase; <del>import alma.jconttest.DummyComponentImpl.DummyComponentHelper; <add>import alma.jconttest...
Java
mit
fd20c42d9dd12cf4b492cd8b065354ccf3c335ce
0
gcauchis/ta4j,mdeverdelhan/ta4j
/** * The MIT License (MIT) * * Copyright (c) 2014-2017 Marc de Verdelhan & respective authors (see AUTHORS) * * 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, incl...
ta4j/src/main/java/eu/verdelhan/ta4j/indicators/CachedIndicator.java
/** * The MIT License (MIT) * * Copyright (c) 2014-2017 Marc de Verdelhan & respective authors (see AUTHORS) * * 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, incl...
Small fix
ta4j/src/main/java/eu/verdelhan/ta4j/indicators/CachedIndicator.java
Small fix
<ide><path>a4j/src/main/java/eu/verdelhan/ta4j/indicators/CachedIndicator.java <ide> // Series is not null <ide> <ide> final int removedTicksCount = series.getRemovedTicksCount(); <del> final int maximumResultCount = getTimeSeries().getMaximumTickCount(); <add> final int maximumRe...
Java
apache-2.0
56155a9771b7feccf205344cea6b8f3c46bcb119
0
Shrralis/chnu_java_labs
package com.shrralis.lab4; import com.shrralis.lab4.base.WorkerAbstract; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; @SuppressWarnings("unchecked") public cl...
Lab4/src/com/shrralis/lab4/Test.java
package com.shrralis.lab4; import com.shrralis.lab4.base.WorkerAbstract; import org.json.simple.JSONArray; import org.json.simple.JSONObject; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; @SuppressWarnings("unchecked") public cl...
Removed unnecessary empty line.
Lab4/src/com/shrralis/lab4/Test.java
Removed unnecessary empty line.
<ide><path>ab4/src/com/shrralis/lab4/Test.java <ide> array.add(o); <ide> } <ide> System.out.println(array.toJSONString()); <del> <ide> bw.write(array.toJSONString()); <ide> bw.close(); <ide> fw.close();
Java
bsd-3-clause
9e444543d1fc789bde6b9047328be77b23ca3e92
0
NCIP/caaers,CBIIT/caaers,NCIP/caaers,CBIIT/caaers,NCIP/caaers,CBIIT/caaers,CBIIT/caaers,CBIIT/caaers,NCIP/caaers
package gov.nih.nci.cabig.caaers.web.ae; import gov.nih.nci.cabig.caaers.dao.AdverseEventReportingPeriodDao; import gov.nih.nci.cabig.caaers.dao.StudyDao; import gov.nih.nci.cabig.caaers.dao.StudyParticipantAssignmentDao; import gov.nih.nci.cabig.caaers.dao.report.ReportDefinitionDao; import gov.nih.nci.cabig.caaers.d...
projects/web/src/main/java/gov/nih/nci/cabig/caaers/web/ae/CaptureAdverseEventInputCommand.java
package gov.nih.nci.cabig.caaers.web.ae; import gov.nih.nci.cabig.caaers.dao.AdverseEventReportingPeriodDao; import gov.nih.nci.cabig.caaers.dao.StudyDao; import gov.nih.nci.cabig.caaers.dao.StudyParticipantAssignmentDao; import gov.nih.nci.cabig.caaers.dao.report.ReportDefinitionDao; import gov.nih.nci.cabig.caaers.d...
fix for null pointer in capture page SVN-Revision: 8197
projects/web/src/main/java/gov/nih/nci/cabig/caaers/web/ae/CaptureAdverseEventInputCommand.java
fix for null pointer in capture page
<ide><path>rojects/web/src/main/java/gov/nih/nci/cabig/caaers/web/ae/CaptureAdverseEventInputCommand.java <ide> */ <ide> public void initialize(){ <ide> //set the assignment into the command. <del> this.assignment = this.adverseEventReportingPeriod.getAssignment(); <add> if(this.adverseEventReport...
Java
bsd-3-clause
fd47ff00097ccf2d5f1805ae055e13922a54de22
0
krishagni/openspecimen,krishagni/openspecimen,krishagni/openspecimen
package com.krishagni.catissueplus.core.biospecimen.events; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.stream.Collectors; import com.fasterxm...
WEB-INF/src/com/krishagni/catissueplus/core/biospecimen/events/SpecimenDetail.java
package com.krishagni.catissueplus.core.biospecimen.events; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import java.util.stream.Collectors; import com.fasterxm...
OPSMN-5572: The collection and received event details of the API response were populated using the "read-only" collection/receive detail object, mapped to a view. When the specimen is created/collected, this detail object is empty/null. Therefore the API response didn't contain any details of collection and received ev...
WEB-INF/src/com/krishagni/catissueplus/core/biospecimen/events/SpecimenDetail.java
OPSMN-5572: The collection and received event details of the API response were populated using the "read-only" collection/receive detail object, mapped to a view. When the specimen is created/collected, this detail object is empty/null. Therefore the API response didn't contain any details of collection and received ev...
<ide><path>EB-INF/src/com/krishagni/catissueplus/core/biospecimen/events/SpecimenDetail.java <ide> <ide> if (!partial) { <ide> result.setExtensionDetail(ExtensionDetail.from(specimen.getExtension(), excludePhi)); <del> result.setCollectionEvent(CollectionEventDetail.from(specimen.getCollRecvDetails())); <del> ...
Java
lgpl-2.1
1de5e1e54b5fa6769041128e5e563b09b8c18f39
0
fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui
package to.etc.util; import java.io.*; public class ProcessTools { private ProcessTools() { } /** * This is used to async read strout and stderr streams from a process... */ static public class StreamReaderThread extends Thread { /** The stream to read, */ private Reader m_reader; /** The output wri...
to.etc.alg/src/to/etc/util/ProcessTools.java
package to.etc.util; import java.io.*; public class ProcessTools { private ProcessTools() { } /** * This is used to async read strout and stderr streams from a process... */ static public class StreamReaderThread extends Thread { /** The stream to read, */ private Reader m_reader; /** The output wri...
Add code to copy output to a stream
to.etc.alg/src/to/etc/util/ProcessTools.java
Add code to copy output to a stream
<ide><path>o.etc.alg/src/to/etc/util/ProcessTools.java <ide> } <ide> <ide> /** <add> * This is used to async read strout and stderr streams from a process into another output stream. <add> */ <add> static public class StreamCopyThread extends Thread { <add> /** The stream to read, */ <add> private InputStream m...
Java
agpl-3.0
51519991c7f7d0b3811921f23ec40cc167a77db3
0
USAID-DELIVER-PROJECT/elmis,USAID-DELIVER-PROJECT/elmis,OpenLMIS/open-lmis,OpenLMIS/open-lmis,USAID-DELIVER-PROJECT/elmis,USAID-DELIVER-PROJECT/elmis,OpenLMIS/open-lmis,OpenLMIS/open-lmis
package org.openlmis.web.controller.vaccine; import net.sf.jasperreports.engine.JRException; import net.sf.jasperreports.engine.JRParameter; import org.openlmis.core.domain.*; import org.openlmis.core.exception.DataException; import org.openlmis.core.service.*; import org.openlmis.core.web.OpenLmisResponse; import or...
modules/openlmis-web/src/main/java/org/openlmis/web/controller/vaccine/VaccineOrderRequisitionController.java
package org.openlmis.web.controller.vaccine; import net.sf.jasperreports.engine.JRException; import net.sf.jasperreports.engine.JRParameter; import org.openlmis.core.domain.*; import org.openlmis.core.exception.DataException; import org.openlmis.core.service.*; import org.openlmis.core.web.OpenLmisResponse; import or...
VIMS-344:Add java controller for Vaccine Order Requisition
modules/openlmis-web/src/main/java/org/openlmis/web/controller/vaccine/VaccineOrderRequisitionController.java
VIMS-344:Add java controller for Vaccine Order Requisition
<ide><path>odules/openlmis-web/src/main/java/org/openlmis/web/controller/vaccine/VaccineOrderRequisitionController.java <ide> import org.openlmis.reporting.model.Template; <ide> import org.openlmis.reporting.service.JasperReportsViewFactory; <ide> import org.openlmis.reporting.service.TemplateService; <del>import org.o...
Java
agpl-3.0
e9ccdcfbbec96da6379286a5a090e0f7fff33ff1
0
Maximvdw/mcMMO,jhonMalcom79/mcMMO_pers,virustotalop/mcMMO,EvilOlaf/mcMMO,isokissa3/mcMMO
package com.gmail.nossr50.commands.mc; import java.io.BufferedReader; import java.io.FileReader; import java.io.FileWriter; import org.bukkit.ChatColor; import org.bukkit.OfflinePlayer; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bu...
src/main/java/com/gmail/nossr50/commands/mc/McremoveCommand.java
package com.gmail.nossr50.commands.mc; import java.io.BufferedReader; import java.io.FileReader; import java.io.FileWriter; import org.bukkit.ChatColor; import org.bukkit.OfflinePlayer; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import org.bu...
Missing space!
src/main/java/com/gmail/nossr50/commands/mc/McremoveCommand.java
Missing space!
<ide><path>rc/main/java/com/gmail/nossr50/commands/mc/McremoveCommand.java <ide> switch (args.length) { <ide> case 1: <ide> playerName = args[0]; <del> success = ChatColor.GREEN + playerName + "was successfully removed from the database!"; //TODO: Locale <add> success =...
Java
bsd-3-clause
0739355448db5bdaf471252cbfafae566d9780ed
0
TheFakeMontyOnTheRun/liboldfart
package br.odb.liboldfart; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import br.odb.libstrip.GeneralPolygon; import br.odb.libstrip.Material; import br.odb.libstrip.Mesh; import br.odb.utils....
src/main/java/br/odb/liboldfart/WavefrontOBJLoader.java
package br.odb.liboldfart; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import br.odb.libstrip.GeneralPolygon; import br.odb.libstrip.Material; import br.odb.libstrip.Mesh; import br.odb.utils.Color; import br.odb.ut...
WIP - refactoring Hate to commit WIP, but I have to switch machines
src/main/java/br/odb/liboldfart/WavefrontOBJLoader.java
WIP - refactoring
<ide><path>rc/main/java/br/odb/liboldfart/WavefrontOBJLoader.java <ide> import java.io.InputStreamReader; <ide> import java.util.ArrayList; <ide> import java.util.HashMap; <add>import java.util.List; <ide> <ide> import br.odb.libstrip.GeneralPolygon; <ide> import br.odb.libstrip.Material; <ide> final private ArrayLis...
Java
lgpl-2.1
943b9ce3ed65a28e24a9e0dce4a78f76ccca335e
0
viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer,viktorbahr/jaer,SensorsINI/jaer,viktorbahr/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,SensorsINI/jaer,viktorbahr/jaer
/* * Goalie.java * * Created on July 5, 2006, 1:17 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. * * *Copyright July 5, 2006 Tobi Delbruck, Inst. of Neuroinformatics, UNI-ETH Zurich */ package ch.unizh.ini.tobi.goalie; import ch.unizh.in...
src/ch/unizh/ini/tobi/goalie/Goalie.java
/* * Goalie.java * * Created on July 5, 2006, 1:17 PM * * To change this template, choose Tools | Template Manager * and open the template in the editor. * * *Copyright July 5, 2006 Tobi Delbruck, Inst. of Neuroinformatics, UNI-ETH Zurich */ package ch.unizh.ini.tobi.goalie; import ch.unizh.in...
Goalie now can only pay attention to velocity of balls if there are sufficient points to compute velocity "reliably" (presently this just means a sufficient number of path points, not any measure of goodness of linear regression). plotGoalie.m does a better job of plotting results of measurements. git-svn-id: e3d3b42...
src/ch/unizh/ini/tobi/goalie/Goalie.java
Goalie now can only pay attention to velocity of balls if there are sufficient points to compute velocity "reliably" (presently this just means a sufficient number of path points, not any measure of goodness of linear regression). plotGoalie.m does a better job of plotting results of measurements.
<ide><path>rc/ch/unizh/ini/tobi/goalie/Goalie.java <ide> <ide> private boolean useVelocityForGoalie=getPrefs().getBoolean("Goalie.useVelocityForGoalie",true); <ide> {setPropertyTooltip("useVelocityForGoalie","uses ball velocity to calc impact position");} <add> private int minPathPointsToUseVelocity=get...
Java
apache-2.0
202e292b77ca346d26039e366c9bb9dce87fe9d8
0
KaiHofstetter/foosball-booking-service
package net.softwareminds.foosballbooking.service.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security.config.annotation.authentication.build...
src/main/java/net/softwareminds/foosballbooking/service/config/SecurityConfiguration.java
package net.softwareminds.foosballbooking.service.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.authentication.AuthenticationManager; import org.springframework.security.config.annotation.authentication.build...
Logout removed.
src/main/java/net/softwareminds/foosballbooking/service/config/SecurityConfiguration.java
Logout removed.
<ide><path>rc/main/java/net/softwareminds/foosballbooking/service/config/SecurityConfiguration.java <ide> .exceptionHandling() <ide> .accessDeniedPage("/login.jsp?authorization_error=true") <ide> .and() <del> .logout() <del> .logoutSuccessUrl("/index.jsp") <del> .logou...
Java
apache-2.0
7309388bf161b3ad46564d2542a25c6d6997be00
0
pfn/acra,ACRA/acra,F43nd1r/acra,ACRA/acra,ACRA/acra,F43nd1r/acra,ACRA/acra,MaTriXy/acra
/* * Copyright 2010 Emmanuel Astier & Kevin Gaudin * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
src/main/java/org/acra/ErrorReporter.java
/* * Copyright 2010 Emmanuel Astier & Kevin Gaudin * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
Don't send reports on startup unless ACRA has been enabled.
src/main/java/org/acra/ErrorReporter.java
Don't send reports on startup unless ACRA has been enabled.
<ide><path>rc/main/java/org/acra/ErrorReporter.java <ide> * If true then approve unapproved reports first. <ide> */ <ide> void startSendingReports(boolean onlySendSilentReports, boolean approveReportsFirst) { <del> ACRA.log.v(LOG_TAG, "About to start SenderService"); <del> final I...
Java
apache-2.0
add662907d8002a4c38196c4d8654a0db19a061a
0
guozhangwang/kafka,sslavic/kafka,guozhangwang/kafka,Chasego/kafka,noslowerdna/kafka,apache/kafka,Chasego/kafka,lindong28/kafka,lindong28/kafka,apache/kafka,Chasego/kafka,guozhangwang/kafka,noslowerdna/kafka,lindong28/kafka,noslowerdna/kafka,sslavic/kafka,TiVo/kafka,TiVo/kafka,lindong28/kafka,Chasego/kafka,apache/kafka,...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
tools/src/main/java/org/apache/kafka/trogdor/workload/ProduceBenchWorker.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
MINOR: fix ProduceBenchWorker not to fail on final produce (#7254) When sending bad records, the Trogdor task will fail if the final record produced is bad. Instead we should catch the exception to allow the task to finish since sending bad records is a valid use case. Reviewers: Tu V. Tran <1b85a33aad4c7bae66daf38...
tools/src/main/java/org/apache/kafka/trogdor/workload/ProduceBenchWorker.java
MINOR: fix ProduceBenchWorker not to fail on final produce (#7254)
<ide><path>ools/src/main/java/org/apache/kafka/trogdor/workload/ProduceBenchWorker.java <ide> throw e; <ide> } finally { <ide> if (sendFuture != null) { <del> sendFuture.get(); <add> try { <add> ...
Java
apache-2.0
65d1d989592213cb1d188796f121d35e076004d0
0
ga4gh/dockstore,ga4gh/dockstore,ga4gh/dockstore
package io.dockstore.webservice.resources; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Optional; import java.util.stream.Collectors; import com.google.common.colle...
dockstore-webservice/src/main/java/io/dockstore/webservice/resources/AbstractWorkflowResource.java
package io.dockstore.webservice.resources; import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.Optional; import java.util.stream.Collectors; import com.google.common.colle...
3687/lambda error message fix (#3696) * print out error message to lambda event for customwebapplicationexceptions * change to one liner
dockstore-webservice/src/main/java/io/dockstore/webservice/resources/AbstractWorkflowResource.java
3687/lambda error message fix (#3696)
<ide><path>ockstore-webservice/src/main/java/io/dockstore/webservice/resources/AbstractWorkflowResource.java <ide> lambdaEventDAO.create(lambdaEvent); <ide> return workflows; <ide> } catch (CustomWebApplicationException | ClassCastException | DockstoreYamlHelper.DockstoreYamlException ex...
JavaScript
mit
66a7a530a60ba4519f671ef750243615aa6122db
0
stephanieg0/instaRoute,stephanieg0/instaRoute
app.controller("apiController", ["$scope", "$window", "$firebaseArray", "getUid", '$cookies', "departureTime", "getOrigin", "getDestination", "getRouteTime", "getRouteSummary", "$q", function ($scope, $window, $firebaseArray, idFactory, $cookies, timeFactory, originFactory, destinationFactory, RouteTimeFactory, RouteS...
app/controllers/api.js
app.controller("apiController", ["$scope", "$window", "$firebaseArray", "getUid", '$cookies', "departureTime", "getOrigin", "getDestination", "getRouteTime", "getRouteSummary", "$q", function ($scope, $window, $firebaseArray, idFactory, $cookies, timeFactory, originFactory, destinationFactory, RouteTimeFactory, RouteS...
saving address on click
app/controllers/api.js
saving address on click
<ide><path>pp/controllers/api.js <ide> <ide> //Saving a route to firebase. <ide> $scope.SaveRoute = function() { <del> //console.log("origin1", origin1); <del> //console.log("destinationB", destinationB); <add> <ide> //get the html element input for the autocomplete <ide> var originTitle = document.getElementB...
JavaScript
mit
a19a16cdb8ea60bc0f38255ed3b2ab1ab7abff84
0
PinguinJantan/openPackTrack-backend,PinguinJantan/openPackTrack-backend,arnaz06/openPackTrack-backend,PinguinJantan/openPackTrack-backend,arnaz06/openPackTrack-backend
'use strict'; module.exports = { up: function (queryInterface, Sequelize) { /* Add altering commands here. Return a promise to correctly handle asynchronicity. Example: return queryInterface.createTable('users', { id: Sequelize.INTEGER }); */ return queryInterface.renameColumn('I...
migrations/20171026141947-rename-genre-colom-in-item-teble.js
'use strict'; module.exports = { up: function (queryInterface, Sequelize) { /* Add altering commands here. Return a promise to correctly handle asynchronicity. Example: return queryInterface.createTable('users', { id: Sequelize.INTEGER }); */ queryInterface.renameColumn('Items', ...
kurang return
migrations/20171026141947-rename-genre-colom-in-item-teble.js
kurang return
<ide><path>igrations/20171026141947-rename-genre-colom-in-item-teble.js <ide> Example: <ide> return queryInterface.createTable('users', { id: Sequelize.INTEGER }); <ide> */ <del> queryInterface.renameColumn('Items', 'genre', 'gender') <add> return queryInterface.renameColumn('Items', 'genre', 'gen...
Java
apache-2.0
30deb13d1ec4b398de2abb234802d049533e18d2
0
saurabharora90/MaterialArcMenu
package com.sa90.materialarcmenu; import android.animation.Animator; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; import android.animation.ValueAnimator; import android.content.Context; import android.content.res.ColorStateList; import android.content.res.Resources; import android.con...
library/src/main/java/com/sa90/materialarcmenu/ArcMenu.java
package com.sa90.materialarcmenu; import android.animation.Animator; import android.animation.AnimatorSet; import android.animation.ObjectAnimator; import android.animation.ValueAnimator; import android.content.Context; import android.content.res.ColorStateList; import android.content.res.Resources; import android.con...
remove deprecated functions
library/src/main/java/com/sa90/materialarcmenu/ArcMenu.java
remove deprecated functions
<ide><path>ibrary/src/main/java/com/sa90/materialarcmenu/ArcMenu.java <ide> import android.widget.FrameLayout; <ide> <ide> import androidx.annotation.AttrRes; <add>import androidx.annotation.NonNull; <ide> import androidx.coordinatorlayout.widget.CoordinatorLayout; <ide> import androidx.core.content.ContextCompat; <id...
Java
apache-2.0
e486c9e724fe6ea3af5687f2617d7f9fa2531072
0
vorburger/mifos-head,vorburger/mifos-head,jpodeszwik/mifos,maduhu/head,maduhu/head,maduhu/head,AArhin/head,vorburger/mifos-head,maduhu/mifos-head,jpodeszwik/mifos,maduhu/mifos-head,jpodeszwik/mifos,AArhin/head,maduhu/mifos-head,AArhin/head,maduhu/mifos-head,maduhu/head,maduhu/head,AArhin/head,maduhu/mifos-head,jpodeszw...
/* * Copyright (c) 2005-2009 Grameen Foundation USA * 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 * * Unl...
application/src/main/java/org/mifos/application/accounts/loan/struts/actionforms/LoanAccountActionForm.java
/* * Copyright (c) 2005-2009 Grameen Foundation USA * 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 * * Unl...
Work on story 2258, issue 2123 - Edit of active loan produces invalid Disbursement date message. * made disbursement date check conditional. git-svn-id: 6bd94cac40bd5c1df74b384d972046d926de6ffa@16131 a8845c50-7012-0410-95d3-8e1449b9b1e4
application/src/main/java/org/mifos/application/accounts/loan/struts/actionforms/LoanAccountActionForm.java
Work on story 2258, issue 2123 - Edit of active loan produces invalid Disbursement date message. * made disbursement date check conditional.
<ide><path>pplication/src/main/java/org/mifos/application/accounts/loan/struts/actionforms/LoanAccountActionForm.java <ide> private void checkValidationForManagePreview(ActionErrors errors, HttpServletRequest request) <ide> throws ApplicationException { <ide> if (getState().equals(AccountState.L...
Java
mit
7bbc07cdf8be3ec7b866caedbfa02b1faa85e8d0
0
pawellinkshell/Supermarket,pawellinkshell/Supermarket
package pl.koszela.jan.domain; import java.util.Objects; /** * Created on 12.08.2017. * * @author Jan Koszela */ public class Order { private String productName; private int quantity; public Order(String productName, int quantity) { this.productName = productName; this.quantity = quantity; } ...
src/main/java/pl/koszela/jan/domain/Order.java
package pl.koszela.jan.domain; /** * Created on 12.08.2017. * * @author Jan Koszela */ public class Order { private String productName; private String quantity; @java.beans.ConstructorProperties({"productName", "quantity"}) Order(String productName, String quantity) { this.productName = productName; ...
Remove builder pattern
src/main/java/pl/koszela/jan/domain/Order.java
Remove builder pattern
<ide><path>rc/main/java/pl/koszela/jan/domain/Order.java <ide> package pl.koszela.jan.domain; <add> <add>import java.util.Objects; <ide> <ide> /** <ide> * Created on 12.08.2017. <ide> public class Order { <ide> <ide> private String productName; <del> private String quantity; <add> private int quantity; <ide> <d...
Java
apache-2.0
d2a202f1448ff4b91e768f8752388ee1de9bbcdf
0
yeeunshim/tajo_test,hyunsik/incubator-tajo,gruter/tajo-cdh,hyunsik/incubator-tajo,yeeunshim/tajo_test,gruter/tajo-cdh,yeeunshim/tajo_test,apache/incubator-tajo,apache/incubator-tajo,apache/incubator-tajo,hyunsik/incubator-tajo,hyunsik/incubator-tajo,gruter/tajo-cdh,yeeunshim/tajo_test,gruter/tajo-cdh,apache/incubator-t...
package nta.engine.planner.physical; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.IOException; import nta.catalog.CatalogService; import nta.catalog.Schema; import nta.catalog.TCatUtil; import nta.catalog.TableDesc; import nta.catalog.Tab...
engine/src/test/java/nta/engine/planner/physical/TestHashJoinExec.java
package nta.engine.planner.physical; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import java.io.File; import java.io.IOException; import nta.catalog.CatalogService; import nta.catalog.Schema; import nta.catalog.TCatUtil; import nta.catalog.TableDesc; import nta.catalog.Tab...
TAJO-593: local hash join 구현 (fixed unittest errta) Change-Id: I1cb8633c0e4a682f412d51ed2ece927ad349c455 Reviewed-on: https://dbserver.korea.ac.kr/reviews/221 Tested-by: Jenkins <80754af91bfb6d1073585b046fe0a474ce868509@dbserver.korea.ac.kr> Reviewed-by: Hyunsik Choi <05a3172daee8e68f070c7e3940f4ecf228130ad0@gmail.co...
engine/src/test/java/nta/engine/planner/physical/TestHashJoinExec.java
TAJO-593: local hash join 구현 (fixed unittest errta)
<ide><path>ngine/src/test/java/nta/engine/planner/physical/TestHashJoinExec.java <ide> <ide> <ide> ProjectionExec proj = (ProjectionExec) exec; <del> MergeJoinExec join = (MergeJoinExec) proj.getsubOp(); <del> ExternalSortExec sortout = (ExternalSortExec) join.getouter(); <del> ExternalSortExec sorti...
Java
mit
840c28355a11452a4d32a5731f0df3e10c47621f
0
dapperstout/pulse-java
package syncthing.bep.util; public class Bytes { public static boolean[] bits(byte eightBits) { boolean[] result = new boolean[8]; byte mask = (byte) 0b10000000; for (int i = 0; i < result.length; i++) { result[i] = (eightBits & mask) != 0; eightBits <<= 1; ...
src/main/java/syncthing/bep/util/Bytes.java
package syncthing.bep.util; public class Bytes { public static boolean[] bits(byte eightBits) { boolean[] result = new boolean[8]; byte mask = (byte) 0b10000000; for (int i = 0; i < result.length; i++) { result[i] = (eightBits & mask) != 0; eightBits <<= 1; ...
Simplify.
src/main/java/syncthing/bep/util/Bytes.java
Simplify.
<ide><path>rc/main/java/syncthing/bep/util/Bytes.java <ide> public static byte concatenateBits(boolean... bits) { <ide> byte result = 0; <ide> for (boolean bit : bits) { <del> if (result != 0) { <del> result <<= 1; <del> } <add> result <<= 1; <ide> ...
Java
lgpl-2.1
b87fe88de8e19e2952d6253b70490ca81c53e72a
0
brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty,brltty/brltty
/* * libbrlapi - A library providing access to braille terminals for applications. * * Copyright (C) 2006-2020 by * Samuel Thibault <Samuel.Thibault@ens-lyon.org> * Sébastien Hinderer <Sebastien.Hinderer@ens-lyon.org> * * libbrlapi comes with ABSOLUTELY NO WARRANTY. * * This is free software, placed under ...
Bindings/Java/clients/ApiExceptionClient.java
/* * libbrlapi - A library providing access to braille terminals for applications. * * Copyright (C) 2006-2020 by * Samuel Thibault <Samuel.Thibault@ens-lyon.org> * Sébastien Hinderer <Sebastien.Hinderer@ens-lyon.org> * * libbrlapi comes with ABSOLUTELY NO WARRANTY. * * This is free software, placed under ...
Java bindings: The Pause client can use pause (instead of readKeyWithTimeout). (dm)
Bindings/Java/clients/ApiExceptionClient.java
Java bindings: The Pause client can use pause (instead of readKeyWithTimeout). (dm)
<ide><path>indings/Java/clients/ApiExceptionClient.java <ide> String result = null; <ide> <ide> try { <del> tty.readKeyWithTimeout(getWaitTime()); <del> result = String.format("%s not thrown", label); <add> if (pause(tty)) { <add> result = String.format("wait for %...
Java
epl-1.0
77b795654fad5f4c0e9e1068426920b9f3ca83df
0
abstratt/textuml,abstratt/textuml,abstratt/textuml
/******************************************************************************* * Copyright (c) 2006, 2009 Abstratt Technologies * 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 ...
plugins/com.abstratt.modelrenderer/src/com/abstratt/modelrenderer/RenderingSession.java
/******************************************************************************* * Copyright (c) 2006, 2009 Abstratt Technologies * 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 ...
cleaned up some compiler warnings
plugins/com.abstratt.modelrenderer/src/com/abstratt/modelrenderer/RenderingSession.java
cleaned up some compiler warnings
<ide><path>lugins/com.abstratt.modelrenderer/src/com/abstratt/modelrenderer/RenderingSession.java <ide> *******************************************************************************/ <ide> package com.abstratt.modelrenderer; <ide> <del>import java.util.Collection; <ide> import java.util.Map; <ide> import java.util....
Java
apache-2.0
0fb1eaec7820dcd717d8336e84747b0472a71a80
0
bia-code/jcronofy
package org.biacode.jcronofy.api.model; import com.fasterxml.jackson.annotation.JsonProperty; /** * User: Arthur Asatryan * Company: SFL LLC * Date: 10/5/16 * Time: 3:25 PM */ public enum ScopeModel { @JsonProperty("read_events") READ_EVENTS("read_events"), @JsonProperty("create_event") CREATE_EV...
src/main/java/org/biacode/jcronofy/api/model/ScopeModel.java
package org.biacode.jcronofy.api.model; import com.fasterxml.jackson.annotation.JsonProperty; /** * User: Arthur Asatryan * Company: SFL LLC * Date: 10/5/16 * Time: 3:25 PM */ public enum ScopeModel { @JsonProperty("read_events") READ_EVENTS("read_events"), @JsonProperty("create_event") CREATE_EV...
[#2] added missing scope values
src/main/java/org/biacode/jcronofy/api/model/ScopeModel.java
[#2] added missing scope values
<ide><path>rc/main/java/org/biacode/jcronofy/api/model/ScopeModel.java <ide> CREATE_EVENT("create_event"), <ide> @JsonProperty("delete_event") <ide> DELETE_EVENT("delete_event"), <del> READ_FREE_BUSY("read_free_busy"); <add> @JsonProperty("read_free_busy") <add> READ_FREE_BUSY("read_free_busy"), <a...
JavaScript
bsd-3-clause
57db0b254fd554e03d107b1e6c55287f5aaa225c
0
digitalbazaar/payswarm.js
/** * A JavaScript implementation of the PaySwarm API. * * @author Dave Longley * * Copyright (c) 2011-2013, Digital Bazaar, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * R...
lib/payswarm-client.js
/** * A JavaScript implementation of the PaySwarm API. * * @author Dave Longley * * Copyright (c) 2011-2013, Digital Bazaar, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * R...
[lib] Minor formatting fix.
lib/payswarm-client.js
[lib] Minor formatting fix.
<ide><path>ib/payswarm-client.js <ide> <ide> jsonld.normalize( <ide> result, { <del> format: 'application/nquads' <del> }, function(err, normalized) { <add> format: 'application/nquads' <add> }, function(err, normalized) { <ide> if(err) { <ide> return cal...
Java
mit
f41fa6075dc1317ba66df13e139c5c7ca20a5381
0
FranckCo/Metadata-API
package fr.insee.rmes.api.geo; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.util.List; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.core.Response.Status; import org.apache.commons.lang3.StringUtils; import org.apache....
src/main/java/fr/insee/rmes/api/geo/AbstractGeoApi.java
package fr.insee.rmes.api.geo; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; import java.util.List; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.core.Response.Status; import org.apache.commons.lang3.StringUtils; import org.apache....
Fix wrong cache disabling when using GET /geo/communes
src/main/java/fr/insee/rmes/api/geo/AbstractGeoApi.java
Fix wrong cache disabling when using GET /geo/communes
<ide><path>rc/main/java/fr/insee/rmes/api/geo/AbstractGeoApi.java <ide> return (filtreNom != null) ? filtreNom : "*"; <ide> } <ide> <del> protected Boolean formatValidParameterBooleanIfIsNull(Boolean bool) { <del> return bool != null; <add> protected boolean formatValidParameterBooleanIfI...
Java
apache-2.0
a02a8d231915fcfd1603d3161f3300e8ae5dd6d1
0
Sage-Bionetworks/BridgePF,DwayneJengSage/BridgePF,alxdarksage/BridgePF,Sage-Bionetworks/BridgePF,alxdarksage/BridgePF,DwayneJengSage/BridgePF,DwayneJengSage/BridgePF,alxdarksage/BridgePF,Sage-Bionetworks/BridgePF
package org.sagebionetworks.bridge.dynamodb; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import javax.annotation.Resource; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; i...
test/org/sagebionetworks/bridge/dynamodb/DynamoUserConsentDaoTest.java
package org.sagebionetworks.bridge.dynamodb; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import javax.annotation.Resource; import org.junit.After; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; i...
Adding Thread.sleep() to test in order to pass in production environment
test/org/sagebionetworks/bridge/dynamodb/DynamoUserConsentDaoTest.java
Adding Thread.sleep() to test in order to pass in production environment
<ide><path>est/org/sagebionetworks/bridge/dynamodb/DynamoUserConsentDaoTest.java <ide> } <ide> <ide> @Test <del> public void canCountStudyParticipants() { <add> public void canCountStudyParticipants() throws InterruptedException { <ide> final DynamoStudyConsent1 consent = createStudyConsent(); <i...
Java
apache-2.0
67ad78608c7a978ae86affc871a4bdaa48915a33
0
ejona86/grpc-java,grpc/grpc-java,ejona86/grpc-java,stanley-cheung/grpc-java,ejona86/grpc-java,grpc/grpc-java,dapengzhang0/grpc-java,stanley-cheung/grpc-java,grpc/grpc-java,stanley-cheung/grpc-java,dapengzhang0/grpc-java,stanley-cheung/grpc-java,dapengzhang0/grpc-java,dapengzhang0/grpc-java,ejona86/grpc-java,grpc/grpc-j...
/* * Copyright 2020 The gRPC Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
xds/src/main/java/io/grpc/xds/ClientXdsClient.java
/* * Copyright 2020 The gRPC Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
xds: fix typo in a log message (#7762)
xds/src/main/java/io/grpc/xds/ClientXdsClient.java
xds: fix typo in a log message (#7762)
<ide><path>ds/src/main/java/io/grpc/xds/ClientXdsClient.java <ide> public void run() { <ide> ResourceSubscriber subscriber = ldsResourceSubscribers.get(resourceName); <ide> if (subscriber == null) { <del> getLogger().log(XdsLogLevel.INFO, "Subscribe CDS resource {0}", resourceName); <add>...
Java
mit
b8b775fa8576e982918531249179867bd411ebad
0
turbolinks/turbolinks-android,timoschloesser/turbolinks-android,timoschloesser/turbolinks-android,timoschloesser/turbolinks-android,gavinliu/turbolinks-android,timoschloesser/turbolinks-android,gavinliu/turbolinks-android,gavinliu/turbolinks-android,turbolinks/turbolinks-android,turbolinks/turbolinks-android,turbolinks...
package com.basecamp.turbolinks; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; import android.content.MutableContextWrapper; import android.graphics.Bitmap; import android.graphics.drawable.ColorDrawable; import android.graphic...
turbolinks/src/main/java/com/basecamp/turbolinks/TurbolinksSession.java
package com.basecamp.turbolinks; import android.annotation.SuppressLint; import android.annotation.TargetApi; import android.app.Activity; import android.content.Context; import android.content.MutableContextWrapper; import android.graphics.Bitmap; import android.graphics.drawable.ColorDrawable; import android.graphic...
Hide the progress view when an error occurs
turbolinks/src/main/java/com/basecamp/turbolinks/TurbolinksSession.java
Hide the progress view when an error occurs
<ide><path>urbolinks/src/main/java/com/basecamp/turbolinks/TurbolinksSession.java <ide> @android.webkit.JavascriptInterface <ide> public void visitRequestFailedWithStatusCode(final String visitIdentifier, final int statusCode) { <ide> TurbolinksLog.d("visitRequestFailedWithStatusCode called"); <add> ...
Java
apache-2.0
874eeb88d9dc5e8fbcd681672fb90a4cd7597fec
0
ollie314/kafka,Chasego/kafka,gf53520/kafka,gf53520/kafka,Chasego/kafka,MyPureCloud/kafka,Chasego/kafka,sslavic/kafka,ollie314/kafka,MyPureCloud/kafka,mihbor/kafka,Ishiihara/kafka,KevinLiLu/kafka,richhaase/kafka,gf53520/kafka,mihbor/kafka,lindong28/kafka,KevinLiLu/kafka,guozhangwang/kafka,Ishiihara/kafka,guozhangwang/ka...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
streams/src/main/java/org/apache/kafka/streams/state/internals/CachingKeyValueStore.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may n...
KAFKA-6412 Improve synchronization in CachingKeyValueStore methods Currently CachingKeyValueStore methods are synchronized at method level. It seems we can use read lock for getter and write lock for put / delete methods. For getInternal(), if the underlying thread is streamThread, the getInternal() may trigger evic...
streams/src/main/java/org/apache/kafka/streams/state/internals/CachingKeyValueStore.java
KAFKA-6412 Improve synchronization in CachingKeyValueStore methods
<ide><path>treams/src/main/java/org/apache/kafka/streams/state/internals/CachingKeyValueStore.java <ide> <ide> import java.util.List; <ide> import java.util.Objects; <add>import java.util.concurrent.locks.Lock; <add>import java.util.concurrent.locks.ReadWriteLock; <add>import java.util.concurrent.locks.ReentrantReadWr...
JavaScript
mit
765d7d08ef82efc451eed9cc21690c2b53c6ccb7
0
weaintplastic/react-sketchapp
import processColor from './processColor'; import type { Color } from './processColor'; export const colors = { Haus: '#F3F4F4', Night: '#333', Sur: '#96DBE4', 'Sur a11y': '#24828F', Peach: '#EFADA0', 'Peach a11y': '#E37059', Pear: '#93DAAB', 'Pear a11y': '#2E854B', }; const typeSizes = [ 80, 48, ...
example-plugin/designSystem.js
import processColor from './processColor'; import type { Color } from './processColor'; export const colors = { Haus: '#F3F4F4', Night: '#333', Sur: '#96DBE4', 'Sur a11y': '#24828F', Peach: '#EFADA0', 'Peach a11y': '#E37059', Pear: '#93DAAB', 'Pear a11y': '#2E854B', }; const typeSizes = [ 80, 48, ...
fix bug in example design system
example-plugin/designSystem.js
fix bug in example design system
<ide><path>xample-plugin/designSystem.js <ide> }; <ide> <ide> export default { <del> colors: colors.map(processColor), <add> colors: Object.keys(colors).reduce((acc, name) => ({ <add> ...acc, <add> [name]: processColor(colors[name]), <add> }), {}), <ide> fonts, <ide> spacing, <ide> };
Java
agpl-3.0
ba305852996c035831f46a6b3ec2d9056f30560f
0
rdkgit/opennms,tdefilip/opennms,roskens/opennms-pre-github,rdkgit/opennms,tdefilip/opennms,aihua/opennms,rdkgit/opennms,tdefilip/opennms,rdkgit/opennms,roskens/opennms-pre-github,aihua/opennms,roskens/opennms-pre-github,roskens/opennms-pre-github,rdkgit/opennms,rdkgit/opennms,tdefilip/opennms,aihua/opennms,aihua/opennm...
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2012 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(R) is...
opennms-config/src/main/java/org/opennms/netmgt/config/SnmpPeerFactory.java
/******************************************************************************* * This file is part of OpenNMS(R). * * Copyright (C) 2012 The OpenNMS Group, Inc. * OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc. * * OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc. * * OpenNMS(R) is...
Fixing NMS-6108: Can't use SNMPv3 with NoAuth-NoPriv (Part II) Bamboo has reported some failures. These tests are associated with a specific use case on snmp-config.xml that was not taken in consideration by my fix. Now all the tests are passing without issues.
opennms-config/src/main/java/org/opennms/netmgt/config/SnmpPeerFactory.java
Fixing NMS-6108: Can't use SNMPv3 with NoAuth-NoPriv (Part II)
<ide><path>pennms-config/src/main/java/org/opennms/netmgt/config/SnmpPeerFactory.java <ide> */ <ide> private String determineAuthProtocol(final Definition def) { <ide> final String authProtocol = (def.getAuthProtocol() == null ? m_config.getAuthProtocol() : def.getAuthProtocol()); <del> // Forci...
Java
apache-2.0
a24c5301d037897a187568ee9979778a38e2d4a2
0
lesjaw/Olmatix
package com.olmatix.service; import android.Manifest; import android.app.Activity; import android.app.ActivityManager; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.app.TaskStackBuilder; import android.app.usage.Usa...
olmatix/src/main/java/com/olmatix/service/OlmatixService.java
package com.olmatix.service; import android.Manifest; import android.app.Activity; import android.app.ActivityManager; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.app.TaskStackBuilder; import android.app.usage.Usa...
fix layout dashboard, fix gps location
olmatix/src/main/java/com/olmatix/service/OlmatixService.java
fix layout dashboard, fix gps location
<ide><path>lmatix/src/main/java/com/olmatix/service/OlmatixService.java <ide> private String dist; <ide> String adString = ""; <ide> String loc = null; <del> <ide> Intent intent; <ide> int counter = 0; <ide> <ide> <ide> } <ide> ...
Java
agpl-3.0
69005ade4ea9fb02c86c28f272050f77ca7cb93a
0
rdkgit/opennms,roskens/opennms-pre-github,aihua/opennms,rdkgit/opennms,aihua/opennms,tdefilip/opennms,rdkgit/opennms,rdkgit/opennms,aihua/opennms,tdefilip/opennms,aihua/opennms,tdefilip/opennms,roskens/opennms-pre-github,roskens/opennms-pre-github,roskens/opennms-pre-github,aihua/opennms,roskens/opennms-pre-github,rosk...
// // This file is part of the OpenNMS(R) Application. // // OpenNMS(R) is Copyright (C) 2006 The OpenNMS Group, Inc. All rights // reserved. // OpenNMS(R) is a derivative work, containing both original code, included // code and modified // code that was published under the GNU General Public License. Copyrights // fo...
opennms-model/src/main/java/org/opennms/netmgt/model/OnmsApplication.java
// // This file is part of the OpenNMS(R) Application. // // OpenNMS(R) is Copyright (C) 2006 The OpenNMS Group, Inc. All rights // reserved. // OpenNMS(R) is a derivative work, containing both original code, included // code and modified // code that was published under the GNU General Public License. Copyrights // fo...
Implement Comparable interface
opennms-model/src/main/java/org/opennms/netmgt/model/OnmsApplication.java
Implement Comparable interface
<ide><path>pennms-model/src/main/java/org/opennms/netmgt/model/OnmsApplication.java <ide> <ide> @Entity <ide> @Table(name = "applications") <del>public class OnmsApplication { <add>public class OnmsApplication implements Comparable<OnmsApplication> { <ide> <ide> private Integer m_id; <ide> <ide> m_member...
Java
mit
c8dbbf04215c7779cd7f8a27b3eb72359fd89e87
0
Iterable/iterable-android-sdk,Iterable/iterable-android-sdk,Iterable/iterable-android-sdk
package com.iterable.iterableapi; import android.app.Activity; import android.app.Application; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Build; import android.os.Bundle; import android.support.annotation.VisibleForTesting; import android....
iterableapi/src/main/java/com/iterable/iterableapi/IterableApi.java
package com.iterable.iterableapi; import android.app.Activity; import android.app.Application; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.os.Build; import android.os.Bundle; import android.support.annotation.VisibleForTesting; import android....
Remove dependency on AdvertisingIdClient, use reflection instead
iterableapi/src/main/java/com/iterable/iterableapi/IterableApi.java
Remove dependency on AdvertisingIdClient, use reflection instead
<ide><path>terableapi/src/main/java/com/iterable/iterableapi/IterableApi.java <ide> import android.support.annotation.VisibleForTesting; <ide> import android.support.v4.app.NotificationManagerCompat; <ide> <del>import com.google.android.gms.ads.identifier.AdvertisingIdClient; <ide> import com.iterable.iterableapi.ddl....
JavaScript
mit
3f064009025e780595670faecba107ca3cdcab61
0
demetris-manikas/com.crypho.plugins.securestorage,Crypho/com.crypho.plugins.securestorage,Crypho/com.crypho.plugins.securestorage,Crypho/cordova-plugin-secure-storage,yyfearth/cordova-plugin-secure-storage,Crypho/cordova-plugin-secure-storage,yyfearth/cordova-plugin-secure-storage,demetris-manikas/com.crypho.plugins.se...
var SecureStorage, SecureStorageiOS, SecureStorageAndroid, SecureStorageWindows, SecureStorageBrowser; var sjcl_ss = cordova.require('cordova-plugin-secure-storage.sjcl_ss'); var _AES_PARAM = { ks: 256, ts: 128, mode: 'ccm', cipher: 'aes' }; var _checkCallbacks = function (success, error) { if (typ...
www/securestorage.js
var SecureStorage, SecureStorageiOS, SecureStorageAndroid, SecureStorageWindows, SecureStorageBrowser; var sjcl_ss = cordova.require('cordova-plugin-secure-storage.sjcl_ss'); var _AES_PARAM = { ks: 256, ts: 128, mode: 'ccm', cipher: 'aes' }; var _checkCallbacks = function (success, error) { if (typ...
fix: migration to sharedPreferences for Android
www/securestorage.js
fix: migration to sharedPreferences for Android
<ide><path>ww/securestorage.js <ide> _migrate_to_native_storage: function (success) { <ide> var key; <ide> var secureStorageData = []; <del> var entriesCnt; <add> var entriesCnt = 0; <ide> var entriesProcessed = 0; <ide> var entryMigrated; <ide> var migrated; <i...
JavaScript
mpl-2.0
67810673425e4e5762435487376fe70715533d6d
0
slidewiki/slidewiki-platform,slidewiki/slidewiki-platform,slidewiki/slidewiki-platform
import PropTypes from 'prop-types'; import React from 'react'; import {NavLink} from 'fluxible-router'; import {defineMessages} from 'react-intl'; import {Microservices} from '../../../../configs/microservices'; class UserMenu extends React.Component { constructor(props){ super(props); this.styles ...
components/User/UserProfile/PrivatePublicUserProfile/UserMenu.js
import PropTypes from 'prop-types'; import React from 'react'; import {NavLink, navigateAction} from 'fluxible-router'; import { FormattedMessage, defineMessages } from 'react-intl'; import {Microservices} from '../../../../configs/microservices'; class UserMenu extends React.Component { constructor(props){ ...
Show stats menu item only for user's own profile
components/User/UserProfile/PrivatePublicUserProfile/UserMenu.js
Show stats menu item only for user's own profile
<ide><path>omponents/User/UserProfile/PrivatePublicUserProfile/UserMenu.js <ide> import PropTypes from 'prop-types'; <ide> import React from 'react'; <del>import {NavLink, navigateAction} from 'fluxible-router'; <del>import { FormattedMessage, defineMessages } from 'react-intl'; <add>import {NavLink} from 'fluxible-rou...
JavaScript
mit
e69cf6d83a749d0c10f7c0d03b46308fa20b4f65
0
rp4rk/ChimpTravisCI,rp4rk/ChimpTravisCI,rp4rk/ChimpTravisCI
const reporter = require('cucumber-html-reporter'); const options = require('./chimp.conf'); // Generate report reporter.generate(options);
generate-report.js
const reporter = require('cucumber-html-reporter'); const options = require('./chimp.conf'); reporter.generate(options);
Trigger build
generate-report.js
Trigger build
<ide><path>enerate-report.js <ide> const reporter = require('cucumber-html-reporter'); <ide> const options = require('./chimp.conf'); <ide> <add>// Generate report <ide> reporter.generate(options);
Java
apache-2.0
086c6c74305c242f3d9dd1995545b1d79c2bd89b
0
batfish/batfish,intentionet/batfish,dhalperi/batfish,dhalperi/batfish,batfish/batfish,batfish/batfish,arifogel/batfish,intentionet/batfish,intentionet/batfish,intentionet/batfish,intentionet/batfish,dhalperi/batfish,arifogel/batfish,arifogel/batfish
package org.batfish.dataplane.ibdp; import static com.google.common.base.MoreObjects.firstNonNull; import static java.util.Objects.requireNonNull; import static org.batfish.common.util.CommonUtil.toImmutableSortedMap; import static org.batfish.datamodel.MultipathEquivalentAsPathMatchMode.EXACT_PATH; import static org....
projects/batfish/src/main/java/org/batfish/dataplane/ibdp/VirtualRouter.java
package org.batfish.dataplane.ibdp; import static com.google.common.base.MoreObjects.firstNonNull; import static java.util.Objects.requireNonNull; import static org.batfish.common.util.CommonUtil.toImmutableSortedMap; import static org.batfish.datamodel.MultipathEquivalentAsPathMatchMode.EXACT_PATH; import static org....
ISIS: fix next hop ip (#1849)
projects/batfish/src/main/java/org/batfish/dataplane/ibdp/VirtualRouter.java
ISIS: fix next hop ip (#1849)
<ide><path>rojects/batfish/src/main/java/org/batfish/dataplane/ibdp/VirtualRouter.java <ide> int l2Admin = RoutingProtocol.ISIS_L2.getDefaultAdministrativeCost(_c.getConfigurationFormat()); <ide> _isisIncomingRoutes.forEach( <ide> (edge, queue) -> { <del> Ip nextHopIp = edge.getNode2().getInter...
Java
agpl-3.0
5b256fbc7190e413d2a4c6bfe4d13cb0ff6fccc5
0
akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow,akvo/akvo-flow
package org.waterforpeople.mapping.app.web; import static com.google.appengine.api.labs.taskqueue.TaskOptions.Builder.url; import java.io.ByteArrayOutputStream; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.Random; import java.util.TreeMap; imp...
GAE/src/org/waterforpeople/mapping/app/web/SurveyAssemblyServlet.java
package org.waterforpeople.mapping.app.web; import static com.google.appengine.api.labs.taskqueue.TaskOptions.Builder.url; import java.io.ByteArrayOutputStream; import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.Random; import java.util.TreeMap; impo...
changed logger to warn level ( and from java.util.logger to log4j)
GAE/src/org/waterforpeople/mapping/app/web/SurveyAssemblyServlet.java
changed logger to warn level ( and from java.util.logger to log4j)
<ide><path>AE/src/org/waterforpeople/mapping/app/web/SurveyAssemblyServlet.java <ide> import java.util.Properties; <ide> import java.util.Random; <ide> import java.util.TreeMap; <del>import java.util.logging.Level; <del>import java.util.logging.Logger; <ide> <ide> import javax.servlet.http.HttpServletRequest; <ide> im...
JavaScript
apache-2.0
bf9e633c57a2e8cda3c317292b951cb6b1468305
0
cloudera/hue,kawamon/hue,cloudera/hue,kawamon/hue,cloudera/hue,cloudera/hue,cloudera/hue,kawamon/hue,cloudera/hue,kawamon/hue,kawamon/hue,cloudera/hue,cloudera/hue,cloudera/hue,kawamon/hue,cloudera/hue,cloudera/hue,cloudera/hue,kawamon/hue,kawamon/hue,cloudera/hue,cloudera/hue,kawamon/hue,cloudera/hue,kawamon/hue,kawam...
// Licensed to Cloudera, Inc. under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Cloudera, Inc. licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this f...
tools/jison/generateParsers.js
// Licensed to Cloudera, Inc. under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Cloudera, Inc. licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this f...
HUE-8856 [autocomplete] Have parser generator identify autocomplete and syntax definitions dynamically
tools/jison/generateParsers.js
HUE-8856 [autocomplete] Have parser generator identify autocomplete and syntax definitions dynamically
<ide><path>ools/jison/generateParsers.js <ide> const JISON_FOLDER = 'desktop/core/src/desktop/js/parse/jison/'; <ide> const TARGET_FOLDER = 'desktop/core/src/desktop/js/parse/'; <ide> <del>const PARSERS = { <add>const parserDefinitions = { <ide> globalSearchParser: { <ide> sources: ['globalSearchParser.jison'], ...
Java
mit
a5c455dc86abedbf8c428eff17ed41826a0ef21d
0
sumit784/java-cookie,js-cookie/java-cookie,sumit784/java-cookie
package org.jscookie.test.integration.encoding; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.nio.charset.StandardCharsets; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; impor...
src/test/java/org/jscookie/test/integration/encoding/EncodingServlet.java
package org.jscookie.test.integration.encoding; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.jscookie.Cookie...
Fix the retrieval of UTF-8 characters from the server With this all encoding tests pass for js-cookie, ;D
src/test/java/org/jscookie/test/integration/encoding/EncodingServlet.java
Fix the retrieval of UTF-8 characters from the server
<ide><path>rc/test/java/org/jscookie/test/integration/encoding/EncodingServlet.java <ide> package org.jscookie.test.integration.encoding; <ide> <ide> import java.io.IOException; <add>import java.io.UnsupportedEncodingException; <add>import java.net.URLDecoder; <add>import java.nio.charset.StandardCharsets; <ide> <ide...
Java
apache-2.0
5d2d969d520477f0a0e71bbc527de2f8f69879b2
0
apache/jena,apache/jena,apache/jena,apache/jena,apache/jena,apache/jena,apache/jena,apache/jena
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
jena-core/src/main/java/org/apache/jena/vocabulary/ACL.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
add final to Resources.
jena-core/src/main/java/org/apache/jena/vocabulary/ACL.java
add final to Resources.
<ide><path>ena-core/src/main/java/org/apache/jena/vocabulary/ACL.java <ide> */ private static final Model m = ModelFactory.createDefaultModel(); <ide> public static final String NS = "http://www.w3.org/ns/auth/acl#"; <ide> <del> public static Resource APPEND = m.createResource(NS+"Append"); <del> public s...
Java
apache-2.0
30f9aa3452036923f9368e88f27a63f40819ebdf
0
geisterfurz007/JavaBot,Unihedro/JavaBot,Vogel612/JavaBot
package com.gmail.inverseconduit.bot; import java.io.IOException; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import java.util.logging.Level; import java.util.logging.Logger; import java.util.regex.Matcher; import java.util.regex.Pa...
src/main/java/com/gmail/inverseconduit/bot/Program.java
package com.gmail.inverseconduit.bot; import java.io.IOException; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import java.util.logging.Logger; import java.util.regex.Matcher; import java.util.regex.Pattern; import com.gmail.inverse...
Corrected the throwable catching to a more sane approach concerning errors and RuntimeExceptions
src/main/java/com/gmail/inverseconduit/bot/Program.java
Corrected the throwable catching to a more sane approach concerning errors and RuntimeExceptions
<ide><path>rc/main/java/com/gmail/inverseconduit/bot/Program.java <ide> import java.util.concurrent.Executors; <ide> import java.util.concurrent.ScheduledExecutorService; <ide> import java.util.concurrent.TimeUnit; <add>import java.util.logging.Level; <ide> import java.util.logging.Logger; <ide> import java.util.regex....
Java
bsd-3-clause
d875d2a0f19b9ec3f078df7dbd8c30260437965c
0
vivo-project/VIVO,vivo-project/VIVO,vivo-project/VIVO,vivo-project/VIVO
/* $This file is distributed under the terms of the license in /doc/license.txt$ */ package edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; imp...
src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/configuration/generators/AddAssociatedConceptGenerator.java
/* Copyright (c) 2012, Cornell University 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 conditio...
updating generator for inclusion of external/user-defined concepts to prevent errors when clicking on edit link for concept from profile page - ensuring license line is correct
src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/configuration/generators/AddAssociatedConceptGenerator.java
updating generator for inclusion of external/user-defined concepts to prevent errors when clicking on edit link for concept from profile page - ensuring license line is correct
<ide><path>rc/edu/cornell/mannlib/vitro/webapp/edit/n3editing/configuration/generators/AddAssociatedConceptGenerator.java <del>/* <del>Copyright (c) 2012, Cornell University <del>All rights reserved. <del> <del>Redistribution and use in source and binary forms, with or without <del>modification, are permitted provided ...
Java
epl-1.0
0c7e07c2c5619459ea01991c36a6cf4b2f2df8cb
0
codenvy/codenvy,R-Brain/codenvy,R-Brain/codenvy,codenvy/codenvy,R-Brain/codenvy,codenvy/codenvy,codenvy/codenvy,R-Brain/codenvy,codenvy/codenvy,R-Brain/codenvy,codenvy/codenvy,R-Brain/codenvy
/* * CODENVY CONFIDENTIAL * __________________ * * [2012] - [2014] Codenvy, S.A. * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Codenvy S.A. and its suppliers, * if any. The intellectual and technical concepts contained * herein are proprietary to ...
codenvy-hosted-subscription/src/main/java/com/codenvy/subscription/service/SaasSubscriptionService.java
/* * CODENVY CONFIDENTIAL * __________________ * * [2012] - [2014] Codenvy, S.A. * All Rights Reserved. * * NOTICE: All information contained herein is, and remains * the property of Codenvy S.A. and its suppliers, * if any. The intellectual and technical concepts contained * herein are proprietary to ...
Removed usage of MemoryUtils
codenvy-hosted-subscription/src/main/java/com/codenvy/subscription/service/SaasSubscriptionService.java
Removed usage of MemoryUtils
<ide><path>odenvy-hosted-subscription/src/main/java/com/codenvy/subscription/service/SaasSubscriptionService.java <ide> import java.util.List; <ide> import java.util.Map; <ide> <del>import static com.codenvy.commons.lang.MemoryUtils.convert; <add>import static com.codenvy.commons.lang.Size.parseSizeToMegabytes; <ide> ...
Java
apache-2.0
421e360df48a9bb216b10d1bfeab1b88c441fce4
0
lime-company/lime-security-powerauth-webauth,lime-company/powerauth-webflow,lime-company/powerauth-webflow,lime-company/lime-security-powerauth-webauth,lime-company/lime-security-powerauth-webauth,lime-company/powerauth-webflow
/* * Copyright 2019 Wultra s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
powerauth-tpp-engine/src/main/java/io/getlime/security/powerauth/app/tppengine/service/TppService.java
/* * Copyright 2019 Wultra s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
Isolate sanitization code, normalize storage
powerauth-tpp-engine/src/main/java/io/getlime/security/powerauth/app/tppengine/service/TppService.java
Isolate sanitization code, normalize storage
<ide><path>owerauth-tpp-engine/src/main/java/io/getlime/security/powerauth/app/tppengine/service/TppService.java <ide> tppAppDetailEntity.setPrimaryKey(tppAppDetailKey); <ide> <ide> // Sanitize redirect URIs by Base64 decoding them <del> final String[] redirectUris = request.getRedirectUris(); <...
Java
apache-2.0
ad5364f4fd8fdfa69e05fad071ea6bb21d583799
0
signed/intellij-community,salguarnieri/intellij-community,akosyakov/intellij-community,jagguli/intellij-community,semonte/intellij-community,kool79/intellij-community,holmes/intellij-community,kool79/intellij-community,diorcety/intellij-community,pwoodworth/intellij-community,MichaelNedzelsky/intellij-community,ryano14...
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
java/compiler/impl/src/com/intellij/compiler/impl/TranslatingCompilerFilesMonitor.java
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
do not send empty notifications
java/compiler/impl/src/com/intellij/compiler/impl/TranslatingCompilerFilesMonitor.java
do not send empty notifications
<ide><path>ava/compiler/impl/src/com/intellij/compiler/impl/TranslatingCompilerFilesMonitor.java <ide> else { <ide> toMark = Collections.singleton(root); <ide> } <del> if (!toMark.isEmpty()) { <del> notifyFilesDeleted(toMark); <del> } <add> notifyFil...
Java
agpl-3.0
3372a3e91f0687d99c7e98c0c065e607d2ac737c
0
JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio,JanMarvin/rstudio
/* * HelpPane.java * * Copyright (C) 2009-20 by RStudio, PBC * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. Thi...
src/gwt/src/org/rstudio/studio/client/workbench/views/help/HelpPane.java
/* * HelpPane.java * * Copyright (C) 2009-20 by RStudio, PBC * * Unless you have received this program directly from RStudio pursuant * to the terms of a commercial license agreement with RStudio, then * this program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. Thi...
allow Tab key to move focus normally in Help pane secondary toolbar - Fixes #6091
src/gwt/src/org/rstudio/studio/client/workbench/views/help/HelpPane.java
allow Tab key to move focus normally in Help pane secondary toolbar
<ide><path>rc/gwt/src/org/rstudio/studio/client/workbench/views/help/HelpPane.java <ide> WindowEx contentWindow = getContentWindow(); <ide> if (contentWindow != null) <ide> { <del> // escape or tab means exit find mode and put focus <add> /...
Java
apache-2.0
6f22aded4fbfcc163d8e2b7d54a13606f9470159
0
abel-von/commons,atollena/commons,abel-von/commons,Yasumoto/commons,jsirois/commons,ericzundel/commons,nkhuyu/commons,jsirois/commons,nkhuyu/commons,ericzundel/commons,WCCCEDU/twitter-commons,nkhuyu/commons,nkhuyu/commons,abel-von/commons,cevaris/commons,brutkin/commons,pombredanne/commons,pombredanne/commons,jsirois/c...
// ================================================================================================= // Copyright 2011 Twitter, Inc. // ------------------------------------------------------------------------------------------------- // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use ...
src/java/com/twitter/common/zookeeper/CandidateImpl.java
// ================================================================================================= // Copyright 2011 Twitter, Inc. // ------------------------------------------------------------------------------------------------- // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use ...
Adding constructor for custom data supplier.
src/java/com/twitter/common/zookeeper/CandidateImpl.java
Adding constructor for custom data supplier.
<ide><path>rc/java/com/twitter/common/zookeeper/CandidateImpl.java <ide> */ <ide> public CandidateImpl(Group group) { <ide> this(group, MOST_RECENT_JUDGE, IP_ADDRESS_DATA_SUPPLIER); <add> } <add> <add> /** <add> * Creates a candidate that can be used to offer leadership for the given {@code group} using a ...
Java
mit
572ad9e02ab5f45d325c7053e921d27b82a4e5f3
0
enanomapper/slimmer
package com.github.enanomapper; import java.io.ByteArrayOutputStream; import java.io.InputStream; import java.io.StringReader; import java.util.Iterator; import java.util.Set; import org.junit.Assert; import org.junit.Test; import org.semanticweb.owlapi.model.IRI; import org.semanticweb.owlapi.model.OWLClass; import ...
src/test/java/com/github/enanomapper/SlimmerTest.java
package com.github.enanomapper; import java.io.ByteArrayOutputStream; import java.io.InputStream; import java.io.StringReader; import java.util.Iterator; import java.util.Set; import org.junit.Assert; import org.junit.Test; import org.semanticweb.owlapi.model.IRI; import org.semanticweb.owlapi.model.OWLClass; import ...
Testing the combination of 'select down' with a new super class
src/test/java/com/github/enanomapper/SlimmerTest.java
Testing the combination of 'select down' with a new super class
<ide><path>rc/test/java/com/github/enanomapper/SlimmerTest.java <ide> } <ide> <ide> @Test <add> public void testParsingWithNewSuperClass() throws Exception { <add> String test = "+D(http://www.ifomis.org/bfo/1.1/snap#Entity):http://www.ifomis.org/bfo/1.1/snap#Object"; <add> Configuration conf = new Configuration()...
JavaScript
mit
9e8e0d9d039746ee72fc8baf0848615f0058a8f3
0
atlefren/sosi.js,kartverket/sosi.js,atlefren/sosi.js
var SOSI = window.SOSI || {}; /** * This is adopted from backbone.js which * is available for use under the MIT software license. * see http://github.com/jashkenas/backbone/blob/master/LICENSE */ (function (ns, undefined) { "use strict"; ns.Base = function() { this.initialize.apply(this, arguments...
src/class_system.js
var SOSI = window.SOSI || {}; (function (ns, undefined) { "use strict"; ns.Base = function() { this.initialize.apply(this, arguments); }; _.extend(ns.Base.prototype, { initialize: function () {} }); var extend = function(protoProps, staticProps) { var parent = this; ...
credit to backbone
src/class_system.js
credit to backbone
<ide><path>rc/class_system.js <ide> var SOSI = window.SOSI || {}; <ide> <add>/** <add> * This is adopted from backbone.js which <add> * is available for use under the MIT software license. <add> * see http://github.com/jashkenas/backbone/blob/master/LICENSE <add> */ <ide> (function (ns, undefined) { <ide> "use str...
Java
apache-2.0
cf5758169a6b4ac6903f2d945d6ed158f517d4c7
0
MobileTribe/pandroid,MobileTribe/pandroid,MobileTribe/pandroid
package com.leroymerlin.pandroid.net; import android.content.Context; import android.os.Handler; import android.os.Looper; import android.support.annotation.Nullable; import com.leroymerlin.pandroid.app.PandroidConfig; import com.leroymerlin.pandroid.future.ActionDelegate; import com.leroymerlin.pandroid.future.Cance...
pandroid-library/src/main/java/com/leroymerlin/pandroid/net/PandroidCallAdapterFactory.java
package com.leroymerlin.pandroid.net; import android.content.Context; import android.os.Handler; import android.os.Looper; import android.support.annotation.Nullable; import com.leroymerlin.pandroid.app.PandroidConfig; import com.leroymerlin.pandroid.future.ActionDelegate; import com.leroymerlin.pandroid.future.Cance...
refactor (PandroidCall) : refactor exception in onFailure
pandroid-library/src/main/java/com/leroymerlin/pandroid/net/PandroidCallAdapterFactory.java
refactor (PandroidCall) : refactor exception in onFailure
<ide><path>android-library/src/main/java/com/leroymerlin/pandroid/net/PandroidCallAdapterFactory.java <ide> <ide> @Override <ide> public void onFailure(Call<R> call, final Throwable t) { <del> <del> onError(new Exception(t)); <add> ...
JavaScript
mit
c49a563d1748f7363414414c031d9b556b9e1c22
0
callsea1/browser-video-call_nodejs
// silly chrome wants SSL to do screensharing var fs = require('fs'), express = require('express'), https = require('https'), http = require('http'), pg = require('pg'); var privateKey = fs.readFileSync('fakekeys/privatekey.pem').toString(), certificate = fs.readFileSync('fakekeys/certificate.pem')...
server.js
// silly chrome wants SSL to do screensharing var fs = require('fs'), express = require('express'), https = require('https'), http = require('http'), pg = require('pg'); var privateKey = fs.readFileSync('fakekeys/privatekey.pem').toString(), certificate = fs.readFileSync('fakekeys/certificate.pem')...
Fixed redirect location.
server.js
Fixed redirect location.
<ide><path>erver.js <ide> app.set("view engine", "html"); <ide> <ide> app.get("/", function(request, response) { <add> // The landing page JS will take care of clearing cookies. <ide> response.render('landing', { title: 'ejs' }); <ide> }); <ide> <ide> // Room requested, already two participants <ide> ...
JavaScript
mit
db9188f0614018f27ef316a136413cdb71087ec1
0
swachob/Project-Site,swachob/Project-Site
var $ = require('jquery'); // legacy loading for bootstrap window.jQuery = window.$ = $; require('bootstrap'); import _ from 'underscore'; import Backbone from 'backbone'; import Handlebars from 'handlebars'; import lscache from 'lscache'; import rawTemplate from 'templates/todoItem.html'; // Backbone Todo App var...
client/pages/todo-backbone.js
var $ = require('jquery'); // legacy loading for bootstrap window.jQuery = window.$ = $; require('bootstrap'); import _ from 'underscore'; import Backbone from 'backbone'; import Handlebars from 'handlebars'; import lscache from 'lscache'; import rawTemplate from 'templates/todoItem.html'; // Backbone Todo App var...
adding structure
client/pages/todo-backbone.js
adding structure
<ide><path>lient/pages/todo-backbone.js <ide> <ide> TodoModel = Backbone.Model.extend({ <ide> defaults: { <add> todos: [] <add> }, <add> todoSchema: { <add> id: 0, <add> title: "", <add> completed: false <ide> }, <ide> fetch: function(){ <del> // gets the data <add> var data = lscache.get('to...
JavaScript
mit
01b23aac3b14dab330942ce3f3c0fbb8bf41d2b4
0
baracudaengine/SailsUi,harrissoerja/sails,saronwei/sails,Josebaseba/sails,vip-git/sails,tjwebb/sails,togusafish/logikinc-_-sails,prssn/sails,pmq20/sails,jsisaev1/sails,tempbottle/sails,winlolo/sails,listepo/sails,leobudima/sails,vip-git/sails,metidia/sails,anweiss/sails,Karnith/sails-for-gulp,balderdashy/sails,ctartist...
module.exports = function (sails) { /** * Module dependencies. */ var _ = require('lodash'), express = require('express'); /** * Set up default global configuration for Sails */ return function defaultConfig (userConfig) { // If appPath not specified, use process.cwd() to get the app dir userCo...
lib/configuration/defaults.js
module.exports = function (sails) { /** * Module dependencies. */ var _ = require('lodash'), express = require('express'); /** * Set up default global configuration for Sails */ return function defaultConfig (userConfig) { // If appPath not specified, use process.cwd() to get the app dir userCo...
Add pluralize (and jsonp) global blueprint config defaults
lib/configuration/defaults.js
Add pluralize (and jsonp) global blueprint config defaults
<ide><path>ib/configuration/defaults.js <ide> <ide> // If a blueprint REST route catches a request, <ide> // only match an `id` if it's an integer <del> expectIntegerId: false <add> expectIntegerId: false, <add> <add> // Enable JSONP callbacks on REST blueprints <add> jsonp: false, <add> <ad...
Java
apache-2.0
0fe4bcc4c77c4aab32f509268d6caed8b01fafb4
0
commons-app/apps-android-commons,nicolas-raoul/apps-android-commons,sandarumk/apps-android-commons,psh/apps-android-commons,commons-app/apps-android-commons,psh/apps-android-commons,maskaravivek/apps-android-commons,dbrant/apps-android-commons,domdomegg/apps-android-commons,maskaravivek/apps-android-commons,misaochan/a...
package fr.free.nrw.commons.caching; import android.util.Log; import com.github.varunpant.quadtree.Point; import com.github.varunpant.quadtree.QuadTree; import java.util.ArrayList; import java.util.List; import fr.free.nrw.commons.upload.MwVolleyApi; public class CacheController { private double x, y; pri...
commons/src/main/java/fr/free/nrw/commons/caching/CacheController.java
package fr.free.nrw.commons.caching; import android.util.Log; import com.github.varunpant.quadtree.Point; import com.github.varunpant.quadtree.QuadTree; import java.util.ArrayList; import java.util.List; import fr.free.nrw.commons.upload.MwVolleyApi; public class CacheController { private double x, y; pri...
Added algorithm link for searchWithin()
commons/src/main/java/fr/free/nrw/commons/caching/CacheController.java
Added algorithm link for searchWithin()
<ide><path>ommons/src/main/java/fr/free/nrw/commons/caching/CacheController.java <ide> return displayCatList; <ide> } <ide> <add> //Based on algorithm at http://gis.stackexchange.com/questions/2951/algorithm-for-offsetting-a-latitude-longitude-by-some-amount-of-meters <ide> public void convertCoordR...
Java
apache-2.0
7cb4c3c6d5a3ea6789b756aff6615392bca6b28e
0
natabeck/cloud-slang,CloudSlang/cloud-slang,CloudSlang/cloud-slang,CloudSlang/cloud-slang,narry/cloud-slang,shajyhia/score-language,narry/cloud-slang,jrosadohp/cloud-slang,shajyhia/score-language,CloudSlang/cloud-slang,jrosadohp/cloud-slang,natabeck/cloud-slang
/******************************************************************************* * (c) Copyright 2014 Hewlett-Packard Development Company, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * The Ap...
score-lang-compiler/src/test/java/org/openscore/lang/compiler/scorecompiler/ExecutionStepFactoryTest.java
/******************************************************************************* * (c) Copyright 2014 Hewlett-Packard Development Company, L.P. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License v2.0 which accompany this distribution. * * The Ap...
update test Signed-off-by: Bonczidai Levente <b67e84b40d3b81c04742dff60ed6ffa84c7a0258@hp.com>
score-lang-compiler/src/test/java/org/openscore/lang/compiler/scorecompiler/ExecutionStepFactoryTest.java
update test
<ide><path>core-lang-compiler/src/test/java/org/openscore/lang/compiler/scorecompiler/ExecutionStepFactoryTest.java <ide> ForLoopStatement statement = new ForLoopStatement("1", "2"); <ide> HashMap<String, Serializable> preTaskData = new HashMap<>(); <ide> preTaskData.put(SlangTextualKeys.FOR_KEY...