lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
apache-2.0
66ea5b16a48e58d5cc14d99c7e7311a412432216
0
spinnaker/clouddriver,ajordens/clouddriver,ajordens/clouddriver,ajordens/clouddriver,ajordens/clouddriver,spinnaker/clouddriver,spinnaker/clouddriver
/* * Copyright 2020 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
clouddriver-aws/src/main/groovy/com/netflix/spinnaker/clouddriver/aws/provider/config/ProviderHelpers.java
/* * Copyright 2020 Netflix, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
fix(aws): Always index private images for an account (#5036) Corrects a regression from spinnaker/clouddriver#5004 where we did not consistently index private images across all accounts.
clouddriver-aws/src/main/groovy/com/netflix/spinnaker/clouddriver/aws/provider/config/ProviderHelpers.java
fix(aws): Always index private images for an account (#5036)
<ide><path>louddriver-aws/src/main/groovy/com/netflix/spinnaker/clouddriver/aws/provider/config/ProviderHelpers.java <ide> newlyAddedAgents.add( <ide> new LaunchConfigCachingAgent( <ide> amazonClientProvider, credentials, region.getName(), objectMapper, registry)); <del> boole...
Java
apache-2.0
0b976a226ecd617e023a38b63f03c072303f3ab3
0
oxmcvusd/lemon,mosoft521/lemon,izerui/lemon,yinhe402/lemon,lilitao/lemon,NichenLg/lemon,izerui/lemon,dazhi2010/lemon,AWendy/lemon,zp994188707/lemon-OA,hutea/lemon,langhsu/lemon,mosoft521/lemon,07033320a/lemon,xingstarx/lemon,glpenghui/lemon,wzguo/lemon,yinhe402/lemon,glpenghui/lemon,mlc0202/lemon,zp994188707/lemon-OA,x...
package com.mossle.form.web.form; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import com.mossle.bpm.FormInfo; import com.mossle.bpm.cmd.CompleteTaskWithCommentCmd; import com.mossle.bpm.cmd.FindStartFormCmd; import com.mossle.bpm.cmd.Find...
src/main/java/com/mossle/form/web/form/FormAction.java
package com.mossle.form.web.form; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import com.mossle.bpm.FormInfo; import com.mossle.bpm.cmd.CompleteTaskWithCommentCmd; import com.mossle.bpm.cmd.FindStartFormCmd; import com.mossle.bpm.cmd.Find...
#34 限制只把当前表单填写的数据设置到流程变量里,这样可以避免之前表单设置的变量被覆盖,覆盖时因为读取不到类型,导致转换失败
src/main/java/com/mossle/form/web/form/FormAction.java
#34 限制只把当前表单填写的数据设置到流程变量里,这样可以避免之前表单设置的变量被覆盖,覆盖时因为读取不到类型,导致转换失败
<ide><path>rc/main/java/com/mossle/form/web/form/FormAction.java <ide> if ("userPicker".equals(formType)) { <ide> processParameters.put(key, <ide> new ArrayList(Arrays.asList(value.split(",")))); <del> } else { <add> } else if (formType != null) ...
Java
apache-2.0
b6e158bafea3f1ddecebeb44f8a9c36f85eb4938
0
bayofmany/peapod,mohataher/peapod
/* * Copyright 2015 Bay of Many * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
core/src/test/java/peapod/FramedElementTest.java
/* * Copyright 2015 Bay of Many * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
refactored inheritance
core/src/test/java/peapod/FramedElementTest.java
refactored inheritance
<ide><path>ore/src/test/java/peapod/FramedElementTest.java <ide> @Before <ide> public void init() { <ide> v = g.addVertex(T.label, "Person", "name", "alice"); <del> graph = new FramedGraph(g); <del> person = graph.v(v.id(), Person.class); <add> graph = new FramedGraph(g, Person.clas...
Java
apache-2.0
b02e82c0da8de9bd6571d41f44208ff695de30cc
0
subutai-io/base,subutai-io/Subutai,subutai-io/base,subutai-io/Subutai,subutai-io/Subutai,subutai-io/Subutai,subutai-io/Subutai,subutai-io/base,subutai-io/Subutai,subutai-io/base
package org.safehaus.kiskis.mgmt.cli.commands; import org.apache.felix.gogo.commands.Command; import org.apache.karaf.shell.console.OsgiCommandSupport; import org.safehaus.kiskis.mgmt.api.cassandra.Cassandra; import org.safehaus.kiskis.mgmt.api.cassandra.Config; import org.safehaus.kiskis.mgmt.api.tracker.Tracker; im...
management/server/products/cassandra/cassandra-cli/src/main/java/org/safehaus/kiskis/mgmt/cli/commands/ListClustersCommand.java
package org.safehaus.kiskis.mgmt.cli.commands; import org.apache.felix.gogo.commands.Command; import org.apache.karaf.shell.console.OsgiCommandSupport; import org.safehaus.kiskis.mgmt.api.cassandra.Cassandra; import org.safehaus.kiskis.mgmt.api.cassandra.Config; import org.safehaus.kiskis.mgmt.api.tracker.Tracker; im...
Code refactor. Former-commit-id: b630b26edb5d1f6c8e048f764d26f4201e7c163b
management/server/products/cassandra/cassandra-cli/src/main/java/org/safehaus/kiskis/mgmt/cli/commands/ListClustersCommand.java
Code refactor.
<ide><path>anagement/server/products/cassandra/cassandra-cli/src/main/java/org/safehaus/kiskis/mgmt/cli/commands/ListClustersCommand.java <ide> /** <ide> * Displays the last log entries <ide> */ <del>@Command(scope = "cassandra", name = "list-clusters", description = "mydescription") <add>@Command(scope = "cassandra"...
Java
epl-1.0
6d30211514432cabdbcb616836a75918eecc747b
0
rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,Charling-Huang/birt,rrimmana/birt-1,Charling-Huang/birt,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt,rrimmana/birt-1,sguan-actuate/birt,rrimmana/birt-1,sguan-actuate/birt,Charling-Huang/birt
/*********************************************************************** * Copyright (c) 2004,2007 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available a...
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/html/HTMLTableLayoutEmitter.java
/*********************************************************************** * Copyright (c) 2004,2007 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available a...
Fixed Drop to detail makes PDF output not match Web Viewer 56654
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/html/HTMLTableLayoutEmitter.java
Fixed Drop to detail makes PDF output not match Web Viewer 56654
<ide><path>ngine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/html/HTMLTableLayoutEmitter.java <ide> IReportContent report = rowContent.getReportContent( ); <ide> ICellContent cellContent = report.createCellContent( ); <ide> cellContent.setParent( rowContent ); <del> cellConte...
Java
apache-2.0
b85e0d6348e9bddc11839fc9e4614bda153a9311
0
iservport/helianto,iservport/helianto
/* Copyright 2005 I Serv Consultoria Empresarial Ltda. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
helianto-inventory/src/main/java/org/helianto/inventory/AbstractRequirement.java
/* Copyright 2005 I Serv Consultoria Empresarial Ltda. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
Fixed cascading. git-svn-id: 8e38db1cf16c4a277275c2a31413431bbf4974e4@1472 d46e4f78-7810-0410-b419-9f95c2a9a517
helianto-inventory/src/main/java/org/helianto/inventory/AbstractRequirement.java
Fixed cascading.
<ide><path>elianto-inventory/src/main/java/org/helianto/inventory/AbstractRequirement.java <ide> * Usually a part or a process operation. <ide> * </p> <ide> */ <del> @ManyToOne(cascade = {CascadeType.PERSIST, CascadeType.MERGE}) <add> @ManyToOne(cascade = {CascadeType.ALL}) <ide> @JoinColumn(na...
Java
mit
e18a412e19a39e3e092f59c0ca1ade3a202b2737
0
typemeta/funcj,jon-hanson/funcj,jon-hanson/parsec4j
package org.typemeta.funcj.control; import org.typemeta.funcj.algebra.Monoid; import org.typemeta.funcj.functions.Functions; public interface Writer<T, W> { class Base<T, W> implements Writer<T, W> { final T value; final Monoid<W> monoid; final W written; public Base(T value, Mono...
core/src/main/java/org/typemeta/funcj/control/Writer.java
package org.typemeta.funcj.control; import org.typemeta.funcj.algebra.Monoid; import org.typemeta.funcj.functions.Functions; public abstract class Writer<T, W> { static <T, W> Writer<T, W> pure(T value, Monoid<W> monoid) { return new Writer<T, W>(value, monoid.zero()) { @Override M...
Minor tweaks.
core/src/main/java/org/typemeta/funcj/control/Writer.java
Minor tweaks.
<ide><path>ore/src/main/java/org/typemeta/funcj/control/Writer.java <ide> import org.typemeta.funcj.algebra.Monoid; <ide> import org.typemeta.funcj.functions.Functions; <ide> <del>public abstract class Writer<T, W> { <del> static <T, W> Writer<T, W> pure(T value, Monoid<W> monoid) { <del> return new Writer<T...
Java
apache-2.0
aa2742dab3300d7b15c53c7174c2f6dc04605cce
0
frank-rahn/microservices,frank-rahn/microservices,frank-rahn/microservices
/* * Copyright © 2015 by Frank W. Rahn. Alle Rechte vorbehalten. All rights reserved. */ package de.rahn.finances.commons.metrics; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.util.concurrent.TimeUnit.SECONDS; import static org.slf4j.LoggerFactory.getLogger; import javax.annotation.P...
securities-management/src/main/java/de/rahn/finances/commons/metrics/MetricsExporterService.java
/* * Copyright © 2015 by Frank W. Rahn. Alle Rechte vorbehalten. All rights reserved. */ package de.rahn.finances.commons.metrics; import static java.util.concurrent.TimeUnit.MILLISECONDS; import static java.util.concurrent.TimeUnit.SECONDS; import static org.slf4j.LoggerFactory.getLogger; import javax.annotation.P...
Kommentar erweitert
securities-management/src/main/java/de/rahn/finances/commons/metrics/MetricsExporterService.java
Kommentar erweitert
<ide><path>ecurities-management/src/main/java/de/rahn/finances/commons/metrics/MetricsExporterService.java <ide> import com.codahale.metrics.Snapshot; <ide> <ide> /** <del> * Diser Service exportiert die Metriken.<br> <add> * Diser Service exportiert die Dropwizard Metriken.<br> <ide> * <br> <ide> * In diesem Fall l...
Java
apache-2.0
5c65241583e2420e4b7931f8aaf510f75de7b654
0
ingorichtsmeier/camunda-bpm-platform,AlexMinsk/camunda-bpm-platform,camunda/camunda-bpm-platform,AlexMinsk/camunda-bpm-platform,AlexMinsk/camunda-bpm-platform,xasx/camunda-bpm-platform,ingorichtsmeier/camunda-bpm-platform,camunda/camunda-bpm-platform,plexiti/camunda-bpm-platform,subhrajyotim/camunda-bpm-platform,langfr...
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed ...
engine-rest/engine-rest/src/test/java/org/camunda/bpm/engine/rest/MigrationRestServiceInteractionTest.java
/* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed ...
fix(engine-rest): remove java 8 method usage related to CAM-5899
engine-rest/engine-rest/src/test/java/org/camunda/bpm/engine/rest/MigrationRestServiceInteractionTest.java
fix(engine-rest): remove java 8 method usage
<ide><path>ngine-rest/engine-rest/src/test/java/org/camunda/bpm/engine/rest/MigrationRestServiceInteractionTest.java <ide> if (processInstanceQuery != null) { <ide> verifyMigrationPlanExecutionProcessInstanceQuery(inOrder); <ide> } <del> Boolean skipCustomListeners = (Boolean) migrationExecution.getOrD...
Java
apache-2.0
73b06289e8e9c9edd0f257bd89321db61d85b9d3
0
rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin
/* * Copyright (C) 2016 Reece H. Dunn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
src/main/java/uk/co/reecedunn/intellij/plugin/xquery/functional/Option.java
/* * Copyright (C) 2016 Reece H. Dunn * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Implement FlatMap on the Option type.
src/main/java/uk/co/reecedunn/intellij/plugin/xquery/functional/Option.java
Implement FlatMap on the Option type.
<ide><path>rc/main/java/uk/co/reecedunn/intellij/plugin/xquery/functional/Option.java <ide> public abstract class Option<A> { <ide> public <B> Option<B> map(Function<? super A, ? extends B> f) { <ide> return isDefined() ? some(f.apply(get())) : none(); <add> } <add> <add> public <B> Option<B> flatMap(...
Java
agpl-3.0
6496992c7e2f722f8f54e0f8c23bd528b708a555
0
HeBIS-VZ/GndAuthorityRecords
/* * Copyright 2016, 2017 by HeBIS (www.hebis.de). * * This file is part of HeBIS project Gnd4Index. * * This is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or ...
src/de/hebis/it/hds/gnd/in/MarcXmlParser.java
/* * Copyright 2016, 2017 by HeBIS (www.hebis.de). * * This file is part of HeBIS project Gnd4Index. * * This is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or ...
replace with "&lt;" instead of "<" Stupid me :(
src/de/hebis/it/hds/gnd/in/MarcXmlParser.java
replace with "&lt;" instead of "<"
<ide><path>rc/de/hebis/it/hds/gnd/in/MarcXmlParser.java <ide> StringBuilder fullrecord = new StringBuilder(); <ide> // concat lines, omit unneeded whitespace characters and replace weird SOS ans EOS characters <ide> for (String line : recordAsListOfLines) { <del> fullrecord.append(line.trim()....
JavaScript
mit
32728f2a1250d2580da4b7050fa880a89ae1a4e9
0
smhg/express-locale
import 'babel-polyfill'; // lookup methods let lookups = { 'cookie': (req, options) => { if (req.cookies) { return req.cookies[options.cookie.name]; } }, 'domain': (req, options) => { if (options.map && options.map.domain && (req.hostname || req.host)) { return options.map.domain[req.host...
src/index.js
import 'babel-polyfill'; // lookup methods let lookups = { 'cookie': (req, options) => { if (req.cookies) { return req.cookies[options.cookie.name]; } }, 'domain': (req, options) => { if (options.map && options.map.domain && (req.hostname || req.host)) { return options.map.domain[req.host...
add language and region props to result (closes #1)
src/index.js
add language and region props to result (closes #1)
<ide><path>rc/index.js <ide> let locale = lookup(source, req, options); <ide> <ide> if (locale) { <add> let [language, region] = locale.split('_'); <add> <ide> req.locale = { <ide> code: locale, <del> source: source <add> source, <add> language, <add> ...
JavaScript
mit
d1e0c11f6831a39373685517b3da2f19224b7220
0
wq/wq.app,wq/wq.app,wq/wq.app
/*! * wq.app - app.js * Utilizes store and pages to dynamically load and render * content from a wq.db-compatible REST service * (c) 2012 S. Andrew Sheppard * http://wq.io/license */ define(['./lib/jquery', './lib/jquery.mobile', './store', './pages', './template', './spinner', './lib/es5-shim'],...
js/app.js
/*! * wq.app - app.js * Utilizes store and pages to dynamically load and render * content from a wq.db-compatible REST service * (c) 2012 S. Andrew Sheppard * http://wq.io/license */ define(['./lib/jquery', './lib/jquery.mobile', './store', './pages', './template', './spinner', './lib/es5-shim'],...
add config to template context
js/app.js
add config to template context
<ide><path>s/app.js <ide> pages.init(baseurl); <ide> tmpl.init(templates, templates.partials, config.defaults); <ide> tmpl.setDefault('native', app['native']); <add> tmpl.setDefault('app_config', app.config); <ide> <ide> if (app.can_login) { <ide> var user = ds.get('user'); <ide> ...
JavaScript
mit
e935418c0f3d6129bde324002fdab6adc1511a90
0
LordVonAdel/U-Singularity,LordVonAdel/U-Singularity
const Grid = require('./grid.js'); const Entity = require('./entity.js'); const fs = require('fs'); const mixtures = require('./mixtures.js'); const Bucket = require('./bucket.js'); const PowerSystem = require('./systems/power.js'); const Atmos = require('./systems/atmos.js'); //The constructor for a world instance f...
code/world.js
const Grid = require('./grid.js'); const Entity = require('./entity.js'); const fs = require('fs'); const mixtures = require('./mixtures.js'); const Bucket = require('./bucket.js'); const PowerSystem = require('./systems/power.js'); const Atmos = require('./systems/atmos.js'); //The constructor for a world instance f...
Added a missing comment
code/world.js
Added a missing comment
<ide><path>ode/world.js <ide> this.saveRegion(0, 0, this.width, this.height, filename); <ide> } <ide> <add>//saves a region of the world <ide> World.prototype.saveRegion = function(x, y, width, height, filename){ <ide> var obj = {}; <ide> var ret = false;
JavaScript
mit
bd070590e2680db0ddd30d8df1d8b9c9f67dea0b
0
rishabhdixit/woocommercePlugin,BuildFire/woocommercePlugin,rishabhdixit/woocommercePlugin,BuildFire/woocommercePlugin
var express = require('express') , WooCommerceAPI = require('woocommerce-api') , bodyParser = require('body-parser') , app = express() , cookieParser = require('cookie-parser') , session = require('express-session') , _Port = 3000 , env = process.env.NODE_ENV || 'development' , server = ...
server/index.js
var express = require('express') , WooCommerceAPI = require('woocommerce-api') , bodyParser = require('body-parser') , app = express() , cookieParser = require('cookie-parser') , session = require('express-session') , _Port = 3000 , env = process.env.NODE_ENV || 'development' , server = ...
Added check before parsing response
server/index.js
Added check before parsing response
<ide><path>erver/index.js <ide> getProductCategories(req, res); <ide> }); <ide> <add>function isJson(str) { <add> try { <add> JSON.parse(str); <add> } catch (e) { <add> return false; <add> } <add> return true; <add>} <add> <ide> app.get('/getProducts', function (req, res) { <ide> var ...
Java
mit
error: pathspec 'LeetCodeSolutions/java/src/98_Validate_Binary_Search_Tree/Solution.java' did not match any file(s) known to git
37302cbac976fdcd95fb00efd17776485c206031
1
ChuanleiGuo/AlgorithmsPlayground,ChuanleiGuo/AlgorithmsPlayground,ChuanleiGuo/AlgorithmsPlayground,ChuanleiGuo/AlgorithmsPlayground
public class TreeNode { int val; TreeNode left; TreeNode right; TreeNode(int x) { val = x; } } class Solution { public boolean isValidBST(TreeNode root) { return isValidBST(root, Long.MIN_VALUE, Long.MAX_VALUE); } private boolean isValidBST(TreeNode node, long minValue, long maxVal...
LeetCodeSolutions/java/src/98_Validate_Binary_Search_Tree/Solution.java
98. Validate Binary Search Tree
LeetCodeSolutions/java/src/98_Validate_Binary_Search_Tree/Solution.java
98. Validate Binary Search Tree
<ide><path>eetCodeSolutions/java/src/98_Validate_Binary_Search_Tree/Solution.java <add>public class TreeNode { <add> int val; <add> TreeNode left; <add> TreeNode right; <add> TreeNode(int x) { val = x; } <add>} <add> <add>class Solution { <add> public boolean isValidBST(TreeNode root) { <add> retu...
JavaScript
mit
26b0532fe2fea7641618d0c66d3dc0677c9fcf5f
0
kimgel/Impex
'use strict'; var mongoose = require('mongoose'), select = require('mongoose-json-select').select, fs = require('fs'), fmt = require('fmt'), _ = require('lodash'), moment = require('moment'), config = require('../../../config/credentials/aws'), multiparty = require('multiparty'), s3...
lib/modules/settings/regulatorydocuments/controller.js
'use strict'; var mongoose = require('mongoose'), select = require('mongoose-json-select').select, fs = require('fs'), fmt = require('fmt'), _ = require('lodash'), moment = require('moment'), config = require('../../../config/credentials/aws'), multiparty = require('multiparty'), s3...
removed some extra line breaks
lib/modules/settings/regulatorydocuments/controller.js
removed some extra line breaks
<ide><path>ib/modules/settings/regulatorydocuments/controller.js <ide> //List all Regulatory Documents <ide> exports.all = function(req, res) { <ide> var query = req.query.fields; <del> var columns = ( <del> query <del> ? query.replace(/\,/g, " ") //replace comma with whitespace to vali...
Java
apache-2.0
623a3622fdfd91f85ffbde5eee70a42a3c78622b
0
apache/incubator-taverna-workbench-common-activities
/******************************************************************************* * Copyright (C) 2009 The University of Manchester * * Modifications to the initial code base are copyright of their * respective authors, or their employers as appropriate. * * This program is free software; you can redistrib...
src/main/java/net/sf/taverna/t2/activities/spreadsheet/servicedescriptions/SpreadsheetImportTemplateService.java
/******************************************************************************* * Copyright (C) 2009 The University of Manchester * * Modifications to the initial code base are copyright of their * respective authors, or their employers as appropriate. * * This program is free software; you can redistrib...
Fix for T2-674: Hardcoded default locations. System default configurable providers are now read from a file in Taverna startup/conf directory. Failing that - they are read from a hard coded list. User can now import and export services from such files as well. git-svn-id: 0c3fe568c6fc21f6b564d51b719cf5d3bfeae51e@10041...
src/main/java/net/sf/taverna/t2/activities/spreadsheet/servicedescriptions/SpreadsheetImportTemplateService.java
Fix for T2-674: Hardcoded default locations. System default configurable providers are now read from a file in Taverna startup/conf directory. Failing that - they are read from a hard coded list. User can now import and export services from such files as well.
<ide><path>rc/main/java/net/sf/taverna/t2/activities/spreadsheet/servicedescriptions/SpreadsheetImportTemplateService.java <ide> ******************************************************************************/ <ide> package net.sf.taverna.t2.activities.spreadsheet.servicedescriptions; <ide> <del>import java.awt.Color;...
Java
apache-2.0
fef78e047cbca211a0e03c57e1be302494058dcc
0
cnevinc/zxing-android-embedded,tsdl2013/zxing-android-embedded,praveen062/zxing-android-embedded,BugMaker/zxing-android-embedded,j-mateo/zxing-android-embedded,movedon2otherthings/zxing-android-embedded,krischik/zxing-android-minimal,jonzl/sample-zxing,krischik/zxing-android-minimal,dimoge/zxing-android-embedded,binson...
/* * Copyright (C) 2008 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
src/com/google/zxing/client/android/camera/CameraManager.java
/* * Copyright (C) 2008 ZXing authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
Another bug fix to go with Issue 1044 -- this one only cropped up on my tablet though git-svn-id: 0b99b41c5c84574e525f2ba59b508f5deb570dd8@2014 59b500cc-1b3d-0410-9834-0bbf25fbcc57
src/com/google/zxing/client/android/camera/CameraManager.java
Another bug fix to go with Issue 1044 -- this one only cropped up on my tablet though
<ide><path>rc/com/google/zxing/client/android/camera/CameraManager.java <ide> */ <ide> public Rect getFramingRectInPreview() { <ide> if (framingRectInPreview == null) { <del> Rect rect = new Rect(getFramingRect()); <add> Rect framingRect = getFramingRect(); <add> if (framingRect == null) { <add>...
Java
apache-2.0
59fb749eca4ea1136f4c3857fba952aa490aab1e
0
SynBioDex/libSBOLj
package org.synbiohub.frontend; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.StringWriter; import java.io.UnsupportedEncodingExce...
core2/src/main/java/org/synbiohub/frontend/SynBioHubFrontend.java
package org.synbiohub.frontend; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.StringWriter; import java.io.UnsupportedEncodingException; import java.net.URI; impor...
Add method to download attachments
core2/src/main/java/org/synbiohub/frontend/SynBioHubFrontend.java
Add method to download attachments
<ide><path>ore2/src/main/java/org/synbiohub/frontend/SynBioHubFrontend.java <ide> import java.io.ByteArrayInputStream; <ide> import java.io.ByteArrayOutputStream; <ide> import java.io.File; <add>import java.io.FileOutputStream; <ide> import java.io.IOException; <ide> import java.io.InputStream; <ide> import java.io.Inp...
JavaScript
mit
38c2e019f6d66a1b946622a248ee0e81952086b3
0
derekmpham/interview-prep,derekmpham/interview-prep
"use strict"; // LINKED LIST // define constructor function Node(data) { this.data = data; this.next = null; } function LinkedList() { this._length = 0; // assign number of nodes in linked list this.head = null; // points to head of linked list (node at front of linked list) } // add node to linked list LinkedL...
remove-duplicates-linked-list.js
"use strict"; // LINKED LIST // define constructor function Node(data) { this.data = data; this.next = null; } function LinkedList() { this._length = 0; // assign number of nodes in linked list this.head = null; // points to head of linked list (node at front of linked list) } // add node to linked list LinkedL...
Account for first case in remove duplicates method
remove-duplicates-linked-list.js
Account for first case in remove duplicates method
<ide><path>emove-duplicates-linked-list.js <ide> <ide> return deletedNode; <ide> }; <add> <add>// remove duplicates from linked list <add>LinkedList.prototype.removeDuplicates = function() { <add> var currentNode = this.head, <add> nextNode = currentNode.next, <add> nodes = {}, <add> message = {failure: 'Failure: ...
JavaScript
bsd-3-clause
2384abb04a5aa2df93c85c8784b01f0a00fbd9b3
0
pirafrank/crypto-js,pirafrank/crypto-js,pirafrank/crypto-js,pirafrank/crypto-js
(function(){ // Shortcut var util = Crypto.util; Crypto.PBKDF2 = function (password, salt, keylen, options) { // Defaults var hasher = options && options.hasher || Crypto.SHA1, iterations = options && options.iterations || 1; // Pseudo-random function function PRF(password, salt) { return Cr...
trunk/src/PBKDF2.js
(function(){ // Shortcut var util = Crypto.util; Crypto.PBKDF2 = function (password, salt, keylen, options) { // Defaults var hasher = options && options.hasher || Crypto.SHA1, iterations = options && options.iterations || 1; // Pseudo-random function function prf(password, salt) { return Cr...
Fixed argument order, and cosmetic change.
trunk/src/PBKDF2.js
Fixed argument order, and cosmetic change.
<ide><path>runk/src/PBKDF2.js <ide> iterations = options && options.iterations || 1; <ide> <ide> // Pseudo-random function <del> function prf(password, salt) { <del> return Crypto.HMAC(hasher, password, salt, { asBytes: true }); <add> function PRF(password, salt) { <add> return Crypto.HMAC(hasher, salt, passwo...
Java
mit
949e36de3717801293b012917d7f011765f4920e
0
algoliareadmebot/algoliasearch-client-android,algoliareadmebot/algoliasearch-client-android,algolia/algoliasearch-client-android,algolia/algoliasearch-client-android,algolia/algoliasearch-client-android
/* * Copyright (c) 2012-2016 Algolia * http://www.algolia.com/ * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
algoliasearch/src/offline/java/com/algolia/search/saas/OfflineClient.java
/* * Copyright (c) 2012-2016 Algolia * http://www.algolia.com/ * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
Remove superfluous type checking in `OfflineClient.getIndex()`
algoliasearch/src/offline/java/com/algolia/search/saas/OfflineClient.java
Remove superfluous type checking in `OfflineClient.getIndex()`
<ide><path>lgoliasearch/src/offline/java/com/algolia/search/saas/OfflineClient.java <ide> MirroredIndex index = null; <ide> WeakReference<Index> existingIndex = indices.get(indexName); <ide> if (existingIndex != null) { <del> Index anIndex = existingIndex.get(); <del> if (a...
Java
apache-2.0
3f8cc0a82af133f232523f153052f292de48d9a8
0
neo4j-contrib/docker-neo4j,neo4j-contrib/docker-neo4j
src/test/java/com/neo4j/docker/TestDumpLoad.java
package com.neo4j.docker; import com.neo4j.docker.utils.DatabaseIO; import com.neo4j.docker.utils.HostFileSystemOperations; import com.neo4j.docker.utils.SetContainerUser; import com.neo4j.docker.utils.TestSettings; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.slf4j.Logger; impo...
removed dump and load test So I can merge host file system refactors.
src/test/java/com/neo4j/docker/TestDumpLoad.java
removed dump and load test So I can merge host file system refactors.
<ide><path>rc/test/java/com/neo4j/docker/TestDumpLoad.java <del>package com.neo4j.docker; <del> <del>import com.neo4j.docker.utils.DatabaseIO; <del>import com.neo4j.docker.utils.HostFileSystemOperations; <del>import com.neo4j.docker.utils.SetContainerUser; <del>import com.neo4j.docker.utils.TestSettings; <del>import or...
Java
apache-2.0
d9d0982be74141efea3c0b81e50afd83dc00a5b1
0
udacity/android-web-api-sample
package demo.example.com.spotifysample; import android.os.AsyncTask; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.util.Log; import android.view.Menu; import android.view.MenuItem; import java.util.List; import kaaes.spotify.webapi.android.SpotifyApi; import kaaes.spotify....
app/src/main/java/demo/example/com/spotifysample/MainActivity.java
package demo.example.com.spotifysample; import android.support.v7.app.ActionBarActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; public class MainActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCrea...
feat: Add Spotify wrapper call in AsyncTask.
app/src/main/java/demo/example/com/spotifysample/MainActivity.java
feat: Add Spotify wrapper call in AsyncTask.
<ide><path>pp/src/main/java/demo/example/com/spotifysample/MainActivity.java <ide> package demo.example.com.spotifysample; <ide> <add>import android.os.AsyncTask; <add>import android.os.Bundle; <ide> import android.support.v7.app.ActionBarActivity; <del>import android.os.Bundle; <add>import android.util.Log; <ide> imp...
Java
apache-2.0
3b3acffa5b2feb149b2ad6766e789e8996a2dc04
0
marubinotto/Piggydb,marubinotto/Piggydb,vincentschut/Piggydb,marubinotto/Piggydb,vincentschut/Piggydb,vincentschut/Piggydb,vincentschut/Piggydb,marubinotto/Piggydb
package marubinotto.piggydb.ui.page.partial; import static marubinotto.util.CollectionUtils.list; import static org.apache.commons.lang.StringUtils.isBlank; import static org.apache.commons.lang.StringUtils.isNotBlank; import marubinotto.piggydb.model.Classification; import marubinotto.piggydb.model.Filter; import mar...
src/main/java/marubinotto/piggydb/ui/page/partial/AbstractFragments.java
package marubinotto.piggydb.ui.page.partial; import static marubinotto.util.CollectionUtils.list; import static org.apache.commons.lang.StringUtils.isBlank; import static org.apache.commons.lang.StringUtils.isNotBlank; import marubinotto.piggydb.model.Classification; import marubinotto.piggydb.model.Filter; import mar...
added logic to add tags to include and exclude to marubinotto.piggydb.ui.page.partial.AbstractFragments.setFragmentsByFilter()
src/main/java/marubinotto/piggydb/ui/page/partial/AbstractFragments.java
added logic to add tags to include and exclude to marubinotto.piggydb.ui.page.partial.AbstractFragments.setFragmentsByFilter()
<ide><path>rc/main/java/marubinotto/piggydb/ui/page/partial/AbstractFragments.java <ide> import marubinotto.piggydb.model.Classification; <ide> import marubinotto.piggydb.model.Filter; <ide> import marubinotto.piggydb.model.Fragment; <add>import marubinotto.piggydb.model.Tag; <ide> import marubinotto.piggydb.model.quer...
Java
bsd-3-clause
5d70057eb9362a9f30de183fe34d3539a736f541
0
flutter/flutter-intellij,flutter/flutter-intellij,flutter/flutter-intellij,flutter/flutter-intellij,flutter/flutter-intellij
/* * Copyright 2019 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ package io.flutter.logging; import com.google.common.annotations.VisibleForTesting; import com.google.gson.GsonBuilder; import com.google.gson.Jso...
src/io/flutter/logging/FlutterConsoleLogManager.java
/* * Copyright 2019 The Chromium Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ package io.flutter.logging; import com.google.common.annotations.VisibleForTesting; import com.google.gson.GsonBuilder; import com.google.gson.Jso...
only send analytics for the first error for a frame (#4867)
src/io/flutter/logging/FlutterConsoleLogManager.java
only send analytics for the first error for a frame (#4867)
<ide><path>rc/io/flutter/logging/FlutterConsoleLogManager.java <ide> final DiagnosticsNode diagnosticsNode = new DiagnosticsNode(jsonObject, objectGroup, app, false, null); <ide> <ide> // Send analytics for the diagnosticsNode. <del> final String errorId = FlutterErrorHelper.getAnalyticsId(diagnostics...
Java
apache-2.0
e1451b50cd41b876b84adb196076fceb7c52336e
0
adammurdoch/native-platform,adammurdoch/native-platform,adammurdoch/native-platform,adammurdoch/native-platform
import com.google.common.collect.ImmutableList; import org.gradle.api.Action; import org.gradle.api.Plugin; import org.gradle.api.Project; import org.gradle.api.Task; import org.gradle.api.file.Directory; import org.gradle.api.file.FileCollection; import org.gradle.api.file.FileSystemOperations; import org.gradle.api.p...
buildSrc/src/main/java/JniPlugin.java
import com.google.common.collect.ImmutableList; import org.gradle.api.Action; import org.gradle.api.Plugin; import org.gradle.api.Project; import org.gradle.api.Task; import org.gradle.api.file.Directory; import org.gradle.api.file.FileSystemOperations; import org.gradle.api.provider.Provider; import org.gradle.api.tas...
Add the dependency manually to a file collection
buildSrc/src/main/java/JniPlugin.java
Add the dependency manually to a file collection
<ide><path>uildSrc/src/main/java/JniPlugin.java <ide> import org.gradle.api.Project; <ide> import org.gradle.api.Task; <ide> import org.gradle.api.file.Directory; <add>import org.gradle.api.file.FileCollection; <ide> import org.gradle.api.file.FileSystemOperations; <ide> import org.gradle.api.provider.Provider; <ide> i...
Java
apache-2.0
fc1186a0a293fb30fbf43bf9c3b1157cff0b77e6
0
nssales/OG-Platform,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,McLeodMoores/starling,DevStreet/FinanceAnalytics,jeorme/OG-Platform,jerome79/OG-Platform,nssales/OG-Platform,McLeodMoores/starling,McLeodMoores/starling,DevStreet/FinanceAnalytics,DevStreet/FinanceAnalytics,ChinaQuants/OG-Platform,codeaudit/OG-Platfor...
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.model.curve; import static com.opengamma.engine.value.ValueRequirementNames.HULL_WHITE_ONE_FACTOR_PARAMETERS; import static com.opengamma.f...
projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/model/curve/HullWhiteOneFactorParametersFunction.java
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.analytics.model.curve; import static com.opengamma.engine.value.ValueRequirementNames.HULL_WHITE_ONE_FACTOR_PARAMETERS; import static com.opengamma.f...
PLAT-4659 Added defaults for Hull White One Factor Parameter Function, need to be reverted.
projects/OG-Financial/src/main/java/com/opengamma/financial/analytics/model/curve/HullWhiteOneFactorParametersFunction.java
PLAT-4659 Added defaults for Hull White One Factor Parameter Function, need to be reverted.
<ide><path>rojects/OG-Financial/src/main/java/com/opengamma/financial/analytics/model/curve/HullWhiteOneFactorParametersFunction.java <ide> import java.util.Collection; <ide> import java.util.Collections; <ide> import java.util.HashSet; <add>import java.util.LinkedHashMap; <ide> import java.util.Map; <ide> import java....
JavaScript
mit
1a232582dd064fcf9532496a15cd4b39b2e55107
0
Eloqua/sproutcore,Eloqua/sproutcore,Eloqua/sproutcore
// ========================================================================== // Project: SproutCore - JavaScript Application Framework // Copyright: ©2006-2009 Sprout Systems, Inc. and contributors. // portions copyright @2009 Apple Inc. // License: Licened under MIT license (see license.js) // ========...
frameworks/desktop/panes/picker.js
// ========================================================================== // Project: SproutCore - JavaScript Application Framework // Copyright: ©2006-2009 Sprout Systems, Inc. and contributors. // portions copyright @2009 Apple Inc. // License: Licened under MIT license (see license.js) // ========...
adjust left/right pointer position up/down to 20px from top/bottom so more possible positions can be available
frameworks/desktop/panes/picker.js
adjust left/right pointer position up/down to 20px from top/bottom so more possible positions can be available
<ide><path>rameworks/desktop/panes/picker.js <ide> isModal: YES, <ide> <ide> pointerPos: 'perfectRight', <add> pointerPosX: 0, <add> pointerPosY: 0, <ide> <ide> /** <ide> This property will be set to the element (or view.get('layer')) that <ide> f.x = prefP1[m[4]][0] ; <ide> f.y = prefP1[m[4]...
JavaScript
bsd-3-clause
c9bcaf33c7c0f21fe5d90bf99fc9e2c1422729f6
0
1950195/mojito,1950195/mojito,yahoo/mojito,ooskapenaar/mojito,ooskapenaar/mojito,yahoo/mojito,yahoo/mojito,ooskapenaar/mojito,ooskapenaar/mojito,1950195/mojito
/* * Copyright (c) 2011-2013, Yahoo! Inc. All rights reserved. * Copyrights licensed under the New BSD License. * See the accompanying LICENSE file for terms. */ YUI().use( 'oop', 'mojito-test-extra', 'mojito-resource-store', 'addon-rs-config', 'addon-rs-selector', 'addon-rs-url', 'addo...
tests/unit/lib/app/autoload/test-store.server.js
/* * Copyright (c) 2011-2013, Yahoo! Inc. All rights reserved. * Copyrights licensed under the New BSD License. * See the accompanying LICENSE file for terms. */ YUI().use( 'oop', 'mojito-test-extra', 'mojito-resource-store', 'addon-rs-config', 'addon-rs-selector', 'addon-rs-url', 'addo...
Removed clearing of langLoaderCreated, since this is now done in yui.preloadResourceVersions.
tests/unit/lib/app/autoload/test-store.server.js
Removed clearing of langLoaderCreated, since this is now done in yui.preloadResourceVersions.
<ide><path>ests/unit/lib/app/autoload/test-store.server.js <ide> appResources: Y.clone(store._appResources, true), <ide> mojitResources: Y.clone(store._mojitResources, true) <ide> }; <del> // clear yui rs _langLoaderCreated such that the loaders are...
Java
apache-2.0
3dd9a255469c6512526f8788fce8f2dc2e8523b7
0
zhiqinghuang/druid,zxs/druid,mangeshpardeshiyahoo/druid,qix/druid,skyportsystems/druid,knoguchi/druid,noddi/druid,deltaprojects/druid,liquidm/druid,KurtYoung/druid,premc/druid,OttoOps/druid,dclim/druid,monetate/druid,kevintvh/druid,Kleagleguo/druid,elijah513/druid,kevintvh/druid,mrijke/druid,leventov/druid,haoch/druid,...
/* * Druid - a distributed column store. * Copyright (C) 2012, 2013 Metamarkets Group Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at you...
indexing-service/src/main/java/io/druid/indexing/overlord/scaling/SimpleResourceManagementStrategy.java
/* * Druid - a distributed column store. * Copyright (C) 2012, 2013 Metamarkets Group Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at you...
Fix import
indexing-service/src/main/java/io/druid/indexing/overlord/scaling/SimpleResourceManagementStrategy.java
Fix import
<ide><path>ndexing-service/src/main/java/io/druid/indexing/overlord/scaling/SimpleResourceManagementStrategy.java <ide> <ide> package io.druid.indexing.overlord.scaling; <ide> <del>import com.google.api.client.repackaged.com.google.common.base.Joiner; <ide> import com.google.common.base.Function; <add>import com.goog...
Java
apache-2.0
56e7dcd6588134b48933ecc0e3200a5848b0cfa6
0
dgrove727/autopsy,APriestman/autopsy,millmanorama/autopsy,rcordovano/autopsy,narfindustries/autopsy,wschaeferB/autopsy,APriestman/autopsy,APriestman/autopsy,dgrove727/autopsy,wschaeferB/autopsy,APriestman/autopsy,narfindustries/autopsy,millmanorama/autopsy,wschaeferB/autopsy,wschaeferB/autopsy,rcordovano/autopsy,rcordo...
/* * Autopsy Forensic Browser * * Copyright 2011-2016 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http...
KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/TermComponentQuery.java
/* * Autopsy Forensic Browser * * Copyright 2011-2016 Basis Technology Corp. * Contact: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http...
Improve logging of credit card number parsing errors
KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/TermComponentQuery.java
Improve logging of credit card number parsing errors
<ide><path>eywordSearch/src/org/sleuthkit/autopsy/keywordsearch/TermComponentQuery.java <ide> //if we couldn't parse the CCN abort this artifact <ide> final BlackboardAttribute ccnAttribute = parsedTrackAttributeMap.get(new BlackboardAttribute.Type(ATTRIBUTE_TYPE.TSK_CARD_NUMBER)); <ide> ...
Java
apache-2.0
85447432ac652259ae38c0effb0c56cc73d5b930
0
googlearchive/science-journal,googlearchive/science-journal,googlearchive/science-journal
/* * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
OpenScienceJournal/whistlepunk_library/src/main/java/com/google/android/apps/forscience/whistlepunk/project/ExperimentListFragment.java
/* * Copyright 2016 Google Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Load the experiment list view on refresh before kicking off a sync. This will display any experiments already on the device. PiperOrigin-RevId: 228515633
OpenScienceJournal/whistlepunk_library/src/main/java/com/google/android/apps/forscience/whistlepunk/project/ExperimentListFragment.java
Load the experiment list view on refresh before kicking off a sync. This will display any experiments already on the device.
<ide><path>penScienceJournal/whistlepunk_library/src/main/java/com/google/android/apps/forscience/whistlepunk/project/ExperimentListFragment.java <ide> timing.dumpToLog(); <ide> }); <ide> }); <del> <add> loadExperiments(); <ide> syncNow("Sync On Resume"); <id...
JavaScript
mit
0ea0f36bd6848d3f1031d7667988b24e311b0b1f
0
jaredscheib/tagasauris,jaredscheib/tagasauris
var $j = jQuery.noConflict(); // wrap in IIFE to not expose global variables (function app () { var db = new Firebase('https://dazzling-heat-3394.firebaseio.com/'); var params = _.getUrlParams(); var taskNum = Number(params.task.slice(-1)); var annotations = {}; var annotext; var vidEvents = {}; var vidCompleted = fa...
index.js
var $j = jQuery.noConflict(); // wrap in IIFE to not expose global variables (function app () { var db = new Firebase('https://dazzling-heat-3394.firebaseio.com/'); var params = _.getUrlParams(); var taskNum = Number(params.task.slice(-1)); var annotations = {}; var annotext; var vidEvents = {}; var vidCompleted = fa...
Make annotorious scripts https, modify loadScript
index.js
Make annotorious scripts https, modify loadScript
<ide><path>ndex.js <ide> // }); <ide> <ide> if (assetType === 'img') { <add> loadScript('https://annotorious.github.com/latest/annotorious.css'); <ide> loadScript('https://annotorious.github.com/latest/annotorious.min.js'); <ide> } <ide> <ide> return new Date().getTime(); <ide> }; <ide> <del>function loadScript...
Java
apache-2.0
ff7a03bae9f04528679bd880b0be0666a2335b2f
0
michalkurka/h2o-3,spennihana/h2o-3,spennihana/h2o-3,spennihana/h2o-3,h2oai/h2o-3,michalkurka/h2o-3,h2oai/h2o-dev,h2oai/h2o-dev,spennihana/h2o-3,michalkurka/h2o-3,h2oai/h2o-dev,h2oai/h2o-3,spennihana/h2o-3,michalkurka/h2o-3,h2oai/h2o-3,michalkurka/h2o-3,spennihana/h2o-3,h2oai/h2o-3,spennihana/h2o-3,h2oai/h2o-3,michalkur...
package water; import java.io.*; import java.lang.reflect.Array; import java.net.*; import java.nio.*; import java.nio.channels.*; import java.util.ArrayList; import java.util.Random; import water.network.SocketChannelUtils; import water.util.Log; import water.util.StringUtils; import water.util.TwoDimTable; import ...
h2o-core/src/main/java/water/AutoBuffer.java
package water; import java.io.*; import java.lang.reflect.Array; import java.net.*; import java.nio.*; import java.nio.channels.*; import java.util.ArrayList; import java.util.Random; import water.network.SocketChannelUtils; import water.util.Log; import water.util.StringUtils; import water.util.TwoDimTable; /** A B...
Add a system property to ignore version of deserialized objects (models)
h2o-core/src/main/java/water/AutoBuffer.java
Add a system property to ignore version of deserialized objects (models)
<ide><path>2o-core/src/main/java/water/AutoBuffer.java <ide> import water.util.Log; <ide> import water.util.StringUtils; <ide> import water.util.TwoDimTable; <add> <add>import static water.H2O.OptArgs.SYSTEM_PROP_PREFIX; <ide> <ide> /** A ByteBuffer backed mixed Input/Output streaming class, using Iced serialization. ...
JavaScript
mit
7e2588171e5bb73a8993975e7951eb7a520a51fa
0
iuap-design/neoui-kero,iuap-design/neoui-kero
/** * Module : Kero webpack entry index * Author : Kvkens(yueming@yonyou.com) * Date : 2016-08-09 09:52:13 */ import {BaseAdapter} from '../core/baseAdapter'; import {ValueMixin} from '../core/valueMixin'; import {EnableMixin} from '../core/enableMixin'; import {RequiredMixin} from '../core/requiredMixin'; import...
js/component/keroa-combo.js
/** * Module : Kero webpack entry index * Author : Kvkens(yueming@yonyou.com) * Date : 2016-08-09 09:52:13 */ import {BaseAdapter} from '../core/baseAdapter'; import {ValueMixin} from '../core/valueMixin'; import {EnableMixin} from '../core/enableMixin'; import {RequiredMixin} from '../core/requiredMixin'; import...
fixed:优化grid中下拉多选
js/component/keroa-combo.js
fixed:优化grid中下拉多选
<ide><path>s/component/keroa-combo.js <ide> // if(self.dataModel) <ide> // self.dataModel.setValue(self.field, event.value); <ide> // self.slice = false; <del> self.setValue(event.name); <add> self.setValue(event.value); <ide> }); <ide> //if(...
JavaScript
mit
042a70ea5abeae2e0baf23bebe265d64a382fa20
0
heshamsafi/leetcode-cli,skygragon/leetcode-cli,skygragon/leetcode-cli,heshamsafi/leetcode-cli
var fs = require('fs'); var _ = require('underscore'); var log = require('loglevel'); var sprintf = require('sprintf-js').sprintf; var chalk = require('../chalk'); var core = require('../core'); var h = require('../helper'); var queue = require('../queue'); var cmd = { command: 'submission [keyword]', desc: '...
lib/commands/submission.js
var fs = require('fs'); var _ = require('underscore'); var log = require('loglevel'); var sprintf = require('sprintf-js').sprintf; var chalk = require('../chalk'); var core = require('../core'); var h = require('../helper'); var queue = require('../queue'); var cmd = { command: 'submission [keyword]', desc: '...
1.Add an option -l for submission command which allows user to retrive recent submission in requried programming language, if no submissino in required language, an error will be printed. If no language is specified, program will retrive retrive most recent accepted submission. 2. change behavior: when user specify a l...
lib/commands/submission.js
1.Add an option -l for submission command which allows user to retrive recent submission in requried programming language, if no submissino in required language, an error will be printed. If no language is specified, program will retrive retrive most recent accepted submission. 2. change behavior: when user specify a l...
<ide><path>ib/commands/submission.js <ide> type: 'boolean', <ide> default: false, <ide> describe: 'Provide extra problem details in submission file' <add> }, <add> lang: { <add> alias: 'l', <add> type: 'string', <add> default: 'all', <add> describe: 'Programming ...
Java
apache-2.0
f37cc45c16fdde294c1219e4c4d48101b33c689f
0
xixifeng/fastquery
/* * Copyright (c) 2016-2016, fastquery.org and/or its affiliates. All rights reserved. * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF lic...
src/test/java/org/fastquery/util/TypeUtilTest.java
/* * Copyright (c) 2016-2016, fastquery.org and/or its affiliates. All rights reserved. * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF lic...
update test case
src/test/java/org/fastquery/util/TypeUtilTest.java
update test case
<ide><path>rc/test/java/org/fastquery/util/TypeUtilTest.java <ide> } <ide> <ide> @Test <add> // 测试 TypeUtil.getMethod <ide> public void testGetMethod() { <ide> List<Class<?>> clazzs = JarListClass.jarClasses("/web/progm/java/jdk1.8.0_45/jre/lib"); <ide> clazzs.addAll( JarListClass.jarClasses("/web/progm/java/jd...
JavaScript
agpl-3.0
fa07a5452f67dcb2cafc16dc33c1fec7450a75ed
0
scriptotek/bibduck
/***************************************************************************** * <stikksedler.js> * Modul for å skrive ut stikksedler ved hjelp av Excel-maler * Av: Bård S. Tuseth (c) 2009 * Fredrik Hovind Juell (c) 2010 * Dan Michael O. Heggø (c) 2013 * * Nye kommandoer: * stikk! : Skriver stikks...
plugins/stikksedler.js
/***************************************************************************** * <stikksedler.js> * Modul for å skrive ut stikksedler ved hjelp av Excel-maler * Av: Bård S. Tuseth (c) 2009 * Fredrik Hovind Juell (c) 2010 * Dan Michael O. Heggø (c) 2013 * * Nye kommandoer: * stikk! : Skriver stikks...
bedre håndtering av stikksedler for dokumenter med status RES/AVH
plugins/stikksedler.js
bedre håndtering av stikksedler for dokumenter med status RES/AVH
<ide><path>lugins/stikksedler.js <ide> } <ide> } <ide> <del> dok.dokid = client.get( 6, 31, 39); <add> dok.dokid = client.get( 6, 31, 39); <ide> <ide> if (dok.dokid === '') { <ide> alert('Har du husket å trykke enter?'); <ide> // Finn låneren i ...
Java
apache-2.0
ef090f23f925bdd76f61d0f394a4847c3746d8cc
0
jitsi/libjitsi,jitsi/libjitsi,jitsi/libjitsi,jitsi/libjitsi
/* * Copyright @ 2015 Atlassian Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
src/org/jitsi/impl/neomedia/rtp/sendsidebandwidthestimation/SendSideBandwidthEstimation.java
/* * Copyright @ 2015 Atlassian Pty Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ag...
Considers that a stream may timeout when logging the loss-region stats.
src/org/jitsi/impl/neomedia/rtp/sendsidebandwidthestimation/SendSideBandwidthEstimation.java
Considers that a stream may timeout when logging the loss-region stats.
<ide><path>rc/org/jitsi/impl/neomedia/rtp/sendsidebandwidthestimation/SendSideBandwidthEstimation.java <ide> // rates). <ide> bitrate += 1000; <ide> <del> statistics.update(now, LossRegion.LossFree); <add> statistics.update(now, false, LossRegion.LossFree);...
Java
lgpl-2.1
f02684f2884d342e88f121d97e0afb0a9e9a4cb4
0
jfree/jfreechart-fse,oskopek/jfreechart-fse,oskopek/jfreechart-fse,jfree/jfreechart-fse
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2014, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreech...
src/test/java/org/jfree/chart/plot/PlotTest.java
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2014, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreech...
Update test for borderPainter.
src/test/java/org/jfree/chart/plot/PlotTest.java
Update test for borderPainter.
<ide><path>rc/test/java/org/jfree/chart/plot/PlotTest.java <ide> import java.awt.Stroke; <ide> import java.net.URL; <ide> import javax.swing.ImageIcon; <add>import org.jfree.chart.drawable.BorderPainter; <ide> import org.jfree.chart.drawable.ColorPainter; <ide> <ide> import org.jfree.chart.ui.Align; <ide> plot...
JavaScript
mit
1134137e1a72fa6cea3135968bcea4d4ef2ab93c
0
debiasej/react-credit-card-blocker,debiasej/react-credit-card-blocker
import {appStep} from '../config/index' import React, { Component } from 'react'; import AppBar from 'material-ui/AppBar'; import { deepOrange500 } from 'material-ui/styles/colors'; import getMuiTheme from 'material-ui/styles/getMuiTheme'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import BankC...
src/app/main.js
import {appStep} from '../config/index' import React, { Component } from 'react'; import AppBar from 'material-ui/AppBar'; import { deepOrange500 } from 'material-ui/styles/colors'; import getMuiTheme from 'material-ui/styles/getMuiTheme'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import BankC...
Add back button functionality
src/app/main.js
Add back button functionality
<ide><path>rc/app/main.js <ide> } <ide> <ide> componentDidMount() { <del> <del> appHttp.getCards( data => { <del> let initCurrentCard = data.cuentasOrigen.length > 0 ? 0 : -1; <del> this.setState({ cards: data.cuentasOrigen, currentCard: initCurrentCard }); <del> this.selectorOnChangeHandler(init...
Java
apache-2.0
becd47cc309facd40ae934a0a336079ab5794eec
0
codeaudit/OG-Platform,DevStreet/FinanceAnalytics,DevStreet/FinanceAnalytics,codeaudit/OG-Platform,McLeodMoores/starling,jeorme/OG-Platform,ChinaQuants/OG-Platform,ChinaQuants/OG-Platform,jeorme/OG-Platform,ChinaQuants/OG-Platform,jerome79/OG-Platform,nssales/OG-Platform,jeorme/OG-Platform,jeorme/OG-Platform,DevStreet/F...
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.math.interpolation; import static com.opengamma.analytics.math.matrix.MatrixAlgebraFactory.OG_ALGEBRA; import static org.testng.Assert.assertEquals;...
projects/OG-Analytics/src/test/java/com/opengamma/analytics/math/interpolation/BicubicSplineInterpolatorTest.java
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.analytics.math.interpolation; import static com.opengamma.analytics.math.matrix.MatrixAlgebraFactory.OG_ALGEBRA; import static org.testng.Assert.assertEquals;...
[PLAT-3314] Bicubic Spline Interpolation
projects/OG-Analytics/src/test/java/com/opengamma/analytics/math/interpolation/BicubicSplineInterpolatorTest.java
[PLAT-3314] Bicubic Spline Interpolation
<ide><path>rojects/OG-Analytics/src/test/java/com/opengamma/analytics/math/interpolation/BicubicSplineInterpolatorTest.java <ide> public void notKnotRevoveredTests() { <ide> double[] x0Values = new double[] {0., 1., 2., 3. }; <ide> double[] x1Values = new double[] {0., 1., 2. }; <del> double[][] yValues = ...
JavaScript
bsd-3-clause
72667cd046800607f06c93b5ad9f385ef485fd35
0
simonlindholm/fireclosure
/* See license.txt for terms of usage */ define([ "firebug/lib/object", "firebug/firebug", "firebug/chrome/reps", "firebug/lib/locale", "firebug/lib/events", "firebug/lib/wrapper", "firebug/lib/dom", "firebug/lib/string", "firebug/lib/array", "firebug/console/autoCom...
content/autoCompleter.js
/* See license.txt for terms of usage */ define([ "firebug/lib/object", "firebug/firebug", "firebug/chrome/reps", "firebug/lib/locale", "firebug/lib/events", "firebug/lib/wrapper", "firebug/lib/dom", "firebug/lib/string", "firebug/lib/array", "firebug/console/autoCom...
Depend less on autoCompleter internals.
content/autoCompleter.js
Depend less on autoCompleter internals.
<ide><path>ontent/autoCompleter.js <ide> // ********************************************************************************************* // <ide> // JavaScript auto-completion <ide> <add>var OldJSAutoCompleter = Firebug.JSAutoCompleter; <add> <ide> Firebug.JSAutoCompleter = function(textBox, completionBox, options) <...
Java
apache-2.0
e2196f7bd683b03ad968f8d09c21a15e07963736
0
phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida,phac-nml/irida
package ca.corefacility.bioinformatics.irida.model.workflow.submission; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import java.util.Date; import java.util.Map; import java.util.Objects; import java.util.Optional; import java.util....
src/main/java/ca/corefacility/bioinformatics/irida/model/workflow/submission/AnalysisSubmission.java
package ca.corefacility.bioinformatics.irida.model.workflow.submission; import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.base.Preconditions.checkNotNull; import java.util.Date; import java.util.Map; import java.util.Objects; import java.util.Optional; import java.util....
added remote data to src/main/java/ca/corefacility/bioinformatics/irida/model/workflow/submission/AnalysisSubmission.java
src/main/java/ca/corefacility/bioinformatics/irida/model/workflow/submission/AnalysisSubmission.java
added remote data to src/main/java/ca/corefacility/bioinformatics/irida/model/workflow/submission/AnalysisSubmission.java
<ide><path>rc/main/java/ca/corefacility/bioinformatics/irida/model/workflow/submission/AnalysisSubmission.java <ide> import ca.corefacility.bioinformatics.irida.model.IridaThing; <ide> import ca.corefacility.bioinformatics.irida.model.enums.AnalysisCleanedState; <ide> import ca.corefacility.bioinformatics.irida.model.e...
Java
mit
644802f27de178ec6b054d80ad5f4b00e43d13cf
0
EcoGame/Eco,EcoGame/Eco
package eco; import org.lwjgl.opengl.GL11; import org.newdawn.slick.Color; /** * This class displays graphs of various things * * @author nate * */ public class Graphs { private static int size = 75; private static int[] pops = new int[size]; private static int[] wheats = new int[size]; private static fl...
src/eco/Graphs.java
package eco; import org.lwjgl.opengl.GL11; import org.newdawn.slick.Color; /** * This class displays graphs of various things * * @author nate * */ public class Graphs { private static int size = 75; private static int[] prices = new int[size]; private static int[] pop = new int[size]; private static int...
Update Graphs.java
src/eco/Graphs.java
Update Graphs.java
<ide><path>rc/eco/Graphs.java <ide> public class Graphs { <ide> <ide> private static int size = 75; <del> private static int[] prices = new int[size]; <del> private static int[] pop = new int[size]; <del> private static int[] displaced = new int[size]; <add> private static int[] pops = new int[size]; <add> private st...
Java
apache-2.0
c342be769e63056b3a10ef433f2dc997ce2c78ef
0
lexs/webimageloader
package se.alexanderblom.imageloader.loader; import java.io.InputStream; import java.util.Iterator; import java.util.Set; import java.util.WeakHashMap; import se.alexanderblom.imageloader.Request; import se.alexanderblom.imageloader.util.BitmapUtils; import android.graphics.Bitmap; import android.util.Log; public cl...
imageloader/src/se/alexanderblom/imageloader/loader/PendingRequests.java
package se.alexanderblom.imageloader.loader; import java.io.InputStream; import java.util.Iterator; import java.util.Set; import java.util.WeakHashMap; import se.alexanderblom.imageloader.Request; import se.alexanderblom.imageloader.util.BitmapUtils; import android.graphics.Bitmap; import android.util.Log; public cl...
Make it clearer which methods need to be synchronized
imageloader/src/se/alexanderblom/imageloader/loader/PendingRequests.java
Make it clearer which methods need to be synchronized
<ide><path>mageloader/src/se/alexanderblom/imageloader/loader/PendingRequests.java <ide> } <ide> } <ide> <del> private void cancelPotentialWork(Object tag) { <del> Request request = pendingsTags.remove(tag); <del> if (request == null) { <del> return; <del> } <del> <del> ...
Java
apache-2.0
4b1d40f160636ff02281b34aa2aeffa8d8569362
0
brianfrankcooper/YCSB,zyguan/ycsb,leschekhomann/YCSB,leschekhomann/YCSB,leschekhomann/YCSB,leschekhomann/YCSB,jaemyoun/YCSB,cricket007/YCSB,cricket007/YCSB,zyguan/ycsb,madhurihn/YCSB_ToyDB,jaemyoun/YCSB,madhurihn/YCSB_ToyDB,cricket007/YCSB,manolama/YCSB,zyguan/ycsb,ChristianNavolskyi/YCSB,madhurihn/YCSB_ToyDB,Christian...
/** * Copyright (c) 2010 Yahoo! Inc. All rights reserved. * ...
jdbc/src/main/java/com/yahoo/ycsb/db/JdbcDBClient.java
/** * Copyright (c) 2010 Yahoo! Inc. All rights reserved. * ...
[jdbc] removed semicolons from cached statements
jdbc/src/main/java/com/yahoo/ycsb/db/JdbcDBClient.java
[jdbc] removed semicolons from cached statements
<ide><path>dbc/src/main/java/com/yahoo/ycsb/db/JdbcDBClient.java <ide> for (int i = 0; i < insertType.numFields; i++) { <ide> insert.append(",?"); <ide> } <del> insert.append(");"); <add> insert.append(")"); <ide> PreparedStatement insertStatement = getShardConnectionByKey(key).prepareStatement(...
Java
apache-2.0
94dff97c3927d40e862d1f61e0da51ce7de65f33
0
JavaSaBr/jME3-SpaceShift-Editor
package com.ss.editor.file.converter.impl; import com.ss.editor.FileExtensions; import com.ss.editor.Messages; import com.ss.editor.file.converter.FileConverterDescription; import org.jetbrains.annotations.NotNull; import rlib.util.array.Array; import rlib.util.array.ArrayFactory; /** * The implementation of {@lin...
src/com/ss/editor/file/converter/impl/XBufToJ3oFileConverter.java
package com.ss.editor.file.converter.impl; import com.ss.editor.FileExtensions; import com.ss.editor.Messages; import com.ss.editor.file.converter.FileConverterDescription; import org.jetbrains.annotations.NotNull; import rlib.util.array.Array; import rlib.util.array.ArrayFactory; /** * The implementation of {@lin...
added supporting xbuf models.
src/com/ss/editor/file/converter/impl/XBufToJ3oFileConverter.java
added supporting xbuf models.
<ide><path>rc/com/ss/editor/file/converter/impl/XBufToJ3oFileConverter.java <ide> public static final FileConverterDescription DESCRIPTION = new FileConverterDescription(); <ide> <ide> static { <del> DESCRIPTION.setDescription(Messages.OBJ_TO_J3O_FILE_CONVERTER_DESCRIPTION); <add> DESCRIPTION.set...
Java
apache-2.0
aa5a38b7d601c2b8d5b8ee091ca8840f31d083fd
0
PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr,PATRIC3/p3_solr
package org.apache.solr.util; /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2...
solr/core/src/test/org/apache/solr/util/TestSolrCLIRunExample.java
package org.apache.solr.util; /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2...
SOLR-7847: disable the testTechproductsExample test that is failing on Jenkins git-svn-id: e799fff536a883f3c27ef733fe770373e8a19271@1694178 13f79535-47bb-0310-9956-ffa450edef68
solr/core/src/test/org/apache/solr/util/TestSolrCLIRunExample.java
SOLR-7847: disable the testTechproductsExample test that is failing on Jenkins
<ide><path>olr/core/src/test/org/apache/solr/util/TestSolrCLIRunExample.java <ide> import org.apache.solr.cloud.MiniSolrCloudCluster; <ide> import org.apache.solr.common.SolrInputDocument; <ide> import org.junit.After; <add>import org.junit.Ignore; <ide> import org.junit.Test; <ide> import org.slf4j.Logger; <ide> impor...
Java
apache-2.0
511403002b6d57ab4ece1b8327be69fa94070d76
0
zhaozw/meeting
package com.meetisan.meetisan; import com.meetisan.meetisan.signup.InsertEmailActivity; import com.meetisan.meetisan.utils.FormatUtils; import com.meetisan.meetisan.utils.ToastHelper; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.vi...
Meetisan/src/com/meetisan/meetisan/LoginActivity.java
package com.meetisan.meetisan; import com.meetisan.meetisan.signup.InsertEmailActivity; import com.meetisan.meetisan.utils.FormatUtils; import com.meetisan.meetisan.utils.ToastHelper; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.vi...
assume login success
Meetisan/src/com/meetisan/meetisan/LoginActivity.java
assume login success
<ide><path>eetisan/src/com/meetisan/meetisan/LoginActivity.java <ide> <ide> private void doLogin() { <ide> // assume login result <del> boolean loginResult = false; <add> boolean loginResult = true; <ide> if (loginResult) { <ide> Intent intent = new Intent(this, MainActivity.class); <ide> startActivity(in...
Java
epl-1.0
a8ac5bcb4dc0eb8f528fd466b944ab9a7445f258
0
stzilli/kapua,cbaerikebc/kapua,cbaerikebc/kapua,stzilli/kapua,LeoNerdoG/kapua,cbaerikebc/kapua,LeoNerdoG/kapua,stzilli/kapua,LeoNerdoG/kapua,cbaerikebc/kapua,LeoNerdoG/kapua,stzilli/kapua,stzilli/kapua,LeoNerdoG/kapua
/******************************************************************************* * Copyright (c) 2011, 2016 Eurotech and/or its affiliates and others * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this...
service/device/call/kura/src/main/java/org/eclipse/kapua/service/device/call/message/kura/KuraPayload.java
/******************************************************************************* * Copyright (c) 2011, 2016 Eurotech and/or its affiliates and others * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this...
Remove code which can never be called The value is tested before for null and so it can never become null afterwards as there is no assignment to it. Signed-off-by: Jens Reimann <d1bf62d29e711fdf0a5795916341a7b53d204e2a@redhat.com>
service/device/call/kura/src/main/java/org/eclipse/kapua/service/device/call/message/kura/KuraPayload.java
Remove code which can never be called
<ide><path>ervice/device/call/kura/src/main/java/org/eclipse/kapua/service/device/call/message/kura/KuraPayload.java <ide> protoMsg.addMetric(metricB); <ide> } <ide> catch (MessageException eihte) { <del> try { <del> s_logger.error("During serial...
Java
apache-2.0
5e451fd012c50f5d9e0815fb4825cce3f50414a3
0
uweschaefer/factcast,uweschaefer/factcast,uweschaefer/factcast
/* * Copyright © 2018 Mercateo AG (http://www.mercateo.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
factcast-store-pgsql/src/main/java/org/factcast/store/pgsql/PgConfigurationProperties.java
/* * Copyright © 2018 Mercateo AG (http://www.mercateo.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
#212: formatting
factcast-store-pgsql/src/main/java/org/factcast/store/pgsql/PgConfigurationProperties.java
#212: formatting
<ide><path>actcast-store-pgsql/src/main/java/org/factcast/store/pgsql/PgConfigurationProperties.java <ide> public void onApplicationEvent(ApplicationReadyEvent event) { <ide> Map<String, Object> map = new HashMap(); <ide> MutablePropertySources propertySources = ((AbstractEnvironment) env).getProper...
Java
mit
1b0f204d8422716373bb929cb0be2c2e308c6212
0
menacher/java-game-server,chongtianfeiyu/java-game-server,xiexingguang/java-game-server,menacher/java-game-server,cancobanoglu/java-game-server,niuqinghua/java-game-server,cancobanoglu/java-game-server,wuzhenda/java-game-server,niuqinghua/java-game-server,wuzhenda/java-game-server,niuqinghua/java-game-server,wuzhenda/j...
package org.menacheri.protocols.impl; import org.jboss.netty.channel.ChannelPipeline; import org.jboss.netty.handler.codec.base64.Base64Decoder; import org.jboss.netty.handler.codec.base64.Base64Encoder; import org.jboss.netty.handler.codec.frame.DelimiterBasedFrameDecoder; import org.jboss.netty.handler.codec.f...
jetserver/src/main/java/org/menacheri/protocols/impl/AMF3StringProtocol.java
package org.menacheri.protocols.impl; import java.io.ByteArrayInputStream; import org.jboss.netty.channel.ChannelPipeline; import org.jboss.netty.handler.codec.base64.Base64Decoder; import org.jboss.netty.handler.codec.base64.Base64Encoder; import org.jboss.netty.handler.codec.frame.DelimiterBasedFrameDecoder;...
Removed bytearraystreamdecoder and renamed frameSize to maxFrameSize
jetserver/src/main/java/org/menacheri/protocols/impl/AMF3StringProtocol.java
Removed bytearraystreamdecoder and renamed frameSize to maxFrameSize
<ide><path>etserver/src/main/java/org/menacheri/protocols/impl/AMF3StringProtocol.java <ide> package org.menacheri.protocols.impl; <del> <del>import java.io.ByteArrayInputStream; <ide> <ide> import org.jboss.netty.channel.ChannelPipeline; <ide> import org.jboss.netty.handler.codec.base64.Base64Decoder; <ide> import or...
Java
apache-2.0
43594b416843ac37552af4a1ba63a066a0cc3819
0
pinterest/secor,HenryCaiHaiying/secor,HenryCaiHaiying/secor,pinterest/secor
package com.pinterest.secor.uploader; import com.google.api.client.googleapis.auth.oauth2.GoogleCredential; import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport; import com.google.api.client.googleapis.media.MediaHttpUploader; import com.google.api.client.googleapis.media.MediaHttpUploaderProgressLis...
src/main/java/com/pinterest/secor/uploader/GsUploadManager.java
package com.pinterest.secor.uploader; import com.google.api.client.googleapis.auth.oauth2.GoogleCredential; import com.google.api.client.googleapis.javanet.GoogleNetHttpTransport; import com.google.api.client.googleapis.media.MediaHttpUploader; import com.google.api.client.googleapis.media.MediaHttpUploaderProgressLis...
Inject scopes if required Depending on the environment that provides the default credentials (e.g. Compute Engine, App Engine), the credentials may require us to specify the scopes we need explicitly. Check for this case, and inject the scope if required. https://github.com/GoogleCloudPlatform/java-docs-samples/blob...
src/main/java/com/pinterest/secor/uploader/GsUploadManager.java
Inject scopes if required
<ide><path>rc/main/java/com/pinterest/secor/uploader/GsUploadManager.java <ide> throw new RuntimeException("Failed to load Google credentials : " + credentialsPath, e); <ide> } <ide> <add> // Depending on the environment that provides the default credentials (e.g. Compute Engine,...
Java
apache-2.0
e7be1f4e896cbe5f11924377771cdc85411354f8
0
jjj117/airavata,machristie/airavata,machristie/airavata,anujbhan/airavata,apache/airavata,anujbhan/airavata,hasinitg/airavata,apache/airavata,machristie/airavata,glahiru/airavata,hasinitg/airavata,apache/airavata,gouravshenoy/airavata,gouravshenoy/airavata,hasinitg/airavata,gouravshenoy/airavata,gouravshenoy/airavata,a...
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
/* * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); y...
closing the thrift transport connection during gfac invocation
airavata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java
closing the thrift transport connection during gfac invocation
<ide><path>iravata-api/airavata-api-server/src/main/java/org/apache/airavata/api/server/handler/AiravataServerHandler.java <ide> registry.update(RegistryModelType.EXPERIMENT_STATUS, status, experimentId); <ide> registry.update(RegistryModelType.TASK_DETAIL, taskData, taskData.get...
Java
apache-2.0
error: pathspec 'projects/OG-Financial/src/main/java/com/opengamma/financial/convention/InterestRateFutureConvention.java' did not match any file(s) known to git
d788e3e5fab075f0e080b6e21c18966107cac952
1
DevStreet/FinanceAnalytics,nssales/OG-Platform,McLeodMoores/starling,jerome79/OG-Platform,jeorme/OG-Platform,nssales/OG-Platform,ChinaQuants/OG-Platform,ChinaQuants/OG-Platform,jeorme/OG-Platform,DevStreet/FinanceAnalytics,nssales/OG-Platform,nssales/OG-Platform,McLeodMoores/starling,codeaudit/OG-Platform,DevStreet/Fin...
/** * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ package com.opengamma.financial.convention; import org.joda.beans.BeanDefinition; import org.joda.beans.PropertyDefinition; import com.opengamma.id.ExternalIdBundle; import java.u...
projects/OG-Financial/src/main/java/com/opengamma/financial/convention/InterestRateFutureConvention.java
[PLAT-3091] Conventions for interest rate futures
projects/OG-Financial/src/main/java/com/opengamma/financial/convention/InterestRateFutureConvention.java
[PLAT-3091] Conventions for interest rate futures
<ide><path>rojects/OG-Financial/src/main/java/com/opengamma/financial/convention/InterestRateFutureConvention.java <add>/** <add> * Copyright (C) 2013 - present by OpenGamma Inc. and the OpenGamma group of companies <add> * <add> * Please see distribution for license. <add> */ <add>package com.opengamma.financial.conv...
Java
apache-2.0
0e829ff5b87f159d8a8025934eecee924182a67c
0
xzel23/meja,xzel23/meja
/* * Copyright 2015 Axel Howind <axel@dua3.com>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
meja/src/com/dua3/meja/ui/swing/SheetView.java
/* * Copyright 2015 Axel Howind <axel@dua3.com>. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
start mouse support
meja/src/com/dua3/meja/ui/swing/SheetView.java
start mouse support
<ide><path>eja/src/com/dua3/meja/ui/swing/SheetView.java <ide> import java.awt.Stroke; <ide> import java.awt.Toolkit; <ide> import java.awt.event.ActionEvent; <add>import java.awt.event.MouseAdapter; <add>import java.awt.event.MouseEvent; <ide> import java.awt.font.FontRenderContext; <ide> import java.awt.font.LineBrea...
Java
apache-2.0
c0db65a6384abbffb6b65c5aa21275bc5e21cfed
0
cuba-platform/cuba,dimone-kun/cuba,cuba-platform/cuba,dimone-kun/cuba,cuba-platform/cuba,dimone-kun/cuba
/* * Copyright (c) 2008-2013 Haulmont. All rights reserved. * Use is subject to license terms, see http://www.cuba-platform.com/license for details. */ package com.haulmont.cuba.web.gui.components; import com.haulmont.bali.datastruct.Pair; import com.haulmont.bali.util.Dom4j; import com.haulmont.chile.core....
modules/web6/src/com/haulmont/cuba/web/gui/components/WebAbstractTable.java
/* * Copyright (c) 2008-2013 Haulmont. All rights reserved. * Use is subject to license terms, see http://www.cuba-platform.com/license for details. */ package com.haulmont.cuba.web.gui.components; import com.haulmont.bali.datastruct.Pair; import com.haulmont.bali.util.Dom4j; import com.haulmont.chile.core....
При изменении редактируемости таблицы, отображаются ненужные колонки #PL-3197 Fixed
modules/web6/src/com/haulmont/cuba/web/gui/components/WebAbstractTable.java
При изменении редактируемости таблицы, отображаются ненужные колонки #PL-3197 Fixed
<ide><path>odules/web6/src/com/haulmont/cuba/web/gui/components/WebAbstractTable.java <ide> import com.vaadin.ui.Component; <ide> import com.vaadin.ui.Label; <ide> import com.vaadin.ui.TextArea; <add>import org.apache.commons.lang.ArrayUtils; <ide> import org.apache.commons.lang.BooleanUtils; <ide> import org.apache.co...
Java
apache-2.0
d2cb66df42e144dd2f95809b2ec71dd04bcc92f4
0
BOOtak/touchlogger-dirty,BOOtak/touchlogger-dirty,BOOtak/touchlogger-dirty
package org.leyfer.thesis.touchlogger_dirty.notification; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import andro...
app/src/main/java/org/leyfer/thesis/touchlogger_dirty/notification/ControlNotification.java
package org.leyfer.thesis.touchlogger_dirty.notification; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import andro...
Refactor ControlNotification.
app/src/main/java/org/leyfer/thesis/touchlogger_dirty/notification/ControlNotification.java
Refactor ControlNotification.
<ide><path>pp/src/main/java/org/leyfer/thesis/touchlogger_dirty/notification/ControlNotification.java <ide> builder = new NotificationCompat.Builder(context); <ide> notificationManager = (NotificationManager) <ide> context.getSystemService(Context.NOTIFICATION_SERVICE); <del> setO...
Java
apache-2.0
error: pathspec 'com/planet_ink/coffee_mud/Commands/sysop/Races.java' did not match any file(s) known to git
8f5d93c2336ca54fd7fcd4fc87974c076770e573
1
MaxRau/CoffeeMud,oriontribunal/CoffeeMud,bozimmerman/CoffeeMud,bozimmerman/CoffeeMud,sfunk1x/CoffeeMud,bozimmerman/CoffeeMud,oriontribunal/CoffeeMud,bozimmerman/CoffeeMud,sfunk1x/CoffeeMud,sfunk1x/CoffeeMud,oriontribunal/CoffeeMud,MaxRau/CoffeeMud,Tycheo/coffeemud,oriontribunal/CoffeeMud,MaxRau/CoffeeMud,MaxRau/CoffeeM...
package com.planet_ink.coffee_mud.Commands.sysop; public class Races { }
com/planet_ink/coffee_mud/Commands/sysop/Races.java
git-svn-id: svn://192.168.1.10/public/CoffeeMud@3184 0d6f1817-ed0e-0410-87c9-987e46238f29
com/planet_ink/coffee_mud/Commands/sysop/Races.java
<ide><path>om/planet_ink/coffee_mud/Commands/sysop/Races.java <add>package com.planet_ink.coffee_mud.Commands.sysop; <add> <add>public class Races <add>{ <add>}
Java
apache-2.0
acbfd6696f6fac25fac8de9466ed47ddd804048a
0
HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j
/** * Copyright (c) 2002-2011 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software F...
advanced/kernel/src/main/java/org/neo4j/kernel/impl/batchinsert/BatchGraphDatabaseImpl.java
/** * Copyright (c) 2002-2011 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software F...
Found a cast to int for relationship id.
advanced/kernel/src/main/java/org/neo4j/kernel/impl/batchinsert/BatchGraphDatabaseImpl.java
Found a cast to int for relationship id.
<ide><path>dvanced/kernel/src/main/java/org/neo4j/kernel/impl/batchinsert/BatchGraphDatabaseImpl.java <ide> long relId = graphDbService.getBatchInserter().createRelationship( id, <ide> otherNode.getId(), type, null ); <ide> RelationshipBatchImpl rel = new RelationshipBatchImpl( <...
Java
mit
786a9104002f17f7d5c256d3a5eae239b3820f6a
0
rmsy/Protobuf-Packet
package tc.oc.protobuf.packet.util; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import javax.annotation.Nonnull; import com.google.common.base.Preconditions; import com.google.protobuf.Descriptors.Descriptor; import com.google.protobuf.Message; public final class DescriptorU...
src/main/java/tc/oc/protobuf/packet/util/DescriptorUtil.java
package tc.oc.protobuf.packet.util; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import javax.annotation.Nonnull; import com.google.common.base.Preconditions; import com.google.protobuf.Descriptors.Descriptor; import com.google.protobuf.Message; public final class DescriptorU...
Add missing exclamation point
src/main/java/tc/oc/protobuf/packet/util/DescriptorUtil.java
Add missing exclamation point
<ide><path>rc/main/java/tc/oc/protobuf/packet/util/DescriptorUtil.java <ide> <ide> // check to see if it is a message type <ide> Class<?> msgClass = params[0]; <del> if(Message.class.isAssignableFrom(msgClass)) { <add> if (!Message.class.isAssignableFrom(msgClass)) { <ide> thr...
Java
apache-2.0
3f4fc002b69aa392b200890a28277106857d20a7
0
michael-rapp/AndroidAdapters
/* * AndroidAdapters Copyright 2014 Michael Rapp * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * *...
src/de/mrapp/android/adapter/list/filterable/AbstractFilterableListAdapter.java
/* * AndroidAdapters Copyright 2014 Michael Rapp * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * *...
Edited comment.
src/de/mrapp/android/adapter/list/filterable/AbstractFilterableListAdapter.java
Edited comment.
<ide><path>rc/de/mrapp/android/adapter/list/filterable/AbstractFilterableListAdapter.java <ide> FilterableListAdapter<DataType> { <ide> <ide> /** <del> * A list, which contains the the adapter's unfiltered data. <add> * A list, which contains the adapter's unfiltered data. <ide> */ <ide> private transient Arra...
Java
apache-2.0
7feb6880f07e23d3846c5dc5fdebc934235b34c1
0
zwsong/wicket,klopfdreh/wicket,Servoy/wicket,dashorst/wicket,freiheit-com/wicket,freiheit-com/wicket,apache/wicket,Servoy/wicket,AlienQueen/wicket,martin-g/wicket-osgi,astrapi69/wicket,klopfdreh/wicket,zwsong/wicket,mafulafunk/wicket,dashorst/wicket,mafulafunk/wicket,selckin/wicket,bitstorm/wicket,mosoft521/wicket,apac...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tabs/TabbedPanel.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
fixed WICKET-2153 TabbedPanel accepts only ITab(s) git-svn-id: 5a74b5304d8e7e474561603514f78b697e5d94c4@763126 13f79535-47bb-0310-9956-ffa450edef68
wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tabs/TabbedPanel.java
fixed WICKET-2153 TabbedPanel accepts only ITab(s)
<ide><path>icket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/tabs/TabbedPanel.java <ide> /** <ide> * TabbedPanel component represets a panel with tabs that are used to switch between different <ide> * content panels inside the TabbedPanel panel. <del> * <ide> * <p> <del> * <b>Note:</b> When th...
JavaScript
apache-2.0
2cb1b01dcc37f02fc24023450a538efff1df9201
0
braineo/gapp-for-office,braineo/gapp-for-office
/* cardUI * generate day and weekday every day * markout who did not punch in previous day */ // Day of year function dayOfYear(date) { if (!(date instanceof Date)) { return 0; } var start = new Date(date.getFullYear(), 0, 0); var diff = date - start; var oneDay = 86400000; // (1000*60*6...
cardUI.js
/* cardUI * generate day and weekday every day * markout who did not punch in previous day */ // Day of year function dayOfYear(date) { if (!(date instanceof Date)) { return 0; } var start = new Date(date.getFullYear(), 0, 0); var diff = date - start; var oneDay = 86400000; // (1000*60*60*2...
getDay, Sunday is 0 not 7
cardUI.js
getDay, Sunday is 0 not 7
<ide><path>ardUI.js <ide> /* cardUI <del>* generate day and weekday every day <del>* markout who did not punch in previous day <del>*/ <add> * generate day and weekday every day <add> * markout who did not punch in previous day <add> */ <ide> <ide> // Day of year <ide> function dayOfYear(date) { <ide> function generat...
Java
apache-2.0
54eb526eab4329b9187ca80b58d2442552f4dc07
0
actframework/act-guice-plugin
package act.di.guice; import act.app.App; import act.di.DependencyInjector; import act.di.DiBinder; import act.event.ActEventListener; import act.event.ActEventListenerBase; import act.plugin.AppServicePlugin; import java.util.EventObject; public class InjectorInitializer extends AppServicePlugin { @Override ...
src/main/java/act/di/guice/InjectorInitializer.java
package act.di.guice; import act.app.App; import act.di.DependencyInjector; import act.di.DiBinder; import act.event.ActEventListener; import act.event.ActEventListenerBase; import act.plugin.AppServicePlugin; import java.util.EventObject; public class InjectorInitializer extends AppServicePlugin { @Override ...
fix type mismatch issue
src/main/java/act/di/guice/InjectorInitializer.java
fix type mismatch issue
<ide><path>rc/main/java/act/di/guice/InjectorInitializer.java <ide> app.eventBus().bind(DiBinder.class, new ActEventListenerBase<DiBinder>() { <ide> @Override <ide> public void on(DiBinder event) throws Exception { <del> GuiceDependencyInjector injector = app.injector(); <...
JavaScript
isc
8702636bc0332a3724f448ad5a97b4891e89beea
0
SteamedPears/Code-Review,SteamedPears/Code-Review
// Libraries var https = require('https'); var url = require('url'); var uuid = require('node-uuid'); var db = require('redis').createClient(); /****************************************************************************** * Handle DB errors * ***************...
src/server/requestHandlers.js
// Libraries var https = require('https'); var url = require('url'); var uuid = require('node-uuid'); var db = require('redis').createClient(); /****************************************************************************** * Handle DB errors * ***************...
Now whitelisting code objects before storing
src/server/requestHandlers.js
Now whitelisting code objects before storing
<ide><path>rc/server/requestHandlers.js <ide> ******************************************************************************/ <ide> function newcode(request, response) { <ide> // do some basic validation <del> var obj = request.body; <del> if (obj === null || !isValidString(obj.text)) { <add> var fields = request....
JavaScript
apache-2.0
33af5cd7c6af3d2001de37ee4077e09d5ebf0621
0
node-red/node-red,mw75/node-red,mw75/node-red,mw75/node-red,node-red/node-red,mw75/node-red,node-red/node-red
/** * Copyright JS Foundation and other contributors, http://js.foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
packages/node_modules/@node-red/util/lib/i18n.js
/** * Copyright JS Foundation and other contributors, http://js.foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
Apply i18n namespace fix to runtime component
packages/node_modules/@node-red/util/lib/i18n.js
Apply i18n namespace fix to runtime component
<ide><path>ackages/node_modules/@node-red/util/lib/i18n.js <ide> <ide> function init(settings) { <ide> if (!initPromise) { <del> // Keep this as a 'when' promise as top-level red.js uses 'otherwise' <del> // and embedded users of NR may have copied that. <ide> initPromise = new Promise((resol...
Java
apache-2.0
07f2cb608bd0aee7111cd498a59e6e98e6512635
0
geethkokila/carbon-device-mgt,ruwany/carbon-device-mgt,madawas/carbon-device-mgt,sinthuja/carbon-device-mgt,prithvi66/carbon-device-mgt,harshanL/carbon-device-mgt,Megala21/carbon-device-mgt,GDLMadushanka/carbon-device-mgt,sameeragunarathne/carbon-device-mgt,sinthuja/carbon-device-mgt,rasika90/carbon-device-mgt,hasuniea...
/* * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * you may obtain a copy of the License at * * http://www.apache.org/...
components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/DeviceIdentifier.java
/* * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * you may obtain a copy of the License at * * http://www.apache.org/...
Fix : Store device type names as it is
components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/DeviceIdentifier.java
Fix : Store device type names as it is
<ide><path>omponents/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/DeviceIdentifier.java <ide> } <ide> <ide> public void setType(String type) { <del> this.type = type.toLowerCase(); <add> this.type = type.trim(); <ide> } <ide> public String g...
Java
apache-2.0
6546b05d852d258d146114ebd0951bed30604ab9
0
google/mug,google/mug
/***************************************************************************** * ------------------------------------------------------------------------- * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * Y...
core/src/main/java/com/google/mu/util/Substring.java
/***************************************************************************** * ------------------------------------------------------------------------- * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * Y...
before()/after() javadoc fix
core/src/main/java/com/google/mu/util/Substring.java
before()/after() javadoc fix
<ide><path>ore/src/main/java/com/google/mu/util/Substring.java <ide> * Returns part before this substring. <ide> * <ide> * <p>{@link #before} and {@link #after} are almost always used together to split a string into <del> * two parts. Prefer to using {@link Pattern#andBefore} if you are trying to find a pref...
Java
mit
2063be0c34c1f7cdf96c79094e83ac828341cdb1
0
rthoth/SublAndroidDaemon
package sublandroid; import sublandroid.messages.*; import sublandroid.command.*; import static java.lang.String.format; import java.io.*; import java.net.*; import org.gradle.tooling.*; import static com.alibaba.fastjson.JSON.parseObject; import static com.alibaba.fastjson.JSON.writeJSONStringTo; public class C...
src/main/java/sublandroid/Connector.java
package sublandroid; import sublandroid.messages.*; import sublandroid.command.*; import static java.lang.String.format; import java.io.*; import java.net.*; import org.gradle.tooling.*; import static com.alibaba.fastjson.JSON.parseObject; import static com.alibaba.fastjson.JSON.writeJSONStringTo; public class C...
Remove unused symbols
src/main/java/sublandroid/Connector.java
Remove unused symbols
<ide><path>rc/main/java/sublandroid/Connector.java <ide> System.out.println(format(msg, args)); <ide> } <ide> <del> protected final String DEBUG_PREFIX = "sublandroid_"; <del> protected final String DEBUG_SUFIX = ".log"; <del> <ide> public static void main(String args[]) { <ide> if (args.length == 0) <ide> th...
Java
mit
ba41233aad5a5b5dc9a9b6791491673f0fc37e2a
0
McJty/RFTools
package mcjty.rftools.blocks.crafter; import mcjty.lib.container.*; import mcjty.rftools.items.storage.StorageFilterItem; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.IInventory; import net.minecraft.inventory.Slot; import net.minecraft.item.ItemStack; public class CrafterContainer ...
src/main/java/mcjty/rftools/blocks/crafter/CrafterContainer.java
package mcjty.rftools.blocks.crafter; import mcjty.lib.container.*; import mcjty.rftools.items.storage.StorageFilterItem; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.IInventory; import net.minecraft.inventory.Slot; import net.minecraft.item.ItemStack; public class CrafterContainer ...
Fixed 1 pixel wrong offset for the crafter input slots
src/main/java/mcjty/rftools/blocks/crafter/CrafterContainer.java
Fixed 1 pixel wrong offset for the crafter input slots
<ide><path>rc/main/java/mcjty/rftools/blocks/crafter/CrafterContainer.java <ide> protected void setup() { <ide> addSlotBox(new SlotDefinition(SlotType.SLOT_GHOST), CONTAINER_INVENTORY, SLOT_CRAFTINPUT, 193, 7, 3, 18, 3, 18); <ide> addSlot(new SlotDefinition(SlotType.SLOT_GHOSTOUT), CONTA...
Java
apache-2.0
627c7ee4dc51a73fa1f5138b4494142562e68429
0
waprin/cloud-bigtable-client,ceocoder/cloud-bigtable-client,sduskis/cloud-bigtable-client,rameshdharan/cloud-bigtable-client,googleapis/java-bigtable-hbase,derjust/cloud-bigtable-client,dmmcerlean/cloud-bigtable-client,kevinsi4508/cloud-bigtable-client,googleapis/java-bigtable-hbase,sduskis/cloud-bigtable-client,ramesh...
package com.google.cloud.bigtable.hbase; import io.grpc.Status; import io.grpc.Status.OperationRuntimeException; import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.List; import java.util.Random; import java.util.UUID; import java.util.concurrent.Executors; import org.ap...
bigtable-hbase/src/test/java/com/google/cloud/bigtable/hbase/TestClusterAPI.java
package com.google.cloud.bigtable.hbase; import io.grpc.Status; import io.grpc.Status.OperationRuntimeException; import java.io.IOException; import java.io.InputStream; import java.util.Arrays; import java.util.List; import java.util.Random; import java.util.UUID; import java.util.concurrent.Executors; import org.ap...
Making the TestClusterAPI compliant with server validation.
bigtable-hbase/src/test/java/com/google/cloud/bigtable/hbase/TestClusterAPI.java
Making the TestClusterAPI compliant with server validation.
<ide><path>igtable-hbase/src/test/java/com/google/cloud/bigtable/hbase/TestClusterAPI.java <ide> List<Cluster> clusters = getClusters(client, projectId); <ide> <ide> // cleanup any old clusters <del> boolean createCluster = true; <ide> for (Cluster cluster : clusters) { <ide> if (cluster.getName()...
JavaScript
mit
6f04dcc8f390458e14ef7b25bff7a4a7083f4ba6
0
lenvanessen/bolt,nikgo/bolt,electrolinux/bolt,marcin-piela/bolt,winiceo/bolt,lenvanessen/bolt,marcin-piela/bolt,skript-cc/bolt,skript-cc/bolt,HonzaMikula/bolt,tekjava/bolt,kendoctor/bolt,bolt/bolt,pygillier/bolt,romulo1984/bolt,cdowdy/bolt,xeddmc/bolt,richardhinkamp/bolt,nikgo/bolt,CarsonF/bolt,xeddmc/bolt,bolt/bolt,Ga...
/** * Helper to get all selected Items and return Array */ function getSelectedItems() { var aItems = []; $('.dashboardlisting input:checked').each(function () { if ($(this).parents('tr').attr('id')) { aItems.push($(this).parents('tr').attr('id').substr(5)); } }); return ...
app/view/lib/bolt/fnc-helpers.js
/** * Helper to get all selected Items and return Array */ function getSelectedItems() { var aItems = []; $('.dashboardlisting input:checked').each(function () { if ($(this).parents('tr').attr('id')) { aItems.push($(this).parents('tr').attr('id').substr(5)); } }); return aI...
Coding style
app/view/lib/bolt/fnc-helpers.js
Coding style
<ide><path>pp/view/lib/bolt/fnc-helpers.js <ide> */ <ide> function getSelectedItems() { <ide> var aItems = []; <add> <ide> $('.dashboardlisting input:checked').each(function () { <ide> if ($(this).parents('tr').attr('id')) { <ide> aItems.push($(this).parents('tr').attr('id').substr(5)); <id...
Java
lgpl-2.1
bd7c800b7f1c9a68529319096a8118b175ca1f7e
0
fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui
package to.etc.domui.components.basic; import to.etc.domui.annotations.*; import to.etc.domui.component.buttons.*; import to.etc.domui.dom.html.*; import to.etc.domui.utils.*; /** * A page title bar. This consists of an image in the left corner, a string describing the * module's functionality and a set of standard...
to.etc.domui.pages/src/to/etc/domui/components/basic/AppPageTitle.java
package to.etc.domui.components.basic; import to.etc.domui.annotations.*; import to.etc.domui.component.buttons.*; import to.etc.domui.dom.html.*; import to.etc.domui.utils.*; /** * A page title bar. This consists of an image in the left corner, a string describing the * module's functionality and a set of standard...
Fix icons on page title bar
to.etc.domui.pages/src/to/etc/domui/components/basic/AppPageTitle.java
Fix icons on page title bar
<ide><path>o.etc.domui.pages/src/to/etc/domui/components/basic/AppPageTitle.java <ide> b.add(tr); <ide> <ide> //-- Image... <del> if(m_img.getSrc() == null) <del> m_img.setSrc("img/btnModule.png"); <add> setIconURL(); <add>// if(m_img.getSrc() == null) <add>// m_img.setSrc("img/btnModule.png"); <ide> m_im...
Java
apache-2.0
eeb5f4491adfd57a2fcbdfe30d115cd90e258bf0
0
ddebrunner/streamsx.topology,wmarshall484/streamsx.topology,ddebrunner/streamsx.topology,ibmkendrick/streamsx.topology,ibmkendrick/streamsx.topology,wmarshall484/streamsx.topology,IBMStreams/streamsx.topology,ibmkendrick/streamsx.topology,ibmkendrick/streamsx.topology,IBMStreams/streamsx.topology,wmarshall484/streamsx....
/* # Licensed Materials - Property of IBM # Copyright IBM Corp. 2015 */ package com.ibm.streamsx.topology.test.splpy; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assume.assumeTrue; import java.io.File; import java.util.List; import java.util.Rando...
test/java/src/com/ibm/streamsx/topology/test/splpy/PythonFunctionalOperatorsTest.java
/* # Licensed Materials - Property of IBM # Copyright IBM Corp. 2015 */ package com.ibm.streamsx.topology.test.splpy; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assume.assumeTrue; import java.io.File; import java.util.List; import java.util.Rando...
Assert extract was successful
test/java/src/com/ibm/streamsx/topology/test/splpy/PythonFunctionalOperatorsTest.java
Assert extract was successful
<ide><path>est/java/src/com/ibm/streamsx/topology/test/splpy/PythonFunctionalOperatorsTest.java <ide> // Need to run extract to ensure the operators match the python <ide> // version we are testing. <ide> File toolkitRoot = new File(getTestRoot(), "python/spl/testtkpy"); <del> PythonExtra...
Java
bsd-3-clause
370bd67cee2946cf21629b3e733860675b31cbbb
0
daonb/obudget,daonb/obudget,daonb/obudget
package org.obudget.client; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.http.client.UrlBuilder; import com.google.gwt.json.client.JSONArray; import com.google.gwt.jsonp.client.JsonpRequestBuilder; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.rpc.AsyncCallbac...
src/obudget/gwt/src/org/obudget/client/BudgetAPICaller.java
package org.obudget.client; import com.google.gwt.core.client.JavaScriptObject; import com.google.gwt.http.client.UrlBuilder; import com.google.gwt.json.client.JSONArray; import com.google.gwt.jsonp.client.JsonpRequestBuilder; import com.google.gwt.user.client.Window; import com.google.gwt.user.client.rpc.AsyncCallbac...
using port 8000
src/obudget/gwt/src/org/obudget/client/BudgetAPICaller.java
using port 8000
<ide><path>rc/obudget/gwt/src/org/obudget/client/BudgetAPICaller.java <ide> public BudgetAPICaller() { <ide> url = new UrlBuilder(); <ide> url.setHost("127.0.0.1"); <del> url.setPort(12345); <add> url.setPort(8000); <ide> url.setPath("00"); <ide> } <ide>
JavaScript
bsd-3-clause
57588fae748567e0d73e5a85dd2eb536d14e8caf
0
Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal,Ashoat/squadcal
// @flow import classNames from 'classnames'; import invariant from 'invariant'; import _pickBy from 'lodash/fp/pickBy'; import * as React from 'react'; import { deleteThreadActionTypes, deleteThread, changeThreadSettingsActionTypes, changeThreadSettings, } from 'lib/actions/thread-actions'; import { createLo...
web/modals/threads/thread-settings-modal.react.js
// @flow import classNames from 'classnames'; import invariant from 'invariant'; import _pickBy from 'lodash/fp/pickBy'; import * as React from 'react'; import { deleteThreadActionTypes, deleteThread, changeThreadSettingsActionTypes, changeThreadSettings, } from 'lib/actions/thread-actions'; import { createLo...
[web] Don't show Privacy tab in ThreadSettingsModal for sidebars Summary: More accurately: for threads created as sidebars. More context [here](https://phabricator.ashoat.com/D1000?id=3007#inline-5622). Test Plan: Check `ThreadSettingsModal` for a thread created as a sidebar Reviewers: KatPo, palys-swm Reviewed By:...
web/modals/threads/thread-settings-modal.react.js
[web] Don't show Privacy tab in ThreadSettingsModal for sidebars
<ide><path>eb/modals/threads/thread-settings-modal.react.js <ide> key="general" <ide> />, <ide> ]; <del> if (this.possiblyChangedValue('parentThreadID')) { <add> <add> // This UI needs to be updated to handle sidebars but we haven't gotten <add> // there yet. We'll probably end up ripping it ...
Java
agpl-3.0
b5e4e2537eb79b0ffc72f5e4805961f54f09f6cb
0
PeterWithers/temp-to-delete1,KinshipSoftware/KinOathKinshipArchiver,PeterWithers/temp-to-delete1,KinshipSoftware/KinOathKinshipArchiver
package nl.mpi.kinnate.ui; import nl.mpi.arbil.util.ApplicationVersionManager; import nl.mpi.kinnate.KinOathVersion; import nl.mpi.kinnate.KinnateArbilInjector; import nl.mpi.kinnate.ui.window.AbstractDiagramManager; import nl.mpi.kinnate.ui.window.WindowedDiagramManager; /* * Document : MainFrame * Author : Peter ...
desktop/src/main/java/nl/mpi/kinnate/ui/MainFrame.java
package nl.mpi.kinnate.ui; import nl.mpi.arbil.util.ApplicationVersionManager; import nl.mpi.kinnate.KinOathVersion; import nl.mpi.kinnate.KinnateArbilInjector; import nl.mpi.kinnate.ui.window.AbstractDiagramManager; import nl.mpi.kinnate.ui.window.WindowedDiagramManager; /* * Document : MainFrame * Author ...
Made changes to address the issue of 'Import Gedcom/CSV File' failing. refs #1876
desktop/src/main/java/nl/mpi/kinnate/ui/MainFrame.java
Made changes to address the issue of 'Import Gedcom/CSV File' failing. refs #1876
<ide><path>esktop/src/main/java/nl/mpi/kinnate/ui/MainFrame.java <ide> import nl.mpi.kinnate.ui.window.WindowedDiagramManager; <ide> <ide> /* <del> * Document : MainFrame <del> * Author : Peter Withers <del> * Created on : Aug 16, 2010, 5:20:20 PM <add> * Document : MainFrame <add> * Author : Peter Withers <a...
JavaScript
bsd-3-clause
7873d5ba3cb555881439186d1520329fd668ae03
0
lognormal/boomerang,lognormal/boomerang
/* * Copyright (c) 2011, Yahoo! Inc. All rights reserved. * Copyright (c) 2012, Log-Normal, Inc. All rights reserved. * Copyrights licensed under the BSD License. See the accompanying LICENSE.txt file for terms. */ // This is the Round Trip Time plugin. Abbreviated to RT // the parameter is the window (function...
plugins/rt.js
/* * Copyright (c) 2011, Yahoo! Inc. All rights reserved. * Copyright (c) 2012, Log-Normal, Inc. All rights reserved. * Copyrights licensed under the BSD License. See the accompanying LICENSE.txt file for terms. */ // This is the Round Trip Time plugin. Abbreviated to RT // the parameter is the window (function...
updateCookie method returns true/false
plugins/rt.js
updateCookie method returns true/false
<ide><path>lugins/rt.js <ide> <ide> // Disable use of RT cookie by setting its name to a falsy value <ide> if(!this.cookie) { <del> return this; <add> return false; <ide> } <ide> <ide> subcookies = BOOMR.utils.getSubCookies(BOOMR.utils.getCookie(this.cookie)) || {}; <ide> BOOMR.debug("Setting cookie (ti...
Java
apache-2.0
dce13845fb4c1b17dedec559d763245fcd517a40
0
apache/openwebbeans,apache/openwebbeans,apache/openwebbeans
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with this * work for additional information regarding copyright ownership. The ASF * licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may n...
webbeans-api/src/main/java/javax/enterprise/inject/spi/InjectionPoint.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with this * work for additional information regarding copyright ownership. The ASF * licenses this file to You under the Apache License, Version 2.0 (the * "License"); you may n...
OWB-108 JavaDoc @deprecated old method declarations git-svn-id: 959c5dc4f35e0484f067e28fe24ef05c41faf244@788501 13f79535-47bb-0310-9956-ffa450edef68
webbeans-api/src/main/java/javax/enterprise/inject/spi/InjectionPoint.java
OWB-108 JavaDoc @deprecated old method declarations
<ide><path>ebbeans-api/src/main/java/javax/enterprise/inject/spi/InjectionPoint.java <ide> import java.lang.reflect.Type; <ide> import java.util.Set; <ide> <del> <add>/** <add> * An InjectionPoint object provides metadata information about an injection point. <add> * An instance of InjectionPoint may represent one of ...
Java
apache-2.0
a70f8a9b3d2e6994447cc81daf909bf06fc9853e
0
jcshen007/cloudstack,mufaddalq/cloudstack-datera-driver,jcshen007/cloudstack,mufaddalq/cloudstack-datera-driver,wido/cloudstack,argv0/cloudstack,GabrielBrascher/cloudstack,wido/cloudstack,DaanHoogland/cloudstack,argv0/cloudstack,cinderella/incubator-cloudstack,resmo/cloudstack,DaanHoogland/cloudstack,argv0/cloudstack,w...
/** * Copyright (C) 2010 Cloud.com, Inc. All rights reserved. * * This software is licensed under the GNU General Public License v3 or later. * * It is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, e...
server/src/com/cloud/server/ManagementServerImpl.java
/** * Copyright (C) 2010 Cloud.com, Inc. All rights reserved. * * This software is licensed under the GNU General Public License v3 or later. * * It is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, e...
Bug 13127: API error text refer to database ids instead of uuids Description: Replacing placement of db ids in exception messages to uuids in the file ManagementServerImpl.java. Since there are a large number of files that throw exceptions with db ids in them and they need to be changed, we will make the change...
server/src/com/cloud/server/ManagementServerImpl.java
Bug 13127: API error text refer to database ids instead of uuids
<ide><path>erver/src/com/cloud/server/ManagementServerImpl.java <ide> } else if (vmId != null) { <ide> UserVmVO vmInstance = _userVmDao.findById(vmId); <ide> if ((vmInstance == null) || (vmInstance.getRemoved() != null)) { <del> throw new InvalidParameterValueException("un...
Java
mit
947c4131906b8023eb94f30e7392d8438379477d
0
liorhson/jenkins,abayer/jenkins,jenkinsci/jenkins,samatdav/jenkins,nandan4/Jenkins,thomassuckow/jenkins,maikeffi/hudson,liorhson/jenkins,KostyaSha/jenkins,ChrisA89/jenkins,intelchen/jenkins,albers/jenkins,dennisjlee/jenkins,vivek/hudson,my7seven/jenkins,mrooney/jenkins,huybrechts/hudson,lindzh/jenkins,lvotypko/jenkins3...
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Luca Domenico Milanesio * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restric...
core/src/main/java/hudson/tasks/MailAddressResolver.java
/* * The MIT License * * Copyright (c) 2004-2009, Sun Microsystems, Inc., Kohsuke Kawaguchi, Luca Domenico Milanesio * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restric...
[HUDSON-5403] adding more logging in MailAddressResolver to help us figure out what's going on. git-svn-id: 28f34f9aa52bc55a5ddd5be9e183c5cccadc6ee4@27623 71c3de6d-444a-0410-be80-ed276b4c234a
core/src/main/java/hudson/tasks/MailAddressResolver.java
[HUDSON-5403] adding more logging in MailAddressResolver to help us figure out what's going on.
<ide><path>ore/src/main/java/hudson/tasks/MailAddressResolver.java <ide> import hudson.model.User; <ide> <ide> import java.util.List; <add>import java.util.logging.Logger; <ide> import java.util.regex.Matcher; <ide> import java.util.regex.Pattern; <ide> <ide> public abstract String findMailAddressFor(User u); <id...
JavaScript
mit
db1e558c943d953df0d45eca5770ea42c1e56f76
0
uberVU/elasticboard,uberVU/elasticboard,uberVU/elasticboard
function drawIssuesActivity() { $.getJSON(API_BASE + '/issues_activity') .done(function (json) { data = json.data; var opened = data.opened; var closed = data.closed; $('#issues-activity').highcharts({ chart: { type: 'areasp...
dashboard/js/insights.js
function drawIssuesActivity() { $.getJSON(API_BASE + '/issues_activity') .done(function (json) { data = json.data; var opened = data.opened; var closed = data.closed; $('#issues-activity').highcharts({ chart: { type: 'areasp...
mention bounding box inspiration
dashboard/js/insights.js
mention bounding box inspiration
<ide><path>ashboard/js/insights.js <ide> }); <ide> <ide> <add> // http://mbostock.github.io/d3/talk/20110921/bounding.html <ide> var rl = radius + 5; <ide> gnodes.attr("cx", function(d) { return d.x = Math.max(rl, Math.min(width - rl, d.x)); }) <ide> ...
Java
bsd-3-clause
7ce726825ed50270b08458dcc5d16b4def1d2318
0
ccagnoli/gremlin,ccagnoli/gremlin,tinkerpop/gremlin,cesarmarinhorj/gremlin,samanalysis/gremlin,cesarmarinhorj/gremlin,samanalysis/gremlin,tinkerpop/gremlin
package com.tinkerpop.gremlin.java; import com.tinkerpop.blueprints.Direction; import com.tinkerpop.blueprints.Edge; import com.tinkerpop.blueprints.Query; import com.tinkerpop.blueprints.Vertex; import com.tinkerpop.gremlin.pipes.filter.IntervalFilterPipe; import com.tinkerpop.gremlin.pipes.filter.PropertyFilterPipe;...
gremlin-java/src/main/java/com/tinkerpop/gremlin/java/GremlinFluentUtility.java
package com.tinkerpop.gremlin.java; import com.tinkerpop.blueprints.Direction; import com.tinkerpop.blueprints.Edge; import com.tinkerpop.blueprints.Query; import com.tinkerpop.blueprints.Vertex; import com.tinkerpop.gremlin.pipes.filter.IntervalFilterPipe; import com.tinkerpop.gremlin.pipes.filter.PropertyFilterPipe;...
fixed IntervalPipe bug.
gremlin-java/src/main/java/com/tinkerpop/gremlin/java/GremlinFluentUtility.java
fixed IntervalPipe bug.
<ide><path>remlin-java/src/main/java/com/tinkerpop/gremlin/java/GremlinFluentUtility.java <ide> if (pipe instanceof VerticesEdgesPipe) { <ide> numberedStep = pipelineSize - i; <ide> break; <del> } else if (pipe instanceof PropertyFilterPipe || pipe instanceof Edges...
JavaScript
mit
de8005f52f3e69d8bcc5f6fda00c49e63afaa798
0
papandreou/html5,Chiens/html5,aredridel/html5,brianmcd/cloudbrowser-html5
var HTML5 = exports.HTML5 = require('../html5'); var events = require('events'); require('./treebuilder'); require('./tokenizer'); var Phase = require('./parser/phase').Phase; var Parser = HTML5.Parser = function HTML5Parser(options) { events.EventEmitter.apply(this); this.strict = false; this.errors = []; var ...
lib/html5/parser.js
var HTML5 = exports.HTML5 = require('../html5'); var events = require('events'); require('./treebuilder'); require('./tokenizer'); var Phase = require('./parser/phase').Phase; var Parser = HTML5.Parser = function HTML5Parser(options) { events.EventEmitter.apply(this); this.strict = false; this.errors = []; var ...
Emit a 'setup' event so one can attach to the tokenizer
lib/html5/parser.js
Emit a 'setup' event so one can attach to the tokenizer
<ide><path>ib/html5/parser.js <ide> this.tokenizer.addListener('end', function(t) { <ide> return function() { t.emit('end'); }; <ide> }(this)); <add> this.emit('setup', this); <ide> <ide> var inner_html = !!container; <ide> container = container || 'div';
Java
lgpl-2.1
474fb8d4c3a41784752b7b46c2e74186872208be
0
xasx/wildfly,rhusar/wildfly,wildfly/wildfly,wildfly/wildfly,wildfly/wildfly,golovnin/wildfly,rhusar/wildfly,tadamski/wildfly,iweiss/wildfly,pferraro/wildfly,99sono/wildfly,jstourac/wildfly,pferraro/wildfly,iweiss/wildfly,pferraro/wildfly,tadamski/wildfly,99sono/wildfly,golovnin/wildfly,tadamski/wildfly,jstourac/wildfly...
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @authors tag. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
controller/src/main/java/org/jboss/as/controller/operations/common/PathAddHandler.java
/* * JBoss, Home of Professional Open Source * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @authors tag. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made avail...
[AS7-3856] System.out.println
controller/src/main/java/org/jboss/as/controller/operations/common/PathAddHandler.java
[AS7-3856] System.out.println
<ide><path>ontroller/src/main/java/org/jboss/as/controller/operations/common/PathAddHandler.java <ide> protected void performRuntime(OperationContext context, ModelNode operation, ModelNode model, <ide> ServiceVerificationHandler verificationHandler, List<ServiceController<?>> newC...
Java
mit
3ae41a9f631df81f4cb11cd2d9dfc0dd5dd5f524
0
Alanyanbc/sharebook,Alanyanbc/sharebook
package com.activeandroid.util; /* * Copyright (C) 2010 Michael Pardo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
src/com/activeandroid/util/SQLiteUtils.java
package com.activeandroid.util; /* * Copyright (C) 2010 Michael Pardo * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
Reference correct table
src/com/activeandroid/util/SQLiteUtils.java
Reference correct table
<ide><path>rc/com/activeandroid/util/SQLiteUtils.java <ide> TextUtils.join(", ", definitions)); <ide> } <ide> <add> @SuppressWarnings("unchecked") <ide> public static String createColumnDefinition(TableInfo tableInfo, Field field) { <ide> String definition = null; <ide> <ide> } <ide> <ide> if (FOREIGN_...
Java
apache-2.0
f9f360f507121185707ae48cb6c6f76c0f31b84e
0
phax/ph-commons
/** * Copyright (C) 2014-2015 Philip Helger (www.helger.com) * philip[at]helger[dot]com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
src/main/java/com/helger/commons/xml/XMLHelper.java
/** * Copyright (C) 2014-2015 Philip Helger (www.helger.com) * philip[at]helger[dot]com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICE...
Handle only Element
src/main/java/com/helger/commons/xml/XMLHelper.java
Handle only Element
<ide><path>rc/main/java/com/helger/commons/xml/XMLHelper.java <ide> { <ide> if (aNode instanceof Document) <ide> return getElementName (((Document) aNode).getDocumentElement ()); <del> if (aNode != null) <add> if (aNode instanceof Element) <ide> { <ide> String ret = aNode.getLocalName (); <i...
Java
bsd-2-clause
9e682a5eff4301e894eb4de6805f4c904999ec35
0
pgjdbc/pgjdbc,alexismeneses/pgjdbc,jkutner/pgjdbc,ekoontz/pgjdbc,jorsol/pgjdbc,rjmac/pgjdbc,zemian/pgjdbc,zemian/pgjdbc,pgjdbc/pgjdbc,sehrope/pgjdbc,lonnyj/pgjdbc,tivv/pgjdbc,Gordiychuk/pgjdbc,underyx/pgjdbc,amozhenin/pgjdbc,golovnin/pgjdbc,thkoch2001/libpostgresql-jdbc-java,underyx/pgjdbc,Gordiychuk/pgjdbc,marschall/p...
package org.postgresql.jdbc1; import java.math.BigDecimal; import java.io.*; import java.sql.*; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Vector; import org.postgresql.Field; import org.postgresql.core.Encoding; import org.postgresql.largeobject.*; import org.postgresql.util...
org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
package org.postgresql.jdbc1; import java.math.BigDecimal; import java.io.*; import java.sql.*; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Vector; import org.postgresql.Field; import org.postgresql.core.Encoding; import org.postgresql.largeobject.*; import org.postgresql.util...
Applied patch submitted by Kris Jurka to result in a better error message under some circumstances and handle negative money values better. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
Applied patch submitted by Kris Jurka to result in a better error message under some circumstances and handle negative money values better.
<ide><path>rg/postgresql/jdbc1/AbstractJdbc1ResultSet.java <ide> if (wasNullFlag) <ide> return null; <ide> <add> // if we don't have at least 2 characters it can't be money. <add> if (s.length() < 2) <add> return s; <add> <ide> // Handle Money <ide> if (s.charAt(0) == '(') <ide> { <ide> if (s.charAt...
Java
apache-2.0
64cb2a115e1349fcbdd3789fcb8708a24ac21942
0
aravindc/databenecommons
/* * (c) Copyright 2011-2013 by Volker Bergmann. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, is permitted under the terms of the * GNU General Public License (GPL). * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * W...
src/main/java/org/databene/commons/ZipUtil.java
/* * (c) Copyright 2011 by Volker Bergmann. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, is permitted under the terms of the * GNU General Public License (GPL). * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * WITHOU...
new method compressAndDelete() git-svn-id: 5d4207b98d7274194a51d188374a5d8ee1fe55c3@279 783448d1-dfc0-4521-9cb0-58c191f7d5bb
src/main/java/org/databene/commons/ZipUtil.java
new method compressAndDelete()
<ide><path>rc/main/java/org/databene/commons/ZipUtil.java <ide> /* <del> * (c) Copyright 2011 by Volker Bergmann. All rights reserved. <add> * (c) Copyright 2011-2013 by Volker Bergmann. All rights reserved. <ide> * <ide> * Redistribution and use in source and binary forms, with or without <ide> * modification, is p...
Java
mit
5754490c29f2271803fd48ebc78f00c7dd35dffe
0
Aquerr/EagleFactions,Aquerr/EagleFactions
package io.github.aquerr.eaglefactions.common.integrations.placeholderapi; import io.github.aquerr.eaglefactions.api.EagleFactions; import io.github.aquerr.eaglefactions.api.entities.Faction; import io.github.aquerr.eaglefactions.api.entities.FactionPlayer; import io.github.aquerr.eaglefactions.api.managers.PowerManag...
common/src/main/java/io/github/aquerr/eaglefactions/common/integrations/placeholderapi/EFPlaceholderService.java
package io.github.aquerr.eaglefactions.common.integrations.placeholderapi; import io.github.aquerr.eaglefactions.api.EagleFactions; import io.github.aquerr.eaglefactions.api.entities.Faction; import io.github.aquerr.eaglefactions.api.entities.FactionPlayer; import me.rojo8399.placeholderapi.*; import org.spongepowered...
Refactor methods for getting placeholders values from EF. Add player last online placeholder.
common/src/main/java/io/github/aquerr/eaglefactions/common/integrations/placeholderapi/EFPlaceholderService.java
Refactor methods for getting placeholders values from EF. Add player last online placeholder.
<ide><path>ommon/src/main/java/io/github/aquerr/eaglefactions/common/integrations/placeholderapi/EFPlaceholderService.java <ide> import io.github.aquerr.eaglefactions.api.EagleFactions; <ide> import io.github.aquerr.eaglefactions.api.entities.Faction; <ide> import io.github.aquerr.eaglefactions.api.entities.FactionPlay...
Java
lgpl-2.1
7c788648b537c636c7d407ad670c256131def71b
0
certusoft/swingx,certusoft/swingx
/* * $Id$ * * Copyright 2006 Sun Microsystems, Inc., 4150 Network Circle, * Santa Clara, California 95054, U.S.A. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Found...
src/java/org/jdesktop/swingx/plaf/basic/BasicDatePickerUI.java
/* * $Id$ * * Copyright 2006 Sun Microsystems, Inc., 4150 Network Circle, * Santa Clara, California 95054, U.S.A. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Found...
Issue #658-swingx: DatePicker's linkPanel not updated on setTimeZone forgot to commit the changed BasicDatePickerUI
src/java/org/jdesktop/swingx/plaf/basic/BasicDatePickerUI.java
Issue #658-swingx: DatePicker's linkPanel not updated on setTimeZone
<ide><path>rc/java/org/jdesktop/swingx/plaf/basic/BasicDatePickerUI.java <ide> protected void updateFromMonthViewChanged(JXMonthView oldMonthView) { <ide> popup = null; <ide> updateMonthViewListeners(oldMonthView); <add> TimeZone oldTimeZone = null; <ide> if (oldMonthView != null) { <...
JavaScript
mit
d13a0427550b04652d8b0af56c9e3a06010910e3
0
MyEtherWallet/MyEtherWallet,MyEtherWallet/MyEtherWallet,MyEtherWallet/MyEtherWallet
import { isObject } from 'lodash'; const mewApiError = 'Websocket connection failed'; export const knownErrors = { 'Can\'t assign to property "request"': mewApiError, "Cannot create property 'request'": mewApiError, 'GATT Server is disconnected. Cannot perform GATT operations.': mewApiError, "'CONNECTION ERRO...
src/main/errorHandler.js
import { isObject } from 'lodash'; const mewApiError = 'Websocket connection failed'; export const knownErrors = { 'Can\'t assign to property "request"': mewApiError, "Cannot create property 'request'": mewApiError, 'GATT Server is disconnected. Cannot perform GATT operations.': mewApiError, "'CONNECTION ERRO...
devop: �� added error to error handler
src/main/errorHandler.js
devop: �� added error to error handler
<ide><path>rc/main/errorHandler.js <ide> 'requesting data from a block number that does not exist, ' + <ide> 'or querying a node which is not fully synced.', <ide> '未能完成该操作。无效的自变量': <del> 'The operation could not be completed. Invalid argument.' <add> 'The operation could not be completed. Invalid argum...
JavaScript
apache-2.0
6ddbfb8a63e04fcb05a1603858f4584ed7f7da60
0
mongodb/node-mongodb-native,mongodb/node-mongodb-native,mongodb/node-mongodb-native,mongodb/node-mongodb-native
'use strict'; const net = require('net'); const tls = require('tls'); const Connection = require('./connection'); const Query = require('./commands').Query; const createClientInfo = require('../topologies/shared').createClientInfo; const MongoError = require('../error').MongoError; function connect(options, callback) ...
connection/connect.js
'use strict'; const net = require('net'); const tls = require('tls'); const Connection = require('./connection'); const Query = require('./commands').Query; const createClientInfo = require('../topologies/shared').createClientInfo; const MongoError = require('../error').MongoError; function connect(options, callback) ...
refactor(connect): leave note regarding `user` and `db` checks
connection/connect.js
refactor(connect): leave note regarding `user` and `db` checks
<ide><path>onnection/connect.js <ide> } <ide> <ide> const credentials = options.credentials; <add> <add> // TODO: revisit whether or not items like `options.user` and `options.dbName` should be checked here <ide> const authMechanism = credentials.mechanism; <ide> const authSource = credentials.source || optio...
Java
apache-2.0
86dd0e49192939cdfc6775e54632b071a465bf38
0
babble/babble,babble/babble,babble/babble,babble/babble,babble/babble,babble/babble
// Security.java /** * Copyright (C) 2008 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it...
src/main/ed/security/Security.java
// Security.java /** * Copyright (C) 2008 10gen Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it...
getTopUserStackElemenet
src/main/ed/security/Security.java
getTopUserStackElemenet
<ide><path>rc/main/ed/security/Security.java <ide> <ide> return null; <ide> } <add> <add> public static StackTraceElement getTopUserStackElement(){ <add> StackTraceElement[] st = Thread.currentThread().getStackTrace(); <add> <add> for ( int i=0; i<st.length; i++ ){ <add> ...
Java
bsd-2-clause
d2dd020ac0a44a35b8b9229c657b77538c1ed4ac
0
chototsu/MikuMikuStudio,chototsu/MikuMikuStudio,chototsu/MikuMikuStudio,chototsu/MikuMikuStudio
/* * Copyright (c) 2003-2008 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of ...
src/com/jmex/model/collada/ColladaImporter.java
/* * Copyright (c) 2003-2008 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of ...
ColladaImporter.squelchErrors() don't set squelch always true git-svn-id: 5afc437a751a4ff2ced778146f5faadda0b504ab@4048 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
src/com/jmex/model/collada/ColladaImporter.java
ColladaImporter.squelchErrors() don't set squelch always true
<ide><path>rc/com/jmex/model/collada/ColladaImporter.java <ide> * @param b <ide> */ <ide> public static void squelchErrors(boolean b) { <del> squelch = true; <add> squelch = b; <ide> } <ide> <ide> public static ColladaImporter getInstance() {
Java
bsd-2-clause
7761d08c77d1869f8bc920f1c0fde8ae24c9b52a
0
iron-io/iron_mq_java,iron-io/iron_mq_java
package io.iron.ironmq; import java.io.IOException; import java.io.Reader; import java.io.Serializable; import com.google.gson.Gson; /** * The Queue class represents a specific IronMQ queue bound to a client. */ public class Queue { final private Client client; final private String name; public Queue(...
src/main/java/io/iron/ironmq/Queue.java
package io.iron.ironmq; import java.io.IOException; import java.io.Reader; import java.io.Serializable; import com.google.gson.Gson; /** * The Queue class represents a specific IronMQ queue bound to a client. */ public class Queue { final private Client client; final private String name; public Queue(...
fix: changed minimum number of messages from 0 to 1
src/main/java/io/iron/ironmq/Queue.java
fix: changed minimum number of messages from 0 to 1
<ide><path>rc/main/java/io/iron/ironmq/Queue.java <ide> * @throws IOException If there is an error accessing the IronMQ server. <ide> */ <ide> public Messages get(int numberOfMessages, int timeout) throws IOException { <del> if (numberOfMessages < 0 || numberOfMessages > 100) { <add> if (numbe...