hash
stringlengths
40
40
diff
stringlengths
131
114k
message
stringlengths
7
980
project
stringlengths
5
67
split
stringclasses
1 value
7cbd96ccce23f0fbbfddaac772f125cec5e6f51e
diff --git a/w1thermsensor/core.py b/w1thermsensor/core.py index <HASH>..<HASH> 100644 --- a/w1thermsensor/core.py +++ b/w1thermsensor/core.py @@ -82,7 +82,7 @@ class W1ThermSensor(object): """ if not types: - types = W1ThermSensor.ALL_TYPES + types = cls.ALL_TYPES is_...
Use self or cls attributes rather than explicit class name
timofurrer_w1thermsensor
train
c5f995878363dd5e452cba5ec42dd818dd379657
diff --git a/CHANGELOG b/CHANGELOG index <HASH>..<HASH> 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,8 +1,10 @@ Changes between 2.3.4 and 2.3.5dev ----------------------------------- +- never consider a fixture function for test function collection + - allow re-running of test items / helps to fix pytest-reruntest...
never consider a fixture function for test function collection
pytest-dev_pytest
train
eaf08ad045298692768d005f36fd66eed09813d9
diff --git a/src/Illuminate/Filesystem/FilesystemAdapter.php b/src/Illuminate/Filesystem/FilesystemAdapter.php index <HASH>..<HASH> 100644 --- a/src/Illuminate/Filesystem/FilesystemAdapter.php +++ b/src/Illuminate/Filesystem/FilesystemAdapter.php @@ -269,17 +269,25 @@ class FilesystemAdapter implements CloudFilesystemC...
do not resolve already set headers (#<I>)
laravel_framework
train
f721c16117c6d09b34fe908f2679cc3de8946c98
diff --git a/tests/Helper/TestOrderModel.php b/tests/Helper/TestOrderModel.php index <HASH>..<HASH> 100644 --- a/tests/Helper/TestOrderModel.php +++ b/tests/Helper/TestOrderModel.php @@ -117,6 +117,18 @@ class TestOrderModel extends Order 'unsigned' => true, 'notNull' => false,...
test: add canceled_at and failed_at field to order table
phwoolcon_phwoolcon
train
9c0b6329533365e7ee2f81d4df2ff23e3c7a6cce
diff --git a/data/call_with_passing_by_reference.php b/data/call_with_passing_by_reference.php index <HASH>..<HASH> 100644 --- a/data/call_with_passing_by_reference.php +++ b/data/call_with_passing_by_reference.php @@ -17,8 +17,10 @@ function call_with_passing_by_reference(array $usage_tokens, $function) { $data =...
Update checker of pass-by-reference problem.
wapmorgan_PhpCodeFixer
train
422e8fee9e04353cfb44642d7bb113cf2ab46dac
diff --git a/lib/sonos.js b/lib/sonos.js index <HASH>..<HASH> 100644 --- a/lib/sonos.js +++ b/lib/sonos.js @@ -477,7 +477,7 @@ Sonos.prototype.setAVTransportURI = async function (options) { * Stop What's Playing * @returns {Promise} */ -Sonos.prototype.stop = function () { +Sonos.prototype.stop = async function (...
patch: Stop forgot async keyword
bencevans_node-sonos
train
2a1d424872d71f761eb3e823e246ea17e49c889b
diff --git a/src/main/java/com/zaxxer/sansorm/SqlClosure.java b/src/main/java/com/zaxxer/sansorm/SqlClosure.java index <HASH>..<HASH> 100644 --- a/src/main/java/com/zaxxer/sansorm/SqlClosure.java +++ b/src/main/java/com/zaxxer/sansorm/SqlClosure.java @@ -139,6 +139,9 @@ public abstract class SqlClosure<T> ...
Don't commit a transaction that we've already rolled back.
brettwooldridge_SansOrm
train
e228bcc98ffac7b6ba02d3f3c4a106434cb19864
diff --git a/environment/src/main/java/jetbrains/exodus/log/DataCorruptionException.java b/environment/src/main/java/jetbrains/exodus/log/DataCorruptionException.java index <HASH>..<HASH> 100644 --- a/environment/src/main/java/jetbrains/exodus/log/DataCorruptionException.java +++ b/environment/src/main/java/jetbrains/e...
#XD-<I> fixed
JetBrains_xodus
train
158c2f3fecca326090cfd0798af1a51813e48b04
diff --git a/Gemfile.lock b/Gemfile.lock index <HASH>..<HASH> 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,23 +1,23 @@ PATH remote: . specs: - redhillonrails_core (1.1.3) + redhillonrails_core (1.2.0) activerecord (>= 2) GEM remote: http://rubygems.org/ specs: - activemodel (3.0.4)...
fixed quoting table name for add/remove_foreign call. tests added
mlomnicki_redhillonrails_core
train
36539a0d1eff0b665e00206768fa77a1033d68db
diff --git a/src/Identicon/Facades/Identicon.php b/src/Identicon/Facades/Identicon.php index <HASH>..<HASH> 100644 --- a/src/Identicon/Facades/Identicon.php +++ b/src/Identicon/Facades/Identicon.php @@ -1,6 +1,9 @@ <?php + namespace Kregel\Identicon\Facades; + use Illuminate\Support\Facades\Facade; + /** * Get th...
PSR-2 * Tabs to 4 spaces * Add/remove various new lines
austinkregel_laravel-identicon
train
3fcaa2a188caac0df5bdc4bc082e4863120fa125
diff --git a/CSHLDAP.py b/CSHLDAP.py index <HASH>..<HASH> 100755 --- a/CSHLDAP.py +++ b/CSHLDAP.py @@ -4,6 +4,8 @@ import ldap as pyldap import ldap.sasl as sasl import ldap.modlist +import re +from datetime import datetime, date from copy import deepcopy class CSHLDAP: @@ -173,7 +175,49 @@ class CSHLDAP: ...
Added a lot of handy accessor methods and converted fields that are digits to digits.
gambogi_CSHLDAP
train
8b4e80db55105a7fc1c6cf793a76389159ff7e31
diff --git a/celeryconfig.py b/celeryconfig.py index <HASH>..<HASH> 100644 --- a/celeryconfig.py +++ b/celeryconfig.py @@ -63,7 +63,8 @@ CELERY_IMPORTS = ( "openquake.calculators.risk.classical.core", "openquake.calculators.risk.classical_bcr.core", "openquake.calculators.risk.event_based.core", - "op...
Added scenario risk to celeryconfig
gem_oq-engine
train
892a772fad4c7c5950c1c08a18d175c9bc6b5992
diff --git a/spec/unit/config_spec.rb b/spec/unit/config_spec.rb index <HASH>..<HASH> 100644 --- a/spec/unit/config_spec.rb +++ b/spec/unit/config_spec.rb @@ -370,8 +370,4 @@ describe Chef::Config do Chef::Config[:event_handlers].should be_include(o) end end - - after(:each) do - Chef::Config.configu...
[CHEF-<I>] Remove unnecessary restoration of Chef::Config
chef_chef
train
dd7ae027cc893e6080d6812f74b8fa47fecae603
diff --git a/moto/ecs/models.py b/moto/ecs/models.py index <HASH>..<HASH> 100644 --- a/moto/ecs/models.py +++ b/moto/ecs/models.py @@ -108,10 +108,10 @@ class ContainerInstance(BaseObject): return response_object -class Failure(BaseObject): - def __init__(self, reason, arn): +class ContainerInstance...
rename class Failure to ContainerInstanceFailure
spulec_moto
train
c2ba441ccecb4b44f857b32b4db4c71e4d952320
diff --git a/helpers/mail/mail_v3.go b/helpers/mail/mail_v3.go index <HASH>..<HASH> 100644 --- a/helpers/mail/mail_v3.go +++ b/helpers/mail/mail_v3.go @@ -5,7 +5,7 @@ import ( "log" ) -// SGMailV3 contains mail struct +// SGMailV3 contains mail struct type SGMailV3 struct { From *Email ...
Fix spelling and formatting of comments in mail_v3.go
sendgrid_sendgrid-go
train
9852aab344f15caf314aea0ff8b048fd12d7f254
diff --git a/lib/ExecHelper.php b/lib/ExecHelper.php index <HASH>..<HASH> 100644 --- a/lib/ExecHelper.php +++ b/lib/ExecHelper.php @@ -52,4 +52,40 @@ class ExecHelper </form> EOS; } + + /** + * Generate a link which replaces the content of a DOM element with the output of an exec method + * @param $ex...
Attempt at AJAX exec.
patternseek_componentview
train
17f15bf5d76456b943b43567a0f8aea4085c11ad
diff --git a/driver-core/src/test/functional/com/mongodb/internal/connection/TestCommandListener.java b/driver-core/src/test/functional/com/mongodb/internal/connection/TestCommandListener.java index <HASH>..<HASH> 100644 --- a/driver-core/src/test/functional/com/mongodb/internal/connection/TestCommandListener.java +++ ...
Change `TestCommandListener.getEvents` such that it makes a copy of `events`
mongodb_mongo-java-driver
train
6a9da6b41b6eed395e4dfadb184e2519e36dc96e
diff --git a/airflow/models.py b/airflow/models.py index <HASH>..<HASH> 100644 --- a/airflow/models.py +++ b/airflow/models.py @@ -175,6 +175,9 @@ class DagBag(object): for subdag in dag.subdags: subdag.full_filepath = dag.full_filepath subdag.parent_dag = dag + subdag.last...
Fix bug where fileloc didn't trickle into subdags
apache_airflow
train
5e84e6fa28ba5cd236ec4fb0475a92aeb18802f0
diff --git a/girder/api/rest.py b/girder/api/rest.py index <HASH>..<HASH> 100644 --- a/girder/api/rest.py +++ b/girder/api/rest.py @@ -477,6 +477,12 @@ def _createResponse(val): thread, this will simply return the response raw. """ if getattr(cherrypy.request, 'girderRawResponse', False) is True: + ...
Attempt to support non-encoded raw responses
girder_girder
train
3ea238fa922b5ececee0a646c8e5af471b898129
diff --git a/djpg/urls.py b/djpg/urls.py index <HASH>..<HASH> 100644 --- a/djpg/urls.py +++ b/djpg/urls.py @@ -1,5 +1,6 @@ -from django.conf.urls import patterns, url +from django.conf.urls import url +from .views import notifications -urlpatterns = patterns('djpg.views', - url(r'notifications/$', 'notifications',...
Support for Django ><I>
mstrcnvs_djpg
train
61de30eaa0d8e1b1f693bc274e33c03bee454e4a
diff --git a/mailbody.js b/mailbody.js index <HASH>..<HASH> 100644 --- a/mailbody.js +++ b/mailbody.js @@ -4,6 +4,11 @@ var logger = require('./logger'); var Header = require('./mailheader').Header; var events = require('events'); var util = require('util'); +var Iconv; +try { Iconv = require('iconv').Iconv } +cat...
Decoding mail bodies to UTF-8 with iconv
haraka_Haraka
train
ebff92817e2c3553eee2e25d36148c132fdef060
diff --git a/guide/src/html.js b/guide/src/html.js index <HASH>..<HASH> 100644 --- a/guide/src/html.js +++ b/guide/src/html.js @@ -27,7 +27,7 @@ module.exports = class HTML extends React.Component { <link rel="stylesheet" type="text/css" - href="https://cloud.typography.c...
Use Culture Amp font CDN rather than CloudTypography directly This is to bring consistency with the way we load fonts in murmur - where we need to use the CDN to prevent the Referer HTTP header linking private information.
cultureamp_cultureamp-style-guide
train
833dab139cccf21592b4a38d89cd35172f22d184
diff --git a/sos/plugins/memory.py b/sos/plugins/memory.py index <HASH>..<HASH> 100644 --- a/sos/plugins/memory.py +++ b/sos/plugins/memory.py @@ -32,7 +32,8 @@ class Memory(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): self.add_cmd_output([ "free -m", "swapon --bytes --show", - ...
[memory] Add lsmem collection Adds collection of lsmem output for all memory blocks to the memory plugin. Resolves: #<I>
sosreport_sos
train
00711a9f968467a771b77acb226b8ec321d284a0
diff --git a/lib/test-server/test-server.js b/lib/test-server/test-server.js index <HASH>..<HASH> 100644 --- a/lib/test-server/test-server.js +++ b/lib/test-server/test-server.js @@ -151,7 +151,7 @@ var routeCoverage = function (req, res, next) { var jsonApi = function (req, res, next) { var testServer = this; ...
Fixing issue introduced in ba3aa<I>bd<I>aa<I>d<I>db<I>de6a<I> The status page was returned instead of <I> errors.
attester_attester
train
f34518c3c77cb0b468f89c0da3093962e7fd1920
diff --git a/travis.py b/travis.py index <HASH>..<HASH> 100644 --- a/travis.py +++ b/travis.py @@ -81,9 +81,10 @@ def main(): call(['pip', 'install', '-e', '.']) call(['make', '-j3']) - with Fold('script.package', 'Packaging binaries'): - call(['python', 'setup.py', '-q', 'bdist_wheel']) -...
travis: Do not upload other branches
openai_retro
train
b07780ad42f3d1fb3e1af25c4ebe72e3df4373ba
diff --git a/publish.js b/publish.js index <HASH>..<HASH> 100644 --- a/publish.js +++ b/publish.js @@ -1,4 +1,4 @@ -const { execSync } = require('child_process') +const { spawn } = require('child_process') const git = require('gift') const runTasks = require('./src/lib/runTasks') @@ -8,18 +8,50 @@ const repo = git(...
Another way to track npm error
ben-eb_caniuse-lite
train
f1d93a68dd341ec9310013257bba5f2c87073d9d
diff --git a/moa/src/main/java/moa/evaluation/BasicClassificationPerformanceEvaluator.java b/moa/src/main/java/moa/evaluation/BasicClassificationPerformanceEvaluator.java index <HASH>..<HASH> 100644 --- a/moa/src/main/java/moa/evaluation/BasicClassificationPerformanceEvaluator.java +++ b/moa/src/main/java/moa/evaluatio...
Implement ClassificationPerformanceEvaluator in basic class The name of BasicClassificationPerformanceEvaluator suggests that it should be an implementation of the interface ClassificationPerformanceEvaluator. Otherwise, the interface would also be unused.
Waikato_moa
train
e426d2bb74fb49ce7efc3520ab8ae955973a297c
diff --git a/CalendarFXView/src/main/java/com/calendarfx/view/DateControl.java b/CalendarFXView/src/main/java/com/calendarfx/view/DateControl.java index <HASH>..<HASH> 100644 --- a/CalendarFXView/src/main/java/com/calendarfx/view/DateControl.java +++ b/CalendarFXView/src/main/java/com/calendarfx/view/DateControl.java @...
Fix for issue #<I>: "Focus on calendarEntry returns on focus on window."
dlemmermann_CalendarFX
train
c635d61e69d391d9a5acd3289e138fb17a70d3b8
diff --git a/tests/dummy/lib/template-stuff/index.js b/tests/dummy/lib/template-stuff/index.js index <HASH>..<HASH> 100644 --- a/tests/dummy/lib/template-stuff/index.js +++ b/tests/dummy/lib/template-stuff/index.js @@ -14,12 +14,7 @@ module.exports = { init(parent) { this._super.init && this._super.init.apply(t...
refactor(build): use this.project instead of tree traversal
salsify_ember-css-modules
train
b0073c6c5540fd648488ec647540def8b8e91614
diff --git a/mapper/uri_utils_test.go b/mapper/uri_utils_test.go index <HASH>..<HASH> 100644 --- a/mapper/uri_utils_test.go +++ b/mapper/uri_utils_test.go @@ -43,7 +43,7 @@ var ( conceptURI = "http://www.ft.com/ontology/concept/Concept" roleURI = "http://www.ft.com/ontology/organisa...
Changed the type uri for membershiprole
Financial-Times_neo-model-utils-go
train
3519bf62040d3eba05abbc35ce0b2654d44b60f0
diff --git a/dark/graphics.py b/dark/graphics.py index <HASH>..<HASH> 100644 --- a/dark/graphics.py +++ b/dark/graphics.py @@ -308,8 +308,8 @@ def alignmentGraph(blastHits, title, addQueryLines=True, showFeatures=True, for color, reads in idList.iteritems(): for read in reads: ...
removed \ from the end of line, line <I>
acorg_dark-matter
train
befd698f8d274aab2ea032c1b09ec7f834f6c819
diff --git a/dropwizard-testing/src/main/java/io/dropwizard/testing/junit/DropwizardAppRule.java b/dropwizard-testing/src/main/java/io/dropwizard/testing/junit/DropwizardAppRule.java index <HASH>..<HASH> 100644 --- a/dropwizard-testing/src/main/java/io/dropwizard/testing/junit/DropwizardAppRule.java +++ b/dropwizard-te...
testing: Allow tests to hook onRun and add Managed objects to the Application under test
dropwizard_dropwizard
train
44d7e97162ea143470d8a4dad60e778424189e5e
diff --git a/src/main/java/de/jfachwert/net/Telefonnummer.java b/src/main/java/de/jfachwert/net/Telefonnummer.java index <HASH>..<HASH> 100644 --- a/src/main/java/de/jfachwert/net/Telefonnummer.java +++ b/src/main/java/de/jfachwert/net/Telefonnummer.java @@ -111,7 +111,8 @@ public class Telefonnummer extends AbstractFa...
broken testToDinString() is fixed
oboehm_jfachwert
train
9e99883f663175282753d79dd1ea9f414acbc905
diff --git a/pypodio2/transport.py b/pypodio2/transport.py index <HASH>..<HASH> 100644 --- a/pypodio2/transport.py +++ b/pypodio2/transport.py @@ -39,12 +39,13 @@ class OAuthAuthorization(object): headers = {'content-type':'application/x-www-form-urlencoded'} response, data = h.request(domain + "/oaut...
Fix how headers get handled. Authorization objects now store the whole OAuthToken object, and call to_headers to get auth headers. Making a transport request also now doesn't store headers between requests.
podio_podio-py
train
27fc30b95e59b29c6f47f29cce0426f426346088
diff --git a/lib/lingohub/commands/project.rb b/lib/lingohub/commands/project.rb index <HASH>..<HASH> 100644 --- a/lib/lingohub/commands/project.rb +++ b/lib/lingohub/commands/project.rb @@ -24,7 +24,7 @@ module Lingohub::Command end def create - title = args.shift.downcase.strip rescue nil + titl...
#1 Fix `lingohub project:create Name` Previously, the client was downcasing the passed in name arg, therefore it didn't find the created project later on, as the service itself stores it with its "true" name. It only downcases names for display in urls and the likes (i assume).
lingohub_lingohub_ruby
train
af09a1a1733b8bb3be8b64548d83d2b152e516d4
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -197,7 +197,7 @@ class multicolour extends Map { // When we ask the program to terminate, // do so as gracefully as programmatically possible. - process.on("SIGINT", this.stop.bind(this)) + process.on("SIGINT...
🐛 Bug :: Fix issue where process never exits.
Multicolour_multicolour
train
6b328ec511a2ad4ae1cbf152f3b89cada8d1a4a1
diff --git a/client/lib/wpcom-undocumented/lib/undocumented.js b/client/lib/wpcom-undocumented/lib/undocumented.js index <HASH>..<HASH> 100644 --- a/client/lib/wpcom-undocumented/lib/undocumented.js +++ b/client/lib/wpcom-undocumented/lib/undocumented.js @@ -361,17 +361,6 @@ Undocumented.prototype.readFeedPost = functi...
WPCOM: Migrate wpcom.undocumented() read tag images to wpcom.req (#<I>)
Automattic_wp-calypso
train
80e3c928752deddbba55b3c53c7f544834008026
diff --git a/lib/file-stream.js b/lib/file-stream.js index <HASH>..<HASH> 100644 --- a/lib/file-stream.js +++ b/lib/file-stream.js @@ -117,4 +117,5 @@ FileStream.prototype.destroy = function () { var self = this if (self.destroyed) return self.destroyed = true + self._storage.emit('deselect', self.startPiece,...
deprioritize selection after filestream.destroy() cc @jhiesey
webtorrent_webtorrent
train
fa1a30d17527d3006c72cbe8b112cd4b54415496
diff --git a/telemetry/telemetry/core/browser_credentials_unittest.py b/telemetry/telemetry/core/browser_credentials_unittest.py index <HASH>..<HASH> 100644 --- a/telemetry/telemetry/core/browser_credentials_unittest.py +++ b/telemetry/telemetry/core/browser_credentials_unittest.py @@ -1,8 +1,9 @@ # Copyright (c) 2012...
[Telemetry] Fix credentials tests on windows. On windows you can't open a file for reading while it is still open for writing. This patch makes sure we close the file for writing before reading it. BUG=<I> TEST=python tools\telemetry\run_tests Credentials NOTRY=True Review URL: <URL>
catapult-project_catapult
train
4830dd7812d05570cabca6387c96ca8f1b468b99
diff --git a/archunit/src/main/java/com/tngtech/archunit/core/importer/NormalizedResourceName.java b/archunit/src/main/java/com/tngtech/archunit/core/importer/NormalizedResourceName.java index <HASH>..<HASH> 100644 --- a/archunit/src/main/java/com/tngtech/archunit/core/importer/NormalizedResourceName.java +++ b/archuni...
Normalize backslashes of Windows paths Fixes #<I>
TNG_ArchUnit
train
38a6b6ead9e33945b353afb1487ba1e49e20e60e
diff --git a/tests/test_base_resource.py b/tests/test_base_resource.py index <HASH>..<HASH> 100644 --- a/tests/test_base_resource.py +++ b/tests/test_base_resource.py @@ -7,7 +7,7 @@ else: import unittest2 as unittest from mock import Mock -from nose.tools import assert_equal, assert_true +from nose.tools impor...
Handle null dates returned from the API.
twilio_twilio-python
train
c728adcee9f04b6758c694125d7b33f465ee2de5
diff --git a/provision/docker/docker.go b/provision/docker/docker.go index <HASH>..<HASH> 100644 --- a/provision/docker/docker.go +++ b/provision/docker/docker.go @@ -70,7 +70,7 @@ func dockerCluster() *cluster.Cluster { } var nodes []cluster.Node if segregate, _ := config.GetBool("docker:segregate"); segregat...
cluster should have an address to schedule instance
tsuru_tsuru
train
d45721ed559beab8729f02ea24095733cbc6511e
diff --git a/go/engine/identify.go b/go/engine/identify.go index <HASH>..<HASH> 100644 --- a/go/engine/identify.go +++ b/go/engine/identify.go @@ -198,7 +198,7 @@ func (e *Identify) run(ctx *Context) (*libkb.IdentifyOutcome, error) { is.Precompute(ctx.IdentifyUI.DisplayKey) ctx.IdentifyUI.LaunchNetworkChecks(res....
fix terrible bug in which showUserCard was being routed through to raw IdentifyUI - should have passing the buffered UI in most cases
keybase_client
train
3a69c356ddd2a09eb58e52d2af2ef0aece564c36
diff --git a/booty/__main__.py b/booty/__main__.py index <HASH>..<HASH> 100644 --- a/booty/__main__.py +++ b/booty/__main__.py @@ -51,3 +51,6 @@ def main(hexfile, port, baudrate, load, verify): logger.info('device verified!') else: logger.warning('device verification failed') + +if __...
Added a 'if name == main' statement
slightlynybbled_booty
train
90d73318f0e30ffe6d6b4b93b326fbebc33a9fa8
diff --git a/SlevomatCodingStandard/Sniffs/Operators/RequireCombinedAssignmentOperatorSniff.php b/SlevomatCodingStandard/Sniffs/Operators/RequireCombinedAssignmentOperatorSniff.php index <HASH>..<HASH> 100644 --- a/SlevomatCodingStandard/Sniffs/Operators/RequireCombinedAssignmentOperatorSniff.php +++ b/SlevomatCodingSt...
RequireCombinedAssignmentOperatorSniff: Fixed internal error
slevomat_coding-standard
train
ac4006cd98c7b691dd2406442cbfaab0e5e5d1cc
diff --git a/LiSE/LiSE/engine.py b/LiSE/LiSE/engine.py index <HASH>..<HASH> 100644 --- a/LiSE/LiSE/engine.py +++ b/LiSE/LiSE/engine.py @@ -581,7 +581,7 @@ class Engine(AbstractEngine, gORM): self._node_rules_handled_cache.store(character, node, rulebook, rule, branch, turn, tick) for character, or...
Don't try to create function lists when initially caching Rule objs
LogicalDash_LiSE
train
79bb16ac2b748f52317908e5cdad66c448f35530
diff --git a/controllers/controllerhelpers/chatLogger.go b/controllers/controllerhelpers/chatLogger.go index <HASH>..<HASH> 100644 --- a/controllers/controllerhelpers/chatLogger.go +++ b/controllers/controllerhelpers/chatLogger.go @@ -46,10 +46,10 @@ func globalLogFileUpdater() { } if !init { StopLogger(0) - ...
Set init to false at the end of the loop
TF2Stadium_Helen
train
a2e8b22cada56a6b40ce9a23ee6d0420c740c8c1
diff --git a/publify_amazon_sidebar/spec/dummy/db/migrate/20160712061343_drops_categories_for_tags.publify_core_engine.rb b/publify_amazon_sidebar/spec/dummy/db/migrate/20160712061343_drops_categories_for_tags.publify_core_engine.rb index <HASH>..<HASH> 100644 --- a/publify_amazon_sidebar/spec/dummy/db/migrate/20160712...
Fix Lint/UselessAssignment
publify_publify
train
1d97ccb96cd7038195b65985f7ac9f6b519533e4
diff --git a/lib/modules/apostrophe-rich-text-widgets/public/js/user.js b/lib/modules/apostrophe-rich-text-widgets/public/js/user.js index <HASH>..<HASH> 100644 --- a/lib/modules/apostrophe-rich-text-widgets/public/js/user.js +++ b/lib/modules/apostrophe-rich-text-widgets/public/js/user.js @@ -41,7 +41,6 @@ apos.define...
`canEdit` returns false if editing is disabled for area, as via workflow
apostrophecms_apostrophe
train
22d6a7048c72d3433cc46e2a88e2d12810cab82f
diff --git a/lib/Models/SensorObservationServiceCatalogItem.js b/lib/Models/SensorObservationServiceCatalogItem.js index <HASH>..<HASH> 100644 --- a/lib/Models/SensorObservationServiceCatalogItem.js +++ b/lib/Models/SensorObservationServiceCatalogItem.js @@ -737,7 +737,7 @@ function buildConcepts(item) { } function...
add can-download to prevent download errors
TerriaJS_terriajs
train
f0854dcc7acdca04be2f3b4ee28f8e63665cbe40
diff --git a/src/main/java/stormpot/qpool/QAllocThread.java b/src/main/java/stormpot/qpool/QAllocThread.java index <HASH>..<HASH> 100644 --- a/src/main/java/stormpot/qpool/QAllocThread.java +++ b/src/main/java/stormpot/qpool/QAllocThread.java @@ -110,7 +110,7 @@ class QAllocThread<T extends Poolable> extends Thread { ...
suppress a couple of PMD warnings.
chrisvest_stormpot
train
0f525225a11b125e85830141b7b18b75d30163c2
diff --git a/mod/quiz/cronlib.php b/mod/quiz/cronlib.php index <HASH>..<HASH> 100644 --- a/mod/quiz/cronlib.php +++ b/mod/quiz/cronlib.php @@ -127,15 +127,15 @@ class mod_quiz_overdue_attempt_updater { WHERE ( state = 'inprogress' AND ( - :timenow1 > usertimeclose OR - ...
MDL-<I> quiz cron: timelimit are timeclose of 0 are special. If the timelimit or timeclose of a quiz are 0, this means 'no restriction', rather than '<I>' or '0 seconds'. We need to handle these special cases correctly in the code that looks for quiz attempts that might be in the wrong state.
moodle_moodle
train
6df154366d13fa2fc35ed076fe7e1231636474a2
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -160,6 +160,7 @@ def runSetup(): 'console_scripts': [ 'toil = toil.utils.toilMain:main', '_toil_worker = toil.worker:main', + 'cwltoil = toil.cwl.cwltoil:cwltoil_wa...
[easy] Raise and warn the user if using "cwltoil". (#<I>) * Raise and warn the user if using cwltoil. * Change deprecated to removed.
DataBiosphere_toil
train
2e9e147006e6e37f1a1688c366c5065db75253e5
diff --git a/bokeh/io/webdriver.py b/bokeh/io/webdriver.py index <HASH>..<HASH> 100644 --- a/bokeh/io/webdriver.py +++ b/bokeh/io/webdriver.py @@ -64,6 +64,7 @@ def create_chromium_webdriver() -> WebDriver: options.add_argument("--headless") options.add_argument("--hide-scrollbars") options.add_argument(...
force srgb color profile on chrome (#<I>)
bokeh_bokeh
train
189fd9053f030a2a4b7345b1846105168effd5fd
diff --git a/adafruit_ads1x15/adafruit_ads1x15.py b/adafruit_ads1x15/adafruit_ads1x15.py index <HASH>..<HASH> 100644 --- a/adafruit_ads1x15/adafruit_ads1x15.py +++ b/adafruit_ads1x15/adafruit_ads1x15.py @@ -131,6 +131,23 @@ class ADS1x15(object): ADC_Channel(self, 2), ...
refactor reg read/write, add wait for conversion
adafruit_Adafruit_CircuitPython_ADS1x15
train
cc9b7b62590689be4c376e3f1b09ff2b44319121
diff --git a/src/ol/renderer/canvas/TileLayer.js b/src/ol/renderer/canvas/TileLayer.js index <HASH>..<HASH> 100644 --- a/src/ol/renderer/canvas/TileLayer.js +++ b/src/ol/renderer/canvas/TileLayer.js @@ -119,7 +119,12 @@ class CanvasTileLayerRenderer extends CanvasLayerRenderer { } /** + * TODO: File a TypeScr...
Work around a TypeScript issue with inheritdoc
openlayers_openlayers
train
d49d3f31f578bef826b133e08977c1b7d195727c
diff --git a/js/snippetPreview.js b/js/snippetPreview.js index <HASH>..<HASH> 100644 --- a/js/snippetPreview.js +++ b/js/snippetPreview.js @@ -1225,6 +1225,16 @@ SnippetPreview.prototype.getTitleWidth = function() { }; /** + * Allows to manually set the title width. + * This may be useful in setups where the title ...
Add setter for titleWidth Add a setter for the titleWidth as proposed in <URL>
Yoast_YoastSEO.js
train
86b6904e77a276f3ec8bba2963cdece759aea923
diff --git a/test/fixtures/esnext/es6-classes/anonymous-class.js b/test/fixtures/esnext/es6-classes/anonymous-class.js index <HASH>..<HASH> 100644 --- a/test/fixtures/esnext/es6-classes/anonymous-class.js +++ b/test/fixtures/esnext/es6-classes/anonymous-class.js @@ -12,11 +12,11 @@ var Dog = class extends Animal { t...
fix esnext tests to reflect new super behaviour
babel_babel
train
909b3674bebfdaaf70905f205a706e371b300819
diff --git a/modules/es/es.TransactionProcessor.js b/modules/es/es.TransactionProcessor.js index <HASH>..<HASH> 100644 --- a/modules/es/es.TransactionProcessor.js +++ b/modules/es/es.TransactionProcessor.js @@ -424,6 +424,8 @@ es.TransactionProcessor.prototype.attribute = function( op, invert ) { } else { throw 'I...
Update node when it's attributes are changed
wikimedia_parsoid
train
a08f508b037810f5a37d0ade694b705a8b4c098d
diff --git a/src/Spray/BundleIntegration/ORMIntegrationTestCase.php b/src/Spray/BundleIntegration/ORMIntegrationTestCase.php index <HASH>..<HASH> 100644 --- a/src/Spray/BundleIntegration/ORMIntegrationTestCase.php +++ b/src/Spray/BundleIntegration/ORMIntegrationTestCase.php @@ -6,7 +6,9 @@ use Doctrine\Common\Annotatio...
Implemented schema creation/dropping
JurJean_SprayBundleIntegration
train
c6bf64c67d2d1002b7fbec45608fb914d176616c
diff --git a/bot.go b/bot.go index <HASH>..<HASH> 100644 --- a/bot.go +++ b/bot.go @@ -160,7 +160,8 @@ func (bot *BotAPI) UploadFiles(endpoint string, params Params, files []RequestFi for field, value := range params { if err := m.WriteField(field, value); err != nil { - panic(err) + w.CloseWithError(err...
Replace panic with CloseWithError.
go-telegram-bot-api_telegram-bot-api
train
d296eb79719fc97e65339a03573d1be11afe47be
diff --git a/gremlin-python/src/main/jython/gremlin_python/driver/driver_remote_connection.py b/gremlin-python/src/main/jython/gremlin_python/driver/driver_remote_connection.py index <HASH>..<HASH> 100644 --- a/gremlin-python/src/main/jython/gremlin_python/driver/driver_remote_connection.py +++ b/gremlin-python/src/mai...
accept custom graphson_io instance in DriverRemoteConnection
apache_tinkerpop
train
6440bbd7e0f66a29bd33655ee80d250e1148b438
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ setup( "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", - "Programming Language :: Python :: 3", + "Programm...
#<I> Marked project as Python 3 only.
roskakori_pygount
train
9840f912e11ede64dec1bf7e9da220956a2e5ec3
diff --git a/src/Zpl/Builder.php b/src/Zpl/Builder.php index <HASH>..<HASH> 100644 --- a/src/Zpl/Builder.php +++ b/src/Zpl/Builder.php @@ -31,10 +31,10 @@ class Builder public function command() { $parameters = func_get_args(); - $command = array_shift($parameters); + $command = strtoup...
Very minor refactor to improve readability
robgridley_zebra
train
0806517036b77e24c3b56857a5404f3807bb3258
diff --git a/urbansim/developer/developer.py b/urbansim/developer/developer.py index <HASH>..<HASH> 100644 --- a/urbansim/developer/developer.py +++ b/urbansim/developer/developer.py @@ -135,7 +135,7 @@ class Developer(object): to not develop the same parcel twice. residential: bool I...
changing non-residential units to job_spaces
UDST_urbansim
train
c1e8ef9d0f81e8741fa04504e78cc17c8b7644e7
diff --git a/motion/ruby_motion_query/stylers/ui_label_styler.rb b/motion/ruby_motion_query/stylers/ui_label_styler.rb index <HASH>..<HASH> 100644 --- a/motion/ruby_motion_query/stylers/ui_label_styler.rb +++ b/motion/ruby_motion_query/stylers/ui_label_styler.rb @@ -56,6 +56,17 @@ module RubyMotionQuery def adju...
UILabel resize_height_to_fit functionality I use this code in my apps a LOT to set the height of the frame of a UILabel after setting its text/font/etc. It shoudl auto-calculate the height based on the width and resize the UILabel to fit the text, no matter the font or text length.
infinitered_rmq
train
675664c6cbadc4dbde9058d17f5da26466afd81e
diff --git a/salt/cloud/clouds/libcloud_aws.py b/salt/cloud/clouds/libcloud_aws.py index <HASH>..<HASH> 100644 --- a/salt/cloud/clouds/libcloud_aws.py +++ b/salt/cloud/clouds/libcloud_aws.py @@ -51,7 +51,7 @@ from salt.exceptions import ( SaltCloudExecutionTimeout, SaltCloudExecutionFailure ) -import six +im...
Replaced import six in file /salt/cloud/clouds/libcloud_aws.py
saltstack_salt
train
a53cedfb5acd9befb57ea50acc60d26bb6ffbf2e
diff --git a/examples/snep-client.py b/examples/snep-client.py index <HASH>..<HASH> 100644 --- a/examples/snep-client.py +++ b/examples/snep-client.py @@ -44,9 +44,10 @@ def main(): snep = nfc.snep.SnepClient() #snep.connect('urn:nfc:sn:snep') snep.put(''.join([chr(x) for x in range(200)])) -...
client should wait for server response before progressing
nfcpy_nfcpy
train
f1b9bafb712ba4478bdc1a71ce78f4ac38952402
diff --git a/lifelines/plotting.py b/lifelines/plotting.py index <HASH>..<HASH> 100644 --- a/lifelines/plotting.py +++ b/lifelines/plotting.py @@ -42,7 +42,7 @@ def plot_lifetimes(lifetimes, censorship = None, birthtimes=None, order=False): def plot_dataframes(self, estimate): - def plot(c="#348ABD", ci_legend=...
adding slicing to .plot for fitters
CamDavidsonPilon_lifelines
train
5bde535322d9131810561b936f59f4cbd280748c
diff --git a/lib/swarm/process_definition.rb b/lib/swarm/process_definition.rb index <HASH>..<HASH> 100644 --- a/lib/swarm/process_definition.rb +++ b/lib/swarm/process_definition.rb @@ -39,7 +39,6 @@ module Swarm Process.create( args.merge({ :workitem => workitem, - :hive => hive, ...
Remove explicit hive arg from create_process
bumbleworks_swarm
train
06ce4d2d3234a4cb8bee12d9b2901e202ebc7bf9
diff --git a/lib/xcodeproj/project/object_attributes.rb b/lib/xcodeproj/project/object_attributes.rb index <HASH>..<HASH> 100644 --- a/lib/xcodeproj/project/object_attributes.rb +++ b/lib/xcodeproj/project/object_attributes.rb @@ -64,6 +64,11 @@ module Xcodeproj # attr_accessor :classes + # @...
[AbstractObjectAttribute] Validate the keys of reference by keys attributes
CocoaPods_Xcodeproj
train
c96b604af39fa7f5565ed43e9b92e4b02d62c945
diff --git a/app/controllers/sync_management_controller.rb b/app/controllers/sync_management_controller.rb index <HASH>..<HASH> 100644 --- a/app/controllers/sync_management_controller.rb +++ b/app/controllers/sync_management_controller.rb @@ -125,7 +125,8 @@ private begin resp = Pulp::Repository.sync(id...
<I>: adding friendly sync conflict messaging
Katello_katello
train
9649e64e78d4f9d5db57188ff00d630ecd6345d4
diff --git a/pypiper/pipeline.py b/pypiper/pipeline.py index <HASH>..<HASH> 100644 --- a/pypiper/pipeline.py +++ b/pypiper/pipeline.py @@ -126,14 +126,20 @@ class Pipeline(object): return list(self._external_to_internal.keys()) - def run(self, start=None, stop=None): + def run(self, start=None, stop_...
bit of test prep; inclusive or exclusive stopping mechanism hooks
databio_pypiper
train
07d224453845c00ae7159802ee6c0e5ec9330a7c
diff --git a/stomp/transport.py b/stomp/transport.py index <HASH>..<HASH> 100644 --- a/stomp/transport.py +++ b/stomp/transport.py @@ -206,18 +206,16 @@ class BaseTransport(stomp.listener.Publisher): for listener in self.listeners.values(): if not listener: continue - i...
Avoid some listener callback method lookups
jasonrbriggs_stomp.py
train
733178a705563899b7f0eff0c4acd646a57292dc
diff --git a/go/vt/tabletmanager/binlog.go b/go/vt/tabletmanager/binlog.go index <HASH>..<HASH> 100644 --- a/go/vt/tabletmanager/binlog.go +++ b/go/vt/tabletmanager/binlog.go @@ -441,6 +441,7 @@ func (blm *BinlogPlayerMap) StopAllPlayersAndReset() { if blm.state == BpmStateRunning { bpc.Stop() } + bpc.shardR...
discovery: Call Stop() on all instances of ShardReplicationWatcher. Without this, a Go routine will be leaked which regularly loads the tablets.
vitessio_vitess
train
6bc0ae7c7a3023993cac2ac59716d9fea4a38b79
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -280,10 +280,6 @@ html_static_path = ['_static'] # using the given strftime format. html_last_updated_fmt = '%b %d, %Y' -# If true, SmartyPants will be used to convert quotes and dashes to -# typographicall...
Remove deprecated Sphinx setting
wmayner_pyphi
train
65b91581cc9a57a5493072c0c5995fbaf60555e4
diff --git a/lib/cucumber/reports/legacy_formatter.rb b/lib/cucumber/reports/legacy_formatter.rb index <HASH>..<HASH> 100644 --- a/lib/cucumber/reports/legacy_formatter.rb +++ b/lib/cucumber/reports/legacy_formatter.rb @@ -295,30 +295,34 @@ module Cucumber def print_step_container if current_test_...
Show where we switch to an alternative child
cucumber_cucumber-ruby
train
086677b0dfba52028e861fce79aa498000615bda
diff --git a/client/alloc_endpoint_test.go b/client/alloc_endpoint_test.go index <HASH>..<HASH> 100644 --- a/client/alloc_endpoint_test.go +++ b/client/alloc_endpoint_test.go @@ -176,7 +176,6 @@ func TestAllocations_GarbageCollect_ACL(t *testing.T) { } func TestAllocations_Stats(t *testing.T) { - t.Skip("missing ex...
run TestAllocations_Stats in CI
hashicorp_nomad
train
1156bc54ee9925fd5a21a65d885e2f1520145072
diff --git a/client/state/utils.js b/client/state/utils.js index <HASH>..<HASH> 100644 --- a/client/state/utils.js +++ b/client/state/utils.js @@ -20,7 +20,7 @@ import { reduce, } from 'lodash'; import { combineReducers as combine } from 'redux'; // eslint-disable-line wpcalypso/import-no-redux-combine-reducers -im...
state/utils: swap lru-cache for lru (#<I>) lru-cache was written for node but lru was written for nodejs. this commit just swaps out the equivalent dependencies.
Automattic_wp-calypso
train
d1708da50b1e82e577e2c98031340fac14bbaac1
diff --git a/lib/run.js b/lib/run.js index <HASH>..<HASH> 100644 --- a/lib/run.js +++ b/lib/run.js @@ -44,7 +44,7 @@ module.exports = function run(options) { output = convert(data); output = JSON.stringify(output, null, " "); } else if (isRevert) { - output = revert(data...
fix(ical2json): Fix revert with CLI not working
adrianlee44_ical2json
train
7b42352ad8063d30bee74582b70c6fef5a07a615
diff --git a/library.js b/library.js index <HASH>..<HASH> 100644 --- a/library.js +++ b/library.js @@ -42,11 +42,13 @@ Mentions.notify = function(postData) { }, next); } }, function(err, results) { - if (!err) { + var recipients = results.uids.filter(function(uid) { + return parseInt(uid, 10) ...
no longer creating an empty notif object if there are no recipients
julianlam_nodebb-plugin-mentions
train
cd01a34cdb2296281a8ac762327cc19748feebdb
diff --git a/state.go b/state.go index <HASH>..<HASH> 100644 --- a/state.go +++ b/state.go @@ -129,7 +129,7 @@ func (s *State) MemberRemove(member *Member) error { } // Member gets a member by ID from a guild. -func (s *State) Member(guildID string, userID string) (*Member, error) { +func (s *State) Member(guildID,...
Handle GUILD_EMOJI_UPDATE and track Emoji in state.
bwmarrin_discordgo
train
70b2fa845c843753dad47738e6b277d1845ab2ea
diff --git a/ezp/Persistence/LegacyStorage/Content/Type/Mapper.php b/ezp/Persistence/LegacyStorage/Content/Type/Mapper.php index <HASH>..<HASH> 100644 --- a/ezp/Persistence/LegacyStorage/Content/Type/Mapper.php +++ b/ezp/Persistence/LegacyStorage/Content/Type/Mapper.php @@ -104,9 +104,9 @@ class Mapper $type->...
Fixed: Mapping of ContentType from DB row. As reported by CBA. Value checks are now complete here, too.
ezsystems_ezpublish-kernel
train
43c2f2a84275d51fd7951d695ce5024405c2c8e7
diff --git a/index.js b/index.js index <HASH>..<HASH> 100644 --- a/index.js +++ b/index.js @@ -16,6 +16,7 @@ function loadConfig(filename) { return readFile(filename, 'utf8') .then(JSON.parse) .then(obj => obj && obj.config && obj.config['cz-emoji']) + .catch(() => null) } function loadConfigUpwards...
fix: handle exception when no file was found Fixes a regression introduced in <I>.
ngryman_cz-emoji
train
5dc7b5068de03f91ac94ebe8542bbd4658dbd7c6
diff --git a/lib/homesick/actions.rb b/lib/homesick/actions.rb index <HASH>..<HASH> 100644 --- a/lib/homesick/actions.rb +++ b/lib/homesick/actions.rb @@ -96,16 +96,16 @@ class Homesick if destination.exist? say_status :conflict, "#{destination} exists", :red unless options[:quiet] - system "mv...
Replace any system calls in lib that don't use git with calls to FileUtils
technicalpickles_homesick
train
da97ead413f424f8b92126c446670e87227e0714
diff --git a/js/bed/bedSource.js b/js/bed/bedSource.js index <HASH>..<HASH> 100755 --- a/js/bed/bedSource.js +++ b/js/bed/bedSource.js @@ -315,7 +315,7 @@ var igv = (function (igv) { options = { headers: myself.config.headers, // http headers, not file header ...
bug fix -- bed type tracks with gzipped headers failed. Must distinguish gzip from bgzip in some cases.
igvteam_igv.js
train
1d961b76d5338df704cab7e3eae5ccdc00d7b93c
diff --git a/lxd/db/network_forwards.go b/lxd/db/network_forwards.go index <HASH>..<HASH> 100644 --- a/lxd/db/network_forwards.go +++ b/lxd/db/network_forwards.go @@ -15,6 +15,8 @@ import ( ) // CreateNetworkForward creates a new Network Forward. +// If memberSpecific is true, then the forward is associated to the ...
lxd/db/network/forwards: Improve comments
lxc_lxd
train
4bcb95c8ebd21a70bf50faa47918a26949b25ae8
diff --git a/components/ekb/src/main/java/org/openengsb/core/ekb/impl/internal/ModelRegistryService.java b/components/ekb/src/main/java/org/openengsb/core/ekb/impl/internal/ModelRegistryService.java index <HASH>..<HASH> 100644 --- a/components/ekb/src/main/java/org/openengsb/core/ekb/impl/internal/ModelRegistryService....
[OPENENGSB-<I>] add shiro to BundleBlacklist in ModelRegistryService
openengsb_openengsb
train
04c4d19c92dedb5e77902f87298d02b6f4e8373b
diff --git a/h2o-algos/src/main/java/hex/glm/GLMModel.java b/h2o-algos/src/main/java/hex/glm/GLMModel.java index <HASH>..<HASH> 100755 --- a/h2o-algos/src/main/java/hex/glm/GLMModel.java +++ b/h2o-algos/src/main/java/hex/glm/GLMModel.java @@ -1117,6 +1117,7 @@ public class GLMModel extends Model<GLMModel,GLMModel.GLMPa...
PUBDEV-<I>: GLM doesn't need prediction postprocessing
h2oai_h2o-3
train
a7483cbc50a87ab71cf8c0e523b747ea28227caf
diff --git a/lib/kuniri/language/ruby/ruby_syntax.rb b/lib/kuniri/language/ruby/ruby_syntax.rb index <HASH>..<HASH> 100644 --- a/lib/kuniri/language/ruby/ruby_syntax.rb +++ b/lib/kuniri/language/ruby/ruby_syntax.rb @@ -14,6 +14,7 @@ require_relative 'function_behavior_ruby' require_relative 'attribute_ruby' require_r...
Add aggregation handler for ruby syntax
Kuniri_kuniri
train
2f5904d92090c9d87e59469036ee5ad514963d84
diff --git a/admin/settings/server.php b/admin/settings/server.php index <HASH>..<HASH> 100644 --- a/admin/settings/server.php +++ b/admin/settings/server.php @@ -221,4 +221,20 @@ $ADMIN->add('server', $temp); $ADMIN->add('server', new admin_externalpage('adminregistration', new lang_string('registration','admin'), ...
MDL-<I> new administration settings for the update notifications machinery
moodle_moodle
train
caa5cc51fc1d2080ce05352f5124b668dc91a4dd
diff --git a/pydle/features/rfc1459/client.py b/pydle/features/rfc1459/client.py index <HASH>..<HASH> 100644 --- a/pydle/features/rfc1459/client.py +++ b/pydle/features/rfc1459/client.py @@ -56,7 +56,7 @@ class RFC1459Support(BasicClient): # Misc. self.motd = None self._case_mapping = protoco...
Fix typo where self.channels was using the self.users dict.
Shizmob_pydle
train
525185ecd37d23e9f509faad549a248243b97137
diff --git a/guava/src/com/google/common/reflect/TypeToken.java b/guava/src/com/google/common/reflect/TypeToken.java index <HASH>..<HASH> 100644 --- a/guava/src/com/google/common/reflect/TypeToken.java +++ b/guava/src/com/google/common/reflect/TypeToken.java @@ -85,10 +85,8 @@ import javax.annotation.Nullable; * * ...
Fix up some javadoc in TypeToken re: TypeLiteral. ------------- Created by MOE: <URL>
google_guava
train
d4cda257733eb706efeb9a54315572240549c468
diff --git a/source/sanitize/array.js b/source/sanitize/array.js index <HASH>..<HASH> 100644 --- a/source/sanitize/array.js +++ b/source/sanitize/array.js @@ -3,6 +3,7 @@ import firstError from '../functions/firstError' function sanitizeArray(sanitizeAny, input, format, options) { if (!Array.isArray(input)) retur...
fix a huge bug with array validation
L1lith_Sandhands
train
274d9825a479cc7596b55e104fa6a63ac9b5b4e5
diff --git a/src/collectors/userscripts/test/fixtures/example.sh b/src/collectors/userscripts/test/fixtures/example.sh index <HASH>..<HASH> 100755 --- a/src/collectors/userscripts/test/fixtures/example.sh +++ b/src/collectors/userscripts/test/fixtures/example.sh @@ -2,3 +2,4 @@ echo "example.1 42" echo "example.2 2...
Added support for floats to userscripts
python-diamond_Diamond
train
26365f7c1f07183a35b8eda727cb746f1aedc6d2
diff --git a/lib/nodemailer.js b/lib/nodemailer.js index <HASH>..<HASH> 100644 --- a/lib/nodemailer.js +++ b/lib/nodemailer.js @@ -119,7 +119,7 @@ module.exports = exports = function (core) { if (messageObj.user && messageObj.message) { if (typeof messageObj.message === 'string') { - core.sendEmail...
removed unused variable in nodemailer
vodolaz095_hunt
train
0030c24c17b173381f2449e940690b67d765341c
diff --git a/src/FileCache.php b/src/FileCache.php index <HASH>..<HASH> 100644 --- a/src/FileCache.php +++ b/src/FileCache.php @@ -1,8 +1,7 @@ <?php namespace Yiisoft\Cache; -use yii\helpers\FileHelper; -use yii\helpers\Yii; +use Psr\Log\LoggerInterface; use Yiisoft\Cache\Exceptions\Exception; use Yiisoft\Cache\S...
Use PSR logger, eliminate dependency on FileHelper
yiisoft_cache
train
472fa4a6ca4074b4c80e6b7127cabfeede1d5c7c
diff --git a/cmd/bucket-handlers.go b/cmd/bucket-handlers.go index <HASH>..<HASH> 100644 --- a/cmd/bucket-handlers.go +++ b/cmd/bucket-handlers.go @@ -277,7 +277,11 @@ func (api objectAPIHandlers) DeleteMultipleObjectsHandler(w http.ResponseWriter, for index, object := range deleteObjects.Objects { wg.Add(1) go...
api: Multi object delete should be protected. (#<I>) Add missing protection from deleting multiple objects in parallel. Currently we are deleting objects without proper locking through this API. This can cause significant amount of races.
minio_minio
train
59ecffc84c5173143c8baf7a28308bcd0d526e3c
diff --git a/sk_dsp_comm/synchronization.py b/sk_dsp_comm/synchronization.py index <HASH>..<HASH> 100644 --- a/sk_dsp_comm/synchronization.py +++ b/sk_dsp_comm/synchronization.py @@ -224,7 +224,7 @@ def DD_carrier_sync(z, M, BnTs, zeta=0.707, mod_type = 'MPSK', type = 0, open_lo a_hat[nn] = np.sign(z_p...
Fixed missing np. in front of sqrt().
mwickert_scikit-dsp-comm
train
0139ebe6502a0b6afc5d9b8ec530d81c47dc6f59
diff --git a/hibernate-ogm-core/src/main/java/org/hibernate/ogm/jdbc/NoopStatement.java b/hibernate-ogm-core/src/main/java/org/hibernate/ogm/jdbc/NoopStatement.java index <HASH>..<HASH> 100644 --- a/hibernate-ogm-core/src/main/java/org/hibernate/ogm/jdbc/NoopStatement.java +++ b/hibernate-ogm-core/src/main/java/org/hib...
OGM-<I> Add methods to NoopStatement to make it compatible with JDK <I>
hibernate_hibernate-ogm
train