hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
bbe778863fe8895333bb11ecb849cd2646771723
diff --git a/replication.go b/replication.go index <HASH>..<HASH> 100644 --- a/replication.go +++ b/replication.go @@ -201,18 +201,6 @@ func (rc *ReplicationConn) SendStandbyStatus(k *StandbyStatus) (err error) { return } -func (rc *ReplicationConn) Close() error { - return rc.Close() -} - -func (rc *ReplicationCo...
Remove Conn methods on ReplicationConn Fixes infinite loop when any of the removed methods is called.
jackc_pgx
train
1a33d9c42df6db76eb3414c93390fbff17ec4920
diff --git a/lib/xpm/install.js b/lib/xpm/install.js index <HASH>..<HASH> 100644 --- a/lib/xpm/install.js +++ b/lib/xpm/install.js @@ -374,6 +374,13 @@ class Install extends CliCommand { const globalJson = await this.xpack.isFolderPackage(globalPackagePath) if (globalJson) { if (config.doForce) { + ...
xpm/install: call chmodRecursive in install -f
xpack_xpm-js
train
cbb468fc6ad77f3b92c9854ceb0b0d789c0b9c69
diff --git a/lib/kafka/protocol/encoder.rb b/lib/kafka/protocol/encoder.rb index <HASH>..<HASH> 100644 --- a/lib/kafka/protocol/encoder.rb +++ b/lib/kafka/protocol/encoder.rb @@ -2,11 +2,10 @@ require "stringio" module Kafka module Protocol - VARINT_MASK = 0b10000000 - # An encoder wraps an IO object, mak...
Support signed number for varint in encoder
zendesk_ruby-kafka
train
90c2309bf1078cfd833ac7ff28e1635bde142a95
diff --git a/src/Query/Geo/GeoShapeQuery.php b/src/Query/Geo/GeoShapeQuery.php index <HASH>..<HASH> 100644 --- a/src/Query/Geo/GeoShapeQuery.php +++ b/src/Query/Geo/GeoShapeQuery.php @@ -23,6 +23,11 @@ class GeoShapeQuery implements BuilderInterface { use ParametersTrait; + const INTERSECTS = 'intersects'; +...
implemented relation for geo_shape query (#<I>) * implemented relation for geo_shape query * switched position and coordinates parameters * Switched parameters for tests as well * Deprecated parameter position * Overwrite relation
ongr-io_ElasticsearchDSL
train
068426ae3ea810290f053c4e06dbdaf59ffa5f5f
diff --git a/src/attributesDecorator.js b/src/attributesDecorator.js index <HASH>..<HASH> 100644 --- a/src/attributesDecorator.js +++ b/src/attributesDecorator.js @@ -1,7 +1,11 @@ const { normalizeSchema } = require('./schemaNormalization'); const { getInitialValues } = require('./initialValueCreation'); const { SCH...
Add toJSON() method to structures
talyssonoc_structure
train
e6c9b838d1e28b3f3db3869dfe898362edb3d526
diff --git a/src/Atomium/Atomium.php b/src/Atomium/Atomium.php index <HASH>..<HASH> 100644 --- a/src/Atomium/Atomium.php +++ b/src/Atomium/Atomium.php @@ -148,8 +148,10 @@ class Atomium protected function name($name = null) { $filename = is_null($name) ? $this->filename() : $name; + $hash = Hash::make($file...
fixa bug in atomium surface
vinala_kernel
train
4ee77d5c6e015f1368d47c82f2ea046a9fecad0d
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -135,7 +135,7 @@ module.exports.use = function(opts, done) { if (pkg.version === v) { debug('already using ' + v); - return done(); + return done(null, pkg); } async.series([ ...
Fixed downloader and part of extractor
mongodb-js_version-manager
train
a664601ccfb1b61e107971a140b60f12b89ebba3
diff --git a/src/rfxengine/db/mxsql.py b/src/rfxengine/db/mxsql.py index <HASH>..<HASH> 100644 --- a/src/rfxengine/db/mxsql.py +++ b/src/rfxengine/db/mxsql.py @@ -133,10 +133,22 @@ class Interface(pool.Interface): # pylint: disable=invalid-name def prepare(self, stmt): """prepare a cursor and stateme...
addressing problem with mysql db connection faulting out
reflexsc_reflex
train
8fee1edb25b7875f6ca51eb70dc2b6687e55cccd
diff --git a/lib/mask-service.js b/lib/mask-service.js index <HASH>..<HASH> 100644 --- a/lib/mask-service.js +++ b/lib/mask-service.js @@ -5,6 +5,10 @@ export default class MaskService { return MaskResolver.resolve(type).getValue(value, settings); } + static toRawValue(type, maskedValue, settings) { + return Ma...
Adds toRawValue() method to service
benhurott_react-native-masked-text
train
d642240a72312ce470e6caf45b23149b3b27d049
diff --git a/requester/kafka_requester.go b/requester/kafka_requester.go index <HASH>..<HASH> 100644 --- a/requester/kafka_requester.go +++ b/requester/kafka_requester.go @@ -32,7 +32,7 @@ type kafkaRequester struct { urls []string payloadSize int topic string - producer sa...
Use AsyncProducer in Kafka Requester
tylertreat_bench
train
139a45f1734c2a044db5c74adaf4b58f4816e4c6
diff --git a/src/Symfony/Component/Form/AbstractExtension.php b/src/Symfony/Component/Form/AbstractExtension.php index <HASH>..<HASH> 100644 --- a/src/Symfony/Component/Form/AbstractExtension.php +++ b/src/Symfony/Component/Form/AbstractExtension.php @@ -212,7 +212,7 @@ abstract class AbstractExtension implements FormE...
[Form] fixed AbstractExtension when an extension does not have a guesser
symfony_symfony
train
704536250c89d2030e88a0b52ba33a92b028ad68
diff --git a/yadlt/models/rbm_models/deep_autoencoder.py b/yadlt/models/rbm_models/deep_autoencoder.py index <HASH>..<HASH> 100644 --- a/yadlt/models/rbm_models/deep_autoencoder.py +++ b/yadlt/models/rbm_models/deep_autoencoder.py @@ -63,7 +63,7 @@ class DeepAutoencoder(UnsupervisedModel): self.reconstruction ...
Fixed bug with Gaussian visible=True
blackecho_Deep-Learning-TensorFlow
train
e5bf2aded46b6b3853a2e705b263280d1ed31f1c
diff --git a/lib/access_control_admin.py b/lib/access_control_admin.py index <HASH>..<HASH> 100644 --- a/lib/access_control_admin.py +++ b/lib/access_control_admin.py @@ -1515,115 +1515,3 @@ def acc_cleanupArguments(): # return count and ids of deleted arguments return (count, ids2) - -def acc_cleanupUserRo...
Removed broken and not used acc_cleanupUserRoles and acc_garbage_collector.
inveniosoftware_invenio-access
train
8f93d670c5fc6fb6d1c17de665cdad35e6c9c25b
diff --git a/src/MvcCore/Ext/Debugs/Tracy.php b/src/MvcCore/Ext/Debugs/Tracy.php index <HASH>..<HASH> 100644 --- a/src/MvcCore/Ext/Debugs/Tracy.php +++ b/src/MvcCore/Ext/Debugs/Tracy.php @@ -7,8 +7,8 @@ * For the full copyright and license information, please view * the LICENSE.md file that are distributed with thi...
Fixed copyright heading, fixed php docs comments with unnecessary interfaces, upgraded version constant to <I>
mvccore_ext-debug-tracy
train
fecd103fca231d92cb1614e8ba89d9e52c09f94e
diff --git a/src/bosh-director/db/migrations/director/20171113000000_add_links_api.rb b/src/bosh-director/db/migrations/director/20171113000000_add_links_api.rb index <HASH>..<HASH> 100644 --- a/src/bosh-director/db/migrations/director/20171113000000_add_links_api.rb +++ b/src/bosh-director/db/migrations/director/20171...
Fix upgrade tests. [#<I>](<URL>)
cloudfoundry_bosh
train
f049bf29fa840358f8c7f27b4d3dbb1e5e6694e3
diff --git a/go/kbfs/libkbfs/folder_branch_ops.go b/go/kbfs/libkbfs/folder_branch_ops.go index <HASH>..<HASH> 100644 --- a/go/kbfs/libkbfs/folder_branch_ops.go +++ b/go/kbfs/libkbfs/folder_branch_ops.go @@ -1784,6 +1784,8 @@ func (fbo *folderBranchOps) commitFlushedMD( "Error getting wait channel for prefetch: %+v...
folder_branch_ops: send syncedTlfObserver notifications Issue: HOTPOT-<I>
keybase_client
train
edceeed7a9fb79d1171f2ea27536c7ca0d1d26ba
diff --git a/parser/statement.go b/parser/statement.go index <HASH>..<HASH> 100644 --- a/parser/statement.go +++ b/parser/statement.go @@ -455,7 +455,6 @@ func (self *_parser) parseWithStatement() ast.Statement { self.expect(token.RIGHT_PARENTHESIS) if self.mode&StoreComments != 0 { - //comments = append(comment...
fix: remove commented-out code (#<I>) Remove old commented out code that was found using: <URL>
robertkrimen_otto
train
589df127a999c77196eab2dd527464bb94d97bcb
diff --git a/src/main/resources/core/scripts/selenium-browserbot.js b/src/main/resources/core/scripts/selenium-browserbot.js index <HASH>..<HASH> 100644 --- a/src/main/resources/core/scripts/selenium-browserbot.js +++ b/src/main/resources/core/scripts/selenium-browserbot.js @@ -211,7 +211,6 @@ BrowserBot.prototype.trig...
Getting rid of noisy "has fireEvent" logging messages r<I>
SeleniumHQ_selenium
train
88d669c0e09a5b0a9a5eb5e51f0de0edabd38dfe
diff --git a/agent/consul/connect_ca_endpoint_test.go b/agent/consul/connect_ca_endpoint_test.go index <HASH>..<HASH> 100644 --- a/agent/consul/connect_ca_endpoint_test.go +++ b/agent/consul/connect_ca_endpoint_test.go @@ -624,6 +624,27 @@ func TestConnectCAConfig_UpdateSecondary(t *testing.T) { assert.Equal("web", ...
connect: Fix a case where the active root would get unset even when there wasn't a new one
hashicorp_consul
train
9ae5095b86d199bbbb33d2b4acab822dd142d76d
diff --git a/spec/unit/pacto/generator/filters_spec.rb b/spec/unit/pacto/generator/filters_spec.rb index <HASH>..<HASH> 100644 --- a/spec/unit/pacto/generator/filters_spec.rb +++ b/spec/unit/pacto/generator/filters_spec.rb @@ -9,7 +9,6 @@ module Pacto 'method' => 'GET', 'path' => '/abcd', ...
Add tests for filter freshness headers on response_headers
thoughtworks_pacto
train
cca01c0285960fe6443d487064cf1ffa023cd748
diff --git a/test/rails_root/db/migrate/010_add_zip_to_addresses.rb b/test/rails_root/db/migrate/010_add_zip_to_addresses.rb index <HASH>..<HASH> 100644 --- a/test/rails_root/db/migrate/010_add_zip_to_addresses.rb +++ b/test/rails_root/db/migrate/010_add_zip_to_addresses.rb @@ -1,9 +1,9 @@ class AddZipToAddresses < Ac...
Made Address#zip a string to correctly support numericality checks
thoughtbot_shoulda-matchers
train
46bf32196b3a867138682c0104f17312ace55bb2
diff --git a/sos/report/plugins/systemd.py b/sos/report/plugins/systemd.py index <HASH>..<HASH> 100644 --- a/sos/report/plugins/systemd.py +++ b/sos/report/plugins/systemd.py @@ -9,7 +9,7 @@ # See the LICENSE file in the source distribution for further information. from sos.report.plugins import (Plugin, RedHatPlug...
[systemd] gate systemd-resolve commands by systemd-resolved service systemd-resolve command starts systemd-resolved service when that is not running; thus we should call the command only under the relevant predicate. Resolves: #<I>
sosreport_sos
train
4d8c648a53e5b53eef5a09e85dc3dbefbf559ece
diff --git a/revel/build.go b/revel/build.go index <HASH>..<HASH> 100644 --- a/revel/build.go +++ b/revel/build.go @@ -100,13 +100,13 @@ func buildApp(args []string) { mustRenderTemplate( runShPath, - path.Join(revel.RevelPath, "../cmd/revel", "package_run.sh.template"), + filepath.Join(revel.RevelPath, "../cm...
path.Join replaced by filepath.Join due to incorrect management of separators on Windows
revel_cmd
train
678ad7d17e1b6052fa0960ced92edb07a9424653
diff --git a/WavFile.php b/WavFile.php index <HASH>..<HASH> 100644 --- a/WavFile.php +++ b/WavFile.php @@ -1540,7 +1540,7 @@ class WavFile if (array_key_exists(self::FILTER_NORMALIZE, $filters)) { $normalize_threshold = @$filters[self::FILTER_NORMALIZE]; - if (is_null($normalize_thres...
Fix normalization constraint for filter.
dapphp_securimage
train
8d762e001d7dc9165af5d5e15684b76d373f7add
diff --git a/src/Repositories/MySql/Schema/Columns/MySqlDateTimeColumn.php b/src/Repositories/MySql/Schema/Columns/MySqlDateTimeColumn.php index <HASH>..<HASH> 100644 --- a/src/Repositories/MySql/Schema/Columns/MySqlDateTimeColumn.php +++ b/src/Repositories/MySql/Schema/Columns/MySqlDateTimeColumn.php @@ -57,7 +57,11 @...
Setting timezone to system default on storage to MySql, to ensure it has the expected time when retrieved from the database later
RhubarbPHP_Module.Stem
train
296058b2a74819c841ea616a79a6e9afe251044b
diff --git a/packages/webpack/lib/utils/helpers.js b/packages/webpack/lib/utils/helpers.js index <HASH>..<HASH> 100644 --- a/packages/webpack/lib/utils/helpers.js +++ b/packages/webpack/lib/utils/helpers.js @@ -9,16 +9,15 @@ const rootDir = dirname(pkgFile); const checkESNextPath = modPath => modPath.indexOf(join...
refactor(webpack): remove support for ESM ECMAScript modules, identified using a `module` field in `package.json` or by an `.mjs` file name extension, currently appear to be more trouble than they are worth in a Webpack context. Therefore, support for them is temporarily being removed from `untool`.
untool_untool
train
784cd67ea0459b10d4a18a47f7b7e686b7e035fd
diff --git a/app/templates/src/main/webapp/scripts/_services.js b/app/templates/src/main/webapp/scripts/_services.js index <HASH>..<HASH> 100644 --- a/app/templates/src/main/webapp/scripts/_services.js +++ b/app/templates/src/main/webapp/scripts/_services.js @@ -216,7 +216,7 @@ $http.get('app/logout'...
Delete Authorization header Otherwise the following header will be sent Authorization: null
jhipster_generator-jhipster
train
bc6bf9ae3664ba7eef9e201cdfc5357b130b88d4
diff --git a/safe/impact_functions/volcanic/volcano_population_evacuation_polygon_hazard.py b/safe/impact_functions/volcanic/volcano_population_evacuation_polygon_hazard.py index <HASH>..<HASH> 100644 --- a/safe/impact_functions/volcanic/volcano_population_evacuation_polygon_hazard.py +++ b/safe/impact_functions/volcan...
Use the same rounding for total population in volcano on population IF.
inasafe_inasafe
train
0d3e46da4da7f93313cbcad9aacb6cf5571c3a08
diff --git a/packages/test-utils/src/wrapper.js b/packages/test-utils/src/wrapper.js index <HASH>..<HASH> 100644 --- a/packages/test-utils/src/wrapper.js +++ b/packages/test-utils/src/wrapper.js @@ -714,16 +714,6 @@ export default class Wrapper implements BaseWrapper { Object.keys(data).forEach(key => { i...
feat: undefined attributes parsed as $attrs (#<I>)
vuejs_vue-test-utils
train
ad5fc1734c949a510989744b6f68207de2e48248
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -255,8 +255,7 @@ Pagelet.readable('render', function render(options, done) { // which `after` can be called in proper context. // pagelet.get(function receive(err, data) { - var fetch = pagelet.temper.fetch - ...
[fix] temper got the incorrect context, this is not worth it.
bigpipe_pagelet
train
16546dbe9f6c4198b8e06783fa15186a11204d17
diff --git a/php/WP_CLI/SynopsisParser.php b/php/WP_CLI/SynopsisParser.php index <HASH>..<HASH> 100644 --- a/php/WP_CLI/SynopsisParser.php +++ b/php/WP_CLI/SynopsisParser.php @@ -42,18 +42,24 @@ class SynopsisParser { if ( ! is_array( $synopsis ) ) { return ''; } - $bits = array( 'positional' => '', 'assoc' ...
Support for generic args; add tests for `::render()`
wp-cli_extension-command
train
e43cb7001501d07262938353bf3812687b78aeb2
diff --git a/bigtable-hbase-integration-tests/src/test/java/com/google/cloud/bigtable/hbase/TestBatch.java b/bigtable-hbase-integration-tests/src/test/java/com/google/cloud/bigtable/hbase/TestBatch.java index <HASH>..<HASH> 100644 --- a/bigtable-hbase-integration-tests/src/test/java/com/google/cloud/bigtable/hbase/Test...
Removing KnownGap markers for tests that currently pass.
googleapis_cloud-bigtable-client
train
29fc841a13f3181e4a20aa44b02980ce26a79545
diff --git a/src/scripts/admin/admin.store.js b/src/scripts/admin/admin.store.js index <HASH>..<HASH> 100644 --- a/src/scripts/admin/admin.store.js +++ b/src/scripts/admin/admin.store.js @@ -188,11 +188,11 @@ let UserStore = Reflux.createStore({ * Toggle Super User */ toggleSuperUser (user, callback) { - scitr...
Updated superuser interactions based on changes in scitran 'Aloha' branch
OpenNeuroOrg_openneuro
train
ea1fcadc767ecf3644d3961dc3c70011357d8858
diff --git a/src/Lib/AuthActions.php b/src/Lib/AuthActions.php index <HASH>..<HASH> 100644 --- a/src/Lib/AuthActions.php +++ b/src/Lib/AuthActions.php @@ -2,6 +2,7 @@ namespace AuthActions\Lib; use Cake\Routing\Router; use Cake\Utility\Inflector; +use Cake\Utility\Hash; class AuthActions { diff --git a/src/Lib/...
make AuthActions and UserRights instances available to the view, port AuthHelper accordingly
scherersoftware_cake-auth-actions
train
7dce175521c6d5b212d2baa5347482a576140db2
diff --git a/src/Commands/SyncDataCommand.php b/src/Commands/SyncDataCommand.php index <HASH>..<HASH> 100755 --- a/src/Commands/SyncDataCommand.php +++ b/src/Commands/SyncDataCommand.php @@ -69,7 +69,7 @@ class SyncDataCommand extends Command $datasets_source = $this->option('source-folder'); ...
Fix reference to this, and not option
hnhdigital-os_laravel-datasets
train
37fe10003219710a6796a98538bfe4314d628bc7
diff --git a/TODO b/TODO index <HASH>..<HASH> 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,2 @@ === 0.9.X === === 0.10 === -* Add explicit sorting by score -* Fully support or remove support for time facet "other" diff --git a/lib/sunspot/query/field_facet.rb b/lib/sunspot/query/field_facet.rb index <HASH>..<HASH> 100644 ...
Remove support for :other option in time faceting It was of dubious usefulness anyway, and the search results didn't properly support it.
sunspot_sunspot
train
487b0d8349fc509d09b76be937c9a829ca8ac9a6
diff --git a/drivers/docker/config.go b/drivers/docker/config.go index <HASH>..<HASH> 100644 --- a/drivers/docker/config.go +++ b/drivers/docker/config.go @@ -636,8 +636,7 @@ func (d *Driver) SetConfig(c *base.Config) error { d.coordinator = newDockerCoordinator(coordinatorConfig) - reconciler := newReconciler(d)...
Only start reconciler once in main driver driver.SetConfig is not appropriate for starting up reconciler goroutine. Some ephemeral driver instances are created for validating config and we ought not to side-effecting goroutines for those. We currently lack a lifecycle hook to inject these, so I picked the `Fingerpri...
hashicorp_nomad
train
763dff9dbbad59bc3deb145cab0a501cb3e15113
diff --git a/core-bundle/contao/classes/StyleSheets.php b/core-bundle/contao/classes/StyleSheets.php index <HASH>..<HASH> 100644 --- a/core-bundle/contao/classes/StyleSheets.php +++ b/core-bundle/contao/classes/StyleSheets.php @@ -145,7 +145,7 @@ class StyleSheets extends \Backend // Backwards compatibility if ($...
[Core] Set the import path to the files directory and fix the style sheet type in the back end
contao_contao
train
02ed75f7d289d24643b7568ac9db7adade87949e
diff --git a/src/MenuItem/SplitItem.php b/src/MenuItem/SplitItem.php index <HASH>..<HASH> 100644 --- a/src/MenuItem/SplitItem.php +++ b/src/MenuItem/SplitItem.php @@ -303,12 +303,4 @@ class SplitItem implements MenuItemInterface { throw new \BadMethodCallException(sprintf('Not supported on: %s', __CLASS__...
Remove setText from SplitItem
php-school_cli-menu
train
a480e27968dccd8d0062ac529ec1bb848e3ac3cd
diff --git a/starttf/estimators/scientific_estimator.py b/starttf/estimators/scientific_estimator.py index <HASH>..<HASH> 100644 --- a/starttf/estimators/scientific_estimator.py +++ b/starttf/estimators/scientific_estimator.py @@ -149,7 +149,7 @@ def easy_train_and_evaluate(hyper_params, create_model, create_loss, inli...
Improved readability of scientific estimator a bit.
penguinmenac3_starttf
train
18707ecf0a2bac6cd3346acafb186b7890e11f8b
diff --git a/src/Schema.php b/src/Schema.php index <HASH>..<HASH> 100644 --- a/src/Schema.php +++ b/src/Schema.php @@ -289,7 +289,15 @@ class Schema implements \JsonSerializable, \ArrayAccess { // We just want to merge the properties that exist in the destination. foreach ($val...
Fix schema merging when schema objects are nested
vanilla_garden-schema
train
ee962c0ac83aef5c35515dea1fb0ae14e5a99608
diff --git a/test/00test.js b/test/00test.js index <HASH>..<HASH> 100644 --- a/test/00test.js +++ b/test/00test.js @@ -407,6 +407,76 @@ describe('User', function() { }); }); + describe('Get list of users', function () { + + const uuids = []; + + it('Get list of users', function (done) { + + const tasks = [];...
Added ability to filter on fields when listing users
larvit_larvituser
train
05cce75e163b5b7f4c87490d9efcadce76eb5911
diff --git a/android/src/main/java/com/dieam/reactnativepushnotification/modules/RNPushNotificationListenerService.java b/android/src/main/java/com/dieam/reactnativepushnotification/modules/RNPushNotificationListenerService.java index <HASH>..<HASH> 100644 --- a/android/src/main/java/com/dieam/reactnativepushnotificati...
Call RNPushNotificationHelper.sendNotification when a notification arrives and app is not running to present a notification to the user
zo0r_react-native-push-notification
train
a0f1fb63a40badf082f0a08a63698d083045edcc
diff --git a/src/main/java/org/sakaiproject/nakamura/lite/storage/AbstractClientConnectionPool.java b/src/main/java/org/sakaiproject/nakamura/lite/storage/AbstractClientConnectionPool.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/sakaiproject/nakamura/lite/storage/AbstractClientConnectionPool.java +++ b/src/...
KERN-<I> changed the default setting for the JDBC connection pool to grow when exhausted.
ieb_sparsemapcontent
train
5424475a73eb80065934e6ee9576fcfaac710ec6
diff --git a/app/config/core.php b/app/config/core.php index <HASH>..<HASH> 100644 --- a/app/config/core.php +++ b/app/config/core.php @@ -213,8 +213,8 @@ * Will append a querystring parameter containing the time the file was modified. This is * useful for invalidating browser caches. * - * Set to `true` to apply...
Fixing comment about Asset.timestamp to be accurate to the behavior. Refs #<I>
cakephp_cakephp
train
3b94aca5bb7cc00d56653f19b25e8f4c21b9bf85
diff --git a/src/tool/util.js b/src/tool/util.js index <HASH>..<HASH> 100644 --- a/src/tool/util.js +++ b/src/tool/util.js @@ -9,6 +9,12 @@ */ define( function(require) { + + var ArrayProto = Array.prototype; + var nativeForEach = ArrayProto.forEach; + var nativeMap = ArrayProto.map; + ...
Remove unused code, Add more utility methods
ecomfe_zrender
train
7b14b292e67f428b707263a2aede6efebf7c2cd9
diff --git a/datajoint/connection.py b/datajoint/connection.py index <HASH>..<HASH> 100644 --- a/datajoint/connection.py +++ b/datajoint/connection.py @@ -133,8 +133,6 @@ class Connection: if suppress_warnings: # suppress all warnings arising from underlying SQL library ...
save an extra query at table declaration time
datajoint_datajoint-python
train
553cb22777a5a76af7486027e7a3314db2906856
diff --git a/lib/rest-ftp-daemon.rb b/lib/rest-ftp-daemon.rb index <HASH>..<HASH> 100644 --- a/lib/rest-ftp-daemon.rb +++ b/lib/rest-ftp-daemon.rb @@ -10,6 +10,7 @@ require "net/http" require "thread" require "singleton" require "newrelic_rpm" +require "grape" # Project's libs require_relative "rest-ftp-daemon/c...
api: factorize logging and require
bmedici_rest-ftp-daemon
train
bace2873a9419d144b9a4e37d6b2bf6dcf9ce504
diff --git a/models/PodioItem.php b/models/PodioItem.php index <HASH>..<HASH> 100644 --- a/models/PodioItem.php +++ b/models/PodioItem.php @@ -232,8 +232,9 @@ class PodioItem extends PodioObject { /** * @see https://developers.podio.com/doc/items/get-item-count-34819997 */ - public static function get_count...
Issue#<I> - Add count by view_id
podio-community_podio-php
train
a07d90d3dc46458c2963abdd56dd2a95d8ba8389
diff --git a/lookup.go b/lookup.go index <HASH>..<HASH> 100644 --- a/lookup.go +++ b/lookup.go @@ -41,7 +41,7 @@ func tryFormatLoggableKey(k string) (string, error) { func loggableKey(k string) logging.LoggableMap { newKey, err := tryFormatLoggableKey(k) if err != nil { - log.Error(err) + log.Debug(err) } else...
downgrade Error log for loggable formatting not really an error, it doesn't stop us from logging.
libp2p_go-libp2p-kad-dht
train
a2d29c62a442a56d1464a6505aa64c968cab326c
diff --git a/salt/state.py b/salt/state.py index <HASH>..<HASH> 100644 --- a/salt/state.py +++ b/salt/state.py @@ -33,13 +33,13 @@ import salt.fileclient import salt.utils.event import salt.syspaths as syspaths from salt.utils import context, immutabletypes -from six import string_types +from salt.utils.six import s...
Replaced module six in file /salt/state.py
saltstack_salt
train
ed002dbe35f3cd99c8787c1158ffc50772b5a234
diff --git a/src/AbstractKernel.php b/src/AbstractKernel.php index <HASH>..<HASH> 100644 --- a/src/AbstractKernel.php +++ b/src/AbstractKernel.php @@ -157,7 +157,7 @@ abstract class AbstractKernel implements KernelInterface abstract protected function bootstrap(); /** - * Normalizes directory list and a...
Add RoadRunner modern and legacy dispatchers
spiral_boot
train
32a1a1ed1b77102caa8e39464d3a10c978e5f58a
diff --git a/lib/write_xlsx/chart.rb b/lib/write_xlsx/chart.rb index <HASH>..<HASH> 100644 --- a/lib/write_xlsx/chart.rb +++ b/lib/write_xlsx/chart.rb @@ -2489,25 +2489,7 @@ module Writexlsx # def write_number_format(axis) # :nodoc: - format_code = axis.num_format - source_linked = 1 - - # Ch...
add Axis#write_number_format which used from Chart#write_number_format.
cxn03651_write_xlsx
train
c6134089246efac27a29876504404b8dca9619bf
diff --git a/reef-runtime-local/src/test/java/com/microsoft/reef/runtime/local/driver/ResourceRequestTest.java b/reef-runtime-local/src/test/java/com/microsoft/reef/runtime/local/driver/ResourceRequestTest.java index <HASH>..<HASH> 100644 --- a/reef-runtime-local/src/test/java/com/microsoft/reef/runtime/local/driver/Re...
Updated the tests to use junit's expected exception feature
apache_reef
train
0438987f931760233ff975aa5998bf6b8dd8de46
diff --git a/backports/datetime_timestamp/__init__.py b/backports/datetime_timestamp/__init__.py index <HASH>..<HASH> 100644 --- a/backports/datetime_timestamp/__init__.py +++ b/backports/datetime_timestamp/__init__.py @@ -27,6 +27,9 @@ def timestamp(dt): >>> timestamp(datetime.datetime.now()) > 1494638812 True +...
Add test ensuring that fractional seconds are present on naive datetimes.
jaraco_backports.datetime_timestamp
train
29b52f448185f05577761f4f822d4c7a870bef80
diff --git a/lib/unitwise/measurement.rb b/lib/unitwise/measurement.rb index <HASH>..<HASH> 100644 --- a/lib/unitwise/measurement.rb +++ b/lib/unitwise/measurement.rb @@ -129,7 +129,7 @@ module Unitwise # measurement.to_r # => (17/4) # @api public def to_r - Rational(value) + Number.rationali...
Prevent incorrect JRuby BigDecimal -> Rational conversions
joshwlewis_unitwise
train
fa36507ca91f7bad0b3c92fc9f8d80ca63e30e35
diff --git a/lib/guard/coffeelint.rb b/lib/guard/coffeelint.rb index <HASH>..<HASH> 100644 --- a/lib/guard/coffeelint.rb +++ b/lib/guard/coffeelint.rb @@ -1,11 +1,10 @@ require 'guard' require 'guard/plugin' require 'json' -require 'rainbow/refinement' +require 'rainbow' module Guard class Coffeelint < Plugin ...
don't use the refinement, it slowed down my app a TON
meagar_guard-coffeelint
train
0b6d83ed109427bed2fbca30ba55fafcdabc436e
diff --git a/android/src/com/google/zxing/client/android/camera/open/OpenCameraInterface.java b/android/src/com/google/zxing/client/android/camera/open/OpenCameraInterface.java index <HASH>..<HASH> 100644 --- a/android/src/com/google/zxing/client/android/camera/open/OpenCameraInterface.java +++ b/android/src/com/google...
Refactored open() into one method
zxing_zxing
train
572bbeb879c1f2b8043d89c2864adf47e405bfa4
diff --git a/tests/src/test/java/alluxio/client/cli/fs/command/ChownCommandIntegrationTest.java b/tests/src/test/java/alluxio/client/cli/fs/command/ChownCommandIntegrationTest.java index <HASH>..<HASH> 100644 --- a/tests/src/test/java/alluxio/client/cli/fs/command/ChownCommandIntegrationTest.java +++ b/tests/src/test/j...
simplify javadoc for ChownCommandIntegrationTest#chownRecursive (#<I>)
Alluxio_alluxio
train
731ced25a2f9a4afd07270dcfc2cbf0fbd0001df
diff --git a/lib/graphql/schema.rb b/lib/graphql/schema.rb index <HASH>..<HASH> 100644 --- a/lib/graphql/schema.rb +++ b/lib/graphql/schema.rb @@ -870,8 +870,8 @@ module GraphQL # Returns the JSON response of {Introspection::INTROSPECTION_QUERY}. # @see {#as_json} # @return [String] - def to_j...
Fix deprecation on Schema.to_json parameters In Ruby <I>, `Schema.to_json` prints the following warning when called with keyword arguments. ``` graphql-ruby/lib/graphql/schema.rb:<I>: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call ``` I added `**` to args t...
rmosolgo_graphql-ruby
train
40a47ce4f47a07c7d17c3b612bdb039f63568640
diff --git a/src/materials/dot-screen/glsl/shader.frag b/src/materials/dot-screen/glsl/shader.frag index <HASH>..<HASH> 100644 --- a/src/materials/dot-screen/glsl/shader.frag +++ b/src/materials/dot-screen/glsl/shader.frag @@ -2,6 +2,7 @@ uniform sampler2D tDiffuse; uniform float angle; uniform float scale; +unifor...
Improved dot screen pass. This pass now allows to apply the dot screen effect with an intensity to the scene colours. The previous average output is now optional.
vanruesc_postprocessing
train
8840bf00fabb7c5884ee4292c789654ff025ff25
diff --git a/salestax.js b/salestax.js index <HASH>..<HASH> 100644 --- a/salestax.js +++ b/salestax.js @@ -13,26 +13,26 @@ function salestax(options) { taxRates: defaultTaxRates }, options) - seneca.add( {role:plugin, cmd:'configure'}, function(args, callback) { + seneca.add( {role: plugin, cmd:'configure'}...
a bit of comments explaining why calculations are rounded
nherment_seneca-salestax
train
752654bda4cfd0664d19ba8bedfec1060b0234fc
diff --git a/sources/lib/Converter/ConverterClient.php b/sources/lib/Converter/ConverterClient.php index <HASH>..<HASH> 100644 --- a/sources/lib/Converter/ConverterClient.php +++ b/sources/lib/Converter/ConverterClient.php @@ -11,8 +11,7 @@ namespace PommProject\Foundation\Converter; use PommProject\Foundation\Excep...
ConverterClient inherits from Client.
pomm-project_Foundation
train
f422f1e98f71cdaf4017c5879cb5aff1e2b2bb2c
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -48,14 +48,28 @@ http://packages.python.org/pypng/ conf['download_url'] = \ 'http://pypng.googlecode.com/files/%(name)s-%(version)s.tar.gz' % conf -if sys.version_info >= (3,): - conf['use_2to3'] = True +def prepare3(...
run 2to3 by hand if we think necessary
drj11_pypng
train
8f4f1b0609ddc738e676761392ea2298ea47e3fd
diff --git a/storage/storage_image.go b/storage/storage_image.go index <HASH>..<HASH> 100644 --- a/storage/storage_image.go +++ b/storage/storage_image.go @@ -462,7 +462,6 @@ func (s *storageImageDestination) Commit(ctx context.Context) error { layerBlobs := man.LayerInfos() // Extract or find the layers. lastLay...
Remove an unused variable Not really related to the rest of the PR.
containers_image
train
3ad49765d6c97bbd8ef6e7af4e625ed749f8f51f
diff --git a/cmd/kube-apiserver/app/aggregator.go b/cmd/kube-apiserver/app/aggregator.go index <HASH>..<HASH> 100644 --- a/cmd/kube-apiserver/app/aggregator.go +++ b/cmd/kube-apiserver/app/aggregator.go @@ -225,6 +225,7 @@ var apiVersionPriorities = map[schema.GroupVersion]priority{ {Group: "storage.k8s.io", Version:...
change storage, registry, discovery version for admissionregistration
kubernetes_kubernetes
train
77b53ca999e05c78d0271ab71c681818e029d92d
diff --git a/src/Migration/Adapter/Generator/PhinxMySqlGenerator.php b/src/Migration/Adapter/Generator/PhinxMySqlGenerator.php index <HASH>..<HASH> 100644 --- a/src/Migration/Adapter/Generator/PhinxMySqlGenerator.php +++ b/src/Migration/Adapter/Generator/PhinxMySqlGenerator.php @@ -311,6 +311,7 @@ class PhinxMySqlGener...
Fixed alternate primary key #<I>
odan_phinx-migrations-generator
train
f7177e973226aafa7abd8f06ec90c10ab0b0680b
diff --git a/java/vtgate-client/src/test/java/com/youtube/vitess/vtgate/integration/StreamingVtGateIT.java b/java/vtgate-client/src/test/java/com/youtube/vitess/vtgate/integration/StreamingVtGateIT.java index <HASH>..<HASH> 100644 --- a/java/vtgate-client/src/test/java/com/youtube/vitess/vtgate/integration/StreamingVtG...
use Iterables to simplify java integration test.
vitessio_vitess
train
e230ff52a7907f44cb693bb4a8c6d49cf736965c
diff --git a/Form/Type/EWZRecaptchaType.php b/Form/Type/EWZRecaptchaType.php index <HASH>..<HASH> 100644 --- a/Form/Type/EWZRecaptchaType.php +++ b/Form/Type/EWZRecaptchaType.php @@ -1,6 +1,7 @@ <?php namespace EWZ\Bundle\RecaptchaBundle\Form\Type; + use Symfony\Component\Form\Extension\Core\Type\TextType; use Sy...
RE #<I>: Added line break
excelwebzone_EWZRecaptchaBundle
train
188d21184f53b93c08cdc124ac83362dc3d73421
diff --git a/lib/endpoints/class-wp-json-terms-controller.php b/lib/endpoints/class-wp-json-terms-controller.php index <HASH>..<HASH> 100644 --- a/lib/endpoints/class-wp-json-terms-controller.php +++ b/lib/endpoints/class-wp-json-terms-controller.php @@ -121,6 +121,8 @@ class WP_JSON_Terms_Controller extends WP_JSON_Co...
Example on terms endpoint for using additional fields
WP-API_WP-API
train
7aff268a874a9d5d1325e3567c4028da8b632a1d
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -25,6 +25,7 @@ function Diread(options) { * @param {Boolean} [options.directories=false] * @param {Number} [options.level] * @param {Function} [options.mask] + * @param {Boolean} [options.ignoreError=true] */ Direa...
<I> release notes: Fixed: - fixed masking of a initial folder Changes: - added "ignoreError" option: ignore or not error
ilfroloff_node-directory-reader
train
db8ff13c99f8684b08167e32147764c0086e48b6
diff --git a/girder/api/v1/item.py b/girder/api/v1/item.py index <HASH>..<HASH> 100644 --- a/girder/api/v1/item.py +++ b/girder/api/v1/item.py @@ -174,9 +174,10 @@ class Item(Resource): # Make sure we let user know if we can't accept one of their metadata # keys for k in metadata: - ...
Added check for metadata key containing question mark, plus a test.
girder_girder
train
e4b5d9f9622c6886a0ce1b595aa1ec3df2dd2b98
diff --git a/test/ginkgo-ext/scopes.go b/test/ginkgo-ext/scopes.go index <HASH>..<HASH> 100644 --- a/test/ginkgo-ext/scopes.go +++ b/test/ginkgo-ext/scopes.go @@ -49,8 +49,11 @@ type scope struct { } var ( - currentScope = &scope{} - rootScope = currentScope + currentScope = &scope{} + rootScope ...
CI: Wrap ginkgo.Measure to correctly invoke AfterAll Our ginkgo-ext added AfterAll but it relies on some tracking to know when to run (the check is in AfterEach as a special case). We began using gingko.Measure but did not track it, causing AfterAll to run at the wrong time. This caused test failures.
cilium_cilium
train
ef02673dd7a43e15c25257fd161db5204876bcb5
diff --git a/aeron-driver/src/main/java/io/aeron/driver/ext/CubicCongestionControl.java b/aeron-driver/src/main/java/io/aeron/driver/ext/CubicCongestionControl.java index <HASH>..<HASH> 100644 --- a/aeron-driver/src/main/java/io/aeron/driver/ext/CubicCongestionControl.java +++ b/aeron-driver/src/main/java/io/aeron/driv...
[Java]: for cc=cubic, if window as at min, if consumption position moves, force an SM out.
real-logic_aeron
train
7c9f17f9525c7736010be31f596888cccd398cfd
diff --git a/src/java/org/apache/cassandra/tools/NodeCmd.java b/src/java/org/apache/cassandra/tools/NodeCmd.java index <HASH>..<HASH> 100644 --- a/src/java/org/apache/cassandra/tools/NodeCmd.java +++ b/src/java/org/apache/cassandra/tools/NodeCmd.java @@ -1344,7 +1344,7 @@ public class NodeCmd private static void h...
fix nodetool clearsnapshot console message patch by dbrosius reviewed by jbellis for cassandra-<I>
Stratio_stratio-cassandra
train
7db3451745a735a8c7a4e9eec2b61b802edef7ab
diff --git a/core/ledger/statemgmt/state/state.go b/core/ledger/statemgmt/state/state.go index <HASH>..<HASH> 100644 --- a/core/ledger/statemgmt/state/state.go +++ b/core/ledger/statemgmt/state/state.go @@ -89,13 +89,13 @@ func (state *State) TxBegin(txID string) { // TxFinish marks the completion of on-going tx. If...
Fix typo As currently txId not use uuid, fix some typo to be consistent. Also fix some comments. Change-Id: Id6fb<I>aed3da<I>f<I>ea<I>f5f<I>cc1f<I>
hyperledger_fabric
train
9d6cc4114b77fcbfa4698df4132b1384f2d1aaf4
diff --git a/activesupport/lib/active_support/core_ext/time/zones.rb b/activesupport/lib/active_support/core_ext/time/zones.rb index <HASH>..<HASH> 100644 --- a/activesupport/lib/active_support/core_ext/time/zones.rb +++ b/activesupport/lib/active_support/core_ext/time/zones.rb @@ -21,8 +21,8 @@ class Time # ...
More rdoc improvements to activesupport
rails_rails
train
2a3aacdffed9847a589eb0a33da906378d688b64
diff --git a/lib/rbbt/workflow/step.rb b/lib/rbbt/workflow/step.rb index <HASH>..<HASH> 100644 --- a/lib/rbbt/workflow/step.rb +++ b/lib/rbbt/workflow/step.rb @@ -276,7 +276,7 @@ class Step def update if dirty? - dependencies.collect{|d| d.update} + dependencies.collect{|d| d.update} if dependencies...
Sometimes dependencies is nil :/
mikisvaz_rbbt-util
train
5a8b112279ed95b0064c37547099e01eeb44722d
diff --git a/lib/review/markdownbuilder.rb b/lib/review/markdownbuilder.rb index <HASH>..<HASH> 100644 --- a/lib/review/markdownbuilder.rb +++ b/lib/review/markdownbuilder.rb @@ -31,6 +31,7 @@ module ReVIEW end def headline(level, label, caption) + blank prefix = "#" * level puts "#{prefi...
MARKDOWNBuilder: there should be blank line before Headline
kmuto_review
train
45b6da2692ab162a9468f22aee4e1e59bc75dd3b
diff --git a/Eloquent/Model.php b/Eloquent/Model.php index <HASH>..<HASH> 100644 --- a/Eloquent/Model.php +++ b/Eloquent/Model.php @@ -999,7 +999,9 @@ abstract class Model implements ArrayAccess, Arrayable, Jsonable, JsonSerializab return $this; } - $this->setRawAttributes(static::findOrF...
[<I>] fix model refresh with global scopes (#<I>) * fix model refresh with global scopes * fix style * fix style
illuminate_database
train
aedaca0f5a0160ab72db9e0379cc6680a70e273d
diff --git a/src/Models/ObjectMap/Entities/Associations/AssociationStubBase.php b/src/Models/ObjectMap/Entities/Associations/AssociationStubBase.php index <HASH>..<HASH> 100644 --- a/src/Models/ObjectMap/Entities/Associations/AssociationStubBase.php +++ b/src/Models/ObjectMap/Entities/Associations/AssociationStubBase.p...
change isOk as felds can not be null
Algo-Web_POData-Laravel
train
3e32aea0296d545d1b7cab3115016b70a445e1f6
diff --git a/h2o-core/src/main/java/water/util/IcedHashMap.java b/h2o-core/src/main/java/water/util/IcedHashMap.java index <HASH>..<HASH> 100644 --- a/h2o-core/src/main/java/water/util/IcedHashMap.java +++ b/h2o-core/src/main/java/water/util/IcedHashMap.java @@ -8,7 +8,7 @@ import java.util.concurrent.ConcurrentMap; ...
Declare fields transient - was calling Java serialization.
h2oai_h2o-3
train
385544a1e2f7fa0976a8d8658d02c9b120bd2622
diff --git a/source/org/jasig/portal/channels/remotechannel/RemoteChannelServiceLocator.java b/source/org/jasig/portal/channels/remotechannel/RemoteChannelServiceLocator.java index <HASH>..<HASH> 100644 --- a/source/org/jasig/portal/channels/remotechannel/RemoteChannelServiceLocator.java +++ b/source/org/jasig/portal/c...
Now uses SimpleSessionHandler from Axis. Before Axis beta2, SimpleSessionHandler had a serious bug. See <URL>
Jasig_uPortal
train
6d62bb09cfc0058c20e62df9ddf66d831e15dc7d
diff --git a/app/src/Bolt/Config.php b/app/src/Bolt/Config.php index <HASH>..<HASH> 100644 --- a/app/src/Bolt/Config.php +++ b/app/src/Bolt/Config.php @@ -396,7 +396,8 @@ class Config } // Check the setting for crypto_rng.. - $this->checkRNGSetting(); + // Commented out for now, until ...
Don't check for crypto_rng setting for now.
bolt_bolt
train
e1729c82e03e44b0db8421df5eb4b81950f71a00
diff --git a/rx-run/src/cycle.js b/rx-run/src/cycle.js index <HASH>..<HASH> 100644 --- a/rx-run/src/cycle.js +++ b/rx-run/src/cycle.js @@ -2,7 +2,7 @@ var h = require('virtual-hyperscript'); var Rx = require('rx'); var DataFlowNode = require('./data-flow-node'); -var DataFlowSink = require('./data-flow-node'); +var ...
Fixed reference to data-flow-sink
cyclejs_cyclejs
train
9c92b5283eee7d27521a847e67d21780a764f01b
diff --git a/lib/atdis/model.rb b/lib/atdis/model.rb index <HASH>..<HASH> 100644 --- a/lib/atdis/model.rb +++ b/lib/atdis/model.rb @@ -57,9 +57,9 @@ module ATDIS # TODO Refactor this to make it less hideous and confusing and # generalise it so that it will work at multiple levels - def self.map_fields(va...
No deleting of things in map_fields
openaustralia_atdis
train
b0137c26ef94f3d860a1226c323ebe262a43d479
diff --git a/src/Vector/ColumnVector.php b/src/Vector/ColumnVector.php index <HASH>..<HASH> 100644 --- a/src/Vector/ColumnVector.php +++ b/src/Vector/ColumnVector.php @@ -78,10 +78,18 @@ final class ColumnVector implements \Iterator return new Matrix(...$rows); } - public function multiply(float $coe...
modify the signature of (Column|Row)Vector::multiply
Innmind_Math
train
16e8f3f2054125a4f0b91ca910753384bd8fd5fb
diff --git a/netdiff/utils.py b/netdiff/utils.py index <HASH>..<HASH> 100644 --- a/netdiff/utils.py +++ b/netdiff/utils.py @@ -80,12 +80,12 @@ def _make_diff(old, new): # make a copy of old topology to avoid tampering with it diff_edges = old.copy() not_different = [] + old_edges = [set(edge) for edge...
Removed nested loop in _make_diff
openwisp_netdiff
train
2101ed58ebfd437450d13af1373655fcffc314a1
diff --git a/src/main/java/org/whitesource/agent/CommandLineAgent.java b/src/main/java/org/whitesource/agent/CommandLineAgent.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/whitesource/agent/CommandLineAgent.java +++ b/src/main/java/org/whitesource/agent/CommandLineAgent.java @@ -269,5 +269,18 @@ public abstr...
Resolve issue WSA-<I>: catch NumberFormatException when reading int properties
whitesource_fs-agent
train
b1ca91e722b16c8b0284f21f535226161cd5d1f6
diff --git a/esptool.py b/esptool.py index <HASH>..<HASH> 100755 --- a/esptool.py +++ b/esptool.py @@ -1590,8 +1590,14 @@ def elf2image(args): def read_mac(esp, args): mac = esp.read_mac() - print 'MAC: %s' % ':'.join(map(lambda x: '%02x' % x, mac)) - + def print_mac(label, mac): + print '%s: %s' %...
Correctly print ESP<I> MACs (BT MAC may still be wrong)
espressif_esptool
train
83eb8ce7de46be59e4bd1e05f1e674ce1446454a
diff --git a/lib/Cake/Network/CakeRequest.php b/lib/Cake/Network/CakeRequest.php index <HASH>..<HASH> 100644 --- a/lib/Cake/Network/CakeRequest.php +++ b/lib/Cake/Network/CakeRequest.php @@ -112,8 +112,8 @@ class CakeRequest implements ArrayAccess { 'webOS', 'Windows CE', 'Windows Phone OS', 'Xiino' )), 'requ...
Changes to Cake/Network/CakeRequest.php as discussed on Github for the detector code changes. Fixed the description of a few doc blocks, removed the use of getallheaders(), removed the failsafe (based on extension) for the xml and json detectors.
cakephp_cakephp
train
d842c7f4c5b6391b87dfcfdf4c300134ee3dfdcd
diff --git a/src/closure_externs.js b/src/closure_externs.js index <HASH>..<HASH> 100644 --- a/src/closure_externs.js +++ b/src/closure_externs.js @@ -89,12 +89,6 @@ var PromiseConstructorLike; /** @typedef {?} */ var SymbolConstructor; -/** - * This is a placeholder for a Closure type to be determined. - * @constr...
Update tsickle to be compatible with JSCompiler changes for BigInt PiperOrigin-RevId: <I>
angular_tsickle
train
3d2109b0844d2897df5767b55559cfc3fb7a609d
diff --git a/src/hamster/lib/stuff.py b/src/hamster/lib/stuff.py index <HASH>..<HASH> 100644 --- a/src/hamster/lib/stuff.py +++ b/src/hamster/lib/stuff.py @@ -46,6 +46,9 @@ def datetime_to_hamsterday(civil_date_time): The hamster day start is taken into account. """ + if civil_date_time is None: + ...
accept None in datetime_to_hamsterday
projecthamster_hamster
train
0fabdb15cfecb123c9da676f1e119054b488b7a1
diff --git a/lib/representors/representor_hash.rb b/lib/representors/representor_hash.rb index <HASH>..<HASH> 100644 --- a/lib/representors/representor_hash.rb +++ b/lib/representors/representor_hash.rb @@ -26,7 +26,7 @@ module Representors # be able to create from a hash def initialize(hash = {}) - DE...
udpate representor hash to dup passed in values
mdsol_representors
train
7615efc250d2518cb0dc43979ea2fe3a12e070b3
diff --git a/empymod/__init__.py b/empymod/__init__.py index <HASH>..<HASH> 100644 --- a/empymod/__init__.py +++ b/empymod/__init__.py @@ -555,4 +555,6 @@ References |_| # Import main modelling routines to make them available as primary functions from .model import bipole, dipole, analytical __all__ = ['bipole', 'di...
Further version number adjustements Done: - Replace version number in setup.py with __version__. - Add a number after 'dev'. It is probably not the safest way. But as empymod has only few dependencies, it hopefully won't create problems. Adding git-version to dev-strings might still be a good idea for the future. H...
empymod_empymod
train
8b05cb15f135f3286d93504d21e2bec12c9c0577
diff --git a/SlimElement.js b/SlimElement.js index <HASH>..<HASH> 100644 --- a/SlimElement.js +++ b/SlimElement.js @@ -414,7 +414,6 @@ for (let i = this.actual.children.length; i > 0; i--) { let child = this.actual.children[i - 1]; if (child.getAttribute('in-st...
id is now slim-id
slimjs_slim.js
train
5bc7c653b6069117e9ef0cea9a5808128ed9bc56
diff --git a/bugzilla/base.py b/bugzilla/base.py index <HASH>..<HASH> 100644 --- a/bugzilla/base.py +++ b/bugzilla/base.py @@ -760,6 +760,7 @@ class BugzillaBase(object): assigned_to: Bugzilla username to assign this bug to. qa_contact: Bugzilla username of QA contact for this bug. cc: ...
document 'keywords' as optional createbug param (ticket #<I>) Add a line about the 'keywords' param for createbug, which takes a list of keywords that should be set on the new bug.
python-bugzilla_python-bugzilla
train
af5db1ead5af81edbd17da7527b2bf86eb60d7bd
diff --git a/maven-plugin/src/main/java/sortpom/SortMojo.java b/maven-plugin/src/main/java/sortpom/SortMojo.java index <HASH>..<HASH> 100644 --- a/maven-plugin/src/main/java/sortpom/SortMojo.java +++ b/maven-plugin/src/main/java/sortpom/SortMojo.java @@ -11,7 +11,7 @@ import sortpom.parameter.PluginParametersBuilder; ...
Added Maven prerequisite. Corrected some spelling
Ekryd_sortpom
train
61b4fad6995c6b1810cb5c04b443ef0378abacd4
diff --git a/cassandra/metadata.py b/cassandra/metadata.py index <HASH>..<HASH> 100644 --- a/cassandra/metadata.py +++ b/cassandra/metadata.py @@ -510,6 +510,9 @@ class _UnknownStrategy(ReplicationStrategy): return dict((str(key), str(value)) for key, value in self.options_map.items()) return "{'c...
Prevent NIE when unknown repl strategy with TA LBP Unknown replication strategies would raise if token aware load balancing used. Also fixes a more general issue where TokenAware blows up with strategies returning an empty mapping (i.e. LocalStrategy, and Unknown).
datastax_python-driver
train
28c543ae6e001c00deb0b63dfc97cea4f4d2e068
diff --git a/qiskit/circuit/library/probability_distributions/lognormal.py b/qiskit/circuit/library/probability_distributions/lognormal.py index <HASH>..<HASH> 100644 --- a/qiskit/circuit/library/probability_distributions/lognormal.py +++ b/qiskit/circuit/library/probability_distributions/lognormal.py @@ -13,6 +13,7 @@...
Deprecate probability distribution circuits (#<I>) * add deprecation messages * added the exact path * fix tests
Qiskit_qiskit-terra
train