hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
b649846b9ceef0db8631e7148f5ee9415bdd4621 | diff --git a/xarray/core/dataarray.py b/xarray/core/dataarray.py
index <HASH>..<HASH> 100644
--- a/xarray/core/dataarray.py
+++ b/xarray/core/dataarray.py
@@ -386,6 +386,7 @@ class DataArray(AbstractArray, DataWithCoords):
variable: Variable = None,
coords=None,
name: Union[Hashable, None, De... | Propagate indexes in DataArray binary operations. (#<I>)
* Propagate indexes in DataArray binary operations.
Works by propagating indexes in DataArray._replace.
xref #<I>. Tests pass!
* remove commented code.
* fix roll | pydata_xarray | train |
1a210ac944a796c6bb61eb047e7328364db57f63 | diff --git a/src/cli.js b/src/cli.js
index <HASH>..<HASH> 100644
--- a/src/cli.js
+++ b/src/cli.js
@@ -186,7 +186,7 @@ function coverCmd(opts) {
matcherFor({
root: config.instrumentation.root() || process.cwd(),
- includes: opts.includes || config.instrumentation.extensions()
+ includes: opts.in... | fix(cli): typo trailing "s"
Fixes #<I> | douglasduteil_isparta | train |
2a33a7bed628fdef971065706af7683e788ed27e | diff --git a/src/Composer/Installer/InstallerInstaller.php b/src/Composer/Installer/InstallerInstaller.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Installer/InstallerInstaller.php
+++ b/src/Composer/Installer/InstallerInstaller.php
@@ -91,7 +91,7 @@ class InstallerInstaller extends LibraryInstaller
fore... | Allow whitespace in installers - fix for issue #<I>
Custom installers can have the class definition indented. | mothership-ec_composer | train |
d0f89f3393bb291b1aa525bf484baf4a49d46064 | diff --git a/integration-test/src/test/java/org/ehcache/integration/LoaderWriterSimpleEhcacheTest.java b/integration-test/src/test/java/org/ehcache/integration/LoaderWriterSimpleEhcacheTest.java
index <HASH>..<HASH> 100644
--- a/integration-test/src/test/java/org/ehcache/integration/LoaderWriterSimpleEhcacheTest.java
+... | Deprecated Mockito Matchers class | ehcache_ehcache3 | train |
33398b2191fcff54b03cb71fd769611294e2b7ae | diff --git a/src/Illuminate/Database/Eloquent/Model.php b/src/Illuminate/Database/Eloquent/Model.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Database/Eloquent/Model.php
+++ b/src/Illuminate/Database/Eloquent/Model.php
@@ -1155,7 +1155,9 @@ abstract class Model implements ArrayAccess, Arrayable, Jsonable, JsonS... | set table name for better performance (#<I>) | laravel_framework | train |
83c0b620f59c44944594911ccbec9a2556b0368e | diff --git a/lib/requests.js b/lib/requests.js
index <HASH>..<HASH> 100644
--- a/lib/requests.js
+++ b/lib/requests.js
@@ -64,7 +64,8 @@ BaseRequest.prototype.containsQueryParams = function(params) {
}
var parameters = this.methodMeta.parameters || {};
for (var paramName in parameters) {
- if (parameters[pa... | Path params should be considered as query params. | googleapis_google-api-nodejs-client | train |
0e2c0bc7f3e49407db858567ebd7f38aaf36fecc | diff --git a/h2o-core/src/main/java/water/jdbc/SQLManager.java b/h2o-core/src/main/java/water/jdbc/SQLManager.java
index <HASH>..<HASH> 100644
--- a/h2o-core/src/main/java/water/jdbc/SQLManager.java
+++ b/h2o-core/src/main/java/water/jdbc/SQLManager.java
@@ -13,11 +13,16 @@ import java.util.concurrent.ArrayBlockingQueu... | PUBDEV-<I>: Netezza JDBC level 3 driver support (#<I>) | h2oai_h2o-3 | train |
ec0e9864391ace283474b3ab4a1601d3bd3965f5 | diff --git a/lib/tinderbot/tinder/client.rb b/lib/tinderbot/tinder/client.rb
index <HASH>..<HASH> 100644
--- a/lib/tinderbot/tinder/client.rb
+++ b/lib/tinderbot/tinder/client.rb
@@ -35,18 +35,26 @@ module Tinderbot::Tinder
JSON.parse(@connection.post('user/recs').body)['results']
end
- def like(user_i... | like from a user model or a user id | jvenezia_tinderbot | train |
121e8a0ee0a65a69cb52769f7a0d160a276257f3 | diff --git a/pymc/examples/gp/more_examples/Geostats/mcmc.py b/pymc/examples/gp/more_examples/Geostats/mcmc.py
index <HASH>..<HASH> 100644
--- a/pymc/examples/gp/more_examples/Geostats/mcmc.py
+++ b/pymc/examples/gp/more_examples/Geostats/mcmc.py
@@ -52,7 +52,7 @@ for i in xrange(n):
# Reset all variables to their... | Changed joint_eval to point_eval | pymc-devs_pymc | train |
4772141bb467869c2b9f3ef7ba260680287733cd | diff --git a/discovery/src/main/java/io/airlift/discovery/client/DiscoveryBinder.java b/discovery/src/main/java/io/airlift/discovery/client/DiscoveryBinder.java
index <HASH>..<HASH> 100644
--- a/discovery/src/main/java/io/airlift/discovery/client/DiscoveryBinder.java
+++ b/discovery/src/main/java/io/airlift/discovery/c... | Bind service selectors in singleton scope | airlift_airlift | train |
c17574a2ac93d0700a44913d747b19c4a174d1e1 | diff --git a/Lib/fontbakery/reporters/terminal.py b/Lib/fontbakery/reporters/terminal.py
index <HASH>..<HASH> 100644
--- a/Lib/fontbakery/reporters/terminal.py
+++ b/Lib/fontbakery/reporters/terminal.py
@@ -210,7 +210,7 @@ class TerminalProgress(FontbakeryReporter):
def _output(self, event):
super(TerminalPro... | terminal.py: make _render_event take only an event argument.
This silences a warning about redefined arguments for TerminalReporter. | googlefonts_fontbakery | train |
112caf53f37d3b3ee3252981f11f5944a76a2903 | diff --git a/src/NodeCompiler/CompileNodeToValue.php b/src/NodeCompiler/CompileNodeToValue.php
index <HASH>..<HASH> 100644
--- a/src/NodeCompiler/CompileNodeToValue.php
+++ b/src/NodeCompiler/CompileNodeToValue.php
@@ -2,6 +2,7 @@
namespace BetterReflection\NodeCompiler;
+use BetterReflection\Reflection\Reflection... | Added testcase for class constant resolution | Roave_BetterReflection | train |
ed3f7427d233727e4f27931ed1ff62b59c7d010b | diff --git a/pymatgen/entries/compatibility.py b/pymatgen/entries/compatibility.py
index <HASH>..<HASH> 100644
--- a/pymatgen/entries/compatibility.py
+++ b/pymatgen/entries/compatibility.py
@@ -380,9 +380,10 @@ class UCorrection(Correction):
for el in comp.elements:
sym = el.symbol
- ... | More useful error message when compatibility is wrong. | materialsproject_pymatgen | train |
2d1be5520abfe6635fa7efc3ff95c3a317cbb08a | diff --git a/internal/loraserver/node_session.go b/internal/loraserver/node_session.go
index <HASH>..<HASH> 100644
--- a/internal/loraserver/node_session.go
+++ b/internal/loraserver/node_session.go
@@ -239,16 +239,17 @@ func (a *NodeSessionAPI) Create(ns models.NodeSession, devAddr *lorawan.DevAddr)
}
// validat... | Fix node session app eui check on create
In the node session a node should have it's own AppEUI, not just an
existing one. Plus this change saves a DB request. | brocaar_loraserver | train |
e60fee4936cb05366e86b4fce86a570ea8376fe7 | diff --git a/falafel/config/specs.py b/falafel/config/specs.py
index <HASH>..<HASH> 100644
--- a/falafel/config/specs.py
+++ b/falafel/config/specs.py
@@ -199,7 +199,7 @@ static_specs = {
"up2date" : SimpleFileSpec("etc/sysconfig/rhn/up2date"),
"uptime" : CommandSpec("/usr... | Wrap original vgs command in NoneGroup | RedHatInsights_insights-core | train |
12b0cad2ee5274946bec51f89cb0cd21f3f57fd4 | diff --git a/tests/test_renderengine.py b/tests/test_renderengine.py
index <HASH>..<HASH> 100644
--- a/tests/test_renderengine.py
+++ b/tests/test_renderengine.py
@@ -56,6 +56,40 @@ class RenderEngineTestCase(unittest.TestCase):
def test_render(self):
self._assert_render('Hi Mom', 'Hi {{person}}', {'perso... | Added tests that RenderEngine.render() uses its attributes. | defunkt_pystache | train |
5cb542b53c28db885034ec631e37bbecdc2856c4 | diff --git a/packages/webpack-preset-accurapp/index.js b/packages/webpack-preset-accurapp/index.js
index <HASH>..<HASH> 100644
--- a/packages/webpack-preset-accurapp/index.js
+++ b/packages/webpack-preset-accurapp/index.js
@@ -25,7 +25,7 @@ const colorModFunction = require('postcss-color-mod-function')
const HtmlWeb... | 🐛 Remove extra js chunk | accurat_accurapp | train |
ea1c095fb12c4062616ee0d38818ab1baaabd1eb | diff --git a/ipywidgets/widgets/tests/test_widget_upload.py b/ipywidgets/widgets/tests/test_widget_upload.py
index <HASH>..<HASH> 100644
--- a/ipywidgets/widgets/tests/test_widget_upload.py
+++ b/ipywidgets/widgets/tests/test_widget_upload.py
@@ -27,3 +27,26 @@ class TestFileUpload(TestCase):
def test_empty_initia... | Test deserialization of comm message following upload | jupyter-widgets_ipywidgets | train |
14aea5a1f0504de62b510659ee252860806a4f58 | diff --git a/app/Console/Commands/DemoSeederCommand.php b/app/Console/Commands/DemoSeederCommand.php
index <HASH>..<HASH> 100644
--- a/app/Console/Commands/DemoSeederCommand.php
+++ b/app/Console/Commands/DemoSeederCommand.php
@@ -21,6 +21,8 @@ use CachetHQ\Cachet\Models\User;
use DateInterval;
use DateTime;
use Ill... | Ask for confirmation when trying to run the DemoSeederCommand in production | CachetHQ_Cachet | train |
7dcd98b62fa6f0533116e2c0413282c23d5ed4de | diff --git a/lib/postgres_ext/active_record/connection_adapters/postgres_adapter.rb b/lib/postgres_ext/active_record/connection_adapters/postgres_adapter.rb
index <HASH>..<HASH> 100644
--- a/lib/postgres_ext/active_record/connection_adapters/postgres_adapter.rb
+++ b/lib/postgres_ext/active_record/connection_adapters/p... | Fixes initialize override.
Overwrote column initialize instead of alias_chain-ing, which caused primary key explosions | danmcclain_postgres_ext | train |
28f485a1d1163b378972708cd478f24e64384b3d | diff --git a/accept.go b/accept.go
index <HASH>..<HASH> 100644
--- a/accept.go
+++ b/accept.go
@@ -17,7 +17,6 @@ import (
// The fastAdd argument modifies the behavior of the function by avoiding the
// somewhat expensive operation: BIP34 validation, it also passes the argument
// down to connectBestChain()
-
func ... | Fix a couple of style nits. | btcsuite_btcd | train |
8b21152a9080e1043c32a14e3dd3af160aaef284 | diff --git a/src/main/java/net/openhft/chronicle/network/VanillaNetworkContext.java b/src/main/java/net/openhft/chronicle/network/VanillaNetworkContext.java
index <HASH>..<HASH> 100755
--- a/src/main/java/net/openhft/chronicle/network/VanillaNetworkContext.java
+++ b/src/main/java/net/openhft/chronicle/network/VanillaN... | #<I> Rename closeWithCAS() to closeAtomically() and reduce visibility to protected. | OpenHFT_Chronicle-Network | train |
078eaacc3e56555a723f5d1cb907324139dac697 | diff --git a/src/Bernard/Driver/SqsDriver.php b/src/Bernard/Driver/SqsDriver.php
index <HASH>..<HASH> 100644
--- a/src/Bernard/Driver/SqsDriver.php
+++ b/src/Bernard/Driver/SqsDriver.php
@@ -5,9 +5,11 @@ namespace Bernard\Driver;
use Aws\Sqs\SqsClient;
use Aws\Sqs\Enum\QueueAttribute;
use Bernard\Message\Envelope;
+... | get 4 messages at a time instead of 1. | bernardphp_bernard | train |
185d626f092343251e637571db805f915568c58f | diff --git a/server/src/main/java/com/orientechnologies/orient/server/distributed/ORemoteServerChannel.java b/server/src/main/java/com/orientechnologies/orient/server/distributed/ORemoteServerChannel.java
index <HASH>..<HASH> 100755
--- a/server/src/main/java/com/orientechnologies/orient/server/distributed/ORemoteServe... | removed debug logging from distributed channels | orientechnologies_orientdb | train |
4554a3d364e07c42d8d9983b4d472ab9f1138698 | diff --git a/xbee/base.py b/xbee/base.py
index <HASH>..<HASH> 100644
--- a/xbee/base.py
+++ b/xbee/base.py
@@ -265,9 +265,9 @@ class XBeeBase(threading.Thread):
# Store the number of bytes specified
# Are we trying to read beyond the last data element?
- if index + fie... | Added support for Route Record Indicator packets. | niolabs_python-xbee | train |
79bf6944e973e63ef6098fc22875ca31a4d04c6c | diff --git a/drools-workbench-models/drools-workbench-models-guided-dtree/src/main/java/org/drools/workbench/models/guided/dtree/shared/model/GuidedDecisionTree.java b/drools-workbench-models/drools-workbench-models-guided-dtree/src/main/java/org/drools/workbench/models/guided/dtree/shared/model/GuidedDecisionTree.java... | GUVNOR-<I>: Add support for Guided Decision Trees to the Workbench. Default to empty imports | kiegroup_drools | train |
f147b6b3eb9c9bd194571ea51b9e7de67bb78e73 | diff --git a/src/test/java/com/pinterest/secor/parser/Iso8601ParserTest.java b/src/test/java/com/pinterest/secor/parser/Iso8601ParserTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/pinterest/secor/parser/Iso8601ParserTest.java
+++ b/src/test/java/com/pinterest/secor/parser/Iso8601ParserTest.java
@@ -38,7 ... | remove Iso<I>ParserTest::mISOFormat
it's not used anywhere | pinterest_secor | train |
833032a892c09de4e17515c2c9f286d63b3535c7 | diff --git a/lib/file-utils.js b/lib/file-utils.js
index <HASH>..<HASH> 100644
--- a/lib/file-utils.js
+++ b/lib/file-utils.js
@@ -87,7 +87,7 @@ exports.copyTemplate = function copyTemplate(templateFileName, destinationFileNa
};
exports.renameFiles = function renameFiles(files, props) {
- if (/^src.*\.js$/.test(fi... | Update regex to filter config files starting with dot | FountainJS_fountain-generator | train |
2ad87fb6d6329638a975a1db003b798e9698b930 | diff --git a/mesh.js b/mesh.js
index <HASH>..<HASH> 100644
--- a/mesh.js
+++ b/mesh.js
@@ -144,23 +144,21 @@ proto.setPickBase = function(id) {
this.pickId = id
}
-function mapOpacity(ratio, opacityscale) {
+function getOpacityFromScale(ratio, opacityscale) {
- if(!opacityscale) return 1; // quick return;
+ i... | support for 2d array opacityscale | gl-vis_gl-mesh3d | train |
9667bb5cbfa6aa7ae293dd989676cdd5a6359a78 | diff --git a/src/main/java/io/lettuce/core/ClientOptions.java b/src/main/java/io/lettuce/core/ClientOptions.java
index <HASH>..<HASH> 100644
--- a/src/main/java/io/lettuce/core/ClientOptions.java
+++ b/src/main/java/io/lettuce/core/ClientOptions.java
@@ -142,9 +142,7 @@ public class ClientOptions implements Serializabl... | Un-deprecate ClientOptions.pingBeforeActivateConnection #<I>
pingBeforeActivateConnection turns out to be useful when using RESP2 in cases where the connection authentication should be delayed. Another case is when the PING should be used as auth PING to test whether a reconnect was successful.
Related ticket: #<I>. | lettuce-io_lettuce-core | train |
1b121d4c1646e27bfaade4ecb5425ffb31e17689 | diff --git a/api/server.go b/api/server.go
index <HASH>..<HASH> 100644
--- a/api/server.go
+++ b/api/server.go
@@ -27,7 +27,7 @@ import (
"gopkg.in/tylerb/graceful.v1"
)
-const Version = "0.13.0-rc1"
+const Version = "0.13.0-rc2"
func getProvisioner() (string, error) {
provisioner, err := config.GetString("pr... | api/server: bump to <I>.-rc2 | tsuru_tsuru | train |
9da492975c53f3e0d56aa58934ac5d692a705b8c | diff --git a/cmd/stat-main.go b/cmd/stat-main.go
index <HASH>..<HASH> 100644
--- a/cmd/stat-main.go
+++ b/cmd/stat-main.go
@@ -37,7 +37,7 @@ var (
// stat files and folders.
var statCmd = cli.Command{
Name: "stat",
- Usage: "Stat contents of objects.",
+ Usage: "Stat contents of objects and folders.",
Action:... | correct stat behavior and message (#<I>)
fix empty stat listing when bucket has only a single object and
cleanup dead code. | minio_mc | train |
8e4a63195d0331fb6a52a86cd2c4649553a9607a | diff --git a/engine-rest/src/main/java/org/camunda/bpm/engine/rest/security/auth/ProcessEngineAuthenticationFilter.java b/engine-rest/src/main/java/org/camunda/bpm/engine/rest/security/auth/ProcessEngineAuthenticationFilter.java
index <HASH>..<HASH> 100644
--- a/engine-rest/src/main/java/org/camunda/bpm/engine/rest/sec... | fix(rest): throw generated expceptions | camunda_camunda-bpm-platform | train |
4673f5223d3cab3c865d9f7e5f9abeecb21e7000 | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -39,14 +39,9 @@ function calculateValues(frames) {
* @param {string|Array} timeline path to the timeline to process, or the frames JSON
* @return {Promise} resoving with an object containing the speed inde... | Update test to make them sync as well | paulirish_speedline | train |
8048eb7b549a180437df8313ef9595f8e2d0bd0a | diff --git a/nico.js b/nico.js
index <HASH>..<HASH> 100644
--- a/nico.js
+++ b/nico.js
@@ -1,5 +1,9 @@
var path = require('path');
var package = require('./package');
+var webpack = require('webpack');
+var webpackMiddleware = require('webpack-dev-middleware');
+var webpackConfig = require('./webpack.config');
+var w... | improve debug speed and reliability, using webpack-dev-middleware | ant-design_ant-design | train |
e38b4ec309181c1bcf57611931982930f860bc60 | diff --git a/ecblock.go b/ecblock.go
index <HASH>..<HASH> 100644
--- a/ecblock.go
+++ b/ecblock.go
@@ -51,11 +51,11 @@ func (id ECID) String() string {
// Entries, and fund Entry Credit Addresses.
type ECBlock struct {
Header struct {
- BodyHash string `json:"bodyhash"`
- PrevHeaderHash s... | changed ecblock header field type | FactomProject_factom | train |
24259fa18bbfb933cbb79bffd2c23466983a019b | diff --git a/lib/parfait/module.rb b/lib/parfait/module.rb
index <HASH>..<HASH> 100644
--- a/lib/parfait/module.rb
+++ b/lib/parfait/module.rb
@@ -16,7 +16,7 @@ module Parfait
def initialize name , superclass
super()
@name = name
- @instance_methods = []
+ @instance_methods = List.new_objec... | fix method list (was still array) | ruby-x_rubyx | train |
639639b67e47e4a8fe8a55cdf1c303805d2f7848 | diff --git a/controllers/socket/socket.go b/controllers/socket/socket.go
index <HASH>..<HASH> 100644
--- a/controllers/socket/socket.go
+++ b/controllers/socket/socket.go
@@ -26,13 +26,13 @@ func onDisconnect(id string) {
broadcaster.RemoveSocket(steamid)
player, tperr := models.GetPlayerBySteamId(steamid)
if ... | Use Error level, remove log on removed spectators. | TF2Stadium_Helen | train |
b5104504cf939bc2de6980a1c38ee966f9969aaf | diff --git a/src/test/java/com/ning/billing/recurly/model/TestSubscription.java b/src/test/java/com/ning/billing/recurly/model/TestSubscription.java
index <HASH>..<HASH> 100644
--- a/src/test/java/com/ning/billing/recurly/model/TestSubscription.java
+++ b/src/test/java/com/ning/billing/recurly/model/TestSubscription.ja... | Updated with Assert.fail() | killbilling_recurly-java-library | train |
5a468cec5eb501fd584ae004d3f1dd77ec50117b | diff --git a/github/search.go b/github/search.go
index <HASH>..<HASH> 100644
--- a/github/search.go
+++ b/github/search.go
@@ -284,6 +284,10 @@ func (s *SearchService) search(ctx context.Context, searchType string, parameter
// Accept header for search repositories based on topics preview endpoint
// TODO: remove... | Add reactions preview to search (#<I>) | google_go-github | train |
71e8c3334e44af66d2219e4a82d6ccd157b9e163 | diff --git a/lib/node_modules/@stdlib/math/base/special/gammainc/test/test.js b/lib/node_modules/@stdlib/math/base/special/gammainc/test/test.js
index <HASH>..<HASH> 100644
--- a/lib/node_modules/@stdlib/math/base/special/gammainc/test/test.js
+++ b/lib/node_modules/@stdlib/math/base/special/gammainc/test/test.js
@@ -1... | Update tests to check if expected value is NaN | stdlib-js_stdlib | train |
2b34cdea71c74a3c02160d4d0ea84151fa251c6d | diff --git a/src/Charcoal/View/EngineInterface.php b/src/Charcoal/View/EngineInterface.php
index <HASH>..<HASH> 100644
--- a/src/Charcoal/View/EngineInterface.php
+++ b/src/Charcoal/View/EngineInterface.php
@@ -9,18 +9,16 @@ namespace Charcoal\View;
interface EngineInterface
{
/**
- * @param LoaderInterface ... | Simplified Interface. The classes will get much simpler soon. | locomotivemtl_charcoal-view | train |
9a5b84683dc1536c60675999183857ea3d9aee27 | diff --git a/dom/MemoryDOMElement.js b/dom/MemoryDOMElement.js
index <HASH>..<HASH> 100644
--- a/dom/MemoryDOMElement.js
+++ b/dom/MemoryDOMElement.js
@@ -547,6 +547,14 @@ class MemoryDOMElement extends DOMElement {
this._propagateEvent(new MemoryDOMElementEvent(name, this, data))
}
+ getBoundingClientRect (... | Add missing MemoryDOMElemet API to better allow for UI testing. | substance_substance | train |
5584cb0fd3a281f12611f3b22cdfe1a4a1fb2727 | diff --git a/galpy/orbit_src/FullOrbit.py b/galpy/orbit_src/FullOrbit.py
index <HASH>..<HASH> 100644
--- a/galpy/orbit_src/FullOrbit.py
+++ b/galpy/orbit_src/FullOrbit.py
@@ -444,8 +444,8 @@ def _integrateFullOrbit(vxvv,pot,t,method):
R= nu.sqrt(out[:,0]**2.+out[:,1]**2.)
phi= nu.arccos(out[:,0]/R)
... | phi plotting fixed, leapfrog integration post-processing fixed in planar and FullOrbit | jobovy_galpy | train |
27f51d4028ef73c511cd8e3d514f1893a4dbc08b | diff --git a/server/gateway.go b/server/gateway.go
index <HASH>..<HASH> 100644
--- a/server/gateway.go
+++ b/server/gateway.go
@@ -2018,6 +2018,12 @@ func (c *client) gatewayInterest(acc, subj string) (bool, *SublistResult) {
}
}
e.RUnlock()
+ // Since callers may just check if the sublist result is nil or n... | Fix ephemeral consumer delete in single cluster
Also remove retry of sources/mirror in the setSourceConsumer() itself
when not getting a response. | nats-io_gnatsd | train |
f2572ef765c1d1804067c2cecafec1cff0f09d44 | diff --git a/dp_tornado/helper/security/crypto/hash.py b/dp_tornado/helper/security/crypto/hash.py
index <HASH>..<HASH> 100644
--- a/dp_tornado/helper/security/crypto/hash.py
+++ b/dp_tornado/helper/security/crypto/hash.py
@@ -9,13 +9,19 @@ import hashlib
class HashHelper(dpHelper):
def md5(self, plain):
- ... | refactoring and auto typecase | why2pac_dp-tornado | train |
c1da9bb37efa104625801eb8da7cc6730276a394 | diff --git a/src/Entity/AddressValidation/AVAddress.php b/src/Entity/AddressValidation/AVAddress.php
index <HASH>..<HASH> 100644
--- a/src/Entity/AddressValidation/AVAddress.php
+++ b/src/Entity/AddressValidation/AVAddress.php
@@ -69,13 +69,8 @@ class AVAddress
$this->buildingName = isset($xmlDoc->BuildingName... | add some more getters. make the ctor a bitttt more elegant and less duplicative | gabrielbull_php-ups-api | train |
3c58dc80b92f5a2e222a36e9ccc286e7b8a022d3 | diff --git a/app/models/blog.rb b/app/models/blog.rb
index <HASH>..<HASH> 100644
--- a/app/models/blog.rb
+++ b/app/models/blog.rb
@@ -1,15 +1,11 @@
# BlogRequest is a fake Request object, created so blog.url_for will work.
class BlogRequest
- attr_accessor :protocol, :host_with_port, :path, :symbolized_path_param... | Move stuff about a little in the Blog.url_for system. | publify_publify | train |
cb175703e250475c7df5f16270939327eb0bb570 | diff --git a/lib/prey/agent.js b/lib/prey/agent.js
index <HASH>..<HASH> 100644
--- a/lib/prey/agent.js
+++ b/lib/prey/agent.js
@@ -320,7 +320,7 @@ var Agent = self = {
actions.on('event_triggered', function(trigger_name, data){
logger.notice("Event triggered: " + trigger_name);
hooks.trigger('event', trigger... | Action events shouldn't return data, that's what the callbacks are for. | prey_prey-node-client | train |
30444c7a6fe6aab33d8cc4f5b298e84e8ae41305 | diff --git a/src/Collection.php b/src/Collection.php
index <HASH>..<HASH> 100644
--- a/src/Collection.php
+++ b/src/Collection.php
@@ -1160,6 +1160,26 @@ class Collection
}
/**
+ * Internal helper for massaging findandmodify options
+ * @internal
+ */
+ final protected function _massageFindAn... | Restore Collection::_massageFindAndModifyOptions()
This was inadvertently removed in <I>e<I>d4ddb<I>f<I>e<I>d<I>f6c<I>. | mongodb_mongo-php-library | train |
f56976bb3c0ed11d03204e8207f3687604b099f7 | diff --git a/src/components/virtualRepeat/virtual-repeater.spec.js b/src/components/virtualRepeat/virtual-repeater.spec.js
index <HASH>..<HASH> 100644
--- a/src/components/virtualRepeat/virtual-repeater.spec.js
+++ b/src/components/virtualRepeat/virtual-repeater.spec.js
@@ -574,7 +574,7 @@ describe('<md-virtual-repeat>... | amend(virtualRepeat): fixes the unit test in the previous PR that was merged | angular_material | train |
bf0c1cd3c66de738a984d07e08b290b441dc5bd2 | diff --git a/lib/grunt/configs/s3.js b/lib/grunt/configs/s3.js
index <HASH>..<HASH> 100644
--- a/lib/grunt/configs/s3.js
+++ b/lib/grunt/configs/s3.js
@@ -21,12 +21,8 @@ module.exports = function(distPath, buildPath, version) {
]
},
develop: {
- sync: [
- {
- ... | refactor(grunt/release): develop builds are versioned in s3 | FineUploader_fine-uploader | train |
33617dc8804cc03c7d96f104666cdfe736a39193 | diff --git a/lib/pool.js b/lib/pool.js
index <HASH>..<HASH> 100644
--- a/lib/pool.js
+++ b/lib/pool.js
@@ -130,9 +130,10 @@ Pool.prototype.query = function (sql, values, cb) {
this.getConnection(function (err, conn) {
if (err) {
- cmdQuery.emit('error', err);
if (typeof cmdQuery.onResult === 'func... | don't emit error on command if callback with error was invoked | sidorares_node-mysql2 | train |
a13532ab3062a088531afacb93a9f125602831f7 | diff --git a/core/PHPRocks/Environment.php b/core/PHPRocks/Environment.php
index <HASH>..<HASH> 100644
--- a/core/PHPRocks/Environment.php
+++ b/core/PHPRocks/Environment.php
@@ -101,10 +101,10 @@ final class Environment{
return self::CLI;
}
- $server_name = $this->server->get("SERVER_NAM... | Swap HTTP_HOST with server name. Fixes #8 | daniel-aranda_PHP-Rocks | train |
a9ceea04c10fbb79d100d94a8f332e616249fc2b | diff --git a/lib/opFns.js b/lib/opFns.js
index <HASH>..<HASH> 100644
--- a/lib/opFns.js
+++ b/lib/opFns.js
@@ -629,7 +629,6 @@ module.exports = {
})
},
DELEGATECALL: function (gas, toAddress, inOffset, inLength, outOffset, outLength, runState, done) {
- console.log('CALL DELEGATECALL');
var stateMana... | added DELEGATECALL switchover at homestead | ethereumjs_ethereumjs-vm | train |
1d8931c79c93afa81db10409cdf024dc53409d49 | diff --git a/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php b/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php
index <HASH>..<HASH> 100644
--- a/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTest.php
+++ b/src/Symfony/Component/OptionsResolver/Tests/OptionsResolverTe... | Unit test for patched method OptionsResolver::validateOptionValues(). | symfony_symfony | train |
b17e5cac3ce053c87e25dfc7c653c7571f2717cb | diff --git a/teleport/main.go b/teleport/main.go
index <HASH>..<HASH> 100644
--- a/teleport/main.go
+++ b/teleport/main.go
@@ -40,7 +40,7 @@ func main() {
utils.NewNetAddrVal(
utils.NetAddr{
Network: "tcp",
- Addr: "localhost:33001",
+ Addr: "127.0.0.1:33001",
}, &cfg.SSH.Addr),
"sshAddr"... | remove error-prone localhost with the IP address | gravitational_teleport | train |
3717258ad7af81d6345dbb18419d12cac1d0a9b3 | diff --git a/bibliopixel/remote/control.py b/bibliopixel/remote/control.py
index <HASH>..<HASH> 100644
--- a/bibliopixel/remote/control.py
+++ b/bibliopixel/remote/control.py
@@ -22,6 +22,10 @@ DEFAULT_SERVER_CONFIG = {
'port': 5000
}
+BAD_DEFAULT_ERROR = """\
+`{}` is not a valid default!
+It must be one of th... | Inline yet another method on remote/control.py. | ManiacalLabs_BiblioPixel | train |
acec59c2bb00123fc00826f927071473231d4d99 | diff --git a/lib/mqtt/packet.rb b/lib/mqtt/packet.rb
index <HASH>..<HASH> 100644
--- a/lib/mqtt/packet.rb
+++ b/lib/mqtt/packet.rb
@@ -350,7 +350,11 @@ module MQTT
attr_accessor :protocol_name
# The version number of the protocol (defaults to 3)
- attr_accessor :protocol_version
+ attr_accesso... | Renamed protocol_version to protocol_level | njh_ruby-mqtt | train |
550dd8c4b6e9bc656b5bd3f94abea4a0c3ac5dfa | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,6 @@ install_deps = [
'click',
'monotonic',
'twisted',
- 'six',
]
diff --git a/sllurp/llrp.py b/sllurp/llrp.py
index <HASH>..<HASH> 100644
--- a/sllurp/llrp.py
+++ b/sllurp/llrp.py
@@ -10,11 +1... | Get ride of the "six" dependency that is almost not used. | ransford_sllurp | train |
f71134c086337bab127b062a570e79602ce04939 | diff --git a/classes/Kohana/Upload/File.php b/classes/Kohana/Upload/File.php
index <HASH>..<HASH> 100644
--- a/classes/Kohana/Upload/File.php
+++ b/classes/Kohana/Upload/File.php
@@ -186,7 +186,17 @@ class Kohana_Upload_File {
{
if ($filename !== NULL)
{
- $this->_filename = $filename;
+ if (is_array($filen... | Added support in Upload_File to set filename from array | OpenBuildings_jam | train |
86ba3e26e50c1be52c8d7e6f9d65171c8b29dd2b | diff --git a/spyderlib/config.py b/spyderlib/config.py
index <HASH>..<HASH> 100644
--- a/spyderlib/config.py
+++ b/spyderlib/config.py
@@ -216,6 +216,7 @@ DEFAULTS = [
'show_banner': True,
'use_gui_completion': True,
'use_pager': True,
+ 'show_calltips': Fals... | IPython Console: Add an option to show calltips on opening parenthesis
-. Set it by default to False because IPython calltips take way too much screen
real state.
-. Also change a bit the text and tip used by the pager option. | spyder-ide_spyder | train |
86e9f68a8046c320eee65e536564bd6afa7819c6 | diff --git a/lib/travis/model/build/config/dist.rb b/lib/travis/model/build/config/dist.rb
index <HASH>..<HASH> 100644
--- a/lib/travis/model/build/config/dist.rb
+++ b/lib/travis/model/build/config/dist.rb
@@ -30,7 +30,7 @@ class Build
return c unless config_hashy?(matrix)
matrix.fetch(:include... | Apply same `config_hashy?` test to matrix.include entries | travis-ci_travis-core | train |
187db6455003446da74507ab9c8fe069eba584c3 | diff --git a/lxd/storage/drivers/driver_cephobject_buckets.go b/lxd/storage/drivers/driver_cephobject_buckets.go
index <HASH>..<HASH> 100644
--- a/lxd/storage/drivers/driver_cephobject_buckets.go
+++ b/lxd/storage/drivers/driver_cephobject_buckets.go
@@ -72,10 +72,18 @@ func (d *cephobject) s3Client(creds S3Credentials... | lxd/storage/drivers/driver/cephobject/buckets: Create admin radosgw-admin user if missing in CreateBucket | lxc_lxd | train |
f521fcca978e0e297d92c4f63c62382341a33777 | diff --git a/command/e2etest/automation_test.go b/command/e2etest/automation_test.go
index <HASH>..<HASH> 100644
--- a/command/e2etest/automation_test.go
+++ b/command/e2etest/automation_test.go
@@ -108,7 +108,7 @@ func TestPlanApplyInAutomation(t *testing.T) {
stateResources := state.RootModule().Resources
var g... | cleanup error handling and some for loops | hashicorp_terraform | train |
ed7f1b5fa186bc3582b2dfed28521cfed2fba93e | diff --git a/DataSet/Admin/ShippingMethodDataSet.php b/DataSet/Admin/ShippingMethodDataSet.php
index <HASH>..<HASH> 100755
--- a/DataSet/Admin/ShippingMethodDataSet.php
+++ b/DataSet/Admin/ShippingMethodDataSet.php
@@ -12,6 +12,7 @@
namespace WellCommerce\Bundle\ShippingBundle\DataSet\Admin;
+use Doctrine\ORM\Quer... | Moved getDataSetQueryBuilder methods from repositories to datasets | WellCommerce_ShippingBundle | train |
8bc79038a503f3e370071c7052328b375de74708 | diff --git a/spec/group.spec.js b/spec/group.spec.js
index <HASH>..<HASH> 100644
--- a/spec/group.spec.js
+++ b/spec/group.spec.js
@@ -13,6 +13,8 @@ describe('group test', function() {
files.forEach(function(file) {
if (fs.statSync(helpers.makeFilePath(file)).isFile()) {
filesContents.push(fs.readFileSync(h... | Test for group.pass() was added | 2do2go_node-twostep | train |
917cdeb3bdbe3b6a83b66a390b9a15932cf7b7e5 | diff --git a/lib/identity_cache/configuration_dsl.rb b/lib/identity_cache/configuration_dsl.rb
index <HASH>..<HASH> 100644
--- a/lib/identity_cache/configuration_dsl.rb
+++ b/lib/identity_cache/configuration_dsl.rb
@@ -203,18 +203,18 @@ module IdentityCache
def build_denormalized_association_cache(association, o... | Add a fetch_associated_ids style ids fetcher for read through fetching of normalized ids | Shopify_identity_cache | train |
902c73cbb79e03ac91b681cab1774bef2d8a3f69 | diff --git a/mailheader.js b/mailheader.js
index <HASH>..<HASH> 100644
--- a/mailheader.js
+++ b/mailheader.js
@@ -98,7 +98,7 @@ class Header {
}
get_all (key) {
- return this.headers[key.toLowerCase()] || [];
+ return Object.freeze([...(this.headers[key.toLowerCase()] || [])]);
}
... | clone the header_list (#<I>)
* clone and freeze the returned header_list | haraka_Haraka | train |
601bc153f00298ba430e38a2018e12c7c55bc755 | diff --git a/Lib/fontbakery/specifications/googlefonts.py b/Lib/fontbakery/specifications/googlefonts.py
index <HASH>..<HASH> 100644
--- a/Lib/fontbakery/specifications/googlefonts.py
+++ b/Lib/fontbakery/specifications/googlefonts.py
@@ -3508,38 +3508,27 @@ def check_Filename_is_set_canonically(font_metadata, canonica... | fix test/<I> and update its self-test
I removed the requirement of having a "Italic" suffix on nameid-1 entries of italic font files (which I think was a wrong requirement, please correct me if I am mistaken).
(issue #<I>) | googlefonts_fontbakery | train |
01335b39002b1bdd84bd7f3a8e629c0dcde1de0c | diff --git a/smappy/smappy.py b/smappy/smappy.py
index <HASH>..<HASH> 100644
--- a/smappy/smappy.py
+++ b/smappy/smappy.py
@@ -10,8 +10,8 @@ __author__ = "EnergieID.be"
__license__ = "MIT"
URLS = {
- 'token': 'https://app1pub.smappee.net/dev/v1/oauth2/token',
- 'servicelocation': 'https://app1pub.smappee.net/... | Using smappee APIv2 instead of APIv1 which resolves #<I> | EnergieID_smappy | train |
ba40a4721f62af9fcce0a80e58899055a952ca22 | diff --git a/src/fractions.js b/src/fractions.js
index <HASH>..<HASH> 100644
--- a/src/fractions.js
+++ b/src/fractions.js
@@ -121,7 +121,10 @@ Fraction.prototype.print = function() {
if (this.numer == 0) {
return "0";
} else if (this.denom == 1) {
- return this.numer;
+ return this.num... | When denominator is 1 or -1, coerce numerator to string when printing | nicolewhite_algebra.js | train |
c9a56fedf854c59ff940f716c478a5ae7c68ad16 | diff --git a/drools-workbench-models/drools-workbench-models-commons/src/main/java/org/drools/workbench/models/commons/backend/rule/ActionCallMethodBuilder.java b/drools-workbench-models/drools-workbench-models-commons/src/main/java/org/drools/workbench/models/commons/backend/rule/ActionCallMethodBuilder.java
index <HA... | BZ<I>: Guided Editor breaks free form DRL which includes setter method with multi parameters | kiegroup_drools | train |
9984eed2503b149a90ff87635c7dd41607b956c2 | diff --git a/angularFire.js b/angularFire.js
index <HASH>..<HASH> 100644
--- a/angularFire.js
+++ b/angularFire.js
@@ -241,8 +241,8 @@ angular.module("firebase").factory("angularFireCollection", ["$timeout", functio
// Authentication support for AngularFire.
angular.module("firebase").factory("angularFireAuth", [
-... | Fix for issue #<I>
This should cause it to check the initial path so the authRequired attribute is counted even on the first path hit. | firebase_angularfire | train |
d0c9443e1e197f573df955ef36528b65073b26d1 | diff --git a/SailsRest.js b/SailsRest.js
index <HASH>..<HASH> 100644
--- a/SailsRest.js
+++ b/SailsRest.js
@@ -255,6 +255,7 @@ module.exports = (function() {
protocol: 'http',
hostname: 'localhost',
port: 80,
+ rejectUnauthorized: true,
pathname: '',
resource: null,
action... | Allow `rejectUnauthorized` restify flag to be set in config. | zohararad_sails-rest | train |
39e9e05b3284a5d289b8a702b32eb26b91745301 | diff --git a/Exscript/interpreter/expression.py b/Exscript/interpreter/expression.py
index <HASH>..<HASH> 100644
--- a/Exscript/interpreter/expression.py
+++ b/Exscript/interpreter/expression.py
@@ -216,7 +216,7 @@ class Expression(Token):
# Check if there is any child node that has a better priority.
... | fix: accidentally comitted a code change | knipknap_exscript | train |
7cd10f2d3261185b05050c11d01c87d504e4dedf | diff --git a/pcef/__init__.py b/pcef/__init__.py
index <HASH>..<HASH> 100644
--- a/pcef/__init__.py
+++ b/pcef/__init__.py
@@ -55,17 +55,18 @@ def openFileInEditor(editor, filename, encoding='utf8',
module_logger.info("File opened: {0}".format(filename))
-def saveFileFromEditor(editor, filename, encoding='utf8... | Save file in generic example need fix in the save function | pyQode_pyqode.core | train |
e2f0c28576887f91e256a550c28f4f8e74275880 | diff --git a/src/configure.js b/src/configure.js
index <HASH>..<HASH> 100644
--- a/src/configure.js
+++ b/src/configure.js
@@ -157,12 +157,14 @@ export class Configure {
if (!this.environmentEnabled()) {
return this.obj[key] ? this.obj[key] : defaultValue;
} else {
- ... | The check for namespaced values was broken so cascadeMode was not working | Vheissu_aurelia-configuration | train |
ec7e92269c0ffa6d700c246b8117e28b31976fd3 | diff --git a/src-modules/org/opencms/ade/containerpage/CmsContainerpageService.java b/src-modules/org/opencms/ade/containerpage/CmsContainerpageService.java
index <HASH>..<HASH> 100644
--- a/src-modules/org/opencms/ade/containerpage/CmsContainerpageService.java
+++ b/src-modules/org/opencms/ade/containerpage/CmsContain... | Improved sitemap uri handling. | alkacon_opencms-core | train |
f70a87e3c7fb16561ebe61c0106ee22a0a50c99d | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -17,8 +17,7 @@ function PDFImage(pdfFilePath, options) {
this.setConvertExtension(options.convertExtension);
this.useGM = options.graphicsMagick || false;
- // TODO: make out dir customizable
- this.outputDirectory =... | set output directory customisable
Output directory for images can be set with :
```
var pdfimage = new PDFImage('/tmp/file.pdf', {
outputDirectory: '/tmp/filepages/'
});
``` | mooz_node-pdf-image | train |
202fcf57466188c1354a97b6c2a17f63f68c4992 | diff --git a/src/primitives/glyphset.js b/src/primitives/glyphset.js
index <HASH>..<HASH> 100644
--- a/src/primitives/glyphset.js
+++ b/src/primitives/glyphset.js
@@ -486,7 +486,7 @@ const Glyphset = function() {
*/
this.getClosestVertexIndex = function() {
let closestIndex = -1;
- if (this.morph) {
+ ... | Correctly return bounding box for glyphset. | alan-wu_ZincJS | train |
ea4d8a2676179b91370d2a7dec38b7dc9c645bcb | diff --git a/fastlane/lib/fastlane/actions/docs/frame_screenshots.md b/fastlane/lib/fastlane/actions/docs/frame_screenshots.md
index <HASH>..<HASH> 100644
--- a/fastlane/lib/fastlane/actions/docs/frame_screenshots.md
+++ b/fastlane/lib/fastlane/actions/docs/frame_screenshots.md
@@ -303,6 +303,10 @@ Check out the [MindN... | [frameit] Add ability to resume frameit with --resume flag (#<I>)
* Add ability to resume frameit with --resume flag
* [frameit] Reduce complexity of `run` by extracting methods
* [frameit] document --resume flag | fastlane_fastlane | train |
a63b5a13abbd62e8ec9bb7cd104e2d34942d90b2 | diff --git a/meshio/vtk/_vtk.py b/meshio/vtk/_vtk.py
index <HASH>..<HASH> 100644
--- a/meshio/vtk/_vtk.py
+++ b/meshio/vtk/_vtk.py
@@ -390,7 +390,7 @@ def _read_cells(f, is_ascii, num_items):
if is_ascii:
c = numpy.fromfile(f, count=num_items, sep=" ", dtype=int)
else:
- c = numpy.fromfile(f, ... | undo changes in vtk reader | nschloe_meshio | train |
b0c29378d56fb272fff6e68c98cafe6336aa4127 | diff --git a/app/models/enju_biblio/ability.rb b/app/models/enju_biblio/ability.rb
index <HASH>..<HASH> 100644
--- a/app/models/enju_biblio/ability.rb
+++ b/app/models/enju_biblio/ability.rb
@@ -52,9 +52,7 @@ module EnjuBiblio
Language,
License,
MediumOfPerformance,
- AgentType... | removed RequestStatusType and RequestType entries from ability.rb | next-l_enju_biblio | train |
b3e8a3c7427bc3e576cca6dfb8fc67f3ebd145a1 | diff --git a/gwt-material/src/main/java/gwt/material/design/client/pwa/HasPwaFeature.java b/gwt-material/src/main/java/gwt/material/design/client/pwa/HasPwaFeature.java
index <HASH>..<HASH> 100644
--- a/gwt-material/src/main/java/gwt/material/design/client/pwa/HasPwaFeature.java
+++ b/gwt-material/src/main/java/gwt/mat... | Meta Theme Color - Requirement for Progressive Web app. (Initial Delivery) | GwtMaterialDesign_gwt-material | train |
546efd6daff5d37c1aa861f2d4158a3cccc98155 | diff --git a/src/Client/Commands/ActionsCommand.php b/src/Client/Commands/ActionsCommand.php
index <HASH>..<HASH> 100644
--- a/src/Client/Commands/ActionsCommand.php
+++ b/src/Client/Commands/ActionsCommand.php
@@ -26,7 +26,7 @@ class ActionsCommand extends Command
*
* @var string
*/
- protected $uri = '/api/a... | changed api url (endpoint) | Double-Opt-in_php-client-api | train |
9cbad485080affc6d94126f55fdfdabf996262e7 | diff --git a/internal/common/types.go b/internal/common/types.go
index <HASH>..<HASH> 100644
--- a/internal/common/types.go
+++ b/internal/common/types.go
@@ -8,6 +8,7 @@ import (
type Type interface {
Kind() string
+ String() string
}
type List struct {
@@ -26,6 +27,10 @@ func (*List) Kind() string { retu... | allow Unmarshaler for all types, not just scalars | graph-gophers_graphql-go | train |
c4ff1e598b101d298912af3ff57cb51360e368d3 | diff --git a/src/main/java/org/xbill/DNS/Name.java b/src/main/java/org/xbill/DNS/Name.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/xbill/DNS/Name.java
+++ b/src/main/java/org/xbill/DNS/Name.java
@@ -448,8 +448,9 @@ public class Name implements Comparable<Name>, Serializable {
labels = src.labels - n;... | Fix wrong offsets in label removel Name constructor | dnsjava_dnsjava | train |
4bae6f67ce9b7d89d7eb0b714b6015871196974c | diff --git a/events.py b/events.py
index <HASH>..<HASH> 100644
--- a/events.py
+++ b/events.py
@@ -132,6 +132,108 @@ class Bugzilla(Events):
return events
+class BugzillaRest(Events):
+ """ Class used to eventize Bugzilla Rest items
+
+ This splits each item information based on a pre-existing mappin... | Add BugzillaRest support to eventize a JSON document | chaoss_grimoirelab-cereslib | train |
59c51a93fb430085e7dc5c12e55f2999ffe63020 | diff --git a/test/test_helpers.rb b/test/test_helpers.rb
index <HASH>..<HASH> 100644
--- a/test/test_helpers.rb
+++ b/test/test_helpers.rb
@@ -1,5 +1,27 @@
require_relative 'test_helper'
+class Foo; end
+class BasicObjectSubclass < BasicObject ; end
+class NilReportingClass
+ def class
+ # return nil when asked ... | Move Mock classes into test_helper
Allows them to be accessed from other test files and removed the need
for the namespacing. | SamSaffron_memory_profiler | train |
d81e1f62169b5b7a8f69534b585b300310cbbb9d | diff --git a/library/src/test/java/com/github/pwittchen/swipe/library/SwipeTest.java b/library/src/test/java/com/github/pwittchen/swipe/library/SwipeTest.java
index <HASH>..<HASH> 100644
--- a/library/src/test/java/com/github/pwittchen/swipe/library/SwipeTest.java
+++ b/library/src/test/java/com/github/pwittchen/swipe/... | removing redundant imports from the same package | pwittchen_swipe | train |
979f5356d36143332fc8d1500ac3c9d3a7366e4f | diff --git a/infoschema/cache.go b/infoschema/cache.go
index <HASH>..<HASH> 100644
--- a/infoschema/cache.go
+++ b/infoschema/cache.go
@@ -20,6 +20,16 @@ import (
"github.com/pingcap/tidb/metrics"
)
+var (
+ getLatestCounter = metrics.InfoCacheCounters.WithLabelValues("get", "latest")
+ getTSCounter = metric... | infoschema: improve performance (#<I>) | pingcap_tidb | train |
d679ca47b77c9bf6553cca28ee3759d46a78e321 | diff --git a/DebugPanel.php b/DebugPanel.php
index <HASH>..<HASH> 100644
--- a/DebugPanel.php
+++ b/DebugPanel.php
@@ -56,9 +56,9 @@ class DebugPanel extends Panel
$queryTime = number_format($queryTime * 1000) . ' ms';
$url = $this->getUrl();
$output = <<<EOD
-<div class="yii-debug-toolbar-bl... | updated debug panel classes to be consistent with yii <I> | yiisoft_yii2-elasticsearch | train |
04cf3cdfa0fead2235057ee788e6b90ce970c55f | diff --git a/py/path/local/local.py b/py/path/local/local.py
index <HASH>..<HASH> 100644
--- a/py/path/local/local.py
+++ b/py/path/local/local.py
@@ -608,11 +608,19 @@ class LocalPath(common.FSPathBase, PlatformMixin):
# put a .lock file in the new directory that will be removed at
# process exit
... | [svn r<I>] make_numbered_dir(): in a fork() situation, only the last process should remove
the .lock, otherwise the other processes run the risk of seeing their temporary
dir disappear. For now we remove the .lock in the parent only (i.e. we assume
that the children finish before the parent).
This is needed for long-... | pytest-dev_pytest | train |
c0177536490d6a642fb85bedb1cddd24726da638 | diff --git a/lib/transforms/cloneForEachLocale.js b/lib/transforms/cloneForEachLocale.js
index <HASH>..<HASH> 100644
--- a/lib/transforms/cloneForEachLocale.js
+++ b/lib/transforms/cloneForEachLocale.js
@@ -45,15 +45,14 @@ module.exports = function (queryObj, localeIds) {
document.documentEleme... | transforms.cloneForEachLocale: Fixed bug that caused the HTMLScript relations to be in a wrong order when some of the target assets had to be cloned. | assetgraph_assetgraph | train |
21c77a6f488f417065e7004392518e57b2377fd0 | diff --git a/lib/page/controller/page.summary/page.summary.controller.js b/lib/page/controller/page.summary/page.summary.controller.js
index <HASH>..<HASH> 100644
--- a/lib/page/controller/page.summary/page.summary.controller.js
+++ b/lib/page/controller/page.summary/page.summary.controller.js
@@ -279,7 +279,7 @@ Summa... | Make the from '<EMAIL>' for now | ministryofjustice_fb-runner-node | train |
d2633ba6c1537fe5c29bd102f2d3e62b3dc50950 | diff --git a/messages/email.py b/messages/email.py
index <HASH>..<HASH> 100644
--- a/messages/email.py
+++ b/messages/email.py
@@ -20,10 +20,10 @@ class Email:
server_name: str, i.e. 'smtp.gmail.com'
server_port: int, i.e. 465
password: str
- From: str, i.e. 'me@here.com'
- To: ... | updates docstrings to more accurately reflect argument names | trp07_messages | train |
6d69dcaa37953b409a309916584ca586f38b0cf6 | diff --git a/micrometer-core/src/main/java/io/micrometer/core/annotation/Incubating.java b/micrometer-core/src/main/java/io/micrometer/core/annotation/Incubating.java
index <HASH>..<HASH> 100644
--- a/micrometer-core/src/main/java/io/micrometer/core/annotation/Incubating.java
+++ b/micrometer-core/src/main/java/io/micr... | Add @Documented to @Incubating (#<I>) | micrometer-metrics_micrometer | train |
4c5218c7d3f45fd0728a42f27a5cee3ed63b17ea | diff --git a/lfs/gitscanner_index.go b/lfs/gitscanner_index.go
index <HASH>..<HASH> 100644
--- a/lfs/gitscanner_index.go
+++ b/lfs/gitscanner_index.go
@@ -4,9 +4,6 @@ import (
"bufio"
"strings"
"sync"
- "time"
-
- "github.com/rubyist/tracerx"
)
// ScanIndex returns a slice of WrappedPointer objects for all Gi... | remove the extra performance tracing, since gitscanner handles it | git-lfs_git-lfs | train |
2d0a548641e29752c9c1b314f462cf06b74ed475 | diff --git a/src/Install/Application.php b/src/Install/Application.php
index <HASH>..<HASH> 100644
--- a/src/Install/Application.php
+++ b/src/Install/Application.php
@@ -22,7 +22,8 @@ class Application extends \BFW\Application
$this->coreSystemList['request'],
$this->coreSystemList['session']... | Install\Application : Remove AppSystem ctrlRouterLink
Not need to run router and controllers modules during install step. Especially that modules is not runned during install step, so really no need of this AppSystem. | bfw-systems_bfw | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.