hash stringlengths 40 40 | diff stringlengths 131 26.7k | message stringlengths 7 694 | project stringlengths 5 67 | split stringclasses 1
value | diff_languages stringlengths 2 24 |
|---|---|---|---|---|---|
8dbd565a390a2b2234bcd22f7ae46a67ec825f9d | diff --git a/lib/linux_admin/version.rb b/lib/linux_admin/version.rb
index <HASH>..<HASH> 100644
--- a/lib/linux_admin/version.rb
+++ b/lib/linux_admin/version.rb
@@ -1,3 +1,3 @@
class LinuxAdmin
- VERSION = "0.2.0"
+ VERSION = "0.2.1"
end | Bumping version to <I>. | ManageIQ_linux_admin | train | rb |
04261e66d88f9e5272d00e828e49896dbcf0d6f3 | diff --git a/lib/boot_merb.rb b/lib/boot_merb.rb
index <HASH>..<HASH> 100644
--- a/lib/boot_merb.rb
+++ b/lib/boot_merb.rb
@@ -43,6 +43,11 @@ class Merb::Test::RspecStory
follow_redirect! while redirect?
status
end
+ def post_via_redirect(path, parameters = {}, headers = {})
+ @controller=post path, pa... | Added missing post_via_redirect | brynary_webrat | train | rb |
55e195cdf2f19c3f36007b72c1a9093dd9b0ebdb | diff --git a/pymysql/_auth.py b/pymysql/_auth.py
index <HASH>..<HASH> 100644
--- a/pymysql/_auth.py
+++ b/pymysql/_auth.py
@@ -4,6 +4,8 @@ Implements auth methods
from ._compat import text_type, PY2
from .constants import CLIENT
from .err import OperationalError
+from .util import byte2int, int2byte
+
from crypto... | Fix old password support (#<I>) | PyMySQL_PyMySQL | train | py |
bba67326f71dcf0768b5e76f01ba4292c7508018 | diff --git a/test/misc.js b/test/misc.js
index <HASH>..<HASH> 100644
--- a/test/misc.js
+++ b/test/misc.js
@@ -24,12 +24,4 @@ describe('ArrayBuffer', function () {
it('Inflate ArrayBuffer', function () {
assert.ok(cmp(sample, pako.inflate(deflated.buffer)));
});
-
- it('Simplified minified version test', fu... | Remove outdated test to cleanup coverage report
- uglify-js not used anymore | nodeca_pako | train | js |
0a1aa7502b83b2d51d7ee0231fb0155537b89ecd | diff --git a/lib/skiima/db/helpers/mysql.rb b/lib/skiima/db/helpers/mysql.rb
index <HASH>..<HASH> 100644
--- a/lib/skiima/db/helpers/mysql.rb
+++ b/lib/skiima/db/helpers/mysql.rb
@@ -2,7 +2,7 @@ module Skiima
module Db
module Helpers
module Mysql
- #attr_accessor :local_tz, :version
+ #attr... | removed #version accessor from mysql and postgresql helpers | dcunited001_skiima | train | rb,rb |
ef23a3612536bd2656d96b730a979fea3988e92b | diff --git a/src/renderable/container.js b/src/renderable/container.js
index <HASH>..<HASH> 100644
--- a/src/renderable/container.js
+++ b/src/renderable/container.js
@@ -112,6 +112,11 @@
}
}
+ // specify a z property to infinity if not defined
+ if (typeof child.z === 'undefined') {
+ ... | removed the `z` property from the Tween object definition
this is now enforced through the `addChild` function that will set the
property to `Infinity` if not defined.
the Tween object is now almost the default one without any specific
(melonJS) properties. | melonjs_melonJS | train | js,js |
f83959e1595c8c1032960bb3338279b5ed7de16a | diff --git a/great_expectations/dataset/base.py b/great_expectations/dataset/base.py
index <HASH>..<HASH> 100644
--- a/great_expectations/dataset/base.py
+++ b/great_expectations/dataset/base.py
@@ -74,11 +74,12 @@ class DataSet(object):
del all_args["output_format"]
all_args... | Make deep copy of all_args in expectation (#<I>) | great-expectations_great_expectations | train | py |
529897a609cddf8f5d10070135cc454f507d9238 | diff --git a/code/fields/AccountingField.php b/code/fields/AccountingField.php
index <HASH>..<HASH> 100644
--- a/code/fields/AccountingField.php
+++ b/code/fields/AccountingField.php
@@ -118,6 +118,6 @@ class AccountingField extends TextField
$removedThousendSeparator = preg_replace('/(\.|,)(?=[0-9]{3,}$)/', '... | DO NOT CAST TO FLOAT (as it is subject to locale settings and you could end up with a comma) | lekoala_silverstripe-form-extras | train | php |
2a0f04aaca4478a6b406c8aa2593920a3e86e6d0 | diff --git a/mambustruct.py b/mambustruct.py
index <HASH>..<HASH> 100644
--- a/mambustruct.py
+++ b/mambustruct.py
@@ -51,9 +51,9 @@ class MambuStruct(object):
def __init__(self, urlfunc, entid='', *args, **kwargs):
if urlfunc == None:
return
- self.urlfunc = urlfunc
self.rc... | Make urlfunc a 'private' attribute in MambuStruct. | jstitch_MambuPy | train | py |
94f0cbe6ed2cc6b0f504a8203ca937fc1fe643fb | diff --git a/Entity/ContactSource.php b/Entity/ContactSource.php
index <HASH>..<HASH> 100644
--- a/Entity/ContactSource.php
+++ b/Entity/ContactSource.php
@@ -29,7 +29,7 @@ class ContactSource extends FormEntity
private $id;
/** @var string */
- private $utm_source;
+ private $utmSource;
/** @v... | Correct the casing on the UTM Source field. | TheDMSGroup_mautic-contact-source | train | php |
60b3c3e266d62a5432343c4b2a1373e34c3be4e9 | diff --git a/lib/express_templates/components/tree_for.rb b/lib/express_templates/components/tree_for.rb
index <HASH>..<HASH> 100644
--- a/lib/express_templates/components/tree_for.rb
+++ b/lib/express_templates/components/tree_for.rb
@@ -64,7 +64,7 @@ module ExpressTemplates
return 'ExpressTemplates::Componen... | [#<I>] ensure correct classes and id | aelogica_express_templates | train | rb |
06a5d4005b65ec325165add0e2f9502c12d3dce1 | diff --git a/anonuuid.go b/anonuuid.go
index <HASH>..<HASH> 100644
--- a/anonuuid.go
+++ b/anonuuid.go
@@ -176,7 +176,7 @@ func GenerateHexspeakUUID(i int) (string, error) {
// GenerateLenUUID returns an UUID formatted string based on an index number
func GenerateLenUUID(i int) (string, error) {
if i < 0 {
- i = 2... | Avoid int overflow on <I>bits platforms | moul_anonuuid | train | go |
6ade77bbda6ffc74ed76c61624a80183e4153867 | diff --git a/spyder/widgets/variableexplorer/utils.py b/spyder/widgets/variableexplorer/utils.py
index <HASH>..<HASH> 100644
--- a/spyder/widgets/variableexplorer/utils.py
+++ b/spyder/widgets/variableexplorer/utils.py
@@ -481,7 +481,6 @@ def make_remote_view(data, settings, more_excluded_names=None):
Make a remot... | Variable explorer: Remove assert which is no longer satisfied
Commit da2aa<I> broke the assert. | spyder-ide_spyder-kernels | train | py |
34eac41675d3fd375860f79f7967bda8446d5e78 | diff --git a/lib/savon/client.rb b/lib/savon/client.rb
index <HASH>..<HASH> 100644
--- a/lib/savon/client.rb
+++ b/lib/savon/client.rb
@@ -113,7 +113,7 @@ module Savon
soap.namespace_identifier = options[0]
soap.namespace = wsdl.namespace
soap.element_form_default = wsdl.element_form_default if wsd... | added a spec for the SOAP :body passed directly to Savon::Client#request | savonrb_savon | train | rb |
ebc07407242366e1518158029a1e77cc940e07ea | diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -31,5 +31,6 @@ if os.environ.get('READTHEDOCS') == 'True':
'https://media.readthedocs.org/css/sphinx_rtd_theme.css',
'https://media.readthedocs.org/css/readthedocs-doc-embed.css',
... | Attempt to convince RTD to ignore their CSS override nonsense. | Fizzadar_pyinfra | train | py |
96ad81fb07fd139ffcda9345125c193dc4e5270c | diff --git a/lib/model/application.js b/lib/model/application.js
index <HASH>..<HASH> 100644
--- a/lib/model/application.js
+++ b/lib/model/application.js
@@ -22,12 +22,6 @@ var _ = require("underscore"),
var Application = DatabankObject.subClass("application", ActivityObject);
-Application.schema = {
- pkey: A... | Use subSchema() for application | pump-io_pump.io | train | js,js |
ed577a50e65308322f7509327ae229ed388b4bb4 | diff --git a/src/ASTPreprocessor.js b/src/ASTPreprocessor.js
index <HASH>..<HASH> 100644
--- a/src/ASTPreprocessor.js
+++ b/src/ASTPreprocessor.js
@@ -80,9 +80,9 @@ class ASTPreprocessor {
static *walker(ast, cbs, parent) {
var me = (a) => ASTPreprocessor.walker(a, cbs, ast);
+ if ( parent && ast instanceof AST... | An Identifier used as the property in a non-computed MemberExpression isn't an upvar. | codecombat_esper.js | train | js |
b7860ea2ba69116706c4d50e440d89706d87f20e | diff --git a/spec/mail/message_spec.rb b/spec/mail/message_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/mail/message_spec.rb
+++ b/spec/mail/message_spec.rb
@@ -1235,6 +1235,12 @@ describe Mail::Message do
describe "helper methods" do
describe "==" do
+ before(:each) do
+ # Ensure specs don't ra... | Fix random spec failure due to timing | mikel_mail | train | rb |
3719a6f2f2677e9c5f2450c4dab309de4b65be9a | diff --git a/lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php b/lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php
index <HASH>..<HASH> 100644
--- a/lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php
+++ b/lib/Doctrine/ORM/Mapping/Driver/YamlDriver.php
@@ -264,6 +264,10 @@ class YamlDriver extends FileDriver
... | [DDC-<I>] Fix bug in YamlDriver not passing options from id to mapField() | doctrine_orm | train | php |
ecce2888af2f7ae467d3816fa44dc3905fa340e4 | diff --git a/src/kba/pipeline/_clean_visible.py b/src/kba/pipeline/_clean_visible.py
index <HASH>..<HASH> 100644
--- a/src/kba/pipeline/_clean_visible.py
+++ b/src/kba/pipeline/_clean_visible.py
@@ -106,6 +106,9 @@ def clean_visible(config):
returns a kba.pipeline "transform" function that attempts to
generat... | insisting that config only specify using clean_html as input to clean_visible | trec-kba_streamcorpus-pipeline | train | py |
441fd7ac023fc25ff84e0b3fafa5f9de52734216 | diff --git a/generators/generator-constants.js b/generators/generator-constants.js
index <HASH>..<HASH> 100644
--- a/generators/generator-constants.js
+++ b/generators/generator-constants.js
@@ -42,7 +42,7 @@ const DOCKER_JHIPSTER_LOGSTASH = 'jhipster/jhipster-logstash:v4.0.0';
const DOCKER_JHIPSTER_IMPORT_DASHBOARDS ... | Upgrade to Consul to <I> | jhipster_generator-jhipster | train | js |
a4ab9a5a0ba9ec590ebd6fd1a5c1f911eb4a0b5d | diff --git a/matplotlib2tikz.py b/matplotlib2tikz.py
index <HASH>..<HASH> 100644
--- a/matplotlib2tikz.py
+++ b/matplotlib2tikz.py
@@ -719,7 +719,7 @@ def _transform_to_data_coordinates(obj, xdata, ydata):
points = numpy.array(zip(xdata, ydata))
transform = matplotlib.transforms.composite_transform_fa... | remove usage of get_axes()
It's being deprecated. | nschloe_matplotlib2tikz | train | py |
b69b189986b74fb6a99878818d69ab9e8ff01aef | diff --git a/src/View/View.php b/src/View/View.php
index <HASH>..<HASH> 100644
--- a/src/View/View.php
+++ b/src/View/View.php
@@ -998,18 +998,14 @@ class View implements EventDispatcherInterface
*
* @param string $viewFile Filename of the view
* @param array $dataForView Data to include in rendered v... | Get rid of unnecessary property assignment.
It was only used for testing purposes earlier. | cakephp_cakephp | train | php |
1fd52294c3fe6350807bce11e5251e9b0d5061d1 | diff --git a/jsonAPI/JsonApiView.php b/jsonAPI/JsonApiView.php
index <HASH>..<HASH> 100644
--- a/jsonAPI/JsonApiView.php
+++ b/jsonAPI/JsonApiView.php
@@ -39,7 +39,12 @@ class JsonApiView extends \Slim\View {
$response['status'] = $status;
//add flash messages
- $response['flash'] = $this->da... | Wrapped flash in conditional as requested. Also unset flash if there are no messages. | entomb_slim-json-api | train | php |
932b0caba181c2eb8592db6b047ef96ce9de9aae | diff --git a/lib/tire/index.rb b/lib/tire/index.rb
index <HASH>..<HASH> 100644
--- a/lib/tire/index.rb
+++ b/lib/tire/index.rb
@@ -77,7 +77,8 @@ module Tire
params[:percolate] = "*" if params[:percolate] === true
end
- params[:parent] = options[:parent] if options[:parent]
+ params[:parent] ... | Added extracting the `routing` information in the `Index#store` method
Tire.index('myindex').store( {:id => 1, :title => 'Test'}, {:routing => 'abc'} )
Closes #<I> | karmi_retire | train | rb,rb |
7b5d2fbdf4b98bc0f013ff5eb4642240e5dd3b09 | diff --git a/test/test_helper.rb b/test/test_helper.rb
index <HASH>..<HASH> 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -41,7 +41,9 @@ module Minitest
end
def teardown
- refute FakeFS.activated?
+ return if !FakeFS.activated?
+ FakeFs.deactivate!
+ flunk "always deactiv... | make activation bugs obvious but also fix them so only 1 test fails | fakefs_fakefs | train | rb |
f14b5fa047916e66b128379a82c8787799f615fe | diff --git a/src/Illuminate/Broadcasting/Broadcasters/AblyBroadcaster.php b/src/Illuminate/Broadcasting/Broadcasters/AblyBroadcaster.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Broadcasting/Broadcasters/AblyBroadcaster.php
+++ b/src/Illuminate/Broadcasting/Broadcasters/AblyBroadcaster.php
@@ -76,7 +76,7 @@ cla... | Ably expects clientId as string (#<I>)
Ably uses the Pusher 'user_id' and maps it to 'clientId' which should be a string | laravel_framework | train | php |
a524cf1880fbdfac0eb7c64c39b2c66f646b0170 | diff --git a/zipline/utils/cli.py b/zipline/utils/cli.py
index <HASH>..<HASH> 100644
--- a/zipline/utils/cli.py
+++ b/zipline/utils/cli.py
@@ -241,7 +241,6 @@ def run_pipeline(print_algo=True, **kwargs):
capital_base=float(kwargs['capital_base']),
... | BUG: fix bug that caused symbols to be added to the asset finder twice | quantopian_zipline | train | py |
21d5ba8d79d9f694e3bb32b5a2e9887e9ea9240a | diff --git a/src/Sulu/Bundle/AdminBundle/Admin/View/ToolbarAction.php b/src/Sulu/Bundle/AdminBundle/Admin/View/ToolbarAction.php
index <HASH>..<HASH> 100644
--- a/src/Sulu/Bundle/AdminBundle/Admin/View/ToolbarAction.php
+++ b/src/Sulu/Bundle/AdminBundle/Admin/View/ToolbarAction.php
@@ -33,6 +33,11 @@ class ToolbarActio... | Add getter for type property of ToolbarAction class (#<I>) | sulu_sulu | train | php |
53bc3c5a32be247fdfddc2c6033bccf44183f58f | diff --git a/src/SampleFactory.php b/src/SampleFactory.php
index <HASH>..<HASH> 100644
--- a/src/SampleFactory.php
+++ b/src/SampleFactory.php
@@ -48,7 +48,7 @@ class SampleFactory implements Factory, DomainEventFactory
return new ProductImportDomainEventHandler(
$event,
$this->getMas... | Issue #<I>: Fix SampleFactory | lizards-and-pumpkins_catalog | train | php |
c90280824aa1b6a99b373d99e04786c02f7f153a | diff --git a/helios-tools/src/main/java/com/spotify/helios/cli/command/JobWatchCommand.java b/helios-tools/src/main/java/com/spotify/helios/cli/command/JobWatchCommand.java
index <HASH>..<HASH> 100644
--- a/helios-tools/src/main/java/com/spotify/helios/cli/command/JobWatchCommand.java
+++ b/helios-tools/src/main/java/c... | Fix arg parse for watch command | spotify_helios | train | java |
b53fa44bbfb62dc284a052d828390b21f50d61f9 | diff --git a/dlog.go b/dlog.go
index <HASH>..<HASH> 100644
--- a/dlog.go
+++ b/dlog.go
@@ -187,7 +187,7 @@ func logf(severity Severity, format string, args ...interface{}) {
if _globals.syslogger != nil {
(*_globals.syslogger).WriteLevel(severityToSyslogPriority[severity], []byte(message))
} else {
- line := fm... | Do not log the app name in !syslog -- This is lousy | jedisct1_dlog | train | go |
58becce51795c4458a601e172b536ca01ae2d5cb | diff --git a/main/app/Controller/AbstractCrudController.php b/main/app/Controller/AbstractCrudController.php
index <HASH>..<HASH> 100644
--- a/main/app/Controller/AbstractCrudController.php
+++ b/main/app/Controller/AbstractCrudController.php
@@ -278,6 +278,9 @@ abstract class AbstractCrudController extends AbstractApi... | [CoreBundle] Text properly refreshed in the ui on update. (#<I>) | claroline_Distribution | train | php |
f7f335f83cbf4631bc468fca2cedb6dfc1492ead | diff --git a/classes/import.php b/classes/import.php
index <HASH>..<HASH> 100644
--- a/classes/import.php
+++ b/classes/import.php
@@ -233,15 +233,7 @@ class Import
$mptt = ORM::factory( 'tag_mptt' );
$mptt->id = $tag['rid'];
-
- //if ($parent == null)
- // {
- // $mptt->make_root();
- // }
- // el... | Removed commented out code from tag import | boomcms_boom-core | train | php |
af9777e1f29f7adaba94cd836aecf9679bd421e1 | diff --git a/lib/attr_secure.rb b/lib/attr_secure.rb
index <HASH>..<HASH> 100644
--- a/lib/attr_secure.rb
+++ b/lib/attr_secure.rb
@@ -15,8 +15,8 @@ module AttrSecure
# The order in this list matters, as only the first valid adapter will be used
#
ADAPTERS = [
- AttrSecure::Adapters::ActiveRecord,
Attr... | Prioritise Sequel over AR
In a Rails app using Sequel-Rails the gem assumes that the app is trying to use AR as it's present in the gems. This change prioritises Sequel over AR so that AR is only used if the Sequel check fails. | neilmiddleton_attr_secure | train | rb |
c56bfcc14b9a3d8ca76d06bb27f356fc47c7396d | diff --git a/pkg/apis/kops/validation/legacy.go b/pkg/apis/kops/validation/legacy.go
index <HASH>..<HASH> 100644
--- a/pkg/apis/kops/validation/legacy.go
+++ b/pkg/apis/kops/validation/legacy.go
@@ -233,7 +233,7 @@ func ValidateCluster(c *kops.Cluster, strict bool) *field.Error {
}
// Check Canal Networking Spec ... | Protect against panic when networking is not set
This is particularly likely to happen with `kops create -f -` | kubernetes_kops | train | go |
655689a743d10f8c43b1f734dcbff4ad3a08e085 | diff --git a/scheduler/context.go b/scheduler/context.go
index <HASH>..<HASH> 100644
--- a/scheduler/context.go
+++ b/scheduler/context.go
@@ -123,6 +123,12 @@ func (e *EvalContext) ProposedAllocs(nodeID string) ([]*structs.Allocation, erro
proposed = structs.RemoveAllocs(existingAlloc, update)
}
+ // Remove any... | Preempted allocations should be removed from proposed allocations | hashicorp_nomad | train | go |
3dec4535e354e8d98817bce31ad1764643a26ea2 | diff --git a/src/notices.js b/src/notices.js
index <HASH>..<HASH> 100644
--- a/src/notices.js
+++ b/src/notices.js
@@ -29,14 +29,16 @@ class Notices {
return;
}
- const noticeListElement = noticeElement.firstChild;
const screenPosition = RendererUtils.toScreenPosition(container, 'TL');
// C... | Stop assuming there is a ul in the vizceral-notice element. Fixes #9 | Netflix_vizceral | train | js |
ed552b4abf6cbaa6a080fd9cbbffce7025f9f081 | diff --git a/lib/commands/context.js b/lib/commands/context.js
index <HASH>..<HASH> 100644
--- a/lib/commands/context.js
+++ b/lib/commands/context.js
@@ -68,8 +68,7 @@ extensions.getNewRemoteDebugger = async function () {
pageLoadMs: this.pageLoadMs,
platformVersion: this.opts.platformVersion,
socketPat... | combine remoteDebugProxyPort and remoteDebugProxySocketPath into remoteDebugProxy (#<I>) | appium_appium-xcuitest-driver | train | js |
2efd0119e229abd0f9afebdbad0fe5604c4c2fe5 | diff --git a/examples/auth-flow/app.js b/examples/auth-flow/app.js
index <HASH>..<HASH> 100644
--- a/examples/auth-flow/app.js
+++ b/examples/auth-flow/app.js
@@ -11,7 +11,7 @@ var App = React.createClass({
updateAuth(loggedIn) {
this.setState({
- loggedIn: !!loggedIn
+ loggedIn: loggedIn
});
... | took out the typecasting to dry up the code since the parameterr passed must be a booelan | taion_rrtr | train | js |
167f926720c37f2567c84b98e22ef94c442a3146 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -11,6 +11,9 @@ var PLUGIN_NAME = 'gulp-wrap';
function compile(file, contents, template, data, options){
data = data !== undefined ? data : {};
+ if (file.data) {
+ data = extend(true, {}, file.data, data);
+ }
d... | gulp-wrap should look extend the template with file.data
In alignment with gulp-data would be nice if file.data could be used as the data without having to specify file.data.your_variable. | adamayres_gulp-wrap | train | js |
a2793a7f8e20df25ab0ab50d7aa7c3f2089d5d64 | diff --git a/orianna/src/main/java/com/merakianalytics/orianna/datapipeline/transformers/dtodata/MatchTransformer.java b/orianna/src/main/java/com/merakianalytics/orianna/datapipeline/transformers/dtodata/MatchTransformer.java
index <HASH>..<HASH> 100644
--- a/orianna/src/main/java/com/merakianalytics/orianna/datapipel... | Set pentaKills in MatchTransformer (#<I>) | meraki-analytics_orianna | train | java |
b33a9320a91c548bf7dc144b295bfd1d42a4ecd0 | diff --git a/server/src/main/java/io/atomix/copycat/server/state/PassiveState.java b/server/src/main/java/io/atomix/copycat/server/state/PassiveState.java
index <HASH>..<HASH> 100644
--- a/server/src/main/java/io/atomix/copycat/server/state/PassiveState.java
+++ b/server/src/main/java/io/atomix/copycat/server/state/Pas... | Store leader in local variable when responding to ConnectRequest in PassiveState. | atomix_copycat | train | java |
68fafb0a4c12f4489baa90458ef2860d3ecbf9a5 | diff --git a/time_heap.js b/time_heap.js
index <HASH>..<HASH> 100644
--- a/time_heap.js
+++ b/time_heap.js
@@ -84,8 +84,8 @@ TimeHeap.prototype.clear = function clear() {
self.timers.clearTimeout(self.timer);
self.array = [];
- self.lastTime = self.timers.now();
self.timer = null;
+ self.lastTime... | TimeHeap: trivial cleanup in #clear | uber_tchannel-node | train | js |
a4656926797e7c9717c44260fe4b1a4e1bfb7076 | diff --git a/src/AccordionContainer/AccordionContainer.spec.js b/src/AccordionContainer/AccordionContainer.spec.js
index <HASH>..<HASH> 100644
--- a/src/AccordionContainer/AccordionContainer.spec.js
+++ b/src/AccordionContainer/AccordionContainer.spec.js
@@ -184,6 +184,24 @@ describe('Accordion', () => {
expec... | Add failing test for concurrent removeItem calls in AccordionContainer | springload_react-accessible-accordion | train | js |
901fe94a2a4c1b1852c46776d476513a705f8524 | diff --git a/bl/__init__.py b/bl/__init__.py
index <HASH>..<HASH> 100644
--- a/bl/__init__.py
+++ b/bl/__init__.py
@@ -1,2 +0,0 @@
-from __future__ import print_function
- | python 2 support not needed | BlackEarth_bl | train | py |
5b451f8a725b8245019101aeb2d69103f9c49ed9 | diff --git a/bpm/src/main/java/org/jboss/pnc/bpm/RestConnector.java b/bpm/src/main/java/org/jboss/pnc/bpm/RestConnector.java
index <HASH>..<HASH> 100644
--- a/bpm/src/main/java/org/jboss/pnc/bpm/RestConnector.java
+++ b/bpm/src/main/java/org/jboss/pnc/bpm/RestConnector.java
@@ -156,8 +156,10 @@ public class RestConnect... | Add more logging to build cancel. | project-ncl_pnc | train | java |
6815818b22adeaaf721f029975dbce34850c7af5 | diff --git a/karma.conf.js b/karma.conf.js
index <HASH>..<HASH> 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -3,6 +3,8 @@ var webpack = require('webpack');
module.exports = function (config) {
config.set({
+ browserNoActivityTimeout: 30000,
+
browsers: [ process.env.CONTINUOUS_INTEGRATION ? 'Firefox'... | fix travis ci build, maybe? thanks @mtscout6 | taion_rrtr | train | js |
1330d2a88c9bd0608bdb9be27e143e2d624c116e | diff --git a/src/directives/update/directive.js b/src/directives/update/directive.js
index <HASH>..<HASH> 100644
--- a/src/directives/update/directive.js
+++ b/src/directives/update/directive.js
@@ -8,7 +8,8 @@ export default () => {
save: '&onSave',
item: '=',
module: '=',
- ... | rename to list and pass action | monomelodies_monad | train | js |
1c2f62385f3ae4a920ef02ac0b57e69c782c920f | diff --git a/salt/states/pkg.py b/salt/states/pkg.py
index <HASH>..<HASH> 100644
--- a/salt/states/pkg.py
+++ b/salt/states/pkg.py
@@ -332,6 +332,10 @@ def installed(
:mod:`yumpkg5 <salt.modules.yumpkg5>`, and
:mod:`zypper <salt.modules.zypper>`.
+ refresh
+ Update the repo database of ava... | Add note about refresh option to pkg state.
Closes #<I>. | saltstack_salt | train | py |
520dce898b705dcb5ffb1e455cb43d68d2f17bcf | diff --git a/lib/fibers/runtime.js b/lib/fibers/runtime.js
index <HASH>..<HASH> 100644
--- a/lib/fibers/runtime.js
+++ b/lib/fibers/runtime.js
@@ -4,7 +4,7 @@ this.create = create;
this.invoke = invoke;
this.construct = construct;
-require('../util/require')('fibers', module.parent.filename);
+var Fiber = require('... | fixed #<I> (fiber <I> was broken) | Sage_streamlinejs | train | js |
6032a4b206bbc3172b1a1f844f2c602dc7f362a3 | diff --git a/astrocats/catalog/catalog.py b/astrocats/catalog/catalog.py
index <HASH>..<HASH> 100644
--- a/astrocats/catalog/catalog.py
+++ b/astrocats/catalog/catalog.py
@@ -317,7 +317,7 @@ class Catalog:
# Find the first task that has "always_journal" set to True
for key in tasks:
- if ... | MAINT: only consider always_journal tasks if active | astrocatalogs_astrocats | train | py |
38c6d77a094232dff7512aadeaa553dbf8eaac8e | diff --git a/arcanist/lib/WatchmanLintEngine.php b/arcanist/lib/WatchmanLintEngine.php
index <HASH>..<HASH> 100644
--- a/arcanist/lib/WatchmanLintEngine.php
+++ b/arcanist/lib/WatchmanLintEngine.php
@@ -4,6 +4,10 @@
class WatchmanLintEngine extends ArcanistLintEngine {
+ private static $IGNORED_PATH_PATTERNS = ar... | Don't run lint on thirdparty directories
Summary:
I'm going to import `wildmatch.c` into `thirdparty`,
but `arc lint` complains about its style.
This disables the lint engine on changes to `thirdparty`.
Test Plan: `arc lint` with `wildmatch.c` in `thirdparty`
Reviewers: wez
Differential Revision: <URL> | facebook_watchman | train | php |
b40372ff1181615d497c0c364f786c8e39b32ec3 | diff --git a/multiqc/modules/pychopper/pychopper.py b/multiqc/modules/pychopper/pychopper.py
index <HASH>..<HASH> 100644
--- a/multiqc/modules/pychopper/pychopper.py
+++ b/multiqc/modules/pychopper/pychopper.py
@@ -34,8 +34,12 @@ class MultiqcModule(BaseMultiqcModule):
self.pychopper_data[sample][c... | Raise user warning when no files are found | ewels_MultiQC | train | py |
38bf428483355cbccdc3a67e1589df18637b0c50 | diff --git a/src/examples/java/ExampleUtils.java b/src/examples/java/ExampleUtils.java
index <HASH>..<HASH> 100644
--- a/src/examples/java/ExampleUtils.java
+++ b/src/examples/java/ExampleUtils.java
@@ -59,7 +59,7 @@ public class ExampleUtils
case 1:
object
... | ports should be ints, not strings. | DV8FromTheWorld_JDA | train | java |
0870e0e579bcdd66a46e4f9526d7344c22e92f83 | diff --git a/lib/active_admin/base_controller.rb b/lib/active_admin/base_controller.rb
index <HASH>..<HASH> 100644
--- a/lib/active_admin/base_controller.rb
+++ b/lib/active_admin/base_controller.rb
@@ -1,5 +1,3 @@
-require 'inherited_resources'
-
require 'active_admin/base_controller/authorization'
require 'active_a... | remove require inherited_resources | activeadmin_activeadmin | train | rb,rb |
c783b2ef7f4f6e91c7f383762e383fce35f8ef25 | diff --git a/torchtext/vocab.py b/torchtext/vocab.py
index <HASH>..<HASH> 100644
--- a/torchtext/vocab.py
+++ b/torchtext/vocab.py
@@ -260,8 +260,10 @@ class CharNGram(Vectors):
self.vector_cache(self.url, root, self.filename)
def __getitem__(self, token):
- chars = ['#BEGIN#'] + list(token) + ['... | Fix charngram always returning unk vector | pytorch_text | train | py |
eb86bc3a9f96e09dde2f103666e6ae427ce7683c | diff --git a/src/main/java/pl/jalokim/propertiestojson/util/PropertiesToJsonParser.java b/src/main/java/pl/jalokim/propertiestojson/util/PropertiesToJsonParser.java
index <HASH>..<HASH> 100644
--- a/src/main/java/pl/jalokim/propertiestojson/util/PropertiesToJsonParser.java
+++ b/src/main/java/pl/jalokim/propertiestojso... | #4 parse from java properties | mikolajmitura_java-properties-to-json | train | java |
89755e710d131473dc680b495ed23ff83f997278 | diff --git a/modules/uhttp/router.go b/modules/uhttp/router.go
index <HASH>..<HASH> 100644
--- a/modules/uhttp/router.go
+++ b/modules/uhttp/router.go
@@ -28,10 +28,6 @@ import (
"go.uber.org/fx/service"
)
-type route struct {
- handler http.Handler
-}
-
// Router is wrapper around gorila mux
type Router struct ... | remove unused route struct (#<I>) | uber-go_fx | train | go |
d9d2907c47bd693cc70b9fff1c897de591fb06b7 | diff --git a/node-red-contrib-sensit/node-sensit.js b/node-red-contrib-sensit/node-sensit.js
index <HASH>..<HASH> 100644
--- a/node-red-contrib-sensit/node-sensit.js
+++ b/node-red-contrib-sensit/node-sensit.js
@@ -44,6 +44,14 @@ if ( config.enddate == "") {
const startdate = new Date(config.startdate);
const endda... | Added usage of variable for dates from payload | NGRP_node-red-contrib-viseo | train | js |
3aaad890caf7d43c555828c7ef6a2fccc1a295e1 | diff --git a/salt/renderers/py.py b/salt/renderers/py.py
index <HASH>..<HASH> 100644
--- a/salt/renderers/py.py
+++ b/salt/renderers/py.py
@@ -1,7 +1,7 @@
'''
Pure python state renderer
-The sls file should contain a function called ``sls`` which returns high state
+The sls file should contain a function called ``r... | The function appears to be called run now, and not sls. | saltstack_salt | train | py |
fdbb778e20db2c3533c5849089627e8186fff20d | diff --git a/tests/test_treepoem.py b/tests/test_treepoem.py
index <HASH>..<HASH> 100644
--- a/tests/test_treepoem.py
+++ b/tests/test_treepoem.py
@@ -40,3 +40,5 @@ class TreepoemTestCase(unittest.TestCase):
barcode_type=barcode_type
),
)
+
+ act... | Close the in-memory image as well. | adamchainz_treepoem | train | py |
fb255449b5e1aa8358a5e968eecab57cd4fb74d6 | diff --git a/CPTP/Module/Permalink.php b/CPTP/Module/Permalink.php
index <HASH>..<HASH> 100644
--- a/CPTP/Module/Permalink.php
+++ b/CPTP/Module/Permalink.php
@@ -14,8 +14,8 @@ class CPTP_Module_Permalink extends CPTP_Module {
public function add_hook() {
- add_filter( 'post_type_link', array( $this, 'post_type_... | Change priority of filters.
WPML's filters are at:
* post_type_link = 1
* term_link = <I>
This patch puts CPTP's filters in a higher priority, so WPML's filters
are triggered after these. | torounit_custom-post-type-permalinks | train | php |
0dcc1d569c8fc28b88463c15a431d0efdc9f3347 | diff --git a/tornado_http_auth.py b/tornado_http_auth.py
index <HASH>..<HASH> 100644
--- a/tornado_http_auth.py
+++ b/tornado_http_auth.py
@@ -207,7 +207,7 @@ class BasicAuthMixin(object):
auth_data = auth_header.split(None, 1)[-1]
auth_data = base64.b64decode(auth_data).decode('ascii')
- use... | fix too many values to unpack (expected 2) | gvalkov_tornado-http-auth | train | py |
cc5e77b9313b81530eaea27dc28534db5162e5c7 | diff --git a/src/App.php b/src/App.php
index <HASH>..<HASH> 100644
--- a/src/App.php
+++ b/src/App.php
@@ -15,7 +15,7 @@ class App
// basic error setup
error_reporting(E_ALL);
ini_set('log_errors', 1);
- ini_set('display_errors', 1);
+ ini_set('display_errors', 0);
$this->run($this->loadConf... | Checkpoint commit as of <I>-<I>-<I>-<I>-<I>-<I>. | MichaelMueller_Quick | train | php |
7ab8e765a9e9f6c34a4d0be7e309020a5786157b | diff --git a/src/sap.ui.layout/src/sap/ui/layout/Splitter.js b/src/sap.ui.layout/src/sap/ui/layout/Splitter.js
index <HASH>..<HASH> 100644
--- a/src/sap.ui.layout/src/sap/ui/layout/Splitter.js
+++ b/src/sap.ui.layout/src/sap/ui/layout/Splitter.js
@@ -636,7 +636,7 @@ sap.ui.define([
// If we are not rendered, we do n... | [FIX] sap.ui.layout.Splitter: The _resize function is called only once
There was a performance issue where _resizeTimeout was never set which triggered the _resize function to be called multiple times
Change-Id: I<I>f<I>b<I>d9f<I>d<I>c3f<I>cdd<I>
BCP: <I> | SAP_openui5 | train | js |
c1c72f4b3dd3de51760f69645856392ffac8f17a | diff --git a/spyderlib/widgets/editor.py b/spyderlib/widgets/editor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/editor.py
+++ b/spyderlib/widgets/editor.py
@@ -1940,7 +1940,8 @@ class EditorStack(QWidget):
def run_cell(self, focus_to_editor=False):
"""Run current cell"""
text = self.... | Run cells *only* if the currently focused file is a Python one
Update Issue <I>
Status: Started | spyder-ide_spyder | train | py |
4bafb7c9c620f7b5b86185f47dcf5820744e9c51 | diff --git a/treeherder/etl/perf_data_adapters.py b/treeherder/etl/perf_data_adapters.py
index <HASH>..<HASH> 100644
--- a/treeherder/etl/perf_data_adapters.py
+++ b/treeherder/etl/perf_data_adapters.py
@@ -355,7 +355,7 @@ class TalosDataAdapter(PerformanceDataAdapter):
# summary series
... | Bug <I> - Fix serious bug in previous patch | mozilla_treeherder | train | py |
0600dda971334ef871ba2e7d6f1966dcefeceef0 | diff --git a/m2s3/mongo.py b/m2s3/mongo.py
index <HASH>..<HASH> 100644
--- a/m2s3/mongo.py
+++ b/m2s3/mongo.py
@@ -124,8 +124,9 @@ def _mongodump(mongodump, host, port, user, passwd, db, out_dir):
"""
# Log the call
- log.msg_debug("mongodump [{mongodump}] - {db}@{host}:{port} > {output}"
- ... | More detail in mongodump execution log message
* Log level is set to normal
* mongodump execution is shown with more detail and also shows it as an
URL | axltxl_m2bk | train | py |
9bab909be3a6c9eefb9b04da59af6dbb3e4ab010 | diff --git a/src/Gica/Types/Enum.php b/src/Gica/Types/Enum.php
index <HASH>..<HASH> 100644
--- a/src/Gica/Types/Enum.php
+++ b/src/Gica/Types/Enum.php
@@ -115,4 +115,9 @@ abstract class Enum
{
return is_integer($this->getAll()[0]);
}
+
+ public static function null()
+ {
+ return new sta... | edded null()factory method to Enum | xprt64_types | train | php |
73c4da0b233a9932842bf1a0113e4f148031e6c7 | diff --git a/lib/webdriveragent.js b/lib/webdriveragent.js
index <HASH>..<HASH> 100644
--- a/lib/webdriveragent.js
+++ b/lib/webdriveragent.js
@@ -75,6 +75,7 @@ class WebDriverAgent {
this.iproxy = this.createiProxySubProcess(localport, this.url.port);
await this.startiproxy();
this.url.hostname = ... | sending updated port to jwproxy | appium_appium-xcuitest-driver | train | js |
68fae78d7e52f85d1e6315253d01b4a9e94e6572 | diff --git a/src/SxBootstrap/View/Helper/Bootstrap/AbstractElementHelper.php b/src/SxBootstrap/View/Helper/Bootstrap/AbstractElementHelper.php
index <HASH>..<HASH> 100644
--- a/src/SxBootstrap/View/Helper/Bootstrap/AbstractElementHelper.php
+++ b/src/SxBootstrap/View/Helper/Bootstrap/AbstractElementHelper.php
@@ -75,7 ... | Added string cast to __toString method
This was suggested by @ronaldbaltus. The reasoning was that
the render() method does not neccesarily return string, but
could instead rely on __toString to do the final conversion. | SpoonX_SxBootstrap | train | php |
f75e8d77ff7a1cafa24f458f4edd85d9397aa441 | diff --git a/src/render/appendChild.js b/src/render/appendChild.js
index <HASH>..<HASH> 100644
--- a/src/render/appendChild.js
+++ b/src/render/appendChild.js
@@ -7,6 +7,7 @@ import renderRect from './renderRect';
import renderText from './renderText';
const forEach = Array.prototype.forEach;
+const isFirefox = /fi... | Don't adjust nested SVG in Firefox | instructure_pdf-annotate.js | train | js |
815d619013e3f8a997ec0b1aa7261f3f669546f0 | diff --git a/code/solr/services/SolrService.php b/code/solr/services/SolrService.php
index <HASH>..<HASH> 100644
--- a/code/solr/services/SolrService.php
+++ b/code/solr/services/SolrService.php
@@ -4,6 +4,7 @@ namespace SilverStripe\FullTextSearch\Solr\Services;
use SilverStripe\Core\Config\Config;
use SilverStrip... | SS <I> - Strip namespaces from core name since backslashes are not acceptable Solr core names | silverstripe_silverstripe-fulltextsearch | train | php |
ff327f20e47ba4f89e99602bb692961636954db9 | diff --git a/lib/key_tree/forest.rb b/lib/key_tree/forest.rb
index <HASH>..<HASH> 100644
--- a/lib/key_tree/forest.rb
+++ b/lib/key_tree/forest.rb
@@ -39,11 +39,11 @@ module KeyTree
end
def key?(key)
- any? { |tree_or_forest| tree_or_forest.key?(key) }
+ trees.any? { |tree| tree.key?(key) }
e... | Use tree enumarator for Forest#key? and #prefix?
Update the `#key?` and `#prefix?` methods to use the tree enumerator. | notCalle_ruby-keytree | train | rb |
16e0a5fbce7b5dbbe18ab5fee10f9361621164b5 | diff --git a/txaws/testing/route53.py b/txaws/testing/route53.py
index <HASH>..<HASH> 100644
--- a/txaws/testing/route53.py
+++ b/txaws/testing/route53.py
@@ -36,10 +36,10 @@ class _MemoryRoute53Client(MemoryClient):
creds = attr.ib()
endpoint = attr.ib()
- def create_hosted_zone(self, reference, nam... | Match argument names with the real implementation. | twisted_txaws | train | py |
4ba1c8be68c40b1a828bd2b2fff58b5678046a65 | diff --git a/core/src/main/java/com/orientechnologies/orient/core/config/OGlobalConfiguration.java b/core/src/main/java/com/orientechnologies/orient/core/config/OGlobalConfiguration.java
index <HASH>..<HASH> 100755
--- a/core/src/main/java/com/orientechnologies/orient/core/config/OGlobalConfiguration.java
+++ b/core/sr... | Open files limit was changed to <I> | orientechnologies_orientdb | train | java |
2aff0a310289b5d65516928dc3f0a32a1ea2ed49 | diff --git a/html5lib/tests/test_encoding.py b/html5lib/tests/test_encoding.py
index <HASH>..<HASH> 100644
--- a/html5lib/tests/test_encoding.py
+++ b/html5lib/tests/test_encoding.py
@@ -54,7 +54,7 @@ def test_encoding():
try:
import chardet
def test_chardet():
- data = open(os.path.join(test_dir, "en... | Fix chardet test under Python 3 to read file as bytes | html5lib_html5lib-python | train | py |
dd5e3d391d0f80342b001cb80664cc8304b80c5a | diff --git a/lib/agent/providers/webcam/windows/index.js b/lib/agent/providers/webcam/windows/index.js
index <HASH>..<HASH> 100644
--- a/lib/agent/providers/webcam/windows/index.js
+++ b/lib/agent/providers/webcam/windows/index.js
@@ -1,12 +1,13 @@
var exec = require('child_process').exec,
- path = require('path');
+ ... | Added missing options to prey-webcam call in Windows. | prey_prey-node-client | train | js |
38273047f02e0f015ffa218f18f86f9b162bc857 | diff --git a/public/js/widgets/editors/slideshow.js b/public/js/widgets/editors/slideshow.js
index <HASH>..<HASH> 100644
--- a/public/js/widgets/editors/slideshow.js
+++ b/public/js/widgets/editors/slideshow.js
@@ -193,7 +193,7 @@ function AposSlideshowWidgetEditor(options)
return choice.name === self.data.ori... | Updating slideshow widget editor to allow orientation choices with no aspect ratio. | apostrophecms_apostrophe | train | js |
186cc4fa14354f2527b3789f295aa1f751281190 | diff --git a/test/test_stormpath.js b/test/test_stormpath.js
index <HASH>..<HASH> 100644
--- a/test/test_stormpath.js
+++ b/test/test_stormpath.js
@@ -35,4 +35,13 @@ describe('.init', function() {
});
});
});
+
+ it('should throw an error when an invalid configuration is supplied', function() {
+ var... | Adding a test to ensure invalid configs don't work!@ | stormpath_express-stormpath | train | js |
04e2372ab3e2c80d65b511b1b6c13d241edfc526 | diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb
index <HASH>..<HASH> 100644
--- a/lib/chef/resource.rb
+++ b/lib/chef/resource.rb
@@ -459,6 +459,7 @@ class Chef
#
property :umask, String,
desired_state: false,
+ introduced: "16.2",
description: "Set a umask to be used for the durat... | Add introduced to umask. | chef_chef | train | rb |
33fe2c0fffd20968aa27968ea1594d55a8ceaa16 | diff --git a/src/PeskyORMLaravel/Db/Traits/InjectsDbObjects.php b/src/PeskyORMLaravel/Db/Traits/InjectsDbObjects.php
index <HASH>..<HASH> 100644
--- a/src/PeskyORMLaravel/Db/Traits/InjectsDbObjects.php
+++ b/src/PeskyORMLaravel/Db/Traits/InjectsDbObjects.php
@@ -62,7 +62,7 @@ trait InjectsDbObjects {
* Abort with... | InjectsDbObjects - added '.' to error text | swayok_peskyorm-laravel | train | php |
c1bf6f63b247437ae4243d98040d4a0f78ff4b70 | diff --git a/Gruntfile.js b/Gruntfile.js
index <HASH>..<HASH> 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -23,15 +23,17 @@ module.exports = function (grunt) {
},
karma: {
options: {
- configFile: 'test/karma.conf.js'
+ configFile: 'test/karma.conf.js',
+ browsers: ['Firefox', '... | Add a watch grunt task to use karma's autoWatch | angular-ui_ui-select2 | train | js |
e2772a8942a21354584f9ff6abbe1539a8a3dd74 | diff --git a/pages/app/models/refinery/page_part.rb b/pages/app/models/refinery/page_part.rb
index <HASH>..<HASH> 100644
--- a/pages/app/models/refinery/page_part.rb
+++ b/pages/app/models/refinery/page_part.rb
@@ -3,7 +3,7 @@ module Refinery
attr_accessible :title, :content, :position, :body, :created_at,
... | No need to specify class_name for page association. | refinery_refinerycms | train | rb |
98fc68b8958dc15756519e6028cbc1185db23a5d | diff --git a/lib/artifactory/resources/artifact.rb b/lib/artifactory/resources/artifact.rb
index <HASH>..<HASH> 100644
--- a/lib/artifactory/resources/artifact.rb
+++ b/lib/artifactory/resources/artifact.rb
@@ -149,6 +149,36 @@ module Artifactory
end
end
+ #
+ # @example Get all versions of ... | Add the ability to search for all versions of an artifact | chef_artifactory-client | train | rb |
79313ec7a9a762e89dc4b87bc8b25ce950085f2c | diff --git a/client.go b/client.go
index <HASH>..<HASH> 100644
--- a/client.go
+++ b/client.go
@@ -1038,14 +1038,16 @@ func resolveTCPAddrs(addr string, dualStack bool) ([]net.TCPAddr, error) {
}
n := len(ips)
- addrs := make([]net.TCPAddr, n)
+ addrs := make([]net.TCPAddr, 0, n)
for i := 0; i < n; i++ {
ip ... | Fixed a bug in ipv4 addresses resolution if the resolved ip addresses contain non-zero number of ipv6 addresses | valyala_fasthttp | train | go |
a2640775dc50ce11ad283934e04cd661fb381d8b | diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py
index <HASH>..<HASH> 100644
--- a/pyrogram/client/client.py
+++ b/pyrogram/client/client.py
@@ -1122,7 +1122,7 @@ class Client:
def forward_messages(self,
chat_id: int or str,
from_chat_id: int or... | Allow passing msg ids as int in forward_messages() | pyrogram_pyrogram | train | py |
91804bd08258bfcad5b7813e624796dadb1bf12b | diff --git a/tilequeue/command.py b/tilequeue/command.py
index <HASH>..<HASH> 100755
--- a/tilequeue/command.py
+++ b/tilequeue/command.py
@@ -932,6 +932,8 @@ def coord_pyramids(coords, zoom_start, zoom_stop):
exclusive.
"""
for coord in coords:
+ if zoom_start <= coord.zoom:
+ yield co... | Yield coord itself if applicable | tilezen_tilequeue | train | py |
9448c0b987ccafb8236468e9f062aef873567685 | diff --git a/src/hooks/use-mounted.js b/src/hooks/use-mounted.js
index <HASH>..<HASH> 100644
--- a/src/hooks/use-mounted.js
+++ b/src/hooks/use-mounted.js
@@ -3,7 +3,7 @@ import {
useRef,
} from 'react';
-export default function useDidMount() {
+export default function useMounted() {
const mounted = useRef(fal... | refactor(useDidMount): rename to `useMounted` for consistency with file name | juanca_react-aria-components | train | js |
f5df4e5adcfa2d0bd6561b99661d8222335542d4 | diff --git a/javase/src/com/google/zxing/client/j2se/BufferedImageLuminanceSource.java b/javase/src/com/google/zxing/client/j2se/BufferedImageLuminanceSource.java
index <HASH>..<HASH> 100644
--- a/javase/src/com/google/zxing/client/j2se/BufferedImageLuminanceSource.java
+++ b/javase/src/com/google/zxing/client/j2se/Buf... | Issue <I> treat transparent areas as white
git-svn-id: <URL> | zxing_zxing | train | java |
14f910f88da5476ed32892f889194daa58507707 | diff --git a/addon/components/sl-grid-header-settings.js b/addon/components/sl-grid-header-settings.js
index <HASH>..<HASH> 100755
--- a/addon/components/sl-grid-header-settings.js
+++ b/addon/components/sl-grid-header-settings.js
@@ -63,15 +63,32 @@ export default Ember.Component.extend({
* @param {event} eve... | close the menu on mouseLeave | softlayer_sl-ember-components | train | js |
d8c5d3c9891120f830fa6466a0c9bbe5e2818967 | diff --git a/flask_appbuilder/security/sqla/manager.py b/flask_appbuilder/security/sqla/manager.py
index <HASH>..<HASH> 100644
--- a/flask_appbuilder/security/sqla/manager.py
+++ b/flask_appbuilder/security/sqla/manager.py
@@ -311,8 +311,8 @@ class SecurityManager(BaseSecurityManager):
)
.exis... | Fixes authentication error when using oracle (#<I>)
This commit applies for oralce dialect the same query strategy already implemeted for MSSQL in
security manager when checking for authentication/permissions, since a
query like "SELECT EXISTS(1) FROM DUAL" in oracle databases would raise
an ORA-<I>: missing expres... | dpgaspar_Flask-AppBuilder | train | py |
f2384343317df25877c8774d6a8c4e3b74908b3d | diff --git a/src/i18n.js b/src/i18n.js
index <HASH>..<HASH> 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -9,7 +9,7 @@ import { load, preload } from './utils/cdn_utils';
import { format } from 'util';
export function str(m, keyPath, ...args) {
- return format(get(m, ["strings"].concat(keyPath)), ...args);
+ retur... | Fix i<I>n.str, return "" when key is not found
It was returing "undefined". | auth0_lock | train | js |
129857ff8642d23ba67be25535820cb9cc29171f | diff --git a/tdiary/io/heroku.rb b/tdiary/io/heroku.rb
index <HASH>..<HASH> 100644
--- a/tdiary/io/heroku.rb
+++ b/tdiary/io/heroku.rb
@@ -130,14 +130,14 @@ module TDiary
end
end
- def clear_cache(target)
- if target
+ def clear_cache(target = :all)
+ if target == :all
+ memcache.fl... | bugfix not worked cache clear when diaries updated. | tdiary_tdiary-core | train | rb |
c4f64605765c41d5389f21385b537d869b7aa297 | diff --git a/src/Routing/Router.php b/src/Routing/Router.php
index <HASH>..<HASH> 100644
--- a/src/Routing/Router.php
+++ b/src/Routing/Router.php
@@ -341,19 +341,17 @@ class Router extends IlluminateRouter
*/
protected function findRoute($request)
{
+ $collection = $this->getRoutes();
+
... | Just a bit of a tidy up. | laravie_api | train | php |
b6c3ca9cd80fd00c80711f0330559abf663824c9 | diff --git a/test/test_common.py b/test/test_common.py
index <HASH>..<HASH> 100644
--- a/test/test_common.py
+++ b/test/test_common.py
@@ -91,9 +91,7 @@ class TestCommon(unittest.TestCase):
currencies_from_pairs.add(c1)
currencies_from_pairs.add(c2)
- assert currencies_from_pairs == s... | Removed duplicated tests, use assertEqual as it displays differences. | CodeReclaimers_btce-api | train | py |
34ffb1f118de097e0ac798b93f2bef2dac9d670f | diff --git a/core/parser.js b/core/parser.js
index <HASH>..<HASH> 100644
--- a/core/parser.js
+++ b/core/parser.js
@@ -342,7 +342,8 @@ module.exports = function (opts) {
var openTags = [];
var tag = '', lineLastLiteral = '', lastLiteral = '';
var block = newBlock(type.html, blocks... | * ! Fixed parsing qouted strings in JS-blocks wrapped in code-block. | DevelAx_RazorExpress | train | js,js |
a5db8d90799d3fae369ba6b5cefadefb2361a535 | diff --git a/spyder/preferences/languageserver.py b/spyder/preferences/languageserver.py
index <HASH>..<HASH> 100644
--- a/spyder/preferences/languageserver.py
+++ b/spyder/preferences/languageserver.py
@@ -862,7 +862,7 @@ class LSPManagerConfigPage(GeneralConfigPage):
word_wrap=False)
advanced_po... | Preferences: Change variable name for advanced/external option | spyder-ide_spyder | train | py |
1a3a792a7358273630cbf67264822eaf82f746a1 | diff --git a/Kwf/Media/Output.php b/Kwf/Media/Output.php
index <HASH>..<HASH> 100644
--- a/Kwf/Media/Output.php
+++ b/Kwf/Media/Output.php
@@ -217,8 +217,7 @@ class Kwf_Media_Output
}
// returns the partial content from a file
- // parts of the function are taken https://github.com/pomle/php-serveFilePar... | remove the comment and make the function private | koala-framework_koala-framework | train | php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.