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 |
|---|---|---|---|---|---|
2607b6795eeb712f34bccd24d9eaac4e374fbc98 | diff --git a/core/metrics-model/src/main/java/org/hawkular/metrics/model/DataPoint.java b/core/metrics-model/src/main/java/org/hawkular/metrics/model/DataPoint.java
index <HASH>..<HASH> 100644
--- a/core/metrics-model/src/main/java/org/hawkular/metrics/model/DataPoint.java
+++ b/core/metrics-model/src/main/java/org/haw... | [HWKMETRICS-<I>] field-level annotations are not needed | hawkular_hawkular-metrics | train | java |
a135f5cf424c1323eb02d941bb2c88435d3a4edd | diff --git a/packages/react/src/internal/FloatingMenu.js b/packages/react/src/internal/FloatingMenu.js
index <HASH>..<HASH> 100644
--- a/packages/react/src/internal/FloatingMenu.js
+++ b/packages/react/src/internal/FloatingMenu.js
@@ -336,8 +336,10 @@ class FloatingMenu extends React.Component {
const primaryFocus... | fix(FloatingMenu): ignore disabled nodes for autofocus (#<I>) | carbon-design-system_carbon-components | train | js |
a974e60c1f43922942cd06791e3a4fa9aa19b783 | diff --git a/python/dllib/src/bigdl/dllib/keras/layers/convolutional_recurrent.py b/python/dllib/src/bigdl/dllib/keras/layers/convolutional_recurrent.py
index <HASH>..<HASH> 100644
--- a/python/dllib/src/bigdl/dllib/keras/layers/convolutional_recurrent.py
+++ b/python/dllib/src/bigdl/dllib/keras/layers/convolutional_re... | ConvLSTM2D extend Recurrent (#<I>)
* refactor convlstm2d
* fix
* meet review
* minor | intel-analytics_BigDL | train | py |
0e6667eacb58ffeabb86d011bfc33403f2202b42 | diff --git a/lib/Pomander/RemoteShell.php b/lib/Pomander/RemoteShell.php
index <HASH>..<HASH> 100644
--- a/lib/Pomander/RemoteShell.php
+++ b/lib/Pomander/RemoteShell.php
@@ -3,7 +3,14 @@ namespace Pomander;
class RemoteShell
{
- protected $host, $port, $user, $auth, $shell, $key_pass;
+ /**
+ * SSH
+ ... | RemoteShell::process will return error output to help finding out what is a reason of failures. | tamagokun_pomander | train | php |
cf5330d1ead0f4fbaa2007b51e643ecb03b54444 | diff --git a/fluent_contents/forms/widgets.py b/fluent_contents/forms/widgets.py
index <HASH>..<HASH> 100644
--- a/fluent_contents/forms/widgets.py
+++ b/fluent_contents/forms/widgets.py
@@ -47,7 +47,7 @@ class PlaceholderFieldWidget(Widget):
Render the placeholder field.
"""
other_instance_l... | Fix ValueError for '-DUMMY-' value when re-rendering the form.
Likely occurs as of Django >= <I> | django-fluent_django-fluent-contents | train | py |
194651cdc60e67342e1c1cf94898e64c3acb8063 | diff --git a/src/rest/BehaviorTrait.php b/src/rest/BehaviorTrait.php
index <HASH>..<HASH> 100644
--- a/src/rest/BehaviorTrait.php
+++ b/src/rest/BehaviorTrait.php
@@ -23,6 +23,7 @@ trait BehaviorTrait
if (!$this->getUserAuthClass()) {
unset($behaviors['authenticator']);
+ unse... | [*] fixed bug for not declared rate limitation class which is bound to
the user class. | luyadev_luya | train | php |
60f59ce7f29f4d23fba974b4fb022adb3acf8465 | diff --git a/cassandra/connection.py b/cassandra/connection.py
index <HASH>..<HASH> 100644
--- a/cassandra/connection.py
+++ b/cassandra/connection.py
@@ -911,8 +911,11 @@ class Timer(object):
self.callback = self._noop
self.cancelled = True
- def on_timeout(self):
- self.callback()
+ d... | Allow canceled timers to finish ahead of end time. | datastax_python-driver | train | py |
250a238835558e82f165c9d67c3e5c2ee906ec54 | diff --git a/cluster/cluster.go b/cluster/cluster.go
index <HASH>..<HASH> 100644
--- a/cluster/cluster.go
+++ b/cluster/cluster.go
@@ -87,13 +87,14 @@ type Cluster interface {
// New instantiates and starts a new cluster manager.
func New(cfg Config, kv kvdb.Kvdb, dockerClient *docker.Client) *ClusterManager {
- re... | set inst to the new clustermanager | libopenstorage_openstorage | train | go |
e9abf12a50f5a49a5b2305a64ed6f56c58dc9026 | diff --git a/components/utils/scripts/events.js b/components/utils/scripts/events.js
index <HASH>..<HASH> 100644
--- a/components/utils/scripts/events.js
+++ b/components/utils/scripts/events.js
@@ -495,5 +495,15 @@ elation.extend("events", {
allowed = allowed && events[i].returnValue;
}
return !allowe... | Added elation.events.wasBubbleCancelled() | jbaicoianu_elation | train | js |
3b5ed9f4954ca77a0a064f42d486e89c370190c3 | diff --git a/system/core/CliController.php b/system/core/CliController.php
index <HASH>..<HASH> 100644
--- a/system/core/CliController.php
+++ b/system/core/CliController.php
@@ -120,7 +120,7 @@ class CliController
*/
public static function __callStatic($method, $args)
{
- if (strpos($method, 'co... | Check system bootstrapped when calling composer callbacks | gplcart_gplcart | train | php |
ff469e0586006234420fec3a848cad12ed615865 | diff --git a/modules/citrus-samples/modules/citrus-samples-common/src/main/java/com/consol/citrus/samples/CitrusSamplesDemo.java b/modules/citrus-samples/modules/citrus-samples-common/src/main/java/com/consol/citrus/samples/CitrusSamplesDemo.java
index <HASH>..<HASH> 100644
--- a/modules/citrus-samples/modules/citrus-s... | Just wait a little less time for samples applications to start | citrusframework_citrus | train | java |
cfa8183fee1302a50674c9fb5c06ad4f6e9b6fe9 | diff --git a/lib/acts_as_audited/audit.rb b/lib/acts_as_audited/audit.rb
index <HASH>..<HASH> 100644
--- a/lib/acts_as_audited/audit.rb
+++ b/lib/acts_as_audited/audit.rb
@@ -67,7 +67,7 @@ class Audit < ActiveRecord::Base
# Returns a hash of the changed attributes with the new values
def new_attributes
(chan... | check for array instead of trying to cast | collectiveidea_audited | train | rb,rb |
43c87adaa73b0bcd283d6389a43e8433fad4b583 | diff --git a/tests/rpc/test_rpc_fixtures.py b/tests/rpc/test_rpc_fixtures.py
index <HASH>..<HASH> 100644
--- a/tests/rpc/test_rpc_fixtures.py
+++ b/tests/rpc/test_rpc_fixtures.py
@@ -78,8 +78,9 @@ def validate_account_state(rpc, state, addr, at_block):
for fixture_key, rpc_method in RPC_STATE_LOOKUPS:
val... | rpc: test storage position at 0x0 instead of 0x | ethereum_py-evm | train | py |
fdb758ce6d9283545b27d4f610e3da8567a482fe | diff --git a/simulation/simulation_test.go b/simulation/simulation_test.go
index <HASH>..<HASH> 100644
--- a/simulation/simulation_test.go
+++ b/simulation/simulation_test.go
@@ -174,7 +174,7 @@ var _ = Describe("Auction", func() {
permutedInstances[i] = instances[index]
}
- runStartAuction(permut... | Report all simulations visually [#<I>] | cloudfoundry_auction | train | go |
6bf3b11e7fdebf726fc86eee3a62fd51b112f9ea | diff --git a/api/client.go b/api/client.go
index <HASH>..<HASH> 100644
--- a/api/client.go
+++ b/api/client.go
@@ -203,7 +203,7 @@ func DefaultConfig() *Config {
return config
}
-// ConfigureTLS takes a set of TLS configurations and applies those to the the
+// ConfigureTLS takes a set of TLS configurations and ap... | Fix client.go (#<I>)
Modify one annotation. | hashicorp_vault | train | go |
96d23e258ac80965578239f81875f801fbbd40c0 | diff --git a/declcache.go b/declcache.go
index <HASH>..<HASH> 100644
--- a/declcache.go
+++ b/declcache.go
@@ -233,9 +233,11 @@ func findGlobalFile(imp string) (string, bool) {
pkgdir := fmt.Sprintf("%s_%s", goos, goarch)
pkgpath := filepath.Join("pkg", pkgdir, pkgfile)
- gopath_pkg := filepath.Join(gopath, pkgpa... | Actually check if GOPATH was defined. | nsf_gocode | train | go |
9ef847f24fe1675a3d6f76f9f1b3f4959c4535f5 | diff --git a/lib/haml/options.rb b/lib/haml/options.rb
index <HASH>..<HASH> 100644
--- a/lib/haml/options.rb
+++ b/lib/haml/options.rb
@@ -108,9 +108,8 @@ module Haml
# are `:html4` and `:xhtml`. If the output is set to XHTML, then Haml
# automatically generates self-closing tags and wraps the output of the
... | Fix docs for Options#format
The raw colon character messes up generated docs. Wrap format names
with backticks for cleaner docs.
Delete extra unnecessary empty line. | haml_haml | train | rb |
ee392b23ac3b43d1023565cf2f4649c5c0318fe2 | diff --git a/py/pysparkling/context.py b/py/pysparkling/context.py
index <HASH>..<HASH> 100644
--- a/py/pysparkling/context.py
+++ b/py/pysparkling/context.py
@@ -118,7 +118,7 @@ class H2OContext(object):
h2o_context._client_ip = jhc.h2oLocalClientIp()
h2o_context._client_port = jhc.h2oLocalClientPort... | [SW-<I>] Use h2o.connect instead of h2o.init (#<I>) | h2oai_sparkling-water | train | py |
c0c0e39192716aaeff9dcb34c376a9da9ac15f82 | diff --git a/app/src/js/modules/editcontent.js b/app/src/js/modules/editcontent.js
index <HASH>..<HASH> 100644
--- a/app/src/js/modules/editcontent.js
+++ b/app/src/js/modules/editcontent.js
@@ -502,7 +502,7 @@
function initKeyboardShortcuts() {
if ($('#content_edit_save').is('*')) {
// Bind ... | Update ctrl+s, meta+s keybindings for newer version of plugin | bolt_bolt | train | js |
0f3c1510582b1aa0d987d2aae8d8b054a13cb936 | diff --git a/test/expect-0.2.0-ol3/expect.js b/test/expect-0.2.0-ol3/expect.js
index <HASH>..<HASH> 100644
--- a/test/expect-0.2.0-ol3/expect.js
+++ b/test/expect-0.2.0-ol3/expect.js
@@ -318,18 +318,10 @@
}
// test attribute namespace
try {
- var uri1 = node1Attr[name].namespaceURI;
... | implement review comment by @ahocevar | openlayers_openlayers | train | js |
d9b52efa5da542decba1ad4a517ea848dcfbd609 | diff --git a/src/main/groovy/swing/SwingBuilder.java b/src/main/groovy/swing/SwingBuilder.java
index <HASH>..<HASH> 100644
--- a/src/main/groovy/swing/SwingBuilder.java
+++ b/src/main/groovy/swing/SwingBuilder.java
@@ -246,7 +246,11 @@ public class SwingBuilder extends BuilderSupport {
}
... | Fix bug: could not add components to root pane with constraints. Now you can.
git-svn-id: <URL> | apache_groovy | train | java |
bf6d8cb0ac529911f038beadef17b8dbd8bfdf46 | diff --git a/gui.js b/gui.js
index <HASH>..<HASH> 100644
--- a/gui.js
+++ b/gui.js
@@ -36,7 +36,7 @@ var GUI = new function() {
// Do we know how to deal with this data type?
if (handler == undefined) {
- error("Cannot create controller for data type \"" + object + "\"");
+ error("Cannot create controller... | Small fix to gui.js | dataarts_dat.gui | train | js |
64b60cb844a6a26a56772112a2f4e924bc00eae3 | diff --git a/src/PolicySource/PolicyStorage.php b/src/PolicySource/PolicyStorage.php
index <HASH>..<HASH> 100644
--- a/src/PolicySource/PolicyStorage.php
+++ b/src/PolicySource/PolicyStorage.php
@@ -54,7 +54,7 @@ class PolicyStorage implements PolicySourceInterface
yield $this->load($definition);
}
... | Reduce policy storage logging down from error to warning. | drutiny_drutiny | train | php |
c0f80a323a7095cbeffc858de5840b7aa02df32a | diff --git a/lib/github/kv.rb b/lib/github/kv.rb
index <HASH>..<HASH> 100644
--- a/lib/github/kv.rb
+++ b/lib/github/kv.rb
@@ -317,7 +317,11 @@ module GitHub
# if an existing row is set to its current values.
# https://dev.mysql.com/doc/refman/8.0/en/insert-on-duplicate.html
flags = connection.raw_... | Support for apps using older versions of mysql2 | github_github-ds | train | rb |
ce1edef694c9bde8308a4df7a8688d52c63c043b | diff --git a/tests/test_load.py b/tests/test_load.py
index <HASH>..<HASH> 100644
--- a/tests/test_load.py
+++ b/tests/test_load.py
@@ -1,8 +1,13 @@
# -*- coding: utf-8 -*-
import unittest
-import unittest.mock as mock
-import tempfile
+import sys
+
+if sys.version_info >= (3, 3):
+ import unittest.mock as mock
+el... | import mock separately for Python <I> | JonathanRaiman_pytreebank | train | py |
a07e466149b4f51787b5a1cee0c264dc75d65017 | diff --git a/deezer/client.py b/deezer/client.py
index <HASH>..<HASH> 100644
--- a/deezer/client.py
+++ b/deezer/client.py
@@ -185,12 +185,12 @@ class Client:
"""
url = self.object_url(object_t, object_id, relation, **kwargs)
response = self.session.get(url)
- json = response.json()
- ... | refactor: rename variable to avoid confusion with json module | browniebroke_deezer-python | train | py |
e89d281b2653fa210245389b76e5f32b02e3ce20 | diff --git a/modules/openid/www/consumer.php b/modules/openid/www/consumer.php
index <HASH>..<HASH> 100644
--- a/modules/openid/www/consumer.php
+++ b/modules/openid/www/consumer.php
@@ -6,6 +6,9 @@
*/
SimpleSAML_Utilities::maskErrors(E_STRICT);
+/* Add the OpenID library search path. */
+set_include_path(get_incl... | openid/openidProvider: Fix load path for OpenID library.
Fixes issue <I>. | simplesamlphp_saml2 | train | php,php |
ee01750ae2256265e63e936c0863e129d9a656a6 | diff --git a/policies.go b/policies.go
index <HASH>..<HASH> 100644
--- a/policies.go
+++ b/policies.go
@@ -485,15 +485,20 @@ func (r *hostPoolHostPolicy) Pick(qry *Query) NextHost {
return nil
}
- return selectedHostPoolHost{host, hostR}
+ return selectedHostPoolHost{
+ policy: r,
+ info: host,
+ hos... | polcies: dont mark a removed host
Dont mark a host which has been removed from the policy/pools, this
fixes a race where the pool can remove the policies host, then a query
which is using the host will try to mark the host, which does not exist
in the underlying hostpool, causing a log.Fatalf/panic.
Fix this by check... | gocql_gocql | train | go |
bfc688e9b6a95c8fb3781c0f66ef5f81b955bcb7 | diff --git a/src/petl/fluent.py b/src/petl/fluent.py
index <HASH>..<HASH> 100644
--- a/src/petl/fluent.py
+++ b/src/petl/fluent.py
@@ -54,6 +54,8 @@ def wrap(f):
return FluentWrapper(_innerresult)
else:
return _innerresult
+ wrapper.__name__ = f.__name__
+ wrapper.__doc__ = f.__... | #<I> docstrings in petl.interactive | petl-developers_petl | train | py,py |
07ca111370271b5bab659085aac50bd005c27d62 | diff --git a/metamorphosis-commons/src/main/java/com/taobao/metamorphosis/Message.java b/metamorphosis-commons/src/main/java/com/taobao/metamorphosis/Message.java
index <HASH>..<HASH> 100644
--- a/metamorphosis-commons/src/main/java/com/taobao/metamorphosis/Message.java
+++ b/metamorphosis-commons/src/main/java/com/tao... | Dont checking state before set partition to message | killme2008_Metamorphosis | train | java |
40c4a2f35698b88b965cb1b10ded86d38c2ed3f3 | diff --git a/core/src/main/java/jenkins/security/Roles.java b/core/src/main/java/jenkins/security/Roles.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/jenkins/security/Roles.java
+++ b/core/src/main/java/jenkins/security/Roles.java
@@ -2,9 +2,6 @@ package jenkins.security;
import org.jenkinsci.remoting.Ro... | Got rid of the unused constants | jenkinsci_jenkins | train | java |
b62308614609c57b020aa2a20279eef0239c0cdd | diff --git a/src/CMDL/DataTypeDefinition.php b/src/CMDL/DataTypeDefinition.php
index <HASH>..<HASH> 100644
--- a/src/CMDL/DataTypeDefinition.php
+++ b/src/CMDL/DataTypeDefinition.php
@@ -193,17 +193,6 @@ class DataTypeDefinition
}
- public function hasLanguages()
- {
- if ($this->languages == null... | added missing method hasWorkspaces to DataTypeDefinition | nhagemann_cmdl-parser-php | train | php |
ffa7bbb8be730ef3c867c47fc365281846fda5fa | diff --git a/gridmap/job.py b/gridmap/job.py
index <HASH>..<HASH> 100644
--- a/gridmap/job.py
+++ b/gridmap/job.py
@@ -134,16 +134,17 @@ class Job(object):
self.white_list = []
self.name = name.replace(' ', '_')
self.queue = queue
- # fetch env vars from shell
- env = {env_var: ... | Python 3 fixes for DRMAA (again) | pygridtools_gridmap | train | py |
cb90c2887534ad6841821a46d47e421dbe8c1f24 | diff --git a/src/Sylius/Bundle/FixturesBundle/DataFixtures/ORM/LoadCountriesData.php b/src/Sylius/Bundle/FixturesBundle/DataFixtures/ORM/LoadCountriesData.php
index <HASH>..<HASH> 100644
--- a/src/Sylius/Bundle/FixturesBundle/DataFixtures/ORM/LoadCountriesData.php
+++ b/src/Sylius/Bundle/FixturesBundle/DataFixtures/ORM... | [Fixtures] Don't force to use `intl` extension for fixtures | Sylius_Sylius | train | php |
b2dbb7e722bb4b567b220f1c34afef4a0f0bdfc3 | diff --git a/core/src/main/java/net/kuujo/copycat/cluster/AbstractMember.java b/core/src/main/java/net/kuujo/copycat/cluster/AbstractMember.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/net/kuujo/copycat/cluster/AbstractMember.java
+++ b/core/src/main/java/net/kuujo/copycat/cluster/AbstractMember.java
@@ -3... | Default member types to ACTIVE. | atomix_atomix | train | java |
a8aff49e300640335413a6e1e07c890ca1d42ffd | diff --git a/lib/mollie/version.rb b/lib/mollie/version.rb
index <HASH>..<HASH> 100644
--- a/lib/mollie/version.rb
+++ b/lib/mollie/version.rb
@@ -1,3 +1,3 @@
module Mollie
- VERSION = '4.6.0'.freeze
+ VERSION = '4.6.1'.freeze
end | version bumped to <I> | mollie_mollie-api-ruby | train | rb |
27556ea0a28ae58bc3319e2209e70042f4fb0213 | diff --git a/discord/channel.py b/discord/channel.py
index <HASH>..<HASH> 100644
--- a/discord/channel.py
+++ b/discord/channel.py
@@ -1519,6 +1519,7 @@ class DMChannel(discord.abc.Messageable, Hashable):
"""
base = Permissions.text()
+ base.read_messages = True
base.send_tts_message... | Fix DM channel permissions not having read_messages | Rapptz_discord.py | train | py |
0d5893d00debc92aa9fac767645982f66c730cd6 | diff --git a/mhcnames/__init__.py b/mhcnames/__init__.py
index <HASH>..<HASH> 100644
--- a/mhcnames/__init__.py
+++ b/mhcnames/__init__.py
@@ -7,7 +7,7 @@ from .species import (
)
from .allele_parse_error import AlleleParseError
-__version__ = "0.3.10"
+__version__ = "0.3.11"
__all__ = [
"AlleleName", | Upping version, to make sure removing skip_cleanup: true didn't hurt | openvax_mhcnames | train | py |
2ef20cca7161d7046a22064d1c85946637d6f66d | diff --git a/pkg/oc/cli/cli.go b/pkg/oc/cli/cli.go
index <HASH>..<HASH> 100644
--- a/pkg/oc/cli/cli.go
+++ b/pkg/oc/cli/cli.go
@@ -249,7 +249,7 @@ func NewCommandCLI(name, fullName string, in io.Reader, out, errout io.Writer) *
templates.ActsAsRootCommand(cmds, filters, groups...).
ExposeFlags(loginCmd, "certifica... | Update cli.go
Add the one blank between cli name and ex option.
* before
~~~
Examples:
# Perform garbage collection with the default settings
ocex dockergc
~~~
* after
~~~
Examples:
# Perform garbage collection with the default settings
oc ex dockergc
~~~ | openshift_origin | train | go |
fce17e1700444f9d77017cf6291d3ce261438d1b | diff --git a/demos/main.js b/demos/main.js
index <HASH>..<HASH> 100644
--- a/demos/main.js
+++ b/demos/main.js
@@ -81,7 +81,7 @@ Enjoy!
else {
for (var name in config.sources) {
var source = config.sources[name];
- if (source.url.search('mapzen.com')) {
+ ... | demo: fix api key injection for non-mapzen sources | tangrams_tangram | train | js |
3b07641c5dfaed0356fa79f69bf4f26ab0baa158 | diff --git a/package/ember-sockets.js b/package/ember-sockets.js
index <HASH>..<HASH> 100644
--- a/package/ember-sockets.js
+++ b/package/ember-sockets.js
@@ -67,10 +67,7 @@
server = '%@://%@:%@/%@'.fmt(scheme, host, port, path),
socket = $io.connect(server, options);
- so... | Updated ember-socket.js with error function.
With a function for error, this allows you to define your own callback by overriding the error function when extending this class. That way, you can handle the exceptions yourself. | Wildhoney_EmberSockets | train | js |
b881e4eb2b8ce147014043eef7ecb722afe87cc6 | diff --git a/container/shipit/kubernetes/deployment.py b/container/shipit/kubernetes/deployment.py
index <HASH>..<HASH> 100644
--- a/container/shipit/kubernetes/deployment.py
+++ b/container/shipit/kubernetes/deployment.py
@@ -363,7 +363,10 @@ class Deployment(object):
def _port_exists(port, ports):
found... | Consider variable type when checking for existing port (#<I>) | ansible_ansible-container | train | py,py |
16bcc1d874786c5f4bf2229da7467e4a816a70fa | diff --git a/plugins/hosts/windows/host.rb b/plugins/hosts/windows/host.rb
index <HASH>..<HASH> 100644
--- a/plugins/hosts/windows/host.rb
+++ b/plugins/hosts/windows/host.rb
@@ -11,7 +11,7 @@ module VagrantPlugins
# @return [Pathname] Path to scripts directory
def self.scripts_path
- Pathname.ne... | Include scripts directory when building pathname | hashicorp_vagrant | train | rb |
d00d73b5860cb8f9c5a1e1b334c7695d999c747c | diff --git a/lib/octodown/support/relative_root_filter.rb b/lib/octodown/support/relative_root_filter.rb
index <HASH>..<HASH> 100644
--- a/lib/octodown/support/relative_root_filter.rb
+++ b/lib/octodown/support/relative_root_filter.rb
@@ -19,7 +19,12 @@ module Octodown
end
def http_uri?(src)
- pa... | Rescue URI parsing exceptions [resolves #<I>] | ianks_octodown | train | rb,rb |
61decc84a16df4b9a25e974214c20547d0c0d029 | diff --git a/src/Themosis/Metabox/MetaboxBuilder.php b/src/Themosis/Metabox/MetaboxBuilder.php
index <HASH>..<HASH> 100644
--- a/src/Themosis/Metabox/MetaboxBuilder.php
+++ b/src/Themosis/Metabox/MetaboxBuilder.php
@@ -490,7 +490,7 @@ class MetaboxBuilder extends Wrapper implements IMetabox
// Multiple m... | Fix #<I>. Collection field order is persistent. | themosis_framework | train | php |
f720b9026b1a54e18fe11bae7a8fd1f3544a18e6 | diff --git a/model/MySQLDatabase.php b/model/MySQLDatabase.php
index <HASH>..<HASH> 100644
--- a/model/MySQLDatabase.php
+++ b/model/MySQLDatabase.php
@@ -143,7 +143,7 @@ class MySQLDatabase extends SS_Database {
if(isset($_REQUEST['showqueries']) && Director::isDev(true)) {
$endtime = round(microtime(true) - ... | minor debug text
Seconds, not milliseconds.
microtime(true) returns "a float, which represents the current time in seconds since the Unix epoch accurate to the nearest microsecond" as per php docs. | silverstripe_silverstripe-framework | train | php |
7e9051b7eed22a350c3224afb60d56cb60e34f92 | diff --git a/tests/integration/Store/StoreDeleteRequestTest.php b/tests/integration/Store/StoreDeleteRequestTest.php
index <HASH>..<HASH> 100644
--- a/tests/integration/Store/StoreDeleteRequestTest.php
+++ b/tests/integration/Store/StoreDeleteRequestTest.php
@@ -3,6 +3,7 @@
namespace Commercetools\Core\IntegrationTest... | WIP: add expectException in the testDeleteByKey | commercetools_commercetools-php-sdk | train | php |
6f1d10941d10480ae59106cec26560fd5f9fe617 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100755
--- a/index.js
+++ b/index.js
@@ -709,7 +709,7 @@ const _bindWindow = (window, newWindowCb) => {
timestamps.last = now;
}
- if (vrPresentState.isPresenting) {
+ if (vrPresentState.isPresenting && vrPresentState.glContext.canvas.ownerDocume... | Bugfix presenting to VR/ML in with multiple windows | exokitxr_exokit | train | js |
8243490f9af4ff602a1426fc105776f0e9c9a942 | diff --git a/packages/api/middleware/native/http.js b/packages/api/middleware/native/http.js
index <HASH>..<HASH> 100644
--- a/packages/api/middleware/native/http.js
+++ b/packages/api/middleware/native/http.js
@@ -1,7 +1,7 @@
const jwt = require('jsonwebtoken')
const Client = require('cubic-client')
const Cookies =... | fix(api): fixed wrong require | cubic-js_cubic | train | js |
06734488931eb16ced0c38119c7156b148c88838 | diff --git a/src/visualizers/widgets/HFSMViz/HFSMVizWidget.js b/src/visualizers/widgets/HFSMViz/HFSMVizWidget.js
index <HASH>..<HASH> 100644
--- a/src/visualizers/widgets/HFSMViz/HFSMVizWidget.js
+++ b/src/visualizers/widgets/HFSMViz/HFSMVizWidget.js
@@ -518,7 +518,7 @@ define([
self.updateDependencies();
}... | fixed minor bug that didnt update the transition text in the hfsmviz when the transition was updated. | finger563_webgme-hfsm | train | js |
852374c92bcb6357aaf331e2053d8a9cab0f6278 | diff --git a/lib/api_presenter.rb b/lib/api_presenter.rb
index <HASH>..<HASH> 100644
--- a/lib/api_presenter.rb
+++ b/lib/api_presenter.rb
@@ -52,4 +52,8 @@ module ApiPresenter
end
end
+ def self.logger=(logger)
+ @logger = logger
+ end
+
end
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index ... | log to a StringIO for each test | mavenlink_brainstem | train | rb,rb |
9cda14868f2e3e53ad5b6f148e2436af88904187 | diff --git a/webpype/client.py b/webpype/client.py
index <HASH>..<HASH> 100644
--- a/webpype/client.py
+++ b/webpype/client.py
@@ -1,13 +1,14 @@
'''
This file contains the functionality for the using of webpipes.
'''
+from __future__ import print_function
import json
try:
from urllib.request import urlopen, R... | Added WebPypeClient, changed original to WebPypeBaseClient | ajvb_webpype | train | py |
3e0b08b0c24c5bd9c66585c3e32d9baae1cccfb5 | diff --git a/packages/neos-ui/src/Containers/PrimaryToolbar/PublishDropDown/AbstractButton/index.js b/packages/neos-ui/src/Containers/PrimaryToolbar/PublishDropDown/AbstractButton/index.js
index <HASH>..<HASH> 100644
--- a/packages/neos-ui/src/Containers/PrimaryToolbar/PublishDropDown/AbstractButton/index.js
+++ b/pack... | BUGFIX: linting error | neos_neos-ui | train | js |
cf5e1b2635d3e8429ffceeff5a1f6a7e1f744b07 | diff --git a/core/src/test/java/net/kuujo/copycat/protocol/RequestResponseTest.java b/core/src/test/java/net/kuujo/copycat/protocol/RequestResponseTest.java
index <HASH>..<HASH> 100644
--- a/core/src/test/java/net/kuujo/copycat/protocol/RequestResponseTest.java
+++ b/core/src/test/java/net/kuujo/copycat/protocol/Reques... | Fix failing request/response test. | atomix_atomix | train | java |
5e82aa8424b7d6c3498dc37156302e70cfca402d | diff --git a/src/Engines/QueryBuilderEngine.php b/src/Engines/QueryBuilderEngine.php
index <HASH>..<HASH> 100644
--- a/src/Engines/QueryBuilderEngine.php
+++ b/src/Engines/QueryBuilderEngine.php
@@ -116,10 +116,9 @@ class QueryBuilderEngine extends BaseEngine implements DataTableEngineContract
} el... | Fix columnName conflict when using join statements. | yajra_laravel-datatables | train | php |
385005d383c50dde5fcb13290316a0f000990c58 | diff --git a/lib/navigator/tag_activator.rb b/lib/navigator/tag_activator.rb
index <HASH>..<HASH> 100644
--- a/lib/navigator/tag_activator.rb
+++ b/lib/navigator/tag_activator.rb
@@ -13,6 +13,7 @@ module Navigator
@target_value = target_value
end
+ # :reek:TooManyStatements
def activatable? attrib... | Fixed Rubocop Style/InverseMethods issue. | bkuhlmann_navigator | train | rb |
17847e850b2a889327b525a64ef3062123326063 | diff --git a/raiden/ui/prompt.py b/raiden/ui/prompt.py
index <HASH>..<HASH> 100644
--- a/raiden/ui/prompt.py
+++ b/raiden/ui/prompt.py
@@ -55,7 +55,7 @@ def unlock_account_with_passwordfile(
address_hex: AddressHex,
password_file: io.RawIOBase,
) -> PrivateKey:
- password = password_file.read()
+ ... | Fix trailing newline in password file
Fix #<I> | raiden-network_raiden | train | py |
a33e201d1a86dd108e8641f641ff24c7f00ba054 | diff --git a/setuptools/command/test.py b/setuptools/command/test.py
index <HASH>..<HASH> 100644
--- a/setuptools/command/test.py
+++ b/setuptools/command/test.py
@@ -62,15 +62,16 @@ class test(Command):
def finalize_options(self):
+ if self.test_suite and self.test_module:
+ raise DistutilsO... | Move value checking into its own block. | pypa_setuptools | train | py |
a14255900eec18dd4440154098f7e45068d8c41f | diff --git a/Octo/Form/Element/ImageUpload.php b/Octo/Form/Element/ImageUpload.php
index <HASH>..<HASH> 100644
--- a/Octo/Form/Element/ImageUpload.php
+++ b/Octo/Form/Element/ImageUpload.php
@@ -73,7 +73,17 @@ class ImageUpload extends Upload
}
$validator = $this->getValidator();
+ $this->cal... | Attempting complexity reduce in ImageUpload. | Block8_Octo | train | php |
9099ff16e08daa814e2b3acb9e1c78c017e4bd02 | diff --git a/lib/transitions.rb b/lib/transitions.rb
index <HASH>..<HASH> 100644
--- a/lib/transitions.rb
+++ b/lib/transitions.rb
@@ -44,9 +44,12 @@ module Transitions
base.extend(ClassMethods)
end
+ def get_state_machine
+ self.class.get_state_machine
+ end
+
def update_current_state(new_state, pers... | Dry state machine lookup a bit | troessner_transitions | train | rb |
1676d741b9545fac23fb7da1a8fd07a12bb3812d | diff --git a/rails_event_store/spec/browser_integration_spec.rb b/rails_event_store/spec/browser_integration_spec.rb
index <HASH>..<HASH> 100644
--- a/rails_event_store/spec/browser_integration_spec.rb
+++ b/rails_event_store/spec/browser_integration_spec.rb
@@ -19,8 +19,8 @@ module RailsEventStore
response = re... | Adjust to new paging params
[d<I>b] | RailsEventStore_rails_event_store | train | rb |
d1b86ec9610186696bb17713b07c3cdcb9dd5b89 | diff --git a/test/ral/type/file.rb b/test/ral/type/file.rb
index <HASH>..<HASH> 100755
--- a/test/ral/type/file.rb
+++ b/test/ral/type/file.rb
@@ -682,7 +682,7 @@ class TestFile < Test::Unit::TestCase
# Testing #309 -- //my/file => /my/file
def test_slash_deduplication
- ["/my/////file/for//testing",... | Behavior change for //UNC_Paths broke an old test | puppetlabs_puppet | train | rb |
85681cb50e014ed60c7ea485a606ea1de02446b2 | diff --git a/src/main/java/io/vlingo/actors/ActorProxyBase.java b/src/main/java/io/vlingo/actors/ActorProxyBase.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/vlingo/actors/ActorProxyBase.java
+++ b/src/main/java/io/vlingo/actors/ActorProxyBase.java
@@ -1,6 +1,5 @@
package io.vlingo.actors;
-import com.sun.... | removes unused import from ActorProxyBase | vlingo_vlingo-actors | train | java |
1dd69f2a8f074f9dac1d5c26d8a5d07008490758 | diff --git a/lib/MetaTemplate/Template/Base.php b/lib/MetaTemplate/Template/Base.php
index <HASH>..<HASH> 100644
--- a/lib/MetaTemplate/Template/Base.php
+++ b/lib/MetaTemplate/Template/Base.php
@@ -58,6 +58,11 @@ abstract class Base implements TemplateInterface
$this->prepare();
}
+ function getExte... | Turn on SCSS mode if '.scss' is in source extensions | CHH_meta-template | train | php,php |
1580f335580911a3ceb5995955dd68c04f4d33d9 | diff --git a/reference.go b/reference.go
index <HASH>..<HASH> 100644
--- a/reference.go
+++ b/reference.go
@@ -125,7 +125,7 @@ func (s *Schema) refToSchema(str string, rootSchema Schema, loadExternal bool) (
if err == nil && parentURL.IsAbs() {
sURL, err := url.Parse(str)
if err == nil && !sURL.IsAbs() && !stri... | Fix resolving ref against resolution scope | cupcake_jsonschema | train | go |
63703081d9236900af1a0128ae95f69d45a6bdc5 | diff --git a/src/base/Boot.php b/src/base/Boot.php
index <HASH>..<HASH> 100644
--- a/src/base/Boot.php
+++ b/src/base/Boot.php
@@ -35,6 +35,8 @@ class Boot
private function beforeRun()
{
$this->setConfigValue(require_once($this->getBaseConfig()));
+ defined('YII_DEBUG') or define('YII_DEBUG', ... | default YII_ENV and YII_DEBUG values, delegate asset force copy based on
YII_DEBUG settings. | luyadev_luya | train | php,php |
3c74441be241e4400ffc7b92593ea8c5f15f0fbc | diff --git a/ca/django_ca/tests/base.py b/ca/django_ca/tests/base.py
index <HASH>..<HASH> 100644
--- a/ca/django_ca/tests/base.py
+++ b/ca/django_ca/tests/base.py
@@ -69,6 +69,22 @@ class DjangoCATestCase(TestCase):
if cls._overridden_settings:
reload_module(ca_settings)
+ @classmethod
+ d... | add tearDown class so that everything is disabled/removed again | mathiasertl_django-ca | train | py |
428c5b983d8f3aeacbf5b8ad0936a5093b09c46b | diff --git a/timepiece/tests/invoices.py b/timepiece/tests/invoices.py
index <HASH>..<HASH> 100644
--- a/timepiece/tests/invoices.py
+++ b/timepiece/tests/invoices.py
@@ -290,7 +290,6 @@ class InvoiceCreateTestCase(TimepieceDataTestCase):
for activity in all_activities:
hg = timepiece.HourGroup.ob... | Remove unneeded line that was already commented out
# Branch: bug/<I>-non-billable | caktus_django-timepiece | train | py |
a2ae29ca6f6c058eae0da31e5f995e6c370325c4 | diff --git a/library/src/main/java/com/mikepenz/materialdrawer/util/DrawerUIUtils.java b/library/src/main/java/com/mikepenz/materialdrawer/util/DrawerUIUtils.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/com/mikepenz/materialdrawer/util/DrawerUIUtils.java
+++ b/library/src/main/java/com/mikepenz/material... | * new Default PlaceHolder for profile icons | mikepenz_MaterialDrawer | train | java |
ee23c6ee85ef780f2bc8497aae0db45ba1662e61 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ needs_pytest = 'pytest' in set(sys.argv)
def get_version():
- regex = r"__version__\s=\s\'(?P<version>[\d\.]+?)\'"
+ regex = r"__version__\s=\s\'(?P<version>[\d\.ab]+?)\'"
path = ('async_lru.py',... | Change version regex to support alpha/beta versions. | aio-libs_async_lru | train | py |
cdbf2168b3532dcd119b1754ec9752df1235b621 | diff --git a/payu/experiment.py b/payu/experiment.py
index <HASH>..<HASH> 100644
--- a/payu/experiment.py
+++ b/payu/experiment.py
@@ -209,7 +209,7 @@ class Experiment(object):
# TODO: Improved ipm support
if self.config.get('ipm', False):
- module('load', 'ipm')
+ module('load... | npernode now does npersocket behind the scenes; ipm flag | payu-org_payu | train | py |
52eabaab81615948779a62bd12cddadf76a0a25b | diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -3,9 +3,9 @@
var assign = require('object-assign');
var log = console.log;
-var opts = JSON.parse(phantom.args[0]);
var page = require('webpage').create();
var system = require('system');
+var opts = JSON... | use `system.args` as `phantom.args` is deprecated | kevva_screenshot-stream | train | js |
a72707b53bcb1e84c2912a86c30e19b3992b99a8 | diff --git a/radicale_storage_etesync/etesync_cache.py b/radicale_storage_etesync/etesync_cache.py
index <HASH>..<HASH> 100644
--- a/radicale_storage_etesync/etesync_cache.py
+++ b/radicale_storage_etesync/etesync_cache.py
@@ -1,6 +1,7 @@
from .creds import Credentials
import hashlib
import threading
+import os
f... | Allow overriding the API endpoint used by setting ETESYNC_URL. | etesync_radicale_storage_etesync | train | py |
592b97b07948ac11644dc908644153db4f208203 | diff --git a/code/libraries/joomlatools/library/dispatcher/behavior/cacheable.php b/code/libraries/joomlatools/library/dispatcher/behavior/cacheable.php
index <HASH>..<HASH> 100644
--- a/code/libraries/joomlatools/library/dispatcher/behavior/cacheable.php
+++ b/code/libraries/joomlatools/library/dispatcher/behavior/cac... | #<I> - Docblocks | joomlatools_joomlatools-framework | train | php |
0cb5b209b8aca0d251d8870d098d6e972ad90f05 | diff --git a/pushl/__init__.py b/pushl/__init__.py
index <HASH>..<HASH> 100644
--- a/pushl/__init__.py
+++ b/pushl/__init__.py
@@ -128,6 +128,8 @@ class Pushl:
if utils.get_domain(feed) in self._feed_domains:
pending.append(("process feed " + feed,
... | Add missing logging lines from ages ago | PlaidWeb_Pushl | train | py |
adae7818ec0051d5793f7c4fbc6a160bc34697bb | diff --git a/jmock2/example/org/jmock/example/qcon/DJTests.java b/jmock2/example/org/jmock/example/qcon/DJTests.java
index <HASH>..<HASH> 100644
--- a/jmock2/example/org/jmock/example/qcon/DJTests.java
+++ b/jmock2/example/org/jmock/example/qcon/DJTests.java
@@ -1,7 +1,5 @@
package org.jmock.example.qcon;
-import st... | Don't want to break backward compatability | jmock-developers_jmock-library | train | java,java |
5d83c44e2b437759f62e145e70912f2385d7d3de | diff --git a/gen.srcml/src/main/java/com/github/gumtreediff/gen/srcml/AbstractSrcmlTreeGenerator.java b/gen.srcml/src/main/java/com/github/gumtreediff/gen/srcml/AbstractSrcmlTreeGenerator.java
index <HASH>..<HASH> 100644
--- a/gen.srcml/src/main/java/com/github/gumtreediff/gen/srcml/AbstractSrcmlTreeGenerator.java
+++ ... | Fix for tabs in sourcecode parsed by srcml | GumTreeDiff_gumtree | train | java |
5865e25db0e67a7ca09763e6011bcc88e8bd9407 | diff --git a/src/Console/ListScheduler.php b/src/Console/ListScheduler.php
index <HASH>..<HASH> 100644
--- a/src/Console/ListScheduler.php
+++ b/src/Console/ListScheduler.php
@@ -25,6 +25,11 @@ class ListScheduler extends Command
protected $description = 'List all scheduled commands in the task scheduler';
... | Add class property 'schedule' to ListScheduler command | hmazter_laravel-schedule-list | train | php |
23a193f933400164379e35e34dca04dd7be69165 | diff --git a/delugeclient.go b/delugeclient.go
index <HASH>..<HASH> 100644
--- a/delugeclient.go
+++ b/delugeclient.go
@@ -366,7 +366,13 @@ func (c *Client) rpc(methodName string, args rencode.List, kwargs rencode.Dictio
return nil, err
}
- d := rencode.NewDecoder(zr)
+ // buffered input here is necessary to avo... | Deflate in a buffer to avoid too early rencode decoding
Fixes #<I> | gdm85_go-libdeluge | train | go |
1b77436aac6b58aa1478402314347211a278727e | diff --git a/lib/winnow/matcher.rb b/lib/winnow/matcher.rb
index <HASH>..<HASH> 100644
--- a/lib/winnow/matcher.rb
+++ b/lib/winnow/matcher.rb
@@ -1,8 +1,10 @@
module Winnow
class Matcher
class << self
- def find_matches(fingerprints_a, fingerprints_b)
- matched_values = fingerprints_a.keys & finge... | Ignore fingerprint values if they are in the whitelist.
This is useful if some fingerprint matches are expected and should be ignored.
If documents are expected to come from a template, then fingerprints from that
template should be added to the whitelist. | ucarion_winnow | train | rb |
d03e1da6cf323be91770d74e2f6e0f342bc47465 | diff --git a/lib/splib/Conversions.rb b/lib/splib/Conversions.rb
index <HASH>..<HASH> 100644
--- a/lib/splib/Conversions.rb
+++ b/lib/splib/Conversions.rb
@@ -3,19 +3,21 @@ module Splib
# Converts seconds into a human readable string (This is an estimate
# and does not account for leaps)
def self.format_... | use array for storage so we have proper ordering | spox_splib | train | rb |
a5f39827553529357471dbc06a1dba77aa83b348 | diff --git a/src/infi/projector/plugins/builtins/devenv/__init__.py b/src/infi/projector/plugins/builtins/devenv/__init__.py
index <HASH>..<HASH> 100644
--- a/src/infi/projector/plugins/builtins/devenv/__init__.py
+++ b/src/infi/projector/plugins/builtins/devenv/__init__.py
@@ -125,7 +125,7 @@ class DevEnvPlugin(Comman... | HOSTDEV-<I> add 'parts' and '.cache' to directories being cleaned with --clean | Infinidat_infi.projector | train | py |
5e8f86a9b64c9f6d07fe5fcf65c74413aebd7035 | diff --git a/lntest/itest/lnd_channel_policy_test.go b/lntest/itest/lnd_channel_policy_test.go
index <HASH>..<HASH> 100644
--- a/lntest/itest/lnd_channel_policy_test.go
+++ b/lntest/itest/lnd_channel_policy_test.go
@@ -605,6 +605,10 @@ func testSendUpdateDisableChannel(net *lntest.NetworkHarness, t *harnessTest) {
ex... | lntest/test: ensure nodes connected before disconnecting [skip ci] | lightningnetwork_lnd | train | go |
d66f8ecfd57e724f6e99d147ad3815b88e1f321b | diff --git a/examples/bootstrap3/tests/test_button.py b/examples/bootstrap3/tests/test_button.py
index <HASH>..<HASH> 100644
--- a/examples/bootstrap3/tests/test_button.py
+++ b/examples/bootstrap3/tests/test_button.py
@@ -30,8 +30,8 @@ class ButtonWrapperPluginTest(TestCase):
self.assertTrue(logged_in, 'User ... | Renamed context -> glossary | jrief_djangocms-cascade | train | py |
bfce721d07cd0537a74427487d7d46ffb331b812 | diff --git a/src/decoding/generateTreeFromDatabase.js b/src/decoding/generateTreeFromDatabase.js
index <HASH>..<HASH> 100644
--- a/src/decoding/generateTreeFromDatabase.js
+++ b/src/decoding/generateTreeFromDatabase.js
@@ -1,13 +1,13 @@
export default function generateTreeFromDatabase(db, key = 0) {
const rec = sub... | Remove unrelated immutable.js code from generateTreeFromDatabase | RobCoIndustries_pipboylib | train | js |
fd41c6b9267a7fdda903592fd927b2e3b77ea34b | diff --git a/lib/semantic-type.js b/lib/semantic-type.js
index <HASH>..<HASH> 100644
--- a/lib/semantic-type.js
+++ b/lib/semantic-type.js
@@ -14,7 +14,10 @@ module.exports = function (type) {
chore: 'ignore',
test: 'ignore',
breaking: 'major',
- perf: 'patch'
+ perf: 'patch',
+ patch: 'patch',
... | tweaks: support commit type in commit subject | egoist_changelog.md | train | js |
fc592cb9241ed9284c663da859daab68a3b97bbb | diff --git a/client/api/index.js b/client/api/index.js
index <HASH>..<HASH> 100644
--- a/client/api/index.js
+++ b/client/api/index.js
@@ -110,12 +110,12 @@ Deepword.prototype.focus = function() {
}
Deepword.prototype._patchHTTP = function(path, value) {
- const onSave = this._onSave.bind(this);
+ const {onSa... | refactor(client) bind -> destructuring | cloudcmd_deepword | train | js |
f276423c5bf42c05ca70b65c34f971e70a04e001 | diff --git a/tests/test_configuration.py b/tests/test_configuration.py
index <HASH>..<HASH> 100644
--- a/tests/test_configuration.py
+++ b/tests/test_configuration.py
@@ -96,6 +96,24 @@ def test_tox_generative_environments_has_common_definition():
assert tox_environments == tox_ini
+def test_single_line_settin... | test: single line tox settings should be written on the same line | dry-python_dependencies | train | py |
d26ea8f3d843bf3cbf6cdae6815d4133cb3a6e1d | diff --git a/GVRf/Framework/framework/src/main/java/org/gearvrf/GVRPicker.java b/GVRf/Framework/framework/src/main/java/org/gearvrf/GVRPicker.java
index <HASH>..<HASH> 100644
--- a/GVRf/Framework/framework/src/main/java/org/gearvrf/GVRPicker.java
+++ b/GVRf/Framework/framework/src/main/java/org/gearvrf/GVRPicker.java
@... | Fixed an issue with NoPick not being called for Object Picker | Samsung_GearVRf | train | java |
8c8a1462e5c06ed28a09f1eab98f877c556805f3 | diff --git a/tests/specs/common.spec.js b/tests/specs/common.spec.js
index <HASH>..<HASH> 100644
--- a/tests/specs/common.spec.js
+++ b/tests/specs/common.spec.js
@@ -38,7 +38,11 @@ function afterEachHelper(done) {
geoQuery.cancel();
})
- done();
+ // Wait for 50 milliseconds after each test to give enough ... | Added <I> ms wait after each test | firebase_geofire-js | train | js |
a81a60b9531b2c4f9cd416942d4ee11070188ef3 | diff --git a/Kwf/Trl.php b/Kwf/Trl.php
index <HASH>..<HASH> 100644
--- a/Kwf/Trl.php
+++ b/Kwf/Trl.php
@@ -356,12 +356,12 @@ class Kwf_Trl
$args = $trlStaticData['args'];
if ($args[1]) {
- if (is_string($args[1])) {
- $args[1]... | bugfix for kwf/trl, optimized check for args - is_string wasnt enough
checks now for is_array, is necessary then foreach needs an array | koala-framework_koala-framework | train | php |
1295ce90f5e72e47517295c7f2c773f789925740 | diff --git a/src/public/tools.js b/src/public/tools.js
index <HASH>..<HASH> 100644
--- a/src/public/tools.js
+++ b/src/public/tools.js
@@ -47,3 +47,18 @@ sigma.tools.drawRoundRect = function(ctx, x, y, w, h, ellipse, corners) {
ctx.lineTo(x, y + e);
};
+
+sigma.tools.rgbToHex = function(R,G,B) {
+ return sigma.t... | added color methods in sigma.tools | jacomyal_sigma.js | train | js |
75dca1c2d39126556ded5f328461986a9eabb230 | diff --git a/django_webtest/backends.py b/django_webtest/backends.py
index <HASH>..<HASH> 100644
--- a/django_webtest/backends.py
+++ b/django_webtest/backends.py
@@ -1,14 +1,19 @@
from __future__ import absolute_import
+from django.utils.version import get_complete_version
from django.contrib.auth.backends import Re... | Define WebtestUserBackend.authenticate based on Django version
This is required because the signature of RemoteUserBackend.authenticate
has changed in Django <I>. | django-webtest_django-webtest | train | py |
77707737df4f25c45b66bfac80f0b1895af686b0 | diff --git a/smack-core/src/main/java/org/jivesoftware/smack/StanzaCollector.java b/smack-core/src/main/java/org/jivesoftware/smack/StanzaCollector.java
index <HASH>..<HASH> 100644
--- a/smack-core/src/main/java/org/jivesoftware/smack/StanzaCollector.java
+++ b/smack-core/src/main/java/org/jivesoftware/smack/StanzaColl... | Make StanzaCollector's cancelled field volatile | igniterealtime_Smack | train | java |
10620cc406446c6bd15dc1b0736407f0dfcc0980 | diff --git a/salt/modules/postgres.py b/salt/modules/postgres.py
index <HASH>..<HASH> 100644
--- a/salt/modules/postgres.py
+++ b/salt/modules/postgres.py
@@ -49,9 +49,7 @@ def _run_psql(cmd, runas=None, password=None, host=None,
host = __salt__['config.option']('postgres.host')
if host is None or... | removed runas for local network access | saltstack_salt | train | py |
5b2a1162d30d0b708da9e598c8f8a619d50a3c77 | diff --git a/src/asymmetric_jwt_auth/middleware.py b/src/asymmetric_jwt_auth/middleware.py
index <HASH>..<HASH> 100644
--- a/src/asymmetric_jwt_auth/middleware.py
+++ b/src/asymmetric_jwt_auth/middleware.py
@@ -1,5 +1,6 @@
from django.contrib.auth import get_user_model
from django.core.cache import cache
+from django... | Fix middleware in Django <I> | crgwbr_asymmetric-jwt-auth | train | py |
88550bd1dbd90d1b914e1ba5b393f65ed67f2693 | diff --git a/lib/SendGrid/Email.php b/lib/SendGrid/Email.php
index <HASH>..<HASH> 100644
--- a/lib/SendGrid/Email.php
+++ b/lib/SendGrid/Email.php
@@ -353,7 +353,7 @@ class Email {
}
$contents = '@' . $file;
- if (class_exists('CurlFile')) { // php >= 5.5
+ if (class_exists('Cur... | Do not call autoloader when checking if CurlFile class exists
As CurlFile is a built-in class there is no reason to invoke the autoloader. | sendgrid_sendgrid-php | train | php |
77db855d7a987a95207087ccee9617fda9e7357a | diff --git a/lib/librarian/dependency.rb b/lib/librarian/dependency.rb
index <HASH>..<HASH> 100644
--- a/lib/librarian/dependency.rb
+++ b/lib/librarian/dependency.rb
@@ -21,5 +21,9 @@ module Librarian
source.manifests(self)
end
+ def satisfied_by?(manifest)
+ manifest.satisfies?(self)
+ end
+
... | Manifests can check if they satisfy dependencies and vice versa. | applicationsonline_librarian | train | rb,rb |
fd25395a9272b180f62e6b6a62b3f7c9e1ee8739 | diff --git a/zipline/data/minute_bars.py b/zipline/data/minute_bars.py
index <HASH>..<HASH> 100644
--- a/zipline/data/minute_bars.py
+++ b/zipline/data/minute_bars.py
@@ -856,7 +856,7 @@ class BcolzMinuteBarWriter(object):
truncate_slice_end = self.data_len_for_day(date)
glob_path = os.path.join(sel... | ENH: Add sorted to sid list when truncating.
For repeatable order of truncates between invocations. | quantopian_zipline | train | py |
cb1dc1986242d16d510105533fa961af0a7e7c28 | diff --git a/src/ShopsysProductFeedZboziBundle.php b/src/ShopsysProductFeedZboziBundle.php
index <HASH>..<HASH> 100644
--- a/src/ShopsysProductFeedZboziBundle.php
+++ b/src/ShopsysProductFeedZboziBundle.php
@@ -2,8 +2,24 @@
namespace Shopsys\ProductFeed\ZboziBundle;
+use Doctrine\Bundle\DoctrineBundle\DependencyIn... | individual entities with orm mapping are enabled in product zbozi feed | shopsys_product-feed-zbozi | 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.