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 |
|---|---|---|---|---|---|
df7bf90803a686946e09d9ec175f8ab85277e989 | diff --git a/rxjava-core/src/test/java/rx/operators/OperatorGroupByTest.java b/rxjava-core/src/test/java/rx/operators/OperatorGroupByTest.java
index <HASH>..<HASH> 100644
--- a/rxjava-core/src/test/java/rx/operators/OperatorGroupByTest.java
+++ b/rxjava-core/src/test/java/rx/operators/OperatorGroupByTest.java
@@ -484,2... | GroupBy Test Improvement
ObserveOn was the wrong mechanism for delaying behavior as it was relying on the buffering of observeOn.
Now using delay() to delay the group since observeOn no longer buffers. | ReactiveX_RxJava | train | java |
b4d6181285e8808511361694343f26082b72cdda | diff --git a/cache.go b/cache.go
index <HASH>..<HASH> 100644
--- a/cache.go
+++ b/cache.go
@@ -91,8 +91,6 @@ func (c *LRUCache) Top() []BitmapPair {
}
func (c *LRUCache) onEvicted(key lru.Key, _ interface{}) { delete(c.counts, key.(uint64)) }
-func (c *LRUCache) Refresh() {
-}
// Ensure LRUCache implements Cache... | no longer need to implement `Refresh()` since that was removed` | pilosa_pilosa | train | go |
efdb58ce006ca3e5d0936d98dd81c3229f26fac0 | diff --git a/grammpy/HashContainer.py b/grammpy/HashContainer.py
index <HASH>..<HASH> 100644
--- a/grammpy/HashContainer.py
+++ b/grammpy/HashContainer.py
@@ -31,9 +31,13 @@ class HashContainer:
def add(self, item):
items = HashContainer.to_iterable(item)
# iterace throught items
+ add = [... | Reiplement HashCotnainer.add method so only elements that are newly add are return | PatrikValkovic_grammpy | train | py |
063a5f7c797648fbeaac92ce6b4488231d04ceae | diff --git a/code/dispatcher/behavior/cacheable.php b/code/dispatcher/behavior/cacheable.php
index <HASH>..<HASH> 100644
--- a/code/dispatcher/behavior/cacheable.php
+++ b/code/dispatcher/behavior/cacheable.php
@@ -62,19 +62,21 @@ class DispatcherBehaviorCacheable extends DispatcherBehaviorAbstract
$respon... | #<I> Make sure we reset the cache-control first before setting max-age
joomlatools/joomlatools-framework #<I> | timble_kodekit | train | php |
266a570b3ca0070dfc35f48d9fff63af5154b664 | diff --git a/mamba/formatters.py b/mamba/formatters.py
index <HASH>..<HASH> 100644
--- a/mamba/formatters.py
+++ b/mamba/formatters.py
@@ -145,7 +145,7 @@ class DocumentationFormatter(Formatter):
class ProgressFormatter(DocumentationFormatter):
def example_passed(self, example):
- puts('.', newline=False... | Use green dots when a test is successful in ProgressFormatter | nestorsalceda_mamba | train | py |
4f39e439500699ed704f757001acef3eb890a6d0 | diff --git a/core/src/main/java/org/infinispan/affinity/KeyAffinityServiceImpl.java b/core/src/main/java/org/infinispan/affinity/KeyAffinityServiceImpl.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/infinispan/affinity/KeyAffinityServiceImpl.java
+++ b/core/src/main/java/org/infinispan/affinity/KeyAffini... | ISPN-<I> Avoid looping indefinitely in KeyAffinityServiceImpl
With NBST it's possible for a node to not own (as primary owner)
any keys for a while. KeyAffinityServiceImpl should pause if it
can't find any keys for the nodes in its filter. | infinispan_infinispan | train | java |
87f89db81fa862cf056f242607fcbcd273ae8042 | diff --git a/src/Illuminate/Database/Eloquent/FactoryBuilder.php b/src/Illuminate/Database/Eloquent/FactoryBuilder.php
index <HASH>..<HASH> 100644
--- a/src/Illuminate/Database/Eloquent/FactoryBuilder.php
+++ b/src/Illuminate/Database/Eloquent/FactoryBuilder.php
@@ -92,7 +92,7 @@ class FactoryBuilder
/**
* S... | Update docblock on states method on FactoryBuilder (#<I>) | laravel_framework | train | php |
a7918ee01f0068a0d4b4f51e26f4717355dcf61e | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -61,7 +61,7 @@ class GulpRollup extends Transform {
var originalCwd = file.cwd
var originalPath = file.path
- var moduleName = path.basename(file.path, path.extname(file.path))
+ var moduleName = _.camelCase(path.bas... | Force moduleName to have camelCase syntax.
This is for files that are named with hyphens. | MikeKovarik_gulp-better-rollup | train | js |
573b9821cdcf4b81ad728b9942752f484f2f0e5f | diff --git a/src/java/com/threerings/whirled/spot/data/Portal.java b/src/java/com/threerings/whirled/spot/data/Portal.java
index <HASH>..<HASH> 100644
--- a/src/java/com/threerings/whirled/spot/data/Portal.java
+++ b/src/java/com/threerings/whirled/spot/data/Portal.java
@@ -1,5 +1,5 @@
//
-// $Id: Portal.java,v 1.1 20... | Added a name for use in the editor and in XML files.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1 | threerings_narya | train | java |
4e288ba15f82a5614cf10bc18698cc8a8f374498 | diff --git a/src/Venturecraft/Revisionable/Revision.php b/src/Venturecraft/Revisionable/Revision.php
index <HASH>..<HASH> 100644
--- a/src/Venturecraft/Revisionable/Revision.php
+++ b/src/Venturecraft/Revisionable/Revision.php
@@ -139,7 +139,7 @@ class Revision extends Eloquent
// Now we can find... | Adding in the call to camel case | VentureCraft_revisionable | train | php |
504e09a2bde7e729173d0bb0d026e8f06ff42638 | diff --git a/assemblerflow/generator/recipe.py b/assemblerflow/generator/recipe.py
index <HASH>..<HASH> 100644
--- a/assemblerflow/generator/recipe.py
+++ b/assemblerflow/generator/recipe.py
@@ -408,7 +408,9 @@ class Recipe:
continue
final_forks.append(forks[i])
+ print(fi... | add recipe check for number of forks | assemblerflow_flowcraft | train | py |
45f51f7c0e0d70c859c98043ab56fd3022aec24b | diff --git a/zone_test.go b/zone_test.go
index <HASH>..<HASH> 100644
--- a/zone_test.go
+++ b/zone_test.go
@@ -1469,29 +1469,11 @@ func TestListZonesFailingPages(t *testing.T) {
}
func TestListZonesContextManualPagination1(t *testing.T) {
- setup()
- defer teardown()
-
- handler := func(w http.ResponseWriter, r *ht... | refactor: no need to start useless servers during testing | cloudflare_cloudflare-go | train | go |
481f09fddb6131e745344456095867fbabe06cbb | diff --git a/src/node-plop.js b/src/node-plop.js
index <HASH>..<HASH> 100644
--- a/src/node-plop.js
+++ b/src/node-plop.js
@@ -121,18 +121,30 @@ function nodePlop(plopfilePath = '', plopCfg = {}) {
// generator runner methods
//
const plopfileApi = {
- setPrompt, renderString, inquirer, handlebars,
+ // main me... | organize plopfileApi attributes and add comments | amwmedia_node-plop | train | js |
340874808c7021fefb7b41083498115f7d13491e | diff --git a/pyjade/lexer.py b/pyjade/lexer.py
index <HASH>..<HASH> 100644
--- a/pyjade/lexer.py
+++ b/pyjade/lexer.py
@@ -38,7 +38,7 @@ class Lexer(object):
RE_INCLUDE = re.compile(r'^include +([^\n]+)')
RE_ASSIGNMENT = re.compile(r'^(-\s+var\s+)?(\w+) += *([^;\n]+)( *;? *)')
RE_MIXIN = re.compile(r'^mi... | Enhancement for mixin
- Enable whitespace after +
- Enable using module.function as mixin | syrusakbary_pyjade | train | py |
508308fb7c1edc0cfc2d0adbb869122abdb4fa67 | diff --git a/mod/quiz/styles.php b/mod/quiz/styles.php
index <HASH>..<HASH> 100644
--- a/mod/quiz/styles.php
+++ b/mod/quiz/styles.php
@@ -140,3 +140,15 @@ body#mod-quiz-report table#responses .correct {
body#mod-quiz-report table#responses .partialcorrect {
color: orange;
}
+
+#mod-quiz-attempt #timer .generalbox... | Added CSS properties for Firefox for fixed placement of the timer. It is a preliminarily fix. Please follow Bug #<I>. | moodle_moodle | train | php |
f8e1ed9bed4a5edffe2b42b6523af5befe31456b | diff --git a/src/Metadata/Driver/DriverChain.php b/src/Metadata/Driver/DriverChain.php
index <HASH>..<HASH> 100644
--- a/src/Metadata/Driver/DriverChain.php
+++ b/src/Metadata/Driver/DriverChain.php
@@ -22,10 +22,15 @@ final class DriverChain implements AdvancedDriverInterface
{
private $drivers;
- public fu... | Allow to add drivers to a driver chain | schmittjoh_metadata | train | php |
a45f724216f24a6cf06eb42f54350e10f42da94a | diff --git a/src/HttpHandler.php b/src/HttpHandler.php
index <HASH>..<HASH> 100644
--- a/src/HttpHandler.php
+++ b/src/HttpHandler.php
@@ -183,6 +183,30 @@ class HttpHandler extends AbstractProcessingHandler
}
/**
+ * Handles a set of records at once.
+ *
+ * @param array $records The records to handle (an a... | Added an own implementation of the handleBatch function | msschl_monolog-http-handler | train | php |
bded59aa5f57ec139c655060deb1fbe6cf57dc4c | diff --git a/src/main/java/com/intalio/bpmn2/impl/Bpmn2JsonUnmarshaller.java b/src/main/java/com/intalio/bpmn2/impl/Bpmn2JsonUnmarshaller.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/intalio/bpmn2/impl/Bpmn2JsonUnmarshaller.java
+++ b/src/main/java/com/intalio/bpmn2/impl/Bpmn2JsonUnmarshaller.java
@@ -500,6... | JBPM-<I>: Oryx integration - gateway direction is unspecified in case of one incoming and one outgoing connections for a gateway | kiegroup_jbpm-designer | train | java |
ae9d340cfa1cfd081eb4bb356e14993865ee32b1 | diff --git a/lib/lyber_core/robot.rb b/lib/lyber_core/robot.rb
index <HASH>..<HASH> 100644
--- a/lib/lyber_core/robot.rb
+++ b/lib/lyber_core/robot.rb
@@ -105,8 +105,9 @@ module LyberCore
def item_queued?(druid)
status = workflow_service.workflow_status(druid: druid, workflow: @workflow_name, process: @step... | HB notifies if workflow step is not queued. | sul-dlss_lyber-core | train | rb |
6139de868021f2c6626230a69628de74dc8f03d7 | diff --git a/src/Control/Email/Email.php b/src/Control/Email/Email.php
index <HASH>..<HASH> 100644
--- a/src/Control/Email/Email.php
+++ b/src/Control/Email/Email.php
@@ -621,6 +621,12 @@ class Email extends ViewableData
*/
public function setBody($body)
{
+ $plainPart = $this->findPlainPart();
+... | FIX Make sure plain parts are rendered when re-rendering emails | silverstripe_silverstripe-framework | train | php |
516699081de33cce33aae58659604202a2b654f2 | diff --git a/hwt/interfaces/std.py b/hwt/interfaces/std.py
index <HASH>..<HASH> 100644
--- a/hwt/interfaces/std.py
+++ b/hwt/interfaces/std.py
@@ -294,11 +294,15 @@ class RegCntrl(Interface):
def _config(self):
self.DATA_WIDTH = Param(8)
+ self.USE_IN = Param(True)
+ self.USE_OUT = Param(T... | RegCntrl: USE_IN/OUT params to dissable r/w channel | Nic30_hwt | train | py |
9cee7edda13f0c83ef857bebb06b83a864d0bb1f | diff --git a/src/RegexMatcher.php b/src/RegexMatcher.php
index <HASH>..<HASH> 100644
--- a/src/RegexMatcher.php
+++ b/src/RegexMatcher.php
@@ -19,7 +19,7 @@
*/
public function match($content) {
foreach ($this->_regexes as $regex) {
- if (preg_match('/^' . $regex . '/', $content, $matches)) {
+ if (preg... | Added support for multi-line regex | HippoPHP_Tokenizer | train | php,php |
f611d278a7c991e180b82665f94f7e43d0580b6c | diff --git a/keymap/emacs.js b/keymap/emacs.js
index <HASH>..<HASH> 100644
--- a/keymap/emacs.js
+++ b/keymap/emacs.js
@@ -369,7 +369,7 @@
"Ctrl-/": repeated("undo"), "Shift-Ctrl--": repeated("undo"),
"Ctrl-Z": repeated("undo"), "Cmd-Z": repeated("undo"),
"Shift-Alt-,": "goDocStart", "Shift-Alt-.": "goDo... | [emacs keymap] Bind ctrl-s/r to persistent search
Issue #<I> | codemirror_CodeMirror | train | js |
b4ace2d7e86c44428353995ba146de0e1aeaef00 | diff --git a/spyderlib/ipythonconfig.py b/spyderlib/ipythonconfig.py
index <HASH>..<HASH> 100644
--- a/spyderlib/ipythonconfig.py
+++ b/spyderlib/ipythonconfig.py
@@ -16,6 +16,7 @@ from spyderlib.baseconfig import _
# Constants
IPYTHON_REQVER = '>=1.0'
ZMQ_REQVER = '>=2.1.11'
+QTCONSOLE_REQVER = '>=4.0'
# Depen... | IPython Console: Add qtconsole as a dependency if IPython <I> is found | spyder-ide_spyder | train | py |
328c0f9ce2ac5496015bdafd6738a69ea53fc7ac | diff --git a/spec/dummy/db/schema.rb b/spec/dummy/db/schema.rb
index <HASH>..<HASH> 100644
--- a/spec/dummy/db/schema.rb
+++ b/spec/dummy/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20121102151448) do
+Act... | Added `plan_type` and `ahead_of_time` | menglifang_task-manager | train | rb |
8c1779d6712f102f2844621508e9f445540be7d2 | diff --git a/lib/php/lib/Thrift/Transport/TBufferedTransport.php b/lib/php/lib/Thrift/Transport/TBufferedTransport.php
index <HASH>..<HASH> 100644
--- a/lib/php/lib/Thrift/Transport/TBufferedTransport.php
+++ b/lib/php/lib/Thrift/Transport/TBufferedTransport.php
@@ -156,8 +156,13 @@ class TBufferedTransport extends TTr... | THRIFT-<I> TBufferedTransport doesn't clear it's buffer on a failed flush call
Patch: Chris Trotman | limingxinleo_thrift | train | php |
d14cc9e768dd9337aaed83dd6a5f217181e38278 | diff --git a/peerplaysbase/chains.py b/peerplaysbase/chains.py
index <HASH>..<HASH> 100644
--- a/peerplaysbase/chains.py
+++ b/peerplaysbase/chains.py
@@ -12,13 +12,11 @@ known_chains = {
"core_symbol": "PPYTEST",
"prefix": "PPYTEST"},
"CHARLIE": {
- "chain_id": "7fc0555c880b2df4c5a79f084f... | New chain-id for charlie | peerplays-network_python-peerplays | train | py |
e59962f4feb20cc1da016abc2db3c1fb6cb1ab66 | diff --git a/Entity/Product.php b/Entity/Product.php
index <HASH>..<HASH> 100755
--- a/Entity/Product.php
+++ b/Entity/Product.php
@@ -84,7 +84,7 @@ class Product implements ProductInterface
protected $reviews;
/**
- * @var float
+ * @var int
*/
protected $stock;
diff --git a/Entity/Pro... | Fixed wrong doc for stock
(cherry picked from commit eee<I>e<I>c<I>e<I>e9cc8eb9f<I>bd4ac<I>) | WellCommerce_WishlistBundle | train | php,php |
ca75d86150463d082e85d6edafe0d23d3bf411c3 | diff --git a/apps/crashing.go b/apps/crashing.go
index <HASH>..<HASH> 100644
--- a/apps/crashing.go
+++ b/apps/crashing.go
@@ -54,18 +54,13 @@ var _ = AppsDescribe("Crashing", func() {
).Wait(Config.CfPushTimeoutDuration())).To(Exit(0))
})
- Context("crash events", func() {
- SkipOnK8s("remove this skip and... | Test app.crash events on cf-for-k8s
* Waited for cf-for-k8s to bump to eirini <I> where app.crash
permissions were fixed
[#<I>](<URL>) | cloudfoundry_cf-acceptance-tests | train | go |
99a5cd78ec4e07330b94befdd7c35704407736c2 | diff --git a/admin/tool/dbtransfer/database_transfer_form.php b/admin/tool/dbtransfer/database_transfer_form.php
index <HASH>..<HASH> 100644
--- a/admin/tool/dbtransfer/database_transfer_form.php
+++ b/admin/tool/dbtransfer/database_transfer_form.php
@@ -39,7 +39,7 @@ class database_transfer_form extends moodleform {
... | MDL-<I> add sqlsrv to list dbtransfer targets, remove unfinished sqlite support | moodle_moodle | train | php |
40be9715bc697b99a6abe06421ed1eceb7cd134a | diff --git a/auxiliary-storage/client/src/main/java/org/talend/esb/auxiliary/storage/client/rest/AbstractAuxiliaryStorageClientRest.java b/auxiliary-storage/client/src/main/java/org/talend/esb/auxiliary/storage/client/rest/AbstractAuxiliaryStorageClientRest.java
index <HASH>..<HASH> 100644
--- a/auxiliary-storage/clien... | Aux. storage service - removed unused method | Talend_tesb-rt-se | train | java |
c702e4d32cc84d3527eabe72e16e2229b86fa086 | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -54,7 +54,7 @@ extras_require['dev'] = [
'python-coveralls==2.9.1',
'vcrpy==1.13.0',
'mock==2.0.0',
- 'pylint==2.1.1',
+ 'pylint<2.0.0', # Can pass to 2.x branch when support for Python 2.x in Lexicon is ... | Give full support of python <I> | AnalogJ_lexicon | train | py,py |
9aa8f3ababe570c387a0cad172864e39eca88d6f | diff --git a/DependencyInjection/GifExceptionExtension.php b/DependencyInjection/GifExceptionExtension.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/GifExceptionExtension.php
+++ b/DependencyInjection/GifExceptionExtension.php
@@ -58,6 +58,10 @@ class GifExceptionExtension extends Extension implements Compi... | Do not process anything is debug is not activated
The extension load is not run if the kernel debug is not activated.
We have to do the same on GifExceptionExtension::process method or we will get an error like below.
You have requested a non-existent service "gif_exception.listener.replace_image". | jolicode_GifExceptionBundle | train | php |
ec2df963985559cb843d055b6a457abde1b480eb | diff --git a/lib/erector/rails/extensions/rails_widget.rb b/lib/erector/rails/extensions/rails_widget.rb
index <HASH>..<HASH> 100644
--- a/lib/erector/rails/extensions/rails_widget.rb
+++ b/lib/erector/rails/extensions/rails_widget.rb
@@ -33,12 +33,10 @@ module Erector
process_output_buffer || @output
end
... | We're subclassing, don't need alias_method_chain. | erector_erector | train | rb |
1386906f025630a4201365ffb5018fcc3cccbde8 | diff --git a/salt/runner.py b/salt/runner.py
index <HASH>..<HASH> 100644
--- a/salt/runner.py
+++ b/salt/runner.py
@@ -65,9 +65,11 @@ class RunnerClient(mixins.SyncClientMixin, mixins.AsyncClientMixin, object):
# Support old style calls where arguments could be specified in 'low' top level
if not low.... | Ensure kwargs properly parsed in RunnerClient
Apply salt.utils.args.parse_input to kwargs in low data within
RunnerClient._reformat_low before calling
salt.minion.load_args_and_kwargs according to its requirements
The salt.utils.args.parse_input is responsible for 'yamlifying' input
arguments hence missing call leads... | saltstack_salt | train | py |
79d29f63140caccf8afc54772053de851fceb177 | diff --git a/eppy/runner/run_functions.py b/eppy/runner/run_functions.py
index <HASH>..<HASH> 100644
--- a/eppy/runner/run_functions.py
+++ b/eppy/runner/run_functions.py
@@ -1,4 +1,5 @@
# Copyright (c) 2016 Jamie Bull
+# Copyright (c) 2021 Johan Tibell
# ==============================================================... | Update run_functions.py
Add Johan Tibell to (c) due to additions in <URL> | santoshphilip_eppy | train | py |
49e8ed411c8b17861a5795a140059a510bb2b1ca | diff --git a/lib/le_ssl/manager.rb b/lib/le_ssl/manager.rb
index <HASH>..<HASH> 100644
--- a/lib/le_ssl/manager.rb
+++ b/lib/le_ssl/manager.rb
@@ -93,14 +93,16 @@ module LeSSL
private
def private_key=(key)
- if key.is_a?(OpenSSL::PKey::RSA)
- @private_key = key
- elsif key.is_a?(String)
- @private_key... | Set private key to nil if nil is given | tobiasfeistmantl_LeSSL | train | rb |
fa5aea7631e7cdb84a5f38264f6ecff32212affe | diff --git a/parsecsv.lib.php b/parsecsv.lib.php
index <HASH>..<HASH> 100644
--- a/parsecsv.lib.php
+++ b/parsecsv.lib.php
@@ -405,7 +405,7 @@ class parseCSV {
$this->conditions = $conditions;
}
- if (is_readable($input)) {
+ if (strlen($input) <= PHP_MAXPATHLEN && ... | Suppress file name too long warning
Suppress Warning: "File name is longer than the maximum allowed path length on this platform (<I>)" | parsecsv_parsecsv-for-php | train | php |
4aa6eff9cb3520f1b4e67549496f997d073268e8 | diff --git a/src/sos/step_executor.py b/src/sos/step_executor.py
index <HASH>..<HASH> 100755
--- a/src/sos/step_executor.py
+++ b/src/sos/step_executor.py
@@ -128,8 +128,12 @@ def expand_input_files(value, *args, **kwargs):
args = [x.resolve() if isinstance(x, dynamic) else x for x in args]
kwargs = {x:(y.res... | Fix cases with no input but a single group_by | vatlab_SoS | train | py |
eec8f9e1c7b250c68ca1d50c31e066e8d3fe0ccd | diff --git a/lib/gen-remote.js b/lib/gen-remote.js
index <HASH>..<HASH> 100644
--- a/lib/gen-remote.js
+++ b/lib/gen-remote.js
@@ -20,10 +20,7 @@ function mapDeps(config) {
}
/**
- * Generates file that fetch the remote script asynchronously and call back with the object it exports
- * Expected to be called during ... | updating gen remote comment to current status | thlorenz_bromote | train | js |
21be5cb54a4d1611e6c277c4024b2c80d6b85023 | diff --git a/montblanc/version.py b/montblanc/version.py
index <HASH>..<HASH> 100644
--- a/montblanc/version.py
+++ b/montblanc/version.py
@@ -1,2 +1,2 @@
# Do not edit this file, pipeline versioning is governed by git tags
-__version__='0.4.0-alpha2'
\ No newline at end of file
+__version__="0.4.0-alpha2"
\ No newlin... | Surround version string with double rather than single quotes.
Update the version file. | ska-sa_montblanc | train | py,py |
21437a1cb493ef4472dbba2773c767adaf48dc83 | diff --git a/s2/shapeindex.go b/s2/shapeindex.go
index <HASH>..<HASH> 100644
--- a/s2/shapeindex.go
+++ b/s2/shapeindex.go
@@ -1169,7 +1169,7 @@ func (s *ShapeIndex) makeIndexCell(p *PaddedCell, edges []*clippedEdge, t *track
if eNext != len(edges) {
eshapeID = edges[eNext].faceEdge.shapeID
}
- if cNextIdx !... | s2: Fix a ShapeIndex bounds check that was off by one.
It broke code coming in a later change. | golang_geo | train | go |
8540e969092bd70b05cdb2c31b7dcf869470dace | diff --git a/spec/hash_redactor_spec.rb b/spec/hash_redactor_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/hash_redactor_spec.rb
+++ b/spec/hash_redactor_spec.rb
@@ -111,6 +111,20 @@ describe HashRedactor do
result = subj.redact(data2, redact: subhash(redact, :email))
expect(result[:unspecified]).to eq('leave ... | Test that IV get's changed on each instance | chrisjensen_hash_redactor | train | rb |
581261d311133de77d48bd7378dac0de6c43b511 | diff --git a/stored_messages/tests/settings.py b/stored_messages/tests/settings.py
index <HASH>..<HASH> 100644
--- a/stored_messages/tests/settings.py
+++ b/stored_messages/tests/settings.py
@@ -41,6 +41,23 @@ MIDDLEWARE_CLASSES = (
'django.middleware.security.SecurityMiddleware',
)
+# Django 1.10 requires the ... | adding default TEMPLATES setting, required in Django <I> (tests) | evonove_django-stored-messages | train | py |
871124c252b0209cff5bdc1cf3d2ac6f1dcff6dc | diff --git a/src/VR.js b/src/VR.js
index <HASH>..<HASH> 100644
--- a/src/VR.js
+++ b/src/VR.js
@@ -676,6 +676,10 @@ function getGamepads(window) {
}
};
GlobalContext.getGamepads = getGamepads;
+function clearGamepads() {
+ gamepads = null;
+}
+GlobalContext.clearGamepads = clearGamepads;
module.exports = {
... | Clear gamepads on request/exit present | exokitxr_exokit | train | js,js |
a128f5650bf33df08f92c5b82890076b163b9ec7 | diff --git a/lib/alchemy/i18n.rb b/lib/alchemy/i18n.rb
index <HASH>..<HASH> 100644
--- a/lib/alchemy/i18n.rb
+++ b/lib/alchemy/i18n.rb
@@ -29,7 +29,7 @@ module Alchemy
#
def self.t(msg, *args)
options = args.extract_options!
- options[:default] = options[:default] ? options[:default] : msg
+ options[:def... | Fixes translation of element and cell names | AlchemyCMS_alchemy_cms | train | rb |
34a5adf0075168a0f46adef585bb28c38848e69f | diff --git a/src/jquery-ui-datepicker.js b/src/jquery-ui-datepicker.js
index <HASH>..<HASH> 100644
--- a/src/jquery-ui-datepicker.js
+++ b/src/jquery-ui-datepicker.js
@@ -74,6 +74,7 @@ function init(Survey, $) {
if (!!question.maxDate) {
config.maxDate = question.maxDate;
}
+ config.disabled... | datepicker is not disabled if question is read-only #<I> | surveyjs_widgets | train | js |
753784258bd7768d9047eb27b5425071d69453d7 | diff --git a/cumulusci/tasks/bulkdata/generate_from_yaml.py b/cumulusci/tasks/bulkdata/generate_from_yaml.py
index <HASH>..<HASH> 100644
--- a/cumulusci/tasks/bulkdata/generate_from_yaml.py
+++ b/cumulusci/tasks/bulkdata/generate_from_yaml.py
@@ -67,6 +67,7 @@ class GenerateDataFromYaml(BaseGenerateDataTask):
... | Convert num_records to a number if provided as str | SFDO-Tooling_CumulusCI | train | py |
795c89aa165ddd92a3e33388aaa00bf696bb7d60 | diff --git a/client/state/site-settings/actions.js b/client/state/site-settings/actions.js
index <HASH>..<HASH> 100644
--- a/client/state/site-settings/actions.js
+++ b/client/state/site-settings/actions.js
@@ -14,7 +14,6 @@ import {
} from 'calypso/state/action-types';
import { normalizeSettings } from './utils';
... | Data Layer: Move the home settings import to sites (#<I>)
Move the site's homepage settings data layer import from `site-settings` to `sites`. | Automattic_wp-calypso | train | js,js |
a04f2e47f89b84072c39c024d3fecbe7e57d5e4c | diff --git a/pepper8/pepper8.py b/pepper8/pepper8.py
index <HASH>..<HASH> 100644
--- a/pepper8/pepper8.py
+++ b/pepper8/pepper8.py
@@ -11,9 +11,9 @@ from generator import HtmlGenerator
from parser import Parser
-def main(args=None):
+def main(arguments=None):
- args = args or argv
+ args = arguments or arg... | Revert some changes with unwanted side-effects | myth_pepper8 | train | py |
b2923d41fd05e6cffe8b01c4b7516f40ffc21a42 | diff --git a/tests/test_sqlview.py b/tests/test_sqlview.py
index <HASH>..<HASH> 100644
--- a/tests/test_sqlview.py
+++ b/tests/test_sqlview.py
@@ -62,18 +62,7 @@ name,code,attr\n
assert isinstance(row, dict)
assert row == expected[index]
-
-def test_get_sqlview_criteria(api, sql_view_view):
- wit... | Remove sql view e2e test
... as it can let the build fail due to people modifying the play servers | davidhuser_dhis2.py | train | py |
47fab42883733c883f012b6eaef6fb6ed0c2069e | diff --git a/desktop/npm-helper.js b/desktop/npm-helper.js
index <HASH>..<HASH> 100644
--- a/desktop/npm-helper.js
+++ b/desktop/npm-helper.js
@@ -134,7 +134,7 @@ const commands = {
env: {HOT: 'true', USING_DLL: 'true'},
nodeEnv: 'development',
nodePathDesktop: true,
- shell: `webpack-dashboard -- ${n... | Add flag to disable webpack-dashboard | keybase_client | train | js |
0eb358784d31560f583b9d25ebe1378e22a6c564 | diff --git a/lib/viiite/bdb/cached.rb b/lib/viiite/bdb/cached.rb
index <HASH>..<HASH> 100644
--- a/lib/viiite/bdb/cached.rb
+++ b/lib/viiite/bdb/cached.rb
@@ -1,14 +1,13 @@
module Viiite
class BDB
- class Cached < Delegator
+ class Cached < SimpleDelegator
include Utils
- attr_reader :__getobj__... | Here comes super delegate !
* SimpleDelegator is, well, simpler than Delegator
* We are inheriting, so super is nice | blambeau_viiite | train | rb |
b09f3286a1f6caa874cc2e5367f8b1f5aa9cb9b9 | diff --git a/lib/fileUtils.js b/lib/fileUtils.js
index <HASH>..<HASH> 100644
--- a/lib/fileUtils.js
+++ b/lib/fileUtils.js
@@ -51,7 +51,13 @@ fileUtils.mkpath = function mkpath(dir, permissions, cb) {
var parentDir = path.normalize(dir + "/..");
if (parentDir !== '/' && parentDir !== '') {
... | fileUtils.mkpath: Attempt to fix async race condition. | assetgraph_assetgraph | train | js |
de67c88b92719746b0a3ca09008010562bf325df | diff --git a/lib/activation.php b/lib/activation.php
index <HASH>..<HASH> 100644
--- a/lib/activation.php
+++ b/lib/activation.php
@@ -15,7 +15,7 @@ function roots_theme_activation_options_init() {
}
add_action('admin_init', 'roots_theme_activation_options_init');
-function roots_activation_options_page_capability(... | Removing dead variables in activation | roots_sage | train | php |
05ec9fa64395e67c054451cab1c0b1a8f70ea7f1 | diff --git a/ph-commons/src/main/java/com/helger/commons/io/watchdir/WatchDir.java b/ph-commons/src/main/java/com/helger/commons/io/watchdir/WatchDir.java
index <HASH>..<HASH> 100644
--- a/ph-commons/src/main/java/com/helger/commons/io/watchdir/WatchDir.java
+++ b/ph-commons/src/main/java/com/helger/commons/io/watchdir... | Added runAsyncAndReturn | phax_ph-commons | train | java |
75a4ad39cf43a0fb79bd718ecc6f40ef39c30c87 | diff --git a/plugins/fontsize/trumbowyg.fontsize.js b/plugins/fontsize/trumbowyg.fontsize.js
index <HASH>..<HASH> 100644
--- a/plugins/fontsize/trumbowyg.fontsize.js
+++ b/plugins/fontsize/trumbowyg.fontsize.js
@@ -86,24 +86,18 @@
value: '48px'
}
... | Removed console.logs and comments | Alex-D_Trumbowyg | train | js |
132268d4d6a1422fe9659561047fdb8718c2cb60 | diff --git a/bin/php-cs-fixer-config.php b/bin/php-cs-fixer-config.php
index <HASH>..<HASH> 100644
--- a/bin/php-cs-fixer-config.php
+++ b/bin/php-cs-fixer-config.php
@@ -57,6 +57,7 @@ return
'single_blank_line_before_namespace',
'single_quotes',
'standardize_not_equal',
+ ... | Added 'ternary_spaces' | sabre-io_cs | train | php |
bc02c15fd1f0e003fa512d89662c7cdff2d71359 | diff --git a/cli/container.go b/cli/container.go
index <HASH>..<HASH> 100644
--- a/cli/container.go
+++ b/cli/container.go
@@ -145,11 +145,14 @@ func createContainer(options runvOptions, vm *hypervisor.Vm, container, bundle,
}
func deleteContainer(vm *hypervisor.Vm, root, container string, force bool, spec *specs.... | check container from vm.ContainerList in delete | hyperhq_runv | train | go |
9764c40735d9e7c61d6577e81780e214116a2f66 | diff --git a/tests/lib/cli/FlagTest.php b/tests/lib/cli/FlagTest.php
index <HASH>..<HASH> 100644
--- a/tests/lib/cli/FlagTest.php
+++ b/tests/lib/cli/FlagTest.php
@@ -90,8 +90,9 @@ class FlagTest extends PHPUnit_Framework_TestCase
public function testToString()
{
$this->object = new Flag('-f', 'Flag');
- ... | Fix flag string form test
Output formatting now depends on the environment and not a fixed number
of tabs. Consequently we only test to assure that the values are
actually present and will correspond to a line in the console. | wsdl2phpgenerator_wsdl2phpgenerator | train | php |
d2785fae74533d69e430ae0bd893297d45263301 | diff --git a/wepay.php b/wepay.php
index <HASH>..<HASH> 100755
--- a/wepay.php
+++ b/wepay.php
@@ -116,7 +116,7 @@ class WePay {
$ch = curl_init();
curl_setopt($ch, CURLOPT_USERAGENT, 'WePay v2 PHP SDK v' . self::VERSION);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
- curl_setopt($ch, CURLOPT_TIMEOUT, 5);... | increase CURLOPT_TIMEOUT to <I> seconds so that CC tokenization /checkout/create calls have time to do synchronous credit card authorization | wepay_PHP-SDK | train | php |
26d982ae54f11348e1ef14ae5506709ff17f6ab7 | diff --git a/src/java/com/threerings/presents/data/PermissionPolicy.java b/src/java/com/threerings/presents/data/PermissionPolicy.java
index <HASH>..<HASH> 100644
--- a/src/java/com/threerings/presents/data/PermissionPolicy.java
+++ b/src/java/com/threerings/presents/data/PermissionPolicy.java
@@ -35,6 +35,10 @@ public... | Document those so eclipse with strict docbook warnings doesn't get
cranky that they're never used.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@<I> <I>f4-<I>e9-<I>-aa3c-eee0fc<I>fb1 | threerings_narya | train | java |
d504d130ca5119e2d22abf79e3a87e9a47255aed | diff --git a/src/collectors/memory/memory.py b/src/collectors/memory/memory.py
index <HASH>..<HASH> 100644
--- a/src/collectors/memory/memory.py
+++ b/src/collectors/memory/memory.py
@@ -103,8 +103,14 @@ class MemoryCollector(diamond.collector.Collector):
self.log.error('No memory metrics retrieved')
... | Use psutil.virtual_memory() and psutil.swap_memory() to monitor the actual system memory usage
psutil.phymem_usage() and psutil.virtmem_usage() are deprecated.
Instead we now have psutil.virtual_memory() and psutil.swap_memory(),
which should provide all the necessary pieces to monitor the actual
system memory usage, ... | python-diamond_Diamond | train | py |
4f6113ab68bf3f02fab19994e385f28680de68c7 | diff --git a/lib/devise/controllers/helpers.rb b/lib/devise/controllers/helpers.rb
index <HASH>..<HASH> 100644
--- a/lib/devise/controllers/helpers.rb
+++ b/lib/devise/controllers/helpers.rb
@@ -96,13 +96,13 @@ module Devise
#
# map.user_root '/users', :controller => 'users' # creates user_root_path
... | Fix docs about after_sign_in_path_for and routes | plataformatec_devise | train | rb |
f51d27f0b3d69a993b42dcf7f34b9a6f478a5c5d | diff --git a/flask_googlelogin.py b/flask_googlelogin.py
index <HASH>..<HASH> 100644
--- a/flask_googlelogin.py
+++ b/flask_googlelogin.py
@@ -72,16 +72,17 @@ class GoogleLogin(object):
# TODO: Proper exception handling
return
- return userinfo
+ return userinfo, credentials
... | Include credentials in oauth2callback kwargs | insynchq_flask-googlelogin | train | py |
ddb4d64165fb6fecbb85dcbcf6640583a95005c4 | diff --git a/sonar-batch/src/main/java/org/sonar/batch/DefaultProfileLoader.java b/sonar-batch/src/main/java/org/sonar/batch/DefaultProfileLoader.java
index <HASH>..<HASH> 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/DefaultProfileLoader.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/DefaultProfileLoade... | SONAR-<I> Fail when sonar.profile is used in a multi-language project | SonarSource_sonarqube | train | java |
815c48cc9e31c3d4edcf67fb22063a853b8a58ce | diff --git a/mousedb/data/api.py b/mousedb/data/api.py
index <HASH>..<HASH> 100644
--- a/mousedb/data/api.py
+++ b/mousedb/data/api.py
@@ -238,6 +238,7 @@ The response (in either JSON or XML) provides the following fields for each obje
from tastypie.resources import ModelResource
from tastypie.authentication import A... | Added filtering to data API. Part of issue #3 | davebridges_mousedb | train | py |
0ab275eb357d2ec75f3eec9fae185b810312a096 | diff --git a/spec/cases/graph_api_spec.rb b/spec/cases/graph_api_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/cases/graph_api_spec.rb
+++ b/spec/cases/graph_api_spec.rb
@@ -60,10 +60,6 @@ describe 'Koala::Facebook::GraphAPIMethods' do
end
describe "the appsecret_proof argument" do
- after do
- Koala.i... | Clean up full config after each testcase | arsduo_koala | train | rb,rb |
f83fb5843473df49c7fb3cf1cd28502ad6d9800f | diff --git a/node_modules/generator-xtc/app/index.js b/node_modules/generator-xtc/app/index.js
index <HASH>..<HASH> 100644
--- a/node_modules/generator-xtc/app/index.js
+++ b/node_modules/generator-xtc/app/index.js
@@ -326,6 +326,7 @@ XtcGenerator.prototype.copyFiles = function copyFiles() {
// Helpers
this.mkd... | Need to create local helpers.js file in project. | MarcDiethelm_xtc | train | js |
9584e81f9057eb176968290de73deb66a98aa6db | diff --git a/pylti/flask.py b/pylti/flask.py
index <HASH>..<HASH> 100644
--- a/pylti/flask.py
+++ b/pylti/flask.py
@@ -85,7 +85,7 @@ class LTI(object):
def _verify_any(self):
"""
- Verify is request is in session or initial request
+ Verify that request is in session or initial request
... | removed contents.rst, moved its toc to index.rst. Removed multiple additional files that we don't use. Moved the license.rst file to the docs directory. | mitodl_pylti | train | py |
71ec6e398122b6bd5ea271d44c46b99564a34d5b | diff --git a/tests/Whoops/RunTest.php b/tests/Whoops/RunTest.php
index <HASH>..<HASH> 100755
--- a/tests/Whoops/RunTest.php
+++ b/tests/Whoops/RunTest.php
@@ -79,6 +79,26 @@ class RunTest extends TestCase
}
/**
+ * @expectedException InvalidArgumentException
+ * @covers Whoops\Run::pushHandler
+ ... | Improve Whoops\Run test coverage | filp_whoops | train | php |
446acdcdb56220f326cf372c8aff39e7c2b117b6 | diff --git a/commands/http/parse.go b/commands/http/parse.go
index <HASH>..<HASH> 100644
--- a/commands/http/parse.go
+++ b/commands/http/parse.go
@@ -1,6 +1,7 @@
package http
import (
+ "errors"
"net/http"
"strings"
@@ -9,7 +10,11 @@ import (
// Parse parses the data in a http.Request and returns a comman... | commands/http: Ensure request URLs start with expected prefix | ipfs_go-ipfs | train | go |
0688176886684b11282cfff1fce89b4e7428ad8b | diff --git a/lib/Auth/Basic.php b/lib/Auth/Basic.php
index <HASH>..<HASH> 100644
--- a/lib/Auth/Basic.php
+++ b/lib/Auth/Basic.php
@@ -318,13 +318,16 @@ class Auth_Basic extends AbstractController {
} elseif (strlen($hash)==40) {
$this->password_encryption='sha1';
... | improve compatibility in new Auth implementation | atk4_atk4 | train | php |
3bbf672936533d564542e2bb28c3e91a243b5096 | diff --git a/src/Kunstmaan/MediaBundle/Helper/File/FileHandler.php b/src/Kunstmaan/MediaBundle/Helper/File/FileHandler.php
index <HASH>..<HASH> 100644
--- a/src/Kunstmaan/MediaBundle/Helper/File/FileHandler.php
+++ b/src/Kunstmaan/MediaBundle/Helper/File/FileHandler.php
@@ -115,10 +115,19 @@ class FileHandler extends A... | [MediaBundle] avoid passing null to php method | Kunstmaan_KunstmaanBundlesCMS | train | php |
516238cf7207f346e092993173762eba2ea47941 | diff --git a/src/directives/ripple.js b/src/directives/ripple.js
index <HASH>..<HASH> 100644
--- a/src/directives/ripple.js
+++ b/src/directives/ripple.js
@@ -43,8 +43,8 @@ function showRipple (evt, el, stopPropagation) {
function shouldAbort ({mat, ios}) {
return (
- (mat && __THEME__ === 'mat') ||
- (ios ... | fix: Ripple shouldAbort | quasarframework_quasar | train | js |
9ed54d2d46975436da8a656c8a3acf4510722133 | diff --git a/index.js b/index.js
index <HASH>..<HASH> 100644
--- a/index.js
+++ b/index.js
@@ -47,7 +47,7 @@ function merge (dest, src, redefine) {
Object.getOwnPropertyNames(src).forEach(function forEachOwnPropertyName (name) {
if (!redefine && hasOwnProperty.call(dest, name)) {
- // Skip desriptor
+ ... | Fix typo in code comment
closes #6 | component_merge-descriptors | train | js |
40cbc26643242483b04d39f1261623162c934600 | diff --git a/admin/config.php b/admin/config.php
index <HASH>..<HASH> 100644
--- a/admin/config.php
+++ b/admin/config.php
@@ -109,6 +109,7 @@
print_simple_box_start('center');
echo '<form method="post" action="config.php" name="form">';
+ echo '<center><input type="submit" value="'.get_string('savec... | Merged from MOODLE_<I>_STABLE. | moodle_moodle | train | php |
8a35b37d6885a03fad4ec88a4595c31c5731ad58 | diff --git a/components/select/select.gemini.js b/components/select/select.gemini.js
index <HASH>..<HASH> 100644
--- a/components/select/select.gemini.js
+++ b/components/select/select.gemini.js
@@ -1,5 +1,7 @@
/* global gemini: false */
+const TOLERANCE_OVERRIDE_BECAUSE_OF_EDGE = 3.5;
+
gemini.suite('Select', () =... | Increase tolerance for select popup test to (hopefully) get rid of flakiness | JetBrains_ring-ui | train | js |
f10eb1bf9dd3466a14d0f6cd425985658eb88533 | diff --git a/src/main/java/com/bladecoder/ink/runtime/StoryState.java b/src/main/java/com/bladecoder/ink/runtime/StoryState.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/bladecoder/ink/runtime/StoryState.java
+++ b/src/main/java/com/bladecoder/ink/runtime/StoryState.java
@@ -106,7 +106,7 @@ public class Stor... | C# ref. commit: Better cloning of the original callstack | bladecoder_blade-ink | train | java |
de4b774134ed671451a6b44c5d8628a227bf25c4 | diff --git a/thefuck/rules/sudo.py b/thefuck/rules/sudo.py
index <HASH>..<HASH> 100644
--- a/thefuck/rules/sudo.py
+++ b/thefuck/rules/sudo.py
@@ -3,7 +3,8 @@ patterns = ['permission denied',
'pkg: Insufficient privileges',
'you cannot perform this operation unless you are root',
... | Added a string which could be thrown by Fedora's new dnf package manager. | nvbn_thefuck | train | py |
ec0bf541b74b63dc29fcd96408c42c41402798d6 | diff --git a/singularity/package/build.py b/singularity/package/build.py
index <HASH>..<HASH> 100644
--- a/singularity/package/build.py
+++ b/singularity/package/build.py
@@ -27,8 +27,9 @@ SOFTWARE.
from singularity.logger import bot
+from .utils import calculate_folder_size
+
from singularity.utils import (
- ... | modified: singularity/package/build.py | singularityhub_singularity-python | train | py |
5d0313e4e002e4a555f4deebdbd698dffc85f3cd | diff --git a/tests/integration/adapters/pouch-basics-test.js b/tests/integration/adapters/pouch-basics-test.js
index <HASH>..<HASH> 100644
--- a/tests/integration/adapters/pouch-basics-test.js
+++ b/tests/integration/adapters/pouch-basics-test.js
@@ -407,6 +407,25 @@ test('eventually consistency - deleted', function (a... | test re-entrant _init | pouchdb-community_ember-pouch | train | js |
7e58506edb7641e80fe23c1aec45ae3f051a7cb7 | diff --git a/NavigationReactNative/src/android/app/src/main/java/com/navigation/reactnative/NavigationStackView.java b/NavigationReactNative/src/android/app/src/main/java/com/navigation/reactnative/NavigationStackView.java
index <HASH>..<HASH> 100644
--- a/NavigationReactNative/src/android/app/src/main/java/com/navigat... | Started when attached to window
Doesn't seem right to put in onLayout because that can be calleed multiple times? | grahammendick_navigation | train | java |
c3a699ecc8a014d1a36c1a21c5468f55bec56ee3 | diff --git a/lib/geocoder/stores/active_record.rb b/lib/geocoder/stores/active_record.rb
index <HASH>..<HASH> 100644
--- a/lib/geocoder/stores/active_record.rb
+++ b/lib/geocoder/stores/active_record.rb
@@ -183,7 +183,7 @@ module Geocoder::Store
##
# Generate the SELECT clause.
#
- def select_... | Allow bearing to be omitted. | alexreisner_geocoder | train | rb |
a29bd4a04d29f5cf5d0288961d0e515fff0d910c | diff --git a/DataFixtures/ORM/LoadProducerData.php b/DataFixtures/ORM/LoadProducerData.php
index <HASH>..<HASH> 100755
--- a/DataFixtures/ORM/LoadProducerData.php
+++ b/DataFixtures/ORM/LoadProducerData.php
@@ -13,8 +13,8 @@
namespace WellCommerce\Bundle\ProducerBundle\DataFixtures\ORM;
use Doctrine\Common\Persiste... | Insight fixes
(cherry picked from commit <I>ad<I>b<I>bbccd<I>a9eaf2f<I>dab<I>e<I>a) | WellCommerce_WishlistBundle | train | php |
8add30cfe406cc38d83318d187b62eea971015ae | diff --git a/test/test.js b/test/test.js
index <HASH>..<HASH> 100644
--- a/test/test.js
+++ b/test/test.js
@@ -31,9 +31,8 @@ multiKeyValue.SHIBA = {
describe('file loading methods', function() {
it('should load as a Buffer', function() {
- fs.readFile('./test/files/basic_keyvalue.xlsx', 'utf8', function(err, f... | Wasn't actually testing for Buffer (<I>) | rdmurphy_node-copytext | train | js |
367db80cf6cae1bd488074d5a3967a7f0b162532 | diff --git a/src/layer/vector/MultiPoly.js b/src/layer/vector/MultiPoly.js
index <HASH>..<HASH> 100644
--- a/src/layer/vector/MultiPoly.js
+++ b/src/layer/vector/MultiPoly.js
@@ -10,10 +10,18 @@
for (var i = 0, len = latlngs.length; i < len; i++) {
this.addLayer(new klass(latlngs[i], options));
}
+ ... | Added setStyle method for MultiPolyLine and MultiPolygon. | axyjo_leaflet-rails | train | js |
092dcfa4183fd977a5b838ffe6d0f80c09125cc2 | diff --git a/my/index.php b/my/index.php
index <HASH>..<HASH> 100644
--- a/my/index.php
+++ b/my/index.php
@@ -18,7 +18,7 @@
print_header($mymoodlestr);
notice_yesno(get_string('noguest', 'my').'<br /><br />'.get_string('liketologin'),
- $wwwroot, $_SERVER['HTTP_REFERER']);
+ ... | In the case of my moodle we don't want to redirect to referrer on 'no',
referrer will <I>% of the time be the my moodle page. Redirect to wwwroot
instead | moodle_moodle | train | php |
aa2878607a9d5b26dd0dc2309b70c04c5ed679ee | diff --git a/src/Helpers/functions.php b/src/Helpers/functions.php
index <HASH>..<HASH> 100644
--- a/src/Helpers/functions.php
+++ b/src/Helpers/functions.php
@@ -1,20 +1,20 @@
<?php
if (! function_exists('class_uses_trait')) {
+ /**
+ * @param $class
+ * @param $trait
+ *
+ * @return bool
+ ... | Optimize class_uses_trait method | sebastiaanluca_laravel-router | train | php |
4c926493cf6a7f6825a891b0f377fcf6c2c9b1cb | diff --git a/core/java/com/google/census/MetricMap.java b/core/java/com/google/census/MetricMap.java
index <HASH>..<HASH> 100644
--- a/core/java/com/google/census/MetricMap.java
+++ b/core/java/com/google/census/MetricMap.java
@@ -19,7 +19,7 @@ import java.util.Iterator;
/**
* A map from Census metric names to metri... | Makes MetricMap and its builder final. Fixes #<I>. | census-instrumentation_opencensus-java | train | java |
4fd6bdeaf24b9478cf4d4bf9f8fd3f8c19ba78cf | diff --git a/salt/pillar/mysql.py b/salt/pillar/mysql.py
index <HASH>..<HASH> 100644
--- a/salt/pillar/mysql.py
+++ b/salt/pillar/mysql.py
@@ -59,7 +59,6 @@ from contextlib import contextmanager
import logging
# Import Salt libs
-import salt.utils
from salt.pillar.sql_base import SqlBaseExtPillar
# Set up loggi... | Removed deprecated pillar/mysql.py code | saltstack_salt | train | py |
2f49e023969a1382b6162c199cb94485af3a2c02 | diff --git a/src/stylelint-config-recommended/index.js b/src/stylelint-config-recommended/index.js
index <HASH>..<HASH> 100644
--- a/src/stylelint-config-recommended/index.js
+++ b/src/stylelint-config-recommended/index.js
@@ -12,6 +12,5 @@ module.exports = {
true,
{ "ignore": [ "consecutive-duplicates-wi... | Removed: ``declaration-block-no-ignored-properties`` has been removed from our ``stylelint`` preset because this rule is not reliable (and deprecated)
Closes #<I> | phenomic_phenomic | train | js |
78d04c1e75f4b6ca8a4f7ebb363edc47eec645f8 | diff --git a/addon/components/file-dropzone/component.js b/addon/components/file-dropzone/component.js
index <HASH>..<HASH> 100644
--- a/addon/components/file-dropzone/component.js
+++ b/addon/components/file-dropzone/component.js
@@ -1,12 +1,13 @@
import Ember from 'ember';
import layout from './template';
import D... | use uuid instead of symbol | adopted-ember-addons_ember-file-upload | train | js |
4839c3c82aef2aff1961c229a7ab66e74a0e03a2 | diff --git a/src/test/java/org/mapdb/StoreArchiveTest.java b/src/test/java/org/mapdb/StoreArchiveTest.java
index <HASH>..<HASH> 100644
--- a/src/test/java/org/mapdb/StoreArchiveTest.java
+++ b/src/test/java/org/mapdb/StoreArchiveTest.java
@@ -147,6 +147,7 @@ public class StoreArchiveTest {
assertTrue(source.... | StoreArchiveTest: delete testing files | jankotek_mapdb | train | java |
47556a441b052da48a29881b98ff76fefe7b6e76 | diff --git a/test/integration/assets_test.js b/test/integration/assets_test.js
index <HASH>..<HASH> 100644
--- a/test/integration/assets_test.js
+++ b/test/integration/assets_test.js
@@ -16,7 +16,7 @@ describe('Configuration assets:', function() {
var testCWD = "test/integration/fixtures/assets_test";
afterEach... | USXP-<I> added result clearing after test | Galeria-Kaufhof_stylegen | train | js |
cd49148d80a3bae6c600b18ce11f8a6263ab9bad | diff --git a/lib/Pingpp/WxpubOAuth.php b/lib/Pingpp/WxpubOAuth.php
index <HASH>..<HASH> 100644
--- a/lib/Pingpp/WxpubOAuth.php
+++ b/lib/Pingpp/WxpubOAuth.php
@@ -3,7 +3,8 @@
/**
* 用于微信公众号OAuth2.0鉴权,用户授权后获取授权用户唯一标识openid
- * WxpubOAuth中的方法都是可选的,开发者也可根据实际情况自行开发相关功能
+ * WxpubOAuth中的方法都是可选的,开发者也可根据实际情况自行开发相关功能,
+ * 详... | Add comment in WxpubOAuth | PingPlusPlus_pingpp-php | train | php |
273d2cf52c53f7ae6630ae50336bdfa4a015c4e2 | diff --git a/controller/RestTest.php b/controller/RestTest.php
index <HASH>..<HASH> 100644
--- a/controller/RestTest.php
+++ b/controller/RestTest.php
@@ -109,11 +109,17 @@ class RestTest extends RestController
*/
private function getParameter(string $name, $default = null): ?string
{
- if (!isse... | Update controller/RestTest.php | oat-sa_extension-tao-delivery-rdf | train | php |
490426a1b7eaaf982b12b8a2228773bd3b3877e2 | diff --git a/structr-core/src/main/java/org/structr/core/entity/LinkedListNode.java b/structr-core/src/main/java/org/structr/core/entity/LinkedListNode.java
index <HASH>..<HASH> 100644
--- a/structr-core/src/main/java/org/structr/core/entity/LinkedListNode.java
+++ b/structr-core/src/main/java/org/structr/core/entity/L... | inherit from new ValidatedNode class | structr_structr | train | java |
78b8353d51ebb54195e68112076840be93a30704 | diff --git a/salt/modules/match.py b/salt/modules/match.py
index <HASH>..<HASH> 100644
--- a/salt/modules/match.py
+++ b/salt/modules/match.py
@@ -36,6 +36,15 @@ def compound(tgt, minion_id=None):
.. code-block:: bash
salt '*' match.compound 'L@cheese,foo and *'
+
+ delimiter
+ Pillar Example:
+
+... | Document how to use ipcidr in pillar | saltstack_salt | train | py |
04319b3c1c48f33200598a7729df56112619f56a | diff --git a/version.php b/version.php
index <HASH>..<HASH> 100644
--- a/version.php
+++ b/version.php
@@ -7,7 +7,7 @@
$version = 2003082800; // The current version is a date (YYYYMMDDXX)
-$release = "1.1 -"; // User-friendly version number
+$release = "1.1"; // User-friendly version number
?> | Not quite ready, but anyone trying the Beta at this stage will probably
not need to upgrade. | moodle_moodle | train | php |
Subsets and Splits
Java Commits in Train Set
Queries for all entries where the diff_languages column is 'java', providing a filtered dataset but without deeper analysis.
Java Commits Test Data
Returns a subset of 5000 entries from the dataset where the programming language difference is Java, providing basic filtering for exploration.
Java Commits Sample
Retrieves the first 1,000 records where the 'diff_languages' column is 'java', providing limited insight into the specific data entries.
Java Commits Validation Sample
Retrieves a sample of entries from the validation dataset where the diff languages are Java, providing limited insight into specific Java-related data points.
Java Commits in Validation
This query retrieves a limited sample of entries from the validation dataset where the programming language difference is Java, providing basic filtering with minimal insight.
Java Commits Sample
This query retrieves a sample of 100 records where the 'diff_languages' is 'java', providing basic filtering but limited analytical value.
Java Commits Sample
Retrieves 100 samples where the language difference is Java, providing basic filtering but minimal analytical value.
Java Commits Sample
Retrieves 10 samples where the diff_languages column is 'java', providing basic examples of data entries with this specific language.
Java Commits Validation Sample
Retrieves 1,000 records where the differences in languages are marked as Java, providing a snapshot of that specific subset but limited to raw data.
Java Commits Sample
This query retrieves 1000 random samples from the dataset where the programming language is Java, offering limited insight beyond raw data.