hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
cb7aa9f4cd6f6bc28664368c9cd841d9d35c532b
diff --git a/Integration/ClientIntegration.php b/Integration/ClientIntegration.php index <HASH>..<HASH> 100644 --- a/Integration/ClientIntegration.php +++ b/Integration/ClientIntegration.php @@ -286,15 +286,15 @@ class ClientIntegration extends AbstractIntegration if (!$this->translator) { $this->...
Prevent exceptions on unppublished clients.
TheDMSGroup_mautic-contact-client
train
6dbf7cf5f8cbc0689146795e85bde752534ca364
diff --git a/libaio/__init__.py b/libaio/__init__.py index <HASH>..<HASH> 100644 --- a/libaio/__init__.py +++ b/libaio/__init__.py @@ -231,10 +231,10 @@ class AIOContext(object): block (AIOBlock) The IO block to cancel. - Returns cancelled block's event data. + Returns cancelled bl...
libaio.AIOContext: Document event data a bit better. Not documented by libaio, so found by reading kernel source. Also, (hopefully) fix io_cancel arguments.
vpelletier_python-libaio
train
ce3f804683fc11176e754ca66e748353ef504e41
diff --git a/index.php b/index.php index <HASH>..<HASH> 100644 --- a/index.php +++ b/index.php @@ -38,7 +38,6 @@ if (!empty($CFG->defaulthomepage) && ($CFG->defaulthomepage == HOMEPAGE_MY) && o $urlparams['redirect'] = 0; } $PAGE->set_url('/', $urlparams); -$PAGE->set_course($SITE); $PAGE->set_pagelayout('front...
MDL-<I> core: when loggedin always check user is complete
moodle_moodle
train
ab81fefee35e2ea7aaeb181634d1c6a9c4ace5cb
diff --git a/E-Motion/src/examples/medium/application/MelanomaFinderApplication.java b/E-Motion/src/examples/medium/application/MelanomaFinderApplication.java index <HASH>..<HASH> 100644 --- a/E-Motion/src/examples/medium/application/MelanomaFinderApplication.java +++ b/E-Motion/src/examples/medium/application/Melanoma...
Move findBiggestComponent as a separated method
Harium_keel
train
d3c0a500e77e435db81773fd581d67a58dd3e792
diff --git a/src/pandas_profiling/model/pandas/describe_timeseries_pandas.py b/src/pandas_profiling/model/pandas/describe_timeseries_pandas.py index <HASH>..<HASH> 100644 --- a/src/pandas_profiling/model/pandas/describe_timeseries_pandas.py +++ b/src/pandas_profiling/model/pandas/describe_timeseries_pandas.py @@ -15,14...
feat: add augmented dickey fuller test to stat tab
pandas-profiling_pandas-profiling
train
df0a91af2d4251f616e84fa4ad3530823ce31b01
diff --git a/autopep8.py b/autopep8.py index <HASH>..<HASH> 100755 --- a/autopep8.py +++ b/autopep8.py @@ -1128,6 +1128,7 @@ def _shorten_line(tokens, source, indentation, indent_word, newline, token_string = tkn[1] if ( + aggressive and token_type == tokenize.COMMENT and ...
Only move inline comments in aggressive mode
hhatto_autopep8
train
0cc61221ba082348748e7484baf98b48dbafdefa
diff --git a/attitude/orientation/__init__.py b/attitude/orientation/__init__.py index <HASH>..<HASH> 100644 --- a/attitude/orientation/__init__.py +++ b/attitude/orientation/__init__.py @@ -1,4 +1,4 @@ -from __future__ import division +from __future__ import division, print_function from ..regression import Regressio...
Added an assertion to prevent underfitting
davenquinn_Attitude
train
c2d79dcc79574c987006ae4141bc8f3877a657a5
diff --git a/errors/error_fatal_dev.php b/errors/error_fatal_dev.php index <HASH>..<HASH> 100644 --- a/errors/error_fatal_dev.php +++ b/errors/error_fatal_dev.php @@ -182,6 +182,13 @@ // -------------------------------------------------------------------------- + $queries = get_instance()->db->queries; + ...
Including DB queries in the error page
nails_common
train
892c09375d0012aca0269c5af7cc6dd76c60b6a4
diff --git a/lib/factory_bot.rb b/lib/factory_bot.rb index <HASH>..<HASH> 100644 --- a/lib/factory_bot.rb +++ b/lib/factory_bot.rb @@ -47,6 +47,8 @@ require "factory_bot/linter" require "factory_bot/version" module FactoryBot + DEPRECATOR = ActiveSupport::Deprecation.new("6.0", "factory_bot") + def self.configu...
Deprecate allow_class_lookup I removed allow_class_lookup entirely in 2e0b<I> when removing the deprecated ability to lookup factories by class. But the upgrade to fb 5 will be a bit more smooth if we deprecate the method first.
thoughtbot_factory_bot
train
8a3839c2ad72aaee8501ca76c9842c07b1a24f16
diff --git a/test/unit/Document.js b/test/unit/Document.js index <HASH>..<HASH> 100644 --- a/test/unit/Document.js +++ b/test/unit/Document.js @@ -1855,6 +1855,14 @@ describe("Document", () => { { "input": {"prop": null}, "output": false + }, + { + "input": {"prop": {"NULL": true}}, + "output": ...
Adding tests for the DynamoDB NULL Property Type
dynamoosejs_dynamoose
train
4500a93109cc6d7f8b9f0dc3466b307abffba7aa
diff --git a/lib/chainer.rb b/lib/chainer.rb index <HASH>..<HASH> 100644 --- a/lib/chainer.rb +++ b/lib/chainer.rb @@ -16,11 +16,17 @@ class Chainer #constructs chain from dictionary object public interface end + def sentence_starts_with(phrase) + chunk = get_chunk(phrase) + partial = generate_text(chu...
added starts with method in chainer and added bug testing
f3mshep_ruby_markovify
train
aee3547b1b7cb756db79ce478c0731e9305e8490
diff --git a/test/list_test.rb b/test/list_test.rb index <HASH>..<HASH> 100644 --- a/test/list_test.rb +++ b/test/list_test.rb @@ -19,6 +19,7 @@ describe Linked::List do assert_same item, list.item end + # TODO: Is this the correct behaviour? it 'raises an exception when list is empty' do ...
Worked on cleaning up the code further
seblindberg_ruby-linked
train
57bcf6beb17b16f9d245f98c3cf43edf1ff42eb4
diff --git a/src/Constraint/Exception/ConstraintViolation.php b/src/Constraint/Exception/ConstraintViolation.php index <HASH>..<HASH> 100644 --- a/src/Constraint/Exception/ConstraintViolation.php +++ b/src/Constraint/Exception/ConstraintViolation.php @@ -1,5 +1,5 @@ <?php -declare(strict_types = 1); +declare(strict_ty...
Replaced array with iterable.
extendsframework_extends-validator
train
4681ff3d50a810d88c8560e65820cd6b379ac82d
diff --git a/core/src/main/java/org/springframework/security/config/HttpSecurityBeanDefinitionParser.java b/core/src/main/java/org/springframework/security/config/HttpSecurityBeanDefinitionParser.java index <HASH>..<HASH> 100644 --- a/core/src/main/java/org/springframework/security/config/HttpSecurityBeanDefinitionPars...
SEC-<I>: Fix <I> compatibility issue (overlooked autoboxing of boolean)
spring-projects_spring-security
train
1e26a3d5dd58f7ecdccaaa261b57a6e1d3f52c64
diff --git a/README.md b/README.md index <HASH>..<HASH> 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ client.debug = true ```ruby response = client.get_leads :email, 'sammy@acme.com' -response.body[:result].each do |result| +response[:result].each do |result| p "id: #{result[:id]}, email: #{result...
return the body instead of a Faraday response
raszi_mrkt
train
6c73dcaaf8b3f457d35653a0760c56bea047fac7
diff --git a/tests/frontend/org/voltdb/regressionsuites/TestFunctionsForVoltDBSuite.java b/tests/frontend/org/voltdb/regressionsuites/TestFunctionsForVoltDBSuite.java index <HASH>..<HASH> 100644 --- a/tests/frontend/org/voltdb/regressionsuites/TestFunctionsForVoltDBSuite.java +++ b/tests/frontend/org/voltdb/regressions...
Remove this constant string timestamp test case. JVM <I> now supports it
VoltDB_voltdb
train
efdd81798dda81d831e4b06bb651518d8be4e2d8
diff --git a/includes/data.php b/includes/data.php index <HASH>..<HASH> 100644 --- a/includes/data.php +++ b/includes/data.php @@ -984,7 +984,7 @@ function pods_v_set( $value, $var, $type = 'get' ) { elseif ( 'user' == $type && is_user_logged_in() ) { $user = get_userdata( get_current_user_id() ); - $user_da...
Almost missed the `!`, picked wrong value
pods-framework_pods
train
bd91a3f728b90aa0c636e1ee39568c456630d966
diff --git a/src/js/components/Article.js b/src/js/components/Article.js index <HASH>..<HASH> 100644 --- a/src/js/components/Article.js +++ b/src/js/components/Article.js @@ -23,6 +23,7 @@ export default class Article extends Component { constructor() { super(); + this._onFocusChange = this._onFocusChange....
Fixed issue with controls always available when using skip links.
grommet_grommet
train
3bc72581b593778539c6bc0c2e3f70987dcfb66f
diff --git a/nota/notaclass.py b/nota/notaclass.py index <HASH>..<HASH> 100644 --- a/nota/notaclass.py +++ b/nota/notaclass.py @@ -462,6 +462,7 @@ class Nota: self.con.execute("INSERT INTO notekeyword(noteId, keywordID) VALUES(?, ?)", [noteId, keywordId]) # Handle attachments, which must be existi...
was bad if no attachment (now bad *if*)
dankelley_nota
train
db9e0d7114a5ec39b47ba374a9c72eb92775fdf4
diff --git a/cluster/shard.go b/cluster/shard.go index <HASH>..<HASH> 100644 --- a/cluster/shard.go +++ b/cluster/shard.go @@ -507,7 +507,7 @@ func (self *ShardData) HandleDestructiveQuery(querySpec *parser.QuerySpec, reque } func (self *ShardData) createRequest(querySpec *parser.QuerySpec) *p.Request { - queryStri...
When remote executing a query send the time conditions as well Close #<I>
influxdata_influxdb
train
2f5bea881ee674421dafa7ceb34078d7bbb199f5
diff --git a/packages/node_modules/@cerebral/firebase/src/helpers.js b/packages/node_modules/@cerebral/firebase/src/helpers.js index <HASH>..<HASH> 100644 --- a/packages/node_modules/@cerebral/firebase/src/helpers.js +++ b/packages/node_modules/@cerebral/firebase/src/helpers.js @@ -12,10 +12,18 @@ export function creat...
fix(firebase): handle query method calling correctly (#<I>)
cerebral_cerebral
train
6a8f9fb1eae25a1b3531846d0068dd3065f8df77
diff --git a/tests/tests/Routing/CheckRoutesTest.php b/tests/tests/Routing/CheckRoutesTest.php index <HASH>..<HASH> 100644 --- a/tests/tests/Routing/CheckRoutesTest.php +++ b/tests/tests/Routing/CheckRoutesTest.php @@ -3,8 +3,13 @@ namespace Concrete\Tests\Routing; use Concrete\Core\Application\Application; +use Co...
Test that routes with and without optional arguments work
concrete5_concrete5
train
0e76fdbebc5cbe72b223f44f415b8e1ff874f5ee
diff --git a/test/runtime/privileged_tests.go b/test/runtime/privileged_tests.go index <HASH>..<HASH> 100644 --- a/test/runtime/privileged_tests.go +++ b/test/runtime/privileged_tests.go @@ -18,7 +18,7 @@ import ( const ( // The privileged unit tests can take more than 4 minutes, the default // timeout for helper ...
runtime: Bump privileged test timeout Recent test runs have taken perhaps up to five minutes just to compile various parts of the agent code from scratch with recent compilers, in addition to taking a further ten minutes or so to run the tests. This is close to the timeout, which means that occasionally the test will ...
cilium_cilium
train
b9c0418099f46ca364593314eba023d419225a79
diff --git a/odl/discr/discr_ops.py b/odl/discr/discr_ops.py index <HASH>..<HASH> 100644 --- a/odl/discr/discr_ops.py +++ b/odl/discr/discr_ops.py @@ -533,20 +533,14 @@ def _resize_discr(discr, newshp, offset, discr_kwargs): # Stack together the (unchanged) nonuniform axes and the (new) uniform # axes in th...
MAINT: style fixes to discr_ops and grids
odlgroup_odl
train
902a4211c546aa720b4e8025154f8f3dcb3e870c
diff --git a/glue/ligolw/lsctables.py b/glue/ligolw/lsctables.py index <HASH>..<HASH> 100644 --- a/glue/ligolw/lsctables.py +++ b/glue/ligolw/lsctables.py @@ -1786,6 +1786,12 @@ class MultiInspiralTable(table.Table): return self.get_null_snr() elif column == 'coinc_snr': return self.get_coinc_snr() + elif c...
glue.ligolw.lsctables: added get_reduced_xxx methods to MultiInspiral and MultiInspiralTable for chisq bank_chisq and cont_chisq (cherry picked from commit <I>e<I>b9da<I>cc6d<I>a<I>e0d<I>d)
gwastro_pycbc-glue
train
06c0af66c85962e1ba3d5ea5b502dd6a61a817a0
diff --git a/test/Gitlab/Tests/HttpClient/BuilderTest.php b/test/Gitlab/Tests/HttpClient/BuilderTest.php index <HASH>..<HASH> 100644 --- a/test/Gitlab/Tests/HttpClient/BuilderTest.php +++ b/test/Gitlab/Tests/HttpClient/BuilderTest.php @@ -22,9 +22,9 @@ class BuilderTest extends \PHPUnit_Framework_TestCase public f...
is the getMockBuilder with getMock and not the createMock
m4tthumphrey_php-gitlab-api
train
cfb9fec2cf165349031cc3eda070af353e950667
diff --git a/scripts/pricefeeds/config-example.py b/scripts/pricefeeds/config-example.py index <HASH>..<HASH> 100644 --- a/scripts/pricefeeds/config-example.py +++ b/scripts/pricefeeds/config-example.py @@ -32,6 +32,7 @@ enable_bter = False enable_poloniex = True enable_bittrex = True ...
[price-feed] Added Bitcoin Indonesia and CCEDK
xeroc_python-graphenelib
train
d59355cd9b1282f587275b507f2f8148667ccf34
diff --git a/tests/admin.spec.js b/tests/admin.spec.js index <HASH>..<HASH> 100644 --- a/tests/admin.spec.js +++ b/tests/admin.spec.js @@ -3,7 +3,6 @@ const test = require('ava'); const docusign = require('../docusign'); const config = require('./test-config.json'); -const { getStoredAuthInfo, storeAuthInfo } = requ...
stop storing auth info discovered a bug in the test-helpers. turns out it's just cleaner to have each test grab an oauth token, at least until we hit the limit. Keeping the store functions around until we need them.
docusign_docusign-node-client
train
8b85cfd411af794e77e9be645316607063234975
diff --git a/src/OpenSSL/SSL.py b/src/OpenSSL/SSL.py index <HASH>..<HASH> 100644 --- a/src/OpenSSL/SSL.py +++ b/src/OpenSSL/SSL.py @@ -12,7 +12,7 @@ from OpenSSL._util import ( ffi as _ffi, lib as _lib, make_assert as _make_assert, - path_string as _path_string, + path_bytes as _path_bytes, te...
Rename path_string to path_bytes since that's what it actually does (#<I>)
pyca_pyopenssl
train
8feb70257502f37b00da6079afb97797042657f5
diff --git a/src/androidTest/java/com/couchbase/lite/replicator/ChangeTrackerTest.java b/src/androidTest/java/com/couchbase/lite/replicator/ChangeTrackerTest.java index <HASH>..<HASH> 100644 --- a/src/androidTest/java/com/couchbase/lite/replicator/ChangeTrackerTest.java +++ b/src/androidTest/java/com/couchbase/lite/rep...
Unit Test for Android Issue <I> - Endless loop in pull replication when using builds after <I>-<I> and <I>-<I> - Added simple test for compound sequence value
couchbase_couchbase-lite-android
train
2c85d4d3c457374ba74e3b048fbd022832f4bf18
diff --git a/lib/puppet/provider/service/upstart.rb b/lib/puppet/provider/service/upstart.rb index <HASH>..<HASH> 100755 --- a/lib/puppet/provider/service/upstart.rb +++ b/lib/puppet/provider/service/upstart.rb @@ -41,6 +41,8 @@ Puppet::Type.type(:service).provide :upstart, :parent => :debian do name = \ ...
Handle network-interface-security in upstart Similar to network-interface, network-interface-security is an upstart job that requires special handling to get status information. While network-interface takes and interface argument, network-interface-security takes a job argument. This commit adds that special case, an...
puppetlabs_puppet
train
fb4d6f3f2b6ecc463ac5fef3eb7b70f8fa7972bc
diff --git a/src/components/DatePicker.js b/src/components/DatePicker.js index <HASH>..<HASH> 100644 --- a/src/components/DatePicker.js +++ b/src/components/DatePicker.js @@ -193,7 +193,7 @@ export default class DatePicker extends Component { this.setState({ inputValue }); } - + handleInputClick() { ...
added datepicker disabling feature close #<I>
mberneti_react-datepicker2
train
7fbbc42efc318de523b64bab3d60a6b92c72a637
diff --git a/eclipsePlugin/src/de/tobject/findbugs/view/DetailsView.java b/eclipsePlugin/src/de/tobject/findbugs/view/DetailsView.java index <HASH>..<HASH> 100644 --- a/eclipsePlugin/src/de/tobject/findbugs/view/DetailsView.java +++ b/eclipsePlugin/src/de/tobject/findbugs/view/DetailsView.java @@ -287,6 +287,17 @@ publ...
fix for [ <I> ] Annotation marker on editor ruler didn't work anymore git-svn-id: <URL>
spotbugs_spotbugs
train
5bcf75dd4bff322bfd8ad89171ba6605ad0fc769
diff --git a/lib/api-pagination/configuration.rb b/lib/api-pagination/configuration.rb index <HASH>..<HASH> 100644 --- a/lib/api-pagination/configuration.rb +++ b/lib/api-pagination/configuration.rb @@ -50,7 +50,11 @@ module ApiPagination end def paginator - @paginator || set_paginator + if instan...
Use instance_variable_defined? to avoid warning This avoids Ruby complaining that we're referencing the @paginator instance variable which may not be defined at this point.
davidcelis_api-pagination
train
1badc1431cbf8b4065ef8e59c68e93a99ace7447
diff --git a/path/__init__.py b/path/__init__.py index <HASH>..<HASH> 100644 --- a/path/__init__.py +++ b/path/__init__.py @@ -732,7 +732,9 @@ class Path(str): bytes = text.encode(encoding or sys.getdefaultencoding(), errors) else: assert encoding is None - bytes = B_NEWLIN...
Fix logic that linesep is not checked when bytes are passed.
jaraco_path.py
train
4139f5f66b3ad914ab90bc34eb09d58354bbfd09
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,22 +17,22 @@ requirements = [ ] setup_requirements = [ - 'pytest-runner', + 'pytest-runner==3.0', # TODO(tommikaikkonen): put setup requirements (distutils extensions, etc.) here ] test_requirements = [ ...
Pin dependencies in setup.py
tommikaikkonen_prettyprinter
train
3202bd5ce70a7910c1342ca9b72323f189d97898
diff --git a/api/permission.go b/api/permission.go index <HASH>..<HASH> 100644 --- a/api/permission.go +++ b/api/permission.go @@ -44,3 +44,41 @@ func listRoles(w http.ResponseWriter, r *http.Request, t auth.Token) error { _, err = w.Write(b) return err } + +func addPermissions(w http.ResponseWriter, r *http.Reque...
api/permission: add routes to create and remove permissions. Related to #<I>
tsuru_tsuru
train
6c83803fbe1f4c55441558fece6f24c3f9628637
diff --git a/src/com/google/javascript/jscomp/NewTypeInference.java b/src/com/google/javascript/jscomp/NewTypeInference.java index <HASH>..<HASH> 100644 --- a/src/com/google/javascript/jscomp/NewTypeInference.java +++ b/src/com/google/javascript/jscomp/NewTypeInference.java @@ -1582,8 +1582,6 @@ public class NewTypeInf...
[NEW TYPE INFERENCE] Make sure not to return a null type in analyzePropAccessFwd ------------- Created by MOE: <URL>
google_closure-compiler
train
2bbb05a008b05b97550789df24566537136f8ef4
diff --git a/onnx/__init__.py b/onnx/__init__.py index <HASH>..<HASH> 100644 --- a/onnx/__init__.py +++ b/onnx/__init__.py @@ -3,7 +3,7 @@ from __future__ import division from __future__ import print_function from __future__ import unicode_literals -from .onnx_pb2 import ModelProto +from .onnx_pb2 import * impor...
Import all Proto structs to onnx level linter probably won't like it, but this can really help reduce redundancy
onnx_onnx
train
40eba7628fb6fb28e2dc80cc521c83bcee9f48c1
diff --git a/includes/managers/class-fs-option-manager.php b/includes/managers/class-fs-option-manager.php index <HASH>..<HASH> 100755 --- a/includes/managers/class-fs-option-manager.php +++ b/includes/managers/class-fs-option-manager.php @@ -411,6 +411,24 @@ } } + /** + * Get opt...
[multisite] [options-migration] [bug-fix] [major] Part of the options migration fix.
Freemius_wordpress-sdk
train
bd66eaaf8e2bd9d992aecd5b534c3e038cd9ca52
diff --git a/multiplex.go b/multiplex.go index <HASH>..<HASH> 100644 --- a/multiplex.go +++ b/multiplex.go @@ -36,7 +36,7 @@ var ErrInvalidState = errors.New("received an unexpected message from the peer") var ( NewStreamTimeout = time.Minute - ResetStreamTimeout = time.Minute + ResetStreamTimeout = 2 * time.Min...
raise stream reset timeout to 2min
libp2p_go-mplex
train
9ec0140fc5a8de8e77ffeaa1d675cb374e72af84
diff --git a/docs/gatsby-config.js b/docs/gatsby-config.js index <HASH>..<HASH> 100644 --- a/docs/gatsby-config.js +++ b/docs/gatsby-config.js @@ -11,14 +11,14 @@ module.exports = { subtitle: 'Apollo Server', description: 'A guide to using Apollo Server', githubRepo: 'apollographql/apollo-ser...
Default version is 3, remove v1, link to v2 in main for now
apollographql_apollo-server
train
eb1cd6a5cef6d5393d653981cb034fcb189cc3b9
diff --git a/bin/syncobjectattributes.php b/bin/syncobjectattributes.php index <HASH>..<HASH> 100644 --- a/bin/syncobjectattributes.php +++ b/bin/syncobjectattributes.php @@ -80,10 +80,22 @@ function updateClass( $classId, $scheduledScript ) } if ( !$attributeExist ) { - foreach ( ...
EZP-<I>: eZScriptMonitor - memory limit overflow - batched attribute removal to prevent memory limit overflow.
ezsystems_ezscriptmonitor
train
0a3909e6b32c9ea3233e93733b42e829821c66ad
diff --git a/lib/bummr/cli.rb b/lib/bummr/cli.rb index <HASH>..<HASH> 100644 --- a/lib/bummr/cli.rb +++ b/lib/bummr/cli.rb @@ -74,9 +74,11 @@ module Bummr say "Choose which gems to update" system("git rebase -i master") - end - test + log "Running Update + #{Time.now}" +...
Only test if there are outdated gems
lpender_bummr
train
df4e23e0d3d522e6fd96a4a21abefef692cb33ed
diff --git a/lib/Doctrine/Common/Collections/ArrayCollection.php b/lib/Doctrine/Common/Collections/ArrayCollection.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/Common/Collections/ArrayCollection.php +++ b/lib/Doctrine/Common/Collections/ArrayCollection.php @@ -120,7 +120,7 @@ class ArrayCollection implements Coll...
Providing fix for doctrine/common#<I>
doctrine_common
train
8efe1856e22df23b6b67a1d69c451c93e5248cbc
diff --git a/pkg/services/ngalert/notifier/alertmanager.go b/pkg/services/ngalert/notifier/alertmanager.go index <HASH>..<HASH> 100644 --- a/pkg/services/ngalert/notifier/alertmanager.go +++ b/pkg/services/ngalert/notifier/alertmanager.go @@ -104,8 +104,6 @@ type Alertmanager struct { reloadConfigMtx sync.RWMutex ...
Alerting: A better and cleaner way to know if Alertmanager is initialised (#<I>)
grafana_grafana
train
0af8cc8ef0f3b80b0603cf7f6cedf832335908b0
diff --git a/src/Wrapper/SnifferWrapper/ClassWrapper.php b/src/Wrapper/SnifferWrapper/ClassWrapper.php index <HASH>..<HASH> 100644 --- a/src/Wrapper/SnifferWrapper/ClassWrapper.php +++ b/src/Wrapper/SnifferWrapper/ClassWrapper.php @@ -74,16 +74,14 @@ final class ClassWrapper return Naming::getClassName($this->...
UnusedPublicMethodSniff - include strings as well
Symplify_TokenRunner
train
0d6535679f791ec870e45e6519182bd78a4ba688
diff --git a/bundles/org.eclipse.orion.client.javascript/web/js-tests/javascript/crossFileTests.js b/bundles/org.eclipse.orion.client.javascript/web/js-tests/javascript/crossFileTests.js index <HASH>..<HASH> 100644 --- a/bundles/org.eclipse.orion.client.javascript/web/js-tests/javascript/crossFileTests.js +++ b/bundles...
[nobug] use orion/xhr instead of browser xhr in tests
eclipse_orion.client
train
2e179f7f0a5930f693f68533e5e0f81572c743b0
diff --git a/src/base/events.js b/src/base/events.js index <HASH>..<HASH> 100644 --- a/src/base/events.js +++ b/src/base/events.js @@ -140,6 +140,7 @@ Events.PLAYER_PAUSE = 'pause' Events.PLAYER_STOP = 'stop' Events.PLAYER_ENDED = 'ended' Events.PLAYER_SEEK = 'seek' +Events.PLAYER_ERROR = 'error' Events.PLAYER_TIME...
player: expose error event (closes #<I>)
clappr_clappr
train
ff99261d19ef6c188a55f35f5194d19b8b7e4894
diff --git a/project_generator/tools/uvision.py b/project_generator/tools/uvision.py index <HASH>..<HASH> 100644 --- a/project_generator/tools/uvision.py +++ b/project_generator/tools/uvision.py @@ -335,8 +335,9 @@ class Uvision(Tool, Builder, Exporter): def build_project(self): # > UV4 -b [project_path] ...
Uvision build - add support for uvprojx
project-generator_project_generator
train
26d740e9d99c73e777675a637d75eabad0206afa
diff --git a/test/fetch_multi_test.rb b/test/fetch_multi_test.rb index <HASH>..<HASH> 100644 --- a/test/fetch_multi_test.rb +++ b/test/fetch_multi_test.rb @@ -1,7 +1,7 @@ require "test_helper" class FetchMultiTest < IdentityCache::TestCase - NAMESPACE = IdentityCache::CacheKeyGeneration::DEFAULT_NAMESPACE unless c...
tests: Fix a duplicate test class name that doesn't match the filename. This was the real cause of the redefined NAMESPACE constant, and could cause other weird issues since setup will be overriden by one of the class definitions.
Shopify_identity_cache
train
d2f1a727962be77c959ae3cf88814b439448d168
diff --git a/web/concrete/elements/collection_add_external.php b/web/concrete/elements/collection_add_external.php index <HASH>..<HASH> 100644 --- a/web/concrete/elements/collection_add_external.php +++ b/web/concrete/elements/collection_add_external.php @@ -1,5 +1,5 @@ <? defined('C5_EXECUTE') or die("Access Denied."...
external link dialog looks pretty now. Former-commit-id: 4a1c<I>e7f<I>c<I>b5a9c<I>def<I>b0fa1daa<I>
concrete5_concrete5
train
f80dc4f4d4a0a660abf7068076728f91b3551b2e
diff --git a/src/main/java/org/dasein/cloud/azure/network/AzureLoadBalancerSupport.java b/src/main/java/org/dasein/cloud/azure/network/AzureLoadBalancerSupport.java index <HASH>..<HASH> 100644 --- a/src/main/java/org/dasein/cloud/azure/network/AzureLoadBalancerSupport.java +++ b/src/main/java/org/dasein/cloud/azure/net...
fix listEndpoints method - get all VM and find the providerVirtualMachineIds for the vms with same public DNS address
dasein-cloud_dasein-cloud-azure
train
fe82f9c5bc7f723bcebe7677ae5e1e0957a109ae
diff --git a/code/cms/DMSDocumentAddController.php b/code/cms/DMSDocumentAddController.php index <HASH>..<HASH> 100644 --- a/code/cms/DMSDocumentAddController.php +++ b/code/cms/DMSDocumentAddController.php @@ -62,6 +62,9 @@ class DMSDocumentAddController extends LeftAndMain { $uploadField = DMSUploadField::create('...
BUG Sequential file upload to fix Solr reindexing problems
silverstripe_silverstripe-dms
train
0e7bdbef0bb3a550d4d0b3239243c0bdb9c9891b
diff --git a/tests/DirectPostGatewayIntegrationTest.php b/tests/DirectPostGatewayIntegrationTest.php index <HASH>..<HASH> 100644 --- a/tests/DirectPostGatewayIntegrationTest.php +++ b/tests/DirectPostGatewayIntegrationTest.php @@ -28,10 +28,10 @@ class DirectPostGatewayIntegrationTest extends GatewayTestCase $...
Fixed the array syntax to use "array" instead of "[" to make it compatible with php <I>
mfauveau_omnipay-nmi
train
82c6f71b1b59c6acda384937376bafc49b481e10
diff --git a/sync-core/src/main/java/com/cloudant/sync/query/QueryConstants.java b/sync-core/src/main/java/com/cloudant/sync/query/QueryConstants.java index <HASH>..<HASH> 100644 --- a/sync-core/src/main/java/com/cloudant/sync/query/QueryConstants.java +++ b/sync-core/src/main/java/com/cloudant/sync/query/QueryConstant...
Add validation and normalization support for $size - Add SIZE constant - Add $size as a valid operator - Add validation/normalization tests
cloudant_sync-android
train
8596fe272f801ed0b19a70aba3fd567fc64a3876
diff --git a/test/src/core/shaderlib/project/viewport-uniforms.spec.js b/test/src/core/shaderlib/project/viewport-uniforms.spec.js index <HASH>..<HASH> 100644 --- a/test/src/core/shaderlib/project/viewport-uniforms.spec.js +++ b/test/src/core/shaderlib/project/viewport-uniforms.spec.js @@ -85,7 +85,7 @@ test('project#g...
fix test (#<I>)
uber_deck.gl
train
b139eadff6a575d7c93549168c95479ad1ef5474
diff --git a/lib/faker.rb b/lib/faker.rb index <HASH>..<HASH> 100644 --- a/lib/faker.rb +++ b/lib/faker.rb @@ -49,12 +49,12 @@ module Faker opts = args.last.is_a?(Hash) ? args.pop : {} opts[:locale] ||= Faker::Config.locale opts[:throw] = true - I18n.translate(*args, opts) + I18...
Fixed translation fallbacks in ruby <I>
stympy_faker
train
6e9259f04d2a14129aa218664d3131e0e35a7be8
diff --git a/src/hu/validation.php b/src/hu/validation.php index <HASH>..<HASH> 100755 --- a/src/hu/validation.php +++ b/src/hu/validation.php @@ -15,14 +15,14 @@ return [ 'accepted' => 'A(z) :attribute el kell legyen fogadva!', 'active_url' => 'A(z) :attribute nem érvényes url!', - ...
after_or_equal, before_or_equal translated after, before corrected
caouecs_Laravel-lang
train
3949b7c45f4eacac194fcbdb64a00b8ec532ee20
diff --git a/core/src/main/java/com/orientechnologies/orient/core/db/record/ODatabaseRecordTx.java b/core/src/main/java/com/orientechnologies/orient/core/db/record/ODatabaseRecordTx.java index <HASH>..<HASH> 100755 --- a/core/src/main/java/com/orientechnologies/orient/core/db/record/ODatabaseRecordTx.java +++ b/core/sr...
HTTP: fixed issue #<I> bug on delete record called in batch mode
orientechnologies_orientdb
train
6f12c765998237ae08189ddbc2826f251ccfb503
diff --git a/src/context/MessengerEvent.js b/src/context/MessengerEvent.js index <HASH>..<HASH> 100644 --- a/src/context/MessengerEvent.js +++ b/src/context/MessengerEvent.js @@ -41,12 +41,17 @@ type MediaAttachment = { type Attachment = MediaAttachment | FallbackAttachment; +type Tag = {| + source: string, +|}; ...
Add isFromCustomerChatPlugin in Messenger event
Yoctol_bottender
train
6a64c4feafc1bf5b02b36cd848d2b136e60e1d2f
diff --git a/README.rst b/README.rst index <HASH>..<HASH> 100644 --- a/README.rst +++ b/README.rst @@ -78,6 +78,11 @@ Version 0.2, 2016-07-xx * Fixed that files starting with underscore (e.g. ``__init__.py``) were excluded from analysis. * Added possibility to specify single files and glob patterns to analyze. +* ...
Improved detection of code that does not add any complexity. * Added that lines containing only certain characters are treated as white space instead of code. Currently this concerns brackets (``()[]{}``) and semicolon (``;``). * Added that Python's ``pass`` statement is treated as white space instead of code.
roskakori_pygount
train
b040b98e26cfd30b4cc5f8d7104a1af268748c7a
diff --git a/src/Vies/HeartBeat.php b/src/Vies/HeartBeat.php index <HASH>..<HASH> 100644 --- a/src/Vies/HeartBeat.php +++ b/src/Vies/HeartBeat.php @@ -155,7 +155,11 @@ class HeartBeat $hostname = $this->getHost(); $portNumber = $this->getPort(); $timeToLive = $this->getTimeout(); - if ...
Improving QA: Improving coverage in HeartBeat Making socket calls for success and failure tests
DragonBe_vies
train
d7e901c66989c19421c8431f920ccda7edd9d5b0
diff --git a/lib/dmllib.php b/lib/dmllib.php index <HASH>..<HASH> 100644 --- a/lib/dmllib.php +++ b/lib/dmllib.php @@ -334,7 +334,7 @@ function count_records_sql($sql) { $rs = get_recordset_sql($sql); if ($rs) { - return $rs->fields[0]; + return reset($rs->fields); } else { r...
dmlib: changed array access to keyed instead of ordinal. This supports the move to ADODB_FETCH_ASSOC instead of ADODB_FETCH_BOTH. see: <URL>
moodle_moodle
train
47b281d0f3e19fd0998d19b64d824f759fbed6eb
diff --git a/carbonserver/carbonserver.go b/carbonserver/carbonserver.go index <HASH>..<HASH> 100644 --- a/carbonserver/carbonserver.go +++ b/carbonserver/carbonserver.go @@ -1486,7 +1486,7 @@ func (listener *CarbonserverListener) Stat(send helper.StatCallback) { } func (listener *CarbonserverListener) Stop() error...
Fix stopping of carbonserver if there trigramIndex is not enabled
lomik_go-carbon
train
460a68b9c21e1cd3d2b757b4ff18c9e12286ad26
diff --git a/lib/server.js b/lib/server.js index <HASH>..<HASH> 100644 --- a/lib/server.js +++ b/lib/server.js @@ -38,11 +38,10 @@ module.exports = function (spec) { app.use(superstatic(spec)); - // TODO: add not found pages here - - // app.use(notFound({ - // file: defaultErrorPage - // })); + // H...
server: not found handler (with coverage)
firebase_superstatic
train
95959e12d76612f455ab4a90835debff489eacf4
diff --git a/go/kbfs/libkbfs/block_disk_store.go b/go/kbfs/libkbfs/block_disk_store.go index <HASH>..<HASH> 100644 --- a/go/kbfs/libkbfs/block_disk_store.go +++ b/go/kbfs/libkbfs/block_disk_store.go @@ -567,6 +567,9 @@ func (s *blockDiskStore) getAllRefsForTest() (map[kbfsblock.ID]blockRefMap, erro // // For performa...
tlf_journal: rename put/flush lock to be more explicit Suggested by jzila. Issue: #<I>
keybase_client
train
0f7a4243664c3b034e5e6f08780b5be2627f6cd7
diff --git a/lib/purecdb/reader.rb b/lib/purecdb/reader.rb index <HASH>..<HASH> 100644 --- a/lib/purecdb/reader.rb +++ b/lib/purecdb/reader.rb @@ -27,14 +27,18 @@ module PureCDB # filename # def initialize target, *options - if target.is_a?(String) + pathname = self.class.const_defined?(:Pathn...
PureCDB::Reader.new can accept Pathname target
hokstadconsulting_purecdb
train
89b2fa4fcfc6784f153088c479139bbdabea6b43
diff --git a/py/test/selenium/webdriver/common/frame_switching_tests.py b/py/test/selenium/webdriver/common/frame_switching_tests.py index <HASH>..<HASH> 100644 --- a/py/test/selenium/webdriver/common/frame_switching_tests.py +++ b/py/test/selenium/webdriver/common/frame_switching_tests.py @@ -199,7 +199,7 @@ class Fra...
switch_to_parent_frame -> switch_to.parent_frame
SeleniumHQ_selenium
train
cb306bddbd5d8c0b64139e0b3499fe0408efb09e
diff --git a/lib/Cake/Model/Datasource/Database/Query.php b/lib/Cake/Model/Datasource/Database/Query.php index <HASH>..<HASH> 100644 --- a/lib/Cake/Model/Datasource/Database/Query.php +++ b/lib/Cake/Model/Datasource/Database/Query.php @@ -1464,7 +1464,7 @@ class Query implements ExpressionInterface, IteratorAggregate {...
using correct method visibility for traverseExpressions()
cakephp_cakephp
train
e5c2eb14e83437a786d5fc6f4ad27d5db099c6d6
diff --git a/lib/statistrano/deployment/branches.rb b/lib/statistrano/deployment/branches.rb index <HASH>..<HASH> 100644 --- a/lib/statistrano/deployment/branches.rb +++ b/lib/statistrano/deployment/branches.rb @@ -18,11 +18,14 @@ module Statistrano @config = Config.new do |c| c.public_dir = Git.cur...
add manifest to Deployment::Branches
mailchimp_statistrano
train
4a6f4ed0fcaad289ff7bf5c4c03aca39c5400b54
diff --git a/saturn/filewatcher.py b/saturn/filewatcher.py index <HASH>..<HASH> 100644 --- a/saturn/filewatcher.py +++ b/saturn/filewatcher.py @@ -110,13 +110,16 @@ class FileWatcher(Process): class FileProcessor(Process): - """Execute *fun* on filenames provided by from *file_queue*. + """Execute *fun* on f...
Feature: added the refresh option to filewatcher to call the processing function even if no new file has come.
pytroll_satpy
train
1156fbae1809105bad4357c5925e7cb51886d349
diff --git a/assets/app/scripts/app.js b/assets/app/scripts/app.js index <HASH>..<HASH> 100644 --- a/assets/app/scripts/app.js +++ b/assets/app/scripts/app.js @@ -372,8 +372,8 @@ hawtioPluginLoader.registerPreBootstrapTask(function(next) { var apis = {}; var API_DISCOVERY_ERRORS = []; var protocol = window.loc...
Trigger login flow if api discovery failed because of possible cert errors
openshift_origin
train
5774cfed7dba710d98f175a51f9625f19da9f162
diff --git a/src/Psalm/Internal/Codebase/Functions.php b/src/Psalm/Internal/Codebase/Functions.php index <HASH>..<HASH> 100644 --- a/src/Psalm/Internal/Codebase/Functions.php +++ b/src/Psalm/Internal/Codebase/Functions.php @@ -290,7 +290,7 @@ class Functions 'chdir', 'chgrp', 'chmod', 'chown', 'chroot', 'c...
mark additional impure functions (#<I>) both `fflush` and `vprintf` have very similar cousins already declared as having side-effects. This fixes #<I>
vimeo_psalm
train
58f2e4307242bb207528b6f5d3d0fe03b83b36a0
diff --git a/src/helpers.php b/src/helpers.php index <HASH>..<HASH> 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -80,6 +80,11 @@ return function($request, $response) { return $row[$schema->getPrimaryFieldName()]; case 'active': $key = $schema->getActiveFieldName()...
fix active helper, check if active key is set
CradlePHP_cradle-system
train
316b6feccb6786f6ca4b0fee2f7577232cc475e4
diff --git a/test/test_unicode.rb b/test/test_unicode.rb index <HASH>..<HASH> 100644 --- a/test/test_unicode.rb +++ b/test/test_unicode.rb @@ -97,7 +97,8 @@ context "Frontend Unicode support" do end test 'transliteration' do - @wiki.write_page('ééééé', :markdown, '한글 text', { :name => '', :email => '' } ) + ...
Write_page changes not yet merged.
gollum_gollum-lib
train
79d38d818a25f9c7d0ea6878105f687094af2934
diff --git a/app/models/manager_refresh/inventory_collection/builder/persister_helper.rb b/app/models/manager_refresh/inventory_collection/builder/persister_helper.rb index <HASH>..<HASH> 100644 --- a/app/models/manager_refresh/inventory_collection/builder/persister_helper.rb +++ b/app/models/manager_refresh/inventory_...
Comments for persister helper (transferred from ManageIQ/manageiq@ed<I>c<I>e<I>a3d<I>c<I>a<I>a<I>d7b1)
ManageIQ_inventory_refresh
train
d2d298e4e9daa13a5af02da7e91f0526be284824
diff --git a/classes/phing/tasks/ext/coverage/CoverageMerger.php b/classes/phing/tasks/ext/coverage/CoverageMerger.php index <HASH>..<HASH> 100644 --- a/classes/phing/tasks/ext/coverage/CoverageMerger.php +++ b/classes/phing/tasks/ext/coverage/CoverageMerger.php @@ -107,36 +107,40 @@ class CoverageMerger $covera...
Refs #<I> - Coverage setup no longer imports files, merger takes information from PHPUnit_Util_CodeCoverage::getSummary() (also see r<I>)
phingofficial_phing
train
1da2f9adca112cee22da433e53a03067f7d53b16
diff --git a/carnifex/ssh/session.py b/carnifex/ssh/session.py index <HASH>..<HASH> 100644 --- a/carnifex/ssh/session.py +++ b/carnifex/ssh/session.py @@ -4,55 +4,61 @@ from twisted.conch.ssh import common from twisted.conch.ssh.channel import SSHChannel -def execSession(connection, protocol, commandLine, env={}, ...
Refactor Protocol connection functions for SSHSession
sporsh_carnifex
train
a6e02dcbb44843cda404878d3e300e4022071228
diff --git a/lib/Doctrine/ODM/MongoDB/UnitOfWork.php b/lib/Doctrine/ODM/MongoDB/UnitOfWork.php index <HASH>..<HASH> 100644 --- a/lib/Doctrine/ODM/MongoDB/UnitOfWork.php +++ b/lib/Doctrine/ODM/MongoDB/UnitOfWork.php @@ -950,6 +950,7 @@ class UnitOfWork implements PropertyChangedListener $ent...
Fixed originalData held by UnitOfWork
doctrine_mongodb-odm
train
fece21107d28c271d28174907c8955a43867326c
diff --git a/code/ZenFields.php b/code/ZenFields.php index <HASH>..<HASH> 100644 --- a/code/ZenFields.php +++ b/code/ZenFields.php @@ -59,8 +59,14 @@ class ZenFields extends Extension { } for($i = 2; $i <= 9; $i++) { if(!isset($args[$i])) $args[$i] = null; - } - $field = Object::create($formField...
BUGFIX: TextareaField blows up when extra args are provided. Hack!
unclecheese_silverstripe-zen-fields
train
896887bd9491dccb09adfee1eb8b656940bb3afd
diff --git a/GPy/inference/latent_function_inference/exact_gaussian_inference.py b/GPy/inference/latent_function_inference/exact_gaussian_inference.py index <HASH>..<HASH> 100644 --- a/GPy/inference/latent_function_inference/exact_gaussian_inference.py +++ b/GPy/inference/latent_function_inference/exact_gaussian_infere...
[inference] rename wrong precision into variance
SheffieldML_GPy
train
3fcf4925795c9d96b11e84db7f84243ffa9defe2
diff --git a/Swat/SwatWidget.php b/Swat/SwatWidget.php index <HASH>..<HASH> 100644 --- a/Swat/SwatWidget.php +++ b/Swat/SwatWidget.php @@ -47,6 +47,20 @@ abstract class SwatWidget extends SwatObject */ protected $messages = array(); + /** + * Style sheets needed by this widget + * + * @var array + */ + prote...
Add a way of adding javascript includes and stylesheet includes to SwatWidgets. This still needs a collection method. svn commit r<I>
silverorange_swat
train
4683ba8c92202443f5e7c69b93c6d7435c67bc67
diff --git a/test/test.repo.js b/test/test.repo.js index <HASH>..<HASH> 100644 --- a/test/test.repo.js +++ b/test/test.repo.js @@ -113,10 +113,27 @@ describe('Github.Repository', function() { }); }); - it('should list commits', function(done) { + it('should list commits with no options', function(done)...
Tests: Improved tests for getCommits()
github-tools_github
train
45c62a7e63e0acd386b446bfdb2deadb5afbf956
diff --git a/src/Provider/Facebook.php b/src/Provider/Facebook.php index <HASH>..<HASH> 100755 --- a/src/Provider/Facebook.php +++ b/src/Provider/Facebook.php @@ -103,7 +103,7 @@ class Facebook extends AbstractProvider $fields = [ 'id', 'name', 'first_name', 'last_name', 'email', 'hom...
The default scopes ('public_profile', 'email') doesn't grant the right to fetch 'cover{source}'
thephpleague_oauth2-facebook
train
634d12c8d29ed9c92b1656e03dcd1b7f30a7bf25
diff --git a/test/application_tests.rb b/test/application_tests.rb index <HASH>..<HASH> 100644 --- a/test/application_tests.rb +++ b/test/application_tests.rb @@ -120,13 +120,13 @@ class ApplicationTests < Test::Unit::TestCase assert_equal "#{input_string}#{input_string[0].chr}", @ostream.gets end - sh...
Refactored tests * Added another progress bar test * Moved some throbber test code into throbber_tests
koraktor_rubikon
train
723051c5d839f9bc1a65776ea3eccbb7df1a27fd
diff --git a/astropy_helpers/tests/test_setup_helpers.py b/astropy_helpers/tests/test_setup_helpers.py index <HASH>..<HASH> 100644 --- a/astropy_helpers/tests/test_setup_helpers.py +++ b/astropy_helpers/tests/test_setup_helpers.py @@ -1,4 +1,3 @@ -import os import contextlib import shutil import stat @@ -12,8 +11,6 ...
Adding back sphinx builds for appveyor
astropy_astropy-helpers
train
4205be7d487cb3687e3fc140f41cffe176589284
diff --git a/src/components/tabs/js/tabsController.js b/src/components/tabs/js/tabsController.js index <HASH>..<HASH> 100644 --- a/src/components/tabs/js/tabsController.js +++ b/src/components/tabs/js/tabsController.js @@ -652,8 +652,6 @@ function MdTabsController ($scope, $element, $window, $mdConstant, $mdTabInkRipp ...
fix(tabs): will no longer jump to top when changing tabs with `md-dynamic-height` Closes #<I>
angular_material
train
a82fc6ba1ea584a41e17af2ffdaef6ca7f93f81c
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -81,7 +81,6 @@ class install_with_pth(install): setup_params = dict( - src_root=None, cmdclass={'install': install_with_pth}, package_data=package_data, dependency_links=[
Remove src_root from setup.py, seemingly unused.
pypa_setuptools
train
10ac5702facb1ac6b5462735bb8a31d5941f4e26
diff --git a/lib/evidence.rb b/lib/evidence.rb index <HASH>..<HASH> 100644 --- a/lib/evidence.rb +++ b/lib/evidence.rb @@ -19,6 +19,8 @@ module Inspector # ``` # + NUMBER_OF_ISSUES_INLINE = 3 + class Evidence # Called just as the investigation has begun. def inspector_started_query(query, inspecto...
Added constant for number of inline issues
orta_gh_inspector
train
139896fb925cdcd07b647fe7863c25e57979fa32
diff --git a/tests/test_postgres.py b/tests/test_postgres.py index <HASH>..<HASH> 100644 --- a/tests/test_postgres.py +++ b/tests/test_postgres.py @@ -24,6 +24,11 @@ from jaraco.postgres import PostgresDatabase, PostgresServer HOST = os.environ.get('HOST', 'localhost') +@pytest.fixture(autouse=True) +def needs_pos...
Skip tests when Postgresql isn't available.
jaraco_jaraco.postgres
train
4597438732c4eeeb4cbf588eaadc80a960ce4dfa
diff --git a/python/orca/src/bigdl/orca/tfpark/model.py b/python/orca/src/bigdl/orca/tfpark/model.py index <HASH>..<HASH> 100644 --- a/python/orca/src/bigdl/orca/tfpark/model.py +++ b/python/orca/src/bigdl/orca/tfpark/model.py @@ -55,10 +55,10 @@ class KerasModel(object): def save_weights(self, filepath, overwri...
Fix overwrite issue in save model (#<I>) * pyzoo/zoo/common/utils.py * update save weights
intel-analytics_BigDL
train
c0532f1974df9cffb9827d528ba526eb124c9baf
diff --git a/jfunk-web/src/main/java/com/mgmtp/jfunk/web/util/WebDriverTool.java b/jfunk-web/src/main/java/com/mgmtp/jfunk/web/util/WebDriverTool.java index <HASH>..<HASH> 100644 --- a/jfunk-web/src/main/java/com/mgmtp/jfunk/web/util/WebDriverTool.java +++ b/jfunk-web/src/main/java/com/mgmtp/jfunk/web/util/WebDriverToo...
MQA-<I>: Move logic from steps to utility classes
mgm-tp_jfunk
train
c0cfc2ca49f9ef83e332fd0eb49f76dd9715b263
diff --git a/test/test_frontend/test_modes/test_autocomplete.py b/test/test_frontend/test_modes/test_autocomplete.py index <HASH>..<HASH> 100644 --- a/test/test_frontend/test_modes/test_autocomplete.py +++ b/test/test_frontend/test_modes/test_autocomplete.py @@ -19,6 +19,11 @@ def setup_module(): QTest.qWait(500) ...
Add missing teardown_module functions so that tested editors do not stack on top of each others
pyQode_pyqode.core
train
450e95e9e42da2c1e8bfd59a1ffdd8f33c9bf096
diff --git a/src/main/java/com/pinterest/secor/io/KeyValue.java b/src/main/java/com/pinterest/secor/io/KeyValue.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/pinterest/secor/io/KeyValue.java +++ b/src/main/java/com/pinterest/secor/io/KeyValue.java @@ -28,14 +28,14 @@ public class KeyValue { private final l...
Changed long to Long in KeyValue.java to allow null fields for timestamp
pinterest_secor
train
aa04ebce501e2e21c2e429cea06c503bbdc0b5dc
diff --git a/BingSpeechService.js b/BingSpeechService.js index <HASH>..<HASH> 100644 --- a/BingSpeechService.js +++ b/BingSpeechService.js @@ -195,12 +195,12 @@ module.exports = function (dependencies) { client.onerror = (error) => { client.emit('error', error); - debug('socket error:', e...
closures don't always have a reason
noopkat_ms-bing-speech-service
train
e732168bd156512ea6b361aa978a89603089e4df
diff --git a/lib/model.js b/lib/model.js index <HASH>..<HASH> 100644 --- a/lib/model.js +++ b/lib/model.js @@ -345,7 +345,11 @@ Model.prototype.toJSON = function(all, method, isAPICall) { && (!deny || !deny.call(authorizationContext, process.domain.req, self, self[key], key)) )) { - json[key] = ...
improve #toJSON for properties of array type
rkusa_swac-odm
train
586cba7ddd978960fa537ad0cb93e6199d1c0d19
diff --git a/angr/path_group.py b/angr/path_group.py index <HASH>..<HASH> 100644 --- a/angr/path_group.py +++ b/angr/path_group.py @@ -71,7 +71,7 @@ class PathGroup(ana.Storable): } if stashes is None else stashes @classmethod - def call(cls, project, target, args=(), start=None, prototype=None **kwa...
The rest of the work, including some bugfixes in pathgroup
angr_angr
train
e1b6b58e907b4d09df38921c8c194c97641d6d6b
diff --git a/src/fractions.js b/src/fractions.js index <HASH>..<HASH> 100644 --- a/src/fractions.js +++ b/src/fractions.js @@ -33,6 +33,19 @@ Fraction.prototype.reduce = function() { return copy; }; +Fraction.prototype.equalTo = function(fraction) { + if(fraction instanceof Fraction) { + var thisReduc...
Add method on Fraction to check if it's equal to another Fraction.
nicolewhite_algebra.js
train
8cd0ee88a22560bbe35a22a48948ceba53a75ab9
diff --git a/src/ClassMapper.php b/src/ClassMapper.php index <HASH>..<HASH> 100644 --- a/src/ClassMapper.php +++ b/src/ClassMapper.php @@ -13,16 +13,6 @@ class ClassMapper implements ClassMapperInterface protected $mapping = []; /** - * ClassMapper constructor. - * - * @param array|null $mapping...
Refactored constructor to method.
extendsframework_extends-serializer
train