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 |
|---|---|---|---|---|---|
c66fc516fe4ccf0eb7109b888791b68ec02bfb6d | diff --git a/modules/springserveBidAdapter.js b/modules/springserveBidAdapter.js
index <HASH>..<HASH> 100644
--- a/modules/springserveBidAdapter.js
+++ b/modules/springserveBidAdapter.js
@@ -111,6 +111,6 @@ SpringServeAdapter = function SpringServeAdapter() {
};
};
-adaptermanager.registerBidAdapter(new SpringSer... | Fix #<I> spring server typo (#<I>) | prebid_Prebid.js | train | js |
f1c8460d96d5e5d34ce102e640d8ac640b872450 | diff --git a/lib/edn/parser.rb b/lib/edn/parser.rb
index <HASH>..<HASH> 100644
--- a/lib/edn/parser.rb
+++ b/lib/edn/parser.rb
@@ -98,7 +98,7 @@ module EDN
rule(:integer) {
(match['\-\+'].maybe >>
(str('0') | match('[1-9]') >> digit.repeat)).as(:integer) >>
- str('N').maybe.as(:precision)
+ ... | Very large numbers are adding an M (which is ok), but the parse wouldn't handle integers with M precision | relevance_edn-ruby | train | rb,rb |
63256192d7c5a1bbe00807afbed93d9c14ddcd0a | diff --git a/p2p/host/basic/basic_host_test.go b/p2p/host/basic/basic_host_test.go
index <HASH>..<HASH> 100644
--- a/p2p/host/basic/basic_host_test.go
+++ b/p2p/host/basic/basic_host_test.go
@@ -83,7 +83,7 @@ func TestHostAddrsFactory(t *testing.T) {
if len(addrs) != 1 {
t.Fatalf("expected 1 addr, got %d", len(add... | fix buggy addr equal in test | libp2p_go-libp2p | train | go |
c26de3a7f3ac953c16e1ed6f14783f2917ab9529 | diff --git a/docs/site/src/routes/examples/barCharts/statesByAge/example/components/Bar.js b/docs/site/src/routes/examples/barCharts/statesByAge/example/components/Bar.js
index <HASH>..<HASH> 100644
--- a/docs/site/src/routes/examples/barCharts/statesByAge/example/components/Bar.js
+++ b/docs/site/src/routes/examples/b... | bump up opacity on bars | sghall_resonance | train | js |
cc878cd7d2e2a31084c4d2245d08dc255fdd2352 | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -138,10 +138,12 @@ test("Hex Parsing", function() {
equal (tinycolor("rgb 255 0 0").toHexString(), "#ff0000");
equal (tinycolor("rgb 255 0 0").toHexString(true), "#f00");
+ equal (tinycolor("rgba 255 0 0 ... | Added checks for toHex8String and toHex8 methods to the 'Hex Parsing' test | bgrins_TinyColor | train | js |
d9d8acf3311590f31197893427c6a24c5fe485ba | diff --git a/common/src/main/java/io/netty/util/internal/DetectionUtil.java b/common/src/main/java/io/netty/util/internal/DetectionUtil.java
index <HASH>..<HASH> 100644
--- a/common/src/main/java/io/netty/util/internal/DetectionUtil.java
+++ b/common/src/main/java/io/netty/util/internal/DetectionUtil.java
@@ -20,6 +20,... | Fix NPE which accours when Netty was used in an Applet. See #<I> | netty_netty | train | java |
ad55b28550474aed5634faa6a0b8f03251794b7c | diff --git a/src/Graby.php b/src/Graby.php
index <HASH>..<HASH> 100644
--- a/src/Graby.php
+++ b/src/Graby.php
@@ -535,7 +535,7 @@ class Graby
if ($mimeInfo['mime'] == 'application/pdf') {
$parser = new PdfParser();
- $pdf = $parser->parseFile($effectiveUrl);
+... | Use parseContent method for parsing PDFs
Since the response body is available, there is no need to re-fetch the resource again. Additionally, the PDF parser [does not handle errors when fetching
files](<URL>), so this also improves error handling. | j0k3r_graby | train | php |
58b8ec542cc6346036ea08ce79f486e9740e91b0 | diff --git a/celery_progress/websockets/backend.py b/celery_progress/websockets/backend.py
index <HASH>..<HASH> 100644
--- a/celery_progress/websockets/backend.py
+++ b/celery_progress/websockets/backend.py
@@ -1,3 +1,5 @@
+import logging
+
from celery_progress.backend import ProgressRecorder
try:
@@ -8,16 +10,21 @... | Add back websocket progress bar notification as logging warning | czue_celery-progress | train | py |
e722ecf3fde04710e3b64eb549e0f3b63bbce3f3 | diff --git a/modules/social_features/social_topic/src/Controller/SocialTopicController.php b/modules/social_features/social_topic/src/Controller/SocialTopicController.php
index <HASH>..<HASH> 100644
--- a/modules/social_features/social_topic/src/Controller/SocialTopicController.php
+++ b/modules/social_features/social_... | DS-<I> by jaapjan: Newest topics should be the title. | goalgorilla_open_social | train | php |
10e7806984947304767690785b6fb329fd93283a | diff --git a/daemon/daemon_unix.go b/daemon/daemon_unix.go
index <HASH>..<HASH> 100644
--- a/daemon/daemon_unix.go
+++ b/daemon/daemon_unix.go
@@ -341,6 +341,9 @@ func (daemon *Daemon) networkOptions(dconfig *Config) ([]nwconfig.Option, error)
options = append(options, nwconfig.OptionKVProvider(kv[0]))
options = ... | Wire up libnetwork with TLS discovery options
This change exposes the TLS configuration settings to libnetwork so it can
communicate with a key/value store that has been set up with mutual TLS.
TLS options were introduced with <URL> | moby_moby | train | go |
616757b8d7d6a23fba6dab24a9366a59f5738d3c | diff --git a/src/mako/cli/output/helpers/ProgressBar.php b/src/mako/cli/output/helpers/ProgressBar.php
index <HASH>..<HASH> 100644
--- a/src/mako/cli/output/helpers/ProgressBar.php
+++ b/src/mako/cli/output/helpers/ProgressBar.php
@@ -138,6 +138,13 @@ class ProgressBar
public function draw()
{
+ // Don't draw pr... | Prevents error if there are 0 items | mako-framework_framework | train | php |
76cd7b048133989a6fb9777de53e2420af867df1 | diff --git a/superset/dashboards/api.py b/superset/dashboards/api.py
index <HASH>..<HASH> 100644
--- a/superset/dashboards/api.py
+++ b/superset/dashboards/api.py
@@ -722,9 +722,9 @@ class DashboardRestApi(BaseSupersetModelRestApi):
$ref: '#/components/responses/500'
"""
requested_ids =... | fix: Dashboad export loading indicator (#<I>) | apache_incubator-superset | train | py |
9cfad1d0afb6c136793c815390fd4475bd4b067a | diff --git a/tests/integration/test.replication.js b/tests/integration/test.replication.js
index <HASH>..<HASH> 100644
--- a/tests/integration/test.replication.js
+++ b/tests/integration/test.replication.js
@@ -4263,6 +4263,25 @@ adapters.forEach(function (adapters) {
});
});
+ it('#6809 doc_ids dont p... | (#<I>) - Add test to ensure doc_ids dont prevent one-shot replication | pouchdb_pouchdb | train | js |
6a73469ff903767a09720a61ba08a9ee21a59d9b | diff --git a/util/src/test/java/com/ning/billing/util/clock/ClockMock.java b/util/src/test/java/com/ning/billing/util/clock/ClockMock.java
index <HASH>..<HASH> 100644
--- a/util/src/test/java/com/ning/billing/util/clock/ClockMock.java
+++ b/util/src/test/java/com/ning/billing/util/clock/ClockMock.java
@@ -81,7 +81,7 @@... | util: fix ClockMock
setDeltaFromReality is confusing, it's really addDeltaFromReality.
This fixes a few server tests. | killbill_killbill | train | java |
0cbf942807520061aff1dd04ba2c152a02c8ac32 | diff --git a/cookiecutter/cli.py b/cookiecutter/cli.py
index <HASH>..<HASH> 100755
--- a/cookiecutter/cli.py
+++ b/cookiecutter/cli.py
@@ -75,6 +75,13 @@ def main(template, no_input, checkout, verbose, replay, overwrite_if_exists,
)
try:
+
+ # If you _need_ to support a local template in a direct... | Support "cookiecutter help" | audreyr_cookiecutter | train | py |
d468e7feefdfa03c4bc459a8e9195834446e4474 | diff --git a/aikif/lib/cls_context.py b/aikif/lib/cls_context.py
index <HASH>..<HASH> 100644
--- a/aikif/lib/cls_context.py
+++ b/aikif/lib/cls_context.py
@@ -6,7 +6,7 @@ import os
# Change User Settings below (currently hard coded)
hosts = [
dict(type='Work PC', name='xxxxxxxxx'),
- dict(type='Home PC', name... | cls_context fix for non dev PC's to return dict instead of nonetype [fix for python <I>] | acutesoftware_AIKIF | train | py |
ae46b35c99c06e6c2a63bf553a6af94c428ad249 | diff --git a/src/theme/base.js b/src/theme/base.js
index <HASH>..<HASH> 100644
--- a/src/theme/base.js
+++ b/src/theme/base.js
@@ -150,7 +150,6 @@ export default {
outline: {
textColor: '#262626',
loaderColor: '#315efb',
- iconColor: undefined,
disabledTextColor: 'rgba(38, 38, 3... | Remove extraneous theme props | rambler-digital-solutions_rambler-ui | train | js |
b20574e1c5c2c7fccc5aa50ed2c1181dc6a1d05b | diff --git a/bin/utils/logger.js b/bin/utils/logger.js
index <HASH>..<HASH> 100644
--- a/bin/utils/logger.js
+++ b/bin/utils/logger.js
@@ -25,7 +25,7 @@ module.exports.json = json => console.log(prettyjson.render(json));
module.exports.error = (str, err) => {
console.log(clc.red(str));
- console.log(clc.red(err.... | Minor fix to avoid to print empty strings. | jesusprubio_bluebox-ng | train | js |
f23852207f9920da4a05e9dc65b5de318700a780 | diff --git a/tests/integration/files/file/base/_grains/matcher_grain.py b/tests/integration/files/file/base/_grains/matcher_grain.py
index <HASH>..<HASH> 100644
--- a/tests/integration/files/file/base/_grains/matcher_grain.py
+++ b/tests/integration/files/file/base/_grains/matcher_grain.py
@@ -3,5 +3,5 @@
def myfunc... | Fix matcher grain file
This was inadvertently changed in th filename_map backport.
This commit restores the matcher grain file to match all branches previous
to the inadvertent change. | saltstack_salt | train | py |
5dc1b166c960a068e4b272d828d70ed3d03a320f | diff --git a/src/geshi/cfm.php b/src/geshi/cfm.php
index <HASH>..<HASH> 100644
--- a/src/geshi/cfm.php
+++ b/src/geshi/cfm.php
@@ -318,7 +318,7 @@ $language_data = array (
'#' => '#'
),
2 => array(
- '<cfscript>' => '</cfscript>;'
+ '<cfscript>' => '</cfscript>'... | fix: cfscript does not need to be closed by '</cfscript>;' | GeSHi_geshi-1.0 | train | php |
2b4177bf2613f7815e0b347339ee4bc365054099 | diff --git a/fx/film.go b/fx/film.go
index <HASH>..<HASH> 100644
--- a/fx/film.go
+++ b/fx/film.go
@@ -99,6 +99,7 @@ func NewFilm(nIntensity, sIntensity, sCount float32, grayscale bool) *Film {
film.nIntensity = nIntensity
film.sIntensity = sIntensity
film.sCount = sCount
+ film.time = 1000
if grayscale {
fi... | Start film time higher than 0 to avoid artefacts from using sine and cosine in shader | EngoEngine_engo | train | go |
f8f6615887341ba353cf861f28ff124cf1f506ec | diff --git a/tests/Monolog/Handler/CouchDBHandlerTest.php b/tests/Monolog/Handler/CouchDBHandlerTest.php
index <HASH>..<HASH> 100644
--- a/tests/Monolog/Handler/CouchDBHandlerTest.php
+++ b/tests/Monolog/Handler/CouchDBHandlerTest.php
@@ -20,16 +20,6 @@ class CouchDBHandlerTest extends TestCase
{
$record ... | Remopve dead varialble
This makes it more obvious that this test is not actually doing much | Seldaek_monolog | train | php |
d328fe4ea5006866a182f720e5f8de364b4b0269 | diff --git a/lib/renderer.js b/lib/renderer.js
index <HASH>..<HASH> 100644
--- a/lib/renderer.js
+++ b/lib/renderer.js
@@ -115,29 +115,22 @@ marked.setOptions({
});
module.exports = function(data, options) {
- const siteCfg = Object.assign({}, {
- config: {
- url: this.config.url,
- root: this.config.... | fix(postAsset): utilise PostAsset model to target existed post's assets | hexojs_hexo-renderer-marked | train | js |
4fa7ee7876621322c0b9893061db47e2cc4aa8b2 | diff --git a/Utilities/ArrayContainFunctions.php b/Utilities/ArrayContainFunctions.php
index <HASH>..<HASH> 100644
--- a/Utilities/ArrayContainFunctions.php
+++ b/Utilities/ArrayContainFunctions.php
@@ -54,12 +54,12 @@ class ArrayContainFunctions
};
}
- protected static function bothEquals($var1, $va... | Fixed php <I> compatibility. | letsdrink_ouzo-goodies | train | php |
f070b989cf06bd54f14a6a58781bb6ca4c0c02a1 | diff --git a/web/concrete/single_pages/login.php b/web/concrete/single_pages/login.php
index <HASH>..<HASH> 100644
--- a/web/concrete/single_pages/login.php
+++ b/web/concrete/single_pages/login.php
@@ -48,12 +48,6 @@ $attribute_mode = (isset($required_attributes) && count($required_attributes));
... | Remove authentication type title in mobile view when there's only one active.
Former-commit-id: <I>d1d<I>b<I>b4fb<I>f5dddc<I>aee6b | concrete5_concrete5 | train | php |
8e82c10c05e0e2c36554de394d979a32ed0ae924 | diff --git a/sos/plugins/pacemaker.py b/sos/plugins/pacemaker.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/pacemaker.py
+++ b/sos/plugins/pacemaker.py
@@ -64,7 +64,8 @@ class Pacemaker(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
self._log_warn("scrubbing of crm passwords has been disabled:")
... | [pacemaker] Call crm_report with --sos-mode option
crm_report should be called with --sos-mode option for preffered
collection of log files.
Closes: #<I>, #<I>. | sosreport_sos | train | py |
7c6c520836723067ce402e8b27c24d20bc1dc671 | diff --git a/typet/meta.py b/typet/meta.py
index <HASH>..<HASH> 100644
--- a/typet/meta.py
+++ b/typet/meta.py
@@ -58,7 +58,11 @@ def metaclass(*metaclasses):
class Singleton(type):
- """A metaclass to turn a class into a singleton."""
+ """A metaclass to turn a class into a singleton.
+
+ If the instance... | Singleton will now attempt to call __singleton__ to update the instance. | contains-io_typet | train | py |
edfa5345c2ea879c4e30924440d6f7fd7f9ea58e | diff --git a/src/adapter.js b/src/adapter.js
index <HASH>..<HASH> 100644
--- a/src/adapter.js
+++ b/src/adapter.js
@@ -80,7 +80,7 @@ var createMochaReporterConstructor = function(tc) {
var createMochaStartFn = function(mocha) {
return function(config) {
- if(config.grep){
+ if(config && config.grep){
... | fix: config does not have to be defined
This is a fix for bug introduced in 9bdcae<I>f<I>cdcee<I>ed0fb<I>dd<I>c9ce<I>ed | karma-runner_karma-mocha | train | js |
c55a715c5d0b970b120e1a34fbeab9e1eccfe8d4 | diff --git a/picoweb/__init__.py b/picoweb/__init__.py
index <HASH>..<HASH> 100644
--- a/picoweb/__init__.py
+++ b/picoweb/__init__.py
@@ -40,6 +40,10 @@ class HTTPRequest:
form = parse_qs(data.decode())
self.form = form
+ def parse_qs(self):
+ form = parse_qs(self.qs)
+ self.form =... | Handle request query string. Requires req.parse_qs() to prepare for access. | pfalcon_picoweb | train | py |
588cddedb739b4c5cea817733d703c42287f15b6 | diff --git a/livetests.py b/livetests.py
index <HASH>..<HASH> 100755
--- a/livetests.py
+++ b/livetests.py
@@ -52,7 +52,7 @@ def _initialize(api):
@pytest.fixture(
- scope="module", params=["2.14.20", "2.15.18", "2.16.17", "3.0.8", "3.1.3"]
+ scope="module", params=["2.14.20", "2.15.18", "2.16.17", "3.0.8", ... | Run livetests against <I>
Change-Id: I<I>ca<I>b2d0aba4aea<I>e<I>f<I>cf<I> | dpursehouse_pygerrit2 | train | py |
27448376c4dc82604ebed0fd768feef85ce56219 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -52,6 +52,7 @@ setup(
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
+ "Framework :: Django :: 4.0",
"Programming Language :: Python",
... | added django <I> to setup | samastur_Impostor | train | py |
3b6887b7a0363a503a2ddffb060f91928af5a426 | diff --git a/holoviews/core/traversal.py b/holoviews/core/traversal.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/traversal.py
+++ b/holoviews/core/traversal.py
@@ -23,8 +23,9 @@ def uniform(obj):
dim_groups = obj.traverse(lambda x: tuple(x.key_dimensions),
('HoloMap',))
i... | uniform and unique_dimkeys utils now work with Dimension strings | pyviz_holoviews | train | py |
b3db1053b51fb02114403cb95f1341d03724af0a | diff --git a/src/featureFlags.js b/src/featureFlags.js
index <HASH>..<HASH> 100644
--- a/src/featureFlags.js
+++ b/src/featureFlags.js
@@ -58,17 +58,6 @@ export function issueFlagNotices(config) {
return
}
- if (futureFlagsEnabled(config).length > 0) {
- const changes = futureFlagsEnabled(config)
- .... | Don't log anything for people who have opted in to future features | tailwindcss_tailwindcss | train | js |
555a590647a83406150922b6482234efe69345bb | diff --git a/src/support/middleware/contextHelpers.js b/src/support/middleware/contextHelpers.js
index <HASH>..<HASH> 100644
--- a/src/support/middleware/contextHelpers.js
+++ b/src/support/middleware/contextHelpers.js
@@ -74,6 +74,8 @@ const processAlertMessage = exports.processAlertMessage = function(ctx) {
// s... | let us know when alert message is set | waigo_waigo | train | js |
cd82fb7e67c9c775d29fa9b9fe8de44fa37758d7 | diff --git a/javascript/libjoynr-js/src/main/js/joynr/dispatching/RequestReplyManager.js b/javascript/libjoynr-js/src/main/js/joynr/dispatching/RequestReplyManager.js
index <HASH>..<HASH> 100644
--- a/javascript/libjoynr-js/src/main/js/joynr/dispatching/RequestReplyManager.js
+++ b/javascript/libjoynr-js/src/main/js/jo... | [JS] Remove phantoms specific hack from RequestReplyManager
not needed anymore.
Change-Id: Iced7e<I>e<I>b<I>a<I>f<I>e9bd<I>ae2 | bmwcarit_joynr | train | js |
7fc00906b30cdc3b0991bffe38ac880cc2336242 | diff --git a/ontrack-ui/src/main/java/net/nemerosa/ontrack/boot/resources/BuildResourceDecorator.java b/ontrack-ui/src/main/java/net/nemerosa/ontrack/boot/resources/BuildResourceDecorator.java
index <HASH>..<HASH> 100644
--- a/ontrack-ui/src/main/java/net/nemerosa/ontrack/boot/resources/BuildResourceDecorator.java
+++ ... | #<I> Build link form only if `BuildForm` is granted | nemerosa_ontrack | train | java |
fcb65410784cabd3d8bf9aed9dc38b1f51d7b8f3 | diff --git a/grip/github_renderer.py b/grip/github_renderer.py
index <HASH>..<HASH> 100644
--- a/grip/github_renderer.py
+++ b/grip/github_renderer.py
@@ -1,4 +1,4 @@
-from flask import json
+from flask import abort, json
import requests
@@ -15,5 +15,15 @@ def render_content(text, gfm=False, context=None, username... | Relay HTTP errors.
This will display any errors to the user instead of an exception.
One known case is the rate limit. This relays that message. | joeyespo_grip | train | py |
141b5c6108c68776a1857999678451a94753874d | diff --git a/lib/how_is/chart.rb b/lib/how_is/chart.rb
index <HASH>..<HASH> 100644
--- a/lib/how_is/chart.rb
+++ b/lib/how_is/chart.rb
@@ -4,6 +4,7 @@ class HowIs::Chart
end
def self.rotate(offset, filename)
+ return unless on_windows?
ps_rotate_flip = {
90 => 'Rotate90FlipNone',
180 => '... | Chart: try nothing unless on Windows | duckinator_inq | train | rb |
6a2f9870a7e7dfea187ff88ed2d4f991d11f723f | diff --git a/src/Composer/Command/InitCommand.php b/src/Composer/Command/InitCommand.php
index <HASH>..<HASH> 100644
--- a/src/Composer/Command/InitCommand.php
+++ b/src/Composer/Command/InitCommand.php
@@ -129,6 +129,12 @@ EOT
return 1;
}
+ } else {
+ if (json_encode($... | Warn when init is being used non-interactively without any args passed in, instead of silently overwriting the file | composer_composer | train | php |
10e4f5188101de7f6a14c48950959d59317d73ea | diff --git a/system_tests/bigquery.py b/system_tests/bigquery.py
index <HASH>..<HASH> 100644
--- a/system_tests/bigquery.py
+++ b/system_tests/bigquery.py
@@ -29,11 +29,17 @@ from system_test_utils import unique_resource_id
DATASET_NAME = 'system_tests' + unique_resource_id()
+
+def _rate_limit_exceeded(forbidden)... | Add error predicate to 'retry_<I>'.
Exclude Forbidden exceptions which do not have 'rateLimitExceed' as the
reason for one of their errors.
Addresses:
<URL> | googleapis_google-cloud-python | train | py |
7012b88fe5636c56499fc3e8347d45e9fdf33975 | diff --git a/pusherclient/__init__.py b/pusherclient/__init__.py
index <HASH>..<HASH> 100755
--- a/pusherclient/__init__.py
+++ b/pusherclient/__init__.py
@@ -1,11 +1,15 @@
from channel import Channel
from connection import Connection
import hashlib
-import thread
import hmac
import logging
try:
+ import thr... | Thread module is obsolete in Python 3, should use _thread | ekulyk_PythonPusherClient | train | py |
ed313e0939ad47c7f5099a2f7d454a6a5cf154d9 | diff --git a/Entity/Order.php b/Entity/Order.php
index <HASH>..<HASH> 100644
--- a/Entity/Order.php
+++ b/Entity/Order.php
@@ -133,6 +133,13 @@ class Order
*/
protected $variable_hub_fee = 0;
+ /**
+ * The actual hub fee charged on an Order
+ *
+ * @ORM\Column(type="decimal", scale="2")
+ ... | Added Order::hub_fee property | harvestcloud_CoreBundle | train | php |
fad7cc54460d28563ee98d66cda97826fb0df96c | diff --git a/lib/train/platforms/platform.rb b/lib/train/platforms/platform.rb
index <HASH>..<HASH> 100644
--- a/lib/train/platforms/platform.rb
+++ b/lib/train/platforms/platform.rb
@@ -89,9 +89,11 @@ module Train::Platforms
# Add in family methods
family_list = Train::Platforms.families
family_li... | Simple refactoring.
We really like String#+ and really shouldn't use it. Nor should we
repeat ourselves over and over. | inspec_train | train | rb |
3b839d376999880e249adc364bce4feda4ec86cb | diff --git a/src/java/org/json/JSONArray.java b/src/java/org/json/JSONArray.java
index <HASH>..<HASH> 100644
--- a/src/java/org/json/JSONArray.java
+++ b/src/java/org/json/JSONArray.java
@@ -80,20 +80,20 @@ import java.util.Map;
* @author JSON.org
* @version 2009-04-14
*/
-@SuppressWarnings("unchecked")
+@Suppres... | Ignoring Eclipse warnings in JSON packages (not our code). | michaelquigley_zabbixj | train | java,java |
c33d4b748a9e3c2ec8ec6f4eff0f04f4c1030788 | diff --git a/php/class-template-hierarchy.php b/php/class-template-hierarchy.php
index <HASH>..<HASH> 100644
--- a/php/class-template-hierarchy.php
+++ b/php/class-template-hierarchy.php
@@ -6,7 +6,9 @@ namespace Rarst\Meadow;
*/
class Template_Hierarchy {
+ /** @var string[] $template_types Template type names to... | Added support for embed template in hierarchy. | Rarst_meadow | train | php |
1f3d5255bbeb08eef454fb61c1ac11f69ef1b59a | diff --git a/system/Debug/Toolbar/Collectors/Database.php b/system/Debug/Toolbar/Collectors/Database.php
index <HASH>..<HASH> 100644
--- a/system/Debug/Toolbar/Collectors/Database.php
+++ b/system/Debug/Toolbar/Collectors/Database.php
@@ -85,11 +85,19 @@ class Database extends BaseCollector
if (count(static::$... | Remove first two arrays in trace when called in browser | codeigniter4_CodeIgniter4 | train | php |
6ef3bbc14dae124fa9f28612d3b9350ad9a21b95 | diff --git a/lib/jekyll-index-pages.rb b/lib/jekyll-index-pages.rb
index <HASH>..<HASH> 100644
--- a/lib/jekyll-index-pages.rb
+++ b/lib/jekyll-index-pages.rb
@@ -15,8 +15,11 @@ require "jekyll-index-pages/tags/tag-url"
Jekyll::Hooks.register :site, :after_init do |site|
if I18n.backend.send(:translations).empty?
... | Setting locale in :posts, :post_init hook | rukbotto_jekyll-index-pages | train | rb |
c897dc0744627452d0cbceea5ff6c65e48e1325e | diff --git a/src/main/java/org/osgl/mvc/result/Result.java b/src/main/java/org/osgl/mvc/result/Result.java
index <HASH>..<HASH> 100755
--- a/src/main/java/org/osgl/mvc/result/Result.java
+++ b/src/main/java/org/osgl/mvc/result/Result.java
@@ -58,14 +58,7 @@ public class Result extends FastRuntimeException {
};
... | fix issue: payload always set to the first instance | osglworks_java-mvc | train | java |
1e6be2c2eba6a9db78152846884cc577acc551cc | diff --git a/knowledge-api/src/main/java/org/drools/definition/type/FactField.java b/knowledge-api/src/main/java/org/drools/definition/type/FactField.java
index <HASH>..<HASH> 100644
--- a/knowledge-api/src/main/java/org/drools/definition/type/FactField.java
+++ b/knowledge-api/src/main/java/org/drools/definition/type/... | JBRULES <I> - Support "extends" feature in declared beans | kiegroup_drools | train | java |
bcd18c9f00709e8f127015bfa182d49bb71c0161 | diff --git a/src/base/trafficGraph.js b/src/base/trafficGraph.js
index <HASH>..<HASH> 100644
--- a/src/base/trafficGraph.js
+++ b/src/base/trafficGraph.js
@@ -252,7 +252,7 @@ class TrafficGraph extends EventEmitter {
setIntersectedObject (object) {
let changed = false;
// De-intersect any objects
- if (... | Clean up some mouseover interactions for the global graph | Netflix_vizceral | train | js,js |
0527e4acab6c3c00cd4b971676107ae10c6f8f3b | diff --git a/bin/pseudohiki2html.rb b/bin/pseudohiki2html.rb
index <HASH>..<HASH> 100644
--- a/bin/pseudohiki2html.rb
+++ b/bin/pseudohiki2html.rb
@@ -74,7 +74,7 @@ class << OPTIONS
end
end
-FILE_HEADER_PAT = /^\/\//
+FILE_HEADER_PAT = /^(\xef\xbb\xbf)?\/\//
WRITTEN_OPTION_PAT = {}
OPTIONS.keys.each {|opt| WRIT... | ignores BOM at the head of input files | nico-hn_PseudoHikiParser | train | rb |
4be2670c889dc9066f4a5d3ffd1786eb26f2607d | diff --git a/elasticpy.py b/elasticpy.py
index <HASH>..<HASH> 100644
--- a/elasticpy.py
+++ b/elasticpy.py
@@ -366,7 +366,7 @@ class ElasticSearch(object):
request = ElasticConnection()
url = 'http://%s:%s/%s/_mapping' % (self.host, self.port, index_name)
response = request.get(url)
- ... | Bugfix: Issue <I> Fixes attribute error | ooici_elasticpy | train | py |
c1c6b3c45b3e9a321761c2f121f3dbacdabb8d25 | diff --git a/provision/juju/healer_test.go b/provision/juju/healer_test.go
index <HASH>..<HASH> 100644
--- a/provision/juju/healer_test.go
+++ b/provision/juju/healer_test.go
@@ -360,6 +360,12 @@ func (s *S) TestBootstrapMachineHealerOnlyHealsWhenItIsNeeded(c *C) {
c.Assert(commandmocker.Parameters(tmpdir), DeepEqual... | provision/juju: added test to check that elbInstanceHealer is registered | tsuru_tsuru | train | go |
1e527b58cc87e04a8db5e0881419d65e93d175e7 | diff --git a/openfisca_core/decompositions.py b/openfisca_core/decompositions.py
index <HASH>..<HASH> 100644
--- a/openfisca_core/decompositions.py
+++ b/openfisca_core/decompositions.py
@@ -32,7 +32,7 @@ from . import conv
from . import decompositionsxml
-def calculate(simulation, decomposition_json = None):
+def... | Try to deal with period in decomp computation | openfisca_openfisca-core | train | py |
185965657f261533b18caa1b2a6a2fa0cb2ba442 | diff --git a/nugridpy/utils.py b/nugridpy/utils.py
index <HASH>..<HASH> 100644
--- a/nugridpy/utils.py
+++ b/nugridpy/utils.py
@@ -549,13 +549,8 @@ class iniabu(Utils):
'''
- # clean variables that we will use in this class
-
- filename = ''
-
-
- def __init__(self,filename,filetype = "iniabu.ppn")... | Appropriately defining default filename in init class | NuGrid_NuGridPy | train | py |
a567fbc4dc82423b751d30ed68758c96d300a10c | diff --git a/lib/front_end_architect/blender.rb b/lib/front_end_architect/blender.rb
index <HASH>..<HASH> 100644
--- a/lib/front_end_architect/blender.rb
+++ b/lib/front_end_architect/blender.rb
@@ -280,7 +280,7 @@ module FrontEndArchitect
%Q!url(#{$2}#{$3})!
end
end
- if @... | Fixing an error with an if statement killing the proccess. | front-end_front-end-blender | train | rb |
76a238801435d19e5f89f442e9b3f7bb16ebc6b2 | diff --git a/Classes/Core/Acceptance/Extension/BackendCoreEnvironment.php b/Classes/Core/Acceptance/Extension/BackendCoreEnvironment.php
index <HASH>..<HASH> 100644
--- a/Classes/Core/Acceptance/Extension/BackendCoreEnvironment.php
+++ b/Classes/Core/Acceptance/Extension/BackendCoreEnvironment.php
@@ -288,12 +288,10 @@... | [TASK] Remove 'sv' and 't3skin' extensions from ac test setup
Those have been removed from core. | TYPO3_testing-framework | train | php |
081d3cb493036a80e11002126ebdbe1c0026ae04 | diff --git a/src/Drupal/DrupalExtension/Context/DrupalContext.php b/src/Drupal/DrupalExtension/Context/DrupalContext.php
index <HASH>..<HASH> 100644
--- a/src/Drupal/DrupalExtension/Context/DrupalContext.php
+++ b/src/Drupal/DrupalExtension/Context/DrupalContext.php
@@ -521,7 +521,7 @@ class DrupalContext extends MinkC... | Issue #<I> by PawelR: Call to a member function isVisible() on a non-object. | jhedstrom_drupalextension | train | php |
818fe2e3a9b5f7fc11be24089257d74053794def | diff --git a/thrifty-schema/src/main/java/com/bendb/thrifty/schema/Field.java b/thrifty-schema/src/main/java/com/bendb/thrifty/schema/Field.java
index <HASH>..<HASH> 100644
--- a/thrifty-schema/src/main/java/com/bendb/thrifty/schema/Field.java
+++ b/thrifty-schema/src/main/java/com/bendb/thrifty/schema/Field.java
@@ -9... | Generate lower-cased field names by default.
This is for internal expediency, and is in anticipation of the compiler
switch planned in issue #<I>. | Microsoft_thrifty | train | java |
ef40acdbfd8ea6d7ff28d05a7520eabe97c870eb | diff --git a/pyModeS/decoder/ehs.py b/pyModeS/decoder/ehs.py
index <HASH>..<HASH> 100644
--- a/pyModeS/decoder/ehs.py
+++ b/pyModeS/decoder/ehs.py
@@ -585,7 +585,7 @@ def trk50(msg):
if trk < 0:
trk = 360 + trk
- return round(trk, 2)
+ return round(trk, 3)
def gs50(msg):
@@ -726,7 +726,7 @@ d... | Update ehs.py
let's make them to 3 decimals even | junzis_pyModeS | train | py |
cfad2f9cbbb3b8ba70a0203a0b277b19de2225cc | diff --git a/scrimage-webp/src/main/java/com/sksamuel/scrimage/webp/DWebpHandler.java b/scrimage-webp/src/main/java/com/sksamuel/scrimage/webp/DWebpHandler.java
index <HASH>..<HASH> 100644
--- a/scrimage-webp/src/main/java/com/sksamuel/scrimage/webp/DWebpHandler.java
+++ b/scrimage-webp/src/main/java/com/sksamuel/scrim... | Added process destroy to dweb handler | sksamuel_scrimage | train | java |
7dad1ead7d93a6440e9310f868536085bff1b856 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -11,7 +11,7 @@ module.exports = function(kbox) {
var engine = kbox.engine;
var globalConfig = kbox.core.deps.lookup('globalConfig');
- kbox.whenApp(function(app) {
+ kbox.ifApp(function(app) {
// Grab the clie... | s/whenApp/ifApp/g | pirog_kalabox-plugin-rsync | train | js |
e4caa80cc6b6ee2b9c031a7d743d61b4830f2a7e | diff --git a/git/types.py b/git/types.py
index <HASH>..<HASH> 100644
--- a/git/types.py
+++ b/git/types.py
@@ -5,13 +5,13 @@
import os
import sys
from typing import (Callable, Dict, NoReturn, Tuple, Union, Any, Iterator, # noqa: F401
- NamedTuple, TYPE_CHECKING, get_args, TypeVar) # no... | put typing_extensions.get_types() behind python version guard | gitpython-developers_GitPython | train | py |
33480119b787c7504cf03da67d46d476dc7c6983 | diff --git a/simulator/src/main/java/com/hazelcast/simulator/coordinator/RemoteClient.java b/simulator/src/main/java/com/hazelcast/simulator/coordinator/RemoteClient.java
index <HASH>..<HASH> 100644
--- a/simulator/src/main/java/com/hazelcast/simulator/coordinator/RemoteClient.java
+++ b/simulator/src/main/java/com/haz... | Added exception logging to WorkerPingThread in RemoteClient. | hazelcast_hazelcast-simulator | train | java |
116b23259b295e920b482652d3fb4a6f83eb338b | diff --git a/lib/MapboxInspector.js b/lib/MapboxInspector.js
index <HASH>..<HASH> 100644
--- a/lib/MapboxInspector.js
+++ b/lib/MapboxInspector.js
@@ -4,7 +4,12 @@ var isEqual = require('lodash.isequal');
var renderPopup = require('./renderPopup');
var mapboxgl = window.mapboxgl;
-if (!mapboxgl) {
+if (mapboxgl) {
... | Issue warning on old Mapbox GL versions | lukasmartinelli_mapbox-gl-inspect | train | js |
2a7b42e53d07015d42daa8255715958e0dfc38d5 | diff --git a/build.rb b/build.rb
index <HASH>..<HASH> 100755
--- a/build.rb
+++ b/build.rb
@@ -36,6 +36,9 @@ end
params["platform"] = "java" unless params["platform"]
params["couch"] = "couchdb1.6" unless params["couch"]
+#kill any docker container that may be running on the machine.
+#we don't want to effected by... | Kill and remove any running docker container
Kill and remove any running docker container during the start of the build
process, making sure we are not effected by an error in another build.
This is mostly to combat network issues with the slaves dropping offline. | cloudant_sync-android | train | rb |
414ce0c37c542bcbb0b508fd597423824bb9090b | diff --git a/internal/service/ce/anomaly_subscription_test.go b/internal/service/ce/anomaly_subscription_test.go
index <HASH>..<HASH> 100644
--- a/internal/service/ce/anomaly_subscription_test.go
+++ b/internal/service/ce/anomaly_subscription_test.go
@@ -198,10 +198,10 @@ func TestAccCEAnomalySubscription_Subscriber(t ... | Amend anomaly subscriber acceptance test to accommodate TypeSet
- Checking the exact values of a nested Set or List value is not
recommended or necessary:
- Faulty errors can result from changed indices
- Testing framework will already return failure if there is a mismatch
with specified config during Import... | terraform-providers_terraform-provider-aws | train | go |
5084dd83657e3a0550ee9804acde30c367c3d4ce | diff --git a/test/support/integration_test.rb b/test/support/integration_test.rb
index <HASH>..<HASH> 100644
--- a/test/support/integration_test.rb
+++ b/test/support/integration_test.rb
@@ -61,9 +61,8 @@ class IntegrationTest < TestCase
# Asserts that a prepare or cook command is successful
def assert_subcomma... | Since we log to files now, always integration test verbosely. | matschaffer_knife-solo | train | rb |
710acced95887a5b7e746575c1b57f89c1699117 | diff --git a/src/main/java/org/takes/rs/RsWithStatus.java b/src/main/java/org/takes/rs/RsWithStatus.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/takes/rs/RsWithStatus.java
+++ b/src/main/java/org/takes/rs/RsWithStatus.java
@@ -112,6 +112,8 @@ public final class RsWithStatus extends RsWrap {
... | Remarking RsWithStatus to use Concat and Select together. | yegor256_takes | train | java |
20a1f1a8159e18081a9de74cb0637f6eff3cd90b | diff --git a/scripts/homestead.rb b/scripts/homestead.rb
index <HASH>..<HASH> 100644
--- a/scripts/homestead.rb
+++ b/scripts/homestead.rb
@@ -245,7 +245,9 @@ class Homestead
# Update Composer On Every Provision
config.vm.provision "shell" do |s|
- s.inline = "/usr/local/bin/composer self-update"
+ ... | Run composer self-update from vagrant user
Before this fix `composer self-update` was run directly as root and didn't add the missing keys to `/home/vagrant/.composer` (`keys.dev.pub` and `keys.tags.pub`)
if you try run `composer diagnose` before this fix then you will see that it shows error of missing keys | laravel_homestead | train | rb |
eb436b794ce3fb213bfd5e7fb9a4c7d593648461 | diff --git a/packages/mdx/mdx-hast-to-jsx.js b/packages/mdx/mdx-hast-to-jsx.js
index <HASH>..<HASH> 100644
--- a/packages/mdx/mdx-hast-to-jsx.js
+++ b/packages/mdx/mdx-hast-to-jsx.js
@@ -43,14 +43,15 @@ function toJSX(node, parentNode = {}) {
if (node.type === 'element') {
let props = ''
- if (Object.keys(... | Fix my earlier PR 🤦♂️ (#<I>) | mdx-js_mdx | train | js |
a13ada894be31c4a338e25d86c668f39b12065e7 | diff --git a/Swat/SwatFormField.php b/Swat/SwatFormField.php
index <HASH>..<HASH> 100644
--- a/Swat/SwatFormField.php
+++ b/Swat/SwatFormField.php
@@ -83,11 +83,10 @@ class SwatFormField extends SwatContainer
$messages = &$this->getMessages();
$container_div = new SwatHtmlTag('div');
+ $container_div->class = ... | Make SwatFormFields will errors have both the swat-form-field CSS class AND the swat-form-field-error class, rather than just the error class (this is our convention)
svn commit r<I> | silverorange_swat | train | php |
088754fb1e724e3e4d8f43b6e4905d98bfcf99fc | diff --git a/src/printer.js b/src/printer.js
index <HASH>..<HASH> 100644
--- a/src/printer.js
+++ b/src/printer.js
@@ -1351,7 +1351,7 @@ function genericPrintNoParens(path, options, print, args) {
case "JSXText":
throw new Error("JSXTest should be handled by JSXElement");
case "JSXEmptyExpression":
- ... | Fixing n.comments check in printer (#<I>) | josephfrazier_prettier_d | train | js |
e521ba40ffd55aeb5847655c5c1c5adc9e5ce42d | diff --git a/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/DefaultRequestHandlerCombiner.java b/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/DefaultRequestHandlerCombiner.java
index <HASH>..<HASH> 100644
--- a/springfox-spring-web/src/main/java/springfox/... | Replaced StringBuffer with StringBuilder
(<I>)
(cherry picked from commit ebeb<I>da<I>d<I>ee0e<I>cad<I>fc2e<I>ce<I>e) | springfox_springfox | train | java |
17657b772f7a72315b462cdaa98841e7ff628dd3 | diff --git a/src/Support/Helpers.php b/src/Support/Helpers.php
index <HASH>..<HASH> 100644
--- a/src/Support/Helpers.php
+++ b/src/Support/Helpers.php
@@ -16,6 +16,7 @@ use Vinala\Kernel\Cubes\Cube;
use Vinala\Kernel\Http\Redirect\Redirect;
use Vinala\Kernel\Http\Middleware\Middleware;
use Vinala\Kernel\Object\Strin... | add helper for link::get | vinala_kernel | train | php |
65c3ffaa434ca1ac851d189080700a1020e57e13 | diff --git a/app/controllers/socializer/memberships/confirm_controller.rb b/app/controllers/socializer/memberships/confirm_controller.rb
index <HASH>..<HASH> 100644
--- a/app/controllers/socializer/memberships/confirm_controller.rb
+++ b/app/controllers/socializer/memberships/confirm_controller.rb
@@ -3,6 +3,9 @@
#
m... | Memberships Controller: missing top-level class documentation comment | socializer_socializer | train | rb,rb |
05d908f42d204087cff275d35f62ed126ade54d8 | diff --git a/Controller/RequestConfiguration.php b/Controller/RequestConfiguration.php
index <HASH>..<HASH> 100644
--- a/Controller/RequestConfiguration.php
+++ b/Controller/RequestConfiguration.php
@@ -98,7 +98,7 @@ class RequestConfiguration
*/
public function getDefaultTemplate($name)
{
- $tem... | Fix all behat contexts failing due to strict types being enabled | Sylius_SyliusResourceBundle | train | php |
bb1be59d666360fd0d84090c971a79f9a36e483c | diff --git a/src/Neevo/Parser.php b/src/Neevo/Parser.php
index <HASH>..<HASH> 100644
--- a/src/Neevo/Parser.php
+++ b/src/Neevo/Parser.php
@@ -392,7 +392,7 @@ class Parser {
protected function tryDelimite($expr){
if($expr instanceof Literal)
return $expr->value;
- return preg_replace_callback('~:([a-z_\*][a-z... | fix delimiting for fieldnames like 'userId' | smasty_Neevo | train | php |
a24df987d4ad2f5661f723d49d44a0e125bc26cb | diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/blob/BlobUtils.java b/flink-runtime/src/main/java/org/apache/flink/runtime/blob/BlobUtils.java
index <HASH>..<HASH> 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/blob/BlobUtils.java
+++ b/flink-runtime/src/main/java/org/apache/flink/r... | [FLINK-<I>] [runtime] Fix race when attempting to create temp dir in BlobUtils.
This closes #<I> | apache_flink | train | java |
09a4c60635dabe89cca1b76eef0ba40a3c2e566a | diff --git a/src/test/java/org/cactoos/map/GroupedTest.java b/src/test/java/org/cactoos/map/GroupedTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/cactoos/map/GroupedTest.java
+++ b/src/test/java/org/cactoos/map/GroupedTest.java
@@ -84,7 +84,6 @@ final class GroupedTest {
);
}
-
@Test... | (#<I>) Fix indentation | yegor256_cactoos | train | java |
51ba790f634cd1982f69f88979589d2e9180bf15 | diff --git a/code/controller/CMSMain.php b/code/controller/CMSMain.php
index <HASH>..<HASH> 100755
--- a/code/controller/CMSMain.php
+++ b/code/controller/CMSMain.php
@@ -410,7 +410,7 @@ JS;
}
if(!$record->IsDeletedFromStage) {
- $stageURLField->setValue($record->AbsoluteLink());
+ $stageURLField->se... | MINOR Correct stage URL in CMSMain->EditForm | silverstripe_silverstripe-siteconfig | train | php |
fa32c4cb9a2920f9c3d37335957e316a4069bc5f | diff --git a/test/Binding/HttpBindingTest.php b/test/Binding/HttpBindingTest.php
index <HASH>..<HASH> 100644
--- a/test/Binding/HttpBindingTest.php
+++ b/test/Binding/HttpBindingTest.php
@@ -18,7 +18,7 @@ use Congow\Orient\Binding\BindingParameters;
use Congow\Orient\Binding\Adapter\CurlClientAdapter;
use Congow\Orie... | Fix class name of HTTP binding tests. | doctrine_orientdb-odm | train | php |
be527c826f49a1b34d1322b6144e74487eea774c | diff --git a/lib/attribute_normalizer/version.rb b/lib/attribute_normalizer/version.rb
index <HASH>..<HASH> 100644
--- a/lib/attribute_normalizer/version.rb
+++ b/lib/attribute_normalizer/version.rb
@@ -1,3 +1,3 @@
module AttributeNormalizer
- VERSION = "1.0.0.pre4"
+ VERSION = "1.0.0"
end | Long overdue bump to version 1 | mdeering_attribute_normalizer | train | rb |
46a6a669cc2a42fae1bd8f5bbe7f36820f44fc1f | diff --git a/test/index.js b/test/index.js
index <HASH>..<HASH> 100644
--- a/test/index.js
+++ b/test/index.js
@@ -122,13 +122,34 @@ describe('Liftoff', function () {
it('should pass environment to first argument of launch callback', function (done) {
process.argv = [];
- app.launch( function (env) {... | chore: Add unit tests for requireLocal | js-cli_js-liftoff | train | js |
21cef2499f5242fc0bab146961cb19d8200c1be0 | diff --git a/beakerx/js/src/extension.js b/beakerx/js/src/extension.js
index <HASH>..<HASH> 100644
--- a/beakerx/js/src/extension.js
+++ b/beakerx/js/src/extension.js
@@ -114,7 +114,17 @@ define([
}
return acc;
}, []);
- notebook.execute_cells(indexList);
+ ... | #<I>: show modal dialog when no tag in notebook (#<I>) | twosigma_beakerx | train | js |
e3b273752efadeefabd99452b45dc489d049d7ee | diff --git a/helpers/form/elements/xhtml/class.AsyncFile.php b/helpers/form/elements/xhtml/class.AsyncFile.php
index <HASH>..<HASH> 100755
--- a/helpers/form/elements/xhtml/class.AsyncFile.php
+++ b/helpers/form/elements/xhtml/class.AsyncFile.php
@@ -121,13 +121,14 @@ class tao_helpers_form_elements_xhtml_AsyncFile
... | fixed issue with drag'n'drop to upload control in Chrome, client mime validation in IE | oat-sa_tao-core | train | php |
e2e12b3a3ecab24a76565ce589d371bb9d94ca78 | diff --git a/stat-tags.js b/stat-tags.js
index <HASH>..<HASH> 100644
--- a/stat-tags.js
+++ b/stat-tags.js
@@ -559,7 +559,6 @@ OutboundResponseSizeTags.prototype.toStatKey = function toStatKey(prefix) {
clean(self.targetEndpoint, 'no-endpoint');
};
-
function RateLimiterServiceTags(serviceName) {
var ... | linting: [lib/stat] comply with no-multiple-empty-lines rule | uber_tchannel-node | train | js |
7bd1bd8ab394fbb6e3bd03e323cdb9c91ae6cf90 | diff --git a/tsdb/shard.go b/tsdb/shard.go
index <HASH>..<HASH> 100644
--- a/tsdb/shard.go
+++ b/tsdb/shard.go
@@ -914,17 +914,28 @@ func (s *Shard) monitor() {
defer t.Stop()
t2 := time.NewTicker(time.Minute)
defer t2.Stop()
+ var changed time.Time
+
for {
select {
case <-s.closing:
return
case <-... | Only calculate disk size if shard has changed
Calling DiskSize can be expensive with many shards. Since the stats
collection runs this every <I>s by default, it can be expensive and
wasteful to calculate the stats when nothing has changed. This avoids
re-calculating the shard size unless something has chagned. | influxdata_influxdb | train | go |
22bbf58b7f5ed454bd4f6a4bbdf1d02b3f9ed5b2 | diff --git a/src/clients/RestClient.js b/src/clients/RestClient.js
index <HASH>..<HASH> 100644
--- a/src/clients/RestClient.js
+++ b/src/clients/RestClient.js
@@ -2,10 +2,6 @@ import Q from 'q';
import axios from 'axios';
import qs from 'qs';
-export const BaseUrls = {
- production: 'https://api.wixrestauran... | BaseUrl is not exported. | wix_wix-restaurants-js-sdk | train | js |
d4847ce1316d14bf9ce3b9e41183afe0e15941ff | diff --git a/packages/api-core/src/resources/slotmachine.js b/packages/api-core/src/resources/slotmachine.js
index <HASH>..<HASH> 100644
--- a/packages/api-core/src/resources/slotmachine.js
+++ b/packages/api-core/src/resources/slotmachine.js
@@ -1,4 +1,4 @@
-import { AvMicroservice } from '..';
+import AvMicroservice ... | style(api-core): dependency cycle detected | Availity_sdk-js | train | js |
ee09981c6c1b3990d06020aaed3f33cbae356acb | diff --git a/Kwf/Data/Kwc/EditComponents.php b/Kwf/Data/Kwc/EditComponents.php
index <HASH>..<HASH> 100644
--- a/Kwf/Data/Kwc/EditComponents.php
+++ b/Kwf/Data/Kwc/EditComponents.php
@@ -28,8 +28,14 @@ class Kwf_Data_Kwc_EditComponents extends Kwf_Data_Abstract
$this->_componentConfigs = array_merge($this->_co... | Bugfix Data_Kwc_EditComponents (which is used in Paragraphs- and Directories-Controller) | koala-framework_koala-framework | train | php |
5bf3ddbf198256e9feff307e653e512984e7843d | diff --git a/lib/devtools.rb b/lib/devtools.rb
index <HASH>..<HASH> 100644
--- a/lib/devtools.rb
+++ b/lib/devtools.rb
@@ -1,3 +1,4 @@
+require 'benchmark'
require 'pathname'
require 'rake'
require 'yaml'
diff --git a/lib/devtools/project.rb b/lib/devtools/project.rb
index <HASH>..<HASH> 100644
--- a/lib/devtools/pr... | Update spec timoue to use cpu time, not real (elapsed) time | mbj_devtools | train | rb,rb |
01e2855ed32c474b3c6c879cf0906fb85a6da773 | diff --git a/src/Themosis/Helpers/helpers.php b/src/Themosis/Helpers/helpers.php
index <HASH>..<HASH> 100644
--- a/src/Themosis/Helpers/helpers.php
+++ b/src/Themosis/Helpers/helpers.php
@@ -96,7 +96,7 @@ if (!function_exists('themosis_assets'))
*/
function themosis_assets()
{
- return get_templa... | Updating themosis_assets() directory 😁
Just fixing the directory path. | themosis_framework | train | php |
7162878840a62e50319d71fc086cbc1e13946e1f | diff --git a/src/ManiaLib/Manialink/Node.php b/src/ManiaLib/Manialink/Node.php
index <HASH>..<HASH> 100644
--- a/src/ManiaLib/Manialink/Node.php
+++ b/src/ManiaLib/Manialink/Node.php
@@ -2,7 +2,7 @@
namespace ManiaLib\Manialink;
-abstract class Node
+class Node
{
/** | Updated Node: it's no longer abstract | maniaplanet_manialib-manialink | train | php |
5960431e7c6114c59f932e353660a7b742133691 | diff --git a/js/model/aggregate.js b/js/model/aggregate.js
index <HASH>..<HASH> 100644
--- a/js/model/aggregate.js
+++ b/js/model/aggregate.js
@@ -27,10 +27,11 @@ Aggregate.prototype.updated = function (updatedAt, newVersion) {
/**
* @param {Number} deletedAt
+ * @param {Number} newVersion
*/
-Aggregate.prototyp... | fix(Aggregate): add newVersion parameter to deleted method | ResourcefulHumans_rheactor-web-app | train | js |
7b096f9baa065350bb31e5b4cf20b0c07327a562 | diff --git a/lib/MenuItem.js b/lib/MenuItem.js
index <HASH>..<HASH> 100644
--- a/lib/MenuItem.js
+++ b/lib/MenuItem.js
@@ -54,7 +54,7 @@ var MenuItem = React.createClass({
},
handleClick: function () {
- this.props.onSelect(this.props.eventKey);
+ this.props.onSelect(this.props.eventKey, this);
},
... | add component to onSelect callback | react-component_menu | train | js,js,json |
5004cfc470affb5d1d53e68535b71abd38e567ca | diff --git a/src/Support/AccessProtectedTrait.php b/src/Support/AccessProtectedTrait.php
index <HASH>..<HASH> 100644
--- a/src/Support/AccessProtectedTrait.php
+++ b/src/Support/AccessProtectedTrait.php
@@ -15,11 +15,14 @@ trait AccessProtectedTrait
*/
protected function createProtectedCaller($instance)
... | Avoid using static access to class '\Closure' in method | proengsoft_laravel-jsvalidation | train | php |
44930b2def7fe9a6f3bc199bb3cd86c35ffbaba3 | diff --git a/activerecord/test/cases/finder_test.rb b/activerecord/test/cases/finder_test.rb
index <HASH>..<HASH> 100644
--- a/activerecord/test/cases/finder_test.rb
+++ b/activerecord/test/cases/finder_test.rb
@@ -15,6 +15,18 @@ require 'models/toy'
class FinderTest < ActiveRecord::TestCase
fixtures :companies, :t... | CVE-<I>-<I> options hashes should only be extracted if there are extra parameters
Conflicts:
activerecord/lib/active_record/dynamic_matchers.rb | rails_rails | train | rb |
4417dad048a3c258f05c9e255a348484b465db7b | diff --git a/devices/xiaomi.js b/devices/xiaomi.js
index <HASH>..<HASH> 100644
--- a/devices/xiaomi.js
+++ b/devices/xiaomi.js
@@ -1904,15 +1904,10 @@ module.exports = [
model: 'MCCGQ12LM',
vendor: 'Xiaomi',
description: 'Aqara T1 door & window contact sensor',
- fromZigbee: [fz.xiaomi... | Fix MCCGQ<I>LM battery reporting (#<I>)
if you have some trouble, need reparing | Koenkk_zigbee-shepherd-converters | train | js |
079e852b931dec3ff9236f68ac88ad4c85b0ca7e | diff --git a/lib/sensu/server.rb b/lib/sensu/server.rb
index <HASH>..<HASH> 100644
--- a/lib/sensu/server.rb
+++ b/lib/sensu/server.rb
@@ -113,7 +113,7 @@ module Sensu
low_flap_threshold = check['low_flap_threshold'] || 40
@redis.hget('events:' + client['name'], check['name']).callback... | [flap-detection] events in redis are not nested | sensu_sensu | train | rb |
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.