lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
mit
error: pathspec 'java/src/org/broadinstitute/sting/gatk/refdata/rodRefSeq.java' did not match any file(s) known to git
bf7cd66d53fa43c10e9c0751cefeec494471258f
1
iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller...
package org.broadinstitute.sting.gatk.refdata; import org.broadinstitute.sting.utils.GenomeLoc; import org.broadinstitute.sting.utils.StingException; import org.broadinstitute.sting.utils.GenomeLocParser; import java.util.List; import java.util.ArrayList; /** * Created by IntelliJ IDEA. * User: asivache...
java/src/org/broadinstitute/sting/gatk/refdata/rodRefSeq.java
New, simpler rodRefSeq. Fully relies on the ROD system standard mechanisms. Multiple transcripts over a given location will be now returned by the ROD system itself as RodRecordList<rodRefSeq>; and yes, rodRefSeq does represent a single transcript record now and implements Transcript interface git-svn-id: 4561c0a8f080...
java/src/org/broadinstitute/sting/gatk/refdata/rodRefSeq.java
New, simpler rodRefSeq. Fully relies on the ROD system standard mechanisms. Multiple transcripts over a given location will be now returned by the ROD system itself as RodRecordList<rodRefSeq>; and yes, rodRefSeq does represent a single transcript record now and implements Transcript interface
<ide><path>ava/src/org/broadinstitute/sting/gatk/refdata/rodRefSeq.java <add>package org.broadinstitute.sting.gatk.refdata; <add> <add>import org.broadinstitute.sting.utils.GenomeLoc; <add>import org.broadinstitute.sting.utils.StingException; <add>import org.broadinstitute.sting.utils.GenomeLocParser; <add> <add>import...
Java
apache-2.0
cd78cb680a07fe129dbf2a6ea676c79a22b268e4
0
michael-rapp/AndroidAdapters
/* * AndroidAdapters Copyright 2014 Michael Rapp * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * *...
src/de/mrapp/android/adapter/ExpandableListDecorator.java
/* * AndroidAdapters Copyright 2014 Michael Rapp * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * *...
Edited wrong generic type arguments.
src/de/mrapp/android/adapter/ExpandableListDecorator.java
Edited wrong generic type arguments.
<ide><path>rc/de/mrapp/android/adapter/ExpandableListDecorator.java <ide> * adapter's child items, false otherwise <ide> */ <ide> public final void applyDecoratorOnChild(final Context context, <del> final ExpandableListAdapter<ChildType, ChildType> adapter, <add> final ExpandableListAdapter<GroupTyp...
Java
apache-2.0
19d9cfd07bd17b9fdb44fe14e5d58845bf9e3055
0
gweidner/systemml,deroneriksson/systemml,sandeep-n/incubator-systemml,asurve/systemml,dusenberrymw/incubator-systemml,asurve/systemml,nakul02/incubator-systemml,iyounus/incubator-systemml,niketanpansare/incubator-systemml,dhutchis/systemml,deroneriksson/systemml,deroneriksson/systemml,dusenberrymw/incubator-systemml,We...
/**  * IBM Confidential  * OCO Source Materials  * (C) Copyright IBM Corp. 2010, 2014  * The source code for this program is not published or otherwise divested of its trade secrets, irrespective of what has been deposited with the U.S. Copyright Office.  */ package com.ibm.bi.dml.lops; import com.ibm.bi.dml.lops.Lop...
SystemML/SystemML/DML/src/main/java/com/ibm/bi/dml/lops/Unary.java
/**  * IBM Confidential  * OCO Source Materials  * (C) Copyright IBM Corp. 2010, 2014  * The source code for this program is not published or otherwise divested of its trade secrets, irrespective of what has been deposited with the U.S. Copyright Office.  */ package com.ibm.bi.dml.lops; import com.ibm.bi.dml.lops.Lop...
61184: SystemML Engine Enhancements - Fix unary lop w/o scalar piggybacking mr job compatibility (disable sort, cm_cov, combine)
SystemML/SystemML/DML/src/main/java/com/ibm/bi/dml/lops/Unary.java
61184: SystemML Engine Enhancements - Fix unary lop w/o scalar piggybacking mr job compatibility (disable sort, cm_cov, combine)
<ide><path>ystemML/SystemML/DML/src/main/java/com/ibm/bi/dml/lops/Unary.java <ide> */ <ide> lps.addCompatibility(JobType.ANY); <ide> lps.removeCompatibility(JobType.PARTITION); <add> lps.removeCompatibility(JobType.SORT); <add> lps.removeCompatibility(JobType.CM_COV); <add> lps.removeCompatibility(JobTy...
Java
apache-2.0
570924b4b72599c6804aa118d1639ce97c0265ba
0
open-telemetry/opentelemetry-java,open-telemetry/opentelemetry-java,open-telemetry/opentelemetry-java
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.sdk.testing.junit4; import io.opentelemetry.api.OpenTelemetry; import io.opentelemetry.api.trace.propagation.HttpTraceContext; import io.opentelemetry.context.propagation.DefaultContextPropagators; import io....
sdk/testing/src/main/java/io/opentelemetry/sdk/testing/junit4/OpenTelemetryRule.java
/* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.sdk.testing.junit4; import io.opentelemetry.api.OpenTelemetry; import io.opentelemetry.api.trace.propagation.HttpTraceContext; import io.opentelemetry.context.propagation.DefaultContextPropagators; import io....
Fix post-merge conflict in OpenTelemetryRule. (#2014)
sdk/testing/src/main/java/io/opentelemetry/sdk/testing/junit4/OpenTelemetryRule.java
Fix post-merge conflict in OpenTelemetryRule. (#2014)
<ide><path>dk/testing/src/main/java/io/opentelemetry/sdk/testing/junit4/OpenTelemetryRule.java <ide> import io.opentelemetry.api.OpenTelemetry; <ide> import io.opentelemetry.api.trace.propagation.HttpTraceContext; <ide> import io.opentelemetry.context.propagation.DefaultContextPropagators; <del>import io.opentelemetry....
Java
bsd-3-clause
error: pathspec 'src/main/java/jfoley/vocabpress/CollectVocabulary.java' did not match any file(s) known to git
78274bad10444d020354a4b9213708ca7d767d4d
1
jjfiv/waltz
package jfoley.vocabpress; import ciir.jfoley.chai.io.IO; import ciir.jfoley.chai.io.LinesIterable; import org.lemurproject.galago.utility.CmpUtil; import org.lemurproject.galago.utility.Parameters; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.PrintWriter; impo...
src/main/java/jfoley/vocabpress/CollectVocabulary.java
Collect Vocabulary tf and df for each element.
src/main/java/jfoley/vocabpress/CollectVocabulary.java
Collect Vocabulary tf and df for each element.
<ide><path>rc/main/java/jfoley/vocabpress/CollectVocabulary.java <add>package jfoley.vocabpress; <add> <add>import ciir.jfoley.chai.io.IO; <add>import ciir.jfoley.chai.io.LinesIterable; <add>import org.lemurproject.galago.utility.CmpUtil; <add>import org.lemurproject.galago.utility.Parameters; <add> <add>import java.io...
JavaScript
bsd-2-clause
03782c0d03d0fe4f270d714b232d023862d4c6f9
0
avr-aics-riken/hpcpfGUI,avr-aics-riken/hpcpfGUI,avr-aics-riken/hpcpfGUI,digirea/hpcpfGUI,digirea/hpcpfGUI,digirea/hpcpfGUI
/*jslint devel:true, node:true, nomen:true */ /*global RemoteFTP */ // depends: editor.js (function (editor) { "use strict"; var str_textclass = 'nodePropertyText'; function makePasswordInput(socket, node) { var row = document.createElement('div'), name = null, type = node.type, testbtn, clickfunc, ...
app/js/password_input.js
/*jslint devel:true, node:true, nomen:true */ /*global RemoteFTP */ // depends: editor.js (function (editor) { "use strict"; var str_textclass = 'nodePropertyText'; function makePasswordInput(socket, node) { var row = document.createElement('div'), name = null, type = node.type, testbtn, clickfunc, ...
fix password_input
app/js/password_input.js
fix password_input
<ide><path>pp/js/password_input.js <ide> }; <ide> }(this, type))); <ide> <del> if (node.password) { <add> if (node.hasOwnProperty('sshkey')) { <add> testConnect.ConnectTest(node.passphrase, null); <add> } else { <ide> testConnect.ConnectTest(null, node.password); <del> } else { <del> ...
JavaScript
apache-2.0
fe99e0e85c620fedbea95b935fe6180fb199cbaf
0
ldimaggi/fabric8-test,ldimaggi/fabric8-test,ldimaggi/fabric8-test,ldimaggi/fabric8-test,ldimaggi/fabric8-test,ldimaggi/fabric8-test
var HtmlScreenshotReporter = require('protractor-jasmine2-screenshot-reporter'); var reporter = new HtmlScreenshotReporter({ dest: 'target/screenshots', filename: 'my-report.html', reportOnlyFailedSpecs: false, captureOnlyFailedSpecs: false, inlineImages: true }); exports.config = { useAllAngular2AppRoo...
ee_tests/protractorEE.config.js
var HtmlScreenshotReporter = require('protractor-jasmine2-screenshot-reporter'); var reporter = new HtmlScreenshotReporter({ dest: 'target/screenshots', filename: 'my-report.html', reportOnlyFailedSpecs: false, captureOnlyFailedSpecs: false, inlineImages: true }); exports.config = { useAllAngular2AppRoo...
fix(test): trigger a build
ee_tests/protractorEE.config.js
fix(test): trigger a build
<ide><path>e_tests/protractorEE.config.js <ide> } <ide> <ide> }; <add> <add>
JavaScript
mit
2afe4a75feb7f54e8127f6667188c57784af5825
0
olymp/olymp
import React, { Component } from 'react'; import { Raw, Plain, resetKeyGenerator } from 'slate'; import { batch } from '../utils/batch'; import { getHeaders } from '../utils/get-text'; const parseValue = (v, initialState, terse) => { resetKeyGenerator(); if (!v) return Plain.deserialize(''); const value = JSON.p...
src/slate/editor-decorators/state.js
import React, { Component } from 'react'; import { Raw, Plain, resetKeyGenerator } from 'slate'; import { batch } from '../utils/batch'; import { getHeaders } from '../utils/get-text'; const parseValue = (v, initialState, terse) => { resetKeyGenerator(); if (!v) return Plain.deserialize(''); const value = JSON.p...
formatting #2
src/slate/editor-decorators/state.js
formatting #2
<ide><path>rc/slate/editor-decorators/state.js <ide> if (!v) return Plain.deserialize(''); <ide> const value = JSON.parse(JSON.stringify(v)); <ide> try { return Raw.deserialize(value, { terse }); } <del> catch(err1) { <add> catch (err1) { <ide> try { return Raw.deserialize(value, { terse: !terse }); } <del>...
Java
lgpl-2.1
4fd36e8abbe7009776017a7cb3a3c2e51b535cfb
0
beast-dev/beast-mcmc,maxbiostat/beast-mcmc,4ment/beast-mcmc,beast-dev/beast-mcmc,4ment/beast-mcmc,maxbiostat/beast-mcmc,adamallo/beast-mcmc,beast-dev/beast-mcmc,adamallo/beast-mcmc,maxbiostat/beast-mcmc,adamallo/beast-mcmc,adamallo/beast-mcmc,4ment/beast-mcmc,adamallo/beast-mcmc,4ment/beast-mcmc,maxbiostat/beast-mcmc,m...
/* * SitePatternsParser.java * * Copyright (c) 2002-2015 Alexei Drummond, Andrew Rambaut and Marc Suchard * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can redistribute i...
src/dr/evoxml/SitePatternsParser.java
/* * SitePatternsParser.java * * Copyright (c) 2002-2015 Alexei Drummond, Andrew Rambaut and Marc Suchard * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can redistribute i...
more informative error messages
src/dr/evoxml/SitePatternsParser.java
more informative error messages
<ide><path>rc/dr/evoxml/SitePatternsParser.java <ide> } <ide> } <ide> <del> if (from > alignment.getSiteCount()) <del> throw new XMLParseException("illegal 'from' attribute in patterns element"); <add> if (from > alignment.getSiteCount()) { <add> throw new XMLPar...
Java
mit
5c66d73d5dd1e07ff11fc0919e2d435a104b3ecd
0
Microsoft/mssql-jdbc
/* * Microsoft JDBC Driver for SQL Server Copyright(c) Microsoft Corporation All rights reserved. This program is made * available under the terms of the MIT License. See the LICENSE file in the project root for more information. */ package com.microsoft.sqlserver.jdbc.bulkCopy; import static org.junit.jupite...
src/test/java/com/microsoft/sqlserver/jdbc/bulkCopy/BulkCopyISQLServerBulkRecordTest.java
/* * Microsoft JDBC Driver for SQL Server Copyright(c) Microsoft Corporation All rights reserved. This program is made * available under the terms of the MIT License. See the LICENSE file in the project root for more information. */ package com.microsoft.sqlserver.jdbc.bulkCopy; import static org.junit.jupite...
Added more test cases
src/test/java/com/microsoft/sqlserver/jdbc/bulkCopy/BulkCopyISQLServerBulkRecordTest.java
Added more test cases
<ide><path>rc/test/java/com/microsoft/sqlserver/jdbc/bulkCopy/BulkCopyISQLServerBulkRecordTest.java <ide> bulkCopy.setDestinationTableName(dstTable); <ide> LocalDateTime data = LocalDateTime.of(LocalDate.now(),LocalTime.of(Constants.RANDOM.nextInt(24), Constants.RANDOM.nextInt(60), <ide>...
JavaScript
mit
52381f94940f8ae2c975f9c179a1c5a2fc575206
0
leungwensen/deptree,depv/depv,leungwensen/deptree,depv/depv
/* jshint strict: true, undef: true, unused: true */ /* global define */ define([ '../../component/fmt/sprintf', 'pastry', 'jquery' ], function ( sprintf, pastry, $ ) { 'use strict'; function run (instance) { var id, result = [], $namespaces = $('#namesp...
js/depTree/namespace.js
/* jshint strict: true, undef: true, unused: true */ /* global define */ define([ '../../component/fmt/sprintf', 'pastry', 'jquery' ], function ( sprintf, pastry, $ ) { 'use strict'; function run (instance) { var id, result = [], $namespaces = $('#namesp...
整理模块分类的时候忽略大小写
js/depTree/namespace.js
整理模块分类的时候忽略大小写
<ide><path>s/depTree/namespace.js <ide> id = node.id; <ide> <ide> if (pastry.isString(id)) { <del> var ns = id.split(seperator)[0]; <add> var ns = pastry.lc(id.split(seperator)[0]); <ide> if (!node.type) { <ide> node.type = ns; <...
Java
mit
370ebdc5dc33e9bee3c77ad109f9ee6df11ee336
0
GluuFederation/oxCore
/* * oxCore is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2016, Gluu */ package org.gluu.saml.metadata; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.StringBufferInpu...
oxSaml/src/main/java/org/gluu/saml/metadata/SAMLMetadataParser.java
/* * oxCore is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2016, Gluu */ package org.gluu.saml.metadata; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.StringBufferInputStream; import java....
feat: add method for saml api
oxSaml/src/main/java/org/gluu/saml/metadata/SAMLMetadataParser.java
feat: add method for saml api
<ide><path>xSaml/src/main/java/org/gluu/saml/metadata/SAMLMetadataParser.java <ide> */ <ide> package org.gluu.saml.metadata; <ide> <add>import java.io.File; <ide> import java.io.IOException; <ide> import java.io.InputStream; <ide> import java.io.InputStreamReader; <ide> import javax.xml.parsers.SAXParser; <ide> impor...
Java
lgpl-2.1
b84087405844fd4205c85a8a5908977022c3c7b6
0
ekiwi/jade-mirror,ekiwi/jade-mirror,ekiwi/jade-mirror,ekiwi/jade-mirror
/***************************************************************** JADE - Java Agent DEvelopment Framework is a framework to develop multi-agent systems in compliance with the FIPA specifications. Copyright (C) 2000 CSELT S.p.A. GNU Lesser General Public License This library is free software; you can redistribute i...
src/jade/core/replication/AddressNotificationService.java
/***************************************************************** JADE - Java Agent DEvelopment Framework is a framework to develop multi-agent systems in compliance with the FIPA specifications. Copyright (C) 2000 CSELT S.p.A. GNU Lesser General Public License This library is free software; you can redistribute i...
Written the boot() method to retrieve the Service Manager address list on service startup. Added the getServiceManagerAddresses() method.
src/jade/core/replication/AddressNotificationService.java
Written the boot() method to retrieve the Service Manager address list on service startup. Added the getServiceManagerAddresses() method.
<ide><path>rc/jade/core/replication/AddressNotificationService.java <ide> return OWNED_COMMANDS; <ide> } <ide> <add> public void boot(Profile p) throws ServiceException { <add> <add> // Retrieve the address list from the competent Service Manager... <add> AddressNotificationSlice mainSlice = (AddressNotificati...
JavaScript
mit
dbf389bba477a6c2e8aeb6a5fe0c5c6df7b73bac
0
elmahone/watchList,elmahone/watchList,elmahone/watchList
#!/bin/env node // OpenShift sample Node application var express = require('express'); var app = express(); var fs = require('fs'); var mongoClient = require('mongodb').MongoClient; /** * Define the sample application. */ var SampleApp = function () { // Scope. var self = this; /* =============...
server.js
#!/bin/env node // OpenShift sample Node application var express = require('express'); var app = express(); var fs = require('fs'); var mongoClient = require('mongodb').MongoClient; /** * Define the sample application. */ var SampleApp = function () { // Scope. var self = this; /* =============...
get recent searches
server.js
get recent searches
<ide><path>erver.js <ide> db.close(); <ide> }); <ide> }; <add> <ide> // Saves a searched title to database <ide> self.routes['/saveSearchTitle'] = function (req, res) { <ide> MongoClient.connect('mongodb://' + connection_string, function (err, db)...
Java
apache-2.0
ad0fef3ed663e0d14b353e5e53fa86c2971d8eca
0
ekux44/LampShade,ekux44/HueMore
package com.kuxhausen.huemore; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.StatusLine; import org.apache.http.client.C...
app/src/com/kuxhausen/huemore/MainActivity.java
package com.kuxhausen.huemore; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.StatusLine; import org.apache.http.client.C...
Finished fixing billing instability for now
app/src/com/kuxhausen/huemore/MainActivity.java
Finished fixing billing instability for now
<ide><path>pp/src/com/kuxhausen/huemore/MainActivity.java <ide> // Oh noes, there was a problem. <ide> Log.d("asdf", "Problem setting up In-app Billing: " + result); <ide> } <del> // Hooray, IAB is fully set up! <del> mPlayHelper.queryInventoryAsync(mGotIn...
JavaScript
mit
e156844f9862675b38409b0d236977fceaf66fd2
0
magicismight/react-native-art-svg,react-native-community/react-native-svg,react-native-community/react-native-svg,msand/react-native-svg,react-native-community/react-native-svg,msand/react-native-svg,magicismight/react-native-svg,react-native-community/react-native-svg,magicismight/react-native-art-svg,react-native-com...
import { Children } from "react"; import _ from "lodash"; import Color from "color"; import extractOpacity from "./extractOpacity"; import extractTransform from "./extractTransform"; import units from "../units"; const percentReg = /^([+\-]?\d+(?:\.\d+)?(?:[eE][+\-]?\d+)?)(%?)$/; function percentToFloat(percent) { ...
lib/extract/extractGradient.js
import { Children } from "react"; import _ from "lodash"; import Color from "color"; import extractOpacity from "./extractOpacity"; import extractTransform from "./extractTransform"; import units from "../units"; const percentReg = /^([+\-]?\d+(?:\.\d+)?(?:[eE][+\-]?\d+)?)(%?)$/; function percentToFloat(percent) { ...
Fix handling of numeric gradient offsets, closes #827
lib/extract/extractGradient.js
Fix handling of numeric gradient offsets, closes #827
<ide><path>ib/extract/extractGradient.js <ide> const percentReg = /^([+\-]?\d+(?:\.\d+)?(?:[eE][+\-]?\d+)?)(%?)$/; <ide> <ide> function percentToFloat(percent) { <del> const matched = percent.toString().match(percentReg); <add> if (typeof percent === 'number') { <add> return percent; <add> } <add> c...
JavaScript
mit
ec785c2c6400f076ea93f57a44dd1415c502b487
0
wikimedia/oojs-ui,wikimedia/oojs-ui,wikimedia/oojs-ui,wikimedia/oojs-ui
/** * Menu for a text input widget. * * This menu is specially designed to be positioned beneath the text input widget. Even if the input * is in a different frame, the menu's position is automatically calulated and maintained when the * menu is toggled or the window is resized. * * @class * @extends OO.ui.Menu...
src/widgets/TextInputMenuWidget.js
/** * Menu for a text input widget. * * This menu is specially designed to be positioned beneath the text input widget. Even if the input * is in a different frame, the menu's position is automatically calulated and maintained when the * menu is toggled or the window is resized. * * @class * @extends OO.ui.Menu...
Followup 6c862e8: position before AND after showing in TextInputMenuWidget We need to position (or at least set width) before fitting labels, but we also need to position after we become visible because otherwise our positioning information may be wrong. Bug: 67437 Change-Id: Ib67d93eafb543bff77e4bf07ec51670346ece1ac...
src/widgets/TextInputMenuWidget.js
Followup 6c862e8: position before AND after showing in TextInputMenuWidget
<ide><path>rc/widgets/TextInputMenuWidget.js <ide> <ide> var change = visible !== this.isVisible(); <ide> <add> if ( change && visible ) { <add> // Make sure the width is set before the parent method runs. <add> // After this we have to call this.position(); again to actually <add> // position ourselves correctly...
Java
lgpl-2.1
d1b65df64fb1d2ecee2c0de04e04399069cca72b
0
luminwin/beast-mcmc,danieljue/beast-mcmc,evolvedmicrobe/beast-mcmc,danieljue/beast-mcmc,evolvedmicrobe/beast-mcmc,danieljue/beast-mcmc,luminwin/beast-mcmc,luminwin/beast-mcmc,luminwin/beast-mcmc,JifengJiang/beast-mcmc,evolvedmicrobe/beast-mcmc,JifengJiang/beast-mcmc,danieljue/beast-mcmc,evolvedmicrobe/beast-mcmc,Jifeng...
/* * HKY.java * * Copyright (C) 2002-2006 Alexei Drummond and Andrew Rambaut * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can redistribute it and/or modify * it under t...
src/dr/evomodel/substmodel/HKY.java
/* * HKY.java * * Copyright (C) 2002-2006 Alexei Drummond and Andrew Rambaut * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can redistribute it and/or modify * it under t...
cleanup
src/dr/evomodel/substmodel/HKY.java
cleanup
<ide><path>rc/dr/evomodel/substmodel/HKY.java <ide> <ide> private Parameter kappaParameter = null; <ide> <del> private boolean updateIntermediates = true; <add> private boolean updateIntermediates = true; <ide> <ide> /** Used for precalculations */ <del> private double beta, A_R, A_Y; <add> ...
JavaScript
apache-2.0
074bbde705fd6812f30905fa6f05fb85349f2726
0
jlhughes/foam,foam-framework/foam,foam-framework/foam,jlhughes/foam,foam-framework/foam,jlhughes/foam,foam-framework/foam,jlhughes/foam,foam-framework/foam
/** * @license * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
js/foam/u2/md/TextField.js
/** * @license * Copyright 2015 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
U2 Autocomplete: Make sure the popups are on top, and opaque
js/foam/u2/md/TextField.js
U2 Autocomplete: Make sure the popups are on top, and opaque
<ide><path>s/foam/u2/md/TextField.js <ide> left: 8px; <ide> right: 8px; <ide> max-height: 300px; <add> opacity: 1; <ide> overflow-x: hidden; <ide> overflow-y: auto; <ide> position: absolute; <ide> top: 32px; <add> ...
Java
mit
592a01b9701d99259f6fff50e5a649509b1818a9
0
za419/Android-calculator
package com.Ryan.Calculator; public class Complex { public double real; public double imaginary; public double epsilon; // The tolerance for comparisons. Can be changed if a certain Complex is known to need a different epsilon // All instances of Complex created by a method of another will inherit the parent epsi...
app/src/main/java/com/Ryan/Calculator/Complex.java
package com.Ryan.Calculator; public class Complex { public double real; public double imaginary; public double epsilon; // The tolerance for comparisons. Can be changed if a certain Complex is known to need a different epsilon // All instances of Complex created by a method of another will inherit the parent epsi...
Add Complex logarithms In base e and 10, plus a version for arbitrary bases
app/src/main/java/com/Ryan/Calculator/Complex.java
Add Complex logarithms
<ide><path>pp/src/main/java/com/Ryan/Calculator/Complex.java <ide> { <ide> return new Complex (Math.toDegrees(Math.atan2(imaginary, real))); <ide> } <add> <add> public Complex ln() // Natural log <add> { <add> return new Complex(Math.log(magnitude().real), argument().real); <add> } <add> <add> public Complex log(C...
Java
apache-2.0
7570e255d67e764a7cd086aa4c1f358b325add8d
0
anton-johansson/ldap-password-reset-service,anton-johansson/ldap-password-reset-service
/** * Copyright (c) Anton Johansson <antoon.johansson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
src/main/java/com/antonjohansson/lprs/controller/token/TokenModule.java
/** * Copyright (c) Anton Johansson <antoon.johansson@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
Bind the token sender in singleton scope Closes #9
src/main/java/com/antonjohansson/lprs/controller/token/TokenModule.java
Bind the token sender in singleton scope Closes #9
<ide><path>rc/main/java/com/antonjohansson/lprs/controller/token/TokenModule.java <ide> package com.antonjohansson.lprs.controller.token; <ide> <ide> import com.google.inject.AbstractModule; <add>import com.google.inject.Singleton; <ide> <ide> /** <ide> * Contains IOC bindings for the token module. <ide> @Overri...
Java
apache-2.0
d7f9244d5d2244019341157821423516a2968ac2
0
GerritCodeReview/plugins_owners,GerritCodeReview/plugins_owners
// Copyright (c) 2013 VMware, Inc. All Rights Reserved. // Copyright (C) 2017 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/l...
owners-autoassign/src/main/java/com/vmware/gerrit/owners/common/GitRefListener.java
// Copyright (c) 2013 VMware, Inc. All Rights Reserved. // Copyright (C) 2017 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/l...
Fix NPE if change does not exist If for any reason a change does not exist in the database, a NPE was thrown when trying to get the list of patch sets. Change-Id: Id8eec2e3e03652a0db68b85a8191065b570a5e0e
owners-autoassign/src/main/java/com/vmware/gerrit/owners/common/GitRefListener.java
Fix NPE if change does not exist
<ide><path>wners-autoassign/src/main/java/com/vmware/gerrit/owners/common/GitRefListener.java <ide> // same local thread and thus cannot be closed in this event listener. <ide> try { <ide> Change change = reviewDb.changes().get(id); <add> if (change == null) { <add> return; <add> ...
Java
apache-2.0
5e869569f1585a5db7080a5504967971c3d070d3
0
micrometer-metrics/micrometer,micrometer-metrics/micrometer,micrometer-metrics/micrometer
/** * Copyright 2017 Pivotal Software, Inc. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicab...
implementations/micrometer-registry-new-relic/src/main/java/io/micrometer/newrelic/NewRelicMeterRegistry.java
/** * Copyright 2017 Pivotal Software, Inc. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unless required by applicab...
Reduce String object creation in NewRelicMeterRegistry
implementations/micrometer-registry-new-relic/src/main/java/io/micrometer/newrelic/NewRelicMeterRegistry.java
Reduce String object creation in NewRelicMeterRegistry
<ide><path>mplementations/micrometer-registry-new-relic/src/main/java/io/micrometer/newrelic/NewRelicMeterRegistry.java <ide> tagsJson.append(",\"").append(convention.tagKey(tag.getKey())).append("\":\"").append(convention.tagValue(tag.getValue())).append("\""); <ide> } <ide> <del> return "{...
Java
apache-2.0
017fa1b917a4486bd2858ca0fe9d5229c6772f37
0
Icenium/cordova-android,dpogue/cordova-android,MetSystem/cordova-android,chengxiaole/crosswalk-cordova-android,ecit241/cordova-android,dpogue/cordova-android,0359xiaodong/cordova-android,devgeeks/cordova-android,lybvinci/cordova-android,hgl888/cordova-android-chromeview,leixinstar/cordova-android,timkim/callback-androi...
/* * PhoneGap is available under *either* the terms of the modified BSD license *or* the * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * * Copyright (c) 2005-2010, Nitobi Software Inc. * Copyright (c) 2010-2011, IBM Corporation */ package com.phonegap; import java.util.Has...
framework/src/com/phonegap/DroidGap.java
/* * PhoneGap is available under *either* the terms of the modified BSD license *or* the * MIT License (2008). See http://opensource.org/licenses/alphabetical for full text. * * Copyright (c) 2005-2010, Nitobi Software Inc. * Copyright (c) 2010-2011, IBM Corporation */ package com.phonegap; import java.util.Has...
Use the same database based upon application context for each html page loaded as part of this app.
framework/src/com/phonegap/DroidGap.java
Use the same database based upon application context for each html page loaded as part of this app.
<ide><path>ramework/src/com/phonegap/DroidGap.java <ide> settings.setLayoutAlgorithm(LayoutAlgorithm.NORMAL); <ide> <ide> // Enable database <del> Package pack = this.getClass().getPackage(); <del> String appPackage = pack.getName(); <del> WebViewReflect.setStorage(settings, true, ...
Java
apache-2.0
1586f477145d09bc5a68efb3c7af17655ebf457e
0
AndreasAbdi/jackrabbit-oak,ieb/jackrabbit-oak,tripodsan/jackrabbit-oak,code-distillery/jackrabbit-oak,FlakyTestDetection/jackrabbit-oak,leftouterjoin/jackrabbit-oak,francescomari/jackrabbit-oak,code-distillery/jackrabbit-oak,leftouterjoin/jackrabbit-oak,alexparvulescu/jackrabbit-oak,yesil/jackrabbit-oak,AndreasAbdi/jac...
/* * 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 ...
oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/exception/ConflictingCommitException.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 ...
Minor JavaDoc update to test out commitership. git-svn-id: 67138be12999c61558c3dd34328380c8e4523e73@1414570 13f79535-47bb-0310-9956-ffa450edef68
oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/exception/ConflictingCommitException.java
Minor JavaDoc update to test out commitership.
<ide><path>ak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/impl/command/exception/ConflictingCommitException.java <ide> */ <ide> package org.apache.jackrabbit.mongomk.impl.command.exception; <ide> <add>/** <add> * Exception thrown by {@link CommitCommand} when it tries to save a commit but <add> * a conflictin...
Java
apache-2.0
e0937357b91c6f3ea9bc82c21a705ad1afa22b0a
0
ehealthafrica-ci/couchdb-lucene,ehealthafrica-ci/couchdb-lucene,eHealthAfrica/couchdb-lucene,eHealthAfrica/couchdb-lucene,rnewson/couchdb-lucene,rnewson/couchdb-lucene,rnewson/couchdb-lucene,eHealthAfrica/couchdb-lucene,ehealthafrica-ci/couchdb-lucene
package com.github.rnewson.couchdb.lucene; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.nullValue; import static org.junit.Assert.assertThat; import net.sf.json.JSONObject; import org.apache.lucene.document.Document; import org.apache.lucene.document.NumericField; import org.jun...
src/test/java/com/github/rnewson/couchdb/lucene/DocumentConverterTest.java
package com.github.rnewson.couchdb.lucene; import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.nullValue; import static org.junit.Assert.assertThat; import net.sf.json.JSONObject; import org.apache.lucene.document.Document; import org.apache.lucene.document.NumericField; import org.jun...
assert date is converted to value correctly
src/test/java/com/github/rnewson/couchdb/lucene/DocumentConverterTest.java
assert date is converted to value correctly
<ide><path>rc/test/java/com/github/rnewson/couchdb/lucene/DocumentConverterTest.java <ide> <ide> @Test <ide> public void testDateObject() throws Exception { <del> final String fun = "function(doc) { var ret=new Document(); ret.add(new Date(), {type:\"date\", field:\"num\"}); return ret; }"; <del> ...
JavaScript
bsd-3-clause
ddeda8f1f74957ca01b130d6c6d3862c5e852319
0
devilry/devilry-django,devilry/devilry-django,devilry/devilry-django,devilry/devilry-django
/** * Plugin for {@link devilry_subjectadmin.controller.managestudents.Overview} that * adds the ability to show information about and edit a single group when * it is selected. */ Ext.define('devilry_subjectadmin.controller.managestudents.SingleGroupSelectedViewPlugin', { extend: 'Ext.app.Controller', req...
src/devilry_subjectadmin/devilry_subjectadmin/static/devilry_subjectadmin/app/controller/managestudents/SingleGroupSelectedViewPlugin.js
/** * Plugin for {@link devilry_subjectadmin.controller.managestudents.Overview} that * adds the ability to show information about and edit a single group when * it is selected. */ Ext.define('devilry_subjectadmin.controller.managestudents.SingleGroupSelectedViewPlugin', { extend: 'Ext.app.Controller', req...
devilry_subjectadmin...SingleGroupSelectedViewPlugin: Started to implement removeTag.
src/devilry_subjectadmin/devilry_subjectadmin/static/devilry_subjectadmin/app/controller/managestudents/SingleGroupSelectedViewPlugin.js
devilry_subjectadmin...SingleGroupSelectedViewPlugin: Started to implement removeTag.
<ide><path>rc/devilry_subjectadmin/devilry_subjectadmin/static/devilry_subjectadmin/app/controller/managestudents/SingleGroupSelectedViewPlugin.js <ide> _onSingleGroupSelected: function(manageStudentsController, groupRecord) { <ide> this.manageStudentsController = manageStudentsController; <ide> thi...
JavaScript
mit
799f657bdf01d588c48ccfe22382fa93c4b5df88
0
gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby
const { slash } = require(`./utils`) const path = require(`path`) const fs = require(`fs-extra`) const mime = require(`mime`) const prettyBytes = require(`pretty-bytes`) const md5File = require(`bluebird`).promisify(require(`md5-file`)) const { createContentDigest } = require(`gatsby-core-utils`) exports.createFileNo...
packages/gatsby-source-filesystem/src/create-file-node.js
const { slash } = require(`./utils`) const path = require(`path`) const fs = require(`fs-extra`) const mime = require(`mime`) const prettyBytes = require(`pretty-bytes`) const md5File = require(`bluebird`).promisify(require(`md5-file`)) const { createContentDigest } = require(`gatsby-core-utils`) exports.createFileNo...
fix(gatsby-source-filesystem): Use forward slashes on relative… (#17048)
packages/gatsby-source-filesystem/src/create-file-node.js
fix(gatsby-source-filesystem): Use forward slashes on relative… (#17048)
<ide><path>ackages/gatsby-source-filesystem/src/create-file-node.js <ide> ...parsedSlashed, <ide> absolutePath: slashed, <ide> // Useful for limiting graphql query with certain parent directory <del> relativeDirectory: path.relative( <del> pluginOptions.path || process.cwd(), <del> parsedSlashe...
Java
apache-2.0
3cef66fe43e8af9d5c40c553b30a3ea6fa4aae10
0
kalaspuffar/pdfbox,apache/pdfbox,apache/pdfbox,kalaspuffar/pdfbox
/* * 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 ...
pdfbox/src/main/java/org/apache/pdfbox/rendering/GlyphCache.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 ...
PDFBOX-4892: improve log msg git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1889268 13f79535-47bb-0310-9956-ffa450edef68
pdfbox/src/main/java/org/apache/pdfbox/rendering/GlyphCache.java
PDFBOX-4892: improve log msg
<ide><path>dfbox/src/main/java/org/apache/pdfbox/rendering/GlyphCache.java <ide> catch (IOException e) <ide> { <ide> // todo: escalate this error? <del> LOG.error("Glyph rendering failed", e); <add> String fontName = ((PDFontLike) font).getName(); <add> LOG.e...
Java
apache-2.0
ba9bc63151ae54458f82224bbb094b5b38496911
0
ST-DDT/CrazyLogin,ST-DDT/CrazyLogin
package de.st_ddt.crazylogin; import java.io.File; import java.security.NoSuchAlgorithmException; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import org.bukkit.OfflinePlayer; import org.bukkit.command.CommandSender; import...
src/de/st_ddt/crazylogin/CrazyLogin.java
package de.st_ddt.crazylogin; import java.io.File; import java.security.NoSuchAlgorithmException; import java.util.Date; import java.util.HashMap; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import org.bukkit.OfflinePlayer; import org.bukkit.command.CommandSender; import...
CrazyDatabase: minor performance improvements
src/de/st_ddt/crazylogin/CrazyLogin.java
CrazyDatabase: minor performance improvements
<ide><path>rc/de/st_ddt/crazylogin/CrazyLogin.java <ide> public void setupDatabase() <ide> { <ide> final ConfigurationSection config = getConfig(); <del> String saveType = config.getString("database.saveType", "flat").toLowerCase(); <add> String saveType = config.getString("database.saveType", "FLAT").toUpperCase...
Java
bsd-3-clause
390bd8dba9d0040e85ab08ce2d2291904d74fc84
0
gurkerl83/millipede-xtreemfs,gurkerl83/millipede-xtreemfs,gurkerl83/millipede-xtreemfs,gurkerl83/millipede-xtreemfs,gurkerl83/millipede-xtreemfs,gurkerl83/millipede-xtreemfs,gurkerl83/millipede-xtreemfs
/* Copyright (c) 2008 Konrad-Zuse-Zentrum fuer Informationstechnik Berlin. This file is part of XtreemFS. XtreemFS is part of XtreemOS, a Linux-based Grid Operating System, see <http://www.xtreemos.eu> for more details. The XtreemOS project has been developed with the financial support of the European...
src/servers/src/org/xtreemfs/common/config/ServiceConfig.java
/* Copyright (c) 2008 Konrad-Zuse-Zentrum fuer Informationstechnik Berlin. This file is part of XtreemFS. XtreemFS is part of XtreemOS, a Linux-based Grid Operating System, see <http://www.xtreemos.eu> for more details. The XtreemOS project has been developed with the financial support of the European...
servers: serevrs understand same textual log levels as client
src/servers/src/org/xtreemfs/common/config/ServiceConfig.java
servers: serevrs understand same textual log levels as client
<ide><path>rc/servers/src/org/xtreemfs/common/config/ServiceConfig.java <ide> <ide> public void read() throws IOException { <ide> <del> this.debugLevel = this.readOptionalInt("debug.level", Logging.LEVEL_INFO); <add> this.debugLevel = readDebugLevel(); <ide> <ide> this.p...
Java
apache-2.0
0d4f76d6f6cc57c4a3d7ba1459c067328a28b493
0
jankill/commons-lang,lovecindy/commons-lang,mohanaraosv/commons-lang,britter/commons-lang,byMan/naya279,PascalSchumacher/commons-lang,weston100721/commons-lang,longestname1/commonslang,lovecindy/commons-lang,MarkDacek/commons-lang,xuerenlv/commons-lang,byMan/naya279,jankill/commons-lang,chaoyi66/commons-lang,suntengten...
/* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2002-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that...
src/java/org/apache/commons/lang/SystemUtils.java
/* ==================================================================== * The Apache Software License, Version 1.1 * * Copyright (c) 2002-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that...
Make shared keys private scope not public as not really part of API git-svn-id: d201ecbade8cc7da50e7bffa1d709f7a0d92be7d@137751 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/commons/lang/SystemUtils.java
Make shared keys private scope not public as not really part of API
<ide><path>rc/java/org/apache/commons/lang/SystemUtils.java <ide> * @author Tetsuya Kaneuchi <ide> * @author Rafal Krupinski <ide> * @since 1.0 <del> * @version $Id: SystemUtils.java,v 1.28 2004/01/15 21:17:33 scolebourne Exp $ <add> * @version $Id: SystemUtils.java,v 1.29 2004/01/15 21:20:12 scolebourne Exp $ <ide>...
Java
bsd-3-clause
e3021e3a8da812f1aa5b20f8b89d8fcce3ee0472
0
dalifreire/rultor,maurezen/rultor,krzyk/rultor,pecko/rultor,maurezen/rultor,dalifreire/rultor,linlihai/rultor,dalifreire/rultor,krzyk/rultor,linlihai/rultor,maurezen/rultor,pecko/rultor,joansmith/rultor,joansmith/rultor,maurezen/rultor,joansmith/rultor,linlihai/rultor,linlihai/rultor,pecko/rultor,dalifreire/rultor,joan...
/** * Copyright (c) 2009-2014, rultor.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: 1) Redistributions of source code must retain the above * copyright notice, this list of conditio...
src/main/java/com/rultor/web/Lifespan.java
/** * Copyright (c) 2009-2014, rultor.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: 1) Redistributions of source code must retain the above * copyright notice, this list of conditio...
#628 fixed
src/main/java/com/rultor/web/Lifespan.java
#628 fixed
<ide><path>rc/main/java/com/rultor/web/Lifespan.java <ide> try { <ide> return this.safe(talks); <ide> // @checkstyle IllegalCatchCheck (1 line) <del> } catch (final RuntimeException ex) { <add> } catch (final Exception ex) { <ide> if (!this.down.get()) { <ide> ...
Java
mit
53c09f5315b632af37512ae9da3edc0401a21f9a
0
jenkinsci/threadfix-plugin,jenkinsci/threadfix-plugin
package me.automationdomination.plugins.threadfix; import hudson.AbortException; import hudson.EnvVars; import hudson.Extension; import hudson.Launcher; import hudson.model.BuildListener; import hudson.model.AbstractBuild; import hudson.model.AbstractProject; import hudson.tasks.BuildStepDescriptor; import hudson.task...
src/main/java/me/automationdomination/plugins/threadfix/ThreadFixPublisher.java
package me.automationdomination.plugins.threadfix; import hudson.AbortException; import hudson.EnvVars; import hudson.Extension; import hudson.Launcher; import hudson.model.BuildListener; import hudson.model.AbstractBuild; import hudson.model.AbstractProject; import hudson.tasks.BuildStepDescriptor; import hudson.task...
uploaded file successfully!
src/main/java/me/automationdomination/plugins/threadfix/ThreadFixPublisher.java
uploaded file successfully!
<ide><path>rc/main/java/me/automationdomination/plugins/threadfix/ThreadFixPublisher.java <ide> import hudson.util.FormValidation; <ide> <ide> import java.io.IOException; <add>import java.io.PrintStream; <ide> <ide> import javax.servlet.ServletException; <ide> <ide> final AbstractBuild<?, ?> build, <ide> final...
Java
agpl-3.0
9efa88dacccd823457388b319ed922838b3b43e3
0
thklaus/rstudio,vbelakov/rstudio,more1/rstudio,sfloresm/rstudio,john-r-mcpherson/rstudio,piersharding/rstudio,vbelakov/rstudio,jrnold/rstudio,suribes/rstudio,piersharding/rstudio,more1/rstudio,piersharding/rstudio,edrogers/rstudio,JanMarvin/rstudio,piersharding/rstudio,sfloresm/rstudio,githubfun/rstudio,jar1karp/rstudi...
/* * TextEditingTarget.java * * Copyright (C) 2009-12 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTABILITY OR FIT...
src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/TextEditingTarget.java
/* * TextEditingTarget.java * * Copyright (C) 2009-12 by RStudio, Inc. * * This program is licensed to you under the terms of version 3 of the * GNU Affero General Public License. This program is distributed WITHOUT * ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, * MERCHANTABILITY OR FIT...
restrict force-echo behavior to rnw and rmd files
src/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/TextEditingTarget.java
restrict force-echo behavior to rnw and rmd files
<ide><path>rc/gwt/src/org/rstudio/studio/client/workbench/views/source/editors/text/TextEditingTarget.java <ide> fileType_.canCompilePDF() || fileType_.canKnitToHTML(); <ide> <ide> RnwWeave rnwWeave = compilePdfHelper_.getActiveRnwWeave(); <del> final boolean forceEcho = rnwWeave ...
Java
apache-2.0
3e3b0bfb96ac5efcb78da85985dfb73729823f26
0
flyway/flyway,flyway/flyway
/* * Copyright 2010-2018 Boxfuse GmbH * * 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 ...
flyway-core/src/main/java/org/flywaydb/core/internal/database/postgresql/PostgreSQLSqlStatementBuilder.java
/* * Copyright 2010-2018 Boxfuse GmbH * * 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 ...
Fixed #1876: Postgres COPY FROM STDIN fails on data containing string delimiters
flyway-core/src/main/java/org/flywaydb/core/internal/database/postgresql/PostgreSQLSqlStatementBuilder.java
Fixed #1876: Postgres COPY FROM STDIN fails on data containing string delimiters
<ide><path>lyway-core/src/main/java/org/flywaydb/core/internal/database/postgresql/PostgreSQLSqlStatementBuilder.java <ide> <ide> @Override <ide> protected void applyStateChanges(String line) { <add> if (pgCopy) { <add> return; <add> } <add> <ide> super.applyStateChanges(line);...
Java
apache-2.0
38f666356295bdf29037755699600838ae36e7c7
0
edwise/complete-spring-project
package com.edwise.completespring.controllers; import com.edwise.completespring.assemblers.BookResource; import com.edwise.completespring.assemblers.BookResourceAssembler; import com.edwise.completespring.entities.Book; import org.joda.time.LocalDate; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org...
src/main/java/com/edwise/completespring/controllers/BookController.java
package com.edwise.completespring.controllers; import com.edwise.completespring.assemblers.BookResource; import com.edwise.completespring.assemblers.BookResourceAssembler; import com.edwise.completespring.entities.Book; import org.joda.time.LocalDate; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org...
Fixes de imports.
src/main/java/com/edwise/completespring/controllers/BookController.java
Fixes de imports.
<ide><path>rc/main/java/com/edwise/completespring/controllers/BookController.java <ide> import org.slf4j.Logger; <ide> import org.slf4j.LoggerFactory; <ide> import org.springframework.beans.factory.annotation.Autowired; <del>import org.springframework.hateoas.Resource; <ide> import org.springframework.http.HttpStatus; ...
Java
mit
a3da06960358e6678832ff6ebc1f62886aeb5833
0
PeerWasp/PeerWasp,PeerWasp/PeerWasp,PeerWasp/PeerWasp,PeerWasp/PeerWasp
package org.peerbox.watchservice.states; import java.nio.file.Path; import org.hive2hive.core.exceptions.NoPeerConnectionException; import org.hive2hive.core.exceptions.NoSessionException; import org.hive2hive.processframework.exceptions.InvalidProcessStateException; import org.hive2hive.processframework.excep...
peerbox/src/main/java/org/peerbox/watchservice/states/RemoteCreateState.java
package org.peerbox.watchservice.states; import java.nio.file.Path; import org.hive2hive.core.exceptions.NoPeerConnectionException; import org.hive2hive.core.exceptions.NoSessionException; import org.hive2hive.processframework.exceptions.InvalidProcessStateException; import org.hive2hive.processframework.excep...
+Resolved issue: StateMachine: RemoteCreateState: remove element from queue #96
peerbox/src/main/java/org/peerbox/watchservice/states/RemoteCreateState.java
+Resolved issue: StateMachine: RemoteCreateState: remove element from queue #96
<ide><path>eerbox/src/main/java/org/peerbox/watchservice/states/RemoteCreateState.java <ide> import org.peerbox.exceptions.NotImplException; <ide> import org.peerbox.presenter.settings.synchronization.FileHelper; <ide> import org.peerbox.watchservice.IAction; <add>import org.peerbox.watchservice.IFileEventManager; <ide...
JavaScript
apache-2.0
4991a127c24ff5babc205c7a0e4deb016802a846
0
ceejatec/ns_server,membase/ns_server,membase/ns_server,membase/ns_server,ceejatec/ns_server,membase/ns_server,membase/ns_server,ceejatec/ns_server,ceejatec/ns_server,ceejatec/ns_server,membase/ns_server,ceejatec/ns_server
(function () { "use strict"; angular .module('mnLdap', [ "mnLdapService", "mnPromiseHelper" ]) .controller('mnLdapController', mnLdapController) .filter("formatRoleMessage", formatRoleMessageFilter); function mnLdapController($scope, mnLdapService, mnPromiseHelper) { var vm =...
priv/public/ui/app/mn_admin/mn_security/mn_ldap/mn_ldap_controller.js
(function () { "use strict"; angular .module('mnLdap', [ "mnLdapService", "mnPromiseHelper" ]) .controller('mnLdapController', mnLdapController) .filter("formatRoleMessage", formatRoleMessageFilter); function mnLdapController($scope, mnLdapService, mnPromiseHelper) { var vm =...
MB-18549: added limitations for security!write in mnLdapController Change-Id: Ifcd2b97d02e73e193502e74fc5c2caba376b27ef Reviewed-on: http://review.couchbase.org/61636 Reviewed-by: Pavel Blagodov <596b71e626fc58dbdad141b817770e3e4810bb9b@gmail.com> Tested-by: Pavel Blagodov <596b71e626fc58dbdad141b817770e3e4810bb9b@gma...
priv/public/ui/app/mn_admin/mn_security/mn_ldap/mn_ldap_controller.js
MB-18549: added limitations for security!write in mnLdapController
<ide><path>riv/public/ui/app/mn_admin/mn_security/mn_ldap/mn_ldap_controller.js <ide> activate(); <ide> <ide> function isValidateButtonDisabled() { <del> return !vm.test.username || !vm.test.password || !vm.state || !vm.state.enabled; <add> return !vm.test.username || !vm.test.password || !vm...
JavaScript
apache-2.0
b314780898a594d1fdcf7c0080668bd00a757b5a
0
koara/koara-js
'use strict'; var gulp = require('gulp'); var browserify = require('browserify'); var buffer = require('vinyl-buffer'); var cover = require('gulp-coverage'); var coveralls = require('gulp-coveralls'); var jasmine = require('gulp-jasmine'); var eslint = require('gulp-eslint'); var uglify = require('gulp-uglify'); var r...
gulpfile.js
'use strict'; var gulp = require('gulp'); var browserify = require('browserify'); var buffer = require('vinyl-buffer'); var cover = require('gulp-coverage'); var coveralls = require('gulp-coveralls'); var jasmine = require('gulp-jasmine'); var eslint = require('gulp-eslint'); var uglify = require('gulp-uglify'); var r...
test with coveralls
gulpfile.js
test with coveralls
<ide><path>ulpfile.js <ide> .pipe(jasmine()) <ide> .pipe(cover.gather()) <ide> .pipe(cover.format({ reporter: 'lcov' })) <del> //.pipe(coveralls()); <add> .pipe(coveralls()); <ide> });
Java
apache-2.0
84cebcb74893191e4bc5e445582d2285b137485c
0
inbloom/datastore-portal,inbloom/datastore-portal,inbloom/datastore-portal,inbloom/datastore-portal,inbloom/datastore-portal
package org.slc.sli.util; import java.io.StringWriter; import com.liferay.portal.kernel.util.GetterUtil; import com.liferay.portal.kernel.util.PropsUtil; import org.slc.sli.util.PropsKeys; import java.awt.image.BufferedImage; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.ByteArra...
portlets/headerfooter-portlet/docroot/WEB-INF/src/org/slc/sli/util/VelocityUtil.java
package org.slc.sli.util; import java.io.StringWriter; import org.apache.velocity.Template; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.VelocityEngine; import org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader; import com.liferay.portal.kernel.util.GetterUtil; import co...
fix for defect DE555 . Copied from commit 8ce377a5c8107fcdedd4c2b81a1410ba6b5163eb
portlets/headerfooter-portlet/docroot/WEB-INF/src/org/slc/sli/util/VelocityUtil.java
fix for defect DE555 . Copied from commit 8ce377a5c8107fcdedd4c2b81a1410ba6b5163eb
<ide><path>ortlets/headerfooter-portlet/docroot/WEB-INF/src/org/slc/sli/util/VelocityUtil.java <ide> <ide> import java.io.StringWriter; <ide> <del>import org.apache.velocity.Template; <del>import org.apache.velocity.VelocityContext; <del>import org.apache.velocity.app.VelocityEngine; <del>import org.apache.velocity.r...
Java
mit
fbe54e546759c295779fd4c018de0304cf35e295
0
clienthax/SpongeCommon,DDoS/SpongeCommon,SpongePowered/Sponge,modwizcode/SpongeCommon,sanman00/SpongeCommon,Grinch/SpongeCommon,kenzierocks/SpongeCommon,ryantheleach/SpongeCommon,Grinch/SpongeCommon,JBYoshi/SpongeCommon,modwizcode/SpongeCommon,clienthax/SpongeCommon,SpongePowered/Sponge,SpongePowered/SpongeCommon,sanma...
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
src/main/java/org/spongepowered/common/event/CauseTracker.java
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
Don't look for hanging entities if original block was liquid. Fixes #642
src/main/java/org/spongepowered/common/event/CauseTracker.java
Don't look for hanging entities if original block was liquid.
<ide><path>rc/main/java/org/spongepowered/common/event/CauseTracker.java <ide> import com.google.common.collect.ImmutableList; <ide> import com.google.common.collect.Lists; <ide> import net.minecraft.block.Block; <add>import net.minecraft.block.BlockLiquid; <ide> import net.minecraft.block.state.IBlockState; <ide> impo...
Java
apache-2.0
error: pathspec 'backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/surfaceview/GLSurfaceViewAPI18.java' did not match any file(s) known to git
b338ac2eba5b444893efb90697e3cddb2f6c3810
1
stickyd/libgdx,thepullman/libgdx,TheAks999/libgdx,Zonglin-Li6565/libgdx,ninoalma/libgdx,EsikAntony/libgdx,kagehak/libgdx,flaiker/libgdx,fiesensee/libgdx,curtiszimmerman/libgdx,designcrumble/libgdx,PedroRomanoBarbosa/libgdx,KrisLee/libgdx,libgdx/libgdx,ztv/libgdx,Senth/libgdx,josephknight/libgdx,basherone/libgdxcn,titov...
/* * Copyright (C) 2008 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...
backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/surfaceview/GLSurfaceViewAPI18.java
Added missing file :)
backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/surfaceview/GLSurfaceViewAPI18.java
Added missing file :)
<ide><path>ackends/gdx-backend-android/src/com/badlogic/gdx/backends/android/surfaceview/GLSurfaceViewAPI18.java <add>/* <add> * Copyright (C) 2008 The Android Open Source Project <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with ...
Java
apache-2.0
error: pathspec 'app/src/main/java/com/pddstudio/otgsubs/services/PatchTemplateService.java' did not match any file(s) known to git
5a18170ca98eaafb8012fe09cabd1baa55bac35c
1
PDDStudio/OTGSubs
package com.pddstudio.otgsubs.services; import android.content.Context; import android.content.Intent; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import android.support.v4.content.LocalBroadcastManager; import android.util.Log; import com.pddstudio.otgsubs.EventBusBean; imp...
app/src/main/java/com/pddstudio/otgsubs/services/PatchTemplateService.java
Added Service for Template patching
app/src/main/java/com/pddstudio/otgsubs/services/PatchTemplateService.java
Added Service for Template patching
<ide><path>pp/src/main/java/com/pddstudio/otgsubs/services/PatchTemplateService.java <add>package com.pddstudio.otgsubs.services; <add> <add>import android.content.Context; <add>import android.content.Intent; <add>import android.support.annotation.NonNull; <add>import android.support.annotation.Nullable; <add>import an...
JavaScript
apache-2.0
10f8e76d6f1ad73a4021a28c13b840828982ad19
0
baijunyao/thinkphp-bjyadmin,nirolee/thinkphp-bjyadmin,nirolee/thinkphp-bjyadmin,baijunyao/thinkphp-bjyadmin,shuaibai/thinkphp-bjyadmin,nirolee/thinkphp-bjyadmin,baijunyao/thinkphp-bjyadmin,shuaibai/thinkphp-bjyadmin,shuaibai/thinkphp-bjyadmin
var gulp = require('gulp'), sass = require('gulp-sass'), minifyCss = require('gulp-minify-css'), plumber = require('gulp-plumber'), babel = require('gulp-babel'), uglify = require('gulp-uglify'), clearnHtml = require("gulp-cleanhtml"); imagemin = req...
gulpfile.js
var gulp = require('gulp'), sass = require('gulp-sass'), minifyCss = require('gulp-minify-css'), plumber = require('gulp-plumber'), babel = require('gulp-babel'), uglify = require('gulp-uglify'), clearnHtml = require("gulp-cleanhtml"); imagemin = req...
替换browserSync的proxy
gulpfile.js
替换browserSync的proxy
<ide><path>ulpfile.js <ide> // 自动刷新 <ide> gulp.task('server', function() { <ide> browserSync.init({ <del> proxy: "tbjyblog.com", // 指定代理url <add> proxy: "tbjyadmin.com", // 指定代理url <ide> notify: false, // 刷新不弹出提示 <ide> }); <ide> // 监听scss文件编译
Java
apache-2.0
1e365f45d092b88795d9c05aabc66bdfc550e74a
0
apache/jmeter,benbenw/jmeter,etnetera/jmeter,apache/jmeter,ham1/jmeter,etnetera/jmeter,ham1/jmeter,etnetera/jmeter,apache/jmeter,apache/jmeter,apache/jmeter,ham1/jmeter,ham1/jmeter,benbenw/jmeter,benbenw/jmeter,etnetera/jmeter,benbenw/jmeter,etnetera/jmeter,ham1/jmeter
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
src/core/org/apache/jmeter/gui/action/CheckDirty.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 ...
Ensure in case of exception that flags are reset correctly git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1654705 13f79535-47bb-0310-9956-ffa450edef68 Former-commit-id: 63a817f166e759a94fb4621cc959ad03a6ce389d
src/core/org/apache/jmeter/gui/action/CheckDirty.java
Ensure in case of exception that flags are reset correctly
<ide><path>rc/core/org/apache/jmeter/gui/action/CheckDirty.java <ide> GuiPackage guiPackage = GuiPackage.getInstance(); <ide> JMeterTreeNode[] nodes = guiPackage.getTreeListener().getSelectedNodes(); <ide> removeMode = true; <del> for (int i = nodes.length - 1; i >= 0; i--...
Java
isc
59a659d5fec8a7f7eaa9ad9622f37890ce991737
0
TealCube/tribes
/* * This file is part of Tribes, licensed under the ISC License. * * Copyright (c) 2015 Richard Harrah * * Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, * provided that the above copyright notice and this permission notice appear in all co...
src/main/java/me/topplethenun/tribes/data/Tribe.java
/* * This file is part of Tribes, licensed under the ISC License. * * Copyright (c) 2015 Richard Harrah * * Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, * provided that the above copyright notice and this permission notice appear in all co...
adding variant on valueOf(String) to Tribe.Rank
src/main/java/me/topplethenun/tribes/data/Tribe.java
adding variant on valueOf(String) to Tribe.Rank
<ide><path>rc/main/java/me/topplethenun/tribes/data/Tribe.java <ide> public List<Permission> getPermissions() { <ide> return permissions; <ide> } <add> <add> public Rank fromString(String s) { <add> for (Rank rank : values()) { <add> if (rank.name().equals(s)...
Java
apache-2.0
7458dd3886a1f980f12cbe49526c3ed042799016
0
NatLibFi/mutu
/* * Copyright 2018 University Of Helsinki (The National Library Of Finland) * * 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 ...
src/fi/nationallibrary/mutu/Mutu.java
/* * Copyright 2018 University Of Helsinki (The National Library Of Finland) * * 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 ...
Fix cmd-line arguments parsing
src/fi/nationallibrary/mutu/Mutu.java
Fix cmd-line arguments parsing
<ide><path>rc/fi/nationallibrary/mutu/Mutu.java <ide> */ <ide> private void parseArguments(String[] args) { <ide> <del> String[] specOntStrArr, newYsoStrArr, querySelectStrArr; <add> String[] domainOntStrArr, newYsoStrArr, querySelectStrArr; <ide> <ide> CommandLine cmd = null; <ide> Options allOptions = new ...
Java
lgpl-2.1
064271d9248fd0707ddd7378151d8668face5eed
0
zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform,zanata/zanata-platform
package net.openl10n.flies.rest.service; import java.io.InputStream; import java.lang.reflect.Type; import java.net.URI; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws...
flies-war/src/main/java/net/openl10n/flies/rest/service/TranslationResourcesService.java
package net.openl10n.flies.rest.service; import java.io.InputStream; import java.lang.reflect.Type; import java.net.URI; import java.util.ArrayList; import java.util.HashSet; import java.util.Iterator; import java.util.List; import java.util.Set; import javax.ws.rs.Consumes; import javax.ws.rs.DELETE; import javax.ws...
Make the copy function public and add a check for first commit template
flies-war/src/main/java/net/openl10n/flies/rest/service/TranslationResourcesService.java
Make the copy function public and add a check for first commit template
<ide><path>lies-war/src/main/java/net/openl10n/flies/rest/service/TranslationResourcesService.java <ide> @QueryParam("ext") <ide> @DefaultValue("") <ide> private Set<String> extensions; <add> <add> @QueryParam("copyTrans") <add> @DefaultValue("false") <add> private boolean copytrans; <ide> <ide> <id...
Java
lgpl-2.1
f8678759dffa056f587aa56cd30743bb73e07a71
0
julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine,julie-sullivan/phytomine
package org.intermine.bio.postprocess; /* * Copyright (C) 2002-2009 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...
bio/postprocess/main/src/org/intermine/bio/postprocess/TransferSequences.java
package org.intermine.bio.postprocess; /* * Copyright (C) 2002-2009 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...
Fix query for stricter precompute requirements. Former-commit-id: cb1308cc79a4aed00768b9d9860478a1fba0dd43
bio/postprocess/main/src/org/intermine/bio/postprocess/TransferSequences.java
Fix query for stricter precompute requirements.
<ide><path>io/postprocess/main/src/org/intermine/bio/postprocess/TransferSequences.java <ide> QueryClass qcExon = new QueryClass(Exon.class); <ide> q.addFrom(qcExon); <ide> q.addToSelect(qcExon); <add> <ide> <ide> QueryClass qcExonSequence = new QueryClass(Sequence.class); <ide>...
Java
apache-2.0
c7002ec07e753ac983ac33512137c7fa475d8722
0
vvv1559/intellij-community,youdonghai/intellij-community,da1z/intellij-community,vvv1559/intellij-community,mglukhikh/intellij-community,asedunov/intellij-community,vvv1559/intellij-community,mglukhikh/intellij-community,allotria/intellij-community,da1z/intellij-community,allotria/intellij-community,suncycheng/intellij...
/* * Copyright 2000-2016 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/vcs-log/impl/src/com/intellij/vcs/log/ui/render/LabelIcon.java
/* * Copyright 2000-2016 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...
[vcs-log] draw label icons on the buffered image, then copy the image on the component IDEA-164846
platform/vcs-log/impl/src/com/intellij/vcs/log/ui/render/LabelIcon.java
[vcs-log] draw label icons on the buffered image, then copy the image on the component
<ide><path>latform/vcs-log/impl/src/com/intellij/vcs/log/ui/render/LabelIcon.java <ide> <ide> import com.intellij.openapi.ui.GraphicsConfig; <ide> import com.intellij.util.ui.GraphicsUtil; <add>import com.intellij.util.ui.UIUtil; <ide> import org.jetbrains.annotations.NotNull; <ide> <ide> import javax.swing.*; <ide> ...
Java
mit
8e096a431f5486927a3007cdca9bb9091017cb81
0
fkchang/jubilee,fkchang/jubilee,isaiah/jubilee,fkchang/jubilee,isaiah/jubilee,fkchang/jubilee,isaiah/jubilee,isaiah/jubilee
package org.jruby.jubilee.impl; import io.netty.buffer.ByteBuf; import org.jruby.*; import org.jruby.anno.JRubyMethod; import org.jruby.jubilee.Const; import org.jruby.jubilee.RackInput; import org.jruby.runtime.Block; import org.jruby.runtime.ObjectAllocator; import org.jruby.runtime.ThreadContext; import org.jruby.r...
java/src/org/jruby/jubilee/impl/RubyIORackInput.java
package org.jruby.jubilee.impl; import io.netty.buffer.ByteBuf; import org.jruby.*; import org.jruby.anno.JRubyMethod; import org.jruby.jubilee.Const; import org.jruby.jubilee.RackInput; import org.jruby.runtime.Block; import org.jruby.runtime.ObjectAllocator; import org.jruby.runtime.ThreadContext; import org.jruby.r...
read all should return nil instead of empty string
java/src/org/jruby/jubilee/impl/RubyIORackInput.java
read all should return nil instead of empty string
<ide><path>ava/src/org/jruby/jubilee/impl/RubyIORackInput.java <ide> public IRubyObject gets(ThreadContext context) { <ide> if (isEOF()) <ide> return getRuntime().getNil(); <del> int lineEnd = buf.indexOf(buf.readerIndex(), buf.capacity(), Const.EOL); <del> int readLength; <del> ...
Java
bsd-3-clause
0cc8960b4626c5d819638f76791c3701e576d32a
0
muloem/xins,muloem/xins,muloem/xins
/* * $Id$ * * Copyright 2003-2005 Wanadoo Nederland B.V. * See the COPYRIGHT file for redistribution and use restrictions. */ package org.xins.server; import java.lang.reflect.Constructor; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.Li...
src/java-server-framework/org/xins/server/CallingConventionManager.java
/* * $Id$ * * Copyright 2003-2005 Wanadoo Nederland B.V. * See the COPYRIGHT file for redistribution and use restrictions. */ package org.xins.server; import java.lang.reflect.Constructor; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.Li...
A deprecated calling convention gets less priority than a non-deprecated one.
src/java-server-framework/org/xins/server/CallingConventionManager.java
A deprecated calling convention gets less priority than a non-deprecated one.
<ide><path>rc/java-server-framework/org/xins/server/CallingConventionManager.java <ide> CallingConvention detectCallingConvention(HttpServletRequest request) <ide> throws InvalidRequestException { <ide> <add> String noMatches = "Request does not specify a calling convention, it " <add> ...
Java
apache-2.0
571141d17a5d7bef9f5ff6f1aef094c6028a2c1e
0
elasticsoftwarefoundation/elasticactors
/* * Copyright 2013 Joost van de Wijgerd * * 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...
core/src/main/java/org/elasticsoftware/elasticactors/cluster/LocalActorShard.java
/* * Copyright 2013 Joost van de Wijgerd * * 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...
fixed nullpointer issue on destroy of a non-cached actor
core/src/main/java/org/elasticsoftware/elasticactors/cluster/LocalActorShard.java
fixed nullpointer issue on destroy of a non-cached actor
<ide><path>ore/src/main/java/org/elasticsoftware/elasticactors/cluster/LocalActorShard.java <ide> } <ide> <ide> private void destroyActor(DestroyActorMessage destroyMessage,InternalMessage internalMessage, MessageHandlerEventListener messageHandlerEventListener) throws Exception { <del> ActorRef actorRe...
Java
apache-2.0
d6ce6174aca92ee0def81fe14fb7f85980852a77
0
kmzbrnoI/hJOPandroidDriver,kmzbrnoI/hJOPandroidDriver
package cz.mendelu.xmarik.train_manager.storage; import org.greenrobot.eventbus.EventBus; import java.util.ArrayList; import cz.mendelu.xmarik.train_manager.events.FoundServersReloadEvent; import cz.mendelu.xmarik.train_manager.events.StoredServersReloadEvent; import cz.mendelu.xmarik.train_manager.models.Server; /...
app/src/main/java/cz/mendelu/xmarik/train_manager/storage/ServerDb.java
package cz.mendelu.xmarik.train_manager.storage; import org.greenrobot.eventbus.EventBus; import java.util.ArrayList; import cz.mendelu.xmarik.train_manager.events.FoundServersReloadEvent; import cz.mendelu.xmarik.train_manager.events.StoredServersReloadEvent; import cz.mendelu.xmarik.train_manager.models.Server; /...
Transfer password stored -> found.
app/src/main/java/cz/mendelu/xmarik/train_manager/storage/ServerDb.java
Transfer password stored -> found.
<ide><path>pp/src/main/java/cz/mendelu/xmarik/train_manager/storage/ServerDb.java <ide> public void addFoundServer(Server server) { <ide> this.found.add(server); <ide> EventBus.getDefault().post(new FoundServersReloadEvent()); <add> <add> // transfer password from stored servers <add> ...
JavaScript
mit
0a9412efa82528abcd2abd7cc4eaf6a72a88aceb
0
nypublicradio/nypr-ui,nypublicradio/nypr-ui
import Component from '@ember/component'; import layout from '../../templates/components/nypr-ui/brand-header'; import { getOwner } from '@ember/application'; export default Component.extend({ layout, tagName: '', init() { let config = getOwner(this).resolveRegistration('config:environment'); let menuIt...
addon/components/nypr-ui/brand-header.js
import Component from '@ember/component'; import layout from '../../templates/components/nypr-ui/brand-header'; export default Component.extend({ layout, tagName: '', init() { let menuItems = [ { name: 'WNYC', url: 'https://www.wnyc.org', svg: 'wnyc-logo', }, { ...
Add utm params to brand header links
addon/components/nypr-ui/brand-header.js
Add utm params to brand header links
<ide><path>ddon/components/nypr-ui/brand-header.js <ide> import Component from '@ember/component'; <ide> import layout from '../../templates/components/nypr-ui/brand-header'; <add>import { getOwner } from '@ember/application'; <add> <ide> export default Component.extend({ <ide> layout, <ide> tagName: '', <ide> in...
Java
apache-2.0
3ad825c13ac6ced4a9c07827dd28bdb10f2e8883
0
mbiarnes/jbpm-form-modeler,etirelli/jbpm-form-modeler,mbiarnes/jbpm-form-modeler,baldimir/jbpm-form-modeler,mbiarnes/jbpm-form-modeler,droolsjbpm/jbpm-form-modeler,baldimir/jbpm-form-modeler,baldimir/jbpm-form-modeler,porcelli-forks/jbpm-form-modeler,porcelli-forks/jbpm-form-modeler,porcelli-forks/jbpm-form-modeler,eti...
/** * Copyright (C) 2012 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
jbpm-form-modeler-core/jbpm-form-modeler-service/jbpm-form-modeler-service-core/src/main/java/org/jbpm/formModeler/core/config/CoreFormsBuilder.java
/** * Copyright (C) 2012 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
- removed trace
jbpm-form-modeler-core/jbpm-form-modeler-service/jbpm-form-modeler-service-core/src/main/java/org/jbpm/formModeler/core/config/CoreFormsBuilder.java
- removed trace
<ide><path>bpm-form-modeler-core/jbpm-form-modeler-service/jbpm-form-modeler-service-core/src/main/java/org/jbpm/formModeler/core/config/CoreFormsBuilder.java <ide> try { <ide> InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream(formPath); <ide> if (is == ...
Java
apache-2.0
3ae9c6560730461de5fba22da40ea71617685f46
0
lianghaivv/ANE-DeviceId,freshplanet/ANE-DeviceId,freshplanet/ANE-DeviceId,freshplanet/ANE-DeviceId,lianghaivv/ANE-DeviceId
package com.freshplanet.ane.AirDeviceId.functions; import java.io.IOException; import android.app.Activity; import android.content.Context; import com.adobe.fre.FREContext; import com.adobe.fre.FREFunction; import com.adobe.fre.FREObject; import com.adobe.fre.FREWrongThreadException; import com.freshplanet.ane.AirD...
android/src/com/freshplanet/ane/AirDeviceId/functions/getIDFAFunction.java
package com.freshplanet.ane.AirDeviceId.functions; import java.io.IOException; import android.app.Activity; import android.content.Context; import com.adobe.fre.FREContext; import com.adobe.fre.FREFunction; import com.adobe.fre.FREObject; import com.adobe.fre.FREWrongThreadException; import com.google.android.gms.a...
updates to make getIDFA work via new thread
android/src/com/freshplanet/ane/AirDeviceId/functions/getIDFAFunction.java
updates to make getIDFA work via new thread
<ide><path>ndroid/src/com/freshplanet/ane/AirDeviceId/functions/getIDFAFunction.java <ide> import com.adobe.fre.FREFunction; <ide> import com.adobe.fre.FREObject; <ide> import com.adobe.fre.FREWrongThreadException; <add>import com.freshplanet.ane.AirDeviceId.AirDeviceIdExtension; <ide> import com.google.android.gms.ads...
JavaScript
mit
74c8b253743aa16d81d60ea8f63341ff418699bf
0
irachex/cnpmjs.org,chinakids/cnpmjs.org,irachex/cnpmjs.org,marvinlee/cnpmjs.org,marvinlee/cnpmjs.org,yufi113/cnpmjs.org,chinakids/cnpmjs.org,yufi113/cnpmjs.org,yufi113/cnpmjs.org,limianwang/cnpmjs.org,irachex/cnpmjs.org,limianwang/cnpmjs.org,marvinlee/cnpmjs.org,limianwang/cnpmjs.org,chinakids/cnpmjs.org
/**! * cnpmjs.org - controllers/registry/module.js * * Copyright(c) cnpmjs.org and other contributors. * MIT Licensed * * Authors: * dead_horse <dead_horse@qq.com> (http://deadhorse.me) * fengmk2 <fengmk2@gmail.com> (http://fengmk2.github.com) */ 'use strict'; /** * Module dependencies. */ var debug = r...
controllers/registry/module.js
/**! * cnpmjs.org - controllers/registry/module.js * * Copyright(c) cnpmjs.org and other contributors. * MIT Licensed * * Authors: * dead_horse <dead_horse@qq.com> (http://deadhorse.me) * fengmk2 <fengmk2@gmail.com> (http://fengmk2.github.com) */ 'use strict'; /** * Module dependencies. */ var debug = r...
fix space
controllers/registry/module.js
fix space
<ide><path>ontrollers/registry/module.js <ide> exports.updateTag = function *() { <ide> var version = this.request.body; <ide> var tag = this.params.tag; <del> var name =this.params.name; <add> var name = this.params.name; <ide> <ide> if (!version) { <ide> this.status = 400;
JavaScript
bsd-3-clause
83f31429521eaff24c7473a662bbeb6c383115fb
0
BaiduFE/Tangram-component,BaiduFE/Tangram-component,BaiduFE/Tangram-component
module('baidu.ui.Calendar'); /** * */ (function() { // 月份信息 te._monthDay = [ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ]; te._weekShot = 'sun,mon,tue,wed,thu,fri,sat'; te.getDate = function(date, day) { var d = new Date(); if (typeof date == 'string') { if (/(\d{1,4})-(\d{1,2})-(\d{1,2})/.test(date...
test/baidu/ui/Calendar.js
module('baidu.ui.Calendar'); /** * */ (function() { // 月份信息 te._monthDay = [ 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ]; te._weekShot = 'sun,mon,tue,wed,thu,fri,sat'; te.getDate = function(date, day) { var d = new Date(); if (typeof date == 'string') { if (/(\d{1,4})-(\d{1,2})-(\d{1,2})/.test(date...
针对英文版Calendar的时差问题更新用例
test/baidu/ui/Calendar.js
针对英文版Calendar的时差问题更新用例
<ide><path>est/baidu/ui/Calendar.js <ide> }); <ide> // check current <ide> equals(te.doms.content.current.html(), de.getDate(), 'check current'); <add> !nostart && start(); <add> // 校验星期和日期 <add> // var tds = $('td'), <add> }; <add> <add> te.check_en = function(cal, date, nostart) { <add> // 存在很多翻页的情况,主动up...
Java
apache-2.0
0180d766912c7ff01cf807bf24017a1588e7175e
0
czarny445/pai19,czarny445/pai19,czarny445/pai19
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.lodz.p.edu.ftims.poi.poi.entities; import java.util.ArrayList; import java.util.List; import org.springframework.data.anno...
mainMicroservice/src/main/java/pl/lodz/p/edu/ftims/poi/poi/entities/Package.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package pl.lodz.p.edu.ftims.poi.poi.entities; import java.util.List; import org.springframework.data.annotation.Id; import org.spring...
Przeróbeczki
mainMicroservice/src/main/java/pl/lodz/p/edu/ftims/poi/poi/entities/Package.java
Przeróbeczki
<ide><path>ainMicroservice/src/main/java/pl/lodz/p/edu/ftims/poi/poi/entities/Package.java <ide> */ <ide> package pl.lodz.p.edu.ftims.poi.poi.entities; <ide> <add>import java.util.ArrayList; <ide> import java.util.List; <ide> <ide> import org.springframework.data.annotation.Id; <ide> private String name; <ide> ...
Java
mit
412c5caf9701def8b2b3a60fd073b7588f2ee3c1
0
XeroAPI/scribe-java,scribejava/scribejava,fernandezpablo85/scribe-java
package com.github.scribejava.core.builder; import com.github.scribejava.core.builder.api.BaseApi; import com.github.scribejava.core.httpclient.HttpClient; import com.github.scribejava.core.httpclient.HttpClientConfig; import com.github.scribejava.core.model.OAuthConfig; import com.github.scribejava.core.model.OAuthCo...
scribejava-core/src/main/java/com/github/scribejava/core/builder/ServiceBuilder.java
package com.github.scribejava.core.builder; import com.github.scribejava.core.builder.api.BaseApi; import com.github.scribejava.core.httpclient.HttpClient; import com.github.scribejava.core.httpclient.HttpClientConfig; import com.github.scribejava.core.model.OAuthConfig; import com.github.scribejava.core.model.OAuthCo...
drop deprecated methods
scribejava-core/src/main/java/com/github/scribejava/core/builder/ServiceBuilder.java
drop deprecated methods
<ide><path>cribejava-core/src/main/java/com/github/scribejava/core/builder/ServiceBuilder.java <ide> <ide> private HttpClientConfig httpClientConfig; <ide> private HttpClient httpClient; <del> <del> /** <del> * <del> * @deprecated use {@link #ServiceBuilder(java.lang.String) } <del> */ <del> ...
Java
lgpl-2.1
419476d839ffd49f5cb6d9849aa0a8241e15c15e
0
loklak/loklak_server,singhpratyush/loklak_server,loklak/loklak_server,singhpratyush/loklak_server,loklak/loklak_server,singhpratyush/loklak_server,loklak/loklak_server,singhpratyush/loklak_server,singhpratyush/loklak_server,singhpratyush/loklak_server,loklak/loklak_server,singhpratyush/loklak_server,loklak/loklak_serve...
/** * Github Profile Crawler * Copyright 22.07.2016 by Jigyasa Grover, @jig08 * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at yo...
src/org/loklak/api/search/GithubProfileScraper.java
/** * Github Profile Crawler * Copyright 22.07.2016 by Jigyasa Grover, @jig08 * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at yo...
Related #1523 Add Javadocs for GithubProfileScraper.java (#1582)
src/org/loklak/api/search/GithubProfileScraper.java
Related #1523 Add Javadocs for GithubProfileScraper.java (#1582)
<ide><path>rc/org/loklak/api/search/GithubProfileScraper.java <ide> private PostTimeline postList = new PostTimeline(this.order); <ide> public List<String> termsList = Arrays.asList("all"); <ide> <add> /** <add> * Constructor to set baseUrl and scraperName in the super(Base-Interface) for <add> * cu...
Java
apache-2.0
f77e98980f948c0d9e262d424bfe5a1eec9e4034
0
xfournet/intellij-community,allotria/intellij-community,allotria/intellij-community,xfournet/intellij-community,ThiagoGarciaAlves/intellij-community,mglukhikh/intellij-community,allotria/intellij-community,ThiagoGarciaAlves/intellij-community,ThiagoGarciaAlves/intellij-community,allotria/intellij-community,allotria/int...
package com.jetbrains.env.python; import com.google.common.collect.Sets; import com.jetbrains.env.PyEnvTestCase; import com.jetbrains.env.Staging; import com.jetbrains.env.python.console.PyConsoleTask; import org.jetbrains.annotations.NotNull; import org.junit.Assert; import org.junit.Test; import java.util.Collectio...
python/testSrc/com/jetbrains/env/python/PythonConsoleTest.java
package com.jetbrains.env.python; import com.google.common.collect.Sets; import com.jetbrains.env.PyEnvTestCase; import com.jetbrains.env.Staging; import com.jetbrains.env.python.console.PyConsoleTask; import org.jetbrains.annotations.NotNull; import org.junit.Assert; import org.junit.Test; import java.util.Collectio...
Tests: move VariablesView test to staging
python/testSrc/com/jetbrains/env/python/PythonConsoleTest.java
Tests: move VariablesView test to staging
<ide><path>ython/testSrc/com/jetbrains/env/python/PythonConsoleTest.java <ide> <ide> <ide> @Test <add> @Staging <ide> public void testVariablesView() { <ide> runPythonTest(new PyConsoleTask() { <ide> @Override
Java
apache-2.0
87b29ff5f108323107368f432bb88cc0c12d7157
0
redisson/redisson,mrniko/redisson,jackygurui/redisson
package org.redisson.client.protocol.decoder; import java.io.IOException; import java.util.List; import org.junit.Assert; import org.junit.Test; import org.redisson.cluster.ClusterNodeInfo; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; public class ClusterNodesDecoderTest { @Test public ...
redisson/src/test/java/org/redisson/client/protocol/decoder/ClusterNodesDecoderTest.java
package org.redisson.client.protocol.decoder; import java.io.IOException; import java.util.List; import org.junit.Assert; import org.junit.Test; import org.redisson.cluster.ClusterNodeInfo; import io.netty.buffer.ByteBuf; import io.netty.buffer.Unpooled; public class ClusterNodesDecoderTest { @Test public ...
test fixed
redisson/src/test/java/org/redisson/client/protocol/decoder/ClusterNodesDecoderTest.java
test fixed
<ide><path>edisson/src/test/java/org/redisson/client/protocol/decoder/ClusterNodesDecoderTest.java <ide> <ide> @Test <ide> public void test() throws IOException { <del> ClusterNodesDecoder decoder = new ClusterNodesDecoder(); <add> ClusterNodesDecoder decoder = new ClusterNodesDecoder(false); <id...
Java
apache-2.0
ada7a0be1e2ff2eabe4cfb9d0545d1818efba1c9
0
dtelaroli/Iogi,garcia-jj/iogi-fork,rafaeldff/Iogi
package iogi; import static com.google.common.base.Predicates.equalTo; import iogi.conversion.Converter; import iogi.conversion.DoubleConverter; import iogi.conversion.IntegerConverter; import iogi.conversion.ObjectConverter; import iogi.conversion.StringConverter; import iogi.conversion.TypeConverter; import iogi.ex...
src/iogi/Instantiatior.java
package iogi; import static com.google.common.base.Predicates.equalTo; import iogi.conversion.Converter; import iogi.conversion.DoubleConverter; import iogi.conversion.IntegerConverter; import iogi.conversion.ObjectConverter; import iogi.conversion.StringConverter; import iogi.conversion.TypeConverter; import iogi.ex...
Minor refactorings for list instantiation. (A larger refactoring is looming...)
src/iogi/Instantiatior.java
Minor refactorings for list instantiation. (A larger refactoring is looming...)
<ide><path>rc/iogi/Instantiatior.java <ide> if (!(target.getType() instanceof ParameterizedType)) <ide> throw new InvalidTypeException("Expecting a parameterized list type, got raw type \"%s\" instead", target.getType()); <ide> <del> ParameterizedType listType = (ParameterizedType)target.getType(); <del> Typ...
Java
lgpl-2.1
c74ef9d9dfd635d440c5421fde15f5aa75824759
0
andreasprlic/biojava,andreasprlic/biojava,paolopavan/biojava,paolopavan/biojava,biojava/biojava,emckee2006/biojava,heuermh/biojava,sbliven/biojava-sbliven,heuermh/biojava,fionakim/biojava,lafita/biojava,fionakim/biojava,sbliven/biojava-sbliven,pwrose/biojava,fionakim/biojava,sbliven/biojava-sbliven,zachcp/biojava,bioja...
/* * BioJava development code * * 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. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
biojava3-structure/src/main/java/org/biojava/bio/structure/io/FileParsingParameters.java
/* * BioJava development code * * 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. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
new flag if biological assembly properties should be parsed git-svn-id: a754228c0d23e99fefe44e35d84d6184990ceaa2@9734 7c6358e6-4a41-0410-a743-a5b2a554c398
biojava3-structure/src/main/java/org/biojava/bio/structure/io/FileParsingParameters.java
new flag if biological assembly properties should be parsed
<ide><path>iojava3-structure/src/main/java/org/biojava/bio/structure/io/FileParsingParameters.java <ide> int atomCaThreshold; <ide> <ide> <add> /** should we parse the biological assembly information from a file? <add> * <add> */ <add> boolean parseBioAssembly; <add> <ide> /** the maximum number of atoms we wil...
Java
bsd-3-clause
error: pathspec 'examples/sayhello/SayHello.java' did not match any file(s) known to git
8df6513c4a874f668b8078422d3d8a438651115e
1
aldebaran/libqi-java,aldebaran/libqi-java,aldebaran/libqi-java
import com.aldebaran.qimessaging.*; public class SayHello { public static void main(String[] args) throws Exception { Application app = new Application(args); Session session = new Session(); Future<Void> fut = session.connect("tcp://127.0.0.1:9559"); synchronized(fut) { fut.wait(1000); } com.aldebara...
examples/sayhello/SayHello.java
Add a simple example
examples/sayhello/SayHello.java
Add a simple example
<ide><path>xamples/sayhello/SayHello.java <add>import com.aldebaran.qimessaging.*; <add>public class SayHello { <add> <add> public static void main(String[] args) throws Exception { <add> Application app = new Application(args); <add> Session session = new Session(); <add> Future<Void> fut = session.connect("tcp://1...
JavaScript
mit
adb278847b625d57ca96de16f829033c08265334
0
agzamovr/w2ui,mpf82/w2ui,cristianofx/w2ui,wolfmanx/w2ui,ceedriic/w2ui,aadrian/w2ui,Ebiroll/w2ui,ceedriic/w2ui,fosfozol/w2ui,vitmalina/w2ui,fosfozol/w2ui,Connum/w2ui,mpinkston/w2ui,wolfmanx/w2ui,fosfozol/w2ui,agzamovr/w2ui,Connum/w2ui,fosfozol/w2ui,mpf82/w2ui,agzamovr/w2ui,cristianofx/w2ui,Ebiroll/w2ui,mpf82/w2ui,vitmal...
/************************************************************************ * Library: Web 2.0 UI for jQuery (using prototypical inheritance) * - Following objects defined * - w2field - various field controls * - $().w2field - jQuery wrapper * - Dependencies: jQuery, w2utils * * == NICE TO H...
src/w2fields.js
/************************************************************************ * Library: Web 2.0 UI for jQuery (using prototypical inheritance) * - Following objects defined * - w2field - various field controls * - $().w2field - jQuery wrapper * - Dependencies: jQuery, w2utils * * == NICE TO H...
Fixed issue #1067
src/w2fields.js
Fixed issue #1067
<ide><path>rc/w2fields.js <ide> // need to be here for ipad compa <ide> if ([16, 17, 18, 20, 37, 39, 91].indexOf(event.keyCode) == -1) { // no refreah on crtl, shift, left/right arrows, etc <ide> var input = $(this.helpers.focus).find('input'); <add> ...
JavaScript
mit
154507dd40103ff67fc135547dd996070868bc6f
0
webignition/simplytestable.com,webignition/simplytestable.com,webignition/simplytestable.com
$(document).ready(function() { if ($('body.homepage').length) { var taskFinishedStates = [ 'cancelled', 'completed', 'failed-no-retry-available', 'failed-retry-available', 'failed-retry-limit-reached', 'skipped', 'fai...
src/SimplyTestable/WebsiteBundle/Resources/public/js/app.js
$(document).ready(function() { if ($('body.homepage').length) { var taskFinishedStates = [ 'cancelled', 'completed', 'failed-no-retry-available', 'failed-retry-available', 'failed-retry-limit-reached', 'skipped', 'fai...
Fix retrieval of recent tests following change to core app api
src/SimplyTestable/WebsiteBundle/Resources/public/js/app.js
Fix retrieval of recent tests following change to core app api
<ide><path>rc/SimplyTestable/WebsiteBundle/Resources/public/js/app.js <ide> var recentSiteTestsList = $('#recent-site-tests-list'); <ide> recentSiteTestsList.html(''); <ide> <del> $(data).each(function () { <add> $(data.jobs).each(function () { <ide> ...
Java
mit
b5aa23970f2da6fb6ddc0235243c9b7dd5d04c73
0
AlexxEG/G2_Skin_Tweaks
package com.gmail.alexellingsen.g2skintweaks; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.OnSharedPreferenceChangeListener; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.net.Uri...
src/com/gmail/alexellingsen/g2skintweaks/MainActivity.java
package com.gmail.alexellingsen.g2skintweaks; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.content.SharedPreferences.OnSharedPreferenceChangeListener; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.net.Uri...
Create 'prepareFolder' method & create .nomedia file
src/com/gmail/alexellingsen/g2skintweaks/MainActivity.java
Create 'prepareFolder' method & create .nomedia file
<ide><path>rc/com/gmail/alexellingsen/g2skintweaks/MainActivity.java <ide> import it.gmariotti.android.colorpicker.calendarstock.ColorPickerSwatch; <ide> <ide> import java.io.File; <add>import java.io.IOException; <ide> import java.util.Arrays; <ide> <ide> public class MainActivity extends PreferenceActivity { <ide> ...
Java
mit
99a5a8cf89085e7192e3586b53190ba6eabf6d0b
0
backpaper0/sandbox,backpaper0/sandbox,backpaper0/sandbox,backpaper0/sandbox,backpaper0/sandbox,backpaper0/sandbox,backpaper0/sandbox,backpaper0/sandbox
import static java.util.stream.Collectors.joining; import java.util.Iterator; import java.util.Objects; import java.util.Spliterators; import java.util.Spliterators.AbstractSpliterator; import java.util.function.Consumer; import java.util.stream.Stream; import java.util.stream.StreamSupport; /** * Stream APIでScalaのL...
garakuta/src/main/java/StreamDropExample.java
import static java.util.stream.Collectors.joining; import java.util.Iterator; import java.util.Objects; import java.util.Spliterators; import java.util.Spliterators.AbstractSpliterator; import java.util.function.Consumer; import java.util.stream.Stream; import java.util.stream.StreamSupport; /** * Stream APIでScalaのL...
変数名よ乁( ˙ω˙ )厂
garakuta/src/main/java/StreamDropExample.java
変数名よ乁( ˙ω˙ )厂
<ide><path>arakuta/src/main/java/StreamDropExample.java <ide> Stream<Integer> original = Stream.iterate(1, a -> a + 1); <ide> <ide> //先頭から5つ飛ばす <del> Stream<Integer> s = drop(original, 5); <add> Stream<Integer> stream = drop(original, 5); <ide> <ide> //5つ取り出してカンマ区切りの文字列にする <del> ...
Java
apache-2.0
21c96b765718e2efbc65a2c6b8ed09ba9d589888
0
LucidDB/luciddb,LucidDB/luciddb,LucidDB/luciddb,LucidDB/luciddb,LucidDB/luciddb,LucidDB/luciddb,LucidDB/luciddb,LucidDB/luciddb,LucidDB/luciddb
/* // $Id$ // Farrago is an extensible data management system. // Copyright (C) 2005-2007 The Eigenbase Project // Copyright (C) 2005-2007 Disruptive Tech // Copyright (C) 2005-2007 LucidEra, Inc. // // This program is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public ...
farrago/src/net/sf/farrago/ddl/DdlGrantRoleStmt.java
/* // $Id$ // Farrago is an extensible data management system. // Copyright (C) 2005-2007 The Eigenbase Project // Copyright (C) 2005-2007 Disruptive Tech // Copyright (C) 2005-2007 LucidEra, Inc. // // This program is free software; you can redistribute it and/or modify it // under the terms of the GNU General Public ...
FARRAGO: actually add review comment on potential optimization [git-p4: depot-paths = "//open/dev/": change = 11365]
farrago/src/net/sf/farrago/ddl/DdlGrantRoleStmt.java
FARRAGO: actually add review comment on potential optimization
<ide><path>arrago/src/net/sf/farrago/ddl/DdlGrantRoleStmt.java <ide> // model change! <ide> <ide> for (SqlIdentifier granteeId : granteeList) { <add> // REVIEW: SWZ: 2008-07-29: getAuthIdByName most certainly does <add> // not create an AuthId if it does not exist. An optimizatio...
JavaScript
mit
5399c8f57ffc7f5f111c1802b5e32d4cfc9a8c72
0
DecentralizedAmateurPagingNetwork/Web,DecentralizedAmateurPagingNetwork/Web,DecentralizedAmateurPagingNetwork/Web
// https://eslint.org/docs/user-guide/configuring module.exports = { root: true, parserOptions: { parser: 'babel-eslint' }, env: { browser: true, }, extends: [ // https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention // consider switching to `plugin:vue/strongly-recommended` or...
.eslintrc.js
// https://eslint.org/docs/user-guide/configuring module.exports = { root: true, parserOptions: { parser: 'babel-eslint' }, env: { browser: true, }, extends: [ // https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention // consider switching to `plugin:vue/strongly-recommended` or...
Re-enabled vue/script-indent rule
.eslintrc.js
Re-enabled vue/script-indent rule
<ide><path>eslintrc.js <ide> 'space-before-function-paren': ['error', 'never'], <ide> <ide> }, <del> "overrides": [{ <del> "files": ["*.vue"], <del> "rules": { <del> "indent": "off", <del> // TODO: re-enable this rule after https://github.com/vuejs/eslint-plugin-vue/issues/407 is fixed <del> // 'vue/script-...
Java
mit
0bbeda914221b45801416c771b95e6fa177aa0c0
0
johnjohndoe/AntennaPod,johnjohndoe/AntennaPod,johnjohndoe/AntennaPod,johnjohndoe/AntennaPod
package de.danoeh.antennapod.adapter; import android.app.Activity; import android.content.SharedPreferences; import android.content.res.TypedArray; import android.graphics.drawable.Drawable; import android.view.LayoutInflater; import androidx.annotation.NonNull; import androidx.preference.PreferenceManager; import and...
app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java
package de.danoeh.antennapod.adapter; import android.app.Activity; import android.content.SharedPreferences; import android.content.res.TypedArray; import android.graphics.drawable.Drawable; import androidx.annotation.NonNull; import androidx.preference.PreferenceManager; import android.util.TypedValue; import android...
Fixed nav item width
app/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java
Fixed nav item width
<ide><path>pp/src/main/java/de/danoeh/antennapod/adapter/NavListAdapter.java <ide> import android.content.SharedPreferences; <ide> import android.content.res.TypedArray; <ide> import android.graphics.drawable.Drawable; <add>import android.view.LayoutInflater; <ide> import androidx.annotation.NonNull; <ide> import andro...
Java
apache-2.0
1d4e76ff79a548f5408e0ac607708e8e8e532929
0
milchakov/omim,darina/omim,milchakov/omim,mpimenov/omim,mpimenov/omim,darina/omim,darina/omim,rokuz/omim,mapsme/omim,mpimenov/omim,milchakov/omim,mpimenov/omim,mapsme/omim,rokuz/omim,matsprea/omim,rokuz/omim,darina/omim,mapsme/omim,mapsme/omim,mapsme/omim,darina/omim,mpimenov/omim,mapsme/omim,mpimenov/omim,rokuz/omim,r...
package com.mapswithme.maps.widget.placepage; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.res.Resources; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.drawable.Drawable; import andr...
android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java
package com.mapswithme.maps.widget.placepage; import android.app.Activity; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.res.Resources; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.drawable.Drawable; import andr...
[android] Added hidding of place description view if bookmark has its own
android/src/com/mapswithme/maps/widget/placepage/PlacePageView.java
[android] Added hidding of place description view if bookmark has its own
<ide><path>ndroid/src/com/mapswithme/maps/widget/placepage/PlacePageView.java <ide> <ide> private void setPlaceDescription(@NonNull MapObject mapObject) <ide> { <del> boolean isDescriptionAbsent = TextUtils.isEmpty(mapObject.getDescription()); <del> UiUtils.hideIf(isDescriptionAbsent, mPlaceDescriptionContai...
Java
apache-2.0
b505e4a1f93fc9e8d37631ff6bf02064a10860a9
0
spring-cloud/spring-cloud-sleuth,spring-cloud/spring-cloud-sleuth,marcingrzejszczak/spring-cloud-sleuth,spring-cloud/spring-cloud-sleuth,marcingrzejszczak/spring-cloud-sleuth,spring-cloud/spring-cloud-sleuth,marcingrzejszczak/spring-cloud-sleuth,spring-cloud/spring-cloud-sleuth,marcingrzejszczak/spring-cloud-sleuth
/* * Copyright 2013-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/web/TraceFilter.java
/* * Copyright 2013-2016 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Propagating exceptions in trace filter without this change any exception occurring while creating a span will be swallowed. with this change we're propagating the exception so that it gets handled properly. fixes #426
spring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/web/TraceFilter.java
Propagating exceptions in trace filter
<ide><path>pring-cloud-sleuth-core/src/main/java/org/springframework/cloud/sleuth/instrument/web/TraceFilter.java <ide> */ <ide> package org.springframework.cloud.sleuth.instrument.web; <ide> <add>import java.io.IOException; <add>import java.lang.invoke.MethodHandles; <add>import java.util.ArrayList; <add>import java...
Java
agpl-3.0
d2929b36f881457debb256cd32a96a542086499e
0
OPEN-ENT-NG/forum,OPEN-ENT-NG/forum,OPEN-ENT-NG/forum,OPEN-ENT-NG/forum,OPEN-ENT-NG/forum
package fr.wseduc.forum.controllers.helpers; import static org.entcore.common.http.response.DefaultResponseHandler.arrayResponseHandler; import static org.entcore.common.http.response.DefaultResponseHandler.defaultResponseHandler; import static org.entcore.common.http.response.DefaultResponseHandler.notEmptyResponseHa...
src/main/java/fr/wseduc/forum/controllers/helpers/CategoryHelper.java
package fr.wseduc.forum.controllers.helpers; import static org.entcore.common.http.response.DefaultResponseHandler.arrayResponseHandler; import static org.entcore.common.http.response.DefaultResponseHandler.defaultResponseHandler; import static org.entcore.common.http.response.DefaultResponseHandler.notEmptyResponseHa...
#1475 [Forum] Notification service - Unique filter for all notifications in timeline
src/main/java/fr/wseduc/forum/controllers/helpers/CategoryHelper.java
#1475 [Forum] Notification service - Unique filter for all notifications in timeline
<ide><path>rc/main/java/fr/wseduc/forum/controllers/helpers/CategoryHelper.java <ide> private ShareService shareService; <ide> <ide> private static final String CATEGORY_ID_PARAMETER = "id"; <add> private static final String EVENT_TYPE = "FORUM"; <ide> <ide> public CategoryHelper(final String managedCollection, fi...
Java
apache-2.0
2cc75e3fe186583e4f6fbbb1f4c0acdf31a2aba9
0
stack/Rose
package net.shortround.rose; import java.util.ArrayList; import org.json.JSONException; import org.json.JSONObject; import android.animation.Animator; import android.animation.Animator.AnimatorListener; import android.animation.ValueAnimator; import android.animation.ValueAnimator.AnimatorUpdateListener; import andr...
src/net/shortround/rose/RoseView.java
package net.shortround.rose; import java.util.ArrayList; import org.json.JSONException; import org.json.JSONObject; import android.animation.Animator; import android.animation.Animator.AnimatorListener; import android.animation.ValueAnimator; import android.animation.ValueAnimator.AnimatorUpdateListener; import andr...
Added variance to the petal animation
src/net/shortround/rose/RoseView.java
Added variance to the petal animation
<ide><path>rc/net/shortround/rose/RoseView.java <ide> <ide> // Set the proper offset and scale <ide> canvas.translate(position[0], position[1]); <del> canvas.scale(scale, scale); <add> if (decay % 2 == 0) { <add> canvas.scale(scale, scale); <add> } else { <add> canvas.scale(scale * -1.0f, scale); <add> }...
Java
apache-2.0
8801754a46e545fac9c2a3b636d28e1001393f11
0
calvinjia/tachyon,jswudi/alluxio,wwjiang007/alluxio,ShailShah/alluxio,Alluxio/alluxio,Reidddddd/mo-alluxio,ShailShah/alluxio,apc999/alluxio,uronce-cc/alluxio,maboelhassan/alluxio,EvilMcJerkface/alluxio,ChangerYoung/alluxio,madanadit/alluxio,ChangerYoung/alluxio,jswudi/alluxio,yuluo-ding/alluxio,jsimsa/alluxio,Alluxio/a...
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
core/server/src/test/java/alluxio/worker/file/UnderFileSystemManagerTest.java
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
Remove use of whitebox in UnderFileSystemManagerTest
core/server/src/test/java/alluxio/worker/file/UnderFileSystemManagerTest.java
Remove use of whitebox in UnderFileSystemManagerTest
<ide><path>ore/server/src/test/java/alluxio/worker/file/UnderFileSystemManagerTest.java <ide> import org.junit.rules.ExpectedException; <ide> import org.junit.runner.RunWith; <ide> import org.mockito.Mockito; <del>import org.mockito.internal.util.reflection.Whitebox; <ide> import org.mockito.invocation.InvocationOnMock...
JavaScript
isc
d7cf84c095d9651e46586f6bc17307ce121f3fd1
0
klaseskilson/TNM084-my-little-planet,klaseskilson/TNM084-my-little-planet
var InputControl = function(domElement, uniforms) { var self = this; self.uniforms = {}; self.domElement = domElement || body; if (uniforms && Array.isArray(uniforms)) { _.each(uniforms, function (group) { _.each(group, function (uniform, key) { self.uniforms[key] = uniform; }); }); ...
src/controls.js
var InputControl = function(domElement, uniforms) { var self = this; self.uniforms = {}; self.domElement = domElement || body; if (uniforms && Array.isArray(uniforms)) { _.each(uniforms, function (group) { _.each(group, function (uniform, key) { self.uniforms[key] = uniform; }); }); ...
Improve readanility in `startSpecificListeners`
src/controls.js
Improve readanility in `startSpecificListeners`
<ide><path>rc/controls.js <ide> var temperature = 18; <ide> var humidity = 0.4; <ide> <del> // all the other event listeners <del> _.each([{ <add> var listeners = [{ <ide> selector: '#atmosphereColor', <ide> callback: self.colorCallback('atmosphereColor') <ide> }, { <ide> }); <...
JavaScript
bsd-3-clause
cf079109d720b07925f221635ea5c80b0d882ae8
0
enricoberti/ace,sbusso/ace,mrlong/ace,skynetbot/ace,ggalancs/ace,taylorleh/ace,PatrickTo/ace,jabgibson/ace,dudb/ace,EthanK28/ace,1ec5/ace,wcandillon/ace,durai145/ace,jjatria/ace,l3dlp/ace,Amrit01/ace,shidao-fm/ace,yingted/ace,itsff/ace,Nicholas-Westley/ace,tranch-xiao/ace,STRd6/ace,derekja/ace,2947721120/ACE,Nicholas-W...
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2010, Ajax.org B.V. * 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 so...
lib/ace/editor.js
/* ***** BEGIN LICENSE BLOCK ***** * Distributed under the BSD license: * * Copyright (c) 2010, Ajax.org B.V. * 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 so...
Stash
lib/ace/editor.js
Stash
<ide><path>ib/ace/editor.js <ide> } <ide> if (shouldOutdent) <ide> mode.autoOutdent(lineState, session, cursor.row); <add> <add> if (true || this.session.getElasticTabstops()) { <add> var row = 0, rows = this.session.getLength(), <add> tabString = "\t"; <add>...
Java
mit
c99bd64806f6f04a875be24ac2e9f543be9dfeda
0
cemrich/zapp
package de.christinecoenen.code.zapp.app.mediathek.model; import android.text.TextUtils; import android.text.format.DateUtils; import com.google.gson.annotations.SerializedName; import org.apache.commons.io.FilenameUtils; import org.joda.time.DateTimeZone; import org.joda.time.Duration; import org.joda.time.Period;...
app/src/main/java/de/christinecoenen/code/zapp/app/mediathek/model/MediathekShow.java
package de.christinecoenen.code.zapp.app.mediathek.model; import android.text.TextUtils; import android.text.format.DateUtils; import com.google.gson.annotations.SerializedName; import org.apache.commons.io.FilenameUtils; import org.joda.time.DateTimeZone; import org.joda.time.Duration; import org.joda.time.Period;...
Fix bug where slash in file name would cause directory creation #101
app/src/main/java/de/christinecoenen/code/zapp/app/mediathek/model/MediathekShow.java
Fix bug where slash in file name would cause directory creation #101
<ide><path>pp/src/main/java/de/christinecoenen/code/zapp/app/mediathek/model/MediathekShow.java <ide> <ide> private String getDownloadFileName(String videoUrl) { <ide> String extension = FilenameUtils.getExtension(videoUrl); <del> return title + "." + extension; <add> String fileName = title.replace("/", "-"); <a...
Java
mit
2a33ddca0bbd0d2ef71adc92a11c928e08b8cc45
0
angular/ng-closure-runner,angular/ng-closure-runner
package org.angularjs.closurerunner; import com.google.javascript.jscomp.AbstractCompiler; import com.google.javascript.jscomp.CompilerPass; import com.google.javascript.jscomp.DiagnosticType; import com.google.javascript.jscomp.JsAst; import com.google.javascript.jscomp.JSError; import com.google.javascript.jscomp.No...
src/org/angularjs/closurerunner/MinerrPass.java
package org.angularjs.closurerunner; import com.google.javascript.jscomp.AbstractCompiler; import com.google.javascript.jscomp.CompilerPass; import com.google.javascript.jscomp.DiagnosticType; import com.google.javascript.jscomp.JsAst; import com.google.javascript.jscomp.JSError; import com.google.javascript.jscomp.No...
style(MinerrPass): remove unnecessary \" wrapping MINERR_URL In the MINERR_SOURCE template, there is a placeholder that will be replaced with a url that is passed into the tool. Currently the placeholder is \"MINERR_URL\". The extra escaped quotes are not necessary and can be confusing, given that the template is al...
src/org/angularjs/closurerunner/MinerrPass.java
style(MinerrPass): remove unnecessary \" wrapping MINERR_URL
<ide><path>rc/org/angularjs/closurerunner/MinerrPass.java <ide> " prefix = '[' + (module ? module + ':' : '') + code + '] ',\n" + <ide> " message,\n" + <ide> " i = 1;\n" + <del> " message = prefix + '\"MINERR_URL\"' + (module ? module + '/' : '') + code;\n" + <add> " message = pre...
Java
agpl-3.0
229842a943c11ab8c6cd6c24f96387e2c9e82785
0
WASP-System/central,WASP-System/central,WASP-System/central,WASP-System/central,WASP-System/central,WASP-System/central
package edu.yu.einstein.wasp.service.impl; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.WordUtils; im...
wasp-core/src/main/java/edu/yu/einstein/wasp/service/impl/MetaMessageServiceImpl.java
package edu.yu.einstein.wasp.service.impl; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.UUID; import org.apache.commons.lang.StringUtils; import org.apache.commons.lang.WordUtils; im...
andy fixed 2
wasp-core/src/main/java/edu/yu/einstein/wasp/service/impl/MetaMessageServiceImpl.java
andy fixed 2
<ide><path>asp-core/src/main/java/edu/yu/einstein/wasp/service/impl/MetaMessageServiceImpl.java <ide> } <ide> <ide> private <T extends MetaBase> MetaMessage getMetaMessage(T meta){ <del> MetaMessage message = null; <del> String metaKey = meta.getK(); <del> String nameAndValue = meta.getV(); <del> if (metaKey.st...
Java
apache-2.0
f705d6deadae7afc4203cd58d23ac1c4385d6df4
0
wso2/wso2-axis2-transports,wso2/wso2-axis2-transports
/* * 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")...
modules/jms/src/main/java/org/apache/axis2/transport/jms/ServiceTaskManager.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")...
Revert "Fix JMS proxy retrying forever even after undeploy"
modules/jms/src/main/java/org/apache/axis2/transport/jms/ServiceTaskManager.java
Revert "Fix JMS proxy retrying forever even after undeploy"
<ide><path>odules/jms/src/main/java/org/apache/axis2/transport/jms/ServiceTaskManager.java <ide> private static final int STATE_PAUSED = 2; <ide> /** The Task manager is started, but a shutdown has been requested */ <ide> private static final int STATE_SHUTTING_DOWN = 3; <add> /** The Task manager has en...
Java
apache-2.0
a618973414dde60342b0635a24daefd59d77aaca
0
flyway/flyway,flyway/flyway
/* * Copyright 2010-2019 Boxfuse GmbH * * 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 ...
flyway-core/src/main/java/org/flywaydb/core/internal/database/mysql/MySQLDatabase.java
/* * Copyright 2010-2019 Boxfuse GmbH * * 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 ...
Fixed #2535 CREATE TABLE AS SELECT invalid for MySQL when enforcing GTID consistency
flyway-core/src/main/java/org/flywaydb/core/internal/database/mysql/MySQLDatabase.java
Fixed #2535 CREATE TABLE AS SELECT invalid for MySQL when enforcing GTID consistency
<ide><path>lyway-core/src/main/java/org/flywaydb/core/internal/database/mysql/MySQLDatabase.java <ide> private final boolean pxcStrict; <ide> <ide> /** <add> * Whether this database is enforcing GTID consistency. <add> */ <add> private final boolean gtidConsistencyEnforced; <add> <add> /** <ide> ...
Java
mit
9fc3635804e8e8aff51ad2ee4b121dd4af38b260
0
sandorw/mocabogaso
package com.github.sandorw.mocabogaso.games.tictactoe; import static org.junit.Assert.*; import org.junit.Test; import com.github.sandorw.mocabogaso.Game; import com.github.sandorw.mocabogaso.games.GameResult; import com.github.sandorw.mocabogaso.games.defaults.DefaultGameMove; import com.github.sandorw.mocabogaso.g...
src/test/java/com/github/sandorw/mocabogaso/games/tictactoe/TicTacToeGameStateTest.java
package com.github.sandorw.mocabogaso.games.tictactoe; import static org.junit.Assert.*; import org.junit.Test; import com.github.sandorw.mocabogaso.Game; import com.github.sandorw.mocabogaso.games.GameResult; import com.github.sandorw.mocabogaso.games.defaults.DefaultGameMove; import com.github.sandorw.mocabogaso.g...
Adding missing class docs
src/test/java/com/github/sandorw/mocabogaso/games/tictactoe/TicTacToeGameStateTest.java
Adding missing class docs
<ide><path>rc/test/java/com/github/sandorw/mocabogaso/games/tictactoe/TicTacToeGameStateTest.java <ide> import com.github.sandorw.mocabogaso.games.mnkgame.MNKGameState; <ide> import com.github.sandorw.mocabogaso.players.AIPlayerFactory; <ide> <add>/** <add> * Test cases for TicTacToeGameState <add> * <add> * @author ...
Java
apache-2.0
19af5d5ff01436b5c8a47e907895f7210aaeb9f7
0
katsuster/ememu,katsuster/ememu
package net.katsuster.ememu.riscv.core; import net.katsuster.ememu.generic.*; import static net.katsuster.ememu.riscv.core.RV64CSRFile.*; /** * RISC-V 64bit * * RISC-V User-Level ISA V2.2 * RISC-V Privileged ISA V1.10 */ public class RV64 extends CPU64 { //特権レベル public static final int PRIV_U = 0; p...
emu/src/net/katsuster/ememu/riscv/core/RV64.java
package net.katsuster.ememu.riscv.core; import net.katsuster.ememu.generic.*; import static net.katsuster.ememu.riscv.core.RV64CSRFile.*; /** * RISC-V 64bit * * RISC-V User-Level ISA V2.2 * RISC-V Privileged ISA V1.10 */ public class RV64 extends CPU64 { //特権レベル public static final int PRIV_U = 0; p...
riscv: tentative codes for interrupt
emu/src/net/katsuster/ememu/riscv/core/RV64.java
riscv: tentative codes for interrupt
<ide><path>mu/src/net/katsuster/ememu/riscv/core/RV64.java <ide> setPrivMode(PRIV_M); <ide> setPC(0x1004); <ide> setJumped(false); <add> <add> if (getThreadID() == 0) { <add> setPrintInstruction(false); <add> setEnabledDisasm(true); <add> setPrintRegs(fals...
JavaScript
mit
0e0b81a013d712f4628bfc9b2decf1b67bce16a6
0
Stamplay/stamplay-js-sdk,Stamplay/stamplay-js-sdk,Stamplay/stamplay-js-sdk
/** @author Stamplay @version 1.0 @description an awesome javascript sdk for Stamplay */ /* Initizialize library */ (function (root) { /* Inizialization of Stamplay Object */ root.Stamplay = root.Stamplay || {}; /* setting attribute API Version */ root.Stamplay.VERSION = "v0"; }(this)); /* Add function to handl...
src/stamplay.js
/** @author Stamplay @version 1.0 @description an awesome javascript sdk for Stamplay */ /* Initizialize library */ (function (root) { /* Inizialization of Stamplay Object */ root.Stamplay = root.Stamplay || {}; /* setting attribute API Version */ root.Stamplay.VERSION = "v0"; }(this)); /* Add function to handl...
Delete calls will be sent without content type
src/stamplay.js
Delete calls will be sent without content type
<ide><path>rc/stamplay.js <ide> }); <ide> <ide> // Default content-Type <del> req.setRequestHeader('Content-Type', 'application/json') <add> if (options.method && options.method !== 'DELETE') { <add> req.setRequestHeader('Content-Type', 'application/json'); <add> } <ide> <ide> req.onreadystatechange = fu...
JavaScript
mit
823e5843c83680bd0adc055a668ae820b44bbe46
0
greyhwndz/orbit.js,jpvanhal/orbit-core,ProlificLab/orbit.js,lytbulb/orbit-firebase,opsb/orbit-firebase,beni55/orbit.js,opsb/orbit-firebase,gnarf/orbit.js,greyhwndz/orbit.js,SmuliS/orbit.js,SmuliS/orbit.js,lytbulb/orbit.js,orbitjs/orbit.js,jpvanhal/orbit.js,ProlificLab/orbit.js,jpvanhal/orbit.js,orbitjs/orbit-core,lytbu...
import clone from 'orbit/lib/clone'; import diffs from 'orbit/lib/diffs'; var Document = function(data) { this.reset(data); }; Document.prototype = { constructor: Document, reset: function(data) { this._data = data || {}; }, retrieve: function(path) { return this._retrieve(this._normalizePath(path...
src/orbit/orbit/document.js
import clone from 'orbit/lib/clone'; import diffs from 'orbit/lib/diffs'; var Document = function(data) { this.reset(data); }; Document.prototype = { constructor: Document, reset: function(data) { this._data = data || {}; }, retrieve: function(path) { return this._retrieve(this._normalizePath(path...
Introduce public methods for individual transform operations.
src/orbit/orbit/document.js
Introduce public methods for individual transform operations.
<ide><path>rc/orbit/orbit/document.js <ide> return this._retrieve(this._normalizePath(path)); <ide> }, <ide> <del> transform: function(diff) { <del> var path = this._normalizePath(diff.path); <del> <del> if (diff.op === 'add') { <del> this._add(path, diff.value); <del> <del> } else if (diff.op ===...
Java
apache-2.0
65ea65f3f0c45012c74dc5eea6852d92aa1e3819
0
MythTV-Clients/MythTV-Service-API
/** * This file is part of MythTV for Android * * MythTV for Android is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * ...
src/main/java/org/mythtv/services/api/AbstractOperations.java
/** * This file is part of MythTV for Android * * MythTV for Android is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * ...
disabled gzip compression as it does not currently work wityh .26 mythtv backends
src/main/java/org/mythtv/services/api/AbstractOperations.java
disabled gzip compression as it does not currently work wityh .26 mythtv backends
<ide><path>rc/main/java/org/mythtv/services/api/AbstractOperations.java <ide> <ide> HttpHeaders requestHeaders = new HttpHeaders(); <ide> requestHeaders.setAccept( Collections.singletonList( MediaType.APPLICATION_JSON ) ); <del> requestHeaders.setAcceptEncoding( Collections.singletonList( ContentCodingType.GZIP...
Java
apache-2.0
62f794aa6c699cc04b9e8ebd684930cf421f291b
0
ricepanda/rice,ricepanda/rice,ricepanda/rice,ricepanda/rice
package org.kuali.rice.ksb.api.bus; import java.io.Serializable; import java.net.URL; import javax.xml.namespace.QName; import org.kuali.rice.core.api.security.credentials.CredentialsType; /** * An interface which defines common configuration information for all services. * Specific implementations might add addi...
ksb/api/src/main/java/org/kuali/rice/ksb/api/bus/ServiceConfiguration.java
package org.kuali.rice.ksb.api.bus; import java.io.Serializable; import java.net.URL; import javax.xml.namespace.QName; import org.kuali.rice.core.api.security.credentials.CredentialsType; public interface ServiceConfiguration extends Serializable { QName getServiceName(); URL getEndpointUrl(); String getApplic...
KULRICE-4816 - javadoc'd ServiceConfiguration git-svn-id: 2a5d2b5a02908a0c4ba7967b726d8c4198d1b9ed@20804 7a7aa7f6-c479-11dc-97e2-85a2497f191d
ksb/api/src/main/java/org/kuali/rice/ksb/api/bus/ServiceConfiguration.java
KULRICE-4816 - javadoc'd ServiceConfiguration
<ide><path>sb/api/src/main/java/org/kuali/rice/ksb/api/bus/ServiceConfiguration.java <ide> <ide> import org.kuali.rice.core.api.security.credentials.CredentialsType; <ide> <add>/** <add> * An interface which defines common configuration information for all services. <add> * Specific implementations might add addition...
Java
apache-2.0
749a81489ce6c5812147151692d1df9455ed1f37
0
gbif/gbif-api
/* * Copyright 2014 Global Biodiversity Information Facility (GBIF) * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by appli...
src/main/java/org/gbif/api/model/occurrence/Occurrence.java
/* * Copyright 2014 Global Biodiversity Information Facility (GBIF) * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by appli...
Spelling
src/main/java/org/gbif/api/model/occurrence/Occurrence.java
Spelling
<ide><path>rc/main/java/org/gbif/api/model/occurrence/Occurrence.java <ide> @Nullable <ide> /** <ide> * The uncertainty for latitude in decimal degrees. <del> * Note that the longitude degrees have a different accurracy in degrees which changes with latitude and is largest at the poles. <add> * Note that the...
Java
mit
9ca0f5771d233918bc2c264f3fc96681c38d16b6
0
980f/ezjava,980f/ezjava
package pers.hal42.lang; import pers.hal42.logging.ErrorLogStream; import pers.hal42.text.TextList; import pers.hal42.transport.EasyCursor; import java.lang.annotation.*; import java.lang.reflect.*; import java.util.Iterator; /** * Utilities to ease use of reflection. * <p> * todo:2 get rid of debug class use by ...
src/pers/hal42/lang/ReflectX.java
package pers.hal42.lang; import pers.hal42.logging.ErrorLogStream; import pers.hal42.text.TextList; import pers.hal42.transport.EasyCursor; import java.lang.annotation.*; import java.lang.reflect.*; import java.util.Iterator; /** * Utilities to ease use of reflection. * <p> * todo:2 get rid of debug class use by ...
elide rssids without pdf's for the given quarter.
src/pers/hal42/lang/ReflectX.java
elide rssids without pdf's for the given quarter.
<ide><path>rc/pers/hal42/lang/ReflectX.java <ide> // I exist for static reasons only. <ide> } <ide> <add> @SuppressWarnings("unchecked") <add> public static <T> T CopyConstruct(T prefill) throws IllegalAccessException, InvocationTargetException, InstantiationException { <add> Constructor<T> maker = construc...
Java
mit
d9be7505a3c82e5fc5b2efebc95dd5b56bdba5ab
0
JCThePants/NucleusFramework,JCThePants/NucleusFramework
/* * This file is part of GenericsLib for Bukkit, licensed under the MIT License (MIT). * * Copyright (c) JCThePants (www.jcwhatever.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 Softw...
src/com/jcwhatever/bukkit/generic/commands/response/CommandRequests.java
/* * This file is part of GenericsLib for Bukkit, licensed under the MIT License (MIT). * * Copyright (c) JCThePants (www.jcwhatever.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 Softw...
minor cleanup
src/com/jcwhatever/bukkit/generic/commands/response/CommandRequests.java
minor cleanup
<ide><path>rc/com/jcwhatever/bukkit/generic/commands/response/CommandRequests.java <ide> <ide> private CommandRequests() {} <ide> <del> @Localizable private static final String _MULTIPLE_REQUESTS = "{YELLOW}Multiple requests for response found. " + <add> @Localizable private static final String _MULTIPLE_RE...
Java
apache-2.0
02f9d13b729a4babdf414584a1bb9138a4743f19
0
fge/grappa,fge/grappa
/* * Copyright (C) 2009-2011 Mathias Doenitz * * 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 a...
src/main/java/org/parboiled/common/Factory.java
/* * Copyright (C) 2009-2011 Mathias Doenitz * * 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 a...
Factory: add comments
src/main/java/org/parboiled/common/Factory.java
Factory: add comments
<ide><path>rc/main/java/org/parboiled/common/Factory.java <ide> <ide> package org.parboiled.common; <ide> <add>import org.objectweb.asm.ClassWriter; <add>import org.parboiled.transform.BaseVarInit; <add>import org.parboiled.transform.InstructionGroup; <add>import org.parboiled.transform.VarInitClassGenerator; <add> <...
JavaScript
mit
5b3b9d30c8af0f557d1700829b64c59584aee247
0
John-Lin/shipyard.js
var request = require('request'); var httpStatus = require('http-status'); function ShipyardJS(host, key) { this.SERVICE_KEY = key; this.HOST = host; } ShipyardJS.prototype.listContainers = function(callback) { request.get( { url: 'http://' + this.HOST + '/api/containers', headers: {'X-Service-K...
index.js
var request = require('request'); var httpStatus = require('http-status'); function ShipyardJS(host, key) { this.SERVICE_KEY = key; this.HOST = host; } ShipyardJS.prototype.listContainers = function(callback) { request.get( { url: 'http://' + this.HOST + '/api/containers', headers: {'X-Service-K...
use === instead of ==
index.js
use === instead of ==
<ide><path>ndex.js <ide> headers: {'X-Service-Key': this.SERVICE_KEY}, <ide> }, <ide> function(error, response, body) { <del> if (!error && response.statusCode == 200) { <add> if (!error && response.statusCode === 200) { <ide> var res = JSON.parse(body); <ide> callback(null, res)...
Java
mit
d6527e59e7841370d5d6608ffe7e86137f8cf10c
0
DemigodsRPG/Demigods3
package com.censoredsoftware.Demigods.Engine.Object.Structure; import java.util.HashSet; import java.util.List; import java.util.Set; import org.bukkit.Location; import org.bukkit.Material; import redis.clients.johm.*; import com.censoredsoftware.Demigods.Engine.Demigods; import com.censoredsoftware.Demigods.Engine...
src/main/java/com/censoredsoftware/Demigods/Engine/Object/Structure/StructureSave.java
package com.censoredsoftware.Demigods.Engine.Object.Structure; import java.util.HashSet; import java.util.List; import java.util.Set; import org.bukkit.Location; import org.bukkit.Material; import redis.clients.johm.*; import com.censoredsoftware.Demigods.Engine.Demigods; import com.censoredsoftware.Demigods.Engine...
More.
src/main/java/com/censoredsoftware/Demigods/Engine/Object/Structure/StructureSave.java
More.
<ide><path>rc/main/java/com/censoredsoftware/Demigods/Engine/Object/Structure/StructureSave.java <ide> { <ide> Demigods.message.broadcast("Adding flag! " + flag.name()); <ide> this.flags.add(flag.name()); <add> } <add> <add> for(String flag : this.flags) <add> { <add> Demigods.message.broadcast("Flag added...
Java
apache-2.0
0ada28abc97e1b54833b98340a43e09c948a7e25
0
sekikn/ambari,sekikn/ambari,alexryndin/ambari,arenadata/ambari,sekikn/ambari,alexryndin/ambari,radicalbit/ambari,radicalbit/ambari,alexryndin/ambari,alexryndin/ambari,arenadata/ambari,alexryndin/ambari,radicalbit/ambari,arenadata/ambari,sekikn/ambari,sekikn/ambari,radicalbit/ambari,arenadata/ambari,sekikn/ambari,alexry...
/** * 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...
contrib/views/hive/src/main/java/org/apache/ambari/view/hive/resources/uploads/UploadService.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...
AMBARI-13988. Hive View : Upload Table Tab : if selected datatabase is default then data does not show in table. (Nitiraj Rathore via yusaku)
contrib/views/hive/src/main/java/org/apache/ambari/view/hive/resources/uploads/UploadService.java
AMBARI-13988. Hive View : Upload Table Tab : if selected datatabase is default then data does not show in table. (Nitiraj Rathore via yusaku)
<ide><path>ontrib/views/hive/src/main/java/org/apache/ambari/view/hive/resources/uploads/UploadService.java <ide> <ide> final private String HIVE_META_STORE_LOCATION_KEY = "hive.metastore.warehouse.dir"; <ide> final private String HIVE_SITE = "hive-site"; <add> final private String HIVE_DEFAULT_DB = "default"; <i...